Class: Google::Protobuf::Enum
- Inherits:
-
Object
- Object
- Google::Protobuf::Enum
- Extended by:
- MessageExts::ClassMethods
- Includes:
- MessageExts
- Defined in:
- proto_docs/google/protobuf/type.rb
Overview
Enum type definition.
Instance Attribute Summary collapse
-
#edition ⇒ ::String
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
-
#enumvalue ⇒ ::Array<::Google::Protobuf::EnumValue>
Enum value definitions.
-
#name ⇒ ::String
Enum type name.
-
#options ⇒ ::Array<::Google::Protobuf::Option>
Protocol buffer options.
-
#source_context ⇒ ::Google::Protobuf::SourceContext
The source context.
-
#syntax ⇒ ::Google::Protobuf::Syntax
The source syntax.
Instance Attribute Details
#edition ⇒ ::String
Returns The source edition string, only valid when syntax is SYNTAX_EDITIONS.
181 182 183 184 |
# File 'proto_docs/google/protobuf/type.rb', line 181 class Enum include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#enumvalue ⇒ ::Array<::Google::Protobuf::EnumValue>
Returns Enum value definitions.
181 182 183 184 |
# File 'proto_docs/google/protobuf/type.rb', line 181 class Enum include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Enum type name.
181 182 183 184 |
# File 'proto_docs/google/protobuf/type.rb', line 181 class Enum include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#options ⇒ ::Array<::Google::Protobuf::Option>
Returns Protocol buffer options.
181 182 183 184 |
# File 'proto_docs/google/protobuf/type.rb', line 181 class Enum include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |