public static final class ListenerFilterChainMatchPredicate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder> implements ListenerFilterChainMatchPredicateOrBuilder
Listener filter chain match configuration. This is a recursive structure which allows complex
nested match configurations to be built using various logical operators.
Examples:
* Matches if the destination port is 3306.
.. code-block:: yaml
destination_port_range:
start: 3306
end: 3307
* Matches if the destination port is 3306 or 15000.
.. code-block:: yaml
or_match:
rules:
- destination_port_range:
start: 3306
end: 3306
- destination_port_range:
start: 15000
end: 15001
[#next-free-field: 6]
Protobuf type envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicategetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>public ListenerFilterChainMatchPredicate.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>public ListenerFilterChainMatchPredicate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListenerFilterChainMatchPredicate build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListenerFilterChainMatchPredicate buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListenerFilterChainMatchPredicate.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>public ListenerFilterChainMatchPredicate.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>public ListenerFilterChainMatchPredicate.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>public ListenerFilterChainMatchPredicate.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>public ListenerFilterChainMatchPredicate.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>public ListenerFilterChainMatchPredicate.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>public ListenerFilterChainMatchPredicate.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListenerFilterChainMatchPredicate.Builder>public ListenerFilterChainMatchPredicate.Builder mergeFrom(ListenerFilterChainMatchPredicate other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>public ListenerFilterChainMatchPredicate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListenerFilterChainMatchPredicate.Builder>IOExceptionpublic ListenerFilterChainMatchPredicate.RuleCase getRuleCase()
getRuleCase in interface ListenerFilterChainMatchPredicateOrBuilderpublic ListenerFilterChainMatchPredicate.Builder clearRule()
public boolean hasOrMatch()
A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate.MatchSet or_match = 1;hasOrMatch in interface ListenerFilterChainMatchPredicateOrBuilderpublic ListenerFilterChainMatchPredicate.MatchSet getOrMatch()
A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate.MatchSet or_match = 1;getOrMatch in interface ListenerFilterChainMatchPredicateOrBuilderpublic ListenerFilterChainMatchPredicate.Builder setOrMatch(ListenerFilterChainMatchPredicate.MatchSet value)
A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate.MatchSet or_match = 1;public ListenerFilterChainMatchPredicate.Builder setOrMatch(ListenerFilterChainMatchPredicate.MatchSet.Builder builderForValue)
A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate.MatchSet or_match = 1;public ListenerFilterChainMatchPredicate.Builder mergeOrMatch(ListenerFilterChainMatchPredicate.MatchSet value)
A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate.MatchSet or_match = 1;public ListenerFilterChainMatchPredicate.Builder clearOrMatch()
A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate.MatchSet or_match = 1;public ListenerFilterChainMatchPredicate.MatchSet.Builder getOrMatchBuilder()
A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate.MatchSet or_match = 1;public ListenerFilterChainMatchPredicate.MatchSetOrBuilder getOrMatchOrBuilder()
A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate.MatchSet or_match = 1;getOrMatchOrBuilder in interface ListenerFilterChainMatchPredicateOrBuilderpublic boolean hasAndMatch()
A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate.MatchSet and_match = 2;hasAndMatch in interface ListenerFilterChainMatchPredicateOrBuilderpublic ListenerFilterChainMatchPredicate.MatchSet getAndMatch()
A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate.MatchSet and_match = 2;getAndMatch in interface ListenerFilterChainMatchPredicateOrBuilderpublic ListenerFilterChainMatchPredicate.Builder setAndMatch(ListenerFilterChainMatchPredicate.MatchSet value)
A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate.MatchSet and_match = 2;public ListenerFilterChainMatchPredicate.Builder setAndMatch(ListenerFilterChainMatchPredicate.MatchSet.Builder builderForValue)
A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate.MatchSet and_match = 2;public ListenerFilterChainMatchPredicate.Builder mergeAndMatch(ListenerFilterChainMatchPredicate.MatchSet value)
A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate.MatchSet and_match = 2;public ListenerFilterChainMatchPredicate.Builder clearAndMatch()
A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate.MatchSet and_match = 2;public ListenerFilterChainMatchPredicate.MatchSet.Builder getAndMatchBuilder()
A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate.MatchSet and_match = 2;public ListenerFilterChainMatchPredicate.MatchSetOrBuilder getAndMatchOrBuilder()
A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate.MatchSet and_match = 2;getAndMatchOrBuilder in interface ListenerFilterChainMatchPredicateOrBuilderpublic boolean hasNotMatch()
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate not_match = 3;hasNotMatch in interface ListenerFilterChainMatchPredicateOrBuilderpublic ListenerFilterChainMatchPredicate getNotMatch()
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate not_match = 3;getNotMatch in interface ListenerFilterChainMatchPredicateOrBuilderpublic ListenerFilterChainMatchPredicate.Builder setNotMatch(ListenerFilterChainMatchPredicate value)
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate not_match = 3;public ListenerFilterChainMatchPredicate.Builder setNotMatch(ListenerFilterChainMatchPredicate.Builder builderForValue)
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate not_match = 3;public ListenerFilterChainMatchPredicate.Builder mergeNotMatch(ListenerFilterChainMatchPredicate value)
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate not_match = 3;public ListenerFilterChainMatchPredicate.Builder clearNotMatch()
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate not_match = 3;public ListenerFilterChainMatchPredicate.Builder getNotMatchBuilder()
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate not_match = 3;public ListenerFilterChainMatchPredicateOrBuilder getNotMatchOrBuilder()
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v4alpha.ListenerFilterChainMatchPredicate not_match = 3;getNotMatchOrBuilder in interface ListenerFilterChainMatchPredicateOrBuilderpublic boolean getAnyMatch()
The match configuration will always match.
bool any_match = 4 [(.validate.rules) = { ... }getAnyMatch in interface ListenerFilterChainMatchPredicateOrBuilderpublic ListenerFilterChainMatchPredicate.Builder setAnyMatch(boolean value)
The match configuration will always match.
bool any_match = 4 [(.validate.rules) = { ... }public ListenerFilterChainMatchPredicate.Builder clearAnyMatch()
The match configuration will always match.
bool any_match = 4 [(.validate.rules) = { ... }public boolean hasDestinationPortRange()
Match destination port. Particularly, the match evaluation must use the recovered local port if the owning listener filter is after :ref:`an original_dst listener filter <config_listener_filters_original_dst>`.
.envoy.type.v3.Int32Range destination_port_range = 5;hasDestinationPortRange in interface ListenerFilterChainMatchPredicateOrBuilderpublic Int32Range getDestinationPortRange()
Match destination port. Particularly, the match evaluation must use the recovered local port if the owning listener filter is after :ref:`an original_dst listener filter <config_listener_filters_original_dst>`.
.envoy.type.v3.Int32Range destination_port_range = 5;getDestinationPortRange in interface ListenerFilterChainMatchPredicateOrBuilderpublic ListenerFilterChainMatchPredicate.Builder setDestinationPortRange(Int32Range value)
Match destination port. Particularly, the match evaluation must use the recovered local port if the owning listener filter is after :ref:`an original_dst listener filter <config_listener_filters_original_dst>`.
.envoy.type.v3.Int32Range destination_port_range = 5;public ListenerFilterChainMatchPredicate.Builder setDestinationPortRange(Int32Range.Builder builderForValue)
Match destination port. Particularly, the match evaluation must use the recovered local port if the owning listener filter is after :ref:`an original_dst listener filter <config_listener_filters_original_dst>`.
.envoy.type.v3.Int32Range destination_port_range = 5;public ListenerFilterChainMatchPredicate.Builder mergeDestinationPortRange(Int32Range value)
Match destination port. Particularly, the match evaluation must use the recovered local port if the owning listener filter is after :ref:`an original_dst listener filter <config_listener_filters_original_dst>`.
.envoy.type.v3.Int32Range destination_port_range = 5;public ListenerFilterChainMatchPredicate.Builder clearDestinationPortRange()
Match destination port. Particularly, the match evaluation must use the recovered local port if the owning listener filter is after :ref:`an original_dst listener filter <config_listener_filters_original_dst>`.
.envoy.type.v3.Int32Range destination_port_range = 5;public Int32Range.Builder getDestinationPortRangeBuilder()
Match destination port. Particularly, the match evaluation must use the recovered local port if the owning listener filter is after :ref:`an original_dst listener filter <config_listener_filters_original_dst>`.
.envoy.type.v3.Int32Range destination_port_range = 5;public Int32RangeOrBuilder getDestinationPortRangeOrBuilder()
Match destination port. Particularly, the match evaluation must use the recovered local port if the owning listener filter is after :ref:`an original_dst listener filter <config_listener_filters_original_dst>`.
.envoy.type.v3.Int32Range destination_port_range = 5;getDestinationPortRangeOrBuilder in interface ListenerFilterChainMatchPredicateOrBuilderpublic final ListenerFilterChainMatchPredicate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>public final ListenerFilterChainMatchPredicate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.