public void MergeFrom(CompleteQueryRequest other) { if (other == null) { return; } if (other.Parent.Length != 0) { Parent = other.Parent; } if (other.Query.Length != 0) { Query = other.Query; } languageCodes_.Add(other.languageCodes_); if (other.PageSize != 0) { PageSize = other.PageSize; } if (other.Company.Length != 0) { Company = other.Company; } if (other.Scope != global::Google.Cloud.Talent.V4Beta1.CompleteQueryRequest.Types.CompletionScope.Unspecified) { Scope = other.Scope; } if (other.Type != global::Google.Cloud.Talent.V4Beta1.CompleteQueryRequest.Types.CompletionType.Unspecified) { Type = other.Type; } _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: { Suggestion = input.ReadString(); break; } case 16: { type_ = (global::Google.Cloud.Talent.V4Beta1.CompleteQueryRequest.Types.CompletionType)input.ReadEnum(); break; } case 26: { ImageUri = input.ReadString(); break; } } } }
public void MergeFrom(CompleteQueryRequest other) { if (other == null) { return; } if (other.Parent.Length != 0) { Parent = other.Parent; } if (other.Query.Length != 0) { Query = other.Query; } languageCodes_.Add(other.languageCodes_); if (other.PageSize != 0) { PageSize = other.PageSize; } if (other.Company.Length != 0) { Company = other.Company; } if (other.Scope != 0) { Scope = other.Scope; } if (other.Type != 0) { Type = other.Type; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else 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: { Query = input.ReadString(); break; } case 26: { languageCodes_.AddEntriesFrom(input, _repeated_languageCodes_codec); break; } case 32: { PageSize = input.ReadInt32(); break; } case 42: { Company = input.ReadString(); break; } case 48: { Scope = (global::Google.Cloud.Talent.V4Beta1.CompleteQueryRequest.Types.CompletionScope)input.ReadEnum(); break; } case 56: { Type = (global::Google.Cloud.Talent.V4Beta1.CompleteQueryRequest.Types.CompletionType)input.ReadEnum(); break; } } } #endif }
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: { Query = input.ReadString(); break; } case 26: { languageCodes_.AddEntriesFrom(input, _repeated_languageCodes_codec); break; } case 32: { PageSize = input.ReadInt32(); break; } case 42: { Company = input.ReadString(); break; } case 48: { scope_ = (global::Google.Cloud.Talent.V4Beta1.CompleteQueryRequest.Types.CompletionScope)input.ReadEnum(); break; } case 56: { type_ = (global::Google.Cloud.Talent.V4Beta1.CompleteQueryRequest.Types.CompletionType)input.ReadEnum(); break; } } } }
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { Parent = input.ReadString(); break; } case 18: { Query = input.ReadString(); break; } case 26: { languageCodes_.AddEntriesFrom(ref input, _repeated_languageCodes_codec); break; } case 32: { PageSize = input.ReadInt32(); break; } case 42: { Company = input.ReadString(); break; } case 48: { Scope = (global::Google.Cloud.Talent.V4Beta1.CompleteQueryRequest.Types.CompletionScope)input.ReadEnum(); break; } case 56: { Type = (global::Google.Cloud.Talent.V4Beta1.CompleteQueryRequest.Types.CompletionType)input.ReadEnum(); break; } } } }