public static interface Validate.RepeatedRulesOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
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 = 5; |
Validate.FieldRules |
getItems()
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 |
hasIgnoreEmpty()
IgnoreEmpty specifies that the validation rules of this field should be
evaluated only if the field is not empty
optional bool ignore_empty = 5; |
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasMinItems()
MinItems specifies that this field must have the specified number of items at a minimum
optional uint64 min_items = 1;long getMinItems()
MinItems specifies that this field must have the specified number of items at a minimum
optional uint64 min_items = 1;boolean hasMaxItems()
MaxItems specifies that this field must have the specified number of items at a maximum
optional uint64 max_items = 2;long getMaxItems()
MaxItems specifies that this field must have the specified number of items at a maximum
optional uint64 max_items = 2;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;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;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;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;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;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 = 5;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 = 5;Copyright © 2022. All rights reserved.