Documentation ¶
Index ¶
- Constants
- Variables
- func ParseTime(value uint32) (string, error)
- type BigInt
- func (*BigInt) Descriptor() ([]byte, []int)deprecated
- func (x *BigInt) GetValue() string
- func (m *BigInt) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (*BigInt) ProtoMessage()
- func (x *BigInt) ProtoReflect() protoreflect.Message
- func (x *BigInt) Reset()
- func (x *BigInt) String() string
- func (m *BigInt) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- type Inet
- type InetValue
- func (*InetValue) Descriptor() ([]byte, []int)deprecated
- func (x *InetValue) GetValue() string
- func (m *InetValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (*InetValue) ProtoMessage()
- func (x *InetValue) ProtoReflect() protoreflect.Message
- func (x *InetValue) Reset()
- func (x *InetValue) String() string
- func (m *InetValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- type JSONValue
- func (*JSONValue) Descriptor() ([]byte, []int)deprecated
- func (x *JSONValue) GetValue() string
- func (m *JSONValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (*JSONValue) ProtoMessage()
- func (x *JSONValue) ProtoReflect() protoreflect.Message
- func (x *JSONValue) Reset()
- func (x *JSONValue) String() string
- func (m *JSONValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- type TimeOnly
- func (*TimeOnly) Descriptor() ([]byte, []int)deprecated
- func (x *TimeOnly) GetValue() uint32
- func (t *TimeOnly) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (*TimeOnly) ProtoMessage()
- func (x *TimeOnly) ProtoReflect() protoreflect.Message
- func (x *TimeOnly) Reset()
- func (x *TimeOnly) String() string
- func (t *TimeOnly) StringRepresentation() (string, error)
- func (t *TimeOnly) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- func (t *TimeOnly) Valid() bool
- type UUID
- func (*UUID) Descriptor() ([]byte, []int)deprecated
- func (x *UUID) GetValue() string
- func (m *UUID) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (*UUID) ProtoMessage()
- func (x *UUID) ProtoReflect() protoreflect.Message
- func (x *UUID) Reset()
- func (x *UUID) String() string
- func (m *UUID) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- type UUIDValue
- func (*UUIDValue) Descriptor() ([]byte, []int)deprecated
- func (x *UUIDValue) GetValue() string
- func (m *UUIDValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (*UUIDValue) ProtoMessage()
- func (x *UUIDValue) ProtoReflect() protoreflect.Message
- func (x *UUIDValue) Reset()
- func (x *UUIDValue) String() string
- func (m *UUIDValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
Constants ¶
const ZeroUUID = "00000000-0000-0000-0000-000000000000"
ZeroUUID The Zero value used for non-nil, but uninitialized UUID type
Variables ¶
var File_types_types_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type BigInt ¶
type BigInt struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*BigInt) Descriptor
deprecated
func (*BigInt) MarshalJSONPB ¶
MarshalJSONPB overloads UUID's standard PB -> JSON conversion
func (*BigInt) ProtoMessage ¶
func (*BigInt) ProtoMessage()
func (*BigInt) ProtoReflect ¶
func (x *BigInt) ProtoReflect() protoreflect.Message
func (*BigInt) UnmarshalJSONPB ¶
func (m *BigInt) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
UnmarshalJSONPB overloads UUID's standard JSON -> PB conversion.
type Inet ¶
Inet is a special scannable type for an IP/Netmask
type InetValue ¶
type InetValue struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*InetValue) Descriptor
deprecated
func (*InetValue) MarshalJSONPB ¶
MarshalJSONPB overloads InetValue's standard PB -> JSON conversion
func (*InetValue) ProtoMessage ¶
func (*InetValue) ProtoMessage()
func (*InetValue) ProtoReflect ¶
func (x *InetValue) ProtoReflect() protoreflect.Message
func (*InetValue) UnmarshalJSONPB ¶
func (m *InetValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
UnmarshalJSONPB overloads InetValue's standard JSON -> PB conversion. If data is null, can't create nil object, but will marshal as null later
type JSONValue ¶
type JSONValue struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*JSONValue) Descriptor
deprecated
func (*JSONValue) MarshalJSONPB ¶
MarshalJSONPB overloads JSONValue's standard PB -> JSON conversion
func (*JSONValue) ProtoMessage ¶
func (*JSONValue) ProtoMessage()
func (*JSONValue) ProtoReflect ¶
func (x *JSONValue) ProtoReflect() protoreflect.Message
func (*JSONValue) UnmarshalJSONPB ¶
func (m *JSONValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
UnmarshalJSONPB overloads JSONValue's standard JSON -> PB conversion. If data is null, can't create nil object, but will marshal as null later
type TimeOnly ¶
type TimeOnly struct { Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func TimeOnlyByString ¶
func (*TimeOnly) Descriptor
deprecated
func (*TimeOnly) MarshalJSONPB ¶
func (*TimeOnly) ProtoMessage ¶
func (*TimeOnly) ProtoMessage()
func (*TimeOnly) ProtoReflect ¶
func (x *TimeOnly) ProtoReflect() protoreflect.Message
func (*TimeOnly) StringRepresentation ¶
func (*TimeOnly) UnmarshalJSONPB ¶
func (t *TimeOnly) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
type UUID ¶
type UUID struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*UUID) Descriptor
deprecated
func (*UUID) MarshalJSONPB ¶
MarshalJSONPB overloads UUID's standard PB -> JSON conversion
func (*UUID) ProtoMessage ¶
func (*UUID) ProtoMessage()
func (*UUID) ProtoReflect ¶
func (x *UUID) ProtoReflect() protoreflect.Message
func (*UUID) UnmarshalJSONPB ¶
func (m *UUID) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
UnmarshalJSONPB overloads UUID's standard JSON -> PB conversion. If data is null, can't create nil object, but will marshal as null later
type UUIDValue ¶
type UUIDValue struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*UUIDValue) Descriptor
deprecated
func (*UUIDValue) MarshalJSONPB ¶
MarshalJSONPB overloads UUIDValue's standard PB -> JSON conversion
func (*UUIDValue) ProtoMessage ¶
func (*UUIDValue) ProtoMessage()
func (*UUIDValue) ProtoReflect ¶
func (x *UUIDValue) ProtoReflect() protoreflect.Message
func (*UUIDValue) UnmarshalJSONPB ¶
func (m *UUIDValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
UnmarshalJSONPB overloads UUIDValue's standard JSON -> PB conversion. If data is null, can't create nil object, but will marshal as null later