2019-10-11 14:08:50 +01:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// source: micro/go-micro/store/service/proto/store.proto
|
|
|
|
|
|
|
|
package go_micro_store
|
|
|
|
|
|
|
|
import (
|
|
|
|
fmt "fmt"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
math "math"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
|
|
|
|
type Record struct {
|
|
|
|
// key of the record
|
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
|
|
// value in the record
|
|
|
|
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
|
// timestamp in unix seconds
|
|
|
|
Expiry int64 `protobuf:"varint,3,opt,name=expiry,proto3" json:"expiry,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Record) Reset() { *m = Record{} }
|
|
|
|
func (m *Record) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Record) ProtoMessage() {}
|
|
|
|
func (*Record) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_f84ccc98e143ed3e, []int{0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Record) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Record.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Record.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *Record) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Record.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *Record) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Record.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Record) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Record.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_Record proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *Record) GetKey() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Key
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Record) GetValue() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Value
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Record) GetExpiry() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Expiry
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-01-08 22:23:14 +00:00
|
|
|
type ReadOptions struct {
|
|
|
|
Prefix bool `protobuf:"varint,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
|
2019-10-11 14:08:50 +01:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2020-01-08 22:23:14 +00:00
|
|
|
func (m *ReadOptions) Reset() { *m = ReadOptions{} }
|
|
|
|
func (m *ReadOptions) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ReadOptions) ProtoMessage() {}
|
|
|
|
func (*ReadOptions) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_f84ccc98e143ed3e, []int{1}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReadOptions) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ReadOptions.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ReadOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ReadOptions.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ReadOptions) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ReadOptions.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ReadOptions) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ReadOptions.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ReadOptions) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ReadOptions.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ReadOptions proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ReadOptions) GetPrefix() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Prefix
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
type ReadRequest struct {
|
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
|
|
Options *ReadOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2019-10-11 14:08:50 +01:00
|
|
|
func (m *ReadRequest) Reset() { *m = ReadRequest{} }
|
|
|
|
func (m *ReadRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ReadRequest) ProtoMessage() {}
|
|
|
|
func (*ReadRequest) Descriptor() ([]byte, []int) {
|
2020-01-08 22:23:14 +00:00
|
|
|
return fileDescriptor_f84ccc98e143ed3e, []int{2}
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReadRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ReadRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ReadRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ReadRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ReadRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ReadRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ReadRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ReadRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ReadRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ReadRequest proto.InternalMessageInfo
|
|
|
|
|
2020-01-08 22:23:14 +00:00
|
|
|
func (m *ReadRequest) GetKey() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Key
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReadRequest) GetOptions() *ReadOptions {
|
2019-10-11 14:08:50 +01:00
|
|
|
if m != nil {
|
2020-01-08 22:23:14 +00:00
|
|
|
return m.Options
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ReadResponse struct {
|
|
|
|
Records []*Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReadResponse) Reset() { *m = ReadResponse{} }
|
|
|
|
func (m *ReadResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ReadResponse) ProtoMessage() {}
|
|
|
|
func (*ReadResponse) Descriptor() ([]byte, []int) {
|
2020-01-08 22:23:14 +00:00
|
|
|
return fileDescriptor_f84ccc98e143ed3e, []int{3}
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReadResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ReadResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ReadResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ReadResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ReadResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ReadResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ReadResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ReadResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ReadResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ReadResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ReadResponse) GetRecords() []*Record {
|
|
|
|
if m != nil {
|
|
|
|
return m.Records
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type WriteRequest struct {
|
2020-01-08 22:23:14 +00:00
|
|
|
Record *Record `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WriteRequest) Reset() { *m = WriteRequest{} }
|
|
|
|
func (m *WriteRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*WriteRequest) ProtoMessage() {}
|
|
|
|
func (*WriteRequest) Descriptor() ([]byte, []int) {
|
2020-01-08 22:23:14 +00:00
|
|
|
return fileDescriptor_f84ccc98e143ed3e, []int{4}
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WriteRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_WriteRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *WriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_WriteRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *WriteRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_WriteRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *WriteRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_WriteRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *WriteRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_WriteRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_WriteRequest proto.InternalMessageInfo
|
|
|
|
|
2020-01-08 22:23:14 +00:00
|
|
|
func (m *WriteRequest) GetRecord() *Record {
|
2019-10-11 14:08:50 +01:00
|
|
|
if m != nil {
|
2020-01-08 22:23:14 +00:00
|
|
|
return m.Record
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type WriteResponse struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WriteResponse) Reset() { *m = WriteResponse{} }
|
|
|
|
func (m *WriteResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*WriteResponse) ProtoMessage() {}
|
|
|
|
func (*WriteResponse) Descriptor() ([]byte, []int) {
|
2020-01-08 22:23:14 +00:00
|
|
|
return fileDescriptor_f84ccc98e143ed3e, []int{5}
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WriteResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_WriteResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *WriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_WriteResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *WriteResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_WriteResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *WriteResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_WriteResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *WriteResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_WriteResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_WriteResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type DeleteRequest struct {
|
2020-01-08 22:23:14 +00:00
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
2019-10-11 14:08:50 +01:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteRequest) Reset() { *m = DeleteRequest{} }
|
|
|
|
func (m *DeleteRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DeleteRequest) ProtoMessage() {}
|
|
|
|
func (*DeleteRequest) Descriptor() ([]byte, []int) {
|
2020-01-08 22:23:14 +00:00
|
|
|
return fileDescriptor_f84ccc98e143ed3e, []int{6}
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_DeleteRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_DeleteRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DeleteRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_DeleteRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DeleteRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DeleteRequest proto.InternalMessageInfo
|
|
|
|
|
2020-01-08 22:23:14 +00:00
|
|
|
func (m *DeleteRequest) GetKey() string {
|
2019-10-11 14:08:50 +01:00
|
|
|
if m != nil {
|
2020-01-08 22:23:14 +00:00
|
|
|
return m.Key
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
2020-01-08 22:23:14 +00:00
|
|
|
return ""
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
type DeleteResponse struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteResponse) Reset() { *m = DeleteResponse{} }
|
|
|
|
func (m *DeleteResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DeleteResponse) ProtoMessage() {}
|
|
|
|
func (*DeleteResponse) Descriptor() ([]byte, []int) {
|
2020-01-08 22:23:14 +00:00
|
|
|
return fileDescriptor_f84ccc98e143ed3e, []int{7}
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_DeleteResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_DeleteResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *DeleteResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DeleteResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DeleteResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_DeleteResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *DeleteResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DeleteResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DeleteResponse proto.InternalMessageInfo
|
|
|
|
|
2019-10-23 22:05:39 +01:00
|
|
|
type ListRequest struct {
|
2019-10-11 14:08:50 +01:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2019-10-23 22:05:39 +01:00
|
|
|
func (m *ListRequest) Reset() { *m = ListRequest{} }
|
|
|
|
func (m *ListRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListRequest) ProtoMessage() {}
|
|
|
|
func (*ListRequest) Descriptor() ([]byte, []int) {
|
2020-01-08 22:23:14 +00:00
|
|
|
return fileDescriptor_f84ccc98e143ed3e, []int{8}
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
|
|
|
|
2019-10-23 22:05:39 +01:00
|
|
|
func (m *ListRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ListRequest.Unmarshal(m, b)
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
2019-10-23 22:05:39 +01:00
|
|
|
func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ListRequest.Marshal(b, m, deterministic)
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
2019-10-23 22:05:39 +01:00
|
|
|
func (m *ListRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ListRequest.Merge(m, src)
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
2019-10-23 22:05:39 +01:00
|
|
|
func (m *ListRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ListRequest.Size(m)
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
2019-10-23 22:05:39 +01:00
|
|
|
func (m *ListRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ListRequest.DiscardUnknown(m)
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
|
|
|
|
2019-10-23 22:05:39 +01:00
|
|
|
var xxx_messageInfo_ListRequest proto.InternalMessageInfo
|
2019-10-11 14:08:50 +01:00
|
|
|
|
2019-10-23 22:05:39 +01:00
|
|
|
type ListResponse struct {
|
2019-10-11 14:08:50 +01:00
|
|
|
Records []*Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2019-10-23 22:05:39 +01:00
|
|
|
func (m *ListResponse) Reset() { *m = ListResponse{} }
|
|
|
|
func (m *ListResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListResponse) ProtoMessage() {}
|
|
|
|
func (*ListResponse) Descriptor() ([]byte, []int) {
|
2020-01-08 22:23:14 +00:00
|
|
|
return fileDescriptor_f84ccc98e143ed3e, []int{9}
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
|
|
|
|
2019-10-23 22:05:39 +01:00
|
|
|
func (m *ListResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ListResponse.Unmarshal(m, b)
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
2019-10-23 22:05:39 +01:00
|
|
|
func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ListResponse.Marshal(b, m, deterministic)
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
2019-10-23 22:05:39 +01:00
|
|
|
func (m *ListResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ListResponse.Merge(m, src)
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
2019-10-23 22:05:39 +01:00
|
|
|
func (m *ListResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ListResponse.Size(m)
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
2019-10-23 22:05:39 +01:00
|
|
|
func (m *ListResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ListResponse.DiscardUnknown(m)
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
|
|
|
|
2019-10-23 22:05:39 +01:00
|
|
|
var xxx_messageInfo_ListResponse proto.InternalMessageInfo
|
2019-10-11 14:08:50 +01:00
|
|
|
|
2019-10-23 22:05:39 +01:00
|
|
|
func (m *ListResponse) GetRecords() []*Record {
|
2019-10-11 14:08:50 +01:00
|
|
|
if m != nil {
|
|
|
|
return m.Records
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*Record)(nil), "go.micro.store.Record")
|
2020-01-08 22:23:14 +00:00
|
|
|
proto.RegisterType((*ReadOptions)(nil), "go.micro.store.ReadOptions")
|
2019-10-11 14:08:50 +01:00
|
|
|
proto.RegisterType((*ReadRequest)(nil), "go.micro.store.ReadRequest")
|
|
|
|
proto.RegisterType((*ReadResponse)(nil), "go.micro.store.ReadResponse")
|
|
|
|
proto.RegisterType((*WriteRequest)(nil), "go.micro.store.WriteRequest")
|
|
|
|
proto.RegisterType((*WriteResponse)(nil), "go.micro.store.WriteResponse")
|
|
|
|
proto.RegisterType((*DeleteRequest)(nil), "go.micro.store.DeleteRequest")
|
|
|
|
proto.RegisterType((*DeleteResponse)(nil), "go.micro.store.DeleteResponse")
|
2019-10-23 22:05:39 +01:00
|
|
|
proto.RegisterType((*ListRequest)(nil), "go.micro.store.ListRequest")
|
|
|
|
proto.RegisterType((*ListResponse)(nil), "go.micro.store.ListResponse")
|
2019-10-11 14:08:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterFile("micro/go-micro/store/service/proto/store.proto", fileDescriptor_f84ccc98e143ed3e)
|
|
|
|
}
|
|
|
|
|
|
|
|
var fileDescriptor_f84ccc98e143ed3e = []byte{
|
2020-01-08 22:23:14 +00:00
|
|
|
// 364 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0x4d, 0x4b, 0xc3, 0x40,
|
|
|
|
0x10, 0x6d, 0x9a, 0x36, 0xd5, 0x49, 0x5b, 0xcb, 0x22, 0x25, 0xd4, 0x0f, 0xe2, 0x82, 0x90, 0x8b,
|
|
|
|
0x69, 0xa9, 0x78, 0x15, 0xc1, 0x0f, 0x14, 0x04, 0x61, 0x05, 0x3d, 0xd7, 0x76, 0x2c, 0xc1, 0xda,
|
|
|
|
0x8d, 0xbb, 0x69, 0x69, 0xff, 0x90, 0xbf, 0x53, 0xb2, 0xbb, 0xd1, 0x94, 0x34, 0x17, 0x6f, 0x33,
|
|
|
|
0xfb, 0xde, 0xbc, 0x99, 0x79, 0xc3, 0x42, 0xf8, 0x19, 0x8d, 0x05, 0xef, 0x4f, 0xf9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