Enum Destination.DestinationEnum

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<Destination.DestinationEnum>
    Enclosing class:
    Destination

    public static enum Destination.DestinationEnum
    extends java.lang.Enum<Destination.DestinationEnum>
    implements com.google.protobuf.ProtocolMessageEnum
     Destination values.
     
    Protobuf enum google.shopping.type.Destination.DestinationEnum
    • Enum Constant Detail

      • DESTINATION_ENUM_UNSPECIFIED

        public static final Destination.DestinationEnum DESTINATION_ENUM_UNSPECIFIED
         Not specified.
         
        DESTINATION_ENUM_UNSPECIFIED = 0;
      • SHOPPING_ADS

        public static final Destination.DestinationEnum SHOPPING_ADS
         [Shopping ads](https://support.google.com/google-ads/answer/2454022).
         
        SHOPPING_ADS = 1;
      • DISPLAY_ADS

        public static final Destination.DestinationEnum DISPLAY_ADS
         [Display ads](https://support.google.com/merchants/answer/6069387).
         
        DISPLAY_ADS = 2;
      • LOCAL_INVENTORY_ADS

        public static final Destination.DestinationEnum LOCAL_INVENTORY_ADS
         [Local inventory
         ads](https://support.google.com/merchants/answer/3057972).
         
        LOCAL_INVENTORY_ADS = 3;
      • FREE_LISTINGS

        public static final Destination.DestinationEnum FREE_LISTINGS
         [Free listings](https://support.google.com/merchants/answer/9199328).
         
        FREE_LISTINGS = 4;
      • FREE_LOCAL_LISTINGS

        public static final Destination.DestinationEnum FREE_LOCAL_LISTINGS
         [Free local product
         listings](https://support.google.com/merchants/answer/9825611).
         
        FREE_LOCAL_LISTINGS = 5;
      • YOUTUBE_SHOPPING

        public static final Destination.DestinationEnum YOUTUBE_SHOPPING
         [YouTube Shopping](https://support.google.com/merchants/answer/12362804).
         
        YOUTUBE_SHOPPING = 6;
    • Field Detail

      • DESTINATION_ENUM_UNSPECIFIED_VALUE

        public static final int DESTINATION_ENUM_UNSPECIFIED_VALUE
         Not specified.
         
        DESTINATION_ENUM_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • DISPLAY_ADS_VALUE

        public static final int DISPLAY_ADS_VALUE
         [Display ads](https://support.google.com/merchants/answer/6069387).
         
        DISPLAY_ADS = 2;
        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/3057972).
         
        LOCAL_INVENTORY_ADS = 3;
        See Also:
        Constant Field Values
      • FREE_LISTINGS_VALUE

        public static final int FREE_LISTINGS_VALUE
         [Free listings](https://support.google.com/merchants/answer/9199328).
         
        FREE_LISTINGS = 4;
        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 = 5;
        See Also:
        Constant Field Values
      • YOUTUBE_SHOPPING_VALUE

        public static final int YOUTUBE_SHOPPING_VALUE
         [YouTube Shopping](https://support.google.com/merchants/answer/12362804).
         
        YOUTUBE_SHOPPING = 6;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Destination.DestinationEnum[] 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 (Destination.DestinationEnum c : Destination.DestinationEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Destination.DestinationEnum 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 Destination.DestinationEnum 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 Destination.DestinationEnum 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 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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null