Enum ServedAssetFieldTypeEnum.ServedAssetFieldType

    • Field Detail

      • UNSPECIFIED_VALUE

        public static final int UNSPECIFIED_VALUE
         No value has been specified.
         
        UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • UNKNOWN_VALUE

        public static final int UNKNOWN_VALUE
         The received value is not known in this version.
        
         This is a response-only value.
         
        UNKNOWN = 1;
        See Also:
        Constant Field Values
      • HEADLINE_1_VALUE

        public static final int HEADLINE_1_VALUE
         The asset is used in headline 1.
         
        HEADLINE_1 = 2;
        See Also:
        Constant Field Values
      • HEADLINE_2_VALUE

        public static final int HEADLINE_2_VALUE
         The asset is used in headline 2.
         
        HEADLINE_2 = 3;
        See Also:
        Constant Field Values
      • HEADLINE_3_VALUE

        public static final int HEADLINE_3_VALUE
         The asset is used in headline 3.
         
        HEADLINE_3 = 4;
        See Also:
        Constant Field Values
      • DESCRIPTION_1_VALUE

        public static final int DESCRIPTION_1_VALUE
         The asset is used in description 1.
         
        DESCRIPTION_1 = 5;
        See Also:
        Constant Field Values
      • DESCRIPTION_2_VALUE

        public static final int DESCRIPTION_2_VALUE
         The asset is used in description 2.
         
        DESCRIPTION_2 = 6;
        See Also:
        Constant Field Values
      • SITELINK_VALUE

        public static final int SITELINK_VALUE
         This asset is used as a sitelink.
         
        SITELINK = 22;
        See Also:
        Constant Field Values
      • CALL_VALUE

        public static final int CALL_VALUE
         This asset is used as a call.
         
        CALL = 23;
        See Also:
        Constant Field Values
      • MOBILE_APP_VALUE

        public static final int MOBILE_APP_VALUE
         This asset is used as a mobile app.
         
        MOBILE_APP = 24;
        See Also:
        Constant Field Values
      • CALLOUT_VALUE

        public static final int CALLOUT_VALUE
         This asset is used as a callout.
         
        CALLOUT = 25;
        See Also:
        Constant Field Values
      • STRUCTURED_SNIPPET_VALUE

        public static final int STRUCTURED_SNIPPET_VALUE
         This asset is used as a structured snippet.
         
        STRUCTURED_SNIPPET = 26;
        See Also:
        Constant Field Values
      • PRICE_VALUE

        public static final int PRICE_VALUE
         This asset is used as a price.
         
        PRICE = 27;
        See Also:
        Constant Field Values
      • PROMOTION_VALUE

        public static final int PROMOTION_VALUE
         This asset is used as a promotion.
         
        PROMOTION = 28;
        See Also:
        Constant Field Values
      • AD_IMAGE_VALUE

        public static final int AD_IMAGE_VALUE
         This asset is used as an image.
         
        AD_IMAGE = 29;
        See Also:
        Constant Field Values
      • LEAD_FORM_VALUE

        public static final int LEAD_FORM_VALUE
         The asset is used as a lead form.
         
        LEAD_FORM = 30;
        See Also:
        Constant Field Values
      • BUSINESS_LOGO_VALUE

        public static final int BUSINESS_LOGO_VALUE
         The asset is used as a business logo.
         
        BUSINESS_LOGO = 31;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static ServedAssetFieldTypeEnum.ServedAssetFieldType 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 ServedAssetFieldTypeEnum.ServedAssetFieldType 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 ServedAssetFieldTypeEnum.ServedAssetFieldType 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 ServedAssetFieldTypeEnum.ServedAssetFieldType 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