Ejemplo n.º 1
0
 public void MergeFrom(ParseResumeRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Parent.Length != 0)
     {
         Parent = other.Parent;
     }
     if (other.Resume.Length != 0)
     {
         Resume = other.Resume;
     }
     if (other.RegionCode.Length != 0)
     {
         RegionCode = other.RegionCode;
     }
     if (other.LanguageCode.Length != 0)
     {
         LanguageCode = other.LanguageCode;
     }
     if (other.options_ != null)
     {
         if (options_ == null)
         {
             options_ = new global::Google.Cloud.Talent.V4Beta1.ParseResumeOptions();
         }
         Options.MergeFrom(other.Options);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Ejemplo n.º 2
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: {
                    Parent = input.ReadString();
                    break;
                }

                case 18: {
                    Resume = input.ReadBytes();
                    break;
                }

                case 26: {
                    RegionCode = input.ReadString();
                    break;
                }

                case 34: {
                    LanguageCode = input.ReadString();
                    break;
                }

                case 42: {
                    if (options_ == null)
                    {
                        options_ = new global::Google.Cloud.Talent.V4Beta1.ParseResumeOptions();
                    }
                    input.ReadMessage(options_);
                    break;
                }
                }
            }
        }