public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (interval_ != null) { hash ^= Interval.GetHashCode(); } if (timeout_ != null) { hash ^= Timeout.GetHashCode(); } if (UnhealthyThreshold != 0L) { hash ^= UnhealthyThreshold.GetHashCode(); } if (HealthyThreshold != 0L) { hash ^= HealthyThreshold.GetHashCode(); } if (optionsCase_ == OptionsOneofCase.TcpOptions) { hash ^= TcpOptions.GetHashCode(); } if (optionsCase_ == OptionsOneofCase.HttpOptions) { hash ^= HttpOptions.GetHashCode(); } hash ^= (int)optionsCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }