public static enum ModelServerConfigOuterClass.ModelServerConfig.ConfigCase extends java.lang.Enum<ModelServerConfigOuterClass.ModelServerConfig.ConfigCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
CONFIG_NOT_SET |
CUSTOM_MODEL_CONFIG |
MODEL_CONFIG_LIST |
| Modifier and Type | Method and Description |
|---|---|
static ModelServerConfigOuterClass.ModelServerConfig.ConfigCase |
forNumber(int value) |
int |
getNumber() |
static ModelServerConfigOuterClass.ModelServerConfig.ConfigCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ModelServerConfigOuterClass.ModelServerConfig.ConfigCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModelServerConfigOuterClass.ModelServerConfig.ConfigCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelServerConfigOuterClass.ModelServerConfig.ConfigCase MODEL_CONFIG_LIST
public static final ModelServerConfigOuterClass.ModelServerConfig.ConfigCase CUSTOM_MODEL_CONFIG
public static final ModelServerConfigOuterClass.ModelServerConfig.ConfigCase CONFIG_NOT_SET
public static ModelServerConfigOuterClass.ModelServerConfig.ConfigCase[] values()
for (ModelServerConfigOuterClass.ModelServerConfig.ConfigCase c : ModelServerConfigOuterClass.ModelServerConfig.ConfigCase.values()) System.out.println(c);
public static ModelServerConfigOuterClass.ModelServerConfig.ConfigCase 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 null@Deprecated public static ModelServerConfigOuterClass.ModelServerConfig.ConfigCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static ModelServerConfigOuterClass.ModelServerConfig.ConfigCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite