public override int GetHashCode() { int hash = 1; if (Code != global::Google.Cloud.WebSecurityScanner.V1.ScanRunErrorTrace.Types.Code.Unspecified) { hash ^= Code.GetHashCode(); } if (scanConfigError_ != null) { hash ^= ScanConfigError.GetHashCode(); } if (MostCommonHttpErrorCode != 0) { hash ^= MostCommonHttpErrorCode.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(ScanRunErrorTrace other) { if (other == null) { return; } if (other.Code != global::Google.Cloud.WebSecurityScanner.V1.ScanRunErrorTrace.Types.Code.Unspecified) { Code = other.Code; } if (other.scanConfigError_ != null) { if (scanConfigError_ == null) { ScanConfigError = new global::Google.Cloud.WebSecurityScanner.V1.ScanConfigError(); } ScanConfigError.MergeFrom(other.ScanConfigError); } if (other.MostCommonHttpErrorCode != 0) { MostCommonHttpErrorCode = other.MostCommonHttpErrorCode; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }