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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe asset set source doesn't match its parent AssetSet's data.This AssetSet type cannot be linked to CustomerAssetSet.Can't delete an AssetSet if it has any enabled linkages (e.g.The asset set name matches that of another enabled asset set.The chain id(s) in ChainSet of a LOCATION_SYNC typed AssetSet is invalid.The type of AssetSet.asset_set_source does not match the type of AssetSet.location_set.source in its parent AssetSet.The place id(s) in a LocationSync typed AssetSet is invalid and can't be decoded.The relationship type in ChainSet of a LOCATION_SYNC typed AssetSet is not supported.There is more than one enabled LocationSync typed AssetSet under one customer.The Google Business Profile OAuth info is invalid.The Google Business Profile OAuth info is missing.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe asset set source doesn't match its parent AssetSet's data.static final intThis AssetSet type cannot be linked to CustomerAssetSet.static final intCan't delete an AssetSet if it has any enabled linkages (e.g.static final intThe asset set name matches that of another enabled asset set.static final intThe chain id(s) in ChainSet of a LOCATION_SYNC typed AssetSet is invalid.static final intThe type of AssetSet.asset_set_source does not match the type of AssetSet.location_set.source in its parent AssetSet.static final intThe place id(s) in a LocationSync typed AssetSet is invalid and can't be decoded.static final intThe relationship type in ChainSet of a LOCATION_SYNC typed AssetSet is not supported.static final intThere is more than one enabled LocationSync typed AssetSet under one customer.static final intThe Google Business Profile OAuth info is invalid.static final intThe Google Business Profile OAuth info is missing.static final intThe received error code is not known in this version.static final intEnum unspecified. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AssetSetErrorEnum.AssetSetError>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static AssetSetErrorEnum.AssetSetError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
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
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_SETThe 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
This AssetSet type cannot be linked to CustomerAssetSet.
ASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMER = 5; -
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_TYPEThe 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_SETThere is more than one enabled LocationSync typed AssetSet under one customer.
NOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SET = 8; -
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
The Google Business Profile OAuth info is invalid.
OAUTH_INFO_INVALID = 11; -
OAUTH_INFO_MISSING
The Google Business Profile OAuth info is missing.
OAUTH_INFO_MISSING = 12; -
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
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEEnum unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUEThis 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_VALUEThe 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_VALUEThe 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_VALUEThere 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_VALUEThe 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_VALUEThe Google Business Profile OAuth info is invalid.
OAUTH_INFO_INVALID = 11;- See Also:
-
OAUTH_INFO_MISSING_VALUE
public static final int OAUTH_INFO_MISSING_VALUEThe 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_VALUECan'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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.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 nameNullPointerException- if the argument is null
-
forNumber
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-