Enum Class OperationAccessDeniedErrorEnum.OperationAccessDeniedError
java.lang.Object
java.lang.Enum<OperationAccessDeniedErrorEnum.OperationAccessDeniedError>
com.google.ads.googleads.v18.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<OperationAccessDeniedErrorEnum.OperationAccessDeniedError>,Constable
- Enclosing class:
- OperationAccessDeniedErrorEnum
public static enum OperationAccessDeniedErrorEnum.OperationAccessDeniedError
extends Enum<OperationAccessDeniedErrorEnum.OperationAccessDeniedError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible operation access denied errors.Protobuf enum
google.ads.googleads.v18.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUnauthorized invocation of a service's method (get, mutate, etc.)A CREATE operation may not set status to REMOVED.Unauthorized CREATE operation in invoking a service's mutate method.A mutate action is not allowed on this resource, from this client.The mutate is not allowed for this customer.This operation is not permitted on this ad group type.This operation is not permitted on this campaign typeThis operation is not allowed because the resource is removed.Unauthorized REMOVE operation in invoking a service's mutate method.The received error code is not known in this version.Enum unspecified.Unauthorized UPDATE operation in invoking a service's mutate method. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUnauthorized invocation of a service's method (get, mutate, etc.)static final intA CREATE operation may not set status to REMOVED.static final intUnauthorized CREATE operation in invoking a service's mutate method.static final intA mutate action is not allowed on this resource, from this client.static final intThe mutate is not allowed for this customer.static final intThis operation is not permitted on this ad group type.static final intThis operation is not permitted on this campaign typestatic final intThis operation is not allowed because the resource is removed.static final intUnauthorized REMOVE operation in invoking a service's mutate method.static final intThe received error code is not known in this version.static final intEnum unspecified.static final intUnauthorized UPDATE operation in invoking a service's mutate method. -
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<OperationAccessDeniedErrorEnum.OperationAccessDeniedError>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.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; -
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_PERMITTEDUnauthorized 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_PERMITTEDUnauthorized 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_PERMITTEDUnauthorized 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_CLIENTA 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_TYPEThis 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_PERMITTEDA 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_RESOURCEThis 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_TYPEThis 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_CUSTOMERThe mutate is not allowed for this customer.
MUTATE_NOT_PERMITTED_FOR_CUSTOMER = 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:
-
ACTION_NOT_PERMITTED_VALUE
public static final int ACTION_NOT_PERMITTED_VALUEUnauthorized invocation of a service's method (get, mutate, etc.)
ACTION_NOT_PERMITTED = 2;- See Also:
-
CREATE_OPERATION_NOT_PERMITTED_VALUE
public static final int CREATE_OPERATION_NOT_PERMITTED_VALUEUnauthorized CREATE operation in invoking a service's mutate method.
CREATE_OPERATION_NOT_PERMITTED = 3;- See Also:
-
REMOVE_OPERATION_NOT_PERMITTED_VALUE
public static final int REMOVE_OPERATION_NOT_PERMITTED_VALUEUnauthorized REMOVE operation in invoking a service's mutate method.
REMOVE_OPERATION_NOT_PERMITTED = 4;- See Also:
-
UPDATE_OPERATION_NOT_PERMITTED_VALUE
public static final int UPDATE_OPERATION_NOT_PERMITTED_VALUEUnauthorized UPDATE operation in invoking a service's mutate method.
UPDATE_OPERATION_NOT_PERMITTED = 5;- See Also:
-
MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT_VALUE
public static final int MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT_VALUEA mutate action is not allowed on this resource, from this client.
MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT = 6;- See Also:
-
OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE_VALUE
public static final int OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE_VALUEThis operation is not permitted on this campaign type
OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE = 7;- See Also:
-
CREATE_AS_REMOVED_NOT_PERMITTED_VALUE
public static final int CREATE_AS_REMOVED_NOT_PERMITTED_VALUEA CREATE operation may not set status to REMOVED.
CREATE_AS_REMOVED_NOT_PERMITTED = 8;- See Also:
-
OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE_VALUE
public static final int OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE_VALUEThis operation is not allowed because the resource is removed.
OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 9;- See Also:
-
OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE_VALUE
public static final int OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE_VALUEThis operation is not permitted on this ad group type.
OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE = 10;- See Also:
-
MUTATE_NOT_PERMITTED_FOR_CUSTOMER_VALUE
public static final int MUTATE_NOT_PERMITTED_FOR_CUSTOMER_VALUEThe mutate is not allowed for this customer.
MUTATE_NOT_PERMITTED_FOR_CUSTOMER = 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 public static OperationAccessDeniedErrorEnum.OperationAccessDeniedError valueOf(int value) 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<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 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
-