Documentation ¶
Index ¶
- Variables
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Entry) GetId() int32
- func (x *Entry) GetKey() string
- func (x *Entry) GetType() Entry_EntryType
- func (x *Entry) GetValue() string
- func (*Entry) ProtoMessage()
- func (x *Entry) ProtoReflect() protoreflect.Message
- func (x *Entry) Reset()
- func (x *Entry) String() string
- type Entry_EntryType
- func (Entry_EntryType) Descriptor() protoreflect.EnumDescriptor
- func (x Entry_EntryType) Enum() *Entry_EntryType
- func (Entry_EntryType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Entry_EntryType) Number() protoreflect.EnumNumber
- func (x Entry_EntryType) String() string
- func (Entry_EntryType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Entry_EntryType_name = map[int32]string{ 0: "INSERT", 1: "UPDATE", 2: "DELETE", } Entry_EntryType_value = map[string]int32{ "INSERT": 0, "UPDATE": 1, "DELETE": 2, } )
Enum value maps for Entry_EntryType.
View Source
var File_entry_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // Unique ID number for this person. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Type Entry_EntryType `protobuf:"varint,4,opt,name=type,proto3,enum=entry.Entry_EntryType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Entry) Descriptor
deprecated
func (*Entry) GetType ¶
func (x *Entry) GetType() Entry_EntryType
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) ProtoReflect ¶
func (x *Entry) ProtoReflect() protoreflect.Message
type Entry_EntryType ¶
type Entry_EntryType int32
const ( Entry_INSERT Entry_EntryType = 0 Entry_UPDATE Entry_EntryType = 1 Entry_DELETE Entry_EntryType = 2 )
func (Entry_EntryType) Descriptor ¶
func (Entry_EntryType) Descriptor() protoreflect.EnumDescriptor
func (Entry_EntryType) Enum ¶
func (x Entry_EntryType) Enum() *Entry_EntryType
func (Entry_EntryType) EnumDescriptor
deprecated
func (Entry_EntryType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Entry_EntryType.Descriptor instead.
func (Entry_EntryType) Number ¶
func (x Entry_EntryType) Number() protoreflect.EnumNumber
func (Entry_EntryType) String ¶
func (x Entry_EntryType) String() string
func (Entry_EntryType) Type ¶
func (Entry_EntryType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.