Enum Class BatchJobErrorEnum.BatchJobError

java.lang.Object
java.lang.Enum<BatchJobErrorEnum.BatchJobError>
com.google.ads.googleads.v18.errors.BatchJobErrorEnum.BatchJobError
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<BatchJobErrorEnum.BatchJobError>, Constable
Enclosing class:
BatchJobErrorEnum

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

    • UNSPECIFIED

      public static final BatchJobErrorEnum.BatchJobError UNSPECIFIED
       Enum unspecified.
       
      UNSPECIFIED = 0;
    • UNKNOWN

      public static final BatchJobErrorEnum.BatchJobError UNKNOWN
       The received error code is not known in this version.
       
      UNKNOWN = 1;
    • 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;
    • CANNOT_LIST_RESULTS

      public static final BatchJobErrorEnum.BatchJobError CANNOT_LIST_RESULTS
       The batch job cannot be listed due to unexpected errors such as duplicate
       checkpoints.
       
      CANNOT_LIST_RESULTS = 8;
    • ASSET_GROUP_AND_ASSET_GROUP_ASSET_TRANSACTION_FAILURE

      public static final BatchJobErrorEnum.BatchJobError ASSET_GROUP_AND_ASSET_GROUP_ASSET_TRANSACTION_FAILURE
       The request contains interdependent AssetGroup and AssetGroupAsset
       operations that are treated atomically as a single transaction, and one
       or more of the operations in that transaction failed, which caused the
       entire transaction, and therefore this mutate operation, to fail. The
       operations that caused the transaction to fail can be found in the
       consecutive AssetGroup or AssetGroupAsset results with the same asset
       group id. The mutate operation will be successful once the remaining
       errors in the transaction are fixed.
       
      ASSET_GROUP_AND_ASSET_GROUP_ASSET_TRANSACTION_FAILURE = 9;
    • ASSET_GROUP_LISTING_GROUP_FILTER_TRANSACTION_FAILURE

      public static final BatchJobErrorEnum.BatchJobError ASSET_GROUP_LISTING_GROUP_FILTER_TRANSACTION_FAILURE
       The request contains interdependent AssetGroupListingGroupFilter
       operations that are treated atomically as a single transaction, and one
       or more of the operations in that transaction failed, which caused the
       entire transaction, and therefore this mutate operation, to fail. The
       operations that caused the transaction to fail can be found in the
       consecutive AssetGroupListingGroupFilter results with the same asset
       group id. The mutate operation will be successful once the remaining
       errors in the transaction are fixed.
       
      ASSET_GROUP_LISTING_GROUP_FILTER_TRANSACTION_FAILURE = 10;
    • REQUEST_TOO_LARGE

      public static final BatchJobErrorEnum.BatchJobError REQUEST_TOO_LARGE
       The AddBatchJobOperationsRequest is too large. Split the request into
       smaller requests. The maximum allowed request size is 10484504 bytes.
       
      REQUEST_TOO_LARGE = 11;
    • UNRECOGNIZED

      public static final BatchJobErrorEnum.BatchJobError UNRECOGNIZED
  • Field Details

    • UNSPECIFIED_VALUE

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

      public static final int UNKNOWN_VALUE
       The received error code is not known in this version.
       
      UNKNOWN = 1;
      See Also:
    • 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:
    • EMPTY_OPERATIONS_VALUE

      public static final int EMPTY_OPERATIONS_VALUE
       The operations for an AddBatchJobOperations request were empty.
       
      EMPTY_OPERATIONS = 3;
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • CANNOT_LIST_RESULTS_VALUE

      public static final int CANNOT_LIST_RESULTS_VALUE
       The batch job cannot be listed due to unexpected errors such as duplicate
       checkpoints.
       
      CANNOT_LIST_RESULTS = 8;
      See Also:
    • ASSET_GROUP_AND_ASSET_GROUP_ASSET_TRANSACTION_FAILURE_VALUE

      public static final int ASSET_GROUP_AND_ASSET_GROUP_ASSET_TRANSACTION_FAILURE_VALUE
       The request contains interdependent AssetGroup and AssetGroupAsset
       operations that are treated atomically as a single transaction, and one
       or more of the operations in that transaction failed, which caused the
       entire transaction, and therefore this mutate operation, to fail. The
       operations that caused the transaction to fail can be found in the
       consecutive AssetGroup or AssetGroupAsset results with the same asset
       group id. The mutate operation will be successful once the remaining
       errors in the transaction are fixed.
       
      ASSET_GROUP_AND_ASSET_GROUP_ASSET_TRANSACTION_FAILURE = 9;
      See Also:
    • ASSET_GROUP_LISTING_GROUP_FILTER_TRANSACTION_FAILURE_VALUE

      public static final int ASSET_GROUP_LISTING_GROUP_FILTER_TRANSACTION_FAILURE_VALUE
       The request contains interdependent AssetGroupListingGroupFilter
       operations that are treated atomically as a single transaction, and one
       or more of the operations in that transaction failed, which caused the
       entire transaction, and therefore this mutate operation, to fail. The
       operations that caused the transaction to fail can be found in the
       consecutive AssetGroupListingGroupFilter results with the same asset
       group id. The mutate operation will be successful once the remaining
       errors in the transaction are fixed.
       
      ASSET_GROUP_LISTING_GROUP_FILTER_TRANSACTION_FAILURE = 10;
      See Also:
    • REQUEST_TOO_LARGE_VALUE

      public static final int REQUEST_TOO_LARGE_VALUE
       The AddBatchJobOperationsRequest is too large. Split the request into
       smaller requests. The maximum allowed request size is 10484504 bytes.
       
      REQUEST_TOO_LARGE = 11;
      See Also:
  • Method Details

    • values

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

      public static BatchJobErrorEnum.BatchJobError valueOf(String name)
      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 name
      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 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 name
      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.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<BatchJobErrorEnum.BatchJobError> internalGetValueMap()
    • 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 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 name
      NullPointerException - if the argument is null