Class 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 Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
      • clear

        public ThriftProxy.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
      • getDefaultInstanceForType

        public ThriftProxy getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ThriftProxy build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ThriftProxy buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ThriftProxy.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
      • setField

        public ThriftProxy.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                            Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
      • clearField

        public ThriftProxy.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
      • clearOneof

        public ThriftProxy.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
      • setRepeatedField

        public ThriftProxy.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    int index,
                                                    Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
      • addRepeatedField

        public ThriftProxy.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
      • mergeFrom

        public ThriftProxy.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ThriftProxy.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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:
        getTransportValue in interface ThriftProxyOrBuilder
        Returns:
        The enum numeric value on the wire for transport.
      • setTransportValue

        public ThriftProxy.Builder setTransportValue​(int value)
         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

        public 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) = { ... }
        Specified by:
        getTransport in interface ThriftProxyOrBuilder
        Returns:
        The transport.
      • setTransport

        public ThriftProxy.Builder setTransport​(TransportType value)
         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

        public ThriftProxy.Builder 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:
        getProtocolValue in interface ThriftProxyOrBuilder
        Returns:
        The enum numeric value on the wire for protocol.
      • setProtocolValue

        public ThriftProxy.Builder setProtocolValue​(int value)
         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

        public 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) = { ... }
        Specified by:
        getProtocol in interface ThriftProxyOrBuilder
        Returns:
        The protocol.
      • setProtocol

        public ThriftProxy.Builder setProtocol​(ProtocolType value)
         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

        public ThriftProxy.Builder 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

        public String getStatPrefix()
         The human readable prefix to use when emitting statistics.
         
        string stat_prefix = 1 [(.validate.rules) = { ... }
        Specified by:
        getStatPrefix in interface ThriftProxyOrBuilder
        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:
        getStatPrefixBytes in interface ThriftProxyOrBuilder
        Returns:
        The bytes for statPrefix.
      • setStatPrefix

        public ThriftProxy.Builder setStatPrefix​(String value)
         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

        public ThriftProxy.Builder clearStatPrefix()
         The human readable prefix to use when emitting statistics.
         
        string stat_prefix = 1 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setStatPrefixBytes

        public ThriftProxy.Builder setStatPrefixBytes​(com.google.protobuf.ByteString value)
         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:
        hasRouteConfig in interface ThriftProxyOrBuilder
        Returns:
        Whether the routeConfig field is set.
      • getRouteConfig

        public 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) = { ... }
        Specified by:
        getRouteConfig in interface ThriftProxyOrBuilder
        Returns:
        The routeConfig.
      • setRouteConfig

        public ThriftProxy.Builder setRouteConfig​(RouteConfiguration value)
         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

        public ThriftProxy.Builder setRouteConfig​(RouteConfiguration.Builder builderForValue)
         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

        public ThriftProxy.Builder mergeRouteConfig​(RouteConfiguration value)
         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

        public ThriftProxy.Builder 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

        public RouteConfiguration.Builder 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

        public 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) = { ... }
        Specified by:
        getRouteConfigOrBuilder in interface ThriftProxyOrBuilder
      • 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:
        hasTrds in interface ThriftProxyOrBuilder
        Returns:
        Whether the trds field is set.
      • getTrds

        public 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) = { ... }
        Specified by:
        getTrds in interface ThriftProxyOrBuilder
        Returns:
        The trds.
      • setTrds

        public ThriftProxy.Builder setTrds​(Trds value)
         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

        public ThriftProxy.Builder setTrds​(Trds.Builder builderForValue)
         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

        public ThriftProxy.Builder mergeTrds​(Trds value)
         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

        public ThriftProxy.Builder 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

        public Trds.Builder 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

        public 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) = { ... }
        Specified by:
        getTrdsOrBuilder in interface ThriftProxyOrBuilder
      • getThriftFiltersList

        public 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;
        Specified by:
        getThriftFiltersList in interface ThriftProxyOrBuilder
      • 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:
        getThriftFiltersCount in interface ThriftProxyOrBuilder
      • getThriftFilters

        public 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;
        Specified by:
        getThriftFilters in interface ThriftProxyOrBuilder
      • setThriftFilters

        public ThriftProxy.Builder setThriftFilters​(int index,
                                                    ThriftFilter value)
         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

        public ThriftProxy.Builder 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. 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

        public ThriftProxy.Builder addThriftFilters​(ThriftFilter value)
         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

        public ThriftProxy.Builder addThriftFilters​(int index,
                                                    ThriftFilter value)
         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

        public ThriftProxy.Builder addThriftFilters​(ThriftFilter.Builder builderForValue)
         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

        public ThriftProxy.Builder 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. 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

        public ThriftProxy.Builder addAllThriftFilters​(Iterable<? extends ThriftFilter> values)
         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

        public ThriftProxy.Builder 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

        public ThriftProxy.Builder removeThriftFilters​(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;
      • getThriftFiltersBuilder

        public ThriftFilter.Builder getThriftFiltersBuilder​(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;
      • getThriftFiltersOrBuilder

        public 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;
        Specified by:
        getThriftFiltersOrBuilder in interface ThriftProxyOrBuilder
      • getThriftFiltersOrBuilderList

        public 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;
        Specified by:
        getThriftFiltersOrBuilderList in interface ThriftProxyOrBuilder
      • addThriftFiltersBuilder

        public ThriftFilter.Builder 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

        public ThriftFilter.Builder addThriftFiltersBuilder​(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;
      • getThriftFiltersBuilderList

        public List<ThriftFilter.Builder> 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:
        getPayloadPassthrough in interface ThriftProxyOrBuilder
        Returns:
        The payloadPassthrough.
      • setPayloadPassthrough

        public ThriftProxy.Builder setPayloadPassthrough​(boolean value)
         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

        public ThriftProxy.Builder 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:
        hasMaxRequestsPerConnection in interface ThriftProxyOrBuilder
        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:
        getMaxRequestsPerConnection in interface ThriftProxyOrBuilder
        Returns:
        The maxRequestsPerConnection.
      • setMaxRequestsPerConnection

        public ThriftProxy.Builder setMaxRequestsPerConnection​(com.google.protobuf.UInt32Value value)
         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

        public ThriftProxy.Builder mergeMaxRequestsPerConnection​(com.google.protobuf.UInt32Value value)
         Optional maximum requests for a single downstream connection. If not specified, there is no limit.
         
        .google.protobuf.UInt32Value max_requests_per_connection = 7;
      • clearMaxRequestsPerConnection

        public ThriftProxy.Builder 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:
        getMaxRequestsPerConnectionOrBuilder in interface ThriftProxyOrBuilder
      • getAccessLogList

        public List<AccessLog> 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:
        getAccessLogList in interface ThriftProxyOrBuilder
      • 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:
        getAccessLogCount in interface ThriftProxyOrBuilder
      • getAccessLog

        public AccessLog getAccessLog​(int index)
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by Thrift proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;
        Specified by:
        getAccessLog in interface ThriftProxyOrBuilder
      • setAccessLog

        public ThriftProxy.Builder setAccessLog​(int index,
                                                AccessLog value)
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by Thrift proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;
      • setAccessLog

        public ThriftProxy.Builder setAccessLog​(int index,
                                                AccessLog.Builder builderForValue)
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by Thrift proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;
      • addAccessLog

        public ThriftProxy.Builder addAccessLog​(AccessLog value)
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by Thrift proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;
      • addAccessLog

        public ThriftProxy.Builder addAccessLog​(int index,
                                                AccessLog value)
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by Thrift proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;
      • addAccessLog

        public ThriftProxy.Builder addAccessLog​(AccessLog.Builder builderForValue)
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by Thrift proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;
      • addAccessLog

        public ThriftProxy.Builder addAccessLog​(int index,
                                                AccessLog.Builder builderForValue)
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by Thrift proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;
      • addAllAccessLog

        public ThriftProxy.Builder addAllAccessLog​(Iterable<? extends AccessLog> values)
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by Thrift proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;
      • clearAccessLog

        public ThriftProxy.Builder clearAccessLog()
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by Thrift proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;
      • removeAccessLog

        public ThriftProxy.Builder removeAccessLog​(int index)
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by Thrift proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;
      • getAccessLogBuilder

        public AccessLog.Builder getAccessLogBuilder​(int index)
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by Thrift proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;
      • getAccessLogOrBuilder

        public AccessLogOrBuilder getAccessLogOrBuilder​(int index)
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by Thrift proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;
        Specified by:
        getAccessLogOrBuilder in interface ThriftProxyOrBuilder
      • addAccessLogBuilder

        public AccessLog.Builder addAccessLogBuilder()
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by Thrift proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;
      • addAccessLogBuilder

        public AccessLog.Builder addAccessLogBuilder​(int index)
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by Thrift proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 9;
      • getAccessLogBuilderList

        public List<AccessLog.Builder> 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:
        getHeaderKeysPreserveCase in interface ThriftProxyOrBuilder
        Returns:
        The headerKeysPreserveCase.
      • setHeaderKeysPreserveCase

        public ThriftProxy.Builder 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. 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

        public ThriftProxy.Builder 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:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>
      • mergeUnknownFields

        public final ThriftProxy.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxy.Builder>