Class ListenerFilterChainMatchPredicate.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ListenerFilterChainMatchPredicate.Builder>
com.google.protobuf.GeneratedMessage.Builder<ListenerFilterChainMatchPredicate.Builder>
io.envoyproxy.envoy.config.listener.v3.ListenerFilterChainMatchPredicate.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ListenerFilterChainMatchPredicateOrBuilder, Cloneable
- Enclosing class:
ListenerFilterChainMatchPredicate
public static final class ListenerFilterChainMatchPredicate.Builder
extends com.google.protobuf.GeneratedMessage.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: 3307 - destination_port_range: start: 15000 end: 15001 [#next-free-field: 6]Protobuf type
envoy.config.listener.v3.ListenerFilterChainMatchPredicate-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.google.protobuf.SingleFieldBuilder<ListenerFilterChainMatchPredicate.MatchSet, ListenerFilterChainMatchPredicate.MatchSet.Builder, ListenerFilterChainMatchPredicate.MatchSetOrBuilder> private intprivate com.google.protobuf.SingleFieldBuilder<Int32Range, Int32Range.Builder, Int32RangeOrBuilder> private com.google.protobuf.SingleFieldBuilder<ListenerFilterChainMatchPredicate, ListenerFilterChainMatchPredicate.Builder, ListenerFilterChainMatchPredicateOrBuilder> private com.google.protobuf.SingleFieldBuilder<ListenerFilterChainMatchPredicate.MatchSet, ListenerFilterChainMatchPredicate.MatchSet.Builder, ListenerFilterChainMatchPredicate.MatchSetOrBuilder> private Objectprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidprivate voidclear()A set that describes a logical AND.The match configuration will always match.Match destination port.A negation match.A set that describes a logical OR.A set that describes a logical AND.A set that describes a logical AND.A set that describes a logical AND.booleanThe match configuration will always match.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorMatch destination port.Match destination port.Match destination port.A negation match.A negation match.A negation match.A set that describes a logical OR.A set that describes a logical OR.A set that describes a logical OR.booleanA set that describes a logical AND.booleanThe match configuration will always match.booleanMatch destination port.booleanA negation match.booleanA set that describes a logical OR.private com.google.protobuf.SingleFieldBuilder<ListenerFilterChainMatchPredicate.MatchSet, ListenerFilterChainMatchPredicate.MatchSet.Builder, ListenerFilterChainMatchPredicate.MatchSetOrBuilder> A set that describes a logical AND.private com.google.protobuf.SingleFieldBuilder<Int32Range, Int32Range.Builder, Int32RangeOrBuilder> Match destination port.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.SingleFieldBuilder<ListenerFilterChainMatchPredicate, ListenerFilterChainMatchPredicate.Builder, ListenerFilterChainMatchPredicateOrBuilder> A negation match.private com.google.protobuf.SingleFieldBuilder<ListenerFilterChainMatchPredicate.MatchSet, ListenerFilterChainMatchPredicate.MatchSet.Builder, ListenerFilterChainMatchPredicate.MatchSetOrBuilder> A set that describes a logical OR.final booleanA set that describes a logical AND.Match destination port.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) A negation match.A set that describes a logical OR.A set that describes a logical AND.setAndMatch(ListenerFilterChainMatchPredicate.MatchSet.Builder builderForValue) A set that describes a logical AND.setAnyMatch(boolean value) The match configuration will always match.Match destination port.setDestinationPortRange(Int32Range.Builder builderForValue) Match destination port.A negation match.setNotMatch(ListenerFilterChainMatchPredicate.Builder builderForValue) A negation match.A set that describes a logical OR.setOrMatch(ListenerFilterChainMatchPredicate.MatchSet.Builder builderForValue) A set that describes a logical OR.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ruleCase_
private int ruleCase_ -
rule_
-
bitField0_
private int bitField0_ -
orMatchBuilder_
private com.google.protobuf.SingleFieldBuilder<ListenerFilterChainMatchPredicate.MatchSet, ListenerFilterChainMatchPredicate.MatchSet.Builder, ListenerFilterChainMatchPredicate.MatchSetOrBuilder> orMatchBuilder_ -
andMatchBuilder_
private com.google.protobuf.SingleFieldBuilder<ListenerFilterChainMatchPredicate.MatchSet, ListenerFilterChainMatchPredicate.MatchSet.Builder, ListenerFilterChainMatchPredicate.MatchSetOrBuilder> andMatchBuilder_ -
notMatchBuilder_
private com.google.protobuf.SingleFieldBuilder<ListenerFilterChainMatchPredicate, ListenerFilterChainMatchPredicate.Builder, ListenerFilterChainMatchPredicateOrBuilder> notMatchBuilder_ -
destinationPortRangeBuilder_
private com.google.protobuf.SingleFieldBuilder<Int32Range, Int32Range.Builder, Int32RangeOrBuilder> destinationPortRangeBuilder_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListenerFilterChainMatchPredicate.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListenerFilterChainMatchPredicate.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.GeneratedMessage.Builder<ListenerFilterChainMatchPredicate.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListenerFilterChainMatchPredicate.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListenerFilterChainMatchPredicate.Builder>
-
mergeFrom
public ListenerFilterChainMatchPredicate.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<ListenerFilterChainMatchPredicate.Builder>- Throws:
IOException
-
getRuleCase
- Specified by:
getRuleCasein interfaceListenerFilterChainMatchPredicateOrBuilder
-
clearRule
-
hasOrMatch
public boolean hasOrMatch()A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate.MatchSet or_match = 1;- Specified by:
hasOrMatchin interfaceListenerFilterChainMatchPredicateOrBuilder- Returns:
- Whether the orMatch field is set.
-
getOrMatch
A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate.MatchSet or_match = 1;- Specified by:
getOrMatchin interfaceListenerFilterChainMatchPredicateOrBuilder- Returns:
- The orMatch.
-
setOrMatch
public 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.v3.ListenerFilterChainMatchPredicate.MatchSet or_match = 1; -
setOrMatch
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.v3.ListenerFilterChainMatchPredicate.MatchSet or_match = 1; -
mergeOrMatch
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.v3.ListenerFilterChainMatchPredicate.MatchSet or_match = 1; -
clearOrMatch
A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate.MatchSet or_match = 1; -
getOrMatchBuilder
A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate.MatchSet or_match = 1; -
getOrMatchOrBuilder
A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate.MatchSet or_match = 1;- Specified by:
getOrMatchOrBuilderin interfaceListenerFilterChainMatchPredicateOrBuilder
-
internalGetOrMatchFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ListenerFilterChainMatchPredicate.MatchSet, ListenerFilterChainMatchPredicate.MatchSet.Builder, ListenerFilterChainMatchPredicate.MatchSetOrBuilder> internalGetOrMatchFieldBuilder()A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate.MatchSet or_match = 1; -
hasAndMatch
public boolean hasAndMatch()A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate.MatchSet and_match = 2;- Specified by:
hasAndMatchin interfaceListenerFilterChainMatchPredicateOrBuilder- Returns:
- Whether the andMatch field is set.
-
getAndMatch
A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate.MatchSet and_match = 2;- Specified by:
getAndMatchin interfaceListenerFilterChainMatchPredicateOrBuilder- Returns:
- The andMatch.
-
setAndMatch
public 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.v3.ListenerFilterChainMatchPredicate.MatchSet and_match = 2; -
setAndMatch
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.v3.ListenerFilterChainMatchPredicate.MatchSet and_match = 2; -
mergeAndMatch
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.v3.ListenerFilterChainMatchPredicate.MatchSet and_match = 2; -
clearAndMatch
A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate.MatchSet and_match = 2; -
getAndMatchBuilder
A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate.MatchSet and_match = 2; -
getAndMatchOrBuilder
A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate.MatchSet and_match = 2;- Specified by:
getAndMatchOrBuilderin interfaceListenerFilterChainMatchPredicateOrBuilder
-
internalGetAndMatchFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ListenerFilterChainMatchPredicate.MatchSet, ListenerFilterChainMatchPredicate.MatchSet.Builder, ListenerFilterChainMatchPredicate.MatchSetOrBuilder> internalGetAndMatchFieldBuilder()A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate.MatchSet and_match = 2; -
hasNotMatch
public boolean hasNotMatch()A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate not_match = 3;- Specified by:
hasNotMatchin interfaceListenerFilterChainMatchPredicateOrBuilder- Returns:
- Whether the notMatch field is set.
-
getNotMatch
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate not_match = 3;- Specified by:
getNotMatchin interfaceListenerFilterChainMatchPredicateOrBuilder- Returns:
- The notMatch.
-
setNotMatch
public ListenerFilterChainMatchPredicate.Builder setNotMatch(ListenerFilterChainMatchPredicate value) A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate not_match = 3; -
setNotMatch
public ListenerFilterChainMatchPredicate.Builder setNotMatch(ListenerFilterChainMatchPredicate.Builder builderForValue) A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate not_match = 3; -
mergeNotMatch
public ListenerFilterChainMatchPredicate.Builder mergeNotMatch(ListenerFilterChainMatchPredicate value) A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate not_match = 3; -
clearNotMatch
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate not_match = 3; -
getNotMatchBuilder
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate not_match = 3; -
getNotMatchOrBuilder
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate not_match = 3;- Specified by:
getNotMatchOrBuilderin interfaceListenerFilterChainMatchPredicateOrBuilder
-
internalGetNotMatchFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ListenerFilterChainMatchPredicate, ListenerFilterChainMatchPredicate.Builder, ListenerFilterChainMatchPredicateOrBuilder> internalGetNotMatchFieldBuilder()A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate not_match = 3; -
hasAnyMatch
public boolean hasAnyMatch()The match configuration will always match.
bool any_match = 4 [(.validate.rules) = { ... }- Specified by:
hasAnyMatchin interfaceListenerFilterChainMatchPredicateOrBuilder- Returns:
- Whether the anyMatch field is set.
-
getAnyMatch
public boolean getAnyMatch()The match configuration will always match.
bool any_match = 4 [(.validate.rules) = { ... }- Specified by:
getAnyMatchin interfaceListenerFilterChainMatchPredicateOrBuilder- Returns:
- The anyMatch.
-
setAnyMatch
The match configuration will always match.
bool any_match = 4 [(.validate.rules) = { ... }- Parameters:
value- The anyMatch to set.- Returns:
- This builder for chaining.
-
clearAnyMatch
The match configuration will always match.
bool any_match = 4 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
hasDestinationPortRange
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;- Specified by:
hasDestinationPortRangein interfaceListenerFilterChainMatchPredicateOrBuilder- Returns:
- Whether the destinationPortRange field is set.
-
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;- Specified by:
getDestinationPortRangein interfaceListenerFilterChainMatchPredicateOrBuilder- Returns:
- The destinationPortRange.
-
setDestinationPortRange
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; -
setDestinationPortRange
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; -
mergeDestinationPortRange
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; -
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; -
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; -
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;- Specified by:
getDestinationPortRangeOrBuilderin interfaceListenerFilterChainMatchPredicateOrBuilder
-
internalGetDestinationPortRangeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Int32Range, Int32Range.Builder, Int32RangeOrBuilder> internalGetDestinationPortRangeFieldBuilder()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;
-