vttimev19

package
v1.36.11-2025040823455... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_vitess_vttime_v19_vttime_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Duration

type Duration struct {
	Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
	Nanos   int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
	// contains filtered or unexported fields
}

func (*Duration) GetNanos

func (x *Duration) GetNanos() int32

func (*Duration) GetSeconds

func (x *Duration) GetSeconds() int64

func (*Duration) ProtoMessage

func (*Duration) ProtoMessage()

func (*Duration) ProtoReflect

func (x *Duration) ProtoReflect() protoreflect.Message

func (*Duration) Reset

func (x *Duration) Reset()

func (*Duration) SetNanos

func (x *Duration) SetNanos(v int32)

func (*Duration) SetSeconds

func (x *Duration) SetSeconds(v int64)

func (*Duration) String

func (x *Duration) String() string

type Duration_builder

type Duration_builder struct {
	Seconds int64
	Nanos   int32
	// contains filtered or unexported fields
}

func (Duration_builder) Build

func (b0 Duration_builder) Build() *Duration

type Time

type Time struct {
	Seconds     int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
	Nanoseconds int32 `protobuf:"varint,2,opt,name=nanoseconds,proto3" json:"nanoseconds,omitempty"`
	// contains filtered or unexported fields
}

Time represents a time stamp in nanoseconds. In go, use logutil library to convert times.

func (*Time) GetNanoseconds

func (x *Time) GetNanoseconds() int32

func (*Time) GetSeconds

func (x *Time) GetSeconds() int64

func (*Time) ProtoMessage

func (*Time) ProtoMessage()

func (*Time) ProtoReflect

func (x *Time) ProtoReflect() protoreflect.Message

func (*Time) Reset

func (x *Time) Reset()

func (*Time) SetNanoseconds

func (x *Time) SetNanoseconds(v int32)

func (*Time) SetSeconds

func (x *Time) SetSeconds(v int64)

func (*Time) String

func (x *Time) String() string

type Time_builder

type Time_builder struct {
	Seconds     int64
	Nanoseconds int32
	// contains filtered or unexported fields
}

func (Time_builder) Build

func (b0 Time_builder) Build() *Time

Source Files

  • vttime.pb.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL