public enum TransportType extends Enum<TransportType> implements com.google.protobuf.ProtocolMessageEnum
Thrift transport types supported by Envoy.Protobuf enum
envoy.extensions.filters.network.thrift_proxy.v4alpha.TransportType| Enum Constant and Description |
|---|
AUTO_TRANSPORT
For downstream connections, the Thrift proxy will attempt to determine which transport to use.
|
FRAMED
The Thrift proxy will use the Thrift framed transport.
|
HEADER
The Thrift proxy will assume the client is using the Thrift header transport.
|
UNFRAMED
The Thrift proxy will use the Thrift unframed transport.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTO_TRANSPORT_VALUE
For downstream connections, the Thrift proxy will attempt to determine which transport to use.
|
static int |
FRAMED_VALUE
The Thrift proxy will use the Thrift framed transport.
|
static int |
HEADER_VALUE
The Thrift proxy will assume the client is using the Thrift header transport.
|
static int |
UNFRAMED_VALUE
The Thrift proxy will use the Thrift unframed transport.
|
| Modifier and Type | Method and Description |
|---|---|
static TransportType |
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<TransportType> |
internalGetValueMap() |
static TransportType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransportType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransportType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportType AUTO_TRANSPORT
For downstream connections, the Thrift proxy will attempt to determine which transport to use. For upstream connections, the Thrift proxy will use same transport as the downstream connection.
AUTO_TRANSPORT = 0;public static final TransportType FRAMED
The Thrift proxy will use the Thrift framed transport.
FRAMED = 1;public static final TransportType UNFRAMED
The Thrift proxy will use the Thrift unframed transport.
UNFRAMED = 2;public static final TransportType HEADER
The Thrift proxy will assume the client is using the Thrift header transport.
HEADER = 3;public static final TransportType UNRECOGNIZED
public static final int AUTO_TRANSPORT_VALUE
For downstream connections, the Thrift proxy will attempt to determine which transport to use. For upstream connections, the Thrift proxy will use same transport as the downstream connection.
AUTO_TRANSPORT = 0;public static final int FRAMED_VALUE
The Thrift proxy will use the Thrift framed transport.
FRAMED = 1;public static final int UNFRAMED_VALUE
The Thrift proxy will use the Thrift unframed transport.
UNFRAMED = 2;public static final int HEADER_VALUE
The Thrift proxy will assume the client is using the Thrift header transport.
HEADER = 3;public static TransportType[] values()
for (TransportType c : TransportType.values()) System.out.println(c);
public static TransportType 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 TransportType valueOf(int value)
forNumber(int) instead.public static TransportType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<TransportType> 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 TransportType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.