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

    Modifier and Type Method Description
    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
    long getMinItems()
    MinItems specifies that this field must have the specified number of items at a minimum
    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
    boolean hasMinItems()
    MinItems specifies that this field must have the specified number of items at a minimum
    boolean hasUnique()
    Unique specifies that all elements in this field must be unique.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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

       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;