blob: af919baba59d978e92cbae6049f050c4e15a94f9 [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.
Damien Neil3c5fb5f2020-02-04 15:03:30 -08006// source: internal/testprotos/messageset/msetextpb/msetextpb.proto
Damien Neil302cb322019-06-19 15:22:13 -07007
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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -080030 mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[0]
Joe Tsaiae313d42019-10-16 10:25:54 -070031 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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -080043 mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[0]
Damien Neil302cb322019-06-19 15:22:13 -070044 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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -080056 return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{0}
Damien Neil302cb322019-06-19 15:22:13 -070057}
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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -080084 mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[1]
Joe Tsaiae313d42019-10-16 10:25:54 -070085 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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -080097 mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[1]
Damien Neil302cb322019-06-19 15:22:13 -070098 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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800110 return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{1}
Damien Neil302cb322019-06-19 15:22:13 -0700111}
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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800131 mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[2]
Damien Neil0bf97b72020-01-24 09:00:33 -0800132 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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800144 mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[2]
Damien Neil0bf97b72020-01-24 09:00:33 -0800145 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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800157 return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{2}
Damien Neil0bf97b72020-01-24 09:00:33 -0800158}
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 Neil3c5fb5f2020-02-04 15:03:30 -0800176 mi := &file_internal_testprotos_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 Neil3c5fb5f2020-02-04 15:03:30 -0800189 mi := &file_internal_testprotos_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 Neil3c5fb5f2020-02-04 15:03:30 -0800202 return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{3}
Damien Neilfe15dd42019-12-06 15:36:03 -0800203}
204
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800205var file_internal_testprotos_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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800212 Filename: "internal/testprotos/messageset/msetextpb/msetextpb.proto",
Damien Neil302cb322019-06-19 15:22:13 -0700213 },
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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800220 Filename: "internal/testprotos/messageset/msetextpb/msetextpb.proto",
Damien Neil302cb322019-06-19 15:22:13 -0700221 },
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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800228 Filename: "internal/testprotos/messageset/msetextpb/msetextpb.proto",
Damien Neil0bf97b72020-01-24 09:00:33 -0800229 },
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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800236 Filename: "internal/testprotos/messageset/msetextpb/msetextpb.proto",
Damien Neilfe15dd42019-12-06 15:36:03 -0800237 },
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 Neil3c5fb5f2020-02-04 15:03:30 -0800243 E_Ext1_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[0]
Joe Tsai4a7d6332019-08-06 16:45:11 -0700244 // optional goproto.proto.messageset.Ext2 message_set_extension = 1001;
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800245 E_Ext2_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[1]
Damien Neil0bf97b72020-01-24 09:00:33 -0800246 // optional goproto.proto.messageset.ExtRequired message_set_extension = 1002;
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800247 E_ExtRequired_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[2]
Damien Neilfe15dd42019-12-06 15:36:03 -0800248 // optional goproto.proto.messageset.ExtLargeNumber message_set_extension = 536870912;
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800249 E_ExtLargeNumber_MessageSetExtension = &file_internal_testprotos_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 Neil3c5fb5f2020-02-04 15:03:30 -0800252var File_internal_testprotos_messageset_msetextpb_msetextpb_proto protoreflect.FileDescriptor
Damien Neil302cb322019-06-19 15:22:13 -0700253
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800254var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDesc = []byte{
255 0x0a, 0x38, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
256 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74,
257 0x2f, 0x6d, 0x73, 0x65, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x2f, 0x6d, 0x73, 0x65, 0x74, 0x65,
258 0x78, 0x74, 0x70, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x70, 0x72,
Damien Neil0bf97b72020-01-24 09:00:33 -0800259 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800260 0x65, 0x73, 0x65, 0x74, 0x1a, 0x3d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74,
261 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
262 0x65, 0x73, 0x65, 0x74, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x70,
263 0x62, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72,
264 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x01, 0x0a, 0x04, 0x45, 0x78, 0x74, 0x31, 0x12, 0x1f, 0x0a, 0x0b,
265 0x65, 0x78, 0x74, 0x31, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28,
266 0x05, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x31, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x12, 0x1f, 0x0a,
267 0x0b, 0x65, 0x78, 0x74, 0x31, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x18, 0x02, 0x20, 0x01,
268 0x28, 0x05, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x31, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x32, 0x79,
269 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78,
270 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
271 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
272 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0xe8, 0x07,
273 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
274 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e,
275 0x45, 0x78, 0x74, 0x31, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
276 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xa2, 0x01, 0x0a, 0x04, 0x45, 0x78,
277 0x74, 0x32, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x32, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64,
278 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x32, 0x46, 0x69, 0x65,
279 0x6c, 0x64, 0x31, 0x32, 0x79, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73,
280 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x67,
281 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73,
282 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
283 0x65, 0x74, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x70, 0x72,
284 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
285 0x65, 0x73, 0x65, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x32, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61,
286 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xb9,
287 0x01, 0x0a, 0x0b, 0x45, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x27,
288 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64,
289 0x31, 0x18, 0x01, 0x20, 0x02, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
290 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x32, 0x80, 0x01, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73,
291 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
292 0x6e, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
293 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73,
294 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0xea, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25,
295 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d,
296 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x52, 0x65, 0x71,
297 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65,
298 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x99, 0x01, 0x0a, 0x0e, 0x45,
299 0x78, 0x74, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x32, 0x86, 0x01,
300 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78,
301 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
302 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
303 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x80, 0x80,
304 0x80, 0x80, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
305 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
306 0x65, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65,
307 0x72, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74,
308 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x45, 0x5a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
309 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74,
310 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65,
311 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
312 0x73, 0x65, 0x74, 0x2f, 0x6d, 0x73, 0x65, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62,
Damien Neil302cb322019-06-19 15:22:13 -0700313}
314
315var (
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800316 file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescOnce sync.Once
317 file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescData = file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDesc
Damien Neil302cb322019-06-19 15:22:13 -0700318)
319
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800320func file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP() []byte {
321 file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescOnce.Do(func() {
322 file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescData)
Damien Neil302cb322019-06-19 15:22:13 -0700323 })
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800324 return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescData
Damien Neil302cb322019-06-19 15:22:13 -0700325}
326
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800327var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
328var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_goTypes = []interface{}{
Damien Neil302cb322019-06-19 15:22:13 -0700329 (*Ext1)(nil), // 0: goproto.proto.messageset.Ext1
330 (*Ext2)(nil), // 1: goproto.proto.messageset.Ext2
Damien Neil0bf97b72020-01-24 09:00:33 -0800331 (*ExtRequired)(nil), // 2: goproto.proto.messageset.ExtRequired
332 (*ExtLargeNumber)(nil), // 3: goproto.proto.messageset.ExtLargeNumber
333 (*messagesetpb.MessageSet)(nil), // 4: goproto.proto.messageset.MessageSet
Damien Neil302cb322019-06-19 15:22:13 -0700334}
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800335var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_depIdxs = []int32{
Damien Neil0bf97b72020-01-24 09:00:33 -0800336 4, // 0: goproto.proto.messageset.Ext1.message_set_extension:extendee -> goproto.proto.messageset.MessageSet
337 4, // 1: goproto.proto.messageset.Ext2.message_set_extension:extendee -> goproto.proto.messageset.MessageSet
338 4, // 2: goproto.proto.messageset.ExtRequired.message_set_extension:extendee -> goproto.proto.messageset.MessageSet
339 4, // 3: goproto.proto.messageset.ExtLargeNumber.message_set_extension:extendee -> goproto.proto.messageset.MessageSet
340 0, // 4: goproto.proto.messageset.Ext1.message_set_extension:type_name -> goproto.proto.messageset.Ext1
341 1, // 5: goproto.proto.messageset.Ext2.message_set_extension:type_name -> goproto.proto.messageset.Ext2
342 2, // 6: goproto.proto.messageset.ExtRequired.message_set_extension:type_name -> goproto.proto.messageset.ExtRequired
343 3, // 7: goproto.proto.messageset.ExtLargeNumber.message_set_extension:type_name -> goproto.proto.messageset.ExtLargeNumber
344 8, // [8:8] is the sub-list for method output_type
345 8, // [8:8] is the sub-list for method input_type
346 4, // [4:8] is the sub-list for extension type_name
347 0, // [0:4] is the sub-list for extension extendee
Joe Tsai73288392019-08-14 11:55:31 -0700348 0, // [0:0] is the sub-list for field type_name
Damien Neil302cb322019-06-19 15:22:13 -0700349}
350
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800351func init() { file_internal_testprotos_messageset_msetextpb_msetextpb_proto_init() }
352func file_internal_testprotos_messageset_msetextpb_msetextpb_proto_init() {
353 if File_internal_testprotos_messageset_msetextpb_msetextpb_proto != nil {
Damien Neil302cb322019-06-19 15:22:13 -0700354 return
355 }
356 if !protoimpl.UnsafeEnabled {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800357 file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
Damien Neil302cb322019-06-19 15:22:13 -0700358 switch v := v.(*Ext1); i {
359 case 0:
360 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -0700361 case 1:
Damien Neil302cb322019-06-19 15:22:13 -0700362 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -0700363 case 2:
Damien Neil302cb322019-06-19 15:22:13 -0700364 return &v.unknownFields
365 default:
366 return nil
367 }
368 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800369 file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
Damien Neil302cb322019-06-19 15:22:13 -0700370 switch v := v.(*Ext2); i {
371 case 0:
372 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -0700373 case 1:
Damien Neil302cb322019-06-19 15:22:13 -0700374 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -0700375 case 2:
Damien Neil302cb322019-06-19 15:22:13 -0700376 return &v.unknownFields
377 default:
378 return nil
379 }
380 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800381 file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
Damien Neil0bf97b72020-01-24 09:00:33 -0800382 switch v := v.(*ExtRequired); i {
383 case 0:
384 return &v.state
385 case 1:
386 return &v.sizeCache
387 case 2:
388 return &v.unknownFields
389 default:
390 return nil
391 }
392 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800393 file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
Damien Neilfe15dd42019-12-06 15:36:03 -0800394 switch v := v.(*ExtLargeNumber); i {
395 case 0:
396 return &v.state
397 case 1:
398 return &v.sizeCache
399 case 2:
400 return &v.unknownFields
401 default:
402 return nil
403 }
404 }
Damien Neil302cb322019-06-19 15:22:13 -0700405 }
Joe Tsaiaf570872019-07-14 23:04:40 -0700406 type x struct{}
Damien Neil302cb322019-06-19 15:22:13 -0700407 out := protoimpl.TypeBuilder{
408 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -0700409 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800410 RawDescriptor: file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDesc,
Damien Neil302cb322019-06-19 15:22:13 -0700411 NumEnums: 0,
Damien Neil0bf97b72020-01-24 09:00:33 -0800412 NumMessages: 4,
413 NumExtensions: 4,
Damien Neil302cb322019-06-19 15:22:13 -0700414 NumServices: 0,
415 },
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800416 GoTypes: file_internal_testprotos_messageset_msetextpb_msetextpb_proto_goTypes,
417 DependencyIndexes: file_internal_testprotos_messageset_msetextpb_msetextpb_proto_depIdxs,
418 MessageInfos: file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes,
419 ExtensionInfos: file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes,
Damien Neil302cb322019-06-19 15:22:13 -0700420 }.Build()
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800421 File_internal_testprotos_messageset_msetextpb_msetextpb_proto = out.File
422 file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDesc = nil
423 file_internal_testprotos_messageset_msetextpb_msetextpb_proto_goTypes = nil
424 file_internal_testprotos_messageset_msetextpb_msetextpb_proto_depIdxs = nil
Damien Neil302cb322019-06-19 15:22:13 -0700425}