예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (ExecutionState != global::Google.Cloud.WebSecurityScanner.V1.ScanRun.Types.ExecutionState.Unspecified)
            {
                hash ^= ExecutionState.GetHashCode();
            }
            if (ResultState != global::Google.Cloud.WebSecurityScanner.V1.ScanRun.Types.ResultState.Unspecified)
            {
                hash ^= ResultState.GetHashCode();
            }
            if (startTime_ != null)
            {
                hash ^= StartTime.GetHashCode();
            }
            if (endTime_ != null)
            {
                hash ^= EndTime.GetHashCode();
            }
            if (UrlsCrawledCount != 0L)
            {
                hash ^= UrlsCrawledCount.GetHashCode();
            }
            if (UrlsTestedCount != 0L)
            {
                hash ^= UrlsTestedCount.GetHashCode();
            }
            if (HasVulnerabilities != false)
            {
                hash ^= HasVulnerabilities.GetHashCode();
            }
            if (ProgressPercent != 0)
            {
                hash ^= ProgressPercent.GetHashCode();
            }
            if (errorTrace_ != null)
            {
                hash ^= ErrorTrace.GetHashCode();
            }
            hash ^= warningTraces_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }