public static enum Streaming.Language extends Enum<Streaming.Language> implements com.google.protobuf.ProtocolMessageEnum
ray.streaming.proto.Language| Enum Constant and Description |
|---|
JAVA
JAVA = 0; |
PYTHON
PYTHON = 1; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
JAVA_VALUE
JAVA = 0; |
static int |
PYTHON_VALUE
PYTHON = 1; |
| Modifier and Type | Method and Description |
|---|---|
static Streaming.Language |
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<Streaming.Language> |
internalGetValueMap() |
static Streaming.Language |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Streaming.Language |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Streaming.Language |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Streaming.Language[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Streaming.Language JAVA
JAVA = 0;public static final Streaming.Language PYTHON
PYTHON = 1;public static final Streaming.Language UNRECOGNIZED
public static final int JAVA_VALUE
JAVA = 0;public static final int PYTHON_VALUE
PYTHON = 1;public static Streaming.Language[] values()
for (Streaming.Language c : Streaming.Language.values()) System.out.println(c);
public static Streaming.Language 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 Streaming.Language valueOf(int value)
forNumber(int) instead.public static Streaming.Language forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Streaming.Language> 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 Streaming.Language valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021. All rights reserved.