Lines Matching defs:Duration
88 type Duration struct { struct
92 Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
99 Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
100 XXX_NoUnkeyedLiteral struct{} `json:"-"`
101 XXX_unrecognized []byte `json:"-"`
102 XXX_sizecache int32 `json:"-"`
105 func (m *Duration) Reset() { *m = Duration{} }
106 func (*Duration) ProtoMessage() {}
107 func (*Duration) Descriptor() ([]byte, []int) {
110 func (*Duration) XXX_WellKnownType() string { return "Duration" }
111 func (m *Duration) XXX_Unmarshal(b []byte) error {
114 func (m *Duration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
126 func (m *Duration) XXX_Merge(src proto.Message) {
129 func (m *Duration) XXX_Size() int {
132 func (m *Duration) XXX_DiscardUnknown() {
138 func (m *Duration) GetSeconds() int64 {
145 func (m *Duration) GetNanos() int32 {
152 func (*Duration) XXX_MessageName() string {
179 func (this *Duration) Compare(that interface{}) int {
221 func (this *Duration) Equal(that interface{}) bool {
256 s = append(s, "&types.Duration{")
273 func (m *Duration) Marshal() (dAtA []byte, err error) {
283 func (m *Duration) MarshalTo(dAtA []byte) (int, error) {
288 func (m *Duration) MarshalToSizedBuffer(dAtA []byte) (int, error) {
321 func (m *Duration) Size() (n int) {
345 func (m *Duration) Unmarshal(dAtA []byte) error {