Enum LocationPlaceholderFieldEnum.LocationPlaceholderField
- java.lang.Object
-
- java.lang.Enum<LocationPlaceholderFieldEnum.LocationPlaceholderField>
-
- com.google.ads.googleads.v10.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.v10.enums.LocationPlaceholderFieldEnum.LocationPlaceholderField
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDRESS_LINE_1Data Type: STRING.ADDRESS_LINE_2Data Type: STRING.BUSINESS_NAMEData Type: STRING.CITYData Type: STRING.COUNTRY_CODEData Type: STRING.PHONE_NUMBERData Type: STRING.POSTAL_CODEData Type: STRING.PROVINCEData Type: STRING.UNKNOWNUsed for return value only.UNRECOGNIZEDUNSPECIFIEDNot specified.
-
Field Summary
Fields Modifier and Type Field Description static intADDRESS_LINE_1_VALUEData Type: STRING.static intADDRESS_LINE_2_VALUEData Type: STRING.static intBUSINESS_NAME_VALUEData Type: STRING.static intCITY_VALUEData Type: STRING.static intCOUNTRY_CODE_VALUEData Type: STRING.static intPHONE_NUMBER_VALUEData Type: STRING.static intPOSTAL_CODE_VALUEData Type: STRING.static intPROVINCE_VALUEData Type: STRING.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 LocationPlaceholderFieldEnum.LocationPlaceholderFieldforNumber(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<LocationPlaceholderFieldEnum.LocationPlaceholderField>internalGetValueMap()static LocationPlaceholderFieldEnum.LocationPlaceholderFieldvalueOf(int value)Deprecated.static LocationPlaceholderFieldEnum.LocationPlaceholderFieldvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static LocationPlaceholderFieldEnum.LocationPlaceholderFieldvalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
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 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
-
-