Example #1
0
        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: {
                    ClusterId = input.ReadString();
                    break;
                }

                case 18: {
                    JobId = input.ReadString();
                    break;
                }

                case 24: {
                    Status = (global::Yandex.Cloud.Dataproc.Manager.V1.Job.Types.Status)input.ReadEnum();
                    break;
                }
                }
            }
        }
Example #2
0
 public void MergeFrom(UpdateJobStatusRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.ClusterId.Length != 0)
     {
         ClusterId = other.ClusterId;
     }
     if (other.JobId.Length != 0)
     {
         JobId = other.JobId;
     }
     if (other.Status != global::Yandex.Cloud.Dataproc.Manager.V1.Job.Types.Status.Unspecified)
     {
         Status = other.Status;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }