kubernetes/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go

type Timestamp

// Now constructs a new Timestamp from the current time.
func Now() *Timestamp {}

// New constructs a new Timestamp from the provided time.Time.
func New(t time.Time) *Timestamp {}

// AsTime converts x to a time.Time.
func (x *Timestamp) AsTime() time.Time {}

// IsValid reports whether the timestamp is valid.
// It is equivalent to CheckValid == nil.
func (x *Timestamp) IsValid() bool {}

// CheckValid returns an error if the timestamp is invalid.
// In particular, it checks whether the value represents a date that is
// in the range of 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
// An error is reported for a nil Timestamp.
func (x *Timestamp) CheckValid() error {}

const _

const invalidNil

const invalidUnderflow

const invalidOverflow

const invalidNanos

func (x *Timestamp) check() uint {}

func (x *Timestamp) Reset() {}

func (x *Timestamp) String() string {}

func (*Timestamp) ProtoMessage() {}

func (x *Timestamp) ProtoReflect() protoreflect.Message {}

// Deprecated: Use Timestamp.ProtoReflect.Descriptor instead.
func (*Timestamp) Descriptor() ([]byte, []int) {}

func (x *Timestamp) GetSeconds() int64 {}

func (x *Timestamp) GetNanos() int32 {}

var File_google_protobuf_timestamp_proto

var file_google_protobuf_timestamp_proto_rawDesc

var file_google_protobuf_timestamp_proto_rawDescOnce

var file_google_protobuf_timestamp_proto_rawDescData

func file_google_protobuf_timestamp_proto_rawDescGZIP() []byte {}

var file_google_protobuf_timestamp_proto_msgTypes

var file_google_protobuf_timestamp_proto_goTypes

var file_google_protobuf_timestamp_proto_depIdxs

func init() {}

func file_google_protobuf_timestamp_proto_init() {}