public static final class Validate.FloatRules.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Validate.FloatRules.Builder> implements Validate.FloatRulesOrBuilder
FloatRules describes the constraints applied to `float` valuesProtobuf type
validate.FloatRules| Modifier and Type | Method and Description |
|---|---|
Validate.FloatRules.Builder |
addAllIn(Iterable<? extends Float> values)
In specifies that this field must be equal to one of the specified
values
repeated float in = 6; |
Validate.FloatRules.Builder |
addAllNotIn(Iterable<? extends Float> values)
NotIn specifies that this field cannot be equal to one of the specified
values
repeated float not_in = 7; |
Validate.FloatRules.Builder |
addIn(float value)
In specifies that this field must be equal to one of the specified
values
repeated float in = 6; |
Validate.FloatRules.Builder |
addNotIn(float value)
NotIn specifies that this field cannot be equal to one of the specified
values
repeated float not_in = 7; |
Validate.FloatRules.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Validate.FloatRules |
build() |
Validate.FloatRules |
buildPartial() |
Validate.FloatRules.Builder |
clear() |
Validate.FloatRules.Builder |
clearConst()
Const specifies that this field must be exactly the specified value
optional float const = 1; |
Validate.FloatRules.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Validate.FloatRules.Builder |
clearGt()
Gt specifies that this field must be greater than the specified value,
exclusive.
|
Validate.FloatRules.Builder |
clearGte()
Gte specifies that this field must be greater than or equal to the
specified value, inclusive.
|
Validate.FloatRules.Builder |
clearIn()
In specifies that this field must be equal to one of the specified
values
repeated float in = 6; |
Validate.FloatRules.Builder |
clearLt()
Lt specifies that this field must be less than the specified value,
exclusive
optional float lt = 2; |
Validate.FloatRules.Builder |
clearLte()
Lte specifies that this field must be less than or equal to the
specified value, inclusive
optional float lte = 3; |
Validate.FloatRules.Builder |
clearNotIn()
NotIn specifies that this field cannot be equal to one of the specified
values
repeated float not_in = 7; |
Validate.FloatRules.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Validate.FloatRules.Builder |
clone() |
float |
getConst()
Const specifies that this field must be exactly the specified value
optional float const = 1; |
Validate.FloatRules |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
float |
getGt()
Gt specifies that this field must be greater than the specified value,
exclusive.
|
float |
getGte()
Gte specifies that this field must be greater than or equal to the
specified value, inclusive.
|
float |
getIn(int index)
In specifies that this field must be equal to one of the specified
values
repeated float in = 6; |
int |
getInCount()
In specifies that this field must be equal to one of the specified
values
repeated float in = 6; |
List<Float> |
getInList()
In specifies that this field must be equal to one of the specified
values
repeated float in = 6; |
float |
getLt()
Lt specifies that this field must be less than the specified value,
exclusive
optional float lt = 2; |
float |
getLte()
Lte specifies that this field must be less than or equal to the
specified value, inclusive
optional float lte = 3; |
float |
getNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified
values
repeated float not_in = 7; |
int |
getNotInCount()
NotIn specifies that this field cannot be equal to one of the specified
values
repeated float not_in = 7; |
List<Float> |
getNotInList()
NotIn specifies that this field cannot be equal to one of the specified
values
repeated float not_in = 7; |
boolean |
hasConst()
Const specifies that this field must be exactly the specified value
optional float 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 float lt = 2; |
boolean |
hasLte()
Lte specifies that this field must be less than or equal to the
specified value, inclusive
optional float lte = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Validate.FloatRules.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Validate.FloatRules.Builder |
mergeFrom(com.google.protobuf.Message other) |
Validate.FloatRules.Builder |
mergeFrom(Validate.FloatRules other) |
Validate.FloatRules.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Validate.FloatRules.Builder |
setConst(float value)
Const specifies that this field must be exactly the specified value
optional float const = 1; |
Validate.FloatRules.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Validate.FloatRules.Builder |
setGt(float value)
Gt specifies that this field must be greater than the specified value,
exclusive.
|
Validate.FloatRules.Builder |
setGte(float value)
Gte specifies that this field must be greater than or equal to the
specified value, inclusive.
|
Validate.FloatRules.Builder |
setIn(int index,
float value)
In specifies that this field must be equal to one of the specified
values
repeated float in = 6; |
Validate.FloatRules.Builder |
setLt(float value)
Lt specifies that this field must be less than the specified value,
exclusive
optional float lt = 2; |
Validate.FloatRules.Builder |
setLte(float value)
Lte specifies that this field must be less than or equal to the
specified value, inclusive
optional float lte = 3; |
Validate.FloatRules.Builder |
setNotIn(int index,
float value)
NotIn specifies that this field cannot be equal to one of the specified
values
repeated float not_in = 7; |
Validate.FloatRules.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Validate.FloatRules.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.FloatRules.Builder>public Validate.FloatRules.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.FloatRules.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.FloatRules.Builder>public Validate.FloatRules getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Validate.FloatRules build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Validate.FloatRules buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Validate.FloatRules.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.FloatRules.Builder>public Validate.FloatRules.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.FloatRules.Builder>public Validate.FloatRules.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.FloatRules.Builder>public Validate.FloatRules.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.FloatRules.Builder>public Validate.FloatRules.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.FloatRules.Builder>public Validate.FloatRules.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.FloatRules.Builder>public Validate.FloatRules.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Validate.FloatRules.Builder>public Validate.FloatRules.Builder mergeFrom(Validate.FloatRules other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.FloatRules.Builder>public Validate.FloatRules.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.FloatRules.Builder>IOExceptionpublic boolean hasConst()
Const specifies that this field must be exactly the specified value
optional float const = 1;hasConst in interface Validate.FloatRulesOrBuilderpublic float getConst()
Const specifies that this field must be exactly the specified value
optional float const = 1;getConst in interface Validate.FloatRulesOrBuilderpublic Validate.FloatRules.Builder setConst(float value)
Const specifies that this field must be exactly the specified value
optional float const = 1;public Validate.FloatRules.Builder clearConst()
Const specifies that this field must be exactly the specified value
optional float const = 1;public boolean hasLt()
Lt specifies that this field must be less than the specified value, exclusive
optional float lt = 2;hasLt in interface Validate.FloatRulesOrBuilderpublic float getLt()
Lt specifies that this field must be less than the specified value, exclusive
optional float lt = 2;getLt in interface Validate.FloatRulesOrBuilderpublic Validate.FloatRules.Builder setLt(float value)
Lt specifies that this field must be less than the specified value, exclusive
optional float lt = 2;public Validate.FloatRules.Builder clearLt()
Lt specifies that this field must be less than the specified value, exclusive
optional float lt = 2;public boolean hasLte()
Lte specifies that this field must be less than or equal to the specified value, inclusive
optional float lte = 3;hasLte in interface Validate.FloatRulesOrBuilderpublic float getLte()
Lte specifies that this field must be less than or equal to the specified value, inclusive
optional float lte = 3;getLte in interface Validate.FloatRulesOrBuilderpublic Validate.FloatRules.Builder setLte(float value)
Lte specifies that this field must be less than or equal to the specified value, inclusive
optional float lte = 3;public Validate.FloatRules.Builder clearLte()
Lte specifies that this field must be less than or equal to the specified value, inclusive
optional float 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 float gt = 4;hasGt in interface Validate.FloatRulesOrBuilderpublic float 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 float gt = 4;getGt in interface Validate.FloatRulesOrBuilderpublic Validate.FloatRules.Builder setGt(float 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 float gt = 4;public Validate.FloatRules.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 float 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 float gte = 5;hasGte in interface Validate.FloatRulesOrBuilderpublic float 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 float gte = 5;getGte in interface Validate.FloatRulesOrBuilderpublic Validate.FloatRules.Builder setGte(float 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 float gte = 5;public Validate.FloatRules.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 float gte = 5;public List<Float> getInList()
In specifies that this field must be equal to one of the specified values
repeated float in = 6;getInList in interface Validate.FloatRulesOrBuilderpublic int getInCount()
In specifies that this field must be equal to one of the specified values
repeated float in = 6;getInCount in interface Validate.FloatRulesOrBuilderpublic float getIn(int index)
In specifies that this field must be equal to one of the specified values
repeated float in = 6;getIn in interface Validate.FloatRulesOrBuilderpublic Validate.FloatRules.Builder setIn(int index, float value)
In specifies that this field must be equal to one of the specified values
repeated float in = 6;public Validate.FloatRules.Builder addIn(float value)
In specifies that this field must be equal to one of the specified values
repeated float in = 6;public Validate.FloatRules.Builder addAllIn(Iterable<? extends Float> values)
In specifies that this field must be equal to one of the specified values
repeated float in = 6;public Validate.FloatRules.Builder clearIn()
In specifies that this field must be equal to one of the specified values
repeated float in = 6;public List<Float> getNotInList()
NotIn specifies that this field cannot be equal to one of the specified values
repeated float not_in = 7;getNotInList in interface Validate.FloatRulesOrBuilderpublic int getNotInCount()
NotIn specifies that this field cannot be equal to one of the specified values
repeated float not_in = 7;getNotInCount in interface Validate.FloatRulesOrBuilderpublic float getNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified values
repeated float not_in = 7;getNotIn in interface Validate.FloatRulesOrBuilderpublic Validate.FloatRules.Builder setNotIn(int index, float value)
NotIn specifies that this field cannot be equal to one of the specified values
repeated float not_in = 7;public Validate.FloatRules.Builder addNotIn(float value)
NotIn specifies that this field cannot be equal to one of the specified values
repeated float not_in = 7;public Validate.FloatRules.Builder addAllNotIn(Iterable<? extends Float> values)
NotIn specifies that this field cannot be equal to one of the specified values
repeated float not_in = 7;public Validate.FloatRules.Builder clearNotIn()
NotIn specifies that this field cannot be equal to one of the specified values
repeated float not_in = 7;public final Validate.FloatRules.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.FloatRules.Builder>public final Validate.FloatRules.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.FloatRules.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.