OSDN Git Service

new repo
[bytom/vapor.git] / vendor / google.golang.org / grpc / reflection / grpc_testing / proto2.pb.go
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: proto2.proto
3
4 /*
5 Package grpc_testing is a generated protocol buffer package.
6
7 It is generated from these files:
8         proto2.proto
9         proto2_ext.proto
10         proto2_ext2.proto
11         test.proto
12
13 It has these top-level messages:
14         ToBeExtended
15         Extension
16         AnotherExtension
17         SearchResponse
18         SearchRequest
19 */
20 package grpc_testing
21
22 import proto "github.com/golang/protobuf/proto"
23 import fmt "fmt"
24 import math "math"
25
26 // Reference imports to suppress errors if they are not otherwise used.
27 var _ = proto.Marshal
28 var _ = fmt.Errorf
29 var _ = math.Inf
30
31 // This is a compile-time assertion to ensure that this generated file
32 // is compatible with the proto package it is being compiled against.
33 // A compilation error at this line likely means your copy of the
34 // proto package needs to be updated.
35 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
36
37 type ToBeExtended struct {
38         Foo                          *int32 `protobuf:"varint,1,req,name=foo" json:"foo,omitempty"`
39         proto.XXX_InternalExtensions `json:"-"`
40         XXX_unrecognized             []byte `json:"-"`
41 }
42
43 func (m *ToBeExtended) Reset()                    { *m = ToBeExtended{} }
44 func (m *ToBeExtended) String() string            { return proto.CompactTextString(m) }
45 func (*ToBeExtended) ProtoMessage()               {}
46 func (*ToBeExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
47
48 var extRange_ToBeExtended = []proto.ExtensionRange{
49         {10, 30},
50 }
51
52 func (*ToBeExtended) ExtensionRangeArray() []proto.ExtensionRange {
53         return extRange_ToBeExtended
54 }
55
56 func (m *ToBeExtended) GetFoo() int32 {
57         if m != nil && m.Foo != nil {
58                 return *m.Foo
59         }
60         return 0
61 }
62
63 func init() {
64         proto.RegisterType((*ToBeExtended)(nil), "grpc.testing.ToBeExtended")
65 }
66
67 func init() { proto.RegisterFile("proto2.proto", fileDescriptor0) }
68
69 var fileDescriptor0 = []byte{
70         // 86 bytes of a gzipped FileDescriptorProto
71         0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x29, 0x28, 0xca, 0x2f,
72         0xc9, 0x37, 0xd2, 0x03, 0x53, 0x42, 0x3c, 0xe9, 0x45, 0x05, 0xc9, 0x7a, 0x25, 0xa9, 0xc5, 0x25,
73         0x99, 0x79, 0xe9, 0x4a, 0x6a, 0x5c, 0x3c, 0x21, 0xf9, 0x4e, 0xa9, 0xae, 0x15, 0x25, 0xa9, 0x79,
74         0x29, 0xa9, 0x29, 0x42, 0x02, 0x5c, 0xcc, 0x69, 0xf9, 0xf9, 0x12, 0x8c, 0x0a, 0x4c, 0x1a, 0xac,
75         0x41, 0x20, 0xa6, 0x16, 0x0b, 0x07, 0x97, 0x80, 0x3c, 0x20, 0x00, 0x00, 0xff, 0xff, 0x74, 0x86,
76         0x9c, 0x08, 0x44, 0x00, 0x00, 0x00,
77 }