Lines Matching defs:Duration
81 type Duration struct { struct
85 Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
92 Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
93 XXX_NoUnkeyedLiteral struct{} `json:"-"`
94 XXX_unrecognized []byte `json:"-"`
95 XXX_sizecache int32 `json:"-"`
98 func (m *Duration) Reset() { *m = Duration{} }
99 func (m *Duration) String() string { return proto.CompactTextString(m) }
100 func (*Duration) ProtoMessage() {}
101 func (*Duration) Descriptor() ([]byte, []int) {
104 func (*Duration) XXX_WellKnownType() string { return "Duration" }
105 func (m *Duration) XXX_Unmarshal(b []byte) error {
108 func (m *Duration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
111 func (dst *Duration) XXX_Merge(src proto.Message) {
114 func (m *Duration) XXX_Size() int {
117 func (m *Duration) XXX_DiscardUnknown() {
123 func (m *Duration) GetSeconds() int64 {
130 func (m *Duration) GetNanos() int32 {