Interface ThriftProtocolOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ThriftProtocolOptions,ThriftProtocolOptions.Builder
public interface ThriftProtocolOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProtocolTypegetProtocol()Supplies the type of protocol that the Thrift proxy should use for upstream connections.intgetProtocolValue()Supplies the type of protocol that the Thrift proxy should use for upstream connections.TransportTypegetTransport()Supplies the type of transport that the Thrift proxy should use for upstream connections.intgetTransportValue()Supplies the type of transport that the Thrift proxy should use for upstream connections.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTransportValue
int getTransportValue()
Supplies the type of transport that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.TransportType.AUTO_TRANSPORT>`, which is the default, causes the proxy to use the same transport as the downstream connection.
.envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType transport = 1 [(.validate.rules) = { ... }- Returns:
- The enum numeric value on the wire for transport.
-
getTransport
TransportType getTransport()
Supplies the type of transport that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.TransportType.AUTO_TRANSPORT>`, which is the default, causes the proxy to use the same transport as the downstream connection.
.envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType transport = 1 [(.validate.rules) = { ... }- Returns:
- The transport.
-
getProtocolValue
int getProtocolValue()
Supplies the type of protocol that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.ProtocolType.AUTO_PROTOCOL>`, which is the default, causes the proxy to use the same protocol as the downstream connection.
.envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType protocol = 2 [(.validate.rules) = { ... }- Returns:
- The enum numeric value on the wire for protocol.
-
getProtocol
ProtocolType getProtocol()
Supplies the type of protocol that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.ProtocolType.AUTO_PROTOCOL>`, which is the default, causes the proxy to use the same protocol as the downstream connection.
.envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType protocol = 2 [(.validate.rules) = { ... }- Returns:
- The protocol.
-
-