Enum Class GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType
java.lang.Object
java.lang.Enum<GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType>
com.google.ads.googleads.v18.enums.GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType>,Constable
- Enclosing class:
- GoogleAdsFieldDataTypeEnum
public static enum GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType
extends Enum<GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType>
implements com.google.protobuf.ProtocolMessageEnum
These are the various types a GoogleAdsService artifact may take on.Protobuf enum
google.ads.googleads.v18.enums.GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMaps to google.protobuf.BoolValue Applicable operators: =, !=Maps to google.protobuf.StringValue.Maps to google.protobuf.DoubleValue Applicable operators: =, !=, <, >, IN, NOT INMaps to an enum.Maps to google.protobuf.FloatValue Applicable operators: =, !=, <, >, IN, NOT INMaps to google.protobuf.Int32Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT INMaps to google.protobuf.Int64Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT INMaps to a protocol buffer message type.Maps to google.protobuf.StringValue.Maps to google.protobuf.StringValue.Maps to google.protobuf.UInt64Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT INUnknownUnspecified -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMaps to google.protobuf.BoolValue Applicable operators: =, !=static final intMaps to google.protobuf.StringValue.static final intMaps to google.protobuf.DoubleValue Applicable operators: =, !=, <, >, IN, NOT INstatic final intMaps to an enum.static final intMaps to google.protobuf.FloatValue Applicable operators: =, !=, <, >, IN, NOT INstatic final intMaps to google.protobuf.Int32Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT INstatic final intMaps to google.protobuf.Int64Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT INstatic final intMaps to a protocol buffer message type.static final intMaps to google.protobuf.StringValue.static final intMaps to google.protobuf.StringValue.static final intMaps to google.protobuf.UInt64Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT INstatic final intUnknownstatic final intUnspecified -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Unspecified
UNSPECIFIED = 0; -
UNKNOWN
Unknown
UNKNOWN = 1; -
BOOLEAN
Maps to google.protobuf.BoolValue Applicable operators: =, !=
BOOLEAN = 2; -
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
Maps to google.protobuf.DoubleValue Applicable operators: =, !=, <, >, IN, NOT IN
DOUBLE = 4; -
ENUM
Maps to an enum. It's specific definition can be found at type_url. Applicable operators: =, !=, IN, NOT IN
ENUM = 5; -
FLOAT
Maps to google.protobuf.FloatValue Applicable operators: =, !=, <, >, IN, NOT IN
FLOAT = 6; -
INT32
Maps to google.protobuf.Int32Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN
INT32 = 7; -
INT64
Maps to google.protobuf.Int64Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN
INT64 = 8; -
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
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
Maps to google.protobuf.StringValue. Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN
STRING = 11; -
UINT64
Maps to google.protobuf.UInt64Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN
UINT64 = 12; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEUnspecified
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUnknown
UNKNOWN = 1;- See Also:
-
BOOLEAN_VALUE
public static final int BOOLEAN_VALUEMaps to google.protobuf.BoolValue Applicable operators: =, !=
BOOLEAN = 2;- See Also:
-
DATE_VALUE
public static final int DATE_VALUEMaps 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:
-
DOUBLE_VALUE
public static final int DOUBLE_VALUEMaps to google.protobuf.DoubleValue Applicable operators: =, !=, <, >, IN, NOT IN
DOUBLE = 4;- See Also:
-
ENUM_VALUE
public static final int ENUM_VALUEMaps to an enum. It's specific definition can be found at type_url. Applicable operators: =, !=, IN, NOT IN
ENUM = 5;- See Also:
-
FLOAT_VALUE
public static final int FLOAT_VALUEMaps to google.protobuf.FloatValue Applicable operators: =, !=, <, >, IN, NOT IN
FLOAT = 6;- See Also:
-
INT32_VALUE
public static final int INT32_VALUEMaps to google.protobuf.Int32Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN
INT32 = 7;- See Also:
-
INT64_VALUE
public static final int INT64_VALUEMaps to google.protobuf.Int64Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN
INT64 = 8;- See Also:
-
MESSAGE_VALUE
public static final int MESSAGE_VALUEMaps 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:
-
RESOURCE_NAME_VALUE
public static final int RESOURCE_NAME_VALUEMaps 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:
-
STRING_VALUE
public static final int STRING_VALUEMaps to google.protobuf.StringValue. Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN
STRING = 11;- See Also:
-
UINT64_VALUE
public static final int UINT64_VALUEMaps to google.protobuf.UInt64Value Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN
UINT64 = 12;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 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.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-