public override int GetHashCode() { int hash = 1; if (logCollectorConfig_ != null) { hash ^= LogCollectorConfig.GetHashCode(); } if (samplingConfig_ != null) { hash ^= SamplingConfig.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(LoggingConfig other) { if (other == null) { return; } if (other.logCollectorConfig_ != null) { if (logCollectorConfig_ == null) { LogCollectorConfig = new global::Tensorflow.Serving.LogCollectorConfig(); } LogCollectorConfig.MergeFrom(other.LogCollectorConfig); } if (other.samplingConfig_ != null) { if (samplingConfig_ == null) { SamplingConfig = new global::Tensorflow.Serving.SamplingConfig(); } SamplingConfig.MergeFrom(other.SamplingConfig); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }