struct Google::Protobuf::Timestamp

Included Modules

Defined in:

proto/timestamp.pb.cr

Constant Summary

FIELDS = {1 => {name: :seconds, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :nanos, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : ::Protobuf::Buffer) #

def self.new(seconds : Int64 | Nil = nil, nanos : Int32 | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def nanos : Int32 | Nil #

def nanos=(nanos : Int32 | Nil) #

def seconds : Int64 | Nil #

def seconds=(seconds : Int64 | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #