Package io.envoyproxy.pgv.validate
Class Validate.DoubleRules.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>
io.envoyproxy.pgv.validate.Validate.DoubleRules.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Validate.DoubleRulesOrBuilder,Cloneable
- Enclosing class:
- Validate.DoubleRules
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-
Method Summary
Modifier and Type Method Description Validate.DoubleRules.BuilderaddAllIn(Iterable<? extends Double> values)In specifies that this field must be equal to one of the specified valuesValidate.DoubleRules.BuilderaddAllNotIn(Iterable<? extends Double> values)NotIn specifies that this field cannot be equal to one of the specified valuesValidate.DoubleRules.BuilderaddIn(double value)In specifies that this field must be equal to one of the specified valuesValidate.DoubleRules.BuilderaddNotIn(double value)NotIn specifies that this field cannot be equal to one of the specified valuesValidate.DoubleRules.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Validate.DoubleRulesbuild()Validate.DoubleRulesbuildPartial()Validate.DoubleRules.Builderclear()Validate.DoubleRules.BuilderclearConst()Const specifies that this field must be exactly the specified valueValidate.DoubleRules.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Validate.DoubleRules.BuilderclearGt()Gt specifies that this field must be greater than the specified value, exclusive.Validate.DoubleRules.BuilderclearGte()Gte specifies that this field must be greater than or equal to the specified value, inclusive.Validate.DoubleRules.BuilderclearIn()In specifies that this field must be equal to one of the specified valuesValidate.DoubleRules.BuilderclearLt()Lt specifies that this field must be less than the specified value, exclusiveValidate.DoubleRules.BuilderclearLte()Lte specifies that this field must be less than or equal to the specified value, inclusiveValidate.DoubleRules.BuilderclearNotIn()NotIn specifies that this field cannot be equal to one of the specified valuesValidate.DoubleRules.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Validate.DoubleRules.Builderclone()doublegetConst()Const specifies that this field must be exactly the specified valueValidate.DoubleRulesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()doublegetGt()Gt specifies that this field must be greater than the specified value, exclusive.doublegetGte()Gte specifies that this field must be greater than or equal to the specified value, inclusive.doublegetIn(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<Double>getInList()In specifies that this field must be equal to one of the specified valuesdoublegetLt()Lt specifies that this field must be less than the specified value, exclusivedoublegetLte()Lte specifies that this field must be less than or equal to the specified value, inclusivedoublegetNotIn(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<Double>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.DoubleRules.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Validate.DoubleRules.BuildermergeFrom(com.google.protobuf.Message other)Validate.DoubleRules.BuildermergeFrom(Validate.DoubleRules other)Validate.DoubleRules.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Validate.DoubleRules.BuildersetConst(double value)Const specifies that this field must be exactly the specified valueValidate.DoubleRules.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Validate.DoubleRules.BuildersetGt(double value)Gt specifies that this field must be greater than the specified value, exclusive.Validate.DoubleRules.BuildersetGte(double value)Gte specifies that this field must be greater than or equal to the specified value, inclusive.Validate.DoubleRules.BuildersetIn(int index, double value)In specifies that this field must be equal to one of the specified valuesValidate.DoubleRules.BuildersetLt(double value)Lt specifies that this field must be less than the specified value, exclusiveValidate.DoubleRules.BuildersetLte(double value)Lte specifies that this field must be less than or equal to the specified value, inclusiveValidate.DoubleRules.BuildersetNotIn(int index, double value)NotIn specifies that this field cannot be equal to one of the specified valuesValidate.DoubleRules.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Validate.DoubleRules.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.DoubleRules.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.DoubleRules.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.DoubleRules.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.DoubleRules.Builder>
-
setField
public Validate.DoubleRules.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.DoubleRules.Builder>
-
clearField
public Validate.DoubleRules.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>
-
clearOneof
public Validate.DoubleRules.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>
-
setRepeatedField
public Validate.DoubleRules.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.DoubleRules.Builder>
-
addRepeatedField
public Validate.DoubleRules.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.DoubleRules.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Validate.DoubleRules.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>
-
mergeFrom
public Validate.DoubleRules.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.DoubleRules.Builder>- Throws:
IOException
-
hasConst
public boolean hasConst()Const specifies that this field must be exactly the specified value
optional double const = 1;- Specified by:
hasConstin interfaceValidate.DoubleRulesOrBuilder
-
getConst
public double getConst()Const specifies that this field must be exactly the specified value
optional double const = 1;- Specified by:
getConstin interfaceValidate.DoubleRulesOrBuilder
-
setConst
Const specifies that this field must be exactly the specified value
optional double const = 1; -
clearConst
Const specifies that this field must be exactly the specified value
optional double const = 1; -
hasLt
public boolean hasLt()Lt specifies that this field must be less than the specified value, exclusive
optional double lt = 2;- Specified by:
hasLtin interfaceValidate.DoubleRulesOrBuilder
-
getLt
public double getLt()Lt specifies that this field must be less than the specified value, exclusive
optional double lt = 2;- Specified by:
getLtin interfaceValidate.DoubleRulesOrBuilder
-
setLt
Lt specifies that this field must be less than the specified value, exclusive
optional double lt = 2; -
clearLt
Lt specifies that this field must be less than the specified value, exclusive
optional double lt = 2; -
hasLte
public boolean hasLte()Lte specifies that this field must be less than or equal to the specified value, inclusive
optional double lte = 3;- Specified by:
hasLtein interfaceValidate.DoubleRulesOrBuilder
-
getLte
public double getLte()Lte specifies that this field must be less than or equal to the specified value, inclusive
optional double lte = 3;- Specified by:
getLtein interfaceValidate.DoubleRulesOrBuilder
-
setLte
Lte specifies that this field must be less than or equal to the specified value, inclusive
optional double lte = 3; -
clearLte
Lte specifies that this field must be less than or equal to the specified value, inclusive
optional double 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 double gt = 4;- Specified by:
hasGtin interfaceValidate.DoubleRulesOrBuilder
-
getGt
public 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;- Specified by:
getGtin interfaceValidate.DoubleRulesOrBuilder
-
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 double 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 double 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 double gte = 5;- Specified by:
hasGtein interfaceValidate.DoubleRulesOrBuilder
-
getGte
public 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;- Specified by:
getGtein interfaceValidate.DoubleRulesOrBuilder
-
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 double 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 double gte = 5; -
getInList
In specifies that this field must be equal to one of the specified values
repeated double in = 6;- Specified by:
getInListin interfaceValidate.DoubleRulesOrBuilder
-
getInCount
public int getInCount()In specifies that this field must be equal to one of the specified values
repeated double in = 6;- Specified by:
getInCountin interfaceValidate.DoubleRulesOrBuilder
-
getIn
public double getIn(int index)In specifies that this field must be equal to one of the specified values
repeated double in = 6;- Specified by:
getInin interfaceValidate.DoubleRulesOrBuilder
-
setIn
In specifies that this field must be equal to one of the specified values
repeated double in = 6; -
addIn
In specifies that this field must be equal to one of the specified values
repeated double in = 6; -
addAllIn
In specifies that this field must be equal to one of the specified values
repeated double in = 6; -
clearIn
In specifies that this field must be equal to one of the specified values
repeated double in = 6; -
getNotInList
NotIn specifies that this field cannot be equal to one of the specified values
repeated double not_in = 7;- Specified by:
getNotInListin interfaceValidate.DoubleRulesOrBuilder
-
getNotInCount
public int getNotInCount()NotIn specifies that this field cannot be equal to one of the specified values
repeated double not_in = 7;- Specified by:
getNotInCountin interfaceValidate.DoubleRulesOrBuilder
-
getNotIn
public double getNotIn(int index)NotIn specifies that this field cannot be equal to one of the specified values
repeated double not_in = 7;- Specified by:
getNotInin interfaceValidate.DoubleRulesOrBuilder
-
setNotIn
NotIn specifies that this field cannot be equal to one of the specified values
repeated double not_in = 7; -
addNotIn
NotIn specifies that this field cannot be equal to one of the specified values
repeated double not_in = 7; -
addAllNotIn
NotIn specifies that this field cannot be equal to one of the specified values
repeated double not_in = 7; -
clearNotIn
NotIn specifies that this field cannot be equal to one of the specified values
repeated double not_in = 7; -
setUnknownFields
public final Validate.DoubleRules.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>
-
mergeUnknownFields
public final Validate.DoubleRules.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.DoubleRules.Builder>
-