Package com.google.shopping.type
Enum ReportingContext.ReportingContextEnum
- java.lang.Object
-
- java.lang.Enum<ReportingContext.ReportingContextEnum>
-
- com.google.shopping.type.ReportingContext.ReportingContextEnum
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<ReportingContext.ReportingContextEnum>
- Enclosing class:
- ReportingContext
public static enum ReportingContext.ReportingContextEnum extends java.lang.Enum<ReportingContext.ReportingContextEnum> implements com.google.protobuf.ProtocolMessageEnum
Reporting context values.
Protobuf enumgoogle.shopping.type.ReportingContext.ReportingContextEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOUD_RETAIL
[Cloud retail](https://cloud.google.com/solutions/retail).DEMAND_GEN_ADS
[Demand Gen ads](https://support.google.com/merchants/answer/13389785).DEMAND_GEN_ADS_DISCOVER_SURFACE
[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).DISCOVERY_ADS
Deprecated.DISPLAY_ADS
[Display ads](https://support.google.com/merchants/answer/6069387).FREE_LISTINGS
[Free product listings](https://support.google.com/merchants/answer/9199328).FREE_LOCAL_LISTINGS
[Free local product listings](https://support.google.com/merchants/answer/9825611).FREE_LOCAL_VEHICLE_LISTINGS
[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).LOCAL_CLOUD_RETAIL
[Local cloud retail](https://cloud.google.com/solutions/retail).LOCAL_INVENTORY_ADS
[Local inventory ads](https://support.google.com/merchants/answer/3271956).REPORTING_CONTEXT_ENUM_UNSPECIFIED
Not specified.SHOPPING_ADS
[Shopping ads](https://support.google.com/merchants/answer/6149970).UNRECOGNIZED
VEHICLE_INVENTORY_ADS
[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).VIDEO_ADS
[Video ads](https://support.google.com/google-ads/answer/6340491).YOUTUBE_SHOPPING
[YouTube Shopping](https://support.google.com/merchants/answer/13478370).
-
Field Summary
Fields Modifier and Type Field Description static int
CLOUD_RETAIL_VALUE
[Cloud retail](https://cloud.google.com/solutions/retail).static int
DEMAND_GEN_ADS_DISCOVER_SURFACE_VALUE
[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).static int
DEMAND_GEN_ADS_VALUE
[Demand Gen ads](https://support.google.com/merchants/answer/13389785).static int
DISCOVERY_ADS_VALUE
Deprecated.static int
DISPLAY_ADS_VALUE
[Display ads](https://support.google.com/merchants/answer/6069387).static int
FREE_LISTINGS_VALUE
[Free product 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
FREE_LOCAL_VEHICLE_LISTINGS_VALUE
[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).static int
LOCAL_CLOUD_RETAIL_VALUE
[Local cloud retail](https://cloud.google.com/solutions/retail).static int
LOCAL_INVENTORY_ADS_VALUE
[Local inventory ads](https://support.google.com/merchants/answer/3271956).static int
REPORTING_CONTEXT_ENUM_UNSPECIFIED_VALUE
Not specified.static int
SHOPPING_ADS_VALUE
[Shopping ads](https://support.google.com/merchants/answer/6149970).static int
VEHICLE_INVENTORY_ADS_VALUE
[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).static int
VIDEO_ADS_VALUE
[Video ads](https://support.google.com/google-ads/answer/6340491).static int
YOUTUBE_SHOPPING_VALUE
[YouTube Shopping](https://support.google.com/merchants/answer/13478370).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ReportingContext.ReportingContextEnum
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<ReportingContext.ReportingContextEnum>
internalGetValueMap()
static ReportingContext.ReportingContextEnum
valueOf(int value)
Deprecated.static ReportingContext.ReportingContextEnum
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ReportingContext.ReportingContextEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ReportingContext.ReportingContextEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPORTING_CONTEXT_ENUM_UNSPECIFIED
public static final ReportingContext.ReportingContextEnum REPORTING_CONTEXT_ENUM_UNSPECIFIED
Not specified.
REPORTING_CONTEXT_ENUM_UNSPECIFIED = 0;
-
SHOPPING_ADS
public static final ReportingContext.ReportingContextEnum SHOPPING_ADS
[Shopping ads](https://support.google.com/merchants/answer/6149970).
SHOPPING_ADS = 1;
-
DISCOVERY_ADS
@Deprecated public static final ReportingContext.ReportingContextEnum DISCOVERY_ADS
Deprecated.Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).
DISCOVERY_ADS = 2 [deprecated = true];
-
DEMAND_GEN_ADS
public static final ReportingContext.ReportingContextEnum DEMAND_GEN_ADS
[Demand Gen ads](https://support.google.com/merchants/answer/13389785).
DEMAND_GEN_ADS = 13;
-
DEMAND_GEN_ADS_DISCOVER_SURFACE
public static final ReportingContext.ReportingContextEnum DEMAND_GEN_ADS_DISCOVER_SURFACE
[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).
DEMAND_GEN_ADS_DISCOVER_SURFACE = 14;
-
VIDEO_ADS
public static final ReportingContext.ReportingContextEnum VIDEO_ADS
[Video ads](https://support.google.com/google-ads/answer/6340491).
VIDEO_ADS = 3;
-
DISPLAY_ADS
public static final ReportingContext.ReportingContextEnum DISPLAY_ADS
[Display ads](https://support.google.com/merchants/answer/6069387).
DISPLAY_ADS = 4;
-
LOCAL_INVENTORY_ADS
public static final ReportingContext.ReportingContextEnum LOCAL_INVENTORY_ADS
[Local inventory ads](https://support.google.com/merchants/answer/3271956).
LOCAL_INVENTORY_ADS = 5;
-
VEHICLE_INVENTORY_ADS
public static final ReportingContext.ReportingContextEnum VEHICLE_INVENTORY_ADS
[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).
VEHICLE_INVENTORY_ADS = 6;
-
FREE_LISTINGS
public static final ReportingContext.ReportingContextEnum FREE_LISTINGS
[Free product listings](https://support.google.com/merchants/answer/9199328).
FREE_LISTINGS = 7;
-
FREE_LOCAL_LISTINGS
public static final ReportingContext.ReportingContextEnum FREE_LOCAL_LISTINGS
[Free local product listings](https://support.google.com/merchants/answer/9825611).
FREE_LOCAL_LISTINGS = 8;
-
FREE_LOCAL_VEHICLE_LISTINGS
public static final ReportingContext.ReportingContextEnum FREE_LOCAL_VEHICLE_LISTINGS
[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).
FREE_LOCAL_VEHICLE_LISTINGS = 9;
-
YOUTUBE_SHOPPING
public static final ReportingContext.ReportingContextEnum YOUTUBE_SHOPPING
[YouTube Shopping](https://support.google.com/merchants/answer/13478370).
YOUTUBE_SHOPPING = 10;
-
CLOUD_RETAIL
public static final ReportingContext.ReportingContextEnum CLOUD_RETAIL
[Cloud retail](https://cloud.google.com/solutions/retail).
CLOUD_RETAIL = 11;
-
LOCAL_CLOUD_RETAIL
public static final ReportingContext.ReportingContextEnum LOCAL_CLOUD_RETAIL
[Local cloud retail](https://cloud.google.com/solutions/retail).
LOCAL_CLOUD_RETAIL = 12;
-
UNRECOGNIZED
public static final ReportingContext.ReportingContextEnum UNRECOGNIZED
-
-
Field Detail
-
REPORTING_CONTEXT_ENUM_UNSPECIFIED_VALUE
public static final int REPORTING_CONTEXT_ENUM_UNSPECIFIED_VALUE
Not specified.
REPORTING_CONTEXT_ENUM_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
SHOPPING_ADS_VALUE
public static final int SHOPPING_ADS_VALUE
[Shopping ads](https://support.google.com/merchants/answer/6149970).
SHOPPING_ADS = 1;
- See Also:
- Constant Field Values
-
DISCOVERY_ADS_VALUE
@Deprecated public static final int DISCOVERY_ADS_VALUE
Deprecated.Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).
DISCOVERY_ADS = 2 [deprecated = true];
- See Also:
- Constant Field Values
-
DEMAND_GEN_ADS_VALUE
public static final int DEMAND_GEN_ADS_VALUE
[Demand Gen ads](https://support.google.com/merchants/answer/13389785).
DEMAND_GEN_ADS = 13;
- See Also:
- Constant Field Values
-
DEMAND_GEN_ADS_DISCOVER_SURFACE_VALUE
public static final int DEMAND_GEN_ADS_DISCOVER_SURFACE_VALUE
[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).
DEMAND_GEN_ADS_DISCOVER_SURFACE = 14;
- See Also:
- Constant Field Values
-
VIDEO_ADS_VALUE
public static final int VIDEO_ADS_VALUE
[Video ads](https://support.google.com/google-ads/answer/6340491).
VIDEO_ADS = 3;
- 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 = 4;
- 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/3271956).
LOCAL_INVENTORY_ADS = 5;
- See Also:
- Constant Field Values
-
VEHICLE_INVENTORY_ADS_VALUE
public static final int VEHICLE_INVENTORY_ADS_VALUE
[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).
VEHICLE_INVENTORY_ADS = 6;
- See Also:
- Constant Field Values
-
FREE_LISTINGS_VALUE
public static final int FREE_LISTINGS_VALUE
[Free product listings](https://support.google.com/merchants/answer/9199328).
FREE_LISTINGS = 7;
- 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 = 8;
- See Also:
- Constant Field Values
-
FREE_LOCAL_VEHICLE_LISTINGS_VALUE
public static final int FREE_LOCAL_VEHICLE_LISTINGS_VALUE
[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).
FREE_LOCAL_VEHICLE_LISTINGS = 9;
- See Also:
- Constant Field Values
-
YOUTUBE_SHOPPING_VALUE
public static final int YOUTUBE_SHOPPING_VALUE
[YouTube Shopping](https://support.google.com/merchants/answer/13478370).
YOUTUBE_SHOPPING = 10;
- See Also:
- Constant Field Values
-
CLOUD_RETAIL_VALUE
public static final int CLOUD_RETAIL_VALUE
[Cloud retail](https://cloud.google.com/solutions/retail).
CLOUD_RETAIL = 11;
- See Also:
- Constant Field Values
-
LOCAL_CLOUD_RETAIL_VALUE
public static final int LOCAL_CLOUD_RETAIL_VALUE
[Local cloud retail](https://cloud.google.com/solutions/retail).
LOCAL_CLOUD_RETAIL = 12;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ReportingContext.ReportingContextEnum[] 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 (ReportingContext.ReportingContextEnum c : ReportingContext.ReportingContextEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReportingContext.ReportingContextEnum 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 ReportingContext.ReportingContextEnum 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 ReportingContext.ReportingContextEnum 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<ReportingContext.ReportingContextEnum> 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 ReportingContext.ReportingContextEnum 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
-
-