blob: 3019878c3ce3c1557ab3a757916f696f3b9818a0 [file] [log] [blame]
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001// Copyright 2019 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
Damien Neil302cb322019-06-19 15:22:13 -07005// Code generated by protoc-gen-go. DO NOT EDIT.
6// source: messageset/msetextpb/msetextpb.proto
7
8package msetextpb
9
10import (
11 messagesetpb "google.golang.org/protobuf/internal/testprotos/messageset/messagesetpb"
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
Damien Neil302cb322019-06-19 15:22:13 -070013 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
Joe Tsaiaf570872019-07-14 23:04:40 -070014 reflect "reflect"
Damien Neil302cb322019-06-19 15:22:13 -070015 sync "sync"
16)
17
Damien Neil302cb322019-06-19 15:22:13 -070018type Ext1 struct {
19 state protoimpl.MessageState
Damien Neil302cb322019-06-19 15:22:13 -070020 sizeCache protoimpl.SizeCache
21 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -070022
23 Ext1Field1 *int32 `protobuf:"varint,1,opt,name=ext1_field1,json=ext1Field1" json:"ext1_field1,omitempty"`
24 Ext1Field2 *int32 `protobuf:"varint,2,opt,name=ext1_field2,json=ext1Field2" json:"ext1_field2,omitempty"`
Damien Neil302cb322019-06-19 15:22:13 -070025}
26
27func (x *Ext1) Reset() {
28 *x = Ext1{}
Joe Tsaiae313d42019-10-16 10:25:54 -070029 if protoimpl.UnsafeEnabled {
30 mi := &file_messageset_msetextpb_msetextpb_proto_msgTypes[0]
31 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
32 ms.StoreMessageInfo(mi)
33 }
Damien Neil302cb322019-06-19 15:22:13 -070034}
35
36func (x *Ext1) String() string {
37 return protoimpl.X.MessageStringOf(x)
38}
39
40func (*Ext1) ProtoMessage() {}
41
42func (x *Ext1) ProtoReflect() protoreflect.Message {
43 mi := &file_messageset_msetextpb_msetextpb_proto_msgTypes[0]
44 if protoimpl.UnsafeEnabled && x != nil {
45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
46 if ms.LoadMessageInfo() == nil {
47 ms.StoreMessageInfo(mi)
48 }
49 return ms
50 }
51 return mi.MessageOf(x)
52}
53
Joe Tsai43761bd2019-07-17 18:06:47 -070054// Deprecated: Use Ext1.ProtoReflect.Descriptor instead.
Damien Neil302cb322019-06-19 15:22:13 -070055func (*Ext1) Descriptor() ([]byte, []int) {
56 return file_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{0}
57}
58
59func (x *Ext1) GetExt1Field1() int32 {
60 if x != nil && x.Ext1Field1 != nil {
61 return *x.Ext1Field1
62 }
63 return 0
64}
65
66func (x *Ext1) GetExt1Field2() int32 {
67 if x != nil && x.Ext1Field2 != nil {
68 return *x.Ext1Field2
69 }
70 return 0
71}
72
73type Ext2 struct {
74 state protoimpl.MessageState
Damien Neil302cb322019-06-19 15:22:13 -070075 sizeCache protoimpl.SizeCache
76 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -070077
78 Ext2Field1 *int32 `protobuf:"varint,1,opt,name=ext2_field1,json=ext2Field1" json:"ext2_field1,omitempty"`
Damien Neil302cb322019-06-19 15:22:13 -070079}
80
81func (x *Ext2) Reset() {
82 *x = Ext2{}
Joe Tsaiae313d42019-10-16 10:25:54 -070083 if protoimpl.UnsafeEnabled {
84 mi := &file_messageset_msetextpb_msetextpb_proto_msgTypes[1]
85 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
86 ms.StoreMessageInfo(mi)
87 }
Damien Neil302cb322019-06-19 15:22:13 -070088}
89
90func (x *Ext2) String() string {
91 return protoimpl.X.MessageStringOf(x)
92}
93
94func (*Ext2) ProtoMessage() {}
95
96func (x *Ext2) ProtoReflect() protoreflect.Message {
97 mi := &file_messageset_msetextpb_msetextpb_proto_msgTypes[1]
98 if protoimpl.UnsafeEnabled && x != nil {
99 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
100 if ms.LoadMessageInfo() == nil {
101 ms.StoreMessageInfo(mi)
102 }
103 return ms
104 }
105 return mi.MessageOf(x)
106}
107
Joe Tsai43761bd2019-07-17 18:06:47 -0700108// Deprecated: Use Ext2.ProtoReflect.Descriptor instead.
Damien Neil302cb322019-06-19 15:22:13 -0700109func (*Ext2) Descriptor() ([]byte, []int) {
110 return file_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{1}
111}
112
113func (x *Ext2) GetExt2Field1() int32 {
114 if x != nil && x.Ext2Field1 != nil {
115 return *x.Ext2Field1
116 }
117 return 0
118}
119
Damien Neil0bf97b72020-01-24 09:00:33 -0800120type ExtRequired struct {
121 state protoimpl.MessageState
122 sizeCache protoimpl.SizeCache
123 unknownFields protoimpl.UnknownFields
124
125 RequiredField1 *int32 `protobuf:"varint,1,req,name=required_field1,json=requiredField1" json:"required_field1,omitempty"`
126}
127
128func (x *ExtRequired) Reset() {
129 *x = ExtRequired{}
130 if protoimpl.UnsafeEnabled {
131 mi := &file_messageset_msetextpb_msetextpb_proto_msgTypes[2]
132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
133 ms.StoreMessageInfo(mi)
134 }
135}
136
137func (x *ExtRequired) String() string {
138 return protoimpl.X.MessageStringOf(x)
139}
140
141func (*ExtRequired) ProtoMessage() {}
142
143func (x *ExtRequired) ProtoReflect() protoreflect.Message {
144 mi := &file_messageset_msetextpb_msetextpb_proto_msgTypes[2]
145 if protoimpl.UnsafeEnabled && x != nil {
146 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
147 if ms.LoadMessageInfo() == nil {
148 ms.StoreMessageInfo(mi)
149 }
150 return ms
151 }
152 return mi.MessageOf(x)
153}
154
155// Deprecated: Use ExtRequired.ProtoReflect.Descriptor instead.
156func (*ExtRequired) Descriptor() ([]byte, []int) {
157 return file_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{2}
158}
159
160func (x *ExtRequired) GetRequiredField1() int32 {
161 if x != nil && x.RequiredField1 != nil {
162 return *x.RequiredField1
163 }
164 return 0
165}
166
Damien Neilfe15dd42019-12-06 15:36:03 -0800167type ExtLargeNumber struct {
168 state protoimpl.MessageState
169 sizeCache protoimpl.SizeCache
170 unknownFields protoimpl.UnknownFields
171}
172
173func (x *ExtLargeNumber) Reset() {
174 *x = ExtLargeNumber{}
175 if protoimpl.UnsafeEnabled {
Damien Neil0bf97b72020-01-24 09:00:33 -0800176 mi := &file_messageset_msetextpb_msetextpb_proto_msgTypes[3]
Damien Neilfe15dd42019-12-06 15:36:03 -0800177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
178 ms.StoreMessageInfo(mi)
179 }
180}
181
182func (x *ExtLargeNumber) String() string {
183 return protoimpl.X.MessageStringOf(x)
184}
185
186func (*ExtLargeNumber) ProtoMessage() {}
187
188func (x *ExtLargeNumber) ProtoReflect() protoreflect.Message {
Damien Neil0bf97b72020-01-24 09:00:33 -0800189 mi := &file_messageset_msetextpb_msetextpb_proto_msgTypes[3]
Damien Neilfe15dd42019-12-06 15:36:03 -0800190 if protoimpl.UnsafeEnabled && x != nil {
191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
192 if ms.LoadMessageInfo() == nil {
193 ms.StoreMessageInfo(mi)
194 }
195 return ms
196 }
197 return mi.MessageOf(x)
198}
199
200// Deprecated: Use ExtLargeNumber.ProtoReflect.Descriptor instead.
201func (*ExtLargeNumber) Descriptor() ([]byte, []int) {
Damien Neil0bf97b72020-01-24 09:00:33 -0800202 return file_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{3}
Damien Neilfe15dd42019-12-06 15:36:03 -0800203}
204
Damien Neilf1e905b2019-08-08 15:45:59 -0700205var file_messageset_msetextpb_msetextpb_proto_extTypes = []protoimpl.ExtensionInfo{
Damien Neil302cb322019-06-19 15:22:13 -0700206 {
207 ExtendedType: (*messagesetpb.MessageSet)(nil),
208 ExtensionType: (*Ext1)(nil),
209 Field: 1000,
Joe Tsai945a1702019-07-20 14:57:56 -0700210 Name: "goproto.proto.messageset.Ext1",
Damien Neil302cb322019-06-19 15:22:13 -0700211 Tag: "bytes,1000,opt,name=message_set_extension",
212 Filename: "messageset/msetextpb/msetextpb.proto",
213 },
214 {
215 ExtendedType: (*messagesetpb.MessageSet)(nil),
216 ExtensionType: (*Ext2)(nil),
217 Field: 1001,
Joe Tsai945a1702019-07-20 14:57:56 -0700218 Name: "goproto.proto.messageset.Ext2",
Damien Neil302cb322019-06-19 15:22:13 -0700219 Tag: "bytes,1001,opt,name=message_set_extension",
220 Filename: "messageset/msetextpb/msetextpb.proto",
221 },
Damien Neilfe15dd42019-12-06 15:36:03 -0800222 {
223 ExtendedType: (*messagesetpb.MessageSet)(nil),
Damien Neil0bf97b72020-01-24 09:00:33 -0800224 ExtensionType: (*ExtRequired)(nil),
225 Field: 1002,
226 Name: "goproto.proto.messageset.ExtRequired",
227 Tag: "bytes,1002,opt,name=message_set_extension",
228 Filename: "messageset/msetextpb/msetextpb.proto",
229 },
230 {
231 ExtendedType: (*messagesetpb.MessageSet)(nil),
Damien Neilfe15dd42019-12-06 15:36:03 -0800232 ExtensionType: (*ExtLargeNumber)(nil),
233 Field: 536870912,
234 Name: "goproto.proto.messageset.ExtLargeNumber",
235 Tag: "bytes,536870912,opt,name=message_set_extension",
236 Filename: "messageset/msetextpb/msetextpb.proto",
237 },
Damien Neil302cb322019-06-19 15:22:13 -0700238}
Damien Neil302cb322019-06-19 15:22:13 -0700239
Joe Tsai4a7d6332019-08-06 16:45:11 -0700240// Extension fields to messagesetpb.MessageSet.
241var (
242 // optional goproto.proto.messageset.Ext1 message_set_extension = 1000;
Damien Neilf1e905b2019-08-08 15:45:59 -0700243 E_Ext1_MessageSetExtension = &file_messageset_msetextpb_msetextpb_proto_extTypes[0]
Joe Tsai4a7d6332019-08-06 16:45:11 -0700244 // optional goproto.proto.messageset.Ext2 message_set_extension = 1001;
Damien Neilf1e905b2019-08-08 15:45:59 -0700245 E_Ext2_MessageSetExtension = &file_messageset_msetextpb_msetextpb_proto_extTypes[1]
Damien Neil0bf97b72020-01-24 09:00:33 -0800246 // optional goproto.proto.messageset.ExtRequired message_set_extension = 1002;
247 E_ExtRequired_MessageSetExtension = &file_messageset_msetextpb_msetextpb_proto_extTypes[2]
Damien Neilfe15dd42019-12-06 15:36:03 -0800248 // optional goproto.proto.messageset.ExtLargeNumber message_set_extension = 536870912;
Damien Neil0bf97b72020-01-24 09:00:33 -0800249 E_ExtLargeNumber_MessageSetExtension = &file_messageset_msetextpb_msetextpb_proto_extTypes[3] // 1<<29
Damien Neil302cb322019-06-19 15:22:13 -0700250)
Joe Tsai4a7d6332019-08-06 16:45:11 -0700251
Damien Neil302cb322019-06-19 15:22:13 -0700252var File_messageset_msetextpb_msetextpb_proto protoreflect.FileDescriptor
253
254var file_messageset_msetextpb_msetextpb_proto_rawDesc = []byte{
255 0x0a, 0x24, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2f, 0x6d, 0x73, 0x65,
256 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x2f, 0x6d, 0x73, 0x65, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62,
257 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
258 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74,
259 0x1a, 0x29, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2f, 0x6d, 0x65, 0x73,
260 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x70, 0x62, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
261 0x65, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x01, 0x0a, 0x04,
262 0x45, 0x78, 0x74, 0x31, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x31, 0x5f, 0x66, 0x69, 0x65,
263 0x6c, 0x64, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x31, 0x46,
264 0x69, 0x65, 0x6c, 0x64, 0x31, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x31, 0x5f, 0x66, 0x69,
265 0x65, 0x6c, 0x64, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x31,
266 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x32, 0x79, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
267 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12,
268 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
269 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
270 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0xe8, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67,
271 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73,
272 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x31, 0x52, 0x13, 0x6d, 0x65,
273 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
274 0x6e, 0x22, 0xa2, 0x01, 0x0a, 0x04, 0x45, 0x78, 0x74, 0x32, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78,
275 0x74, 0x32, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
276 0x0a, 0x65, 0x78, 0x74, 0x32, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x32, 0x79, 0x0a, 0x15, 0x6d,
277 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
278 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
279 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e,
280 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28,
281 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
282 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x45, 0x78, 0x74,
283 0x32, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74,
Damien Neil0bf97b72020-01-24 09:00:33 -0800284 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xb9, 0x01, 0x0a, 0x0b, 0x45, 0x78, 0x74, 0x52, 0x65,
285 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72,
286 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x18, 0x01, 0x20, 0x02, 0x28, 0x05, 0x52,
287 0x0e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x32,
288 0x80, 0x01, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f,
289 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72,
290 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
291 0x65, 0x73, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18,
292 0xea, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
293 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65,
294 0x74, 0x2e, 0x45, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x13, 0x6d,
Damien Neilfe15dd42019-12-06 15:36:03 -0800295 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
Damien Neil0bf97b72020-01-24 09:00:33 -0800296 0x6f, 0x6e, 0x22, 0x99, 0x01, 0x0a, 0x0e, 0x45, 0x78, 0x74, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x4e,
297 0x75, 0x6d, 0x62, 0x65, 0x72, 0x32, 0x86, 0x01, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
298 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12,
299 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
300 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
301 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x80, 0x80, 0x80, 0x80, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
302 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
303 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x4c, 0x61,
304 0x72, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61,
305 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x45,
306 0x5a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
307 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74,
308 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
309 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2f, 0x6d, 0x73, 0x65, 0x74,
310 0x65, 0x78, 0x74, 0x70, 0x62,
Damien Neil302cb322019-06-19 15:22:13 -0700311}
312
313var (
314 file_messageset_msetextpb_msetextpb_proto_rawDescOnce sync.Once
315 file_messageset_msetextpb_msetextpb_proto_rawDescData = file_messageset_msetextpb_msetextpb_proto_rawDesc
316)
317
318func file_messageset_msetextpb_msetextpb_proto_rawDescGZIP() []byte {
319 file_messageset_msetextpb_msetextpb_proto_rawDescOnce.Do(func() {
320 file_messageset_msetextpb_msetextpb_proto_rawDescData = protoimpl.X.CompressGZIP(file_messageset_msetextpb_msetextpb_proto_rawDescData)
321 })
322 return file_messageset_msetextpb_msetextpb_proto_rawDescData
323}
324
Damien Neil0bf97b72020-01-24 09:00:33 -0800325var file_messageset_msetextpb_msetextpb_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
Damien Neil302cb322019-06-19 15:22:13 -0700326var file_messageset_msetextpb_msetextpb_proto_goTypes = []interface{}{
327 (*Ext1)(nil), // 0: goproto.proto.messageset.Ext1
328 (*Ext2)(nil), // 1: goproto.proto.messageset.Ext2
Damien Neil0bf97b72020-01-24 09:00:33 -0800329 (*ExtRequired)(nil), // 2: goproto.proto.messageset.ExtRequired
330 (*ExtLargeNumber)(nil), // 3: goproto.proto.messageset.ExtLargeNumber
331 (*messagesetpb.MessageSet)(nil), // 4: goproto.proto.messageset.MessageSet
Damien Neil302cb322019-06-19 15:22:13 -0700332}
333var file_messageset_msetextpb_msetextpb_proto_depIdxs = []int32{
Damien Neil0bf97b72020-01-24 09:00:33 -0800334 4, // 0: goproto.proto.messageset.Ext1.message_set_extension:extendee -> goproto.proto.messageset.MessageSet
335 4, // 1: goproto.proto.messageset.Ext2.message_set_extension:extendee -> goproto.proto.messageset.MessageSet
336 4, // 2: goproto.proto.messageset.ExtRequired.message_set_extension:extendee -> goproto.proto.messageset.MessageSet
337 4, // 3: goproto.proto.messageset.ExtLargeNumber.message_set_extension:extendee -> goproto.proto.messageset.MessageSet
338 0, // 4: goproto.proto.messageset.Ext1.message_set_extension:type_name -> goproto.proto.messageset.Ext1
339 1, // 5: goproto.proto.messageset.Ext2.message_set_extension:type_name -> goproto.proto.messageset.Ext2
340 2, // 6: goproto.proto.messageset.ExtRequired.message_set_extension:type_name -> goproto.proto.messageset.ExtRequired
341 3, // 7: goproto.proto.messageset.ExtLargeNumber.message_set_extension:type_name -> goproto.proto.messageset.ExtLargeNumber
342 8, // [8:8] is the sub-list for method output_type
343 8, // [8:8] is the sub-list for method input_type
344 4, // [4:8] is the sub-list for extension type_name
345 0, // [0:4] is the sub-list for extension extendee
Joe Tsai73288392019-08-14 11:55:31 -0700346 0, // [0:0] is the sub-list for field type_name
Damien Neil302cb322019-06-19 15:22:13 -0700347}
348
349func init() { file_messageset_msetextpb_msetextpb_proto_init() }
350func file_messageset_msetextpb_msetextpb_proto_init() {
351 if File_messageset_msetextpb_msetextpb_proto != nil {
352 return
353 }
354 if !protoimpl.UnsafeEnabled {
355 file_messageset_msetextpb_msetextpb_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
356 switch v := v.(*Ext1); i {
357 case 0:
358 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -0700359 case 1:
Damien Neil302cb322019-06-19 15:22:13 -0700360 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -0700361 case 2:
Damien Neil302cb322019-06-19 15:22:13 -0700362 return &v.unknownFields
363 default:
364 return nil
365 }
366 }
367 file_messageset_msetextpb_msetextpb_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
368 switch v := v.(*Ext2); i {
369 case 0:
370 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -0700371 case 1:
Damien Neil302cb322019-06-19 15:22:13 -0700372 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -0700373 case 2:
Damien Neil302cb322019-06-19 15:22:13 -0700374 return &v.unknownFields
375 default:
376 return nil
377 }
378 }
Damien Neilfe15dd42019-12-06 15:36:03 -0800379 file_messageset_msetextpb_msetextpb_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
Damien Neil0bf97b72020-01-24 09:00:33 -0800380 switch v := v.(*ExtRequired); i {
381 case 0:
382 return &v.state
383 case 1:
384 return &v.sizeCache
385 case 2:
386 return &v.unknownFields
387 default:
388 return nil
389 }
390 }
391 file_messageset_msetextpb_msetextpb_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
Damien Neilfe15dd42019-12-06 15:36:03 -0800392 switch v := v.(*ExtLargeNumber); i {
393 case 0:
394 return &v.state
395 case 1:
396 return &v.sizeCache
397 case 2:
398 return &v.unknownFields
399 default:
400 return nil
401 }
402 }
Damien Neil302cb322019-06-19 15:22:13 -0700403 }
Joe Tsaiaf570872019-07-14 23:04:40 -0700404 type x struct{}
Damien Neil302cb322019-06-19 15:22:13 -0700405 out := protoimpl.TypeBuilder{
406 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -0700407 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Damien Neil302cb322019-06-19 15:22:13 -0700408 RawDescriptor: file_messageset_msetextpb_msetextpb_proto_rawDesc,
409 NumEnums: 0,
Damien Neil0bf97b72020-01-24 09:00:33 -0800410 NumMessages: 4,
411 NumExtensions: 4,
Damien Neil302cb322019-06-19 15:22:13 -0700412 NumServices: 0,
413 },
414 GoTypes: file_messageset_msetextpb_msetextpb_proto_goTypes,
415 DependencyIndexes: file_messageset_msetextpb_msetextpb_proto_depIdxs,
416 MessageInfos: file_messageset_msetextpb_msetextpb_proto_msgTypes,
Damien Neilf1e905b2019-08-08 15:45:59 -0700417 ExtensionInfos: file_messageset_msetextpb_msetextpb_proto_extTypes,
Damien Neil302cb322019-06-19 15:22:13 -0700418 }.Build()
419 File_messageset_msetextpb_msetextpb_proto = out.File
420 file_messageset_msetextpb_msetextpb_proto_rawDesc = nil
421 file_messageset_msetextpb_msetextpb_proto_goTypes = nil
422 file_messageset_msetextpb_msetextpb_proto_depIdxs = nil
423}