public final class FilterChain extends com.google.protobuf.GeneratedMessageV3 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| Modifier and Type | Class and Description |
|---|---|
static class |
FilterChain.Builder
A filter chain wraps a set of match criteria, an option TLS context, a set of filters, and
various other parameters.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
FILTER_CHAIN_MATCH_FIELD_NUMBER |
static int |
FILTERS_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
TLS_CONTEXT_FIELD_NUMBER |
static int |
TRANSPORT_SOCKET_FIELD_NUMBER |
static int |
USE_PROXY_PROTO_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static FilterChain |
getDefaultInstance() |
FilterChain |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
FilterChainMatch |
getFilterChainMatch()
The criteria to use when matching a connection to this filter chain.
|
FilterChainMatchOrBuilder |
getFilterChainMatchOrBuilder()
The criteria to use when matching a connection to this filter chain.
|
Filter |
getFilters(int index)
A list of individual network filters that make up the filter chain for
connections established with the listener.
|
int |
getFiltersCount()
A list of individual network filters that make up the filter chain for
connections established with the listener.
|
List<Filter> |
getFiltersList()
A list of individual network filters that make up the filter chain for
connections established with the listener.
|
FilterOrBuilder |
getFiltersOrBuilder(int index)
A list of individual network filters that make up the filter chain for
connections established with the listener.
|
List<? extends FilterOrBuilder> |
getFiltersOrBuilderList()
A list of individual network filters that make up the filter chain for
connections established with the listener.
|
Metadata |
getMetadata()
[#not-implemented-hide:] filter chain metadata.
|
MetadataOrBuilder |
getMetadataOrBuilder()
[#not-implemented-hide:] filter chain metadata.
|
String |
getName()
[#not-implemented-hide:] The unique name (or empty) by which this filter chain is known.
|
com.google.protobuf.ByteString |
getNameBytes()
[#not-implemented-hide:] The unique name (or empty) by which this filter chain is known.
|
com.google.protobuf.Parser<FilterChain> |
getParserForType() |
int |
getSerializedSize() |
DownstreamTlsContext |
getTlsContext()
Deprecated.
|
DownstreamTlsContextOrBuilder |
getTlsContextOrBuilder()
Deprecated.
|
TransportSocket |
getTransportSocket()
Optional custom transport socket implementation to use for downstream connections.
|
TransportSocketOrBuilder |
getTransportSocketOrBuilder()
Optional custom transport socket implementation to use for downstream connections.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.BoolValue |
getUseProxyProto()
Whether the listener should expect a PROXY protocol V1 header on new
connections.
|
com.google.protobuf.BoolValueOrBuilder |
getUseProxyProtoOrBuilder()
Whether the listener should expect a PROXY protocol V1 header on new
connections.
|
boolean |
hasFilterChainMatch()
The criteria to use when matching a connection to this filter chain.
|
int |
hashCode() |
boolean |
hasMetadata()
[#not-implemented-hide:] filter chain metadata.
|
boolean |
hasTlsContext()
Deprecated.
|
boolean |
hasTransportSocket()
Optional custom transport socket implementation to use for downstream connections.
|
boolean |
hasUseProxyProto()
Whether the listener should expect a PROXY protocol V1 header on new
connections.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FilterChain.Builder |
newBuilder() |
static FilterChain.Builder |
newBuilder(FilterChain prototype) |
FilterChain.Builder |
newBuilderForType() |
protected FilterChain.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FilterChain |
parseDelimitedFrom(InputStream input) |
static FilterChain |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FilterChain |
parseFrom(byte[] data) |
static FilterChain |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FilterChain |
parseFrom(ByteBuffer data) |
static FilterChain |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FilterChain |
parseFrom(com.google.protobuf.ByteString data) |
static FilterChain |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FilterChain |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FilterChain |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FilterChain |
parseFrom(InputStream input) |
static FilterChain |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FilterChain> |
parser() |
FilterChain.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int FILTER_CHAIN_MATCH_FIELD_NUMBER
public static final int TLS_CONTEXT_FIELD_NUMBER
public static final int FILTERS_FIELD_NUMBER
public static final int USE_PROXY_PROTO_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int TRANSPORT_SOCKET_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasFilterChainMatch()
The criteria to use when matching a connection to this filter chain.
.envoy.api.v2.listener.FilterChainMatch filter_chain_match = 1;hasFilterChainMatch in interface FilterChainOrBuilderpublic FilterChainMatch getFilterChainMatch()
The criteria to use when matching a connection to this filter chain.
.envoy.api.v2.listener.FilterChainMatch filter_chain_match = 1;getFilterChainMatch in interface FilterChainOrBuilderpublic FilterChainMatchOrBuilder getFilterChainMatchOrBuilder()
The criteria to use when matching a connection to this filter chain.
.envoy.api.v2.listener.FilterChainMatch filter_chain_match = 1;getFilterChainMatchOrBuilder in interface FilterChainOrBuilder@Deprecated public boolean hasTlsContext()
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];hasTlsContext in interface FilterChainOrBuilder@Deprecated public DownstreamTlsContext getTlsContext()
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];getTlsContext in interface FilterChainOrBuilder@Deprecated public DownstreamTlsContextOrBuilder getTlsContextOrBuilder()
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 in interface FilterChainOrBuilderpublic List<Filter> 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;getFiltersList in interface FilterChainOrBuilderpublic List<? extends FilterOrBuilder> 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;getFiltersOrBuilderList in interface FilterChainOrBuilderpublic 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;getFiltersCount in interface FilterChainOrBuilderpublic Filter getFilters(int index)
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;getFilters in interface FilterChainOrBuilderpublic FilterOrBuilder getFiltersOrBuilder(int index)
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 in interface FilterChainOrBuilderpublic 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;hasUseProxyProto in interface FilterChainOrBuilderpublic 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;getUseProxyProto in interface FilterChainOrBuilderpublic 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;getUseProxyProtoOrBuilder in interface FilterChainOrBuilderpublic boolean hasMetadata()
[#not-implemented-hide:] filter chain metadata.
.envoy.api.v2.core.Metadata metadata = 5;hasMetadata in interface FilterChainOrBuilderpublic Metadata getMetadata()
[#not-implemented-hide:] filter chain metadata.
.envoy.api.v2.core.Metadata metadata = 5;getMetadata in interface FilterChainOrBuilderpublic MetadataOrBuilder getMetadataOrBuilder()
[#not-implemented-hide:] filter chain metadata.
.envoy.api.v2.core.Metadata metadata = 5;getMetadataOrBuilder in interface FilterChainOrBuilderpublic 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;hasTransportSocket in interface FilterChainOrBuilderpublic TransportSocket 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;getTransportSocket in interface FilterChainOrBuilderpublic TransportSocketOrBuilder 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;getTransportSocketOrBuilder in interface FilterChainOrBuilderpublic String 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;getName in interface FilterChainOrBuilderpublic 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;getNameBytes in interface FilterChainOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static FilterChain parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FilterChain parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FilterChain parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FilterChain parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FilterChain parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FilterChain parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FilterChain parseFrom(InputStream input) throws IOException
IOExceptionpublic static FilterChain parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FilterChain parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FilterChain parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FilterChain parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FilterChain parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FilterChain.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FilterChain.Builder newBuilder()
public static FilterChain.Builder newBuilder(FilterChain prototype)
public FilterChain.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FilterChain.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FilterChain getDefaultInstance()
public static com.google.protobuf.Parser<FilterChain> parser()
public com.google.protobuf.Parser<FilterChain> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FilterChain getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.