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