Class HttpGenericBodyMatch.GenericTextMatch.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.GenericTextMatch.Builder>
-
- io.envoyproxy.envoy.config.common.matcher.v3.HttpGenericBodyMatch.GenericTextMatch.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HttpGenericBodyMatch.GenericTextMatchOrBuilder,java.lang.Cloneable
- Enclosing class:
- HttpGenericBodyMatch.GenericTextMatch
public static final class HttpGenericBodyMatch.GenericTextMatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.GenericTextMatch.Builder> implements HttpGenericBodyMatch.GenericTextMatchOrBuilder
Protobuf typeenvoy.config.common.matcher.v3.HttpGenericBodyMatch.GenericTextMatch
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpGenericBodyMatch.GenericTextMatch.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)HttpGenericBodyMatch.GenericTextMatchbuild()HttpGenericBodyMatch.GenericTextMatchbuildPartial()HttpGenericBodyMatch.GenericTextMatch.Builderclear()HttpGenericBodyMatch.GenericTextMatch.BuilderclearBinaryMatch()Sequence of bytes to be located in HTTP body.HttpGenericBodyMatch.GenericTextMatch.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)HttpGenericBodyMatch.GenericTextMatch.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)HttpGenericBodyMatch.GenericTextMatch.BuilderclearRule()HttpGenericBodyMatch.GenericTextMatch.BuilderclearStringMatch()Text string to be located in HTTP body.HttpGenericBodyMatch.GenericTextMatch.Builderclone()com.google.protobuf.ByteStringgetBinaryMatch()Sequence of bytes to be located in HTTP body.HttpGenericBodyMatch.GenericTextMatchgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HttpGenericBodyMatch.GenericTextMatch.RuleCasegetRuleCase()java.lang.StringgetStringMatch()Text string to be located in HTTP body.com.google.protobuf.ByteStringgetStringMatchBytes()Text string to be located in HTTP body.booleanhasBinaryMatch()Sequence of bytes to be located in HTTP body.booleanhasStringMatch()Text string to be located in HTTP body.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()HttpGenericBodyMatch.GenericTextMatch.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HttpGenericBodyMatch.GenericTextMatch.BuildermergeFrom(com.google.protobuf.Message other)HttpGenericBodyMatch.GenericTextMatch.BuildermergeFrom(HttpGenericBodyMatch.GenericTextMatch other)HttpGenericBodyMatch.GenericTextMatch.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HttpGenericBodyMatch.GenericTextMatch.BuildersetBinaryMatch(com.google.protobuf.ByteString value)Sequence of bytes to be located in HTTP body.HttpGenericBodyMatch.GenericTextMatch.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)HttpGenericBodyMatch.GenericTextMatch.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)HttpGenericBodyMatch.GenericTextMatch.BuildersetStringMatch(java.lang.String value)Text string to be located in HTTP body.HttpGenericBodyMatch.GenericTextMatch.BuildersetStringMatchBytes(com.google.protobuf.ByteString value)Text string to be located in HTTP body.HttpGenericBodyMatch.GenericTextMatch.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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<HttpGenericBodyMatch.GenericTextMatch.Builder>
-
clear
public HttpGenericBodyMatch.GenericTextMatch.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<HttpGenericBodyMatch.GenericTextMatch.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<HttpGenericBodyMatch.GenericTextMatch.Builder>
-
getDefaultInstanceForType
public HttpGenericBodyMatch.GenericTextMatch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HttpGenericBodyMatch.GenericTextMatch build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HttpGenericBodyMatch.GenericTextMatch buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HttpGenericBodyMatch.GenericTextMatch.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<HttpGenericBodyMatch.GenericTextMatch.Builder>
-
setField
public HttpGenericBodyMatch.GenericTextMatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.GenericTextMatch.Builder>
-
clearField
public HttpGenericBodyMatch.GenericTextMatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.GenericTextMatch.Builder>
-
clearOneof
public HttpGenericBodyMatch.GenericTextMatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.GenericTextMatch.Builder>
-
setRepeatedField
public HttpGenericBodyMatch.GenericTextMatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.GenericTextMatch.Builder>
-
addRepeatedField
public HttpGenericBodyMatch.GenericTextMatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.GenericTextMatch.Builder>
-
mergeFrom
public HttpGenericBodyMatch.GenericTextMatch.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HttpGenericBodyMatch.GenericTextMatch.Builder>
-
mergeFrom
public HttpGenericBodyMatch.GenericTextMatch.Builder mergeFrom(HttpGenericBodyMatch.GenericTextMatch other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.GenericTextMatch.Builder>
-
mergeFrom
public HttpGenericBodyMatch.GenericTextMatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HttpGenericBodyMatch.GenericTextMatch.Builder>- Throws:
java.io.IOException
-
getRuleCase
public HttpGenericBodyMatch.GenericTextMatch.RuleCase getRuleCase()
- Specified by:
getRuleCasein interfaceHttpGenericBodyMatch.GenericTextMatchOrBuilder
-
clearRule
public HttpGenericBodyMatch.GenericTextMatch.Builder clearRule()
-
hasStringMatch
public boolean hasStringMatch()
Text string to be located in HTTP body.
string string_match = 1 [(.validate.rules) = { ... }- Specified by:
hasStringMatchin interfaceHttpGenericBodyMatch.GenericTextMatchOrBuilder- Returns:
- Whether the stringMatch field is set.
-
getStringMatch
public java.lang.String getStringMatch()
Text string to be located in HTTP body.
string string_match = 1 [(.validate.rules) = { ... }- Specified by:
getStringMatchin interfaceHttpGenericBodyMatch.GenericTextMatchOrBuilder- Returns:
- The stringMatch.
-
getStringMatchBytes
public com.google.protobuf.ByteString getStringMatchBytes()
Text string to be located in HTTP body.
string string_match = 1 [(.validate.rules) = { ... }- Specified by:
getStringMatchBytesin interfaceHttpGenericBodyMatch.GenericTextMatchOrBuilder- Returns:
- The bytes for stringMatch.
-
setStringMatch
public HttpGenericBodyMatch.GenericTextMatch.Builder setStringMatch(java.lang.String value)
Text string to be located in HTTP body.
string string_match = 1 [(.validate.rules) = { ... }- Parameters:
value- The stringMatch to set.- Returns:
- This builder for chaining.
-
clearStringMatch
public HttpGenericBodyMatch.GenericTextMatch.Builder clearStringMatch()
Text string to be located in HTTP body.
string string_match = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setStringMatchBytes
public HttpGenericBodyMatch.GenericTextMatch.Builder setStringMatchBytes(com.google.protobuf.ByteString value)
Text string to be located in HTTP body.
string string_match = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for stringMatch to set.- Returns:
- This builder for chaining.
-
hasBinaryMatch
public boolean hasBinaryMatch()
Sequence of bytes to be located in HTTP body.
bytes binary_match = 2 [(.validate.rules) = { ... }- Specified by:
hasBinaryMatchin interfaceHttpGenericBodyMatch.GenericTextMatchOrBuilder- Returns:
- Whether the binaryMatch field is set.
-
getBinaryMatch
public com.google.protobuf.ByteString getBinaryMatch()
Sequence of bytes to be located in HTTP body.
bytes binary_match = 2 [(.validate.rules) = { ... }- Specified by:
getBinaryMatchin interfaceHttpGenericBodyMatch.GenericTextMatchOrBuilder- Returns:
- The binaryMatch.
-
setBinaryMatch
public HttpGenericBodyMatch.GenericTextMatch.Builder setBinaryMatch(com.google.protobuf.ByteString value)
Sequence of bytes to be located in HTTP body.
bytes binary_match = 2 [(.validate.rules) = { ... }- Parameters:
value- The binaryMatch to set.- Returns:
- This builder for chaining.
-
clearBinaryMatch
public HttpGenericBodyMatch.GenericTextMatch.Builder clearBinaryMatch()
Sequence of bytes to be located in HTTP body.
bytes binary_match = 2 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setUnknownFields
public final HttpGenericBodyMatch.GenericTextMatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.GenericTextMatch.Builder>
-
mergeUnknownFields
public final HttpGenericBodyMatch.GenericTextMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.GenericTextMatch.Builder>
-
-