Enum Class AssetSetErrorEnum.AssetSetError

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

public static enum AssetSetErrorEnum.AssetSetError extends Enum<AssetSetErrorEnum.AssetSetError> implements com.google.protobuf.ProtocolMessageEnum
 Enum describing possible asset set errors.
 
Protobuf enum google.ads.googleads.v18.errors.AssetSetErrorEnum.AssetSetError
  • Enum Constant Details

    • UNSPECIFIED

      public static final AssetSetErrorEnum.AssetSetError UNSPECIFIED
       Enum unspecified.
       
      UNSPECIFIED = 0;
    • UNKNOWN

      public static final AssetSetErrorEnum.AssetSetError UNKNOWN
       The received error code is not known in this version.
       
      UNKNOWN = 1;
    • DUPLICATE_ASSET_SET_NAME

      public static final AssetSetErrorEnum.AssetSetError DUPLICATE_ASSET_SET_NAME
       The asset set name matches that of another enabled asset set.
       
      DUPLICATE_ASSET_SET_NAME = 2;
    • INVALID_PARENT_ASSET_SET_TYPE

      public static final AssetSetErrorEnum.AssetSetError INVALID_PARENT_ASSET_SET_TYPE
       The type of AssetSet.asset_set_source does not match the type of
       AssetSet.location_set.source in its parent AssetSet.
       
      INVALID_PARENT_ASSET_SET_TYPE = 3;
    • ASSET_SET_SOURCE_INCOMPATIBLE_WITH_PARENT_ASSET_SET

      public static final AssetSetErrorEnum.AssetSetError ASSET_SET_SOURCE_INCOMPATIBLE_WITH_PARENT_ASSET_SET
       The asset set source doesn't match its parent AssetSet's data.
       
      ASSET_SET_SOURCE_INCOMPATIBLE_WITH_PARENT_ASSET_SET = 4;
    • ASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMER

      public static final AssetSetErrorEnum.AssetSetError ASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMER
       This AssetSet type cannot be linked to CustomerAssetSet.
       
      ASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMER = 5;
    • INVALID_CHAIN_IDS

      public static final AssetSetErrorEnum.AssetSetError INVALID_CHAIN_IDS
       The chain id(s) in ChainSet of a LOCATION_SYNC typed AssetSet is invalid.
       
      INVALID_CHAIN_IDS = 6;
    • LOCATION_SYNC_ASSET_SET_DOES_NOT_SUPPORT_RELATIONSHIP_TYPE

      public static final AssetSetErrorEnum.AssetSetError LOCATION_SYNC_ASSET_SET_DOES_NOT_SUPPORT_RELATIONSHIP_TYPE
       The relationship type in ChainSet of a LOCATION_SYNC typed AssetSet is
       not supported.
       
      LOCATION_SYNC_ASSET_SET_DOES_NOT_SUPPORT_RELATIONSHIP_TYPE = 7;
    • NOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SET

      public static final AssetSetErrorEnum.AssetSetError NOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SET
       There is more than one enabled LocationSync typed AssetSet under one
       customer.
       
      NOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SET = 8;
    • INVALID_PLACE_IDS

      public static final AssetSetErrorEnum.AssetSetError INVALID_PLACE_IDS
       The place id(s) in a LocationSync typed AssetSet is invalid and can't be
       decoded.
       
      INVALID_PLACE_IDS = 9;
    • OAUTH_INFO_INVALID

      public static final AssetSetErrorEnum.AssetSetError OAUTH_INFO_INVALID
       The Google Business Profile OAuth info is invalid.
       
      OAUTH_INFO_INVALID = 11;
    • OAUTH_INFO_MISSING

      public static final AssetSetErrorEnum.AssetSetError OAUTH_INFO_MISSING
       The Google Business Profile OAuth info is missing.
       
      OAUTH_INFO_MISSING = 12;
    • CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST

      public static final AssetSetErrorEnum.AssetSetError CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST
       Can't delete an AssetSet if it has any enabled linkages (e.g.
       CustomerAssetSet), or AssetSet is a parent AssetSet and has enabled child
       AssetSet associated.
       
      CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST = 10;
    • UNRECOGNIZED

      public static final AssetSetErrorEnum.AssetSetError 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:
    • DUPLICATE_ASSET_SET_NAME_VALUE

      public static final int DUPLICATE_ASSET_SET_NAME_VALUE
       The asset set name matches that of another enabled asset set.
       
      DUPLICATE_ASSET_SET_NAME = 2;
      See Also:
    • INVALID_PARENT_ASSET_SET_TYPE_VALUE

      public static final int INVALID_PARENT_ASSET_SET_TYPE_VALUE
       The type of AssetSet.asset_set_source does not match the type of
       AssetSet.location_set.source in its parent AssetSet.
       
      INVALID_PARENT_ASSET_SET_TYPE = 3;
      See Also:
    • ASSET_SET_SOURCE_INCOMPATIBLE_WITH_PARENT_ASSET_SET_VALUE

      public static final int ASSET_SET_SOURCE_INCOMPATIBLE_WITH_PARENT_ASSET_SET_VALUE
       The asset set source doesn't match its parent AssetSet's data.
       
      ASSET_SET_SOURCE_INCOMPATIBLE_WITH_PARENT_ASSET_SET = 4;
      See Also:
    • ASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMER_VALUE

      public static final int ASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMER_VALUE
       This AssetSet type cannot be linked to CustomerAssetSet.
       
      ASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMER = 5;
      See Also:
    • INVALID_CHAIN_IDS_VALUE

      public static final int INVALID_CHAIN_IDS_VALUE
       The chain id(s) in ChainSet of a LOCATION_SYNC typed AssetSet is invalid.
       
      INVALID_CHAIN_IDS = 6;
      See Also:
    • LOCATION_SYNC_ASSET_SET_DOES_NOT_SUPPORT_RELATIONSHIP_TYPE_VALUE

      public static final int LOCATION_SYNC_ASSET_SET_DOES_NOT_SUPPORT_RELATIONSHIP_TYPE_VALUE
       The relationship type in ChainSet of a LOCATION_SYNC typed AssetSet is
       not supported.
       
      LOCATION_SYNC_ASSET_SET_DOES_NOT_SUPPORT_RELATIONSHIP_TYPE = 7;
      See Also:
    • NOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SET_VALUE

      public static final int NOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SET_VALUE
       There is more than one enabled LocationSync typed AssetSet under one
       customer.
       
      NOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SET = 8;
      See Also:
    • INVALID_PLACE_IDS_VALUE

      public static final int INVALID_PLACE_IDS_VALUE
       The place id(s) in a LocationSync typed AssetSet is invalid and can't be
       decoded.
       
      INVALID_PLACE_IDS = 9;
      See Also:
    • OAUTH_INFO_INVALID_VALUE

      public static final int OAUTH_INFO_INVALID_VALUE
       The Google Business Profile OAuth info is invalid.
       
      OAUTH_INFO_INVALID = 11;
      See Also:
    • OAUTH_INFO_MISSING_VALUE

      public static final int OAUTH_INFO_MISSING_VALUE
       The Google Business Profile OAuth info is missing.
       
      OAUTH_INFO_MISSING = 12;
      See Also:
    • CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST_VALUE

      public static final int CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST_VALUE
       Can't delete an AssetSet if it has any enabled linkages (e.g.
       CustomerAssetSet), or AssetSet is a parent AssetSet and has enabled child
       AssetSet associated.
       
      CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST = 10;
      See Also:
  • Method Details

    • values

      public static AssetSetErrorEnum.AssetSetError[] 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 AssetSetErrorEnum.AssetSetError 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 AssetSetErrorEnum.AssetSetError 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 AssetSetErrorEnum.AssetSetError 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<AssetSetErrorEnum.AssetSetError> 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 AssetSetErrorEnum.AssetSetError 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