public final class ListenerFilterChainMatchPredicate extends com.google.protobuf.GeneratedMessageV3 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.ListenerFilterChainMatchPredicate| Modifier and Type | Class and Description |
|---|---|
static class |
ListenerFilterChainMatchPredicate.Builder
Listener filter chain match configuration.
|
static class |
ListenerFilterChainMatchPredicate.MatchSet
A set of match configurations used for logical operations.
|
static interface |
ListenerFilterChainMatchPredicate.MatchSetOrBuilder |
static class |
ListenerFilterChainMatchPredicate.RuleCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AND_MATCH_FIELD_NUMBER |
static int |
ANY_MATCH_FIELD_NUMBER |
static int |
DESTINATION_PORT_RANGE_FIELD_NUMBER |
static int |
NOT_MATCH_FIELD_NUMBER |
static int |
OR_MATCH_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int OR_MATCH_FIELD_NUMBER
public static final int AND_MATCH_FIELD_NUMBER
public static final int NOT_MATCH_FIELD_NUMBER
public static final int ANY_MATCH_FIELD_NUMBER
public static final int DESTINATION_PORT_RANGE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ListenerFilterChainMatchPredicate.RuleCase getRuleCase()
getRuleCase in interface ListenerFilterChainMatchPredicateOrBuilderpublic 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.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.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 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 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 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 boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ListenerFilterChainMatchPredicate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenerFilterChainMatchPredicate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenerFilterChainMatchPredicate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenerFilterChainMatchPredicate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenerFilterChainMatchPredicate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenerFilterChainMatchPredicate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenerFilterChainMatchPredicate parseFrom(InputStream input) throws IOException
IOExceptionpublic static ListenerFilterChainMatchPredicate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListenerFilterChainMatchPredicate parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ListenerFilterChainMatchPredicate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListenerFilterChainMatchPredicate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ListenerFilterChainMatchPredicate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ListenerFilterChainMatchPredicate.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ListenerFilterChainMatchPredicate.Builder newBuilder()
public static ListenerFilterChainMatchPredicate.Builder newBuilder(ListenerFilterChainMatchPredicate prototype)
public ListenerFilterChainMatchPredicate.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ListenerFilterChainMatchPredicate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ListenerFilterChainMatchPredicate getDefaultInstance()
public static com.google.protobuf.Parser<ListenerFilterChainMatchPredicate> parser()
public com.google.protobuf.Parser<ListenerFilterChainMatchPredicate> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ListenerFilterChainMatchPredicate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.