Enum Class ActionErrorEnum.ActionError
java.lang.Object
java.lang.Enum<ActionErrorEnum.ActionError>
com.google.ads.googleads.v23.errors.ActionErrorEnum.ActionError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ActionErrorEnum.ActionError>,Constable
- Enclosing class:
- ActionErrorEnum
public static enum ActionErrorEnum.ActionError
extends Enum<ActionErrorEnum.ActionError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible action errors.Protobuf enum
google.ads.googleads.v23.errors.ActionErrorEnum.ActionError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe action has invalid arguments in the request.The action is missing a required field.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe action has invalid arguments in the request.static final intThe action is missing a required field.static final intThe received error code is not known in this version.static final intEnum unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic ActionErrorEnum.ActionErrorforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ActionErrorEnum.ActionError>static ActionErrorEnum.ActionErrorvalueOf(int value) Deprecated.static ActionErrorEnum.ActionErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static ActionErrorEnum.ActionErrorReturns the enum constant of this class with the specified name.static ActionErrorEnum.ActionError[]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; -
REQUIRED_FIELD_MISSING
The action is missing a required field.
REQUIRED_FIELD_MISSING = 2; -
INVALID_ARGUMENT
The action has invalid arguments in the request.
INVALID_ARGUMENT = 3; -
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:
-
REQUIRED_FIELD_MISSING_VALUE
public static final int REQUIRED_FIELD_MISSING_VALUEThe action is missing a required field.
REQUIRED_FIELD_MISSING = 2;- See Also:
-
INVALID_ARGUMENT_VALUE
public static final int INVALID_ARGUMENT_VALUEThe action has invalid arguments in the request.
INVALID_ARGUMENT = 3;- 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<ActionErrorEnum.ActionError> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static ActionErrorEnum.ActionError 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
-