Enum BatchJobErrorEnum.BatchJobError

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

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

      • CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING

        public static final BatchJobErrorEnum.BatchJobError CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING
         The batch job cannot add more operations or run after it has started
         running.
         
        CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING = 2;
      • EMPTY_OPERATIONS

        public static final BatchJobErrorEnum.BatchJobError EMPTY_OPERATIONS
         The operations for an AddBatchJobOperations request were empty.
         
        EMPTY_OPERATIONS = 3;
      • INVALID_SEQUENCE_TOKEN

        public static final BatchJobErrorEnum.BatchJobError INVALID_SEQUENCE_TOKEN
         The sequence token for an AddBatchJobOperations request was invalid.
         
        INVALID_SEQUENCE_TOKEN = 4;
      • RESULTS_NOT_READY

        public static final BatchJobErrorEnum.BatchJobError RESULTS_NOT_READY
         Batch job results can only be retrieved once the job is finished.
         
        RESULTS_NOT_READY = 5;
      • INVALID_PAGE_SIZE

        public static final BatchJobErrorEnum.BatchJobError INVALID_PAGE_SIZE
         The page size for ListBatchJobResults was invalid.
         
        INVALID_PAGE_SIZE = 6;
      • CAN_ONLY_REMOVE_PENDING_JOB

        public static final BatchJobErrorEnum.BatchJobError CAN_ONLY_REMOVE_PENDING_JOB
         The batch job cannot be removed because it has started running.
         
        CAN_ONLY_REMOVE_PENDING_JOB = 7;
    • 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
      • CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING_VALUE

        public static final int CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING_VALUE
         The batch job cannot add more operations or run after it has started
         running.
         
        CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING = 2;
        See Also:
        Constant Field Values
      • EMPTY_OPERATIONS_VALUE

        public static final int EMPTY_OPERATIONS_VALUE
         The operations for an AddBatchJobOperations request were empty.
         
        EMPTY_OPERATIONS = 3;
        See Also:
        Constant Field Values
      • INVALID_SEQUENCE_TOKEN_VALUE

        public static final int INVALID_SEQUENCE_TOKEN_VALUE
         The sequence token for an AddBatchJobOperations request was invalid.
         
        INVALID_SEQUENCE_TOKEN = 4;
        See Also:
        Constant Field Values
      • RESULTS_NOT_READY_VALUE

        public static final int RESULTS_NOT_READY_VALUE
         Batch job results can only be retrieved once the job is finished.
         
        RESULTS_NOT_READY = 5;
        See Also:
        Constant Field Values
      • INVALID_PAGE_SIZE_VALUE

        public static final int INVALID_PAGE_SIZE_VALUE
         The page size for ListBatchJobResults was invalid.
         
        INVALID_PAGE_SIZE = 6;
        See Also:
        Constant Field Values
      • CAN_ONLY_REMOVE_PENDING_JOB_VALUE

        public static final int CAN_ONLY_REMOVE_PENDING_JOB_VALUE
         The batch job cannot be removed because it has started running.
         
        CAN_ONLY_REMOVE_PENDING_JOB = 7;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static BatchJobErrorEnum.BatchJobError 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 BatchJobErrorEnum.BatchJobError 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 BatchJobErrorEnum.BatchJobError 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 BatchJobErrorEnum.BatchJobError 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