enum Proto::Bootstrap::FieldLabel

Defined in:

proto/bootstrap/descriptor.cr

Enum Members

LABEL_OPTIONAL = 1
LABEL_REQUIRED = 2
LABEL_REPEATED = 3

Instance Method Summary

Instance Method Detail

def label_optional? #

Returns true if this enum value equals LABEL_OPTIONAL


[View source]
def label_repeated? #

Returns true if this enum value equals LABEL_REPEATED


[View source]
def label_required? #

Returns true if this enum value equals LABEL_REQUIRED


[View source]