Enum SlotEnum.Slot
- java.lang.Object
-
- java.lang.Enum<SlotEnum.Slot>
-
- com.google.ads.googleads.v10.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.v10.enums.SlotEnum.Slot
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENTGoogle Display Network.MIXEDCross-network.SEARCH_OTHERGoogle search: Other.SEARCH_PARTNER_OTHERSearch partners: Other.SEARCH_PARTNER_TOPSearch partners: Top.SEARCH_SIDEGoogle search: Side.SEARCH_TOPGoogle search: Top.UNKNOWNThe value is unknown in this version.UNRECOGNIZEDUNSPECIFIEDNot specified.
-
Field Summary
Fields Modifier and Type Field Description static intCONTENT_VALUEGoogle Display Network.static intMIXED_VALUECross-network.static intSEARCH_OTHER_VALUEGoogle search: Other.static intSEARCH_PARTNER_OTHER_VALUESearch partners: Other.static intSEARCH_PARTNER_TOP_VALUESearch partners: Top.static intSEARCH_SIDE_VALUEGoogle search: Side.static intSEARCH_TOP_VALUEGoogle search: Top.static intUNKNOWN_VALUEThe value is unknown in this version.static intUNSPECIFIED_VALUENot specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SlotEnum.SlotforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<SlotEnum.Slot>internalGetValueMap()static SlotEnum.SlotvalueOf(int value)Deprecated.static SlotEnum.SlotvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static SlotEnum.SlotvalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-