Enum FunctionErrorEnum.FunctionError

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<FunctionErrorEnum.FunctionError>
    Enclosing class:
    FunctionErrorEnum

    public static enum FunctionErrorEnum.FunctionError
    extends java.lang.Enum<FunctionErrorEnum.FunctionError>
    implements com.google.protobuf.ProtocolMessageEnum
     Enum describing possible function errors.
     
    Protobuf enum google.ads.googleads.v10.errors.FunctionErrorEnum.FunctionError
    • Enum Constant Detail

      • INVALID_FUNCTION_FORMAT

        public static final FunctionErrorEnum.FunctionError INVALID_FUNCTION_FORMAT
         The format of the function is not recognized as a supported function
         format.
         
        INVALID_FUNCTION_FORMAT = 2;
      • INVALID_CONJUNCTION_OPERANDS

        public static final FunctionErrorEnum.FunctionError INVALID_CONJUNCTION_OPERANDS
         The operands cannot be used together in a conjunction.
         
        INVALID_CONJUNCTION_OPERANDS = 4;
      • INVALID_NUMBER_OF_OPERANDS

        public static final FunctionErrorEnum.FunctionError INVALID_NUMBER_OF_OPERANDS
         Invalid numer of Operands.
         
        INVALID_NUMBER_OF_OPERANDS = 5;
      • INVALID_REQUEST_CONTEXT_TYPE

        public static final FunctionErrorEnum.FunctionError INVALID_REQUEST_CONTEXT_TYPE
         Request context type not supported.
         
        INVALID_REQUEST_CONTEXT_TYPE = 8;
      • INVALID_FUNCTION_FOR_CALL_PLACEHOLDER

        public static final FunctionErrorEnum.FunctionError INVALID_FUNCTION_FOR_CALL_PLACEHOLDER
         The matching function is not allowed for call placeholders
         
        INVALID_FUNCTION_FOR_CALL_PLACEHOLDER = 9;
      • INVALID_FUNCTION_FOR_PLACEHOLDER

        public static final FunctionErrorEnum.FunctionError INVALID_FUNCTION_FOR_PLACEHOLDER
         The matching function is not allowed for the specified placeholder
         
        INVALID_FUNCTION_FOR_PLACEHOLDER = 10;
      • MISSING_CONSTANT_OPERAND_VALUE

        public static final FunctionErrorEnum.FunctionError MISSING_CONSTANT_OPERAND_VALUE
         Missing value for the constant operand.
         
        MISSING_CONSTANT_OPERAND_VALUE = 12;
      • INVALID_CONSTANT_OPERAND_VALUE

        public static final FunctionErrorEnum.FunctionError INVALID_CONSTANT_OPERAND_VALUE
         The value of the constant operand is invalid.
         
        INVALID_CONSTANT_OPERAND_VALUE = 13;
      • MULTIPLE_FEED_IDS_NOT_SUPPORTED

        public static final FunctionErrorEnum.FunctionError MULTIPLE_FEED_IDS_NOT_SUPPORTED
         The Feed ID was different from another Feed ID in the same function.
         
        MULTIPLE_FEED_IDS_NOT_SUPPORTED = 15;
      • INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA

        public static final FunctionErrorEnum.FunctionError INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA
         The matching function is invalid for use with a feed with a fixed schema.
         
        INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16;
    • Field Detail

      • UNSPECIFIED_VALUE

        public static final int UNSPECIFIED_VALUE
         Enum unspecified.
         
        UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • UNKNOWN_VALUE

        public static final int UNKNOWN_VALUE
         The received error code is not known in this version.
         
        UNKNOWN = 1;
        See Also:
        Constant Field Values
      • INVALID_FUNCTION_FORMAT_VALUE

        public static final int INVALID_FUNCTION_FORMAT_VALUE
         The format of the function is not recognized as a supported function
         format.
         
        INVALID_FUNCTION_FORMAT = 2;
        See Also:
        Constant Field Values
      • DATA_TYPE_MISMATCH_VALUE

        public static final int DATA_TYPE_MISMATCH_VALUE
         Operand data types do not match.
         
        DATA_TYPE_MISMATCH = 3;
        See Also:
        Constant Field Values
      • INVALID_CONJUNCTION_OPERANDS_VALUE

        public static final int INVALID_CONJUNCTION_OPERANDS_VALUE
         The operands cannot be used together in a conjunction.
         
        INVALID_CONJUNCTION_OPERANDS = 4;
        See Also:
        Constant Field Values
      • INVALID_NUMBER_OF_OPERANDS_VALUE

        public static final int INVALID_NUMBER_OF_OPERANDS_VALUE
         Invalid numer of Operands.
         
        INVALID_NUMBER_OF_OPERANDS = 5;
        See Also:
        Constant Field Values
      • INVALID_OPERAND_TYPE_VALUE

        public static final int INVALID_OPERAND_TYPE_VALUE
         Operand Type not supported.
         
        INVALID_OPERAND_TYPE = 6;
        See Also:
        Constant Field Values
      • INVALID_OPERATOR_VALUE

        public static final int INVALID_OPERATOR_VALUE
         Operator not supported.
         
        INVALID_OPERATOR = 7;
        See Also:
        Constant Field Values
      • INVALID_REQUEST_CONTEXT_TYPE_VALUE

        public static final int INVALID_REQUEST_CONTEXT_TYPE_VALUE
         Request context type not supported.
         
        INVALID_REQUEST_CONTEXT_TYPE = 8;
        See Also:
        Constant Field Values
      • INVALID_FUNCTION_FOR_CALL_PLACEHOLDER_VALUE

        public static final int INVALID_FUNCTION_FOR_CALL_PLACEHOLDER_VALUE
         The matching function is not allowed for call placeholders
         
        INVALID_FUNCTION_FOR_CALL_PLACEHOLDER = 9;
        See Also:
        Constant Field Values
      • INVALID_FUNCTION_FOR_PLACEHOLDER_VALUE

        public static final int INVALID_FUNCTION_FOR_PLACEHOLDER_VALUE
         The matching function is not allowed for the specified placeholder
         
        INVALID_FUNCTION_FOR_PLACEHOLDER = 10;
        See Also:
        Constant Field Values
      • INVALID_OPERAND_VALUE

        public static final int INVALID_OPERAND_VALUE
         Invalid operand.
         
        INVALID_OPERAND = 11;
        See Also:
        Constant Field Values
      • MISSING_CONSTANT_OPERAND_VALUE_VALUE

        public static final int MISSING_CONSTANT_OPERAND_VALUE_VALUE
         Missing value for the constant operand.
         
        MISSING_CONSTANT_OPERAND_VALUE = 12;
        See Also:
        Constant Field Values
      • INVALID_CONSTANT_OPERAND_VALUE_VALUE

        public static final int INVALID_CONSTANT_OPERAND_VALUE_VALUE
         The value of the constant operand is invalid.
         
        INVALID_CONSTANT_OPERAND_VALUE = 13;
        See Also:
        Constant Field Values
      • INVALID_NESTING_VALUE

        public static final int INVALID_NESTING_VALUE
         Invalid function nesting.
         
        INVALID_NESTING = 14;
        See Also:
        Constant Field Values
      • MULTIPLE_FEED_IDS_NOT_SUPPORTED_VALUE

        public static final int MULTIPLE_FEED_IDS_NOT_SUPPORTED_VALUE
         The Feed ID was different from another Feed ID in the same function.
         
        MULTIPLE_FEED_IDS_NOT_SUPPORTED = 15;
        See Also:
        Constant Field Values
      • INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA_VALUE

        public static final int INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA_VALUE
         The matching function is invalid for use with a feed with a fixed schema.
         
        INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16;
        See Also:
        Constant Field Values
      • INVALID_ATTRIBUTE_NAME_VALUE

        public static final int INVALID_ATTRIBUTE_NAME_VALUE
         Invalid attribute name.
         
        INVALID_ATTRIBUTE_NAME = 17;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static FunctionErrorEnum.FunctionError[] 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 (FunctionErrorEnum.FunctionError c : FunctionErrorEnum.FunctionError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FunctionErrorEnum.FunctionError 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 FunctionErrorEnum.FunctionError 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
      • forNumber

        public static FunctionErrorEnum.FunctionError forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • 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 FunctionErrorEnum.FunctionError 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