Interface ThriftProxyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ThriftProxy,ThriftProxy.Builder
public interface ThriftProxyOrBuilder 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.intgetProtocolValue()Supplies the type of protocol that the Thrift proxy should use.RouteConfigurationgetRouteConfig()The route table for the connection manager is static and is specified in this property.RouteConfigurationOrBuildergetRouteConfigOrBuilder()The route table for the connection manager is static and is specified in this property.StringgetStatPrefix()The human readable prefix to use when emitting statistics.com.google.protobuf.ByteStringgetStatPrefixBytes()The human readable prefix to use when emitting statistics.ThriftFiltergetThriftFilters(int index)A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.intgetThriftFiltersCount()A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.List<ThriftFilter>getThriftFiltersList()A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.ThriftFilterOrBuildergetThriftFiltersOrBuilder(int index)A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.List<? extends ThriftFilterOrBuilder>getThriftFiltersOrBuilderList()A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.TransportTypegetTransport()Supplies the type of transport that the Thrift proxy should use.intgetTransportValue()Supplies the type of transport that the Thrift proxy should use.booleanhasRouteConfig()The route table for the connection manager is static and is specified in this property.-
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. Defaults to :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.TransportType.AUTO_TRANSPORT>`.
.envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType transport = 2 [(.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. Defaults to :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.TransportType.AUTO_TRANSPORT>`.
.envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType transport = 2 [(.validate.rules) = { ... }- Returns:
- The transport.
-
getProtocolValue
int getProtocolValue()
Supplies the type of protocol that the Thrift proxy should use. Defaults to :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.ProtocolType.AUTO_PROTOCOL>`.
.envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType protocol = 3 [(.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. Defaults to :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.ProtocolType.AUTO_PROTOCOL>`.
.envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType protocol = 3 [(.validate.rules) = { ... }- Returns:
- The protocol.
-
getStatPrefix
String getStatPrefix()
The human readable prefix to use when emitting statistics.
string stat_prefix = 1 [(.validate.rules) = { ... }- Returns:
- The statPrefix.
-
getStatPrefixBytes
com.google.protobuf.ByteString getStatPrefixBytes()
The human readable prefix to use when emitting statistics.
string stat_prefix = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for statPrefix.
-
hasRouteConfig
boolean hasRouteConfig()
The route table for the connection manager is static and is specified in this property.
.envoy.config.filter.network.thrift_proxy.v2alpha1.RouteConfiguration route_config = 4;- Returns:
- Whether the routeConfig field is set.
-
getRouteConfig
RouteConfiguration getRouteConfig()
The route table for the connection manager is static and is specified in this property.
.envoy.config.filter.network.thrift_proxy.v2alpha1.RouteConfiguration route_config = 4;- Returns:
- The routeConfig.
-
getRouteConfigOrBuilder
RouteConfigurationOrBuilder getRouteConfigOrBuilder()
The route table for the connection manager is static and is specified in this property.
.envoy.config.filter.network.thrift_proxy.v2alpha1.RouteConfiguration route_config = 4;
-
getThriftFiltersList
List<ThriftFilter> getThriftFiltersList()
A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy. Order matters as the filters are processed sequentially. For backwards compatibility, if no thrift_filters are specified, a default Thrift router filter (`envoy.filters.thrift.router`) is used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftFilter thrift_filters = 5;
-
getThriftFilters
ThriftFilter getThriftFilters(int index)
A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy. Order matters as the filters are processed sequentially. For backwards compatibility, if no thrift_filters are specified, a default Thrift router filter (`envoy.filters.thrift.router`) is used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftFilter thrift_filters = 5;
-
getThriftFiltersCount
int getThriftFiltersCount()
A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy. Order matters as the filters are processed sequentially. For backwards compatibility, if no thrift_filters are specified, a default Thrift router filter (`envoy.filters.thrift.router`) is used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftFilter thrift_filters = 5;
-
getThriftFiltersOrBuilderList
List<? extends ThriftFilterOrBuilder> getThriftFiltersOrBuilderList()
A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy. Order matters as the filters are processed sequentially. For backwards compatibility, if no thrift_filters are specified, a default Thrift router filter (`envoy.filters.thrift.router`) is used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftFilter thrift_filters = 5;
-
getThriftFiltersOrBuilder
ThriftFilterOrBuilder getThriftFiltersOrBuilder(int index)
A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy. Order matters as the filters are processed sequentially. For backwards compatibility, if no thrift_filters are specified, a default Thrift router filter (`envoy.filters.thrift.router`) is used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftFilter thrift_filters = 5;
-
-