Enum SlotEnum.Slot
- java.lang.Object
-
- java.lang.Enum<SlotEnum.Slot>
-
- com.google.ads.googleads.v13.enums.SlotEnum.Slot
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<SlotEnum.Slot>
- Enclosing class:
- SlotEnum
public static enum SlotEnum.Slot extends java.lang.Enum<SlotEnum.Slot> implements com.google.protobuf.ProtocolMessageEnum
Enumerates possible positions of the Ad.
Protobuf enumgoogle.ads.googleads.v13.enums.SlotEnum.Slot
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENT
Google Display Network.MIXED
Cross-network.SEARCH_OTHER
Google search: Other.SEARCH_PARTNER_OTHER
Search partners: Other.SEARCH_PARTNER_TOP
Search partners: Top.SEARCH_SIDE
Google search: Side.SEARCH_TOP
Google search: Top.UNKNOWN
The value is unknown in this version.UNRECOGNIZED
UNSPECIFIED
Not specified.
-
Field Summary
Fields Modifier and Type Field Description static int
CONTENT_VALUE
Google Display Network.static int
MIXED_VALUE
Cross-network.static int
SEARCH_OTHER_VALUE
Google search: Other.static int
SEARCH_PARTNER_OTHER_VALUE
Search partners: Other.static int
SEARCH_PARTNER_TOP_VALUE
Search partners: Top.static int
SEARCH_SIDE_VALUE
Google search: Side.static int
SEARCH_TOP_VALUE
Google search: Top.static int
UNKNOWN_VALUE
The value is unknown in this version.static int
UNSPECIFIED_VALUE
Not specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SlotEnum.Slot
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<SlotEnum.Slot>
internalGetValueMap()
static SlotEnum.Slot
valueOf(int value)
Deprecated.static SlotEnum.Slot
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static SlotEnum.Slot
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SlotEnum.Slot[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final SlotEnum.Slot UNSPECIFIED
Not specified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final SlotEnum.Slot UNKNOWN
The value is unknown in this version.
UNKNOWN = 1;
-
SEARCH_SIDE
public static final SlotEnum.Slot SEARCH_SIDE
Google search: Side.
SEARCH_SIDE = 2;
-
SEARCH_TOP
public static final SlotEnum.Slot SEARCH_TOP
Google search: Top.
SEARCH_TOP = 3;
-
SEARCH_OTHER
public static final SlotEnum.Slot SEARCH_OTHER
Google search: Other.
SEARCH_OTHER = 4;
-
CONTENT
public static final SlotEnum.Slot CONTENT
Google Display Network.
CONTENT = 5;
-
SEARCH_PARTNER_TOP
public static final SlotEnum.Slot SEARCH_PARTNER_TOP
Search partners: Top.
SEARCH_PARTNER_TOP = 6;
-
SEARCH_PARTNER_OTHER
public static final SlotEnum.Slot SEARCH_PARTNER_OTHER
Search partners: Other.
SEARCH_PARTNER_OTHER = 7;
-
MIXED
public static final SlotEnum.Slot MIXED
Cross-network.
MIXED = 8;
-
UNRECOGNIZED
public static final SlotEnum.Slot UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Not specified.
UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The value is unknown in this version.
UNKNOWN = 1;
- See Also:
- Constant Field Values
-
SEARCH_SIDE_VALUE
public static final int SEARCH_SIDE_VALUE
Google search: Side.
SEARCH_SIDE = 2;
- See Also:
- Constant Field Values
-
SEARCH_TOP_VALUE
public static final int SEARCH_TOP_VALUE
Google search: Top.
SEARCH_TOP = 3;
- See Also:
- Constant Field Values
-
SEARCH_OTHER_VALUE
public static final int SEARCH_OTHER_VALUE
Google search: Other.
SEARCH_OTHER = 4;
- See Also:
- Constant Field Values
-
CONTENT_VALUE
public static final int CONTENT_VALUE
Google Display Network.
CONTENT = 5;
- See Also:
- Constant Field Values
-
SEARCH_PARTNER_TOP_VALUE
public static final int SEARCH_PARTNER_TOP_VALUE
Search partners: Top.
SEARCH_PARTNER_TOP = 6;
- See Also:
- Constant Field Values
-
SEARCH_PARTNER_OTHER_VALUE
public static final int SEARCH_PARTNER_OTHER_VALUE
Search partners: Other.
SEARCH_PARTNER_OTHER = 7;
- See Also:
- Constant Field Values
-
MIXED_VALUE
public static final int MIXED_VALUE
Cross-network.
MIXED = 8;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static SlotEnum.Slot[] 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 (SlotEnum.Slot c : SlotEnum.Slot.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SlotEnum.Slot 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 namejava.lang.NullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static SlotEnum.Slot 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 namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static SlotEnum.Slot 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<SlotEnum.Slot> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static SlotEnum.Slot 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 namejava.lang.NullPointerException
- if the argument is null
-
-