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 com.google.protobuf.UInt32ValuegetMaxRequestsPerConnection()Optional maximum requests for a single downstream connection.com.google.protobuf.UInt32ValueOrBuildergetMaxRequestsPerConnectionOrBuilder()Optional maximum requests for a single downstream connection.booleangetPayloadPassthrough()If set to true, Envoy will try to skip decode data after metadata in the Thrift message.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.TrdsgetTrds()Use xDS to fetch the route configuration.TrdsOrBuildergetTrdsOrBuilder()Use xDS to fetch the route configuration.booleanhasMaxRequestsPerConnection()Optional maximum requests for a single downstream connection.booleanhasRouteConfig()The route table for the connection manager is static and is specified in this property.booleanhasTrds()Use xDS to fetch the route configuration.-
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_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`.
.envoy.extensions.filters.network.thrift_proxy.v3.TransportType transport = 2 [(.validate.rules) = { ... }
-
getTransport
TransportType getTransport()
Supplies the type of transport that the Thrift proxy should use. Defaults to :ref:`AUTO_TRANSPORT<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`.
.envoy.extensions.filters.network.thrift_proxy.v3.TransportType transport = 2 [(.validate.rules) = { ... }
-
getProtocolValue
int getProtocolValue()
Supplies the type of protocol that the Thrift proxy should use. Defaults to :ref:`AUTO_PROTOCOL<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`.
.envoy.extensions.filters.network.thrift_proxy.v3.ProtocolType protocol = 3 [(.validate.rules) = { ... }
-
getProtocol
ProtocolType getProtocol()
Supplies the type of protocol that the Thrift proxy should use. Defaults to :ref:`AUTO_PROTOCOL<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`.
.envoy.extensions.filters.network.thrift_proxy.v3.ProtocolType protocol = 3 [(.validate.rules) = { ... }
-
getStatPrefix
String getStatPrefix()
The human readable prefix to use when emitting statistics.
string stat_prefix = 1 [(.validate.rules) = { ... }
-
getStatPrefixBytes
com.google.protobuf.ByteString getStatPrefixBytes()
The human readable prefix to use when emitting statistics.
string stat_prefix = 1 [(.validate.rules) = { ... }
-
hasRouteConfig
boolean hasRouteConfig()
The route table for the connection manager is static and is specified in this property. It is invalid to define both *route_config* and *trds*.
.envoy.extensions.filters.network.thrift_proxy.v3.RouteConfiguration route_config = 4 [(.udpa.annotations.field_migrate) = { ... }
-
getRouteConfig
RouteConfiguration getRouteConfig()
The route table for the connection manager is static and is specified in this property. It is invalid to define both *route_config* and *trds*.
.envoy.extensions.filters.network.thrift_proxy.v3.RouteConfiguration route_config = 4 [(.udpa.annotations.field_migrate) = { ... }
-
getRouteConfigOrBuilder
RouteConfigurationOrBuilder getRouteConfigOrBuilder()
The route table for the connection manager is static and is specified in this property. It is invalid to define both *route_config* and *trds*.
.envoy.extensions.filters.network.thrift_proxy.v3.RouteConfiguration route_config = 4 [(.udpa.annotations.field_migrate) = { ... }
-
hasTrds
boolean hasTrds()
Use xDS to fetch the route configuration. It is invalid to define both *route_config* and *trds*.
.envoy.extensions.filters.network.thrift_proxy.v3.Trds trds = 8 [(.udpa.annotations.field_migrate) = { ... }
-
getTrds
Trds getTrds()
Use xDS to fetch the route configuration. It is invalid to define both *route_config* and *trds*.
.envoy.extensions.filters.network.thrift_proxy.v3.Trds trds = 8 [(.udpa.annotations.field_migrate) = { ... }
-
getTrdsOrBuilder
TrdsOrBuilder getTrdsOrBuilder()
Use xDS to fetch the route configuration. It is invalid to define both *route_config* and *trds*.
.envoy.extensions.filters.network.thrift_proxy.v3.Trds trds = 8 [(.udpa.annotations.field_migrate) = { ... }
-
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. [#extension-category: envoy.thrift_proxy.filters]
repeated .envoy.extensions.filters.network.thrift_proxy.v3.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. [#extension-category: envoy.thrift_proxy.filters]
repeated .envoy.extensions.filters.network.thrift_proxy.v3.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. [#extension-category: envoy.thrift_proxy.filters]
repeated .envoy.extensions.filters.network.thrift_proxy.v3.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. [#extension-category: envoy.thrift_proxy.filters]
repeated .envoy.extensions.filters.network.thrift_proxy.v3.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. [#extension-category: envoy.thrift_proxy.filters]
repeated .envoy.extensions.filters.network.thrift_proxy.v3.ThriftFilter thrift_filters = 5;
-
getPayloadPassthrough
boolean getPayloadPassthrough()
If set to true, Envoy will try to skip decode data after metadata in the Thrift message. This mode will only work if the upstream and downstream protocols are the same and the transports are Framed or Header, and the protocol is not Twitter. Otherwise Envoy will fallback to decode the data.
bool payload_passthrough = 6;
-
hasMaxRequestsPerConnection
boolean hasMaxRequestsPerConnection()
Optional maximum requests for a single downstream connection. If not specified, there is no limit.
.google.protobuf.UInt32Value max_requests_per_connection = 7;
-
getMaxRequestsPerConnection
com.google.protobuf.UInt32Value getMaxRequestsPerConnection()
Optional maximum requests for a single downstream connection. If not specified, there is no limit.
.google.protobuf.UInt32Value max_requests_per_connection = 7;
-
getMaxRequestsPerConnectionOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getMaxRequestsPerConnectionOrBuilder()
Optional maximum requests for a single downstream connection. If not specified, there is no limit.
.google.protobuf.UInt32Value max_requests_per_connection = 7;
-
-