1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: proto2_ext2.proto
6 import proto "github.com/golang/protobuf/proto"
10 // Reference imports to suppress errors if they are not otherwise used.
15 type AnotherExtension struct {
16 Whatchamacallit *int32 `protobuf:"varint,1,opt,name=whatchamacallit" json:"whatchamacallit,omitempty"`
17 XXX_unrecognized []byte `json:"-"`
20 func (m *AnotherExtension) Reset() { *m = AnotherExtension{} }
21 func (m *AnotherExtension) String() string { return proto.CompactTextString(m) }
22 func (*AnotherExtension) ProtoMessage() {}
23 func (*AnotherExtension) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
25 func (m *AnotherExtension) GetWhatchamacallit() int32 {
26 if m != nil && m.Whatchamacallit != nil {
27 return *m.Whatchamacallit
32 var E_Frob = &proto.ExtensionDesc{
33 ExtendedType: (*ToBeExtended)(nil),
34 ExtensionType: (*string)(nil),
36 Name: "grpc.testing.frob",
37 Tag: "bytes,23,opt,name=frob",
38 Filename: "proto2_ext2.proto",
41 var E_Nitz = &proto.ExtensionDesc{
42 ExtendedType: (*ToBeExtended)(nil),
43 ExtensionType: (*AnotherExtension)(nil),
45 Name: "grpc.testing.nitz",
46 Tag: "bytes,29,opt,name=nitz",
47 Filename: "proto2_ext2.proto",
51 proto.RegisterType((*AnotherExtension)(nil), "grpc.testing.AnotherExtension")
52 proto.RegisterExtension(E_Frob)
53 proto.RegisterExtension(E_Nitz)
56 func init() { proto.RegisterFile("proto2_ext2.proto", fileDescriptor2) }
58 var fileDescriptor2 = []byte{
59 // 165 bytes of a gzipped FileDescriptorProto
60 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2c, 0x28, 0xca, 0x2f,
61 0xc9, 0x37, 0x8a, 0x4f, 0xad, 0x28, 0x31, 0xd2, 0x03, 0xb3, 0x85, 0x78, 0xd2, 0x8b, 0x0a, 0x92,
62 0xf5, 0x4a, 0x52, 0x8b, 0x4b, 0x32, 0xf3, 0xd2, 0xa5, 0x78, 0x20, 0x0a, 0x20, 0x72, 0x4a, 0x36,
63 0x5c, 0x02, 0x8e, 0x79, 0xf9, 0x25, 0x19, 0xa9, 0x45, 0xae, 0x15, 0x25, 0xa9, 0x79, 0xc5, 0x99,
64 0xf9, 0x79, 0x42, 0x1a, 0x5c, 0xfc, 0xe5, 0x19, 0x89, 0x25, 0xc9, 0x19, 0x89, 0xb9, 0x89, 0xc9,
65 0x89, 0x39, 0x39, 0x99, 0x25, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0xe8, 0xc2, 0x56, 0x7a,
66 0x5c, 0x2c, 0x69, 0x45, 0xf9, 0x49, 0x42, 0x52, 0x7a, 0xc8, 0x56, 0xe8, 0x85, 0xe4, 0x3b, 0xa5,
67 0x82, 0x8d, 0x4b, 0x49, 0x4d, 0x91, 0x10, 0x57, 0x60, 0xd4, 0xe0, 0x0c, 0x02, 0xab, 0xb3, 0xf2,
68 0xe3, 0x62, 0xc9, 0xcb, 0x2c, 0xa9, 0xc2, 0xab, 0x5e, 0x56, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x0e,
69 0x55, 0x05, 0xba, 0x1b, 0x83, 0xc0, 0xe6, 0x00, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x7e, 0x0d,
70 0x26, 0xed, 0x00, 0x00, 0x00,