Enum AssetSetErrorEnum.AssetSetError
- java.lang.Object
-
- java.lang.Enum<AssetSetErrorEnum.AssetSetError>
-
- com.google.ads.googleads.v14.errors.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 enumgoogle.ads.googleads.v14.errors.AssetSetErrorEnum.AssetSetError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSET_SET_SOURCE_INCOMPATIBLE_WITH_PARENT_ASSET_SETThe asset set source doesn't match its parent AssetSet's data.ASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMERThis AssetSet type cannot be linked to CustomerAssetSet.CANNOT_DELETE_AS_ENABLED_LINKAGES_EXISTCan't delete an AssetSet if it has any enabled linkages (e.g.DUPLICATE_ASSET_SET_NAMEThe asset set name matches that of another enabled asset set.INVALID_CHAIN_IDSThe chain id(s) in ChainSet of a LOCATION_SYNC typed AssetSet is invalid.INVALID_PARENT_ASSET_SET_TYPEThe type of AssetSet.asset_set_source does not match the type of AssetSet.location_set.source in its parent AssetSet.INVALID_PLACE_IDSThe place id(s) in a LocationSync typed AssetSet is invalid and can't be decoded.LOCATION_SYNC_ASSET_SET_DOES_NOT_SUPPORT_RELATIONSHIP_TYPEThe relationship type in ChainSet of a LOCATION_SYNC typed AssetSet is not supported.NOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SETThere is more than one enabled LocationSync typed AssetSet under one customer.OAUTH_INFO_INVALIDThe Google Business Profile OAuth info is invalid.OAUTH_INFO_MISSINGThe Google Business Profile OAuth info is missing.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intASSET_SET_SOURCE_INCOMPATIBLE_WITH_PARENT_ASSET_SET_VALUEThe asset set source doesn't match its parent AssetSet's data.static intASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMER_VALUEThis AssetSet type cannot be linked to CustomerAssetSet.static intCANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST_VALUECan't delete an AssetSet if it has any enabled linkages (e.g.static intDUPLICATE_ASSET_SET_NAME_VALUEThe asset set name matches that of another enabled asset set.static intINVALID_CHAIN_IDS_VALUEThe chain id(s) in ChainSet of a LOCATION_SYNC typed AssetSet is invalid.static intINVALID_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.static intINVALID_PLACE_IDS_VALUEThe place id(s) in a LocationSync typed AssetSet is invalid and can't be decoded.static intLOCATION_SYNC_ASSET_SET_DOES_NOT_SUPPORT_RELATIONSHIP_TYPE_VALUEThe relationship type in ChainSet of a LOCATION_SYNC typed AssetSet is not supported.static intNOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SET_VALUEThere is more than one enabled LocationSync typed AssetSet under one customer.static intOAUTH_INFO_INVALID_VALUEThe Google Business Profile OAuth info is invalid.static intOAUTH_INFO_MISSING_VALUEThe Google Business Profile OAuth info is missing.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AssetSetErrorEnum.AssetSetErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<AssetSetErrorEnum.AssetSetError>internalGetValueMap()static AssetSetErrorEnum.AssetSetErrorvalueOf(int value)Deprecated.static AssetSetErrorEnum.AssetSetErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AssetSetErrorEnum.AssetSetErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AssetSetErrorEnum.AssetSetError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 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 namejava.lang.NullPointerException- 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 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 namejava.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.
-
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 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 namejava.lang.NullPointerException- if the argument is null
-
-