public final class MatchPredicate extends com.google.protobuf.GeneratedMessageV3 implements MatchPredicateOrBuilder
Tap match configuration. This is a recursive structure which allows complex nested match configurations to be built using various logical operators. [#next-free-field: 11]Protobuf type
envoy.config.tap.v4alpha.MatchPredicate| Modifier and Type | Class and Description |
|---|---|
static class |
MatchPredicate.Builder
Tap match configuration.
|
static class |
MatchPredicate.MatchSet
A set of match configurations used for logical operations.
|
static interface |
MatchPredicate.MatchSetOrBuilder |
static class |
MatchPredicate.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 |
HTTP_REQUEST_GENERIC_BODY_MATCH_FIELD_NUMBER |
static int |
HTTP_REQUEST_HEADERS_MATCH_FIELD_NUMBER |
static int |
HTTP_REQUEST_TRAILERS_MATCH_FIELD_NUMBER |
static int |
HTTP_RESPONSE_GENERIC_BODY_MATCH_FIELD_NUMBER |
static int |
HTTP_RESPONSE_HEADERS_MATCH_FIELD_NUMBER |
static int |
HTTP_RESPONSE_TRAILERS_MATCH_FIELD_NUMBER |
static int |
NOT_MATCH_FIELD_NUMBER |
static int |
OR_MATCH_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
MatchPredicate.MatchSet |
getAndMatch()
A set that describes a logical AND.
|
MatchPredicate.MatchSetOrBuilder |
getAndMatchOrBuilder()
A set that describes a logical AND.
|
boolean |
getAnyMatch()
The match configuration will always match.
|
static MatchPredicate |
getDefaultInstance() |
MatchPredicate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
HttpGenericBodyMatch |
getHttpRequestGenericBodyMatch()
HTTP request generic body match configuration.
|
HttpGenericBodyMatchOrBuilder |
getHttpRequestGenericBodyMatchOrBuilder()
HTTP request generic body match configuration.
|
HttpHeadersMatch |
getHttpRequestHeadersMatch()
HTTP request headers match configuration.
|
HttpHeadersMatchOrBuilder |
getHttpRequestHeadersMatchOrBuilder()
HTTP request headers match configuration.
|
HttpHeadersMatch |
getHttpRequestTrailersMatch()
HTTP request trailers match configuration.
|
HttpHeadersMatchOrBuilder |
getHttpRequestTrailersMatchOrBuilder()
HTTP request trailers match configuration.
|
HttpGenericBodyMatch |
getHttpResponseGenericBodyMatch()
HTTP response generic body match configuration.
|
HttpGenericBodyMatchOrBuilder |
getHttpResponseGenericBodyMatchOrBuilder()
HTTP response generic body match configuration.
|
HttpHeadersMatch |
getHttpResponseHeadersMatch()
HTTP response headers match configuration.
|
HttpHeadersMatchOrBuilder |
getHttpResponseHeadersMatchOrBuilder()
HTTP response headers match configuration.
|
HttpHeadersMatch |
getHttpResponseTrailersMatch()
HTTP response trailers match configuration.
|
HttpHeadersMatchOrBuilder |
getHttpResponseTrailersMatchOrBuilder()
HTTP response trailers match configuration.
|
MatchPredicate |
getNotMatch()
A negation match.
|
MatchPredicateOrBuilder |
getNotMatchOrBuilder()
A negation match.
|
MatchPredicate.MatchSet |
getOrMatch()
A set that describes a logical OR.
|
MatchPredicate.MatchSetOrBuilder |
getOrMatchOrBuilder()
A set that describes a logical OR.
|
com.google.protobuf.Parser<MatchPredicate> |
getParserForType() |
MatchPredicate.RuleCase |
getRuleCase() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAndMatch()
A set that describes a logical AND.
|
int |
hashCode() |
boolean |
hasHttpRequestGenericBodyMatch()
HTTP request generic body match configuration.
|
boolean |
hasHttpRequestHeadersMatch()
HTTP request headers match configuration.
|
boolean |
hasHttpRequestTrailersMatch()
HTTP request trailers match configuration.
|
boolean |
hasHttpResponseGenericBodyMatch()
HTTP response generic body match configuration.
|
boolean |
hasHttpResponseHeadersMatch()
HTTP response headers match configuration.
|
boolean |
hasHttpResponseTrailersMatch()
HTTP response trailers match configuration.
|
boolean |
hasNotMatch()
A negation match.
|
boolean |
hasOrMatch()
A set that describes a logical OR.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MatchPredicate.Builder |
newBuilder() |
static MatchPredicate.Builder |
newBuilder(MatchPredicate prototype) |
MatchPredicate.Builder |
newBuilderForType() |
protected MatchPredicate.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MatchPredicate |
parseDelimitedFrom(InputStream input) |
static MatchPredicate |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MatchPredicate |
parseFrom(byte[] data) |
static MatchPredicate |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MatchPredicate |
parseFrom(ByteBuffer data) |
static MatchPredicate |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MatchPredicate |
parseFrom(com.google.protobuf.ByteString data) |
static MatchPredicate |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MatchPredicate |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MatchPredicate |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MatchPredicate |
parseFrom(InputStream input) |
static MatchPredicate |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MatchPredicate> |
parser() |
MatchPredicate.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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 HTTP_REQUEST_HEADERS_MATCH_FIELD_NUMBER
public static final int HTTP_REQUEST_TRAILERS_MATCH_FIELD_NUMBER
public static final int HTTP_RESPONSE_HEADERS_MATCH_FIELD_NUMBER
public static final int HTTP_RESPONSE_TRAILERS_MATCH_FIELD_NUMBER
public static final int HTTP_REQUEST_GENERIC_BODY_MATCH_FIELD_NUMBER
public static final int HTTP_RESPONSE_GENERIC_BODY_MATCH_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 MatchPredicate.RuleCase getRuleCase()
getRuleCase in interface MatchPredicateOrBuilderpublic boolean hasOrMatch()
A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.tap.v4alpha.MatchPredicate.MatchSet or_match = 1;hasOrMatch in interface MatchPredicateOrBuilderpublic MatchPredicate.MatchSet getOrMatch()
A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.tap.v4alpha.MatchPredicate.MatchSet or_match = 1;getOrMatch in interface MatchPredicateOrBuilderpublic MatchPredicate.MatchSetOrBuilder getOrMatchOrBuilder()
A set that describes a logical OR. If any member of the set matches, the match configuration matches.
.envoy.config.tap.v4alpha.MatchPredicate.MatchSet or_match = 1;getOrMatchOrBuilder in interface MatchPredicateOrBuilderpublic boolean hasAndMatch()
A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.tap.v4alpha.MatchPredicate.MatchSet and_match = 2;hasAndMatch in interface MatchPredicateOrBuilderpublic MatchPredicate.MatchSet getAndMatch()
A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.tap.v4alpha.MatchPredicate.MatchSet and_match = 2;getAndMatch in interface MatchPredicateOrBuilderpublic MatchPredicate.MatchSetOrBuilder getAndMatchOrBuilder()
A set that describes a logical AND. If all members of the set match, the match configuration matches.
.envoy.config.tap.v4alpha.MatchPredicate.MatchSet and_match = 2;getAndMatchOrBuilder in interface MatchPredicateOrBuilderpublic boolean hasNotMatch()
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.tap.v4alpha.MatchPredicate not_match = 3;hasNotMatch in interface MatchPredicateOrBuilderpublic MatchPredicate getNotMatch()
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.tap.v4alpha.MatchPredicate not_match = 3;getNotMatch in interface MatchPredicateOrBuilderpublic MatchPredicateOrBuilder getNotMatchOrBuilder()
A negation match. The match configuration will match if the negated match condition matches.
.envoy.config.tap.v4alpha.MatchPredicate not_match = 3;getNotMatchOrBuilder in interface MatchPredicateOrBuilderpublic boolean getAnyMatch()
The match configuration will always match.
bool any_match = 4 [(.validate.rules) = { ... }getAnyMatch in interface MatchPredicateOrBuilderpublic boolean hasHttpRequestHeadersMatch()
HTTP request headers match configuration.
.envoy.config.tap.v4alpha.HttpHeadersMatch http_request_headers_match = 5;hasHttpRequestHeadersMatch in interface MatchPredicateOrBuilderpublic HttpHeadersMatch getHttpRequestHeadersMatch()
HTTP request headers match configuration.
.envoy.config.tap.v4alpha.HttpHeadersMatch http_request_headers_match = 5;getHttpRequestHeadersMatch in interface MatchPredicateOrBuilderpublic HttpHeadersMatchOrBuilder getHttpRequestHeadersMatchOrBuilder()
HTTP request headers match configuration.
.envoy.config.tap.v4alpha.HttpHeadersMatch http_request_headers_match = 5;getHttpRequestHeadersMatchOrBuilder in interface MatchPredicateOrBuilderpublic boolean hasHttpRequestTrailersMatch()
HTTP request trailers match configuration.
.envoy.config.tap.v4alpha.HttpHeadersMatch http_request_trailers_match = 6;hasHttpRequestTrailersMatch in interface MatchPredicateOrBuilderpublic HttpHeadersMatch getHttpRequestTrailersMatch()
HTTP request trailers match configuration.
.envoy.config.tap.v4alpha.HttpHeadersMatch http_request_trailers_match = 6;getHttpRequestTrailersMatch in interface MatchPredicateOrBuilderpublic HttpHeadersMatchOrBuilder getHttpRequestTrailersMatchOrBuilder()
HTTP request trailers match configuration.
.envoy.config.tap.v4alpha.HttpHeadersMatch http_request_trailers_match = 6;getHttpRequestTrailersMatchOrBuilder in interface MatchPredicateOrBuilderpublic boolean hasHttpResponseHeadersMatch()
HTTP response headers match configuration.
.envoy.config.tap.v4alpha.HttpHeadersMatch http_response_headers_match = 7;hasHttpResponseHeadersMatch in interface MatchPredicateOrBuilderpublic HttpHeadersMatch getHttpResponseHeadersMatch()
HTTP response headers match configuration.
.envoy.config.tap.v4alpha.HttpHeadersMatch http_response_headers_match = 7;getHttpResponseHeadersMatch in interface MatchPredicateOrBuilderpublic HttpHeadersMatchOrBuilder getHttpResponseHeadersMatchOrBuilder()
HTTP response headers match configuration.
.envoy.config.tap.v4alpha.HttpHeadersMatch http_response_headers_match = 7;getHttpResponseHeadersMatchOrBuilder in interface MatchPredicateOrBuilderpublic boolean hasHttpResponseTrailersMatch()
HTTP response trailers match configuration.
.envoy.config.tap.v4alpha.HttpHeadersMatch http_response_trailers_match = 8;hasHttpResponseTrailersMatch in interface MatchPredicateOrBuilderpublic HttpHeadersMatch getHttpResponseTrailersMatch()
HTTP response trailers match configuration.
.envoy.config.tap.v4alpha.HttpHeadersMatch http_response_trailers_match = 8;getHttpResponseTrailersMatch in interface MatchPredicateOrBuilderpublic HttpHeadersMatchOrBuilder getHttpResponseTrailersMatchOrBuilder()
HTTP response trailers match configuration.
.envoy.config.tap.v4alpha.HttpHeadersMatch http_response_trailers_match = 8;getHttpResponseTrailersMatchOrBuilder in interface MatchPredicateOrBuilderpublic boolean hasHttpRequestGenericBodyMatch()
HTTP request generic body match configuration.
.envoy.config.tap.v4alpha.HttpGenericBodyMatch http_request_generic_body_match = 9;hasHttpRequestGenericBodyMatch in interface MatchPredicateOrBuilderpublic HttpGenericBodyMatch getHttpRequestGenericBodyMatch()
HTTP request generic body match configuration.
.envoy.config.tap.v4alpha.HttpGenericBodyMatch http_request_generic_body_match = 9;getHttpRequestGenericBodyMatch in interface MatchPredicateOrBuilderpublic HttpGenericBodyMatchOrBuilder getHttpRequestGenericBodyMatchOrBuilder()
HTTP request generic body match configuration.
.envoy.config.tap.v4alpha.HttpGenericBodyMatch http_request_generic_body_match = 9;getHttpRequestGenericBodyMatchOrBuilder in interface MatchPredicateOrBuilderpublic boolean hasHttpResponseGenericBodyMatch()
HTTP response generic body match configuration.
.envoy.config.tap.v4alpha.HttpGenericBodyMatch http_response_generic_body_match = 10;hasHttpResponseGenericBodyMatch in interface MatchPredicateOrBuilderpublic HttpGenericBodyMatch getHttpResponseGenericBodyMatch()
HTTP response generic body match configuration.
.envoy.config.tap.v4alpha.HttpGenericBodyMatch http_response_generic_body_match = 10;getHttpResponseGenericBodyMatch in interface MatchPredicateOrBuilderpublic HttpGenericBodyMatchOrBuilder getHttpResponseGenericBodyMatchOrBuilder()
HTTP response generic body match configuration.
.envoy.config.tap.v4alpha.HttpGenericBodyMatch http_response_generic_body_match = 10;getHttpResponseGenericBodyMatchOrBuilder in interface MatchPredicateOrBuilderpublic 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 MatchPredicate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchPredicate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchPredicate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchPredicate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchPredicate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchPredicate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchPredicate parseFrom(InputStream input) throws IOException
IOExceptionpublic static MatchPredicate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MatchPredicate parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MatchPredicate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MatchPredicate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MatchPredicate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MatchPredicate.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MatchPredicate.Builder newBuilder()
public static MatchPredicate.Builder newBuilder(MatchPredicate prototype)
public MatchPredicate.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MatchPredicate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MatchPredicate getDefaultInstance()
public static com.google.protobuf.Parser<MatchPredicate> parser()
public com.google.protobuf.Parser<MatchPredicate> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MatchPredicate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.