public final class HttpGenericBodyMatch extends com.google.protobuf.GeneratedMessageV3 implements HttpGenericBodyMatchOrBuilder
HTTP generic body match configuration. List of text strings and hex strings to be located in HTTP body. All specified strings must be found in the HTTP body for positive match. The search may be limited to specified number of bytes from the body start. .. attention:: Searching for patterns in HTTP body is potentially cpu intensive. For each specified pattern, http body is scanned byte by byte to find a match. If multiple patterns are specified, the process is repeated for each pattern. If location of a pattern is known, ``bytes_limit`` should be specified to scan only part of the http body.Protobuf type
envoy.config.tap.v4alpha.HttpGenericBodyMatch| Modifier and Type | Class and Description |
|---|---|
static class |
HttpGenericBodyMatch.Builder
HTTP generic body match configuration.
|
static class |
HttpGenericBodyMatch.GenericTextMatch
Protobuf type
envoy.config.tap.v4alpha.HttpGenericBodyMatch.GenericTextMatch |
static interface |
HttpGenericBodyMatch.GenericTextMatchOrBuilder |
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 |
BYTES_LIMIT_FIELD_NUMBER |
static int |
PATTERNS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getBytesLimit()
Limits search to specified number of bytes - default zero (no limit - match entire captured buffer).
|
static HttpGenericBodyMatch |
getDefaultInstance() |
HttpGenericBodyMatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<HttpGenericBodyMatch> |
getParserForType() |
HttpGenericBodyMatch.GenericTextMatch |
getPatterns(int index)
List of patterns to match.
|
int |
getPatternsCount()
List of patterns to match.
|
List<HttpGenericBodyMatch.GenericTextMatch> |
getPatternsList()
List of patterns to match.
|
HttpGenericBodyMatch.GenericTextMatchOrBuilder |
getPatternsOrBuilder(int index)
List of patterns to match.
|
List<? extends HttpGenericBodyMatch.GenericTextMatchOrBuilder> |
getPatternsOrBuilderList()
List of patterns to match.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static HttpGenericBodyMatch.Builder |
newBuilder() |
static HttpGenericBodyMatch.Builder |
newBuilder(HttpGenericBodyMatch prototype) |
HttpGenericBodyMatch.Builder |
newBuilderForType() |
protected HttpGenericBodyMatch.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static HttpGenericBodyMatch |
parseDelimitedFrom(InputStream input) |
static HttpGenericBodyMatch |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HttpGenericBodyMatch |
parseFrom(byte[] data) |
static HttpGenericBodyMatch |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HttpGenericBodyMatch |
parseFrom(ByteBuffer data) |
static HttpGenericBodyMatch |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HttpGenericBodyMatch |
parseFrom(com.google.protobuf.ByteString data) |
static HttpGenericBodyMatch |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HttpGenericBodyMatch |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HttpGenericBodyMatch |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HttpGenericBodyMatch |
parseFrom(InputStream input) |
static HttpGenericBodyMatch |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HttpGenericBodyMatch> |
parser() |
HttpGenericBodyMatch.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 BYTES_LIMIT_FIELD_NUMBER
public static final int PATTERNS_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 int getBytesLimit()
Limits search to specified number of bytes - default zero (no limit - match entire captured buffer).
uint32 bytes_limit = 1;getBytesLimit in interface HttpGenericBodyMatchOrBuilderpublic List<HttpGenericBodyMatch.GenericTextMatch> getPatternsList()
List of patterns to match.
repeated .envoy.config.tap.v4alpha.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }getPatternsList in interface HttpGenericBodyMatchOrBuilderpublic List<? extends HttpGenericBodyMatch.GenericTextMatchOrBuilder> getPatternsOrBuilderList()
List of patterns to match.
repeated .envoy.config.tap.v4alpha.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }getPatternsOrBuilderList in interface HttpGenericBodyMatchOrBuilderpublic int getPatternsCount()
List of patterns to match.
repeated .envoy.config.tap.v4alpha.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }getPatternsCount in interface HttpGenericBodyMatchOrBuilderpublic HttpGenericBodyMatch.GenericTextMatch getPatterns(int index)
List of patterns to match.
repeated .envoy.config.tap.v4alpha.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }getPatterns in interface HttpGenericBodyMatchOrBuilderpublic HttpGenericBodyMatch.GenericTextMatchOrBuilder getPatternsOrBuilder(int index)
List of patterns to match.
repeated .envoy.config.tap.v4alpha.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }getPatternsOrBuilder in interface HttpGenericBodyMatchOrBuilderpublic 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 HttpGenericBodyMatch parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpGenericBodyMatch parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpGenericBodyMatch parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpGenericBodyMatch parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpGenericBodyMatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpGenericBodyMatch parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpGenericBodyMatch parseFrom(InputStream input) throws IOException
IOExceptionpublic static HttpGenericBodyMatch parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HttpGenericBodyMatch parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HttpGenericBodyMatch parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HttpGenericBodyMatch parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HttpGenericBodyMatch parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HttpGenericBodyMatch.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HttpGenericBodyMatch.Builder newBuilder()
public static HttpGenericBodyMatch.Builder newBuilder(HttpGenericBodyMatch prototype)
public HttpGenericBodyMatch.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HttpGenericBodyMatch.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HttpGenericBodyMatch getDefaultInstance()
public static com.google.protobuf.Parser<HttpGenericBodyMatch> parser()
public com.google.protobuf.Parser<HttpGenericBodyMatch> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HttpGenericBodyMatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.