Class FilterChainMatch.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FilterChainMatch.Builder>
-
- io.envoyproxy.envoy.api.v2.listener.FilterChainMatch.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,FilterChainMatchOrBuilder,Cloneable
- Enclosing class:
- FilterChainMatch
public static final class FilterChainMatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FilterChainMatch.Builder> implements FilterChainMatchOrBuilder
Specifies the match criteria for selecting a specific filter chain for a listener. In order for a filter chain to be selected, *ALL* of its criteria must be fulfilled by the incoming connection, properties of which are set by the networking stack and/or listener filters. The following order applies: 1. Destination port. 2. Destination IP address. 3. Server name (e.g. SNI for TLS protocol), 4. Transport protocol. 5. Application protocols (e.g. ALPN for TLS protocol). 6. Source type (e.g. any, local or external network). 7. Source IP address. 8. Source port. For criteria that allow ranges or wildcards, the most specific value in any of the configured filter chains that matches the incoming connection is going to be used (e.g. for SNI ``www.example.com`` the most specific match would be ``www.example.com``, then ``*.example.com``, then ``*.com``, then any filter chain without ``server_names`` requirements). [#comment: Implemented rules are kept in the preference order, with deprecated fields listed at the end, because that's how we want to list them in the docs. [#comment:TODO(PiotrSikora): Add support for configurable precedence of the rules] [#next-free-field: 13]
Protobuf typeenvoy.api.v2.listener.FilterChainMatch
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FilterChainMatch.BuilderaddAllApplicationProtocols(Iterable<String> values)If non-empty, a list of application protocols (e.g.FilterChainMatch.BuilderaddAllPrefixRanges(Iterable<? extends CidrRange> values)If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.FilterChainMatch.BuilderaddAllServerNames(Iterable<String> values)If non-empty, a list of server names (e.g.FilterChainMatch.BuilderaddAllSourcePorts(Iterable<? extends Integer> values)The criteria is satisfied if the source port of the downstream connection is contained in at least one of the specified ports.FilterChainMatch.BuilderaddAllSourcePrefixRanges(Iterable<? extends CidrRange> values)The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.FilterChainMatch.BuilderaddApplicationProtocols(String value)If non-empty, a list of application protocols (e.g.FilterChainMatch.BuilderaddApplicationProtocolsBytes(com.google.protobuf.ByteString value)If non-empty, a list of application protocols (e.g.FilterChainMatch.BuilderaddPrefixRanges(int index, CidrRange value)If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.FilterChainMatch.BuilderaddPrefixRanges(int index, CidrRange.Builder builderForValue)If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.FilterChainMatch.BuilderaddPrefixRanges(CidrRange value)If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.FilterChainMatch.BuilderaddPrefixRanges(CidrRange.Builder builderForValue)If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.CidrRange.BuilderaddPrefixRangesBuilder()If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.CidrRange.BuilderaddPrefixRangesBuilder(int index)If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.FilterChainMatch.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FilterChainMatch.BuilderaddServerNames(String value)If non-empty, a list of server names (e.g.FilterChainMatch.BuilderaddServerNamesBytes(com.google.protobuf.ByteString value)If non-empty, a list of server names (e.g.FilterChainMatch.BuilderaddSourcePorts(int value)The criteria is satisfied if the source port of the downstream connection is contained in at least one of the specified ports.FilterChainMatch.BuilderaddSourcePrefixRanges(int index, CidrRange value)The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.FilterChainMatch.BuilderaddSourcePrefixRanges(int index, CidrRange.Builder builderForValue)The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.FilterChainMatch.BuilderaddSourcePrefixRanges(CidrRange value)The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.FilterChainMatch.BuilderaddSourcePrefixRanges(CidrRange.Builder builderForValue)The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.CidrRange.BuilderaddSourcePrefixRangesBuilder()The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.CidrRange.BuilderaddSourcePrefixRangesBuilder(int index)The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.FilterChainMatchbuild()FilterChainMatchbuildPartial()FilterChainMatch.Builderclear()FilterChainMatch.BuilderclearAddressSuffix()If non-empty, an IP address and suffix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.FilterChainMatch.BuilderclearApplicationProtocols()If non-empty, a list of application protocols (e.g.FilterChainMatch.BuilderclearDestinationPort()Optional destination port to consider when use_original_dst is set on the listener in determining a filter chain match.FilterChainMatch.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)FilterChainMatch.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)FilterChainMatch.BuilderclearPrefixRanges()If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.FilterChainMatch.BuilderclearServerNames()If non-empty, a list of server names (e.g.FilterChainMatch.BuilderclearSourcePorts()The criteria is satisfied if the source port of the downstream connection is contained in at least one of the specified ports.FilterChainMatch.BuilderclearSourcePrefixRanges()The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.FilterChainMatch.BuilderclearSourceType()Specifies the connection source IP match type.FilterChainMatch.BuilderclearSuffixLen()[#not-implemented-hide:]FilterChainMatch.BuilderclearTransportProtocol()If non-empty, a transport protocol to consider when determining a filter chain match.FilterChainMatch.Builderclone()StringgetAddressSuffix()If non-empty, an IP address and suffix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.com.google.protobuf.ByteStringgetAddressSuffixBytes()If non-empty, an IP address and suffix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.StringgetApplicationProtocols(int index)If non-empty, a list of application protocols (e.g.com.google.protobuf.ByteStringgetApplicationProtocolsBytes(int index)If non-empty, a list of application protocols (e.g.intgetApplicationProtocolsCount()If non-empty, a list of application protocols (e.g.com.google.protobuf.ProtocolStringListgetApplicationProtocolsList()If non-empty, a list of application protocols (e.g.FilterChainMatchgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.UInt32ValuegetDestinationPort()Optional destination port to consider when use_original_dst is set on the listener in determining a filter chain match.com.google.protobuf.UInt32Value.BuildergetDestinationPortBuilder()Optional destination port to consider when use_original_dst is set on the listener in determining a filter chain match.com.google.protobuf.UInt32ValueOrBuildergetDestinationPortOrBuilder()Optional destination port to consider when use_original_dst is set on the listener in determining a filter chain match.CidrRangegetPrefixRanges(int index)If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.CidrRange.BuildergetPrefixRangesBuilder(int index)If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.List<CidrRange.Builder>getPrefixRangesBuilderList()If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.intgetPrefixRangesCount()If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.List<CidrRange>getPrefixRangesList()If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.CidrRangeOrBuildergetPrefixRangesOrBuilder(int index)If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.List<? extends CidrRangeOrBuilder>getPrefixRangesOrBuilderList()If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.StringgetServerNames(int index)If non-empty, a list of server names (e.g.com.google.protobuf.ByteStringgetServerNamesBytes(int index)If non-empty, a list of server names (e.g.intgetServerNamesCount()If non-empty, a list of server names (e.g.com.google.protobuf.ProtocolStringListgetServerNamesList()If non-empty, a list of server names (e.g.intgetSourcePorts(int index)The criteria is satisfied if the source port of the downstream connection is contained in at least one of the specified ports.intgetSourcePortsCount()The criteria is satisfied if the source port of the downstream connection is contained in at least one of the specified ports.List<Integer>getSourcePortsList()The criteria is satisfied if the source port of the downstream connection is contained in at least one of the specified ports.CidrRangegetSourcePrefixRanges(int index)The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.CidrRange.BuildergetSourcePrefixRangesBuilder(int index)The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.List<CidrRange.Builder>getSourcePrefixRangesBuilderList()The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.intgetSourcePrefixRangesCount()The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.List<CidrRange>getSourcePrefixRangesList()The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.CidrRangeOrBuildergetSourcePrefixRangesOrBuilder(int index)The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.List<? extends CidrRangeOrBuilder>getSourcePrefixRangesOrBuilderList()The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.FilterChainMatch.ConnectionSourceTypegetSourceType()Specifies the connection source IP match type.intgetSourceTypeValue()Specifies the connection source IP match type.com.google.protobuf.UInt32ValuegetSuffixLen()[#not-implemented-hide:]com.google.protobuf.UInt32Value.BuildergetSuffixLenBuilder()[#not-implemented-hide:]com.google.protobuf.UInt32ValueOrBuildergetSuffixLenOrBuilder()[#not-implemented-hide:]StringgetTransportProtocol()If non-empty, a transport protocol to consider when determining a filter chain match.com.google.protobuf.ByteStringgetTransportProtocolBytes()If non-empty, a transport protocol to consider when determining a filter chain match.booleanhasDestinationPort()Optional destination port to consider when use_original_dst is set on the listener in determining a filter chain match.booleanhasSuffixLen()[#not-implemented-hide:]protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()FilterChainMatch.BuildermergeDestinationPort(com.google.protobuf.UInt32Value value)Optional destination port to consider when use_original_dst is set on the listener in determining a filter chain match.FilterChainMatch.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)FilterChainMatch.BuildermergeFrom(com.google.protobuf.Message other)FilterChainMatch.BuildermergeFrom(FilterChainMatch other)FilterChainMatch.BuildermergeSuffixLen(com.google.protobuf.UInt32Value value)[#not-implemented-hide:]FilterChainMatch.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FilterChainMatch.BuilderremovePrefixRanges(int index)If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.FilterChainMatch.BuilderremoveSourcePrefixRanges(int index)The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.FilterChainMatch.BuildersetAddressSuffix(String value)If non-empty, an IP address and suffix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.FilterChainMatch.BuildersetAddressSuffixBytes(com.google.protobuf.ByteString value)If non-empty, an IP address and suffix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.FilterChainMatch.BuildersetApplicationProtocols(int index, String value)If non-empty, a list of application protocols (e.g.FilterChainMatch.BuildersetDestinationPort(com.google.protobuf.UInt32Value value)Optional destination port to consider when use_original_dst is set on the listener in determining a filter chain match.FilterChainMatch.BuildersetDestinationPort(com.google.protobuf.UInt32Value.Builder builderForValue)Optional destination port to consider when use_original_dst is set on the listener in determining a filter chain match.FilterChainMatch.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FilterChainMatch.BuildersetPrefixRanges(int index, CidrRange value)If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.FilterChainMatch.BuildersetPrefixRanges(int index, CidrRange.Builder builderForValue)If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.FilterChainMatch.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)FilterChainMatch.BuildersetServerNames(int index, String value)If non-empty, a list of server names (e.g.FilterChainMatch.BuildersetSourcePorts(int index, int value)The criteria is satisfied if the source port of the downstream connection is contained in at least one of the specified ports.FilterChainMatch.BuildersetSourcePrefixRanges(int index, CidrRange value)The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.FilterChainMatch.BuildersetSourcePrefixRanges(int index, CidrRange.Builder builderForValue)The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets.FilterChainMatch.BuildersetSourceType(FilterChainMatch.ConnectionSourceType value)Specifies the connection source IP match type.FilterChainMatch.BuildersetSourceTypeValue(int value)Specifies the connection source IP match type.FilterChainMatch.BuildersetSuffixLen(com.google.protobuf.UInt32Value value)[#not-implemented-hide:]FilterChainMatch.BuildersetSuffixLen(com.google.protobuf.UInt32Value.Builder builderForValue)[#not-implemented-hide:]FilterChainMatch.BuildersetTransportProtocol(String value)If non-empty, a transport protocol to consider when determining a filter chain match.FilterChainMatch.BuildersetTransportProtocolBytes(com.google.protobuf.ByteString value)If non-empty, a transport protocol to consider when determining a filter chain match.FilterChainMatch.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<FilterChainMatch.Builder>
-
clear
public FilterChainMatch.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<FilterChainMatch.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<FilterChainMatch.Builder>
-
getDefaultInstanceForType
public FilterChainMatch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FilterChainMatch build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FilterChainMatch buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FilterChainMatch.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<FilterChainMatch.Builder>
-
setField
public FilterChainMatch.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<FilterChainMatch.Builder>
-
clearField
public FilterChainMatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterChainMatch.Builder>
-
clearOneof
public FilterChainMatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterChainMatch.Builder>
-
setRepeatedField
public FilterChainMatch.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<FilterChainMatch.Builder>
-
addRepeatedField
public FilterChainMatch.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<FilterChainMatch.Builder>
-
mergeFrom
public FilterChainMatch.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FilterChainMatch.Builder>
-
mergeFrom
public FilterChainMatch.Builder mergeFrom(FilterChainMatch other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterChainMatch.Builder>
-
mergeFrom
public FilterChainMatch.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<FilterChainMatch.Builder>- Throws:
IOException
-
hasDestinationPort
public boolean hasDestinationPort()
Optional destination port to consider when use_original_dst is set on the listener in determining a filter chain match.
.google.protobuf.UInt32Value destination_port = 8 [(.validate.rules) = { ... }- Specified by:
hasDestinationPortin interfaceFilterChainMatchOrBuilder- Returns:
- Whether the destinationPort field is set.
-
getDestinationPort
public com.google.protobuf.UInt32Value getDestinationPort()
Optional destination port to consider when use_original_dst is set on the listener in determining a filter chain match.
.google.protobuf.UInt32Value destination_port = 8 [(.validate.rules) = { ... }- Specified by:
getDestinationPortin interfaceFilterChainMatchOrBuilder- Returns:
- The destinationPort.
-
setDestinationPort
public FilterChainMatch.Builder setDestinationPort(com.google.protobuf.UInt32Value value)
Optional destination port to consider when use_original_dst is set on the listener in determining a filter chain match.
.google.protobuf.UInt32Value destination_port = 8 [(.validate.rules) = { ... }
-
setDestinationPort
public FilterChainMatch.Builder setDestinationPort(com.google.protobuf.UInt32Value.Builder builderForValue)
Optional destination port to consider when use_original_dst is set on the listener in determining a filter chain match.
.google.protobuf.UInt32Value destination_port = 8 [(.validate.rules) = { ... }
-
mergeDestinationPort
public FilterChainMatch.Builder mergeDestinationPort(com.google.protobuf.UInt32Value value)
Optional destination port to consider when use_original_dst is set on the listener in determining a filter chain match.
.google.protobuf.UInt32Value destination_port = 8 [(.validate.rules) = { ... }
-
clearDestinationPort
public FilterChainMatch.Builder clearDestinationPort()
Optional destination port to consider when use_original_dst is set on the listener in determining a filter chain match.
.google.protobuf.UInt32Value destination_port = 8 [(.validate.rules) = { ... }
-
getDestinationPortBuilder
public com.google.protobuf.UInt32Value.Builder getDestinationPortBuilder()
Optional destination port to consider when use_original_dst is set on the listener in determining a filter chain match.
.google.protobuf.UInt32Value destination_port = 8 [(.validate.rules) = { ... }
-
getDestinationPortOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getDestinationPortOrBuilder()
Optional destination port to consider when use_original_dst is set on the listener in determining a filter chain match.
.google.protobuf.UInt32Value destination_port = 8 [(.validate.rules) = { ... }- Specified by:
getDestinationPortOrBuilderin interfaceFilterChainMatchOrBuilder
-
getPrefixRangesList
public List<CidrRange> getPrefixRangesList()
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;- Specified by:
getPrefixRangesListin interfaceFilterChainMatchOrBuilder
-
getPrefixRangesCount
public int getPrefixRangesCount()
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;- Specified by:
getPrefixRangesCountin interfaceFilterChainMatchOrBuilder
-
getPrefixRanges
public CidrRange getPrefixRanges(int index)
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;- Specified by:
getPrefixRangesin interfaceFilterChainMatchOrBuilder
-
setPrefixRanges
public FilterChainMatch.Builder setPrefixRanges(int index, CidrRange value)
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;
-
setPrefixRanges
public FilterChainMatch.Builder setPrefixRanges(int index, CidrRange.Builder builderForValue)
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;
-
addPrefixRanges
public FilterChainMatch.Builder addPrefixRanges(CidrRange value)
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;
-
addPrefixRanges
public FilterChainMatch.Builder addPrefixRanges(int index, CidrRange value)
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;
-
addPrefixRanges
public FilterChainMatch.Builder addPrefixRanges(CidrRange.Builder builderForValue)
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;
-
addPrefixRanges
public FilterChainMatch.Builder addPrefixRanges(int index, CidrRange.Builder builderForValue)
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;
-
addAllPrefixRanges
public FilterChainMatch.Builder addAllPrefixRanges(Iterable<? extends CidrRange> values)
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;
-
clearPrefixRanges
public FilterChainMatch.Builder clearPrefixRanges()
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;
-
removePrefixRanges
public FilterChainMatch.Builder removePrefixRanges(int index)
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;
-
getPrefixRangesBuilder
public CidrRange.Builder getPrefixRangesBuilder(int index)
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;
-
getPrefixRangesOrBuilder
public CidrRangeOrBuilder getPrefixRangesOrBuilder(int index)
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;- Specified by:
getPrefixRangesOrBuilderin interfaceFilterChainMatchOrBuilder
-
getPrefixRangesOrBuilderList
public List<? extends CidrRangeOrBuilder> getPrefixRangesOrBuilderList()
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;- Specified by:
getPrefixRangesOrBuilderListin interfaceFilterChainMatchOrBuilder
-
addPrefixRangesBuilder
public CidrRange.Builder addPrefixRangesBuilder()
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;
-
addPrefixRangesBuilder
public CidrRange.Builder addPrefixRangesBuilder(int index)
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;
-
getPrefixRangesBuilderList
public List<CidrRange.Builder> getPrefixRangesBuilderList()
If non-empty, an IP address and prefix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
repeated .envoy.api.v2.core.CidrRange prefix_ranges = 3;
-
getAddressSuffix
public String getAddressSuffix()
If non-empty, an IP address and suffix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified. [#not-implemented-hide:]
string address_suffix = 4;- Specified by:
getAddressSuffixin interfaceFilterChainMatchOrBuilder- Returns:
- The addressSuffix.
-
getAddressSuffixBytes
public com.google.protobuf.ByteString getAddressSuffixBytes()
If non-empty, an IP address and suffix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified. [#not-implemented-hide:]
string address_suffix = 4;- Specified by:
getAddressSuffixBytesin interfaceFilterChainMatchOrBuilder- Returns:
- The bytes for addressSuffix.
-
setAddressSuffix
public FilterChainMatch.Builder setAddressSuffix(String value)
If non-empty, an IP address and suffix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified. [#not-implemented-hide:]
string address_suffix = 4;- Parameters:
value- The addressSuffix to set.- Returns:
- This builder for chaining.
-
clearAddressSuffix
public FilterChainMatch.Builder clearAddressSuffix()
If non-empty, an IP address and suffix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified. [#not-implemented-hide:]
string address_suffix = 4;- Returns:
- This builder for chaining.
-
setAddressSuffixBytes
public FilterChainMatch.Builder setAddressSuffixBytes(com.google.protobuf.ByteString value)
If non-empty, an IP address and suffix length to match addresses when the listener is bound to 0.0.0.0/:: or when use_original_dst is specified. [#not-implemented-hide:]
string address_suffix = 4;- Parameters:
value- The bytes for addressSuffix to set.- Returns:
- This builder for chaining.
-
hasSuffixLen
public boolean hasSuffixLen()
[#not-implemented-hide:]
.google.protobuf.UInt32Value suffix_len = 5;- Specified by:
hasSuffixLenin interfaceFilterChainMatchOrBuilder- Returns:
- Whether the suffixLen field is set.
-
getSuffixLen
public com.google.protobuf.UInt32Value getSuffixLen()
[#not-implemented-hide:]
.google.protobuf.UInt32Value suffix_len = 5;- Specified by:
getSuffixLenin interfaceFilterChainMatchOrBuilder- Returns:
- The suffixLen.
-
setSuffixLen
public FilterChainMatch.Builder setSuffixLen(com.google.protobuf.UInt32Value value)
[#not-implemented-hide:]
.google.protobuf.UInt32Value suffix_len = 5;
-
setSuffixLen
public FilterChainMatch.Builder setSuffixLen(com.google.protobuf.UInt32Value.Builder builderForValue)
[#not-implemented-hide:]
.google.protobuf.UInt32Value suffix_len = 5;
-
mergeSuffixLen
public FilterChainMatch.Builder mergeSuffixLen(com.google.protobuf.UInt32Value value)
[#not-implemented-hide:]
.google.protobuf.UInt32Value suffix_len = 5;
-
clearSuffixLen
public FilterChainMatch.Builder clearSuffixLen()
[#not-implemented-hide:]
.google.protobuf.UInt32Value suffix_len = 5;
-
getSuffixLenBuilder
public com.google.protobuf.UInt32Value.Builder getSuffixLenBuilder()
[#not-implemented-hide:]
.google.protobuf.UInt32Value suffix_len = 5;
-
getSuffixLenOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getSuffixLenOrBuilder()
[#not-implemented-hide:]
.google.protobuf.UInt32Value suffix_len = 5;- Specified by:
getSuffixLenOrBuilderin interfaceFilterChainMatchOrBuilder
-
getSourceTypeValue
public int getSourceTypeValue()
Specifies the connection source IP match type. Can be any, local or external network.
.envoy.api.v2.listener.FilterChainMatch.ConnectionSourceType source_type = 12 [(.validate.rules) = { ... }- Specified by:
getSourceTypeValuein interfaceFilterChainMatchOrBuilder- Returns:
- The enum numeric value on the wire for sourceType.
-
setSourceTypeValue
public FilterChainMatch.Builder setSourceTypeValue(int value)
Specifies the connection source IP match type. Can be any, local or external network.
.envoy.api.v2.listener.FilterChainMatch.ConnectionSourceType source_type = 12 [(.validate.rules) = { ... }- Parameters:
value- The enum numeric value on the wire for sourceType to set.- Returns:
- This builder for chaining.
-
getSourceType
public FilterChainMatch.ConnectionSourceType getSourceType()
Specifies the connection source IP match type. Can be any, local or external network.
.envoy.api.v2.listener.FilterChainMatch.ConnectionSourceType source_type = 12 [(.validate.rules) = { ... }- Specified by:
getSourceTypein interfaceFilterChainMatchOrBuilder- Returns:
- The sourceType.
-
setSourceType
public FilterChainMatch.Builder setSourceType(FilterChainMatch.ConnectionSourceType value)
Specifies the connection source IP match type. Can be any, local or external network.
.envoy.api.v2.listener.FilterChainMatch.ConnectionSourceType source_type = 12 [(.validate.rules) = { ... }- Parameters:
value- The sourceType to set.- Returns:
- This builder for chaining.
-
clearSourceType
public FilterChainMatch.Builder clearSourceType()
Specifies the connection source IP match type. Can be any, local or external network.
.envoy.api.v2.listener.FilterChainMatch.ConnectionSourceType source_type = 12 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
getSourcePrefixRangesList
public List<CidrRange> getSourcePrefixRangesList()
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;- Specified by:
getSourcePrefixRangesListin interfaceFilterChainMatchOrBuilder
-
getSourcePrefixRangesCount
public int getSourcePrefixRangesCount()
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;- Specified by:
getSourcePrefixRangesCountin interfaceFilterChainMatchOrBuilder
-
getSourcePrefixRanges
public CidrRange getSourcePrefixRanges(int index)
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;- Specified by:
getSourcePrefixRangesin interfaceFilterChainMatchOrBuilder
-
setSourcePrefixRanges
public FilterChainMatch.Builder setSourcePrefixRanges(int index, CidrRange value)
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;
-
setSourcePrefixRanges
public FilterChainMatch.Builder setSourcePrefixRanges(int index, CidrRange.Builder builderForValue)
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;
-
addSourcePrefixRanges
public FilterChainMatch.Builder addSourcePrefixRanges(CidrRange value)
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;
-
addSourcePrefixRanges
public FilterChainMatch.Builder addSourcePrefixRanges(int index, CidrRange value)
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;
-
addSourcePrefixRanges
public FilterChainMatch.Builder addSourcePrefixRanges(CidrRange.Builder builderForValue)
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;
-
addSourcePrefixRanges
public FilterChainMatch.Builder addSourcePrefixRanges(int index, CidrRange.Builder builderForValue)
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;
-
addAllSourcePrefixRanges
public FilterChainMatch.Builder addAllSourcePrefixRanges(Iterable<? extends CidrRange> values)
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;
-
clearSourcePrefixRanges
public FilterChainMatch.Builder clearSourcePrefixRanges()
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;
-
removeSourcePrefixRanges
public FilterChainMatch.Builder removeSourcePrefixRanges(int index)
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;
-
getSourcePrefixRangesBuilder
public CidrRange.Builder getSourcePrefixRangesBuilder(int index)
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;
-
getSourcePrefixRangesOrBuilder
public CidrRangeOrBuilder getSourcePrefixRangesOrBuilder(int index)
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;- Specified by:
getSourcePrefixRangesOrBuilderin interfaceFilterChainMatchOrBuilder
-
getSourcePrefixRangesOrBuilderList
public List<? extends CidrRangeOrBuilder> getSourcePrefixRangesOrBuilderList()
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;- Specified by:
getSourcePrefixRangesOrBuilderListin interfaceFilterChainMatchOrBuilder
-
addSourcePrefixRangesBuilder
public CidrRange.Builder addSourcePrefixRangesBuilder()
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;
-
addSourcePrefixRangesBuilder
public CidrRange.Builder addSourcePrefixRangesBuilder(int index)
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;
-
getSourcePrefixRangesBuilderList
public List<CidrRange.Builder> getSourcePrefixRangesBuilderList()
The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_prefix_ranges = 6;
-
getSourcePortsList
public List<Integer> getSourcePortsList()
The criteria is satisfied if the source port of the downstream connection is contained in at least one of the specified ports. If the parameter is not specified, the source port is ignored.
repeated uint32 source_ports = 7 [(.validate.rules) = { ... }- Specified by:
getSourcePortsListin interfaceFilterChainMatchOrBuilder- Returns:
- A list containing the sourcePorts.
-
getSourcePortsCount
public int getSourcePortsCount()
The criteria is satisfied if the source port of the downstream connection is contained in at least one of the specified ports. If the parameter is not specified, the source port is ignored.
repeated uint32 source_ports = 7 [(.validate.rules) = { ... }- Specified by:
getSourcePortsCountin interfaceFilterChainMatchOrBuilder- Returns:
- The count of sourcePorts.
-
getSourcePorts
public int getSourcePorts(int index)
The criteria is satisfied if the source port of the downstream connection is contained in at least one of the specified ports. If the parameter is not specified, the source port is ignored.
repeated uint32 source_ports = 7 [(.validate.rules) = { ... }- Specified by:
getSourcePortsin interfaceFilterChainMatchOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sourcePorts at the given index.
-
setSourcePorts
public FilterChainMatch.Builder setSourcePorts(int index, int value)
The criteria is satisfied if the source port of the downstream connection is contained in at least one of the specified ports. If the parameter is not specified, the source port is ignored.
repeated uint32 source_ports = 7 [(.validate.rules) = { ... }- Parameters:
index- The index to set the value at.value- The sourcePorts to set.- Returns:
- This builder for chaining.
-
addSourcePorts
public FilterChainMatch.Builder addSourcePorts(int value)
The criteria is satisfied if the source port of the downstream connection is contained in at least one of the specified ports. If the parameter is not specified, the source port is ignored.
repeated uint32 source_ports = 7 [(.validate.rules) = { ... }- Parameters:
value- The sourcePorts to add.- Returns:
- This builder for chaining.
-
addAllSourcePorts
public FilterChainMatch.Builder addAllSourcePorts(Iterable<? extends Integer> values)
The criteria is satisfied if the source port of the downstream connection is contained in at least one of the specified ports. If the parameter is not specified, the source port is ignored.
repeated uint32 source_ports = 7 [(.validate.rules) = { ... }- Parameters:
values- The sourcePorts to add.- Returns:
- This builder for chaining.
-
clearSourcePorts
public FilterChainMatch.Builder clearSourcePorts()
The criteria is satisfied if the source port of the downstream connection is contained in at least one of the specified ports. If the parameter is not specified, the source port is ignored.
repeated uint32 source_ports = 7 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
getServerNamesList
public com.google.protobuf.ProtocolStringList getServerNamesList()
If non-empty, a list of server names (e.g. SNI for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the server names of a new connection, when detected by one of the listener filters. The server name will be matched against all wildcard domains, i.e. ``www.example.com`` will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``. Note that partial wildcards are not supported, and values like ``*w.example.com`` are invalid. .. attention:: See the :ref:`FAQ entry <faq_how_to_setup_sni>` on how to configure SNI for more information.
repeated string server_names = 11;- Specified by:
getServerNamesListin interfaceFilterChainMatchOrBuilder- Returns:
- A list containing the serverNames.
-
getServerNamesCount
public int getServerNamesCount()
If non-empty, a list of server names (e.g. SNI for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the server names of a new connection, when detected by one of the listener filters. The server name will be matched against all wildcard domains, i.e. ``www.example.com`` will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``. Note that partial wildcards are not supported, and values like ``*w.example.com`` are invalid. .. attention:: See the :ref:`FAQ entry <faq_how_to_setup_sni>` on how to configure SNI for more information.
repeated string server_names = 11;- Specified by:
getServerNamesCountin interfaceFilterChainMatchOrBuilder- Returns:
- The count of serverNames.
-
getServerNames
public String getServerNames(int index)
If non-empty, a list of server names (e.g. SNI for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the server names of a new connection, when detected by one of the listener filters. The server name will be matched against all wildcard domains, i.e. ``www.example.com`` will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``. Note that partial wildcards are not supported, and values like ``*w.example.com`` are invalid. .. attention:: See the :ref:`FAQ entry <faq_how_to_setup_sni>` on how to configure SNI for more information.
repeated string server_names = 11;- Specified by:
getServerNamesin interfaceFilterChainMatchOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The serverNames at the given index.
-
getServerNamesBytes
public com.google.protobuf.ByteString getServerNamesBytes(int index)
If non-empty, a list of server names (e.g. SNI for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the server names of a new connection, when detected by one of the listener filters. The server name will be matched against all wildcard domains, i.e. ``www.example.com`` will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``. Note that partial wildcards are not supported, and values like ``*w.example.com`` are invalid. .. attention:: See the :ref:`FAQ entry <faq_how_to_setup_sni>` on how to configure SNI for more information.
repeated string server_names = 11;- Specified by:
getServerNamesBytesin interfaceFilterChainMatchOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the serverNames at the given index.
-
setServerNames
public FilterChainMatch.Builder setServerNames(int index, String value)
If non-empty, a list of server names (e.g. SNI for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the server names of a new connection, when detected by one of the listener filters. The server name will be matched against all wildcard domains, i.e. ``www.example.com`` will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``. Note that partial wildcards are not supported, and values like ``*w.example.com`` are invalid. .. attention:: See the :ref:`FAQ entry <faq_how_to_setup_sni>` on how to configure SNI for more information.
repeated string server_names = 11;- Parameters:
index- The index to set the value at.value- The serverNames to set.- Returns:
- This builder for chaining.
-
addServerNames
public FilterChainMatch.Builder addServerNames(String value)
If non-empty, a list of server names (e.g. SNI for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the server names of a new connection, when detected by one of the listener filters. The server name will be matched against all wildcard domains, i.e. ``www.example.com`` will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``. Note that partial wildcards are not supported, and values like ``*w.example.com`` are invalid. .. attention:: See the :ref:`FAQ entry <faq_how_to_setup_sni>` on how to configure SNI for more information.
repeated string server_names = 11;- Parameters:
value- The serverNames to add.- Returns:
- This builder for chaining.
-
addAllServerNames
public FilterChainMatch.Builder addAllServerNames(Iterable<String> values)
If non-empty, a list of server names (e.g. SNI for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the server names of a new connection, when detected by one of the listener filters. The server name will be matched against all wildcard domains, i.e. ``www.example.com`` will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``. Note that partial wildcards are not supported, and values like ``*w.example.com`` are invalid. .. attention:: See the :ref:`FAQ entry <faq_how_to_setup_sni>` on how to configure SNI for more information.
repeated string server_names = 11;- Parameters:
values- The serverNames to add.- Returns:
- This builder for chaining.
-
clearServerNames
public FilterChainMatch.Builder clearServerNames()
If non-empty, a list of server names (e.g. SNI for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the server names of a new connection, when detected by one of the listener filters. The server name will be matched against all wildcard domains, i.e. ``www.example.com`` will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``. Note that partial wildcards are not supported, and values like ``*w.example.com`` are invalid. .. attention:: See the :ref:`FAQ entry <faq_how_to_setup_sni>` on how to configure SNI for more information.
repeated string server_names = 11;- Returns:
- This builder for chaining.
-
addServerNamesBytes
public FilterChainMatch.Builder addServerNamesBytes(com.google.protobuf.ByteString value)
If non-empty, a list of server names (e.g. SNI for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the server names of a new connection, when detected by one of the listener filters. The server name will be matched against all wildcard domains, i.e. ``www.example.com`` will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``. Note that partial wildcards are not supported, and values like ``*w.example.com`` are invalid. .. attention:: See the :ref:`FAQ entry <faq_how_to_setup_sni>` on how to configure SNI for more information.
repeated string server_names = 11;- Parameters:
value- The bytes of the serverNames to add.- Returns:
- This builder for chaining.
-
getTransportProtocol
public String getTransportProtocol()
If non-empty, a transport protocol to consider when determining a filter chain match. This value will be compared against the transport protocol of a new connection, when it's detected by one of the listener filters. Suggested values include: * ``raw_buffer`` - default, used when no transport protocol is detected, * ``tls`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>` when TLS protocol is detected.
string transport_protocol = 9;- Specified by:
getTransportProtocolin interfaceFilterChainMatchOrBuilder- Returns:
- The transportProtocol.
-
getTransportProtocolBytes
public com.google.protobuf.ByteString getTransportProtocolBytes()
If non-empty, a transport protocol to consider when determining a filter chain match. This value will be compared against the transport protocol of a new connection, when it's detected by one of the listener filters. Suggested values include: * ``raw_buffer`` - default, used when no transport protocol is detected, * ``tls`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>` when TLS protocol is detected.
string transport_protocol = 9;- Specified by:
getTransportProtocolBytesin interfaceFilterChainMatchOrBuilder- Returns:
- The bytes for transportProtocol.
-
setTransportProtocol
public FilterChainMatch.Builder setTransportProtocol(String value)
If non-empty, a transport protocol to consider when determining a filter chain match. This value will be compared against the transport protocol of a new connection, when it's detected by one of the listener filters. Suggested values include: * ``raw_buffer`` - default, used when no transport protocol is detected, * ``tls`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>` when TLS protocol is detected.
string transport_protocol = 9;- Parameters:
value- The transportProtocol to set.- Returns:
- This builder for chaining.
-
clearTransportProtocol
public FilterChainMatch.Builder clearTransportProtocol()
If non-empty, a transport protocol to consider when determining a filter chain match. This value will be compared against the transport protocol of a new connection, when it's detected by one of the listener filters. Suggested values include: * ``raw_buffer`` - default, used when no transport protocol is detected, * ``tls`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>` when TLS protocol is detected.
string transport_protocol = 9;- Returns:
- This builder for chaining.
-
setTransportProtocolBytes
public FilterChainMatch.Builder setTransportProtocolBytes(com.google.protobuf.ByteString value)
If non-empty, a transport protocol to consider when determining a filter chain match. This value will be compared against the transport protocol of a new connection, when it's detected by one of the listener filters. Suggested values include: * ``raw_buffer`` - default, used when no transport protocol is detected, * ``tls`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>` when TLS protocol is detected.
string transport_protocol = 9;- Parameters:
value- The bytes for transportProtocol to set.- Returns:
- This builder for chaining.
-
getApplicationProtocolsList
public com.google.protobuf.ProtocolStringList getApplicationProtocolsList()
If non-empty, a list of application protocols (e.g. ALPN for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the application protocols of a new connection, when detected by one of the listener filters. Suggested values include: * ``http/1.1`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>`, * ``h2`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>` .. attention:: Currently, only :ref:`TLS Inspector <config_listener_filters_tls_inspector>` provides application protocol detection based on the requested `ALPN <https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ values. However, the use of ALPN is pretty much limited to the HTTP/2 traffic on the Internet, and matching on values other than ``h2`` is going to lead to a lot of false negatives, unless all connecting clients are known to use ALPN.
repeated string application_protocols = 10;- Specified by:
getApplicationProtocolsListin interfaceFilterChainMatchOrBuilder- Returns:
- A list containing the applicationProtocols.
-
getApplicationProtocolsCount
public int getApplicationProtocolsCount()
If non-empty, a list of application protocols (e.g. ALPN for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the application protocols of a new connection, when detected by one of the listener filters. Suggested values include: * ``http/1.1`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>`, * ``h2`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>` .. attention:: Currently, only :ref:`TLS Inspector <config_listener_filters_tls_inspector>` provides application protocol detection based on the requested `ALPN <https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ values. However, the use of ALPN is pretty much limited to the HTTP/2 traffic on the Internet, and matching on values other than ``h2`` is going to lead to a lot of false negatives, unless all connecting clients are known to use ALPN.
repeated string application_protocols = 10;- Specified by:
getApplicationProtocolsCountin interfaceFilterChainMatchOrBuilder- Returns:
- The count of applicationProtocols.
-
getApplicationProtocols
public String getApplicationProtocols(int index)
If non-empty, a list of application protocols (e.g. ALPN for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the application protocols of a new connection, when detected by one of the listener filters. Suggested values include: * ``http/1.1`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>`, * ``h2`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>` .. attention:: Currently, only :ref:`TLS Inspector <config_listener_filters_tls_inspector>` provides application protocol detection based on the requested `ALPN <https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ values. However, the use of ALPN is pretty much limited to the HTTP/2 traffic on the Internet, and matching on values other than ``h2`` is going to lead to a lot of false negatives, unless all connecting clients are known to use ALPN.
repeated string application_protocols = 10;- Specified by:
getApplicationProtocolsin interfaceFilterChainMatchOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The applicationProtocols at the given index.
-
getApplicationProtocolsBytes
public com.google.protobuf.ByteString getApplicationProtocolsBytes(int index)
If non-empty, a list of application protocols (e.g. ALPN for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the application protocols of a new connection, when detected by one of the listener filters. Suggested values include: * ``http/1.1`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>`, * ``h2`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>` .. attention:: Currently, only :ref:`TLS Inspector <config_listener_filters_tls_inspector>` provides application protocol detection based on the requested `ALPN <https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ values. However, the use of ALPN is pretty much limited to the HTTP/2 traffic on the Internet, and matching on values other than ``h2`` is going to lead to a lot of false negatives, unless all connecting clients are known to use ALPN.
repeated string application_protocols = 10;- Specified by:
getApplicationProtocolsBytesin interfaceFilterChainMatchOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the applicationProtocols at the given index.
-
setApplicationProtocols
public FilterChainMatch.Builder setApplicationProtocols(int index, String value)
If non-empty, a list of application protocols (e.g. ALPN for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the application protocols of a new connection, when detected by one of the listener filters. Suggested values include: * ``http/1.1`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>`, * ``h2`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>` .. attention:: Currently, only :ref:`TLS Inspector <config_listener_filters_tls_inspector>` provides application protocol detection based on the requested `ALPN <https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ values. However, the use of ALPN is pretty much limited to the HTTP/2 traffic on the Internet, and matching on values other than ``h2`` is going to lead to a lot of false negatives, unless all connecting clients are known to use ALPN.
repeated string application_protocols = 10;- Parameters:
index- The index to set the value at.value- The applicationProtocols to set.- Returns:
- This builder for chaining.
-
addApplicationProtocols
public FilterChainMatch.Builder addApplicationProtocols(String value)
If non-empty, a list of application protocols (e.g. ALPN for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the application protocols of a new connection, when detected by one of the listener filters. Suggested values include: * ``http/1.1`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>`, * ``h2`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>` .. attention:: Currently, only :ref:`TLS Inspector <config_listener_filters_tls_inspector>` provides application protocol detection based on the requested `ALPN <https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ values. However, the use of ALPN is pretty much limited to the HTTP/2 traffic on the Internet, and matching on values other than ``h2`` is going to lead to a lot of false negatives, unless all connecting clients are known to use ALPN.
repeated string application_protocols = 10;- Parameters:
value- The applicationProtocols to add.- Returns:
- This builder for chaining.
-
addAllApplicationProtocols
public FilterChainMatch.Builder addAllApplicationProtocols(Iterable<String> values)
If non-empty, a list of application protocols (e.g. ALPN for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the application protocols of a new connection, when detected by one of the listener filters. Suggested values include: * ``http/1.1`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>`, * ``h2`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>` .. attention:: Currently, only :ref:`TLS Inspector <config_listener_filters_tls_inspector>` provides application protocol detection based on the requested `ALPN <https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ values. However, the use of ALPN is pretty much limited to the HTTP/2 traffic on the Internet, and matching on values other than ``h2`` is going to lead to a lot of false negatives, unless all connecting clients are known to use ALPN.
repeated string application_protocols = 10;- Parameters:
values- The applicationProtocols to add.- Returns:
- This builder for chaining.
-
clearApplicationProtocols
public FilterChainMatch.Builder clearApplicationProtocols()
If non-empty, a list of application protocols (e.g. ALPN for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the application protocols of a new connection, when detected by one of the listener filters. Suggested values include: * ``http/1.1`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>`, * ``h2`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>` .. attention:: Currently, only :ref:`TLS Inspector <config_listener_filters_tls_inspector>` provides application protocol detection based on the requested `ALPN <https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ values. However, the use of ALPN is pretty much limited to the HTTP/2 traffic on the Internet, and matching on values other than ``h2`` is going to lead to a lot of false negatives, unless all connecting clients are known to use ALPN.
repeated string application_protocols = 10;- Returns:
- This builder for chaining.
-
addApplicationProtocolsBytes
public FilterChainMatch.Builder addApplicationProtocolsBytes(com.google.protobuf.ByteString value)
If non-empty, a list of application protocols (e.g. ALPN for TLS protocol) to consider when determining a filter chain match. Those values will be compared against the application protocols of a new connection, when detected by one of the listener filters. Suggested values include: * ``http/1.1`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>`, * ``h2`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>` .. attention:: Currently, only :ref:`TLS Inspector <config_listener_filters_tls_inspector>` provides application protocol detection based on the requested `ALPN <https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ values. However, the use of ALPN is pretty much limited to the HTTP/2 traffic on the Internet, and matching on values other than ``h2`` is going to lead to a lot of false negatives, unless all connecting clients are known to use ALPN.
repeated string application_protocols = 10;- Parameters:
value- The bytes of the applicationProtocols to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final FilterChainMatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterChainMatch.Builder>
-
mergeUnknownFields
public final FilterChainMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterChainMatch.Builder>
-
-