Enum 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 enum google.shopping.type.ReportingContext.ReportingContextEnum
    • Enum Constant Detail

      • REPORTING_CONTEXT_ENUM_UNSPECIFIED

        public static final ReportingContext.ReportingContextEnum REPORTING_CONTEXT_ENUM_UNSPECIFIED
         Not specified.
         
        REPORTING_CONTEXT_ENUM_UNSPECIFIED = 0;
      • 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_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;
      • 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;
      • LOCAL_CLOUD_RETAIL

        public static final ReportingContext.ReportingContextEnum LOCAL_CLOUD_RETAIL
         [Local cloud retail](https://cloud.google.com/solutions/retail).
         
        LOCAL_CLOUD_RETAIL = 12;
    • 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 name
        java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.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.
      • 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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null