Reference documentation and code samples for the Service Usage V1 API class Google::Protobuf::Type.
A protocol buffer message type.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#fields
def fields() -> ::Array<::Google::Protobuf::Field>
Returns
- (::Array<::Google::Protobuf::Field>) — The list of fields.
#fields=
def fields=(value) -> ::Array<::Google::Protobuf::Field>
Parameter
- value (::Array<::Google::Protobuf::Field>) — The list of fields.
Returns
- (::Array<::Google::Protobuf::Field>) — The list of fields.
#name
def name() -> ::String
Returns
- (::String) — The fully qualified message name.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The fully qualified message name.
Returns
- (::String) — The fully qualified message name.
#oneofs
def oneofs() -> ::Array<::String>
Returns
-
(::Array<::String>) — The list of types appearing in
oneof
definitions in this type.
#oneofs=
def oneofs=(value) -> ::Array<::String>
Parameter
-
value (::Array<::String>) — 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.
#options
def options() -> ::Array<::Google::Protobuf::Option>
Returns
- (::Array<::Google::Protobuf::Option>) — The protocol buffer options.
#options=
def options=(value) -> ::Array<::Google::Protobuf::Option>
Parameter
- value (::Array<::Google::Protobuf::Option>) — The protocol buffer options.
Returns
- (::Array<::Google::Protobuf::Option>) — The protocol buffer options.
#source_context
def source_context() -> ::Google::Protobuf::SourceContext
Returns
- (::Google::Protobuf::SourceContext) — The source context.
#source_context=
def source_context=(value) -> ::Google::Protobuf::SourceContext
Parameter
- value (::Google::Protobuf::SourceContext) — The source context.
Returns
- (::Google::Protobuf::SourceContext) — The source context.
#syntax
def syntax() -> ::Google::Protobuf::Syntax
Returns
- (::Google::Protobuf::Syntax) — The source syntax.
#syntax=
def syntax=(value) -> ::Google::Protobuf::Syntax
Parameter
- value (::Google::Protobuf::Syntax) — The source syntax.
Returns
- (::Google::Protobuf::Syntax) — The source syntax.