Class DoubleMatcher.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<DoubleMatcher.Builder>
-
- io.envoyproxy.envoy.type.matcher.v3.DoubleMatcher.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DoubleMatcherOrBuilder,java.lang.Cloneable
- Enclosing class:
- DoubleMatcher
public static final class DoubleMatcher.Builder extends com.google.protobuf.GeneratedMessage.Builder<DoubleMatcher.Builder> implements DoubleMatcherOrBuilder
Specifies the way to match a double value.
Protobuf typeenvoy.type.matcher.v3.DoubleMatcher
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private java.lang.ObjectmatchPattern_private intmatchPatternCase_private com.google.protobuf.SingleFieldBuilder<DoubleRange,DoubleRange.Builder,DoubleRangeOrBuilder>rangeBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleMatcherbuild()DoubleMatcherbuildPartial()private voidbuildPartial0(DoubleMatcher result)private voidbuildPartialOneofs(DoubleMatcher result)DoubleMatcher.Builderclear()DoubleMatcher.BuilderclearExact()If specified, the input double value must be equal to the value specified here.DoubleMatcher.BuilderclearMatchPattern()DoubleMatcher.BuilderclearRange()If specified, the input double value must be in the range specified here.DoubleMatchergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()doublegetExact()If specified, the input double value must be equal to the value specified here.DoubleMatcher.MatchPatternCasegetMatchPatternCase()DoubleRangegetRange()If specified, the input double value must be in the range specified here.DoubleRange.BuildergetRangeBuilder()If specified, the input double value must be in the range specified here.private com.google.protobuf.SingleFieldBuilder<DoubleRange,DoubleRange.Builder,DoubleRangeOrBuilder>getRangeFieldBuilder()If specified, the input double value must be in the range specified here.DoubleRangeOrBuildergetRangeOrBuilder()If specified, the input double value must be in the range specified here.booleanhasExact()If specified, the input double value must be equal to the value specified here.booleanhasRange()If specified, the input double value must be in the range specified here.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DoubleMatcher.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DoubleMatcher.BuildermergeFrom(com.google.protobuf.Message other)DoubleMatcher.BuildermergeFrom(DoubleMatcher other)DoubleMatcher.BuildermergeRange(DoubleRange value)If specified, the input double value must be in the range specified here.DoubleMatcher.BuildersetExact(double value)If specified, the input double value must be equal to the value specified here.DoubleMatcher.BuildersetRange(DoubleRange value)If specified, the input double value must be in the range specified here.DoubleMatcher.BuildersetRange(DoubleRange.Builder builderForValue)If specified, the input double value must be in the range specified here.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, 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
-
-
-
-
Field Detail
-
matchPatternCase_
private int matchPatternCase_
-
matchPattern_
private java.lang.Object matchPattern_
-
bitField0_
private int bitField0_
-
rangeBuilder_
private com.google.protobuf.SingleFieldBuilder<DoubleRange,DoubleRange.Builder,DoubleRangeOrBuilder> rangeBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DoubleMatcher.Builder>
-
clear
public DoubleMatcher.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DoubleMatcher.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.GeneratedMessage.Builder<DoubleMatcher.Builder>
-
getDefaultInstanceForType
public DoubleMatcher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DoubleMatcher build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DoubleMatcher buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(DoubleMatcher result)
-
buildPartialOneofs
private void buildPartialOneofs(DoubleMatcher result)
-
mergeFrom
public DoubleMatcher.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DoubleMatcher.Builder>
-
mergeFrom
public DoubleMatcher.Builder mergeFrom(DoubleMatcher other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DoubleMatcher.Builder>
-
mergeFrom
public DoubleMatcher.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<DoubleMatcher.Builder>- Throws:
java.io.IOException
-
getMatchPatternCase
public DoubleMatcher.MatchPatternCase getMatchPatternCase()
- Specified by:
getMatchPatternCasein interfaceDoubleMatcherOrBuilder
-
clearMatchPattern
public DoubleMatcher.Builder clearMatchPattern()
-
hasRange
public boolean hasRange()
If specified, the input double value must be in the range specified here. Note: The range is using half-open interval semantics [start, end).
.envoy.type.v3.DoubleRange range = 1;- Specified by:
hasRangein interfaceDoubleMatcherOrBuilder- Returns:
- Whether the range field is set.
-
getRange
public DoubleRange getRange()
If specified, the input double value must be in the range specified here. Note: The range is using half-open interval semantics [start, end).
.envoy.type.v3.DoubleRange range = 1;- Specified by:
getRangein interfaceDoubleMatcherOrBuilder- Returns:
- The range.
-
setRange
public DoubleMatcher.Builder setRange(DoubleRange value)
If specified, the input double value must be in the range specified here. Note: The range is using half-open interval semantics [start, end).
.envoy.type.v3.DoubleRange range = 1;
-
setRange
public DoubleMatcher.Builder setRange(DoubleRange.Builder builderForValue)
If specified, the input double value must be in the range specified here. Note: The range is using half-open interval semantics [start, end).
.envoy.type.v3.DoubleRange range = 1;
-
mergeRange
public DoubleMatcher.Builder mergeRange(DoubleRange value)
If specified, the input double value must be in the range specified here. Note: The range is using half-open interval semantics [start, end).
.envoy.type.v3.DoubleRange range = 1;
-
clearRange
public DoubleMatcher.Builder clearRange()
If specified, the input double value must be in the range specified here. Note: The range is using half-open interval semantics [start, end).
.envoy.type.v3.DoubleRange range = 1;
-
getRangeBuilder
public DoubleRange.Builder getRangeBuilder()
If specified, the input double value must be in the range specified here. Note: The range is using half-open interval semantics [start, end).
.envoy.type.v3.DoubleRange range = 1;
-
getRangeOrBuilder
public DoubleRangeOrBuilder getRangeOrBuilder()
If specified, the input double value must be in the range specified here. Note: The range is using half-open interval semantics [start, end).
.envoy.type.v3.DoubleRange range = 1;- Specified by:
getRangeOrBuilderin interfaceDoubleMatcherOrBuilder
-
getRangeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<DoubleRange,DoubleRange.Builder,DoubleRangeOrBuilder> getRangeFieldBuilder()
If specified, the input double value must be in the range specified here. Note: The range is using half-open interval semantics [start, end).
.envoy.type.v3.DoubleRange range = 1;
-
hasExact
public boolean hasExact()
If specified, the input double value must be equal to the value specified here.
double exact = 2;- Specified by:
hasExactin interfaceDoubleMatcherOrBuilder- Returns:
- Whether the exact field is set.
-
getExact
public double getExact()
If specified, the input double value must be equal to the value specified here.
double exact = 2;- Specified by:
getExactin interfaceDoubleMatcherOrBuilder- Returns:
- The exact.
-
setExact
public DoubleMatcher.Builder setExact(double value)
If specified, the input double value must be equal to the value specified here.
double exact = 2;- Parameters:
value- The exact to set.- Returns:
- This builder for chaining.
-
clearExact
public DoubleMatcher.Builder clearExact()
If specified, the input double value must be equal to the value specified here.
double exact = 2;- Returns:
- This builder for chaining.
-
-