Enum Class MutateErrorEnum.MutateError

java.lang.Object
java.lang.Enum<MutateErrorEnum.MutateError>
com.google.ads.googleads.v18.errors.MutateErrorEnum.MutateError
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<MutateErrorEnum.MutateError>, Constable
Enclosing class:
MutateErrorEnum

public static enum MutateErrorEnum.MutateError extends Enum<MutateErrorEnum.MutateError> implements com.google.protobuf.ProtocolMessageEnum
 Enum describing possible mutate errors.
 
Protobuf enum google.ads.googleads.v18.errors.MutateErrorEnum.MutateError
  • Enum Constant Details

    • 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 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:
    • RESOURCE_NOT_FOUND_VALUE

      public static final int RESOURCE_NOT_FOUND_VALUE
       Requested resource was not found.
       
      RESOURCE_NOT_FOUND = 3;
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • RESOURCE_ALREADY_EXISTS_VALUE

      public static final int RESOURCE_ALREADY_EXISTS_VALUE
       The resource being created already exists.
       
      RESOURCE_ALREADY_EXISTS = 11;
      See Also:
    • 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:
    • 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:
    • 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:
  • Method Details

    • values

      public static MutateErrorEnum.MutateError[] 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

      public static MutateErrorEnum.MutateError valueOf(String name)
      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 public static MutateErrorEnum.MutateError 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 name
      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 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 MutateErrorEnum.MutateError 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