Lines Matching defs:Duration
87 type Duration struct { struct
91 Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
98 Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
99 XXX_NoUnkeyedLiteral struct{} `json:"-"`
100 XXX_unrecognized []byte `json:"-"`
101 XXX_sizecache int32 `json:"-"`
104 func (m *Duration) Reset() { *m = Duration{} }
105 func (*Duration) ProtoMessage() {}
106 func (*Duration) Descriptor() ([]byte, []int) {
109 func (*Duration) XXX_WellKnownType() string { return "Duration" }
110 func (m *Duration) XXX_Unmarshal(b []byte) error {
113 func (m *Duration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
125 func (m *Duration) XXX_Merge(src proto.Message) {
128 func (m *Duration) XXX_Size() int {
131 func (m *Duration) XXX_DiscardUnknown() {
137 func (m *Duration) GetSeconds() int64 {
144 func (m *Duration) GetNanos() int32 {
151 func (*Duration) XXX_MessageName() string {
178 func (this *Duration) Compare(that interface{}) int {
220 func (this *Duration) Equal(that interface{}) bool {
255 s = append(s, "&types.Duration{")
272 func (m *Duration) Marshal() (dAtA []byte, err error) {
282 func (m *Duration) MarshalTo(dAtA []byte) (int, error) {
312 func (m *Duration) Size() (n int) {
343 func (m *Duration) Unmarshal(dAtA []byte) error {