All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.ads.googleads.v17.common.CallAsset Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v17/common/asset_types.proto

// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.common;

/**
 * 
 * A Call asset.
 * 
* * Protobuf type {@code google.ads.googleads.v17.common.CallAsset} */ public final class CallAsset extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.common.CallAsset) CallAssetOrBuilder { private static final long serialVersionUID = 0L; // Use CallAsset.newBuilder() to construct. private CallAsset(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CallAsset() { countryCode_ = ""; phoneNumber_ = ""; callConversionReportingState_ = 0; callConversionAction_ = ""; adScheduleTargets_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CallAsset(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_CallAsset_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_CallAsset_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.common.CallAsset.class, com.google.ads.googleads.v17.common.CallAsset.Builder.class); } public static final int COUNTRY_CODE_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object countryCode_ = ""; /** *
   * Required. Two-letter country code of the phone number. Examples: 'US',
   * 'us'.
   * 
* * string country_code = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The countryCode. */ @java.lang.Override public java.lang.String getCountryCode() { java.lang.Object ref = countryCode_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); countryCode_ = s; return s; } } /** *
   * Required. Two-letter country code of the phone number. Examples: 'US',
   * 'us'.
   * 
* * string country_code = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for countryCode. */ @java.lang.Override public com.google.protobuf.ByteString getCountryCodeBytes() { java.lang.Object ref = countryCode_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); countryCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PHONE_NUMBER_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object phoneNumber_ = ""; /** *
   * Required. The advertiser's raw phone number. Examples: '1234567890',
   * '(123)456-7890'
   * 
* * string phone_number = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The phoneNumber. */ @java.lang.Override public java.lang.String getPhoneNumber() { java.lang.Object ref = phoneNumber_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; } } /** *
   * Required. The advertiser's raw phone number. Examples: '1234567890',
   * '(123)456-7890'
   * 
* * string phone_number = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for phoneNumber. */ @java.lang.Override public com.google.protobuf.ByteString getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); phoneNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CALL_CONVERSION_REPORTING_STATE_FIELD_NUMBER = 3; private int callConversionReportingState_ = 0; /** *
   * Indicates whether this CallAsset should use its own call conversion
   * setting, follow the account level setting, or disable call conversion.
   * 
* * .google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 3; * @return The enum numeric value on the wire for callConversionReportingState. */ @java.lang.Override public int getCallConversionReportingStateValue() { return callConversionReportingState_; } /** *
   * Indicates whether this CallAsset should use its own call conversion
   * setting, follow the account level setting, or disable call conversion.
   * 
* * .google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 3; * @return The callConversionReportingState. */ @java.lang.Override public com.google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState getCallConversionReportingState() { com.google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState result = com.google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState.forNumber(callConversionReportingState_); return result == null ? com.google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState.UNRECOGNIZED : result; } public static final int CALL_CONVERSION_ACTION_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object callConversionAction_ = ""; /** *
   * The conversion action to attribute a call conversion to. If not set, the
   * default conversion action is used. This field only has effect if
   * call_conversion_reporting_state is set to
   * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.
   * 
* * string call_conversion_action = 4 [(.google.api.resource_reference) = { ... } * @return The callConversionAction. */ @java.lang.Override public java.lang.String getCallConversionAction() { java.lang.Object ref = callConversionAction_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); callConversionAction_ = s; return s; } } /** *
   * The conversion action to attribute a call conversion to. If not set, the
   * default conversion action is used. This field only has effect if
   * call_conversion_reporting_state is set to
   * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.
   * 
* * string call_conversion_action = 4 [(.google.api.resource_reference) = { ... } * @return The bytes for callConversionAction. */ @java.lang.Override public com.google.protobuf.ByteString getCallConversionActionBytes() { java.lang.Object ref = callConversionAction_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); callConversionAction_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int AD_SCHEDULE_TARGETS_FIELD_NUMBER = 5; @SuppressWarnings("serial") private java.util.List adScheduleTargets_; /** *
   * List of non-overlapping schedules specifying all time intervals for which
   * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
   * total.
   * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ @java.lang.Override public java.util.List getAdScheduleTargetsList() { return adScheduleTargets_; } /** *
   * List of non-overlapping schedules specifying all time intervals for which
   * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
   * total.
   * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ @java.lang.Override public java.util.List getAdScheduleTargetsOrBuilderList() { return adScheduleTargets_; } /** *
   * List of non-overlapping schedules specifying all time intervals for which
   * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
   * total.
   * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ @java.lang.Override public int getAdScheduleTargetsCount() { return adScheduleTargets_.size(); } /** *
   * List of non-overlapping schedules specifying all time intervals for which
   * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
   * total.
   * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ @java.lang.Override public com.google.ads.googleads.v17.common.AdScheduleInfo getAdScheduleTargets(int index) { return adScheduleTargets_.get(index); } /** *
   * List of non-overlapping schedules specifying all time intervals for which
   * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
   * total.
   * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ @java.lang.Override public com.google.ads.googleads.v17.common.AdScheduleInfoOrBuilder getAdScheduleTargetsOrBuilder( int index) { return adScheduleTargets_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(countryCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, countryCode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(phoneNumber_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, phoneNumber_); } if (callConversionReportingState_ != com.google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState.UNSPECIFIED.getNumber()) { output.writeEnum(3, callConversionReportingState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callConversionAction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, callConversionAction_); } for (int i = 0; i < adScheduleTargets_.size(); i++) { output.writeMessage(5, adScheduleTargets_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(countryCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, countryCode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(phoneNumber_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, phoneNumber_); } if (callConversionReportingState_ != com.google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState.UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, callConversionReportingState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callConversionAction_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, callConversionAction_); } for (int i = 0; i < adScheduleTargets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, adScheduleTargets_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.ads.googleads.v17.common.CallAsset)) { return super.equals(obj); } com.google.ads.googleads.v17.common.CallAsset other = (com.google.ads.googleads.v17.common.CallAsset) obj; if (!getCountryCode() .equals(other.getCountryCode())) return false; if (!getPhoneNumber() .equals(other.getPhoneNumber())) return false; if (callConversionReportingState_ != other.callConversionReportingState_) return false; if (!getCallConversionAction() .equals(other.getCallConversionAction())) return false; if (!getAdScheduleTargetsList() .equals(other.getAdScheduleTargetsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + COUNTRY_CODE_FIELD_NUMBER; hash = (53 * hash) + getCountryCode().hashCode(); hash = (37 * hash) + PHONE_NUMBER_FIELD_NUMBER; hash = (53 * hash) + getPhoneNumber().hashCode(); hash = (37 * hash) + CALL_CONVERSION_REPORTING_STATE_FIELD_NUMBER; hash = (53 * hash) + callConversionReportingState_; hash = (37 * hash) + CALL_CONVERSION_ACTION_FIELD_NUMBER; hash = (53 * hash) + getCallConversionAction().hashCode(); if (getAdScheduleTargetsCount() > 0) { hash = (37 * hash) + AD_SCHEDULE_TARGETS_FIELD_NUMBER; hash = (53 * hash) + getAdScheduleTargetsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v17.common.CallAsset parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.CallAsset parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.common.CallAsset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.CallAsset parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.common.CallAsset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.CallAsset parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.common.CallAsset parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.common.CallAsset parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.common.CallAsset parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.common.CallAsset parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.common.CallAsset parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.common.CallAsset parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.ads.googleads.v17.common.CallAsset prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * A Call asset.
   * 
* * Protobuf type {@code google.ads.googleads.v17.common.CallAsset} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.common.CallAsset) com.google.ads.googleads.v17.common.CallAssetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_CallAsset_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_CallAsset_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.common.CallAsset.class, com.google.ads.googleads.v17.common.CallAsset.Builder.class); } // Construct using com.google.ads.googleads.v17.common.CallAsset.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; countryCode_ = ""; phoneNumber_ = ""; callConversionReportingState_ = 0; callConversionAction_ = ""; if (adScheduleTargetsBuilder_ == null) { adScheduleTargets_ = java.util.Collections.emptyList(); } else { adScheduleTargets_ = null; adScheduleTargetsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_CallAsset_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.common.CallAsset getDefaultInstanceForType() { return com.google.ads.googleads.v17.common.CallAsset.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.common.CallAsset build() { com.google.ads.googleads.v17.common.CallAsset result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.common.CallAsset buildPartial() { com.google.ads.googleads.v17.common.CallAsset result = new com.google.ads.googleads.v17.common.CallAsset(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.ads.googleads.v17.common.CallAsset result) { if (adScheduleTargetsBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { adScheduleTargets_ = java.util.Collections.unmodifiableList(adScheduleTargets_); bitField0_ = (bitField0_ & ~0x00000010); } result.adScheduleTargets_ = adScheduleTargets_; } else { result.adScheduleTargets_ = adScheduleTargetsBuilder_.build(); } } private void buildPartial0(com.google.ads.googleads.v17.common.CallAsset result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.countryCode_ = countryCode_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.phoneNumber_ = phoneNumber_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.callConversionReportingState_ = callConversionReportingState_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.callConversionAction_ = callConversionAction_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.ads.googleads.v17.common.CallAsset) { return mergeFrom((com.google.ads.googleads.v17.common.CallAsset)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.common.CallAsset other) { if (other == com.google.ads.googleads.v17.common.CallAsset.getDefaultInstance()) return this; if (!other.getCountryCode().isEmpty()) { countryCode_ = other.countryCode_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getPhoneNumber().isEmpty()) { phoneNumber_ = other.phoneNumber_; bitField0_ |= 0x00000002; onChanged(); } if (other.callConversionReportingState_ != 0) { setCallConversionReportingStateValue(other.getCallConversionReportingStateValue()); } if (!other.getCallConversionAction().isEmpty()) { callConversionAction_ = other.callConversionAction_; bitField0_ |= 0x00000008; onChanged(); } if (adScheduleTargetsBuilder_ == null) { if (!other.adScheduleTargets_.isEmpty()) { if (adScheduleTargets_.isEmpty()) { adScheduleTargets_ = other.adScheduleTargets_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.addAll(other.adScheduleTargets_); } onChanged(); } } else { if (!other.adScheduleTargets_.isEmpty()) { if (adScheduleTargetsBuilder_.isEmpty()) { adScheduleTargetsBuilder_.dispose(); adScheduleTargetsBuilder_ = null; adScheduleTargets_ = other.adScheduleTargets_; bitField0_ = (bitField0_ & ~0x00000010); adScheduleTargetsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAdScheduleTargetsFieldBuilder() : null; } else { adScheduleTargetsBuilder_.addAllMessages(other.adScheduleTargets_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { countryCode_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { phoneNumber_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { callConversionReportingState_ = input.readEnum(); bitField0_ |= 0x00000004; break; } // case 24 case 34: { callConversionAction_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 42: { com.google.ads.googleads.v17.common.AdScheduleInfo m = input.readMessage( com.google.ads.googleads.v17.common.AdScheduleInfo.parser(), extensionRegistry); if (adScheduleTargetsBuilder_ == null) { ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.add(m); } else { adScheduleTargetsBuilder_.addMessage(m); } break; } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object countryCode_ = ""; /** *
     * Required. Two-letter country code of the phone number. Examples: 'US',
     * 'us'.
     * 
* * string country_code = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The countryCode. */ public java.lang.String getCountryCode() { java.lang.Object ref = countryCode_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); countryCode_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Required. Two-letter country code of the phone number. Examples: 'US',
     * 'us'.
     * 
* * string country_code = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for countryCode. */ public com.google.protobuf.ByteString getCountryCodeBytes() { java.lang.Object ref = countryCode_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); countryCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Required. Two-letter country code of the phone number. Examples: 'US',
     * 'us'.
     * 
* * string country_code = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The countryCode to set. * @return This builder for chaining. */ public Builder setCountryCode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } countryCode_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Required. Two-letter country code of the phone number. Examples: 'US',
     * 'us'.
     * 
* * string country_code = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearCountryCode() { countryCode_ = getDefaultInstance().getCountryCode(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * Required. Two-letter country code of the phone number. Examples: 'US',
     * 'us'.
     * 
* * string country_code = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for countryCode to set. * @return This builder for chaining. */ public Builder setCountryCodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); countryCode_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object phoneNumber_ = ""; /** *
     * Required. The advertiser's raw phone number. Examples: '1234567890',
     * '(123)456-7890'
     * 
* * string phone_number = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The phoneNumber. */ public java.lang.String getPhoneNumber() { java.lang.Object ref = phoneNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Required. The advertiser's raw phone number. Examples: '1234567890',
     * '(123)456-7890'
     * 
* * string phone_number = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for phoneNumber. */ public com.google.protobuf.ByteString getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); phoneNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Required. The advertiser's raw phone number. Examples: '1234567890',
     * '(123)456-7890'
     * 
* * string phone_number = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The phoneNumber to set. * @return This builder for chaining. */ public Builder setPhoneNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } phoneNumber_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Required. The advertiser's raw phone number. Examples: '1234567890',
     * '(123)456-7890'
     * 
* * string phone_number = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearPhoneNumber() { phoneNumber_ = getDefaultInstance().getPhoneNumber(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * Required. The advertiser's raw phone number. Examples: '1234567890',
     * '(123)456-7890'
     * 
* * string phone_number = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for phoneNumber to set. * @return This builder for chaining. */ public Builder setPhoneNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); phoneNumber_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private int callConversionReportingState_ = 0; /** *
     * Indicates whether this CallAsset should use its own call conversion
     * setting, follow the account level setting, or disable call conversion.
     * 
* * .google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 3; * @return The enum numeric value on the wire for callConversionReportingState. */ @java.lang.Override public int getCallConversionReportingStateValue() { return callConversionReportingState_; } /** *
     * Indicates whether this CallAsset should use its own call conversion
     * setting, follow the account level setting, or disable call conversion.
     * 
* * .google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 3; * @param value The enum numeric value on the wire for callConversionReportingState to set. * @return This builder for chaining. */ public Builder setCallConversionReportingStateValue(int value) { callConversionReportingState_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Indicates whether this CallAsset should use its own call conversion
     * setting, follow the account level setting, or disable call conversion.
     * 
* * .google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 3; * @return The callConversionReportingState. */ @java.lang.Override public com.google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState getCallConversionReportingState() { com.google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState result = com.google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState.forNumber(callConversionReportingState_); return result == null ? com.google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState.UNRECOGNIZED : result; } /** *
     * Indicates whether this CallAsset should use its own call conversion
     * setting, follow the account level setting, or disable call conversion.
     * 
* * .google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 3; * @param value The callConversionReportingState to set. * @return This builder for chaining. */ public Builder setCallConversionReportingState(com.google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; callConversionReportingState_ = value.getNumber(); onChanged(); return this; } /** *
     * Indicates whether this CallAsset should use its own call conversion
     * setting, follow the account level setting, or disable call conversion.
     * 
* * .google.ads.googleads.v17.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 3; * @return This builder for chaining. */ public Builder clearCallConversionReportingState() { bitField0_ = (bitField0_ & ~0x00000004); callConversionReportingState_ = 0; onChanged(); return this; } private java.lang.Object callConversionAction_ = ""; /** *
     * The conversion action to attribute a call conversion to. If not set, the
     * default conversion action is used. This field only has effect if
     * call_conversion_reporting_state is set to
     * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.
     * 
* * string call_conversion_action = 4 [(.google.api.resource_reference) = { ... } * @return The callConversionAction. */ public java.lang.String getCallConversionAction() { java.lang.Object ref = callConversionAction_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); callConversionAction_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The conversion action to attribute a call conversion to. If not set, the
     * default conversion action is used. This field only has effect if
     * call_conversion_reporting_state is set to
     * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.
     * 
* * string call_conversion_action = 4 [(.google.api.resource_reference) = { ... } * @return The bytes for callConversionAction. */ public com.google.protobuf.ByteString getCallConversionActionBytes() { java.lang.Object ref = callConversionAction_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); callConversionAction_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The conversion action to attribute a call conversion to. If not set, the
     * default conversion action is used. This field only has effect if
     * call_conversion_reporting_state is set to
     * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.
     * 
* * string call_conversion_action = 4 [(.google.api.resource_reference) = { ... } * @param value The callConversionAction to set. * @return This builder for chaining. */ public Builder setCallConversionAction( java.lang.String value) { if (value == null) { throw new NullPointerException(); } callConversionAction_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * The conversion action to attribute a call conversion to. If not set, the
     * default conversion action is used. This field only has effect if
     * call_conversion_reporting_state is set to
     * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.
     * 
* * string call_conversion_action = 4 [(.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearCallConversionAction() { callConversionAction_ = getDefaultInstance().getCallConversionAction(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
     * The conversion action to attribute a call conversion to. If not set, the
     * default conversion action is used. This field only has effect if
     * call_conversion_reporting_state is set to
     * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.
     * 
* * string call_conversion_action = 4 [(.google.api.resource_reference) = { ... } * @param value The bytes for callConversionAction to set. * @return This builder for chaining. */ public Builder setCallConversionActionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); callConversionAction_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private java.util.List adScheduleTargets_ = java.util.Collections.emptyList(); private void ensureAdScheduleTargetsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { adScheduleTargets_ = new java.util.ArrayList(adScheduleTargets_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v17.common.AdScheduleInfo, com.google.ads.googleads.v17.common.AdScheduleInfo.Builder, com.google.ads.googleads.v17.common.AdScheduleInfoOrBuilder> adScheduleTargetsBuilder_; /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public java.util.List getAdScheduleTargetsList() { if (adScheduleTargetsBuilder_ == null) { return java.util.Collections.unmodifiableList(adScheduleTargets_); } else { return adScheduleTargetsBuilder_.getMessageList(); } } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public int getAdScheduleTargetsCount() { if (adScheduleTargetsBuilder_ == null) { return adScheduleTargets_.size(); } else { return adScheduleTargetsBuilder_.getCount(); } } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public com.google.ads.googleads.v17.common.AdScheduleInfo getAdScheduleTargets(int index) { if (adScheduleTargetsBuilder_ == null) { return adScheduleTargets_.get(index); } else { return adScheduleTargetsBuilder_.getMessage(index); } } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public Builder setAdScheduleTargets( int index, com.google.ads.googleads.v17.common.AdScheduleInfo value) { if (adScheduleTargetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.set(index, value); onChanged(); } else { adScheduleTargetsBuilder_.setMessage(index, value); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public Builder setAdScheduleTargets( int index, com.google.ads.googleads.v17.common.AdScheduleInfo.Builder builderForValue) { if (adScheduleTargetsBuilder_ == null) { ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.set(index, builderForValue.build()); onChanged(); } else { adScheduleTargetsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public Builder addAdScheduleTargets(com.google.ads.googleads.v17.common.AdScheduleInfo value) { if (adScheduleTargetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.add(value); onChanged(); } else { adScheduleTargetsBuilder_.addMessage(value); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public Builder addAdScheduleTargets( int index, com.google.ads.googleads.v17.common.AdScheduleInfo value) { if (adScheduleTargetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.add(index, value); onChanged(); } else { adScheduleTargetsBuilder_.addMessage(index, value); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public Builder addAdScheduleTargets( com.google.ads.googleads.v17.common.AdScheduleInfo.Builder builderForValue) { if (adScheduleTargetsBuilder_ == null) { ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.add(builderForValue.build()); onChanged(); } else { adScheduleTargetsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public Builder addAdScheduleTargets( int index, com.google.ads.googleads.v17.common.AdScheduleInfo.Builder builderForValue) { if (adScheduleTargetsBuilder_ == null) { ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.add(index, builderForValue.build()); onChanged(); } else { adScheduleTargetsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public Builder addAllAdScheduleTargets( java.lang.Iterable values) { if (adScheduleTargetsBuilder_ == null) { ensureAdScheduleTargetsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, adScheduleTargets_); onChanged(); } else { adScheduleTargetsBuilder_.addAllMessages(values); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public Builder clearAdScheduleTargets() { if (adScheduleTargetsBuilder_ == null) { adScheduleTargets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { adScheduleTargetsBuilder_.clear(); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public Builder removeAdScheduleTargets(int index) { if (adScheduleTargetsBuilder_ == null) { ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.remove(index); onChanged(); } else { adScheduleTargetsBuilder_.remove(index); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public com.google.ads.googleads.v17.common.AdScheduleInfo.Builder getAdScheduleTargetsBuilder( int index) { return getAdScheduleTargetsFieldBuilder().getBuilder(index); } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public com.google.ads.googleads.v17.common.AdScheduleInfoOrBuilder getAdScheduleTargetsOrBuilder( int index) { if (adScheduleTargetsBuilder_ == null) { return adScheduleTargets_.get(index); } else { return adScheduleTargetsBuilder_.getMessageOrBuilder(index); } } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public java.util.List getAdScheduleTargetsOrBuilderList() { if (adScheduleTargetsBuilder_ != null) { return adScheduleTargetsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(adScheduleTargets_); } } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public com.google.ads.googleads.v17.common.AdScheduleInfo.Builder addAdScheduleTargetsBuilder() { return getAdScheduleTargetsFieldBuilder().addBuilder( com.google.ads.googleads.v17.common.AdScheduleInfo.getDefaultInstance()); } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public com.google.ads.googleads.v17.common.AdScheduleInfo.Builder addAdScheduleTargetsBuilder( int index) { return getAdScheduleTargetsFieldBuilder().addBuilder( index, com.google.ads.googleads.v17.common.AdScheduleInfo.getDefaultInstance()); } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 5; */ public java.util.List getAdScheduleTargetsBuilderList() { return getAdScheduleTargetsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v17.common.AdScheduleInfo, com.google.ads.googleads.v17.common.AdScheduleInfo.Builder, com.google.ads.googleads.v17.common.AdScheduleInfoOrBuilder> getAdScheduleTargetsFieldBuilder() { if (adScheduleTargetsBuilder_ == null) { adScheduleTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v17.common.AdScheduleInfo, com.google.ads.googleads.v17.common.AdScheduleInfo.Builder, com.google.ads.googleads.v17.common.AdScheduleInfoOrBuilder>( adScheduleTargets_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); adScheduleTargets_ = null; } return adScheduleTargetsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.ads.googleads.v17.common.CallAsset) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.common.CallAsset) private static final com.google.ads.googleads.v17.common.CallAsset DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.common.CallAsset(); } public static com.google.ads.googleads.v17.common.CallAsset getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CallAsset parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.ads.googleads.v17.common.CallAsset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy