Enum MutateErrorEnum.MutateError
- java.lang.Object
-
- java.lang.Enum<MutateErrorEnum.MutateError>
-
- com.google.ads.googleads.v14.errors.MutateErrorEnum.MutateError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<MutateErrorEnum.MutateError>
- Enclosing class:
- MutateErrorEnum
public static enum MutateErrorEnum.MutateError extends java.lang.Enum<MutateErrorEnum.MutateError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible mutate errors.
Protobuf enumgoogle.ads.googleads.v14.errors.MutateErrorEnum.MutateError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ID_EXISTS_IN_MULTIPLE_MUTATES
Cannot mutate the same resource twice in one request.INCONSISTENT_FIELD_VALUES
The field's contents don't match another field that represents the same data.MUTATE_NOT_ALLOWED
Mutates are not allowed for the requested resource.OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE
This operation cannot be used with "partial_failure".RESOURCE_ALREADY_EXISTS
The resource being created already exists.RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY
This resource cannot be used with "validate_only".RESOURCE_NOT_FOUND
Requested resource was not found.RESOURCE_NOT_IN_GOOGLE_ADS
The resource isn't in Google Ads.RESOURCE_READ_ONLY
Attempt to write to read-only fields.UNKNOWN
The received error code is not known in this version.UNRECOGNIZED
UNSPECIFIED
Enum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static int
ID_EXISTS_IN_MULTIPLE_MUTATES_VALUE
Cannot mutate the same resource twice in one request.static int
INCONSISTENT_FIELD_VALUES_VALUE
The field's contents don't match another field that represents the same data.static int
MUTATE_NOT_ALLOWED_VALUE
Mutates are not allowed for the requested resource.static int
OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE_VALUE
This operation cannot be used with "partial_failure".static int
RESOURCE_ALREADY_EXISTS_VALUE
The resource being created already exists.static int
RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY_VALUE
This resource cannot be used with "validate_only".static int
RESOURCE_NOT_FOUND_VALUE
Requested resource was not found.static int
RESOURCE_NOT_IN_GOOGLE_ADS_VALUE
The resource isn't in Google Ads.static int
RESOURCE_READ_ONLY_VALUE
Attempt to write to read-only fields.static int
UNKNOWN_VALUE
The received error code is not known in this version.static int
UNSPECIFIED_VALUE
Enum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MutateErrorEnum.MutateError
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<MutateErrorEnum.MutateError>
internalGetValueMap()
static MutateErrorEnum.MutateError
valueOf(int value)
Deprecated.static MutateErrorEnum.MutateError
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static MutateErrorEnum.MutateError
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MutateErrorEnum.MutateError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final MutateErrorEnum.MutateError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final MutateErrorEnum.MutateError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
RESOURCE_NOT_FOUND
public static final MutateErrorEnum.MutateError RESOURCE_NOT_FOUND
Requested resource was not found.
RESOURCE_NOT_FOUND = 3;
-
ID_EXISTS_IN_MULTIPLE_MUTATES
public static final MutateErrorEnum.MutateError ID_EXISTS_IN_MULTIPLE_MUTATES
Cannot mutate the same resource twice in one request.
ID_EXISTS_IN_MULTIPLE_MUTATES = 7;
-
INCONSISTENT_FIELD_VALUES
public static final MutateErrorEnum.MutateError INCONSISTENT_FIELD_VALUES
The field's contents don't match another field that represents the same data.
INCONSISTENT_FIELD_VALUES = 8;
-
MUTATE_NOT_ALLOWED
public static final MutateErrorEnum.MutateError MUTATE_NOT_ALLOWED
Mutates are not allowed for the requested resource.
MUTATE_NOT_ALLOWED = 9;
-
RESOURCE_NOT_IN_GOOGLE_ADS
public static final MutateErrorEnum.MutateError RESOURCE_NOT_IN_GOOGLE_ADS
The resource isn't in Google Ads. It belongs to another ads system.
RESOURCE_NOT_IN_GOOGLE_ADS = 10;
-
RESOURCE_ALREADY_EXISTS
public static final MutateErrorEnum.MutateError RESOURCE_ALREADY_EXISTS
The resource being created already exists.
RESOURCE_ALREADY_EXISTS = 11;
-
RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY
public static final MutateErrorEnum.MutateError RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY
This resource cannot be used with "validate_only".
RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY = 12;
-
OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE
public static final MutateErrorEnum.MutateError OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE
This operation cannot be used with "partial_failure".
OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE = 16;
-
RESOURCE_READ_ONLY
public static final MutateErrorEnum.MutateError RESOURCE_READ_ONLY
Attempt to write to read-only fields.
RESOURCE_READ_ONLY = 13;
-
UNRECOGNIZED
public static final MutateErrorEnum.MutateError 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
-
RESOURCE_NOT_FOUND_VALUE
public static final int RESOURCE_NOT_FOUND_VALUE
Requested resource was not found.
RESOURCE_NOT_FOUND = 3;
- See Also:
- Constant Field Values
-
ID_EXISTS_IN_MULTIPLE_MUTATES_VALUE
public static final int ID_EXISTS_IN_MULTIPLE_MUTATES_VALUE
Cannot mutate the same resource twice in one request.
ID_EXISTS_IN_MULTIPLE_MUTATES = 7;
- See Also:
- Constant Field Values
-
INCONSISTENT_FIELD_VALUES_VALUE
public static final int INCONSISTENT_FIELD_VALUES_VALUE
The field's contents don't match another field that represents the same data.
INCONSISTENT_FIELD_VALUES = 8;
- See Also:
- Constant Field Values
-
MUTATE_NOT_ALLOWED_VALUE
public static final int MUTATE_NOT_ALLOWED_VALUE
Mutates are not allowed for the requested resource.
MUTATE_NOT_ALLOWED = 9;
- See Also:
- Constant Field Values
-
RESOURCE_NOT_IN_GOOGLE_ADS_VALUE
public static final int RESOURCE_NOT_IN_GOOGLE_ADS_VALUE
The resource isn't in Google Ads. It belongs to another ads system.
RESOURCE_NOT_IN_GOOGLE_ADS = 10;
- See Also:
- Constant Field Values
-
RESOURCE_ALREADY_EXISTS_VALUE
public static final int RESOURCE_ALREADY_EXISTS_VALUE
The resource being created already exists.
RESOURCE_ALREADY_EXISTS = 11;
- See Also:
- Constant Field Values
-
RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY_VALUE
public static final int RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY_VALUE
This resource cannot be used with "validate_only".
RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY = 12;
- See Also:
- Constant Field Values
-
OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE_VALUE
public static final int OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE_VALUE
This operation cannot be used with "partial_failure".
OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE = 16;
- See Also:
- Constant Field Values
-
RESOURCE_READ_ONLY_VALUE
public static final int RESOURCE_READ_ONLY_VALUE
Attempt to write to read-only fields.
RESOURCE_READ_ONLY = 13;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static MutateErrorEnum.MutateError[] 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 (MutateErrorEnum.MutateError c : MutateErrorEnum.MutateError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MutateErrorEnum.MutateError 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static MutateErrorEnum.MutateError 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 MutateErrorEnum.MutateError 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<MutateErrorEnum.MutateError> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static MutateErrorEnum.MutateError 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
-
-