public static enum ServiceProviderProto.ServiceContext.ContextCase extends Enum<ServiceProviderProto.ServiceContext.ContextCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
ACCOUNT |
BRAND |
CONTEXT_NOT_SET |
PARTNER |
SUPER_ADMIN |
| Modifier and Type | Method and Description |
|---|---|
static ServiceProviderProto.ServiceContext.ContextCase |
forNumber(int value) |
int |
getNumber() |
static ServiceProviderProto.ServiceContext.ContextCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ServiceProviderProto.ServiceContext.ContextCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceProviderProto.ServiceContext.ContextCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceProviderProto.ServiceContext.ContextCase ACCOUNT
public static final ServiceProviderProto.ServiceContext.ContextCase PARTNER
public static final ServiceProviderProto.ServiceContext.ContextCase SUPER_ADMIN
public static final ServiceProviderProto.ServiceContext.ContextCase BRAND
public static final ServiceProviderProto.ServiceContext.ContextCase CONTEXT_NOT_SET
public static ServiceProviderProto.ServiceContext.ContextCase[] values()
for (ServiceProviderProto.ServiceContext.ContextCase c : ServiceProviderProto.ServiceContext.ContextCase.values()) System.out.println(c);
public static ServiceProviderProto.ServiceContext.ContextCase 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 null@Deprecated public static ServiceProviderProto.ServiceContext.ContextCase valueOf(int value)
forNumber(int) instead.public static ServiceProviderProto.ServiceContext.ContextCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2021. All rights reserved.