Lines Matching defs:Duration
83 type Duration struct { struct
87 Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
94 Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
95 XXX_NoUnkeyedLiteral struct{} `json:"-"`
96 XXX_unrecognized []byte `json:"-"`
97 XXX_sizecache int32 `json:"-"`
100 func (m *Duration) Reset() { *m = Duration{} }
101 func (m *Duration) String() string { return proto.CompactTextString(m) }
102 func (*Duration) ProtoMessage() {}
103 func (*Duration) Descriptor() ([]byte, []int) {
107 func (*Duration) XXX_WellKnownType() string { return "Duration" }
109 func (m *Duration) XXX_Unmarshal(b []byte) error {
112 func (m *Duration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
115 func (m *Duration) XXX_Merge(src proto.Message) {
118 func (m *Duration) XXX_Size() int {
121 func (m *Duration) XXX_DiscardUnknown() {
127 func (m *Duration) GetSeconds() int64 {
134 func (m *Duration) GetNanos() int32 {