Service Management V1 API - Class Google::Protobuf::Type (v0.8.0)

Reference documentation and code samples for the Service Management V1 API class Google::Protobuf::Type.

A protocol buffer message type.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#edition

def edition() -> ::String
Returns
  • (::String) — The source edition string, only valid when syntax is SYNTAX_EDITIONS.

#edition=

def edition=(value) -> ::String
Parameter
  • value (::String) — The source edition string, only valid when syntax is SYNTAX_EDITIONS.
Returns
  • (::String) — The source edition string, only valid when syntax is SYNTAX_EDITIONS.

#fields

def fields() -> ::Array<::Google::Protobuf::Field>
Returns

#fields=

def fields=(value) -> ::Array<::Google::Protobuf::Field>
Parameter
Returns

#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

#options=

def options=(value) -> ::Array<::Google::Protobuf::Option>
Parameter
Returns

#source_context

def source_context() -> ::Google::Protobuf::SourceContext
Returns

#source_context=

def source_context=(value) -> ::Google::Protobuf::SourceContext
Parameter
Returns

#syntax

def syntax() -> ::Google::Protobuf::Syntax
Returns

#syntax=

def syntax=(value) -> ::Google::Protobuf::Syntax
Parameter
Returns