enum
Protobuf::CodeGeneratorRequest::FieldDescriptorProto::Label
Defined in:
protobuf/generator.crEnum Members
-
LABEL_OPTIONAL =
1 -
LABEL_REQUIRED =
2 -
LABEL_REPEATED =
3
Instance Method Summary
-
#label_optional?
Returns
trueif this enum value equalsLABEL_OPTIONAL -
#label_repeated?
Returns
trueif this enum value equalsLABEL_REPEATED -
#label_required?
Returns
trueif this enum value equalsLABEL_REQUIRED
Instance methods inherited from struct Enum
to_protobuf(io : IO, embedded = true)to_protobuf(embedded = true) to_protobuf