Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: proto3/fields.proto |
| 3 | |
| 4 | package proto3 |
| 5 | |
Damien Neil | 1ec3315 | 2018-09-13 13:12:36 -0700 | [diff] [blame] | 6 | import ( |
| 7 | fmt "fmt" |
| 8 | proto "github.com/golang/protobuf/proto" |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame^] | 9 | protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect" |
| 10 | prototype "github.com/golang/protobuf/v2/reflect/prototype" |
| 11 | protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl" |
Damien Neil | 1ec3315 | 2018-09-13 13:12:36 -0700 | [diff] [blame] | 12 | math "math" |
| 13 | ) |
| 14 | |
| 15 | // Reference imports to suppress errors if they are not otherwise used. |
| 16 | var _ = proto.Marshal |
| 17 | var _ = fmt.Errorf |
| 18 | var _ = math.Inf |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 19 | |
Damien Neil | d412792 | 2018-09-12 11:13:49 -0700 | [diff] [blame] | 20 | // This is a compile-time assertion to ensure that this generated file |
| 21 | // is compatible with the proto package it is being compiled against. |
| 22 | // A compilation error at this line likely means your copy of the |
| 23 | // proto package needs to be updated. |
Joe Tsai | d7e97bc | 2018-11-26 12:57:27 -0800 | [diff] [blame] | 24 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
Damien Neil | d412792 | 2018-09-12 11:13:49 -0700 | [diff] [blame] | 25 | |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 26 | type FieldTestMessage_Enum int32 |
| 27 | |
| 28 | const ( |
| 29 | FieldTestMessage_ZERO FieldTestMessage_Enum = 0 |
| 30 | ) |
| 31 | |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame^] | 32 | type xxx_FieldTestMessage_Enum FieldTestMessage_Enum |
| 33 | |
| 34 | func (e FieldTestMessage_Enum) ProtoReflect() protoreflect.Enum { |
| 35 | return (xxx_FieldTestMessage_Enum)(e) |
| 36 | } |
| 37 | func (e xxx_FieldTestMessage_Enum) Type() protoreflect.EnumType { |
| 38 | return xxx_Fields_ProtoFile_EnumTypes[0] |
| 39 | } |
| 40 | func (e xxx_FieldTestMessage_Enum) Number() protoreflect.EnumNumber { |
| 41 | return protoreflect.EnumNumber(e) |
| 42 | } |
| 43 | |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 44 | var FieldTestMessage_Enum_name = map[int32]string{ |
| 45 | 0: "ZERO", |
| 46 | } |
| 47 | |
| 48 | var FieldTestMessage_Enum_value = map[string]int32{ |
| 49 | "ZERO": 0, |
| 50 | } |
| 51 | |
| 52 | func (x FieldTestMessage_Enum) String() string { |
| 53 | return proto.EnumName(FieldTestMessage_Enum_name, int32(x)) |
| 54 | } |
| 55 | |
| 56 | func (FieldTestMessage_Enum) EnumDescriptor() ([]byte, []int) { |
| 57 | return fileDescriptor_f1e3ea068187307c, []int{0, 0} |
| 58 | } |
| 59 | |
| 60 | type FieldTestMessage struct { |
Damien Neil | 0bd5a38 | 2018-09-13 15:07:10 -0700 | [diff] [blame] | 61 | OptionalBool string `protobuf:"bytes,1,opt,name=optional_bool,json=optionalBool,proto3" json:"optional_bool,omitempty"` |
| 62 | OptionalEnum FieldTestMessage_Enum `protobuf:"varint,2,opt,name=optional_enum,json=optionalEnum,proto3,enum=goproto.protoc.proto3.FieldTestMessage_Enum" json:"optional_enum,omitempty"` |
| 63 | OptionalInt32 int32 `protobuf:"varint,3,opt,name=optional_int32,json=optionalInt32,proto3" json:"optional_int32,omitempty"` |
| 64 | OptionalSint32 int32 `protobuf:"zigzag32,4,opt,name=optional_sint32,json=optionalSint32,proto3" json:"optional_sint32,omitempty"` |
| 65 | OptionalUint32 uint32 `protobuf:"varint,5,opt,name=optional_uint32,json=optionalUint32,proto3" json:"optional_uint32,omitempty"` |
| 66 | OptionalInt64 int64 `protobuf:"varint,6,opt,name=optional_int64,json=optionalInt64,proto3" json:"optional_int64,omitempty"` |
| 67 | OptionalSint64 int64 `protobuf:"zigzag64,7,opt,name=optional_sint64,json=optionalSint64,proto3" json:"optional_sint64,omitempty"` |
| 68 | OptionalUint64 uint64 `protobuf:"varint,8,opt,name=optional_uint64,json=optionalUint64,proto3" json:"optional_uint64,omitempty"` |
| 69 | OptionalSfixed32 int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32,proto3" json:"optional_sfixed32,omitempty"` |
| 70 | OptionalFixed32 uint32 `protobuf:"fixed32,10,opt,name=optional_fixed32,json=optionalFixed32,proto3" json:"optional_fixed32,omitempty"` |
| 71 | OptionalFloat float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat,proto3" json:"optional_float,omitempty"` |
| 72 | OptionalSfixed64 int64 `protobuf:"fixed64,12,opt,name=optional_sfixed64,json=optionalSfixed64,proto3" json:"optional_sfixed64,omitempty"` |
| 73 | OptionalFixed64 uint64 `protobuf:"fixed64,13,opt,name=optional_fixed64,json=optionalFixed64,proto3" json:"optional_fixed64,omitempty"` |
| 74 | OptionalDouble float64 `protobuf:"fixed64,14,opt,name=optional_double,json=optionalDouble,proto3" json:"optional_double,omitempty"` |
| 75 | OptionalString string `protobuf:"bytes,15,opt,name=optional_string,json=optionalString,proto3" json:"optional_string,omitempty"` |
| 76 | OptionalBytes []byte `protobuf:"bytes,16,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"` |
| 77 | Optional_Message *FieldTestMessage_Message `protobuf:"bytes,17,opt,name=optional_Message,json=optionalMessage,proto3" json:"optional_Message,omitempty"` |
Damien Neil | d4803f5 | 2018-09-19 11:43:35 -0700 | [diff] [blame] | 78 | RepeatedBool []bool `protobuf:"varint,201,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"` |
| 79 | RepeatedEnum []FieldTestMessage_Enum `protobuf:"varint,202,rep,packed,name=repeated_enum,json=repeatedEnum,proto3,enum=goproto.protoc.proto3.FieldTestMessage_Enum" json:"repeated_enum,omitempty"` |
| 80 | RepeatedInt32 []int32 `protobuf:"varint,203,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"` |
| 81 | RepeatedSint32 []int32 `protobuf:"zigzag32,204,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"` |
| 82 | RepeatedUint32 []uint32 `protobuf:"varint,205,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"` |
| 83 | RepeatedInt64 []int64 `protobuf:"varint,206,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"` |
| 84 | RepeatedSint64 []int64 `protobuf:"zigzag64,207,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"` |
| 85 | RepeatedUint64 []uint64 `protobuf:"varint,208,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"` |
| 86 | RepeatedSfixed32 []int32 `protobuf:"fixed32,209,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"` |
| 87 | RepeatedFixed32 []uint32 `protobuf:"fixed32,210,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"` |
| 88 | RepeatedFloat []float32 `protobuf:"fixed32,211,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"` |
| 89 | RepeatedSfixed64 []int64 `protobuf:"fixed64,212,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"` |
| 90 | RepeatedFixed64 []uint64 `protobuf:"fixed64,213,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"` |
| 91 | RepeatedDouble []float64 `protobuf:"fixed64,214,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"` |
| 92 | RepeatedString []string `protobuf:"bytes,215,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"` |
| 93 | RepeatedBytes [][]byte `protobuf:"bytes,216,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"` |
| 94 | Repeated_Message []*FieldTestMessage_Message `protobuf:"bytes,217,rep,name=repeated_Message,json=repeatedMessage,proto3" json:"repeated_Message,omitempty"` |
Damien Neil | 0bd5a38 | 2018-09-13 15:07:10 -0700 | [diff] [blame] | 95 | MapInt32Int64 map[int32]int64 `protobuf:"bytes,500,rep,name=map_int32_int64,json=mapInt32Int64,proto3" json:"map_int32_int64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` |
| 96 | MapStringMessage map[string]*FieldTestMessage_Message `protobuf:"bytes,501,rep,name=map_string_message,json=mapStringMessage,proto3" json:"map_string_message,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 97 | MapFixed64Enum map[uint64]FieldTestMessage_Enum `protobuf:"bytes,502,rep,name=map_fixed64_enum,json=mapFixed64Enum,proto3" json:"map_fixed64_enum,omitempty" protobuf_key:"fixed64,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=goproto.protoc.proto3.FieldTestMessage_Enum"` |
| 98 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 99 | XXX_unrecognized []byte `json:"-"` |
| 100 | XXX_sizecache int32 `json:"-"` |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 101 | } |
| 102 | |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame^] | 103 | type xxx_FieldTestMessage struct{ m *FieldTestMessage } |
| 104 | |
| 105 | func (m *FieldTestMessage) ProtoReflect() protoreflect.Message { |
| 106 | return xxx_FieldTestMessage{m} |
| 107 | } |
| 108 | func (m xxx_FieldTestMessage) Type() protoreflect.MessageType { |
| 109 | return xxx_Fields_ProtoFile_MessageTypes[0].Type |
| 110 | } |
| 111 | func (m xxx_FieldTestMessage) KnownFields() protoreflect.KnownFields { |
| 112 | return xxx_Fields_ProtoFile_MessageTypes[0].KnownFieldsOf(m.m) |
| 113 | } |
| 114 | func (m xxx_FieldTestMessage) UnknownFields() protoreflect.UnknownFields { |
| 115 | return xxx_Fields_ProtoFile_MessageTypes[0].UnknownFieldsOf(m.m) |
| 116 | } |
| 117 | func (m xxx_FieldTestMessage) Interface() protoreflect.ProtoMessage { |
| 118 | return m.m |
| 119 | } |
| 120 | func (m xxx_FieldTestMessage) ProtoMutable() {} |
| 121 | |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 122 | func (m *FieldTestMessage) Reset() { *m = FieldTestMessage{} } |
| 123 | func (m *FieldTestMessage) String() string { return proto.CompactTextString(m) } |
| 124 | func (*FieldTestMessage) ProtoMessage() {} |
| 125 | func (*FieldTestMessage) Descriptor() ([]byte, []int) { |
| 126 | return fileDescriptor_f1e3ea068187307c, []int{0} |
| 127 | } |
Damien Neil | 993c04d | 2018-09-14 15:41:11 -0700 | [diff] [blame] | 128 | |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 129 | func (m *FieldTestMessage) XXX_Unmarshal(b []byte) error { |
| 130 | return xxx_messageInfo_FieldTestMessage.Unmarshal(m, b) |
| 131 | } |
| 132 | func (m *FieldTestMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 133 | return xxx_messageInfo_FieldTestMessage.Marshal(b, m, deterministic) |
| 134 | } |
| 135 | func (m *FieldTestMessage) XXX_Merge(src proto.Message) { |
| 136 | xxx_messageInfo_FieldTestMessage.Merge(m, src) |
| 137 | } |
| 138 | func (m *FieldTestMessage) XXX_Size() int { |
| 139 | return xxx_messageInfo_FieldTestMessage.Size(m) |
| 140 | } |
| 141 | func (m *FieldTestMessage) XXX_DiscardUnknown() { |
| 142 | xxx_messageInfo_FieldTestMessage.DiscardUnknown(m) |
| 143 | } |
| 144 | |
| 145 | var xxx_messageInfo_FieldTestMessage proto.InternalMessageInfo |
| 146 | |
Damien Neil | 77f82fe | 2018-09-13 10:59:17 -0700 | [diff] [blame] | 147 | func (m *FieldTestMessage) GetOptionalBool() string { |
| 148 | if m != nil { |
| 149 | return m.OptionalBool |
| 150 | } |
| 151 | return "" |
| 152 | } |
| 153 | |
| 154 | func (m *FieldTestMessage) GetOptionalEnum() FieldTestMessage_Enum { |
| 155 | if m != nil { |
| 156 | return m.OptionalEnum |
| 157 | } |
| 158 | return FieldTestMessage_ZERO |
| 159 | } |
| 160 | |
| 161 | func (m *FieldTestMessage) GetOptionalInt32() int32 { |
| 162 | if m != nil { |
| 163 | return m.OptionalInt32 |
| 164 | } |
| 165 | return 0 |
| 166 | } |
| 167 | |
| 168 | func (m *FieldTestMessage) GetOptionalSint32() int32 { |
| 169 | if m != nil { |
| 170 | return m.OptionalSint32 |
| 171 | } |
| 172 | return 0 |
| 173 | } |
| 174 | |
| 175 | func (m *FieldTestMessage) GetOptionalUint32() uint32 { |
| 176 | if m != nil { |
| 177 | return m.OptionalUint32 |
| 178 | } |
| 179 | return 0 |
| 180 | } |
| 181 | |
| 182 | func (m *FieldTestMessage) GetOptionalInt64() int64 { |
| 183 | if m != nil { |
| 184 | return m.OptionalInt64 |
| 185 | } |
| 186 | return 0 |
| 187 | } |
| 188 | |
| 189 | func (m *FieldTestMessage) GetOptionalSint64() int64 { |
| 190 | if m != nil { |
| 191 | return m.OptionalSint64 |
| 192 | } |
| 193 | return 0 |
| 194 | } |
| 195 | |
| 196 | func (m *FieldTestMessage) GetOptionalUint64() uint64 { |
| 197 | if m != nil { |
| 198 | return m.OptionalUint64 |
| 199 | } |
| 200 | return 0 |
| 201 | } |
| 202 | |
| 203 | func (m *FieldTestMessage) GetOptionalSfixed32() int32 { |
| 204 | if m != nil { |
| 205 | return m.OptionalSfixed32 |
| 206 | } |
| 207 | return 0 |
| 208 | } |
| 209 | |
| 210 | func (m *FieldTestMessage) GetOptionalFixed32() uint32 { |
| 211 | if m != nil { |
| 212 | return m.OptionalFixed32 |
| 213 | } |
| 214 | return 0 |
| 215 | } |
| 216 | |
| 217 | func (m *FieldTestMessage) GetOptionalFloat() float32 { |
| 218 | if m != nil { |
| 219 | return m.OptionalFloat |
| 220 | } |
| 221 | return 0 |
| 222 | } |
| 223 | |
| 224 | func (m *FieldTestMessage) GetOptionalSfixed64() int64 { |
| 225 | if m != nil { |
| 226 | return m.OptionalSfixed64 |
| 227 | } |
| 228 | return 0 |
| 229 | } |
| 230 | |
| 231 | func (m *FieldTestMessage) GetOptionalFixed64() uint64 { |
| 232 | if m != nil { |
| 233 | return m.OptionalFixed64 |
| 234 | } |
| 235 | return 0 |
| 236 | } |
| 237 | |
| 238 | func (m *FieldTestMessage) GetOptionalDouble() float64 { |
| 239 | if m != nil { |
| 240 | return m.OptionalDouble |
| 241 | } |
| 242 | return 0 |
| 243 | } |
| 244 | |
| 245 | func (m *FieldTestMessage) GetOptionalString() string { |
| 246 | if m != nil { |
| 247 | return m.OptionalString |
| 248 | } |
| 249 | return "" |
| 250 | } |
| 251 | |
| 252 | func (m *FieldTestMessage) GetOptionalBytes() []byte { |
| 253 | if m != nil { |
| 254 | return m.OptionalBytes |
| 255 | } |
| 256 | return nil |
| 257 | } |
| 258 | |
| 259 | func (m *FieldTestMessage) GetOptional_Message() *FieldTestMessage_Message { |
| 260 | if m != nil { |
| 261 | return m.Optional_Message |
| 262 | } |
| 263 | return nil |
| 264 | } |
| 265 | |
Damien Neil | d4803f5 | 2018-09-19 11:43:35 -0700 | [diff] [blame] | 266 | func (m *FieldTestMessage) GetRepeatedBool() []bool { |
| 267 | if m != nil { |
| 268 | return m.RepeatedBool |
| 269 | } |
| 270 | return nil |
| 271 | } |
| 272 | |
| 273 | func (m *FieldTestMessage) GetRepeatedEnum() []FieldTestMessage_Enum { |
| 274 | if m != nil { |
| 275 | return m.RepeatedEnum |
| 276 | } |
| 277 | return nil |
| 278 | } |
| 279 | |
| 280 | func (m *FieldTestMessage) GetRepeatedInt32() []int32 { |
| 281 | if m != nil { |
| 282 | return m.RepeatedInt32 |
| 283 | } |
| 284 | return nil |
| 285 | } |
| 286 | |
| 287 | func (m *FieldTestMessage) GetRepeatedSint32() []int32 { |
| 288 | if m != nil { |
| 289 | return m.RepeatedSint32 |
| 290 | } |
| 291 | return nil |
| 292 | } |
| 293 | |
| 294 | func (m *FieldTestMessage) GetRepeatedUint32() []uint32 { |
| 295 | if m != nil { |
| 296 | return m.RepeatedUint32 |
| 297 | } |
| 298 | return nil |
| 299 | } |
| 300 | |
| 301 | func (m *FieldTestMessage) GetRepeatedInt64() []int64 { |
| 302 | if m != nil { |
| 303 | return m.RepeatedInt64 |
| 304 | } |
| 305 | return nil |
| 306 | } |
| 307 | |
| 308 | func (m *FieldTestMessage) GetRepeatedSint64() []int64 { |
| 309 | if m != nil { |
| 310 | return m.RepeatedSint64 |
| 311 | } |
| 312 | return nil |
| 313 | } |
| 314 | |
| 315 | func (m *FieldTestMessage) GetRepeatedUint64() []uint64 { |
| 316 | if m != nil { |
| 317 | return m.RepeatedUint64 |
| 318 | } |
| 319 | return nil |
| 320 | } |
| 321 | |
| 322 | func (m *FieldTestMessage) GetRepeatedSfixed32() []int32 { |
| 323 | if m != nil { |
| 324 | return m.RepeatedSfixed32 |
| 325 | } |
| 326 | return nil |
| 327 | } |
| 328 | |
| 329 | func (m *FieldTestMessage) GetRepeatedFixed32() []uint32 { |
| 330 | if m != nil { |
| 331 | return m.RepeatedFixed32 |
| 332 | } |
| 333 | return nil |
| 334 | } |
| 335 | |
| 336 | func (m *FieldTestMessage) GetRepeatedFloat() []float32 { |
| 337 | if m != nil { |
| 338 | return m.RepeatedFloat |
| 339 | } |
| 340 | return nil |
| 341 | } |
| 342 | |
| 343 | func (m *FieldTestMessage) GetRepeatedSfixed64() []int64 { |
| 344 | if m != nil { |
| 345 | return m.RepeatedSfixed64 |
| 346 | } |
| 347 | return nil |
| 348 | } |
| 349 | |
| 350 | func (m *FieldTestMessage) GetRepeatedFixed64() []uint64 { |
| 351 | if m != nil { |
| 352 | return m.RepeatedFixed64 |
| 353 | } |
| 354 | return nil |
| 355 | } |
| 356 | |
| 357 | func (m *FieldTestMessage) GetRepeatedDouble() []float64 { |
| 358 | if m != nil { |
| 359 | return m.RepeatedDouble |
| 360 | } |
| 361 | return nil |
| 362 | } |
| 363 | |
| 364 | func (m *FieldTestMessage) GetRepeatedString() []string { |
| 365 | if m != nil { |
| 366 | return m.RepeatedString |
| 367 | } |
| 368 | return nil |
| 369 | } |
| 370 | |
| 371 | func (m *FieldTestMessage) GetRepeatedBytes() [][]byte { |
| 372 | if m != nil { |
| 373 | return m.RepeatedBytes |
| 374 | } |
| 375 | return nil |
| 376 | } |
| 377 | |
| 378 | func (m *FieldTestMessage) GetRepeated_Message() []*FieldTestMessage_Message { |
| 379 | if m != nil { |
| 380 | return m.Repeated_Message |
| 381 | } |
| 382 | return nil |
| 383 | } |
| 384 | |
Damien Neil | 0bd5a38 | 2018-09-13 15:07:10 -0700 | [diff] [blame] | 385 | func (m *FieldTestMessage) GetMapInt32Int64() map[int32]int64 { |
| 386 | if m != nil { |
| 387 | return m.MapInt32Int64 |
| 388 | } |
| 389 | return nil |
| 390 | } |
| 391 | |
| 392 | func (m *FieldTestMessage) GetMapStringMessage() map[string]*FieldTestMessage_Message { |
| 393 | if m != nil { |
| 394 | return m.MapStringMessage |
| 395 | } |
| 396 | return nil |
| 397 | } |
| 398 | |
| 399 | func (m *FieldTestMessage) GetMapFixed64Enum() map[uint64]FieldTestMessage_Enum { |
| 400 | if m != nil { |
| 401 | return m.MapFixed64Enum |
| 402 | } |
| 403 | return nil |
| 404 | } |
| 405 | |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 406 | type FieldTestMessage_Message struct { |
| 407 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 408 | XXX_unrecognized []byte `json:"-"` |
| 409 | XXX_sizecache int32 `json:"-"` |
| 410 | } |
| 411 | |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame^] | 412 | type xxx_FieldTestMessage_Message struct{ m *FieldTestMessage_Message } |
| 413 | |
| 414 | func (m *FieldTestMessage_Message) ProtoReflect() protoreflect.Message { |
| 415 | return xxx_FieldTestMessage_Message{m} |
| 416 | } |
| 417 | func (m xxx_FieldTestMessage_Message) Type() protoreflect.MessageType { |
| 418 | return xxx_Fields_ProtoFile_MessageTypes[4].Type |
| 419 | } |
| 420 | func (m xxx_FieldTestMessage_Message) KnownFields() protoreflect.KnownFields { |
| 421 | return xxx_Fields_ProtoFile_MessageTypes[4].KnownFieldsOf(m.m) |
| 422 | } |
| 423 | func (m xxx_FieldTestMessage_Message) UnknownFields() protoreflect.UnknownFields { |
| 424 | return xxx_Fields_ProtoFile_MessageTypes[4].UnknownFieldsOf(m.m) |
| 425 | } |
| 426 | func (m xxx_FieldTestMessage_Message) Interface() protoreflect.ProtoMessage { |
| 427 | return m.m |
| 428 | } |
| 429 | func (m xxx_FieldTestMessage_Message) ProtoMutable() {} |
| 430 | |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 431 | func (m *FieldTestMessage_Message) Reset() { *m = FieldTestMessage_Message{} } |
| 432 | func (m *FieldTestMessage_Message) String() string { return proto.CompactTextString(m) } |
| 433 | func (*FieldTestMessage_Message) ProtoMessage() {} |
| 434 | func (*FieldTestMessage_Message) Descriptor() ([]byte, []int) { |
Damien Neil | 0bd5a38 | 2018-09-13 15:07:10 -0700 | [diff] [blame] | 435 | return fileDescriptor_f1e3ea068187307c, []int{0, 3} |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 436 | } |
Damien Neil | 993c04d | 2018-09-14 15:41:11 -0700 | [diff] [blame] | 437 | |
Damien Neil | a1c6abc | 2018-09-12 13:36:34 -0700 | [diff] [blame] | 438 | func (m *FieldTestMessage_Message) XXX_Unmarshal(b []byte) error { |
| 439 | return xxx_messageInfo_FieldTestMessage_Message.Unmarshal(m, b) |
| 440 | } |
| 441 | func (m *FieldTestMessage_Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 442 | return xxx_messageInfo_FieldTestMessage_Message.Marshal(b, m, deterministic) |
| 443 | } |
| 444 | func (m *FieldTestMessage_Message) XXX_Merge(src proto.Message) { |
| 445 | xxx_messageInfo_FieldTestMessage_Message.Merge(m, src) |
| 446 | } |
| 447 | func (m *FieldTestMessage_Message) XXX_Size() int { |
| 448 | return xxx_messageInfo_FieldTestMessage_Message.Size(m) |
| 449 | } |
| 450 | func (m *FieldTestMessage_Message) XXX_DiscardUnknown() { |
| 451 | xxx_messageInfo_FieldTestMessage_Message.DiscardUnknown(m) |
| 452 | } |
| 453 | |
| 454 | var xxx_messageInfo_FieldTestMessage_Message proto.InternalMessageInfo |
| 455 | |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 456 | func init() { |
Damien Neil | 154da98 | 2018-09-19 13:21:58 -0700 | [diff] [blame] | 457 | proto.RegisterEnum("goproto.protoc.proto3.FieldTestMessage_Enum", FieldTestMessage_Enum_name, FieldTestMessage_Enum_value) |
Damien Neil | ce36f8d | 2018-09-13 15:19:08 -0700 | [diff] [blame] | 458 | proto.RegisterType((*FieldTestMessage)(nil), "goproto.protoc.proto3.FieldTestMessage") |
| 459 | proto.RegisterMapType((map[uint64]FieldTestMessage_Enum)(nil), "goproto.protoc.proto3.FieldTestMessage.MapFixed64EnumEntry") |
| 460 | proto.RegisterMapType((map[int32]int64)(nil), "goproto.protoc.proto3.FieldTestMessage.MapInt32Int64Entry") |
| 461 | proto.RegisterMapType((map[string]*FieldTestMessage_Message)(nil), "goproto.protoc.proto3.FieldTestMessage.MapStringMessageEntry") |
| 462 | proto.RegisterType((*FieldTestMessage_Message)(nil), "goproto.protoc.proto3.FieldTestMessage.Message") |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 463 | } |
| 464 | |
| 465 | func init() { proto.RegisterFile("proto3/fields.proto", fileDescriptor_f1e3ea068187307c) } |
| 466 | |
| 467 | var fileDescriptor_f1e3ea068187307c = []byte{ |
Damien Neil | 154da98 | 2018-09-19 13:21:58 -0700 | [diff] [blame] | 468 | // 832 bytes of a gzipped FileDescriptorProto |
| 469 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0xc9, 0x6f, 0xdb, 0x38, |
| 470 | 0x14, 0xc6, 0x87, 0x5e, 0x63, 0xc6, 0x8b, 0xcc, 0x4c, 0x00, 0x22, 0x27, 0x22, 0xb3, 0x71, 0x66, |
| 471 | 0x12, 0x1b, 0xb0, 0x05, 0x61, 0x90, 0x41, 0xd1, 0xd6, 0xa8, 0x03, 0xf4, 0x50, 0x14, 0x55, 0xdb, |
| 472 | 0x4b, 0x7a, 0x08, 0x64, 0x5b, 0x56, 0x8d, 0x6a, 0x31, 0x6c, 0x29, 0x68, 0xfe, 0xc4, 0xee, 0xe9, |
| 473 | 0xde, 0xfe, 0x1f, 0x6d, 0xcf, 0x05, 0x45, 0x8a, 0xa2, 0x64, 0x1f, 0xe2, 0x9c, 0x64, 0x3e, 0x7f, |
| 474 | 0xfa, 0x7e, 0x7c, 0xd4, 0xfb, 0x24, 0xb8, 0x33, 0x5f, 0x04, 0x61, 0xd0, 0xef, 0x4e, 0x67, 0xb6, |
| 475 | 0x3b, 0x59, 0x76, 0xe2, 0x15, 0xda, 0x75, 0x82, 0xf8, 0x07, 0x5f, 0x8e, 0xf9, 0xa5, 0xbf, 0x7f, |
| 476 | 0xd1, 0x86, 0xda, 0x31, 0xd3, 0x3d, 0xb0, 0x97, 0xe1, 0x1d, 0x7b, 0xb9, 0xb4, 0x1c, 0x1b, 0xfd, |
| 477 | 0x06, 0x1b, 0xc1, 0x3c, 0x9c, 0x05, 0xbe, 0xe5, 0x9e, 0x8e, 0x82, 0xc0, 0xc5, 0x80, 0x00, 0x5a, |
| 478 | 0x33, 0xeb, 0x49, 0x71, 0x10, 0x04, 0x2e, 0xba, 0xa7, 0x88, 0x6c, 0x3f, 0xf2, 0x70, 0x81, 0x00, |
| 479 | 0xda, 0xec, 0x1d, 0x74, 0xd6, 0x82, 0x3a, 0x79, 0x48, 0x67, 0xe8, 0x47, 0x5e, 0x6a, 0xc9, 0x56, |
| 480 | 0xe8, 0x0f, 0xd8, 0x94, 0x96, 0x33, 0x3f, 0xec, 0xf7, 0x70, 0x91, 0x00, 0x5a, 0x36, 0x25, 0xe8, |
| 481 | 0x36, 0x2b, 0xa2, 0xbf, 0x60, 0x4b, 0xca, 0x96, 0x5c, 0x57, 0x22, 0x80, 0xb6, 0x4d, 0x79, 0xf7, |
| 482 | 0xfd, 0xd9, 0x8a, 0x30, 0xe2, 0xc2, 0x32, 0x01, 0xb4, 0x91, 0x0a, 0x1f, 0x72, 0x61, 0x0e, 0x6c, |
| 483 | 0xe8, 0xb8, 0x42, 0x00, 0x2d, 0x66, 0xc0, 0x86, 0xbe, 0x02, 0x36, 0x74, 0x5c, 0x25, 0x80, 0xa2, |
| 484 | 0x2c, 0x38, 0x27, 0x8c, 0xb8, 0x70, 0x8b, 0x00, 0x5a, 0xca, 0x82, 0x0d, 0x1d, 0xfd, 0x0b, 0xdb, |
| 485 | 0xa9, 0xe3, 0x74, 0xf6, 0xd4, 0x9e, 0xf4, 0x7b, 0xb8, 0x46, 0x00, 0x6d, 0x99, 0x9a, 0xf4, 0x14, |
| 486 | 0x75, 0xf4, 0x37, 0x94, 0xb5, 0xd3, 0x44, 0x0b, 0x09, 0xa0, 0x55, 0x53, 0xd2, 0x8e, 0x85, 0x54, |
| 487 | 0x6d, 0x68, 0xea, 0x06, 0x56, 0x88, 0xb7, 0x09, 0xa0, 0x85, 0xb4, 0xa1, 0x63, 0x56, 0x5c, 0x83, |
| 488 | 0x37, 0x74, 0x5c, 0x27, 0x80, 0x6a, 0x79, 0xbc, 0xa1, 0xaf, 0xe2, 0x0d, 0x1d, 0x37, 0x08, 0xa0, |
| 489 | 0x95, 0x1c, 0x3e, 0xd7, 0xff, 0x24, 0x88, 0x46, 0xae, 0x8d, 0x9b, 0x04, 0x50, 0x90, 0xf6, 0x7f, |
| 490 | 0x2b, 0xae, 0x66, 0x4f, 0x34, 0x5c, 0xcc, 0x7c, 0x07, 0xb7, 0xe2, 0x59, 0x4b, 0x4f, 0x34, 0xae, |
| 491 | 0x66, 0x1a, 0x1a, 0x9d, 0x87, 0xf6, 0x12, 0x6b, 0x04, 0xd0, 0x7a, 0xda, 0xd0, 0x80, 0x15, 0xd1, |
| 492 | 0x89, 0xb2, 0x47, 0x31, 0x68, 0xb8, 0x4d, 0x00, 0xdd, 0xee, 0x75, 0x2f, 0x3b, 0x97, 0xe2, 0x9a, |
| 493 | 0x36, 0x95, 0xa4, 0xe2, 0x77, 0xd8, 0x58, 0xd8, 0x73, 0xdb, 0x0a, 0xed, 0x09, 0x4f, 0xc5, 0x33, |
| 494 | 0x40, 0x8a, 0x74, 0xcb, 0xac, 0x27, 0xd5, 0x38, 0x16, 0xa6, 0xa2, 0x8a, 0x63, 0xf1, 0x9c, 0xa9, |
| 495 | 0x36, 0xce, 0x45, 0xe2, 0x11, 0xe7, 0xe2, 0x4f, 0xd8, 0x94, 0x9e, 0x7c, 0x8c, 0x5f, 0x30, 0xd3, |
| 496 | 0xb2, 0x29, 0x51, 0x3c, 0x18, 0x14, 0xb6, 0xa4, 0x4e, 0x04, 0xe3, 0x25, 0x13, 0xb6, 0x4d, 0x79, |
| 497 | 0xbf, 0x48, 0x86, 0xaa, 0x14, 0xc9, 0x78, 0xc5, 0x94, 0x8d, 0x54, 0x29, 0xa2, 0x91, 0x63, 0x1b, |
| 498 | 0x3a, 0x7e, 0xcd, 0x84, 0xc5, 0x0c, 0xdb, 0xd0, 0x57, 0xd8, 0x86, 0x8e, 0xdf, 0x30, 0x21, 0xca, |
| 499 | 0xb2, 0x73, 0x4a, 0x11, 0x8e, 0x0b, 0xa6, 0x2c, 0x65, 0xd9, 0x86, 0x8e, 0x0e, 0x60, 0x3b, 0xf5, |
| 500 | 0x4c, 0x26, 0xfe, 0x2d, 0xd3, 0xb6, 0x4c, 0x4d, 0xba, 0x26, 0xf1, 0xf8, 0x07, 0xca, 0x9a, 0x8c, |
| 501 | 0xc7, 0x3b, 0x26, 0xae, 0x9a, 0x12, 0x98, 0xe4, 0x43, 0xed, 0x8a, 0xe7, 0xe3, 0x3d, 0x53, 0x16, |
| 502 | 0xd2, 0xae, 0x78, 0x40, 0x56, 0x77, 0x60, 0xe8, 0xf8, 0x03, 0x93, 0x6a, 0xf9, 0x1d, 0x18, 0xfa, |
| 503 | 0xea, 0x0e, 0x0c, 0x1d, 0x7f, 0x64, 0xe2, 0x4a, 0x6e, 0x07, 0xb9, 0x53, 0x10, 0x11, 0xf9, 0xc4, |
| 504 | 0xa4, 0x20, 0x3d, 0x05, 0x91, 0x91, 0xcc, 0xc9, 0xf2, 0x8c, 0x7c, 0x66, 0xca, 0x9a, 0x72, 0xb2, |
| 505 | 0x3c, 0x24, 0x6a, 0x57, 0x3c, 0x24, 0x5f, 0x98, 0xb0, 0x9e, 0x76, 0xc5, 0x53, 0xf2, 0x48, 0xd9, |
| 506 | 0x67, 0x92, 0x92, 0xaf, 0x4c, 0x79, 0x95, 0x98, 0x24, 0x4e, 0x49, 0x4c, 0xc6, 0xb0, 0xe5, 0x59, |
| 507 | 0x73, 0x3e, 0xa7, 0x62, 0x62, 0xbe, 0x15, 0x63, 0xef, 0xa3, 0x4b, 0x7b, 0x5b, 0xf3, 0x78, 0xa0, |
| 508 | 0xe3, 0xc9, 0x1a, 0xfa, 0xe1, 0xe2, 0xdc, 0x6c, 0x78, 0x6a, 0x0d, 0xb9, 0x10, 0x31, 0x08, 0x3f, |
| 509 | 0x8e, 0x53, 0x4f, 0xf4, 0xf0, 0x9d, 0x73, 0xae, 0x6d, 0xc0, 0xe1, 0x27, 0x27, 0x0a, 0x1c, 0xa5, |
| 510 | 0x79, 0xb9, 0x32, 0x9a, 0x42, 0x56, 0x4b, 0x1e, 0x29, 0x8f, 0xf5, 0x0f, 0xce, 0xfa, 0x7f, 0x03, |
| 511 | 0x96, 0x78, 0xf4, 0x2c, 0xd2, 0x9c, 0xd4, 0xf4, 0x32, 0xc5, 0xbd, 0x1b, 0x10, 0xad, 0xb6, 0x8e, |
| 512 | 0x34, 0x58, 0x7c, 0x62, 0x9f, 0xc7, 0xdf, 0xe0, 0xb2, 0xc9, 0x7e, 0xa2, 0x5f, 0x61, 0xf9, 0xcc, |
| 513 | 0x72, 0x23, 0x3b, 0xfe, 0xe4, 0x16, 0x4d, 0xbe, 0x38, 0x2a, 0xfc, 0x07, 0xf6, 0x42, 0xb8, 0xbb, |
| 514 | 0xb6, 0x29, 0xd5, 0xa4, 0xc6, 0x4d, 0x86, 0xaa, 0xc9, 0x15, 0x1e, 0xbc, 0x42, 0x0d, 0xe0, 0xce, |
| 515 | 0x9a, 0xf6, 0x54, 0x66, 0x85, 0x33, 0x07, 0x2a, 0x73, 0xd3, 0x77, 0xa2, 0x02, 0xac, 0xc1, 0xaa, |
| 516 | 0xf8, 0x6b, 0x5f, 0x83, 0xa5, 0xf8, 0x1d, 0xb9, 0x05, 0x4b, 0x27, 0x43, 0xf3, 0xae, 0xf6, 0xcb, |
| 517 | 0xe0, 0xe6, 0xc9, 0x75, 0x67, 0x16, 0x3e, 0x8e, 0x46, 0x9d, 0x71, 0xe0, 0x75, 0x9d, 0xc0, 0xb5, |
| 518 | 0x7c, 0xa7, 0x1b, 0x3b, 0x8f, 0xa2, 0x69, 0xf7, 0xac, 0xd7, 0x1d, 0x7b, 0x13, 0xbe, 0x1e, 0x1f, |
| 519 | 0x3a, 0xb6, 0x7f, 0xe8, 0x04, 0xdd, 0xd0, 0x5e, 0x86, 0x13, 0x2b, 0xb4, 0x78, 0xb9, 0x3f, 0xaa, |
| 520 | 0xf0, 0xeb, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x1c, 0x0b, 0xbf, 0x4a, 0x09, 0x00, 0x00, |
Damien Neil | 658051b | 2018-09-10 12:26:21 -0700 | [diff] [blame] | 521 | } |
Joe Tsai | b6405bd | 2018-11-15 14:44:37 -0800 | [diff] [blame^] | 522 | |
| 523 | func init() { |
| 524 | xxx_Fields_ProtoFile_FileDesc.Messages = xxx_Fields_ProtoFile_MessageDescs[0:1] |
| 525 | xxx_Fields_ProtoFile_MessageDescs[0].Enums = xxx_Fields_ProtoFile_EnumDescs[0:1] |
| 526 | xxx_Fields_ProtoFile_MessageDescs[0].Messages = xxx_Fields_ProtoFile_MessageDescs[1:5] |
| 527 | xxx_Fields_ProtoFile_MessageDescs[0].Fields[1].EnumType = xxx_Fields_ProtoFile_EnumTypes[0] |
| 528 | xxx_Fields_ProtoFile_MessageDescs[0].Fields[16].MessageType = xxx_Fields_ProtoFile_MessageTypes[4].Type |
| 529 | xxx_Fields_ProtoFile_MessageDescs[0].Fields[18].EnumType = xxx_Fields_ProtoFile_EnumTypes[0] |
| 530 | xxx_Fields_ProtoFile_MessageDescs[0].Fields[33].MessageType = xxx_Fields_ProtoFile_MessageTypes[4].Type |
| 531 | xxx_Fields_ProtoFile_MessageDescs[0].Fields[34].MessageType = xxx_Fields_ProtoFile_MessageDescs[1].Reference() |
| 532 | xxx_Fields_ProtoFile_MessageDescs[0].Fields[35].MessageType = xxx_Fields_ProtoFile_MessageDescs[2].Reference() |
| 533 | xxx_Fields_ProtoFile_MessageDescs[0].Fields[36].MessageType = xxx_Fields_ProtoFile_MessageDescs[3].Reference() |
| 534 | xxx_Fields_ProtoFile_MessageDescs[2].Fields[1].MessageType = xxx_Fields_ProtoFile_MessageTypes[4].Type |
| 535 | xxx_Fields_ProtoFile_MessageDescs[3].Fields[1].EnumType = xxx_Fields_ProtoFile_EnumTypes[0] |
| 536 | var err error |
| 537 | Fields_ProtoFile, err = prototype.NewFile(&xxx_Fields_ProtoFile_FileDesc) |
| 538 | if err != nil { |
| 539 | panic(err) |
| 540 | } |
| 541 | } |
| 542 | |
| 543 | const _ = protoimpl.EnforceVersion(protoimpl.Version - 0) |
| 544 | |
| 545 | var Fields_ProtoFile protoreflect.FileDescriptor |
| 546 | |
| 547 | var xxx_Fields_ProtoFile_FileDesc = prototype.File{ |
| 548 | Syntax: protoreflect.Proto3, |
| 549 | Path: "proto3/fields.proto", |
| 550 | Package: "goproto.protoc.proto3", |
| 551 | } |
| 552 | var xxx_Fields_ProtoFile_EnumTypes = [1]protoreflect.EnumType{ |
| 553 | prototype.GoEnum( |
| 554 | xxx_Fields_ProtoFile_EnumDescs[0].Reference(), |
| 555 | func(_ protoreflect.EnumType, n protoreflect.EnumNumber) protoreflect.ProtoEnum { |
| 556 | return FieldTestMessage_Enum(n) |
| 557 | }, |
| 558 | ), |
| 559 | } |
| 560 | var xxx_Fields_ProtoFile_EnumDescs = [1]prototype.Enum{ |
| 561 | { |
| 562 | Name: "Enum", |
| 563 | Values: []prototype.EnumValue{ |
| 564 | {Name: "ZERO", Number: 0}, |
| 565 | }, |
| 566 | }, |
| 567 | } |
| 568 | var xxx_Fields_ProtoFile_MessageTypes = [5]protoimpl.MessageType{ |
| 569 | {Type: prototype.GoMessage( |
| 570 | xxx_Fields_ProtoFile_MessageDescs[0].Reference(), |
| 571 | func(protoreflect.MessageType) protoreflect.ProtoMessage { |
| 572 | return new(FieldTestMessage) |
| 573 | }, |
| 574 | )}, |
| 575 | { /* no message type for FieldTestMessage_MapInt32Int64Entry */ }, |
| 576 | { /* no message type for FieldTestMessage_MapStringMessageEntry */ }, |
| 577 | { /* no message type for FieldTestMessage_MapFixed64EnumEntry */ }, |
| 578 | {Type: prototype.GoMessage( |
| 579 | xxx_Fields_ProtoFile_MessageDescs[4].Reference(), |
| 580 | func(protoreflect.MessageType) protoreflect.ProtoMessage { |
| 581 | return new(FieldTestMessage_Message) |
| 582 | }, |
| 583 | )}, |
| 584 | } |
| 585 | var xxx_Fields_ProtoFile_MessageDescs = [5]prototype.Message{ |
| 586 | { |
| 587 | Name: "FieldTestMessage", |
| 588 | Fields: []prototype.Field{ |
| 589 | { |
| 590 | Name: "optional_bool", |
| 591 | Number: 1, |
| 592 | Cardinality: protoreflect.Optional, |
| 593 | Kind: protoreflect.StringKind, |
| 594 | JSONName: "optionalBool", |
| 595 | }, |
| 596 | { |
| 597 | Name: "optional_enum", |
| 598 | Number: 2, |
| 599 | Cardinality: protoreflect.Optional, |
| 600 | Kind: protoreflect.EnumKind, |
| 601 | JSONName: "optionalEnum", |
| 602 | }, |
| 603 | { |
| 604 | Name: "optional_int32", |
| 605 | Number: 3, |
| 606 | Cardinality: protoreflect.Optional, |
| 607 | Kind: protoreflect.Int32Kind, |
| 608 | JSONName: "optionalInt32", |
| 609 | }, |
| 610 | { |
| 611 | Name: "optional_sint32", |
| 612 | Number: 4, |
| 613 | Cardinality: protoreflect.Optional, |
| 614 | Kind: protoreflect.Sint32Kind, |
| 615 | JSONName: "optionalSint32", |
| 616 | }, |
| 617 | { |
| 618 | Name: "optional_uint32", |
| 619 | Number: 5, |
| 620 | Cardinality: protoreflect.Optional, |
| 621 | Kind: protoreflect.Uint32Kind, |
| 622 | JSONName: "optionalUint32", |
| 623 | }, |
| 624 | { |
| 625 | Name: "optional_int64", |
| 626 | Number: 6, |
| 627 | Cardinality: protoreflect.Optional, |
| 628 | Kind: protoreflect.Int64Kind, |
| 629 | JSONName: "optionalInt64", |
| 630 | }, |
| 631 | { |
| 632 | Name: "optional_sint64", |
| 633 | Number: 7, |
| 634 | Cardinality: protoreflect.Optional, |
| 635 | Kind: protoreflect.Sint64Kind, |
| 636 | JSONName: "optionalSint64", |
| 637 | }, |
| 638 | { |
| 639 | Name: "optional_uint64", |
| 640 | Number: 8, |
| 641 | Cardinality: protoreflect.Optional, |
| 642 | Kind: protoreflect.Uint64Kind, |
| 643 | JSONName: "optionalUint64", |
| 644 | }, |
| 645 | { |
| 646 | Name: "optional_sfixed32", |
| 647 | Number: 9, |
| 648 | Cardinality: protoreflect.Optional, |
| 649 | Kind: protoreflect.Sfixed32Kind, |
| 650 | JSONName: "optionalSfixed32", |
| 651 | }, |
| 652 | { |
| 653 | Name: "optional_fixed32", |
| 654 | Number: 10, |
| 655 | Cardinality: protoreflect.Optional, |
| 656 | Kind: protoreflect.Fixed32Kind, |
| 657 | JSONName: "optionalFixed32", |
| 658 | }, |
| 659 | { |
| 660 | Name: "optional_float", |
| 661 | Number: 11, |
| 662 | Cardinality: protoreflect.Optional, |
| 663 | Kind: protoreflect.FloatKind, |
| 664 | JSONName: "optionalFloat", |
| 665 | }, |
| 666 | { |
| 667 | Name: "optional_sfixed64", |
| 668 | Number: 12, |
| 669 | Cardinality: protoreflect.Optional, |
| 670 | Kind: protoreflect.Sfixed64Kind, |
| 671 | JSONName: "optionalSfixed64", |
| 672 | }, |
| 673 | { |
| 674 | Name: "optional_fixed64", |
| 675 | Number: 13, |
| 676 | Cardinality: protoreflect.Optional, |
| 677 | Kind: protoreflect.Fixed64Kind, |
| 678 | JSONName: "optionalFixed64", |
| 679 | }, |
| 680 | { |
| 681 | Name: "optional_double", |
| 682 | Number: 14, |
| 683 | Cardinality: protoreflect.Optional, |
| 684 | Kind: protoreflect.DoubleKind, |
| 685 | JSONName: "optionalDouble", |
| 686 | }, |
| 687 | { |
| 688 | Name: "optional_string", |
| 689 | Number: 15, |
| 690 | Cardinality: protoreflect.Optional, |
| 691 | Kind: protoreflect.StringKind, |
| 692 | JSONName: "optionalString", |
| 693 | }, |
| 694 | { |
| 695 | Name: "optional_bytes", |
| 696 | Number: 16, |
| 697 | Cardinality: protoreflect.Optional, |
| 698 | Kind: protoreflect.BytesKind, |
| 699 | JSONName: "optionalBytes", |
| 700 | }, |
| 701 | { |
| 702 | Name: "optional_Message", |
| 703 | Number: 17, |
| 704 | Cardinality: protoreflect.Optional, |
| 705 | Kind: protoreflect.MessageKind, |
| 706 | JSONName: "optionalMessage", |
| 707 | }, |
| 708 | { |
| 709 | Name: "repeated_bool", |
| 710 | Number: 201, |
| 711 | Cardinality: protoreflect.Repeated, |
| 712 | Kind: protoreflect.BoolKind, |
| 713 | JSONName: "repeatedBool", |
| 714 | }, |
| 715 | { |
| 716 | Name: "repeated_enum", |
| 717 | Number: 202, |
| 718 | Cardinality: protoreflect.Repeated, |
| 719 | Kind: protoreflect.EnumKind, |
| 720 | JSONName: "repeatedEnum", |
| 721 | }, |
| 722 | { |
| 723 | Name: "repeated_int32", |
| 724 | Number: 203, |
| 725 | Cardinality: protoreflect.Repeated, |
| 726 | Kind: protoreflect.Int32Kind, |
| 727 | JSONName: "repeatedInt32", |
| 728 | }, |
| 729 | { |
| 730 | Name: "repeated_sint32", |
| 731 | Number: 204, |
| 732 | Cardinality: protoreflect.Repeated, |
| 733 | Kind: protoreflect.Sint32Kind, |
| 734 | JSONName: "repeatedSint32", |
| 735 | }, |
| 736 | { |
| 737 | Name: "repeated_uint32", |
| 738 | Number: 205, |
| 739 | Cardinality: protoreflect.Repeated, |
| 740 | Kind: protoreflect.Uint32Kind, |
| 741 | JSONName: "repeatedUint32", |
| 742 | }, |
| 743 | { |
| 744 | Name: "repeated_int64", |
| 745 | Number: 206, |
| 746 | Cardinality: protoreflect.Repeated, |
| 747 | Kind: protoreflect.Int64Kind, |
| 748 | JSONName: "repeatedInt64", |
| 749 | }, |
| 750 | { |
| 751 | Name: "repeated_sint64", |
| 752 | Number: 207, |
| 753 | Cardinality: protoreflect.Repeated, |
| 754 | Kind: protoreflect.Sint64Kind, |
| 755 | JSONName: "repeatedSint64", |
| 756 | }, |
| 757 | { |
| 758 | Name: "repeated_uint64", |
| 759 | Number: 208, |
| 760 | Cardinality: protoreflect.Repeated, |
| 761 | Kind: protoreflect.Uint64Kind, |
| 762 | JSONName: "repeatedUint64", |
| 763 | }, |
| 764 | { |
| 765 | Name: "repeated_sfixed32", |
| 766 | Number: 209, |
| 767 | Cardinality: protoreflect.Repeated, |
| 768 | Kind: protoreflect.Sfixed32Kind, |
| 769 | JSONName: "repeatedSfixed32", |
| 770 | }, |
| 771 | { |
| 772 | Name: "repeated_fixed32", |
| 773 | Number: 210, |
| 774 | Cardinality: protoreflect.Repeated, |
| 775 | Kind: protoreflect.Fixed32Kind, |
| 776 | JSONName: "repeatedFixed32", |
| 777 | }, |
| 778 | { |
| 779 | Name: "repeated_float", |
| 780 | Number: 211, |
| 781 | Cardinality: protoreflect.Repeated, |
| 782 | Kind: protoreflect.FloatKind, |
| 783 | JSONName: "repeatedFloat", |
| 784 | }, |
| 785 | { |
| 786 | Name: "repeated_sfixed64", |
| 787 | Number: 212, |
| 788 | Cardinality: protoreflect.Repeated, |
| 789 | Kind: protoreflect.Sfixed64Kind, |
| 790 | JSONName: "repeatedSfixed64", |
| 791 | }, |
| 792 | { |
| 793 | Name: "repeated_fixed64", |
| 794 | Number: 213, |
| 795 | Cardinality: protoreflect.Repeated, |
| 796 | Kind: protoreflect.Fixed64Kind, |
| 797 | JSONName: "repeatedFixed64", |
| 798 | }, |
| 799 | { |
| 800 | Name: "repeated_double", |
| 801 | Number: 214, |
| 802 | Cardinality: protoreflect.Repeated, |
| 803 | Kind: protoreflect.DoubleKind, |
| 804 | JSONName: "repeatedDouble", |
| 805 | }, |
| 806 | { |
| 807 | Name: "repeated_string", |
| 808 | Number: 215, |
| 809 | Cardinality: protoreflect.Repeated, |
| 810 | Kind: protoreflect.StringKind, |
| 811 | JSONName: "repeatedString", |
| 812 | }, |
| 813 | { |
| 814 | Name: "repeated_bytes", |
| 815 | Number: 216, |
| 816 | Cardinality: protoreflect.Repeated, |
| 817 | Kind: protoreflect.BytesKind, |
| 818 | JSONName: "repeatedBytes", |
| 819 | }, |
| 820 | { |
| 821 | Name: "repeated_Message", |
| 822 | Number: 217, |
| 823 | Cardinality: protoreflect.Repeated, |
| 824 | Kind: protoreflect.MessageKind, |
| 825 | JSONName: "repeatedMessage", |
| 826 | }, |
| 827 | { |
| 828 | Name: "map_int32_int64", |
| 829 | Number: 500, |
| 830 | Cardinality: protoreflect.Repeated, |
| 831 | Kind: protoreflect.MessageKind, |
| 832 | JSONName: "mapInt32Int64", |
| 833 | }, |
| 834 | { |
| 835 | Name: "map_string_message", |
| 836 | Number: 501, |
| 837 | Cardinality: protoreflect.Repeated, |
| 838 | Kind: protoreflect.MessageKind, |
| 839 | JSONName: "mapStringMessage", |
| 840 | }, |
| 841 | { |
| 842 | Name: "map_fixed64_enum", |
| 843 | Number: 502, |
| 844 | Cardinality: protoreflect.Repeated, |
| 845 | Kind: protoreflect.MessageKind, |
| 846 | JSONName: "mapFixed64Enum", |
| 847 | }, |
| 848 | }, |
| 849 | }, |
| 850 | { |
| 851 | Name: "MapInt32Int64Entry", |
| 852 | Fields: []prototype.Field{ |
| 853 | { |
| 854 | Name: "key", |
| 855 | Number: 1, |
| 856 | Cardinality: protoreflect.Optional, |
| 857 | Kind: protoreflect.Int32Kind, |
| 858 | JSONName: "key", |
| 859 | }, |
| 860 | { |
| 861 | Name: "value", |
| 862 | Number: 2, |
| 863 | Cardinality: protoreflect.Optional, |
| 864 | Kind: protoreflect.Int64Kind, |
| 865 | JSONName: "value", |
| 866 | }, |
| 867 | }, |
| 868 | }, |
| 869 | { |
| 870 | Name: "MapStringMessageEntry", |
| 871 | Fields: []prototype.Field{ |
| 872 | { |
| 873 | Name: "key", |
| 874 | Number: 1, |
| 875 | Cardinality: protoreflect.Optional, |
| 876 | Kind: protoreflect.StringKind, |
| 877 | JSONName: "key", |
| 878 | }, |
| 879 | { |
| 880 | Name: "value", |
| 881 | Number: 2, |
| 882 | Cardinality: protoreflect.Optional, |
| 883 | Kind: protoreflect.MessageKind, |
| 884 | JSONName: "value", |
| 885 | }, |
| 886 | }, |
| 887 | }, |
| 888 | { |
| 889 | Name: "MapFixed64EnumEntry", |
| 890 | Fields: []prototype.Field{ |
| 891 | { |
| 892 | Name: "key", |
| 893 | Number: 1, |
| 894 | Cardinality: protoreflect.Optional, |
| 895 | Kind: protoreflect.Fixed64Kind, |
| 896 | JSONName: "key", |
| 897 | }, |
| 898 | { |
| 899 | Name: "value", |
| 900 | Number: 2, |
| 901 | Cardinality: protoreflect.Optional, |
| 902 | Kind: protoreflect.EnumKind, |
| 903 | JSONName: "value", |
| 904 | }, |
| 905 | }, |
| 906 | }, |
| 907 | { |
| 908 | Name: "Message", |
| 909 | }, |
| 910 | } |