public enum StoreEnvironment extends java.lang.Enum<StoreEnvironment> implements com.google.protobuf.ProtocolMessageEnum
Environment where a purchase/subscription took place,Protobuf enum
nakama.api.StoreEnvironment| Enum Constant and Description |
|---|
PRODUCTION
Production environment.
|
SANDBOX
Sandbox/test environment.
|
UNKNOWN
Unknown environment.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
PRODUCTION_VALUE
Production environment.
|
static int |
SANDBOX_VALUE
Sandbox/test environment.
|
static int |
UNKNOWN_VALUE
Unknown environment.
|
| Modifier and Type | Method and Description |
|---|---|
static StoreEnvironment |
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<StoreEnvironment> |
internalGetValueMap() |
static StoreEnvironment |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StoreEnvironment |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StoreEnvironment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StoreEnvironment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoreEnvironment UNKNOWN
Unknown environment.
UNKNOWN = 0;public static final StoreEnvironment SANDBOX
Sandbox/test environment.
SANDBOX = 1;public static final StoreEnvironment PRODUCTION
Production environment.
PRODUCTION = 2;public static final StoreEnvironment UNRECOGNIZED
public static final int UNKNOWN_VALUE
Unknown environment.
UNKNOWN = 0;public static final int SANDBOX_VALUE
Sandbox/test environment.
SANDBOX = 1;public static final int PRODUCTION_VALUE
Production environment.
PRODUCTION = 2;public static StoreEnvironment[] values()
for (StoreEnvironment c : StoreEnvironment.values()) System.out.println(c);
public static StoreEnvironment valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - 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 StoreEnvironment valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static StoreEnvironment forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<StoreEnvironment> 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 StoreEnvironment valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)