Package com.google.shopping.type
Enum Destination.DestinationEnum
- java.lang.Object
-
- java.lang.Enum<Destination.DestinationEnum>
-
- com.google.shopping.type.Destination.DestinationEnum
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<Destination.DestinationEnum>
- Enclosing class:
- Destination
public static enum Destination.DestinationEnum extends java.lang.Enum<Destination.DestinationEnum> implements com.google.protobuf.ProtocolMessageEnum
Destination values.
Protobuf enumgoogle.shopping.type.Destination.DestinationEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DESTINATION_ENUM_UNSPECIFIED
Not specified.DISPLAY_ADS
[Display ads](https://support.google.com/merchants/answer/6069387).FREE_LISTINGS
[Free listings](https://support.google.com/merchants/answer/9199328).FREE_LOCAL_LISTINGS
[Free local product listings](https://support.google.com/merchants/answer/9825611).LOCAL_INVENTORY_ADS
[Local inventory ads](https://support.google.com/merchants/answer/3057972).SHOPPING_ADS
[Shopping ads](https://support.google.com/google-ads/answer/2454022).UNRECOGNIZED
YOUTUBE_SHOPPING
[YouTube Shopping](https://support.google.com/merchants/answer/12362804).
-
Field Summary
Fields Modifier and Type Field Description static int
DESTINATION_ENUM_UNSPECIFIED_VALUE
Not specified.static int
DISPLAY_ADS_VALUE
[Display ads](https://support.google.com/merchants/answer/6069387).static int
FREE_LISTINGS_VALUE
[Free listings](https://support.google.com/merchants/answer/9199328).static int
FREE_LOCAL_LISTINGS_VALUE
[Free local product listings](https://support.google.com/merchants/answer/9825611).static int
LOCAL_INVENTORY_ADS_VALUE
[Local inventory ads](https://support.google.com/merchants/answer/3057972).static int
SHOPPING_ADS_VALUE
[Shopping ads](https://support.google.com/google-ads/answer/2454022).static int
YOUTUBE_SHOPPING_VALUE
[YouTube Shopping](https://support.google.com/merchants/answer/12362804).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Destination.DestinationEnum
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<Destination.DestinationEnum>
internalGetValueMap()
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
valueOf(java.lang.String name)
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 Detail
-
DESTINATION_ENUM_UNSPECIFIED
public static final Destination.DestinationEnum DESTINATION_ENUM_UNSPECIFIED
Not specified.
DESTINATION_ENUM_UNSPECIFIED = 0;
-
SHOPPING_ADS
public static final Destination.DestinationEnum SHOPPING_ADS
[Shopping ads](https://support.google.com/google-ads/answer/2454022).
SHOPPING_ADS = 1;
-
DISPLAY_ADS
public static final Destination.DestinationEnum DISPLAY_ADS
[Display ads](https://support.google.com/merchants/answer/6069387).
DISPLAY_ADS = 2;
-
LOCAL_INVENTORY_ADS
public static final Destination.DestinationEnum LOCAL_INVENTORY_ADS
[Local inventory ads](https://support.google.com/merchants/answer/3057972).
LOCAL_INVENTORY_ADS = 3;
-
FREE_LISTINGS
public static final Destination.DestinationEnum FREE_LISTINGS
[Free listings](https://support.google.com/merchants/answer/9199328).
FREE_LISTINGS = 4;
-
FREE_LOCAL_LISTINGS
public static final Destination.DestinationEnum FREE_LOCAL_LISTINGS
[Free local product listings](https://support.google.com/merchants/answer/9825611).
FREE_LOCAL_LISTINGS = 5;
-
YOUTUBE_SHOPPING
public static final Destination.DestinationEnum YOUTUBE_SHOPPING
[YouTube Shopping](https://support.google.com/merchants/answer/12362804).
YOUTUBE_SHOPPING = 6;
-
UNRECOGNIZED
public static final Destination.DestinationEnum UNRECOGNIZED
-
-
Field Detail
-
DESTINATION_ENUM_UNSPECIFIED_VALUE
public static final int DESTINATION_ENUM_UNSPECIFIED_VALUE
Not specified.
DESTINATION_ENUM_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
DISPLAY_ADS_VALUE
public static final int DISPLAY_ADS_VALUE
[Display ads](https://support.google.com/merchants/answer/6069387).
DISPLAY_ADS = 2;
- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
FREE_LISTINGS_VALUE
public static final int FREE_LISTINGS_VALUE
[Free listings](https://support.google.com/merchants/answer/9199328).
FREE_LISTINGS = 4;
- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
YOUTUBE_SHOPPING_VALUE
public static final int YOUTUBE_SHOPPING_VALUE
[YouTube Shopping](https://support.google.com/merchants/answer/12362804).
YOUTUBE_SHOPPING = 6;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Destination.DestinationEnum[] 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 (Destination.DestinationEnum c : Destination.DestinationEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Destination.DestinationEnum 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Destination.DestinationEnum 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 Destination.DestinationEnum 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<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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-