Enum OperationAccessDeniedErrorEnum.OperationAccessDeniedError
- java.lang.Object
-
- java.lang.Enum<OperationAccessDeniedErrorEnum.OperationAccessDeniedError>
-
- com.google.ads.googleads.v10.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<OperationAccessDeniedErrorEnum.OperationAccessDeniedError>
- Enclosing class:
- OperationAccessDeniedErrorEnum
public static enum OperationAccessDeniedErrorEnum.OperationAccessDeniedError extends java.lang.Enum<OperationAccessDeniedErrorEnum.OperationAccessDeniedError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible operation access denied errors.
Protobuf enumgoogle.ads.googleads.v10.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTION_NOT_PERMITTEDUnauthorized invocation of a service's method (get, mutate, etc.)CREATE_AS_REMOVED_NOT_PERMITTEDA CREATE operation may not set status to REMOVED.CREATE_OPERATION_NOT_PERMITTEDUnauthorized CREATE operation in invoking a service's mutate method.MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENTA mutate action is not allowed on this resource, from this client.MUTATE_NOT_PERMITTED_FOR_CUSTOMERThe mutate is not allowed for this customer.OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPEThis operation is not permitted on this ad group type.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPEThis operation is not permitted on this campaign typeOPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCEThis operation is not allowed because the resource is removed.REMOVE_OPERATION_NOT_PERMITTEDUnauthorized REMOVE operation in invoking a service's mutate method.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.UPDATE_OPERATION_NOT_PERMITTEDUnauthorized UPDATE operation in invoking a service's mutate method.
-
Field Summary
Fields Modifier and Type Field Description static intACTION_NOT_PERMITTED_VALUEUnauthorized invocation of a service's method (get, mutate, etc.)static intCREATE_AS_REMOVED_NOT_PERMITTED_VALUEA CREATE operation may not set status to REMOVED.static intCREATE_OPERATION_NOT_PERMITTED_VALUEUnauthorized CREATE operation in invoking a service's mutate method.static intMUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT_VALUEA mutate action is not allowed on this resource, from this client.static intMUTATE_NOT_PERMITTED_FOR_CUSTOMER_VALUEThe mutate is not allowed for this customer.static intOPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE_VALUEThis operation is not permitted on this ad group type.static intOPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE_VALUEThis operation is not permitted on this campaign typestatic intOPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE_VALUEThis operation is not allowed because the resource is removed.static intREMOVE_OPERATION_NOT_PERMITTED_VALUEUnauthorized REMOVE operation in invoking a service's mutate method.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.static intUPDATE_OPERATION_NOT_PERMITTED_VALUEUnauthorized UPDATE operation in invoking a service's mutate method.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OperationAccessDeniedErrorEnum.OperationAccessDeniedErrorforNumber(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<OperationAccessDeniedErrorEnum.OperationAccessDeniedError>internalGetValueMap()static OperationAccessDeniedErrorEnum.OperationAccessDeniedErrorvalueOf(int value)Deprecated.static OperationAccessDeniedErrorEnum.OperationAccessDeniedErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static OperationAccessDeniedErrorEnum.OperationAccessDeniedErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OperationAccessDeniedErrorEnum.OperationAccessDeniedError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final OperationAccessDeniedErrorEnum.OperationAccessDeniedError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final OperationAccessDeniedErrorEnum.OperationAccessDeniedError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
ACTION_NOT_PERMITTED
public static final OperationAccessDeniedErrorEnum.OperationAccessDeniedError ACTION_NOT_PERMITTED
Unauthorized invocation of a service's method (get, mutate, etc.)
ACTION_NOT_PERMITTED = 2;
-
CREATE_OPERATION_NOT_PERMITTED
public static final OperationAccessDeniedErrorEnum.OperationAccessDeniedError CREATE_OPERATION_NOT_PERMITTED
Unauthorized CREATE operation in invoking a service's mutate method.
CREATE_OPERATION_NOT_PERMITTED = 3;
-
REMOVE_OPERATION_NOT_PERMITTED
public static final OperationAccessDeniedErrorEnum.OperationAccessDeniedError REMOVE_OPERATION_NOT_PERMITTED
Unauthorized REMOVE operation in invoking a service's mutate method.
REMOVE_OPERATION_NOT_PERMITTED = 4;
-
UPDATE_OPERATION_NOT_PERMITTED
public static final OperationAccessDeniedErrorEnum.OperationAccessDeniedError UPDATE_OPERATION_NOT_PERMITTED
Unauthorized UPDATE operation in invoking a service's mutate method.
UPDATE_OPERATION_NOT_PERMITTED = 5;
-
MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT
public static final OperationAccessDeniedErrorEnum.OperationAccessDeniedError MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT
A mutate action is not allowed on this resource, from this client.
MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT = 6;
-
OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE
public static final OperationAccessDeniedErrorEnum.OperationAccessDeniedError OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE
This operation is not permitted on this campaign type
OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE = 7;
-
CREATE_AS_REMOVED_NOT_PERMITTED
public static final OperationAccessDeniedErrorEnum.OperationAccessDeniedError CREATE_AS_REMOVED_NOT_PERMITTED
A CREATE operation may not set status to REMOVED.
CREATE_AS_REMOVED_NOT_PERMITTED = 8;
-
OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE
public static final OperationAccessDeniedErrorEnum.OperationAccessDeniedError OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE
This operation is not allowed because the resource is removed.
OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 9;
-
OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE
public static final OperationAccessDeniedErrorEnum.OperationAccessDeniedError OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE
This operation is not permitted on this ad group type.
OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE = 10;
-
MUTATE_NOT_PERMITTED_FOR_CUSTOMER
public static final OperationAccessDeniedErrorEnum.OperationAccessDeniedError MUTATE_NOT_PERMITTED_FOR_CUSTOMER
The mutate is not allowed for this customer.
MUTATE_NOT_PERMITTED_FOR_CUSTOMER = 11;
-
UNRECOGNIZED
public static final OperationAccessDeniedErrorEnum.OperationAccessDeniedError 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
-
ACTION_NOT_PERMITTED_VALUE
public static final int ACTION_NOT_PERMITTED_VALUE
Unauthorized invocation of a service's method (get, mutate, etc.)
ACTION_NOT_PERMITTED = 2;- See Also:
- Constant Field Values
-
CREATE_OPERATION_NOT_PERMITTED_VALUE
public static final int CREATE_OPERATION_NOT_PERMITTED_VALUE
Unauthorized CREATE operation in invoking a service's mutate method.
CREATE_OPERATION_NOT_PERMITTED = 3;- See Also:
- Constant Field Values
-
REMOVE_OPERATION_NOT_PERMITTED_VALUE
public static final int REMOVE_OPERATION_NOT_PERMITTED_VALUE
Unauthorized REMOVE operation in invoking a service's mutate method.
REMOVE_OPERATION_NOT_PERMITTED = 4;- See Also:
- Constant Field Values
-
UPDATE_OPERATION_NOT_PERMITTED_VALUE
public static final int UPDATE_OPERATION_NOT_PERMITTED_VALUE
Unauthorized UPDATE operation in invoking a service's mutate method.
UPDATE_OPERATION_NOT_PERMITTED = 5;- See Also:
- Constant Field Values
-
MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT_VALUE
public static final int MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT_VALUE
A mutate action is not allowed on this resource, from this client.
MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT = 6;- See Also:
- Constant Field Values
-
OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE_VALUE
public static final int OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE_VALUE
This operation is not permitted on this campaign type
OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE = 7;- See Also:
- Constant Field Values
-
CREATE_AS_REMOVED_NOT_PERMITTED_VALUE
public static final int CREATE_AS_REMOVED_NOT_PERMITTED_VALUE
A CREATE operation may not set status to REMOVED.
CREATE_AS_REMOVED_NOT_PERMITTED = 8;- See Also:
- Constant Field Values
-
OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE_VALUE
public static final int OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE_VALUE
This operation is not allowed because the resource is removed.
OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 9;- See Also:
- Constant Field Values
-
OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE_VALUE
public static final int OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE_VALUE
This operation is not permitted on this ad group type.
OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE = 10;- See Also:
- Constant Field Values
-
MUTATE_NOT_PERMITTED_FOR_CUSTOMER_VALUE
public static final int MUTATE_NOT_PERMITTED_FOR_CUSTOMER_VALUE
The mutate is not allowed for this customer.
MUTATE_NOT_PERMITTED_FOR_CUSTOMER = 11;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static OperationAccessDeniedErrorEnum.OperationAccessDeniedError[] 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 (OperationAccessDeniedErrorEnum.OperationAccessDeniedError c : OperationAccessDeniedErrorEnum.OperationAccessDeniedError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationAccessDeniedErrorEnum.OperationAccessDeniedError 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 OperationAccessDeniedErrorEnum.OperationAccessDeniedError 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 OperationAccessDeniedErrorEnum.OperationAccessDeniedError 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<OperationAccessDeniedErrorEnum.OperationAccessDeniedError> 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 OperationAccessDeniedErrorEnum.OperationAccessDeniedError 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
-
-