Versions in this module Expand all Collapse all v1 v1.12.0 Jul 26, 2016 Changes in this version + var ErrIntOverflowDuration = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthDuration = fmt.Errorf("proto: negative length found during unmarshaling") + type Duration struct + Nanos int32 + Seconds int64 + func (*Duration) Descriptor() ([]byte, []int) + func (*Duration) ProtoMessage() + func (m *Duration) Copy() *Duration + func (m *Duration) Marshal() (data []byte, err error) + func (m *Duration) MarshalTo(data []byte) (int, error) + func (m *Duration) Reset() + func (m *Duration) Size() (n int) + func (m *Duration) Unmarshal(data []byte) error + func (this *Duration) GoString() string + func (this *Duration) String() string