Package com.google.shopping.type
Enum Destination.DestinationEnum
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Destination.DestinationEnum>
,java.lang.constant.Constable
- Enclosing class:
Destination
public static enum Destination.DestinationEnum
extends Enum<Destination.DestinationEnum>
implements com.google.protobuf.ProtocolMessageEnum
Destination values.Protobuf enum
google.shopping.type.Destination.DestinationEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNot specified.[Display ads](https://support.google.com/merchants/answer/6069387).[Free listings](https://support.google.com/merchants/answer/9199328).[Free local product listings](https://support.google.com/merchants/answer/9825611).[Local inventory ads](https://support.google.com/merchants/answer/3057972).[Shopping ads](https://support.google.com/google-ads/answer/2454022).[YouTube Shopping](https://support.google.com/merchants/answer/12362804). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Not specified.static final int
[Display ads](https://support.google.com/merchants/answer/6069387).static final int
[Free listings](https://support.google.com/merchants/answer/9199328).static final int
[Free local product listings](https://support.google.com/merchants/answer/9825611).static final int
[Local inventory ads](https://support.google.com/merchants/answer/3057972).static final int
[Shopping ads](https://support.google.com/google-ads/answer/2454022).static final int
[YouTube Shopping](https://support.google.com/merchants/answer/12362804). -
Method Summary
Modifier and TypeMethodDescriptionstatic Destination.DestinationEnum
forNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap
<Destination.DestinationEnum> static Destination.DestinationEnum
valueOf
(int value) Deprecated.static Destination.DestinationEnum
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Destination.DestinationEnum
Returns the enum constant of this type with the specified name.static Destination.DestinationEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DESTINATION_ENUM_UNSPECIFIED
Not specified.
DESTINATION_ENUM_UNSPECIFIED = 0;
-
SHOPPING_ADS
[Shopping ads](https://support.google.com/google-ads/answer/2454022).
SHOPPING_ADS = 1;
-
DISPLAY_ADS
[Display ads](https://support.google.com/merchants/answer/6069387).
DISPLAY_ADS = 2;
-
LOCAL_INVENTORY_ADS
[Local inventory ads](https://support.google.com/merchants/answer/3057972).
LOCAL_INVENTORY_ADS = 3;
-
FREE_LISTINGS
[Free listings](https://support.google.com/merchants/answer/9199328).
FREE_LISTINGS = 4;
-
FREE_LOCAL_LISTINGS
[Free local product listings](https://support.google.com/merchants/answer/9825611).
FREE_LOCAL_LISTINGS = 5;
-
YOUTUBE_SHOPPING
[YouTube Shopping](https://support.google.com/merchants/answer/12362804).
YOUTUBE_SHOPPING = 6;
-
UNRECOGNIZED
-
-
Field Details
-
DESTINATION_ENUM_UNSPECIFIED_VALUE
public static final int DESTINATION_ENUM_UNSPECIFIED_VALUENot specified.
DESTINATION_ENUM_UNSPECIFIED = 0;
- See Also:
-
SHOPPING_ADS_VALUE
public static final int SHOPPING_ADS_VALUE[Shopping ads](https://support.google.com/google-ads/answer/2454022).
SHOPPING_ADS = 1;
- See Also:
-
DISPLAY_ADS_VALUE
public static final int DISPLAY_ADS_VALUE[Display ads](https://support.google.com/merchants/answer/6069387).
DISPLAY_ADS = 2;
- See Also:
-
LOCAL_INVENTORY_ADS_VALUE
public static final int LOCAL_INVENTORY_ADS_VALUE[Local inventory ads](https://support.google.com/merchants/answer/3057972).
LOCAL_INVENTORY_ADS = 3;
- See Also:
-
FREE_LISTINGS_VALUE
public static final int FREE_LISTINGS_VALUE[Free listings](https://support.google.com/merchants/answer/9199328).
FREE_LISTINGS = 4;
- See Also:
-
FREE_LOCAL_LISTINGS_VALUE
public static final int FREE_LOCAL_LISTINGS_VALUE[Free local product listings](https://support.google.com/merchants/answer/9825611).
FREE_LOCAL_LISTINGS = 5;
- See Also:
-
YOUTUBE_SHOPPING_VALUE
public static final int YOUTUBE_SHOPPING_VALUE[YouTube Shopping](https://support.google.com/merchants/answer/12362804).
YOUTUBE_SHOPPING = 6;
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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:
IllegalArgumentException
- if this enum type 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<Destination.DestinationEnum> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Destination.DestinationEnum 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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-