Class CallAdInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CallAdInfo.Builder>
-
- com.google.ads.googleads.v10.common.CallAdInfo.Builder
-
- All Implemented Interfaces:
CallAdInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- CallAdInfo
public static final class CallAdInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CallAdInfo.Builder> implements CallAdInfoOrBuilder
A call ad.
Protobuf typegoogle.ads.googleads.v10.common.CallAdInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CallAdInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CallAdInfobuild()CallAdInfobuildPartial()CallAdInfo.Builderclear()CallAdInfo.BuilderclearBusinessName()The business name in the ad.CallAdInfo.BuilderclearCallTracked()Whether to enable call tracking for the creative.CallAdInfo.BuilderclearConversionAction()The conversion action to attribute a call conversion to.CallAdInfo.BuilderclearConversionReportingState()The call conversion behavior of this call ad.CallAdInfo.BuilderclearCountryCode()The country code in the ad.CallAdInfo.BuilderclearDescription1()The first line of the ad's description.CallAdInfo.BuilderclearDescription2()The second line of the ad's description.CallAdInfo.BuilderclearDisableCallConversion()Whether to disable call conversion for the creative.CallAdInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CallAdInfo.BuilderclearHeadline1()First headline in the ad.CallAdInfo.BuilderclearHeadline2()Second headline in the ad.CallAdInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CallAdInfo.BuilderclearPath1()First part of text that can be appended to the URL in the ad.CallAdInfo.BuilderclearPath2()Second part of text that can be appended to the URL in the ad.CallAdInfo.BuilderclearPhoneNumber()The phone number in the ad.CallAdInfo.BuilderclearPhoneNumberVerificationUrl()The URL to be used for phone number verification.CallAdInfo.Builderclone()java.lang.StringgetBusinessName()The business name in the ad.com.google.protobuf.ByteStringgetBusinessNameBytes()The business name in the ad.booleangetCallTracked()Whether to enable call tracking for the creative.java.lang.StringgetConversionAction()The conversion action to attribute a call conversion to.com.google.protobuf.ByteStringgetConversionActionBytes()The conversion action to attribute a call conversion to.CallConversionReportingStateEnum.CallConversionReportingStategetConversionReportingState()The call conversion behavior of this call ad.intgetConversionReportingStateValue()The call conversion behavior of this call ad.java.lang.StringgetCountryCode()The country code in the ad.com.google.protobuf.ByteStringgetCountryCodeBytes()The country code in the ad.CallAdInfogetDefaultInstanceForType()java.lang.StringgetDescription1()The first line of the ad's description.com.google.protobuf.ByteStringgetDescription1Bytes()The first line of the ad's description.java.lang.StringgetDescription2()The second line of the ad's description.com.google.protobuf.ByteStringgetDescription2Bytes()The second line of the ad's description.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetDisableCallConversion()Whether to disable call conversion for the creative.java.lang.StringgetHeadline1()First headline in the ad.com.google.protobuf.ByteStringgetHeadline1Bytes()First headline in the ad.java.lang.StringgetHeadline2()Second headline in the ad.com.google.protobuf.ByteStringgetHeadline2Bytes()Second headline in the ad.java.lang.StringgetPath1()First part of text that can be appended to the URL in the ad.com.google.protobuf.ByteStringgetPath1Bytes()First part of text that can be appended to the URL in the ad.java.lang.StringgetPath2()Second part of text that can be appended to the URL in the ad.com.google.protobuf.ByteStringgetPath2Bytes()Second part of text that can be appended to the URL in the ad.java.lang.StringgetPhoneNumber()The phone number in the ad.com.google.protobuf.ByteStringgetPhoneNumberBytes()The phone number in the ad.java.lang.StringgetPhoneNumberVerificationUrl()The URL to be used for phone number verification.com.google.protobuf.ByteStringgetPhoneNumberVerificationUrlBytes()The URL to be used for phone number verification.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CallAdInfo.BuildermergeFrom(CallAdInfo other)CallAdInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CallAdInfo.BuildermergeFrom(com.google.protobuf.Message other)CallAdInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CallAdInfo.BuildersetBusinessName(java.lang.String value)The business name in the ad.CallAdInfo.BuildersetBusinessNameBytes(com.google.protobuf.ByteString value)The business name in the ad.CallAdInfo.BuildersetCallTracked(boolean value)Whether to enable call tracking for the creative.CallAdInfo.BuildersetConversionAction(java.lang.String value)The conversion action to attribute a call conversion to.CallAdInfo.BuildersetConversionActionBytes(com.google.protobuf.ByteString value)The conversion action to attribute a call conversion to.CallAdInfo.BuildersetConversionReportingState(CallConversionReportingStateEnum.CallConversionReportingState value)The call conversion behavior of this call ad.CallAdInfo.BuildersetConversionReportingStateValue(int value)The call conversion behavior of this call ad.CallAdInfo.BuildersetCountryCode(java.lang.String value)The country code in the ad.CallAdInfo.BuildersetCountryCodeBytes(com.google.protobuf.ByteString value)The country code in the ad.CallAdInfo.BuildersetDescription1(java.lang.String value)The first line of the ad's description.CallAdInfo.BuildersetDescription1Bytes(com.google.protobuf.ByteString value)The first line of the ad's description.CallAdInfo.BuildersetDescription2(java.lang.String value)The second line of the ad's description.CallAdInfo.BuildersetDescription2Bytes(com.google.protobuf.ByteString value)The second line of the ad's description.CallAdInfo.BuildersetDisableCallConversion(boolean value)Whether to disable call conversion for the creative.CallAdInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CallAdInfo.BuildersetHeadline1(java.lang.String value)First headline in the ad.CallAdInfo.BuildersetHeadline1Bytes(com.google.protobuf.ByteString value)First headline in the ad.CallAdInfo.BuildersetHeadline2(java.lang.String value)Second headline in the ad.CallAdInfo.BuildersetHeadline2Bytes(com.google.protobuf.ByteString value)Second headline in the ad.CallAdInfo.BuildersetPath1(java.lang.String value)First part of text that can be appended to the URL in the ad.CallAdInfo.BuildersetPath1Bytes(com.google.protobuf.ByteString value)First part of text that can be appended to the URL in the ad.CallAdInfo.BuildersetPath2(java.lang.String value)Second part of text that can be appended to the URL in the ad.CallAdInfo.BuildersetPath2Bytes(com.google.protobuf.ByteString value)Second part of text that can be appended to the URL in the ad.CallAdInfo.BuildersetPhoneNumber(java.lang.String value)The phone number in the ad.CallAdInfo.BuildersetPhoneNumberBytes(com.google.protobuf.ByteString value)The phone number in the ad.CallAdInfo.BuildersetPhoneNumberVerificationUrl(java.lang.String value)The URL to be used for phone number verification.CallAdInfo.BuildersetPhoneNumberVerificationUrlBytes(com.google.protobuf.ByteString value)The URL to be used for phone number verification.CallAdInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)CallAdInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CallAdInfo.Builder>
-
clear
public CallAdInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CallAdInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CallAdInfo.Builder>
-
getDefaultInstanceForType
public CallAdInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CallAdInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CallAdInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CallAdInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CallAdInfo.Builder>
-
setField
public CallAdInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CallAdInfo.Builder>
-
clearField
public CallAdInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CallAdInfo.Builder>
-
clearOneof
public CallAdInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CallAdInfo.Builder>
-
setRepeatedField
public CallAdInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CallAdInfo.Builder>
-
addRepeatedField
public CallAdInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CallAdInfo.Builder>
-
mergeFrom
public CallAdInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CallAdInfo.Builder>
-
mergeFrom
public CallAdInfo.Builder mergeFrom(CallAdInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CallAdInfo.Builder>
-
mergeFrom
public CallAdInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CallAdInfo.Builder>- Throws:
java.io.IOException
-
getCountryCode
public java.lang.String getCountryCode()
The country code in the ad.
string country_code = 1;- Specified by:
getCountryCodein interfaceCallAdInfoOrBuilder- Returns:
- The countryCode.
-
getCountryCodeBytes
public com.google.protobuf.ByteString getCountryCodeBytes()
The country code in the ad.
string country_code = 1;- Specified by:
getCountryCodeBytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for countryCode.
-
setCountryCode
public CallAdInfo.Builder setCountryCode(java.lang.String value)
The country code in the ad.
string country_code = 1;- Parameters:
value- The countryCode to set.- Returns:
- This builder for chaining.
-
clearCountryCode
public CallAdInfo.Builder clearCountryCode()
The country code in the ad.
string country_code = 1;- Returns:
- This builder for chaining.
-
setCountryCodeBytes
public CallAdInfo.Builder setCountryCodeBytes(com.google.protobuf.ByteString value)
The country code in the ad.
string country_code = 1;- Parameters:
value- The bytes for countryCode to set.- Returns:
- This builder for chaining.
-
getPhoneNumber
public java.lang.String getPhoneNumber()
The phone number in the ad.
string phone_number = 2;- Specified by:
getPhoneNumberin interfaceCallAdInfoOrBuilder- Returns:
- The phoneNumber.
-
getPhoneNumberBytes
public com.google.protobuf.ByteString getPhoneNumberBytes()
The phone number in the ad.
string phone_number = 2;- Specified by:
getPhoneNumberBytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for phoneNumber.
-
setPhoneNumber
public CallAdInfo.Builder setPhoneNumber(java.lang.String value)
The phone number in the ad.
string phone_number = 2;- Parameters:
value- The phoneNumber to set.- Returns:
- This builder for chaining.
-
clearPhoneNumber
public CallAdInfo.Builder clearPhoneNumber()
The phone number in the ad.
string phone_number = 2;- Returns:
- This builder for chaining.
-
setPhoneNumberBytes
public CallAdInfo.Builder setPhoneNumberBytes(com.google.protobuf.ByteString value)
The phone number in the ad.
string phone_number = 2;- Parameters:
value- The bytes for phoneNumber to set.- Returns:
- This builder for chaining.
-
getBusinessName
public java.lang.String getBusinessName()
The business name in the ad.
string business_name = 3;- Specified by:
getBusinessNamein interfaceCallAdInfoOrBuilder- Returns:
- The businessName.
-
getBusinessNameBytes
public com.google.protobuf.ByteString getBusinessNameBytes()
The business name in the ad.
string business_name = 3;- Specified by:
getBusinessNameBytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for businessName.
-
setBusinessName
public CallAdInfo.Builder setBusinessName(java.lang.String value)
The business name in the ad.
string business_name = 3;- Parameters:
value- The businessName to set.- Returns:
- This builder for chaining.
-
clearBusinessName
public CallAdInfo.Builder clearBusinessName()
The business name in the ad.
string business_name = 3;- Returns:
- This builder for chaining.
-
setBusinessNameBytes
public CallAdInfo.Builder setBusinessNameBytes(com.google.protobuf.ByteString value)
The business name in the ad.
string business_name = 3;- Parameters:
value- The bytes for businessName to set.- Returns:
- This builder for chaining.
-
getHeadline1
public java.lang.String getHeadline1()
First headline in the ad.
string headline1 = 11;- Specified by:
getHeadline1in interfaceCallAdInfoOrBuilder- Returns:
- The headline1.
-
getHeadline1Bytes
public com.google.protobuf.ByteString getHeadline1Bytes()
First headline in the ad.
string headline1 = 11;- Specified by:
getHeadline1Bytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for headline1.
-
setHeadline1
public CallAdInfo.Builder setHeadline1(java.lang.String value)
First headline in the ad.
string headline1 = 11;- Parameters:
value- The headline1 to set.- Returns:
- This builder for chaining.
-
clearHeadline1
public CallAdInfo.Builder clearHeadline1()
First headline in the ad.
string headline1 = 11;- Returns:
- This builder for chaining.
-
setHeadline1Bytes
public CallAdInfo.Builder setHeadline1Bytes(com.google.protobuf.ByteString value)
First headline in the ad.
string headline1 = 11;- Parameters:
value- The bytes for headline1 to set.- Returns:
- This builder for chaining.
-
getHeadline2
public java.lang.String getHeadline2()
Second headline in the ad.
string headline2 = 12;- Specified by:
getHeadline2in interfaceCallAdInfoOrBuilder- Returns:
- The headline2.
-
getHeadline2Bytes
public com.google.protobuf.ByteString getHeadline2Bytes()
Second headline in the ad.
string headline2 = 12;- Specified by:
getHeadline2Bytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for headline2.
-
setHeadline2
public CallAdInfo.Builder setHeadline2(java.lang.String value)
Second headline in the ad.
string headline2 = 12;- Parameters:
value- The headline2 to set.- Returns:
- This builder for chaining.
-
clearHeadline2
public CallAdInfo.Builder clearHeadline2()
Second headline in the ad.
string headline2 = 12;- Returns:
- This builder for chaining.
-
setHeadline2Bytes
public CallAdInfo.Builder setHeadline2Bytes(com.google.protobuf.ByteString value)
Second headline in the ad.
string headline2 = 12;- Parameters:
value- The bytes for headline2 to set.- Returns:
- This builder for chaining.
-
getDescription1
public java.lang.String getDescription1()
The first line of the ad's description.
string description1 = 4;- Specified by:
getDescription1in interfaceCallAdInfoOrBuilder- Returns:
- The description1.
-
getDescription1Bytes
public com.google.protobuf.ByteString getDescription1Bytes()
The first line of the ad's description.
string description1 = 4;- Specified by:
getDescription1Bytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for description1.
-
setDescription1
public CallAdInfo.Builder setDescription1(java.lang.String value)
The first line of the ad's description.
string description1 = 4;- Parameters:
value- The description1 to set.- Returns:
- This builder for chaining.
-
clearDescription1
public CallAdInfo.Builder clearDescription1()
The first line of the ad's description.
string description1 = 4;- Returns:
- This builder for chaining.
-
setDescription1Bytes
public CallAdInfo.Builder setDescription1Bytes(com.google.protobuf.ByteString value)
The first line of the ad's description.
string description1 = 4;- Parameters:
value- The bytes for description1 to set.- Returns:
- This builder for chaining.
-
getDescription2
public java.lang.String getDescription2()
The second line of the ad's description.
string description2 = 5;- Specified by:
getDescription2in interfaceCallAdInfoOrBuilder- Returns:
- The description2.
-
getDescription2Bytes
public com.google.protobuf.ByteString getDescription2Bytes()
The second line of the ad's description.
string description2 = 5;- Specified by:
getDescription2Bytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for description2.
-
setDescription2
public CallAdInfo.Builder setDescription2(java.lang.String value)
The second line of the ad's description.
string description2 = 5;- Parameters:
value- The description2 to set.- Returns:
- This builder for chaining.
-
clearDescription2
public CallAdInfo.Builder clearDescription2()
The second line of the ad's description.
string description2 = 5;- Returns:
- This builder for chaining.
-
setDescription2Bytes
public CallAdInfo.Builder setDescription2Bytes(com.google.protobuf.ByteString value)
The second line of the ad's description.
string description2 = 5;- Parameters:
value- The bytes for description2 to set.- Returns:
- This builder for chaining.
-
getCallTracked
public boolean getCallTracked()
Whether to enable call tracking for the creative. Enabling call tracking also enables call conversions.
bool call_tracked = 6;- Specified by:
getCallTrackedin interfaceCallAdInfoOrBuilder- Returns:
- The callTracked.
-
setCallTracked
public CallAdInfo.Builder setCallTracked(boolean value)
Whether to enable call tracking for the creative. Enabling call tracking also enables call conversions.
bool call_tracked = 6;- Parameters:
value- The callTracked to set.- Returns:
- This builder for chaining.
-
clearCallTracked
public CallAdInfo.Builder clearCallTracked()
Whether to enable call tracking for the creative. Enabling call tracking also enables call conversions.
bool call_tracked = 6;- Returns:
- This builder for chaining.
-
getDisableCallConversion
public boolean getDisableCallConversion()
Whether to disable call conversion for the creative. If set to `true`, disables call conversions even when `call_tracked` is `true`. If `call_tracked` is `false`, this field is ignored.
bool disable_call_conversion = 7;- Specified by:
getDisableCallConversionin interfaceCallAdInfoOrBuilder- Returns:
- The disableCallConversion.
-
setDisableCallConversion
public CallAdInfo.Builder setDisableCallConversion(boolean value)
Whether to disable call conversion for the creative. If set to `true`, disables call conversions even when `call_tracked` is `true`. If `call_tracked` is `false`, this field is ignored.
bool disable_call_conversion = 7;- Parameters:
value- The disableCallConversion to set.- Returns:
- This builder for chaining.
-
clearDisableCallConversion
public CallAdInfo.Builder clearDisableCallConversion()
Whether to disable call conversion for the creative. If set to `true`, disables call conversions even when `call_tracked` is `true`. If `call_tracked` is `false`, this field is ignored.
bool disable_call_conversion = 7;- Returns:
- This builder for chaining.
-
getPhoneNumberVerificationUrl
public java.lang.String getPhoneNumberVerificationUrl()
The URL to be used for phone number verification.
string phone_number_verification_url = 8;- Specified by:
getPhoneNumberVerificationUrlin interfaceCallAdInfoOrBuilder- Returns:
- The phoneNumberVerificationUrl.
-
getPhoneNumberVerificationUrlBytes
public com.google.protobuf.ByteString getPhoneNumberVerificationUrlBytes()
The URL to be used for phone number verification.
string phone_number_verification_url = 8;- Specified by:
getPhoneNumberVerificationUrlBytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for phoneNumberVerificationUrl.
-
setPhoneNumberVerificationUrl
public CallAdInfo.Builder setPhoneNumberVerificationUrl(java.lang.String value)
The URL to be used for phone number verification.
string phone_number_verification_url = 8;- Parameters:
value- The phoneNumberVerificationUrl to set.- Returns:
- This builder for chaining.
-
clearPhoneNumberVerificationUrl
public CallAdInfo.Builder clearPhoneNumberVerificationUrl()
The URL to be used for phone number verification.
string phone_number_verification_url = 8;- Returns:
- This builder for chaining.
-
setPhoneNumberVerificationUrlBytes
public CallAdInfo.Builder setPhoneNumberVerificationUrlBytes(com.google.protobuf.ByteString value)
The URL to be used for phone number verification.
string phone_number_verification_url = 8;- Parameters:
value- The bytes for phoneNumberVerificationUrl to set.- Returns:
- This builder for chaining.
-
getConversionAction
public java.lang.String getConversionAction()
The conversion action to attribute a call conversion to. If not set a default conversion action is used. This field only has effect if `call_tracked` is set to `true`. Otherwise this field is ignored.
string conversion_action = 9;- Specified by:
getConversionActionin interfaceCallAdInfoOrBuilder- Returns:
- The conversionAction.
-
getConversionActionBytes
public com.google.protobuf.ByteString getConversionActionBytes()
The conversion action to attribute a call conversion to. If not set a default conversion action is used. This field only has effect if `call_tracked` is set to `true`. Otherwise this field is ignored.
string conversion_action = 9;- Specified by:
getConversionActionBytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for conversionAction.
-
setConversionAction
public CallAdInfo.Builder setConversionAction(java.lang.String value)
The conversion action to attribute a call conversion to. If not set a default conversion action is used. This field only has effect if `call_tracked` is set to `true`. Otherwise this field is ignored.
string conversion_action = 9;- Parameters:
value- The conversionAction to set.- Returns:
- This builder for chaining.
-
clearConversionAction
public CallAdInfo.Builder clearConversionAction()
The conversion action to attribute a call conversion to. If not set a default conversion action is used. This field only has effect if `call_tracked` is set to `true`. Otherwise this field is ignored.
string conversion_action = 9;- Returns:
- This builder for chaining.
-
setConversionActionBytes
public CallAdInfo.Builder setConversionActionBytes(com.google.protobuf.ByteString value)
The conversion action to attribute a call conversion to. If not set a default conversion action is used. This field only has effect if `call_tracked` is set to `true`. Otherwise this field is ignored.
string conversion_action = 9;- Parameters:
value- The bytes for conversionAction to set.- Returns:
- This builder for chaining.
-
getConversionReportingStateValue
public int getConversionReportingStateValue()
The call conversion behavior of this call ad. It can use its own call conversion setting, inherit the account level setting, or be disabled.
.google.ads.googleads.v10.enums.CallConversionReportingStateEnum.CallConversionReportingState conversion_reporting_state = 10;- Specified by:
getConversionReportingStateValuein interfaceCallAdInfoOrBuilder- Returns:
- The enum numeric value on the wire for conversionReportingState.
-
setConversionReportingStateValue
public CallAdInfo.Builder setConversionReportingStateValue(int value)
The call conversion behavior of this call ad. It can use its own call conversion setting, inherit the account level setting, or be disabled.
.google.ads.googleads.v10.enums.CallConversionReportingStateEnum.CallConversionReportingState conversion_reporting_state = 10;- Parameters:
value- The enum numeric value on the wire for conversionReportingState to set.- Returns:
- This builder for chaining.
-
getConversionReportingState
public CallConversionReportingStateEnum.CallConversionReportingState getConversionReportingState()
The call conversion behavior of this call ad. It can use its own call conversion setting, inherit the account level setting, or be disabled.
.google.ads.googleads.v10.enums.CallConversionReportingStateEnum.CallConversionReportingState conversion_reporting_state = 10;- Specified by:
getConversionReportingStatein interfaceCallAdInfoOrBuilder- Returns:
- The conversionReportingState.
-
setConversionReportingState
public CallAdInfo.Builder setConversionReportingState(CallConversionReportingStateEnum.CallConversionReportingState value)
The call conversion behavior of this call ad. It can use its own call conversion setting, inherit the account level setting, or be disabled.
.google.ads.googleads.v10.enums.CallConversionReportingStateEnum.CallConversionReportingState conversion_reporting_state = 10;- Parameters:
value- The conversionReportingState to set.- Returns:
- This builder for chaining.
-
clearConversionReportingState
public CallAdInfo.Builder clearConversionReportingState()
The call conversion behavior of this call ad. It can use its own call conversion setting, inherit the account level setting, or be disabled.
.google.ads.googleads.v10.enums.CallConversionReportingStateEnum.CallConversionReportingState conversion_reporting_state = 10;- Returns:
- This builder for chaining.
-
getPath1
public java.lang.String getPath1()
First part of text that can be appended to the URL in the ad. Optional.
string path1 = 13;- Specified by:
getPath1in interfaceCallAdInfoOrBuilder- Returns:
- The path1.
-
getPath1Bytes
public com.google.protobuf.ByteString getPath1Bytes()
First part of text that can be appended to the URL in the ad. Optional.
string path1 = 13;- Specified by:
getPath1Bytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for path1.
-
setPath1
public CallAdInfo.Builder setPath1(java.lang.String value)
First part of text that can be appended to the URL in the ad. Optional.
string path1 = 13;- Parameters:
value- The path1 to set.- Returns:
- This builder for chaining.
-
clearPath1
public CallAdInfo.Builder clearPath1()
First part of text that can be appended to the URL in the ad. Optional.
string path1 = 13;- Returns:
- This builder for chaining.
-
setPath1Bytes
public CallAdInfo.Builder setPath1Bytes(com.google.protobuf.ByteString value)
First part of text that can be appended to the URL in the ad. Optional.
string path1 = 13;- Parameters:
value- The bytes for path1 to set.- Returns:
- This builder for chaining.
-
getPath2
public java.lang.String getPath2()
Second part of text that can be appended to the URL in the ad. This field can only be set when `path1` is also set. Optional.
string path2 = 14;- Specified by:
getPath2in interfaceCallAdInfoOrBuilder- Returns:
- The path2.
-
getPath2Bytes
public com.google.protobuf.ByteString getPath2Bytes()
Second part of text that can be appended to the URL in the ad. This field can only be set when `path1` is also set. Optional.
string path2 = 14;- Specified by:
getPath2Bytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for path2.
-
setPath2
public CallAdInfo.Builder setPath2(java.lang.String value)
Second part of text that can be appended to the URL in the ad. This field can only be set when `path1` is also set. Optional.
string path2 = 14;- Parameters:
value- The path2 to set.- Returns:
- This builder for chaining.
-
clearPath2
public CallAdInfo.Builder clearPath2()
Second part of text that can be appended to the URL in the ad. This field can only be set when `path1` is also set. Optional.
string path2 = 14;- Returns:
- This builder for chaining.
-
setPath2Bytes
public CallAdInfo.Builder setPath2Bytes(com.google.protobuf.ByteString value)
Second part of text that can be appended to the URL in the ad. This field can only be set when `path1` is also set. Optional.
string path2 = 14;- Parameters:
value- The bytes for path2 to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CallAdInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CallAdInfo.Builder>
-
mergeUnknownFields
public final CallAdInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CallAdInfo.Builder>
-
-