public static enum OpenrtbCommon.Enums.Inventory.EnvironmentType extends Enum<OpenrtbCommon.Enums.Inventory.EnvironmentType> implements com.google.protobuf.ProtocolMessageEnum
Environment type of the bid request.Protobuf enum
openrtb.Enums.Inventory.EnvironmentType| Enum Constant and Description |
|---|
APP
APP = 1; |
UNKNOWN_ENVIRONMENT_TYPE
UNKNOWN_ENVIRONMENT_TYPE = -1; |
WEB
WEB = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
APP_VALUE
APP = 1; |
static int |
UNKNOWN_ENVIRONMENT_TYPE_VALUE
UNKNOWN_ENVIRONMENT_TYPE = -1; |
static int |
WEB_VALUE
WEB = 0; |
| Modifier and Type | Method and Description |
|---|---|
static OpenrtbCommon.Enums.Inventory.EnvironmentType |
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<OpenrtbCommon.Enums.Inventory.EnvironmentType> |
internalGetValueMap() |
static OpenrtbCommon.Enums.Inventory.EnvironmentType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OpenrtbCommon.Enums.Inventory.EnvironmentType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OpenrtbCommon.Enums.Inventory.EnvironmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenrtbCommon.Enums.Inventory.EnvironmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenrtbCommon.Enums.Inventory.EnvironmentType UNKNOWN_ENVIRONMENT_TYPE
UNKNOWN_ENVIRONMENT_TYPE = -1;public static final OpenrtbCommon.Enums.Inventory.EnvironmentType WEB
WEB = 0;public static final OpenrtbCommon.Enums.Inventory.EnvironmentType APP
APP = 1;public static final int UNKNOWN_ENVIRONMENT_TYPE_VALUE
UNKNOWN_ENVIRONMENT_TYPE = -1;public static final int WEB_VALUE
WEB = 0;public static final int APP_VALUE
APP = 1;public static OpenrtbCommon.Enums.Inventory.EnvironmentType[] values()
for (OpenrtbCommon.Enums.Inventory.EnvironmentType c : OpenrtbCommon.Enums.Inventory.EnvironmentType.values()) System.out.println(c);
public static OpenrtbCommon.Enums.Inventory.EnvironmentType 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 final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static OpenrtbCommon.Enums.Inventory.EnvironmentType valueOf(int value)
forNumber(int) instead.public static OpenrtbCommon.Enums.Inventory.EnvironmentType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<OpenrtbCommon.Enums.Inventory.EnvironmentType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static OpenrtbCommon.Enums.Inventory.EnvironmentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2017. All rights reserved.