public static final class HttpGenericBodyMatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.Builder> 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.v3.HttpGenericBodyMatchgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.Builder>public HttpGenericBodyMatch.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.Builder>public HttpGenericBodyMatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HttpGenericBodyMatch build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HttpGenericBodyMatch buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HttpGenericBodyMatch.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.Builder>public HttpGenericBodyMatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.Builder>public HttpGenericBodyMatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.Builder>public HttpGenericBodyMatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.Builder>public HttpGenericBodyMatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.Builder>public HttpGenericBodyMatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.Builder>public HttpGenericBodyMatch.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpGenericBodyMatch.Builder>public HttpGenericBodyMatch.Builder mergeFrom(HttpGenericBodyMatch other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.Builder>public HttpGenericBodyMatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpGenericBodyMatch.Builder>IOExceptionpublic 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 HttpGenericBodyMatch.Builder setBytesLimit(int value)
Limits search to specified number of bytes - default zero (no limit - match entire captured buffer).
uint32 bytes_limit = 1;public HttpGenericBodyMatch.Builder clearBytesLimit()
Limits search to specified number of bytes - default zero (no limit - match entire captured buffer).
uint32 bytes_limit = 1;public List<HttpGenericBodyMatch.GenericTextMatch> getPatternsList()
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }getPatternsList in interface HttpGenericBodyMatchOrBuilderpublic int getPatternsCount()
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }getPatternsCount in interface HttpGenericBodyMatchOrBuilderpublic HttpGenericBodyMatch.GenericTextMatch getPatterns(int index)
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }getPatterns in interface HttpGenericBodyMatchOrBuilderpublic HttpGenericBodyMatch.Builder setPatterns(int index, HttpGenericBodyMatch.GenericTextMatch value)
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }public HttpGenericBodyMatch.Builder setPatterns(int index, HttpGenericBodyMatch.GenericTextMatch.Builder builderForValue)
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }public HttpGenericBodyMatch.Builder addPatterns(HttpGenericBodyMatch.GenericTextMatch value)
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }public HttpGenericBodyMatch.Builder addPatterns(int index, HttpGenericBodyMatch.GenericTextMatch value)
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }public HttpGenericBodyMatch.Builder addPatterns(HttpGenericBodyMatch.GenericTextMatch.Builder builderForValue)
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }public HttpGenericBodyMatch.Builder addPatterns(int index, HttpGenericBodyMatch.GenericTextMatch.Builder builderForValue)
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }public HttpGenericBodyMatch.Builder addAllPatterns(Iterable<? extends HttpGenericBodyMatch.GenericTextMatch> values)
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }public HttpGenericBodyMatch.Builder clearPatterns()
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }public HttpGenericBodyMatch.Builder removePatterns(int index)
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }public HttpGenericBodyMatch.GenericTextMatch.Builder getPatternsBuilder(int index)
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }public HttpGenericBodyMatch.GenericTextMatchOrBuilder getPatternsOrBuilder(int index)
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }getPatternsOrBuilder in interface HttpGenericBodyMatchOrBuilderpublic List<? extends HttpGenericBodyMatch.GenericTextMatchOrBuilder> getPatternsOrBuilderList()
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }getPatternsOrBuilderList in interface HttpGenericBodyMatchOrBuilderpublic HttpGenericBodyMatch.GenericTextMatch.Builder addPatternsBuilder()
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }public HttpGenericBodyMatch.GenericTextMatch.Builder addPatternsBuilder(int index)
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }public List<HttpGenericBodyMatch.GenericTextMatch.Builder> getPatternsBuilderList()
List of patterns to match.
repeated .envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch patterns = 2 [(.validate.rules) = { ... }public final HttpGenericBodyMatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.Builder>public final HttpGenericBodyMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.