63 lines
2.1 KiB
Go
63 lines
2.1 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: codec_perf/perf.proto
|
|
|
|
/*
|
|
Package codec_perf is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
codec_perf/perf.proto
|
|
|
|
It has these top-level messages:
|
|
Buffer
|
|
*/
|
|
package codec_perf
|
|
|
|
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
|
|
|
|
// Buffer is a message that contains a body of bytes that is used to exercise
|
|
// encoding and decoding overheads.
|
|
type Buffer struct {
|
|
Body []byte `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *Buffer) Reset() { *m = Buffer{} }
|
|
func (m *Buffer) String() string { return proto.CompactTextString(m) }
|
|
func (*Buffer) ProtoMessage() {}
|
|
func (*Buffer) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
func (m *Buffer) GetBody() []byte {
|
|
if m != nil {
|
|
return m.Body
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Buffer)(nil), "codec.perf.Buffer")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("codec_perf/perf.proto", fileDescriptor0) }
|
|
|
|
var fileDescriptor0 = []byte{
|
|
// 78 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4d, 0xce, 0x4f, 0x49,
|
|
0x4d, 0x8e, 0x2f, 0x48, 0x2d, 0x4a, 0xd3, 0x07, 0x11, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42,
|
|
0x5c, 0x60, 0x61, 0x3d, 0x90, 0x88, 0x92, 0x0c, 0x17, 0x9b, 0x53, 0x69, 0x5a, 0x5a, 0x6a, 0x91,
|
|
0x90, 0x10, 0x17, 0x4b, 0x52, 0x7e, 0x4a, 0xa5, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x4f, 0x10, 0x98,
|
|
0x0d, 0x08, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x93, 0x4c, 0x5f, 0x41, 0x00, 0x00, 0x00,
|
|
}
|