public static interface Validate.MapRulesOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and 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
optional uint64 max_pairs = 2; |
long |
getMinPairs()
MinPairs specifies that this field must have the specified number of
KVs at a minimum
optional uint64 min_pairs = 1; |
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
optional uint64 max_pairs = 2; |
boolean |
hasMinPairs()
MinPairs specifies that this field must have the specified number of
KVs at a minimum
optional uint64 min_pairs = 1; |
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasMinPairs()
MinPairs specifies that this field must have the specified number of KVs at a minimum
optional uint64 min_pairs = 1;long getMinPairs()
MinPairs specifies that this field must have the specified number of KVs at a minimum
optional uint64 min_pairs = 1;boolean hasMaxPairs()
MaxPairs specifies that this field must have the specified number of KVs at a maximum
optional uint64 max_pairs = 2;long getMaxPairs()
MaxPairs specifies that this field must have the specified number of KVs at a maximum
optional uint64 max_pairs = 2;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;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;boolean hasKeys()
Keys specifies the constraints to be applied to each key in the field.
optional .validate.FieldRules keys = 4;Validate.FieldRules getKeys()
Keys specifies the constraints to be applied to each key in the field.
optional .validate.FieldRules keys = 4;Validate.FieldRulesOrBuilder getKeysOrBuilder()
Keys specifies the constraints to be applied to each key in the field.
optional .validate.FieldRules keys = 4;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;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;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;Copyright © 2018–2021 The Envoy Project. All rights reserved.