Class MethodMatch.ParameterMatchSpecifier.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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 typeenvoy.extensions.filters.network.dubbo_proxy.v3.MethodMatch.ParameterMatchSpecifier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodMatch.ParameterMatchSpecifier.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MethodMatch.ParameterMatchSpecifierbuild()MethodMatch.ParameterMatchSpecifierbuildPartial()MethodMatch.ParameterMatchSpecifier.Builderclear()MethodMatch.ParameterMatchSpecifier.BuilderclearExactMatch()If specified, header match will be performed based on the value of the header.MethodMatch.ParameterMatchSpecifier.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MethodMatch.ParameterMatchSpecifier.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MethodMatch.ParameterMatchSpecifier.BuilderclearParameterMatchSpecifier()MethodMatch.ParameterMatchSpecifier.BuilderclearRangeMatch()If specified, header match will be performed based on range.MethodMatch.ParameterMatchSpecifier.Builderclone()MethodMatch.ParameterMatchSpecifiergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetExactMatch()If specified, header match will be performed based on the value of the header.com.google.protobuf.ByteStringgetExactMatchBytes()If specified, header match will be performed based on the value of the header.MethodMatch.ParameterMatchSpecifier.ParameterMatchSpecifierCasegetParameterMatchSpecifierCase()Int64RangegetRangeMatch()If specified, header match will be performed based on range.Int64Range.BuildergetRangeMatchBuilder()If specified, header match will be performed based on range.Int64RangeOrBuildergetRangeMatchOrBuilder()If specified, header match will be performed based on range.booleanhasExactMatch()If specified, header match will be performed based on the value of the header.booleanhasRangeMatch()If specified, header match will be performed based on range.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MethodMatch.ParameterMatchSpecifier.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MethodMatch.ParameterMatchSpecifier.BuildermergeFrom(com.google.protobuf.Message other)MethodMatch.ParameterMatchSpecifier.BuildermergeFrom(MethodMatch.ParameterMatchSpecifier other)MethodMatch.ParameterMatchSpecifier.BuildermergeRangeMatch(Int64Range value)If specified, header match will be performed based on range.MethodMatch.ParameterMatchSpecifier.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MethodMatch.ParameterMatchSpecifier.BuildersetExactMatch(String value)If specified, header match will be performed based on the value of the header.MethodMatch.ParameterMatchSpecifier.BuildersetExactMatchBytes(com.google.protobuf.ByteString value)If specified, header match will be performed based on the value of the header.MethodMatch.ParameterMatchSpecifier.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MethodMatch.ParameterMatchSpecifier.BuildersetRangeMatch(Int64Range value)If specified, header match will be performed based on range.MethodMatch.ParameterMatchSpecifier.BuildersetRangeMatch(Int64Range.Builder builderForValue)If specified, header match will be performed based on range.MethodMatch.ParameterMatchSpecifier.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MethodMatch.ParameterMatchSpecifier.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, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
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<MethodMatch.ParameterMatchSpecifier.Builder>
-
clear
public 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
public MethodMatch.ParameterMatchSpecifier getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public MethodMatch.ParameterMatchSpecifier build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MethodMatch.ParameterMatchSpecifier buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MethodMatch.ParameterMatchSpecifier.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
public MethodMatch.ParameterMatchSpecifier.Builder mergeFrom(com.google.protobuf.Message other)
- 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
public MethodMatch.ParameterMatchSpecifier.Builder 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
public String 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
public MethodMatch.ParameterMatchSpecifier.Builder setExactMatch(String value)
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
public MethodMatch.ParameterMatchSpecifier.Builder 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
public Int64Range 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
public MethodMatch.ParameterMatchSpecifier.Builder setRangeMatch(Int64Range value)
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
public MethodMatch.ParameterMatchSpecifier.Builder mergeRangeMatch(Int64Range value)
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
public MethodMatch.ParameterMatchSpecifier.Builder 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
public Int64Range.Builder 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
public Int64RangeOrBuilder 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>
-
-