public void MergeFrom(MonitoringConfig other) { if (other == null) { return; } if (other.prometheusConfig_ != null) { if (prometheusConfig_ == null) { PrometheusConfig = new global::Tensorflow.Serving.PrometheusConfig(); } PrometheusConfig.MergeFrom(other.PrometheusConfig); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (prometheusConfig_ == null) { PrometheusConfig = new global::Tensorflow.Serving.PrometheusConfig(); } input.ReadMessage(PrometheusConfig); break; } } } }