Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 1 | // 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 Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 5 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 6 | // source: messageset/msetextpb/msetextpb.proto |
| 7 | |
| 8 | package msetextpb |
| 9 | |
| 10 | import ( |
| 11 | messagesetpb "google.golang.org/protobuf/internal/testprotos/messageset/messagesetpb" |
| 12 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 13 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 14 | reflect "reflect" |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 15 | sync "sync" |
| 16 | ) |
| 17 | |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 18 | type Ext1 struct { |
| 19 | state protoimpl.MessageState |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 20 | sizeCache protoimpl.SizeCache |
| 21 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 22 | |
| 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 Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 25 | } |
| 26 | |
| 27 | func (x *Ext1) Reset() { |
| 28 | *x = Ext1{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 29 | 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 Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 34 | } |
| 35 | |
| 36 | func (x *Ext1) String() string { |
| 37 | return protoimpl.X.MessageStringOf(x) |
| 38 | } |
| 39 | |
| 40 | func (*Ext1) ProtoMessage() {} |
| 41 | |
| 42 | func (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 Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 54 | // Deprecated: Use Ext1.ProtoReflect.Descriptor instead. |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 55 | func (*Ext1) Descriptor() ([]byte, []int) { |
| 56 | return file_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{0} |
| 57 | } |
| 58 | |
| 59 | func (x *Ext1) GetExt1Field1() int32 { |
| 60 | if x != nil && x.Ext1Field1 != nil { |
| 61 | return *x.Ext1Field1 |
| 62 | } |
| 63 | return 0 |
| 64 | } |
| 65 | |
| 66 | func (x *Ext1) GetExt1Field2() int32 { |
| 67 | if x != nil && x.Ext1Field2 != nil { |
| 68 | return *x.Ext1Field2 |
| 69 | } |
| 70 | return 0 |
| 71 | } |
| 72 | |
| 73 | type Ext2 struct { |
| 74 | state protoimpl.MessageState |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 75 | sizeCache protoimpl.SizeCache |
| 76 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 77 | |
| 78 | Ext2Field1 *int32 `protobuf:"varint,1,opt,name=ext2_field1,json=ext2Field1" json:"ext2_field1,omitempty"` |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 79 | } |
| 80 | |
| 81 | func (x *Ext2) Reset() { |
| 82 | *x = Ext2{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 83 | 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 Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 88 | } |
| 89 | |
| 90 | func (x *Ext2) String() string { |
| 91 | return protoimpl.X.MessageStringOf(x) |
| 92 | } |
| 93 | |
| 94 | func (*Ext2) ProtoMessage() {} |
| 95 | |
| 96 | func (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 Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 108 | // Deprecated: Use Ext2.ProtoReflect.Descriptor instead. |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 109 | func (*Ext2) Descriptor() ([]byte, []int) { |
| 110 | return file_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{1} |
| 111 | } |
| 112 | |
| 113 | func (x *Ext2) GetExt2Field1() int32 { |
| 114 | if x != nil && x.Ext2Field1 != nil { |
| 115 | return *x.Ext2Field1 |
| 116 | } |
| 117 | return 0 |
| 118 | } |
| 119 | |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame^] | 120 | type ExtLargeNumber struct { |
| 121 | state protoimpl.MessageState |
| 122 | sizeCache protoimpl.SizeCache |
| 123 | unknownFields protoimpl.UnknownFields |
| 124 | } |
| 125 | |
| 126 | func (x *ExtLargeNumber) Reset() { |
| 127 | *x = ExtLargeNumber{} |
| 128 | if protoimpl.UnsafeEnabled { |
| 129 | mi := &file_messageset_msetextpb_msetextpb_proto_msgTypes[2] |
| 130 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 131 | ms.StoreMessageInfo(mi) |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | func (x *ExtLargeNumber) String() string { |
| 136 | return protoimpl.X.MessageStringOf(x) |
| 137 | } |
| 138 | |
| 139 | func (*ExtLargeNumber) ProtoMessage() {} |
| 140 | |
| 141 | func (x *ExtLargeNumber) ProtoReflect() protoreflect.Message { |
| 142 | mi := &file_messageset_msetextpb_msetextpb_proto_msgTypes[2] |
| 143 | if protoimpl.UnsafeEnabled && x != nil { |
| 144 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 145 | if ms.LoadMessageInfo() == nil { |
| 146 | ms.StoreMessageInfo(mi) |
| 147 | } |
| 148 | return ms |
| 149 | } |
| 150 | return mi.MessageOf(x) |
| 151 | } |
| 152 | |
| 153 | // Deprecated: Use ExtLargeNumber.ProtoReflect.Descriptor instead. |
| 154 | func (*ExtLargeNumber) Descriptor() ([]byte, []int) { |
| 155 | return file_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{2} |
| 156 | } |
| 157 | |
Damien Neil | f1e905b | 2019-08-08 15:45:59 -0700 | [diff] [blame] | 158 | var file_messageset_msetextpb_msetextpb_proto_extTypes = []protoimpl.ExtensionInfo{ |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 159 | { |
| 160 | ExtendedType: (*messagesetpb.MessageSet)(nil), |
| 161 | ExtensionType: (*Ext1)(nil), |
| 162 | Field: 1000, |
Joe Tsai | 945a170 | 2019-07-20 14:57:56 -0700 | [diff] [blame] | 163 | Name: "goproto.proto.messageset.Ext1", |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 164 | Tag: "bytes,1000,opt,name=message_set_extension", |
| 165 | Filename: "messageset/msetextpb/msetextpb.proto", |
| 166 | }, |
| 167 | { |
| 168 | ExtendedType: (*messagesetpb.MessageSet)(nil), |
| 169 | ExtensionType: (*Ext2)(nil), |
| 170 | Field: 1001, |
Joe Tsai | 945a170 | 2019-07-20 14:57:56 -0700 | [diff] [blame] | 171 | Name: "goproto.proto.messageset.Ext2", |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 172 | Tag: "bytes,1001,opt,name=message_set_extension", |
| 173 | Filename: "messageset/msetextpb/msetextpb.proto", |
| 174 | }, |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame^] | 175 | { |
| 176 | ExtendedType: (*messagesetpb.MessageSet)(nil), |
| 177 | ExtensionType: (*ExtLargeNumber)(nil), |
| 178 | Field: 536870912, |
| 179 | Name: "goproto.proto.messageset.ExtLargeNumber", |
| 180 | Tag: "bytes,536870912,opt,name=message_set_extension", |
| 181 | Filename: "messageset/msetextpb/msetextpb.proto", |
| 182 | }, |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 183 | } |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 184 | |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 185 | // Extension fields to messagesetpb.MessageSet. |
| 186 | var ( |
| 187 | // optional goproto.proto.messageset.Ext1 message_set_extension = 1000; |
Damien Neil | f1e905b | 2019-08-08 15:45:59 -0700 | [diff] [blame] | 188 | E_Ext1_MessageSetExtension = &file_messageset_msetextpb_msetextpb_proto_extTypes[0] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 189 | // optional goproto.proto.messageset.Ext2 message_set_extension = 1001; |
Damien Neil | f1e905b | 2019-08-08 15:45:59 -0700 | [diff] [blame] | 190 | E_Ext2_MessageSetExtension = &file_messageset_msetextpb_msetextpb_proto_extTypes[1] |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame^] | 191 | // optional goproto.proto.messageset.ExtLargeNumber message_set_extension = 536870912; |
| 192 | E_ExtLargeNumber_MessageSetExtension = &file_messageset_msetextpb_msetextpb_proto_extTypes[2] // 1<<29 |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 193 | ) |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 194 | |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 195 | var File_messageset_msetextpb_msetextpb_proto protoreflect.FileDescriptor |
| 196 | |
| 197 | var file_messageset_msetextpb_msetextpb_proto_rawDesc = []byte{ |
| 198 | 0x0a, 0x24, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2f, 0x6d, 0x73, 0x65, |
| 199 | 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x2f, 0x6d, 0x73, 0x65, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, |
| 200 | 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, |
| 201 | 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, |
| 202 | 0x1a, 0x29, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2f, 0x6d, 0x65, 0x73, |
| 203 | 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x70, 0x62, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, |
| 204 | 0x65, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x01, 0x0a, 0x04, |
| 205 | 0x45, 0x78, 0x74, 0x31, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x31, 0x5f, 0x66, 0x69, 0x65, |
| 206 | 0x6c, 0x64, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x31, 0x46, |
| 207 | 0x69, 0x65, 0x6c, 0x64, 0x31, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x31, 0x5f, 0x66, 0x69, |
| 208 | 0x65, 0x6c, 0x64, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x31, |
| 209 | 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x32, 0x79, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, |
| 210 | 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, |
| 211 | 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, |
| 212 | 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, |
| 213 | 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0xe8, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, |
| 214 | 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, |
| 215 | 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x31, 0x52, 0x13, 0x6d, 0x65, |
| 216 | 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, |
| 217 | 0x6e, 0x22, 0xa2, 0x01, 0x0a, 0x04, 0x45, 0x78, 0x74, 0x32, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, |
| 218 | 0x74, 0x32, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, |
| 219 | 0x0a, 0x65, 0x78, 0x74, 0x32, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x32, 0x79, 0x0a, 0x15, 0x6d, |
| 220 | 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, |
| 221 | 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, |
| 222 | 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, |
| 223 | 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, |
| 224 | 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 225 | 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x45, 0x78, 0x74, |
| 226 | 0x32, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame^] | 227 | 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x99, 0x01, 0x0a, 0x0e, 0x45, 0x78, 0x74, 0x4c, 0x61, |
| 228 | 0x72, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x32, 0x86, 0x01, 0x0a, 0x15, 0x6d, 0x65, |
| 229 | 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, |
| 230 | 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, |
| 231 | 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x4d, |
| 232 | 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x80, 0x80, 0x80, 0x80, 0x02, 0x20, |
| 233 | 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, |
| 234 | 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x45, |
| 235 | 0x78, 0x74, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x13, 0x6d, |
| 236 | 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, |
| 237 | 0x6f, 0x6e, 0x42, 0x45, 0x5a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, |
| 238 | 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 239 | 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, |
| 240 | 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2f, |
| 241 | 0x6d, 0x73, 0x65, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 242 | } |
| 243 | |
| 244 | var ( |
| 245 | file_messageset_msetextpb_msetextpb_proto_rawDescOnce sync.Once |
| 246 | file_messageset_msetextpb_msetextpb_proto_rawDescData = file_messageset_msetextpb_msetextpb_proto_rawDesc |
| 247 | ) |
| 248 | |
| 249 | func file_messageset_msetextpb_msetextpb_proto_rawDescGZIP() []byte { |
| 250 | file_messageset_msetextpb_msetextpb_proto_rawDescOnce.Do(func() { |
| 251 | file_messageset_msetextpb_msetextpb_proto_rawDescData = protoimpl.X.CompressGZIP(file_messageset_msetextpb_msetextpb_proto_rawDescData) |
| 252 | }) |
| 253 | return file_messageset_msetextpb_msetextpb_proto_rawDescData |
| 254 | } |
| 255 | |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame^] | 256 | var file_messageset_msetextpb_msetextpb_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 257 | var file_messageset_msetextpb_msetextpb_proto_goTypes = []interface{}{ |
| 258 | (*Ext1)(nil), // 0: goproto.proto.messageset.Ext1 |
| 259 | (*Ext2)(nil), // 1: goproto.proto.messageset.Ext2 |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame^] | 260 | (*ExtLargeNumber)(nil), // 2: goproto.proto.messageset.ExtLargeNumber |
| 261 | (*messagesetpb.MessageSet)(nil), // 3: goproto.proto.messageset.MessageSet |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 262 | } |
| 263 | var file_messageset_msetextpb_msetextpb_proto_depIdxs = []int32{ |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame^] | 264 | 3, // 0: goproto.proto.messageset.Ext1.message_set_extension:extendee -> goproto.proto.messageset.MessageSet |
| 265 | 3, // 1: goproto.proto.messageset.Ext2.message_set_extension:extendee -> goproto.proto.messageset.MessageSet |
| 266 | 3, // 2: goproto.proto.messageset.ExtLargeNumber.message_set_extension:extendee -> goproto.proto.messageset.MessageSet |
| 267 | 0, // 3: goproto.proto.messageset.Ext1.message_set_extension:type_name -> goproto.proto.messageset.Ext1 |
| 268 | 1, // 4: goproto.proto.messageset.Ext2.message_set_extension:type_name -> goproto.proto.messageset.Ext2 |
| 269 | 2, // 5: goproto.proto.messageset.ExtLargeNumber.message_set_extension:type_name -> goproto.proto.messageset.ExtLargeNumber |
| 270 | 6, // [6:6] is the sub-list for method output_type |
| 271 | 6, // [6:6] is the sub-list for method input_type |
| 272 | 3, // [3:6] is the sub-list for extension type_name |
| 273 | 0, // [0:3] is the sub-list for extension extendee |
Joe Tsai | 7328839 | 2019-08-14 11:55:31 -0700 | [diff] [blame] | 274 | 0, // [0:0] is the sub-list for field type_name |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 275 | } |
| 276 | |
| 277 | func init() { file_messageset_msetextpb_msetextpb_proto_init() } |
| 278 | func file_messageset_msetextpb_msetextpb_proto_init() { |
| 279 | if File_messageset_msetextpb_msetextpb_proto != nil { |
| 280 | return |
| 281 | } |
| 282 | if !protoimpl.UnsafeEnabled { |
| 283 | file_messageset_msetextpb_msetextpb_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 284 | switch v := v.(*Ext1); i { |
| 285 | case 0: |
| 286 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 287 | case 1: |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 288 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 289 | case 2: |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 290 | return &v.unknownFields |
| 291 | default: |
| 292 | return nil |
| 293 | } |
| 294 | } |
| 295 | file_messageset_msetextpb_msetextpb_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 296 | switch v := v.(*Ext2); i { |
| 297 | case 0: |
| 298 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 299 | case 1: |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 300 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 301 | case 2: |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 302 | return &v.unknownFields |
| 303 | default: |
| 304 | return nil |
| 305 | } |
| 306 | } |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame^] | 307 | file_messageset_msetextpb_msetextpb_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 308 | switch v := v.(*ExtLargeNumber); i { |
| 309 | case 0: |
| 310 | return &v.state |
| 311 | case 1: |
| 312 | return &v.sizeCache |
| 313 | case 2: |
| 314 | return &v.unknownFields |
| 315 | default: |
| 316 | return nil |
| 317 | } |
| 318 | } |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 319 | } |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 320 | type x struct{} |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 321 | out := protoimpl.TypeBuilder{ |
| 322 | File: protoimpl.DescBuilder{ |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 323 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 324 | RawDescriptor: file_messageset_msetextpb_msetextpb_proto_rawDesc, |
| 325 | NumEnums: 0, |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame^] | 326 | NumMessages: 3, |
| 327 | NumExtensions: 3, |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 328 | NumServices: 0, |
| 329 | }, |
| 330 | GoTypes: file_messageset_msetextpb_msetextpb_proto_goTypes, |
| 331 | DependencyIndexes: file_messageset_msetextpb_msetextpb_proto_depIdxs, |
| 332 | MessageInfos: file_messageset_msetextpb_msetextpb_proto_msgTypes, |
Damien Neil | f1e905b | 2019-08-08 15:45:59 -0700 | [diff] [blame] | 333 | ExtensionInfos: file_messageset_msetextpb_msetextpb_proto_extTypes, |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 334 | }.Build() |
| 335 | File_messageset_msetextpb_msetextpb_proto = out.File |
| 336 | file_messageset_msetextpb_msetextpb_proto_rawDesc = nil |
| 337 | file_messageset_msetextpb_msetextpb_proto_goTypes = nil |
| 338 | file_messageset_msetextpb_msetextpb_proto_depIdxs = nil |
| 339 | } |