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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe 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 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 batch job cannot be removed because it has started running.The batch job cannot be listed due to unexpected errors such as duplicate checkpoints.The batch job cannot add more operations or run after it has started running.The operations for an AddBatchJobOperations request were empty.The page size for ListBatchJobResults was invalid.The sequence token for an AddBatchJobOperations request was invalid.The AddBatchJobOperationsRequest is too large.Batch job results can only be retrieved once the job is finished.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe 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.static final intThe 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.static final intThe batch job cannot be removed because it has started running.static final intThe batch job cannot be listed due to unexpected errors such as duplicate checkpoints.static final intThe batch job cannot add more operations or run after it has started running.static final intThe operations for an AddBatchJobOperations request were empty.static final intThe page size for ListBatchJobResults was invalid.static final intThe sequence token for an AddBatchJobOperations request was invalid.static final intThe AddBatchJobOperationsRequest is too large.static final intBatch job results can only be retrieved once the job is finished.static final intThe received error code is not known in this version.static final intEnum unspecified. -
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<BatchJobErrorEnum.BatchJobError>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.static BatchJobErrorEnum.BatchJobError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
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
The operations for an AddBatchJobOperations request were empty.
EMPTY_OPERATIONS = 3; -
INVALID_SEQUENCE_TOKEN
The sequence token for an AddBatchJobOperations request was invalid.
INVALID_SEQUENCE_TOKEN = 4; -
RESULTS_NOT_READY
Batch job results can only be retrieved once the job is finished.
RESULTS_NOT_READY = 5; -
INVALID_PAGE_SIZE
The page size for ListBatchJobResults was invalid.
INVALID_PAGE_SIZE = 6; -
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
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_FAILUREThe 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_FAILUREThe 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
The AddBatchJobOperationsRequest is too large. Split the request into smaller requests. The maximum allowed request size is 10484504 bytes.
REQUEST_TOO_LARGE = 11; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEEnum unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe 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_VALUEThe 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_VALUEThe operations for an AddBatchJobOperations request were empty.
EMPTY_OPERATIONS = 3;- See Also:
-
INVALID_SEQUENCE_TOKEN_VALUE
public static final int INVALID_SEQUENCE_TOKEN_VALUEThe 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_VALUEBatch 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_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUEThe 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
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<BatchJobErrorEnum.BatchJobError> 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 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 nameNullPointerException- if the argument is null
-