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