Enum OperationAccessDeniedErrorEnum.OperationAccessDeniedError

    • 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 name
        java.lang.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
        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 name
        java.lang.NullPointerException - if the argument is null
      • 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 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 name
        java.lang.NullPointerException - if the argument is null