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: { ResourceName = input.ReadString(); break; } case 18: { CallerCountryCode = input.ReadString(); break; } case 26: { CallerAreaCode = input.ReadString(); break; } case 32: { CallDurationSeconds = input.ReadInt64(); break; } case 42: { StartCallDateTime = input.ReadString(); break; } case 50: { EndCallDateTime = input.ReadString(); break; } case 56: { CallTrackingDisplayLocation = (global::Google.Ads.GoogleAds.V8.Enums.CallTrackingDisplayLocationEnum.Types.CallTrackingDisplayLocation)input.ReadEnum(); break; } case 64: { Type = (global::Google.Ads.GoogleAds.V8.Enums.CallTypeEnum.Types.CallType)input.ReadEnum(); break; } case 72: { CallStatus = (global::Google.Ads.GoogleAds.V8.Enums.GoogleVoiceCallStatusEnum.Types.GoogleVoiceCallStatus)input.ReadEnum(); break; } } } }
public void MergeFrom(CallView other) { if (other == null) { return; } if (other.ResourceName.Length != 0) { ResourceName = other.ResourceName; } if (other.CallerCountryCode.Length != 0) { CallerCountryCode = other.CallerCountryCode; } if (other.CallerAreaCode.Length != 0) { CallerAreaCode = other.CallerAreaCode; } if (other.CallDurationSeconds != 0L) { CallDurationSeconds = other.CallDurationSeconds; } if (other.StartCallDateTime.Length != 0) { StartCallDateTime = other.StartCallDateTime; } if (other.EndCallDateTime.Length != 0) { EndCallDateTime = other.EndCallDateTime; } if (other.CallTrackingDisplayLocation != global::Google.Ads.GoogleAds.V8.Enums.CallTrackingDisplayLocationEnum.Types.CallTrackingDisplayLocation.Unspecified) { CallTrackingDisplayLocation = other.CallTrackingDisplayLocation; } if (other.Type != global::Google.Ads.GoogleAds.V8.Enums.CallTypeEnum.Types.CallType.Unspecified) { Type = other.Type; } if (other.CallStatus != global::Google.Ads.GoogleAds.V8.Enums.GoogleVoiceCallStatusEnum.Types.GoogleVoiceCallStatus.Unspecified) { CallStatus = other.CallStatus; } _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: { ResourceName = input.ReadString(); break; } case 18: { CallerCountryCode = input.ReadString(); break; } case 26: { CallerAreaCode = input.ReadString(); break; } case 32: { CallDurationSeconds = input.ReadInt64(); break; } case 42: { StartCallDateTime = input.ReadString(); break; } case 50: { EndCallDateTime = input.ReadString(); break; } case 56: { CallTrackingDisplayLocation = (global::Google.Ads.GoogleAds.V8.Enums.CallTrackingDisplayLocationEnum.Types.CallTrackingDisplayLocation)input.ReadEnum(); break; } case 64: { Type = (global::Google.Ads.GoogleAds.V8.Enums.CallTypeEnum.Types.CallType)input.ReadEnum(); break; } case 72: { CallStatus = (global::Google.Ads.GoogleAds.V8.Enums.GoogleVoiceCallStatusEnum.Types.GoogleVoiceCallStatus)input.ReadEnum(); break; } } } #endif }