Enum GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType

    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        java.lang.NullPointerException - if the argument is null
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        java.lang.NullPointerException - if the argument is null