Class: Google::Protobuf::Type
- Inherits:
-
Object
- Object
- Google::Protobuf::Type
- Extended by:
- MessageExts::ClassMethods
- Includes:
- MessageExts
- Defined in:
- proto_docs/google/protobuf/type.rb
Overview
A protocol buffer message type.
Instance Attribute Summary collapse
-
#edition ⇒ ::String
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
-
#fields ⇒ ::Array<::Google::Protobuf::Field>
The list of fields.
-
#name ⇒ ::String
The fully qualified message name.
-
#oneofs ⇒ ::Array<::String>
The list of types appearing in
oneof
definitions in this type. -
#options ⇒ ::Array<::Google::Protobuf::Option>
The 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.
44 45 46 47 |
# File 'proto_docs/google/protobuf/type.rb', line 44 class Type include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#fields ⇒ ::Array<::Google::Protobuf::Field>
Returns The list of fields.
44 45 46 47 |
# File 'proto_docs/google/protobuf/type.rb', line 44 class Type include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The fully qualified message name.
44 45 46 47 |
# File 'proto_docs/google/protobuf/type.rb', line 44 class Type include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#oneofs ⇒ ::Array<::String>
Returns The list of types appearing in oneof
definitions in this type.
44 45 46 47 |
# File 'proto_docs/google/protobuf/type.rb', line 44 class Type include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#options ⇒ ::Array<::Google::Protobuf::Option>
Returns The protocol buffer options.
44 45 46 47 |
# File 'proto_docs/google/protobuf/type.rb', line 44 class Type include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |