Class CallAdInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.common.CallAdInfo
-
- All Implemented Interfaces:
CallAdInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class CallAdInfo extends com.google.protobuf.GeneratedMessageV3 implements CallAdInfoOrBuilder
A call ad.
Protobuf typegoogle.ads.googleads.v10.common.CallAdInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCallAdInfo.BuilderA call ad.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBUSINESS_NAME_FIELD_NUMBERstatic intCALL_TRACKED_FIELD_NUMBERstatic intCONVERSION_ACTION_FIELD_NUMBERstatic intCONVERSION_REPORTING_STATE_FIELD_NUMBERstatic intCOUNTRY_CODE_FIELD_NUMBERstatic intDESCRIPTION1_FIELD_NUMBERstatic intDESCRIPTION2_FIELD_NUMBERstatic intDISABLE_CALL_CONVERSION_FIELD_NUMBERstatic intHEADLINE1_FIELD_NUMBERstatic intHEADLINE2_FIELD_NUMBERstatic intPATH1_FIELD_NUMBERstatic intPATH2_FIELD_NUMBERstatic intPHONE_NUMBER_FIELD_NUMBERstatic intPHONE_NUMBER_VERIFICATION_URL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)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.static CallAdInfogetDefaultInstance()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()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.com.google.protobuf.Parser<CallAdInfo>getParserForType()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.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CallAdInfo.BuildernewBuilder()static CallAdInfo.BuildernewBuilder(CallAdInfo prototype)CallAdInfo.BuildernewBuilderForType()protected CallAdInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static CallAdInfoparseDelimitedFrom(java.io.InputStream input)static CallAdInfoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CallAdInfoparseFrom(byte[] data)static CallAdInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CallAdInfoparseFrom(com.google.protobuf.ByteString data)static CallAdInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CallAdInfoparseFrom(com.google.protobuf.CodedInputStream input)static CallAdInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CallAdInfoparseFrom(java.io.InputStream input)static CallAdInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CallAdInfoparseFrom(java.nio.ByteBuffer data)static CallAdInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CallAdInfo>parser()CallAdInfo.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
COUNTRY_CODE_FIELD_NUMBER
public static final int COUNTRY_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHONE_NUMBER_FIELD_NUMBER
public static final int PHONE_NUMBER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUSINESS_NAME_FIELD_NUMBER
public static final int BUSINESS_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEADLINE1_FIELD_NUMBER
public static final int HEADLINE1_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEADLINE2_FIELD_NUMBER
public static final int HEADLINE2_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION1_FIELD_NUMBER
public static final int DESCRIPTION1_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION2_FIELD_NUMBER
public static final int DESCRIPTION2_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CALL_TRACKED_FIELD_NUMBER
public static final int CALL_TRACKED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISABLE_CALL_CONVERSION_FIELD_NUMBER
public static final int DISABLE_CALL_CONVERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHONE_NUMBER_VERIFICATION_URL_FIELD_NUMBER
public static final int PHONE_NUMBER_VERIFICATION_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONVERSION_ACTION_FIELD_NUMBER
public static final int CONVERSION_ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONVERSION_REPORTING_STATE_FIELD_NUMBER
public static final int CONVERSION_REPORTING_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATH1_FIELD_NUMBER
public static final int PATH1_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATH2_FIELD_NUMBER
public static final int PATH2_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CallAdInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CallAdInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CallAdInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CallAdInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CallAdInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CallAdInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CallAdInfo parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CallAdInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static CallAdInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static CallAdInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CallAdInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CallAdInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public CallAdInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CallAdInfo.Builder newBuilder()
-
newBuilder
public static CallAdInfo.Builder newBuilder(CallAdInfo prototype)
-
toBuilder
public CallAdInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CallAdInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CallAdInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CallAdInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<CallAdInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CallAdInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-