Documentation
¶
Index ¶
- Variables
- type TestMessage
- func (*TestMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestMessage) GetId() string
- func (x *TestMessage) GetName() string
- func (x *TestMessage) GetTags() []string
- func (x *TestMessage) GetValue() int64
- func (*TestMessage) ProtoMessage()
- func (x *TestMessage) ProtoReflect() protoreflect.Message
- func (x *TestMessage) Reset()
- func (x *TestMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pkg_cache_testproto_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type TestMessage ¶
type TestMessage struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Value int64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"`
Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
// contains filtered or unexported fields
}
TestMessage is a simple protobuf message for testing cache operations.
func (*TestMessage) Descriptor
deprecated
func (*TestMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestMessage.ProtoReflect.Descriptor instead.
func (*TestMessage) GetId ¶
func (x *TestMessage) GetId() string
func (*TestMessage) GetName ¶
func (x *TestMessage) GetName() string
func (*TestMessage) GetTags ¶
func (x *TestMessage) GetTags() []string
func (*TestMessage) GetValue ¶
func (x *TestMessage) GetValue() int64
func (*TestMessage) ProtoMessage ¶
func (*TestMessage) ProtoMessage()
func (*TestMessage) ProtoReflect ¶
func (x *TestMessage) ProtoReflect() protoreflect.Message
func (*TestMessage) Reset ¶
func (x *TestMessage) Reset()
func (*TestMessage) String ¶
func (x *TestMessage) String() string
Click to show internal directories.
Click to hide internal directories.