Enum LocationPlaceholderFieldEnum.LocationPlaceholderField
- java.lang.Object
-
- java.lang.Enum<LocationPlaceholderFieldEnum.LocationPlaceholderField>
-
- com.google.ads.googleads.v14.enums.LocationPlaceholderFieldEnum.LocationPlaceholderField
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<LocationPlaceholderFieldEnum.LocationPlaceholderField>
- Enclosing class:
- LocationPlaceholderFieldEnum
public static enum LocationPlaceholderFieldEnum.LocationPlaceholderField extends java.lang.Enum<LocationPlaceholderFieldEnum.LocationPlaceholderField> implements com.google.protobuf.ProtocolMessageEnum
Possible values for Location placeholder fields.
Protobuf enumgoogle.ads.googleads.v14.enums.LocationPlaceholderFieldEnum.LocationPlaceholderField
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDRESS_LINE_1
Data Type: STRING.ADDRESS_LINE_2
Data Type: STRING.BUSINESS_NAME
Data Type: STRING.CITY
Data Type: STRING.COUNTRY_CODE
Data Type: STRING.PHONE_NUMBER
Data Type: STRING.POSTAL_CODE
Data Type: STRING.PROVINCE
Data Type: STRING.UNKNOWN
Used for return value only.UNRECOGNIZED
UNSPECIFIED
Not specified.
-
Field Summary
Fields Modifier and Type Field Description static int
ADDRESS_LINE_1_VALUE
Data Type: STRING.static int
ADDRESS_LINE_2_VALUE
Data Type: STRING.static int
BUSINESS_NAME_VALUE
Data Type: STRING.static int
CITY_VALUE
Data Type: STRING.static int
COUNTRY_CODE_VALUE
Data Type: STRING.static int
PHONE_NUMBER_VALUE
Data Type: STRING.static int
POSTAL_CODE_VALUE
Data Type: STRING.static int
PROVINCE_VALUE
Data Type: STRING.static int
UNKNOWN_VALUE
Used for return value only.static int
UNSPECIFIED_VALUE
Not specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LocationPlaceholderFieldEnum.LocationPlaceholderField
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<LocationPlaceholderFieldEnum.LocationPlaceholderField>
internalGetValueMap()
static LocationPlaceholderFieldEnum.LocationPlaceholderField
valueOf(int value)
Deprecated.static LocationPlaceholderFieldEnum.LocationPlaceholderField
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static LocationPlaceholderFieldEnum.LocationPlaceholderField
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LocationPlaceholderFieldEnum.LocationPlaceholderField[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final LocationPlaceholderFieldEnum.LocationPlaceholderField UNSPECIFIED
Not specified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final LocationPlaceholderFieldEnum.LocationPlaceholderField UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;
-
BUSINESS_NAME
public static final LocationPlaceholderFieldEnum.LocationPlaceholderField BUSINESS_NAME
Data Type: STRING. The name of the business.
BUSINESS_NAME = 2;
-
ADDRESS_LINE_1
public static final LocationPlaceholderFieldEnum.LocationPlaceholderField ADDRESS_LINE_1
Data Type: STRING. Line 1 of the business address.
ADDRESS_LINE_1 = 3;
-
ADDRESS_LINE_2
public static final LocationPlaceholderFieldEnum.LocationPlaceholderField ADDRESS_LINE_2
Data Type: STRING. Line 2 of the business address.
ADDRESS_LINE_2 = 4;
-
CITY
public static final LocationPlaceholderFieldEnum.LocationPlaceholderField CITY
Data Type: STRING. City of the business address.
CITY = 5;
-
PROVINCE
public static final LocationPlaceholderFieldEnum.LocationPlaceholderField PROVINCE
Data Type: STRING. Province of the business address.
PROVINCE = 6;
-
POSTAL_CODE
public static final LocationPlaceholderFieldEnum.LocationPlaceholderField POSTAL_CODE
Data Type: STRING. Postal code of the business address.
POSTAL_CODE = 7;
-
COUNTRY_CODE
public static final LocationPlaceholderFieldEnum.LocationPlaceholderField COUNTRY_CODE
Data Type: STRING. Country code of the business address.
COUNTRY_CODE = 8;
-
PHONE_NUMBER
public static final LocationPlaceholderFieldEnum.LocationPlaceholderField PHONE_NUMBER
Data Type: STRING. Phone number of the business.
PHONE_NUMBER = 9;
-
UNRECOGNIZED
public static final LocationPlaceholderFieldEnum.LocationPlaceholderField 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
-
BUSINESS_NAME_VALUE
public static final int BUSINESS_NAME_VALUE
Data Type: STRING. The name of the business.
BUSINESS_NAME = 2;
- See Also:
- Constant Field Values
-
ADDRESS_LINE_1_VALUE
public static final int ADDRESS_LINE_1_VALUE
Data Type: STRING. Line 1 of the business address.
ADDRESS_LINE_1 = 3;
- See Also:
- Constant Field Values
-
ADDRESS_LINE_2_VALUE
public static final int ADDRESS_LINE_2_VALUE
Data Type: STRING. Line 2 of the business address.
ADDRESS_LINE_2 = 4;
- See Also:
- Constant Field Values
-
CITY_VALUE
public static final int CITY_VALUE
Data Type: STRING. City of the business address.
CITY = 5;
- See Also:
- Constant Field Values
-
PROVINCE_VALUE
public static final int PROVINCE_VALUE
Data Type: STRING. Province of the business address.
PROVINCE = 6;
- See Also:
- Constant Field Values
-
POSTAL_CODE_VALUE
public static final int POSTAL_CODE_VALUE
Data Type: STRING. Postal code of the business address.
POSTAL_CODE = 7;
- See Also:
- Constant Field Values
-
COUNTRY_CODE_VALUE
public static final int COUNTRY_CODE_VALUE
Data Type: STRING. Country code of the business address.
COUNTRY_CODE = 8;
- See Also:
- Constant Field Values
-
PHONE_NUMBER_VALUE
public static final int PHONE_NUMBER_VALUE
Data Type: STRING. Phone number of the business.
PHONE_NUMBER = 9;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static LocationPlaceholderFieldEnum.LocationPlaceholderField[] 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 (LocationPlaceholderFieldEnum.LocationPlaceholderField c : LocationPlaceholderFieldEnum.LocationPlaceholderField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocationPlaceholderFieldEnum.LocationPlaceholderField 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static LocationPlaceholderFieldEnum.LocationPlaceholderField 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 LocationPlaceholderFieldEnum.LocationPlaceholderField 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<LocationPlaceholderFieldEnum.LocationPlaceholderField> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static LocationPlaceholderFieldEnum.LocationPlaceholderField 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
-
-