Enum Class SlotEnum.Slot
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SlotEnum.Slot>,Constable
- Enclosing class:
- SlotEnum
public static enum SlotEnum.Slot
extends Enum<SlotEnum.Slot>
implements com.google.protobuf.ProtocolMessageEnum
Enumerates possible positions of the Ad.Protobuf enum
google.ads.googleads.v18.enums.SlotEnum.Slot-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGoogle Display Network.Cross-network.Google search: Other.Search partners: Other.Search partners: Top.Google search: Side.Google search: Top.The value is unknown in this version.Not specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intGoogle Display Network.static final intCross-network.static final intGoogle search: Other.static final intSearch partners: Other.static final intSearch partners: Top.static final intGoogle search: Side.static final intGoogle search: Top.static final intThe value is unknown in this version.static final intNot specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic SlotEnum.SlotforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SlotEnum.Slot>static SlotEnum.SlotvalueOf(int value) Deprecated.static SlotEnum.SlotvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static SlotEnum.SlotReturns the enum constant of this class with the specified name.static SlotEnum.Slot[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Not specified.
UNSPECIFIED = 0; -
UNKNOWN
The value is unknown in this version.
UNKNOWN = 1; -
SEARCH_SIDE
Google search: Side.
SEARCH_SIDE = 2; -
SEARCH_TOP
Google search: Top.
SEARCH_TOP = 3; -
SEARCH_OTHER
Google search: Other.
SEARCH_OTHER = 4; -
CONTENT
Google Display Network.
CONTENT = 5; -
SEARCH_PARTNER_TOP
Search partners: Top.
SEARCH_PARTNER_TOP = 6; -
SEARCH_PARTNER_OTHER
Search partners: Other.
SEARCH_PARTNER_OTHER = 7; -
MIXED
Cross-network.
MIXED = 8; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUENot specified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe value is unknown in this version.
UNKNOWN = 1;- See Also:
-
SEARCH_SIDE_VALUE
public static final int SEARCH_SIDE_VALUEGoogle search: Side.
SEARCH_SIDE = 2;- See Also:
-
SEARCH_TOP_VALUE
public static final int SEARCH_TOP_VALUEGoogle search: Top.
SEARCH_TOP = 3;- See Also:
-
SEARCH_OTHER_VALUE
public static final int SEARCH_OTHER_VALUEGoogle search: Other.
SEARCH_OTHER = 4;- See Also:
-
CONTENT_VALUE
public static final int CONTENT_VALUEGoogle Display Network.
CONTENT = 5;- See Also:
-
SEARCH_PARTNER_TOP_VALUE
public static final int SEARCH_PARTNER_TOP_VALUESearch partners: Top.
SEARCH_PARTNER_TOP = 6;- See Also:
-
SEARCH_PARTNER_OTHER_VALUE
public static final int SEARCH_PARTNER_OTHER_VALUESearch partners: Other.
SEARCH_PARTNER_OTHER = 7;- See Also:
-
MIXED_VALUE
public static final int MIXED_VALUECross-network.
MIXED = 8;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 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.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-