Class: Google::Protobuf::Type

Inherits:
Object
  • Object
show all
Extended by:
MessageExts::ClassMethods
Includes:
MessageExts
Defined in:
proto_docs/google/protobuf/type.rb

Overview

A protocol buffer message type.

Instance Attribute Summary collapse

Instance Attribute Details

#edition::String

Returns The source edition string, only valid when syntax is SYNTAX_EDITIONS.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:

  • (::String)

    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.

Returns:

  • (::Array<::String>)

    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.

Returns:



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

#source_context::Google::Protobuf::SourceContext

Returns The source context.

Returns:



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

#syntax::Google::Protobuf::Syntax

Returns The source syntax.

Returns:



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