public enum FeedType extends Enum<FeedType>
Java class for Feed.Type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Feed.Type">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NONE"/>
<enumeration value="SITELINK"/>
<enumeration value="CALL"/>
<enumeration value="APP"/>
<enumeration value="REVIEW"/>
<enumeration value="AD_CUSTOMIZER"/>
<enumeration value="CALLOUT"/>
<enumeration value="STRUCTURED_SNIPPET"/>
<enumeration value="MESSAGE"/>
<enumeration value="PRICE"/>
<enumeration value="PROMOTION"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AD_CUSTOMIZER
AdCustomizer placeholder typed
|
APP
App placeholder typed
|
CALL
Call placeholder typed
|
CALLOUT
Callout placeholder typed
|
MESSAGE
Message placeholder typed
|
NONE |
PRICE
Price placeholder typed
|
PROMOTION
Promotion placeholder typed
|
REVIEW
Review placeholder typed
|
SITELINK
Sitelink placeholder typed
|
STRUCTURED_SNIPPET
Structured snippets placeholder typed
|
| Modifier and Type | Method and Description |
|---|---|
static FeedType |
fromValue(String v) |
String |
value() |
static FeedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeedType NONE
public static final FeedType SITELINK
public static final FeedType CALL
public static final FeedType APP
public static final FeedType REVIEW
public static final FeedType AD_CUSTOMIZER
public static final FeedType CALLOUT
public static final FeedType STRUCTURED_SNIPPET
public static final FeedType MESSAGE
public static final FeedType PRICE
public static final FeedType PROMOTION
public static FeedType[] values()
for (FeedType c : FeedType.values()) System.out.println(c);
public static FeedType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
Copyright © 2023. All rights reserved.