Class FilterChain.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<FilterChain.Builder>
io.envoyproxy.envoy.api.v2.listener.FilterChain.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,FilterChainOrBuilder,Cloneable
- Enclosing class:
- FilterChain
public static final class FilterChain.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<FilterChain.Builder>
implements FilterChainOrBuilder
A filter chain wraps a set of match criteria, an option TLS context, a set of filters, and various other parameters. [#next-free-field: 8]Protobuf type
envoy.api.v2.listener.FilterChain-
Method Summary
Modifier and TypeMethodDescriptionaddAllFilters(Iterable<? extends Filter> values) A list of individual network filters that make up the filter chain for connections established with the listener.addFilters(int index, Filter value) A list of individual network filters that make up the filter chain for connections established with the listener.addFilters(int index, Filter.Builder builderForValue) A list of individual network filters that make up the filter chain for connections established with the listener.addFilters(Filter value) A list of individual network filters that make up the filter chain for connections established with the listener.addFilters(Filter.Builder builderForValue) A list of individual network filters that make up the filter chain for connections established with the listener.A list of individual network filters that make up the filter chain for connections established with the listener.addFiltersBuilder(int index) A list of individual network filters that make up the filter chain for connections established with the listener.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The criteria to use when matching a connection to this filter chain.A list of individual network filters that make up the filter chain for connections established with the listener.[#not-implemented-hide:] filter chain metadata.[#not-implemented-hide:] The unique name (or empty) by which this filter chain is known.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Deprecated.Optional custom transport socket implementation to use for downstream connections.Whether the listener should expect a PROXY protocol V1 header on new connections.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe criteria to use when matching a connection to this filter chain.The criteria to use when matching a connection to this filter chain.The criteria to use when matching a connection to this filter chain.getFilters(int index) A list of individual network filters that make up the filter chain for connections established with the listener.getFiltersBuilder(int index) A list of individual network filters that make up the filter chain for connections established with the listener.A list of individual network filters that make up the filter chain for connections established with the listener.intA list of individual network filters that make up the filter chain for connections established with the listener.A list of individual network filters that make up the filter chain for connections established with the listener.getFiltersOrBuilder(int index) A list of individual network filters that make up the filter chain for connections established with the listener.List<? extends FilterOrBuilder>A list of individual network filters that make up the filter chain for connections established with the listener.[#not-implemented-hide:] filter chain metadata.[#not-implemented-hide:] filter chain metadata.[#not-implemented-hide:] filter chain metadata.getName()[#not-implemented-hide:] The unique name (or empty) by which this filter chain is known.com.google.protobuf.ByteString[#not-implemented-hide:] The unique name (or empty) by which this filter chain is known.Deprecated.envoy.api.v2.listener.FilterChain.tls_context is deprecated.Deprecated.Deprecated.Optional custom transport socket implementation to use for downstream connections.Optional custom transport socket implementation to use for downstream connections.Optional custom transport socket implementation to use for downstream connections.com.google.protobuf.BoolValueWhether the listener should expect a PROXY protocol V1 header on new connections.com.google.protobuf.BoolValue.BuilderWhether the listener should expect a PROXY protocol V1 header on new connections.com.google.protobuf.BoolValueOrBuilderWhether the listener should expect a PROXY protocol V1 header on new connections.booleanThe criteria to use when matching a connection to this filter chain.boolean[#not-implemented-hide:] filter chain metadata.booleanDeprecated.envoy.api.v2.listener.FilterChain.tls_context is deprecated.booleanOptional custom transport socket implementation to use for downstream connections.booleanWhether the listener should expect a PROXY protocol V1 header on new connections.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanThe criteria to use when matching a connection to this filter chain.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(FilterChain other) mergeMetadata(Metadata value) [#not-implemented-hide:] filter chain metadata.Deprecated.Optional custom transport socket implementation to use for downstream connections.final FilterChain.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUseProxyProto(com.google.protobuf.BoolValue value) Whether the listener should expect a PROXY protocol V1 header on new connections.removeFilters(int index) A list of individual network filters that make up the filter chain for connections established with the listener.The criteria to use when matching a connection to this filter chain.setFilterChainMatch(FilterChainMatch.Builder builderForValue) The criteria to use when matching a connection to this filter chain.setFilters(int index, Filter value) A list of individual network filters that make up the filter chain for connections established with the listener.setFilters(int index, Filter.Builder builderForValue) A list of individual network filters that make up the filter chain for connections established with the listener.setMetadata(Metadata value) [#not-implemented-hide:] filter chain metadata.setMetadata(Metadata.Builder builderForValue) [#not-implemented-hide:] filter chain metadata.[#not-implemented-hide:] The unique name (or empty) by which this filter chain is known.setNameBytes(com.google.protobuf.ByteString value) [#not-implemented-hide:] The unique name (or empty) by which this filter chain is known.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Deprecated.setTlsContext(DownstreamTlsContext.Builder builderForValue) Deprecated.Optional custom transport socket implementation to use for downstream connections.setTransportSocket(TransportSocket.Builder builderForValue) Optional custom transport socket implementation to use for downstream connections.final FilterChain.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUseProxyProto(com.google.protobuf.BoolValue value) Whether the listener should expect a PROXY protocol V1 header on new connections.setUseProxyProto(com.google.protobuf.BoolValue.Builder builderForValue) Whether the listener should expect a PROXY protocol V1 header on new connections.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<FilterChain.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<FilterChain.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<FilterChain.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<FilterChain.Builder>
-
setField
public FilterChain.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<FilterChain.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterChain.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterChain.Builder>
-
setRepeatedField
public FilterChain.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<FilterChain.Builder>
-
addRepeatedField
public FilterChain.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<FilterChain.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FilterChain.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterChain.Builder>
-
mergeFrom
public FilterChain.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<FilterChain.Builder>- Throws:
IOException
-
hasFilterChainMatch
public boolean hasFilterChainMatch()The criteria to use when matching a connection to this filter chain.
.envoy.api.v2.listener.FilterChainMatch filter_chain_match = 1;- Specified by:
hasFilterChainMatchin interfaceFilterChainOrBuilder- Returns:
- Whether the filterChainMatch field is set.
-
getFilterChainMatch
The criteria to use when matching a connection to this filter chain.
.envoy.api.v2.listener.FilterChainMatch filter_chain_match = 1;- Specified by:
getFilterChainMatchin interfaceFilterChainOrBuilder- Returns:
- The filterChainMatch.
-
setFilterChainMatch
The criteria to use when matching a connection to this filter chain.
.envoy.api.v2.listener.FilterChainMatch filter_chain_match = 1; -
setFilterChainMatch
The criteria to use when matching a connection to this filter chain.
.envoy.api.v2.listener.FilterChainMatch filter_chain_match = 1; -
mergeFilterChainMatch
The criteria to use when matching a connection to this filter chain.
.envoy.api.v2.listener.FilterChainMatch filter_chain_match = 1; -
clearFilterChainMatch
The criteria to use when matching a connection to this filter chain.
.envoy.api.v2.listener.FilterChainMatch filter_chain_match = 1; -
getFilterChainMatchBuilder
The criteria to use when matching a connection to this filter chain.
.envoy.api.v2.listener.FilterChainMatch filter_chain_match = 1; -
getFilterChainMatchOrBuilder
The criteria to use when matching a connection to this filter chain.
.envoy.api.v2.listener.FilterChainMatch filter_chain_match = 1;- Specified by:
getFilterChainMatchOrBuilderin interfaceFilterChainOrBuilder
-
hasTlsContext
Deprecated.envoy.api.v2.listener.FilterChain.tls_context is deprecated. See envoy/api/v2/listener/listener_components.proto;l=180The TLS context for this filter chain. .. attention:: **This field is deprecated**. Use `transport_socket` with name `tls` instead. If both are set, `transport_socket` takes priority.
.envoy.api.v2.auth.DownstreamTlsContext tls_context = 2 [deprecated = true];- Specified by:
hasTlsContextin interfaceFilterChainOrBuilder- Returns:
- Whether the tlsContext field is set.
-
getTlsContext
Deprecated.envoy.api.v2.listener.FilterChain.tls_context is deprecated. See envoy/api/v2/listener/listener_components.proto;l=180The TLS context for this filter chain. .. attention:: **This field is deprecated**. Use `transport_socket` with name `tls` instead. If both are set, `transport_socket` takes priority.
.envoy.api.v2.auth.DownstreamTlsContext tls_context = 2 [deprecated = true];- Specified by:
getTlsContextin interfaceFilterChainOrBuilder- Returns:
- The tlsContext.
-
setTlsContext
Deprecated.The TLS context for this filter chain. .. attention:: **This field is deprecated**. Use `transport_socket` with name `tls` instead. If both are set, `transport_socket` takes priority.
.envoy.api.v2.auth.DownstreamTlsContext tls_context = 2 [deprecated = true]; -
setTlsContext
Deprecated.The TLS context for this filter chain. .. attention:: **This field is deprecated**. Use `transport_socket` with name `tls` instead. If both are set, `transport_socket` takes priority.
.envoy.api.v2.auth.DownstreamTlsContext tls_context = 2 [deprecated = true]; -
mergeTlsContext
Deprecated.The TLS context for this filter chain. .. attention:: **This field is deprecated**. Use `transport_socket` with name `tls` instead. If both are set, `transport_socket` takes priority.
.envoy.api.v2.auth.DownstreamTlsContext tls_context = 2 [deprecated = true]; -
clearTlsContext
Deprecated.The TLS context for this filter chain. .. attention:: **This field is deprecated**. Use `transport_socket` with name `tls` instead. If both are set, `transport_socket` takes priority.
.envoy.api.v2.auth.DownstreamTlsContext tls_context = 2 [deprecated = true]; -
getTlsContextBuilder
Deprecated.The TLS context for this filter chain. .. attention:: **This field is deprecated**. Use `transport_socket` with name `tls` instead. If both are set, `transport_socket` takes priority.
.envoy.api.v2.auth.DownstreamTlsContext tls_context = 2 [deprecated = true]; -
getTlsContextOrBuilder
Deprecated.The TLS context for this filter chain. .. attention:: **This field is deprecated**. Use `transport_socket` with name `tls` instead. If both are set, `transport_socket` takes priority.
.envoy.api.v2.auth.DownstreamTlsContext tls_context = 2 [deprecated = true];- Specified by:
getTlsContextOrBuilderin interfaceFilterChainOrBuilder
-
getFiltersList
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3;- Specified by:
getFiltersListin interfaceFilterChainOrBuilder
-
getFiltersCount
public int getFiltersCount()A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3;- Specified by:
getFiltersCountin interfaceFilterChainOrBuilder
-
getFilters
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3;- Specified by:
getFiltersin interfaceFilterChainOrBuilder
-
setFilters
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3; -
setFilters
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3; -
addFilters
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3; -
addFilters
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3; -
addFilters
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3; -
addFilters
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3; -
addAllFilters
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3; -
clearFilters
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3; -
removeFilters
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3; -
getFiltersBuilder
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3; -
getFiltersOrBuilder
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3;- Specified by:
getFiltersOrBuilderin interfaceFilterChainOrBuilder
-
getFiltersOrBuilderList
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3;- Specified by:
getFiltersOrBuilderListin interfaceFilterChainOrBuilder
-
addFiltersBuilder
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3; -
addFiltersBuilder
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3; -
getFiltersBuilderList
A list of individual network filters that make up the filter chain for connections established with the listener. Order matters as the filters are processed sequentially as connection events happen. Note: If the filter list is empty, the connection will close by default.
repeated .envoy.api.v2.listener.Filter filters = 3; -
hasUseProxyProto
public boolean hasUseProxyProto()Whether the listener should expect a PROXY protocol V1 header on new connections. If this option is enabled, the listener will assume that that remote address of the connection is the one specified in the header. Some load balancers including the AWS ELB support this option. If the option is absent or set to false, Envoy will use the physical peer address of the connection as the remote address.
.google.protobuf.BoolValue use_proxy_proto = 4;- Specified by:
hasUseProxyProtoin interfaceFilterChainOrBuilder- Returns:
- Whether the useProxyProto field is set.
-
getUseProxyProto
public com.google.protobuf.BoolValue getUseProxyProto()Whether the listener should expect a PROXY protocol V1 header on new connections. If this option is enabled, the listener will assume that that remote address of the connection is the one specified in the header. Some load balancers including the AWS ELB support this option. If the option is absent or set to false, Envoy will use the physical peer address of the connection as the remote address.
.google.protobuf.BoolValue use_proxy_proto = 4;- Specified by:
getUseProxyProtoin interfaceFilterChainOrBuilder- Returns:
- The useProxyProto.
-
setUseProxyProto
Whether the listener should expect a PROXY protocol V1 header on new connections. If this option is enabled, the listener will assume that that remote address of the connection is the one specified in the header. Some load balancers including the AWS ELB support this option. If the option is absent or set to false, Envoy will use the physical peer address of the connection as the remote address.
.google.protobuf.BoolValue use_proxy_proto = 4; -
setUseProxyProto
Whether the listener should expect a PROXY protocol V1 header on new connections. If this option is enabled, the listener will assume that that remote address of the connection is the one specified in the header. Some load balancers including the AWS ELB support this option. If the option is absent or set to false, Envoy will use the physical peer address of the connection as the remote address.
.google.protobuf.BoolValue use_proxy_proto = 4; -
mergeUseProxyProto
Whether the listener should expect a PROXY protocol V1 header on new connections. If this option is enabled, the listener will assume that that remote address of the connection is the one specified in the header. Some load balancers including the AWS ELB support this option. If the option is absent or set to false, Envoy will use the physical peer address of the connection as the remote address.
.google.protobuf.BoolValue use_proxy_proto = 4; -
clearUseProxyProto
Whether the listener should expect a PROXY protocol V1 header on new connections. If this option is enabled, the listener will assume that that remote address of the connection is the one specified in the header. Some load balancers including the AWS ELB support this option. If the option is absent or set to false, Envoy will use the physical peer address of the connection as the remote address.
.google.protobuf.BoolValue use_proxy_proto = 4; -
getUseProxyProtoBuilder
public com.google.protobuf.BoolValue.Builder getUseProxyProtoBuilder()Whether the listener should expect a PROXY protocol V1 header on new connections. If this option is enabled, the listener will assume that that remote address of the connection is the one specified in the header. Some load balancers including the AWS ELB support this option. If the option is absent or set to false, Envoy will use the physical peer address of the connection as the remote address.
.google.protobuf.BoolValue use_proxy_proto = 4; -
getUseProxyProtoOrBuilder
public com.google.protobuf.BoolValueOrBuilder getUseProxyProtoOrBuilder()Whether the listener should expect a PROXY protocol V1 header on new connections. If this option is enabled, the listener will assume that that remote address of the connection is the one specified in the header. Some load balancers including the AWS ELB support this option. If the option is absent or set to false, Envoy will use the physical peer address of the connection as the remote address.
.google.protobuf.BoolValue use_proxy_proto = 4;- Specified by:
getUseProxyProtoOrBuilderin interfaceFilterChainOrBuilder
-
hasMetadata
public boolean hasMetadata()[#not-implemented-hide:] filter chain metadata.
.envoy.api.v2.core.Metadata metadata = 5;- Specified by:
hasMetadatain interfaceFilterChainOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
[#not-implemented-hide:] filter chain metadata.
.envoy.api.v2.core.Metadata metadata = 5;- Specified by:
getMetadatain interfaceFilterChainOrBuilder- Returns:
- The metadata.
-
setMetadata
[#not-implemented-hide:] filter chain metadata.
.envoy.api.v2.core.Metadata metadata = 5; -
setMetadata
[#not-implemented-hide:] filter chain metadata.
.envoy.api.v2.core.Metadata metadata = 5; -
mergeMetadata
[#not-implemented-hide:] filter chain metadata.
.envoy.api.v2.core.Metadata metadata = 5; -
clearMetadata
[#not-implemented-hide:] filter chain metadata.
.envoy.api.v2.core.Metadata metadata = 5; -
getMetadataBuilder
[#not-implemented-hide:] filter chain metadata.
.envoy.api.v2.core.Metadata metadata = 5; -
getMetadataOrBuilder
[#not-implemented-hide:] filter chain metadata.
.envoy.api.v2.core.Metadata metadata = 5;- Specified by:
getMetadataOrBuilderin interfaceFilterChainOrBuilder
-
hasTransportSocket
public boolean hasTransportSocket()Optional custom transport socket implementation to use for downstream connections. To setup TLS, set a transport socket with name `tls` and :ref:`DownstreamTlsContext <envoy_api_msg_auth.DownstreamTlsContext>` in the `typed_config`. If no transport socket configuration is specified, new connections will be set up with plaintext.
.envoy.api.v2.core.TransportSocket transport_socket = 6;- Specified by:
hasTransportSocketin interfaceFilterChainOrBuilder- Returns:
- Whether the transportSocket field is set.
-
getTransportSocket
Optional custom transport socket implementation to use for downstream connections. To setup TLS, set a transport socket with name `tls` and :ref:`DownstreamTlsContext <envoy_api_msg_auth.DownstreamTlsContext>` in the `typed_config`. If no transport socket configuration is specified, new connections will be set up with plaintext.
.envoy.api.v2.core.TransportSocket transport_socket = 6;- Specified by:
getTransportSocketin interfaceFilterChainOrBuilder- Returns:
- The transportSocket.
-
setTransportSocket
Optional custom transport socket implementation to use for downstream connections. To setup TLS, set a transport socket with name `tls` and :ref:`DownstreamTlsContext <envoy_api_msg_auth.DownstreamTlsContext>` in the `typed_config`. If no transport socket configuration is specified, new connections will be set up with plaintext.
.envoy.api.v2.core.TransportSocket transport_socket = 6; -
setTransportSocket
Optional custom transport socket implementation to use for downstream connections. To setup TLS, set a transport socket with name `tls` and :ref:`DownstreamTlsContext <envoy_api_msg_auth.DownstreamTlsContext>` in the `typed_config`. If no transport socket configuration is specified, new connections will be set up with plaintext.
.envoy.api.v2.core.TransportSocket transport_socket = 6; -
mergeTransportSocket
Optional custom transport socket implementation to use for downstream connections. To setup TLS, set a transport socket with name `tls` and :ref:`DownstreamTlsContext <envoy_api_msg_auth.DownstreamTlsContext>` in the `typed_config`. If no transport socket configuration is specified, new connections will be set up with plaintext.
.envoy.api.v2.core.TransportSocket transport_socket = 6; -
clearTransportSocket
Optional custom transport socket implementation to use for downstream connections. To setup TLS, set a transport socket with name `tls` and :ref:`DownstreamTlsContext <envoy_api_msg_auth.DownstreamTlsContext>` in the `typed_config`. If no transport socket configuration is specified, new connections will be set up with plaintext.
.envoy.api.v2.core.TransportSocket transport_socket = 6; -
getTransportSocketBuilder
Optional custom transport socket implementation to use for downstream connections. To setup TLS, set a transport socket with name `tls` and :ref:`DownstreamTlsContext <envoy_api_msg_auth.DownstreamTlsContext>` in the `typed_config`. If no transport socket configuration is specified, new connections will be set up with plaintext.
.envoy.api.v2.core.TransportSocket transport_socket = 6; -
getTransportSocketOrBuilder
Optional custom transport socket implementation to use for downstream connections. To setup TLS, set a transport socket with name `tls` and :ref:`DownstreamTlsContext <envoy_api_msg_auth.DownstreamTlsContext>` in the `typed_config`. If no transport socket configuration is specified, new connections will be set up with plaintext.
.envoy.api.v2.core.TransportSocket transport_socket = 6;- Specified by:
getTransportSocketOrBuilderin interfaceFilterChainOrBuilder
-
getName
[#not-implemented-hide:] The unique name (or empty) by which this filter chain is known. If no name is provided, Envoy will allocate an internal UUID for the filter chain. If the filter chain is to be dynamically updated or removed via FCDS a unique name must be provided.
string name = 7;- Specified by:
getNamein interfaceFilterChainOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()[#not-implemented-hide:] The unique name (or empty) by which this filter chain is known. If no name is provided, Envoy will allocate an internal UUID for the filter chain. If the filter chain is to be dynamically updated or removed via FCDS a unique name must be provided.
string name = 7;- Specified by:
getNameBytesin interfaceFilterChainOrBuilder- Returns:
- The bytes for name.
-
setName
[#not-implemented-hide:] The unique name (or empty) by which this filter chain is known. If no name is provided, Envoy will allocate an internal UUID for the filter chain. If the filter chain is to be dynamically updated or removed via FCDS a unique name must be provided.
string name = 7;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
[#not-implemented-hide:] The unique name (or empty) by which this filter chain is known. If no name is provided, Envoy will allocate an internal UUID for the filter chain. If the filter chain is to be dynamically updated or removed via FCDS a unique name must be provided.
string name = 7;- Returns:
- This builder for chaining.
-
setNameBytes
[#not-implemented-hide:] The unique name (or empty) by which this filter chain is known. If no name is provided, Envoy will allocate an internal UUID for the filter chain. If the filter chain is to be dynamically updated or removed via FCDS a unique name must be provided.
string name = 7;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final FilterChain.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterChain.Builder>
-
mergeUnknownFields
public final FilterChain.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterChain.Builder>
-