예제 #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: {
                            if (job_ == null)
                            {
                                job_ = new global::Google.Cloud.Talent.V4Beta1.Job();
                            }
                            input.ReadMessage(job_);
                            break;
                        }

                        case 18: {
                            if (status_ == null)
                            {
                                status_ = new global::Google.Rpc.Status();
                            }
                            input.ReadMessage(status_);
                            break;
                        }
                        }
                    }
                }
예제 #2
0
 public void MergeFrom(JobResult other)
 {
     if (other == null)
     {
         return;
     }
     if (other.job_ != null)
     {
         if (job_ == null)
         {
             job_ = new global::Google.Cloud.Talent.V4Beta1.Job();
         }
         Job.MergeFrom(other.Job);
     }
     if (other.status_ != null)
     {
         if (status_ == null)
         {
             status_ = new global::Google.Rpc.Status();
         }
         Status.MergeFrom(other.Status);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }