Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: encoding/textpb/testprotos/pb2/test.proto |
| 3 | |
| 4 | package pb2 |
| 5 | |
| 6 | import ( |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 7 | proto "github.com/golang/protobuf/proto" |
| 8 | any "github.com/golang/protobuf/ptypes/any" |
| 9 | duration "github.com/golang/protobuf/ptypes/duration" |
| 10 | empty "github.com/golang/protobuf/ptypes/empty" |
| 11 | _struct "github.com/golang/protobuf/ptypes/struct" |
| 12 | timestamp "github.com/golang/protobuf/ptypes/timestamp" |
| 13 | wrappers "github.com/golang/protobuf/ptypes/wrappers" |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 14 | protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect" |
| 15 | prototype "github.com/golang/protobuf/v2/reflect/prototype" |
| 16 | protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl" |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 17 | ) |
| 18 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 19 | // This is a compile-time assertion to ensure that this generated file |
| 20 | // is compatible with the proto package it is being compiled against. |
| 21 | // A compilation error at this line likely means your copy of the |
| 22 | // proto package needs to be updated. |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 23 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 24 | |
| 25 | type Enum int32 |
| 26 | |
| 27 | const ( |
| 28 | Enum_UNKNOWN Enum = 0 |
| 29 | Enum_FIRST Enum = 1 |
| 30 | Enum_SECOND Enum = 2 |
| 31 | Enum_TENTH Enum = 10 |
| 32 | ) |
| 33 | |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 34 | func (e Enum) Type() protoreflect.EnumType { |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 35 | return xxx_Test_ProtoFile_EnumTypes[0] |
| 36 | } |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 37 | func (e Enum) Number() protoreflect.EnumNumber { |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 38 | return protoreflect.EnumNumber(e) |
| 39 | } |
| 40 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 41 | var Enum_name = map[int32]string{ |
| 42 | 0: "UNKNOWN", |
| 43 | 1: "FIRST", |
| 44 | 2: "SECOND", |
| 45 | 10: "TENTH", |
| 46 | } |
| 47 | |
| 48 | var Enum_value = map[string]int32{ |
| 49 | "UNKNOWN": 0, |
| 50 | "FIRST": 1, |
| 51 | "SECOND": 2, |
| 52 | "TENTH": 10, |
| 53 | } |
| 54 | |
| 55 | func (x Enum) Enum() *Enum { |
| 56 | p := new(Enum) |
| 57 | *p = x |
| 58 | return p |
| 59 | } |
| 60 | |
| 61 | func (x Enum) String() string { |
| 62 | return proto.EnumName(Enum_name, int32(x)) |
| 63 | } |
| 64 | |
| 65 | func (x *Enum) UnmarshalJSON(data []byte) error { |
| 66 | value, err := proto.UnmarshalJSONEnum(Enum_value, data, "Enum") |
| 67 | if err != nil { |
| 68 | return err |
| 69 | } |
| 70 | *x = Enum(value) |
| 71 | return nil |
| 72 | } |
| 73 | |
| 74 | func (Enum) EnumDescriptor() ([]byte, []int) { |
| 75 | return fileDescriptor_c8d7acc1bcec9a72, []int{0} |
| 76 | } |
| 77 | |
| 78 | type Enums_NestedEnum int32 |
| 79 | |
| 80 | const ( |
| 81 | Enums_UNO Enums_NestedEnum = 1 |
| 82 | Enums_DOS Enums_NestedEnum = 2 |
| 83 | Enums_DIEZ Enums_NestedEnum = 10 |
| 84 | ) |
| 85 | |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 86 | func (e Enums_NestedEnum) Type() protoreflect.EnumType { |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 87 | return xxx_Test_ProtoFile_EnumTypes[1] |
| 88 | } |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 89 | func (e Enums_NestedEnum) Number() protoreflect.EnumNumber { |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 90 | return protoreflect.EnumNumber(e) |
| 91 | } |
| 92 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 93 | var Enums_NestedEnum_name = map[int32]string{ |
| 94 | 1: "UNO", |
| 95 | 2: "DOS", |
| 96 | 10: "DIEZ", |
| 97 | } |
| 98 | |
| 99 | var Enums_NestedEnum_value = map[string]int32{ |
| 100 | "UNO": 1, |
| 101 | "DOS": 2, |
| 102 | "DIEZ": 10, |
| 103 | } |
| 104 | |
| 105 | func (x Enums_NestedEnum) Enum() *Enums_NestedEnum { |
| 106 | p := new(Enums_NestedEnum) |
| 107 | *p = x |
| 108 | return p |
| 109 | } |
| 110 | |
| 111 | func (x Enums_NestedEnum) String() string { |
| 112 | return proto.EnumName(Enums_NestedEnum_name, int32(x)) |
| 113 | } |
| 114 | |
| 115 | func (x *Enums_NestedEnum) UnmarshalJSON(data []byte) error { |
| 116 | value, err := proto.UnmarshalJSONEnum(Enums_NestedEnum_value, data, "Enums_NestedEnum") |
| 117 | if err != nil { |
| 118 | return err |
| 119 | } |
| 120 | *x = Enums_NestedEnum(value) |
| 121 | return nil |
| 122 | } |
| 123 | |
| 124 | func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) { |
| 125 | return fileDescriptor_c8d7acc1bcec9a72, []int{2, 0} |
| 126 | } |
| 127 | |
| 128 | // Scalars contains optional scalar fields. |
| 129 | type Scalars struct { |
| 130 | OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"` |
| 131 | OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"` |
| 132 | OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"` |
| 133 | OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"` |
| 134 | OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"` |
| 135 | OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"` |
| 136 | OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"` |
| 137 | OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"` |
| 138 | OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"` |
| 139 | OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"` |
| 140 | OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"` |
| 141 | OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"` |
| 142 | OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"` |
| 143 | OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"` |
| 144 | OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
| 145 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 146 | XXX_unrecognized []byte `json:"-"` |
| 147 | XXX_sizecache int32 `json:"-"` |
| 148 | } |
| 149 | |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 150 | type xxx_Scalars struct{ m *Scalars } |
| 151 | |
| 152 | func (m *Scalars) ProtoReflect() protoreflect.Message { |
| 153 | return xxx_Scalars{m} |
| 154 | } |
| 155 | func (m xxx_Scalars) Type() protoreflect.MessageType { |
| 156 | return xxx_Test_ProtoFile_MessageTypes[0].Type |
| 157 | } |
| 158 | func (m xxx_Scalars) KnownFields() protoreflect.KnownFields { |
| 159 | return xxx_Test_ProtoFile_MessageTypes[0].KnownFieldsOf(m.m) |
| 160 | } |
| 161 | func (m xxx_Scalars) UnknownFields() protoreflect.UnknownFields { |
| 162 | return xxx_Test_ProtoFile_MessageTypes[0].UnknownFieldsOf(m.m) |
| 163 | } |
| 164 | func (m xxx_Scalars) Interface() protoreflect.ProtoMessage { |
| 165 | return m.m |
| 166 | } |
| 167 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 168 | func (m *Scalars) Reset() { *m = Scalars{} } |
| 169 | func (m *Scalars) String() string { return proto.CompactTextString(m) } |
| 170 | func (*Scalars) ProtoMessage() {} |
| 171 | func (*Scalars) Descriptor() ([]byte, []int) { |
| 172 | return fileDescriptor_c8d7acc1bcec9a72, []int{0} |
| 173 | } |
| 174 | |
| 175 | func (m *Scalars) XXX_Unmarshal(b []byte) error { |
| 176 | return xxx_messageInfo_Scalars.Unmarshal(m, b) |
| 177 | } |
| 178 | func (m *Scalars) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 179 | return xxx_messageInfo_Scalars.Marshal(b, m, deterministic) |
| 180 | } |
| 181 | func (m *Scalars) XXX_Merge(src proto.Message) { |
| 182 | xxx_messageInfo_Scalars.Merge(m, src) |
| 183 | } |
| 184 | func (m *Scalars) XXX_Size() int { |
| 185 | return xxx_messageInfo_Scalars.Size(m) |
| 186 | } |
| 187 | func (m *Scalars) XXX_DiscardUnknown() { |
| 188 | xxx_messageInfo_Scalars.DiscardUnknown(m) |
| 189 | } |
| 190 | |
| 191 | var xxx_messageInfo_Scalars proto.InternalMessageInfo |
| 192 | |
| 193 | func (m *Scalars) GetOptBool() bool { |
| 194 | if m != nil && m.OptBool != nil { |
| 195 | return *m.OptBool |
| 196 | } |
| 197 | return false |
| 198 | } |
| 199 | |
| 200 | func (m *Scalars) GetOptInt32() int32 { |
| 201 | if m != nil && m.OptInt32 != nil { |
| 202 | return *m.OptInt32 |
| 203 | } |
| 204 | return 0 |
| 205 | } |
| 206 | |
| 207 | func (m *Scalars) GetOptInt64() int64 { |
| 208 | if m != nil && m.OptInt64 != nil { |
| 209 | return *m.OptInt64 |
| 210 | } |
| 211 | return 0 |
| 212 | } |
| 213 | |
| 214 | func (m *Scalars) GetOptUint32() uint32 { |
| 215 | if m != nil && m.OptUint32 != nil { |
| 216 | return *m.OptUint32 |
| 217 | } |
| 218 | return 0 |
| 219 | } |
| 220 | |
| 221 | func (m *Scalars) GetOptUint64() uint64 { |
| 222 | if m != nil && m.OptUint64 != nil { |
| 223 | return *m.OptUint64 |
| 224 | } |
| 225 | return 0 |
| 226 | } |
| 227 | |
| 228 | func (m *Scalars) GetOptSint32() int32 { |
| 229 | if m != nil && m.OptSint32 != nil { |
| 230 | return *m.OptSint32 |
| 231 | } |
| 232 | return 0 |
| 233 | } |
| 234 | |
| 235 | func (m *Scalars) GetOptSint64() int64 { |
| 236 | if m != nil && m.OptSint64 != nil { |
| 237 | return *m.OptSint64 |
| 238 | } |
| 239 | return 0 |
| 240 | } |
| 241 | |
| 242 | func (m *Scalars) GetOptFixed32() uint32 { |
| 243 | if m != nil && m.OptFixed32 != nil { |
| 244 | return *m.OptFixed32 |
| 245 | } |
| 246 | return 0 |
| 247 | } |
| 248 | |
| 249 | func (m *Scalars) GetOptFixed64() uint64 { |
| 250 | if m != nil && m.OptFixed64 != nil { |
| 251 | return *m.OptFixed64 |
| 252 | } |
| 253 | return 0 |
| 254 | } |
| 255 | |
| 256 | func (m *Scalars) GetOptSfixed32() int32 { |
| 257 | if m != nil && m.OptSfixed32 != nil { |
| 258 | return *m.OptSfixed32 |
| 259 | } |
| 260 | return 0 |
| 261 | } |
| 262 | |
| 263 | func (m *Scalars) GetOptSfixed64() int64 { |
| 264 | if m != nil && m.OptSfixed64 != nil { |
| 265 | return *m.OptSfixed64 |
| 266 | } |
| 267 | return 0 |
| 268 | } |
| 269 | |
| 270 | func (m *Scalars) GetOptFloat() float32 { |
| 271 | if m != nil && m.OptFloat != nil { |
| 272 | return *m.OptFloat |
| 273 | } |
| 274 | return 0 |
| 275 | } |
| 276 | |
| 277 | func (m *Scalars) GetOptDouble() float64 { |
| 278 | if m != nil && m.OptDouble != nil { |
| 279 | return *m.OptDouble |
| 280 | } |
| 281 | return 0 |
| 282 | } |
| 283 | |
| 284 | func (m *Scalars) GetOptBytes() []byte { |
| 285 | if m != nil { |
| 286 | return m.OptBytes |
| 287 | } |
| 288 | return nil |
| 289 | } |
| 290 | |
| 291 | func (m *Scalars) GetOptString() string { |
| 292 | if m != nil && m.OptString != nil { |
| 293 | return *m.OptString |
| 294 | } |
| 295 | return "" |
| 296 | } |
| 297 | |
| 298 | // Message contains repeated fields. |
| 299 | type Repeats struct { |
| 300 | RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"` |
| 301 | RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"` |
| 302 | RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"` |
| 303 | RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"` |
| 304 | RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"` |
| 305 | RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"` |
| 306 | RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"` |
| 307 | RptString []string `protobuf:"bytes,15,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"` |
| 308 | RptBytes [][]byte `protobuf:"bytes,14,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"` |
| 309 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 310 | XXX_unrecognized []byte `json:"-"` |
| 311 | XXX_sizecache int32 `json:"-"` |
| 312 | } |
| 313 | |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 314 | type xxx_Repeats struct{ m *Repeats } |
| 315 | |
| 316 | func (m *Repeats) ProtoReflect() protoreflect.Message { |
| 317 | return xxx_Repeats{m} |
| 318 | } |
| 319 | func (m xxx_Repeats) Type() protoreflect.MessageType { |
| 320 | return xxx_Test_ProtoFile_MessageTypes[1].Type |
| 321 | } |
| 322 | func (m xxx_Repeats) KnownFields() protoreflect.KnownFields { |
| 323 | return xxx_Test_ProtoFile_MessageTypes[1].KnownFieldsOf(m.m) |
| 324 | } |
| 325 | func (m xxx_Repeats) UnknownFields() protoreflect.UnknownFields { |
| 326 | return xxx_Test_ProtoFile_MessageTypes[1].UnknownFieldsOf(m.m) |
| 327 | } |
| 328 | func (m xxx_Repeats) Interface() protoreflect.ProtoMessage { |
| 329 | return m.m |
| 330 | } |
| 331 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 332 | func (m *Repeats) Reset() { *m = Repeats{} } |
| 333 | func (m *Repeats) String() string { return proto.CompactTextString(m) } |
| 334 | func (*Repeats) ProtoMessage() {} |
| 335 | func (*Repeats) Descriptor() ([]byte, []int) { |
| 336 | return fileDescriptor_c8d7acc1bcec9a72, []int{1} |
| 337 | } |
| 338 | |
| 339 | func (m *Repeats) XXX_Unmarshal(b []byte) error { |
| 340 | return xxx_messageInfo_Repeats.Unmarshal(m, b) |
| 341 | } |
| 342 | func (m *Repeats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 343 | return xxx_messageInfo_Repeats.Marshal(b, m, deterministic) |
| 344 | } |
| 345 | func (m *Repeats) XXX_Merge(src proto.Message) { |
| 346 | xxx_messageInfo_Repeats.Merge(m, src) |
| 347 | } |
| 348 | func (m *Repeats) XXX_Size() int { |
| 349 | return xxx_messageInfo_Repeats.Size(m) |
| 350 | } |
| 351 | func (m *Repeats) XXX_DiscardUnknown() { |
| 352 | xxx_messageInfo_Repeats.DiscardUnknown(m) |
| 353 | } |
| 354 | |
| 355 | var xxx_messageInfo_Repeats proto.InternalMessageInfo |
| 356 | |
| 357 | func (m *Repeats) GetRptBool() []bool { |
| 358 | if m != nil { |
| 359 | return m.RptBool |
| 360 | } |
| 361 | return nil |
| 362 | } |
| 363 | |
| 364 | func (m *Repeats) GetRptInt32() []int32 { |
| 365 | if m != nil { |
| 366 | return m.RptInt32 |
| 367 | } |
| 368 | return nil |
| 369 | } |
| 370 | |
| 371 | func (m *Repeats) GetRptInt64() []int64 { |
| 372 | if m != nil { |
| 373 | return m.RptInt64 |
| 374 | } |
| 375 | return nil |
| 376 | } |
| 377 | |
| 378 | func (m *Repeats) GetRptUint32() []uint32 { |
| 379 | if m != nil { |
| 380 | return m.RptUint32 |
| 381 | } |
| 382 | return nil |
| 383 | } |
| 384 | |
| 385 | func (m *Repeats) GetRptUint64() []uint64 { |
| 386 | if m != nil { |
| 387 | return m.RptUint64 |
| 388 | } |
| 389 | return nil |
| 390 | } |
| 391 | |
| 392 | func (m *Repeats) GetRptFloat() []float32 { |
| 393 | if m != nil { |
| 394 | return m.RptFloat |
| 395 | } |
| 396 | return nil |
| 397 | } |
| 398 | |
| 399 | func (m *Repeats) GetRptDouble() []float64 { |
| 400 | if m != nil { |
| 401 | return m.RptDouble |
| 402 | } |
| 403 | return nil |
| 404 | } |
| 405 | |
| 406 | func (m *Repeats) GetRptString() []string { |
| 407 | if m != nil { |
| 408 | return m.RptString |
| 409 | } |
| 410 | return nil |
| 411 | } |
| 412 | |
| 413 | func (m *Repeats) GetRptBytes() [][]byte { |
| 414 | if m != nil { |
| 415 | return m.RptBytes |
| 416 | } |
| 417 | return nil |
| 418 | } |
| 419 | |
| 420 | // Message contains enum fields. |
| 421 | type Enums struct { |
| 422 | OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"` |
| 423 | RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"` |
| 424 | OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"` |
| 425 | RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"` |
| 426 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 427 | XXX_unrecognized []byte `json:"-"` |
| 428 | XXX_sizecache int32 `json:"-"` |
| 429 | } |
| 430 | |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 431 | type xxx_Enums struct{ m *Enums } |
| 432 | |
| 433 | func (m *Enums) ProtoReflect() protoreflect.Message { |
| 434 | return xxx_Enums{m} |
| 435 | } |
| 436 | func (m xxx_Enums) Type() protoreflect.MessageType { |
| 437 | return xxx_Test_ProtoFile_MessageTypes[2].Type |
| 438 | } |
| 439 | func (m xxx_Enums) KnownFields() protoreflect.KnownFields { |
| 440 | return xxx_Test_ProtoFile_MessageTypes[2].KnownFieldsOf(m.m) |
| 441 | } |
| 442 | func (m xxx_Enums) UnknownFields() protoreflect.UnknownFields { |
| 443 | return xxx_Test_ProtoFile_MessageTypes[2].UnknownFieldsOf(m.m) |
| 444 | } |
| 445 | func (m xxx_Enums) Interface() protoreflect.ProtoMessage { |
| 446 | return m.m |
| 447 | } |
| 448 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 449 | func (m *Enums) Reset() { *m = Enums{} } |
| 450 | func (m *Enums) String() string { return proto.CompactTextString(m) } |
| 451 | func (*Enums) ProtoMessage() {} |
| 452 | func (*Enums) Descriptor() ([]byte, []int) { |
| 453 | return fileDescriptor_c8d7acc1bcec9a72, []int{2} |
| 454 | } |
| 455 | |
| 456 | func (m *Enums) XXX_Unmarshal(b []byte) error { |
| 457 | return xxx_messageInfo_Enums.Unmarshal(m, b) |
| 458 | } |
| 459 | func (m *Enums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 460 | return xxx_messageInfo_Enums.Marshal(b, m, deterministic) |
| 461 | } |
| 462 | func (m *Enums) XXX_Merge(src proto.Message) { |
| 463 | xxx_messageInfo_Enums.Merge(m, src) |
| 464 | } |
| 465 | func (m *Enums) XXX_Size() int { |
| 466 | return xxx_messageInfo_Enums.Size(m) |
| 467 | } |
| 468 | func (m *Enums) XXX_DiscardUnknown() { |
| 469 | xxx_messageInfo_Enums.DiscardUnknown(m) |
| 470 | } |
| 471 | |
| 472 | var xxx_messageInfo_Enums proto.InternalMessageInfo |
| 473 | |
| 474 | func (m *Enums) GetOptEnum() Enum { |
| 475 | if m != nil && m.OptEnum != nil { |
| 476 | return *m.OptEnum |
| 477 | } |
| 478 | return Enum_UNKNOWN |
| 479 | } |
| 480 | |
| 481 | func (m *Enums) GetRptEnum() []Enum { |
| 482 | if m != nil { |
| 483 | return m.RptEnum |
| 484 | } |
| 485 | return nil |
| 486 | } |
| 487 | |
| 488 | func (m *Enums) GetOptNestedEnum() Enums_NestedEnum { |
| 489 | if m != nil && m.OptNestedEnum != nil { |
| 490 | return *m.OptNestedEnum |
| 491 | } |
| 492 | return Enums_UNO |
| 493 | } |
| 494 | |
| 495 | func (m *Enums) GetRptNestedEnum() []Enums_NestedEnum { |
| 496 | if m != nil { |
| 497 | return m.RptNestedEnum |
| 498 | } |
| 499 | return nil |
| 500 | } |
| 501 | |
| 502 | // Message contains message and group fields. |
| 503 | type Nests struct { |
| 504 | OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"` |
| 505 | Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"` |
| 506 | RptNested []*Nested `protobuf:"bytes,3,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"` |
| 507 | Rptgroup []*Nests_RptGroup `protobuf:"group,4,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"` |
| 508 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 509 | XXX_unrecognized []byte `json:"-"` |
| 510 | XXX_sizecache int32 `json:"-"` |
| 511 | } |
| 512 | |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 513 | type xxx_Nests struct{ m *Nests } |
| 514 | |
| 515 | func (m *Nests) ProtoReflect() protoreflect.Message { |
| 516 | return xxx_Nests{m} |
| 517 | } |
| 518 | func (m xxx_Nests) Type() protoreflect.MessageType { |
| 519 | return xxx_Test_ProtoFile_MessageTypes[3].Type |
| 520 | } |
| 521 | func (m xxx_Nests) KnownFields() protoreflect.KnownFields { |
| 522 | return xxx_Test_ProtoFile_MessageTypes[3].KnownFieldsOf(m.m) |
| 523 | } |
| 524 | func (m xxx_Nests) UnknownFields() protoreflect.UnknownFields { |
| 525 | return xxx_Test_ProtoFile_MessageTypes[3].UnknownFieldsOf(m.m) |
| 526 | } |
| 527 | func (m xxx_Nests) Interface() protoreflect.ProtoMessage { |
| 528 | return m.m |
| 529 | } |
| 530 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 531 | func (m *Nests) Reset() { *m = Nests{} } |
| 532 | func (m *Nests) String() string { return proto.CompactTextString(m) } |
| 533 | func (*Nests) ProtoMessage() {} |
| 534 | func (*Nests) Descriptor() ([]byte, []int) { |
| 535 | return fileDescriptor_c8d7acc1bcec9a72, []int{3} |
| 536 | } |
| 537 | |
| 538 | func (m *Nests) XXX_Unmarshal(b []byte) error { |
| 539 | return xxx_messageInfo_Nests.Unmarshal(m, b) |
| 540 | } |
| 541 | func (m *Nests) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 542 | return xxx_messageInfo_Nests.Marshal(b, m, deterministic) |
| 543 | } |
| 544 | func (m *Nests) XXX_Merge(src proto.Message) { |
| 545 | xxx_messageInfo_Nests.Merge(m, src) |
| 546 | } |
| 547 | func (m *Nests) XXX_Size() int { |
| 548 | return xxx_messageInfo_Nests.Size(m) |
| 549 | } |
| 550 | func (m *Nests) XXX_DiscardUnknown() { |
| 551 | xxx_messageInfo_Nests.DiscardUnknown(m) |
| 552 | } |
| 553 | |
| 554 | var xxx_messageInfo_Nests proto.InternalMessageInfo |
| 555 | |
| 556 | func (m *Nests) GetOptNested() *Nested { |
| 557 | if m != nil { |
| 558 | return m.OptNested |
| 559 | } |
| 560 | return nil |
| 561 | } |
| 562 | |
| 563 | func (m *Nests) GetOptgroup() *Nests_OptGroup { |
| 564 | if m != nil { |
| 565 | return m.Optgroup |
| 566 | } |
| 567 | return nil |
| 568 | } |
| 569 | |
| 570 | func (m *Nests) GetRptNested() []*Nested { |
| 571 | if m != nil { |
| 572 | return m.RptNested |
| 573 | } |
| 574 | return nil |
| 575 | } |
| 576 | |
| 577 | func (m *Nests) GetRptgroup() []*Nests_RptGroup { |
| 578 | if m != nil { |
| 579 | return m.Rptgroup |
| 580 | } |
| 581 | return nil |
| 582 | } |
| 583 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 584 | // Message type used as submessage. |
| 585 | type Nested struct { |
| 586 | OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
| 587 | OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"` |
| 588 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 589 | XXX_unrecognized []byte `json:"-"` |
| 590 | XXX_sizecache int32 `json:"-"` |
| 591 | } |
| 592 | |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 593 | type xxx_Nested struct{ m *Nested } |
| 594 | |
| 595 | func (m *Nested) ProtoReflect() protoreflect.Message { |
| 596 | return xxx_Nested{m} |
| 597 | } |
| 598 | func (m xxx_Nested) Type() protoreflect.MessageType { |
| 599 | return xxx_Test_ProtoFile_MessageTypes[4].Type |
| 600 | } |
| 601 | func (m xxx_Nested) KnownFields() protoreflect.KnownFields { |
| 602 | return xxx_Test_ProtoFile_MessageTypes[4].KnownFieldsOf(m.m) |
| 603 | } |
| 604 | func (m xxx_Nested) UnknownFields() protoreflect.UnknownFields { |
| 605 | return xxx_Test_ProtoFile_MessageTypes[4].UnknownFieldsOf(m.m) |
| 606 | } |
| 607 | func (m xxx_Nested) Interface() protoreflect.ProtoMessage { |
| 608 | return m.m |
| 609 | } |
| 610 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 611 | func (m *Nested) Reset() { *m = Nested{} } |
| 612 | func (m *Nested) String() string { return proto.CompactTextString(m) } |
| 613 | func (*Nested) ProtoMessage() {} |
| 614 | func (*Nested) Descriptor() ([]byte, []int) { |
| 615 | return fileDescriptor_c8d7acc1bcec9a72, []int{4} |
| 616 | } |
| 617 | |
| 618 | func (m *Nested) XXX_Unmarshal(b []byte) error { |
| 619 | return xxx_messageInfo_Nested.Unmarshal(m, b) |
| 620 | } |
| 621 | func (m *Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 622 | return xxx_messageInfo_Nested.Marshal(b, m, deterministic) |
| 623 | } |
| 624 | func (m *Nested) XXX_Merge(src proto.Message) { |
| 625 | xxx_messageInfo_Nested.Merge(m, src) |
| 626 | } |
| 627 | func (m *Nested) XXX_Size() int { |
| 628 | return xxx_messageInfo_Nested.Size(m) |
| 629 | } |
| 630 | func (m *Nested) XXX_DiscardUnknown() { |
| 631 | xxx_messageInfo_Nested.DiscardUnknown(m) |
| 632 | } |
| 633 | |
| 634 | var xxx_messageInfo_Nested proto.InternalMessageInfo |
| 635 | |
| 636 | func (m *Nested) GetOptString() string { |
| 637 | if m != nil && m.OptString != nil { |
| 638 | return *m.OptString |
| 639 | } |
| 640 | return "" |
| 641 | } |
| 642 | |
| 643 | func (m *Nested) GetOptNested() *Nested { |
| 644 | if m != nil { |
| 645 | return m.OptNested |
| 646 | } |
| 647 | return nil |
| 648 | } |
| 649 | |
| 650 | // Message contains required fields. |
| 651 | type Requireds struct { |
| 652 | ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"` |
| 653 | ReqFixed32 *uint32 `protobuf:"fixed32,2,req,name=req_fixed32,json=reqFixed32" json:"req_fixed32,omitempty"` |
| 654 | ReqFixed64 *uint64 `protobuf:"fixed64,3,req,name=req_fixed64,json=reqFixed64" json:"req_fixed64,omitempty"` |
| 655 | ReqSfixed32 *int32 `protobuf:"fixed32,4,req,name=req_sfixed32,json=reqSfixed32" json:"req_sfixed32,omitempty"` |
| 656 | ReqSfixed64 *int64 `protobuf:"fixed64,5,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"` |
| 657 | ReqFloat *float32 `protobuf:"fixed32,6,req,name=req_float,json=reqFloat" json:"req_float,omitempty"` |
| 658 | ReqDouble *float64 `protobuf:"fixed64,7,req,name=req_double,json=reqDouble" json:"req_double,omitempty"` |
| 659 | ReqString *string `protobuf:"bytes,8,req,name=req_string,json=reqString" json:"req_string,omitempty"` |
| 660 | ReqBytes []byte `protobuf:"bytes,9,req,name=req_bytes,json=reqBytes" json:"req_bytes,omitempty"` |
| 661 | ReqEnum *Enum `protobuf:"varint,10,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"` |
| 662 | ReqNested *Nested `protobuf:"bytes,11,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"` |
| 663 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 664 | XXX_unrecognized []byte `json:"-"` |
| 665 | XXX_sizecache int32 `json:"-"` |
| 666 | } |
| 667 | |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 668 | type xxx_Requireds struct{ m *Requireds } |
| 669 | |
| 670 | func (m *Requireds) ProtoReflect() protoreflect.Message { |
| 671 | return xxx_Requireds{m} |
| 672 | } |
| 673 | func (m xxx_Requireds) Type() protoreflect.MessageType { |
| 674 | return xxx_Test_ProtoFile_MessageTypes[5].Type |
| 675 | } |
| 676 | func (m xxx_Requireds) KnownFields() protoreflect.KnownFields { |
| 677 | return xxx_Test_ProtoFile_MessageTypes[5].KnownFieldsOf(m.m) |
| 678 | } |
| 679 | func (m xxx_Requireds) UnknownFields() protoreflect.UnknownFields { |
| 680 | return xxx_Test_ProtoFile_MessageTypes[5].UnknownFieldsOf(m.m) |
| 681 | } |
| 682 | func (m xxx_Requireds) Interface() protoreflect.ProtoMessage { |
| 683 | return m.m |
| 684 | } |
| 685 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 686 | func (m *Requireds) Reset() { *m = Requireds{} } |
| 687 | func (m *Requireds) String() string { return proto.CompactTextString(m) } |
| 688 | func (*Requireds) ProtoMessage() {} |
| 689 | func (*Requireds) Descriptor() ([]byte, []int) { |
| 690 | return fileDescriptor_c8d7acc1bcec9a72, []int{5} |
| 691 | } |
| 692 | |
| 693 | func (m *Requireds) XXX_Unmarshal(b []byte) error { |
| 694 | return xxx_messageInfo_Requireds.Unmarshal(m, b) |
| 695 | } |
| 696 | func (m *Requireds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 697 | return xxx_messageInfo_Requireds.Marshal(b, m, deterministic) |
| 698 | } |
| 699 | func (m *Requireds) XXX_Merge(src proto.Message) { |
| 700 | xxx_messageInfo_Requireds.Merge(m, src) |
| 701 | } |
| 702 | func (m *Requireds) XXX_Size() int { |
| 703 | return xxx_messageInfo_Requireds.Size(m) |
| 704 | } |
| 705 | func (m *Requireds) XXX_DiscardUnknown() { |
| 706 | xxx_messageInfo_Requireds.DiscardUnknown(m) |
| 707 | } |
| 708 | |
| 709 | var xxx_messageInfo_Requireds proto.InternalMessageInfo |
| 710 | |
| 711 | func (m *Requireds) GetReqBool() bool { |
| 712 | if m != nil && m.ReqBool != nil { |
| 713 | return *m.ReqBool |
| 714 | } |
| 715 | return false |
| 716 | } |
| 717 | |
| 718 | func (m *Requireds) GetReqFixed32() uint32 { |
| 719 | if m != nil && m.ReqFixed32 != nil { |
| 720 | return *m.ReqFixed32 |
| 721 | } |
| 722 | return 0 |
| 723 | } |
| 724 | |
| 725 | func (m *Requireds) GetReqFixed64() uint64 { |
| 726 | if m != nil && m.ReqFixed64 != nil { |
| 727 | return *m.ReqFixed64 |
| 728 | } |
| 729 | return 0 |
| 730 | } |
| 731 | |
| 732 | func (m *Requireds) GetReqSfixed32() int32 { |
| 733 | if m != nil && m.ReqSfixed32 != nil { |
| 734 | return *m.ReqSfixed32 |
| 735 | } |
| 736 | return 0 |
| 737 | } |
| 738 | |
| 739 | func (m *Requireds) GetReqSfixed64() int64 { |
| 740 | if m != nil && m.ReqSfixed64 != nil { |
| 741 | return *m.ReqSfixed64 |
| 742 | } |
| 743 | return 0 |
| 744 | } |
| 745 | |
| 746 | func (m *Requireds) GetReqFloat() float32 { |
| 747 | if m != nil && m.ReqFloat != nil { |
| 748 | return *m.ReqFloat |
| 749 | } |
| 750 | return 0 |
| 751 | } |
| 752 | |
| 753 | func (m *Requireds) GetReqDouble() float64 { |
| 754 | if m != nil && m.ReqDouble != nil { |
| 755 | return *m.ReqDouble |
| 756 | } |
| 757 | return 0 |
| 758 | } |
| 759 | |
| 760 | func (m *Requireds) GetReqString() string { |
| 761 | if m != nil && m.ReqString != nil { |
| 762 | return *m.ReqString |
| 763 | } |
| 764 | return "" |
| 765 | } |
| 766 | |
| 767 | func (m *Requireds) GetReqBytes() []byte { |
| 768 | if m != nil { |
| 769 | return m.ReqBytes |
| 770 | } |
| 771 | return nil |
| 772 | } |
| 773 | |
| 774 | func (m *Requireds) GetReqEnum() Enum { |
| 775 | if m != nil && m.ReqEnum != nil { |
| 776 | return *m.ReqEnum |
| 777 | } |
| 778 | return Enum_UNKNOWN |
| 779 | } |
| 780 | |
| 781 | func (m *Requireds) GetReqNested() *Nested { |
| 782 | if m != nil { |
| 783 | return m.ReqNested |
| 784 | } |
| 785 | return nil |
| 786 | } |
| 787 | |
Herbie Ong | 800c990 | 2018-12-06 15:28:53 -0800 | [diff] [blame] | 788 | // Message contains both required and optional fields. |
| 789 | type PartialRequired struct { |
| 790 | ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"` |
| 791 | OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
| 792 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 793 | XXX_unrecognized []byte `json:"-"` |
| 794 | XXX_sizecache int32 `json:"-"` |
| 795 | } |
| 796 | |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 797 | type xxx_PartialRequired struct{ m *PartialRequired } |
| 798 | |
| 799 | func (m *PartialRequired) ProtoReflect() protoreflect.Message { |
| 800 | return xxx_PartialRequired{m} |
| 801 | } |
| 802 | func (m xxx_PartialRequired) Type() protoreflect.MessageType { |
| 803 | return xxx_Test_ProtoFile_MessageTypes[6].Type |
| 804 | } |
| 805 | func (m xxx_PartialRequired) KnownFields() protoreflect.KnownFields { |
| 806 | return xxx_Test_ProtoFile_MessageTypes[6].KnownFieldsOf(m.m) |
| 807 | } |
| 808 | func (m xxx_PartialRequired) UnknownFields() protoreflect.UnknownFields { |
| 809 | return xxx_Test_ProtoFile_MessageTypes[6].UnknownFieldsOf(m.m) |
| 810 | } |
| 811 | func (m xxx_PartialRequired) Interface() protoreflect.ProtoMessage { |
| 812 | return m.m |
| 813 | } |
| 814 | |
Herbie Ong | 800c990 | 2018-12-06 15:28:53 -0800 | [diff] [blame] | 815 | func (m *PartialRequired) Reset() { *m = PartialRequired{} } |
| 816 | func (m *PartialRequired) String() string { return proto.CompactTextString(m) } |
| 817 | func (*PartialRequired) ProtoMessage() {} |
| 818 | func (*PartialRequired) Descriptor() ([]byte, []int) { |
| 819 | return fileDescriptor_c8d7acc1bcec9a72, []int{6} |
| 820 | } |
| 821 | |
| 822 | func (m *PartialRequired) XXX_Unmarshal(b []byte) error { |
| 823 | return xxx_messageInfo_PartialRequired.Unmarshal(m, b) |
| 824 | } |
| 825 | func (m *PartialRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 826 | return xxx_messageInfo_PartialRequired.Marshal(b, m, deterministic) |
| 827 | } |
| 828 | func (m *PartialRequired) XXX_Merge(src proto.Message) { |
| 829 | xxx_messageInfo_PartialRequired.Merge(m, src) |
| 830 | } |
| 831 | func (m *PartialRequired) XXX_Size() int { |
| 832 | return xxx_messageInfo_PartialRequired.Size(m) |
| 833 | } |
| 834 | func (m *PartialRequired) XXX_DiscardUnknown() { |
| 835 | xxx_messageInfo_PartialRequired.DiscardUnknown(m) |
| 836 | } |
| 837 | |
| 838 | var xxx_messageInfo_PartialRequired proto.InternalMessageInfo |
| 839 | |
| 840 | func (m *PartialRequired) GetReqString() string { |
| 841 | if m != nil && m.ReqString != nil { |
| 842 | return *m.ReqString |
| 843 | } |
| 844 | return "" |
| 845 | } |
| 846 | |
| 847 | func (m *PartialRequired) GetOptString() string { |
| 848 | if m != nil && m.OptString != nil { |
| 849 | return *m.OptString |
| 850 | } |
| 851 | return "" |
| 852 | } |
| 853 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 854 | // Message contains oneof field. |
| 855 | type Oneofs struct { |
| 856 | // Types that are valid to be assigned to Union: |
| 857 | // *Oneofs_Str |
| 858 | // *Oneofs_Msg |
| 859 | Union isOneofs_Union `protobuf_oneof:"union"` |
| 860 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 861 | XXX_unrecognized []byte `json:"-"` |
| 862 | XXX_sizecache int32 `json:"-"` |
| 863 | } |
| 864 | |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 865 | type xxx_Oneofs struct{ m *Oneofs } |
| 866 | |
| 867 | func (m *Oneofs) ProtoReflect() protoreflect.Message { |
| 868 | return xxx_Oneofs{m} |
| 869 | } |
| 870 | func (m xxx_Oneofs) Type() protoreflect.MessageType { |
| 871 | return xxx_Test_ProtoFile_MessageTypes[7].Type |
| 872 | } |
| 873 | func (m xxx_Oneofs) KnownFields() protoreflect.KnownFields { |
| 874 | return xxx_Test_ProtoFile_MessageTypes[7].KnownFieldsOf(m.m) |
| 875 | } |
| 876 | func (m xxx_Oneofs) UnknownFields() protoreflect.UnknownFields { |
| 877 | return xxx_Test_ProtoFile_MessageTypes[7].UnknownFieldsOf(m.m) |
| 878 | } |
| 879 | func (m xxx_Oneofs) Interface() protoreflect.ProtoMessage { |
| 880 | return m.m |
| 881 | } |
| 882 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 883 | func (m *Oneofs) Reset() { *m = Oneofs{} } |
| 884 | func (m *Oneofs) String() string { return proto.CompactTextString(m) } |
| 885 | func (*Oneofs) ProtoMessage() {} |
| 886 | func (*Oneofs) Descriptor() ([]byte, []int) { |
Herbie Ong | 800c990 | 2018-12-06 15:28:53 -0800 | [diff] [blame] | 887 | return fileDescriptor_c8d7acc1bcec9a72, []int{7} |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 888 | } |
| 889 | |
| 890 | func (m *Oneofs) XXX_Unmarshal(b []byte) error { |
| 891 | return xxx_messageInfo_Oneofs.Unmarshal(m, b) |
| 892 | } |
| 893 | func (m *Oneofs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 894 | return xxx_messageInfo_Oneofs.Marshal(b, m, deterministic) |
| 895 | } |
| 896 | func (m *Oneofs) XXX_Merge(src proto.Message) { |
| 897 | xxx_messageInfo_Oneofs.Merge(m, src) |
| 898 | } |
| 899 | func (m *Oneofs) XXX_Size() int { |
| 900 | return xxx_messageInfo_Oneofs.Size(m) |
| 901 | } |
| 902 | func (m *Oneofs) XXX_DiscardUnknown() { |
| 903 | xxx_messageInfo_Oneofs.DiscardUnknown(m) |
| 904 | } |
| 905 | |
| 906 | var xxx_messageInfo_Oneofs proto.InternalMessageInfo |
| 907 | |
| 908 | type isOneofs_Union interface { |
| 909 | isOneofs_Union() |
| 910 | } |
| 911 | |
| 912 | type Oneofs_Str struct { |
| 913 | Str string `protobuf:"bytes,1,opt,name=str,oneof"` |
| 914 | } |
| 915 | |
| 916 | type Oneofs_Msg struct { |
| 917 | Msg *Nested `protobuf:"bytes,2,opt,name=msg,oneof"` |
| 918 | } |
| 919 | |
| 920 | func (*Oneofs_Str) isOneofs_Union() {} |
| 921 | |
| 922 | func (*Oneofs_Msg) isOneofs_Union() {} |
| 923 | |
| 924 | func (m *Oneofs) GetUnion() isOneofs_Union { |
| 925 | if m != nil { |
| 926 | return m.Union |
| 927 | } |
| 928 | return nil |
| 929 | } |
| 930 | |
| 931 | func (m *Oneofs) GetStr() string { |
| 932 | if x, ok := m.GetUnion().(*Oneofs_Str); ok { |
| 933 | return x.Str |
| 934 | } |
| 935 | return "" |
| 936 | } |
| 937 | |
| 938 | func (m *Oneofs) GetMsg() *Nested { |
| 939 | if x, ok := m.GetUnion().(*Oneofs_Msg); ok { |
| 940 | return x.Msg |
| 941 | } |
| 942 | return nil |
| 943 | } |
| 944 | |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 945 | // XXX_OneofWrappers is for the internal use of the proto package. |
| 946 | func (*Oneofs) XXX_OneofWrappers() []interface{} { |
| 947 | return []interface{}{ |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 948 | (*Oneofs_Str)(nil), |
| 949 | (*Oneofs_Msg)(nil), |
| 950 | } |
| 951 | } |
| 952 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 953 | // Message contains map fields. |
| 954 | type Maps struct { |
| 955 | Int32ToStr map[int32]string `protobuf:"bytes,1,rep,name=int32_to_str,json=int32ToStr" json:"int32_to_str,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| 956 | Sfixed64ToBool map[int64]bool `protobuf:"bytes,2,rep,name=sfixed64_to_bool,json=sfixed64ToBool" json:"sfixed64_to_bool,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` |
| 957 | BoolToUint32 map[bool]uint32 `protobuf:"bytes,3,rep,name=bool_to_uint32,json=boolToUint32" json:"bool_to_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` |
| 958 | Uint64ToEnum map[uint64]Enum `protobuf:"bytes,4,rep,name=uint64_to_enum,json=uint64ToEnum" json:"uint64_to_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=pb2.Enum"` |
| 959 | StrToNested map[string]*Nested `protobuf:"bytes,5,rep,name=str_to_nested,json=strToNested" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| 960 | StrToOneofs map[string]*Oneofs `protobuf:"bytes,6,rep,name=str_to_oneofs,json=strToOneofs" json:"str_to_oneofs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| 961 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 962 | XXX_unrecognized []byte `json:"-"` |
| 963 | XXX_sizecache int32 `json:"-"` |
| 964 | } |
| 965 | |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 966 | type xxx_Maps struct{ m *Maps } |
| 967 | |
| 968 | func (m *Maps) ProtoReflect() protoreflect.Message { |
| 969 | return xxx_Maps{m} |
| 970 | } |
| 971 | func (m xxx_Maps) Type() protoreflect.MessageType { |
| 972 | return xxx_Test_ProtoFile_MessageTypes[8].Type |
| 973 | } |
| 974 | func (m xxx_Maps) KnownFields() protoreflect.KnownFields { |
| 975 | return xxx_Test_ProtoFile_MessageTypes[8].KnownFieldsOf(m.m) |
| 976 | } |
| 977 | func (m xxx_Maps) UnknownFields() protoreflect.UnknownFields { |
| 978 | return xxx_Test_ProtoFile_MessageTypes[8].UnknownFieldsOf(m.m) |
| 979 | } |
| 980 | func (m xxx_Maps) Interface() protoreflect.ProtoMessage { |
| 981 | return m.m |
| 982 | } |
| 983 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 984 | func (m *Maps) Reset() { *m = Maps{} } |
| 985 | func (m *Maps) String() string { return proto.CompactTextString(m) } |
| 986 | func (*Maps) ProtoMessage() {} |
| 987 | func (*Maps) Descriptor() ([]byte, []int) { |
Herbie Ong | 800c990 | 2018-12-06 15:28:53 -0800 | [diff] [blame] | 988 | return fileDescriptor_c8d7acc1bcec9a72, []int{8} |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 989 | } |
| 990 | |
| 991 | func (m *Maps) XXX_Unmarshal(b []byte) error { |
| 992 | return xxx_messageInfo_Maps.Unmarshal(m, b) |
| 993 | } |
| 994 | func (m *Maps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 995 | return xxx_messageInfo_Maps.Marshal(b, m, deterministic) |
| 996 | } |
| 997 | func (m *Maps) XXX_Merge(src proto.Message) { |
| 998 | xxx_messageInfo_Maps.Merge(m, src) |
| 999 | } |
| 1000 | func (m *Maps) XXX_Size() int { |
| 1001 | return xxx_messageInfo_Maps.Size(m) |
| 1002 | } |
| 1003 | func (m *Maps) XXX_DiscardUnknown() { |
| 1004 | xxx_messageInfo_Maps.DiscardUnknown(m) |
| 1005 | } |
| 1006 | |
| 1007 | var xxx_messageInfo_Maps proto.InternalMessageInfo |
| 1008 | |
| 1009 | func (m *Maps) GetInt32ToStr() map[int32]string { |
| 1010 | if m != nil { |
| 1011 | return m.Int32ToStr |
| 1012 | } |
| 1013 | return nil |
| 1014 | } |
| 1015 | |
| 1016 | func (m *Maps) GetSfixed64ToBool() map[int64]bool { |
| 1017 | if m != nil { |
| 1018 | return m.Sfixed64ToBool |
| 1019 | } |
| 1020 | return nil |
| 1021 | } |
| 1022 | |
| 1023 | func (m *Maps) GetBoolToUint32() map[bool]uint32 { |
| 1024 | if m != nil { |
| 1025 | return m.BoolToUint32 |
| 1026 | } |
| 1027 | return nil |
| 1028 | } |
| 1029 | |
| 1030 | func (m *Maps) GetUint64ToEnum() map[uint64]Enum { |
| 1031 | if m != nil { |
| 1032 | return m.Uint64ToEnum |
| 1033 | } |
| 1034 | return nil |
| 1035 | } |
| 1036 | |
| 1037 | func (m *Maps) GetStrToNested() map[string]*Nested { |
| 1038 | if m != nil { |
| 1039 | return m.StrToNested |
| 1040 | } |
| 1041 | return nil |
| 1042 | } |
| 1043 | |
| 1044 | func (m *Maps) GetStrToOneofs() map[string]*Oneofs { |
| 1045 | if m != nil { |
| 1046 | return m.StrToOneofs |
| 1047 | } |
| 1048 | return nil |
| 1049 | } |
| 1050 | |
Herbie Ong | 800c990 | 2018-12-06 15:28:53 -0800 | [diff] [blame] | 1051 | type NestedWithRequired struct { |
| 1052 | ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"` |
| 1053 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1054 | XXX_unrecognized []byte `json:"-"` |
| 1055 | XXX_sizecache int32 `json:"-"` |
| 1056 | } |
| 1057 | |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1058 | type xxx_NestedWithRequired struct{ m *NestedWithRequired } |
| 1059 | |
| 1060 | func (m *NestedWithRequired) ProtoReflect() protoreflect.Message { |
| 1061 | return xxx_NestedWithRequired{m} |
| 1062 | } |
| 1063 | func (m xxx_NestedWithRequired) Type() protoreflect.MessageType { |
| 1064 | return xxx_Test_ProtoFile_MessageTypes[9].Type |
| 1065 | } |
| 1066 | func (m xxx_NestedWithRequired) KnownFields() protoreflect.KnownFields { |
| 1067 | return xxx_Test_ProtoFile_MessageTypes[9].KnownFieldsOf(m.m) |
| 1068 | } |
| 1069 | func (m xxx_NestedWithRequired) UnknownFields() protoreflect.UnknownFields { |
| 1070 | return xxx_Test_ProtoFile_MessageTypes[9].UnknownFieldsOf(m.m) |
| 1071 | } |
| 1072 | func (m xxx_NestedWithRequired) Interface() protoreflect.ProtoMessage { |
| 1073 | return m.m |
| 1074 | } |
| 1075 | |
Herbie Ong | 800c990 | 2018-12-06 15:28:53 -0800 | [diff] [blame] | 1076 | func (m *NestedWithRequired) Reset() { *m = NestedWithRequired{} } |
| 1077 | func (m *NestedWithRequired) String() string { return proto.CompactTextString(m) } |
| 1078 | func (*NestedWithRequired) ProtoMessage() {} |
| 1079 | func (*NestedWithRequired) Descriptor() ([]byte, []int) { |
| 1080 | return fileDescriptor_c8d7acc1bcec9a72, []int{9} |
| 1081 | } |
| 1082 | |
| 1083 | func (m *NestedWithRequired) XXX_Unmarshal(b []byte) error { |
| 1084 | return xxx_messageInfo_NestedWithRequired.Unmarshal(m, b) |
| 1085 | } |
| 1086 | func (m *NestedWithRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1087 | return xxx_messageInfo_NestedWithRequired.Marshal(b, m, deterministic) |
| 1088 | } |
| 1089 | func (m *NestedWithRequired) XXX_Merge(src proto.Message) { |
| 1090 | xxx_messageInfo_NestedWithRequired.Merge(m, src) |
| 1091 | } |
| 1092 | func (m *NestedWithRequired) XXX_Size() int { |
| 1093 | return xxx_messageInfo_NestedWithRequired.Size(m) |
| 1094 | } |
| 1095 | func (m *NestedWithRequired) XXX_DiscardUnknown() { |
| 1096 | xxx_messageInfo_NestedWithRequired.DiscardUnknown(m) |
| 1097 | } |
| 1098 | |
| 1099 | var xxx_messageInfo_NestedWithRequired proto.InternalMessageInfo |
| 1100 | |
| 1101 | func (m *NestedWithRequired) GetReqString() string { |
| 1102 | if m != nil && m.ReqString != nil { |
| 1103 | return *m.ReqString |
| 1104 | } |
| 1105 | return "" |
| 1106 | } |
| 1107 | |
| 1108 | type IndirectRequired struct { |
| 1109 | OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"` |
| 1110 | RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"` |
| 1111 | StrToNested map[string]*NestedWithRequired `protobuf:"bytes,3,rep,name=str_to_nested,json=strToNested" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| 1112 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1113 | XXX_unrecognized []byte `json:"-"` |
| 1114 | XXX_sizecache int32 `json:"-"` |
| 1115 | } |
| 1116 | |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1117 | type xxx_IndirectRequired struct{ m *IndirectRequired } |
| 1118 | |
| 1119 | func (m *IndirectRequired) ProtoReflect() protoreflect.Message { |
| 1120 | return xxx_IndirectRequired{m} |
| 1121 | } |
| 1122 | func (m xxx_IndirectRequired) Type() protoreflect.MessageType { |
| 1123 | return xxx_Test_ProtoFile_MessageTypes[10].Type |
| 1124 | } |
| 1125 | func (m xxx_IndirectRequired) KnownFields() protoreflect.KnownFields { |
| 1126 | return xxx_Test_ProtoFile_MessageTypes[10].KnownFieldsOf(m.m) |
| 1127 | } |
| 1128 | func (m xxx_IndirectRequired) UnknownFields() protoreflect.UnknownFields { |
| 1129 | return xxx_Test_ProtoFile_MessageTypes[10].UnknownFieldsOf(m.m) |
| 1130 | } |
| 1131 | func (m xxx_IndirectRequired) Interface() protoreflect.ProtoMessage { |
| 1132 | return m.m |
| 1133 | } |
| 1134 | |
Herbie Ong | 800c990 | 2018-12-06 15:28:53 -0800 | [diff] [blame] | 1135 | func (m *IndirectRequired) Reset() { *m = IndirectRequired{} } |
| 1136 | func (m *IndirectRequired) String() string { return proto.CompactTextString(m) } |
| 1137 | func (*IndirectRequired) ProtoMessage() {} |
| 1138 | func (*IndirectRequired) Descriptor() ([]byte, []int) { |
| 1139 | return fileDescriptor_c8d7acc1bcec9a72, []int{10} |
| 1140 | } |
| 1141 | |
| 1142 | func (m *IndirectRequired) XXX_Unmarshal(b []byte) error { |
| 1143 | return xxx_messageInfo_IndirectRequired.Unmarshal(m, b) |
| 1144 | } |
| 1145 | func (m *IndirectRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1146 | return xxx_messageInfo_IndirectRequired.Marshal(b, m, deterministic) |
| 1147 | } |
| 1148 | func (m *IndirectRequired) XXX_Merge(src proto.Message) { |
| 1149 | xxx_messageInfo_IndirectRequired.Merge(m, src) |
| 1150 | } |
| 1151 | func (m *IndirectRequired) XXX_Size() int { |
| 1152 | return xxx_messageInfo_IndirectRequired.Size(m) |
| 1153 | } |
| 1154 | func (m *IndirectRequired) XXX_DiscardUnknown() { |
| 1155 | xxx_messageInfo_IndirectRequired.DiscardUnknown(m) |
| 1156 | } |
| 1157 | |
| 1158 | var xxx_messageInfo_IndirectRequired proto.InternalMessageInfo |
| 1159 | |
| 1160 | func (m *IndirectRequired) GetOptNested() *NestedWithRequired { |
| 1161 | if m != nil { |
| 1162 | return m.OptNested |
| 1163 | } |
| 1164 | return nil |
| 1165 | } |
| 1166 | |
| 1167 | func (m *IndirectRequired) GetRptNested() []*NestedWithRequired { |
| 1168 | if m != nil { |
| 1169 | return m.RptNested |
| 1170 | } |
| 1171 | return nil |
| 1172 | } |
| 1173 | |
| 1174 | func (m *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired { |
| 1175 | if m != nil { |
| 1176 | return m.StrToNested |
| 1177 | } |
| 1178 | return nil |
| 1179 | } |
| 1180 | |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1181 | type Extensions struct { |
| 1182 | OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
| 1183 | OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"` |
| 1184 | OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"` |
| 1185 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1186 | proto.XXX_InternalExtensions `json:"-"` |
| 1187 | XXX_unrecognized []byte `json:"-"` |
| 1188 | XXX_sizecache int32 `json:"-"` |
| 1189 | } |
| 1190 | |
| 1191 | type xxx_Extensions struct{ m *Extensions } |
| 1192 | |
| 1193 | func (m *Extensions) ProtoReflect() protoreflect.Message { |
| 1194 | return xxx_Extensions{m} |
| 1195 | } |
| 1196 | func (m xxx_Extensions) Type() protoreflect.MessageType { |
| 1197 | return xxx_Test_ProtoFile_MessageTypes[11].Type |
| 1198 | } |
| 1199 | func (m xxx_Extensions) KnownFields() protoreflect.KnownFields { |
| 1200 | return xxx_Test_ProtoFile_MessageTypes[11].KnownFieldsOf(m.m) |
| 1201 | } |
| 1202 | func (m xxx_Extensions) UnknownFields() protoreflect.UnknownFields { |
| 1203 | return xxx_Test_ProtoFile_MessageTypes[11].UnknownFieldsOf(m.m) |
| 1204 | } |
| 1205 | func (m xxx_Extensions) Interface() protoreflect.ProtoMessage { |
| 1206 | return m.m |
| 1207 | } |
| 1208 | |
| 1209 | func (m *Extensions) Reset() { *m = Extensions{} } |
| 1210 | func (m *Extensions) String() string { return proto.CompactTextString(m) } |
| 1211 | func (*Extensions) ProtoMessage() {} |
| 1212 | func (*Extensions) Descriptor() ([]byte, []int) { |
| 1213 | return fileDescriptor_c8d7acc1bcec9a72, []int{11} |
| 1214 | } |
| 1215 | |
| 1216 | var extRange_Extensions = []proto.ExtensionRange{ |
| 1217 | {Start: 20, End: 100}, |
| 1218 | } |
| 1219 | |
| 1220 | func (*Extensions) ExtensionRangeArray() []proto.ExtensionRange { |
| 1221 | return extRange_Extensions |
| 1222 | } |
| 1223 | |
| 1224 | func (m *Extensions) XXX_Unmarshal(b []byte) error { |
| 1225 | return xxx_messageInfo_Extensions.Unmarshal(m, b) |
| 1226 | } |
| 1227 | func (m *Extensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1228 | return xxx_messageInfo_Extensions.Marshal(b, m, deterministic) |
| 1229 | } |
| 1230 | func (m *Extensions) XXX_Merge(src proto.Message) { |
| 1231 | xxx_messageInfo_Extensions.Merge(m, src) |
| 1232 | } |
| 1233 | func (m *Extensions) XXX_Size() int { |
| 1234 | return xxx_messageInfo_Extensions.Size(m) |
| 1235 | } |
| 1236 | func (m *Extensions) XXX_DiscardUnknown() { |
| 1237 | xxx_messageInfo_Extensions.DiscardUnknown(m) |
| 1238 | } |
| 1239 | |
| 1240 | var xxx_messageInfo_Extensions proto.InternalMessageInfo |
| 1241 | |
| 1242 | func (m *Extensions) GetOptString() string { |
| 1243 | if m != nil && m.OptString != nil { |
| 1244 | return *m.OptString |
| 1245 | } |
| 1246 | return "" |
| 1247 | } |
| 1248 | |
| 1249 | func (m *Extensions) GetOptBool() bool { |
| 1250 | if m != nil && m.OptBool != nil { |
| 1251 | return *m.OptBool |
| 1252 | } |
| 1253 | return false |
| 1254 | } |
| 1255 | |
| 1256 | func (m *Extensions) GetOptInt32() int32 { |
| 1257 | if m != nil && m.OptInt32 != nil { |
| 1258 | return *m.OptInt32 |
| 1259 | } |
| 1260 | return 0 |
| 1261 | } |
| 1262 | |
| 1263 | type ExtensionsContainer struct { |
| 1264 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1265 | XXX_unrecognized []byte `json:"-"` |
| 1266 | XXX_sizecache int32 `json:"-"` |
| 1267 | } |
| 1268 | |
| 1269 | type xxx_ExtensionsContainer struct{ m *ExtensionsContainer } |
| 1270 | |
| 1271 | func (m *ExtensionsContainer) ProtoReflect() protoreflect.Message { |
| 1272 | return xxx_ExtensionsContainer{m} |
| 1273 | } |
| 1274 | func (m xxx_ExtensionsContainer) Type() protoreflect.MessageType { |
| 1275 | return xxx_Test_ProtoFile_MessageTypes[12].Type |
| 1276 | } |
| 1277 | func (m xxx_ExtensionsContainer) KnownFields() protoreflect.KnownFields { |
| 1278 | return xxx_Test_ProtoFile_MessageTypes[12].KnownFieldsOf(m.m) |
| 1279 | } |
| 1280 | func (m xxx_ExtensionsContainer) UnknownFields() protoreflect.UnknownFields { |
| 1281 | return xxx_Test_ProtoFile_MessageTypes[12].UnknownFieldsOf(m.m) |
| 1282 | } |
| 1283 | func (m xxx_ExtensionsContainer) Interface() protoreflect.ProtoMessage { |
| 1284 | return m.m |
| 1285 | } |
| 1286 | |
| 1287 | func (m *ExtensionsContainer) Reset() { *m = ExtensionsContainer{} } |
| 1288 | func (m *ExtensionsContainer) String() string { return proto.CompactTextString(m) } |
| 1289 | func (*ExtensionsContainer) ProtoMessage() {} |
| 1290 | func (*ExtensionsContainer) Descriptor() ([]byte, []int) { |
| 1291 | return fileDescriptor_c8d7acc1bcec9a72, []int{12} |
| 1292 | } |
| 1293 | |
| 1294 | func (m *ExtensionsContainer) XXX_Unmarshal(b []byte) error { |
| 1295 | return xxx_messageInfo_ExtensionsContainer.Unmarshal(m, b) |
| 1296 | } |
| 1297 | func (m *ExtensionsContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1298 | return xxx_messageInfo_ExtensionsContainer.Marshal(b, m, deterministic) |
| 1299 | } |
| 1300 | func (m *ExtensionsContainer) XXX_Merge(src proto.Message) { |
| 1301 | xxx_messageInfo_ExtensionsContainer.Merge(m, src) |
| 1302 | } |
| 1303 | func (m *ExtensionsContainer) XXX_Size() int { |
| 1304 | return xxx_messageInfo_ExtensionsContainer.Size(m) |
| 1305 | } |
| 1306 | func (m *ExtensionsContainer) XXX_DiscardUnknown() { |
| 1307 | xxx_messageInfo_ExtensionsContainer.DiscardUnknown(m) |
| 1308 | } |
| 1309 | |
| 1310 | var xxx_messageInfo_ExtensionsContainer proto.InternalMessageInfo |
| 1311 | |
| 1312 | type MessageSet struct { |
| 1313 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1314 | proto.XXX_InternalExtensions `protobuf_messageset:"1" json:"-"` |
| 1315 | XXX_unrecognized []byte `json:"-"` |
| 1316 | XXX_sizecache int32 `json:"-"` |
| 1317 | } |
| 1318 | |
| 1319 | type xxx_MessageSet struct{ m *MessageSet } |
| 1320 | |
| 1321 | func (m *MessageSet) ProtoReflect() protoreflect.Message { |
| 1322 | return xxx_MessageSet{m} |
| 1323 | } |
| 1324 | func (m xxx_MessageSet) Type() protoreflect.MessageType { |
| 1325 | return xxx_Test_ProtoFile_MessageTypes[13].Type |
| 1326 | } |
| 1327 | func (m xxx_MessageSet) KnownFields() protoreflect.KnownFields { |
| 1328 | return xxx_Test_ProtoFile_MessageTypes[13].KnownFieldsOf(m.m) |
| 1329 | } |
| 1330 | func (m xxx_MessageSet) UnknownFields() protoreflect.UnknownFields { |
| 1331 | return xxx_Test_ProtoFile_MessageTypes[13].UnknownFieldsOf(m.m) |
| 1332 | } |
| 1333 | func (m xxx_MessageSet) Interface() protoreflect.ProtoMessage { |
| 1334 | return m.m |
| 1335 | } |
| 1336 | |
| 1337 | func (m *MessageSet) Reset() { *m = MessageSet{} } |
| 1338 | func (m *MessageSet) String() string { return proto.CompactTextString(m) } |
| 1339 | func (*MessageSet) ProtoMessage() {} |
| 1340 | func (*MessageSet) Descriptor() ([]byte, []int) { |
| 1341 | return fileDescriptor_c8d7acc1bcec9a72, []int{13} |
| 1342 | } |
| 1343 | |
| 1344 | var extRange_MessageSet = []proto.ExtensionRange{ |
| 1345 | {Start: 4, End: 2147483646}, |
| 1346 | } |
| 1347 | |
| 1348 | func (*MessageSet) ExtensionRangeArray() []proto.ExtensionRange { |
| 1349 | return extRange_MessageSet |
| 1350 | } |
| 1351 | |
| 1352 | func (m *MessageSet) XXX_Unmarshal(b []byte) error { |
| 1353 | return xxx_messageInfo_MessageSet.Unmarshal(m, b) |
| 1354 | } |
| 1355 | func (m *MessageSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1356 | return xxx_messageInfo_MessageSet.Marshal(b, m, deterministic) |
| 1357 | } |
| 1358 | func (m *MessageSet) XXX_Merge(src proto.Message) { |
| 1359 | xxx_messageInfo_MessageSet.Merge(m, src) |
| 1360 | } |
| 1361 | func (m *MessageSet) XXX_Size() int { |
| 1362 | return xxx_messageInfo_MessageSet.Size(m) |
| 1363 | } |
| 1364 | func (m *MessageSet) XXX_DiscardUnknown() { |
| 1365 | xxx_messageInfo_MessageSet.DiscardUnknown(m) |
| 1366 | } |
| 1367 | |
| 1368 | var xxx_messageInfo_MessageSet proto.InternalMessageInfo |
| 1369 | |
| 1370 | type MessageSetExtension struct { |
| 1371 | OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
| 1372 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1373 | XXX_unrecognized []byte `json:"-"` |
| 1374 | XXX_sizecache int32 `json:"-"` |
| 1375 | } |
| 1376 | |
| 1377 | type xxx_MessageSetExtension struct{ m *MessageSetExtension } |
| 1378 | |
| 1379 | func (m *MessageSetExtension) ProtoReflect() protoreflect.Message { |
| 1380 | return xxx_MessageSetExtension{m} |
| 1381 | } |
| 1382 | func (m xxx_MessageSetExtension) Type() protoreflect.MessageType { |
| 1383 | return xxx_Test_ProtoFile_MessageTypes[14].Type |
| 1384 | } |
| 1385 | func (m xxx_MessageSetExtension) KnownFields() protoreflect.KnownFields { |
| 1386 | return xxx_Test_ProtoFile_MessageTypes[14].KnownFieldsOf(m.m) |
| 1387 | } |
| 1388 | func (m xxx_MessageSetExtension) UnknownFields() protoreflect.UnknownFields { |
| 1389 | return xxx_Test_ProtoFile_MessageTypes[14].UnknownFieldsOf(m.m) |
| 1390 | } |
| 1391 | func (m xxx_MessageSetExtension) Interface() protoreflect.ProtoMessage { |
| 1392 | return m.m |
| 1393 | } |
| 1394 | |
| 1395 | func (m *MessageSetExtension) Reset() { *m = MessageSetExtension{} } |
| 1396 | func (m *MessageSetExtension) String() string { return proto.CompactTextString(m) } |
| 1397 | func (*MessageSetExtension) ProtoMessage() {} |
| 1398 | func (*MessageSetExtension) Descriptor() ([]byte, []int) { |
| 1399 | return fileDescriptor_c8d7acc1bcec9a72, []int{14} |
| 1400 | } |
| 1401 | |
| 1402 | func (m *MessageSetExtension) XXX_Unmarshal(b []byte) error { |
| 1403 | return xxx_messageInfo_MessageSetExtension.Unmarshal(m, b) |
| 1404 | } |
| 1405 | func (m *MessageSetExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1406 | return xxx_messageInfo_MessageSetExtension.Marshal(b, m, deterministic) |
| 1407 | } |
| 1408 | func (m *MessageSetExtension) XXX_Merge(src proto.Message) { |
| 1409 | xxx_messageInfo_MessageSetExtension.Merge(m, src) |
| 1410 | } |
| 1411 | func (m *MessageSetExtension) XXX_Size() int { |
| 1412 | return xxx_messageInfo_MessageSetExtension.Size(m) |
| 1413 | } |
| 1414 | func (m *MessageSetExtension) XXX_DiscardUnknown() { |
| 1415 | xxx_messageInfo_MessageSetExtension.DiscardUnknown(m) |
| 1416 | } |
| 1417 | |
| 1418 | var xxx_messageInfo_MessageSetExtension proto.InternalMessageInfo |
| 1419 | |
| 1420 | func (m *MessageSetExtension) GetOptString() string { |
| 1421 | if m != nil && m.OptString != nil { |
| 1422 | return *m.OptString |
| 1423 | } |
| 1424 | return "" |
| 1425 | } |
| 1426 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 1427 | // Message contains well-known type fields. |
| 1428 | type KnownTypes struct { |
| 1429 | OptBool *wrappers.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"` |
| 1430 | OptInt32 *wrappers.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"` |
| 1431 | OptInt64 *wrappers.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"` |
| 1432 | OptUint32 *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"` |
| 1433 | OptUint64 *wrappers.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"` |
| 1434 | OptFloat *wrappers.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"` |
| 1435 | OptDouble *wrappers.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"` |
| 1436 | OptString *wrappers.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
| 1437 | OptBytes *wrappers.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"` |
| 1438 | OptDuration *duration.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"` |
| 1439 | OptTimestamp *timestamp.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"` |
| 1440 | OptStruct *_struct.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"` |
| 1441 | OptList *_struct.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"` |
| 1442 | OptValue *_struct.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"` |
| 1443 | OptEmpty *empty.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"` |
| 1444 | OptAny *any.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"` |
| 1445 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1446 | XXX_unrecognized []byte `json:"-"` |
| 1447 | XXX_sizecache int32 `json:"-"` |
| 1448 | } |
| 1449 | |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1450 | type xxx_KnownTypes struct{ m *KnownTypes } |
| 1451 | |
| 1452 | func (m *KnownTypes) ProtoReflect() protoreflect.Message { |
| 1453 | return xxx_KnownTypes{m} |
| 1454 | } |
| 1455 | func (m xxx_KnownTypes) Type() protoreflect.MessageType { |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1456 | return xxx_Test_ProtoFile_MessageTypes[15].Type |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1457 | } |
| 1458 | func (m xxx_KnownTypes) KnownFields() protoreflect.KnownFields { |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1459 | return xxx_Test_ProtoFile_MessageTypes[15].KnownFieldsOf(m.m) |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1460 | } |
| 1461 | func (m xxx_KnownTypes) UnknownFields() protoreflect.UnknownFields { |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1462 | return xxx_Test_ProtoFile_MessageTypes[15].UnknownFieldsOf(m.m) |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1463 | } |
| 1464 | func (m xxx_KnownTypes) Interface() protoreflect.ProtoMessage { |
| 1465 | return m.m |
| 1466 | } |
| 1467 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 1468 | func (m *KnownTypes) Reset() { *m = KnownTypes{} } |
| 1469 | func (m *KnownTypes) String() string { return proto.CompactTextString(m) } |
| 1470 | func (*KnownTypes) ProtoMessage() {} |
| 1471 | func (*KnownTypes) Descriptor() ([]byte, []int) { |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1472 | return fileDescriptor_c8d7acc1bcec9a72, []int{15} |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 1473 | } |
| 1474 | |
| 1475 | func (m *KnownTypes) XXX_Unmarshal(b []byte) error { |
| 1476 | return xxx_messageInfo_KnownTypes.Unmarshal(m, b) |
| 1477 | } |
| 1478 | func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1479 | return xxx_messageInfo_KnownTypes.Marshal(b, m, deterministic) |
| 1480 | } |
| 1481 | func (m *KnownTypes) XXX_Merge(src proto.Message) { |
| 1482 | xxx_messageInfo_KnownTypes.Merge(m, src) |
| 1483 | } |
| 1484 | func (m *KnownTypes) XXX_Size() int { |
| 1485 | return xxx_messageInfo_KnownTypes.Size(m) |
| 1486 | } |
| 1487 | func (m *KnownTypes) XXX_DiscardUnknown() { |
| 1488 | xxx_messageInfo_KnownTypes.DiscardUnknown(m) |
| 1489 | } |
| 1490 | |
| 1491 | var xxx_messageInfo_KnownTypes proto.InternalMessageInfo |
| 1492 | |
| 1493 | func (m *KnownTypes) GetOptBool() *wrappers.BoolValue { |
| 1494 | if m != nil { |
| 1495 | return m.OptBool |
| 1496 | } |
| 1497 | return nil |
| 1498 | } |
| 1499 | |
| 1500 | func (m *KnownTypes) GetOptInt32() *wrappers.Int32Value { |
| 1501 | if m != nil { |
| 1502 | return m.OptInt32 |
| 1503 | } |
| 1504 | return nil |
| 1505 | } |
| 1506 | |
| 1507 | func (m *KnownTypes) GetOptInt64() *wrappers.Int64Value { |
| 1508 | if m != nil { |
| 1509 | return m.OptInt64 |
| 1510 | } |
| 1511 | return nil |
| 1512 | } |
| 1513 | |
| 1514 | func (m *KnownTypes) GetOptUint32() *wrappers.UInt32Value { |
| 1515 | if m != nil { |
| 1516 | return m.OptUint32 |
| 1517 | } |
| 1518 | return nil |
| 1519 | } |
| 1520 | |
| 1521 | func (m *KnownTypes) GetOptUint64() *wrappers.UInt64Value { |
| 1522 | if m != nil { |
| 1523 | return m.OptUint64 |
| 1524 | } |
| 1525 | return nil |
| 1526 | } |
| 1527 | |
| 1528 | func (m *KnownTypes) GetOptFloat() *wrappers.FloatValue { |
| 1529 | if m != nil { |
| 1530 | return m.OptFloat |
| 1531 | } |
| 1532 | return nil |
| 1533 | } |
| 1534 | |
| 1535 | func (m *KnownTypes) GetOptDouble() *wrappers.DoubleValue { |
| 1536 | if m != nil { |
| 1537 | return m.OptDouble |
| 1538 | } |
| 1539 | return nil |
| 1540 | } |
| 1541 | |
| 1542 | func (m *KnownTypes) GetOptString() *wrappers.StringValue { |
| 1543 | if m != nil { |
| 1544 | return m.OptString |
| 1545 | } |
| 1546 | return nil |
| 1547 | } |
| 1548 | |
| 1549 | func (m *KnownTypes) GetOptBytes() *wrappers.BytesValue { |
| 1550 | if m != nil { |
| 1551 | return m.OptBytes |
| 1552 | } |
| 1553 | return nil |
| 1554 | } |
| 1555 | |
| 1556 | func (m *KnownTypes) GetOptDuration() *duration.Duration { |
| 1557 | if m != nil { |
| 1558 | return m.OptDuration |
| 1559 | } |
| 1560 | return nil |
| 1561 | } |
| 1562 | |
| 1563 | func (m *KnownTypes) GetOptTimestamp() *timestamp.Timestamp { |
| 1564 | if m != nil { |
| 1565 | return m.OptTimestamp |
| 1566 | } |
| 1567 | return nil |
| 1568 | } |
| 1569 | |
| 1570 | func (m *KnownTypes) GetOptStruct() *_struct.Struct { |
| 1571 | if m != nil { |
| 1572 | return m.OptStruct |
| 1573 | } |
| 1574 | return nil |
| 1575 | } |
| 1576 | |
| 1577 | func (m *KnownTypes) GetOptList() *_struct.ListValue { |
| 1578 | if m != nil { |
| 1579 | return m.OptList |
| 1580 | } |
| 1581 | return nil |
| 1582 | } |
| 1583 | |
| 1584 | func (m *KnownTypes) GetOptValue() *_struct.Value { |
| 1585 | if m != nil { |
| 1586 | return m.OptValue |
| 1587 | } |
| 1588 | return nil |
| 1589 | } |
| 1590 | |
| 1591 | func (m *KnownTypes) GetOptEmpty() *empty.Empty { |
| 1592 | if m != nil { |
| 1593 | return m.OptEmpty |
| 1594 | } |
| 1595 | return nil |
| 1596 | } |
| 1597 | |
| 1598 | func (m *KnownTypes) GetOptAny() *any.Any { |
| 1599 | if m != nil { |
| 1600 | return m.OptAny |
| 1601 | } |
| 1602 | return nil |
| 1603 | } |
| 1604 | |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1605 | type Nests_OptGroup struct { |
| 1606 | OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"` |
| 1607 | OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
| 1608 | OptNested *Nested `protobuf:"bytes,3,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"` |
| 1609 | Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,4,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"` |
| 1610 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1611 | XXX_unrecognized []byte `json:"-"` |
| 1612 | XXX_sizecache int32 `json:"-"` |
| 1613 | } |
| 1614 | |
| 1615 | type xxx_Nests_OptGroup struct{ m *Nests_OptGroup } |
| 1616 | |
| 1617 | func (m *Nests_OptGroup) ProtoReflect() protoreflect.Message { |
| 1618 | return xxx_Nests_OptGroup{m} |
| 1619 | } |
| 1620 | func (m xxx_Nests_OptGroup) Type() protoreflect.MessageType { |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1621 | return xxx_Test_ProtoFile_MessageTypes[16].Type |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1622 | } |
| 1623 | func (m xxx_Nests_OptGroup) KnownFields() protoreflect.KnownFields { |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1624 | return xxx_Test_ProtoFile_MessageTypes[16].KnownFieldsOf(m.m) |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1625 | } |
| 1626 | func (m xxx_Nests_OptGroup) UnknownFields() protoreflect.UnknownFields { |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1627 | return xxx_Test_ProtoFile_MessageTypes[16].UnknownFieldsOf(m.m) |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1628 | } |
| 1629 | func (m xxx_Nests_OptGroup) Interface() protoreflect.ProtoMessage { |
| 1630 | return m.m |
| 1631 | } |
| 1632 | |
| 1633 | func (m *Nests_OptGroup) Reset() { *m = Nests_OptGroup{} } |
| 1634 | func (m *Nests_OptGroup) String() string { return proto.CompactTextString(m) } |
| 1635 | func (*Nests_OptGroup) ProtoMessage() {} |
| 1636 | func (*Nests_OptGroup) Descriptor() ([]byte, []int) { |
| 1637 | return fileDescriptor_c8d7acc1bcec9a72, []int{3, 0} |
| 1638 | } |
| 1639 | |
| 1640 | func (m *Nests_OptGroup) XXX_Unmarshal(b []byte) error { |
| 1641 | return xxx_messageInfo_Nests_OptGroup.Unmarshal(m, b) |
| 1642 | } |
| 1643 | func (m *Nests_OptGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1644 | return xxx_messageInfo_Nests_OptGroup.Marshal(b, m, deterministic) |
| 1645 | } |
| 1646 | func (m *Nests_OptGroup) XXX_Merge(src proto.Message) { |
| 1647 | xxx_messageInfo_Nests_OptGroup.Merge(m, src) |
| 1648 | } |
| 1649 | func (m *Nests_OptGroup) XXX_Size() int { |
| 1650 | return xxx_messageInfo_Nests_OptGroup.Size(m) |
| 1651 | } |
| 1652 | func (m *Nests_OptGroup) XXX_DiscardUnknown() { |
| 1653 | xxx_messageInfo_Nests_OptGroup.DiscardUnknown(m) |
| 1654 | } |
| 1655 | |
| 1656 | var xxx_messageInfo_Nests_OptGroup proto.InternalMessageInfo |
| 1657 | |
| 1658 | func (m *Nests_OptGroup) GetOptBool() bool { |
| 1659 | if m != nil && m.OptBool != nil { |
| 1660 | return *m.OptBool |
| 1661 | } |
| 1662 | return false |
| 1663 | } |
| 1664 | |
| 1665 | func (m *Nests_OptGroup) GetOptString() string { |
| 1666 | if m != nil && m.OptString != nil { |
| 1667 | return *m.OptString |
| 1668 | } |
| 1669 | return "" |
| 1670 | } |
| 1671 | |
| 1672 | func (m *Nests_OptGroup) GetOptNested() *Nested { |
| 1673 | if m != nil { |
| 1674 | return m.OptNested |
| 1675 | } |
| 1676 | return nil |
| 1677 | } |
| 1678 | |
| 1679 | func (m *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup { |
| 1680 | if m != nil { |
| 1681 | return m.Optnestedgroup |
| 1682 | } |
| 1683 | return nil |
| 1684 | } |
| 1685 | |
| 1686 | type Nests_RptGroup struct { |
| 1687 | RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"` |
| 1688 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1689 | XXX_unrecognized []byte `json:"-"` |
| 1690 | XXX_sizecache int32 `json:"-"` |
| 1691 | } |
| 1692 | |
| 1693 | type xxx_Nests_RptGroup struct{ m *Nests_RptGroup } |
| 1694 | |
| 1695 | func (m *Nests_RptGroup) ProtoReflect() protoreflect.Message { |
| 1696 | return xxx_Nests_RptGroup{m} |
| 1697 | } |
| 1698 | func (m xxx_Nests_RptGroup) Type() protoreflect.MessageType { |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1699 | return xxx_Test_ProtoFile_MessageTypes[17].Type |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1700 | } |
| 1701 | func (m xxx_Nests_RptGroup) KnownFields() protoreflect.KnownFields { |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1702 | return xxx_Test_ProtoFile_MessageTypes[17].KnownFieldsOf(m.m) |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1703 | } |
| 1704 | func (m xxx_Nests_RptGroup) UnknownFields() protoreflect.UnknownFields { |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1705 | return xxx_Test_ProtoFile_MessageTypes[17].UnknownFieldsOf(m.m) |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1706 | } |
| 1707 | func (m xxx_Nests_RptGroup) Interface() protoreflect.ProtoMessage { |
| 1708 | return m.m |
| 1709 | } |
| 1710 | |
| 1711 | func (m *Nests_RptGroup) Reset() { *m = Nests_RptGroup{} } |
| 1712 | func (m *Nests_RptGroup) String() string { return proto.CompactTextString(m) } |
| 1713 | func (*Nests_RptGroup) ProtoMessage() {} |
| 1714 | func (*Nests_RptGroup) Descriptor() ([]byte, []int) { |
| 1715 | return fileDescriptor_c8d7acc1bcec9a72, []int{3, 1} |
| 1716 | } |
| 1717 | |
| 1718 | func (m *Nests_RptGroup) XXX_Unmarshal(b []byte) error { |
| 1719 | return xxx_messageInfo_Nests_RptGroup.Unmarshal(m, b) |
| 1720 | } |
| 1721 | func (m *Nests_RptGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1722 | return xxx_messageInfo_Nests_RptGroup.Marshal(b, m, deterministic) |
| 1723 | } |
| 1724 | func (m *Nests_RptGroup) XXX_Merge(src proto.Message) { |
| 1725 | xxx_messageInfo_Nests_RptGroup.Merge(m, src) |
| 1726 | } |
| 1727 | func (m *Nests_RptGroup) XXX_Size() int { |
| 1728 | return xxx_messageInfo_Nests_RptGroup.Size(m) |
| 1729 | } |
| 1730 | func (m *Nests_RptGroup) XXX_DiscardUnknown() { |
| 1731 | xxx_messageInfo_Nests_RptGroup.DiscardUnknown(m) |
| 1732 | } |
| 1733 | |
| 1734 | var xxx_messageInfo_Nests_RptGroup proto.InternalMessageInfo |
| 1735 | |
| 1736 | func (m *Nests_RptGroup) GetRptBool() []bool { |
| 1737 | if m != nil { |
| 1738 | return m.RptBool |
| 1739 | } |
| 1740 | return nil |
| 1741 | } |
| 1742 | |
| 1743 | type Nests_OptGroup_OptNestedGroup struct { |
| 1744 | OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"` |
| 1745 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1746 | XXX_unrecognized []byte `json:"-"` |
| 1747 | XXX_sizecache int32 `json:"-"` |
| 1748 | } |
| 1749 | |
| 1750 | type xxx_Nests_OptGroup_OptNestedGroup struct { |
| 1751 | m *Nests_OptGroup_OptNestedGroup |
| 1752 | } |
| 1753 | |
| 1754 | func (m *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message { |
| 1755 | return xxx_Nests_OptGroup_OptNestedGroup{m} |
| 1756 | } |
| 1757 | func (m xxx_Nests_OptGroup_OptNestedGroup) Type() protoreflect.MessageType { |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1758 | return xxx_Test_ProtoFile_MessageTypes[18].Type |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1759 | } |
| 1760 | func (m xxx_Nests_OptGroup_OptNestedGroup) KnownFields() protoreflect.KnownFields { |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1761 | return xxx_Test_ProtoFile_MessageTypes[18].KnownFieldsOf(m.m) |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1762 | } |
| 1763 | func (m xxx_Nests_OptGroup_OptNestedGroup) UnknownFields() protoreflect.UnknownFields { |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1764 | return xxx_Test_ProtoFile_MessageTypes[18].UnknownFieldsOf(m.m) |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1765 | } |
| 1766 | func (m xxx_Nests_OptGroup_OptNestedGroup) Interface() protoreflect.ProtoMessage { |
| 1767 | return m.m |
| 1768 | } |
| 1769 | |
| 1770 | func (m *Nests_OptGroup_OptNestedGroup) Reset() { *m = Nests_OptGroup_OptNestedGroup{} } |
| 1771 | func (m *Nests_OptGroup_OptNestedGroup) String() string { return proto.CompactTextString(m) } |
| 1772 | func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {} |
| 1773 | func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) { |
| 1774 | return fileDescriptor_c8d7acc1bcec9a72, []int{3, 0, 0} |
| 1775 | } |
| 1776 | |
| 1777 | func (m *Nests_OptGroup_OptNestedGroup) XXX_Unmarshal(b []byte) error { |
| 1778 | return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Unmarshal(m, b) |
| 1779 | } |
| 1780 | func (m *Nests_OptGroup_OptNestedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1781 | return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Marshal(b, m, deterministic) |
| 1782 | } |
| 1783 | func (m *Nests_OptGroup_OptNestedGroup) XXX_Merge(src proto.Message) { |
| 1784 | xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Merge(m, src) |
| 1785 | } |
| 1786 | func (m *Nests_OptGroup_OptNestedGroup) XXX_Size() int { |
| 1787 | return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Size(m) |
| 1788 | } |
| 1789 | func (m *Nests_OptGroup_OptNestedGroup) XXX_DiscardUnknown() { |
| 1790 | xxx_messageInfo_Nests_OptGroup_OptNestedGroup.DiscardUnknown(m) |
| 1791 | } |
| 1792 | |
| 1793 | var xxx_messageInfo_Nests_OptGroup_OptNestedGroup proto.InternalMessageInfo |
| 1794 | |
| 1795 | func (m *Nests_OptGroup_OptNestedGroup) GetOptEnum() Enum { |
| 1796 | if m != nil && m.OptEnum != nil { |
| 1797 | return *m.OptEnum |
| 1798 | } |
| 1799 | return Enum_UNKNOWN |
| 1800 | } |
| 1801 | |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1802 | var E_OptExtBool = &proto.ExtensionDesc{ |
| 1803 | ExtendedType: (*Extensions)(nil), |
| 1804 | ExtensionType: (*bool)(nil), |
| 1805 | Field: 21, |
| 1806 | Name: "pb2.opt_ext_bool", |
| 1807 | Tag: "varint,21,opt,name=opt_ext_bool", |
| 1808 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1809 | } |
| 1810 | |
| 1811 | var E_OptExtString = &proto.ExtensionDesc{ |
| 1812 | ExtendedType: (*Extensions)(nil), |
| 1813 | ExtensionType: (*string)(nil), |
| 1814 | Field: 22, |
| 1815 | Name: "pb2.opt_ext_string", |
| 1816 | Tag: "bytes,22,opt,name=opt_ext_string", |
| 1817 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1818 | } |
| 1819 | |
| 1820 | var E_OptExtEnum = &proto.ExtensionDesc{ |
| 1821 | ExtendedType: (*Extensions)(nil), |
| 1822 | ExtensionType: (*Enum)(nil), |
| 1823 | Field: 23, |
| 1824 | Name: "pb2.opt_ext_enum", |
| 1825 | Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum", |
| 1826 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1827 | } |
| 1828 | |
| 1829 | var E_OptExtNested = &proto.ExtensionDesc{ |
| 1830 | ExtendedType: (*Extensions)(nil), |
| 1831 | ExtensionType: (*Nested)(nil), |
| 1832 | Field: 24, |
| 1833 | Name: "pb2.opt_ext_nested", |
| 1834 | Tag: "bytes,24,opt,name=opt_ext_nested", |
| 1835 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1836 | } |
| 1837 | |
| 1838 | var E_RptExtFixed32 = &proto.ExtensionDesc{ |
| 1839 | ExtendedType: (*Extensions)(nil), |
| 1840 | ExtensionType: ([]uint32)(nil), |
| 1841 | Field: 31, |
| 1842 | Name: "pb2.rpt_ext_fixed32", |
| 1843 | Tag: "fixed32,31,rep,name=rpt_ext_fixed32", |
| 1844 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1845 | } |
| 1846 | |
| 1847 | var E_RptExtEnum = &proto.ExtensionDesc{ |
| 1848 | ExtendedType: (*Extensions)(nil), |
| 1849 | ExtensionType: ([]Enum)(nil), |
| 1850 | Field: 32, |
| 1851 | Name: "pb2.rpt_ext_enum", |
| 1852 | Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum", |
| 1853 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1854 | } |
| 1855 | |
| 1856 | var E_RptExtNested = &proto.ExtensionDesc{ |
| 1857 | ExtendedType: (*Extensions)(nil), |
| 1858 | ExtensionType: ([]*Nested)(nil), |
| 1859 | Field: 33, |
| 1860 | Name: "pb2.rpt_ext_nested", |
| 1861 | Tag: "bytes,33,rep,name=rpt_ext_nested", |
| 1862 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1863 | } |
| 1864 | |
| 1865 | var E_ExtensionsContainer_OptExtBool = &proto.ExtensionDesc{ |
| 1866 | ExtendedType: (*Extensions)(nil), |
| 1867 | ExtensionType: (*bool)(nil), |
| 1868 | Field: 51, |
| 1869 | Name: "pb2.ExtensionsContainer.opt_ext_bool", |
| 1870 | Tag: "varint,51,opt,name=opt_ext_bool", |
| 1871 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1872 | } |
| 1873 | |
| 1874 | var E_ExtensionsContainer_OptExtString = &proto.ExtensionDesc{ |
| 1875 | ExtendedType: (*Extensions)(nil), |
| 1876 | ExtensionType: (*string)(nil), |
| 1877 | Field: 52, |
| 1878 | Name: "pb2.ExtensionsContainer.opt_ext_string", |
| 1879 | Tag: "bytes,52,opt,name=opt_ext_string", |
| 1880 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1881 | } |
| 1882 | |
| 1883 | var E_ExtensionsContainer_OptExtEnum = &proto.ExtensionDesc{ |
| 1884 | ExtendedType: (*Extensions)(nil), |
| 1885 | ExtensionType: (*Enum)(nil), |
| 1886 | Field: 53, |
| 1887 | Name: "pb2.ExtensionsContainer.opt_ext_enum", |
| 1888 | Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum", |
| 1889 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1890 | } |
| 1891 | |
| 1892 | var E_ExtensionsContainer_OptExtNested = &proto.ExtensionDesc{ |
| 1893 | ExtendedType: (*Extensions)(nil), |
| 1894 | ExtensionType: (*Nested)(nil), |
| 1895 | Field: 54, |
| 1896 | Name: "pb2.ExtensionsContainer.opt_ext_nested", |
| 1897 | Tag: "bytes,54,opt,name=opt_ext_nested", |
| 1898 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1899 | } |
| 1900 | |
| 1901 | var E_ExtensionsContainer_RptExtString = &proto.ExtensionDesc{ |
| 1902 | ExtendedType: (*Extensions)(nil), |
| 1903 | ExtensionType: ([]string)(nil), |
| 1904 | Field: 61, |
| 1905 | Name: "pb2.ExtensionsContainer.rpt_ext_string", |
| 1906 | Tag: "bytes,61,rep,name=rpt_ext_string", |
| 1907 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1908 | } |
| 1909 | |
| 1910 | var E_ExtensionsContainer_RptExtEnum = &proto.ExtensionDesc{ |
| 1911 | ExtendedType: (*Extensions)(nil), |
| 1912 | ExtensionType: ([]Enum)(nil), |
| 1913 | Field: 62, |
| 1914 | Name: "pb2.ExtensionsContainer.rpt_ext_enum", |
| 1915 | Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum", |
| 1916 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1917 | } |
| 1918 | |
| 1919 | var E_ExtensionsContainer_RptExtNested = &proto.ExtensionDesc{ |
| 1920 | ExtendedType: (*Extensions)(nil), |
| 1921 | ExtensionType: ([]*Nested)(nil), |
| 1922 | Field: 63, |
| 1923 | Name: "pb2.ExtensionsContainer.rpt_ext_nested", |
| 1924 | Tag: "bytes,63,rep,name=rpt_ext_nested", |
| 1925 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1926 | } |
| 1927 | |
| 1928 | var E_MessageSetExtension_MessageSetExtension = &proto.ExtensionDesc{ |
| 1929 | ExtendedType: (*MessageSet)(nil), |
| 1930 | ExtensionType: (*MessageSetExtension)(nil), |
| 1931 | Field: 10, |
| 1932 | Name: "pb2.MessageSetExtension", |
| 1933 | Tag: "bytes,10,opt,name=message_set_extension", |
| 1934 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1935 | } |
| 1936 | |
| 1937 | var E_MessageSetExtension_NotMessageSetExtension = &proto.ExtensionDesc{ |
| 1938 | ExtendedType: (*MessageSet)(nil), |
| 1939 | ExtensionType: (*MessageSetExtension)(nil), |
| 1940 | Field: 20, |
| 1941 | Name: "pb2.MessageSetExtension.not_message_set_extension", |
| 1942 | Tag: "bytes,20,opt,name=not_message_set_extension", |
| 1943 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1944 | } |
| 1945 | |
| 1946 | var E_MessageSetExtension_ExtNested = &proto.ExtensionDesc{ |
| 1947 | ExtendedType: (*MessageSet)(nil), |
| 1948 | ExtensionType: (*Nested)(nil), |
| 1949 | Field: 30, |
| 1950 | Name: "pb2.MessageSetExtension.ext_nested", |
| 1951 | Tag: "bytes,30,opt,name=ext_nested", |
| 1952 | Filename: "encoding/textpb/testprotos/pb2/test.proto", |
| 1953 | } |
| 1954 | |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 1955 | func init() { |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1956 | proto.RegisterFile("encoding/textpb/testprotos/pb2/test.proto", fileDescriptor_c8d7acc1bcec9a72) |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 1957 | proto.RegisterEnum("pb2.Enum", Enum_name, Enum_value) |
| 1958 | proto.RegisterEnum("pb2.Enums_NestedEnum", Enums_NestedEnum_name, Enums_NestedEnum_value) |
| 1959 | proto.RegisterType((*Scalars)(nil), "pb2.Scalars") |
| 1960 | proto.RegisterType((*Repeats)(nil), "pb2.Repeats") |
| 1961 | proto.RegisterType((*Enums)(nil), "pb2.Enums") |
| 1962 | proto.RegisterType((*Nests)(nil), "pb2.Nests") |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 1963 | proto.RegisterType((*Nested)(nil), "pb2.Nested") |
| 1964 | proto.RegisterType((*Requireds)(nil), "pb2.Requireds") |
Herbie Ong | 800c990 | 2018-12-06 15:28:53 -0800 | [diff] [blame] | 1965 | proto.RegisterType((*PartialRequired)(nil), "pb2.PartialRequired") |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 1966 | proto.RegisterType((*Oneofs)(nil), "pb2.Oneofs") |
| 1967 | proto.RegisterType((*Maps)(nil), "pb2.Maps") |
| 1968 | proto.RegisterMapType((map[bool]uint32)(nil), "pb2.Maps.BoolToUint32Entry") |
| 1969 | proto.RegisterMapType((map[int32]string)(nil), "pb2.Maps.Int32ToStrEntry") |
| 1970 | proto.RegisterMapType((map[int64]bool)(nil), "pb2.Maps.Sfixed64ToBoolEntry") |
| 1971 | proto.RegisterMapType((map[string]*Nested)(nil), "pb2.Maps.StrToNestedEntry") |
| 1972 | proto.RegisterMapType((map[string]*Oneofs)(nil), "pb2.Maps.StrToOneofsEntry") |
| 1973 | proto.RegisterMapType((map[uint64]Enum)(nil), "pb2.Maps.Uint64ToEnumEntry") |
Herbie Ong | 800c990 | 2018-12-06 15:28:53 -0800 | [diff] [blame] | 1974 | proto.RegisterType((*NestedWithRequired)(nil), "pb2.NestedWithRequired") |
| 1975 | proto.RegisterType((*IndirectRequired)(nil), "pb2.IndirectRequired") |
| 1976 | proto.RegisterMapType((map[string]*NestedWithRequired)(nil), "pb2.IndirectRequired.StrToNestedEntry") |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1977 | proto.RegisterType((*Extensions)(nil), "pb2.Extensions") |
| 1978 | proto.RegisterType((*ExtensionsContainer)(nil), "pb2.ExtensionsContainer") |
| 1979 | proto.RegisterType((*MessageSet)(nil), "pb2.MessageSet") |
| 1980 | proto.RegisterType((*MessageSetExtension)(nil), "pb2.MessageSetExtension") |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 1981 | proto.RegisterType((*KnownTypes)(nil), "pb2.KnownTypes") |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 1982 | proto.RegisterType((*Nests_OptGroup)(nil), "pb2.Nests.OptGroup") |
| 1983 | proto.RegisterType((*Nests_RptGroup)(nil), "pb2.Nests.RptGroup") |
| 1984 | proto.RegisterType((*Nests_OptGroup_OptNestedGroup)(nil), "pb2.Nests.OptGroup.OptNestedGroup") |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 1985 | proto.RegisterExtension(E_OptExtBool) |
| 1986 | proto.RegisterExtension(E_OptExtString) |
| 1987 | proto.RegisterExtension(E_OptExtEnum) |
| 1988 | proto.RegisterExtension(E_OptExtNested) |
| 1989 | proto.RegisterExtension(E_RptExtFixed32) |
| 1990 | proto.RegisterExtension(E_RptExtEnum) |
| 1991 | proto.RegisterExtension(E_RptExtNested) |
| 1992 | proto.RegisterExtension(E_ExtensionsContainer_OptExtBool) |
| 1993 | proto.RegisterExtension(E_ExtensionsContainer_OptExtString) |
| 1994 | proto.RegisterExtension(E_ExtensionsContainer_OptExtEnum) |
| 1995 | proto.RegisterExtension(E_ExtensionsContainer_OptExtNested) |
| 1996 | proto.RegisterExtension(E_ExtensionsContainer_RptExtString) |
| 1997 | proto.RegisterExtension(E_ExtensionsContainer_RptExtEnum) |
| 1998 | proto.RegisterExtension(E_ExtensionsContainer_RptExtNested) |
| 1999 | proto.RegisterExtension(E_MessageSetExtension_MessageSetExtension) |
| 2000 | proto.RegisterExtension(E_MessageSetExtension_NotMessageSetExtension) |
| 2001 | proto.RegisterExtension(E_MessageSetExtension_ExtNested) |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 2002 | } |
| 2003 | |
| 2004 | var fileDescriptor_c8d7acc1bcec9a72 = []byte{ |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 2005 | // 1945 bytes of a gzipped FileDescriptorProto |
| 2006 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x58, 0xdb, 0x6e, 0x1b, 0xc9, |
| 2007 | 0x11, 0xdd, 0x99, 0xe1, 0xb5, 0xa9, 0x0b, 0x3d, 0x92, 0xbd, 0x14, 0xbd, 0xbb, 0x1a, 0x13, 0x9b, |
| 2008 | 0x80, 0x11, 0xb0, 0x12, 0x32, 0xa2, 0x19, 0x81, 0x5a, 0xdb, 0xb0, 0xd6, 0xf4, 0xae, 0xd7, 0x59, |
| 2009 | 0x29, 0x20, 0xe9, 0x18, 0x58, 0x20, 0x10, 0x48, 0xb1, 0xc5, 0x1d, 0x84, 0x9c, 0x1e, 0xf6, 0x34, |
| 2010 | 0x6d, 0xe9, 0x3f, 0xf2, 0x0d, 0xc9, 0x1f, 0xe4, 0x21, 0xf9, 0x93, 0xfc, 0x44, 0x5e, 0xf2, 0x10, |
| 2011 | 0x20, 0x0f, 0x0e, 0xaa, 0x7a, 0x2e, 0xcd, 0x19, 0xde, 0xde, 0xa6, 0xbb, 0xea, 0x9c, 0xaa, 0xae, |
| 2012 | 0xea, 0xae, 0xea, 0x69, 0xf2, 0x1b, 0xea, 0xde, 0xb0, 0xa1, 0xe3, 0x8e, 0x4e, 0x04, 0xbd, 0x13, |
| 2013 | 0xde, 0xe0, 0x44, 0x50, 0x5f, 0x78, 0x9c, 0x09, 0xe6, 0x9f, 0x78, 0x03, 0x1b, 0x87, 0xc7, 0x38, |
| 2014 | 0x36, 0x0d, 0x6f, 0x60, 0x57, 0x0f, 0x46, 0x8c, 0x8d, 0xc6, 0xf4, 0x04, 0xa7, 0x06, 0xb3, 0xdb, |
| 2015 | 0x93, 0xbe, 0x7b, 0x2f, 0xe5, 0xd5, 0xc7, 0x49, 0x11, 0x9d, 0x78, 0x22, 0x14, 0x7e, 0x95, 0x14, |
| 2016 | 0x0e, 0x67, 0xbc, 0x2f, 0x1c, 0xe6, 0x06, 0xf2, 0x2f, 0x92, 0x72, 0x5f, 0xf0, 0xd9, 0x4d, 0x60, |
| 2017 | 0xba, 0x7a, 0x98, 0x94, 0x0a, 0x67, 0x42, 0x7d, 0xd1, 0x9f, 0x78, 0xcb, 0xe8, 0x3f, 0xf2, 0xbe, |
| 2018 | 0xe7, 0x51, 0xee, 0x4b, 0x79, 0xed, 0x5f, 0x06, 0xc9, 0x77, 0x6f, 0xfa, 0xe3, 0x3e, 0xf7, 0xcd, |
| 2019 | 0x03, 0x52, 0x60, 0x9e, 0xb8, 0x1e, 0x30, 0x36, 0xae, 0x68, 0x96, 0x56, 0x2f, 0x74, 0xf2, 0xcc, |
| 2020 | 0x13, 0x17, 0x8c, 0x8d, 0xcd, 0xc7, 0xa4, 0x08, 0x22, 0xc7, 0x15, 0xa7, 0x76, 0x45, 0xb7, 0xb4, |
| 2021 | 0x7a, 0xb6, 0x03, 0xba, 0x6f, 0x60, 0xac, 0x08, 0x9b, 0x8d, 0x8a, 0x61, 0x69, 0x75, 0x23, 0x14, |
| 2022 | 0x36, 0x1b, 0xe6, 0x97, 0x84, 0x80, 0x70, 0x26, 0xa1, 0x19, 0x4b, 0xab, 0x6f, 0x77, 0x40, 0xfd, |
| 2023 | 0x1d, 0x4e, 0xa8, 0xe2, 0x66, 0xa3, 0x92, 0xb5, 0xb4, 0x7a, 0x26, 0x12, 0xc7, 0x68, 0x5f, 0xa2, |
| 2024 | 0x73, 0x96, 0x56, 0x7f, 0x80, 0xe2, 0xee, 0x1c, 0xda, 0x97, 0xe8, 0xbc, 0xa5, 0xd5, 0xcd, 0x48, |
| 2025 | 0xdc, 0x6c, 0x98, 0x87, 0xa4, 0x04, 0xe2, 0x5b, 0xe7, 0x8e, 0x0e, 0x4f, 0xed, 0x4a, 0xc1, 0xd2, |
| 2026 | 0xea, 0xf9, 0x0e, 0x20, 0x5e, 0xcb, 0x99, 0x39, 0x85, 0x66, 0xa3, 0x52, 0xb4, 0xb4, 0x7a, 0x2e, |
| 2027 | 0x56, 0x68, 0x36, 0xcc, 0x27, 0x64, 0x0b, 0x0d, 0x84, 0x14, 0xc4, 0xd2, 0xea, 0xbb, 0x1d, 0x00, |
| 2028 | 0x75, 0x83, 0xa9, 0x79, 0x95, 0x66, 0xa3, 0x52, 0xb2, 0xb4, 0x7a, 0x59, 0x51, 0x69, 0x36, 0xc2, |
| 2029 | 0x00, 0xdd, 0x8e, 0x59, 0x5f, 0x54, 0xf6, 0x2d, 0xad, 0xae, 0x63, 0x80, 0x5e, 0xc3, 0x38, 0x5c, |
| 2030 | 0xc3, 0x90, 0xcd, 0x06, 0x63, 0x5a, 0x79, 0x68, 0x69, 0x75, 0x0d, 0xd7, 0xf0, 0x0a, 0x27, 0x42, |
| 2031 | 0xec, 0xe0, 0x5e, 0x50, 0xbf, 0xb2, 0x63, 0x69, 0xf5, 0x2d, 0xc4, 0x5e, 0xc0, 0x38, 0x5a, 0xbf, |
| 2032 | 0xe0, 0x8e, 0x3b, 0xaa, 0x6c, 0x5b, 0x5a, 0xbd, 0x28, 0xd7, 0x8f, 0x13, 0xb5, 0xbf, 0xe8, 0x24, |
| 2033 | 0xdf, 0xa1, 0x1e, 0xed, 0x0b, 0x4c, 0x2e, 0x8f, 0x93, 0x6b, 0x40, 0x72, 0x79, 0x9c, 0x5c, 0xae, |
| 2034 | 0x24, 0xd7, 0x80, 0xe4, 0x72, 0x25, 0xb9, 0x5c, 0x49, 0xae, 0x01, 0xc9, 0xe5, 0x4a, 0x72, 0xb9, |
| 2035 | 0x9a, 0x5c, 0x03, 0x92, 0xcb, 0xd5, 0xe4, 0x72, 0x35, 0xb9, 0x06, 0x24, 0x97, 0x47, 0xc9, 0x0d, |
| 2036 | 0xa8, 0x65, 0x58, 0x72, 0x96, 0x01, 0x61, 0xe1, 0x4a, 0x58, 0x78, 0x1c, 0x96, 0xbc, 0x65, 0x40, |
| 2037 | 0x58, 0x78, 0x14, 0x96, 0x40, 0x1c, 0xac, 0x7c, 0xd7, 0x32, 0x60, 0xe5, 0x3c, 0x5c, 0x79, 0x48, |
| 2038 | 0x1d, 0x46, 0xcd, 0x80, 0xa8, 0xf1, 0x20, 0x6a, 0xb5, 0xff, 0x69, 0x24, 0xdb, 0x76, 0x67, 0x13, |
| 2039 | 0xdf, 0xfc, 0x5a, 0xee, 0x78, 0xea, 0xce, 0x26, 0xb8, 0xe3, 0x77, 0xec, 0xe2, 0xb1, 0x37, 0xb0, |
| 2040 | 0x8f, 0x41, 0x8a, 0x9b, 0x1f, 0x3e, 0x40, 0x8b, 0x87, 0x5a, 0x10, 0x9e, 0x79, 0x2d, 0x1e, 0x68, |
| 2041 | 0x3d, 0x23, 0xbb, 0xc0, 0xe5, 0x52, 0x5f, 0xd0, 0xa1, 0x54, 0x36, 0x90, 0xf2, 0x61, 0xa4, 0xec, |
| 2042 | 0x1f, 0x5f, 0xa2, 0x14, 0x81, 0xdb, 0xcc, 0x13, 0xf1, 0x10, 0xe0, 0x3c, 0x01, 0xcf, 0xa0, 0xad, |
| 2043 | 0x65, 0x70, 0xae, 0xc2, 0x6b, 0x75, 0x42, 0x14, 0xb2, 0x3c, 0x31, 0xde, 0x5d, 0x5e, 0x95, 0x35, |
| 2044 | 0xf8, 0x78, 0x75, 0xd5, 0x2d, 0xeb, 0x66, 0x81, 0x64, 0x5e, 0xbd, 0x69, 0xff, 0x5c, 0x26, 0xb5, |
| 2045 | 0x7f, 0x1b, 0x24, 0x0b, 0xaa, 0xbe, 0x79, 0x24, 0x77, 0x8f, 0x34, 0x89, 0xeb, 0x2f, 0xd9, 0x25, |
| 2046 | 0xb4, 0x26, 0xa9, 0x70, 0x2b, 0xc9, 0x4f, 0xf3, 0x04, 0x23, 0x35, 0xe2, 0x6c, 0xe6, 0xe1, 0xf9, |
| 2047 | 0x27, 0xf6, 0x5e, 0xa4, 0xe9, 0x1f, 0x5f, 0x79, 0xe2, 0x7b, 0x10, 0x75, 0x22, 0x25, 0x20, 0x8f, |
| 2048 | 0xd7, 0x83, 0x1b, 0x27, 0x49, 0xce, 0x55, 0x72, 0x1e, 0x92, 0xc3, 0xa2, 0xe7, 0xc9, 0x3b, 0x11, |
| 2049 | 0x79, 0xa8, 0x54, 0xfd, 0x8f, 0x46, 0x0a, 0xa1, 0xcd, 0x55, 0x65, 0x6b, 0xfe, 0x7c, 0xe8, 0x89, |
| 2050 | 0xf3, 0x91, 0x08, 0x80, 0xb1, 0x32, 0x00, 0x3f, 0x92, 0x1d, 0xe6, 0x09, 0xa9, 0x1a, 0x7a, 0x0a, |
| 2051 | 0x61, 0xa8, 0x2d, 0x08, 0x03, 0x7c, 0x48, 0x98, 0x74, 0x3c, 0x81, 0xac, 0x36, 0xc9, 0xce, 0xbc, |
| 2052 | 0xc6, 0x66, 0x1b, 0xb1, 0xfa, 0x2b, 0x52, 0xe8, 0x28, 0xab, 0x5e, 0x72, 0x9e, 0x3b, 0x3b, 0x9c, |
| 2053 | 0xfa, 0x94, 0x7f, 0xa0, 0xc3, 0xeb, 0x5b, 0x87, 0x8e, 0x87, 0xb5, 0x2e, 0xc9, 0x05, 0x8b, 0x98, |
| 2054 | 0x8f, 0x87, 0xb6, 0x3a, 0x1e, 0xfa, 0xaa, 0x78, 0xd4, 0xfe, 0xab, 0x93, 0x62, 0x87, 0x4e, 0x67, |
| 2055 | 0x0e, 0xa7, 0x43, 0x59, 0x5d, 0xe8, 0x34, 0xf4, 0x46, 0x47, 0x6f, 0xe8, 0x14, 0x73, 0x70, 0x48, |
| 2056 | 0x4a, 0x20, 0x0a, 0x2b, 0xa8, 0x6e, 0xe9, 0x50, 0x84, 0x39, 0x9d, 0x2a, 0x45, 0x38, 0x52, 0xc0, |
| 2057 | 0x1a, 0xa3, 0x43, 0x11, 0x0e, 0x15, 0x64, 0x11, 0x06, 0x85, 0xa8, 0x08, 0x67, 0x2c, 0x1d, 0x8a, |
| 2058 | 0x30, 0xa7, 0x53, 0xb5, 0x08, 0xc7, 0x2a, 0x58, 0x6b, 0x74, 0x28, 0xc2, 0x91, 0x4a, 0x50, 0x6d, |
| 2059 | 0xc0, 0x4c, 0x50, 0x6d, 0x74, 0xac, 0x36, 0x74, 0x1a, 0x57, 0x1b, 0x3a, 0x8d, 0xab, 0x8d, 0x8e, |
| 2060 | 0xd5, 0x86, 0x4e, 0x95, 0x6a, 0x03, 0xf4, 0x32, 0x6e, 0x05, 0x4b, 0xc7, 0x6a, 0x43, 0xa7, 0x4a, |
| 2061 | 0xb5, 0x81, 0xd5, 0x63, 0xb5, 0x29, 0x5a, 0x3a, 0x56, 0x1b, 0x3a, 0x95, 0x35, 0xfa, 0x6b, 0x19, |
| 2062 | 0x1a, 0x4c, 0x2d, 0xb1, 0xf4, 0x64, 0xf5, 0xa0, 0x53, 0x3c, 0xb1, 0x47, 0xd2, 0x42, 0x10, 0xfa, |
| 2063 | 0x92, 0xa5, 0xa7, 0x8f, 0x0b, 0x9d, 0x06, 0xa1, 0xbf, 0x22, 0xbb, 0x7f, 0xe8, 0x73, 0xe1, 0xf4, |
| 2064 | 0xc7, 0x61, 0x02, 0x12, 0x0e, 0x6a, 0x49, 0x07, 0x57, 0x9f, 0x83, 0xda, 0x6b, 0x92, 0xbb, 0x72, |
| 2065 | 0x29, 0xbb, 0xf5, 0x4d, 0x93, 0x18, 0xbe, 0xe0, 0x72, 0x67, 0xfc, 0xf0, 0x59, 0x07, 0x06, 0xe6, |
| 2066 | 0x21, 0x31, 0x26, 0xfe, 0x68, 0xc1, 0x76, 0x00, 0x85, 0x89, 0x3f, 0xba, 0xc8, 0x93, 0xec, 0xcc, |
| 2067 | 0x75, 0x98, 0x5b, 0xfb, 0x67, 0x8e, 0x64, 0x7e, 0xea, 0x7b, 0xbe, 0x79, 0x4e, 0xb6, 0xb0, 0x03, |
| 2068 | 0x5c, 0x0b, 0x76, 0x2d, 0xf9, 0xe0, 0xf8, 0x1f, 0x20, 0x16, 0x14, 0x8e, 0xb1, 0xb7, 0xf4, 0x58, |
| 2069 | 0x57, 0xf0, 0xb6, 0x2b, 0xf8, 0x7d, 0x87, 0x38, 0xd1, 0x84, 0xf9, 0x3d, 0x29, 0x87, 0x79, 0x04, |
| 2070 | 0x3c, 0xee, 0x29, 0x1d, 0x09, 0xbe, 0x8c, 0x09, 0xc2, 0xb4, 0xf6, 0x18, 0x6c, 0x32, 0x49, 0xb2, |
| 2071 | 0xe3, 0xcf, 0x4d, 0x9a, 0x2f, 0xc9, 0x0e, 0x80, 0x81, 0x24, 0xe8, 0x50, 0xb2, 0x0c, 0x3d, 0x8e, |
| 2072 | 0x69, 0x40, 0xaf, 0xc7, 0x64, 0xbb, 0x92, 0x24, 0x5b, 0x03, 0x65, 0x0a, 0x28, 0x64, 0xf7, 0x02, |
| 2073 | 0x92, 0xa8, 0x28, 0xcf, 0x51, 0xc8, 0x66, 0xd6, 0x63, 0x90, 0xc6, 0x80, 0x62, 0xa6, 0x4c, 0x99, |
| 2074 | 0xcf, 0xc9, 0xb6, 0x2f, 0x38, 0xe0, 0x83, 0xe4, 0x66, 0x91, 0xa1, 0xaa, 0xac, 0x45, 0xf0, 0x1e, |
| 2075 | 0x0b, 0xab, 0x37, 0x10, 0x94, 0xfc, 0x78, 0x46, 0xc1, 0x33, 0xcc, 0x11, 0x76, 0xca, 0x34, 0x5e, |
| 2076 | 0x26, 0x50, 0xc5, 0xcb, 0x99, 0xea, 0x33, 0xb2, 0x9b, 0x88, 0xb6, 0x59, 0x26, 0xc6, 0x9f, 0xe9, |
| 2077 | 0x3d, 0x66, 0x39, 0xdb, 0x81, 0x4f, 0x73, 0x9f, 0x64, 0x3f, 0xf4, 0xc7, 0x33, 0x1a, 0xec, 0x0d, |
| 2078 | 0x39, 0x68, 0xe9, 0x67, 0x5a, 0xf5, 0x25, 0xd9, 0x5b, 0x10, 0x6b, 0x95, 0xa2, 0xbc, 0x80, 0xa2, |
| 2079 | 0xa0, 0x52, 0xbc, 0x20, 0x0f, 0x52, 0x71, 0x56, 0x09, 0x0a, 0x0b, 0x08, 0xb6, 0x55, 0x82, 0x1f, |
| 2080 | 0xc9, 0x83, 0x54, 0x94, 0x55, 0x82, 0x8c, 0x24, 0x38, 0x54, 0x09, 0xe6, 0x8e, 0x99, 0xc2, 0xf5, |
| 2081 | 0x96, 0x94, 0x93, 0xf1, 0x56, 0xa9, 0x8a, 0x92, 0xea, 0x89, 0x4a, 0x95, 0x38, 0x89, 0x0b, 0xc8, |
| 2082 | 0x94, 0xe0, 0x6f, 0x4a, 0x26, 0x21, 0x0a, 0x59, 0xed, 0x94, 0x98, 0xd2, 0xc2, 0x7b, 0x47, 0xfc, |
| 2083 | 0xb2, 0xe1, 0xc9, 0xae, 0xfd, 0x4d, 0x27, 0xe5, 0x37, 0xee, 0xd0, 0xe1, 0xf4, 0x46, 0x44, 0x98, |
| 2084 | 0xe6, 0x82, 0xc6, 0xfe, 0xb9, 0xb2, 0x04, 0xd5, 0x80, 0xda, 0xe3, 0x9a, 0x73, 0x3d, 0x5b, 0x9e, |
| 2085 | 0xb9, 0xe5, 0x38, 0xae, 0xf4, 0xc6, 0xc4, 0x16, 0x97, 0xe7, 0xec, 0xd7, 0x08, 0x4d, 0x7a, 0xb7, |
| 2086 | 0x7a, 0xbb, 0x57, 0xdf, 0x6f, 0x94, 0x9f, 0x6f, 0xe6, 0x43, 0xba, 0xd4, 0x49, 0x25, 0xbc, 0x0e, |
| 2087 | 0x21, 0xed, 0x3b, 0x41, 0x5d, 0xdf, 0x61, 0xae, 0xbf, 0xae, 0x13, 0xaa, 0x77, 0x0a, 0xba, 0xf9, |
| 2088 | 0xaf, 0xd0, 0x51, 0xa6, 0xb0, 0x5f, 0xa6, 0xb5, 0x7f, 0x18, 0x64, 0x2f, 0xb6, 0xf5, 0x1d, 0x73, |
| 2089 | 0x45, 0xdf, 0x71, 0x29, 0xb7, 0x7f, 0x2b, 0x7f, 0x15, 0xe8, 0x9d, 0x64, 0x36, 0x77, 0xe5, 0x0e, |
| 2090 | 0x8d, 0x34, 0x2b, 0xa7, 0x68, 0x0a, 0x3c, 0x6b, 0xdf, 0xa1, 0x35, 0xfb, 0x29, 0x5e, 0x3b, 0x10, |
| 2091 | 0x22, 0x7d, 0x4d, 0x83, 0x1a, 0xe8, 0xfc, 0x96, 0x04, 0x49, 0xff, 0xed, 0x6f, 0x63, 0x4b, 0x50, |
| 2092 | 0xb5, 0xd2, 0xa0, 0xa7, 0xc9, 0x23, 0x12, 0x18, 0x85, 0x6f, 0xfb, 0x22, 0x36, 0x2a, 0x13, 0x9a, |
| 2093 | 0xc6, 0x37, 0xd3, 0xe7, 0x22, 0xf0, 0x40, 0x8e, 0xc0, 0x71, 0xbe, 0xc6, 0xf1, 0x67, 0x78, 0x6b, |
| 2094 | 0xdf, 0xe2, 0x09, 0xc7, 0xf9, 0x4a, 0xc7, 0x9f, 0x27, 0x2f, 0xe0, 0x84, 0xcf, 0x39, 0xce, 0xd7, |
| 2095 | 0x38, 0xfe, 0x22, 0x7d, 0x13, 0x0d, 0x3c, 0x08, 0xba, 0x6b, 0x95, 0x90, 0x9f, 0xa8, 0xef, 0xf7, |
| 2096 | 0x47, 0xb4, 0x4b, 0xc5, 0x51, 0xa1, 0x90, 0x29, 0x7f, 0xfa, 0xf4, 0xe9, 0x53, 0xbe, 0xa5, 0x17, |
| 2097 | 0xb4, 0xda, 0xdf, 0x75, 0xb2, 0x17, 0x0b, 0x23, 0xd6, 0x35, 0xbb, 0xc9, 0xfe, 0x13, 0x79, 0x38, |
| 2098 | 0x91, 0xa8, 0x6b, 0x9f, 0xa2, 0x7b, 0x01, 0x4e, 0x7a, 0x17, 0x33, 0xe2, 0xff, 0x65, 0xc9, 0xae, |
| 2099 | 0x24, 0xa6, 0x23, 0x43, 0x9d, 0xbd, 0x49, 0x7a, 0xd2, 0x1e, 0x92, 0x03, 0x97, 0x89, 0xeb, 0x0d, |
| 2100 | 0x4d, 0xec, 0xaf, 0x31, 0xf1, 0xc8, 0x65, 0x62, 0xc1, 0xbc, 0x7d, 0x4e, 0x48, 0x2a, 0xae, 0x0a, |
| 2101 | 0xed, 0x57, 0x0b, 0x6e, 0x8b, 0x34, 0x0a, 0xea, 0x5f, 0xf3, 0x84, 0xbc, 0x75, 0xd9, 0x47, 0xb7, |
| 2102 | 0x77, 0xef, 0x51, 0xdf, 0x7c, 0x9a, 0xb8, 0xb2, 0x43, 0x3b, 0x93, 0x0f, 0x15, 0xc7, 0xe1, 0x43, |
| 2103 | 0x05, 0xb6, 0xe6, 0x3f, 0xc2, 0xe9, 0x8d, 0x8f, 0xde, 0x59, 0xf2, 0xe8, 0x41, 0x23, 0x4e, 0xe2, |
| 2104 | 0xf0, 0x20, 0x4a, 0x60, 0xfc, 0x44, 0x71, 0x96, 0x7c, 0xa2, 0x58, 0x82, 0x6c, 0x36, 0xe6, 0x90, |
| 2105 | 0xcd, 0x86, 0x79, 0x9e, 0x7a, 0xbf, 0x28, 0xd9, 0x5f, 0xa4, 0xa0, 0xef, 0x14, 0xab, 0xca, 0xeb, |
| 2106 | 0xc6, 0x79, 0xea, 0x75, 0x63, 0x19, 0x38, 0x34, 0xac, 0xbc, 0x7d, 0x9c, 0xa9, 0xaf, 0x06, 0xb9, |
| 2107 | 0x25, 0x3e, 0xe3, 0xf5, 0x35, 0xf6, 0x59, 0xde, 0x66, 0xcf, 0xe7, 0x9e, 0x14, 0xf2, 0x4b, 0xcc, |
| 2108 | 0xca, 0xbb, 0x6d, 0x6c, 0x36, 0xb8, 0xeb, 0x9e, 0xcf, 0xed, 0xe5, 0xc2, 0x12, 0xb0, 0xdc, 0xd9, |
| 2109 | 0x31, 0x38, 0xa8, 0x9b, 0x67, 0xea, 0x6b, 0x45, 0x71, 0x89, 0xcf, 0x78, 0x2f, 0x8e, 0x7d, 0x96, |
| 2110 | 0xd7, 0xe4, 0xa0, 0x62, 0x85, 0xaf, 0x5f, 0xc1, 0x36, 0x3d, 0x48, 0x7b, 0x1d, 0x28, 0xe0, 0x0b, |
| 2111 | 0x4b, 0x38, 0x30, 0x5f, 0x10, 0xf8, 0x9d, 0xbe, 0x8e, 0x5e, 0xbf, 0xf0, 0x1d, 0x65, 0xd1, 0xae, |
| 2112 | 0xea, 0x85, 0x1a, 0x58, 0xae, 0xa2, 0x51, 0xd8, 0x32, 0xe5, 0xe3, 0x5a, 0xe5, 0x20, 0xe8, 0x2a, |
| 2113 | 0x0b, 0x56, 0x3d, 0xbb, 0x11, 0xe1, 0x82, 0x67, 0x37, 0x22, 0xdc, 0xc9, 0x63, 0xc7, 0x17, 0x95, |
| 2114 | 0xea, 0x12, 0x9b, 0xbf, 0x77, 0x7c, 0x11, 0xef, 0x64, 0x18, 0x99, 0xa7, 0x32, 0x4e, 0xb2, 0x87, |
| 2115 | 0x3d, 0x46, 0xdc, 0xa3, 0x14, 0x2e, 0x0e, 0x11, 0x7e, 0x85, 0x20, 0x7c, 0x3d, 0x0c, 0xce, 0x5b, |
| 2116 | 0x1a, 0xd4, 0x06, 0x29, 0x82, 0xf0, 0xcb, 0xfc, 0x86, 0x80, 0xd1, 0xeb, 0xbe, 0x7b, 0x5f, 0xb1, |
| 2117 | 0x10, 0xb2, 0x9f, 0x82, 0xbc, 0x74, 0xef, 0x3b, 0x39, 0xe6, 0x89, 0x97, 0xee, 0xfd, 0xd1, 0x53, |
| 2118 | 0x92, 0xc1, 0x5b, 0x6b, 0x89, 0xe4, 0xdf, 0x5d, 0xbe, 0xbd, 0xbc, 0x7a, 0x7f, 0x59, 0xfe, 0xcc, |
| 2119 | 0x2c, 0x92, 0xec, 0xeb, 0x37, 0x9d, 0x6e, 0xaf, 0xac, 0x99, 0x84, 0xe4, 0xba, 0xed, 0xef, 0xae, |
| 2120 | 0x2e, 0x5f, 0x95, 0x75, 0x98, 0xee, 0xb5, 0x2f, 0x7b, 0x3f, 0x94, 0x49, 0x6b, 0x6d, 0x67, 0x7b, |
| 2121 | 0x98, 0xec, 0x6c, 0xad, 0x0d, 0x3a, 0xdb, 0xa3, 0x74, 0x67, 0x6b, 0xad, 0xed, 0x6c, 0x9f, 0xaf, |
| 2122 | 0xe8, 0x6c, 0xad, 0x0d, 0x3a, 0x5b, 0x65, 0x4d, 0x67, 0x6b, 0xfd, 0x4e, 0xbe, 0xd4, 0x00, 0x47, |
| 2123 | 0xf8, 0xfb, 0x99, 0x22, 0x39, 0xb4, 0x8c, 0x7a, 0x1e, 0xdf, 0x68, 0xda, 0x77, 0xe1, 0x6b, 0x63, |
| 2124 | 0x6b, 0x6d, 0x6f, 0xb3, 0x56, 0xf4, 0xb6, 0xd6, 0x06, 0xbd, 0xed, 0xc9, 0x9a, 0xde, 0x76, 0xf1, |
| 2125 | 0xfc, 0xe7, 0x6f, 0x47, 0x8e, 0xf8, 0x65, 0x36, 0x38, 0xbe, 0x61, 0x93, 0x93, 0x11, 0x1b, 0xf7, |
| 2126 | 0xdd, 0x51, 0xfc, 0x34, 0xfc, 0xc1, 0x3e, 0x59, 0xfd, 0xe8, 0xfd, 0xff, 0x00, 0x00, 0x00, 0xff, |
| 2127 | 0xff, 0x59, 0x20, 0x4f, 0x36, 0x15, 0x17, 0x00, 0x00, |
Herbie Ong | cddf819 | 2018-11-28 18:25:20 -0800 | [diff] [blame] | 2128 | } |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2129 | |
| 2130 | func init() { |
| 2131 | xxx_Test_ProtoFile_FileDesc.Enums = xxx_Test_ProtoFile_EnumDescs[0:1] |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 2132 | xxx_Test_ProtoFile_FileDesc.Messages = xxx_Test_ProtoFile_MessageDescs[0:16] |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2133 | xxx_Test_ProtoFile_MessageDescs[2].Enums = xxx_Test_ProtoFile_EnumDescs[1:2] |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 2134 | xxx_Test_ProtoFile_MessageDescs[3].Messages = xxx_Test_ProtoFile_MessageDescs[16:18] |
| 2135 | xxx_Test_ProtoFile_MessageDescs[8].Messages = xxx_Test_ProtoFile_MessageDescs[19:25] |
| 2136 | xxx_Test_ProtoFile_MessageDescs[10].Messages = xxx_Test_ProtoFile_MessageDescs[25:26] |
| 2137 | xxx_Test_ProtoFile_MessageDescs[16].Messages = xxx_Test_ProtoFile_MessageDescs[18:19] |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2138 | xxx_Test_ProtoFile_MessageDescs[2].Fields[0].EnumType = xxx_Test_ProtoFile_EnumTypes[0] |
| 2139 | xxx_Test_ProtoFile_MessageDescs[2].Fields[1].EnumType = xxx_Test_ProtoFile_EnumTypes[0] |
| 2140 | xxx_Test_ProtoFile_MessageDescs[2].Fields[2].EnumType = xxx_Test_ProtoFile_EnumTypes[1] |
| 2141 | xxx_Test_ProtoFile_MessageDescs[2].Fields[3].EnumType = xxx_Test_ProtoFile_EnumTypes[1] |
| 2142 | xxx_Test_ProtoFile_MessageDescs[3].Fields[0].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 2143 | xxx_Test_ProtoFile_MessageDescs[3].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[16].Type |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2144 | xxx_Test_ProtoFile_MessageDescs[3].Fields[2].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 2145 | xxx_Test_ProtoFile_MessageDescs[3].Fields[3].MessageType = xxx_Test_ProtoFile_MessageTypes[17].Type |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2146 | xxx_Test_ProtoFile_MessageDescs[4].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type |
| 2147 | xxx_Test_ProtoFile_MessageDescs[5].Fields[9].EnumType = xxx_Test_ProtoFile_EnumTypes[0] |
| 2148 | xxx_Test_ProtoFile_MessageDescs[5].Fields[10].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type |
| 2149 | xxx_Test_ProtoFile_MessageDescs[7].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 2150 | xxx_Test_ProtoFile_MessageDescs[8].Fields[0].MessageType = xxx_Test_ProtoFile_MessageDescs[19].Reference() |
| 2151 | xxx_Test_ProtoFile_MessageDescs[8].Fields[1].MessageType = xxx_Test_ProtoFile_MessageDescs[20].Reference() |
| 2152 | xxx_Test_ProtoFile_MessageDescs[8].Fields[2].MessageType = xxx_Test_ProtoFile_MessageDescs[21].Reference() |
| 2153 | xxx_Test_ProtoFile_MessageDescs[8].Fields[3].MessageType = xxx_Test_ProtoFile_MessageDescs[22].Reference() |
| 2154 | xxx_Test_ProtoFile_MessageDescs[8].Fields[4].MessageType = xxx_Test_ProtoFile_MessageDescs[23].Reference() |
| 2155 | xxx_Test_ProtoFile_MessageDescs[8].Fields[5].MessageType = xxx_Test_ProtoFile_MessageDescs[24].Reference() |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2156 | xxx_Test_ProtoFile_MessageDescs[10].Fields[0].MessageType = xxx_Test_ProtoFile_MessageTypes[9].Type |
| 2157 | xxx_Test_ProtoFile_MessageDescs[10].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[9].Type |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 2158 | xxx_Test_ProtoFile_MessageDescs[10].Fields[2].MessageType = xxx_Test_ProtoFile_MessageDescs[25].Reference() |
| 2159 | xxx_Test_ProtoFile_MessageDescs[15].Fields[0].MessageType = protoimpl.X.MessageTypeOf((*wrappers.BoolValue)(nil)) |
| 2160 | xxx_Test_ProtoFile_MessageDescs[15].Fields[1].MessageType = protoimpl.X.MessageTypeOf((*wrappers.Int32Value)(nil)) |
| 2161 | xxx_Test_ProtoFile_MessageDescs[15].Fields[2].MessageType = protoimpl.X.MessageTypeOf((*wrappers.Int64Value)(nil)) |
| 2162 | xxx_Test_ProtoFile_MessageDescs[15].Fields[3].MessageType = protoimpl.X.MessageTypeOf((*wrappers.UInt32Value)(nil)) |
| 2163 | xxx_Test_ProtoFile_MessageDescs[15].Fields[4].MessageType = protoimpl.X.MessageTypeOf((*wrappers.UInt64Value)(nil)) |
| 2164 | xxx_Test_ProtoFile_MessageDescs[15].Fields[5].MessageType = protoimpl.X.MessageTypeOf((*wrappers.FloatValue)(nil)) |
| 2165 | xxx_Test_ProtoFile_MessageDescs[15].Fields[6].MessageType = protoimpl.X.MessageTypeOf((*wrappers.DoubleValue)(nil)) |
| 2166 | xxx_Test_ProtoFile_MessageDescs[15].Fields[7].MessageType = protoimpl.X.MessageTypeOf((*wrappers.StringValue)(nil)) |
| 2167 | xxx_Test_ProtoFile_MessageDescs[15].Fields[8].MessageType = protoimpl.X.MessageTypeOf((*wrappers.BytesValue)(nil)) |
| 2168 | xxx_Test_ProtoFile_MessageDescs[15].Fields[9].MessageType = protoimpl.X.MessageTypeOf((*duration.Duration)(nil)) |
| 2169 | xxx_Test_ProtoFile_MessageDescs[15].Fields[10].MessageType = protoimpl.X.MessageTypeOf((*timestamp.Timestamp)(nil)) |
| 2170 | xxx_Test_ProtoFile_MessageDescs[15].Fields[11].MessageType = protoimpl.X.MessageTypeOf((*_struct.Struct)(nil)) |
| 2171 | xxx_Test_ProtoFile_MessageDescs[15].Fields[12].MessageType = protoimpl.X.MessageTypeOf((*_struct.ListValue)(nil)) |
| 2172 | xxx_Test_ProtoFile_MessageDescs[15].Fields[13].MessageType = protoimpl.X.MessageTypeOf((*_struct.Value)(nil)) |
| 2173 | xxx_Test_ProtoFile_MessageDescs[15].Fields[14].MessageType = protoimpl.X.MessageTypeOf((*empty.Empty)(nil)) |
| 2174 | xxx_Test_ProtoFile_MessageDescs[15].Fields[15].MessageType = protoimpl.X.MessageTypeOf((*any.Any)(nil)) |
| 2175 | xxx_Test_ProtoFile_MessageDescs[16].Fields[2].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type |
| 2176 | xxx_Test_ProtoFile_MessageDescs[16].Fields[3].MessageType = xxx_Test_ProtoFile_MessageTypes[18].Type |
| 2177 | xxx_Test_ProtoFile_MessageDescs[18].Fields[0].EnumType = xxx_Test_ProtoFile_EnumTypes[0] |
| 2178 | xxx_Test_ProtoFile_MessageDescs[22].Fields[1].EnumType = xxx_Test_ProtoFile_EnumTypes[0] |
| 2179 | xxx_Test_ProtoFile_MessageDescs[23].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type |
| 2180 | xxx_Test_ProtoFile_MessageDescs[24].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[7].Type |
| 2181 | xxx_Test_ProtoFile_MessageDescs[25].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[9].Type |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2182 | var err error |
| 2183 | Test_ProtoFile, err = prototype.NewFile(&xxx_Test_ProtoFile_FileDesc) |
| 2184 | if err != nil { |
| 2185 | panic(err) |
| 2186 | } |
| 2187 | } |
| 2188 | |
| 2189 | const _ = protoimpl.EnforceVersion(protoimpl.Version - 0) |
| 2190 | |
| 2191 | var Test_ProtoFile protoreflect.FileDescriptor |
| 2192 | |
| 2193 | var xxx_Test_ProtoFile_FileDesc = prototype.File{ |
| 2194 | Syntax: protoreflect.Proto2, |
| 2195 | Path: "encoding/textpb/testprotos/pb2/test.proto", |
| 2196 | Package: "pb2", |
| 2197 | Imports: []protoreflect.FileImport{ |
| 2198 | {FileDescriptor: prototype.PlaceholderFile("google/protobuf/any.proto", "google.protobuf")}, |
| 2199 | {FileDescriptor: prototype.PlaceholderFile("google/protobuf/empty.proto", "google.protobuf")}, |
| 2200 | {FileDescriptor: prototype.PlaceholderFile("google/protobuf/duration.proto", "google.protobuf")}, |
| 2201 | {FileDescriptor: prototype.PlaceholderFile("google/protobuf/struct.proto", "google.protobuf")}, |
| 2202 | {FileDescriptor: prototype.PlaceholderFile("google/protobuf/timestamp.proto", "google.protobuf")}, |
| 2203 | {FileDescriptor: prototype.PlaceholderFile("google/protobuf/wrappers.proto", "google.protobuf")}, |
| 2204 | }, |
| 2205 | } |
| 2206 | var xxx_Test_ProtoFile_EnumTypes = [2]protoreflect.EnumType{ |
| 2207 | prototype.GoEnum( |
| 2208 | xxx_Test_ProtoFile_EnumDescs[0].Reference(), |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 2209 | func(_ protoreflect.EnumType, n protoreflect.EnumNumber) protoreflect.Enum { |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2210 | return Enum(n) |
| 2211 | }, |
| 2212 | ), |
| 2213 | prototype.GoEnum( |
| 2214 | xxx_Test_ProtoFile_EnumDescs[1].Reference(), |
Damien Neil | a8593ba | 2019-01-08 16:18:07 -0800 | [diff] [blame] | 2215 | func(_ protoreflect.EnumType, n protoreflect.EnumNumber) protoreflect.Enum { |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2216 | return Enums_NestedEnum(n) |
| 2217 | }, |
| 2218 | ), |
| 2219 | } |
| 2220 | var xxx_Test_ProtoFile_EnumDescs = [2]prototype.Enum{ |
| 2221 | { |
| 2222 | Name: "Enum", |
| 2223 | Values: []prototype.EnumValue{ |
| 2224 | {Name: "UNKNOWN", Number: 0}, |
| 2225 | {Name: "FIRST", Number: 1}, |
| 2226 | {Name: "SECOND", Number: 2}, |
| 2227 | {Name: "TENTH", Number: 10}, |
| 2228 | }, |
| 2229 | }, |
| 2230 | { |
| 2231 | Name: "NestedEnum", |
| 2232 | Values: []prototype.EnumValue{ |
| 2233 | {Name: "UNO", Number: 1}, |
| 2234 | {Name: "DOS", Number: 2}, |
| 2235 | {Name: "DIEZ", Number: 10}, |
| 2236 | }, |
| 2237 | }, |
| 2238 | } |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 2239 | var xxx_Test_ProtoFile_MessageTypes = [26]protoimpl.MessageType{ |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2240 | {Type: prototype.GoMessage( |
| 2241 | xxx_Test_ProtoFile_MessageDescs[0].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2242 | func(protoreflect.MessageType) protoreflect.Message { |
| 2243 | return xxx_Scalars{new(Scalars)} |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2244 | }, |
| 2245 | )}, |
| 2246 | {Type: prototype.GoMessage( |
| 2247 | xxx_Test_ProtoFile_MessageDescs[1].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2248 | func(protoreflect.MessageType) protoreflect.Message { |
| 2249 | return xxx_Repeats{new(Repeats)} |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2250 | }, |
| 2251 | )}, |
| 2252 | {Type: prototype.GoMessage( |
| 2253 | xxx_Test_ProtoFile_MessageDescs[2].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2254 | func(protoreflect.MessageType) protoreflect.Message { |
| 2255 | return xxx_Enums{new(Enums)} |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2256 | }, |
| 2257 | )}, |
| 2258 | {Type: prototype.GoMessage( |
| 2259 | xxx_Test_ProtoFile_MessageDescs[3].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2260 | func(protoreflect.MessageType) protoreflect.Message { |
| 2261 | return xxx_Nests{new(Nests)} |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2262 | }, |
| 2263 | )}, |
| 2264 | {Type: prototype.GoMessage( |
| 2265 | xxx_Test_ProtoFile_MessageDescs[4].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2266 | func(protoreflect.MessageType) protoreflect.Message { |
| 2267 | return xxx_Nested{new(Nested)} |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2268 | }, |
| 2269 | )}, |
| 2270 | {Type: prototype.GoMessage( |
| 2271 | xxx_Test_ProtoFile_MessageDescs[5].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2272 | func(protoreflect.MessageType) protoreflect.Message { |
| 2273 | return xxx_Requireds{new(Requireds)} |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2274 | }, |
| 2275 | )}, |
| 2276 | {Type: prototype.GoMessage( |
| 2277 | xxx_Test_ProtoFile_MessageDescs[6].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2278 | func(protoreflect.MessageType) protoreflect.Message { |
| 2279 | return xxx_PartialRequired{new(PartialRequired)} |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2280 | }, |
| 2281 | )}, |
| 2282 | {Type: prototype.GoMessage( |
| 2283 | xxx_Test_ProtoFile_MessageDescs[7].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2284 | func(protoreflect.MessageType) protoreflect.Message { |
| 2285 | return xxx_Oneofs{new(Oneofs)} |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2286 | }, |
| 2287 | )}, |
| 2288 | {Type: prototype.GoMessage( |
| 2289 | xxx_Test_ProtoFile_MessageDescs[8].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2290 | func(protoreflect.MessageType) protoreflect.Message { |
| 2291 | return xxx_Maps{new(Maps)} |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2292 | }, |
| 2293 | )}, |
| 2294 | {Type: prototype.GoMessage( |
| 2295 | xxx_Test_ProtoFile_MessageDescs[9].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2296 | func(protoreflect.MessageType) protoreflect.Message { |
| 2297 | return xxx_NestedWithRequired{new(NestedWithRequired)} |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2298 | }, |
| 2299 | )}, |
| 2300 | {Type: prototype.GoMessage( |
| 2301 | xxx_Test_ProtoFile_MessageDescs[10].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2302 | func(protoreflect.MessageType) protoreflect.Message { |
| 2303 | return xxx_IndirectRequired{new(IndirectRequired)} |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2304 | }, |
| 2305 | )}, |
| 2306 | {Type: prototype.GoMessage( |
| 2307 | xxx_Test_ProtoFile_MessageDescs[11].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2308 | func(protoreflect.MessageType) protoreflect.Message { |
| 2309 | return xxx_Extensions{new(Extensions)} |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2310 | }, |
| 2311 | )}, |
| 2312 | {Type: prototype.GoMessage( |
| 2313 | xxx_Test_ProtoFile_MessageDescs[12].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2314 | func(protoreflect.MessageType) protoreflect.Message { |
| 2315 | return xxx_ExtensionsContainer{new(ExtensionsContainer)} |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2316 | }, |
| 2317 | )}, |
| 2318 | {Type: prototype.GoMessage( |
| 2319 | xxx_Test_ProtoFile_MessageDescs[13].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2320 | func(protoreflect.MessageType) protoreflect.Message { |
| 2321 | return xxx_MessageSet{new(MessageSet)} |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2322 | }, |
| 2323 | )}, |
| 2324 | {Type: prototype.GoMessage( |
| 2325 | xxx_Test_ProtoFile_MessageDescs[14].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2326 | func(protoreflect.MessageType) protoreflect.Message { |
| 2327 | return xxx_MessageSetExtension{new(MessageSetExtension)} |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 2328 | }, |
| 2329 | )}, |
| 2330 | {Type: prototype.GoMessage( |
| 2331 | xxx_Test_ProtoFile_MessageDescs[15].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2332 | func(protoreflect.MessageType) protoreflect.Message { |
| 2333 | return xxx_KnownTypes{new(KnownTypes)} |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 2334 | }, |
| 2335 | )}, |
| 2336 | {Type: prototype.GoMessage( |
| 2337 | xxx_Test_ProtoFile_MessageDescs[16].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2338 | func(protoreflect.MessageType) protoreflect.Message { |
| 2339 | return xxx_Nests_OptGroup{new(Nests_OptGroup)} |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 2340 | }, |
| 2341 | )}, |
| 2342 | {Type: prototype.GoMessage( |
| 2343 | xxx_Test_ProtoFile_MessageDescs[17].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2344 | func(protoreflect.MessageType) protoreflect.Message { |
| 2345 | return xxx_Nests_RptGroup{new(Nests_RptGroup)} |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 2346 | }, |
| 2347 | )}, |
| 2348 | {Type: prototype.GoMessage( |
| 2349 | xxx_Test_ProtoFile_MessageDescs[18].Reference(), |
Joe Tsai | 3bc7d6f | 2019-01-09 02:57:13 -0800 | [diff] [blame] | 2350 | func(protoreflect.MessageType) protoreflect.Message { |
| 2351 | return xxx_Nests_OptGroup_OptNestedGroup{new(Nests_OptGroup_OptNestedGroup)} |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2352 | }, |
| 2353 | )}, |
| 2354 | { /* no message type for Maps_Int32ToStrEntry */ }, |
| 2355 | { /* no message type for Maps_Sfixed64ToBoolEntry */ }, |
| 2356 | { /* no message type for Maps_BoolToUint32Entry */ }, |
| 2357 | { /* no message type for Maps_Uint64ToEnumEntry */ }, |
| 2358 | { /* no message type for Maps_StrToNestedEntry */ }, |
| 2359 | { /* no message type for Maps_StrToOneofsEntry */ }, |
| 2360 | { /* no message type for IndirectRequired_StrToNestedEntry */ }, |
| 2361 | } |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 2362 | var xxx_Test_ProtoFile_MessageDescs = [26]prototype.Message{ |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2363 | { |
| 2364 | Name: "Scalars", |
| 2365 | Fields: []prototype.Field{ |
| 2366 | { |
| 2367 | Name: "opt_bool", |
| 2368 | Number: 1, |
| 2369 | Cardinality: protoreflect.Optional, |
| 2370 | Kind: protoreflect.BoolKind, |
| 2371 | JSONName: "optBool", |
| 2372 | IsPacked: prototype.False, |
| 2373 | }, |
| 2374 | { |
| 2375 | Name: "opt_int32", |
| 2376 | Number: 2, |
| 2377 | Cardinality: protoreflect.Optional, |
| 2378 | Kind: protoreflect.Int32Kind, |
| 2379 | JSONName: "optInt32", |
| 2380 | IsPacked: prototype.False, |
| 2381 | }, |
| 2382 | { |
| 2383 | Name: "opt_int64", |
| 2384 | Number: 3, |
| 2385 | Cardinality: protoreflect.Optional, |
| 2386 | Kind: protoreflect.Int64Kind, |
| 2387 | JSONName: "optInt64", |
| 2388 | IsPacked: prototype.False, |
| 2389 | }, |
| 2390 | { |
| 2391 | Name: "opt_uint32", |
| 2392 | Number: 4, |
| 2393 | Cardinality: protoreflect.Optional, |
| 2394 | Kind: protoreflect.Uint32Kind, |
| 2395 | JSONName: "optUint32", |
| 2396 | IsPacked: prototype.False, |
| 2397 | }, |
| 2398 | { |
| 2399 | Name: "opt_uint64", |
| 2400 | Number: 5, |
| 2401 | Cardinality: protoreflect.Optional, |
| 2402 | Kind: protoreflect.Uint64Kind, |
| 2403 | JSONName: "optUint64", |
| 2404 | IsPacked: prototype.False, |
| 2405 | }, |
| 2406 | { |
| 2407 | Name: "opt_sint32", |
| 2408 | Number: 6, |
| 2409 | Cardinality: protoreflect.Optional, |
| 2410 | Kind: protoreflect.Sint32Kind, |
| 2411 | JSONName: "optSint32", |
| 2412 | IsPacked: prototype.False, |
| 2413 | }, |
| 2414 | { |
| 2415 | Name: "opt_sint64", |
| 2416 | Number: 7, |
| 2417 | Cardinality: protoreflect.Optional, |
| 2418 | Kind: protoreflect.Sint64Kind, |
| 2419 | JSONName: "optSint64", |
| 2420 | IsPacked: prototype.False, |
| 2421 | }, |
| 2422 | { |
| 2423 | Name: "opt_fixed32", |
| 2424 | Number: 8, |
| 2425 | Cardinality: protoreflect.Optional, |
| 2426 | Kind: protoreflect.Fixed32Kind, |
| 2427 | JSONName: "optFixed32", |
| 2428 | IsPacked: prototype.False, |
| 2429 | }, |
| 2430 | { |
| 2431 | Name: "opt_fixed64", |
| 2432 | Number: 9, |
| 2433 | Cardinality: protoreflect.Optional, |
| 2434 | Kind: protoreflect.Fixed64Kind, |
| 2435 | JSONName: "optFixed64", |
| 2436 | IsPacked: prototype.False, |
| 2437 | }, |
| 2438 | { |
| 2439 | Name: "opt_sfixed32", |
| 2440 | Number: 10, |
| 2441 | Cardinality: protoreflect.Optional, |
| 2442 | Kind: protoreflect.Sfixed32Kind, |
| 2443 | JSONName: "optSfixed32", |
| 2444 | IsPacked: prototype.False, |
| 2445 | }, |
| 2446 | { |
| 2447 | Name: "opt_sfixed64", |
| 2448 | Number: 11, |
| 2449 | Cardinality: protoreflect.Optional, |
| 2450 | Kind: protoreflect.Sfixed64Kind, |
| 2451 | JSONName: "optSfixed64", |
| 2452 | IsPacked: prototype.False, |
| 2453 | }, |
| 2454 | { |
| 2455 | Name: "opt_float", |
| 2456 | Number: 20, |
| 2457 | Cardinality: protoreflect.Optional, |
| 2458 | Kind: protoreflect.FloatKind, |
| 2459 | JSONName: "optFloat", |
| 2460 | IsPacked: prototype.False, |
| 2461 | }, |
| 2462 | { |
| 2463 | Name: "opt_double", |
| 2464 | Number: 21, |
| 2465 | Cardinality: protoreflect.Optional, |
| 2466 | Kind: protoreflect.DoubleKind, |
| 2467 | JSONName: "optDouble", |
| 2468 | IsPacked: prototype.False, |
| 2469 | }, |
| 2470 | { |
| 2471 | Name: "opt_bytes", |
| 2472 | Number: 14, |
| 2473 | Cardinality: protoreflect.Optional, |
| 2474 | Kind: protoreflect.BytesKind, |
| 2475 | JSONName: "optBytes", |
| 2476 | IsPacked: prototype.False, |
| 2477 | }, |
| 2478 | { |
| 2479 | Name: "opt_string", |
| 2480 | Number: 13, |
| 2481 | Cardinality: protoreflect.Optional, |
| 2482 | Kind: protoreflect.StringKind, |
| 2483 | JSONName: "optString", |
| 2484 | IsPacked: prototype.False, |
| 2485 | }, |
| 2486 | }, |
| 2487 | }, |
| 2488 | { |
| 2489 | Name: "Repeats", |
| 2490 | Fields: []prototype.Field{ |
| 2491 | { |
| 2492 | Name: "rpt_bool", |
| 2493 | Number: 1, |
| 2494 | Cardinality: protoreflect.Repeated, |
| 2495 | Kind: protoreflect.BoolKind, |
| 2496 | JSONName: "rptBool", |
| 2497 | IsPacked: prototype.False, |
| 2498 | }, |
| 2499 | { |
| 2500 | Name: "rpt_int32", |
| 2501 | Number: 2, |
| 2502 | Cardinality: protoreflect.Repeated, |
| 2503 | Kind: protoreflect.Int32Kind, |
| 2504 | JSONName: "rptInt32", |
| 2505 | IsPacked: prototype.False, |
| 2506 | }, |
| 2507 | { |
| 2508 | Name: "rpt_int64", |
| 2509 | Number: 3, |
| 2510 | Cardinality: protoreflect.Repeated, |
| 2511 | Kind: protoreflect.Int64Kind, |
| 2512 | JSONName: "rptInt64", |
| 2513 | IsPacked: prototype.False, |
| 2514 | }, |
| 2515 | { |
| 2516 | Name: "rpt_uint32", |
| 2517 | Number: 4, |
| 2518 | Cardinality: protoreflect.Repeated, |
| 2519 | Kind: protoreflect.Uint32Kind, |
| 2520 | JSONName: "rptUint32", |
| 2521 | IsPacked: prototype.False, |
| 2522 | }, |
| 2523 | { |
| 2524 | Name: "rpt_uint64", |
| 2525 | Number: 5, |
| 2526 | Cardinality: protoreflect.Repeated, |
| 2527 | Kind: protoreflect.Uint64Kind, |
| 2528 | JSONName: "rptUint64", |
| 2529 | IsPacked: prototype.False, |
| 2530 | }, |
| 2531 | { |
| 2532 | Name: "rpt_float", |
| 2533 | Number: 6, |
| 2534 | Cardinality: protoreflect.Repeated, |
| 2535 | Kind: protoreflect.FloatKind, |
| 2536 | JSONName: "rptFloat", |
| 2537 | IsPacked: prototype.False, |
| 2538 | }, |
| 2539 | { |
| 2540 | Name: "rpt_double", |
| 2541 | Number: 7, |
| 2542 | Cardinality: protoreflect.Repeated, |
| 2543 | Kind: protoreflect.DoubleKind, |
| 2544 | JSONName: "rptDouble", |
| 2545 | IsPacked: prototype.False, |
| 2546 | }, |
| 2547 | { |
| 2548 | Name: "rpt_string", |
| 2549 | Number: 15, |
| 2550 | Cardinality: protoreflect.Repeated, |
| 2551 | Kind: protoreflect.StringKind, |
| 2552 | JSONName: "rptString", |
| 2553 | IsPacked: prototype.False, |
| 2554 | }, |
| 2555 | { |
| 2556 | Name: "rpt_bytes", |
| 2557 | Number: 14, |
| 2558 | Cardinality: protoreflect.Repeated, |
| 2559 | Kind: protoreflect.BytesKind, |
| 2560 | JSONName: "rptBytes", |
| 2561 | IsPacked: prototype.False, |
| 2562 | }, |
| 2563 | }, |
| 2564 | }, |
| 2565 | { |
| 2566 | Name: "Enums", |
| 2567 | Fields: []prototype.Field{ |
| 2568 | { |
| 2569 | Name: "opt_enum", |
| 2570 | Number: 1, |
| 2571 | Cardinality: protoreflect.Optional, |
| 2572 | Kind: protoreflect.EnumKind, |
| 2573 | JSONName: "optEnum", |
| 2574 | IsPacked: prototype.False, |
| 2575 | }, |
| 2576 | { |
| 2577 | Name: "rpt_enum", |
| 2578 | Number: 2, |
| 2579 | Cardinality: protoreflect.Repeated, |
| 2580 | Kind: protoreflect.EnumKind, |
| 2581 | JSONName: "rptEnum", |
| 2582 | IsPacked: prototype.False, |
| 2583 | }, |
| 2584 | { |
| 2585 | Name: "opt_nested_enum", |
| 2586 | Number: 3, |
| 2587 | Cardinality: protoreflect.Optional, |
| 2588 | Kind: protoreflect.EnumKind, |
| 2589 | JSONName: "optNestedEnum", |
| 2590 | IsPacked: prototype.False, |
| 2591 | }, |
| 2592 | { |
| 2593 | Name: "rpt_nested_enum", |
| 2594 | Number: 4, |
| 2595 | Cardinality: protoreflect.Repeated, |
| 2596 | Kind: protoreflect.EnumKind, |
| 2597 | JSONName: "rptNestedEnum", |
| 2598 | IsPacked: prototype.False, |
| 2599 | }, |
| 2600 | }, |
| 2601 | }, |
| 2602 | { |
| 2603 | Name: "Nests", |
| 2604 | Fields: []prototype.Field{ |
| 2605 | { |
| 2606 | Name: "opt_nested", |
| 2607 | Number: 1, |
| 2608 | Cardinality: protoreflect.Optional, |
| 2609 | Kind: protoreflect.MessageKind, |
| 2610 | JSONName: "optNested", |
| 2611 | IsPacked: prototype.False, |
| 2612 | }, |
| 2613 | { |
| 2614 | Name: "optgroup", |
| 2615 | Number: 2, |
| 2616 | Cardinality: protoreflect.Optional, |
| 2617 | Kind: protoreflect.GroupKind, |
| 2618 | JSONName: "optgroup", |
| 2619 | IsPacked: prototype.False, |
| 2620 | }, |
| 2621 | { |
| 2622 | Name: "rpt_nested", |
| 2623 | Number: 3, |
| 2624 | Cardinality: protoreflect.Repeated, |
| 2625 | Kind: protoreflect.MessageKind, |
| 2626 | JSONName: "rptNested", |
| 2627 | IsPacked: prototype.False, |
| 2628 | }, |
| 2629 | { |
| 2630 | Name: "rptgroup", |
| 2631 | Number: 4, |
| 2632 | Cardinality: protoreflect.Repeated, |
| 2633 | Kind: protoreflect.GroupKind, |
| 2634 | JSONName: "rptgroup", |
| 2635 | IsPacked: prototype.False, |
| 2636 | }, |
| 2637 | }, |
Herbie Ong | 7c624e2 | 2018-12-13 14:41:22 -0800 | [diff] [blame] | 2638 | ReservedNames: []protoreflect.Name{"reserved_field"}, |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2639 | }, |
| 2640 | { |
| 2641 | Name: "Nested", |
| 2642 | Fields: []prototype.Field{ |
| 2643 | { |
| 2644 | Name: "opt_string", |
| 2645 | Number: 1, |
| 2646 | Cardinality: protoreflect.Optional, |
| 2647 | Kind: protoreflect.StringKind, |
| 2648 | JSONName: "optString", |
| 2649 | IsPacked: prototype.False, |
| 2650 | }, |
| 2651 | { |
| 2652 | Name: "opt_nested", |
| 2653 | Number: 2, |
| 2654 | Cardinality: protoreflect.Optional, |
| 2655 | Kind: protoreflect.MessageKind, |
| 2656 | JSONName: "optNested", |
| 2657 | IsPacked: prototype.False, |
| 2658 | }, |
| 2659 | }, |
| 2660 | }, |
| 2661 | { |
| 2662 | Name: "Requireds", |
| 2663 | Fields: []prototype.Field{ |
| 2664 | { |
| 2665 | Name: "req_bool", |
| 2666 | Number: 1, |
| 2667 | Cardinality: protoreflect.Required, |
| 2668 | Kind: protoreflect.BoolKind, |
| 2669 | JSONName: "reqBool", |
| 2670 | IsPacked: prototype.False, |
| 2671 | }, |
| 2672 | { |
| 2673 | Name: "req_fixed32", |
| 2674 | Number: 2, |
| 2675 | Cardinality: protoreflect.Required, |
| 2676 | Kind: protoreflect.Fixed32Kind, |
| 2677 | JSONName: "reqFixed32", |
| 2678 | IsPacked: prototype.False, |
| 2679 | }, |
| 2680 | { |
| 2681 | Name: "req_fixed64", |
| 2682 | Number: 3, |
| 2683 | Cardinality: protoreflect.Required, |
| 2684 | Kind: protoreflect.Fixed64Kind, |
| 2685 | JSONName: "reqFixed64", |
| 2686 | IsPacked: prototype.False, |
| 2687 | }, |
| 2688 | { |
| 2689 | Name: "req_sfixed32", |
| 2690 | Number: 4, |
| 2691 | Cardinality: protoreflect.Required, |
| 2692 | Kind: protoreflect.Sfixed32Kind, |
| 2693 | JSONName: "reqSfixed32", |
| 2694 | IsPacked: prototype.False, |
| 2695 | }, |
| 2696 | { |
| 2697 | Name: "req_sfixed64", |
| 2698 | Number: 5, |
| 2699 | Cardinality: protoreflect.Required, |
| 2700 | Kind: protoreflect.Sfixed64Kind, |
| 2701 | JSONName: "reqSfixed64", |
| 2702 | IsPacked: prototype.False, |
| 2703 | }, |
| 2704 | { |
| 2705 | Name: "req_float", |
| 2706 | Number: 6, |
| 2707 | Cardinality: protoreflect.Required, |
| 2708 | Kind: protoreflect.FloatKind, |
| 2709 | JSONName: "reqFloat", |
| 2710 | IsPacked: prototype.False, |
| 2711 | }, |
| 2712 | { |
| 2713 | Name: "req_double", |
| 2714 | Number: 7, |
| 2715 | Cardinality: protoreflect.Required, |
| 2716 | Kind: protoreflect.DoubleKind, |
| 2717 | JSONName: "reqDouble", |
| 2718 | IsPacked: prototype.False, |
| 2719 | }, |
| 2720 | { |
| 2721 | Name: "req_string", |
| 2722 | Number: 8, |
| 2723 | Cardinality: protoreflect.Required, |
| 2724 | Kind: protoreflect.StringKind, |
| 2725 | JSONName: "reqString", |
| 2726 | IsPacked: prototype.False, |
| 2727 | }, |
| 2728 | { |
| 2729 | Name: "req_bytes", |
| 2730 | Number: 9, |
| 2731 | Cardinality: protoreflect.Required, |
| 2732 | Kind: protoreflect.BytesKind, |
| 2733 | JSONName: "reqBytes", |
| 2734 | IsPacked: prototype.False, |
| 2735 | }, |
| 2736 | { |
| 2737 | Name: "req_enum", |
| 2738 | Number: 10, |
| 2739 | Cardinality: protoreflect.Required, |
| 2740 | Kind: protoreflect.EnumKind, |
| 2741 | JSONName: "reqEnum", |
| 2742 | IsPacked: prototype.False, |
| 2743 | }, |
| 2744 | { |
| 2745 | Name: "req_nested", |
| 2746 | Number: 11, |
| 2747 | Cardinality: protoreflect.Required, |
| 2748 | Kind: protoreflect.MessageKind, |
| 2749 | JSONName: "reqNested", |
| 2750 | IsPacked: prototype.False, |
| 2751 | }, |
| 2752 | }, |
| 2753 | }, |
| 2754 | { |
| 2755 | Name: "PartialRequired", |
| 2756 | Fields: []prototype.Field{ |
| 2757 | { |
| 2758 | Name: "req_string", |
| 2759 | Number: 1, |
| 2760 | Cardinality: protoreflect.Required, |
| 2761 | Kind: protoreflect.StringKind, |
| 2762 | JSONName: "reqString", |
| 2763 | IsPacked: prototype.False, |
| 2764 | }, |
| 2765 | { |
| 2766 | Name: "opt_string", |
| 2767 | Number: 2, |
| 2768 | Cardinality: protoreflect.Optional, |
| 2769 | Kind: protoreflect.StringKind, |
| 2770 | JSONName: "optString", |
| 2771 | IsPacked: prototype.False, |
| 2772 | }, |
| 2773 | }, |
| 2774 | }, |
| 2775 | { |
| 2776 | Name: "Oneofs", |
| 2777 | Fields: []prototype.Field{ |
| 2778 | { |
| 2779 | Name: "str", |
| 2780 | Number: 1, |
| 2781 | Cardinality: protoreflect.Optional, |
| 2782 | Kind: protoreflect.StringKind, |
| 2783 | JSONName: "str", |
| 2784 | OneofName: "union", |
| 2785 | IsPacked: prototype.False, |
| 2786 | }, |
| 2787 | { |
| 2788 | Name: "msg", |
| 2789 | Number: 2, |
| 2790 | Cardinality: protoreflect.Optional, |
| 2791 | Kind: protoreflect.MessageKind, |
| 2792 | JSONName: "msg", |
| 2793 | OneofName: "union", |
| 2794 | IsPacked: prototype.False, |
| 2795 | }, |
| 2796 | }, |
| 2797 | Oneofs: []prototype.Oneof{ |
| 2798 | {Name: "union"}, |
| 2799 | }, |
| 2800 | }, |
| 2801 | { |
| 2802 | Name: "Maps", |
| 2803 | Fields: []prototype.Field{ |
| 2804 | { |
| 2805 | Name: "int32_to_str", |
| 2806 | Number: 1, |
| 2807 | Cardinality: protoreflect.Repeated, |
| 2808 | Kind: protoreflect.MessageKind, |
| 2809 | JSONName: "int32ToStr", |
| 2810 | IsPacked: prototype.False, |
| 2811 | }, |
| 2812 | { |
| 2813 | Name: "sfixed64_to_bool", |
| 2814 | Number: 2, |
| 2815 | Cardinality: protoreflect.Repeated, |
| 2816 | Kind: protoreflect.MessageKind, |
| 2817 | JSONName: "sfixed64ToBool", |
| 2818 | IsPacked: prototype.False, |
| 2819 | }, |
| 2820 | { |
| 2821 | Name: "bool_to_uint32", |
| 2822 | Number: 3, |
| 2823 | Cardinality: protoreflect.Repeated, |
| 2824 | Kind: protoreflect.MessageKind, |
| 2825 | JSONName: "boolToUint32", |
| 2826 | IsPacked: prototype.False, |
| 2827 | }, |
| 2828 | { |
| 2829 | Name: "uint64_to_enum", |
| 2830 | Number: 4, |
| 2831 | Cardinality: protoreflect.Repeated, |
| 2832 | Kind: protoreflect.MessageKind, |
| 2833 | JSONName: "uint64ToEnum", |
| 2834 | IsPacked: prototype.False, |
| 2835 | }, |
| 2836 | { |
| 2837 | Name: "str_to_nested", |
| 2838 | Number: 5, |
| 2839 | Cardinality: protoreflect.Repeated, |
| 2840 | Kind: protoreflect.MessageKind, |
| 2841 | JSONName: "strToNested", |
| 2842 | IsPacked: prototype.False, |
| 2843 | }, |
| 2844 | { |
| 2845 | Name: "str_to_oneofs", |
| 2846 | Number: 6, |
| 2847 | Cardinality: protoreflect.Repeated, |
| 2848 | Kind: protoreflect.MessageKind, |
| 2849 | JSONName: "strToOneofs", |
| 2850 | IsPacked: prototype.False, |
| 2851 | }, |
| 2852 | }, |
| 2853 | }, |
| 2854 | { |
| 2855 | Name: "NestedWithRequired", |
| 2856 | Fields: []prototype.Field{ |
| 2857 | { |
| 2858 | Name: "req_string", |
| 2859 | Number: 1, |
| 2860 | Cardinality: protoreflect.Required, |
| 2861 | Kind: protoreflect.StringKind, |
| 2862 | JSONName: "reqString", |
| 2863 | IsPacked: prototype.False, |
| 2864 | }, |
| 2865 | }, |
| 2866 | }, |
| 2867 | { |
| 2868 | Name: "IndirectRequired", |
| 2869 | Fields: []prototype.Field{ |
| 2870 | { |
| 2871 | Name: "opt_nested", |
| 2872 | Number: 1, |
| 2873 | Cardinality: protoreflect.Optional, |
| 2874 | Kind: protoreflect.MessageKind, |
| 2875 | JSONName: "optNested", |
| 2876 | IsPacked: prototype.False, |
| 2877 | }, |
| 2878 | { |
| 2879 | Name: "rpt_nested", |
| 2880 | Number: 2, |
| 2881 | Cardinality: protoreflect.Repeated, |
| 2882 | Kind: protoreflect.MessageKind, |
| 2883 | JSONName: "rptNested", |
| 2884 | IsPacked: prototype.False, |
| 2885 | }, |
| 2886 | { |
| 2887 | Name: "str_to_nested", |
| 2888 | Number: 3, |
| 2889 | Cardinality: protoreflect.Repeated, |
| 2890 | Kind: protoreflect.MessageKind, |
| 2891 | JSONName: "strToNested", |
| 2892 | IsPacked: prototype.False, |
| 2893 | }, |
| 2894 | }, |
| 2895 | }, |
| 2896 | { |
Herbie Ong | cf25308 | 2018-12-17 17:13:07 -0800 | [diff] [blame] | 2897 | Name: "Extensions", |
| 2898 | Fields: []prototype.Field{ |
| 2899 | { |
| 2900 | Name: "opt_string", |
| 2901 | Number: 1, |
| 2902 | Cardinality: protoreflect.Optional, |
| 2903 | Kind: protoreflect.StringKind, |
| 2904 | JSONName: "optString", |
| 2905 | IsPacked: prototype.False, |
| 2906 | }, |
| 2907 | { |
| 2908 | Name: "opt_bool", |
| 2909 | Number: 101, |
| 2910 | Cardinality: protoreflect.Optional, |
| 2911 | Kind: protoreflect.BoolKind, |
| 2912 | JSONName: "optBool", |
| 2913 | IsPacked: prototype.False, |
| 2914 | }, |
| 2915 | { |
| 2916 | Name: "opt_int32", |
| 2917 | Number: 2, |
| 2918 | Cardinality: protoreflect.Optional, |
| 2919 | Kind: protoreflect.Int32Kind, |
| 2920 | JSONName: "optInt32", |
| 2921 | IsPacked: prototype.False, |
| 2922 | }, |
| 2923 | }, |
| 2924 | ExtensionRanges: [][2]protoreflect.FieldNumber{{20, 101}}, |
| 2925 | }, |
| 2926 | { |
| 2927 | Name: "ExtensionsContainer", |
| 2928 | }, |
| 2929 | { |
| 2930 | Name: "MessageSet", |
| 2931 | ExtensionRanges: [][2]protoreflect.FieldNumber{{4, 2147483647}}, |
| 2932 | }, |
| 2933 | { |
| 2934 | Name: "MessageSetExtension", |
| 2935 | Fields: []prototype.Field{ |
| 2936 | { |
| 2937 | Name: "opt_string", |
| 2938 | Number: 1, |
| 2939 | Cardinality: protoreflect.Optional, |
| 2940 | Kind: protoreflect.StringKind, |
| 2941 | JSONName: "optString", |
| 2942 | IsPacked: prototype.False, |
| 2943 | }, |
| 2944 | }, |
| 2945 | }, |
| 2946 | { |
Herbie Ong | 7065195 | 2018-12-13 14:19:50 -0800 | [diff] [blame] | 2947 | Name: "KnownTypes", |
| 2948 | Fields: []prototype.Field{ |
| 2949 | { |
| 2950 | Name: "opt_bool", |
| 2951 | Number: 1, |
| 2952 | Cardinality: protoreflect.Optional, |
| 2953 | Kind: protoreflect.MessageKind, |
| 2954 | JSONName: "optBool", |
| 2955 | IsPacked: prototype.False, |
| 2956 | }, |
| 2957 | { |
| 2958 | Name: "opt_int32", |
| 2959 | Number: 2, |
| 2960 | Cardinality: protoreflect.Optional, |
| 2961 | Kind: protoreflect.MessageKind, |
| 2962 | JSONName: "optInt32", |
| 2963 | IsPacked: prototype.False, |
| 2964 | }, |
| 2965 | { |
| 2966 | Name: "opt_int64", |
| 2967 | Number: 3, |
| 2968 | Cardinality: protoreflect.Optional, |
| 2969 | Kind: protoreflect.MessageKind, |
| 2970 | JSONName: "optInt64", |
| 2971 | IsPacked: prototype.False, |
| 2972 | }, |
| 2973 | { |
| 2974 | Name: "opt_uint32", |
| 2975 | Number: 4, |
| 2976 | Cardinality: protoreflect.Optional, |
| 2977 | Kind: protoreflect.MessageKind, |
| 2978 | JSONName: "optUint32", |
| 2979 | IsPacked: prototype.False, |
| 2980 | }, |
| 2981 | { |
| 2982 | Name: "opt_uint64", |
| 2983 | Number: 5, |
| 2984 | Cardinality: protoreflect.Optional, |
| 2985 | Kind: protoreflect.MessageKind, |
| 2986 | JSONName: "optUint64", |
| 2987 | IsPacked: prototype.False, |
| 2988 | }, |
| 2989 | { |
| 2990 | Name: "opt_float", |
| 2991 | Number: 6, |
| 2992 | Cardinality: protoreflect.Optional, |
| 2993 | Kind: protoreflect.MessageKind, |
| 2994 | JSONName: "optFloat", |
| 2995 | IsPacked: prototype.False, |
| 2996 | }, |
| 2997 | { |
| 2998 | Name: "opt_double", |
| 2999 | Number: 7, |
| 3000 | Cardinality: protoreflect.Optional, |
| 3001 | Kind: protoreflect.MessageKind, |
| 3002 | JSONName: "optDouble", |
| 3003 | IsPacked: prototype.False, |
| 3004 | }, |
| 3005 | { |
| 3006 | Name: "opt_string", |
| 3007 | Number: 8, |
| 3008 | Cardinality: protoreflect.Optional, |
| 3009 | Kind: protoreflect.MessageKind, |
| 3010 | JSONName: "optString", |
| 3011 | IsPacked: prototype.False, |
| 3012 | }, |
| 3013 | { |
| 3014 | Name: "opt_bytes", |
| 3015 | Number: 9, |
| 3016 | Cardinality: protoreflect.Optional, |
| 3017 | Kind: protoreflect.MessageKind, |
| 3018 | JSONName: "optBytes", |
| 3019 | IsPacked: prototype.False, |
| 3020 | }, |
| 3021 | { |
| 3022 | Name: "opt_duration", |
| 3023 | Number: 20, |
| 3024 | Cardinality: protoreflect.Optional, |
| 3025 | Kind: protoreflect.MessageKind, |
| 3026 | JSONName: "optDuration", |
| 3027 | IsPacked: prototype.False, |
| 3028 | }, |
| 3029 | { |
| 3030 | Name: "opt_timestamp", |
| 3031 | Number: 21, |
| 3032 | Cardinality: protoreflect.Optional, |
| 3033 | Kind: protoreflect.MessageKind, |
| 3034 | JSONName: "optTimestamp", |
| 3035 | IsPacked: prototype.False, |
| 3036 | }, |
| 3037 | { |
| 3038 | Name: "opt_struct", |
| 3039 | Number: 25, |
| 3040 | Cardinality: protoreflect.Optional, |
| 3041 | Kind: protoreflect.MessageKind, |
| 3042 | JSONName: "optStruct", |
| 3043 | IsPacked: prototype.False, |
| 3044 | }, |
| 3045 | { |
| 3046 | Name: "opt_list", |
| 3047 | Number: 26, |
| 3048 | Cardinality: protoreflect.Optional, |
| 3049 | Kind: protoreflect.MessageKind, |
| 3050 | JSONName: "optList", |
| 3051 | IsPacked: prototype.False, |
| 3052 | }, |
| 3053 | { |
| 3054 | Name: "opt_value", |
| 3055 | Number: 27, |
| 3056 | Cardinality: protoreflect.Optional, |
| 3057 | Kind: protoreflect.MessageKind, |
| 3058 | JSONName: "optValue", |
| 3059 | IsPacked: prototype.False, |
| 3060 | }, |
| 3061 | { |
| 3062 | Name: "opt_empty", |
| 3063 | Number: 30, |
| 3064 | Cardinality: protoreflect.Optional, |
| 3065 | Kind: protoreflect.MessageKind, |
| 3066 | JSONName: "optEmpty", |
| 3067 | IsPacked: prototype.False, |
| 3068 | }, |
| 3069 | { |
| 3070 | Name: "opt_any", |
| 3071 | Number: 32, |
| 3072 | Cardinality: protoreflect.Optional, |
| 3073 | Kind: protoreflect.MessageKind, |
| 3074 | JSONName: "optAny", |
| 3075 | IsPacked: prototype.False, |
| 3076 | }, |
| 3077 | }, |
| 3078 | }, |
| 3079 | { |
| 3080 | Name: "OptGroup", |
| 3081 | Fields: []prototype.Field{ |
| 3082 | { |
| 3083 | Name: "opt_bool", |
| 3084 | Number: 1, |
| 3085 | Cardinality: protoreflect.Optional, |
| 3086 | Kind: protoreflect.BoolKind, |
| 3087 | JSONName: "optBool", |
| 3088 | IsPacked: prototype.False, |
| 3089 | }, |
| 3090 | { |
| 3091 | Name: "opt_string", |
| 3092 | Number: 2, |
| 3093 | Cardinality: protoreflect.Optional, |
| 3094 | Kind: protoreflect.StringKind, |
| 3095 | JSONName: "optString", |
| 3096 | IsPacked: prototype.False, |
| 3097 | }, |
| 3098 | { |
| 3099 | Name: "opt_nested", |
| 3100 | Number: 3, |
| 3101 | Cardinality: protoreflect.Optional, |
| 3102 | Kind: protoreflect.MessageKind, |
| 3103 | JSONName: "optNested", |
| 3104 | IsPacked: prototype.False, |
| 3105 | }, |
| 3106 | { |
| 3107 | Name: "optnestedgroup", |
| 3108 | Number: 4, |
| 3109 | Cardinality: protoreflect.Optional, |
| 3110 | Kind: protoreflect.GroupKind, |
| 3111 | JSONName: "optnestedgroup", |
| 3112 | IsPacked: prototype.False, |
| 3113 | }, |
| 3114 | }, |
| 3115 | }, |
| 3116 | { |
| 3117 | Name: "RptGroup", |
| 3118 | Fields: []prototype.Field{ |
| 3119 | { |
| 3120 | Name: "rpt_bool", |
| 3121 | Number: 1, |
| 3122 | Cardinality: protoreflect.Repeated, |
| 3123 | Kind: protoreflect.BoolKind, |
| 3124 | JSONName: "rptBool", |
| 3125 | IsPacked: prototype.False, |
| 3126 | }, |
| 3127 | }, |
| 3128 | }, |
| 3129 | { |
| 3130 | Name: "OptNestedGroup", |
| 3131 | Fields: []prototype.Field{ |
| 3132 | { |
| 3133 | Name: "opt_enum", |
| 3134 | Number: 1, |
| 3135 | Cardinality: protoreflect.Optional, |
| 3136 | Kind: protoreflect.EnumKind, |
| 3137 | JSONName: "optEnum", |
| 3138 | IsPacked: prototype.False, |
| 3139 | }, |
| 3140 | }, |
| 3141 | }, |
| 3142 | { |
| 3143 | Name: "Int32ToStrEntry", |
| 3144 | Fields: []prototype.Field{ |
| 3145 | { |
| 3146 | Name: "key", |
| 3147 | Number: 1, |
| 3148 | Cardinality: protoreflect.Optional, |
| 3149 | Kind: protoreflect.Int32Kind, |
| 3150 | JSONName: "key", |
| 3151 | IsPacked: prototype.False, |
| 3152 | }, |
| 3153 | { |
| 3154 | Name: "value", |
| 3155 | Number: 2, |
| 3156 | Cardinality: protoreflect.Optional, |
| 3157 | Kind: protoreflect.StringKind, |
| 3158 | JSONName: "value", |
| 3159 | IsPacked: prototype.False, |
| 3160 | }, |
| 3161 | }, |
| 3162 | IsMapEntry: true, |
| 3163 | }, |
| 3164 | { |
| 3165 | Name: "Sfixed64ToBoolEntry", |
| 3166 | Fields: []prototype.Field{ |
| 3167 | { |
| 3168 | Name: "key", |
| 3169 | Number: 1, |
| 3170 | Cardinality: protoreflect.Optional, |
| 3171 | Kind: protoreflect.Sfixed64Kind, |
| 3172 | JSONName: "key", |
| 3173 | IsPacked: prototype.False, |
| 3174 | }, |
| 3175 | { |
| 3176 | Name: "value", |
| 3177 | Number: 2, |
| 3178 | Cardinality: protoreflect.Optional, |
| 3179 | Kind: protoreflect.BoolKind, |
| 3180 | JSONName: "value", |
| 3181 | IsPacked: prototype.False, |
| 3182 | }, |
| 3183 | }, |
| 3184 | IsMapEntry: true, |
| 3185 | }, |
| 3186 | { |
| 3187 | Name: "BoolToUint32Entry", |
| 3188 | Fields: []prototype.Field{ |
| 3189 | { |
| 3190 | Name: "key", |
| 3191 | Number: 1, |
| 3192 | Cardinality: protoreflect.Optional, |
| 3193 | Kind: protoreflect.BoolKind, |
| 3194 | JSONName: "key", |
| 3195 | IsPacked: prototype.False, |
| 3196 | }, |
| 3197 | { |
| 3198 | Name: "value", |
| 3199 | Number: 2, |
| 3200 | Cardinality: protoreflect.Optional, |
| 3201 | Kind: protoreflect.Uint32Kind, |
| 3202 | JSONName: "value", |
| 3203 | IsPacked: prototype.False, |
| 3204 | }, |
| 3205 | }, |
| 3206 | IsMapEntry: true, |
| 3207 | }, |
| 3208 | { |
| 3209 | Name: "Uint64ToEnumEntry", |
| 3210 | Fields: []prototype.Field{ |
| 3211 | { |
| 3212 | Name: "key", |
| 3213 | Number: 1, |
| 3214 | Cardinality: protoreflect.Optional, |
| 3215 | Kind: protoreflect.Uint64Kind, |
| 3216 | JSONName: "key", |
| 3217 | IsPacked: prototype.False, |
| 3218 | }, |
| 3219 | { |
| 3220 | Name: "value", |
| 3221 | Number: 2, |
| 3222 | Cardinality: protoreflect.Optional, |
| 3223 | Kind: protoreflect.EnumKind, |
| 3224 | JSONName: "value", |
| 3225 | IsPacked: prototype.False, |
| 3226 | }, |
| 3227 | }, |
| 3228 | IsMapEntry: true, |
| 3229 | }, |
| 3230 | { |
| 3231 | Name: "StrToNestedEntry", |
| 3232 | Fields: []prototype.Field{ |
| 3233 | { |
| 3234 | Name: "key", |
| 3235 | Number: 1, |
| 3236 | Cardinality: protoreflect.Optional, |
| 3237 | Kind: protoreflect.StringKind, |
| 3238 | JSONName: "key", |
| 3239 | IsPacked: prototype.False, |
| 3240 | }, |
| 3241 | { |
| 3242 | Name: "value", |
| 3243 | Number: 2, |
| 3244 | Cardinality: protoreflect.Optional, |
| 3245 | Kind: protoreflect.MessageKind, |
| 3246 | JSONName: "value", |
| 3247 | IsPacked: prototype.False, |
| 3248 | }, |
| 3249 | }, |
| 3250 | IsMapEntry: true, |
| 3251 | }, |
| 3252 | { |
| 3253 | Name: "StrToOneofsEntry", |
| 3254 | Fields: []prototype.Field{ |
| 3255 | { |
| 3256 | Name: "key", |
| 3257 | Number: 1, |
| 3258 | Cardinality: protoreflect.Optional, |
| 3259 | Kind: protoreflect.StringKind, |
| 3260 | JSONName: "key", |
| 3261 | IsPacked: prototype.False, |
| 3262 | }, |
| 3263 | { |
| 3264 | Name: "value", |
| 3265 | Number: 2, |
| 3266 | Cardinality: protoreflect.Optional, |
| 3267 | Kind: protoreflect.MessageKind, |
| 3268 | JSONName: "value", |
| 3269 | IsPacked: prototype.False, |
| 3270 | }, |
| 3271 | }, |
| 3272 | IsMapEntry: true, |
| 3273 | }, |
| 3274 | { |
| 3275 | Name: "StrToNestedEntry", |
| 3276 | Fields: []prototype.Field{ |
| 3277 | { |
| 3278 | Name: "key", |
| 3279 | Number: 1, |
| 3280 | Cardinality: protoreflect.Optional, |
| 3281 | Kind: protoreflect.StringKind, |
| 3282 | JSONName: "key", |
| 3283 | IsPacked: prototype.False, |
| 3284 | }, |
| 3285 | { |
| 3286 | Name: "value", |
| 3287 | Number: 2, |
| 3288 | Cardinality: protoreflect.Optional, |
| 3289 | Kind: protoreflect.MessageKind, |
| 3290 | JSONName: "value", |
| 3291 | IsPacked: prototype.False, |
| 3292 | }, |
| 3293 | }, |
| 3294 | IsMapEntry: true, |
| 3295 | }, |
| 3296 | } |