public static final class Validate.RepeatedRules.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Validate.RepeatedRules.Builder> implements Validate.RepeatedRulesOrBuilder
RepeatedRules describe the constraints applied to `repeated` valuesProtobuf type
validate.RepeatedRules| Modifier and Type | Method and Description |
|---|---|
Validate.RepeatedRules.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Validate.RepeatedRules |
build() |
Validate.RepeatedRules |
buildPartial() |
Validate.RepeatedRules.Builder |
clear() |
Validate.RepeatedRules.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Validate.RepeatedRules.Builder |
clearItems()
Items specifies the contraints to be applied to each item in the field.
|
Validate.RepeatedRules.Builder |
clearMaxItems()
MaxItems specifies that this field must have the specified number of
items at a maximum
optional uint64 max_items = 2; |
Validate.RepeatedRules.Builder |
clearMinItems()
MinItems specifies that this field must have the specified number of
items at a minimum
optional uint64 min_items = 1; |
Validate.RepeatedRules.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Validate.RepeatedRules.Builder |
clearUnique()
Unique specifies that all elements in this field must be unique.
|
Validate.RepeatedRules.Builder |
clone() |
Validate.RepeatedRules |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Validate.FieldRules |
getItems()
Items specifies the contraints to be applied to each item in the field.
|
Validate.FieldRules.Builder |
getItemsBuilder()
Items specifies the contraints to be applied to each item in the field.
|
Validate.FieldRulesOrBuilder |
getItemsOrBuilder()
Items specifies the contraints to be applied to each item in the field.
|
long |
getMaxItems()
MaxItems specifies that this field must have the specified number of
items at a maximum
optional uint64 max_items = 2; |
long |
getMinItems()
MinItems specifies that this field must have the specified number of
items at a minimum
optional uint64 min_items = 1; |
boolean |
getUnique()
Unique specifies that all elements in this field must be unique.
|
boolean |
hasItems()
Items specifies the contraints to be applied to each item in the field.
|
boolean |
hasMaxItems()
MaxItems specifies that this field must have the specified number of
items at a maximum
optional uint64 max_items = 2; |
boolean |
hasMinItems()
MinItems specifies that this field must have the specified number of
items at a minimum
optional uint64 min_items = 1; |
boolean |
hasUnique()
Unique specifies that all elements in this field must be unique.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Validate.RepeatedRules.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Validate.RepeatedRules.Builder |
mergeFrom(com.google.protobuf.Message other) |
Validate.RepeatedRules.Builder |
mergeFrom(Validate.RepeatedRules other) |
Validate.RepeatedRules.Builder |
mergeItems(Validate.FieldRules value)
Items specifies the contraints to be applied to each item in the field.
|
Validate.RepeatedRules.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Validate.RepeatedRules.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Validate.RepeatedRules.Builder |
setItems(Validate.FieldRules.Builder builderForValue)
Items specifies the contraints to be applied to each item in the field.
|
Validate.RepeatedRules.Builder |
setItems(Validate.FieldRules value)
Items specifies the contraints to be applied to each item in the field.
|
Validate.RepeatedRules.Builder |
setMaxItems(long value)
MaxItems specifies that this field must have the specified number of
items at a maximum
optional uint64 max_items = 2; |
Validate.RepeatedRules.Builder |
setMinItems(long value)
MinItems specifies that this field must have the specified number of
items at a minimum
optional uint64 min_items = 1; |
Validate.RepeatedRules.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Validate.RepeatedRules.Builder |
setUnique(boolean value)
Unique specifies that all elements in this field must be unique.
|
Validate.RepeatedRules.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.RepeatedRules.Builder>public Validate.RepeatedRules.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.RepeatedRules.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.RepeatedRules.Builder>public Validate.RepeatedRules getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Validate.RepeatedRules build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Validate.RepeatedRules buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Validate.RepeatedRules.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.RepeatedRules.Builder>public Validate.RepeatedRules.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.RepeatedRules.Builder>public Validate.RepeatedRules.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.RepeatedRules.Builder>public Validate.RepeatedRules.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.RepeatedRules.Builder>public Validate.RepeatedRules.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.RepeatedRules.Builder>public Validate.RepeatedRules.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.RepeatedRules.Builder>public Validate.RepeatedRules.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Validate.RepeatedRules.Builder>public Validate.RepeatedRules.Builder mergeFrom(Validate.RepeatedRules other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.RepeatedRules.Builder>public Validate.RepeatedRules.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.RepeatedRules.Builder>IOExceptionpublic boolean hasMinItems()
MinItems specifies that this field must have the specified number of items at a minimum
optional uint64 min_items = 1;hasMinItems in interface Validate.RepeatedRulesOrBuilderpublic long getMinItems()
MinItems specifies that this field must have the specified number of items at a minimum
optional uint64 min_items = 1;getMinItems in interface Validate.RepeatedRulesOrBuilderpublic Validate.RepeatedRules.Builder setMinItems(long value)
MinItems specifies that this field must have the specified number of items at a minimum
optional uint64 min_items = 1;public Validate.RepeatedRules.Builder clearMinItems()
MinItems specifies that this field must have the specified number of items at a minimum
optional uint64 min_items = 1;public boolean hasMaxItems()
MaxItems specifies that this field must have the specified number of items at a maximum
optional uint64 max_items = 2;hasMaxItems in interface Validate.RepeatedRulesOrBuilderpublic long getMaxItems()
MaxItems specifies that this field must have the specified number of items at a maximum
optional uint64 max_items = 2;getMaxItems in interface Validate.RepeatedRulesOrBuilderpublic Validate.RepeatedRules.Builder setMaxItems(long value)
MaxItems specifies that this field must have the specified number of items at a maximum
optional uint64 max_items = 2;public Validate.RepeatedRules.Builder clearMaxItems()
MaxItems specifies that this field must have the specified number of items at a maximum
optional uint64 max_items = 2;public boolean hasUnique()
Unique specifies that all elements in this field must be unique. This contraint is only applicable to scalar and enum types (messages are not supported).
optional bool unique = 3;hasUnique in interface Validate.RepeatedRulesOrBuilderpublic boolean getUnique()
Unique specifies that all elements in this field must be unique. This contraint is only applicable to scalar and enum types (messages are not supported).
optional bool unique = 3;getUnique in interface Validate.RepeatedRulesOrBuilderpublic Validate.RepeatedRules.Builder setUnique(boolean value)
Unique specifies that all elements in this field must be unique. This contraint is only applicable to scalar and enum types (messages are not supported).
optional bool unique = 3;public Validate.RepeatedRules.Builder clearUnique()
Unique specifies that all elements in this field must be unique. This contraint is only applicable to scalar and enum types (messages are not supported).
optional bool unique = 3;public boolean hasItems()
Items specifies the contraints to be applied to each item in the field. Repeated message fields will still execute validation against each item unless skip is specified here.
optional .validate.FieldRules items = 4;hasItems in interface Validate.RepeatedRulesOrBuilderpublic Validate.FieldRules getItems()
Items specifies the contraints to be applied to each item in the field. Repeated message fields will still execute validation against each item unless skip is specified here.
optional .validate.FieldRules items = 4;getItems in interface Validate.RepeatedRulesOrBuilderpublic Validate.RepeatedRules.Builder setItems(Validate.FieldRules value)
Items specifies the contraints to be applied to each item in the field. Repeated message fields will still execute validation against each item unless skip is specified here.
optional .validate.FieldRules items = 4;public Validate.RepeatedRules.Builder setItems(Validate.FieldRules.Builder builderForValue)
Items specifies the contraints to be applied to each item in the field. Repeated message fields will still execute validation against each item unless skip is specified here.
optional .validate.FieldRules items = 4;public Validate.RepeatedRules.Builder mergeItems(Validate.FieldRules value)
Items specifies the contraints to be applied to each item in the field. Repeated message fields will still execute validation against each item unless skip is specified here.
optional .validate.FieldRules items = 4;public Validate.RepeatedRules.Builder clearItems()
Items specifies the contraints to be applied to each item in the field. Repeated message fields will still execute validation against each item unless skip is specified here.
optional .validate.FieldRules items = 4;public Validate.FieldRules.Builder getItemsBuilder()
Items specifies the contraints to be applied to each item in the field. Repeated message fields will still execute validation against each item unless skip is specified here.
optional .validate.FieldRules items = 4;public Validate.FieldRulesOrBuilder getItemsOrBuilder()
Items specifies the contraints to be applied to each item in the field. Repeated message fields will still execute validation against each item unless skip is specified here.
optional .validate.FieldRules items = 4;getItemsOrBuilder in interface Validate.RepeatedRulesOrBuilderpublic final Validate.RepeatedRules.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.RepeatedRules.Builder>public final Validate.RepeatedRules.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.RepeatedRules.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.