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
  • Enum Constant Details

    • 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 Details

    • REPORTING_CONTEXT_ENUM_UNSPECIFIED_VALUE

      public static final int REPORTING_CONTEXT_ENUM_UNSPECIFIED_VALUE
       Not 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 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:
    • 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

      public static ReportingContext.ReportingContextEnum[] 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

      public static ReportingContext.ReportingContextEnum valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      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 interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null