public static enum TunnelServiceApi.TunnelType extends Enum<TunnelServiceApi.TunnelType> implements com.google.protobuf.ProtocolMessageEnum
| Enum Constant and Description |
|---|
BaseAndStream |
BaseData |
Stream |
| Modifier and Type | Field and Description |
|---|---|
static int |
BaseAndStream_VALUE |
static int |
BaseData_VALUE |
static int |
Stream_VALUE |
| Modifier and Type | Method and Description |
|---|---|
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<TunnelServiceApi.TunnelType> |
internalGetValueMap() |
static TunnelServiceApi.TunnelType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TunnelServiceApi.TunnelType |
valueOf(int value) |
static TunnelServiceApi.TunnelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TunnelServiceApi.TunnelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TunnelServiceApi.TunnelType BaseData
public static final TunnelServiceApi.TunnelType Stream
public static final TunnelServiceApi.TunnelType BaseAndStream
public static final int BaseData_VALUE
public static final int Stream_VALUE
public static final int BaseAndStream_VALUE
public static TunnelServiceApi.TunnelType[] values()
for (TunnelServiceApi.TunnelType c : TunnelServiceApi.TunnelType.values()) System.out.println(c);
public static TunnelServiceApi.TunnelType 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.ProtocolMessageEnumpublic static TunnelServiceApi.TunnelType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<TunnelServiceApi.TunnelType> 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 TunnelServiceApi.TunnelType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024. All Rights Reserved.