Package com.google.shopping.type
Enum Destination.DestinationEnum
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Destination.DestinationEnum>
- 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-
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 intNot 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.DestinationEnumforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Destination.DestinationEnum>static Destination.DestinationEnumvalueOf(int value) Deprecated.static Destination.DestinationEnumvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Destination.DestinationEnumReturns 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static 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
-