Class DoubleMatcher.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DoubleMatcher.Builder>
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,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 type
envoy.type.matcher.v3.DoubleMatcher-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate Objectprivate intprivate com.google.protobuf.SingleFieldBuilder<DoubleRange, DoubleRange.Builder, DoubleRangeOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidbuildPartial0(DoubleMatcher result) private voidbuildPartialOneofs(DoubleMatcher result) clear()If specified, the input double value must be equal to the value specified here.If specified, the input double value must be in the range specified here.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptordoublegetExact()If specified, the input double value must be equal to the value specified here.getRange()If specified, the input double value must be in the range specified here.If specified, the input double value must be in the range specified here.private com.google.protobuf.SingleFieldBuilder<DoubleRange, DoubleRange.Builder, DoubleRangeOrBuilder> If specified, the input double value must be in the range specified here.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.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(DoubleMatcher other) mergeRange(DoubleRange value) If specified, the input double value must be in the range specified here.setExact(double value) If specified, the input double value must be equal to the value specified here.setRange(DoubleRange value) If specified, the input double value must be in the range specified here.setRange(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, 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
-
Field Details
-
matchPatternCase_
private int matchPatternCase_ -
matchPattern_
-
bitField0_
private int bitField0_ -
rangeBuilder_
private com.google.protobuf.SingleFieldBuilder<DoubleRange,DoubleRange.Builder, rangeBuilder_DoubleRangeOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
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
- 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
- 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
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DoubleMatcher.Builder>
-
mergeFrom
-
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 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:
IOException
-
getMatchPatternCase
- Specified by:
getMatchPatternCasein interfaceDoubleMatcherOrBuilder
-
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
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
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
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
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
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
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
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, getRangeFieldBuilder()DoubleRangeOrBuilder> 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
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
If specified, the input double value must be equal to the value specified here.
double exact = 2;- Returns:
- This builder for chaining.
-