Const specifies that this field must be exactly the specified value
DefinedOnly specifies that this field must be only one of the defined values for this enum, failing on any undefined value.
In specifies that this field must be equal to one of the specified values
NotIn specifies that this field cannot be equal to one of the specified values
Const specifies that this field must be exactly the specified value
DefinedOnly specifies that this field must be only one of the defined values for this enum, failing on any undefined value.
In specifies that this field must be equal to one of the specified values
NotIn specifies that this field cannot be equal to one of the specified values
(Since version 0.6.0) Use toPMessage
(Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue
EnumRules describe the constraints applied to enum values
Const specifies that this field must be exactly the specified value
DefinedOnly specifies that this field must be only one of the defined values for this enum, failing on any undefined value.
In specifies that this field must be equal to one of the specified values
NotIn specifies that this field cannot be equal to one of the specified values