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
,Serializable
,Comparable<ReportingContext.ReportingContextEnum>
,java.lang.constant.Constable
- Enclosing class:
ReportingContext
public static enum ReportingContext.ReportingContextEnum
extends Enum<ReportingContext.ReportingContextEnum>
implements com.google.protobuf.ProtocolMessageEnum
Reporting context values.Protobuf enum
google.shopping.type.ReportingContext.ReportingContextEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription[Cloud retail](https://cloud.google.com/solutions/retail).[Demand Gen ads](https://support.google.com/merchants/answer/13389785).[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).Deprecated.[Display ads](https://support.google.com/merchants/answer/6069387).[Free product listings](https://support.google.com/merchants/answer/9199328).[Free local product listings](https://support.google.com/merchants/answer/9825611).[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).[Local cloud retail](https://cloud.google.com/solutions/retail).[Local inventory ads](https://support.google.com/merchants/answer/3271956).Not specified.[Shopping ads](https://support.google.com/merchants/answer/6149970).[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).[Video ads](https://support.google.com/google-ads/answer/6340491).[YouTube Shopping](https://support.google.com/merchants/answer/13478370). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
[Cloud retail](https://cloud.google.com/solutions/retail).static final int
[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).static final int
[Demand Gen ads](https://support.google.com/merchants/answer/13389785).static final int
Deprecated.static final int
[Display ads](https://support.google.com/merchants/answer/6069387).static final int
[Free product 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
[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).static final int
[Local cloud retail](https://cloud.google.com/solutions/retail).static final int
[Local inventory ads](https://support.google.com/merchants/answer/3271956).static final int
Not specified.static final int
[Shopping ads](https://support.google.com/merchants/answer/6149970).static final int
[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).static final int
[Video ads](https://support.google.com/google-ads/answer/6340491).static final int
[YouTube Shopping](https://support.google.com/merchants/answer/13478370). -
Method Summary
Modifier and TypeMethodDescriptionforNumber
(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
<ReportingContext.ReportingContextEnum> valueOf
(int value) Deprecated.valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REPORTING_CONTEXT_ENUM_UNSPECIFIED
Not specified.
REPORTING_CONTEXT_ENUM_UNSPECIFIED = 0;
-
SHOPPING_ADS
[Shopping ads](https://support.google.com/merchants/answer/6149970).
SHOPPING_ADS = 1;
-
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
[Demand Gen ads](https://support.google.com/merchants/answer/13389785).
DEMAND_GEN_ADS = 13;
-
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
[Video ads](https://support.google.com/google-ads/answer/6340491).
VIDEO_ADS = 3;
-
DISPLAY_ADS
[Display ads](https://support.google.com/merchants/answer/6069387).
DISPLAY_ADS = 4;
-
LOCAL_INVENTORY_ADS
[Local inventory ads](https://support.google.com/merchants/answer/3271956).
LOCAL_INVENTORY_ADS = 5;
-
VEHICLE_INVENTORY_ADS
[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).
VEHICLE_INVENTORY_ADS = 6;
-
FREE_LISTINGS
[Free product listings](https://support.google.com/merchants/answer/9199328).
FREE_LISTINGS = 7;
-
FREE_LOCAL_LISTINGS
[Free local product listings](https://support.google.com/merchants/answer/9825611).
FREE_LOCAL_LISTINGS = 8;
-
FREE_LOCAL_VEHICLE_LISTINGS
[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).
FREE_LOCAL_VEHICLE_LISTINGS = 9;
-
YOUTUBE_SHOPPING
[YouTube Shopping](https://support.google.com/merchants/answer/13478370).
YOUTUBE_SHOPPING = 10;
-
CLOUD_RETAIL
[Cloud retail](https://cloud.google.com/solutions/retail).
CLOUD_RETAIL = 11;
-
LOCAL_CLOUD_RETAIL
[Local cloud retail](https://cloud.google.com/solutions/retail).
LOCAL_CLOUD_RETAIL = 12;
-
UNRECOGNIZED
-
-
Field Details
-
REPORTING_CONTEXT_ENUM_UNSPECIFIED_VALUE
public static final int REPORTING_CONTEXT_ENUM_UNSPECIFIED_VALUENot specified.
REPORTING_CONTEXT_ENUM_UNSPECIFIED = 0;
- See Also:
-
SHOPPING_ADS_VALUE
public static final int SHOPPING_ADS_VALUE[Shopping ads](https://support.google.com/merchants/answer/6149970).
SHOPPING_ADS = 1;
- See Also:
-
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:
-
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:
-
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:
-
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:
-
DISPLAY_ADS_VALUE
public static final int DISPLAY_ADS_VALUE[Display ads](https://support.google.com/merchants/answer/6069387).
DISPLAY_ADS = 4;
- See Also:
-
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:
-
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:
-
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:
-
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:
-
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:
-
YOUTUBE_SHOPPING_VALUE
public static final int YOUTUBE_SHOPPING_VALUE[YouTube Shopping](https://support.google.com/merchants/answer/13478370).
YOUTUBE_SHOPPING = 10;
- See Also:
-
CLOUD_RETAIL_VALUE
public static final int CLOUD_RETAIL_VALUE[Cloud retail](https://cloud.google.com/solutions/retail).
CLOUD_RETAIL = 11;
- See Also:
-
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:
-
-
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<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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-