5
0
Fork 0
backend-protobuf/go/bite.pb.go

104 lines
3.3 KiB
Go
Raw Normal View History

2019-02-06 13:26:14 +08:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: bite.proto
2019-06-23 08:35:57 +08:00
package protobuf
2019-02-06 13:26:14 +08:00
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 Bite struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
2019-02-06 13:26:14 +08:00
Start uint64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
2019-02-10 22:20:57 +08:00
Client *Client `protobuf:"bytes,4,opt,name=client,proto3" json:"client,omitempty"`
2019-02-06 13:26:14 +08:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Bite) Reset() { *m = Bite{} }
func (m *Bite) String() string { return proto.CompactTextString(m) }
func (*Bite) ProtoMessage() {}
func (*Bite) Descriptor() ([]byte, []int) {
return fileDescriptor_e1ec993646b17549, []int{0}
}
func (m *Bite) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Bite.Unmarshal(m, b)
}
func (m *Bite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Bite.Marshal(b, m, deterministic)
}
func (m *Bite) XXX_Merge(src proto.Message) {
xxx_messageInfo_Bite.Merge(m, src)
}
func (m *Bite) XXX_Size() int {
return xxx_messageInfo_Bite.Size(m)
}
func (m *Bite) XXX_DiscardUnknown() {
xxx_messageInfo_Bite.DiscardUnknown(m)
}
var xxx_messageInfo_Bite proto.InternalMessageInfo
func (m *Bite) GetKey() string {
2019-02-06 13:26:14 +08:00
if m != nil {
return m.Key
}
return ""
2019-02-06 13:26:14 +08:00
}
func (m *Bite) GetStart() uint64 {
if m != nil {
return m.Start
}
return 0
}
func (m *Bite) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
2019-02-10 22:20:57 +08:00
func (m *Bite) GetClient() *Client {
if m != nil {
return m.Client
}
return nil
}
2019-02-06 13:26:14 +08:00
func init() {
2019-06-23 08:35:57 +08:00
proto.RegisterType((*Bite)(nil), "protobuf.Bite")
2019-02-06 13:26:14 +08:00
}
func init() { proto.RegisterFile("bite.proto", fileDescriptor_e1ec993646b17549) }
var fileDescriptor_e1ec993646b17549 = []byte{
2019-06-23 08:35:57 +08:00
// 140 bytes of a gzipped FileDescriptorProto
2019-02-06 13:26:14 +08:00
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4a, 0xca, 0x2c, 0x49,
2019-06-23 08:35:57 +08:00
0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5, 0x69, 0x52, 0x3c, 0xc9,
0x39, 0x99, 0xa9, 0x79, 0x25, 0x10, 0x71, 0xa5, 0x1c, 0x2e, 0x16, 0xa7, 0xcc, 0x92, 0x54, 0x21,
0x01, 0x2e, 0xe6, 0xec, 0xd4, 0x4a, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x10, 0x53, 0x48,
0x84, 0x8b, 0xb5, 0xb8, 0x24, 0xb1, 0xa8, 0x44, 0x82, 0x49, 0x81, 0x51, 0x83, 0x25, 0x08, 0xc2,
0x11, 0x12, 0xe2, 0x62, 0x49, 0x49, 0x2c, 0x49, 0x94, 0x60, 0x56, 0x60, 0xd4, 0xe0, 0x09, 0x02,
0xb3, 0x85, 0x34, 0xb8, 0xd8, 0x20, 0x66, 0x4a, 0xb0, 0x28, 0x30, 0x6a, 0x70, 0x1b, 0x09, 0xe8,
0xc1, 0x2c, 0xd3, 0x73, 0x06, 0x8b, 0x07, 0x41, 0xe5, 0x93, 0xd8, 0xc0, 0x12, 0xc6, 0x80, 0x00,
0x00, 0x00, 0xff, 0xff, 0xbc, 0x7c, 0x92, 0x2c, 0x9a, 0x00, 0x00, 0x00,
2019-02-06 13:26:14 +08:00
}