Package io.envoyproxy.pgv.validate
Interface Validate.RepeatedRulesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Validate.RepeatedRules,Validate.RepeatedRules.Builder
- Enclosing class:
- Validate
public static interface Validate.RepeatedRulesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetIgnoreEmpty()IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not emptyValidate.FieldRulesgetItems()Items specifies the contraints to be applied to each item in the field.Validate.FieldRulesOrBuildergetItemsOrBuilder()Items specifies the contraints to be applied to each item in the field.longgetMaxItems()MaxItems specifies that this field must have the specified number of items at a maximumlonggetMinItems()MinItems specifies that this field must have the specified number of items at a minimumbooleangetUnique()Unique specifies that all elements in this field must be unique.booleanhasIgnoreEmpty()IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not emptybooleanhasItems()Items specifies the contraints to be applied to each item in the field.booleanhasMaxItems()MaxItems specifies that this field must have the specified number of items at a maximumbooleanhasMinItems()MinItems specifies that this field must have the specified number of items at a minimumbooleanhasUnique()Unique specifies that all elements in this field must be unique.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMinItems
boolean hasMinItems()
MinItems specifies that this field must have the specified number of items at a minimum
optional uint64 min_items = 1;
-
getMinItems
long getMinItems()
MinItems specifies that this field must have the specified number of items at a minimum
optional uint64 min_items = 1;
-
hasMaxItems
boolean hasMaxItems()
MaxItems specifies that this field must have the specified number of items at a maximum
optional uint64 max_items = 2;
-
getMaxItems
long getMaxItems()
MaxItems specifies that this field must have the specified number of items at a maximum
optional uint64 max_items = 2;
-
hasUnique
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;
-
getUnique
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;
-
hasItems
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;
-
getItems
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;
-
getItemsOrBuilder
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;
-
hasIgnoreEmpty
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;
-
getIgnoreEmpty
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;
-
-