public static final class Validate.DoubleRules.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder> implements Validate.DoubleRulesOrBuilder
DoubleRules describes the constraints applied to `double` valuesProtobuf type
validate.DoubleRules| Modifier and Type | Method and Description |
|---|---|
Validate.DoubleRules.Builder |
addAllIn(Iterable<? extends Double> values)
In specifies that this field must be equal to one of the specified
values
repeated double in = 6; |
Validate.DoubleRules.Builder |
addAllNotIn(Iterable<? extends Double> values)
NotIn specifies that this field cannot be equal to one of the specified
values
repeated double not_in = 7; |
Validate.DoubleRules.Builder |
addIn(double value)
In specifies that this field must be equal to one of the specified
values
repeated double in = 6; |
Validate.DoubleRules.Builder |
addNotIn(double value)
NotIn specifies that this field cannot be equal to one of the specified
values
repeated double not_in = 7; |
Validate.DoubleRules.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Validate.DoubleRules |
build() |
Validate.DoubleRules |
buildPartial() |
Validate.DoubleRules.Builder |
clear() |
Validate.DoubleRules.Builder |
clearConst()
Const specifies that this field must be exactly the specified value
optional double const = 1; |
Validate.DoubleRules.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Validate.DoubleRules.Builder |
clearGt()
Gt specifies that this field must be greater than the specified value,
exclusive.
|
Validate.DoubleRules.Builder |
clearGte()
Gte specifies that this field must be greater than or equal to the
specified value, inclusive.
|
Validate.DoubleRules.Builder |
clearIn()
In specifies that this field must be equal to one of the specified
values
repeated double in = 6; |
Validate.DoubleRules.Builder |
clearLt()
Lt specifies that this field must be less than the specified value,
exclusive
optional double lt = 2; |
Validate.DoubleRules.Builder |
clearLte()
Lte specifies that this field must be less than or equal to the
specified value, inclusive
optional double lte = 3; |
Validate.DoubleRules.Builder |
clearNotIn()
NotIn specifies that this field cannot be equal to one of the specified
values
repeated double not_in = 7; |
Validate.DoubleRules.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Validate.DoubleRules.Builder |
clone() |
double |
getConst()
Const specifies that this field must be exactly the specified value
optional double const = 1; |
Validate.DoubleRules |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getGt()
Gt specifies that this field must be greater than the specified value,
exclusive.
|
double |
getGte()
Gte specifies that this field must be greater than or equal to the
specified value, inclusive.
|
double |
getIn(int index)
In specifies that this field must be equal to one of the specified
values
repeated double in = 6; |
int |
getInCount()
In specifies that this field must be equal to one of the specified
values
repeated double in = 6; |
List<Double> |
getInList()
In specifies that this field must be equal to one of the specified
values
repeated double in = 6; |
double |
getLt()
Lt specifies that this field must be less than the specified value,
exclusive
optional double lt = 2; |
double |
getLte()
Lte specifies that this field must be less than or equal to the
specified value, inclusive
optional double lte = 3; |
double |
getNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified
values
repeated double not_in = 7; |
int |
getNotInCount()
NotIn specifies that this field cannot be equal to one of the specified
values
repeated double not_in = 7; |
List<Double> |
getNotInList()
NotIn specifies that this field cannot be equal to one of the specified
values
repeated double not_in = 7; |
boolean |
hasConst()
Const specifies that this field must be exactly the specified value
optional double const = 1; |
boolean |
hasGt()
Gt specifies that this field must be greater than the specified value,
exclusive.
|
boolean |
hasGte()
Gte specifies that this field must be greater than or equal to the
specified value, inclusive.
|
boolean |
hasLt()
Lt specifies that this field must be less than the specified value,
exclusive
optional double lt = 2; |
boolean |
hasLte()
Lte specifies that this field must be less than or equal to the
specified value, inclusive
optional double lte = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Validate.DoubleRules.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Validate.DoubleRules.Builder |
mergeFrom(com.google.protobuf.Message other) |
Validate.DoubleRules.Builder |
mergeFrom(Validate.DoubleRules other) |
Validate.DoubleRules.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Validate.DoubleRules.Builder |
setConst(double value)
Const specifies that this field must be exactly the specified value
optional double const = 1; |
Validate.DoubleRules.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Validate.DoubleRules.Builder |
setGt(double value)
Gt specifies that this field must be greater than the specified value,
exclusive.
|
Validate.DoubleRules.Builder |
setGte(double value)
Gte specifies that this field must be greater than or equal to the
specified value, inclusive.
|
Validate.DoubleRules.Builder |
setIn(int index,
double value)
In specifies that this field must be equal to one of the specified
values
repeated double in = 6; |
Validate.DoubleRules.Builder |
setLt(double value)
Lt specifies that this field must be less than the specified value,
exclusive
optional double lt = 2; |
Validate.DoubleRules.Builder |
setLte(double value)
Lte specifies that this field must be less than or equal to the
specified value, inclusive
optional double lte = 3; |
Validate.DoubleRules.Builder |
setNotIn(int index,
double value)
NotIn specifies that this field cannot be equal to one of the specified
values
repeated double not_in = 7; |
Validate.DoubleRules.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Validate.DoubleRules.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>public Validate.DoubleRules.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>public Validate.DoubleRules getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Validate.DoubleRules build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Validate.DoubleRules buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Validate.DoubleRules.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>public Validate.DoubleRules.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>public Validate.DoubleRules.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>public Validate.DoubleRules.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>public Validate.DoubleRules.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>public Validate.DoubleRules.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>public Validate.DoubleRules.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Validate.DoubleRules.Builder>public Validate.DoubleRules.Builder mergeFrom(Validate.DoubleRules other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>public Validate.DoubleRules.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Validate.DoubleRules.Builder>IOExceptionpublic boolean hasConst()
Const specifies that this field must be exactly the specified value
optional double const = 1;hasConst in interface Validate.DoubleRulesOrBuilderpublic double getConst()
Const specifies that this field must be exactly the specified value
optional double const = 1;getConst in interface Validate.DoubleRulesOrBuilderpublic Validate.DoubleRules.Builder setConst(double value)
Const specifies that this field must be exactly the specified value
optional double const = 1;public Validate.DoubleRules.Builder clearConst()
Const specifies that this field must be exactly the specified value
optional double const = 1;public boolean hasLt()
Lt specifies that this field must be less than the specified value, exclusive
optional double lt = 2;hasLt in interface Validate.DoubleRulesOrBuilderpublic double getLt()
Lt specifies that this field must be less than the specified value, exclusive
optional double lt = 2;getLt in interface Validate.DoubleRulesOrBuilderpublic Validate.DoubleRules.Builder setLt(double value)
Lt specifies that this field must be less than the specified value, exclusive
optional double lt = 2;public Validate.DoubleRules.Builder clearLt()
Lt specifies that this field must be less than the specified value, exclusive
optional double lt = 2;public boolean hasLte()
Lte specifies that this field must be less than or equal to the specified value, inclusive
optional double lte = 3;hasLte in interface Validate.DoubleRulesOrBuilderpublic double getLte()
Lte specifies that this field must be less than or equal to the specified value, inclusive
optional double lte = 3;getLte in interface Validate.DoubleRulesOrBuilderpublic Validate.DoubleRules.Builder setLte(double value)
Lte specifies that this field must be less than or equal to the specified value, inclusive
optional double lte = 3;public Validate.DoubleRules.Builder clearLte()
Lte specifies that this field must be less than or equal to the specified value, inclusive
optional double lte = 3;public boolean hasGt()
Gt specifies that this field must be greater than the specified value, exclusive. If the value of Gt is larger than a specified Lt or Lte, the range is reversed.
optional double gt = 4;hasGt in interface Validate.DoubleRulesOrBuilderpublic double getGt()
Gt specifies that this field must be greater than the specified value, exclusive. If the value of Gt is larger than a specified Lt or Lte, the range is reversed.
optional double gt = 4;getGt in interface Validate.DoubleRulesOrBuilderpublic Validate.DoubleRules.Builder setGt(double value)
Gt specifies that this field must be greater than the specified value, exclusive. If the value of Gt is larger than a specified Lt or Lte, the range is reversed.
optional double gt = 4;public Validate.DoubleRules.Builder clearGt()
Gt specifies that this field must be greater than the specified value, exclusive. If the value of Gt is larger than a specified Lt or Lte, the range is reversed.
optional double gt = 4;public boolean hasGte()
Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed.
optional double gte = 5;hasGte in interface Validate.DoubleRulesOrBuilderpublic double getGte()
Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed.
optional double gte = 5;getGte in interface Validate.DoubleRulesOrBuilderpublic Validate.DoubleRules.Builder setGte(double value)
Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed.
optional double gte = 5;public Validate.DoubleRules.Builder clearGte()
Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed.
optional double gte = 5;public List<Double> getInList()
In specifies that this field must be equal to one of the specified values
repeated double in = 6;getInList in interface Validate.DoubleRulesOrBuilderpublic int getInCount()
In specifies that this field must be equal to one of the specified values
repeated double in = 6;getInCount in interface Validate.DoubleRulesOrBuilderpublic double getIn(int index)
In specifies that this field must be equal to one of the specified values
repeated double in = 6;getIn in interface Validate.DoubleRulesOrBuilderpublic Validate.DoubleRules.Builder setIn(int index, double value)
In specifies that this field must be equal to one of the specified values
repeated double in = 6;public Validate.DoubleRules.Builder addIn(double value)
In specifies that this field must be equal to one of the specified values
repeated double in = 6;public Validate.DoubleRules.Builder addAllIn(Iterable<? extends Double> values)
In specifies that this field must be equal to one of the specified values
repeated double in = 6;public Validate.DoubleRules.Builder clearIn()
In specifies that this field must be equal to one of the specified values
repeated double in = 6;public List<Double> getNotInList()
NotIn specifies that this field cannot be equal to one of the specified values
repeated double not_in = 7;getNotInList in interface Validate.DoubleRulesOrBuilderpublic int getNotInCount()
NotIn specifies that this field cannot be equal to one of the specified values
repeated double not_in = 7;getNotInCount in interface Validate.DoubleRulesOrBuilderpublic double getNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified values
repeated double not_in = 7;getNotIn in interface Validate.DoubleRulesOrBuilderpublic Validate.DoubleRules.Builder setNotIn(int index, double value)
NotIn specifies that this field cannot be equal to one of the specified values
repeated double not_in = 7;public Validate.DoubleRules.Builder addNotIn(double value)
NotIn specifies that this field cannot be equal to one of the specified values
repeated double not_in = 7;public Validate.DoubleRules.Builder addAllNotIn(Iterable<? extends Double> values)
NotIn specifies that this field cannot be equal to one of the specified values
repeated double not_in = 7;public Validate.DoubleRules.Builder clearNotIn()
NotIn specifies that this field cannot be equal to one of the specified values
repeated double not_in = 7;public final Validate.DoubleRules.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>public final Validate.DoubleRules.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.