// Code generated by protoc-gen-go. DO NOT EDIT. // source: groupcache.proto /* Package groupcachepb is a generated protocol buffer package. It is generated from these files: groupcache.proto It has these top-level messages: GetRequest GetResponse SetRequest */ package groupcachepb import proto "github.com/golang/protobuf/proto" import fmt "fmt" import 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.ProtoPackageIsVersion2 // please upgrade the proto package type GetRequest struct { Group *string `protobuf:"bytes,1,req,name=group" json:"group,omitempty"` Key *string `protobuf:"bytes,2,req,name=key" json:"key,omitempty"` XXX_unrecognized []byte `json:"-"` } func (m *GetRequest) Reset() { *m = GetRequest{} } func (m *GetRequest) String() string { return proto.CompactTextString(m) } func (*GetRequest) ProtoMessage() {} func (*GetRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } func (m *GetRequest) GetGroup() string { if m != nil && m.Group != nil { return *m.Group } return "" } func (m *GetRequest) GetKey() string { if m != nil && m.Key != nil { return *m.Key } return "" } type GetResponse struct { Value []byte `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"` MinuteQps *float64 `protobuf:"fixed64,2,opt,name=minute_qps,json=minuteQps" json:"minute_qps,omitempty"` Expire *int64 `protobuf:"varint,3,opt,name=expire" json:"expire,omitempty"` XXX_unrecognized []byte `json:"-"` } func (m *GetResponse) Reset() { *m = GetResponse{} } func (m *GetResponse) String() string { return proto.CompactTextString(m) } func (*GetResponse) ProtoMessage() {} func (*GetResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } func (m *GetResponse) GetValue() []byte { if m != nil { return m.Value } return nil } func (m *GetResponse) GetMinuteQps() float64 { if m != nil && m.MinuteQps != nil { return *m.MinuteQps } return 0 } func (m *GetResponse) GetExpire() int64 { if m != nil && m.Expire != nil { return *m.Expire } return 0 } type SetRequest struct { Group *string `protobuf:"bytes,1,req,name=group" json:"group,omitempty"` Key *string `protobuf:"bytes,2,req,name=key" json:"key,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"` Expire *int64 `protobuf:"varint,4,opt,name=expire" json:"expire,omitempty"` XXX_unrecognized []byte `json:"-"` } func (m *SetRequest) Reset() { *m = SetRequest{} } func (m *SetRequest) String() string { return proto.CompactTextString(m) } func (*SetRequest) ProtoMessage() {} func (*SetRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} } func (m *SetRequest) GetGroup() string { if m != nil && m.Group != nil { return *m.Group } return "" } func (m *SetRequest) GetKey() string { if m != nil && m.Key != nil { return *m.Key } return "" } func (m *SetRequest) GetValue() []byte { if m != nil { return m.Value } return nil } func (m *SetRequest) GetExpire() int64 { if m != nil && m.Expire != nil { return *m.Expire } return 0 } func init() { proto.RegisterType((*GetRequest)(nil), "groupcachepb.GetRequest") proto.RegisterType((*GetResponse)(nil), "groupcachepb.GetResponse") proto.RegisterType((*SetRequest)(nil), "groupcachepb.SetRequest") } func init() { proto.RegisterFile("groupcache.proto", fileDescriptor0) } var fileDescriptor0 = []byte{ // 215 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x50, 0x31, 0x4b, 0xc5, 0x30, 0x18, 0x34, 0x8d, 0x0a, 0xfd, 0xec, 0x50, 0x82, 0x48, 0x14, 0x84, 0x90, 0x29, 0x53, 0x07, 0x71, 0x74, 0x73, 0x28, 0xb8, 0x19, 0x37, 0x17, 0x69, 0xcb, 0x87, 0x16, 0xb5, 0x49, 0x9b, 0x44, 0x7c, 0xff, 0xfe, 0x91, 0xe6, 0x41, 0x3a, 0xbc, 0xe5, 0x6d, 0xb9, 0x3b, 0x2e, 0x77, 0xdf, 0x41, 0xfd, 0xb9, 0x98, 0x60, 0x87, 0x6e, 0xf8, 0xc2, 0xc6, 0x2e, 0xc6, 0x1b, 0x56, 0x65,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