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: { if (call_ == null) { Call = new global::Enfonica.Voice.V1Beta1.Call(); } input.ReadMessage(Call); break; } case 18: { parameters_.AddEntriesFrom(input, _map_parameters_codec); break; } } } #endif }
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: { if (call_ == null) { Call = new global::Enfonica.Voice.V1Beta1.Call(); } input.ReadMessage(Call); break; } case 18: { parameters_.AddEntriesFrom(ref input, _map_parameters_codec); break; } } } }
public void MergeFrom(CallRequest other) { if (other == null) { return; } if (other.call_ != null) { if (call_ == null) { Call = new global::Enfonica.Voice.V1Beta1.Call(); } Call.MergeFrom(other.Call); } parameters_.Add(other.parameters_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }