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` values
Protobuf typevalidate.DoubleRules
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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.BuilderclearIgnoreEmpty()IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not emptyValidate.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.booleangetIgnoreEmpty()IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not emptydoublegetIn(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.booleanhasIgnoreEmpty()IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not emptybooleanhasLt()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.BuildersetIgnoreEmpty(boolean value)IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not emptyValidate.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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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
public 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
public Validate.DoubleRules getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Validate.DoubleRules build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Validate.DoubleRules buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Validate.DoubleRules.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
public Validate.DoubleRules.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Validate.DoubleRules.Builder>
-
mergeFrom
public Validate.DoubleRules.Builder mergeFrom(Validate.DoubleRules other)
-
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
public Validate.DoubleRules.Builder setConst(double value)
Const specifies that this field must be exactly the specified value
optional double const = 1;
-
clearConst
public Validate.DoubleRules.Builder 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
public Validate.DoubleRules.Builder setLt(double value)
Lt specifies that this field must be less than the specified value, exclusive
optional double lt = 2;
-
clearLt
public Validate.DoubleRules.Builder 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
public 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;
-
clearLte
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;
-
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
public 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;
-
clearGt
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;
-
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
public 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;
-
clearGte
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;
-
getInList
public List<Double> 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
public 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;
-
addIn
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;
-
addAllIn
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;
-
clearIn
public Validate.DoubleRules.Builder clearIn()
In specifies that this field must be equal to one of the specified values
repeated double in = 6;
-
getNotInList
public List<Double> 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
public 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;
-
addNotIn
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;
-
addAllNotIn
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;
-
clearNotIn
public Validate.DoubleRules.Builder clearNotIn()
NotIn specifies that this field cannot be equal to one of the specified values
repeated double not_in = 7;
-
hasIgnoreEmpty
public boolean hasIgnoreEmpty()
IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
optional bool ignore_empty = 8;- Specified by:
hasIgnoreEmptyin interfaceValidate.DoubleRulesOrBuilder
-
getIgnoreEmpty
public boolean getIgnoreEmpty()
IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
optional bool ignore_empty = 8;- Specified by:
getIgnoreEmptyin interfaceValidate.DoubleRulesOrBuilder
-
setIgnoreEmpty
public Validate.DoubleRules.Builder setIgnoreEmpty(boolean value)
IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
optional bool ignore_empty = 8;
-
clearIgnoreEmpty
public Validate.DoubleRules.Builder clearIgnoreEmpty()
IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
optional bool ignore_empty = 8;
-
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>
-
-