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
  • Enum Constant Details

  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Enum unspecified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       The received error code is not known in this version.
       
      UNKNOWN = 1;
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
  • 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.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 name
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null