Package io.envoyproxy.pgv.validate
Class Validate.SInt32Rules.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Validate.SInt32Rules.Builder>
-
- io.envoyproxy.pgv.validate.Validate.SInt32Rules.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Validate.SInt32RulesOrBuilder,Cloneable
- Enclosing class:
- Validate.SInt32Rules
public static final class Validate.SInt32Rules.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Validate.SInt32Rules.Builder> implements Validate.SInt32RulesOrBuilder
SInt32Rules describes the constraints applied to `sint32` values
Protobuf typevalidate.SInt32Rules
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Validate.SInt32Rules.BuilderaddAllIn(Iterable<? extends Integer> values)In specifies that this field must be equal to one of the specified valuesValidate.SInt32Rules.BuilderaddAllNotIn(Iterable<? extends Integer> values)NotIn specifies that this field cannot be equal to one of the specified valuesValidate.SInt32Rules.BuilderaddIn(int value)In specifies that this field must be equal to one of the specified valuesValidate.SInt32Rules.BuilderaddNotIn(int value)NotIn specifies that this field cannot be equal to one of the specified valuesValidate.SInt32Rules.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Validate.SInt32Rulesbuild()Validate.SInt32RulesbuildPartial()Validate.SInt32Rules.Builderclear()Validate.SInt32Rules.BuilderclearConst()Const specifies that this field must be exactly the specified valueValidate.SInt32Rules.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Validate.SInt32Rules.BuilderclearGt()Gt specifies that this field must be greater than the specified value, exclusive.Validate.SInt32Rules.BuilderclearGte()Gte specifies that this field must be greater than or equal to the specified value, inclusive.Validate.SInt32Rules.BuilderclearIgnoreEmpty()IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not emptyValidate.SInt32Rules.BuilderclearIn()In specifies that this field must be equal to one of the specified valuesValidate.SInt32Rules.BuilderclearLt()Lt specifies that this field must be less than the specified value, exclusiveValidate.SInt32Rules.BuilderclearLte()Lte specifies that this field must be less than or equal to the specified value, inclusiveValidate.SInt32Rules.BuilderclearNotIn()NotIn specifies that this field cannot be equal to one of the specified valuesValidate.SInt32Rules.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Validate.SInt32Rules.Builderclone()intgetConst()Const specifies that this field must be exactly the specified valueValidate.SInt32RulesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetGt()Gt specifies that this field must be greater than the specified value, exclusive.intgetGte()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 emptyintgetIn(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<Integer>getInList()In specifies that this field must be equal to one of the specified valuesintgetLt()Lt specifies that this field must be less than the specified value, exclusiveintgetLte()Lte specifies that this field must be less than or equal to the specified value, inclusiveintgetNotIn(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<Integer>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.SInt32Rules.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Validate.SInt32Rules.BuildermergeFrom(com.google.protobuf.Message other)Validate.SInt32Rules.BuildermergeFrom(Validate.SInt32Rules other)Validate.SInt32Rules.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Validate.SInt32Rules.BuildersetConst(int value)Const specifies that this field must be exactly the specified valueValidate.SInt32Rules.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Validate.SInt32Rules.BuildersetGt(int value)Gt specifies that this field must be greater than the specified value, exclusive.Validate.SInt32Rules.BuildersetGte(int value)Gte specifies that this field must be greater than or equal to the specified value, inclusive.Validate.SInt32Rules.BuildersetIgnoreEmpty(boolean value)IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not emptyValidate.SInt32Rules.BuildersetIn(int index, int value)In specifies that this field must be equal to one of the specified valuesValidate.SInt32Rules.BuildersetLt(int value)Lt specifies that this field must be less than the specified value, exclusiveValidate.SInt32Rules.BuildersetLte(int value)Lte specifies that this field must be less than or equal to the specified value, inclusiveValidate.SInt32Rules.BuildersetNotIn(int index, int value)NotIn specifies that this field cannot be equal to one of the specified valuesValidate.SInt32Rules.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Validate.SInt32Rules.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.SInt32Rules.Builder>
-
clear
public Validate.SInt32Rules.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.SInt32Rules.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.SInt32Rules.Builder>
-
getDefaultInstanceForType
public Validate.SInt32Rules getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Validate.SInt32Rules build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Validate.SInt32Rules buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Validate.SInt32Rules.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.SInt32Rules.Builder>
-
setField
public Validate.SInt32Rules.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.SInt32Rules.Builder>
-
clearField
public Validate.SInt32Rules.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.SInt32Rules.Builder>
-
clearOneof
public Validate.SInt32Rules.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.SInt32Rules.Builder>
-
setRepeatedField
public Validate.SInt32Rules.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.SInt32Rules.Builder>
-
addRepeatedField
public Validate.SInt32Rules.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.SInt32Rules.Builder>
-
mergeFrom
public Validate.SInt32Rules.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Validate.SInt32Rules.Builder>
-
mergeFrom
public Validate.SInt32Rules.Builder mergeFrom(Validate.SInt32Rules other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.SInt32Rules.Builder>
-
mergeFrom
public Validate.SInt32Rules.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.SInt32Rules.Builder>- Throws:
IOException
-
hasConst
public boolean hasConst()
Const specifies that this field must be exactly the specified value
optional sint32 const = 1;- Specified by:
hasConstin interfaceValidate.SInt32RulesOrBuilder
-
getConst
public int getConst()
Const specifies that this field must be exactly the specified value
optional sint32 const = 1;- Specified by:
getConstin interfaceValidate.SInt32RulesOrBuilder
-
setConst
public Validate.SInt32Rules.Builder setConst(int value)
Const specifies that this field must be exactly the specified value
optional sint32 const = 1;
-
clearConst
public Validate.SInt32Rules.Builder clearConst()
Const specifies that this field must be exactly the specified value
optional sint32 const = 1;
-
hasLt
public boolean hasLt()
Lt specifies that this field must be less than the specified value, exclusive
optional sint32 lt = 2;- Specified by:
hasLtin interfaceValidate.SInt32RulesOrBuilder
-
getLt
public int getLt()
Lt specifies that this field must be less than the specified value, exclusive
optional sint32 lt = 2;- Specified by:
getLtin interfaceValidate.SInt32RulesOrBuilder
-
setLt
public Validate.SInt32Rules.Builder setLt(int value)
Lt specifies that this field must be less than the specified value, exclusive
optional sint32 lt = 2;
-
clearLt
public Validate.SInt32Rules.Builder clearLt()
Lt specifies that this field must be less than the specified value, exclusive
optional sint32 lt = 2;
-
hasLte
public boolean hasLte()
Lte specifies that this field must be less than or equal to the specified value, inclusive
optional sint32 lte = 3;- Specified by:
hasLtein interfaceValidate.SInt32RulesOrBuilder
-
getLte
public int getLte()
Lte specifies that this field must be less than or equal to the specified value, inclusive
optional sint32 lte = 3;- Specified by:
getLtein interfaceValidate.SInt32RulesOrBuilder
-
setLte
public Validate.SInt32Rules.Builder setLte(int value)
Lte specifies that this field must be less than or equal to the specified value, inclusive
optional sint32 lte = 3;
-
clearLte
public Validate.SInt32Rules.Builder clearLte()
Lte specifies that this field must be less than or equal to the specified value, inclusive
optional sint32 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 sint32 gt = 4;- Specified by:
hasGtin interfaceValidate.SInt32RulesOrBuilder
-
getGt
public int 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 sint32 gt = 4;- Specified by:
getGtin interfaceValidate.SInt32RulesOrBuilder
-
setGt
public Validate.SInt32Rules.Builder setGt(int 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 sint32 gt = 4;
-
clearGt
public Validate.SInt32Rules.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 sint32 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 sint32 gte = 5;- Specified by:
hasGtein interfaceValidate.SInt32RulesOrBuilder
-
getGte
public int 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 sint32 gte = 5;- Specified by:
getGtein interfaceValidate.SInt32RulesOrBuilder
-
setGte
public Validate.SInt32Rules.Builder setGte(int 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 sint32 gte = 5;
-
clearGte
public Validate.SInt32Rules.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 sint32 gte = 5;
-
getInList
public List<Integer> getInList()
In specifies that this field must be equal to one of the specified values
repeated sint32 in = 6;- Specified by:
getInListin interfaceValidate.SInt32RulesOrBuilder
-
getInCount
public int getInCount()
In specifies that this field must be equal to one of the specified values
repeated sint32 in = 6;- Specified by:
getInCountin interfaceValidate.SInt32RulesOrBuilder
-
getIn
public int getIn(int index)
In specifies that this field must be equal to one of the specified values
repeated sint32 in = 6;- Specified by:
getInin interfaceValidate.SInt32RulesOrBuilder
-
setIn
public Validate.SInt32Rules.Builder setIn(int index, int value)
In specifies that this field must be equal to one of the specified values
repeated sint32 in = 6;
-
addIn
public Validate.SInt32Rules.Builder addIn(int value)
In specifies that this field must be equal to one of the specified values
repeated sint32 in = 6;
-
addAllIn
public Validate.SInt32Rules.Builder addAllIn(Iterable<? extends Integer> values)
In specifies that this field must be equal to one of the specified values
repeated sint32 in = 6;
-
clearIn
public Validate.SInt32Rules.Builder clearIn()
In specifies that this field must be equal to one of the specified values
repeated sint32 in = 6;
-
getNotInList
public List<Integer> getNotInList()
NotIn specifies that this field cannot be equal to one of the specified values
repeated sint32 not_in = 7;- Specified by:
getNotInListin interfaceValidate.SInt32RulesOrBuilder
-
getNotInCount
public int getNotInCount()
NotIn specifies that this field cannot be equal to one of the specified values
repeated sint32 not_in = 7;- Specified by:
getNotInCountin interfaceValidate.SInt32RulesOrBuilder
-
getNotIn
public int getNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified values
repeated sint32 not_in = 7;- Specified by:
getNotInin interfaceValidate.SInt32RulesOrBuilder
-
setNotIn
public Validate.SInt32Rules.Builder setNotIn(int index, int value)
NotIn specifies that this field cannot be equal to one of the specified values
repeated sint32 not_in = 7;
-
addNotIn
public Validate.SInt32Rules.Builder addNotIn(int value)
NotIn specifies that this field cannot be equal to one of the specified values
repeated sint32 not_in = 7;
-
addAllNotIn
public Validate.SInt32Rules.Builder addAllNotIn(Iterable<? extends Integer> values)
NotIn specifies that this field cannot be equal to one of the specified values
repeated sint32 not_in = 7;
-
clearNotIn
public Validate.SInt32Rules.Builder clearNotIn()
NotIn specifies that this field cannot be equal to one of the specified values
repeated sint32 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.SInt32RulesOrBuilder
-
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.SInt32RulesOrBuilder
-
setIgnoreEmpty
public Validate.SInt32Rules.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.SInt32Rules.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.SInt32Rules.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.SInt32Rules.Builder>
-
mergeUnknownFields
public final Validate.SInt32Rules.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.SInt32Rules.Builder>
-
-