Package io.envoyproxy.pgv.validate
Class Validate.FloatRules.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Validate.FloatRules.Builder>
io.envoyproxy.pgv.validate.Validate.FloatRules.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Validate.FloatRulesOrBuilder,Cloneable
- Enclosing class:
- Validate.FloatRules
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-
Method Summary
Modifier and Type Method Description Validate.FloatRules.BuilderaddAllIn(Iterable<? extends Float> values)In specifies that this field must be equal to one of the specified valuesValidate.FloatRules.BuilderaddAllNotIn(Iterable<? extends Float> values)NotIn specifies that this field cannot be equal to one of the specified valuesValidate.FloatRules.BuilderaddIn(float value)In specifies that this field must be equal to one of the specified valuesValidate.FloatRules.BuilderaddNotIn(float value)NotIn specifies that this field cannot be equal to one of the specified valuesValidate.FloatRules.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Validate.FloatRulesbuild()Validate.FloatRulesbuildPartial()Validate.FloatRules.Builderclear()Validate.FloatRules.BuilderclearConst()Const specifies that this field must be exactly the specified valueValidate.FloatRules.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Validate.FloatRules.BuilderclearGt()Gt specifies that this field must be greater than the specified value, exclusive.Validate.FloatRules.BuilderclearGte()Gte specifies that this field must be greater than or equal to the specified value, inclusive.Validate.FloatRules.BuilderclearIn()In specifies that this field must be equal to one of the specified valuesValidate.FloatRules.BuilderclearLt()Lt specifies that this field must be less than the specified value, exclusiveValidate.FloatRules.BuilderclearLte()Lte specifies that this field must be less than or equal to the specified value, inclusiveValidate.FloatRules.BuilderclearNotIn()NotIn specifies that this field cannot be equal to one of the specified valuesValidate.FloatRules.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Validate.FloatRules.Builderclone()floatgetConst()Const specifies that this field must be exactly the specified valueValidate.FloatRulesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()floatgetGt()Gt specifies that this field must be greater than the specified value, exclusive.floatgetGte()Gte specifies that this field must be greater than or equal to the specified value, inclusive.floatgetIn(int index)In specifies that this field must be equal to one of the specified valuesintgetInCount()In specifies that this field must be equal to one of the specified valuesList<Float>getInList()In specifies that this field must be equal to one of the specified valuesfloatgetLt()Lt specifies that this field must be less than the specified value, exclusivefloatgetLte()Lte specifies that this field must be less than or equal to the specified value, inclusivefloatgetNotIn(int index)NotIn specifies that this field cannot be equal to one of the specified valuesintgetNotInCount()NotIn specifies that this field cannot be equal to one of the specified valuesList<Float>getNotInList()NotIn specifies that this field cannot be equal to one of the specified valuesbooleanhasConst()Const specifies that this field must be exactly the specified valuebooleanhasGt()Gt specifies that this field must be greater than the specified value, exclusive.booleanhasGte()Gte specifies that this field must be greater than or equal to the specified value, inclusive.booleanhasLt()Lt specifies that this field must be less than the specified value, exclusivebooleanhasLte()Lte specifies that this field must be less than or equal to the specified value, inclusiveprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Validate.FloatRules.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Validate.FloatRules.BuildermergeFrom(com.google.protobuf.Message other)Validate.FloatRules.BuildermergeFrom(Validate.FloatRules other)Validate.FloatRules.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Validate.FloatRules.BuildersetConst(float value)Const specifies that this field must be exactly the specified valueValidate.FloatRules.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Validate.FloatRules.BuildersetGt(float value)Gt specifies that this field must be greater than the specified value, exclusive.Validate.FloatRules.BuildersetGte(float value)Gte specifies that this field must be greater than or equal to the specified value, inclusive.Validate.FloatRules.BuildersetIn(int index, float value)In specifies that this field must be equal to one of the specified valuesValidate.FloatRules.BuildersetLt(float value)Lt specifies that this field must be less than the specified value, exclusiveValidate.FloatRules.BuildersetLte(float value)Lte specifies that this field must be less than or equal to the specified value, inclusiveValidate.FloatRules.BuildersetNotIn(int index, float value)NotIn specifies that this field cannot be equal to one of the specified valuesValidate.FloatRules.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Validate.FloatRules.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Method Details
-
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<Validate.FloatRules.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<Validate.FloatRules.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<Validate.FloatRules.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.FloatRules.Builder>
-
setField
public Validate.FloatRules.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<Validate.FloatRules.Builder>
-
clearField
public Validate.FloatRules.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.FloatRules.Builder>
-
clearOneof
public Validate.FloatRules.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.FloatRules.Builder>
-
setRepeatedField
public Validate.FloatRules.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<Validate.FloatRules.Builder>
-
addRepeatedField
public Validate.FloatRules.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<Validate.FloatRules.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Validate.FloatRules.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.FloatRules.Builder>
-
mergeFrom
public Validate.FloatRules.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<Validate.FloatRules.Builder>- Throws:
IOException
-
hasConst
public boolean hasConst()Const specifies that this field must be exactly the specified value
optional float const = 1;- Specified by:
hasConstin interfaceValidate.FloatRulesOrBuilder
-
getConst
public float getConst()Const specifies that this field must be exactly the specified value
optional float const = 1;- Specified by:
getConstin interfaceValidate.FloatRulesOrBuilder
-
setConst
Const specifies that this field must be exactly the specified value
optional float const = 1; -
clearConst
Const specifies that this field must be exactly the specified value
optional float const = 1; -
hasLt
public boolean hasLt()Lt specifies that this field must be less than the specified value, exclusive
optional float lt = 2;- Specified by:
hasLtin interfaceValidate.FloatRulesOrBuilder
-
getLt
public float getLt()Lt specifies that this field must be less than the specified value, exclusive
optional float lt = 2;- Specified by:
getLtin interfaceValidate.FloatRulesOrBuilder
-
setLt
Lt specifies that this field must be less than the specified value, exclusive
optional float lt = 2; -
clearLt
Lt specifies that this field must be less than the specified value, exclusive
optional float lt = 2; -
hasLte
public boolean hasLte()Lte specifies that this field must be less than or equal to the specified value, inclusive
optional float lte = 3;- Specified by:
hasLtein interfaceValidate.FloatRulesOrBuilder
-
getLte
public float getLte()Lte specifies that this field must be less than or equal to the specified value, inclusive
optional float lte = 3;- Specified by:
getLtein interfaceValidate.FloatRulesOrBuilder
-
setLte
Lte specifies that this field must be less than or equal to the specified value, inclusive
optional float lte = 3; -
clearLte
Lte specifies that this field must be less than or equal to the specified value, inclusive
optional float lte = 3; -
hasGt
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;- Specified by:
hasGtin interfaceValidate.FloatRulesOrBuilder
-
getGt
public 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;- Specified by:
getGtin interfaceValidate.FloatRulesOrBuilder
-
setGt
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; -
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; -
hasGte
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;- Specified by:
hasGtein interfaceValidate.FloatRulesOrBuilder
-
getGte
public 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;- Specified by:
getGtein interfaceValidate.FloatRulesOrBuilder
-
setGte
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; -
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; -
getInList
In specifies that this field must be equal to one of the specified values
repeated float in = 6;- Specified by:
getInListin interfaceValidate.FloatRulesOrBuilder
-
getInCount
public int getInCount()In specifies that this field must be equal to one of the specified values
repeated float in = 6;- Specified by:
getInCountin interfaceValidate.FloatRulesOrBuilder
-
getIn
public float getIn(int index)In specifies that this field must be equal to one of the specified values
repeated float in = 6;- Specified by:
getInin interfaceValidate.FloatRulesOrBuilder
-
setIn
In specifies that this field must be equal to one of the specified values
repeated float in = 6; -
addIn
In specifies that this field must be equal to one of the specified values
repeated float in = 6; -
addAllIn
In specifies that this field must be equal to one of the specified values
repeated float in = 6; -
clearIn
In specifies that this field must be equal to one of the specified values
repeated float in = 6; -
getNotInList
NotIn specifies that this field cannot be equal to one of the specified values
repeated float not_in = 7;- Specified by:
getNotInListin interfaceValidate.FloatRulesOrBuilder
-
getNotInCount
public int getNotInCount()NotIn specifies that this field cannot be equal to one of the specified values
repeated float not_in = 7;- Specified by:
getNotInCountin interfaceValidate.FloatRulesOrBuilder
-
getNotIn
public float getNotIn(int index)NotIn specifies that this field cannot be equal to one of the specified values
repeated float not_in = 7;- Specified by:
getNotInin interfaceValidate.FloatRulesOrBuilder
-
setNotIn
NotIn specifies that this field cannot be equal to one of the specified values
repeated float not_in = 7; -
addNotIn
NotIn specifies that this field cannot be equal to one of the specified values
repeated float not_in = 7; -
addAllNotIn
NotIn specifies that this field cannot be equal to one of the specified values
repeated float not_in = 7; -
clearNotIn
NotIn specifies that this field cannot be equal to one of the specified values
repeated float not_in = 7; -
setUnknownFields
public final Validate.FloatRules.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.FloatRules.Builder>
-
mergeUnknownFields
public final Validate.FloatRules.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.FloatRules.Builder>
-