OSDN Git Service

new repo
[bytom/vapor.git] / vendor / google.golang.org / grpc / test / codec_perf / perf.pb.go
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: codec_perf/perf.proto
3
4 /*
5 Package codec_perf is a generated protocol buffer package.
6
7 It is generated from these files:
8         codec_perf/perf.proto
9
10 It has these top-level messages:
11         Buffer
12 */
13 package codec_perf
14
15 import proto "github.com/golang/protobuf/proto"
16 import fmt "fmt"
17 import math "math"
18
19 // Reference imports to suppress errors if they are not otherwise used.
20 var _ = proto.Marshal
21 var _ = fmt.Errorf
22 var _ = math.Inf
23
24 // This is a compile-time assertion to ensure that this generated file
25 // is compatible with the proto package it is being compiled against.
26 // A compilation error at this line likely means your copy of the
27 // proto package needs to be updated.
28 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
29
30 // Buffer is a message that contains a body of bytes that is used to exercise
31 // encoding and decoding overheads.
32 type Buffer struct {
33         Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
34 }
35
36 func (m *Buffer) Reset()                    { *m = Buffer{} }
37 func (m *Buffer) String() string            { return proto.CompactTextString(m) }
38 func (*Buffer) ProtoMessage()               {}
39 func (*Buffer) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
40
41 func (m *Buffer) GetBody() []byte {
42         if m != nil {
43                 return m.Body
44         }
45         return nil
46 }
47
48 func init() {
49         proto.RegisterType((*Buffer)(nil), "codec.perf.Buffer")
50 }
51
52 func init() { proto.RegisterFile("codec_perf/perf.proto", fileDescriptor0) }
53
54 var fileDescriptor0 = []byte{
55         // 83 bytes of a gzipped FileDescriptorProto
56         0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4d, 0xce, 0x4f, 0x49,
57         0x4d, 0x8e, 0x2f, 0x48, 0x2d, 0x4a, 0xd3, 0x07, 0x11, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42,
58         0x5c, 0x60, 0x61, 0x3d, 0x90, 0x88, 0x92, 0x0c, 0x17, 0x9b, 0x53, 0x69, 0x5a, 0x5a, 0x6a, 0x91,
59         0x90, 0x10, 0x17, 0x4b, 0x52, 0x7e, 0x4a, 0xa5, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x4f, 0x10, 0x98,
60         0x9d, 0xc4, 0x06, 0xd6, 0x60, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xa3, 0x5f, 0x4f, 0x3c, 0x49,
61         0x00, 0x00, 0x00,
62 }