public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    Parent = input.ReadString();
                    break;
                }

                case 18: {
                    if (metric_ == null)
                    {
                        metric_ = new global::Google.Logging.V2.LogMetric();
                    }
                    input.ReadMessage(metric_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(CreateLogMetricRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Parent.Length != 0)
     {
         Parent = other.Parent;
     }
     if (other.metric_ != null)
     {
         if (metric_ == null)
         {
             metric_ = new global::Google.Logging.V2.LogMetric();
         }
         Metric.MergeFrom(other.Metric);
     }
 }
 public void MergeFrom(UpdateLogMetricRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.MetricName.Length != 0)
     {
         MetricName = other.MetricName;
     }
     if (other.metric_ != null)
     {
         if (metric_ == null)
         {
             metric_ = new global::Google.Logging.V2.LogMetric();
         }
         Metric.MergeFrom(other.Metric);
     }
 }