Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_time_v1_time_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Time ¶
type Time struct {
// Represents seconds of UTC time since Unix epoch
// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
// 9999-12-31T23:59:59Z inclusive.
Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
// Non-negative fractions of a second at nanosecond resolution. Negative
// second values with fractions must still have non-negative nanos values
// that count forward in time. Must be from 0 to 999,999,999
// inclusive.
Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
// contains filtered or unexported fields
}
Time
func (*Time) ProtoReflect ¶
func (x *Time) ProtoReflect() protoreflect.Message
type Time_builder ¶
type Time_builder struct {
// Represents seconds of UTC time since Unix epoch
// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
// 9999-12-31T23:59:59Z inclusive.
Seconds int64
// Non-negative fractions of a second at nanosecond resolution. Negative
// second values with fractions must still have non-negative nanos values
// that count forward in time. Must be from 0 to 999,999,999
// inclusive.
Nanos int32
// contains filtered or unexported fields
}
func (Time_builder) Build ¶
func (b0 Time_builder) Build() *Time
Source Files
¶
- time.pb.go
Click to show internal directories.
Click to hide internal directories.