Class HttpGenericBodyMatch.GenericTextMatch.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.GenericTextMatch.Builder>
io.envoyproxy.envoy.config.tap.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,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 type
envoy.config.tap.v3.HttpGenericBodyMatch.GenericTextMatch-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Sequence of bytes to be located in HTTP body.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Text string to be located in HTTP body.clone()com.google.protobuf.ByteStringSequence of bytes to be located in HTTP body.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorText string to be located in HTTP body.com.google.protobuf.ByteStringText string to be located in HTTP body.booleanSequence of bytes to be located in HTTP body.booleanText string to be located in HTTP body.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setBinaryMatch(com.google.protobuf.ByteString value) Sequence of bytes to be located in HTTP body.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStringMatch(String value) Text string to be located in HTTP body.setStringMatchBytes(com.google.protobuf.ByteString value) Text string to be located in HTTP body.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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, 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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpGenericBodyMatch.GenericTextMatch.Builder>
-
mergeFrom
- 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 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:
IOException
-
getRuleCase
- Specified by:
getRuleCasein interfaceHttpGenericBodyMatch.GenericTextMatchOrBuilder
-
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
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
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
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
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>
-