Enum GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType
- java.lang.Object
-
- java.lang.Enum<GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType>
-
- com.google.ads.googleads.v10.enums.GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType>
- Enclosing class:
- GoogleAdsFieldDataTypeEnum
public static enum GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType extends java.lang.Enum<GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType> implements com.google.protobuf.ProtocolMessageEnum
These are the various types a GoogleAdsService artifact may take on.
Protobuf enumgoogle.ads.googleads.v10.enums.GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEANMaps to google.protobuf.BoolValue Applicable operators: =, !=DATEMaps to google.protobuf.StringValue.DOUBLEMaps to google.protobuf.DoubleValue Applicable operators: =, !=, <, >, IN, NOT INENUMMaps to an enum.FLOATMaps to google.protobuf.FloatValue Applicable operators: =, !=, <, >, IN, NOT ININT32Maps to google.protobuf.Int32Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT ININT64Maps to google.protobuf.Int64Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT INMESSAGEMaps to a protocol buffer message type.RESOURCE_NAMEMaps to google.protobuf.StringValue.STRINGMaps to google.protobuf.StringValue.UINT64Maps to google.protobuf.UInt64Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT INUNKNOWNUnknownUNRECOGNIZEDUNSPECIFIEDUnspecified
-
Field Summary
Fields Modifier and Type Field Description static intBOOLEAN_VALUEMaps to google.protobuf.BoolValue Applicable operators: =, !=static intDATE_VALUEMaps to google.protobuf.StringValue.static intDOUBLE_VALUEMaps to google.protobuf.DoubleValue Applicable operators: =, !=, <, >, IN, NOT INstatic intENUM_VALUEMaps to an enum.static intFLOAT_VALUEMaps to google.protobuf.FloatValue Applicable operators: =, !=, <, >, IN, NOT INstatic intINT32_VALUEMaps to google.protobuf.Int32Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT INstatic intINT64_VALUEMaps to google.protobuf.Int64Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT INstatic intMESSAGE_VALUEMaps to a protocol buffer message type.static intRESOURCE_NAME_VALUEMaps to google.protobuf.StringValue.static intSTRING_VALUEMaps to google.protobuf.StringValue.static intUINT64_VALUEMaps to google.protobuf.UInt64Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT INstatic intUNKNOWN_VALUEUnknownstatic intUNSPECIFIED_VALUEUnspecified
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataTypeforNumber(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<GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType>internalGetValueMap()static GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataTypevalueOf(int value)Deprecated.static GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType UNSPECIFIED
Unspecified
UNSPECIFIED = 0;
-
UNKNOWN
public static final GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType UNKNOWN
Unknown
UNKNOWN = 1;
-
BOOLEAN
public static final GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType BOOLEAN
Maps to google.protobuf.BoolValue Applicable operators: =, !=
BOOLEAN = 2;
-
DATE
public static final GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType DATE
Maps to google.protobuf.StringValue. It can be compared using the set of operators specific to dates however. Applicable operators: =, <, >, <=, >=, BETWEEN, DURING, and IN
DATE = 3;
-
DOUBLE
public static final GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType DOUBLE
Maps to google.protobuf.DoubleValue Applicable operators: =, !=, <, >, IN, NOT IN
DOUBLE = 4;
-
ENUM
public static final GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType ENUM
Maps to an enum. It's specific definition can be found at type_url. Applicable operators: =, !=, IN, NOT IN
ENUM = 5;
-
FLOAT
public static final GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType FLOAT
Maps to google.protobuf.FloatValue Applicable operators: =, !=, <, >, IN, NOT IN
FLOAT = 6;
-
INT32
public static final GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType INT32
Maps to google.protobuf.Int32Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN
INT32 = 7;
-
INT64
public static final GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType INT64
Maps to google.protobuf.Int64Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN
INT64 = 8;
-
MESSAGE
public static final GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType MESSAGE
Maps to a protocol buffer message type. The data type's details can be found in type_url. No operators work with MESSAGE fields.
MESSAGE = 9;
-
RESOURCE_NAME
public static final GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType RESOURCE_NAME
Maps to google.protobuf.StringValue. Represents the resource name (unique id) of a resource or one of its foreign keys. No operators work with RESOURCE_NAME fields.
RESOURCE_NAME = 10;
-
STRING
public static final GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType STRING
Maps to google.protobuf.StringValue. Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN
STRING = 11;
-
UINT64
public static final GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType UINT64
Maps to google.protobuf.UInt64Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN
UINT64 = 12;
-
UNRECOGNIZED
public static final GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Unspecified
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
Unknown
UNKNOWN = 1;- See Also:
- Constant Field Values
-
BOOLEAN_VALUE
public static final int BOOLEAN_VALUE
Maps to google.protobuf.BoolValue Applicable operators: =, !=
BOOLEAN = 2;- See Also:
- Constant Field Values
-
DATE_VALUE
public static final int DATE_VALUE
Maps to google.protobuf.StringValue. It can be compared using the set of operators specific to dates however. Applicable operators: =, <, >, <=, >=, BETWEEN, DURING, and IN
DATE = 3;- See Also:
- Constant Field Values
-
DOUBLE_VALUE
public static final int DOUBLE_VALUE
Maps to google.protobuf.DoubleValue Applicable operators: =, !=, <, >, IN, NOT IN
DOUBLE = 4;- See Also:
- Constant Field Values
-
ENUM_VALUE
public static final int ENUM_VALUE
Maps to an enum. It's specific definition can be found at type_url. Applicable operators: =, !=, IN, NOT IN
ENUM = 5;- See Also:
- Constant Field Values
-
FLOAT_VALUE
public static final int FLOAT_VALUE
Maps to google.protobuf.FloatValue Applicable operators: =, !=, <, >, IN, NOT IN
FLOAT = 6;- See Also:
- Constant Field Values
-
INT32_VALUE
public static final int INT32_VALUE
Maps to google.protobuf.Int32Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN
INT32 = 7;- See Also:
- Constant Field Values
-
INT64_VALUE
public static final int INT64_VALUE
Maps to google.protobuf.Int64Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN
INT64 = 8;- See Also:
- Constant Field Values
-
MESSAGE_VALUE
public static final int MESSAGE_VALUE
Maps to a protocol buffer message type. The data type's details can be found in type_url. No operators work with MESSAGE fields.
MESSAGE = 9;- See Also:
- Constant Field Values
-
RESOURCE_NAME_VALUE
public static final int RESOURCE_NAME_VALUE
Maps to google.protobuf.StringValue. Represents the resource name (unique id) of a resource or one of its foreign keys. No operators work with RESOURCE_NAME fields.
RESOURCE_NAME = 10;- See Also:
- Constant Field Values
-
STRING_VALUE
public static final int STRING_VALUE
Maps to google.protobuf.StringValue. Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN
STRING = 11;- See Also:
- Constant Field Values
-
UINT64_VALUE
public static final int UINT64_VALUE
Maps to google.protobuf.UInt64Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN
UINT64 = 12;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType[] 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 (GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType c : GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType 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 GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType 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 GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType 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<GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType> 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 GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType 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
-
-