Class ThriftProxy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
io.envoyproxy.envoy.extensions.filters.network.thrift_proxy.v3.ThriftProxy.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ThriftProxyOrBuilder,Cloneable
- Enclosing class:
- ThriftProxy
public static final class ThriftProxy.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
implements ThriftProxyOrBuilder
[#next-free-field: 11]Protobuf type
envoy.extensions.filters.network.thrift_proxy.v3.ThriftProxy-
Method Summary
Modifier and TypeMethodDescriptionaddAccessLog(int index, AccessLog value) Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.addAccessLog(int index, AccessLog.Builder builderForValue) Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.addAccessLog(AccessLog value) Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.addAccessLog(AccessLog.Builder builderForValue) Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.addAccessLogBuilder(int index) Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.addAllAccessLog(Iterable<? extends AccessLog> values) Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.addAllThriftFilters(Iterable<? extends ThriftFilter> values) A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addThriftFilters(int index, ThriftFilter value) A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.addThriftFilters(int index, ThriftFilter.Builder builderForValue) A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.addThriftFilters(ThriftFilter value) A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.addThriftFilters(ThriftFilter.Builder builderForValue) A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.addThriftFiltersBuilder(int index) A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.build()clear()Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) If set to true, Envoy will preserve the case of Thrift header keys instead of serializing them to lower case as per the default behavior.Optional maximum requests for a single downstream connection.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) If set to true, Envoy will try to skip decode data after metadata in the Thrift message.Supplies the type of protocol that the Thrift proxy should use.The route table for the connection manager is static and is specified in this property.The human readable prefix to use when emitting statistics.A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.Supplies the type of transport that the Thrift proxy should use.Use xDS to fetch the route configuration.clone()getAccessLog(int index) Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.getAccessLogBuilder(int index) Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.intConfiguration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.getAccessLogOrBuilder(int index) Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.List<? extends AccessLogOrBuilder>Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIf set to true, Envoy will preserve the case of Thrift header keys instead of serializing them to lower case as per the default behavior.com.google.protobuf.UInt32ValueOptional maximum requests for a single downstream connection.com.google.protobuf.UInt32Value.BuilderOptional maximum requests for a single downstream connection.com.google.protobuf.UInt32ValueOrBuilderOptional maximum requests for a single downstream connection.booleanIf set to true, Envoy will try to skip decode data after metadata in the Thrift message.Supplies the type of protocol that the Thrift proxy should use.intSupplies the type of protocol that the Thrift proxy should use.The route table for the connection manager is static and is specified in this property.The route table for the connection manager is static and is specified in this property.The route table for the connection manager is static and is specified in this property.The human readable prefix to use when emitting statistics.com.google.protobuf.ByteStringThe human readable prefix to use when emitting statistics.getThriftFilters(int index) A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.getThriftFiltersBuilder(int index) A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.intA list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.getThriftFiltersOrBuilder(int index) A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.List<? extends ThriftFilterOrBuilder>A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.Supplies the type of transport that the Thrift proxy should use.intSupplies the type of transport that the Thrift proxy should use.getTrds()Use xDS to fetch the route configuration.Use xDS to fetch the route configuration.Use xDS to fetch the route configuration.booleanOptional maximum requests for a single downstream connection.booleanThe route table for the connection manager is static and is specified in this property.booleanhasTrds()Use xDS to fetch the route configuration.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ThriftProxy other) mergeMaxRequestsPerConnection(com.google.protobuf.UInt32Value value) Optional maximum requests for a single downstream connection.The route table for the connection manager is static and is specified in this property.Use xDS to fetch the route configuration.final ThriftProxy.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeAccessLog(int index) Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.removeThriftFilters(int index) A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.setAccessLog(int index, AccessLog value) Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.setAccessLog(int index, AccessLog.Builder builderForValue) Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.setHeaderKeysPreserveCase(boolean value) If set to true, Envoy will preserve the case of Thrift header keys instead of serializing them to lower case as per the default behavior.setMaxRequestsPerConnection(com.google.protobuf.UInt32Value value) Optional maximum requests for a single downstream connection.setMaxRequestsPerConnection(com.google.protobuf.UInt32Value.Builder builderForValue) Optional maximum requests for a single downstream connection.setPayloadPassthrough(boolean value) If set to true, Envoy will try to skip decode data after metadata in the Thrift message.setProtocol(ProtocolType value) Supplies the type of protocol that the Thrift proxy should use.setProtocolValue(int value) Supplies the type of protocol that the Thrift proxy should use.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRouteConfig(RouteConfiguration value) The route table for the connection manager is static and is specified in this property.setRouteConfig(RouteConfiguration.Builder builderForValue) The route table for the connection manager is static and is specified in this property.setStatPrefix(String value) The human readable prefix to use when emitting statistics.setStatPrefixBytes(com.google.protobuf.ByteString value) The human readable prefix to use when emitting statistics.setThriftFilters(int index, ThriftFilter value) A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.setThriftFilters(int index, ThriftFilter.Builder builderForValue) A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.setTransport(TransportType value) Supplies the type of transport that the Thrift proxy should use.setTransportValue(int value) Supplies the type of transport that the Thrift proxy should use.Use xDS to fetch the route configuration.setTrds(Trds.Builder builderForValue) Use xDS to fetch the route configuration.final ThriftProxy.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
-
setField
public ThriftProxy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
-
setRepeatedField
public ThriftProxy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
-
addRepeatedField
public ThriftProxy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ThriftProxy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
-
mergeFrom
public ThriftProxy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ThriftProxy.Builder>- Throws:
IOException
-
getTransportValue
public 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) = { ... }- Specified by:
getTransportValuein interfaceThriftProxyOrBuilder- Returns:
- The enum numeric value on the wire for transport.
-
setTransportValue
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) = { ... }- Parameters:
value- The enum numeric value on the wire for transport to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
getTransportin interfaceThriftProxyOrBuilder- Returns:
- The transport.
-
setTransport
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) = { ... }- Parameters:
value- The transport to set.- Returns:
- This builder for chaining.
-
clearTransport
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) = { ... }- Returns:
- This builder for chaining.
-
getProtocolValue
public 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) = { ... }- Specified by:
getProtocolValuein interfaceThriftProxyOrBuilder- Returns:
- The enum numeric value on the wire for protocol.
-
setProtocolValue
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) = { ... }- Parameters:
value- The enum numeric value on the wire for protocol to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
getProtocolin interfaceThriftProxyOrBuilder- Returns:
- The protocol.
-
setProtocol
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) = { ... }- Parameters:
value- The protocol to set.- Returns:
- This builder for chaining.
-
clearProtocol
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) = { ... }- Returns:
- This builder for chaining.
-
getStatPrefix
The human readable prefix to use when emitting statistics.
string stat_prefix = 1 [(.validate.rules) = { ... }- Specified by:
getStatPrefixin interfaceThriftProxyOrBuilder- Returns:
- The statPrefix.
-
getStatPrefixBytes
public com.google.protobuf.ByteString getStatPrefixBytes()The human readable prefix to use when emitting statistics.
string stat_prefix = 1 [(.validate.rules) = { ... }- Specified by:
getStatPrefixBytesin interfaceThriftProxyOrBuilder- Returns:
- The bytes for statPrefix.
-
setStatPrefix
The human readable prefix to use when emitting statistics.
string stat_prefix = 1 [(.validate.rules) = { ... }- Parameters:
value- The statPrefix to set.- Returns:
- This builder for chaining.
-
clearStatPrefix
The human readable prefix to use when emitting statistics.
string stat_prefix = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setStatPrefixBytes
The human readable prefix to use when emitting statistics.
string stat_prefix = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for statPrefix to set.- Returns:
- This builder for chaining.
-
hasRouteConfig
public 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) = { ... }- Specified by:
hasRouteConfigin interfaceThriftProxyOrBuilder- Returns:
- Whether the routeConfig field is set.
-
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) = { ... }- Specified by:
getRouteConfigin interfaceThriftProxyOrBuilder- Returns:
- The routeConfig.
-
setRouteConfig
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) = { ... } -
setRouteConfig
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) = { ... } -
mergeRouteConfig
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) = { ... } -
clearRouteConfig
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) = { ... } -
getRouteConfigBuilder
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
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) = { ... }- Specified by:
getRouteConfigOrBuilderin interfaceThriftProxyOrBuilder
-
hasTrds
public 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) = { ... }- Specified by:
hasTrdsin interfaceThriftProxyOrBuilder- Returns:
- Whether the trds field is set.
-
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) = { ... }- Specified by:
getTrdsin interfaceThriftProxyOrBuilder- Returns:
- The trds.
-
setTrds
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) = { ... } -
setTrds
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) = { ... } -
mergeTrds
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) = { ... } -
clearTrds
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) = { ... } -
getTrdsBuilder
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
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) = { ... }- Specified by:
getTrdsOrBuilderin interfaceThriftProxyOrBuilder
-
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;- Specified by:
getThriftFiltersListin interfaceThriftProxyOrBuilder
-
getThriftFiltersCount
public 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;- Specified by:
getThriftFiltersCountin interfaceThriftProxyOrBuilder
-
getThriftFilters
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;- Specified by:
getThriftFiltersin interfaceThriftProxyOrBuilder
-
setThriftFilters
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; -
setThriftFilters
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; -
addThriftFilters
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; -
addThriftFilters
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; -
addThriftFilters
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; -
addThriftFilters
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; -
addAllThriftFilters
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; -
clearThriftFilters
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; -
removeThriftFilters
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; -
getThriftFiltersBuilder
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
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;- Specified by:
getThriftFiltersOrBuilderin interfaceThriftProxyOrBuilder
-
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;- Specified by:
getThriftFiltersOrBuilderListin interfaceThriftProxyOrBuilder
-
addThriftFiltersBuilder
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; -
addThriftFiltersBuilder
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; -
getThriftFiltersBuilderList
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
public 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;- Specified by:
getPayloadPassthroughin interfaceThriftProxyOrBuilder- Returns:
- The payloadPassthrough.
-
setPayloadPassthrough
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;- Parameters:
value- The payloadPassthrough to set.- Returns:
- This builder for chaining.
-
clearPayloadPassthrough
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;- Returns:
- This builder for chaining.
-
hasMaxRequestsPerConnection
public 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;- Specified by:
hasMaxRequestsPerConnectionin interfaceThriftProxyOrBuilder- Returns:
- Whether the maxRequestsPerConnection field is set.
-
getMaxRequestsPerConnection
public 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;- Specified by:
getMaxRequestsPerConnectionin interfaceThriftProxyOrBuilder- Returns:
- The maxRequestsPerConnection.
-
setMaxRequestsPerConnection
Optional maximum requests for a single downstream connection. If not specified, there is no limit.
.google.protobuf.UInt32Value max_requests_per_connection = 7; -
setMaxRequestsPerConnection
public ThriftProxy.Builder setMaxRequestsPerConnection(com.google.protobuf.UInt32Value.Builder builderForValue) Optional maximum requests for a single downstream connection. If not specified, there is no limit.
.google.protobuf.UInt32Value max_requests_per_connection = 7; -
mergeMaxRequestsPerConnection
Optional maximum requests for a single downstream connection. If not specified, there is no limit.
.google.protobuf.UInt32Value max_requests_per_connection = 7; -
clearMaxRequestsPerConnection
Optional maximum requests for a single downstream connection. If not specified, there is no limit.
.google.protobuf.UInt32Value max_requests_per_connection = 7; -
getMaxRequestsPerConnectionBuilder
public com.google.protobuf.UInt32Value.Builder getMaxRequestsPerConnectionBuilder()Optional maximum requests for a single downstream connection. If not specified, there is no limit.
.google.protobuf.UInt32Value max_requests_per_connection = 7; -
getMaxRequestsPerConnectionOrBuilder
public 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;- Specified by:
getMaxRequestsPerConnectionOrBuilderin interfaceThriftProxyOrBuilder
-
getAccessLogList
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;- Specified by:
getAccessLogListin interfaceThriftProxyOrBuilder
-
getAccessLogCount
public int getAccessLogCount()Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;- Specified by:
getAccessLogCountin interfaceThriftProxyOrBuilder
-
getAccessLog
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;- Specified by:
getAccessLogin interfaceThriftProxyOrBuilder
-
setAccessLog
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9; -
setAccessLog
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9; -
addAccessLog
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9; -
addAccessLog
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9; -
addAccessLog
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9; -
addAccessLog
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9; -
addAllAccessLog
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9; -
clearAccessLog
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9; -
removeAccessLog
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9; -
getAccessLogBuilder
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9; -
getAccessLogOrBuilder
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;- Specified by:
getAccessLogOrBuilderin interfaceThriftProxyOrBuilder
-
getAccessLogOrBuilderList
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;- Specified by:
getAccessLogOrBuilderListin interfaceThriftProxyOrBuilder
-
addAccessLogBuilder
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9; -
addAccessLogBuilder
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9; -
getAccessLogBuilderList
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by Thrift proxy.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 9; -
getHeaderKeysPreserveCase
public boolean getHeaderKeysPreserveCase()If set to true, Envoy will preserve the case of Thrift header keys instead of serializing them to lower case as per the default behavior. Note that NUL, CR and LF characters will also be preserved as mandated by the Thrift spec. More info: https://github.com/apache/thrift/commit/e165fa3c85d00cb984f4d9635ed60909a1266ce1.
bool header_keys_preserve_case = 10;- Specified by:
getHeaderKeysPreserveCasein interfaceThriftProxyOrBuilder- Returns:
- The headerKeysPreserveCase.
-
setHeaderKeysPreserveCase
If set to true, Envoy will preserve the case of Thrift header keys instead of serializing them to lower case as per the default behavior. Note that NUL, CR and LF characters will also be preserved as mandated by the Thrift spec. More info: https://github.com/apache/thrift/commit/e165fa3c85d00cb984f4d9635ed60909a1266ce1.
bool header_keys_preserve_case = 10;- Parameters:
value- The headerKeysPreserveCase to set.- Returns:
- This builder for chaining.
-
clearHeaderKeysPreserveCase
If set to true, Envoy will preserve the case of Thrift header keys instead of serializing them to lower case as per the default behavior. Note that NUL, CR and LF characters will also be preserved as mandated by the Thrift spec. More info: https://github.com/apache/thrift/commit/e165fa3c85d00cb984f4d9635ed60909a1266ce1.
bool header_keys_preserve_case = 10;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ThriftProxy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
-
mergeUnknownFields
public final ThriftProxy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
-