groupcachepb/groupcache.pb.go (303 lines of code) (raw):

// Code generated by protoc-gen-go. DO NOT EDIT. // source: groupcache.proto package groupcachepb import ( fmt "fmt" proto "github.com/golang/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" 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 GetRequest struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `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 fileDescriptor_aba3e029bfa16198, []int{0} } func (m *GetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetRequest.Unmarshal(m, b) } func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetRequest.Marshal(b, m, deterministic) } func (m *GetRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetRequest.Merge(m, src) } func (m *GetRequest) XXX_Size() int { return xxx_messageInfo_GetRequest.Size(m) } func (m *GetRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetRequest.DiscardUnknown(m) } var xxx_messageInfo_GetRequest proto.InternalMessageInfo func (m *GetRequest) GetGroup() string { if m != nil { return m.Group } return "" } func (m *GetRequest) GetKey() string { if m != nil { return m.Key } return "" } type GetResponse struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` MinuteQps float64 `protobuf:"fixed64,2,opt,name=minute_qps,json=minuteQps,proto3" json:"minute_qps,omitempty"` Ttl *timestamp.Timestamp `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `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 fileDescriptor_aba3e029bfa16198, []int{1} } func (m *GetResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetResponse.Unmarshal(m, b) } func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetResponse.Marshal(b, m, deterministic) } func (m *GetResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_GetResponse.Merge(m, src) } func (m *GetResponse) XXX_Size() int { return xxx_messageInfo_GetResponse.Size(m) } func (m *GetResponse) XXX_DiscardUnknown() { xxx_messageInfo_GetResponse.DiscardUnknown(m) } var xxx_messageInfo_GetResponse proto.InternalMessageInfo func (m *GetResponse) GetValue() []byte { if m != nil { return m.Value } return nil } func (m *GetResponse) GetMinuteQps() float64 { if m != nil { return m.MinuteQps } return 0 } func (m *GetResponse) GetTtl() *timestamp.Timestamp { if m != nil { return m.Ttl } return nil } type ContainRequest struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ContainRequest) Reset() { *m = ContainRequest{} } func (m *ContainRequest) String() string { return proto.CompactTextString(m) } func (*ContainRequest) ProtoMessage() {} func (*ContainRequest) Descriptor() ([]byte, []int) { return fileDescriptor_aba3e029bfa16198, []int{2} } func (m *ContainRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ContainRequest.Unmarshal(m, b) } func (m *ContainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ContainRequest.Marshal(b, m, deterministic) } func (m *ContainRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ContainRequest.Merge(m, src) } func (m *ContainRequest) XXX_Size() int { return xxx_messageInfo_ContainRequest.Size(m) } func (m *ContainRequest) XXX_DiscardUnknown() { xxx_messageInfo_ContainRequest.DiscardUnknown(m) } var xxx_messageInfo_ContainRequest proto.InternalMessageInfo func (m *ContainRequest) GetGroup() string { if m != nil { return m.Group } return "" } func (m *ContainRequest) GetKey() string { if m != nil { return m.Key } return "" } type ContainResponse struct { Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` MinuteQps float64 `protobuf:"fixed64,2,opt,name=minute_qps,json=minuteQps,proto3" json:"minute_qps,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ContainResponse) Reset() { *m = ContainResponse{} } func (m *ContainResponse) String() string { return proto.CompactTextString(m) } func (*ContainResponse) ProtoMessage() {} func (*ContainResponse) Descriptor() ([]byte, []int) { return fileDescriptor_aba3e029bfa16198, []int{3} } func (m *ContainResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ContainResponse.Unmarshal(m, b) } func (m *ContainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ContainResponse.Marshal(b, m, deterministic) } func (m *ContainResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ContainResponse.Merge(m, src) } func (m *ContainResponse) XXX_Size() int { return xxx_messageInfo_ContainResponse.Size(m) } func (m *ContainResponse) XXX_DiscardUnknown() { xxx_messageInfo_ContainResponse.DiscardUnknown(m) } var xxx_messageInfo_ContainResponse proto.InternalMessageInfo func (m *ContainResponse) GetExists() bool { if m != nil { return m.Exists } return false } func (m *ContainResponse) GetMinuteQps() float64 { if m != nil { return m.MinuteQps } return 0 } type PutRequest struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Ttl *timestamp.Timestamp `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *PutRequest) Reset() { *m = PutRequest{} } func (m *PutRequest) String() string { return proto.CompactTextString(m) } func (*PutRequest) ProtoMessage() {} func (*PutRequest) Descriptor() ([]byte, []int) { return fileDescriptor_aba3e029bfa16198, []int{4} } func (m *PutRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PutRequest.Unmarshal(m, b) } func (m *PutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PutRequest.Marshal(b, m, deterministic) } func (m *PutRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_PutRequest.Merge(m, src) } func (m *PutRequest) XXX_Size() int { return xxx_messageInfo_PutRequest.Size(m) } func (m *PutRequest) XXX_DiscardUnknown() { xxx_messageInfo_PutRequest.DiscardUnknown(m) } var xxx_messageInfo_PutRequest proto.InternalMessageInfo func (m *PutRequest) GetGroup() string { if m != nil { return m.Group } return "" } func (m *PutRequest) GetKey() string { if m != nil { return m.Key } return "" } func (m *PutRequest) GetValue() []byte { if m != nil { return m.Value } return nil } func (m *PutRequest) GetTtl() *timestamp.Timestamp { if m != nil { return m.Ttl } return nil } type PutResponse struct { MinuteQps float64 `protobuf:"fixed64,1,opt,name=minute_qps,json=minuteQps,proto3" json:"minute_qps,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *PutResponse) Reset() { *m = PutResponse{} } func (m *PutResponse) String() string { return proto.CompactTextString(m) } func (*PutResponse) ProtoMessage() {} func (*PutResponse) Descriptor() ([]byte, []int) { return fileDescriptor_aba3e029bfa16198, []int{5} } func (m *PutResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PutResponse.Unmarshal(m, b) } func (m *PutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PutResponse.Marshal(b, m, deterministic) } func (m *PutResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_PutResponse.Merge(m, src) } func (m *PutResponse) XXX_Size() int { return xxx_messageInfo_PutResponse.Size(m) } func (m *PutResponse) XXX_DiscardUnknown() { xxx_messageInfo_PutResponse.DiscardUnknown(m) } var xxx_messageInfo_PutResponse proto.InternalMessageInfo func (m *PutResponse) GetMinuteQps() float64 { if m != nil { return m.MinuteQps } return 0 } func init() { proto.RegisterType((*GetRequest)(nil), "groupcachepb.GetRequest") proto.RegisterType((*GetResponse)(nil), "groupcachepb.GetResponse") proto.RegisterType((*ContainRequest)(nil), "groupcachepb.ContainRequest") proto.RegisterType((*ContainResponse)(nil), "groupcachepb.ContainResponse") proto.RegisterType((*PutRequest)(nil), "groupcachepb.PutRequest") proto.RegisterType((*PutResponse)(nil), "groupcachepb.PutResponse") } func init() { proto.RegisterFile("groupcache.proto", fileDescriptor_aba3e029bfa16198) } var fileDescriptor_aba3e029bfa16198 = []byte{ // 327 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xcf, 0x4e, 0x02, 0x31, 0x10, 0xc6, 0x59, 0xab, 0x28, 0x03, 0x51, 0xd2, 0x18, 0xb3, 0x6e, 0x24, 0x92, 0x9e, 0x38, 0x90, 0x92, 0xa0, 0x07, 0x0f, 0xdc, 0x38, 0xc0, 0x11, 0x1b, 0xef, 0x66, 0x21, 0x23, 0x6e, 0x84, 0x6d, 0xa1, 0xad, 0xc1, 0xd7, 0xf4, 0x89, 0xcc, 0xb6, 0x0b, 0x0b, 0xa8, 0x51, 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