Class MethodMatch.ParameterMatchSpecifier.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<MethodMatch.ParameterMatchSpecifier.Builder>
io.envoyproxy.envoy.extensions.filters.network.dubbo_proxy.v3.MethodMatch.ParameterMatchSpecifier.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MethodMatch.ParameterMatchSpecifierOrBuilder,Cloneable
- Enclosing class:
- MethodMatch.ParameterMatchSpecifier
public static final class MethodMatch.ParameterMatchSpecifier.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<MethodMatch.ParameterMatchSpecifier.Builder>
implements MethodMatch.ParameterMatchSpecifierOrBuilder
The parameter matching type.Protobuf type
envoy.extensions.filters.network.dubbo_proxy.v3.MethodMatch.ParameterMatchSpecifier-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()If specified, header match will be performed based on the value of the header.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) If specified, header match will be performed based on range.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf specified, header match will be performed based on the value of the header.com.google.protobuf.ByteStringIf specified, header match will be performed based on the value of the header.If specified, header match will be performed based on range.If specified, header match will be performed based on range.If specified, header match will be performed based on range.booleanIf specified, header match will be performed based on the value of the header.booleanIf specified, header match will be performed based on range.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRangeMatch(Int64Range value) If specified, header match will be performed based on range.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setExactMatch(String value) If specified, header match will be performed based on the value of the header.setExactMatchBytes(com.google.protobuf.ByteString value) If specified, header match will be performed based on the value of the header.setRangeMatch(Int64Range value) If specified, header match will be performed based on range.setRangeMatch(Int64Range.Builder builderForValue) If specified, header match will be performed based on range.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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<MethodMatch.ParameterMatchSpecifier.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<MethodMatch.ParameterMatchSpecifier.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<MethodMatch.ParameterMatchSpecifier.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<MethodMatch.ParameterMatchSpecifier.Builder>
-
setField
public MethodMatch.ParameterMatchSpecifier.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<MethodMatch.ParameterMatchSpecifier.Builder>
-
clearField
public MethodMatch.ParameterMatchSpecifier.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MethodMatch.ParameterMatchSpecifier.Builder>
-
clearOneof
public MethodMatch.ParameterMatchSpecifier.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MethodMatch.ParameterMatchSpecifier.Builder>
-
setRepeatedField
public MethodMatch.ParameterMatchSpecifier.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<MethodMatch.ParameterMatchSpecifier.Builder>
-
addRepeatedField
public MethodMatch.ParameterMatchSpecifier.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<MethodMatch.ParameterMatchSpecifier.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MethodMatch.ParameterMatchSpecifier.Builder>
-
mergeFrom
public MethodMatch.ParameterMatchSpecifier.Builder mergeFrom(MethodMatch.ParameterMatchSpecifier other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<MethodMatch.ParameterMatchSpecifier.Builder>
-
mergeFrom
public MethodMatch.ParameterMatchSpecifier.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<MethodMatch.ParameterMatchSpecifier.Builder>- Throws:
IOException
-
getParameterMatchSpecifierCase
public MethodMatch.ParameterMatchSpecifier.ParameterMatchSpecifierCase getParameterMatchSpecifierCase()- Specified by:
getParameterMatchSpecifierCasein interfaceMethodMatch.ParameterMatchSpecifierOrBuilder
-
clearParameterMatchSpecifier
-
hasExactMatch
public boolean hasExactMatch()If specified, header match will be performed based on the value of the header.
string exact_match = 3;- Specified by:
hasExactMatchin interfaceMethodMatch.ParameterMatchSpecifierOrBuilder- Returns:
- Whether the exactMatch field is set.
-
getExactMatch
If specified, header match will be performed based on the value of the header.
string exact_match = 3;- Specified by:
getExactMatchin interfaceMethodMatch.ParameterMatchSpecifierOrBuilder- Returns:
- The exactMatch.
-
getExactMatchBytes
public com.google.protobuf.ByteString getExactMatchBytes()If specified, header match will be performed based on the value of the header.
string exact_match = 3;- Specified by:
getExactMatchBytesin interfaceMethodMatch.ParameterMatchSpecifierOrBuilder- Returns:
- The bytes for exactMatch.
-
setExactMatch
If specified, header match will be performed based on the value of the header.
string exact_match = 3;- Parameters:
value- The exactMatch to set.- Returns:
- This builder for chaining.
-
clearExactMatch
If specified, header match will be performed based on the value of the header.
string exact_match = 3;- Returns:
- This builder for chaining.
-
setExactMatchBytes
public MethodMatch.ParameterMatchSpecifier.Builder setExactMatchBytes(com.google.protobuf.ByteString value) If specified, header match will be performed based on the value of the header.
string exact_match = 3;- Parameters:
value- The bytes for exactMatch to set.- Returns:
- This builder for chaining.
-
hasRangeMatch
public boolean hasRangeMatch()If specified, header match will be performed based on range. The rule will match if the request header value is within this range. The entire request header value must represent an integer in base 10 notation: consisting of an optional plus or minus sign followed by a sequence of digits. The rule will not match if the header value does not represent an integer. Match will fail for empty values, floating point numbers or if only a subsequence of the header value is an integer. Examples: * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, "-1somestring"
.envoy.type.v3.Int64Range range_match = 4;- Specified by:
hasRangeMatchin interfaceMethodMatch.ParameterMatchSpecifierOrBuilder- Returns:
- Whether the rangeMatch field is set.
-
getRangeMatch
If specified, header match will be performed based on range. The rule will match if the request header value is within this range. The entire request header value must represent an integer in base 10 notation: consisting of an optional plus or minus sign followed by a sequence of digits. The rule will not match if the header value does not represent an integer. Match will fail for empty values, floating point numbers or if only a subsequence of the header value is an integer. Examples: * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, "-1somestring"
.envoy.type.v3.Int64Range range_match = 4;- Specified by:
getRangeMatchin interfaceMethodMatch.ParameterMatchSpecifierOrBuilder- Returns:
- The rangeMatch.
-
setRangeMatch
If specified, header match will be performed based on range. The rule will match if the request header value is within this range. The entire request header value must represent an integer in base 10 notation: consisting of an optional plus or minus sign followed by a sequence of digits. The rule will not match if the header value does not represent an integer. Match will fail for empty values, floating point numbers or if only a subsequence of the header value is an integer. Examples: * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, "-1somestring"
.envoy.type.v3.Int64Range range_match = 4; -
setRangeMatch
public MethodMatch.ParameterMatchSpecifier.Builder setRangeMatch(Int64Range.Builder builderForValue) If specified, header match will be performed based on range. The rule will match if the request header value is within this range. The entire request header value must represent an integer in base 10 notation: consisting of an optional plus or minus sign followed by a sequence of digits. The rule will not match if the header value does not represent an integer. Match will fail for empty values, floating point numbers or if only a subsequence of the header value is an integer. Examples: * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, "-1somestring"
.envoy.type.v3.Int64Range range_match = 4; -
mergeRangeMatch
If specified, header match will be performed based on range. The rule will match if the request header value is within this range. The entire request header value must represent an integer in base 10 notation: consisting of an optional plus or minus sign followed by a sequence of digits. The rule will not match if the header value does not represent an integer. Match will fail for empty values, floating point numbers or if only a subsequence of the header value is an integer. Examples: * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, "-1somestring"
.envoy.type.v3.Int64Range range_match = 4; -
clearRangeMatch
If specified, header match will be performed based on range. The rule will match if the request header value is within this range. The entire request header value must represent an integer in base 10 notation: consisting of an optional plus or minus sign followed by a sequence of digits. The rule will not match if the header value does not represent an integer. Match will fail for empty values, floating point numbers or if only a subsequence of the header value is an integer. Examples: * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, "-1somestring"
.envoy.type.v3.Int64Range range_match = 4; -
getRangeMatchBuilder
If specified, header match will be performed based on range. The rule will match if the request header value is within this range. The entire request header value must represent an integer in base 10 notation: consisting of an optional plus or minus sign followed by a sequence of digits. The rule will not match if the header value does not represent an integer. Match will fail for empty values, floating point numbers or if only a subsequence of the header value is an integer. Examples: * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, "-1somestring"
.envoy.type.v3.Int64Range range_match = 4; -
getRangeMatchOrBuilder
If specified, header match will be performed based on range. The rule will match if the request header value is within this range. The entire request header value must represent an integer in base 10 notation: consisting of an optional plus or minus sign followed by a sequence of digits. The rule will not match if the header value does not represent an integer. Match will fail for empty values, floating point numbers or if only a subsequence of the header value is an integer. Examples: * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, "-1somestring"
.envoy.type.v3.Int64Range range_match = 4;- Specified by:
getRangeMatchOrBuilderin interfaceMethodMatch.ParameterMatchSpecifierOrBuilder
-
setUnknownFields
public final MethodMatch.ParameterMatchSpecifier.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MethodMatch.ParameterMatchSpecifier.Builder>
-
mergeUnknownFields
public final MethodMatch.ParameterMatchSpecifier.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MethodMatch.ParameterMatchSpecifier.Builder>
-