public static enum ModelServerConfigOuterClass.ModelType extends java.lang.Enum<ModelServerConfigOuterClass.ModelType> implements com.google.protobuf.ProtocolMessageEnum
The type of model. TODO(b/31336131): DEPRECATED.Protobuf enum
tensorflow.serving.ModelType| Enum Constant and Description |
|---|
MODEL_TYPE_UNSPECIFIED
Deprecated.
|
OTHER
Deprecated.
|
TENSORFLOW
Deprecated.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
MODEL_TYPE_UNSPECIFIED_VALUE
MODEL_TYPE_UNSPECIFIED = 0 [deprecated = true]; |
static int |
OTHER_VALUE
OTHER = 2 [deprecated = true]; |
static int |
TENSORFLOW_VALUE
TENSORFLOW = 1 [deprecated = true]; |
| Modifier and Type | Method and Description |
|---|---|
static ModelServerConfigOuterClass.ModelType |
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<ModelServerConfigOuterClass.ModelType> |
internalGetValueMap() |
static ModelServerConfigOuterClass.ModelType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ModelServerConfigOuterClass.ModelType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ModelServerConfigOuterClass.ModelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModelServerConfigOuterClass.ModelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final ModelServerConfigOuterClass.ModelType MODEL_TYPE_UNSPECIFIED
MODEL_TYPE_UNSPECIFIED = 0 [deprecated = true];@Deprecated public static final ModelServerConfigOuterClass.ModelType TENSORFLOW
TENSORFLOW = 1 [deprecated = true];@Deprecated public static final ModelServerConfigOuterClass.ModelType OTHER
OTHER = 2 [deprecated = true];public static final ModelServerConfigOuterClass.ModelType UNRECOGNIZED
public static final int MODEL_TYPE_UNSPECIFIED_VALUE
MODEL_TYPE_UNSPECIFIED = 0 [deprecated = true];public static final int TENSORFLOW_VALUE
TENSORFLOW = 1 [deprecated = true];public static final int OTHER_VALUE
OTHER = 2 [deprecated = true];public static ModelServerConfigOuterClass.ModelType[] values()
for (ModelServerConfigOuterClass.ModelType c : ModelServerConfigOuterClass.ModelType.values()) System.out.println(c);
public static ModelServerConfigOuterClass.ModelType 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 ModelServerConfigOuterClass.ModelType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ModelServerConfigOuterClass.ModelType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ModelServerConfigOuterClass.ModelType> 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 ModelServerConfigOuterClass.ModelType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)