enum

Protobuf::CodeGeneratorRequest::FieldDescriptorProto::Label

Inherits Enum / Comparable / Value / Object

Constants

LABEL_OPTIONAL = 1
LABEL_REQUIRED = 2
LABEL_REPEATED = 3

Instance methods

label_optional?

Returns true if this enum value equals LABEL_OPTIONAL

Source
label_repeated?

Returns true if this enum value equals LABEL_REPEATED

Source
label_required?

Returns true if this enum value equals LABEL_REQUIRED

Source