Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_goes_common_uuid_proto protoreflect.FileDescriptor
File_goes_common_uuid_proto defines the UUID message type, which represents a Universally Unique Identifier (UUID) as implemented by the github.com/google/uuid package. It contains a single field, Bytes, which is a byte slice representation of the UUID.
Functions ¶
This section is empty.
Types ¶
type UUID ¶
type UUID struct { Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
UUID represents a UUID as implemented by github.com/google/uuid.
func (*UUID) Descriptor
deprecated
func (*UUID) GetBytes ¶
GetBytes returns the byte representation of the UUID. It returns nil if the UUID is nil. [Bytes] is a field of UUID.
func (*UUID) ProtoMessage ¶
func (*UUID) ProtoMessage()
ProtoMessage UUID is a method that implements the ProtoMessage interface from the Google Protocol Buffers API. It indicates that the UUID message can be marshaled and unmarshaled to and from wire format.
func (*UUID) ProtoReflect ¶
func (x *UUID) ProtoReflect() protoreflect.Message
ProtoReflect returns the Message instance for this UUID struct type. It implements the protoreflect.ProtoMessage interface.