class Pb::TypeInfo

Attributes

subtype[R]
type[R]

Public Class Methods

new(type:, subtype:) click to toggle source

@param [Symbol] type The type of protobuf field. e.g. :enum, :int64,

:string, :int32, :bool, :message, etc.

@param [Google::Protobuf::Descriptor, nil] subtype

# File lib/pb.rb, line 187
def initialize(type:, subtype:)
  @type    = type
  @subtype = subtype
end