Enum BatchJobErrorEnum.BatchJobError
- java.lang.Object
-
- java.lang.Enum<BatchJobErrorEnum.BatchJobError>
-
- com.google.ads.googleads.v10.errors.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 enumgoogle.ads.googleads.v10.errors.BatchJobErrorEnum.BatchJobError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAN_ONLY_REMOVE_PENDING_JOBThe batch job cannot be removed because it has started running.CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNINGThe batch job cannot add more operations or run after it has started running.EMPTY_OPERATIONSThe operations for an AddBatchJobOperations request were empty.INVALID_PAGE_SIZEThe page size for ListBatchJobResults was invalid.INVALID_SEQUENCE_TOKENThe sequence token for an AddBatchJobOperations request was invalid.RESULTS_NOT_READYBatch job results can only be retrieved once the job is finished.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intCAN_ONLY_REMOVE_PENDING_JOB_VALUEThe batch job cannot be removed because it has started running.static intCANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING_VALUEThe batch job cannot add more operations or run after it has started running.static intEMPTY_OPERATIONS_VALUEThe operations for an AddBatchJobOperations request were empty.static intINVALID_PAGE_SIZE_VALUEThe page size for ListBatchJobResults was invalid.static intINVALID_SEQUENCE_TOKEN_VALUEThe sequence token for an AddBatchJobOperations request was invalid.static intRESULTS_NOT_READY_VALUEBatch job results can only be retrieved once the job is finished.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BatchJobErrorEnum.BatchJobErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<BatchJobErrorEnum.BatchJobError>internalGetValueMap()static BatchJobErrorEnum.BatchJobErrorvalueOf(int value)Deprecated.static BatchJobErrorEnum.BatchJobErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static BatchJobErrorEnum.BatchJobErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BatchJobErrorEnum.BatchJobError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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;
-
UNRECOGNIZED
public static final BatchJobErrorEnum.BatchJobError UNRECOGNIZED
-
-
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 namejava.lang.NullPointerException- 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 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 namejava.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.
-
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 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 namejava.lang.NullPointerException- if the argument is null
-
-