Interface Validate.MapRulesOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Validate.MapRules, Validate.MapRules.Builder
Enclosing class:
Validate

public static interface Validate.MapRulesOrBuilder
extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type Method Description
    Validate.FieldRules getKeys()
    Keys specifies the constraints to be applied to each key in the field.
    Validate.FieldRulesOrBuilder getKeysOrBuilder()
    Keys specifies the constraints to be applied to each key in the field.
    long getMaxPairs()
    MaxPairs specifies that this field must have the specified number of KVs at a maximum
    long getMinPairs()
    MinPairs specifies that this field must have the specified number of KVs at a minimum
    boolean getNoSparse()
    NoSparse specifies values in this field cannot be unset.
    Validate.FieldRules getValues()
    Values specifies the constraints to be applied to the value of each key in the field.
    Validate.FieldRulesOrBuilder getValuesOrBuilder()
    Values specifies the constraints to be applied to the value of each key in the field.
    boolean hasKeys()
    Keys specifies the constraints to be applied to each key in the field.
    boolean hasMaxPairs()
    MaxPairs specifies that this field must have the specified number of KVs at a maximum
    boolean hasMinPairs()
    MinPairs specifies that this field must have the specified number of KVs at a minimum
    boolean hasNoSparse()
    NoSparse specifies values in this field cannot be unset.
    boolean hasValues()
    Values specifies the constraints to be applied to the value of each key in the field.

    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

    • hasMinPairs

      boolean hasMinPairs()
       MinPairs specifies that this field must have the specified number of
       KVs at a minimum
       
      optional uint64 min_pairs = 1;
    • getMinPairs

      long getMinPairs()
       MinPairs specifies that this field must have the specified number of
       KVs at a minimum
       
      optional uint64 min_pairs = 1;
    • hasMaxPairs

      boolean hasMaxPairs()
       MaxPairs specifies that this field must have the specified number of
       KVs at a maximum
       
      optional uint64 max_pairs = 2;
    • getMaxPairs

      long getMaxPairs()
       MaxPairs specifies that this field must have the specified number of
       KVs at a maximum
       
      optional uint64 max_pairs = 2;
    • hasNoSparse

      boolean hasNoSparse()
       NoSparse specifies values in this field cannot be unset. This only
       applies to map's with message value types.
       
      optional bool no_sparse = 3;
    • getNoSparse

      boolean getNoSparse()
       NoSparse specifies values in this field cannot be unset. This only
       applies to map's with message value types.
       
      optional bool no_sparse = 3;
    • hasKeys

      boolean hasKeys()
       Keys specifies the constraints to be applied to each key in the field.
       
      optional .validate.FieldRules keys = 4;
    • getKeys

       Keys specifies the constraints to be applied to each key in the field.
       
      optional .validate.FieldRules keys = 4;
    • getKeysOrBuilder

      Validate.FieldRulesOrBuilder getKeysOrBuilder()
       Keys specifies the constraints to be applied to each key in the field.
       
      optional .validate.FieldRules keys = 4;
    • hasValues

      boolean hasValues()
       Values specifies the constraints to be applied to the value of each key
       in the field. Message values will still have their validations evaluated
       unless skip is specified here.
       
      optional .validate.FieldRules values = 5;
    • getValues

      Validate.FieldRules getValues()
       Values specifies the constraints to be applied to the value of each key
       in the field. Message values will still have their validations evaluated
       unless skip is specified here.
       
      optional .validate.FieldRules values = 5;
    • getValuesOrBuilder

      Validate.FieldRulesOrBuilder getValuesOrBuilder()
       Values specifies the constraints to be applied to the value of each key
       in the field. Message values will still have their validations evaluated
       unless skip is specified here.
       
      optional .validate.FieldRules values = 5;