Enum CallPlaceholderFieldEnum.CallPlaceholderField
- java.lang.Object
-
- java.lang.Enum<CallPlaceholderFieldEnum.CallPlaceholderField>
-
- com.google.ads.googleads.v10.enums.CallPlaceholderFieldEnum.CallPlaceholderField
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<CallPlaceholderFieldEnum.CallPlaceholderField>
- Enclosing class:
- CallPlaceholderFieldEnum
public static enum CallPlaceholderFieldEnum.CallPlaceholderField extends java.lang.Enum<CallPlaceholderFieldEnum.CallPlaceholderField> implements com.google.protobuf.ProtocolMessageEnum
Possible values for Call placeholder fields.
Protobuf enumgoogle.ads.googleads.v10.enums.CallPlaceholderFieldEnum.CallPlaceholderField
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONVERSION_REPORTING_STATEData Type: STRING.CONVERSION_TYPE_IDData Type: INT64.COUNTRY_CODEData Type: STRING.PHONE_NUMBERData Type: STRING.TRACKEDData Type: BOOLEAN.UNKNOWNUsed for return value only.UNRECOGNIZEDUNSPECIFIEDNot specified.
-
Field Summary
Fields Modifier and Type Field Description static intCONVERSION_REPORTING_STATE_VALUEData Type: STRING.static intCONVERSION_TYPE_ID_VALUEData Type: INT64.static intCOUNTRY_CODE_VALUEData Type: STRING.static intPHONE_NUMBER_VALUEData Type: STRING.static intTRACKED_VALUEData Type: BOOLEAN.static intUNKNOWN_VALUEUsed for return value only.static intUNSPECIFIED_VALUENot specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CallPlaceholderFieldEnum.CallPlaceholderFieldforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<CallPlaceholderFieldEnum.CallPlaceholderField>internalGetValueMap()static CallPlaceholderFieldEnum.CallPlaceholderFieldvalueOf(int value)Deprecated.static CallPlaceholderFieldEnum.CallPlaceholderFieldvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CallPlaceholderFieldEnum.CallPlaceholderFieldvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CallPlaceholderFieldEnum.CallPlaceholderField[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final CallPlaceholderFieldEnum.CallPlaceholderField UNSPECIFIED
Not specified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final CallPlaceholderFieldEnum.CallPlaceholderField UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;
-
PHONE_NUMBER
public static final CallPlaceholderFieldEnum.CallPlaceholderField PHONE_NUMBER
Data Type: STRING. The advertiser's phone number to append to the ad.
PHONE_NUMBER = 2;
-
COUNTRY_CODE
public static final CallPlaceholderFieldEnum.CallPlaceholderField COUNTRY_CODE
Data Type: STRING. Uppercase two-letter country code of the advertiser's phone number.
COUNTRY_CODE = 3;
-
TRACKED
public static final CallPlaceholderFieldEnum.CallPlaceholderField TRACKED
Data Type: BOOLEAN. Indicates whether call tracking is enabled. Default: true.
TRACKED = 4;
-
CONVERSION_TYPE_ID
public static final CallPlaceholderFieldEnum.CallPlaceholderField CONVERSION_TYPE_ID
Data Type: INT64. The ID of an AdCallMetricsConversion object. This object contains the phoneCallDurationfield which is the minimum duration (in seconds) of a call to be considered a conversion.
CONVERSION_TYPE_ID = 5;
-
CONVERSION_REPORTING_STATE
public static final CallPlaceholderFieldEnum.CallPlaceholderField CONVERSION_REPORTING_STATE
Data Type: STRING. Indicates whether this call extension uses its own call conversion setting or follows the account level setting. Valid values are: USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION and USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.
CONVERSION_REPORTING_STATE = 6;
-
UNRECOGNIZED
public static final CallPlaceholderFieldEnum.CallPlaceholderField UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Not specified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
PHONE_NUMBER_VALUE
public static final int PHONE_NUMBER_VALUE
Data Type: STRING. The advertiser's phone number to append to the ad.
PHONE_NUMBER = 2;- See Also:
- Constant Field Values
-
COUNTRY_CODE_VALUE
public static final int COUNTRY_CODE_VALUE
Data Type: STRING. Uppercase two-letter country code of the advertiser's phone number.
COUNTRY_CODE = 3;- See Also:
- Constant Field Values
-
TRACKED_VALUE
public static final int TRACKED_VALUE
Data Type: BOOLEAN. Indicates whether call tracking is enabled. Default: true.
TRACKED = 4;- See Also:
- Constant Field Values
-
CONVERSION_TYPE_ID_VALUE
public static final int CONVERSION_TYPE_ID_VALUE
Data Type: INT64. The ID of an AdCallMetricsConversion object. This object contains the phoneCallDurationfield which is the minimum duration (in seconds) of a call to be considered a conversion.
CONVERSION_TYPE_ID = 5;- See Also:
- Constant Field Values
-
CONVERSION_REPORTING_STATE_VALUE
public static final int CONVERSION_REPORTING_STATE_VALUE
Data Type: STRING. Indicates whether this call extension uses its own call conversion setting or follows the account level setting. Valid values are: USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION and USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.
CONVERSION_REPORTING_STATE = 6;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CallPlaceholderFieldEnum.CallPlaceholderField[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CallPlaceholderFieldEnum.CallPlaceholderField c : CallPlaceholderFieldEnum.CallPlaceholderField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CallPlaceholderFieldEnum.CallPlaceholderField valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static CallPlaceholderFieldEnum.CallPlaceholderField valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static CallPlaceholderFieldEnum.CallPlaceholderField forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<CallPlaceholderFieldEnum.CallPlaceholderField> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static CallPlaceholderFieldEnum.CallPlaceholderField valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-