Class ListenerFilterChainMatchPredicate.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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.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: 3307 - destination_port_range: start: 15000 end: 15001 [#next-free-field: 6]Protobuf typeenvoy.config.listener.v3.ListenerFilterChainMatchPredicate
-
-
Method Summary
-
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<ListenerFilterChainMatchPredicate.Builder>
-
clear
public ListenerFilterChainMatchPredicate.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<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.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>
-
getDefaultInstanceForType
public ListenerFilterChainMatchPredicate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListenerFilterChainMatchPredicate build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListenerFilterChainMatchPredicate buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListenerFilterChainMatchPredicate.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<ListenerFilterChainMatchPredicate.Builder>
-
setField
public ListenerFilterChainMatchPredicate.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<ListenerFilterChainMatchPredicate.Builder>
-
clearField
public ListenerFilterChainMatchPredicate.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>
-
clearOneof
public ListenerFilterChainMatchPredicate.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>
-
setRepeatedField
public ListenerFilterChainMatchPredicate.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<ListenerFilterChainMatchPredicate.Builder>
-
addRepeatedField
public ListenerFilterChainMatchPredicate.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<ListenerFilterChainMatchPredicate.Builder>
-
mergeFrom
public ListenerFilterChainMatchPredicate.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListenerFilterChainMatchPredicate.Builder>
-
mergeFrom
public ListenerFilterChainMatchPredicate.Builder mergeFrom(ListenerFilterChainMatchPredicate other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public ListenerFilterChainMatchPredicate.RuleCase getRuleCase()
- Specified by:
getRuleCasein interfaceListenerFilterChainMatchPredicateOrBuilder
-
clearRule
public ListenerFilterChainMatchPredicate.Builder 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
public ListenerFilterChainMatchPredicate.MatchSet 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
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.v3.ListenerFilterChainMatchPredicate.MatchSet or_match = 1;
-
getOrMatchBuilder
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.v3.ListenerFilterChainMatchPredicate.MatchSet or_match = 1;
-
getOrMatchOrBuilder
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.v3.ListenerFilterChainMatchPredicate.MatchSet or_match = 1;- Specified by:
getOrMatchOrBuilderin interfaceListenerFilterChainMatchPredicateOrBuilder
-
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
public ListenerFilterChainMatchPredicate.MatchSet 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
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.v3.ListenerFilterChainMatchPredicate.MatchSet and_match = 2;
-
getAndMatchBuilder
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.v3.ListenerFilterChainMatchPredicate.MatchSet and_match = 2;
-
getAndMatchOrBuilder
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.v3.ListenerFilterChainMatchPredicate.MatchSet and_match = 2;- Specified by:
getAndMatchOrBuilderin interfaceListenerFilterChainMatchPredicateOrBuilder
-
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
public ListenerFilterChainMatchPredicate 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
public ListenerFilterChainMatchPredicate.Builder clearNotMatch()
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate not_match = 3;
-
getNotMatchBuilder
public ListenerFilterChainMatchPredicate.Builder getNotMatchBuilder()
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate not_match = 3;
-
getNotMatchOrBuilder
public ListenerFilterChainMatchPredicateOrBuilder 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
-
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
public ListenerFilterChainMatchPredicate.Builder setAnyMatch(boolean value)
The match configuration will always match.
bool any_match = 4 [(.validate.rules) = { ... }- Parameters:
value- The anyMatch to set.- Returns:
- This builder for chaining.
-
clearAnyMatch
public ListenerFilterChainMatchPredicate.Builder 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
public 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;- Specified by:
getDestinationPortRangein interfaceListenerFilterChainMatchPredicateOrBuilder- Returns:
- The destinationPortRange.
-
setDestinationPortRange
public 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;
-
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
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;
-
clearDestinationPortRange
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;
-
getDestinationPortRangeBuilder
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;
-
getDestinationPortRangeOrBuilder
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;- Specified by:
getDestinationPortRangeOrBuilderin interfaceListenerFilterChainMatchPredicateOrBuilder
-
setUnknownFields
public final ListenerFilterChainMatchPredicate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>
-
mergeUnknownFields
public final ListenerFilterChainMatchPredicate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListenerFilterChainMatchPredicate.Builder>
-
-