Enum AssetSetErrorEnum.AssetSetError

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<AssetSetErrorEnum.AssetSetError>
    Enclosing class:
    AssetSetErrorEnum

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

      • 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;
    • 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
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Method Detail

      • values

        public static AssetSetErrorEnum.AssetSetError[] 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 (AssetSetErrorEnum.AssetSetError c : AssetSetErrorEnum.AssetSetError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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