github.com/gogo/protobuf@v1.3.2/test/types/combos/unmarshaler/types.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: combos/unmarshaler/types.proto 3 4 package types 5 6 import ( 7 bytes "bytes" 8 fmt "fmt" 9 _ "github.com/gogo/protobuf/gogoproto" 10 proto "github.com/gogo/protobuf/proto" 11 github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" 12 types "github.com/gogo/protobuf/types" 13 io "io" 14 math "math" 15 math_bits "math/bits" 16 time "time" 17 ) 18 19 // Reference imports to suppress errors if they are not otherwise used. 20 var _ = proto.Marshal 21 var _ = fmt.Errorf 22 var _ = math.Inf 23 var _ = time.Kitchen 24 25 // This is a compile-time assertion to ensure that this generated file 26 // is compatible with the proto package it is being compiled against. 27 // A compilation error at this line likely means your copy of the 28 // proto package needs to be updated. 29 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 30 31 type KnownTypes struct { 32 Dur *types.Duration `protobuf:"bytes,1,opt,name=dur,proto3" json:"dur,omitempty"` 33 Ts *types.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,omitempty"` 34 Dbl *types.DoubleValue `protobuf:"bytes,3,opt,name=dbl,proto3" json:"dbl,omitempty"` 35 Flt *types.FloatValue `protobuf:"bytes,4,opt,name=flt,proto3" json:"flt,omitempty"` 36 I64 *types.Int64Value `protobuf:"bytes,5,opt,name=i64,proto3" json:"i64,omitempty"` 37 U64 *types.UInt64Value `protobuf:"bytes,6,opt,name=u64,proto3" json:"u64,omitempty"` 38 I32 *types.Int32Value `protobuf:"bytes,7,opt,name=i32,proto3" json:"i32,omitempty"` 39 U32 *types.UInt32Value `protobuf:"bytes,8,opt,name=u32,proto3" json:"u32,omitempty"` 40 Bool *types.BoolValue `protobuf:"bytes,9,opt,name=bool,proto3" json:"bool,omitempty"` 41 Str *types.StringValue `protobuf:"bytes,10,opt,name=str,proto3" json:"str,omitempty"` 42 Bytes *types.BytesValue `protobuf:"bytes,11,opt,name=bytes,proto3" json:"bytes,omitempty"` 43 // TODO uncomment this once https://github.com/gogo/protobuf/issues/197 is fixed 44 St *types.Struct `protobuf:"bytes,12,opt,name=st,proto3" json:"st,omitempty"` 45 XXX_NoUnkeyedLiteral struct{} `json:"-"` 46 XXX_unrecognized []byte `json:"-"` 47 XXX_sizecache int32 `json:"-"` 48 } 49 50 func (m *KnownTypes) Reset() { *m = KnownTypes{} } 51 func (m *KnownTypes) String() string { return proto.CompactTextString(m) } 52 func (*KnownTypes) ProtoMessage() {} 53 func (*KnownTypes) Descriptor() ([]byte, []int) { 54 return fileDescriptor_b3cdd6d81a3ac3e5, []int{0} 55 } 56 func (m *KnownTypes) XXX_Unmarshal(b []byte) error { 57 return m.Unmarshal(b) 58 } 59 func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 60 return xxx_messageInfo_KnownTypes.Marshal(b, m, deterministic) 61 } 62 func (m *KnownTypes) XXX_Merge(src proto.Message) { 63 xxx_messageInfo_KnownTypes.Merge(m, src) 64 } 65 func (m *KnownTypes) XXX_Size() int { 66 return xxx_messageInfo_KnownTypes.Size(m) 67 } 68 func (m *KnownTypes) XXX_DiscardUnknown() { 69 xxx_messageInfo_KnownTypes.DiscardUnknown(m) 70 } 71 72 var xxx_messageInfo_KnownTypes proto.InternalMessageInfo 73 74 func (m *KnownTypes) GetDur() *types.Duration { 75 if m != nil { 76 return m.Dur 77 } 78 return nil 79 } 80 81 func (m *KnownTypes) GetTs() *types.Timestamp { 82 if m != nil { 83 return m.Ts 84 } 85 return nil 86 } 87 88 func (m *KnownTypes) GetDbl() *types.DoubleValue { 89 if m != nil { 90 return m.Dbl 91 } 92 return nil 93 } 94 95 func (m *KnownTypes) GetFlt() *types.FloatValue { 96 if m != nil { 97 return m.Flt 98 } 99 return nil 100 } 101 102 func (m *KnownTypes) GetI64() *types.Int64Value { 103 if m != nil { 104 return m.I64 105 } 106 return nil 107 } 108 109 func (m *KnownTypes) GetU64() *types.UInt64Value { 110 if m != nil { 111 return m.U64 112 } 113 return nil 114 } 115 116 func (m *KnownTypes) GetI32() *types.Int32Value { 117 if m != nil { 118 return m.I32 119 } 120 return nil 121 } 122 123 func (m *KnownTypes) GetU32() *types.UInt32Value { 124 if m != nil { 125 return m.U32 126 } 127 return nil 128 } 129 130 func (m *KnownTypes) GetBool() *types.BoolValue { 131 if m != nil { 132 return m.Bool 133 } 134 return nil 135 } 136 137 func (m *KnownTypes) GetStr() *types.StringValue { 138 if m != nil { 139 return m.Str 140 } 141 return nil 142 } 143 144 func (m *KnownTypes) GetBytes() *types.BytesValue { 145 if m != nil { 146 return m.Bytes 147 } 148 return nil 149 } 150 151 func (m *KnownTypes) GetSt() *types.Struct { 152 if m != nil { 153 return m.St 154 } 155 return nil 156 } 157 158 type ProtoTypes struct { 159 NullableTimestamp *types.Timestamp `protobuf:"bytes,1,opt,name=nullableTimestamp,proto3" json:"nullableTimestamp,omitempty"` 160 NullableDuration *types.Duration `protobuf:"bytes,2,opt,name=nullableDuration,proto3" json:"nullableDuration,omitempty"` 161 NullableDouble *types.DoubleValue `protobuf:"bytes,3,opt,name=nullableDouble,proto3" json:"nullableDouble,omitempty"` 162 NullableFloat *types.FloatValue `protobuf:"bytes,4,opt,name=nullableFloat,proto3" json:"nullableFloat,omitempty"` 163 NullableInt64 *types.Int64Value `protobuf:"bytes,5,opt,name=nullableInt64,proto3" json:"nullableInt64,omitempty"` 164 NullableUInt64 *types.UInt64Value `protobuf:"bytes,6,opt,name=nullableUInt64,proto3" json:"nullableUInt64,omitempty"` 165 NullableInt32 *types.Int32Value `protobuf:"bytes,7,opt,name=nullableInt32,proto3" json:"nullableInt32,omitempty"` 166 NullableUInt32 *types.UInt32Value `protobuf:"bytes,8,opt,name=nullableUInt32,proto3" json:"nullableUInt32,omitempty"` 167 NullableBool *types.BoolValue `protobuf:"bytes,9,opt,name=nullableBool,proto3" json:"nullableBool,omitempty"` 168 NullableString *types.StringValue `protobuf:"bytes,10,opt,name=nullableString,proto3" json:"nullableString,omitempty"` 169 NullableBytes *types.BytesValue `protobuf:"bytes,11,opt,name=nullableBytes,proto3" json:"nullableBytes,omitempty"` 170 Timestamp types.Timestamp `protobuf:"bytes,12,opt,name=timestamp,proto3" json:"timestamp"` 171 Duration types.Duration `protobuf:"bytes,13,opt,name=duration,proto3" json:"duration"` 172 NonnullDouble types.DoubleValue `protobuf:"bytes,14,opt,name=nonnullDouble,proto3" json:"nonnullDouble"` 173 NonnullFloat types.FloatValue `protobuf:"bytes,15,opt,name=nonnullFloat,proto3" json:"nonnullFloat"` 174 NonnullInt64 types.Int64Value `protobuf:"bytes,16,opt,name=nonnullInt64,proto3" json:"nonnullInt64"` 175 NonnullUInt64 types.UInt64Value `protobuf:"bytes,17,opt,name=nonnullUInt64,proto3" json:"nonnullUInt64"` 176 NonnullInt32 types.Int32Value `protobuf:"bytes,18,opt,name=nonnullInt32,proto3" json:"nonnullInt32"` 177 NonnullUInt32 types.UInt32Value `protobuf:"bytes,19,opt,name=nonnullUInt32,proto3" json:"nonnullUInt32"` 178 NonnullBool types.BoolValue `protobuf:"bytes,20,opt,name=nonnullBool,proto3" json:"nonnullBool"` 179 NonnullString types.StringValue `protobuf:"bytes,21,opt,name=nonnullString,proto3" json:"nonnullString"` 180 NonnullBytes types.BytesValue `protobuf:"bytes,22,opt,name=nonnullBytes,proto3" json:"nonnullBytes"` 181 XXX_NoUnkeyedLiteral struct{} `json:"-"` 182 XXX_unrecognized []byte `json:"-"` 183 XXX_sizecache int32 `json:"-"` 184 } 185 186 func (m *ProtoTypes) Reset() { *m = ProtoTypes{} } 187 func (m *ProtoTypes) String() string { return proto.CompactTextString(m) } 188 func (*ProtoTypes) ProtoMessage() {} 189 func (*ProtoTypes) Descriptor() ([]byte, []int) { 190 return fileDescriptor_b3cdd6d81a3ac3e5, []int{1} 191 } 192 func (m *ProtoTypes) XXX_Unmarshal(b []byte) error { 193 return m.Unmarshal(b) 194 } 195 func (m *ProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 196 return xxx_messageInfo_ProtoTypes.Marshal(b, m, deterministic) 197 } 198 func (m *ProtoTypes) XXX_Merge(src proto.Message) { 199 xxx_messageInfo_ProtoTypes.Merge(m, src) 200 } 201 func (m *ProtoTypes) XXX_Size() int { 202 return xxx_messageInfo_ProtoTypes.Size(m) 203 } 204 func (m *ProtoTypes) XXX_DiscardUnknown() { 205 xxx_messageInfo_ProtoTypes.DiscardUnknown(m) 206 } 207 208 var xxx_messageInfo_ProtoTypes proto.InternalMessageInfo 209 210 func (m *ProtoTypes) GetNullableTimestamp() *types.Timestamp { 211 if m != nil { 212 return m.NullableTimestamp 213 } 214 return nil 215 } 216 217 func (m *ProtoTypes) GetNullableDuration() *types.Duration { 218 if m != nil { 219 return m.NullableDuration 220 } 221 return nil 222 } 223 224 func (m *ProtoTypes) GetNullableDouble() *types.DoubleValue { 225 if m != nil { 226 return m.NullableDouble 227 } 228 return nil 229 } 230 231 func (m *ProtoTypes) GetNullableFloat() *types.FloatValue { 232 if m != nil { 233 return m.NullableFloat 234 } 235 return nil 236 } 237 238 func (m *ProtoTypes) GetNullableInt64() *types.Int64Value { 239 if m != nil { 240 return m.NullableInt64 241 } 242 return nil 243 } 244 245 func (m *ProtoTypes) GetNullableUInt64() *types.UInt64Value { 246 if m != nil { 247 return m.NullableUInt64 248 } 249 return nil 250 } 251 252 func (m *ProtoTypes) GetNullableInt32() *types.Int32Value { 253 if m != nil { 254 return m.NullableInt32 255 } 256 return nil 257 } 258 259 func (m *ProtoTypes) GetNullableUInt32() *types.UInt32Value { 260 if m != nil { 261 return m.NullableUInt32 262 } 263 return nil 264 } 265 266 func (m *ProtoTypes) GetNullableBool() *types.BoolValue { 267 if m != nil { 268 return m.NullableBool 269 } 270 return nil 271 } 272 273 func (m *ProtoTypes) GetNullableString() *types.StringValue { 274 if m != nil { 275 return m.NullableString 276 } 277 return nil 278 } 279 280 func (m *ProtoTypes) GetNullableBytes() *types.BytesValue { 281 if m != nil { 282 return m.NullableBytes 283 } 284 return nil 285 } 286 287 func (m *ProtoTypes) GetTimestamp() types.Timestamp { 288 if m != nil { 289 return m.Timestamp 290 } 291 return types.Timestamp{} 292 } 293 294 func (m *ProtoTypes) GetDuration() types.Duration { 295 if m != nil { 296 return m.Duration 297 } 298 return types.Duration{} 299 } 300 301 func (m *ProtoTypes) GetNonnullDouble() types.DoubleValue { 302 if m != nil { 303 return m.NonnullDouble 304 } 305 return types.DoubleValue{} 306 } 307 308 func (m *ProtoTypes) GetNonnullFloat() types.FloatValue { 309 if m != nil { 310 return m.NonnullFloat 311 } 312 return types.FloatValue{} 313 } 314 315 func (m *ProtoTypes) GetNonnullInt64() types.Int64Value { 316 if m != nil { 317 return m.NonnullInt64 318 } 319 return types.Int64Value{} 320 } 321 322 func (m *ProtoTypes) GetNonnullUInt64() types.UInt64Value { 323 if m != nil { 324 return m.NonnullUInt64 325 } 326 return types.UInt64Value{} 327 } 328 329 func (m *ProtoTypes) GetNonnullInt32() types.Int32Value { 330 if m != nil { 331 return m.NonnullInt32 332 } 333 return types.Int32Value{} 334 } 335 336 func (m *ProtoTypes) GetNonnullUInt32() types.UInt32Value { 337 if m != nil { 338 return m.NonnullUInt32 339 } 340 return types.UInt32Value{} 341 } 342 343 func (m *ProtoTypes) GetNonnullBool() types.BoolValue { 344 if m != nil { 345 return m.NonnullBool 346 } 347 return types.BoolValue{} 348 } 349 350 func (m *ProtoTypes) GetNonnullString() types.StringValue { 351 if m != nil { 352 return m.NonnullString 353 } 354 return types.StringValue{} 355 } 356 357 func (m *ProtoTypes) GetNonnullBytes() types.BytesValue { 358 if m != nil { 359 return m.NonnullBytes 360 } 361 return types.BytesValue{} 362 } 363 364 type StdTypes struct { 365 NullableTimestamp *time.Time `protobuf:"bytes,1,opt,name=nullableTimestamp,proto3,stdtime" json:"nullableTimestamp,omitempty"` 366 NullableDuration *time.Duration `protobuf:"bytes,2,opt,name=nullableDuration,proto3,stdduration" json:"nullableDuration,omitempty"` 367 NullableDouble *float64 `protobuf:"bytes,3,opt,name=nullableDouble,proto3,wktptr" json:"nullableDouble,omitempty"` 368 NullableFloat *float32 `protobuf:"bytes,4,opt,name=nullableFloat,proto3,wktptr" json:"nullableFloat,omitempty"` 369 NullableInt64 *int64 `protobuf:"bytes,5,opt,name=nullableInt64,proto3,wktptr" json:"nullableInt64,omitempty"` 370 NullableUInt64 *uint64 `protobuf:"bytes,6,opt,name=nullableUInt64,proto3,wktptr" json:"nullableUInt64,omitempty"` 371 NullableInt32 *int32 `protobuf:"bytes,7,opt,name=nullableInt32,proto3,wktptr" json:"nullableInt32,omitempty"` 372 NullableUInt32 *uint32 `protobuf:"bytes,8,opt,name=nullableUInt32,proto3,wktptr" json:"nullableUInt32,omitempty"` 373 NullableBool *bool `protobuf:"bytes,9,opt,name=nullableBool,proto3,wktptr" json:"nullableBool,omitempty"` 374 NullableString *string `protobuf:"bytes,10,opt,name=nullableString,proto3,wktptr" json:"nullableString,omitempty"` 375 NullableBytes *[]byte `protobuf:"bytes,11,opt,name=nullableBytes,proto3,wktptr" json:"nullableBytes,omitempty"` 376 Timestamp time.Time `protobuf:"bytes,12,opt,name=timestamp,proto3,stdtime" json:"timestamp"` 377 Duration time.Duration `protobuf:"bytes,13,opt,name=duration,proto3,stdduration" json:"duration"` 378 NonnullDouble float64 `protobuf:"bytes,14,opt,name=nonnullDouble,proto3,wktptr" json:"nonnullDouble"` 379 NonnullFloat float32 `protobuf:"bytes,15,opt,name=nonnullFloat,proto3,wktptr" json:"nonnullFloat"` 380 NonnullInt64 int64 `protobuf:"bytes,16,opt,name=nonnullInt64,proto3,wktptr" json:"nonnullInt64"` 381 NonnullUInt64 uint64 `protobuf:"bytes,17,opt,name=nonnullUInt64,proto3,wktptr" json:"nonnullUInt64"` 382 NonnullInt32 int32 `protobuf:"bytes,18,opt,name=nonnullInt32,proto3,wktptr" json:"nonnullInt32"` 383 NonnullUInt32 uint32 `protobuf:"bytes,19,opt,name=nonnullUInt32,proto3,wktptr" json:"nonnullUInt32"` 384 NonnullBool bool `protobuf:"bytes,20,opt,name=nonnullBool,proto3,wktptr" json:"nonnullBool"` 385 NonnullString string `protobuf:"bytes,21,opt,name=nonnullString,proto3,wktptr" json:"nonnullString"` 386 NonnullBytes []byte `protobuf:"bytes,22,opt,name=nonnullBytes,proto3,wktptr" json:"nonnullBytes"` 387 XXX_NoUnkeyedLiteral struct{} `json:"-"` 388 XXX_unrecognized []byte `json:"-"` 389 XXX_sizecache int32 `json:"-"` 390 } 391 392 func (m *StdTypes) Reset() { *m = StdTypes{} } 393 func (m *StdTypes) String() string { return proto.CompactTextString(m) } 394 func (*StdTypes) ProtoMessage() {} 395 func (*StdTypes) Descriptor() ([]byte, []int) { 396 return fileDescriptor_b3cdd6d81a3ac3e5, []int{2} 397 } 398 func (m *StdTypes) XXX_Unmarshal(b []byte) error { 399 return m.Unmarshal(b) 400 } 401 func (m *StdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 402 return xxx_messageInfo_StdTypes.Marshal(b, m, deterministic) 403 } 404 func (m *StdTypes) XXX_Merge(src proto.Message) { 405 xxx_messageInfo_StdTypes.Merge(m, src) 406 } 407 func (m *StdTypes) XXX_Size() int { 408 return xxx_messageInfo_StdTypes.Size(m) 409 } 410 func (m *StdTypes) XXX_DiscardUnknown() { 411 xxx_messageInfo_StdTypes.DiscardUnknown(m) 412 } 413 414 var xxx_messageInfo_StdTypes proto.InternalMessageInfo 415 416 func (m *StdTypes) GetNullableTimestamp() *time.Time { 417 if m != nil { 418 return m.NullableTimestamp 419 } 420 return nil 421 } 422 423 func (m *StdTypes) GetNullableDuration() *time.Duration { 424 if m != nil { 425 return m.NullableDuration 426 } 427 return nil 428 } 429 430 func (m *StdTypes) GetNullableDouble() *float64 { 431 if m != nil { 432 return m.NullableDouble 433 } 434 return nil 435 } 436 437 func (m *StdTypes) GetNullableFloat() *float32 { 438 if m != nil { 439 return m.NullableFloat 440 } 441 return nil 442 } 443 444 func (m *StdTypes) GetNullableInt64() *int64 { 445 if m != nil { 446 return m.NullableInt64 447 } 448 return nil 449 } 450 451 func (m *StdTypes) GetNullableUInt64() *uint64 { 452 if m != nil { 453 return m.NullableUInt64 454 } 455 return nil 456 } 457 458 func (m *StdTypes) GetNullableInt32() *int32 { 459 if m != nil { 460 return m.NullableInt32 461 } 462 return nil 463 } 464 465 func (m *StdTypes) GetNullableUInt32() *uint32 { 466 if m != nil { 467 return m.NullableUInt32 468 } 469 return nil 470 } 471 472 func (m *StdTypes) GetNullableBool() *bool { 473 if m != nil { 474 return m.NullableBool 475 } 476 return nil 477 } 478 479 func (m *StdTypes) GetNullableString() *string { 480 if m != nil { 481 return m.NullableString 482 } 483 return nil 484 } 485 486 func (m *StdTypes) GetNullableBytes() *[]byte { 487 if m != nil { 488 return m.NullableBytes 489 } 490 return nil 491 } 492 493 func (m *StdTypes) GetTimestamp() time.Time { 494 if m != nil { 495 return m.Timestamp 496 } 497 return time.Time{} 498 } 499 500 func (m *StdTypes) GetDuration() time.Duration { 501 if m != nil { 502 return m.Duration 503 } 504 return 0 505 } 506 507 func (m *StdTypes) GetNonnullDouble() float64 { 508 if m != nil { 509 return m.NonnullDouble 510 } 511 return 0 512 } 513 514 func (m *StdTypes) GetNonnullFloat() float32 { 515 if m != nil { 516 return m.NonnullFloat 517 } 518 return 0 519 } 520 521 func (m *StdTypes) GetNonnullInt64() int64 { 522 if m != nil { 523 return m.NonnullInt64 524 } 525 return 0 526 } 527 528 func (m *StdTypes) GetNonnullUInt64() uint64 { 529 if m != nil { 530 return m.NonnullUInt64 531 } 532 return 0 533 } 534 535 func (m *StdTypes) GetNonnullInt32() int32 { 536 if m != nil { 537 return m.NonnullInt32 538 } 539 return 0 540 } 541 542 func (m *StdTypes) GetNonnullUInt32() uint32 { 543 if m != nil { 544 return m.NonnullUInt32 545 } 546 return 0 547 } 548 549 func (m *StdTypes) GetNonnullBool() bool { 550 if m != nil { 551 return m.NonnullBool 552 } 553 return false 554 } 555 556 func (m *StdTypes) GetNonnullString() string { 557 if m != nil { 558 return m.NonnullString 559 } 560 return "" 561 } 562 563 func (m *StdTypes) GetNonnullBytes() []byte { 564 if m != nil { 565 return m.NonnullBytes 566 } 567 return []byte{} 568 } 569 570 type RepProtoTypes struct { 571 NullableTimestamps []*types.Timestamp `protobuf:"bytes,1,rep,name=nullableTimestamps,proto3" json:"nullableTimestamps,omitempty"` 572 NullableDurations []*types.Duration `protobuf:"bytes,2,rep,name=nullableDurations,proto3" json:"nullableDurations,omitempty"` 573 Timestamps []types.Timestamp `protobuf:"bytes,3,rep,name=timestamps,proto3" json:"timestamps"` 574 Durations []types.Duration `protobuf:"bytes,4,rep,name=durations,proto3" json:"durations"` 575 NullableDouble []*types.DoubleValue `protobuf:"bytes,5,rep,name=nullableDouble,proto3" json:"nullableDouble,omitempty"` 576 NonnullDouble []types.DoubleValue `protobuf:"bytes,6,rep,name=nonnullDouble,proto3" json:"nonnullDouble"` 577 NullableFloat []*types.FloatValue `protobuf:"bytes,7,rep,name=nullableFloat,proto3" json:"nullableFloat,omitempty"` 578 NonnullFloat []types.FloatValue `protobuf:"bytes,8,rep,name=nonnullFloat,proto3" json:"nonnullFloat"` 579 NullableInt64 []*types.Int64Value `protobuf:"bytes,9,rep,name=nullableInt64,proto3" json:"nullableInt64,omitempty"` 580 NonnullInt64 []types.Int64Value `protobuf:"bytes,10,rep,name=nonnullInt64,proto3" json:"nonnullInt64"` 581 NullableUInt64 []*types.UInt64Value `protobuf:"bytes,11,rep,name=nullableUInt64,proto3" json:"nullableUInt64,omitempty"` 582 NonnullUInt64 []types.UInt64Value `protobuf:"bytes,12,rep,name=nonnullUInt64,proto3" json:"nonnullUInt64"` 583 NullableInt32 []*types.Int32Value `protobuf:"bytes,13,rep,name=nullableInt32,proto3" json:"nullableInt32,omitempty"` 584 NonnullInt32 []types.Int32Value `protobuf:"bytes,14,rep,name=nonnullInt32,proto3" json:"nonnullInt32"` 585 NullableUInt32 []*types.UInt32Value `protobuf:"bytes,15,rep,name=nullableUInt32,proto3" json:"nullableUInt32,omitempty"` 586 NonnullUInt32 []types.UInt32Value `protobuf:"bytes,16,rep,name=nonnullUInt32,proto3" json:"nonnullUInt32"` 587 NullableBool []*types.BoolValue `protobuf:"bytes,17,rep,name=nullableBool,proto3" json:"nullableBool,omitempty"` 588 NonnullBool []types.BoolValue `protobuf:"bytes,18,rep,name=nonnullBool,proto3" json:"nonnullBool"` 589 NullableString []*types.StringValue `protobuf:"bytes,19,rep,name=nullableString,proto3" json:"nullableString,omitempty"` 590 NonnullString []types.StringValue `protobuf:"bytes,20,rep,name=nonnullString,proto3" json:"nonnullString"` 591 NullableBytes []*types.BytesValue `protobuf:"bytes,21,rep,name=nullableBytes,proto3" json:"nullableBytes,omitempty"` 592 NonnullBytes []types.BytesValue `protobuf:"bytes,22,rep,name=nonnullBytes,proto3" json:"nonnullBytes"` 593 XXX_NoUnkeyedLiteral struct{} `json:"-"` 594 XXX_unrecognized []byte `json:"-"` 595 XXX_sizecache int32 `json:"-"` 596 } 597 598 func (m *RepProtoTypes) Reset() { *m = RepProtoTypes{} } 599 func (m *RepProtoTypes) String() string { return proto.CompactTextString(m) } 600 func (*RepProtoTypes) ProtoMessage() {} 601 func (*RepProtoTypes) Descriptor() ([]byte, []int) { 602 return fileDescriptor_b3cdd6d81a3ac3e5, []int{3} 603 } 604 func (m *RepProtoTypes) XXX_Unmarshal(b []byte) error { 605 return m.Unmarshal(b) 606 } 607 func (m *RepProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 608 return xxx_messageInfo_RepProtoTypes.Marshal(b, m, deterministic) 609 } 610 func (m *RepProtoTypes) XXX_Merge(src proto.Message) { 611 xxx_messageInfo_RepProtoTypes.Merge(m, src) 612 } 613 func (m *RepProtoTypes) XXX_Size() int { 614 return xxx_messageInfo_RepProtoTypes.Size(m) 615 } 616 func (m *RepProtoTypes) XXX_DiscardUnknown() { 617 xxx_messageInfo_RepProtoTypes.DiscardUnknown(m) 618 } 619 620 var xxx_messageInfo_RepProtoTypes proto.InternalMessageInfo 621 622 func (m *RepProtoTypes) GetNullableTimestamps() []*types.Timestamp { 623 if m != nil { 624 return m.NullableTimestamps 625 } 626 return nil 627 } 628 629 func (m *RepProtoTypes) GetNullableDurations() []*types.Duration { 630 if m != nil { 631 return m.NullableDurations 632 } 633 return nil 634 } 635 636 func (m *RepProtoTypes) GetTimestamps() []types.Timestamp { 637 if m != nil { 638 return m.Timestamps 639 } 640 return nil 641 } 642 643 func (m *RepProtoTypes) GetDurations() []types.Duration { 644 if m != nil { 645 return m.Durations 646 } 647 return nil 648 } 649 650 func (m *RepProtoTypes) GetNullableDouble() []*types.DoubleValue { 651 if m != nil { 652 return m.NullableDouble 653 } 654 return nil 655 } 656 657 func (m *RepProtoTypes) GetNonnullDouble() []types.DoubleValue { 658 if m != nil { 659 return m.NonnullDouble 660 } 661 return nil 662 } 663 664 func (m *RepProtoTypes) GetNullableFloat() []*types.FloatValue { 665 if m != nil { 666 return m.NullableFloat 667 } 668 return nil 669 } 670 671 func (m *RepProtoTypes) GetNonnullFloat() []types.FloatValue { 672 if m != nil { 673 return m.NonnullFloat 674 } 675 return nil 676 } 677 678 func (m *RepProtoTypes) GetNullableInt64() []*types.Int64Value { 679 if m != nil { 680 return m.NullableInt64 681 } 682 return nil 683 } 684 685 func (m *RepProtoTypes) GetNonnullInt64() []types.Int64Value { 686 if m != nil { 687 return m.NonnullInt64 688 } 689 return nil 690 } 691 692 func (m *RepProtoTypes) GetNullableUInt64() []*types.UInt64Value { 693 if m != nil { 694 return m.NullableUInt64 695 } 696 return nil 697 } 698 699 func (m *RepProtoTypes) GetNonnullUInt64() []types.UInt64Value { 700 if m != nil { 701 return m.NonnullUInt64 702 } 703 return nil 704 } 705 706 func (m *RepProtoTypes) GetNullableInt32() []*types.Int32Value { 707 if m != nil { 708 return m.NullableInt32 709 } 710 return nil 711 } 712 713 func (m *RepProtoTypes) GetNonnullInt32() []types.Int32Value { 714 if m != nil { 715 return m.NonnullInt32 716 } 717 return nil 718 } 719 720 func (m *RepProtoTypes) GetNullableUInt32() []*types.UInt32Value { 721 if m != nil { 722 return m.NullableUInt32 723 } 724 return nil 725 } 726 727 func (m *RepProtoTypes) GetNonnullUInt32() []types.UInt32Value { 728 if m != nil { 729 return m.NonnullUInt32 730 } 731 return nil 732 } 733 734 func (m *RepProtoTypes) GetNullableBool() []*types.BoolValue { 735 if m != nil { 736 return m.NullableBool 737 } 738 return nil 739 } 740 741 func (m *RepProtoTypes) GetNonnullBool() []types.BoolValue { 742 if m != nil { 743 return m.NonnullBool 744 } 745 return nil 746 } 747 748 func (m *RepProtoTypes) GetNullableString() []*types.StringValue { 749 if m != nil { 750 return m.NullableString 751 } 752 return nil 753 } 754 755 func (m *RepProtoTypes) GetNonnullString() []types.StringValue { 756 if m != nil { 757 return m.NonnullString 758 } 759 return nil 760 } 761 762 func (m *RepProtoTypes) GetNullableBytes() []*types.BytesValue { 763 if m != nil { 764 return m.NullableBytes 765 } 766 return nil 767 } 768 769 func (m *RepProtoTypes) GetNonnullBytes() []types.BytesValue { 770 if m != nil { 771 return m.NonnullBytes 772 } 773 return nil 774 } 775 776 type RepStdTypes struct { 777 NullableTimestamps []*time.Time `protobuf:"bytes,1,rep,name=nullableTimestamps,proto3,stdtime" json:"nullableTimestamps,omitempty"` 778 NullableDurations []*time.Duration `protobuf:"bytes,2,rep,name=nullableDurations,proto3,stdduration" json:"nullableDurations,omitempty"` 779 Timestamps []time.Time `protobuf:"bytes,3,rep,name=timestamps,proto3,stdtime" json:"timestamps"` 780 Durations []time.Duration `protobuf:"bytes,4,rep,name=durations,proto3,stdduration" json:"durations"` 781 NullableDouble []*float64 `protobuf:"bytes,5,rep,name=nullableDouble,proto3,wktptr" json:"nullableDouble,omitempty"` 782 NonnullDouble []float64 `protobuf:"bytes,6,rep,name=nonnullDouble,proto3,wktptr" json:"nonnullDouble"` 783 NullableFloat []*float32 `protobuf:"bytes,7,rep,name=nullableFloat,proto3,wktptr" json:"nullableFloat,omitempty"` 784 NonnullFloat []float32 `protobuf:"bytes,8,rep,name=nonnullFloat,proto3,wktptr" json:"nonnullFloat"` 785 NullableInt64 []*int64 `protobuf:"bytes,9,rep,name=nullableInt64,proto3,wktptr" json:"nullableInt64,omitempty"` 786 NonnullInt64 []int64 `protobuf:"bytes,10,rep,name=nonnullInt64,proto3,wktptr" json:"nonnullInt64"` 787 NullableUInt64 []*uint64 `protobuf:"bytes,11,rep,name=nullableUInt64,proto3,wktptr" json:"nullableUInt64,omitempty"` 788 NonnullUInt64 []uint64 `protobuf:"bytes,12,rep,name=nonnullUInt64,proto3,wktptr" json:"nonnullUInt64"` 789 NullableInt32 []*int32 `protobuf:"bytes,13,rep,name=nullableInt32,proto3,wktptr" json:"nullableInt32,omitempty"` 790 NonnullInt32 []int32 `protobuf:"bytes,14,rep,name=nonnullInt32,proto3,wktptr" json:"nonnullInt32"` 791 NullableUInt32 []*uint32 `protobuf:"bytes,15,rep,name=nullableUInt32,proto3,wktptr" json:"nullableUInt32,omitempty"` 792 NonnullUInt32 []uint32 `protobuf:"bytes,16,rep,name=nonnullUInt32,proto3,wktptr" json:"nonnullUInt32"` 793 NullableBool []*bool `protobuf:"bytes,17,rep,name=nullableBool,proto3,wktptr" json:"nullableBool,omitempty"` 794 NonnullBool []bool `protobuf:"bytes,18,rep,name=nonnullBool,proto3,wktptr" json:"nonnullBool"` 795 NullableString []*string `protobuf:"bytes,19,rep,name=nullableString,proto3,wktptr" json:"nullableString,omitempty"` 796 NonnullString []string `protobuf:"bytes,20,rep,name=nonnullString,proto3,wktptr" json:"nonnullString"` 797 NullableBytes []*[]byte `protobuf:"bytes,21,rep,name=nullableBytes,proto3,wktptr" json:"nullableBytes,omitempty"` 798 NonnullBytes [][]byte `protobuf:"bytes,22,rep,name=nonnullBytes,proto3,wktptr" json:"nonnullBytes"` 799 XXX_NoUnkeyedLiteral struct{} `json:"-"` 800 XXX_unrecognized []byte `json:"-"` 801 XXX_sizecache int32 `json:"-"` 802 } 803 804 func (m *RepStdTypes) Reset() { *m = RepStdTypes{} } 805 func (m *RepStdTypes) String() string { return proto.CompactTextString(m) } 806 func (*RepStdTypes) ProtoMessage() {} 807 func (*RepStdTypes) Descriptor() ([]byte, []int) { 808 return fileDescriptor_b3cdd6d81a3ac3e5, []int{4} 809 } 810 func (m *RepStdTypes) XXX_Unmarshal(b []byte) error { 811 return m.Unmarshal(b) 812 } 813 func (m *RepStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 814 return xxx_messageInfo_RepStdTypes.Marshal(b, m, deterministic) 815 } 816 func (m *RepStdTypes) XXX_Merge(src proto.Message) { 817 xxx_messageInfo_RepStdTypes.Merge(m, src) 818 } 819 func (m *RepStdTypes) XXX_Size() int { 820 return xxx_messageInfo_RepStdTypes.Size(m) 821 } 822 func (m *RepStdTypes) XXX_DiscardUnknown() { 823 xxx_messageInfo_RepStdTypes.DiscardUnknown(m) 824 } 825 826 var xxx_messageInfo_RepStdTypes proto.InternalMessageInfo 827 828 func (m *RepStdTypes) GetNullableTimestamps() []*time.Time { 829 if m != nil { 830 return m.NullableTimestamps 831 } 832 return nil 833 } 834 835 func (m *RepStdTypes) GetNullableDurations() []*time.Duration { 836 if m != nil { 837 return m.NullableDurations 838 } 839 return nil 840 } 841 842 func (m *RepStdTypes) GetTimestamps() []time.Time { 843 if m != nil { 844 return m.Timestamps 845 } 846 return nil 847 } 848 849 func (m *RepStdTypes) GetDurations() []time.Duration { 850 if m != nil { 851 return m.Durations 852 } 853 return nil 854 } 855 856 func (m *RepStdTypes) GetNullableDouble() []*float64 { 857 if m != nil { 858 return m.NullableDouble 859 } 860 return nil 861 } 862 863 func (m *RepStdTypes) GetNonnullDouble() []float64 { 864 if m != nil { 865 return m.NonnullDouble 866 } 867 return nil 868 } 869 870 func (m *RepStdTypes) GetNullableFloat() []*float32 { 871 if m != nil { 872 return m.NullableFloat 873 } 874 return nil 875 } 876 877 func (m *RepStdTypes) GetNonnullFloat() []float32 { 878 if m != nil { 879 return m.NonnullFloat 880 } 881 return nil 882 } 883 884 func (m *RepStdTypes) GetNullableInt64() []*int64 { 885 if m != nil { 886 return m.NullableInt64 887 } 888 return nil 889 } 890 891 func (m *RepStdTypes) GetNonnullInt64() []int64 { 892 if m != nil { 893 return m.NonnullInt64 894 } 895 return nil 896 } 897 898 func (m *RepStdTypes) GetNullableUInt64() []*uint64 { 899 if m != nil { 900 return m.NullableUInt64 901 } 902 return nil 903 } 904 905 func (m *RepStdTypes) GetNonnullUInt64() []uint64 { 906 if m != nil { 907 return m.NonnullUInt64 908 } 909 return nil 910 } 911 912 func (m *RepStdTypes) GetNullableInt32() []*int32 { 913 if m != nil { 914 return m.NullableInt32 915 } 916 return nil 917 } 918 919 func (m *RepStdTypes) GetNonnullInt32() []int32 { 920 if m != nil { 921 return m.NonnullInt32 922 } 923 return nil 924 } 925 926 func (m *RepStdTypes) GetNullableUInt32() []*uint32 { 927 if m != nil { 928 return m.NullableUInt32 929 } 930 return nil 931 } 932 933 func (m *RepStdTypes) GetNonnullUInt32() []uint32 { 934 if m != nil { 935 return m.NonnullUInt32 936 } 937 return nil 938 } 939 940 func (m *RepStdTypes) GetNullableBool() []*bool { 941 if m != nil { 942 return m.NullableBool 943 } 944 return nil 945 } 946 947 func (m *RepStdTypes) GetNonnullBool() []bool { 948 if m != nil { 949 return m.NonnullBool 950 } 951 return nil 952 } 953 954 func (m *RepStdTypes) GetNullableString() []*string { 955 if m != nil { 956 return m.NullableString 957 } 958 return nil 959 } 960 961 func (m *RepStdTypes) GetNonnullString() []string { 962 if m != nil { 963 return m.NonnullString 964 } 965 return nil 966 } 967 968 func (m *RepStdTypes) GetNullableBytes() []*[]byte { 969 if m != nil { 970 return m.NullableBytes 971 } 972 return nil 973 } 974 975 func (m *RepStdTypes) GetNonnullBytes() [][]byte { 976 if m != nil { 977 return m.NonnullBytes 978 } 979 return nil 980 } 981 982 type MapProtoTypes struct { 983 NullableTimestamp map[int32]*types.Timestamp `protobuf:"bytes,1,rep,name=nullableTimestamp,proto3" json:"nullableTimestamp,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 984 Timestamp map[int32]types.Timestamp `protobuf:"bytes,2,rep,name=timestamp,proto3" json:"timestamp" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 985 NullableDuration map[int32]*types.Duration `protobuf:"bytes,3,rep,name=nullableDuration,proto3" json:"nullableDuration,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 986 Duration map[int32]types.Duration `protobuf:"bytes,4,rep,name=duration,proto3" json:"duration" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 987 NullableDouble map[int32]*types.DoubleValue `protobuf:"bytes,5,rep,name=nullableDouble,proto3" json:"nullableDouble,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 988 NonnullDouble map[int32]types.DoubleValue `protobuf:"bytes,6,rep,name=nonnullDouble,proto3" json:"nonnullDouble" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 989 NullableFloat map[int32]*types.FloatValue `protobuf:"bytes,7,rep,name=nullableFloat,proto3" json:"nullableFloat,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 990 NonnullFloat map[int32]types.FloatValue `protobuf:"bytes,8,rep,name=nonnullFloat,proto3" json:"nonnullFloat" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 991 NullableInt64 map[int32]*types.Int64Value `protobuf:"bytes,9,rep,name=nullableInt64,proto3" json:"nullableInt64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 992 NonnullInt64 map[int32]types.Int64Value `protobuf:"bytes,10,rep,name=nonnullInt64,proto3" json:"nonnullInt64" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 993 NullableUInt64 map[int32]*types.UInt64Value `protobuf:"bytes,11,rep,name=nullableUInt64,proto3" json:"nullableUInt64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 994 NonnullUInt64 map[int32]types.UInt64Value `protobuf:"bytes,12,rep,name=nonnullUInt64,proto3" json:"nonnullUInt64" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 995 NullableInt32 map[int32]*types.Int32Value `protobuf:"bytes,13,rep,name=nullableInt32,proto3" json:"nullableInt32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 996 NonnullInt32 map[int32]types.Int32Value `protobuf:"bytes,14,rep,name=nonnullInt32,proto3" json:"nonnullInt32" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 997 NullableUInt32 map[int32]*types.UInt32Value `protobuf:"bytes,15,rep,name=nullableUInt32,proto3" json:"nullableUInt32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 998 NonnullUInt32 map[int32]types.UInt32Value `protobuf:"bytes,16,rep,name=nonnullUInt32,proto3" json:"nonnullUInt32" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 999 NullableBool map[int32]*types.BoolValue `protobuf:"bytes,17,rep,name=nullableBool,proto3" json:"nullableBool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1000 NonnullBool map[int32]types.BoolValue `protobuf:"bytes,18,rep,name=nonnullBool,proto3" json:"nonnullBool" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1001 NullableString map[int32]*types.StringValue `protobuf:"bytes,19,rep,name=nullableString,proto3" json:"nullableString,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1002 NonnullString map[int32]types.StringValue `protobuf:"bytes,20,rep,name=nonnullString,proto3" json:"nonnullString" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1003 NullableBytes map[int32]*types.BytesValue `protobuf:"bytes,21,rep,name=nullableBytes,proto3" json:"nullableBytes,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1004 NonnullBytes map[int32]types.BytesValue `protobuf:"bytes,22,rep,name=nonnullBytes,proto3" json:"nonnullBytes" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1005 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1006 XXX_unrecognized []byte `json:"-"` 1007 XXX_sizecache int32 `json:"-"` 1008 } 1009 1010 func (m *MapProtoTypes) Reset() { *m = MapProtoTypes{} } 1011 func (m *MapProtoTypes) String() string { return proto.CompactTextString(m) } 1012 func (*MapProtoTypes) ProtoMessage() {} 1013 func (*MapProtoTypes) Descriptor() ([]byte, []int) { 1014 return fileDescriptor_b3cdd6d81a3ac3e5, []int{5} 1015 } 1016 func (m *MapProtoTypes) XXX_Unmarshal(b []byte) error { 1017 return m.Unmarshal(b) 1018 } 1019 func (m *MapProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1020 return xxx_messageInfo_MapProtoTypes.Marshal(b, m, deterministic) 1021 } 1022 func (m *MapProtoTypes) XXX_Merge(src proto.Message) { 1023 xxx_messageInfo_MapProtoTypes.Merge(m, src) 1024 } 1025 func (m *MapProtoTypes) XXX_Size() int { 1026 return xxx_messageInfo_MapProtoTypes.Size(m) 1027 } 1028 func (m *MapProtoTypes) XXX_DiscardUnknown() { 1029 xxx_messageInfo_MapProtoTypes.DiscardUnknown(m) 1030 } 1031 1032 var xxx_messageInfo_MapProtoTypes proto.InternalMessageInfo 1033 1034 func (m *MapProtoTypes) GetNullableTimestamp() map[int32]*types.Timestamp { 1035 if m != nil { 1036 return m.NullableTimestamp 1037 } 1038 return nil 1039 } 1040 1041 func (m *MapProtoTypes) GetTimestamp() map[int32]types.Timestamp { 1042 if m != nil { 1043 return m.Timestamp 1044 } 1045 return nil 1046 } 1047 1048 func (m *MapProtoTypes) GetNullableDuration() map[int32]*types.Duration { 1049 if m != nil { 1050 return m.NullableDuration 1051 } 1052 return nil 1053 } 1054 1055 func (m *MapProtoTypes) GetDuration() map[int32]types.Duration { 1056 if m != nil { 1057 return m.Duration 1058 } 1059 return nil 1060 } 1061 1062 func (m *MapProtoTypes) GetNullableDouble() map[int32]*types.DoubleValue { 1063 if m != nil { 1064 return m.NullableDouble 1065 } 1066 return nil 1067 } 1068 1069 func (m *MapProtoTypes) GetNonnullDouble() map[int32]types.DoubleValue { 1070 if m != nil { 1071 return m.NonnullDouble 1072 } 1073 return nil 1074 } 1075 1076 func (m *MapProtoTypes) GetNullableFloat() map[int32]*types.FloatValue { 1077 if m != nil { 1078 return m.NullableFloat 1079 } 1080 return nil 1081 } 1082 1083 func (m *MapProtoTypes) GetNonnullFloat() map[int32]types.FloatValue { 1084 if m != nil { 1085 return m.NonnullFloat 1086 } 1087 return nil 1088 } 1089 1090 func (m *MapProtoTypes) GetNullableInt64() map[int32]*types.Int64Value { 1091 if m != nil { 1092 return m.NullableInt64 1093 } 1094 return nil 1095 } 1096 1097 func (m *MapProtoTypes) GetNonnullInt64() map[int32]types.Int64Value { 1098 if m != nil { 1099 return m.NonnullInt64 1100 } 1101 return nil 1102 } 1103 1104 func (m *MapProtoTypes) GetNullableUInt64() map[int32]*types.UInt64Value { 1105 if m != nil { 1106 return m.NullableUInt64 1107 } 1108 return nil 1109 } 1110 1111 func (m *MapProtoTypes) GetNonnullUInt64() map[int32]types.UInt64Value { 1112 if m != nil { 1113 return m.NonnullUInt64 1114 } 1115 return nil 1116 } 1117 1118 func (m *MapProtoTypes) GetNullableInt32() map[int32]*types.Int32Value { 1119 if m != nil { 1120 return m.NullableInt32 1121 } 1122 return nil 1123 } 1124 1125 func (m *MapProtoTypes) GetNonnullInt32() map[int32]types.Int32Value { 1126 if m != nil { 1127 return m.NonnullInt32 1128 } 1129 return nil 1130 } 1131 1132 func (m *MapProtoTypes) GetNullableUInt32() map[int32]*types.UInt32Value { 1133 if m != nil { 1134 return m.NullableUInt32 1135 } 1136 return nil 1137 } 1138 1139 func (m *MapProtoTypes) GetNonnullUInt32() map[int32]types.UInt32Value { 1140 if m != nil { 1141 return m.NonnullUInt32 1142 } 1143 return nil 1144 } 1145 1146 func (m *MapProtoTypes) GetNullableBool() map[int32]*types.BoolValue { 1147 if m != nil { 1148 return m.NullableBool 1149 } 1150 return nil 1151 } 1152 1153 func (m *MapProtoTypes) GetNonnullBool() map[int32]types.BoolValue { 1154 if m != nil { 1155 return m.NonnullBool 1156 } 1157 return nil 1158 } 1159 1160 func (m *MapProtoTypes) GetNullableString() map[int32]*types.StringValue { 1161 if m != nil { 1162 return m.NullableString 1163 } 1164 return nil 1165 } 1166 1167 func (m *MapProtoTypes) GetNonnullString() map[int32]types.StringValue { 1168 if m != nil { 1169 return m.NonnullString 1170 } 1171 return nil 1172 } 1173 1174 func (m *MapProtoTypes) GetNullableBytes() map[int32]*types.BytesValue { 1175 if m != nil { 1176 return m.NullableBytes 1177 } 1178 return nil 1179 } 1180 1181 func (m *MapProtoTypes) GetNonnullBytes() map[int32]types.BytesValue { 1182 if m != nil { 1183 return m.NonnullBytes 1184 } 1185 return nil 1186 } 1187 1188 type MapStdTypes struct { 1189 NullableTimestamp map[int32]*time.Time `protobuf:"bytes,1,rep,name=nullableTimestamp,proto3,stdtime" json:"nullableTimestamp,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1190 Timestamp map[int32]time.Time `protobuf:"bytes,2,rep,name=timestamp,proto3,stdtime" json:"timestamp" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1191 NullableDuration map[int32]*time.Duration `protobuf:"bytes,3,rep,name=nullableDuration,proto3,stdduration" json:"nullableDuration,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1192 Duration map[int32]time.Duration `protobuf:"bytes,4,rep,name=duration,proto3,stdduration" json:"duration" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1193 NullableDouble map[int32]*float64 `protobuf:"bytes,5,rep,name=nullableDouble,proto3,wktptr" json:"nullableDouble,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1194 NonnullDouble map[int32]float64 `protobuf:"bytes,6,rep,name=nonnullDouble,proto3,wktptr" json:"nonnullDouble" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1195 NullableFloat map[int32]*float32 `protobuf:"bytes,7,rep,name=nullableFloat,proto3,wktptr" json:"nullableFloat,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1196 NonnullFloat map[int32]float32 `protobuf:"bytes,8,rep,name=nonnullFloat,proto3,wktptr" json:"nonnullFloat" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1197 NullableInt64 map[int32]*int64 `protobuf:"bytes,9,rep,name=nullableInt64,proto3,wktptr" json:"nullableInt64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1198 NonnullInt64 map[int32]int64 `protobuf:"bytes,10,rep,name=nonnullInt64,proto3,wktptr" json:"nonnullInt64" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1199 NullableUInt64 map[int32]*uint64 `protobuf:"bytes,11,rep,name=nullableUInt64,proto3,wktptr" json:"nullableUInt64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1200 NonnullUInt64 map[int32]uint64 `protobuf:"bytes,12,rep,name=nonnullUInt64,proto3,wktptr" json:"nonnullUInt64" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1201 NullableInt32 map[int32]*int32 `protobuf:"bytes,13,rep,name=nullableInt32,proto3,wktptr" json:"nullableInt32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1202 NonnullInt32 map[int32]int32 `protobuf:"bytes,14,rep,name=nonnullInt32,proto3,wktptr" json:"nonnullInt32" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1203 NullableUInt32 map[int32]*uint32 `protobuf:"bytes,15,rep,name=nullableUInt32,proto3,wktptr" json:"nullableUInt32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1204 NonnullUInt32 map[int32]uint32 `protobuf:"bytes,16,rep,name=nonnullUInt32,proto3,wktptr" json:"nonnullUInt32" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1205 NullableBool map[int32]*bool `protobuf:"bytes,17,rep,name=nullableBool,proto3,wktptr" json:"nullableBool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1206 NonnullBool map[int32]bool `protobuf:"bytes,18,rep,name=nonnullBool,proto3,wktptr" json:"nonnullBool" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1207 NullableString map[int32]*string `protobuf:"bytes,19,rep,name=nullableString,proto3,wktptr" json:"nullableString,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1208 NonnullString map[int32]string `protobuf:"bytes,20,rep,name=nonnullString,proto3,wktptr" json:"nonnullString" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1209 NullableBytes map[int32]*[]byte `protobuf:"bytes,21,rep,name=nullableBytes,proto3,wktptr" json:"nullableBytes,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1210 NonnullBytes map[int32][]byte `protobuf:"bytes,22,rep,name=nonnullBytes,proto3,wktptr" json:"nonnullBytes" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1211 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1212 XXX_unrecognized []byte `json:"-"` 1213 XXX_sizecache int32 `json:"-"` 1214 } 1215 1216 func (m *MapStdTypes) Reset() { *m = MapStdTypes{} } 1217 func (m *MapStdTypes) String() string { return proto.CompactTextString(m) } 1218 func (*MapStdTypes) ProtoMessage() {} 1219 func (*MapStdTypes) Descriptor() ([]byte, []int) { 1220 return fileDescriptor_b3cdd6d81a3ac3e5, []int{6} 1221 } 1222 func (m *MapStdTypes) XXX_Unmarshal(b []byte) error { 1223 return m.Unmarshal(b) 1224 } 1225 func (m *MapStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1226 return xxx_messageInfo_MapStdTypes.Marshal(b, m, deterministic) 1227 } 1228 func (m *MapStdTypes) XXX_Merge(src proto.Message) { 1229 xxx_messageInfo_MapStdTypes.Merge(m, src) 1230 } 1231 func (m *MapStdTypes) XXX_Size() int { 1232 return xxx_messageInfo_MapStdTypes.Size(m) 1233 } 1234 func (m *MapStdTypes) XXX_DiscardUnknown() { 1235 xxx_messageInfo_MapStdTypes.DiscardUnknown(m) 1236 } 1237 1238 var xxx_messageInfo_MapStdTypes proto.InternalMessageInfo 1239 1240 func (m *MapStdTypes) GetNullableTimestamp() map[int32]*time.Time { 1241 if m != nil { 1242 return m.NullableTimestamp 1243 } 1244 return nil 1245 } 1246 1247 func (m *MapStdTypes) GetTimestamp() map[int32]time.Time { 1248 if m != nil { 1249 return m.Timestamp 1250 } 1251 return nil 1252 } 1253 1254 func (m *MapStdTypes) GetNullableDuration() map[int32]*time.Duration { 1255 if m != nil { 1256 return m.NullableDuration 1257 } 1258 return nil 1259 } 1260 1261 func (m *MapStdTypes) GetDuration() map[int32]time.Duration { 1262 if m != nil { 1263 return m.Duration 1264 } 1265 return nil 1266 } 1267 1268 func (m *MapStdTypes) GetNullableDouble() map[int32]*float64 { 1269 if m != nil { 1270 return m.NullableDouble 1271 } 1272 return nil 1273 } 1274 1275 func (m *MapStdTypes) GetNonnullDouble() map[int32]float64 { 1276 if m != nil { 1277 return m.NonnullDouble 1278 } 1279 return nil 1280 } 1281 1282 func (m *MapStdTypes) GetNullableFloat() map[int32]*float32 { 1283 if m != nil { 1284 return m.NullableFloat 1285 } 1286 return nil 1287 } 1288 1289 func (m *MapStdTypes) GetNonnullFloat() map[int32]float32 { 1290 if m != nil { 1291 return m.NonnullFloat 1292 } 1293 return nil 1294 } 1295 1296 func (m *MapStdTypes) GetNullableInt64() map[int32]*int64 { 1297 if m != nil { 1298 return m.NullableInt64 1299 } 1300 return nil 1301 } 1302 1303 func (m *MapStdTypes) GetNonnullInt64() map[int32]int64 { 1304 if m != nil { 1305 return m.NonnullInt64 1306 } 1307 return nil 1308 } 1309 1310 func (m *MapStdTypes) GetNullableUInt64() map[int32]*uint64 { 1311 if m != nil { 1312 return m.NullableUInt64 1313 } 1314 return nil 1315 } 1316 1317 func (m *MapStdTypes) GetNonnullUInt64() map[int32]uint64 { 1318 if m != nil { 1319 return m.NonnullUInt64 1320 } 1321 return nil 1322 } 1323 1324 func (m *MapStdTypes) GetNullableInt32() map[int32]*int32 { 1325 if m != nil { 1326 return m.NullableInt32 1327 } 1328 return nil 1329 } 1330 1331 func (m *MapStdTypes) GetNonnullInt32() map[int32]int32 { 1332 if m != nil { 1333 return m.NonnullInt32 1334 } 1335 return nil 1336 } 1337 1338 func (m *MapStdTypes) GetNullableUInt32() map[int32]*uint32 { 1339 if m != nil { 1340 return m.NullableUInt32 1341 } 1342 return nil 1343 } 1344 1345 func (m *MapStdTypes) GetNonnullUInt32() map[int32]uint32 { 1346 if m != nil { 1347 return m.NonnullUInt32 1348 } 1349 return nil 1350 } 1351 1352 func (m *MapStdTypes) GetNullableBool() map[int32]*bool { 1353 if m != nil { 1354 return m.NullableBool 1355 } 1356 return nil 1357 } 1358 1359 func (m *MapStdTypes) GetNonnullBool() map[int32]bool { 1360 if m != nil { 1361 return m.NonnullBool 1362 } 1363 return nil 1364 } 1365 1366 func (m *MapStdTypes) GetNullableString() map[int32]*string { 1367 if m != nil { 1368 return m.NullableString 1369 } 1370 return nil 1371 } 1372 1373 func (m *MapStdTypes) GetNonnullString() map[int32]string { 1374 if m != nil { 1375 return m.NonnullString 1376 } 1377 return nil 1378 } 1379 1380 func (m *MapStdTypes) GetNullableBytes() map[int32]*[]byte { 1381 if m != nil { 1382 return m.NullableBytes 1383 } 1384 return nil 1385 } 1386 1387 func (m *MapStdTypes) GetNonnullBytes() map[int32][]byte { 1388 if m != nil { 1389 return m.NonnullBytes 1390 } 1391 return nil 1392 } 1393 1394 type OneofProtoTypes struct { 1395 // Types that are valid to be assigned to OneOfProtoTimes: 1396 // *OneofProtoTypes_Timestamp 1397 // *OneofProtoTypes_Duration 1398 // *OneofProtoTypes_RepDouble 1399 // *OneofProtoTypes_RepFloat 1400 // *OneofProtoTypes_RepInt64 1401 // *OneofProtoTypes_RepUInt64 1402 // *OneofProtoTypes_RepInt32 1403 // *OneofProtoTypes_RepUInt32 1404 // *OneofProtoTypes_RepBool 1405 // *OneofProtoTypes_RepString 1406 // *OneofProtoTypes_RepBytes 1407 OneOfProtoTimes isOneofProtoTypes_OneOfProtoTimes `protobuf_oneof:"OneOfProtoTimes"` 1408 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1409 XXX_unrecognized []byte `json:"-"` 1410 XXX_sizecache int32 `json:"-"` 1411 } 1412 1413 func (m *OneofProtoTypes) Reset() { *m = OneofProtoTypes{} } 1414 func (m *OneofProtoTypes) String() string { return proto.CompactTextString(m) } 1415 func (*OneofProtoTypes) ProtoMessage() {} 1416 func (*OneofProtoTypes) Descriptor() ([]byte, []int) { 1417 return fileDescriptor_b3cdd6d81a3ac3e5, []int{7} 1418 } 1419 func (m *OneofProtoTypes) XXX_Unmarshal(b []byte) error { 1420 return m.Unmarshal(b) 1421 } 1422 func (m *OneofProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1423 return xxx_messageInfo_OneofProtoTypes.Marshal(b, m, deterministic) 1424 } 1425 func (m *OneofProtoTypes) XXX_Merge(src proto.Message) { 1426 xxx_messageInfo_OneofProtoTypes.Merge(m, src) 1427 } 1428 func (m *OneofProtoTypes) XXX_Size() int { 1429 return xxx_messageInfo_OneofProtoTypes.Size(m) 1430 } 1431 func (m *OneofProtoTypes) XXX_DiscardUnknown() { 1432 xxx_messageInfo_OneofProtoTypes.DiscardUnknown(m) 1433 } 1434 1435 var xxx_messageInfo_OneofProtoTypes proto.InternalMessageInfo 1436 1437 type isOneofProtoTypes_OneOfProtoTimes interface { 1438 isOneofProtoTypes_OneOfProtoTimes() 1439 Equal(interface{}) bool 1440 VerboseEqual(interface{}) error 1441 Size() int 1442 } 1443 1444 type OneofProtoTypes_Timestamp struct { 1445 Timestamp *types.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3,oneof" json:"timestamp,omitempty"` 1446 } 1447 type OneofProtoTypes_Duration struct { 1448 Duration *types.Duration `protobuf:"bytes,2,opt,name=duration,proto3,oneof" json:"duration,omitempty"` 1449 } 1450 type OneofProtoTypes_RepDouble struct { 1451 RepDouble *types.DoubleValue `protobuf:"bytes,3,opt,name=repDouble,proto3,oneof" json:"repDouble,omitempty"` 1452 } 1453 type OneofProtoTypes_RepFloat struct { 1454 RepFloat *types.FloatValue `protobuf:"bytes,4,opt,name=repFloat,proto3,oneof" json:"repFloat,omitempty"` 1455 } 1456 type OneofProtoTypes_RepInt64 struct { 1457 RepInt64 *types.Int64Value `protobuf:"bytes,5,opt,name=repInt64,proto3,oneof" json:"repInt64,omitempty"` 1458 } 1459 type OneofProtoTypes_RepUInt64 struct { 1460 RepUInt64 *types.UInt64Value `protobuf:"bytes,6,opt,name=repUInt64,proto3,oneof" json:"repUInt64,omitempty"` 1461 } 1462 type OneofProtoTypes_RepInt32 struct { 1463 RepInt32 *types.Int32Value `protobuf:"bytes,7,opt,name=repInt32,proto3,oneof" json:"repInt32,omitempty"` 1464 } 1465 type OneofProtoTypes_RepUInt32 struct { 1466 RepUInt32 *types.UInt32Value `protobuf:"bytes,8,opt,name=repUInt32,proto3,oneof" json:"repUInt32,omitempty"` 1467 } 1468 type OneofProtoTypes_RepBool struct { 1469 RepBool *types.BoolValue `protobuf:"bytes,9,opt,name=repBool,proto3,oneof" json:"repBool,omitempty"` 1470 } 1471 type OneofProtoTypes_RepString struct { 1472 RepString *types.StringValue `protobuf:"bytes,10,opt,name=repString,proto3,oneof" json:"repString,omitempty"` 1473 } 1474 type OneofProtoTypes_RepBytes struct { 1475 RepBytes *types.BytesValue `protobuf:"bytes,11,opt,name=repBytes,proto3,oneof" json:"repBytes,omitempty"` 1476 } 1477 1478 func (*OneofProtoTypes_Timestamp) isOneofProtoTypes_OneOfProtoTimes() {} 1479 func (*OneofProtoTypes_Duration) isOneofProtoTypes_OneOfProtoTimes() {} 1480 func (*OneofProtoTypes_RepDouble) isOneofProtoTypes_OneOfProtoTimes() {} 1481 func (*OneofProtoTypes_RepFloat) isOneofProtoTypes_OneOfProtoTimes() {} 1482 func (*OneofProtoTypes_RepInt64) isOneofProtoTypes_OneOfProtoTimes() {} 1483 func (*OneofProtoTypes_RepUInt64) isOneofProtoTypes_OneOfProtoTimes() {} 1484 func (*OneofProtoTypes_RepInt32) isOneofProtoTypes_OneOfProtoTimes() {} 1485 func (*OneofProtoTypes_RepUInt32) isOneofProtoTypes_OneOfProtoTimes() {} 1486 func (*OneofProtoTypes_RepBool) isOneofProtoTypes_OneOfProtoTimes() {} 1487 func (*OneofProtoTypes_RepString) isOneofProtoTypes_OneOfProtoTimes() {} 1488 func (*OneofProtoTypes_RepBytes) isOneofProtoTypes_OneOfProtoTimes() {} 1489 1490 func (m *OneofProtoTypes) GetOneOfProtoTimes() isOneofProtoTypes_OneOfProtoTimes { 1491 if m != nil { 1492 return m.OneOfProtoTimes 1493 } 1494 return nil 1495 } 1496 1497 func (m *OneofProtoTypes) GetTimestamp() *types.Timestamp { 1498 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_Timestamp); ok { 1499 return x.Timestamp 1500 } 1501 return nil 1502 } 1503 1504 func (m *OneofProtoTypes) GetDuration() *types.Duration { 1505 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_Duration); ok { 1506 return x.Duration 1507 } 1508 return nil 1509 } 1510 1511 func (m *OneofProtoTypes) GetRepDouble() *types.DoubleValue { 1512 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepDouble); ok { 1513 return x.RepDouble 1514 } 1515 return nil 1516 } 1517 1518 func (m *OneofProtoTypes) GetRepFloat() *types.FloatValue { 1519 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepFloat); ok { 1520 return x.RepFloat 1521 } 1522 return nil 1523 } 1524 1525 func (m *OneofProtoTypes) GetRepInt64() *types.Int64Value { 1526 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepInt64); ok { 1527 return x.RepInt64 1528 } 1529 return nil 1530 } 1531 1532 func (m *OneofProtoTypes) GetRepUInt64() *types.UInt64Value { 1533 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepUInt64); ok { 1534 return x.RepUInt64 1535 } 1536 return nil 1537 } 1538 1539 func (m *OneofProtoTypes) GetRepInt32() *types.Int32Value { 1540 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepInt32); ok { 1541 return x.RepInt32 1542 } 1543 return nil 1544 } 1545 1546 func (m *OneofProtoTypes) GetRepUInt32() *types.UInt32Value { 1547 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepUInt32); ok { 1548 return x.RepUInt32 1549 } 1550 return nil 1551 } 1552 1553 func (m *OneofProtoTypes) GetRepBool() *types.BoolValue { 1554 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepBool); ok { 1555 return x.RepBool 1556 } 1557 return nil 1558 } 1559 1560 func (m *OneofProtoTypes) GetRepString() *types.StringValue { 1561 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepString); ok { 1562 return x.RepString 1563 } 1564 return nil 1565 } 1566 1567 func (m *OneofProtoTypes) GetRepBytes() *types.BytesValue { 1568 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepBytes); ok { 1569 return x.RepBytes 1570 } 1571 return nil 1572 } 1573 1574 // XXX_OneofWrappers is for the internal use of the proto package. 1575 func (*OneofProtoTypes) XXX_OneofWrappers() []interface{} { 1576 return []interface{}{ 1577 (*OneofProtoTypes_Timestamp)(nil), 1578 (*OneofProtoTypes_Duration)(nil), 1579 (*OneofProtoTypes_RepDouble)(nil), 1580 (*OneofProtoTypes_RepFloat)(nil), 1581 (*OneofProtoTypes_RepInt64)(nil), 1582 (*OneofProtoTypes_RepUInt64)(nil), 1583 (*OneofProtoTypes_RepInt32)(nil), 1584 (*OneofProtoTypes_RepUInt32)(nil), 1585 (*OneofProtoTypes_RepBool)(nil), 1586 (*OneofProtoTypes_RepString)(nil), 1587 (*OneofProtoTypes_RepBytes)(nil), 1588 } 1589 } 1590 1591 type OneofStdTypes struct { 1592 // Types that are valid to be assigned to OneOfStdTimes: 1593 // *OneofStdTypes_Timestamp 1594 // *OneofStdTypes_Duration 1595 // *OneofStdTypes_RepDouble 1596 // *OneofStdTypes_RepFloat 1597 // *OneofStdTypes_RepInt64 1598 // *OneofStdTypes_RepUInt64 1599 // *OneofStdTypes_RepInt32 1600 // *OneofStdTypes_RepUInt32 1601 // *OneofStdTypes_RepBool 1602 // *OneofStdTypes_RepString 1603 // *OneofStdTypes_RepBytes 1604 OneOfStdTimes isOneofStdTypes_OneOfStdTimes `protobuf_oneof:"OneOfStdTimes"` 1605 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1606 XXX_unrecognized []byte `json:"-"` 1607 XXX_sizecache int32 `json:"-"` 1608 } 1609 1610 func (m *OneofStdTypes) Reset() { *m = OneofStdTypes{} } 1611 func (m *OneofStdTypes) String() string { return proto.CompactTextString(m) } 1612 func (*OneofStdTypes) ProtoMessage() {} 1613 func (*OneofStdTypes) Descriptor() ([]byte, []int) { 1614 return fileDescriptor_b3cdd6d81a3ac3e5, []int{8} 1615 } 1616 func (m *OneofStdTypes) XXX_Unmarshal(b []byte) error { 1617 return m.Unmarshal(b) 1618 } 1619 func (m *OneofStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1620 return xxx_messageInfo_OneofStdTypes.Marshal(b, m, deterministic) 1621 } 1622 func (m *OneofStdTypes) XXX_Merge(src proto.Message) { 1623 xxx_messageInfo_OneofStdTypes.Merge(m, src) 1624 } 1625 func (m *OneofStdTypes) XXX_Size() int { 1626 return xxx_messageInfo_OneofStdTypes.Size(m) 1627 } 1628 func (m *OneofStdTypes) XXX_DiscardUnknown() { 1629 xxx_messageInfo_OneofStdTypes.DiscardUnknown(m) 1630 } 1631 1632 var xxx_messageInfo_OneofStdTypes proto.InternalMessageInfo 1633 1634 type isOneofStdTypes_OneOfStdTimes interface { 1635 isOneofStdTypes_OneOfStdTimes() 1636 Equal(interface{}) bool 1637 VerboseEqual(interface{}) error 1638 Size() int 1639 } 1640 1641 type OneofStdTypes_Timestamp struct { 1642 Timestamp *time.Time `protobuf:"bytes,1,opt,name=timestamp,proto3,oneof,stdtime" json:"timestamp,omitempty"` 1643 } 1644 type OneofStdTypes_Duration struct { 1645 Duration *time.Duration `protobuf:"bytes,2,opt,name=duration,proto3,oneof,stdduration" json:"duration,omitempty"` 1646 } 1647 type OneofStdTypes_RepDouble struct { 1648 RepDouble *float64 `protobuf:"bytes,3,opt,name=repDouble,proto3,oneof,wktptr" json:"repDouble,omitempty"` 1649 } 1650 type OneofStdTypes_RepFloat struct { 1651 RepFloat *float32 `protobuf:"bytes,4,opt,name=repFloat,proto3,oneof,wktptr" json:"repFloat,omitempty"` 1652 } 1653 type OneofStdTypes_RepInt64 struct { 1654 RepInt64 *int64 `protobuf:"bytes,5,opt,name=repInt64,proto3,oneof,wktptr" json:"repInt64,omitempty"` 1655 } 1656 type OneofStdTypes_RepUInt64 struct { 1657 RepUInt64 *uint64 `protobuf:"bytes,6,opt,name=repUInt64,proto3,oneof,wktptr" json:"repUInt64,omitempty"` 1658 } 1659 type OneofStdTypes_RepInt32 struct { 1660 RepInt32 *int32 `protobuf:"bytes,7,opt,name=repInt32,proto3,oneof,wktptr" json:"repInt32,omitempty"` 1661 } 1662 type OneofStdTypes_RepUInt32 struct { 1663 RepUInt32 *uint32 `protobuf:"bytes,8,opt,name=repUInt32,proto3,oneof,wktptr" json:"repUInt32,omitempty"` 1664 } 1665 type OneofStdTypes_RepBool struct { 1666 RepBool *bool `protobuf:"bytes,9,opt,name=repBool,proto3,oneof,wktptr" json:"repBool,omitempty"` 1667 } 1668 type OneofStdTypes_RepString struct { 1669 RepString *string `protobuf:"bytes,10,opt,name=repString,proto3,oneof,wktptr" json:"repString,omitempty"` 1670 } 1671 type OneofStdTypes_RepBytes struct { 1672 RepBytes *[]byte `protobuf:"bytes,11,opt,name=repBytes,proto3,oneof,wktptr" json:"repBytes,omitempty"` 1673 } 1674 1675 func (*OneofStdTypes_Timestamp) isOneofStdTypes_OneOfStdTimes() {} 1676 func (*OneofStdTypes_Duration) isOneofStdTypes_OneOfStdTimes() {} 1677 func (*OneofStdTypes_RepDouble) isOneofStdTypes_OneOfStdTimes() {} 1678 func (*OneofStdTypes_RepFloat) isOneofStdTypes_OneOfStdTimes() {} 1679 func (*OneofStdTypes_RepInt64) isOneofStdTypes_OneOfStdTimes() {} 1680 func (*OneofStdTypes_RepUInt64) isOneofStdTypes_OneOfStdTimes() {} 1681 func (*OneofStdTypes_RepInt32) isOneofStdTypes_OneOfStdTimes() {} 1682 func (*OneofStdTypes_RepUInt32) isOneofStdTypes_OneOfStdTimes() {} 1683 func (*OneofStdTypes_RepBool) isOneofStdTypes_OneOfStdTimes() {} 1684 func (*OneofStdTypes_RepString) isOneofStdTypes_OneOfStdTimes() {} 1685 func (*OneofStdTypes_RepBytes) isOneofStdTypes_OneOfStdTimes() {} 1686 1687 func (m *OneofStdTypes) GetOneOfStdTimes() isOneofStdTypes_OneOfStdTimes { 1688 if m != nil { 1689 return m.OneOfStdTimes 1690 } 1691 return nil 1692 } 1693 1694 func (m *OneofStdTypes) GetTimestamp() *time.Time { 1695 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_Timestamp); ok { 1696 return x.Timestamp 1697 } 1698 return nil 1699 } 1700 1701 func (m *OneofStdTypes) GetDuration() *time.Duration { 1702 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_Duration); ok { 1703 return x.Duration 1704 } 1705 return nil 1706 } 1707 1708 func (m *OneofStdTypes) GetRepDouble() *float64 { 1709 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepDouble); ok { 1710 return x.RepDouble 1711 } 1712 return nil 1713 } 1714 1715 func (m *OneofStdTypes) GetRepFloat() *float32 { 1716 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepFloat); ok { 1717 return x.RepFloat 1718 } 1719 return nil 1720 } 1721 1722 func (m *OneofStdTypes) GetRepInt64() *int64 { 1723 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepInt64); ok { 1724 return x.RepInt64 1725 } 1726 return nil 1727 } 1728 1729 func (m *OneofStdTypes) GetRepUInt64() *uint64 { 1730 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepUInt64); ok { 1731 return x.RepUInt64 1732 } 1733 return nil 1734 } 1735 1736 func (m *OneofStdTypes) GetRepInt32() *int32 { 1737 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepInt32); ok { 1738 return x.RepInt32 1739 } 1740 return nil 1741 } 1742 1743 func (m *OneofStdTypes) GetRepUInt32() *uint32 { 1744 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepUInt32); ok { 1745 return x.RepUInt32 1746 } 1747 return nil 1748 } 1749 1750 func (m *OneofStdTypes) GetRepBool() *bool { 1751 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepBool); ok { 1752 return x.RepBool 1753 } 1754 return nil 1755 } 1756 1757 func (m *OneofStdTypes) GetRepString() *string { 1758 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepString); ok { 1759 return x.RepString 1760 } 1761 return nil 1762 } 1763 1764 func (m *OneofStdTypes) GetRepBytes() *[]byte { 1765 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepBytes); ok { 1766 return x.RepBytes 1767 } 1768 return nil 1769 } 1770 1771 // XXX_OneofWrappers is for the internal use of the proto package. 1772 func (*OneofStdTypes) XXX_OneofWrappers() []interface{} { 1773 return []interface{}{ 1774 (*OneofStdTypes_Timestamp)(nil), 1775 (*OneofStdTypes_Duration)(nil), 1776 (*OneofStdTypes_RepDouble)(nil), 1777 (*OneofStdTypes_RepFloat)(nil), 1778 (*OneofStdTypes_RepInt64)(nil), 1779 (*OneofStdTypes_RepUInt64)(nil), 1780 (*OneofStdTypes_RepInt32)(nil), 1781 (*OneofStdTypes_RepUInt32)(nil), 1782 (*OneofStdTypes_RepBool)(nil), 1783 (*OneofStdTypes_RepString)(nil), 1784 (*OneofStdTypes_RepBytes)(nil), 1785 } 1786 } 1787 1788 func init() { 1789 proto.RegisterType((*KnownTypes)(nil), "types.KnownTypes") 1790 proto.RegisterType((*ProtoTypes)(nil), "types.ProtoTypes") 1791 proto.RegisterType((*StdTypes)(nil), "types.StdTypes") 1792 proto.RegisterType((*RepProtoTypes)(nil), "types.RepProtoTypes") 1793 proto.RegisterType((*RepStdTypes)(nil), "types.RepStdTypes") 1794 proto.RegisterType((*MapProtoTypes)(nil), "types.MapProtoTypes") 1795 proto.RegisterMapType((map[int32]types.Duration)(nil), "types.MapProtoTypes.DurationEntry") 1796 proto.RegisterMapType((map[int32]types.BoolValue)(nil), "types.MapProtoTypes.NonnullBoolEntry") 1797 proto.RegisterMapType((map[int32]types.BytesValue)(nil), "types.MapProtoTypes.NonnullBytesEntry") 1798 proto.RegisterMapType((map[int32]types.DoubleValue)(nil), "types.MapProtoTypes.NonnullDoubleEntry") 1799 proto.RegisterMapType((map[int32]types.FloatValue)(nil), "types.MapProtoTypes.NonnullFloatEntry") 1800 proto.RegisterMapType((map[int32]types.Int32Value)(nil), "types.MapProtoTypes.NonnullInt32Entry") 1801 proto.RegisterMapType((map[int32]types.Int64Value)(nil), "types.MapProtoTypes.NonnullInt64Entry") 1802 proto.RegisterMapType((map[int32]types.StringValue)(nil), "types.MapProtoTypes.NonnullStringEntry") 1803 proto.RegisterMapType((map[int32]types.UInt32Value)(nil), "types.MapProtoTypes.NonnullUInt32Entry") 1804 proto.RegisterMapType((map[int32]types.UInt64Value)(nil), "types.MapProtoTypes.NonnullUInt64Entry") 1805 proto.RegisterMapType((map[int32]*types.BoolValue)(nil), "types.MapProtoTypes.NullableBoolEntry") 1806 proto.RegisterMapType((map[int32]*types.BytesValue)(nil), "types.MapProtoTypes.NullableBytesEntry") 1807 proto.RegisterMapType((map[int32]*types.DoubleValue)(nil), "types.MapProtoTypes.NullableDoubleEntry") 1808 proto.RegisterMapType((map[int32]*types.Duration)(nil), "types.MapProtoTypes.NullableDurationEntry") 1809 proto.RegisterMapType((map[int32]*types.FloatValue)(nil), "types.MapProtoTypes.NullableFloatEntry") 1810 proto.RegisterMapType((map[int32]*types.Int32Value)(nil), "types.MapProtoTypes.NullableInt32Entry") 1811 proto.RegisterMapType((map[int32]*types.Int64Value)(nil), "types.MapProtoTypes.NullableInt64Entry") 1812 proto.RegisterMapType((map[int32]*types.StringValue)(nil), "types.MapProtoTypes.NullableStringEntry") 1813 proto.RegisterMapType((map[int32]*types.Timestamp)(nil), "types.MapProtoTypes.NullableTimestampEntry") 1814 proto.RegisterMapType((map[int32]*types.UInt32Value)(nil), "types.MapProtoTypes.NullableUInt32Entry") 1815 proto.RegisterMapType((map[int32]*types.UInt64Value)(nil), "types.MapProtoTypes.NullableUInt64Entry") 1816 proto.RegisterMapType((map[int32]types.Timestamp)(nil), "types.MapProtoTypes.TimestampEntry") 1817 proto.RegisterType((*MapStdTypes)(nil), "types.MapStdTypes") 1818 proto.RegisterMapType((map[int32]time.Duration)(nil), "types.MapStdTypes.DurationEntry") 1819 proto.RegisterMapType((map[int32]bool)(nil), "types.MapStdTypes.NonnullBoolEntry") 1820 proto.RegisterMapType((map[int32][]byte)(nil), "types.MapStdTypes.NonnullBytesEntry") 1821 proto.RegisterMapType((map[int32]float64)(nil), "types.MapStdTypes.NonnullDoubleEntry") 1822 proto.RegisterMapType((map[int32]float32)(nil), "types.MapStdTypes.NonnullFloatEntry") 1823 proto.RegisterMapType((map[int32]int32)(nil), "types.MapStdTypes.NonnullInt32Entry") 1824 proto.RegisterMapType((map[int32]int64)(nil), "types.MapStdTypes.NonnullInt64Entry") 1825 proto.RegisterMapType((map[int32]string)(nil), "types.MapStdTypes.NonnullStringEntry") 1826 proto.RegisterMapType((map[int32]uint32)(nil), "types.MapStdTypes.NonnullUInt32Entry") 1827 proto.RegisterMapType((map[int32]uint64)(nil), "types.MapStdTypes.NonnullUInt64Entry") 1828 proto.RegisterMapType((map[int32]*bool)(nil), "types.MapStdTypes.NullableBoolEntry") 1829 proto.RegisterMapType((map[int32]*[]byte)(nil), "types.MapStdTypes.NullableBytesEntry") 1830 proto.RegisterMapType((map[int32]*float64)(nil), "types.MapStdTypes.NullableDoubleEntry") 1831 proto.RegisterMapType((map[int32]*time.Duration)(nil), "types.MapStdTypes.NullableDurationEntry") 1832 proto.RegisterMapType((map[int32]*float32)(nil), "types.MapStdTypes.NullableFloatEntry") 1833 proto.RegisterMapType((map[int32]*int32)(nil), "types.MapStdTypes.NullableInt32Entry") 1834 proto.RegisterMapType((map[int32]*int64)(nil), "types.MapStdTypes.NullableInt64Entry") 1835 proto.RegisterMapType((map[int32]*string)(nil), "types.MapStdTypes.NullableStringEntry") 1836 proto.RegisterMapType((map[int32]*time.Time)(nil), "types.MapStdTypes.NullableTimestampEntry") 1837 proto.RegisterMapType((map[int32]*uint32)(nil), "types.MapStdTypes.NullableUInt32Entry") 1838 proto.RegisterMapType((map[int32]*uint64)(nil), "types.MapStdTypes.NullableUInt64Entry") 1839 proto.RegisterMapType((map[int32]time.Time)(nil), "types.MapStdTypes.TimestampEntry") 1840 proto.RegisterType((*OneofProtoTypes)(nil), "types.OneofProtoTypes") 1841 proto.RegisterType((*OneofStdTypes)(nil), "types.OneofStdTypes") 1842 } 1843 1844 func init() { proto.RegisterFile("combos/unmarshaler/types.proto", fileDescriptor_b3cdd6d81a3ac3e5) } 1845 1846 var fileDescriptor_b3cdd6d81a3ac3e5 = []byte{ 1847 // 2330 bytes of a gzipped FileDescriptorProto 1848 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0xcf, 0x73, 0x23, 0x47, 1849 0x19, 0xb5, 0x2c, 0x79, 0xd7, 0x6e, 0x4b, 0xbb, 0xf6, 0x6c, 0x36, 0x0c, 0x26, 0xa5, 0x5d, 0x9c, 1850 0xec, 0x0f, 0x92, 0x8a, 0x4c, 0x66, 0x5c, 0x06, 0x16, 0x12, 0x27, 0xaa, 0xdd, 0x95, 0xa5, 0x58, 1851 0xbb, 0x5a, 0xd9, 0xda, 0x82, 0x40, 0x00, 0x69, 0x3d, 0xeb, 0xb8, 0x90, 0x35, 0x2a, 0x69, 0x44, 1852 0xca, 0x37, 0xfe, 0x00, 0x0e, 0xdc, 0xe0, 0x08, 0x37, 0xae, 0x1c, 0xa8, 0xe2, 0xc8, 0x81, 0x43, 1853 0x8e, 0xfc, 0x05, 0x90, 0x98, 0x0b, 0x57, 0xe0, 0x92, 0x0b, 0x55, 0xa9, 0xe9, 0xee, 0x99, 0xe9, 1854 0x1f, 0x5f, 0xf7, 0x4c, 0x4f, 0xd9, 0x37, 0xdd, 0x6c, 0xcd, 0xd7, 0x6f, 0xde, 0x7c, 0x7a, 0xe3, 1855 0xd7, 0xef, 0x1b, 0x0f, 0xaa, 0xbe, 0xf0, 0x4f, 0x07, 0xfe, 0x74, 0x6b, 0x36, 0x3a, 0xed, 0x4f, 1856 0xa6, 0x9f, 0xf4, 0x87, 0xde, 0x64, 0x2b, 0x38, 0x1b, 0x7b, 0xd3, 0xda, 0x78, 0xe2, 0x07, 0xbe, 1857 0xb5, 0x84, 0x7f, 0xd9, 0x78, 0xfb, 0xf8, 0x24, 0xf8, 0x64, 0x36, 0xa8, 0xbd, 0xf0, 0x4f, 0xb7, 1858 0x8e, 0xfd, 0x63, 0x7f, 0x0b, 0x1f, 0x1d, 0xcc, 0x5e, 0xe2, 0xdf, 0xf0, 0x2f, 0xf8, 0x27, 0xb2, 1859 0x6a, 0xa3, 0x7a, 0xec, 0xfb, 0xc7, 0x43, 0x2f, 0xa9, 0x3a, 0x9a, 0x4d, 0xfa, 0xc1, 0x89, 0x3f, 1860 0xa2, 0xc7, 0x5f, 0x13, 0x8f, 0x4f, 0x83, 0xc9, 0xec, 0x45, 0x40, 0x8f, 0xde, 0x12, 0x8f, 0x06, 1861 0x27, 0xa7, 0xde, 0x34, 0xe8, 0x9f, 0x8e, 0x55, 0xf0, 0x9f, 0x4e, 0xfa, 0xe3, 0xb1, 0x37, 0xa1, 1862 0xa4, 0x37, 0xff, 0x56, 0x42, 0xe8, 0xc3, 0x91, 0xff, 0xe9, 0xe8, 0x30, 0x24, 0x6f, 0xbd, 0x85, 1863 0x8a, 0x47, 0xb3, 0x89, 0x5d, 0xb8, 0x5d, 0xb8, 0xbf, 0xea, 0x7c, 0xbd, 0x46, 0x16, 0xd7, 0xa2, 1864 0xc5, 0xb5, 0x87, 0x94, 0x5b, 0x37, 0xac, 0xb2, 0xde, 0x44, 0x8b, 0xc1, 0xd4, 0x5e, 0xc4, 0xb5, 1865 0x1b, 0x52, 0xed, 0x61, 0xc4, 0xa4, 0xbb, 0x18, 0x4c, 0xad, 0x1a, 0x2a, 0x1e, 0x0d, 0x86, 0x76, 1866 0x11, 0x17, 0xbf, 0x26, 0x03, 0xfb, 0xb3, 0xc1, 0xd0, 0x7b, 0xde, 0x1f, 0xce, 0xbc, 0x6e, 0x58, 1867 0x68, 0xbd, 0x8d, 0x8a, 0x2f, 0x87, 0x81, 0x5d, 0xc2, 0xf5, 0xdf, 0x90, 0xea, 0x1f, 0x0f, 0xfd, 1868 0x7e, 0x40, 0xcb, 0x5f, 0x0e, 0x83, 0xb0, 0xfc, 0x64, 0x67, 0xdb, 0x5e, 0x52, 0x94, 0x37, 0x47, 1869 0xc1, 0xce, 0x36, 0x2d, 0x3f, 0xd9, 0xd9, 0x0e, 0xd9, 0xcc, 0x76, 0xb6, 0xed, 0x2b, 0x0a, 0x36, 1870 0x3d, 0xb6, 0x7e, 0xb6, 0xb3, 0x8d, 0xe1, 0x5d, 0xc7, 0xbe, 0xaa, 0x86, 0x77, 0x9d, 0x08, 0xde, 1871 0x75, 0x30, 0xbc, 0xeb, 0xd8, 0xcb, 0x1a, 0xf8, 0xb8, 0x7e, 0x86, 0xeb, 0x4b, 0x03, 0xdf, 0x1f, 1872 0xda, 0x2b, 0x8a, 0x56, 0xd6, 0x7d, 0x7f, 0x48, 0xca, 0x71, 0x5d, 0x88, 0x3f, 0x0d, 0x26, 0x36, 1873 0x52, 0xe0, 0x1f, 0x04, 0x93, 0x93, 0xd1, 0x31, 0xc5, 0x9f, 0x06, 0x13, 0xeb, 0x1d, 0xb4, 0x34, 1874 0x38, 0x0b, 0xbc, 0xa9, 0xbd, 0xaa, 0xb8, 0x80, 0x7a, 0x78, 0x94, 0x2c, 0x20, 0x95, 0xd6, 0x3d, 1875 0xb4, 0x38, 0x0d, 0xec, 0x32, 0xae, 0xff, 0x1a, 0x74, 0x86, 0xd9, 0x8b, 0xa0, 0xbb, 0x38, 0x0d, 1876 0x1e, 0x94, 0xfe, 0xfd, 0x87, 0x5b, 0x85, 0xcd, 0x5f, 0x97, 0x11, 0xea, 0x84, 0x47, 0x89, 0x8c, 1877 0xf6, 0xd0, 0xfa, 0x68, 0x36, 0x1c, 0xf6, 0x07, 0x43, 0x2f, 0x96, 0x01, 0x15, 0x95, 0x4e, 0x28, 1878 0xf2, 0x22, 0xeb, 0x11, 0x5a, 0x8b, 0x3e, 0x8c, 0xc4, 0x47, 0x15, 0xa7, 0x51, 0xa7, 0xb4, 0xc4, 1879 0x7a, 0x88, 0xae, 0xc5, 0x9f, 0x61, 0xa9, 0x65, 0x52, 0xa2, 0xb0, 0xc6, 0xfa, 0x00, 0x55, 0xa2, 1880 0x4f, 0xb0, 0x00, 0xb3, 0xc8, 0x93, 0x5f, 0xc1, 0x42, 0x60, 0x91, 0x65, 0x91, 0x2c, 0xbf, 0x82, 1881 0xbd, 0x16, 0x22, 0xd4, 0x4c, 0x3a, 0x16, 0xd6, 0x08, 0x44, 0xb2, 0x89, 0x9b, 0x5f, 0x21, 0x12, 1882 0xc9, 0xa8, 0x78, 0x61, 0x8d, 0xf5, 0x1e, 0x2a, 0x47, 0x9f, 0xd4, 0xb3, 0xdd, 0x04, 0x5c, 0x3d, 1883 0xcb, 0x82, 0x08, 0x3f, 0xd3, 0x7d, 0x21, 0xac, 0x61, 0xdb, 0x51, 0xcf, 0x7a, 0xab, 0xf0, 0x2b, 1884 0xac, 0xf7, 0xd0, 0x4a, 0xfc, 0xd7, 0x97, 0xde, 0x39, 0x1a, 0xb1, 0xd7, 0x4b, 0x9f, 0xfd, 0xe3, 1885 0xd6, 0x42, 0x37, 0x59, 0x62, 0x7d, 0x1f, 0x2d, 0x47, 0x7f, 0xfb, 0xed, 0x4a, 0x8a, 0xc4, 0xe9, 1886 0xea, 0x78, 0x81, 0xb5, 0x87, 0x2a, 0x23, 0x7f, 0x14, 0x12, 0xa2, 0xfa, 0xbe, 0x96, 0xae, 0x6f, 1887 0x0a, 0xc2, 0x2f, 0xb4, 0x1e, 0xa1, 0x32, 0xfd, 0x80, 0x68, 0xfc, 0x7a, 0xaa, 0xc6, 0x29, 0x0e, 1888 0xb7, 0x8c, 0x81, 0x21, 0x1a, 0x5d, 0x4b, 0xd5, 0xb9, 0x00, 0x43, 0x64, 0x9a, 0x5c, 0x17, 0xd5, 1889 0xfa, 0x7a, 0xba, 0xd6, 0x85, 0xeb, 0xa2, 0x82, 0xe7, 0x08, 0xb9, 0x8e, 0x6d, 0xa5, 0xea, 0x5d, 1890 0x26, 0xe4, 0x3a, 0x02, 0x21, 0xd7, 0xb1, 0x6f, 0xa4, 0x6b, 0x1e, 0x20, 0xe4, 0x3a, 0x56, 0x1d, 1891 0xad, 0xd2, 0x0f, 0xb0, 0xee, 0x5f, 0x49, 0xd3, 0x3d, 0x45, 0x61, 0x17, 0x31, 0x6c, 0xa8, 0xf6, 1892 0x6f, 0xa6, 0x6b, 0x5f, 0x60, 0x43, 0x6f, 0x80, 0xa4, 0x3d, 0x44, 0xff, 0xaf, 0xa6, 0xea, 0x5f, 1893 0x68, 0x0f, 0x3e, 0x40, 0xed, 0xe0, 0xbf, 0x65, 0xb4, 0x7c, 0x10, 0x1c, 0x11, 0x33, 0x78, 0x92, 1894 0xcb, 0x0c, 0xea, 0xa5, 0xdf, 0xfc, 0xf3, 0x56, 0x01, 0xb2, 0x84, 0x0f, 0x73, 0x58, 0x42, 0xbd, 1895 0xf4, 0xbb, 0x10, 0x4d, 0x36, 0x86, 0x56, 0x1e, 0x63, 0xa8, 0x97, 0x7e, 0x1f, 0xa2, 0x89, 0xf6, 1896 0xd0, 0x30, 0xb7, 0x07, 0x8a, 0x24, 0x98, 0x44, 0xc3, 0xdc, 0x24, 0x44, 0x20, 0xa2, 0xf9, 0x56, 1897 0x1e, 0xab, 0x10, 0xaf, 0x8e, 0xde, 0x3f, 0x0d, 0x73, 0xc3, 0x00, 0x48, 0xb9, 0x8e, 0x48, 0x2a, 1898 0x9b, 0x6d, 0x40, 0xa4, 0xb0, 0x05, 0x19, 0x9a, 0x07, 0xc5, 0xe1, 0x2d, 0xa4, 0x95, 0xc7, 0x42, 1899 0x44, 0x46, 0xf4, 0x3e, 0x6a, 0x98, 0x1b, 0x89, 0xd8, 0x26, 0x62, 0x27, 0x75, 0x33, 0x3b, 0x59, 1900 0x0e, 0x6f, 0x46, 0x7c, 0xcb, 0x30, 0x96, 0xb2, 0x6b, 0x62, 0x29, 0x18, 0x01, 0xdf, 0x26, 0x89, 1901 0xad, 0xec, 0xe7, 0xb1, 0x15, 0x0c, 0x44, 0x2f, 0x89, 0xb3, 0x96, 0xa6, 0xb9, 0xb5, 0x24, 0x58, 1902 0xbc, 0xbd, 0x34, 0xcd, 0xed, 0x45, 0x86, 0x22, 0xc2, 0xde, 0xcf, 0x63, 0x31, 0xf2, 0x35, 0xd2, 1903 0xdb, 0xa4, 0x69, 0x6e, 0x33, 0x20, 0x31, 0xd7, 0x11, 0x88, 0x65, 0xb4, 0x1a, 0x98, 0x98, 0xeb, 1904 0x58, 0x8f, 0x4d, 0xed, 0x26, 0x41, 0xe2, 0x2c, 0x67, 0x3f, 0x8f, 0xe5, 0xc8, 0xac, 0xe8, 0xed, 1905 0xd2, 0x34, 0xb7, 0x1d, 0xb9, 0x5d, 0xf8, 0xe0, 0xe6, 0x6f, 0xcb, 0xa8, 0xd2, 0xf5, 0xc6, 0x4c, 1906 0x0c, 0x69, 0x21, 0x4b, 0xb2, 0x8f, 0xa9, 0x5d, 0xb8, 0x5d, 0x4c, 0xc9, 0x21, 0xc0, 0x2a, 0xab, 1907 0x91, 0xb8, 0x58, 0x74, 0xc7, 0x84, 0xd9, 0xb7, 0xa8, 0x4f, 0x22, 0xf2, 0x1a, 0xeb, 0x7d, 0x84, 1908 0x82, 0x84, 0x4c, 0x31, 0x8d, 0x0c, 0x75, 0x59, 0x66, 0x8d, 0xf5, 0x2e, 0x5a, 0x39, 0x8a, 0x29, 1909 0x94, 0x52, 0x28, 0x44, 0xfb, 0xcc, 0x78, 0x05, 0x90, 0x85, 0x96, 0x30, 0x86, 0x59, 0x16, 0x92, 1910 0x36, 0x9c, 0x57, 0xd2, 0x41, 0xe0, 0x0d, 0xa7, 0x94, 0xaa, 0xae, 0x62, 0x24, 0x93, 0x54, 0x25, 1911 0xee, 0x59, 0x97, 0x53, 0x11, 0xc0, 0x3d, 0xab, 0x14, 0xce, 0x56, 0x14, 0x38, 0xea, 0x70, 0x26, 1912 0x6e, 0x7b, 0x51, 0x2a, 0x02, 0xb8, 0xed, 0x95, 0x33, 0xde, 0xaa, 0xa2, 0xbd, 0xba, 0x8c, 0x27, 1913 0x6d, 0x9e, 0xcb, 0xe9, 0x20, 0xf0, 0xe6, 0x59, 0x4a, 0x8b, 0x15, 0xf5, 0x75, 0x29, 0xd2, 0xa2, 1914 0xb8, 0xff, 0xbe, 0x96, 0x8a, 0x00, 0xee, 0xbf, 0xe5, 0xd0, 0x79, 0x5d, 0x73, 0x51, 0xaa, 0xd0, 1915 0x29, 0xed, 0xe2, 0xd7, 0xd2, 0x41, 0xe0, 0x5d, 0xbc, 0x18, 0x5f, 0xd7, 0x15, 0x37, 0xb4, 0x2a, 1916 0xbe, 0x0a, 0x29, 0xc0, 0x4a, 0x5b, 0x0e, 0xa5, 0x00, 0x39, 0x02, 0xdf, 0x50, 0x5c, 0x8e, 0x2e, 1917 0x02, 0x4b, 0x59, 0xe2, 0x95, 0x74, 0x10, 0x38, 0x4b, 0x48, 0x61, 0xfa, 0xa6, 0xe2, 0xbb, 0x56, 1918 0x87, 0x69, 0x39, 0x8e, 0x14, 0xf3, 0xc7, 0x91, 0xff, 0x97, 0xd1, 0x6a, 0xd7, 0x1b, 0xc7, 0x89, 1919 0xa4, 0x93, 0xcf, 0x17, 0x68, 0x24, 0x81, 0xdc, 0xa1, 0x9d, 0xc7, 0x1d, 0x68, 0x28, 0x01, 0x3c, 1920 0xe2, 0xa1, 0xa1, 0x47, 0x24, 0x9b, 0x3f, 0xd6, 0x27, 0x3e, 0x30, 0xf2, 0x89, 0x64, 0xfb, 0xc7, 1921 0x78, 0x45, 0x2b, 0x8f, 0x57, 0x28, 0xe2, 0xd1, 0x7e, 0x1e, 0xc7, 0x50, 0xee, 0x25, 0x1b, 0xe6, 1922 0xae, 0x01, 0x87, 0xad, 0xa6, 0xb9, 0x77, 0xa8, 0x36, 0xa5, 0x0d, 0x73, 0xff, 0x80, 0x73, 0x5b, 1923 0xd3, 0xdc, 0x45, 0x54, 0xbb, 0xdb, 0x56, 0x1e, 0x27, 0x51, 0x44, 0xc0, 0xfd, 0x3c, 0x7e, 0xa2, 1924 0xdc, 0x29, 0x37, 0xcc, 0x3d, 0x05, 0x0e, 0x94, 0x4d, 0x73, 0x67, 0x51, 0x6d, 0xb9, 0x5b, 0x79, 1925 0xdc, 0x45, 0x91, 0x4d, 0xf7, 0xf3, 0x78, 0x8c, 0x72, 0xfb, 0xfe, 0xd0, 0xd4, 0x67, 0xc0, 0xa4, 1926 0xfb, 0xd8, 0xd4, 0x6d, 0x14, 0x21, 0xa0, 0x95, 0xc7, 0x71, 0x14, 0x89, 0x79, 0x3f, 0x8f, 0xef, 1927 0x28, 0x03, 0x45, 0xc3, 0xdc, 0x7b, 0xe0, 0xfc, 0xdd, 0x34, 0x77, 0x20, 0x55, 0x32, 0xf9, 0x53, 1928 0x15, 0x55, 0xda, 0x7d, 0x36, 0x99, 0xfc, 0x08, 0x9e, 0x89, 0x85, 0x67, 0x78, 0xab, 0x46, 0x1e, 1929 0x2a, 0x72, 0x0b, 0x6a, 0x4f, 0xc4, 0xea, 0x47, 0xa3, 0x60, 0x72, 0x06, 0x8d, 0xc7, 0x1a, 0xec, 1930 0xdc, 0x80, 0x58, 0xd0, 0xeb, 0x20, 0x24, 0x0f, 0x25, 0xcf, 0xa3, 0x9f, 0x03, 0x73, 0x36, 0x62, 1931 0x45, 0x6f, 0x6a, 0x29, 0x46, 0xc5, 0x84, 0x21, 0xf4, 0x2c, 0x26, 0x19, 0x4a, 0x10, 0x57, 0xda, 1932 0x04, 0xf1, 0x38, 0x1c, 0x69, 0xe0, 0xdd, 0x51, 0x38, 0xd3, 0x7d, 0x3d, 0x37, 0x5c, 0x4a, 0x98, 1933 0x89, 0xfe, 0x74, 0x00, 0xfb, 0xd3, 0x3d, 0x18, 0x90, 0xad, 0x64, 0x19, 0x0a, 0x36, 0xd5, 0x86, 1934 0x6d, 0xea, 0x9e, 0x96, 0x25, 0xae, 0x24, 0x24, 0x05, 0xb3, 0xea, 0x80, 0x66, 0x75, 0x57, 0x47, 1935 0x31, 0x01, 0x03, 0x33, 0x4f, 0x1b, 0xf6, 0x2c, 0x3d, 0x41, 0x5c, 0x29, 0x10, 0x24, 0x7f, 0xd4, 1936 0x3b, 0xa0, 0x73, 0x69, 0x09, 0x26, 0x60, 0x60, 0x14, 0xea, 0x28, 0x0c, 0x4c, 0xff, 0x45, 0xf7, 1937 0x18, 0x8a, 0xa2, 0x8d, 0x1d, 0xc0, 0x36, 0xa6, 0xfd, 0xa2, 0x7b, 0x12, 0x4b, 0xc1, 0xcd, 0xda, 1938 0xb0, 0x9b, 0xa5, 0xf6, 0xd1, 0x75, 0xe4, 0x3e, 0xba, 0x0e, 0xdf, 0xc7, 0xd8, 0xd3, 0xd2, 0xfa, 1939 0x48, 0xc1, 0xc0, 0xe0, 0xd4, 0x51, 0x58, 0x5b, 0x7a, 0x1f, 0x23, 0x8a, 0xa2, 0xc1, 0x1d, 0xc0, 1940 0x06, 0x97, 0xda, 0x47, 0x9e, 0xa5, 0xe0, 0x73, 0x2d, 0xd0, 0xe7, 0xee, 0x6a, 0x49, 0x86, 0x85, 1941 0x84, 0x22, 0xef, 0x76, 0x6d, 0xc8, 0xed, 0xee, 0xe8, 0xe8, 0xc5, 0x48, 0x50, 0xcc, 0xea, 0x28, 1942 0x4c, 0x4f, 0xdf, 0x41, 0x52, 0x2a, 0x74, 0x90, 0x9a, 0xd5, 0x01, 0x6c, 0x7d, 0xda, 0x0e, 0x32, 1943 0x78, 0x70, 0xfa, 0x6a, 0xc3, 0x0e, 0xa8, 0x57, 0x22, 0xae, 0x14, 0x94, 0x48, 0x7c, 0xb0, 0x03, 1944 0xfa, 0xa0, 0x56, 0x89, 0x09, 0x18, 0x14, 0xca, 0x36, 0x7e, 0x8e, 0x5e, 0x85, 0xed, 0xcc, 0x5a, 1945 0x43, 0xc5, 0x5f, 0x78, 0x67, 0xf8, 0xe1, 0xd0, 0x52, 0x37, 0xfc, 0xd1, 0xfa, 0x36, 0x5a, 0xfa, 1946 0x65, 0xe8, 0xad, 0x19, 0xfe, 0xcd, 0x84, 0x14, 0x3e, 0x58, 0xfc, 0x6e, 0x61, 0xe3, 0x87, 0xe8, 1947 0xda, 0x25, 0x21, 0xff, 0x14, 0xdd, 0x04, 0x7d, 0x0e, 0x38, 0xc1, 0x16, 0x7f, 0x02, 0xcd, 0x94, 1948 0x90, 0xc1, 0x7f, 0x8e, 0x2a, 0x97, 0x82, 0xfb, 0x33, 0x74, 0x03, 0xf0, 0x40, 0x00, 0xdd, 0xe1, 1949 0xd1, 0xf5, 0x43, 0x41, 0xae, 0x31, 0x96, 0xec, 0x89, 0x17, 0x88, 0xff, 0x31, 0xb2, 0x64, 0x7b, 1950 0x04, 0xf0, 0xdf, 0xe1, 0xf1, 0xb5, 0x53, 0x44, 0x06, 0xfe, 0x27, 0x68, 0x5d, 0xf2, 0xcb, 0x8b, 1951 0x43, 0x67, 0xc8, 0x27, 0x3e, 0x92, 0x07, 0x9e, 0x19, 0xf6, 0x81, 0xe4, 0x2f, 0x03, 0x9d, 0x91, 1952 0x4e, 0x4f, 0x8b, 0x9f, 0xfa, 0xd5, 0xf6, 0xe0, 0x13, 0x24, 0xd2, 0xb9, 0x1c, 0x7c, 0xbe, 0xfb, 1953 0xd4, 0x7d, 0x72, 0xf6, 0x27, 0x1a, 0x28, 0xaa, 0xba, 0x7f, 0xe1, 0xe8, 0x42, 0xf7, 0xd5, 0xf8, 1954 0x99, 0xba, 0x03, 0x9c, 0x80, 0xef, 0xfe, 0xc5, 0xe3, 0xff, 0x18, 0xad, 0x4b, 0x3e, 0x9d, 0xe7, 1955 0xcf, 0x71, 0x32, 0x40, 0x65, 0xc0, 0x3f, 0x42, 0x6b, 0xa2, 0x73, 0x5f, 0x18, 0x36, 0xd3, 0x79, 1956 0xc6, 0x73, 0xf3, 0x74, 0x86, 0x9d, 0xba, 0x82, 0x9d, 0xbf, 0x1c, 0x7c, 0x46, 0xf7, 0x89, 0x23, 1957 0xe7, 0x51, 0x26, 0xfb, 0xef, 0x81, 0x90, 0xee, 0x2f, 0x01, 0x7d, 0xf3, 0x3f, 0x55, 0xb4, 0xda, 1958 0xee, 0x27, 0x33, 0xdb, 0x8f, 0xd5, 0x89, 0xf9, 0x5b, 0xc9, 0x5e, 0x24, 0x2a, 0x57, 0xe4, 0x65, 1959 0xf5, 0x3f, 0x95, 0x34, 0xe5, 0xd4, 0xfc, 0x4d, 0x00, 0x56, 0x80, 0x03, 0x1f, 0xba, 0x7f, 0xa4, 1960 0xcc, 0xcd, 0xf7, 0x35, 0x44, 0x85, 0xb4, 0xab, 0xf8, 0x77, 0x95, 0xc7, 0x52, 0x76, 0xbe, 0x0d, 1961 0x60, 0xf2, 0x58, 0xd0, 0x73, 0xfd, 0x43, 0x45, 0x7a, 0xbe, 0xab, 0x63, 0xc8, 0x66, 0x5d, 0x70, 1962 0xc2, 0xdb, 0x83, 0x13, 0xf4, 0x1d, 0x08, 0x54, 0xce, 0xcf, 0xca, 0x51, 0xef, 0x33, 0x38, 0x43, 1963 0xdf, 0xd1, 0x70, 0x65, 0x43, 0x2f, 0x34, 0xf4, 0xed, 0x82, 0x39, 0xfa, 0x0d, 0x35, 0x51, 0x06, 1964 0x50, 0x35, 0xfd, 0x7d, 0x06, 0x27, 0x69, 0x1d, 0x4d, 0x36, 0x54, 0x42, 0x73, 0xe0, 0x2e, 0x98, 1965 0xa6, 0x35, 0x34, 0x19, 0x40, 0xd5, 0x40, 0xf8, 0x50, 0x91, 0xa7, 0x75, 0x5f, 0x7d, 0x4f, 0x22, 1966 0x2a, 0x66, 0xea, 0x1e, 0x9c, 0xa9, 0x35, 0x5f, 0x7d, 0x0f, 0xe4, 0x2a, 0xa4, 0xea, 0x67, 0x70, 1967 0xaa, 0x4e, 0xe9, 0x69, 0x1c, 0x30, 0xa1, 0x69, 0x71, 0x17, 0x4c, 0xd6, 0xfa, 0x9e, 0x46, 0x80, 1968 0xaa, 0xb1, 0xf1, 0xa1, 0x22, 0x5b, 0xa7, 0xf5, 0x94, 0x27, 0x2a, 0xe6, 0xeb, 0x1e, 0x9c, 0xaf, 1969 0x53, 0x7a, 0x2a, 0x73, 0x15, 0x12, 0xf6, 0x13, 0x30, 0x61, 0xbf, 0xa1, 0xa1, 0xca, 0xa4, 0x62, 1970 0x60, 0xa6, 0xfc, 0x14, 0x4a, 0xd9, 0xaf, 0xab, 0x49, 0x26, 0x68, 0x8a, 0xe1, 0xf2, 0xa1, 0x22, 1971 0x67, 0xeb, 0xba, 0xc9, 0xa5, 0x62, 0x70, 0xcc, 0xdc, 0x83, 0xb3, 0xb6, 0xa6, 0x9b, 0x2c, 0xa6, 1972 0x72, 0xde, 0xfc, 0x0c, 0x4e, 0xdb, 0x3a, 0x85, 0xb2, 0xf1, 0x18, 0x9a, 0x3c, 0x77, 0xc1, 0xc4, 1973 0xad, 0x51, 0x28, 0x03, 0xa8, 0x18, 0x41, 0xcf, 0x33, 0xf7, 0x3c, 0x73, 0xcf, 0x33, 0xf7, 0x3c, 1974 0x73, 0xcf, 0x33, 0xf7, 0x3c, 0x73, 0xcf, 0x33, 0xf7, 0x3c, 0x73, 0xc3, 0x99, 0xfb, 0xcf, 0x4b, 1975 0xe8, 0xfa, 0xd3, 0x91, 0xe7, 0xbf, 0x64, 0x9e, 0x54, 0x3f, 0x60, 0x83, 0x71, 0xea, 0x5b, 0x1b, 1976 0x7b, 0xdc, 0x13, 0xe4, 0xef, 0x30, 0x69, 0x35, 0xcd, 0x38, 0xf7, 0xd8, 0x87, 0xbb, 0x3f, 0x40, 1977 0x2b, 0x13, 0x6f, 0x9c, 0xfd, 0x85, 0x8c, 0xf0, 0xb4, 0xf1, 0x02, 0xeb, 0x7b, 0x68, 0x79, 0xe2, 1978 0x8d, 0xb3, 0xbe, 0x82, 0x11, 0x9e, 0x38, 0x2a, 0xa7, 0x4b, 0xb3, 0xbe, 0x74, 0x41, 0x97, 0x92, 1979 0xa8, 0x42, 0x38, 0x67, 0x7f, 0xcd, 0x82, 0x72, 0xa6, 0x41, 0x27, 0x3e, 0x71, 0xa6, 0x17, 0x2b, 1980 0x92, 0x13, 0xbb, 0x0e, 0x73, 0xe2, 0x6c, 0xaf, 0x52, 0x30, 0x27, 0x76, 0x1d, 0x6b, 0x07, 0x5d, 1981 0x9d, 0x78, 0xe3, 0x6c, 0x2f, 0x4f, 0xec, 0x2d, 0x74, 0xa3, 0x62, 0x7a, 0xd6, 0xec, 0xaf, 0x4b, 1982 0xd0, 0xb3, 0xd2, 0x5d, 0x33, 0xb9, 0xdc, 0xac, 0x2f, 0x48, 0xd0, 0xcb, 0xc5, 0x1f, 0xd4, 0xd7, 1983 0xb1, 0x46, 0x9f, 0x52, 0x8d, 0x86, 0x5a, 0xdb, 0xfc, 0xdf, 0x12, 0xaa, 0x60, 0xdd, 0xc6, 0xd3, 1984 0xa2, 0xf7, 0x8d, 0x54, 0x4b, 0xc6, 0x42, 0xbc, 0x76, 0xdf, 0x35, 0xd0, 0x2e, 0x19, 0xd7, 0x70, 1985 0x0a, 0xae, 0x1b, 0x2a, 0x98, 0x24, 0x01, 0x5e, 0xc7, 0xbb, 0x46, 0x3a, 0x8e, 0x11, 0x12, 0x35, 1986 0xef, 0x1a, 0xa9, 0x99, 0x03, 0x20, 0xaa, 0xac, 0x1b, 0x6a, 0x9a, 0xbb, 0x0a, 0xaa, 0xec, 0x5d, 1987 0x23, 0x65, 0x8b, 0x24, 0xf0, 0x7b, 0x72, 0x66, 0xfa, 0x96, 0x48, 0xe0, 0x7b, 0x24, 0xbb, 0xca, 1988 0xe3, 0xf5, 0xb1, 0xd6, 0xeb, 0x86, 0x5a, 0xe7, 0x18, 0x50, 0xc5, 0xef, 0x1a, 0x29, 0x9e, 0x6b, 1989 0x03, 0xd1, 0xfd, 0x75, 0xac, 0xf1, 0xa7, 0x58, 0xe3, 0xa1, 0x4a, 0xeb, 0xf7, 0x3f, 0xff, 0xa2, 1990 0x5a, 0xf8, 0xf2, 0x8b, 0x6a, 0xe1, 0x8f, 0xe7, 0xd5, 0xc2, 0x5f, 0xce, 0xab, 0x85, 0xbf, 0x9e, 1991 0x57, 0x0b, 0x9f, 0x9d, 0x57, 0x17, 0xfe, 0x7e, 0x5e, 0x2d, 0x7c, 0x7e, 0x5e, 0x2d, 0x7c, 0x79, 1992 0x5e, 0x5d, 0xf8, 0xd5, 0xbf, 0xaa, 0x0b, 0x83, 0x2b, 0xf8, 0x0c, 0xee, 0x57, 0x01, 0x00, 0x00, 1993 0xff, 0xff, 0x5f, 0x2b, 0x6f, 0x53, 0xc2, 0x40, 0x00, 0x00, 1994 } 1995 1996 func (this *KnownTypes) Compare(that interface{}) int { 1997 if that == nil { 1998 if this == nil { 1999 return 0 2000 } 2001 return 1 2002 } 2003 2004 that1, ok := that.(*KnownTypes) 2005 if !ok { 2006 that2, ok := that.(KnownTypes) 2007 if ok { 2008 that1 = &that2 2009 } else { 2010 return 1 2011 } 2012 } 2013 if that1 == nil { 2014 if this == nil { 2015 return 0 2016 } 2017 return 1 2018 } else if this == nil { 2019 return -1 2020 } 2021 if c := this.Dur.Compare(that1.Dur); c != 0 { 2022 return c 2023 } 2024 if c := this.Ts.Compare(that1.Ts); c != 0 { 2025 return c 2026 } 2027 if c := this.Dbl.Compare(that1.Dbl); c != 0 { 2028 return c 2029 } 2030 if c := this.Flt.Compare(that1.Flt); c != 0 { 2031 return c 2032 } 2033 if c := this.I64.Compare(that1.I64); c != 0 { 2034 return c 2035 } 2036 if c := this.U64.Compare(that1.U64); c != 0 { 2037 return c 2038 } 2039 if c := this.I32.Compare(that1.I32); c != 0 { 2040 return c 2041 } 2042 if c := this.U32.Compare(that1.U32); c != 0 { 2043 return c 2044 } 2045 if c := this.Bool.Compare(that1.Bool); c != 0 { 2046 return c 2047 } 2048 if c := this.Str.Compare(that1.Str); c != 0 { 2049 return c 2050 } 2051 if c := this.Bytes.Compare(that1.Bytes); c != 0 { 2052 return c 2053 } 2054 if c := this.St.Compare(that1.St); c != 0 { 2055 return c 2056 } 2057 if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { 2058 return c 2059 } 2060 return 0 2061 } 2062 func (this *ProtoTypes) Compare(that interface{}) int { 2063 if that == nil { 2064 if this == nil { 2065 return 0 2066 } 2067 return 1 2068 } 2069 2070 that1, ok := that.(*ProtoTypes) 2071 if !ok { 2072 that2, ok := that.(ProtoTypes) 2073 if ok { 2074 that1 = &that2 2075 } else { 2076 return 1 2077 } 2078 } 2079 if that1 == nil { 2080 if this == nil { 2081 return 0 2082 } 2083 return 1 2084 } else if this == nil { 2085 return -1 2086 } 2087 if c := this.NullableTimestamp.Compare(that1.NullableTimestamp); c != 0 { 2088 return c 2089 } 2090 if c := this.NullableDuration.Compare(that1.NullableDuration); c != 0 { 2091 return c 2092 } 2093 if c := this.NullableDouble.Compare(that1.NullableDouble); c != 0 { 2094 return c 2095 } 2096 if c := this.NullableFloat.Compare(that1.NullableFloat); c != 0 { 2097 return c 2098 } 2099 if c := this.NullableInt64.Compare(that1.NullableInt64); c != 0 { 2100 return c 2101 } 2102 if c := this.NullableUInt64.Compare(that1.NullableUInt64); c != 0 { 2103 return c 2104 } 2105 if c := this.NullableInt32.Compare(that1.NullableInt32); c != 0 { 2106 return c 2107 } 2108 if c := this.NullableUInt32.Compare(that1.NullableUInt32); c != 0 { 2109 return c 2110 } 2111 if c := this.NullableBool.Compare(that1.NullableBool); c != 0 { 2112 return c 2113 } 2114 if c := this.NullableString.Compare(that1.NullableString); c != 0 { 2115 return c 2116 } 2117 if c := this.NullableBytes.Compare(that1.NullableBytes); c != 0 { 2118 return c 2119 } 2120 if c := this.Timestamp.Compare(&that1.Timestamp); c != 0 { 2121 return c 2122 } 2123 if c := this.Duration.Compare(&that1.Duration); c != 0 { 2124 return c 2125 } 2126 if c := this.NonnullDouble.Compare(&that1.NonnullDouble); c != 0 { 2127 return c 2128 } 2129 if c := this.NonnullFloat.Compare(&that1.NonnullFloat); c != 0 { 2130 return c 2131 } 2132 if c := this.NonnullInt64.Compare(&that1.NonnullInt64); c != 0 { 2133 return c 2134 } 2135 if c := this.NonnullUInt64.Compare(&that1.NonnullUInt64); c != 0 { 2136 return c 2137 } 2138 if c := this.NonnullInt32.Compare(&that1.NonnullInt32); c != 0 { 2139 return c 2140 } 2141 if c := this.NonnullUInt32.Compare(&that1.NonnullUInt32); c != 0 { 2142 return c 2143 } 2144 if c := this.NonnullBool.Compare(&that1.NonnullBool); c != 0 { 2145 return c 2146 } 2147 if c := this.NonnullString.Compare(&that1.NonnullString); c != 0 { 2148 return c 2149 } 2150 if c := this.NonnullBytes.Compare(&that1.NonnullBytes); c != 0 { 2151 return c 2152 } 2153 if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { 2154 return c 2155 } 2156 return 0 2157 } 2158 func (this *RepProtoTypes) Compare(that interface{}) int { 2159 if that == nil { 2160 if this == nil { 2161 return 0 2162 } 2163 return 1 2164 } 2165 2166 that1, ok := that.(*RepProtoTypes) 2167 if !ok { 2168 that2, ok := that.(RepProtoTypes) 2169 if ok { 2170 that1 = &that2 2171 } else { 2172 return 1 2173 } 2174 } 2175 if that1 == nil { 2176 if this == nil { 2177 return 0 2178 } 2179 return 1 2180 } else if this == nil { 2181 return -1 2182 } 2183 if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { 2184 if len(this.NullableTimestamps) < len(that1.NullableTimestamps) { 2185 return -1 2186 } 2187 return 1 2188 } 2189 for i := range this.NullableTimestamps { 2190 if c := this.NullableTimestamps[i].Compare(that1.NullableTimestamps[i]); c != 0 { 2191 return c 2192 } 2193 } 2194 if len(this.NullableDurations) != len(that1.NullableDurations) { 2195 if len(this.NullableDurations) < len(that1.NullableDurations) { 2196 return -1 2197 } 2198 return 1 2199 } 2200 for i := range this.NullableDurations { 2201 if c := this.NullableDurations[i].Compare(that1.NullableDurations[i]); c != 0 { 2202 return c 2203 } 2204 } 2205 if len(this.Timestamps) != len(that1.Timestamps) { 2206 if len(this.Timestamps) < len(that1.Timestamps) { 2207 return -1 2208 } 2209 return 1 2210 } 2211 for i := range this.Timestamps { 2212 if c := this.Timestamps[i].Compare(&that1.Timestamps[i]); c != 0 { 2213 return c 2214 } 2215 } 2216 if len(this.Durations) != len(that1.Durations) { 2217 if len(this.Durations) < len(that1.Durations) { 2218 return -1 2219 } 2220 return 1 2221 } 2222 for i := range this.Durations { 2223 if c := this.Durations[i].Compare(&that1.Durations[i]); c != 0 { 2224 return c 2225 } 2226 } 2227 if len(this.NullableDouble) != len(that1.NullableDouble) { 2228 if len(this.NullableDouble) < len(that1.NullableDouble) { 2229 return -1 2230 } 2231 return 1 2232 } 2233 for i := range this.NullableDouble { 2234 if c := this.NullableDouble[i].Compare(that1.NullableDouble[i]); c != 0 { 2235 return c 2236 } 2237 } 2238 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 2239 if len(this.NonnullDouble) < len(that1.NonnullDouble) { 2240 return -1 2241 } 2242 return 1 2243 } 2244 for i := range this.NonnullDouble { 2245 if c := this.NonnullDouble[i].Compare(&that1.NonnullDouble[i]); c != 0 { 2246 return c 2247 } 2248 } 2249 if len(this.NullableFloat) != len(that1.NullableFloat) { 2250 if len(this.NullableFloat) < len(that1.NullableFloat) { 2251 return -1 2252 } 2253 return 1 2254 } 2255 for i := range this.NullableFloat { 2256 if c := this.NullableFloat[i].Compare(that1.NullableFloat[i]); c != 0 { 2257 return c 2258 } 2259 } 2260 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 2261 if len(this.NonnullFloat) < len(that1.NonnullFloat) { 2262 return -1 2263 } 2264 return 1 2265 } 2266 for i := range this.NonnullFloat { 2267 if c := this.NonnullFloat[i].Compare(&that1.NonnullFloat[i]); c != 0 { 2268 return c 2269 } 2270 } 2271 if len(this.NullableInt64) != len(that1.NullableInt64) { 2272 if len(this.NullableInt64) < len(that1.NullableInt64) { 2273 return -1 2274 } 2275 return 1 2276 } 2277 for i := range this.NullableInt64 { 2278 if c := this.NullableInt64[i].Compare(that1.NullableInt64[i]); c != 0 { 2279 return c 2280 } 2281 } 2282 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 2283 if len(this.NonnullInt64) < len(that1.NonnullInt64) { 2284 return -1 2285 } 2286 return 1 2287 } 2288 for i := range this.NonnullInt64 { 2289 if c := this.NonnullInt64[i].Compare(&that1.NonnullInt64[i]); c != 0 { 2290 return c 2291 } 2292 } 2293 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 2294 if len(this.NullableUInt64) < len(that1.NullableUInt64) { 2295 return -1 2296 } 2297 return 1 2298 } 2299 for i := range this.NullableUInt64 { 2300 if c := this.NullableUInt64[i].Compare(that1.NullableUInt64[i]); c != 0 { 2301 return c 2302 } 2303 } 2304 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 2305 if len(this.NonnullUInt64) < len(that1.NonnullUInt64) { 2306 return -1 2307 } 2308 return 1 2309 } 2310 for i := range this.NonnullUInt64 { 2311 if c := this.NonnullUInt64[i].Compare(&that1.NonnullUInt64[i]); c != 0 { 2312 return c 2313 } 2314 } 2315 if len(this.NullableInt32) != len(that1.NullableInt32) { 2316 if len(this.NullableInt32) < len(that1.NullableInt32) { 2317 return -1 2318 } 2319 return 1 2320 } 2321 for i := range this.NullableInt32 { 2322 if c := this.NullableInt32[i].Compare(that1.NullableInt32[i]); c != 0 { 2323 return c 2324 } 2325 } 2326 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 2327 if len(this.NonnullInt32) < len(that1.NonnullInt32) { 2328 return -1 2329 } 2330 return 1 2331 } 2332 for i := range this.NonnullInt32 { 2333 if c := this.NonnullInt32[i].Compare(&that1.NonnullInt32[i]); c != 0 { 2334 return c 2335 } 2336 } 2337 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 2338 if len(this.NullableUInt32) < len(that1.NullableUInt32) { 2339 return -1 2340 } 2341 return 1 2342 } 2343 for i := range this.NullableUInt32 { 2344 if c := this.NullableUInt32[i].Compare(that1.NullableUInt32[i]); c != 0 { 2345 return c 2346 } 2347 } 2348 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 2349 if len(this.NonnullUInt32) < len(that1.NonnullUInt32) { 2350 return -1 2351 } 2352 return 1 2353 } 2354 for i := range this.NonnullUInt32 { 2355 if c := this.NonnullUInt32[i].Compare(&that1.NonnullUInt32[i]); c != 0 { 2356 return c 2357 } 2358 } 2359 if len(this.NullableBool) != len(that1.NullableBool) { 2360 if len(this.NullableBool) < len(that1.NullableBool) { 2361 return -1 2362 } 2363 return 1 2364 } 2365 for i := range this.NullableBool { 2366 if c := this.NullableBool[i].Compare(that1.NullableBool[i]); c != 0 { 2367 return c 2368 } 2369 } 2370 if len(this.NonnullBool) != len(that1.NonnullBool) { 2371 if len(this.NonnullBool) < len(that1.NonnullBool) { 2372 return -1 2373 } 2374 return 1 2375 } 2376 for i := range this.NonnullBool { 2377 if c := this.NonnullBool[i].Compare(&that1.NonnullBool[i]); c != 0 { 2378 return c 2379 } 2380 } 2381 if len(this.NullableString) != len(that1.NullableString) { 2382 if len(this.NullableString) < len(that1.NullableString) { 2383 return -1 2384 } 2385 return 1 2386 } 2387 for i := range this.NullableString { 2388 if c := this.NullableString[i].Compare(that1.NullableString[i]); c != 0 { 2389 return c 2390 } 2391 } 2392 if len(this.NonnullString) != len(that1.NonnullString) { 2393 if len(this.NonnullString) < len(that1.NonnullString) { 2394 return -1 2395 } 2396 return 1 2397 } 2398 for i := range this.NonnullString { 2399 if c := this.NonnullString[i].Compare(&that1.NonnullString[i]); c != 0 { 2400 return c 2401 } 2402 } 2403 if len(this.NullableBytes) != len(that1.NullableBytes) { 2404 if len(this.NullableBytes) < len(that1.NullableBytes) { 2405 return -1 2406 } 2407 return 1 2408 } 2409 for i := range this.NullableBytes { 2410 if c := this.NullableBytes[i].Compare(that1.NullableBytes[i]); c != 0 { 2411 return c 2412 } 2413 } 2414 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 2415 if len(this.NonnullBytes) < len(that1.NonnullBytes) { 2416 return -1 2417 } 2418 return 1 2419 } 2420 for i := range this.NonnullBytes { 2421 if c := this.NonnullBytes[i].Compare(&that1.NonnullBytes[i]); c != 0 { 2422 return c 2423 } 2424 } 2425 if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { 2426 return c 2427 } 2428 return 0 2429 } 2430 func (this *KnownTypes) VerboseEqual(that interface{}) error { 2431 if that == nil { 2432 if this == nil { 2433 return nil 2434 } 2435 return fmt.Errorf("that == nil && this != nil") 2436 } 2437 2438 that1, ok := that.(*KnownTypes) 2439 if !ok { 2440 that2, ok := that.(KnownTypes) 2441 if ok { 2442 that1 = &that2 2443 } else { 2444 return fmt.Errorf("that is not of type *KnownTypes") 2445 } 2446 } 2447 if that1 == nil { 2448 if this == nil { 2449 return nil 2450 } 2451 return fmt.Errorf("that is type *KnownTypes but is nil && this != nil") 2452 } else if this == nil { 2453 return fmt.Errorf("that is type *KnownTypes but is not nil && this == nil") 2454 } 2455 if !this.Dur.Equal(that1.Dur) { 2456 return fmt.Errorf("Dur this(%v) Not Equal that(%v)", this.Dur, that1.Dur) 2457 } 2458 if !this.Ts.Equal(that1.Ts) { 2459 return fmt.Errorf("Ts this(%v) Not Equal that(%v)", this.Ts, that1.Ts) 2460 } 2461 if !this.Dbl.Equal(that1.Dbl) { 2462 return fmt.Errorf("Dbl this(%v) Not Equal that(%v)", this.Dbl, that1.Dbl) 2463 } 2464 if !this.Flt.Equal(that1.Flt) { 2465 return fmt.Errorf("Flt this(%v) Not Equal that(%v)", this.Flt, that1.Flt) 2466 } 2467 if !this.I64.Equal(that1.I64) { 2468 return fmt.Errorf("I64 this(%v) Not Equal that(%v)", this.I64, that1.I64) 2469 } 2470 if !this.U64.Equal(that1.U64) { 2471 return fmt.Errorf("U64 this(%v) Not Equal that(%v)", this.U64, that1.U64) 2472 } 2473 if !this.I32.Equal(that1.I32) { 2474 return fmt.Errorf("I32 this(%v) Not Equal that(%v)", this.I32, that1.I32) 2475 } 2476 if !this.U32.Equal(that1.U32) { 2477 return fmt.Errorf("U32 this(%v) Not Equal that(%v)", this.U32, that1.U32) 2478 } 2479 if !this.Bool.Equal(that1.Bool) { 2480 return fmt.Errorf("Bool this(%v) Not Equal that(%v)", this.Bool, that1.Bool) 2481 } 2482 if !this.Str.Equal(that1.Str) { 2483 return fmt.Errorf("Str this(%v) Not Equal that(%v)", this.Str, that1.Str) 2484 } 2485 if !this.Bytes.Equal(that1.Bytes) { 2486 return fmt.Errorf("Bytes this(%v) Not Equal that(%v)", this.Bytes, that1.Bytes) 2487 } 2488 if !this.St.Equal(that1.St) { 2489 return fmt.Errorf("St this(%v) Not Equal that(%v)", this.St, that1.St) 2490 } 2491 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2492 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 2493 } 2494 return nil 2495 } 2496 func (this *KnownTypes) Equal(that interface{}) bool { 2497 if that == nil { 2498 return this == nil 2499 } 2500 2501 that1, ok := that.(*KnownTypes) 2502 if !ok { 2503 that2, ok := that.(KnownTypes) 2504 if ok { 2505 that1 = &that2 2506 } else { 2507 return false 2508 } 2509 } 2510 if that1 == nil { 2511 return this == nil 2512 } else if this == nil { 2513 return false 2514 } 2515 if !this.Dur.Equal(that1.Dur) { 2516 return false 2517 } 2518 if !this.Ts.Equal(that1.Ts) { 2519 return false 2520 } 2521 if !this.Dbl.Equal(that1.Dbl) { 2522 return false 2523 } 2524 if !this.Flt.Equal(that1.Flt) { 2525 return false 2526 } 2527 if !this.I64.Equal(that1.I64) { 2528 return false 2529 } 2530 if !this.U64.Equal(that1.U64) { 2531 return false 2532 } 2533 if !this.I32.Equal(that1.I32) { 2534 return false 2535 } 2536 if !this.U32.Equal(that1.U32) { 2537 return false 2538 } 2539 if !this.Bool.Equal(that1.Bool) { 2540 return false 2541 } 2542 if !this.Str.Equal(that1.Str) { 2543 return false 2544 } 2545 if !this.Bytes.Equal(that1.Bytes) { 2546 return false 2547 } 2548 if !this.St.Equal(that1.St) { 2549 return false 2550 } 2551 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2552 return false 2553 } 2554 return true 2555 } 2556 func (this *ProtoTypes) VerboseEqual(that interface{}) error { 2557 if that == nil { 2558 if this == nil { 2559 return nil 2560 } 2561 return fmt.Errorf("that == nil && this != nil") 2562 } 2563 2564 that1, ok := that.(*ProtoTypes) 2565 if !ok { 2566 that2, ok := that.(ProtoTypes) 2567 if ok { 2568 that1 = &that2 2569 } else { 2570 return fmt.Errorf("that is not of type *ProtoTypes") 2571 } 2572 } 2573 if that1 == nil { 2574 if this == nil { 2575 return nil 2576 } 2577 return fmt.Errorf("that is type *ProtoTypes but is nil && this != nil") 2578 } else if this == nil { 2579 return fmt.Errorf("that is type *ProtoTypes but is not nil && this == nil") 2580 } 2581 if !this.NullableTimestamp.Equal(that1.NullableTimestamp) { 2582 return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", this.NullableTimestamp, that1.NullableTimestamp) 2583 } 2584 if !this.NullableDuration.Equal(that1.NullableDuration) { 2585 return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", this.NullableDuration, that1.NullableDuration) 2586 } 2587 if !this.NullableDouble.Equal(that1.NullableDouble) { 2588 return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", this.NullableDouble, that1.NullableDouble) 2589 } 2590 if !this.NullableFloat.Equal(that1.NullableFloat) { 2591 return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", this.NullableFloat, that1.NullableFloat) 2592 } 2593 if !this.NullableInt64.Equal(that1.NullableInt64) { 2594 return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", this.NullableInt64, that1.NullableInt64) 2595 } 2596 if !this.NullableUInt64.Equal(that1.NullableUInt64) { 2597 return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", this.NullableUInt64, that1.NullableUInt64) 2598 } 2599 if !this.NullableInt32.Equal(that1.NullableInt32) { 2600 return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", this.NullableInt32, that1.NullableInt32) 2601 } 2602 if !this.NullableUInt32.Equal(that1.NullableUInt32) { 2603 return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", this.NullableUInt32, that1.NullableUInt32) 2604 } 2605 if !this.NullableBool.Equal(that1.NullableBool) { 2606 return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", this.NullableBool, that1.NullableBool) 2607 } 2608 if !this.NullableString.Equal(that1.NullableString) { 2609 return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", this.NullableString, that1.NullableString) 2610 } 2611 if !this.NullableBytes.Equal(that1.NullableBytes) { 2612 return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", this.NullableBytes, that1.NullableBytes) 2613 } 2614 if !this.Timestamp.Equal(&that1.Timestamp) { 2615 return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) 2616 } 2617 if !this.Duration.Equal(&that1.Duration) { 2618 return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) 2619 } 2620 if !this.NonnullDouble.Equal(&that1.NonnullDouble) { 2621 return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", this.NonnullDouble, that1.NonnullDouble) 2622 } 2623 if !this.NonnullFloat.Equal(&that1.NonnullFloat) { 2624 return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", this.NonnullFloat, that1.NonnullFloat) 2625 } 2626 if !this.NonnullInt64.Equal(&that1.NonnullInt64) { 2627 return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", this.NonnullInt64, that1.NonnullInt64) 2628 } 2629 if !this.NonnullUInt64.Equal(&that1.NonnullUInt64) { 2630 return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", this.NonnullUInt64, that1.NonnullUInt64) 2631 } 2632 if !this.NonnullInt32.Equal(&that1.NonnullInt32) { 2633 return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", this.NonnullInt32, that1.NonnullInt32) 2634 } 2635 if !this.NonnullUInt32.Equal(&that1.NonnullUInt32) { 2636 return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", this.NonnullUInt32, that1.NonnullUInt32) 2637 } 2638 if !this.NonnullBool.Equal(&that1.NonnullBool) { 2639 return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", this.NonnullBool, that1.NonnullBool) 2640 } 2641 if !this.NonnullString.Equal(&that1.NonnullString) { 2642 return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", this.NonnullString, that1.NonnullString) 2643 } 2644 if !this.NonnullBytes.Equal(&that1.NonnullBytes) { 2645 return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", this.NonnullBytes, that1.NonnullBytes) 2646 } 2647 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2648 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 2649 } 2650 return nil 2651 } 2652 func (this *ProtoTypes) Equal(that interface{}) bool { 2653 if that == nil { 2654 return this == nil 2655 } 2656 2657 that1, ok := that.(*ProtoTypes) 2658 if !ok { 2659 that2, ok := that.(ProtoTypes) 2660 if ok { 2661 that1 = &that2 2662 } else { 2663 return false 2664 } 2665 } 2666 if that1 == nil { 2667 return this == nil 2668 } else if this == nil { 2669 return false 2670 } 2671 if !this.NullableTimestamp.Equal(that1.NullableTimestamp) { 2672 return false 2673 } 2674 if !this.NullableDuration.Equal(that1.NullableDuration) { 2675 return false 2676 } 2677 if !this.NullableDouble.Equal(that1.NullableDouble) { 2678 return false 2679 } 2680 if !this.NullableFloat.Equal(that1.NullableFloat) { 2681 return false 2682 } 2683 if !this.NullableInt64.Equal(that1.NullableInt64) { 2684 return false 2685 } 2686 if !this.NullableUInt64.Equal(that1.NullableUInt64) { 2687 return false 2688 } 2689 if !this.NullableInt32.Equal(that1.NullableInt32) { 2690 return false 2691 } 2692 if !this.NullableUInt32.Equal(that1.NullableUInt32) { 2693 return false 2694 } 2695 if !this.NullableBool.Equal(that1.NullableBool) { 2696 return false 2697 } 2698 if !this.NullableString.Equal(that1.NullableString) { 2699 return false 2700 } 2701 if !this.NullableBytes.Equal(that1.NullableBytes) { 2702 return false 2703 } 2704 if !this.Timestamp.Equal(&that1.Timestamp) { 2705 return false 2706 } 2707 if !this.Duration.Equal(&that1.Duration) { 2708 return false 2709 } 2710 if !this.NonnullDouble.Equal(&that1.NonnullDouble) { 2711 return false 2712 } 2713 if !this.NonnullFloat.Equal(&that1.NonnullFloat) { 2714 return false 2715 } 2716 if !this.NonnullInt64.Equal(&that1.NonnullInt64) { 2717 return false 2718 } 2719 if !this.NonnullUInt64.Equal(&that1.NonnullUInt64) { 2720 return false 2721 } 2722 if !this.NonnullInt32.Equal(&that1.NonnullInt32) { 2723 return false 2724 } 2725 if !this.NonnullUInt32.Equal(&that1.NonnullUInt32) { 2726 return false 2727 } 2728 if !this.NonnullBool.Equal(&that1.NonnullBool) { 2729 return false 2730 } 2731 if !this.NonnullString.Equal(&that1.NonnullString) { 2732 return false 2733 } 2734 if !this.NonnullBytes.Equal(&that1.NonnullBytes) { 2735 return false 2736 } 2737 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2738 return false 2739 } 2740 return true 2741 } 2742 func (this *StdTypes) VerboseEqual(that interface{}) error { 2743 if that == nil { 2744 if this == nil { 2745 return nil 2746 } 2747 return fmt.Errorf("that == nil && this != nil") 2748 } 2749 2750 that1, ok := that.(*StdTypes) 2751 if !ok { 2752 that2, ok := that.(StdTypes) 2753 if ok { 2754 that1 = &that2 2755 } else { 2756 return fmt.Errorf("that is not of type *StdTypes") 2757 } 2758 } 2759 if that1 == nil { 2760 if this == nil { 2761 return nil 2762 } 2763 return fmt.Errorf("that is type *StdTypes but is nil && this != nil") 2764 } else if this == nil { 2765 return fmt.Errorf("that is type *StdTypes but is not nil && this == nil") 2766 } 2767 if that1.NullableTimestamp == nil { 2768 if this.NullableTimestamp != nil { 2769 return fmt.Errorf("this.NullableTimestamp != nil && that1.NullableTimestamp == nil") 2770 } 2771 } else if !this.NullableTimestamp.Equal(*that1.NullableTimestamp) { 2772 return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", this.NullableTimestamp, that1.NullableTimestamp) 2773 } 2774 if this.NullableDuration != nil && that1.NullableDuration != nil { 2775 if *this.NullableDuration != *that1.NullableDuration { 2776 return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", *this.NullableDuration, *that1.NullableDuration) 2777 } 2778 } else if this.NullableDuration != nil { 2779 return fmt.Errorf("this.NullableDuration == nil && that.NullableDuration != nil") 2780 } else if that1.NullableDuration != nil { 2781 return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", this.NullableDuration, that1.NullableDuration) 2782 } 2783 if this.NullableDouble != nil && that1.NullableDouble != nil { 2784 if *this.NullableDouble != *that1.NullableDouble { 2785 return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", *this.NullableDouble, *that1.NullableDouble) 2786 } 2787 } else if this.NullableDouble != nil { 2788 return fmt.Errorf("this.NullableDouble == nil && that.NullableDouble != nil") 2789 } else if that1.NullableDouble != nil { 2790 return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", this.NullableDouble, that1.NullableDouble) 2791 } 2792 if this.NullableFloat != nil && that1.NullableFloat != nil { 2793 if *this.NullableFloat != *that1.NullableFloat { 2794 return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", *this.NullableFloat, *that1.NullableFloat) 2795 } 2796 } else if this.NullableFloat != nil { 2797 return fmt.Errorf("this.NullableFloat == nil && that.NullableFloat != nil") 2798 } else if that1.NullableFloat != nil { 2799 return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", this.NullableFloat, that1.NullableFloat) 2800 } 2801 if this.NullableInt64 != nil && that1.NullableInt64 != nil { 2802 if *this.NullableInt64 != *that1.NullableInt64 { 2803 return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", *this.NullableInt64, *that1.NullableInt64) 2804 } 2805 } else if this.NullableInt64 != nil { 2806 return fmt.Errorf("this.NullableInt64 == nil && that.NullableInt64 != nil") 2807 } else if that1.NullableInt64 != nil { 2808 return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", this.NullableInt64, that1.NullableInt64) 2809 } 2810 if this.NullableUInt64 != nil && that1.NullableUInt64 != nil { 2811 if *this.NullableUInt64 != *that1.NullableUInt64 { 2812 return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", *this.NullableUInt64, *that1.NullableUInt64) 2813 } 2814 } else if this.NullableUInt64 != nil { 2815 return fmt.Errorf("this.NullableUInt64 == nil && that.NullableUInt64 != nil") 2816 } else if that1.NullableUInt64 != nil { 2817 return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", this.NullableUInt64, that1.NullableUInt64) 2818 } 2819 if this.NullableInt32 != nil && that1.NullableInt32 != nil { 2820 if *this.NullableInt32 != *that1.NullableInt32 { 2821 return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", *this.NullableInt32, *that1.NullableInt32) 2822 } 2823 } else if this.NullableInt32 != nil { 2824 return fmt.Errorf("this.NullableInt32 == nil && that.NullableInt32 != nil") 2825 } else if that1.NullableInt32 != nil { 2826 return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", this.NullableInt32, that1.NullableInt32) 2827 } 2828 if this.NullableUInt32 != nil && that1.NullableUInt32 != nil { 2829 if *this.NullableUInt32 != *that1.NullableUInt32 { 2830 return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", *this.NullableUInt32, *that1.NullableUInt32) 2831 } 2832 } else if this.NullableUInt32 != nil { 2833 return fmt.Errorf("this.NullableUInt32 == nil && that.NullableUInt32 != nil") 2834 } else if that1.NullableUInt32 != nil { 2835 return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", this.NullableUInt32, that1.NullableUInt32) 2836 } 2837 if this.NullableBool != nil && that1.NullableBool != nil { 2838 if *this.NullableBool != *that1.NullableBool { 2839 return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", *this.NullableBool, *that1.NullableBool) 2840 } 2841 } else if this.NullableBool != nil { 2842 return fmt.Errorf("this.NullableBool == nil && that.NullableBool != nil") 2843 } else if that1.NullableBool != nil { 2844 return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", this.NullableBool, that1.NullableBool) 2845 } 2846 if this.NullableString != nil && that1.NullableString != nil { 2847 if *this.NullableString != *that1.NullableString { 2848 return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", *this.NullableString, *that1.NullableString) 2849 } 2850 } else if this.NullableString != nil { 2851 return fmt.Errorf("this.NullableString == nil && that.NullableString != nil") 2852 } else if that1.NullableString != nil { 2853 return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", this.NullableString, that1.NullableString) 2854 } 2855 if that1.NullableBytes == nil { 2856 if this.NullableBytes != nil { 2857 return fmt.Errorf("this.NullableBytes != nil && that1.NullableBytes == nil") 2858 } 2859 } else if !bytes.Equal(*this.NullableBytes, *that1.NullableBytes) { 2860 return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", this.NullableBytes, that1.NullableBytes) 2861 } 2862 if !this.Timestamp.Equal(that1.Timestamp) { 2863 return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) 2864 } 2865 if this.Duration != that1.Duration { 2866 return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) 2867 } 2868 if this.NonnullDouble != that1.NonnullDouble { 2869 return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", this.NonnullDouble, that1.NonnullDouble) 2870 } 2871 if this.NonnullFloat != that1.NonnullFloat { 2872 return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", this.NonnullFloat, that1.NonnullFloat) 2873 } 2874 if this.NonnullInt64 != that1.NonnullInt64 { 2875 return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", this.NonnullInt64, that1.NonnullInt64) 2876 } 2877 if this.NonnullUInt64 != that1.NonnullUInt64 { 2878 return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", this.NonnullUInt64, that1.NonnullUInt64) 2879 } 2880 if this.NonnullInt32 != that1.NonnullInt32 { 2881 return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", this.NonnullInt32, that1.NonnullInt32) 2882 } 2883 if this.NonnullUInt32 != that1.NonnullUInt32 { 2884 return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", this.NonnullUInt32, that1.NonnullUInt32) 2885 } 2886 if this.NonnullBool != that1.NonnullBool { 2887 return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", this.NonnullBool, that1.NonnullBool) 2888 } 2889 if this.NonnullString != that1.NonnullString { 2890 return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", this.NonnullString, that1.NonnullString) 2891 } 2892 if !bytes.Equal(this.NonnullBytes, that1.NonnullBytes) { 2893 return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", this.NonnullBytes, that1.NonnullBytes) 2894 } 2895 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2896 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 2897 } 2898 return nil 2899 } 2900 func (this *StdTypes) Equal(that interface{}) bool { 2901 if that == nil { 2902 return this == nil 2903 } 2904 2905 that1, ok := that.(*StdTypes) 2906 if !ok { 2907 that2, ok := that.(StdTypes) 2908 if ok { 2909 that1 = &that2 2910 } else { 2911 return false 2912 } 2913 } 2914 if that1 == nil { 2915 return this == nil 2916 } else if this == nil { 2917 return false 2918 } 2919 if that1.NullableTimestamp == nil { 2920 if this.NullableTimestamp != nil { 2921 return false 2922 } 2923 } else if !this.NullableTimestamp.Equal(*that1.NullableTimestamp) { 2924 return false 2925 } 2926 if this.NullableDuration != nil && that1.NullableDuration != nil { 2927 if *this.NullableDuration != *that1.NullableDuration { 2928 return false 2929 } 2930 } else if this.NullableDuration != nil { 2931 return false 2932 } else if that1.NullableDuration != nil { 2933 return false 2934 } 2935 if this.NullableDouble != nil && that1.NullableDouble != nil { 2936 if *this.NullableDouble != *that1.NullableDouble { 2937 return false 2938 } 2939 } else if this.NullableDouble != nil { 2940 return false 2941 } else if that1.NullableDouble != nil { 2942 return false 2943 } 2944 if this.NullableFloat != nil && that1.NullableFloat != nil { 2945 if *this.NullableFloat != *that1.NullableFloat { 2946 return false 2947 } 2948 } else if this.NullableFloat != nil { 2949 return false 2950 } else if that1.NullableFloat != nil { 2951 return false 2952 } 2953 if this.NullableInt64 != nil && that1.NullableInt64 != nil { 2954 if *this.NullableInt64 != *that1.NullableInt64 { 2955 return false 2956 } 2957 } else if this.NullableInt64 != nil { 2958 return false 2959 } else if that1.NullableInt64 != nil { 2960 return false 2961 } 2962 if this.NullableUInt64 != nil && that1.NullableUInt64 != nil { 2963 if *this.NullableUInt64 != *that1.NullableUInt64 { 2964 return false 2965 } 2966 } else if this.NullableUInt64 != nil { 2967 return false 2968 } else if that1.NullableUInt64 != nil { 2969 return false 2970 } 2971 if this.NullableInt32 != nil && that1.NullableInt32 != nil { 2972 if *this.NullableInt32 != *that1.NullableInt32 { 2973 return false 2974 } 2975 } else if this.NullableInt32 != nil { 2976 return false 2977 } else if that1.NullableInt32 != nil { 2978 return false 2979 } 2980 if this.NullableUInt32 != nil && that1.NullableUInt32 != nil { 2981 if *this.NullableUInt32 != *that1.NullableUInt32 { 2982 return false 2983 } 2984 } else if this.NullableUInt32 != nil { 2985 return false 2986 } else if that1.NullableUInt32 != nil { 2987 return false 2988 } 2989 if this.NullableBool != nil && that1.NullableBool != nil { 2990 if *this.NullableBool != *that1.NullableBool { 2991 return false 2992 } 2993 } else if this.NullableBool != nil { 2994 return false 2995 } else if that1.NullableBool != nil { 2996 return false 2997 } 2998 if this.NullableString != nil && that1.NullableString != nil { 2999 if *this.NullableString != *that1.NullableString { 3000 return false 3001 } 3002 } else if this.NullableString != nil { 3003 return false 3004 } else if that1.NullableString != nil { 3005 return false 3006 } 3007 if that1.NullableBytes == nil { 3008 if this.NullableBytes != nil { 3009 return false 3010 } 3011 } else if !bytes.Equal(*this.NullableBytes, *that1.NullableBytes) { 3012 return false 3013 } 3014 if !this.Timestamp.Equal(that1.Timestamp) { 3015 return false 3016 } 3017 if this.Duration != that1.Duration { 3018 return false 3019 } 3020 if this.NonnullDouble != that1.NonnullDouble { 3021 return false 3022 } 3023 if this.NonnullFloat != that1.NonnullFloat { 3024 return false 3025 } 3026 if this.NonnullInt64 != that1.NonnullInt64 { 3027 return false 3028 } 3029 if this.NonnullUInt64 != that1.NonnullUInt64 { 3030 return false 3031 } 3032 if this.NonnullInt32 != that1.NonnullInt32 { 3033 return false 3034 } 3035 if this.NonnullUInt32 != that1.NonnullUInt32 { 3036 return false 3037 } 3038 if this.NonnullBool != that1.NonnullBool { 3039 return false 3040 } 3041 if this.NonnullString != that1.NonnullString { 3042 return false 3043 } 3044 if !bytes.Equal(this.NonnullBytes, that1.NonnullBytes) { 3045 return false 3046 } 3047 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 3048 return false 3049 } 3050 return true 3051 } 3052 func (this *RepProtoTypes) VerboseEqual(that interface{}) error { 3053 if that == nil { 3054 if this == nil { 3055 return nil 3056 } 3057 return fmt.Errorf("that == nil && this != nil") 3058 } 3059 3060 that1, ok := that.(*RepProtoTypes) 3061 if !ok { 3062 that2, ok := that.(RepProtoTypes) 3063 if ok { 3064 that1 = &that2 3065 } else { 3066 return fmt.Errorf("that is not of type *RepProtoTypes") 3067 } 3068 } 3069 if that1 == nil { 3070 if this == nil { 3071 return nil 3072 } 3073 return fmt.Errorf("that is type *RepProtoTypes but is nil && this != nil") 3074 } else if this == nil { 3075 return fmt.Errorf("that is type *RepProtoTypes but is not nil && this == nil") 3076 } 3077 if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { 3078 return fmt.Errorf("NullableTimestamps this(%v) Not Equal that(%v)", len(this.NullableTimestamps), len(that1.NullableTimestamps)) 3079 } 3080 for i := range this.NullableTimestamps { 3081 if !this.NullableTimestamps[i].Equal(that1.NullableTimestamps[i]) { 3082 return fmt.Errorf("NullableTimestamps this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamps[i], i, that1.NullableTimestamps[i]) 3083 } 3084 } 3085 if len(this.NullableDurations) != len(that1.NullableDurations) { 3086 return fmt.Errorf("NullableDurations this(%v) Not Equal that(%v)", len(this.NullableDurations), len(that1.NullableDurations)) 3087 } 3088 for i := range this.NullableDurations { 3089 if !this.NullableDurations[i].Equal(that1.NullableDurations[i]) { 3090 return fmt.Errorf("NullableDurations this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDurations[i], i, that1.NullableDurations[i]) 3091 } 3092 } 3093 if len(this.Timestamps) != len(that1.Timestamps) { 3094 return fmt.Errorf("Timestamps this(%v) Not Equal that(%v)", len(this.Timestamps), len(that1.Timestamps)) 3095 } 3096 for i := range this.Timestamps { 3097 if !this.Timestamps[i].Equal(&that1.Timestamps[i]) { 3098 return fmt.Errorf("Timestamps this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamps[i], i, that1.Timestamps[i]) 3099 } 3100 } 3101 if len(this.Durations) != len(that1.Durations) { 3102 return fmt.Errorf("Durations this(%v) Not Equal that(%v)", len(this.Durations), len(that1.Durations)) 3103 } 3104 for i := range this.Durations { 3105 if !this.Durations[i].Equal(&that1.Durations[i]) { 3106 return fmt.Errorf("Durations this[%v](%v) Not Equal that[%v](%v)", i, this.Durations[i], i, that1.Durations[i]) 3107 } 3108 } 3109 if len(this.NullableDouble) != len(that1.NullableDouble) { 3110 return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) 3111 } 3112 for i := range this.NullableDouble { 3113 if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { 3114 return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) 3115 } 3116 } 3117 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 3118 return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) 3119 } 3120 for i := range this.NonnullDouble { 3121 if !this.NonnullDouble[i].Equal(&that1.NonnullDouble[i]) { 3122 return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) 3123 } 3124 } 3125 if len(this.NullableFloat) != len(that1.NullableFloat) { 3126 return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) 3127 } 3128 for i := range this.NullableFloat { 3129 if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { 3130 return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) 3131 } 3132 } 3133 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 3134 return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) 3135 } 3136 for i := range this.NonnullFloat { 3137 if !this.NonnullFloat[i].Equal(&that1.NonnullFloat[i]) { 3138 return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) 3139 } 3140 } 3141 if len(this.NullableInt64) != len(that1.NullableInt64) { 3142 return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) 3143 } 3144 for i := range this.NullableInt64 { 3145 if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { 3146 return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) 3147 } 3148 } 3149 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 3150 return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) 3151 } 3152 for i := range this.NonnullInt64 { 3153 if !this.NonnullInt64[i].Equal(&that1.NonnullInt64[i]) { 3154 return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) 3155 } 3156 } 3157 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 3158 return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) 3159 } 3160 for i := range this.NullableUInt64 { 3161 if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { 3162 return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) 3163 } 3164 } 3165 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 3166 return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) 3167 } 3168 for i := range this.NonnullUInt64 { 3169 if !this.NonnullUInt64[i].Equal(&that1.NonnullUInt64[i]) { 3170 return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) 3171 } 3172 } 3173 if len(this.NullableInt32) != len(that1.NullableInt32) { 3174 return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) 3175 } 3176 for i := range this.NullableInt32 { 3177 if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { 3178 return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) 3179 } 3180 } 3181 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 3182 return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) 3183 } 3184 for i := range this.NonnullInt32 { 3185 if !this.NonnullInt32[i].Equal(&that1.NonnullInt32[i]) { 3186 return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) 3187 } 3188 } 3189 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 3190 return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) 3191 } 3192 for i := range this.NullableUInt32 { 3193 if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { 3194 return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) 3195 } 3196 } 3197 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 3198 return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) 3199 } 3200 for i := range this.NonnullUInt32 { 3201 if !this.NonnullUInt32[i].Equal(&that1.NonnullUInt32[i]) { 3202 return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) 3203 } 3204 } 3205 if len(this.NullableBool) != len(that1.NullableBool) { 3206 return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) 3207 } 3208 for i := range this.NullableBool { 3209 if !this.NullableBool[i].Equal(that1.NullableBool[i]) { 3210 return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) 3211 } 3212 } 3213 if len(this.NonnullBool) != len(that1.NonnullBool) { 3214 return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) 3215 } 3216 for i := range this.NonnullBool { 3217 if !this.NonnullBool[i].Equal(&that1.NonnullBool[i]) { 3218 return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) 3219 } 3220 } 3221 if len(this.NullableString) != len(that1.NullableString) { 3222 return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) 3223 } 3224 for i := range this.NullableString { 3225 if !this.NullableString[i].Equal(that1.NullableString[i]) { 3226 return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) 3227 } 3228 } 3229 if len(this.NonnullString) != len(that1.NonnullString) { 3230 return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) 3231 } 3232 for i := range this.NonnullString { 3233 if !this.NonnullString[i].Equal(&that1.NonnullString[i]) { 3234 return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) 3235 } 3236 } 3237 if len(this.NullableBytes) != len(that1.NullableBytes) { 3238 return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) 3239 } 3240 for i := range this.NullableBytes { 3241 if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { 3242 return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) 3243 } 3244 } 3245 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 3246 return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) 3247 } 3248 for i := range this.NonnullBytes { 3249 if !this.NonnullBytes[i].Equal(&that1.NonnullBytes[i]) { 3250 return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) 3251 } 3252 } 3253 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 3254 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 3255 } 3256 return nil 3257 } 3258 func (this *RepProtoTypes) Equal(that interface{}) bool { 3259 if that == nil { 3260 return this == nil 3261 } 3262 3263 that1, ok := that.(*RepProtoTypes) 3264 if !ok { 3265 that2, ok := that.(RepProtoTypes) 3266 if ok { 3267 that1 = &that2 3268 } else { 3269 return false 3270 } 3271 } 3272 if that1 == nil { 3273 return this == nil 3274 } else if this == nil { 3275 return false 3276 } 3277 if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { 3278 return false 3279 } 3280 for i := range this.NullableTimestamps { 3281 if !this.NullableTimestamps[i].Equal(that1.NullableTimestamps[i]) { 3282 return false 3283 } 3284 } 3285 if len(this.NullableDurations) != len(that1.NullableDurations) { 3286 return false 3287 } 3288 for i := range this.NullableDurations { 3289 if !this.NullableDurations[i].Equal(that1.NullableDurations[i]) { 3290 return false 3291 } 3292 } 3293 if len(this.Timestamps) != len(that1.Timestamps) { 3294 return false 3295 } 3296 for i := range this.Timestamps { 3297 if !this.Timestamps[i].Equal(&that1.Timestamps[i]) { 3298 return false 3299 } 3300 } 3301 if len(this.Durations) != len(that1.Durations) { 3302 return false 3303 } 3304 for i := range this.Durations { 3305 if !this.Durations[i].Equal(&that1.Durations[i]) { 3306 return false 3307 } 3308 } 3309 if len(this.NullableDouble) != len(that1.NullableDouble) { 3310 return false 3311 } 3312 for i := range this.NullableDouble { 3313 if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { 3314 return false 3315 } 3316 } 3317 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 3318 return false 3319 } 3320 for i := range this.NonnullDouble { 3321 if !this.NonnullDouble[i].Equal(&that1.NonnullDouble[i]) { 3322 return false 3323 } 3324 } 3325 if len(this.NullableFloat) != len(that1.NullableFloat) { 3326 return false 3327 } 3328 for i := range this.NullableFloat { 3329 if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { 3330 return false 3331 } 3332 } 3333 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 3334 return false 3335 } 3336 for i := range this.NonnullFloat { 3337 if !this.NonnullFloat[i].Equal(&that1.NonnullFloat[i]) { 3338 return false 3339 } 3340 } 3341 if len(this.NullableInt64) != len(that1.NullableInt64) { 3342 return false 3343 } 3344 for i := range this.NullableInt64 { 3345 if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { 3346 return false 3347 } 3348 } 3349 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 3350 return false 3351 } 3352 for i := range this.NonnullInt64 { 3353 if !this.NonnullInt64[i].Equal(&that1.NonnullInt64[i]) { 3354 return false 3355 } 3356 } 3357 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 3358 return false 3359 } 3360 for i := range this.NullableUInt64 { 3361 if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { 3362 return false 3363 } 3364 } 3365 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 3366 return false 3367 } 3368 for i := range this.NonnullUInt64 { 3369 if !this.NonnullUInt64[i].Equal(&that1.NonnullUInt64[i]) { 3370 return false 3371 } 3372 } 3373 if len(this.NullableInt32) != len(that1.NullableInt32) { 3374 return false 3375 } 3376 for i := range this.NullableInt32 { 3377 if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { 3378 return false 3379 } 3380 } 3381 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 3382 return false 3383 } 3384 for i := range this.NonnullInt32 { 3385 if !this.NonnullInt32[i].Equal(&that1.NonnullInt32[i]) { 3386 return false 3387 } 3388 } 3389 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 3390 return false 3391 } 3392 for i := range this.NullableUInt32 { 3393 if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { 3394 return false 3395 } 3396 } 3397 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 3398 return false 3399 } 3400 for i := range this.NonnullUInt32 { 3401 if !this.NonnullUInt32[i].Equal(&that1.NonnullUInt32[i]) { 3402 return false 3403 } 3404 } 3405 if len(this.NullableBool) != len(that1.NullableBool) { 3406 return false 3407 } 3408 for i := range this.NullableBool { 3409 if !this.NullableBool[i].Equal(that1.NullableBool[i]) { 3410 return false 3411 } 3412 } 3413 if len(this.NonnullBool) != len(that1.NonnullBool) { 3414 return false 3415 } 3416 for i := range this.NonnullBool { 3417 if !this.NonnullBool[i].Equal(&that1.NonnullBool[i]) { 3418 return false 3419 } 3420 } 3421 if len(this.NullableString) != len(that1.NullableString) { 3422 return false 3423 } 3424 for i := range this.NullableString { 3425 if !this.NullableString[i].Equal(that1.NullableString[i]) { 3426 return false 3427 } 3428 } 3429 if len(this.NonnullString) != len(that1.NonnullString) { 3430 return false 3431 } 3432 for i := range this.NonnullString { 3433 if !this.NonnullString[i].Equal(&that1.NonnullString[i]) { 3434 return false 3435 } 3436 } 3437 if len(this.NullableBytes) != len(that1.NullableBytes) { 3438 return false 3439 } 3440 for i := range this.NullableBytes { 3441 if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { 3442 return false 3443 } 3444 } 3445 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 3446 return false 3447 } 3448 for i := range this.NonnullBytes { 3449 if !this.NonnullBytes[i].Equal(&that1.NonnullBytes[i]) { 3450 return false 3451 } 3452 } 3453 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 3454 return false 3455 } 3456 return true 3457 } 3458 func (this *RepStdTypes) VerboseEqual(that interface{}) error { 3459 if that == nil { 3460 if this == nil { 3461 return nil 3462 } 3463 return fmt.Errorf("that == nil && this != nil") 3464 } 3465 3466 that1, ok := that.(*RepStdTypes) 3467 if !ok { 3468 that2, ok := that.(RepStdTypes) 3469 if ok { 3470 that1 = &that2 3471 } else { 3472 return fmt.Errorf("that is not of type *RepStdTypes") 3473 } 3474 } 3475 if that1 == nil { 3476 if this == nil { 3477 return nil 3478 } 3479 return fmt.Errorf("that is type *RepStdTypes but is nil && this != nil") 3480 } else if this == nil { 3481 return fmt.Errorf("that is type *RepStdTypes but is not nil && this == nil") 3482 } 3483 if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { 3484 return fmt.Errorf("NullableTimestamps this(%v) Not Equal that(%v)", len(this.NullableTimestamps), len(that1.NullableTimestamps)) 3485 } 3486 for i := range this.NullableTimestamps { 3487 if !this.NullableTimestamps[i].Equal(*that1.NullableTimestamps[i]) { 3488 return fmt.Errorf("NullableTimestamps this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamps[i], i, that1.NullableTimestamps[i]) 3489 } 3490 } 3491 if len(this.NullableDurations) != len(that1.NullableDurations) { 3492 return fmt.Errorf("NullableDurations this(%v) Not Equal that(%v)", len(this.NullableDurations), len(that1.NullableDurations)) 3493 } 3494 for i := range this.NullableDurations { 3495 if dthis, dthat := this.NullableDurations[i], that1.NullableDurations[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3496 return fmt.Errorf("NullableDurations this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDurations[i], i, that1.NullableDurations[i]) 3497 } 3498 } 3499 if len(this.Timestamps) != len(that1.Timestamps) { 3500 return fmt.Errorf("Timestamps this(%v) Not Equal that(%v)", len(this.Timestamps), len(that1.Timestamps)) 3501 } 3502 for i := range this.Timestamps { 3503 if !this.Timestamps[i].Equal(that1.Timestamps[i]) { 3504 return fmt.Errorf("Timestamps this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamps[i], i, that1.Timestamps[i]) 3505 } 3506 } 3507 if len(this.Durations) != len(that1.Durations) { 3508 return fmt.Errorf("Durations this(%v) Not Equal that(%v)", len(this.Durations), len(that1.Durations)) 3509 } 3510 for i := range this.Durations { 3511 if this.Durations[i] != that1.Durations[i] { 3512 return fmt.Errorf("Durations this[%v](%v) Not Equal that[%v](%v)", i, this.Durations[i], i, that1.Durations[i]) 3513 } 3514 } 3515 if len(this.NullableDouble) != len(that1.NullableDouble) { 3516 return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) 3517 } 3518 for i := range this.NullableDouble { 3519 if dthis, dthat := this.NullableDouble[i], that1.NullableDouble[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3520 return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) 3521 } 3522 } 3523 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 3524 return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) 3525 } 3526 for i := range this.NonnullDouble { 3527 if this.NonnullDouble[i] != that1.NonnullDouble[i] { 3528 return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) 3529 } 3530 } 3531 if len(this.NullableFloat) != len(that1.NullableFloat) { 3532 return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) 3533 } 3534 for i := range this.NullableFloat { 3535 if dthis, dthat := this.NullableFloat[i], that1.NullableFloat[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3536 return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) 3537 } 3538 } 3539 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 3540 return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) 3541 } 3542 for i := range this.NonnullFloat { 3543 if this.NonnullFloat[i] != that1.NonnullFloat[i] { 3544 return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) 3545 } 3546 } 3547 if len(this.NullableInt64) != len(that1.NullableInt64) { 3548 return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) 3549 } 3550 for i := range this.NullableInt64 { 3551 if dthis, dthat := this.NullableInt64[i], that1.NullableInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3552 return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) 3553 } 3554 } 3555 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 3556 return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) 3557 } 3558 for i := range this.NonnullInt64 { 3559 if this.NonnullInt64[i] != that1.NonnullInt64[i] { 3560 return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) 3561 } 3562 } 3563 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 3564 return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) 3565 } 3566 for i := range this.NullableUInt64 { 3567 if dthis, dthat := this.NullableUInt64[i], that1.NullableUInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3568 return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) 3569 } 3570 } 3571 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 3572 return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) 3573 } 3574 for i := range this.NonnullUInt64 { 3575 if this.NonnullUInt64[i] != that1.NonnullUInt64[i] { 3576 return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) 3577 } 3578 } 3579 if len(this.NullableInt32) != len(that1.NullableInt32) { 3580 return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) 3581 } 3582 for i := range this.NullableInt32 { 3583 if dthis, dthat := this.NullableInt32[i], that1.NullableInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3584 return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) 3585 } 3586 } 3587 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 3588 return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) 3589 } 3590 for i := range this.NonnullInt32 { 3591 if this.NonnullInt32[i] != that1.NonnullInt32[i] { 3592 return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) 3593 } 3594 } 3595 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 3596 return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) 3597 } 3598 for i := range this.NullableUInt32 { 3599 if dthis, dthat := this.NullableUInt32[i], that1.NullableUInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3600 return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) 3601 } 3602 } 3603 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 3604 return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) 3605 } 3606 for i := range this.NonnullUInt32 { 3607 if this.NonnullUInt32[i] != that1.NonnullUInt32[i] { 3608 return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) 3609 } 3610 } 3611 if len(this.NullableBool) != len(that1.NullableBool) { 3612 return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) 3613 } 3614 for i := range this.NullableBool { 3615 if dthis, dthat := this.NullableBool[i], that1.NullableBool[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3616 return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) 3617 } 3618 } 3619 if len(this.NonnullBool) != len(that1.NonnullBool) { 3620 return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) 3621 } 3622 for i := range this.NonnullBool { 3623 if this.NonnullBool[i] != that1.NonnullBool[i] { 3624 return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) 3625 } 3626 } 3627 if len(this.NullableString) != len(that1.NullableString) { 3628 return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) 3629 } 3630 for i := range this.NullableString { 3631 if dthis, dthat := this.NullableString[i], that1.NullableString[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3632 return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) 3633 } 3634 } 3635 if len(this.NonnullString) != len(that1.NonnullString) { 3636 return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) 3637 } 3638 for i := range this.NonnullString { 3639 if this.NonnullString[i] != that1.NonnullString[i] { 3640 return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) 3641 } 3642 } 3643 if len(this.NullableBytes) != len(that1.NullableBytes) { 3644 return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) 3645 } 3646 for i := range this.NullableBytes { 3647 if !bytes.Equal(*this.NullableBytes[i], *that1.NullableBytes[i]) { 3648 return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) 3649 } 3650 } 3651 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 3652 return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) 3653 } 3654 for i := range this.NonnullBytes { 3655 if !bytes.Equal(this.NonnullBytes[i], that1.NonnullBytes[i]) { 3656 return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) 3657 } 3658 } 3659 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 3660 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 3661 } 3662 return nil 3663 } 3664 func (this *RepStdTypes) Equal(that interface{}) bool { 3665 if that == nil { 3666 return this == nil 3667 } 3668 3669 that1, ok := that.(*RepStdTypes) 3670 if !ok { 3671 that2, ok := that.(RepStdTypes) 3672 if ok { 3673 that1 = &that2 3674 } else { 3675 return false 3676 } 3677 } 3678 if that1 == nil { 3679 return this == nil 3680 } else if this == nil { 3681 return false 3682 } 3683 if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { 3684 return false 3685 } 3686 for i := range this.NullableTimestamps { 3687 if !this.NullableTimestamps[i].Equal(*that1.NullableTimestamps[i]) { 3688 return false 3689 } 3690 } 3691 if len(this.NullableDurations) != len(that1.NullableDurations) { 3692 return false 3693 } 3694 for i := range this.NullableDurations { 3695 if dthis, dthat := this.NullableDurations[i], that1.NullableDurations[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3696 return false 3697 } 3698 } 3699 if len(this.Timestamps) != len(that1.Timestamps) { 3700 return false 3701 } 3702 for i := range this.Timestamps { 3703 if !this.Timestamps[i].Equal(that1.Timestamps[i]) { 3704 return false 3705 } 3706 } 3707 if len(this.Durations) != len(that1.Durations) { 3708 return false 3709 } 3710 for i := range this.Durations { 3711 if this.Durations[i] != that1.Durations[i] { 3712 return false 3713 } 3714 } 3715 if len(this.NullableDouble) != len(that1.NullableDouble) { 3716 return false 3717 } 3718 for i := range this.NullableDouble { 3719 if dthis, dthat := this.NullableDouble[i], that1.NullableDouble[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3720 return false 3721 } 3722 } 3723 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 3724 return false 3725 } 3726 for i := range this.NonnullDouble { 3727 if this.NonnullDouble[i] != that1.NonnullDouble[i] { 3728 return false 3729 } 3730 } 3731 if len(this.NullableFloat) != len(that1.NullableFloat) { 3732 return false 3733 } 3734 for i := range this.NullableFloat { 3735 if dthis, dthat := this.NullableFloat[i], that1.NullableFloat[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3736 return false 3737 } 3738 } 3739 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 3740 return false 3741 } 3742 for i := range this.NonnullFloat { 3743 if this.NonnullFloat[i] != that1.NonnullFloat[i] { 3744 return false 3745 } 3746 } 3747 if len(this.NullableInt64) != len(that1.NullableInt64) { 3748 return false 3749 } 3750 for i := range this.NullableInt64 { 3751 if dthis, dthat := this.NullableInt64[i], that1.NullableInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3752 return false 3753 } 3754 } 3755 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 3756 return false 3757 } 3758 for i := range this.NonnullInt64 { 3759 if this.NonnullInt64[i] != that1.NonnullInt64[i] { 3760 return false 3761 } 3762 } 3763 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 3764 return false 3765 } 3766 for i := range this.NullableUInt64 { 3767 if dthis, dthat := this.NullableUInt64[i], that1.NullableUInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3768 return false 3769 } 3770 } 3771 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 3772 return false 3773 } 3774 for i := range this.NonnullUInt64 { 3775 if this.NonnullUInt64[i] != that1.NonnullUInt64[i] { 3776 return false 3777 } 3778 } 3779 if len(this.NullableInt32) != len(that1.NullableInt32) { 3780 return false 3781 } 3782 for i := range this.NullableInt32 { 3783 if dthis, dthat := this.NullableInt32[i], that1.NullableInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3784 return false 3785 } 3786 } 3787 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 3788 return false 3789 } 3790 for i := range this.NonnullInt32 { 3791 if this.NonnullInt32[i] != that1.NonnullInt32[i] { 3792 return false 3793 } 3794 } 3795 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 3796 return false 3797 } 3798 for i := range this.NullableUInt32 { 3799 if dthis, dthat := this.NullableUInt32[i], that1.NullableUInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3800 return false 3801 } 3802 } 3803 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 3804 return false 3805 } 3806 for i := range this.NonnullUInt32 { 3807 if this.NonnullUInt32[i] != that1.NonnullUInt32[i] { 3808 return false 3809 } 3810 } 3811 if len(this.NullableBool) != len(that1.NullableBool) { 3812 return false 3813 } 3814 for i := range this.NullableBool { 3815 if dthis, dthat := this.NullableBool[i], that1.NullableBool[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3816 return false 3817 } 3818 } 3819 if len(this.NonnullBool) != len(that1.NonnullBool) { 3820 return false 3821 } 3822 for i := range this.NonnullBool { 3823 if this.NonnullBool[i] != that1.NonnullBool[i] { 3824 return false 3825 } 3826 } 3827 if len(this.NullableString) != len(that1.NullableString) { 3828 return false 3829 } 3830 for i := range this.NullableString { 3831 if dthis, dthat := this.NullableString[i], that1.NullableString[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3832 return false 3833 } 3834 } 3835 if len(this.NonnullString) != len(that1.NonnullString) { 3836 return false 3837 } 3838 for i := range this.NonnullString { 3839 if this.NonnullString[i] != that1.NonnullString[i] { 3840 return false 3841 } 3842 } 3843 if len(this.NullableBytes) != len(that1.NullableBytes) { 3844 return false 3845 } 3846 for i := range this.NullableBytes { 3847 if !bytes.Equal(*this.NullableBytes[i], *that1.NullableBytes[i]) { 3848 return false 3849 } 3850 } 3851 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 3852 return false 3853 } 3854 for i := range this.NonnullBytes { 3855 if !bytes.Equal(this.NonnullBytes[i], that1.NonnullBytes[i]) { 3856 return false 3857 } 3858 } 3859 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 3860 return false 3861 } 3862 return true 3863 } 3864 func (this *MapProtoTypes) VerboseEqual(that interface{}) error { 3865 if that == nil { 3866 if this == nil { 3867 return nil 3868 } 3869 return fmt.Errorf("that == nil && this != nil") 3870 } 3871 3872 that1, ok := that.(*MapProtoTypes) 3873 if !ok { 3874 that2, ok := that.(MapProtoTypes) 3875 if ok { 3876 that1 = &that2 3877 } else { 3878 return fmt.Errorf("that is not of type *MapProtoTypes") 3879 } 3880 } 3881 if that1 == nil { 3882 if this == nil { 3883 return nil 3884 } 3885 return fmt.Errorf("that is type *MapProtoTypes but is nil && this != nil") 3886 } else if this == nil { 3887 return fmt.Errorf("that is type *MapProtoTypes but is not nil && this == nil") 3888 } 3889 if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { 3890 return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", len(this.NullableTimestamp), len(that1.NullableTimestamp)) 3891 } 3892 for i := range this.NullableTimestamp { 3893 if !this.NullableTimestamp[i].Equal(that1.NullableTimestamp[i]) { 3894 return fmt.Errorf("NullableTimestamp this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamp[i], i, that1.NullableTimestamp[i]) 3895 } 3896 } 3897 if len(this.Timestamp) != len(that1.Timestamp) { 3898 return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", len(this.Timestamp), len(that1.Timestamp)) 3899 } 3900 for i := range this.Timestamp { 3901 a := this.Timestamp[i] 3902 b := that1.Timestamp[i] 3903 if !(&a).Equal(&b) { 3904 return fmt.Errorf("Timestamp this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamp[i], i, that1.Timestamp[i]) 3905 } 3906 } 3907 if len(this.NullableDuration) != len(that1.NullableDuration) { 3908 return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", len(this.NullableDuration), len(that1.NullableDuration)) 3909 } 3910 for i := range this.NullableDuration { 3911 if !this.NullableDuration[i].Equal(that1.NullableDuration[i]) { 3912 return fmt.Errorf("NullableDuration this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDuration[i], i, that1.NullableDuration[i]) 3913 } 3914 } 3915 if len(this.Duration) != len(that1.Duration) { 3916 return fmt.Errorf("Duration this(%v) Not Equal that(%v)", len(this.Duration), len(that1.Duration)) 3917 } 3918 for i := range this.Duration { 3919 a := this.Duration[i] 3920 b := that1.Duration[i] 3921 if !(&a).Equal(&b) { 3922 return fmt.Errorf("Duration this[%v](%v) Not Equal that[%v](%v)", i, this.Duration[i], i, that1.Duration[i]) 3923 } 3924 } 3925 if len(this.NullableDouble) != len(that1.NullableDouble) { 3926 return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) 3927 } 3928 for i := range this.NullableDouble { 3929 if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { 3930 return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) 3931 } 3932 } 3933 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 3934 return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) 3935 } 3936 for i := range this.NonnullDouble { 3937 a := this.NonnullDouble[i] 3938 b := that1.NonnullDouble[i] 3939 if !(&a).Equal(&b) { 3940 return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) 3941 } 3942 } 3943 if len(this.NullableFloat) != len(that1.NullableFloat) { 3944 return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) 3945 } 3946 for i := range this.NullableFloat { 3947 if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { 3948 return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) 3949 } 3950 } 3951 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 3952 return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) 3953 } 3954 for i := range this.NonnullFloat { 3955 a := this.NonnullFloat[i] 3956 b := that1.NonnullFloat[i] 3957 if !(&a).Equal(&b) { 3958 return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) 3959 } 3960 } 3961 if len(this.NullableInt64) != len(that1.NullableInt64) { 3962 return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) 3963 } 3964 for i := range this.NullableInt64 { 3965 if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { 3966 return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) 3967 } 3968 } 3969 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 3970 return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) 3971 } 3972 for i := range this.NonnullInt64 { 3973 a := this.NonnullInt64[i] 3974 b := that1.NonnullInt64[i] 3975 if !(&a).Equal(&b) { 3976 return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) 3977 } 3978 } 3979 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 3980 return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) 3981 } 3982 for i := range this.NullableUInt64 { 3983 if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { 3984 return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) 3985 } 3986 } 3987 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 3988 return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) 3989 } 3990 for i := range this.NonnullUInt64 { 3991 a := this.NonnullUInt64[i] 3992 b := that1.NonnullUInt64[i] 3993 if !(&a).Equal(&b) { 3994 return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) 3995 } 3996 } 3997 if len(this.NullableInt32) != len(that1.NullableInt32) { 3998 return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) 3999 } 4000 for i := range this.NullableInt32 { 4001 if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { 4002 return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) 4003 } 4004 } 4005 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 4006 return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) 4007 } 4008 for i := range this.NonnullInt32 { 4009 a := this.NonnullInt32[i] 4010 b := that1.NonnullInt32[i] 4011 if !(&a).Equal(&b) { 4012 return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) 4013 } 4014 } 4015 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 4016 return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) 4017 } 4018 for i := range this.NullableUInt32 { 4019 if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { 4020 return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) 4021 } 4022 } 4023 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 4024 return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) 4025 } 4026 for i := range this.NonnullUInt32 { 4027 a := this.NonnullUInt32[i] 4028 b := that1.NonnullUInt32[i] 4029 if !(&a).Equal(&b) { 4030 return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) 4031 } 4032 } 4033 if len(this.NullableBool) != len(that1.NullableBool) { 4034 return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) 4035 } 4036 for i := range this.NullableBool { 4037 if !this.NullableBool[i].Equal(that1.NullableBool[i]) { 4038 return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) 4039 } 4040 } 4041 if len(this.NonnullBool) != len(that1.NonnullBool) { 4042 return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) 4043 } 4044 for i := range this.NonnullBool { 4045 a := this.NonnullBool[i] 4046 b := that1.NonnullBool[i] 4047 if !(&a).Equal(&b) { 4048 return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) 4049 } 4050 } 4051 if len(this.NullableString) != len(that1.NullableString) { 4052 return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) 4053 } 4054 for i := range this.NullableString { 4055 if !this.NullableString[i].Equal(that1.NullableString[i]) { 4056 return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) 4057 } 4058 } 4059 if len(this.NonnullString) != len(that1.NonnullString) { 4060 return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) 4061 } 4062 for i := range this.NonnullString { 4063 a := this.NonnullString[i] 4064 b := that1.NonnullString[i] 4065 if !(&a).Equal(&b) { 4066 return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) 4067 } 4068 } 4069 if len(this.NullableBytes) != len(that1.NullableBytes) { 4070 return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) 4071 } 4072 for i := range this.NullableBytes { 4073 if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { 4074 return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) 4075 } 4076 } 4077 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 4078 return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) 4079 } 4080 for i := range this.NonnullBytes { 4081 a := this.NonnullBytes[i] 4082 b := that1.NonnullBytes[i] 4083 if !(&a).Equal(&b) { 4084 return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) 4085 } 4086 } 4087 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 4088 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 4089 } 4090 return nil 4091 } 4092 func (this *MapProtoTypes) Equal(that interface{}) bool { 4093 if that == nil { 4094 return this == nil 4095 } 4096 4097 that1, ok := that.(*MapProtoTypes) 4098 if !ok { 4099 that2, ok := that.(MapProtoTypes) 4100 if ok { 4101 that1 = &that2 4102 } else { 4103 return false 4104 } 4105 } 4106 if that1 == nil { 4107 return this == nil 4108 } else if this == nil { 4109 return false 4110 } 4111 if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { 4112 return false 4113 } 4114 for i := range this.NullableTimestamp { 4115 if !this.NullableTimestamp[i].Equal(that1.NullableTimestamp[i]) { 4116 return false 4117 } 4118 } 4119 if len(this.Timestamp) != len(that1.Timestamp) { 4120 return false 4121 } 4122 for i := range this.Timestamp { 4123 a := this.Timestamp[i] 4124 b := that1.Timestamp[i] 4125 if !(&a).Equal(&b) { 4126 return false 4127 } 4128 } 4129 if len(this.NullableDuration) != len(that1.NullableDuration) { 4130 return false 4131 } 4132 for i := range this.NullableDuration { 4133 if !this.NullableDuration[i].Equal(that1.NullableDuration[i]) { 4134 return false 4135 } 4136 } 4137 if len(this.Duration) != len(that1.Duration) { 4138 return false 4139 } 4140 for i := range this.Duration { 4141 a := this.Duration[i] 4142 b := that1.Duration[i] 4143 if !(&a).Equal(&b) { 4144 return false 4145 } 4146 } 4147 if len(this.NullableDouble) != len(that1.NullableDouble) { 4148 return false 4149 } 4150 for i := range this.NullableDouble { 4151 if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { 4152 return false 4153 } 4154 } 4155 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 4156 return false 4157 } 4158 for i := range this.NonnullDouble { 4159 a := this.NonnullDouble[i] 4160 b := that1.NonnullDouble[i] 4161 if !(&a).Equal(&b) { 4162 return false 4163 } 4164 } 4165 if len(this.NullableFloat) != len(that1.NullableFloat) { 4166 return false 4167 } 4168 for i := range this.NullableFloat { 4169 if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { 4170 return false 4171 } 4172 } 4173 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 4174 return false 4175 } 4176 for i := range this.NonnullFloat { 4177 a := this.NonnullFloat[i] 4178 b := that1.NonnullFloat[i] 4179 if !(&a).Equal(&b) { 4180 return false 4181 } 4182 } 4183 if len(this.NullableInt64) != len(that1.NullableInt64) { 4184 return false 4185 } 4186 for i := range this.NullableInt64 { 4187 if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { 4188 return false 4189 } 4190 } 4191 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 4192 return false 4193 } 4194 for i := range this.NonnullInt64 { 4195 a := this.NonnullInt64[i] 4196 b := that1.NonnullInt64[i] 4197 if !(&a).Equal(&b) { 4198 return false 4199 } 4200 } 4201 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 4202 return false 4203 } 4204 for i := range this.NullableUInt64 { 4205 if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { 4206 return false 4207 } 4208 } 4209 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 4210 return false 4211 } 4212 for i := range this.NonnullUInt64 { 4213 a := this.NonnullUInt64[i] 4214 b := that1.NonnullUInt64[i] 4215 if !(&a).Equal(&b) { 4216 return false 4217 } 4218 } 4219 if len(this.NullableInt32) != len(that1.NullableInt32) { 4220 return false 4221 } 4222 for i := range this.NullableInt32 { 4223 if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { 4224 return false 4225 } 4226 } 4227 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 4228 return false 4229 } 4230 for i := range this.NonnullInt32 { 4231 a := this.NonnullInt32[i] 4232 b := that1.NonnullInt32[i] 4233 if !(&a).Equal(&b) { 4234 return false 4235 } 4236 } 4237 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 4238 return false 4239 } 4240 for i := range this.NullableUInt32 { 4241 if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { 4242 return false 4243 } 4244 } 4245 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 4246 return false 4247 } 4248 for i := range this.NonnullUInt32 { 4249 a := this.NonnullUInt32[i] 4250 b := that1.NonnullUInt32[i] 4251 if !(&a).Equal(&b) { 4252 return false 4253 } 4254 } 4255 if len(this.NullableBool) != len(that1.NullableBool) { 4256 return false 4257 } 4258 for i := range this.NullableBool { 4259 if !this.NullableBool[i].Equal(that1.NullableBool[i]) { 4260 return false 4261 } 4262 } 4263 if len(this.NonnullBool) != len(that1.NonnullBool) { 4264 return false 4265 } 4266 for i := range this.NonnullBool { 4267 a := this.NonnullBool[i] 4268 b := that1.NonnullBool[i] 4269 if !(&a).Equal(&b) { 4270 return false 4271 } 4272 } 4273 if len(this.NullableString) != len(that1.NullableString) { 4274 return false 4275 } 4276 for i := range this.NullableString { 4277 if !this.NullableString[i].Equal(that1.NullableString[i]) { 4278 return false 4279 } 4280 } 4281 if len(this.NonnullString) != len(that1.NonnullString) { 4282 return false 4283 } 4284 for i := range this.NonnullString { 4285 a := this.NonnullString[i] 4286 b := that1.NonnullString[i] 4287 if !(&a).Equal(&b) { 4288 return false 4289 } 4290 } 4291 if len(this.NullableBytes) != len(that1.NullableBytes) { 4292 return false 4293 } 4294 for i := range this.NullableBytes { 4295 if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { 4296 return false 4297 } 4298 } 4299 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 4300 return false 4301 } 4302 for i := range this.NonnullBytes { 4303 a := this.NonnullBytes[i] 4304 b := that1.NonnullBytes[i] 4305 if !(&a).Equal(&b) { 4306 return false 4307 } 4308 } 4309 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 4310 return false 4311 } 4312 return true 4313 } 4314 func (this *MapStdTypes) VerboseEqual(that interface{}) error { 4315 if that == nil { 4316 if this == nil { 4317 return nil 4318 } 4319 return fmt.Errorf("that == nil && this != nil") 4320 } 4321 4322 that1, ok := that.(*MapStdTypes) 4323 if !ok { 4324 that2, ok := that.(MapStdTypes) 4325 if ok { 4326 that1 = &that2 4327 } else { 4328 return fmt.Errorf("that is not of type *MapStdTypes") 4329 } 4330 } 4331 if that1 == nil { 4332 if this == nil { 4333 return nil 4334 } 4335 return fmt.Errorf("that is type *MapStdTypes but is nil && this != nil") 4336 } else if this == nil { 4337 return fmt.Errorf("that is type *MapStdTypes but is not nil && this == nil") 4338 } 4339 if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { 4340 return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", len(this.NullableTimestamp), len(that1.NullableTimestamp)) 4341 } 4342 for i := range this.NullableTimestamp { 4343 if !this.NullableTimestamp[i].Equal(*that1.NullableTimestamp[i]) { 4344 return fmt.Errorf("NullableTimestamp this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamp[i], i, that1.NullableTimestamp[i]) 4345 } 4346 } 4347 if len(this.Timestamp) != len(that1.Timestamp) { 4348 return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", len(this.Timestamp), len(that1.Timestamp)) 4349 } 4350 for i := range this.Timestamp { 4351 if !this.Timestamp[i].Equal(that1.Timestamp[i]) { 4352 return fmt.Errorf("Timestamp this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamp[i], i, that1.Timestamp[i]) 4353 } 4354 } 4355 if len(this.NullableDuration) != len(that1.NullableDuration) { 4356 return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", len(this.NullableDuration), len(that1.NullableDuration)) 4357 } 4358 for i := range this.NullableDuration { 4359 if dthis, dthat := this.NullableDuration[i], that1.NullableDuration[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 4360 return fmt.Errorf("NullableDuration this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDuration[i], i, that1.NullableDuration[i]) 4361 } 4362 } 4363 if len(this.Duration) != len(that1.Duration) { 4364 return fmt.Errorf("Duration this(%v) Not Equal that(%v)", len(this.Duration), len(that1.Duration)) 4365 } 4366 for i := range this.Duration { 4367 if this.Duration[i] != that1.Duration[i] { 4368 return fmt.Errorf("Duration this[%v](%v) Not Equal that[%v](%v)", i, this.Duration[i], i, that1.Duration[i]) 4369 } 4370 } 4371 if len(this.NullableDouble) != len(that1.NullableDouble) { 4372 return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) 4373 } 4374 for i := range this.NullableDouble { 4375 a := this.NullableDouble[i] 4376 b := that1.NullableDouble[i] 4377 if *a != *b { 4378 return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) 4379 } 4380 } 4381 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 4382 return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) 4383 } 4384 for i := range this.NonnullDouble { 4385 a := this.NonnullDouble[i] 4386 b := that1.NonnullDouble[i] 4387 if a != b { 4388 return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) 4389 } 4390 } 4391 if len(this.NullableFloat) != len(that1.NullableFloat) { 4392 return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) 4393 } 4394 for i := range this.NullableFloat { 4395 a := this.NullableFloat[i] 4396 b := that1.NullableFloat[i] 4397 if *a != *b { 4398 return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) 4399 } 4400 } 4401 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 4402 return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) 4403 } 4404 for i := range this.NonnullFloat { 4405 a := this.NonnullFloat[i] 4406 b := that1.NonnullFloat[i] 4407 if a != b { 4408 return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) 4409 } 4410 } 4411 if len(this.NullableInt64) != len(that1.NullableInt64) { 4412 return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) 4413 } 4414 for i := range this.NullableInt64 { 4415 a := this.NullableInt64[i] 4416 b := that1.NullableInt64[i] 4417 if *a != *b { 4418 return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) 4419 } 4420 } 4421 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 4422 return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) 4423 } 4424 for i := range this.NonnullInt64 { 4425 a := this.NonnullInt64[i] 4426 b := that1.NonnullInt64[i] 4427 if a != b { 4428 return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) 4429 } 4430 } 4431 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 4432 return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) 4433 } 4434 for i := range this.NullableUInt64 { 4435 a := this.NullableUInt64[i] 4436 b := that1.NullableUInt64[i] 4437 if *a != *b { 4438 return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) 4439 } 4440 } 4441 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 4442 return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) 4443 } 4444 for i := range this.NonnullUInt64 { 4445 a := this.NonnullUInt64[i] 4446 b := that1.NonnullUInt64[i] 4447 if a != b { 4448 return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) 4449 } 4450 } 4451 if len(this.NullableInt32) != len(that1.NullableInt32) { 4452 return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) 4453 } 4454 for i := range this.NullableInt32 { 4455 a := this.NullableInt32[i] 4456 b := that1.NullableInt32[i] 4457 if *a != *b { 4458 return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) 4459 } 4460 } 4461 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 4462 return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) 4463 } 4464 for i := range this.NonnullInt32 { 4465 a := this.NonnullInt32[i] 4466 b := that1.NonnullInt32[i] 4467 if a != b { 4468 return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) 4469 } 4470 } 4471 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 4472 return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) 4473 } 4474 for i := range this.NullableUInt32 { 4475 a := this.NullableUInt32[i] 4476 b := that1.NullableUInt32[i] 4477 if *a != *b { 4478 return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) 4479 } 4480 } 4481 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 4482 return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) 4483 } 4484 for i := range this.NonnullUInt32 { 4485 a := this.NonnullUInt32[i] 4486 b := that1.NonnullUInt32[i] 4487 if a != b { 4488 return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) 4489 } 4490 } 4491 if len(this.NullableBool) != len(that1.NullableBool) { 4492 return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) 4493 } 4494 for i := range this.NullableBool { 4495 a := this.NullableBool[i] 4496 b := that1.NullableBool[i] 4497 if *a != *b { 4498 return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) 4499 } 4500 } 4501 if len(this.NonnullBool) != len(that1.NonnullBool) { 4502 return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) 4503 } 4504 for i := range this.NonnullBool { 4505 a := this.NonnullBool[i] 4506 b := that1.NonnullBool[i] 4507 if a != b { 4508 return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) 4509 } 4510 } 4511 if len(this.NullableString) != len(that1.NullableString) { 4512 return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) 4513 } 4514 for i := range this.NullableString { 4515 a := this.NullableString[i] 4516 b := that1.NullableString[i] 4517 if *a != *b { 4518 return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) 4519 } 4520 } 4521 if len(this.NonnullString) != len(that1.NonnullString) { 4522 return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) 4523 } 4524 for i := range this.NonnullString { 4525 a := this.NonnullString[i] 4526 b := that1.NonnullString[i] 4527 if a != b { 4528 return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) 4529 } 4530 } 4531 if len(this.NullableBytes) != len(that1.NullableBytes) { 4532 return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) 4533 } 4534 for i := range this.NullableBytes { 4535 a := this.NullableBytes[i] 4536 b := that1.NullableBytes[i] 4537 if !bytes.Equal(*a, *b) { 4538 return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) 4539 } 4540 } 4541 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 4542 return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) 4543 } 4544 for i := range this.NonnullBytes { 4545 a := this.NonnullBytes[i] 4546 b := that1.NonnullBytes[i] 4547 if !bytes.Equal(a, b) { 4548 return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) 4549 } 4550 } 4551 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 4552 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 4553 } 4554 return nil 4555 } 4556 func (this *MapStdTypes) Equal(that interface{}) bool { 4557 if that == nil { 4558 return this == nil 4559 } 4560 4561 that1, ok := that.(*MapStdTypes) 4562 if !ok { 4563 that2, ok := that.(MapStdTypes) 4564 if ok { 4565 that1 = &that2 4566 } else { 4567 return false 4568 } 4569 } 4570 if that1 == nil { 4571 return this == nil 4572 } else if this == nil { 4573 return false 4574 } 4575 if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { 4576 return false 4577 } 4578 for i := range this.NullableTimestamp { 4579 if !this.NullableTimestamp[i].Equal(*that1.NullableTimestamp[i]) { 4580 return false 4581 } 4582 } 4583 if len(this.Timestamp) != len(that1.Timestamp) { 4584 return false 4585 } 4586 for i := range this.Timestamp { 4587 if !this.Timestamp[i].Equal(that1.Timestamp[i]) { 4588 return false 4589 } 4590 } 4591 if len(this.NullableDuration) != len(that1.NullableDuration) { 4592 return false 4593 } 4594 for i := range this.NullableDuration { 4595 if dthis, dthat := this.NullableDuration[i], that1.NullableDuration[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 4596 return false 4597 } 4598 } 4599 if len(this.Duration) != len(that1.Duration) { 4600 return false 4601 } 4602 for i := range this.Duration { 4603 if this.Duration[i] != that1.Duration[i] { 4604 return false 4605 } 4606 } 4607 if len(this.NullableDouble) != len(that1.NullableDouble) { 4608 return false 4609 } 4610 for i := range this.NullableDouble { 4611 a := this.NullableDouble[i] 4612 b := that1.NullableDouble[i] 4613 if *a != *b { 4614 return false 4615 } 4616 } 4617 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 4618 return false 4619 } 4620 for i := range this.NonnullDouble { 4621 a := this.NonnullDouble[i] 4622 b := that1.NonnullDouble[i] 4623 if a != b { 4624 return false 4625 } 4626 } 4627 if len(this.NullableFloat) != len(that1.NullableFloat) { 4628 return false 4629 } 4630 for i := range this.NullableFloat { 4631 a := this.NullableFloat[i] 4632 b := that1.NullableFloat[i] 4633 if *a != *b { 4634 return false 4635 } 4636 } 4637 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 4638 return false 4639 } 4640 for i := range this.NonnullFloat { 4641 a := this.NonnullFloat[i] 4642 b := that1.NonnullFloat[i] 4643 if a != b { 4644 return false 4645 } 4646 } 4647 if len(this.NullableInt64) != len(that1.NullableInt64) { 4648 return false 4649 } 4650 for i := range this.NullableInt64 { 4651 a := this.NullableInt64[i] 4652 b := that1.NullableInt64[i] 4653 if *a != *b { 4654 return false 4655 } 4656 } 4657 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 4658 return false 4659 } 4660 for i := range this.NonnullInt64 { 4661 a := this.NonnullInt64[i] 4662 b := that1.NonnullInt64[i] 4663 if a != b { 4664 return false 4665 } 4666 } 4667 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 4668 return false 4669 } 4670 for i := range this.NullableUInt64 { 4671 a := this.NullableUInt64[i] 4672 b := that1.NullableUInt64[i] 4673 if *a != *b { 4674 return false 4675 } 4676 } 4677 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 4678 return false 4679 } 4680 for i := range this.NonnullUInt64 { 4681 a := this.NonnullUInt64[i] 4682 b := that1.NonnullUInt64[i] 4683 if a != b { 4684 return false 4685 } 4686 } 4687 if len(this.NullableInt32) != len(that1.NullableInt32) { 4688 return false 4689 } 4690 for i := range this.NullableInt32 { 4691 a := this.NullableInt32[i] 4692 b := that1.NullableInt32[i] 4693 if *a != *b { 4694 return false 4695 } 4696 } 4697 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 4698 return false 4699 } 4700 for i := range this.NonnullInt32 { 4701 a := this.NonnullInt32[i] 4702 b := that1.NonnullInt32[i] 4703 if a != b { 4704 return false 4705 } 4706 } 4707 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 4708 return false 4709 } 4710 for i := range this.NullableUInt32 { 4711 a := this.NullableUInt32[i] 4712 b := that1.NullableUInt32[i] 4713 if *a != *b { 4714 return false 4715 } 4716 } 4717 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 4718 return false 4719 } 4720 for i := range this.NonnullUInt32 { 4721 a := this.NonnullUInt32[i] 4722 b := that1.NonnullUInt32[i] 4723 if a != b { 4724 return false 4725 } 4726 } 4727 if len(this.NullableBool) != len(that1.NullableBool) { 4728 return false 4729 } 4730 for i := range this.NullableBool { 4731 a := this.NullableBool[i] 4732 b := that1.NullableBool[i] 4733 if *a != *b { 4734 return false 4735 } 4736 } 4737 if len(this.NonnullBool) != len(that1.NonnullBool) { 4738 return false 4739 } 4740 for i := range this.NonnullBool { 4741 a := this.NonnullBool[i] 4742 b := that1.NonnullBool[i] 4743 if a != b { 4744 return false 4745 } 4746 } 4747 if len(this.NullableString) != len(that1.NullableString) { 4748 return false 4749 } 4750 for i := range this.NullableString { 4751 a := this.NullableString[i] 4752 b := that1.NullableString[i] 4753 if *a != *b { 4754 return false 4755 } 4756 } 4757 if len(this.NonnullString) != len(that1.NonnullString) { 4758 return false 4759 } 4760 for i := range this.NonnullString { 4761 a := this.NonnullString[i] 4762 b := that1.NonnullString[i] 4763 if a != b { 4764 return false 4765 } 4766 } 4767 if len(this.NullableBytes) != len(that1.NullableBytes) { 4768 return false 4769 } 4770 for i := range this.NullableBytes { 4771 a := this.NullableBytes[i] 4772 b := that1.NullableBytes[i] 4773 if !bytes.Equal(*a, *b) { 4774 return false 4775 } 4776 } 4777 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 4778 return false 4779 } 4780 for i := range this.NonnullBytes { 4781 a := this.NonnullBytes[i] 4782 b := that1.NonnullBytes[i] 4783 if !bytes.Equal(a, b) { 4784 return false 4785 } 4786 } 4787 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 4788 return false 4789 } 4790 return true 4791 } 4792 func (this *OneofProtoTypes) VerboseEqual(that interface{}) error { 4793 if that == nil { 4794 if this == nil { 4795 return nil 4796 } 4797 return fmt.Errorf("that == nil && this != nil") 4798 } 4799 4800 that1, ok := that.(*OneofProtoTypes) 4801 if !ok { 4802 that2, ok := that.(OneofProtoTypes) 4803 if ok { 4804 that1 = &that2 4805 } else { 4806 return fmt.Errorf("that is not of type *OneofProtoTypes") 4807 } 4808 } 4809 if that1 == nil { 4810 if this == nil { 4811 return nil 4812 } 4813 return fmt.Errorf("that is type *OneofProtoTypes but is nil && this != nil") 4814 } else if this == nil { 4815 return fmt.Errorf("that is type *OneofProtoTypes but is not nil && this == nil") 4816 } 4817 if that1.OneOfProtoTimes == nil { 4818 if this.OneOfProtoTimes != nil { 4819 return fmt.Errorf("this.OneOfProtoTimes != nil && that1.OneOfProtoTimes == nil") 4820 } 4821 } else if this.OneOfProtoTimes == nil { 4822 return fmt.Errorf("this.OneOfProtoTimes == nil && that1.OneOfProtoTimes != nil") 4823 } else if err := this.OneOfProtoTimes.VerboseEqual(that1.OneOfProtoTimes); err != nil { 4824 return err 4825 } 4826 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 4827 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 4828 } 4829 return nil 4830 } 4831 func (this *OneofProtoTypes_Timestamp) VerboseEqual(that interface{}) error { 4832 if that == nil { 4833 if this == nil { 4834 return nil 4835 } 4836 return fmt.Errorf("that == nil && this != nil") 4837 } 4838 4839 that1, ok := that.(*OneofProtoTypes_Timestamp) 4840 if !ok { 4841 that2, ok := that.(OneofProtoTypes_Timestamp) 4842 if ok { 4843 that1 = &that2 4844 } else { 4845 return fmt.Errorf("that is not of type *OneofProtoTypes_Timestamp") 4846 } 4847 } 4848 if that1 == nil { 4849 if this == nil { 4850 return nil 4851 } 4852 return fmt.Errorf("that is type *OneofProtoTypes_Timestamp but is nil && this != nil") 4853 } else if this == nil { 4854 return fmt.Errorf("that is type *OneofProtoTypes_Timestamp but is not nil && this == nil") 4855 } 4856 if !this.Timestamp.Equal(that1.Timestamp) { 4857 return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) 4858 } 4859 return nil 4860 } 4861 func (this *OneofProtoTypes_Duration) VerboseEqual(that interface{}) error { 4862 if that == nil { 4863 if this == nil { 4864 return nil 4865 } 4866 return fmt.Errorf("that == nil && this != nil") 4867 } 4868 4869 that1, ok := that.(*OneofProtoTypes_Duration) 4870 if !ok { 4871 that2, ok := that.(OneofProtoTypes_Duration) 4872 if ok { 4873 that1 = &that2 4874 } else { 4875 return fmt.Errorf("that is not of type *OneofProtoTypes_Duration") 4876 } 4877 } 4878 if that1 == nil { 4879 if this == nil { 4880 return nil 4881 } 4882 return fmt.Errorf("that is type *OneofProtoTypes_Duration but is nil && this != nil") 4883 } else if this == nil { 4884 return fmt.Errorf("that is type *OneofProtoTypes_Duration but is not nil && this == nil") 4885 } 4886 if !this.Duration.Equal(that1.Duration) { 4887 return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) 4888 } 4889 return nil 4890 } 4891 func (this *OneofProtoTypes_RepDouble) VerboseEqual(that interface{}) error { 4892 if that == nil { 4893 if this == nil { 4894 return nil 4895 } 4896 return fmt.Errorf("that == nil && this != nil") 4897 } 4898 4899 that1, ok := that.(*OneofProtoTypes_RepDouble) 4900 if !ok { 4901 that2, ok := that.(OneofProtoTypes_RepDouble) 4902 if ok { 4903 that1 = &that2 4904 } else { 4905 return fmt.Errorf("that is not of type *OneofProtoTypes_RepDouble") 4906 } 4907 } 4908 if that1 == nil { 4909 if this == nil { 4910 return nil 4911 } 4912 return fmt.Errorf("that is type *OneofProtoTypes_RepDouble but is nil && this != nil") 4913 } else if this == nil { 4914 return fmt.Errorf("that is type *OneofProtoTypes_RepDouble but is not nil && this == nil") 4915 } 4916 if !this.RepDouble.Equal(that1.RepDouble) { 4917 return fmt.Errorf("RepDouble this(%v) Not Equal that(%v)", this.RepDouble, that1.RepDouble) 4918 } 4919 return nil 4920 } 4921 func (this *OneofProtoTypes_RepFloat) VerboseEqual(that interface{}) error { 4922 if that == nil { 4923 if this == nil { 4924 return nil 4925 } 4926 return fmt.Errorf("that == nil && this != nil") 4927 } 4928 4929 that1, ok := that.(*OneofProtoTypes_RepFloat) 4930 if !ok { 4931 that2, ok := that.(OneofProtoTypes_RepFloat) 4932 if ok { 4933 that1 = &that2 4934 } else { 4935 return fmt.Errorf("that is not of type *OneofProtoTypes_RepFloat") 4936 } 4937 } 4938 if that1 == nil { 4939 if this == nil { 4940 return nil 4941 } 4942 return fmt.Errorf("that is type *OneofProtoTypes_RepFloat but is nil && this != nil") 4943 } else if this == nil { 4944 return fmt.Errorf("that is type *OneofProtoTypes_RepFloat but is not nil && this == nil") 4945 } 4946 if !this.RepFloat.Equal(that1.RepFloat) { 4947 return fmt.Errorf("RepFloat this(%v) Not Equal that(%v)", this.RepFloat, that1.RepFloat) 4948 } 4949 return nil 4950 } 4951 func (this *OneofProtoTypes_RepInt64) VerboseEqual(that interface{}) error { 4952 if that == nil { 4953 if this == nil { 4954 return nil 4955 } 4956 return fmt.Errorf("that == nil && this != nil") 4957 } 4958 4959 that1, ok := that.(*OneofProtoTypes_RepInt64) 4960 if !ok { 4961 that2, ok := that.(OneofProtoTypes_RepInt64) 4962 if ok { 4963 that1 = &that2 4964 } else { 4965 return fmt.Errorf("that is not of type *OneofProtoTypes_RepInt64") 4966 } 4967 } 4968 if that1 == nil { 4969 if this == nil { 4970 return nil 4971 } 4972 return fmt.Errorf("that is type *OneofProtoTypes_RepInt64 but is nil && this != nil") 4973 } else if this == nil { 4974 return fmt.Errorf("that is type *OneofProtoTypes_RepInt64 but is not nil && this == nil") 4975 } 4976 if !this.RepInt64.Equal(that1.RepInt64) { 4977 return fmt.Errorf("RepInt64 this(%v) Not Equal that(%v)", this.RepInt64, that1.RepInt64) 4978 } 4979 return nil 4980 } 4981 func (this *OneofProtoTypes_RepUInt64) VerboseEqual(that interface{}) error { 4982 if that == nil { 4983 if this == nil { 4984 return nil 4985 } 4986 return fmt.Errorf("that == nil && this != nil") 4987 } 4988 4989 that1, ok := that.(*OneofProtoTypes_RepUInt64) 4990 if !ok { 4991 that2, ok := that.(OneofProtoTypes_RepUInt64) 4992 if ok { 4993 that1 = &that2 4994 } else { 4995 return fmt.Errorf("that is not of type *OneofProtoTypes_RepUInt64") 4996 } 4997 } 4998 if that1 == nil { 4999 if this == nil { 5000 return nil 5001 } 5002 return fmt.Errorf("that is type *OneofProtoTypes_RepUInt64 but is nil && this != nil") 5003 } else if this == nil { 5004 return fmt.Errorf("that is type *OneofProtoTypes_RepUInt64 but is not nil && this == nil") 5005 } 5006 if !this.RepUInt64.Equal(that1.RepUInt64) { 5007 return fmt.Errorf("RepUInt64 this(%v) Not Equal that(%v)", this.RepUInt64, that1.RepUInt64) 5008 } 5009 return nil 5010 } 5011 func (this *OneofProtoTypes_RepInt32) VerboseEqual(that interface{}) error { 5012 if that == nil { 5013 if this == nil { 5014 return nil 5015 } 5016 return fmt.Errorf("that == nil && this != nil") 5017 } 5018 5019 that1, ok := that.(*OneofProtoTypes_RepInt32) 5020 if !ok { 5021 that2, ok := that.(OneofProtoTypes_RepInt32) 5022 if ok { 5023 that1 = &that2 5024 } else { 5025 return fmt.Errorf("that is not of type *OneofProtoTypes_RepInt32") 5026 } 5027 } 5028 if that1 == nil { 5029 if this == nil { 5030 return nil 5031 } 5032 return fmt.Errorf("that is type *OneofProtoTypes_RepInt32 but is nil && this != nil") 5033 } else if this == nil { 5034 return fmt.Errorf("that is type *OneofProtoTypes_RepInt32 but is not nil && this == nil") 5035 } 5036 if !this.RepInt32.Equal(that1.RepInt32) { 5037 return fmt.Errorf("RepInt32 this(%v) Not Equal that(%v)", this.RepInt32, that1.RepInt32) 5038 } 5039 return nil 5040 } 5041 func (this *OneofProtoTypes_RepUInt32) VerboseEqual(that interface{}) error { 5042 if that == nil { 5043 if this == nil { 5044 return nil 5045 } 5046 return fmt.Errorf("that == nil && this != nil") 5047 } 5048 5049 that1, ok := that.(*OneofProtoTypes_RepUInt32) 5050 if !ok { 5051 that2, ok := that.(OneofProtoTypes_RepUInt32) 5052 if ok { 5053 that1 = &that2 5054 } else { 5055 return fmt.Errorf("that is not of type *OneofProtoTypes_RepUInt32") 5056 } 5057 } 5058 if that1 == nil { 5059 if this == nil { 5060 return nil 5061 } 5062 return fmt.Errorf("that is type *OneofProtoTypes_RepUInt32 but is nil && this != nil") 5063 } else if this == nil { 5064 return fmt.Errorf("that is type *OneofProtoTypes_RepUInt32 but is not nil && this == nil") 5065 } 5066 if !this.RepUInt32.Equal(that1.RepUInt32) { 5067 return fmt.Errorf("RepUInt32 this(%v) Not Equal that(%v)", this.RepUInt32, that1.RepUInt32) 5068 } 5069 return nil 5070 } 5071 func (this *OneofProtoTypes_RepBool) VerboseEqual(that interface{}) error { 5072 if that == nil { 5073 if this == nil { 5074 return nil 5075 } 5076 return fmt.Errorf("that == nil && this != nil") 5077 } 5078 5079 that1, ok := that.(*OneofProtoTypes_RepBool) 5080 if !ok { 5081 that2, ok := that.(OneofProtoTypes_RepBool) 5082 if ok { 5083 that1 = &that2 5084 } else { 5085 return fmt.Errorf("that is not of type *OneofProtoTypes_RepBool") 5086 } 5087 } 5088 if that1 == nil { 5089 if this == nil { 5090 return nil 5091 } 5092 return fmt.Errorf("that is type *OneofProtoTypes_RepBool but is nil && this != nil") 5093 } else if this == nil { 5094 return fmt.Errorf("that is type *OneofProtoTypes_RepBool but is not nil && this == nil") 5095 } 5096 if !this.RepBool.Equal(that1.RepBool) { 5097 return fmt.Errorf("RepBool this(%v) Not Equal that(%v)", this.RepBool, that1.RepBool) 5098 } 5099 return nil 5100 } 5101 func (this *OneofProtoTypes_RepString) VerboseEqual(that interface{}) error { 5102 if that == nil { 5103 if this == nil { 5104 return nil 5105 } 5106 return fmt.Errorf("that == nil && this != nil") 5107 } 5108 5109 that1, ok := that.(*OneofProtoTypes_RepString) 5110 if !ok { 5111 that2, ok := that.(OneofProtoTypes_RepString) 5112 if ok { 5113 that1 = &that2 5114 } else { 5115 return fmt.Errorf("that is not of type *OneofProtoTypes_RepString") 5116 } 5117 } 5118 if that1 == nil { 5119 if this == nil { 5120 return nil 5121 } 5122 return fmt.Errorf("that is type *OneofProtoTypes_RepString but is nil && this != nil") 5123 } else if this == nil { 5124 return fmt.Errorf("that is type *OneofProtoTypes_RepString but is not nil && this == nil") 5125 } 5126 if !this.RepString.Equal(that1.RepString) { 5127 return fmt.Errorf("RepString this(%v) Not Equal that(%v)", this.RepString, that1.RepString) 5128 } 5129 return nil 5130 } 5131 func (this *OneofProtoTypes_RepBytes) VerboseEqual(that interface{}) error { 5132 if that == nil { 5133 if this == nil { 5134 return nil 5135 } 5136 return fmt.Errorf("that == nil && this != nil") 5137 } 5138 5139 that1, ok := that.(*OneofProtoTypes_RepBytes) 5140 if !ok { 5141 that2, ok := that.(OneofProtoTypes_RepBytes) 5142 if ok { 5143 that1 = &that2 5144 } else { 5145 return fmt.Errorf("that is not of type *OneofProtoTypes_RepBytes") 5146 } 5147 } 5148 if that1 == nil { 5149 if this == nil { 5150 return nil 5151 } 5152 return fmt.Errorf("that is type *OneofProtoTypes_RepBytes but is nil && this != nil") 5153 } else if this == nil { 5154 return fmt.Errorf("that is type *OneofProtoTypes_RepBytes but is not nil && this == nil") 5155 } 5156 if !this.RepBytes.Equal(that1.RepBytes) { 5157 return fmt.Errorf("RepBytes this(%v) Not Equal that(%v)", this.RepBytes, that1.RepBytes) 5158 } 5159 return nil 5160 } 5161 func (this *OneofProtoTypes) Equal(that interface{}) bool { 5162 if that == nil { 5163 return this == nil 5164 } 5165 5166 that1, ok := that.(*OneofProtoTypes) 5167 if !ok { 5168 that2, ok := that.(OneofProtoTypes) 5169 if ok { 5170 that1 = &that2 5171 } else { 5172 return false 5173 } 5174 } 5175 if that1 == nil { 5176 return this == nil 5177 } else if this == nil { 5178 return false 5179 } 5180 if that1.OneOfProtoTimes == nil { 5181 if this.OneOfProtoTimes != nil { 5182 return false 5183 } 5184 } else if this.OneOfProtoTimes == nil { 5185 return false 5186 } else if !this.OneOfProtoTimes.Equal(that1.OneOfProtoTimes) { 5187 return false 5188 } 5189 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 5190 return false 5191 } 5192 return true 5193 } 5194 func (this *OneofProtoTypes_Timestamp) Equal(that interface{}) bool { 5195 if that == nil { 5196 return this == nil 5197 } 5198 5199 that1, ok := that.(*OneofProtoTypes_Timestamp) 5200 if !ok { 5201 that2, ok := that.(OneofProtoTypes_Timestamp) 5202 if ok { 5203 that1 = &that2 5204 } else { 5205 return false 5206 } 5207 } 5208 if that1 == nil { 5209 return this == nil 5210 } else if this == nil { 5211 return false 5212 } 5213 if !this.Timestamp.Equal(that1.Timestamp) { 5214 return false 5215 } 5216 return true 5217 } 5218 func (this *OneofProtoTypes_Duration) Equal(that interface{}) bool { 5219 if that == nil { 5220 return this == nil 5221 } 5222 5223 that1, ok := that.(*OneofProtoTypes_Duration) 5224 if !ok { 5225 that2, ok := that.(OneofProtoTypes_Duration) 5226 if ok { 5227 that1 = &that2 5228 } else { 5229 return false 5230 } 5231 } 5232 if that1 == nil { 5233 return this == nil 5234 } else if this == nil { 5235 return false 5236 } 5237 if !this.Duration.Equal(that1.Duration) { 5238 return false 5239 } 5240 return true 5241 } 5242 func (this *OneofProtoTypes_RepDouble) Equal(that interface{}) bool { 5243 if that == nil { 5244 return this == nil 5245 } 5246 5247 that1, ok := that.(*OneofProtoTypes_RepDouble) 5248 if !ok { 5249 that2, ok := that.(OneofProtoTypes_RepDouble) 5250 if ok { 5251 that1 = &that2 5252 } else { 5253 return false 5254 } 5255 } 5256 if that1 == nil { 5257 return this == nil 5258 } else if this == nil { 5259 return false 5260 } 5261 if !this.RepDouble.Equal(that1.RepDouble) { 5262 return false 5263 } 5264 return true 5265 } 5266 func (this *OneofProtoTypes_RepFloat) Equal(that interface{}) bool { 5267 if that == nil { 5268 return this == nil 5269 } 5270 5271 that1, ok := that.(*OneofProtoTypes_RepFloat) 5272 if !ok { 5273 that2, ok := that.(OneofProtoTypes_RepFloat) 5274 if ok { 5275 that1 = &that2 5276 } else { 5277 return false 5278 } 5279 } 5280 if that1 == nil { 5281 return this == nil 5282 } else if this == nil { 5283 return false 5284 } 5285 if !this.RepFloat.Equal(that1.RepFloat) { 5286 return false 5287 } 5288 return true 5289 } 5290 func (this *OneofProtoTypes_RepInt64) Equal(that interface{}) bool { 5291 if that == nil { 5292 return this == nil 5293 } 5294 5295 that1, ok := that.(*OneofProtoTypes_RepInt64) 5296 if !ok { 5297 that2, ok := that.(OneofProtoTypes_RepInt64) 5298 if ok { 5299 that1 = &that2 5300 } else { 5301 return false 5302 } 5303 } 5304 if that1 == nil { 5305 return this == nil 5306 } else if this == nil { 5307 return false 5308 } 5309 if !this.RepInt64.Equal(that1.RepInt64) { 5310 return false 5311 } 5312 return true 5313 } 5314 func (this *OneofProtoTypes_RepUInt64) Equal(that interface{}) bool { 5315 if that == nil { 5316 return this == nil 5317 } 5318 5319 that1, ok := that.(*OneofProtoTypes_RepUInt64) 5320 if !ok { 5321 that2, ok := that.(OneofProtoTypes_RepUInt64) 5322 if ok { 5323 that1 = &that2 5324 } else { 5325 return false 5326 } 5327 } 5328 if that1 == nil { 5329 return this == nil 5330 } else if this == nil { 5331 return false 5332 } 5333 if !this.RepUInt64.Equal(that1.RepUInt64) { 5334 return false 5335 } 5336 return true 5337 } 5338 func (this *OneofProtoTypes_RepInt32) Equal(that interface{}) bool { 5339 if that == nil { 5340 return this == nil 5341 } 5342 5343 that1, ok := that.(*OneofProtoTypes_RepInt32) 5344 if !ok { 5345 that2, ok := that.(OneofProtoTypes_RepInt32) 5346 if ok { 5347 that1 = &that2 5348 } else { 5349 return false 5350 } 5351 } 5352 if that1 == nil { 5353 return this == nil 5354 } else if this == nil { 5355 return false 5356 } 5357 if !this.RepInt32.Equal(that1.RepInt32) { 5358 return false 5359 } 5360 return true 5361 } 5362 func (this *OneofProtoTypes_RepUInt32) Equal(that interface{}) bool { 5363 if that == nil { 5364 return this == nil 5365 } 5366 5367 that1, ok := that.(*OneofProtoTypes_RepUInt32) 5368 if !ok { 5369 that2, ok := that.(OneofProtoTypes_RepUInt32) 5370 if ok { 5371 that1 = &that2 5372 } else { 5373 return false 5374 } 5375 } 5376 if that1 == nil { 5377 return this == nil 5378 } else if this == nil { 5379 return false 5380 } 5381 if !this.RepUInt32.Equal(that1.RepUInt32) { 5382 return false 5383 } 5384 return true 5385 } 5386 func (this *OneofProtoTypes_RepBool) Equal(that interface{}) bool { 5387 if that == nil { 5388 return this == nil 5389 } 5390 5391 that1, ok := that.(*OneofProtoTypes_RepBool) 5392 if !ok { 5393 that2, ok := that.(OneofProtoTypes_RepBool) 5394 if ok { 5395 that1 = &that2 5396 } else { 5397 return false 5398 } 5399 } 5400 if that1 == nil { 5401 return this == nil 5402 } else if this == nil { 5403 return false 5404 } 5405 if !this.RepBool.Equal(that1.RepBool) { 5406 return false 5407 } 5408 return true 5409 } 5410 func (this *OneofProtoTypes_RepString) Equal(that interface{}) bool { 5411 if that == nil { 5412 return this == nil 5413 } 5414 5415 that1, ok := that.(*OneofProtoTypes_RepString) 5416 if !ok { 5417 that2, ok := that.(OneofProtoTypes_RepString) 5418 if ok { 5419 that1 = &that2 5420 } else { 5421 return false 5422 } 5423 } 5424 if that1 == nil { 5425 return this == nil 5426 } else if this == nil { 5427 return false 5428 } 5429 if !this.RepString.Equal(that1.RepString) { 5430 return false 5431 } 5432 return true 5433 } 5434 func (this *OneofProtoTypes_RepBytes) Equal(that interface{}) bool { 5435 if that == nil { 5436 return this == nil 5437 } 5438 5439 that1, ok := that.(*OneofProtoTypes_RepBytes) 5440 if !ok { 5441 that2, ok := that.(OneofProtoTypes_RepBytes) 5442 if ok { 5443 that1 = &that2 5444 } else { 5445 return false 5446 } 5447 } 5448 if that1 == nil { 5449 return this == nil 5450 } else if this == nil { 5451 return false 5452 } 5453 if !this.RepBytes.Equal(that1.RepBytes) { 5454 return false 5455 } 5456 return true 5457 } 5458 func (this *OneofStdTypes) VerboseEqual(that interface{}) error { 5459 if that == nil { 5460 if this == nil { 5461 return nil 5462 } 5463 return fmt.Errorf("that == nil && this != nil") 5464 } 5465 5466 that1, ok := that.(*OneofStdTypes) 5467 if !ok { 5468 that2, ok := that.(OneofStdTypes) 5469 if ok { 5470 that1 = &that2 5471 } else { 5472 return fmt.Errorf("that is not of type *OneofStdTypes") 5473 } 5474 } 5475 if that1 == nil { 5476 if this == nil { 5477 return nil 5478 } 5479 return fmt.Errorf("that is type *OneofStdTypes but is nil && this != nil") 5480 } else if this == nil { 5481 return fmt.Errorf("that is type *OneofStdTypes but is not nil && this == nil") 5482 } 5483 if that1.OneOfStdTimes == nil { 5484 if this.OneOfStdTimes != nil { 5485 return fmt.Errorf("this.OneOfStdTimes != nil && that1.OneOfStdTimes == nil") 5486 } 5487 } else if this.OneOfStdTimes == nil { 5488 return fmt.Errorf("this.OneOfStdTimes == nil && that1.OneOfStdTimes != nil") 5489 } else if err := this.OneOfStdTimes.VerboseEqual(that1.OneOfStdTimes); err != nil { 5490 return err 5491 } 5492 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 5493 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 5494 } 5495 return nil 5496 } 5497 func (this *OneofStdTypes_Timestamp) VerboseEqual(that interface{}) error { 5498 if that == nil { 5499 if this == nil { 5500 return nil 5501 } 5502 return fmt.Errorf("that == nil && this != nil") 5503 } 5504 5505 that1, ok := that.(*OneofStdTypes_Timestamp) 5506 if !ok { 5507 that2, ok := that.(OneofStdTypes_Timestamp) 5508 if ok { 5509 that1 = &that2 5510 } else { 5511 return fmt.Errorf("that is not of type *OneofStdTypes_Timestamp") 5512 } 5513 } 5514 if that1 == nil { 5515 if this == nil { 5516 return nil 5517 } 5518 return fmt.Errorf("that is type *OneofStdTypes_Timestamp but is nil && this != nil") 5519 } else if this == nil { 5520 return fmt.Errorf("that is type *OneofStdTypes_Timestamp but is not nil && this == nil") 5521 } 5522 if that1.Timestamp == nil { 5523 if this.Timestamp != nil { 5524 return fmt.Errorf("this.Timestamp != nil && that1.Timestamp == nil") 5525 } 5526 } else if !this.Timestamp.Equal(*that1.Timestamp) { 5527 return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) 5528 } 5529 return nil 5530 } 5531 func (this *OneofStdTypes_Duration) VerboseEqual(that interface{}) error { 5532 if that == nil { 5533 if this == nil { 5534 return nil 5535 } 5536 return fmt.Errorf("that == nil && this != nil") 5537 } 5538 5539 that1, ok := that.(*OneofStdTypes_Duration) 5540 if !ok { 5541 that2, ok := that.(OneofStdTypes_Duration) 5542 if ok { 5543 that1 = &that2 5544 } else { 5545 return fmt.Errorf("that is not of type *OneofStdTypes_Duration") 5546 } 5547 } 5548 if that1 == nil { 5549 if this == nil { 5550 return nil 5551 } 5552 return fmt.Errorf("that is type *OneofStdTypes_Duration but is nil && this != nil") 5553 } else if this == nil { 5554 return fmt.Errorf("that is type *OneofStdTypes_Duration but is not nil && this == nil") 5555 } 5556 if this.Duration != nil && that1.Duration != nil { 5557 if *this.Duration != *that1.Duration { 5558 return fmt.Errorf("Duration this(%v) Not Equal that(%v)", *this.Duration, *that1.Duration) 5559 } 5560 } else if this.Duration != nil { 5561 return fmt.Errorf("this.Duration == nil && that.Duration != nil") 5562 } else if that1.Duration != nil { 5563 return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) 5564 } 5565 return nil 5566 } 5567 func (this *OneofStdTypes_RepDouble) VerboseEqual(that interface{}) error { 5568 if that == nil { 5569 if this == nil { 5570 return nil 5571 } 5572 return fmt.Errorf("that == nil && this != nil") 5573 } 5574 5575 that1, ok := that.(*OneofStdTypes_RepDouble) 5576 if !ok { 5577 that2, ok := that.(OneofStdTypes_RepDouble) 5578 if ok { 5579 that1 = &that2 5580 } else { 5581 return fmt.Errorf("that is not of type *OneofStdTypes_RepDouble") 5582 } 5583 } 5584 if that1 == nil { 5585 if this == nil { 5586 return nil 5587 } 5588 return fmt.Errorf("that is type *OneofStdTypes_RepDouble but is nil && this != nil") 5589 } else if this == nil { 5590 return fmt.Errorf("that is type *OneofStdTypes_RepDouble but is not nil && this == nil") 5591 } 5592 if this.RepDouble != nil && that1.RepDouble != nil { 5593 if *this.RepDouble != *that1.RepDouble { 5594 return fmt.Errorf("RepDouble this(%v) Not Equal that(%v)", *this.RepDouble, *that1.RepDouble) 5595 } 5596 } else if this.RepDouble != nil { 5597 return fmt.Errorf("this.RepDouble == nil && that.RepDouble != nil") 5598 } else if that1.RepDouble != nil { 5599 return fmt.Errorf("RepDouble this(%v) Not Equal that(%v)", this.RepDouble, that1.RepDouble) 5600 } 5601 return nil 5602 } 5603 func (this *OneofStdTypes_RepFloat) VerboseEqual(that interface{}) error { 5604 if that == nil { 5605 if this == nil { 5606 return nil 5607 } 5608 return fmt.Errorf("that == nil && this != nil") 5609 } 5610 5611 that1, ok := that.(*OneofStdTypes_RepFloat) 5612 if !ok { 5613 that2, ok := that.(OneofStdTypes_RepFloat) 5614 if ok { 5615 that1 = &that2 5616 } else { 5617 return fmt.Errorf("that is not of type *OneofStdTypes_RepFloat") 5618 } 5619 } 5620 if that1 == nil { 5621 if this == nil { 5622 return nil 5623 } 5624 return fmt.Errorf("that is type *OneofStdTypes_RepFloat but is nil && this != nil") 5625 } else if this == nil { 5626 return fmt.Errorf("that is type *OneofStdTypes_RepFloat but is not nil && this == nil") 5627 } 5628 if this.RepFloat != nil && that1.RepFloat != nil { 5629 if *this.RepFloat != *that1.RepFloat { 5630 return fmt.Errorf("RepFloat this(%v) Not Equal that(%v)", *this.RepFloat, *that1.RepFloat) 5631 } 5632 } else if this.RepFloat != nil { 5633 return fmt.Errorf("this.RepFloat == nil && that.RepFloat != nil") 5634 } else if that1.RepFloat != nil { 5635 return fmt.Errorf("RepFloat this(%v) Not Equal that(%v)", this.RepFloat, that1.RepFloat) 5636 } 5637 return nil 5638 } 5639 func (this *OneofStdTypes_RepInt64) VerboseEqual(that interface{}) error { 5640 if that == nil { 5641 if this == nil { 5642 return nil 5643 } 5644 return fmt.Errorf("that == nil && this != nil") 5645 } 5646 5647 that1, ok := that.(*OneofStdTypes_RepInt64) 5648 if !ok { 5649 that2, ok := that.(OneofStdTypes_RepInt64) 5650 if ok { 5651 that1 = &that2 5652 } else { 5653 return fmt.Errorf("that is not of type *OneofStdTypes_RepInt64") 5654 } 5655 } 5656 if that1 == nil { 5657 if this == nil { 5658 return nil 5659 } 5660 return fmt.Errorf("that is type *OneofStdTypes_RepInt64 but is nil && this != nil") 5661 } else if this == nil { 5662 return fmt.Errorf("that is type *OneofStdTypes_RepInt64 but is not nil && this == nil") 5663 } 5664 if this.RepInt64 != nil && that1.RepInt64 != nil { 5665 if *this.RepInt64 != *that1.RepInt64 { 5666 return fmt.Errorf("RepInt64 this(%v) Not Equal that(%v)", *this.RepInt64, *that1.RepInt64) 5667 } 5668 } else if this.RepInt64 != nil { 5669 return fmt.Errorf("this.RepInt64 == nil && that.RepInt64 != nil") 5670 } else if that1.RepInt64 != nil { 5671 return fmt.Errorf("RepInt64 this(%v) Not Equal that(%v)", this.RepInt64, that1.RepInt64) 5672 } 5673 return nil 5674 } 5675 func (this *OneofStdTypes_RepUInt64) VerboseEqual(that interface{}) error { 5676 if that == nil { 5677 if this == nil { 5678 return nil 5679 } 5680 return fmt.Errorf("that == nil && this != nil") 5681 } 5682 5683 that1, ok := that.(*OneofStdTypes_RepUInt64) 5684 if !ok { 5685 that2, ok := that.(OneofStdTypes_RepUInt64) 5686 if ok { 5687 that1 = &that2 5688 } else { 5689 return fmt.Errorf("that is not of type *OneofStdTypes_RepUInt64") 5690 } 5691 } 5692 if that1 == nil { 5693 if this == nil { 5694 return nil 5695 } 5696 return fmt.Errorf("that is type *OneofStdTypes_RepUInt64 but is nil && this != nil") 5697 } else if this == nil { 5698 return fmt.Errorf("that is type *OneofStdTypes_RepUInt64 but is not nil && this == nil") 5699 } 5700 if this.RepUInt64 != nil && that1.RepUInt64 != nil { 5701 if *this.RepUInt64 != *that1.RepUInt64 { 5702 return fmt.Errorf("RepUInt64 this(%v) Not Equal that(%v)", *this.RepUInt64, *that1.RepUInt64) 5703 } 5704 } else if this.RepUInt64 != nil { 5705 return fmt.Errorf("this.RepUInt64 == nil && that.RepUInt64 != nil") 5706 } else if that1.RepUInt64 != nil { 5707 return fmt.Errorf("RepUInt64 this(%v) Not Equal that(%v)", this.RepUInt64, that1.RepUInt64) 5708 } 5709 return nil 5710 } 5711 func (this *OneofStdTypes_RepInt32) VerboseEqual(that interface{}) error { 5712 if that == nil { 5713 if this == nil { 5714 return nil 5715 } 5716 return fmt.Errorf("that == nil && this != nil") 5717 } 5718 5719 that1, ok := that.(*OneofStdTypes_RepInt32) 5720 if !ok { 5721 that2, ok := that.(OneofStdTypes_RepInt32) 5722 if ok { 5723 that1 = &that2 5724 } else { 5725 return fmt.Errorf("that is not of type *OneofStdTypes_RepInt32") 5726 } 5727 } 5728 if that1 == nil { 5729 if this == nil { 5730 return nil 5731 } 5732 return fmt.Errorf("that is type *OneofStdTypes_RepInt32 but is nil && this != nil") 5733 } else if this == nil { 5734 return fmt.Errorf("that is type *OneofStdTypes_RepInt32 but is not nil && this == nil") 5735 } 5736 if this.RepInt32 != nil && that1.RepInt32 != nil { 5737 if *this.RepInt32 != *that1.RepInt32 { 5738 return fmt.Errorf("RepInt32 this(%v) Not Equal that(%v)", *this.RepInt32, *that1.RepInt32) 5739 } 5740 } else if this.RepInt32 != nil { 5741 return fmt.Errorf("this.RepInt32 == nil && that.RepInt32 != nil") 5742 } else if that1.RepInt32 != nil { 5743 return fmt.Errorf("RepInt32 this(%v) Not Equal that(%v)", this.RepInt32, that1.RepInt32) 5744 } 5745 return nil 5746 } 5747 func (this *OneofStdTypes_RepUInt32) VerboseEqual(that interface{}) error { 5748 if that == nil { 5749 if this == nil { 5750 return nil 5751 } 5752 return fmt.Errorf("that == nil && this != nil") 5753 } 5754 5755 that1, ok := that.(*OneofStdTypes_RepUInt32) 5756 if !ok { 5757 that2, ok := that.(OneofStdTypes_RepUInt32) 5758 if ok { 5759 that1 = &that2 5760 } else { 5761 return fmt.Errorf("that is not of type *OneofStdTypes_RepUInt32") 5762 } 5763 } 5764 if that1 == nil { 5765 if this == nil { 5766 return nil 5767 } 5768 return fmt.Errorf("that is type *OneofStdTypes_RepUInt32 but is nil && this != nil") 5769 } else if this == nil { 5770 return fmt.Errorf("that is type *OneofStdTypes_RepUInt32 but is not nil && this == nil") 5771 } 5772 if this.RepUInt32 != nil && that1.RepUInt32 != nil { 5773 if *this.RepUInt32 != *that1.RepUInt32 { 5774 return fmt.Errorf("RepUInt32 this(%v) Not Equal that(%v)", *this.RepUInt32, *that1.RepUInt32) 5775 } 5776 } else if this.RepUInt32 != nil { 5777 return fmt.Errorf("this.RepUInt32 == nil && that.RepUInt32 != nil") 5778 } else if that1.RepUInt32 != nil { 5779 return fmt.Errorf("RepUInt32 this(%v) Not Equal that(%v)", this.RepUInt32, that1.RepUInt32) 5780 } 5781 return nil 5782 } 5783 func (this *OneofStdTypes_RepBool) VerboseEqual(that interface{}) error { 5784 if that == nil { 5785 if this == nil { 5786 return nil 5787 } 5788 return fmt.Errorf("that == nil && this != nil") 5789 } 5790 5791 that1, ok := that.(*OneofStdTypes_RepBool) 5792 if !ok { 5793 that2, ok := that.(OneofStdTypes_RepBool) 5794 if ok { 5795 that1 = &that2 5796 } else { 5797 return fmt.Errorf("that is not of type *OneofStdTypes_RepBool") 5798 } 5799 } 5800 if that1 == nil { 5801 if this == nil { 5802 return nil 5803 } 5804 return fmt.Errorf("that is type *OneofStdTypes_RepBool but is nil && this != nil") 5805 } else if this == nil { 5806 return fmt.Errorf("that is type *OneofStdTypes_RepBool but is not nil && this == nil") 5807 } 5808 if this.RepBool != nil && that1.RepBool != nil { 5809 if *this.RepBool != *that1.RepBool { 5810 return fmt.Errorf("RepBool this(%v) Not Equal that(%v)", *this.RepBool, *that1.RepBool) 5811 } 5812 } else if this.RepBool != nil { 5813 return fmt.Errorf("this.RepBool == nil && that.RepBool != nil") 5814 } else if that1.RepBool != nil { 5815 return fmt.Errorf("RepBool this(%v) Not Equal that(%v)", this.RepBool, that1.RepBool) 5816 } 5817 return nil 5818 } 5819 func (this *OneofStdTypes_RepString) VerboseEqual(that interface{}) error { 5820 if that == nil { 5821 if this == nil { 5822 return nil 5823 } 5824 return fmt.Errorf("that == nil && this != nil") 5825 } 5826 5827 that1, ok := that.(*OneofStdTypes_RepString) 5828 if !ok { 5829 that2, ok := that.(OneofStdTypes_RepString) 5830 if ok { 5831 that1 = &that2 5832 } else { 5833 return fmt.Errorf("that is not of type *OneofStdTypes_RepString") 5834 } 5835 } 5836 if that1 == nil { 5837 if this == nil { 5838 return nil 5839 } 5840 return fmt.Errorf("that is type *OneofStdTypes_RepString but is nil && this != nil") 5841 } else if this == nil { 5842 return fmt.Errorf("that is type *OneofStdTypes_RepString but is not nil && this == nil") 5843 } 5844 if this.RepString != nil && that1.RepString != nil { 5845 if *this.RepString != *that1.RepString { 5846 return fmt.Errorf("RepString this(%v) Not Equal that(%v)", *this.RepString, *that1.RepString) 5847 } 5848 } else if this.RepString != nil { 5849 return fmt.Errorf("this.RepString == nil && that.RepString != nil") 5850 } else if that1.RepString != nil { 5851 return fmt.Errorf("RepString this(%v) Not Equal that(%v)", this.RepString, that1.RepString) 5852 } 5853 return nil 5854 } 5855 func (this *OneofStdTypes_RepBytes) VerboseEqual(that interface{}) error { 5856 if that == nil { 5857 if this == nil { 5858 return nil 5859 } 5860 return fmt.Errorf("that == nil && this != nil") 5861 } 5862 5863 that1, ok := that.(*OneofStdTypes_RepBytes) 5864 if !ok { 5865 that2, ok := that.(OneofStdTypes_RepBytes) 5866 if ok { 5867 that1 = &that2 5868 } else { 5869 return fmt.Errorf("that is not of type *OneofStdTypes_RepBytes") 5870 } 5871 } 5872 if that1 == nil { 5873 if this == nil { 5874 return nil 5875 } 5876 return fmt.Errorf("that is type *OneofStdTypes_RepBytes but is nil && this != nil") 5877 } else if this == nil { 5878 return fmt.Errorf("that is type *OneofStdTypes_RepBytes but is not nil && this == nil") 5879 } 5880 if that1.RepBytes == nil { 5881 if this.RepBytes != nil { 5882 return fmt.Errorf("this.RepBytes != nil && that1.RepBytes == nil") 5883 } 5884 } else if !bytes.Equal(*this.RepBytes, *that1.RepBytes) { 5885 return fmt.Errorf("RepBytes this(%v) Not Equal that(%v)", this.RepBytes, that1.RepBytes) 5886 } 5887 return nil 5888 } 5889 func (this *OneofStdTypes) Equal(that interface{}) bool { 5890 if that == nil { 5891 return this == nil 5892 } 5893 5894 that1, ok := that.(*OneofStdTypes) 5895 if !ok { 5896 that2, ok := that.(OneofStdTypes) 5897 if ok { 5898 that1 = &that2 5899 } else { 5900 return false 5901 } 5902 } 5903 if that1 == nil { 5904 return this == nil 5905 } else if this == nil { 5906 return false 5907 } 5908 if that1.OneOfStdTimes == nil { 5909 if this.OneOfStdTimes != nil { 5910 return false 5911 } 5912 } else if this.OneOfStdTimes == nil { 5913 return false 5914 } else if !this.OneOfStdTimes.Equal(that1.OneOfStdTimes) { 5915 return false 5916 } 5917 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 5918 return false 5919 } 5920 return true 5921 } 5922 func (this *OneofStdTypes_Timestamp) Equal(that interface{}) bool { 5923 if that == nil { 5924 return this == nil 5925 } 5926 5927 that1, ok := that.(*OneofStdTypes_Timestamp) 5928 if !ok { 5929 that2, ok := that.(OneofStdTypes_Timestamp) 5930 if ok { 5931 that1 = &that2 5932 } else { 5933 return false 5934 } 5935 } 5936 if that1 == nil { 5937 return this == nil 5938 } else if this == nil { 5939 return false 5940 } 5941 if that1.Timestamp == nil { 5942 if this.Timestamp != nil { 5943 return false 5944 } 5945 } else if !this.Timestamp.Equal(*that1.Timestamp) { 5946 return false 5947 } 5948 return true 5949 } 5950 func (this *OneofStdTypes_Duration) Equal(that interface{}) bool { 5951 if that == nil { 5952 return this == nil 5953 } 5954 5955 that1, ok := that.(*OneofStdTypes_Duration) 5956 if !ok { 5957 that2, ok := that.(OneofStdTypes_Duration) 5958 if ok { 5959 that1 = &that2 5960 } else { 5961 return false 5962 } 5963 } 5964 if that1 == nil { 5965 return this == nil 5966 } else if this == nil { 5967 return false 5968 } 5969 if this.Duration != nil && that1.Duration != nil { 5970 if *this.Duration != *that1.Duration { 5971 return false 5972 } 5973 } else if this.Duration != nil { 5974 return false 5975 } else if that1.Duration != nil { 5976 return false 5977 } 5978 return true 5979 } 5980 func (this *OneofStdTypes_RepDouble) Equal(that interface{}) bool { 5981 if that == nil { 5982 return this == nil 5983 } 5984 5985 that1, ok := that.(*OneofStdTypes_RepDouble) 5986 if !ok { 5987 that2, ok := that.(OneofStdTypes_RepDouble) 5988 if ok { 5989 that1 = &that2 5990 } else { 5991 return false 5992 } 5993 } 5994 if that1 == nil { 5995 return this == nil 5996 } else if this == nil { 5997 return false 5998 } 5999 if this.RepDouble != nil && that1.RepDouble != nil { 6000 if *this.RepDouble != *that1.RepDouble { 6001 return false 6002 } 6003 } else if this.RepDouble != nil { 6004 return false 6005 } else if that1.RepDouble != nil { 6006 return false 6007 } 6008 return true 6009 } 6010 func (this *OneofStdTypes_RepFloat) Equal(that interface{}) bool { 6011 if that == nil { 6012 return this == nil 6013 } 6014 6015 that1, ok := that.(*OneofStdTypes_RepFloat) 6016 if !ok { 6017 that2, ok := that.(OneofStdTypes_RepFloat) 6018 if ok { 6019 that1 = &that2 6020 } else { 6021 return false 6022 } 6023 } 6024 if that1 == nil { 6025 return this == nil 6026 } else if this == nil { 6027 return false 6028 } 6029 if this.RepFloat != nil && that1.RepFloat != nil { 6030 if *this.RepFloat != *that1.RepFloat { 6031 return false 6032 } 6033 } else if this.RepFloat != nil { 6034 return false 6035 } else if that1.RepFloat != nil { 6036 return false 6037 } 6038 return true 6039 } 6040 func (this *OneofStdTypes_RepInt64) Equal(that interface{}) bool { 6041 if that == nil { 6042 return this == nil 6043 } 6044 6045 that1, ok := that.(*OneofStdTypes_RepInt64) 6046 if !ok { 6047 that2, ok := that.(OneofStdTypes_RepInt64) 6048 if ok { 6049 that1 = &that2 6050 } else { 6051 return false 6052 } 6053 } 6054 if that1 == nil { 6055 return this == nil 6056 } else if this == nil { 6057 return false 6058 } 6059 if this.RepInt64 != nil && that1.RepInt64 != nil { 6060 if *this.RepInt64 != *that1.RepInt64 { 6061 return false 6062 } 6063 } else if this.RepInt64 != nil { 6064 return false 6065 } else if that1.RepInt64 != nil { 6066 return false 6067 } 6068 return true 6069 } 6070 func (this *OneofStdTypes_RepUInt64) Equal(that interface{}) bool { 6071 if that == nil { 6072 return this == nil 6073 } 6074 6075 that1, ok := that.(*OneofStdTypes_RepUInt64) 6076 if !ok { 6077 that2, ok := that.(OneofStdTypes_RepUInt64) 6078 if ok { 6079 that1 = &that2 6080 } else { 6081 return false 6082 } 6083 } 6084 if that1 == nil { 6085 return this == nil 6086 } else if this == nil { 6087 return false 6088 } 6089 if this.RepUInt64 != nil && that1.RepUInt64 != nil { 6090 if *this.RepUInt64 != *that1.RepUInt64 { 6091 return false 6092 } 6093 } else if this.RepUInt64 != nil { 6094 return false 6095 } else if that1.RepUInt64 != nil { 6096 return false 6097 } 6098 return true 6099 } 6100 func (this *OneofStdTypes_RepInt32) Equal(that interface{}) bool { 6101 if that == nil { 6102 return this == nil 6103 } 6104 6105 that1, ok := that.(*OneofStdTypes_RepInt32) 6106 if !ok { 6107 that2, ok := that.(OneofStdTypes_RepInt32) 6108 if ok { 6109 that1 = &that2 6110 } else { 6111 return false 6112 } 6113 } 6114 if that1 == nil { 6115 return this == nil 6116 } else if this == nil { 6117 return false 6118 } 6119 if this.RepInt32 != nil && that1.RepInt32 != nil { 6120 if *this.RepInt32 != *that1.RepInt32 { 6121 return false 6122 } 6123 } else if this.RepInt32 != nil { 6124 return false 6125 } else if that1.RepInt32 != nil { 6126 return false 6127 } 6128 return true 6129 } 6130 func (this *OneofStdTypes_RepUInt32) Equal(that interface{}) bool { 6131 if that == nil { 6132 return this == nil 6133 } 6134 6135 that1, ok := that.(*OneofStdTypes_RepUInt32) 6136 if !ok { 6137 that2, ok := that.(OneofStdTypes_RepUInt32) 6138 if ok { 6139 that1 = &that2 6140 } else { 6141 return false 6142 } 6143 } 6144 if that1 == nil { 6145 return this == nil 6146 } else if this == nil { 6147 return false 6148 } 6149 if this.RepUInt32 != nil && that1.RepUInt32 != nil { 6150 if *this.RepUInt32 != *that1.RepUInt32 { 6151 return false 6152 } 6153 } else if this.RepUInt32 != nil { 6154 return false 6155 } else if that1.RepUInt32 != nil { 6156 return false 6157 } 6158 return true 6159 } 6160 func (this *OneofStdTypes_RepBool) Equal(that interface{}) bool { 6161 if that == nil { 6162 return this == nil 6163 } 6164 6165 that1, ok := that.(*OneofStdTypes_RepBool) 6166 if !ok { 6167 that2, ok := that.(OneofStdTypes_RepBool) 6168 if ok { 6169 that1 = &that2 6170 } else { 6171 return false 6172 } 6173 } 6174 if that1 == nil { 6175 return this == nil 6176 } else if this == nil { 6177 return false 6178 } 6179 if this.RepBool != nil && that1.RepBool != nil { 6180 if *this.RepBool != *that1.RepBool { 6181 return false 6182 } 6183 } else if this.RepBool != nil { 6184 return false 6185 } else if that1.RepBool != nil { 6186 return false 6187 } 6188 return true 6189 } 6190 func (this *OneofStdTypes_RepString) Equal(that interface{}) bool { 6191 if that == nil { 6192 return this == nil 6193 } 6194 6195 that1, ok := that.(*OneofStdTypes_RepString) 6196 if !ok { 6197 that2, ok := that.(OneofStdTypes_RepString) 6198 if ok { 6199 that1 = &that2 6200 } else { 6201 return false 6202 } 6203 } 6204 if that1 == nil { 6205 return this == nil 6206 } else if this == nil { 6207 return false 6208 } 6209 if this.RepString != nil && that1.RepString != nil { 6210 if *this.RepString != *that1.RepString { 6211 return false 6212 } 6213 } else if this.RepString != nil { 6214 return false 6215 } else if that1.RepString != nil { 6216 return false 6217 } 6218 return true 6219 } 6220 func (this *OneofStdTypes_RepBytes) Equal(that interface{}) bool { 6221 if that == nil { 6222 return this == nil 6223 } 6224 6225 that1, ok := that.(*OneofStdTypes_RepBytes) 6226 if !ok { 6227 that2, ok := that.(OneofStdTypes_RepBytes) 6228 if ok { 6229 that1 = &that2 6230 } else { 6231 return false 6232 } 6233 } 6234 if that1 == nil { 6235 return this == nil 6236 } else if this == nil { 6237 return false 6238 } 6239 if that1.RepBytes == nil { 6240 if this.RepBytes != nil { 6241 return false 6242 } 6243 } else if !bytes.Equal(*this.RepBytes, *that1.RepBytes) { 6244 return false 6245 } 6246 return true 6247 } 6248 func NewPopulatedKnownTypes(r randyTypes, easy bool) *KnownTypes { 6249 this := &KnownTypes{} 6250 if r.Intn(5) != 0 { 6251 this.Dur = types.NewPopulatedDuration(r, easy) 6252 } 6253 if r.Intn(5) != 0 { 6254 this.Ts = types.NewPopulatedTimestamp(r, easy) 6255 } 6256 if r.Intn(5) != 0 { 6257 this.Dbl = types.NewPopulatedDoubleValue(r, easy) 6258 } 6259 if r.Intn(5) != 0 { 6260 this.Flt = types.NewPopulatedFloatValue(r, easy) 6261 } 6262 if r.Intn(5) != 0 { 6263 this.I64 = types.NewPopulatedInt64Value(r, easy) 6264 } 6265 if r.Intn(5) != 0 { 6266 this.U64 = types.NewPopulatedUInt64Value(r, easy) 6267 } 6268 if r.Intn(5) != 0 { 6269 this.I32 = types.NewPopulatedInt32Value(r, easy) 6270 } 6271 if r.Intn(5) != 0 { 6272 this.U32 = types.NewPopulatedUInt32Value(r, easy) 6273 } 6274 if r.Intn(5) != 0 { 6275 this.Bool = types.NewPopulatedBoolValue(r, easy) 6276 } 6277 if r.Intn(5) != 0 { 6278 this.Str = types.NewPopulatedStringValue(r, easy) 6279 } 6280 if r.Intn(5) != 0 { 6281 this.Bytes = types.NewPopulatedBytesValue(r, easy) 6282 } 6283 if r.Intn(5) != 0 { 6284 this.St = types.NewPopulatedStruct(r, easy) 6285 } 6286 if !easy && r.Intn(10) != 0 { 6287 this.XXX_unrecognized = randUnrecognizedTypes(r, 13) 6288 } 6289 return this 6290 } 6291 6292 func NewPopulatedProtoTypes(r randyTypes, easy bool) *ProtoTypes { 6293 this := &ProtoTypes{} 6294 if r.Intn(5) != 0 { 6295 this.NullableTimestamp = types.NewPopulatedTimestamp(r, easy) 6296 } 6297 if r.Intn(5) != 0 { 6298 this.NullableDuration = types.NewPopulatedDuration(r, easy) 6299 } 6300 if r.Intn(5) != 0 { 6301 this.NullableDouble = types.NewPopulatedDoubleValue(r, easy) 6302 } 6303 if r.Intn(5) != 0 { 6304 this.NullableFloat = types.NewPopulatedFloatValue(r, easy) 6305 } 6306 if r.Intn(5) != 0 { 6307 this.NullableInt64 = types.NewPopulatedInt64Value(r, easy) 6308 } 6309 if r.Intn(5) != 0 { 6310 this.NullableUInt64 = types.NewPopulatedUInt64Value(r, easy) 6311 } 6312 if r.Intn(5) != 0 { 6313 this.NullableInt32 = types.NewPopulatedInt32Value(r, easy) 6314 } 6315 if r.Intn(5) != 0 { 6316 this.NullableUInt32 = types.NewPopulatedUInt32Value(r, easy) 6317 } 6318 if r.Intn(5) != 0 { 6319 this.NullableBool = types.NewPopulatedBoolValue(r, easy) 6320 } 6321 if r.Intn(5) != 0 { 6322 this.NullableString = types.NewPopulatedStringValue(r, easy) 6323 } 6324 if r.Intn(5) != 0 { 6325 this.NullableBytes = types.NewPopulatedBytesValue(r, easy) 6326 } 6327 v1 := types.NewPopulatedTimestamp(r, easy) 6328 this.Timestamp = *v1 6329 v2 := types.NewPopulatedDuration(r, easy) 6330 this.Duration = *v2 6331 v3 := types.NewPopulatedDoubleValue(r, easy) 6332 this.NonnullDouble = *v3 6333 v4 := types.NewPopulatedFloatValue(r, easy) 6334 this.NonnullFloat = *v4 6335 v5 := types.NewPopulatedInt64Value(r, easy) 6336 this.NonnullInt64 = *v5 6337 v6 := types.NewPopulatedUInt64Value(r, easy) 6338 this.NonnullUInt64 = *v6 6339 v7 := types.NewPopulatedInt32Value(r, easy) 6340 this.NonnullInt32 = *v7 6341 v8 := types.NewPopulatedUInt32Value(r, easy) 6342 this.NonnullUInt32 = *v8 6343 v9 := types.NewPopulatedBoolValue(r, easy) 6344 this.NonnullBool = *v9 6345 v10 := types.NewPopulatedStringValue(r, easy) 6346 this.NonnullString = *v10 6347 v11 := types.NewPopulatedBytesValue(r, easy) 6348 this.NonnullBytes = *v11 6349 if !easy && r.Intn(10) != 0 { 6350 this.XXX_unrecognized = randUnrecognizedTypes(r, 23) 6351 } 6352 return this 6353 } 6354 6355 func NewPopulatedStdTypes(r randyTypes, easy bool) *StdTypes { 6356 this := &StdTypes{} 6357 if r.Intn(5) != 0 { 6358 this.NullableTimestamp = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) 6359 } 6360 if r.Intn(5) != 0 { 6361 this.NullableDuration = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) 6362 } 6363 if r.Intn(5) != 0 { 6364 this.NullableDouble = github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) 6365 } 6366 if r.Intn(5) != 0 { 6367 this.NullableFloat = github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) 6368 } 6369 if r.Intn(5) != 0 { 6370 this.NullableInt64 = github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) 6371 } 6372 if r.Intn(5) != 0 { 6373 this.NullableUInt64 = github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) 6374 } 6375 if r.Intn(5) != 0 { 6376 this.NullableInt32 = github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) 6377 } 6378 if r.Intn(5) != 0 { 6379 this.NullableUInt32 = github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) 6380 } 6381 if r.Intn(5) != 0 { 6382 this.NullableBool = github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) 6383 } 6384 if r.Intn(5) != 0 { 6385 this.NullableString = github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) 6386 } 6387 if r.Intn(5) != 0 { 6388 this.NullableBytes = github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) 6389 } 6390 v12 := github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) 6391 this.Timestamp = *v12 6392 v13 := github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) 6393 this.Duration = *v13 6394 v14 := github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) 6395 this.NonnullDouble = *v14 6396 v15 := github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) 6397 this.NonnullFloat = *v15 6398 v16 := github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) 6399 this.NonnullInt64 = *v16 6400 v17 := github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) 6401 this.NonnullUInt64 = *v17 6402 v18 := github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) 6403 this.NonnullInt32 = *v18 6404 v19 := github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) 6405 this.NonnullUInt32 = *v19 6406 v20 := github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) 6407 this.NonnullBool = *v20 6408 v21 := github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) 6409 this.NonnullString = *v21 6410 v22 := github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) 6411 this.NonnullBytes = *v22 6412 if !easy && r.Intn(10) != 0 { 6413 this.XXX_unrecognized = randUnrecognizedTypes(r, 23) 6414 } 6415 return this 6416 } 6417 6418 func NewPopulatedRepProtoTypes(r randyTypes, easy bool) *RepProtoTypes { 6419 this := &RepProtoTypes{} 6420 if r.Intn(5) != 0 { 6421 v23 := r.Intn(5) 6422 this.NullableTimestamps = make([]*types.Timestamp, v23) 6423 for i := 0; i < v23; i++ { 6424 this.NullableTimestamps[i] = types.NewPopulatedTimestamp(r, easy) 6425 } 6426 } 6427 if r.Intn(5) != 0 { 6428 v24 := r.Intn(5) 6429 this.NullableDurations = make([]*types.Duration, v24) 6430 for i := 0; i < v24; i++ { 6431 this.NullableDurations[i] = types.NewPopulatedDuration(r, easy) 6432 } 6433 } 6434 if r.Intn(5) != 0 { 6435 v25 := r.Intn(5) 6436 this.Timestamps = make([]types.Timestamp, v25) 6437 for i := 0; i < v25; i++ { 6438 v26 := types.NewPopulatedTimestamp(r, easy) 6439 this.Timestamps[i] = *v26 6440 } 6441 } 6442 if r.Intn(5) != 0 { 6443 v27 := r.Intn(5) 6444 this.Durations = make([]types.Duration, v27) 6445 for i := 0; i < v27; i++ { 6446 v28 := types.NewPopulatedDuration(r, easy) 6447 this.Durations[i] = *v28 6448 } 6449 } 6450 if r.Intn(5) != 0 { 6451 v29 := r.Intn(5) 6452 this.NullableDouble = make([]*types.DoubleValue, v29) 6453 for i := 0; i < v29; i++ { 6454 this.NullableDouble[i] = types.NewPopulatedDoubleValue(r, easy) 6455 } 6456 } 6457 if r.Intn(5) != 0 { 6458 v30 := r.Intn(5) 6459 this.NonnullDouble = make([]types.DoubleValue, v30) 6460 for i := 0; i < v30; i++ { 6461 v31 := types.NewPopulatedDoubleValue(r, easy) 6462 this.NonnullDouble[i] = *v31 6463 } 6464 } 6465 if r.Intn(5) != 0 { 6466 v32 := r.Intn(5) 6467 this.NullableFloat = make([]*types.FloatValue, v32) 6468 for i := 0; i < v32; i++ { 6469 this.NullableFloat[i] = types.NewPopulatedFloatValue(r, easy) 6470 } 6471 } 6472 if r.Intn(5) != 0 { 6473 v33 := r.Intn(5) 6474 this.NonnullFloat = make([]types.FloatValue, v33) 6475 for i := 0; i < v33; i++ { 6476 v34 := types.NewPopulatedFloatValue(r, easy) 6477 this.NonnullFloat[i] = *v34 6478 } 6479 } 6480 if r.Intn(5) != 0 { 6481 v35 := r.Intn(5) 6482 this.NullableInt64 = make([]*types.Int64Value, v35) 6483 for i := 0; i < v35; i++ { 6484 this.NullableInt64[i] = types.NewPopulatedInt64Value(r, easy) 6485 } 6486 } 6487 if r.Intn(5) != 0 { 6488 v36 := r.Intn(5) 6489 this.NonnullInt64 = make([]types.Int64Value, v36) 6490 for i := 0; i < v36; i++ { 6491 v37 := types.NewPopulatedInt64Value(r, easy) 6492 this.NonnullInt64[i] = *v37 6493 } 6494 } 6495 if r.Intn(5) != 0 { 6496 v38 := r.Intn(5) 6497 this.NullableUInt64 = make([]*types.UInt64Value, v38) 6498 for i := 0; i < v38; i++ { 6499 this.NullableUInt64[i] = types.NewPopulatedUInt64Value(r, easy) 6500 } 6501 } 6502 if r.Intn(5) != 0 { 6503 v39 := r.Intn(5) 6504 this.NonnullUInt64 = make([]types.UInt64Value, v39) 6505 for i := 0; i < v39; i++ { 6506 v40 := types.NewPopulatedUInt64Value(r, easy) 6507 this.NonnullUInt64[i] = *v40 6508 } 6509 } 6510 if r.Intn(5) != 0 { 6511 v41 := r.Intn(5) 6512 this.NullableInt32 = make([]*types.Int32Value, v41) 6513 for i := 0; i < v41; i++ { 6514 this.NullableInt32[i] = types.NewPopulatedInt32Value(r, easy) 6515 } 6516 } 6517 if r.Intn(5) != 0 { 6518 v42 := r.Intn(5) 6519 this.NonnullInt32 = make([]types.Int32Value, v42) 6520 for i := 0; i < v42; i++ { 6521 v43 := types.NewPopulatedInt32Value(r, easy) 6522 this.NonnullInt32[i] = *v43 6523 } 6524 } 6525 if r.Intn(5) != 0 { 6526 v44 := r.Intn(5) 6527 this.NullableUInt32 = make([]*types.UInt32Value, v44) 6528 for i := 0; i < v44; i++ { 6529 this.NullableUInt32[i] = types.NewPopulatedUInt32Value(r, easy) 6530 } 6531 } 6532 if r.Intn(5) != 0 { 6533 v45 := r.Intn(5) 6534 this.NonnullUInt32 = make([]types.UInt32Value, v45) 6535 for i := 0; i < v45; i++ { 6536 v46 := types.NewPopulatedUInt32Value(r, easy) 6537 this.NonnullUInt32[i] = *v46 6538 } 6539 } 6540 if r.Intn(5) != 0 { 6541 v47 := r.Intn(5) 6542 this.NullableBool = make([]*types.BoolValue, v47) 6543 for i := 0; i < v47; i++ { 6544 this.NullableBool[i] = types.NewPopulatedBoolValue(r, easy) 6545 } 6546 } 6547 if r.Intn(5) != 0 { 6548 v48 := r.Intn(5) 6549 this.NonnullBool = make([]types.BoolValue, v48) 6550 for i := 0; i < v48; i++ { 6551 v49 := types.NewPopulatedBoolValue(r, easy) 6552 this.NonnullBool[i] = *v49 6553 } 6554 } 6555 if r.Intn(5) != 0 { 6556 v50 := r.Intn(5) 6557 this.NullableString = make([]*types.StringValue, v50) 6558 for i := 0; i < v50; i++ { 6559 this.NullableString[i] = types.NewPopulatedStringValue(r, easy) 6560 } 6561 } 6562 if r.Intn(5) != 0 { 6563 v51 := r.Intn(5) 6564 this.NonnullString = make([]types.StringValue, v51) 6565 for i := 0; i < v51; i++ { 6566 v52 := types.NewPopulatedStringValue(r, easy) 6567 this.NonnullString[i] = *v52 6568 } 6569 } 6570 if r.Intn(5) != 0 { 6571 v53 := r.Intn(5) 6572 this.NullableBytes = make([]*types.BytesValue, v53) 6573 for i := 0; i < v53; i++ { 6574 this.NullableBytes[i] = types.NewPopulatedBytesValue(r, easy) 6575 } 6576 } 6577 if r.Intn(5) != 0 { 6578 v54 := r.Intn(5) 6579 this.NonnullBytes = make([]types.BytesValue, v54) 6580 for i := 0; i < v54; i++ { 6581 v55 := types.NewPopulatedBytesValue(r, easy) 6582 this.NonnullBytes[i] = *v55 6583 } 6584 } 6585 if !easy && r.Intn(10) != 0 { 6586 this.XXX_unrecognized = randUnrecognizedTypes(r, 23) 6587 } 6588 return this 6589 } 6590 6591 func NewPopulatedRepStdTypes(r randyTypes, easy bool) *RepStdTypes { 6592 this := &RepStdTypes{} 6593 if r.Intn(5) != 0 { 6594 v56 := r.Intn(5) 6595 this.NullableTimestamps = make([]*time.Time, v56) 6596 for i := 0; i < v56; i++ { 6597 this.NullableTimestamps[i] = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) 6598 } 6599 } 6600 if r.Intn(5) != 0 { 6601 v57 := r.Intn(5) 6602 this.NullableDurations = make([]*time.Duration, v57) 6603 for i := 0; i < v57; i++ { 6604 this.NullableDurations[i] = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) 6605 } 6606 } 6607 if r.Intn(5) != 0 { 6608 v58 := r.Intn(5) 6609 this.Timestamps = make([]time.Time, v58) 6610 for i := 0; i < v58; i++ { 6611 v59 := github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) 6612 this.Timestamps[i] = *v59 6613 } 6614 } 6615 if r.Intn(5) != 0 { 6616 v60 := r.Intn(5) 6617 this.Durations = make([]time.Duration, v60) 6618 for i := 0; i < v60; i++ { 6619 v61 := github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) 6620 this.Durations[i] = *v61 6621 } 6622 } 6623 if r.Intn(5) != 0 { 6624 v62 := r.Intn(5) 6625 this.NullableDouble = make([]*float64, v62) 6626 for i := 0; i < v62; i++ { 6627 this.NullableDouble[i] = github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) 6628 } 6629 } 6630 if r.Intn(5) != 0 { 6631 v63 := r.Intn(5) 6632 this.NonnullDouble = make([]float64, v63) 6633 for i := 0; i < v63; i++ { 6634 v64 := github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) 6635 this.NonnullDouble[i] = *v64 6636 } 6637 } 6638 if r.Intn(5) != 0 { 6639 v65 := r.Intn(5) 6640 this.NullableFloat = make([]*float32, v65) 6641 for i := 0; i < v65; i++ { 6642 this.NullableFloat[i] = github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) 6643 } 6644 } 6645 if r.Intn(5) != 0 { 6646 v66 := r.Intn(5) 6647 this.NonnullFloat = make([]float32, v66) 6648 for i := 0; i < v66; i++ { 6649 v67 := github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) 6650 this.NonnullFloat[i] = *v67 6651 } 6652 } 6653 if r.Intn(5) != 0 { 6654 v68 := r.Intn(5) 6655 this.NullableInt64 = make([]*int64, v68) 6656 for i := 0; i < v68; i++ { 6657 this.NullableInt64[i] = github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) 6658 } 6659 } 6660 if r.Intn(5) != 0 { 6661 v69 := r.Intn(5) 6662 this.NonnullInt64 = make([]int64, v69) 6663 for i := 0; i < v69; i++ { 6664 v70 := github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) 6665 this.NonnullInt64[i] = *v70 6666 } 6667 } 6668 if r.Intn(5) != 0 { 6669 v71 := r.Intn(5) 6670 this.NullableUInt64 = make([]*uint64, v71) 6671 for i := 0; i < v71; i++ { 6672 this.NullableUInt64[i] = github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) 6673 } 6674 } 6675 if r.Intn(5) != 0 { 6676 v72 := r.Intn(5) 6677 this.NonnullUInt64 = make([]uint64, v72) 6678 for i := 0; i < v72; i++ { 6679 v73 := github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) 6680 this.NonnullUInt64[i] = *v73 6681 } 6682 } 6683 if r.Intn(5) != 0 { 6684 v74 := r.Intn(5) 6685 this.NullableInt32 = make([]*int32, v74) 6686 for i := 0; i < v74; i++ { 6687 this.NullableInt32[i] = github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) 6688 } 6689 } 6690 if r.Intn(5) != 0 { 6691 v75 := r.Intn(5) 6692 this.NonnullInt32 = make([]int32, v75) 6693 for i := 0; i < v75; i++ { 6694 v76 := github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) 6695 this.NonnullInt32[i] = *v76 6696 } 6697 } 6698 if r.Intn(5) != 0 { 6699 v77 := r.Intn(5) 6700 this.NullableUInt32 = make([]*uint32, v77) 6701 for i := 0; i < v77; i++ { 6702 this.NullableUInt32[i] = github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) 6703 } 6704 } 6705 if r.Intn(5) != 0 { 6706 v78 := r.Intn(5) 6707 this.NonnullUInt32 = make([]uint32, v78) 6708 for i := 0; i < v78; i++ { 6709 v79 := github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) 6710 this.NonnullUInt32[i] = *v79 6711 } 6712 } 6713 if r.Intn(5) != 0 { 6714 v80 := r.Intn(5) 6715 this.NullableBool = make([]*bool, v80) 6716 for i := 0; i < v80; i++ { 6717 this.NullableBool[i] = github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) 6718 } 6719 } 6720 if r.Intn(5) != 0 { 6721 v81 := r.Intn(5) 6722 this.NonnullBool = make([]bool, v81) 6723 for i := 0; i < v81; i++ { 6724 v82 := github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) 6725 this.NonnullBool[i] = *v82 6726 } 6727 } 6728 if r.Intn(5) != 0 { 6729 v83 := r.Intn(5) 6730 this.NullableString = make([]*string, v83) 6731 for i := 0; i < v83; i++ { 6732 this.NullableString[i] = github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) 6733 } 6734 } 6735 if r.Intn(5) != 0 { 6736 v84 := r.Intn(5) 6737 this.NonnullString = make([]string, v84) 6738 for i := 0; i < v84; i++ { 6739 v85 := github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) 6740 this.NonnullString[i] = *v85 6741 } 6742 } 6743 if r.Intn(5) != 0 { 6744 v86 := r.Intn(5) 6745 this.NullableBytes = make([]*[]byte, v86) 6746 for i := 0; i < v86; i++ { 6747 this.NullableBytes[i] = github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) 6748 } 6749 } 6750 if r.Intn(5) != 0 { 6751 v87 := r.Intn(5) 6752 this.NonnullBytes = make([][]byte, v87) 6753 for i := 0; i < v87; i++ { 6754 v88 := github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) 6755 this.NonnullBytes[i] = *v88 6756 } 6757 } 6758 if !easy && r.Intn(10) != 0 { 6759 this.XXX_unrecognized = randUnrecognizedTypes(r, 23) 6760 } 6761 return this 6762 } 6763 6764 func NewPopulatedMapProtoTypes(r randyTypes, easy bool) *MapProtoTypes { 6765 this := &MapProtoTypes{} 6766 if r.Intn(5) != 0 { 6767 v89 := r.Intn(10) 6768 this.NullableTimestamp = make(map[int32]*types.Timestamp) 6769 for i := 0; i < v89; i++ { 6770 this.NullableTimestamp[int32(r.Int31())] = types.NewPopulatedTimestamp(r, easy) 6771 } 6772 } 6773 if r.Intn(5) != 0 { 6774 v90 := r.Intn(10) 6775 this.Timestamp = make(map[int32]types.Timestamp) 6776 for i := 0; i < v90; i++ { 6777 this.Timestamp[int32(r.Int31())] = *types.NewPopulatedTimestamp(r, easy) 6778 } 6779 } 6780 if r.Intn(5) != 0 { 6781 v91 := r.Intn(10) 6782 this.NullableDuration = make(map[int32]*types.Duration) 6783 for i := 0; i < v91; i++ { 6784 this.NullableDuration[int32(r.Int31())] = types.NewPopulatedDuration(r, easy) 6785 } 6786 } 6787 if r.Intn(5) != 0 { 6788 v92 := r.Intn(10) 6789 this.Duration = make(map[int32]types.Duration) 6790 for i := 0; i < v92; i++ { 6791 this.Duration[int32(r.Int31())] = *types.NewPopulatedDuration(r, easy) 6792 } 6793 } 6794 if r.Intn(5) != 0 { 6795 v93 := r.Intn(10) 6796 this.NullableDouble = make(map[int32]*types.DoubleValue) 6797 for i := 0; i < v93; i++ { 6798 this.NullableDouble[int32(r.Int31())] = types.NewPopulatedDoubleValue(r, easy) 6799 } 6800 } 6801 if r.Intn(5) != 0 { 6802 v94 := r.Intn(10) 6803 this.NonnullDouble = make(map[int32]types.DoubleValue) 6804 for i := 0; i < v94; i++ { 6805 this.NonnullDouble[int32(r.Int31())] = *types.NewPopulatedDoubleValue(r, easy) 6806 } 6807 } 6808 if r.Intn(5) != 0 { 6809 v95 := r.Intn(10) 6810 this.NullableFloat = make(map[int32]*types.FloatValue) 6811 for i := 0; i < v95; i++ { 6812 this.NullableFloat[int32(r.Int31())] = types.NewPopulatedFloatValue(r, easy) 6813 } 6814 } 6815 if r.Intn(5) != 0 { 6816 v96 := r.Intn(10) 6817 this.NonnullFloat = make(map[int32]types.FloatValue) 6818 for i := 0; i < v96; i++ { 6819 this.NonnullFloat[int32(r.Int31())] = *types.NewPopulatedFloatValue(r, easy) 6820 } 6821 } 6822 if r.Intn(5) != 0 { 6823 v97 := r.Intn(10) 6824 this.NullableInt64 = make(map[int32]*types.Int64Value) 6825 for i := 0; i < v97; i++ { 6826 this.NullableInt64[int32(r.Int31())] = types.NewPopulatedInt64Value(r, easy) 6827 } 6828 } 6829 if r.Intn(5) != 0 { 6830 v98 := r.Intn(10) 6831 this.NonnullInt64 = make(map[int32]types.Int64Value) 6832 for i := 0; i < v98; i++ { 6833 this.NonnullInt64[int32(r.Int31())] = *types.NewPopulatedInt64Value(r, easy) 6834 } 6835 } 6836 if r.Intn(5) != 0 { 6837 v99 := r.Intn(10) 6838 this.NullableUInt64 = make(map[int32]*types.UInt64Value) 6839 for i := 0; i < v99; i++ { 6840 this.NullableUInt64[int32(r.Int31())] = types.NewPopulatedUInt64Value(r, easy) 6841 } 6842 } 6843 if r.Intn(5) != 0 { 6844 v100 := r.Intn(10) 6845 this.NonnullUInt64 = make(map[int32]types.UInt64Value) 6846 for i := 0; i < v100; i++ { 6847 this.NonnullUInt64[int32(r.Int31())] = *types.NewPopulatedUInt64Value(r, easy) 6848 } 6849 } 6850 if r.Intn(5) != 0 { 6851 v101 := r.Intn(10) 6852 this.NullableInt32 = make(map[int32]*types.Int32Value) 6853 for i := 0; i < v101; i++ { 6854 this.NullableInt32[int32(r.Int31())] = types.NewPopulatedInt32Value(r, easy) 6855 } 6856 } 6857 if r.Intn(5) != 0 { 6858 v102 := r.Intn(10) 6859 this.NonnullInt32 = make(map[int32]types.Int32Value) 6860 for i := 0; i < v102; i++ { 6861 this.NonnullInt32[int32(r.Int31())] = *types.NewPopulatedInt32Value(r, easy) 6862 } 6863 } 6864 if r.Intn(5) != 0 { 6865 v103 := r.Intn(10) 6866 this.NullableUInt32 = make(map[int32]*types.UInt32Value) 6867 for i := 0; i < v103; i++ { 6868 this.NullableUInt32[int32(r.Int31())] = types.NewPopulatedUInt32Value(r, easy) 6869 } 6870 } 6871 if r.Intn(5) != 0 { 6872 v104 := r.Intn(10) 6873 this.NonnullUInt32 = make(map[int32]types.UInt32Value) 6874 for i := 0; i < v104; i++ { 6875 this.NonnullUInt32[int32(r.Int31())] = *types.NewPopulatedUInt32Value(r, easy) 6876 } 6877 } 6878 if r.Intn(5) != 0 { 6879 v105 := r.Intn(10) 6880 this.NullableBool = make(map[int32]*types.BoolValue) 6881 for i := 0; i < v105; i++ { 6882 this.NullableBool[int32(r.Int31())] = types.NewPopulatedBoolValue(r, easy) 6883 } 6884 } 6885 if r.Intn(5) != 0 { 6886 v106 := r.Intn(10) 6887 this.NonnullBool = make(map[int32]types.BoolValue) 6888 for i := 0; i < v106; i++ { 6889 this.NonnullBool[int32(r.Int31())] = *types.NewPopulatedBoolValue(r, easy) 6890 } 6891 } 6892 if r.Intn(5) != 0 { 6893 v107 := r.Intn(10) 6894 this.NullableString = make(map[int32]*types.StringValue) 6895 for i := 0; i < v107; i++ { 6896 this.NullableString[int32(r.Int31())] = types.NewPopulatedStringValue(r, easy) 6897 } 6898 } 6899 if r.Intn(5) != 0 { 6900 v108 := r.Intn(10) 6901 this.NonnullString = make(map[int32]types.StringValue) 6902 for i := 0; i < v108; i++ { 6903 this.NonnullString[int32(r.Int31())] = *types.NewPopulatedStringValue(r, easy) 6904 } 6905 } 6906 if r.Intn(5) != 0 { 6907 v109 := r.Intn(10) 6908 this.NullableBytes = make(map[int32]*types.BytesValue) 6909 for i := 0; i < v109; i++ { 6910 this.NullableBytes[int32(r.Int31())] = types.NewPopulatedBytesValue(r, easy) 6911 } 6912 } 6913 if r.Intn(5) != 0 { 6914 v110 := r.Intn(10) 6915 this.NonnullBytes = make(map[int32]types.BytesValue) 6916 for i := 0; i < v110; i++ { 6917 this.NonnullBytes[int32(r.Int31())] = *types.NewPopulatedBytesValue(r, easy) 6918 } 6919 } 6920 if !easy && r.Intn(10) != 0 { 6921 this.XXX_unrecognized = randUnrecognizedTypes(r, 23) 6922 } 6923 return this 6924 } 6925 6926 func NewPopulatedMapStdTypes(r randyTypes, easy bool) *MapStdTypes { 6927 this := &MapStdTypes{} 6928 if r.Intn(5) != 0 { 6929 v111 := r.Intn(10) 6930 this.NullableTimestamp = make(map[int32]*time.Time) 6931 for i := 0; i < v111; i++ { 6932 this.NullableTimestamp[int32(r.Int31())] = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) 6933 } 6934 } 6935 if r.Intn(5) != 0 { 6936 v112 := r.Intn(10) 6937 this.Timestamp = make(map[int32]time.Time) 6938 for i := 0; i < v112; i++ { 6939 this.Timestamp[int32(r.Int31())] = *github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) 6940 } 6941 } 6942 if r.Intn(5) != 0 { 6943 v113 := r.Intn(10) 6944 this.NullableDuration = make(map[int32]*time.Duration) 6945 for i := 0; i < v113; i++ { 6946 this.NullableDuration[int32(r.Int31())] = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) 6947 } 6948 } 6949 if r.Intn(5) != 0 { 6950 v114 := r.Intn(10) 6951 this.Duration = make(map[int32]time.Duration) 6952 for i := 0; i < v114; i++ { 6953 this.Duration[int32(r.Int31())] = *github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) 6954 } 6955 } 6956 if r.Intn(5) != 0 { 6957 v115 := r.Intn(10) 6958 this.NullableDouble = make(map[int32]*float64) 6959 for i := 0; i < v115; i++ { 6960 this.NullableDouble[int32(r.Int31())] = (*float64)(github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy)) 6961 } 6962 } 6963 if r.Intn(5) != 0 { 6964 v116 := r.Intn(10) 6965 this.NonnullDouble = make(map[int32]float64) 6966 for i := 0; i < v116; i++ { 6967 this.NonnullDouble[int32(r.Int31())] = (float64)(*github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy)) 6968 } 6969 } 6970 if r.Intn(5) != 0 { 6971 v117 := r.Intn(10) 6972 this.NullableFloat = make(map[int32]*float32) 6973 for i := 0; i < v117; i++ { 6974 this.NullableFloat[int32(r.Int31())] = (*float32)(github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy)) 6975 } 6976 } 6977 if r.Intn(5) != 0 { 6978 v118 := r.Intn(10) 6979 this.NonnullFloat = make(map[int32]float32) 6980 for i := 0; i < v118; i++ { 6981 this.NonnullFloat[int32(r.Int31())] = (float32)(*github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy)) 6982 } 6983 } 6984 if r.Intn(5) != 0 { 6985 v119 := r.Intn(10) 6986 this.NullableInt64 = make(map[int32]*int64) 6987 for i := 0; i < v119; i++ { 6988 this.NullableInt64[int32(r.Int31())] = (*int64)(github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy)) 6989 } 6990 } 6991 if r.Intn(5) != 0 { 6992 v120 := r.Intn(10) 6993 this.NonnullInt64 = make(map[int32]int64) 6994 for i := 0; i < v120; i++ { 6995 this.NonnullInt64[int32(r.Int31())] = (int64)(*github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy)) 6996 } 6997 } 6998 if r.Intn(5) != 0 { 6999 v121 := r.Intn(10) 7000 this.NullableUInt64 = make(map[int32]*uint64) 7001 for i := 0; i < v121; i++ { 7002 this.NullableUInt64[int32(r.Int31())] = (*uint64)(github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy)) 7003 } 7004 } 7005 if r.Intn(5) != 0 { 7006 v122 := r.Intn(10) 7007 this.NonnullUInt64 = make(map[int32]uint64) 7008 for i := 0; i < v122; i++ { 7009 this.NonnullUInt64[int32(r.Int31())] = (uint64)(*github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy)) 7010 } 7011 } 7012 if r.Intn(5) != 0 { 7013 v123 := r.Intn(10) 7014 this.NullableInt32 = make(map[int32]*int32) 7015 for i := 0; i < v123; i++ { 7016 this.NullableInt32[int32(r.Int31())] = (*int32)(github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy)) 7017 } 7018 } 7019 if r.Intn(5) != 0 { 7020 v124 := r.Intn(10) 7021 this.NonnullInt32 = make(map[int32]int32) 7022 for i := 0; i < v124; i++ { 7023 this.NonnullInt32[int32(r.Int31())] = (int32)(*github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy)) 7024 } 7025 } 7026 if r.Intn(5) != 0 { 7027 v125 := r.Intn(10) 7028 this.NullableUInt32 = make(map[int32]*uint32) 7029 for i := 0; i < v125; i++ { 7030 this.NullableUInt32[int32(r.Int31())] = (*uint32)(github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy)) 7031 } 7032 } 7033 if r.Intn(5) != 0 { 7034 v126 := r.Intn(10) 7035 this.NonnullUInt32 = make(map[int32]uint32) 7036 for i := 0; i < v126; i++ { 7037 this.NonnullUInt32[int32(r.Int31())] = (uint32)(*github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy)) 7038 } 7039 } 7040 if r.Intn(5) != 0 { 7041 v127 := r.Intn(10) 7042 this.NullableBool = make(map[int32]*bool) 7043 for i := 0; i < v127; i++ { 7044 this.NullableBool[int32(r.Int31())] = (*bool)(github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy)) 7045 } 7046 } 7047 if r.Intn(5) != 0 { 7048 v128 := r.Intn(10) 7049 this.NonnullBool = make(map[int32]bool) 7050 for i := 0; i < v128; i++ { 7051 this.NonnullBool[int32(r.Int31())] = (bool)(*github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy)) 7052 } 7053 } 7054 if r.Intn(5) != 0 { 7055 v129 := r.Intn(10) 7056 this.NullableString = make(map[int32]*string) 7057 for i := 0; i < v129; i++ { 7058 this.NullableString[int32(r.Int31())] = (*string)(github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy)) 7059 } 7060 } 7061 if r.Intn(5) != 0 { 7062 v130 := r.Intn(10) 7063 this.NonnullString = make(map[int32]string) 7064 for i := 0; i < v130; i++ { 7065 this.NonnullString[int32(r.Int31())] = (string)(*github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy)) 7066 } 7067 } 7068 if r.Intn(5) != 0 { 7069 v131 := r.Intn(10) 7070 this.NullableBytes = make(map[int32]*[]byte) 7071 for i := 0; i < v131; i++ { 7072 this.NullableBytes[int32(r.Int31())] = (*[]byte)(github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy)) 7073 } 7074 } 7075 if r.Intn(5) != 0 { 7076 v132 := r.Intn(10) 7077 this.NonnullBytes = make(map[int32][]byte) 7078 for i := 0; i < v132; i++ { 7079 this.NonnullBytes[int32(r.Int31())] = ([]byte)(*github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy)) 7080 } 7081 } 7082 if !easy && r.Intn(10) != 0 { 7083 this.XXX_unrecognized = randUnrecognizedTypes(r, 23) 7084 } 7085 return this 7086 } 7087 7088 func NewPopulatedOneofProtoTypes(r randyTypes, easy bool) *OneofProtoTypes { 7089 this := &OneofProtoTypes{} 7090 oneofNumber_OneOfProtoTimes := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}[r.Intn(11)] 7091 switch oneofNumber_OneOfProtoTimes { 7092 case 1: 7093 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_Timestamp(r, easy) 7094 case 2: 7095 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_Duration(r, easy) 7096 case 3: 7097 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepDouble(r, easy) 7098 case 4: 7099 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepFloat(r, easy) 7100 case 5: 7101 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepInt64(r, easy) 7102 case 6: 7103 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepUInt64(r, easy) 7104 case 7: 7105 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepInt32(r, easy) 7106 case 8: 7107 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepUInt32(r, easy) 7108 case 9: 7109 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepBool(r, easy) 7110 case 10: 7111 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepString(r, easy) 7112 case 11: 7113 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepBytes(r, easy) 7114 } 7115 if !easy && r.Intn(10) != 0 { 7116 this.XXX_unrecognized = randUnrecognizedTypes(r, 12) 7117 } 7118 return this 7119 } 7120 7121 func NewPopulatedOneofProtoTypes_Timestamp(r randyTypes, easy bool) *OneofProtoTypes_Timestamp { 7122 this := &OneofProtoTypes_Timestamp{} 7123 this.Timestamp = types.NewPopulatedTimestamp(r, easy) 7124 return this 7125 } 7126 func NewPopulatedOneofProtoTypes_Duration(r randyTypes, easy bool) *OneofProtoTypes_Duration { 7127 this := &OneofProtoTypes_Duration{} 7128 this.Duration = types.NewPopulatedDuration(r, easy) 7129 return this 7130 } 7131 func NewPopulatedOneofProtoTypes_RepDouble(r randyTypes, easy bool) *OneofProtoTypes_RepDouble { 7132 this := &OneofProtoTypes_RepDouble{} 7133 this.RepDouble = types.NewPopulatedDoubleValue(r, easy) 7134 return this 7135 } 7136 func NewPopulatedOneofProtoTypes_RepFloat(r randyTypes, easy bool) *OneofProtoTypes_RepFloat { 7137 this := &OneofProtoTypes_RepFloat{} 7138 this.RepFloat = types.NewPopulatedFloatValue(r, easy) 7139 return this 7140 } 7141 func NewPopulatedOneofProtoTypes_RepInt64(r randyTypes, easy bool) *OneofProtoTypes_RepInt64 { 7142 this := &OneofProtoTypes_RepInt64{} 7143 this.RepInt64 = types.NewPopulatedInt64Value(r, easy) 7144 return this 7145 } 7146 func NewPopulatedOneofProtoTypes_RepUInt64(r randyTypes, easy bool) *OneofProtoTypes_RepUInt64 { 7147 this := &OneofProtoTypes_RepUInt64{} 7148 this.RepUInt64 = types.NewPopulatedUInt64Value(r, easy) 7149 return this 7150 } 7151 func NewPopulatedOneofProtoTypes_RepInt32(r randyTypes, easy bool) *OneofProtoTypes_RepInt32 { 7152 this := &OneofProtoTypes_RepInt32{} 7153 this.RepInt32 = types.NewPopulatedInt32Value(r, easy) 7154 return this 7155 } 7156 func NewPopulatedOneofProtoTypes_RepUInt32(r randyTypes, easy bool) *OneofProtoTypes_RepUInt32 { 7157 this := &OneofProtoTypes_RepUInt32{} 7158 this.RepUInt32 = types.NewPopulatedUInt32Value(r, easy) 7159 return this 7160 } 7161 func NewPopulatedOneofProtoTypes_RepBool(r randyTypes, easy bool) *OneofProtoTypes_RepBool { 7162 this := &OneofProtoTypes_RepBool{} 7163 this.RepBool = types.NewPopulatedBoolValue(r, easy) 7164 return this 7165 } 7166 func NewPopulatedOneofProtoTypes_RepString(r randyTypes, easy bool) *OneofProtoTypes_RepString { 7167 this := &OneofProtoTypes_RepString{} 7168 this.RepString = types.NewPopulatedStringValue(r, easy) 7169 return this 7170 } 7171 func NewPopulatedOneofProtoTypes_RepBytes(r randyTypes, easy bool) *OneofProtoTypes_RepBytes { 7172 this := &OneofProtoTypes_RepBytes{} 7173 this.RepBytes = types.NewPopulatedBytesValue(r, easy) 7174 return this 7175 } 7176 func NewPopulatedOneofStdTypes(r randyTypes, easy bool) *OneofStdTypes { 7177 this := &OneofStdTypes{} 7178 oneofNumber_OneOfStdTimes := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}[r.Intn(11)] 7179 switch oneofNumber_OneOfStdTimes { 7180 case 1: 7181 this.OneOfStdTimes = NewPopulatedOneofStdTypes_Timestamp(r, easy) 7182 case 2: 7183 this.OneOfStdTimes = NewPopulatedOneofStdTypes_Duration(r, easy) 7184 case 3: 7185 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepDouble(r, easy) 7186 case 4: 7187 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepFloat(r, easy) 7188 case 5: 7189 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepInt64(r, easy) 7190 case 6: 7191 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepUInt64(r, easy) 7192 case 7: 7193 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepInt32(r, easy) 7194 case 8: 7195 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepUInt32(r, easy) 7196 case 9: 7197 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepBool(r, easy) 7198 case 10: 7199 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepString(r, easy) 7200 case 11: 7201 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepBytes(r, easy) 7202 } 7203 if !easy && r.Intn(10) != 0 { 7204 this.XXX_unrecognized = randUnrecognizedTypes(r, 12) 7205 } 7206 return this 7207 } 7208 7209 func NewPopulatedOneofStdTypes_Timestamp(r randyTypes, easy bool) *OneofStdTypes_Timestamp { 7210 this := &OneofStdTypes_Timestamp{} 7211 this.Timestamp = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) 7212 return this 7213 } 7214 func NewPopulatedOneofStdTypes_Duration(r randyTypes, easy bool) *OneofStdTypes_Duration { 7215 this := &OneofStdTypes_Duration{} 7216 this.Duration = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) 7217 return this 7218 } 7219 func NewPopulatedOneofStdTypes_RepDouble(r randyTypes, easy bool) *OneofStdTypes_RepDouble { 7220 this := &OneofStdTypes_RepDouble{} 7221 this.RepDouble = github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) 7222 return this 7223 } 7224 func NewPopulatedOneofStdTypes_RepFloat(r randyTypes, easy bool) *OneofStdTypes_RepFloat { 7225 this := &OneofStdTypes_RepFloat{} 7226 this.RepFloat = github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) 7227 return this 7228 } 7229 func NewPopulatedOneofStdTypes_RepInt64(r randyTypes, easy bool) *OneofStdTypes_RepInt64 { 7230 this := &OneofStdTypes_RepInt64{} 7231 this.RepInt64 = github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) 7232 return this 7233 } 7234 func NewPopulatedOneofStdTypes_RepUInt64(r randyTypes, easy bool) *OneofStdTypes_RepUInt64 { 7235 this := &OneofStdTypes_RepUInt64{} 7236 this.RepUInt64 = github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) 7237 return this 7238 } 7239 func NewPopulatedOneofStdTypes_RepInt32(r randyTypes, easy bool) *OneofStdTypes_RepInt32 { 7240 this := &OneofStdTypes_RepInt32{} 7241 this.RepInt32 = github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) 7242 return this 7243 } 7244 func NewPopulatedOneofStdTypes_RepUInt32(r randyTypes, easy bool) *OneofStdTypes_RepUInt32 { 7245 this := &OneofStdTypes_RepUInt32{} 7246 this.RepUInt32 = github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) 7247 return this 7248 } 7249 func NewPopulatedOneofStdTypes_RepBool(r randyTypes, easy bool) *OneofStdTypes_RepBool { 7250 this := &OneofStdTypes_RepBool{} 7251 this.RepBool = github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) 7252 return this 7253 } 7254 func NewPopulatedOneofStdTypes_RepString(r randyTypes, easy bool) *OneofStdTypes_RepString { 7255 this := &OneofStdTypes_RepString{} 7256 this.RepString = github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) 7257 return this 7258 } 7259 func NewPopulatedOneofStdTypes_RepBytes(r randyTypes, easy bool) *OneofStdTypes_RepBytes { 7260 this := &OneofStdTypes_RepBytes{} 7261 this.RepBytes = github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) 7262 return this 7263 } 7264 7265 type randyTypes interface { 7266 Float32() float32 7267 Float64() float64 7268 Int63() int64 7269 Int31() int32 7270 Uint32() uint32 7271 Intn(n int) int 7272 } 7273 7274 func randUTF8RuneTypes(r randyTypes) rune { 7275 ru := r.Intn(62) 7276 if ru < 10 { 7277 return rune(ru + 48) 7278 } else if ru < 36 { 7279 return rune(ru + 55) 7280 } 7281 return rune(ru + 61) 7282 } 7283 func randStringTypes(r randyTypes) string { 7284 v133 := r.Intn(100) 7285 tmps := make([]rune, v133) 7286 for i := 0; i < v133; i++ { 7287 tmps[i] = randUTF8RuneTypes(r) 7288 } 7289 return string(tmps) 7290 } 7291 func randUnrecognizedTypes(r randyTypes, maxFieldNumber int) (dAtA []byte) { 7292 l := r.Intn(5) 7293 for i := 0; i < l; i++ { 7294 wire := r.Intn(4) 7295 if wire == 3 { 7296 wire = 5 7297 } 7298 fieldNumber := maxFieldNumber + r.Intn(100) 7299 dAtA = randFieldTypes(dAtA, r, fieldNumber, wire) 7300 } 7301 return dAtA 7302 } 7303 func randFieldTypes(dAtA []byte, r randyTypes, fieldNumber int, wire int) []byte { 7304 key := uint32(fieldNumber)<<3 | uint32(wire) 7305 switch wire { 7306 case 0: 7307 dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) 7308 v134 := r.Int63() 7309 if r.Intn(2) == 0 { 7310 v134 *= -1 7311 } 7312 dAtA = encodeVarintPopulateTypes(dAtA, uint64(v134)) 7313 case 1: 7314 dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) 7315 dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) 7316 case 2: 7317 dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) 7318 ll := r.Intn(100) 7319 dAtA = encodeVarintPopulateTypes(dAtA, uint64(ll)) 7320 for j := 0; j < ll; j++ { 7321 dAtA = append(dAtA, byte(r.Intn(256))) 7322 } 7323 default: 7324 dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) 7325 dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) 7326 } 7327 return dAtA 7328 } 7329 func encodeVarintPopulateTypes(dAtA []byte, v uint64) []byte { 7330 for v >= 1<<7 { 7331 dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80)) 7332 v >>= 7 7333 } 7334 dAtA = append(dAtA, uint8(v)) 7335 return dAtA 7336 } 7337 func (m *KnownTypes) Size() (n int) { 7338 if m == nil { 7339 return 0 7340 } 7341 var l int 7342 _ = l 7343 if m.Dur != nil { 7344 l = m.Dur.Size() 7345 n += 1 + l + sovTypes(uint64(l)) 7346 } 7347 if m.Ts != nil { 7348 l = m.Ts.Size() 7349 n += 1 + l + sovTypes(uint64(l)) 7350 } 7351 if m.Dbl != nil { 7352 l = m.Dbl.Size() 7353 n += 1 + l + sovTypes(uint64(l)) 7354 } 7355 if m.Flt != nil { 7356 l = m.Flt.Size() 7357 n += 1 + l + sovTypes(uint64(l)) 7358 } 7359 if m.I64 != nil { 7360 l = m.I64.Size() 7361 n += 1 + l + sovTypes(uint64(l)) 7362 } 7363 if m.U64 != nil { 7364 l = m.U64.Size() 7365 n += 1 + l + sovTypes(uint64(l)) 7366 } 7367 if m.I32 != nil { 7368 l = m.I32.Size() 7369 n += 1 + l + sovTypes(uint64(l)) 7370 } 7371 if m.U32 != nil { 7372 l = m.U32.Size() 7373 n += 1 + l + sovTypes(uint64(l)) 7374 } 7375 if m.Bool != nil { 7376 l = m.Bool.Size() 7377 n += 1 + l + sovTypes(uint64(l)) 7378 } 7379 if m.Str != nil { 7380 l = m.Str.Size() 7381 n += 1 + l + sovTypes(uint64(l)) 7382 } 7383 if m.Bytes != nil { 7384 l = m.Bytes.Size() 7385 n += 1 + l + sovTypes(uint64(l)) 7386 } 7387 if m.St != nil { 7388 l = m.St.Size() 7389 n += 1 + l + sovTypes(uint64(l)) 7390 } 7391 if m.XXX_unrecognized != nil { 7392 n += len(m.XXX_unrecognized) 7393 } 7394 return n 7395 } 7396 7397 func (m *ProtoTypes) Size() (n int) { 7398 if m == nil { 7399 return 0 7400 } 7401 var l int 7402 _ = l 7403 if m.NullableTimestamp != nil { 7404 l = m.NullableTimestamp.Size() 7405 n += 1 + l + sovTypes(uint64(l)) 7406 } 7407 if m.NullableDuration != nil { 7408 l = m.NullableDuration.Size() 7409 n += 1 + l + sovTypes(uint64(l)) 7410 } 7411 if m.NullableDouble != nil { 7412 l = m.NullableDouble.Size() 7413 n += 1 + l + sovTypes(uint64(l)) 7414 } 7415 if m.NullableFloat != nil { 7416 l = m.NullableFloat.Size() 7417 n += 1 + l + sovTypes(uint64(l)) 7418 } 7419 if m.NullableInt64 != nil { 7420 l = m.NullableInt64.Size() 7421 n += 1 + l + sovTypes(uint64(l)) 7422 } 7423 if m.NullableUInt64 != nil { 7424 l = m.NullableUInt64.Size() 7425 n += 1 + l + sovTypes(uint64(l)) 7426 } 7427 if m.NullableInt32 != nil { 7428 l = m.NullableInt32.Size() 7429 n += 1 + l + sovTypes(uint64(l)) 7430 } 7431 if m.NullableUInt32 != nil { 7432 l = m.NullableUInt32.Size() 7433 n += 1 + l + sovTypes(uint64(l)) 7434 } 7435 if m.NullableBool != nil { 7436 l = m.NullableBool.Size() 7437 n += 1 + l + sovTypes(uint64(l)) 7438 } 7439 if m.NullableString != nil { 7440 l = m.NullableString.Size() 7441 n += 1 + l + sovTypes(uint64(l)) 7442 } 7443 if m.NullableBytes != nil { 7444 l = m.NullableBytes.Size() 7445 n += 1 + l + sovTypes(uint64(l)) 7446 } 7447 l = m.Timestamp.Size() 7448 n += 1 + l + sovTypes(uint64(l)) 7449 l = m.Duration.Size() 7450 n += 1 + l + sovTypes(uint64(l)) 7451 l = m.NonnullDouble.Size() 7452 n += 1 + l + sovTypes(uint64(l)) 7453 l = m.NonnullFloat.Size() 7454 n += 1 + l + sovTypes(uint64(l)) 7455 l = m.NonnullInt64.Size() 7456 n += 2 + l + sovTypes(uint64(l)) 7457 l = m.NonnullUInt64.Size() 7458 n += 2 + l + sovTypes(uint64(l)) 7459 l = m.NonnullInt32.Size() 7460 n += 2 + l + sovTypes(uint64(l)) 7461 l = m.NonnullUInt32.Size() 7462 n += 2 + l + sovTypes(uint64(l)) 7463 l = m.NonnullBool.Size() 7464 n += 2 + l + sovTypes(uint64(l)) 7465 l = m.NonnullString.Size() 7466 n += 2 + l + sovTypes(uint64(l)) 7467 l = m.NonnullBytes.Size() 7468 n += 2 + l + sovTypes(uint64(l)) 7469 if m.XXX_unrecognized != nil { 7470 n += len(m.XXX_unrecognized) 7471 } 7472 return n 7473 } 7474 7475 func (m *StdTypes) Size() (n int) { 7476 if m == nil { 7477 return 0 7478 } 7479 var l int 7480 _ = l 7481 if m.NullableTimestamp != nil { 7482 l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.NullableTimestamp) 7483 n += 1 + l + sovTypes(uint64(l)) 7484 } 7485 if m.NullableDuration != nil { 7486 l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.NullableDuration) 7487 n += 1 + l + sovTypes(uint64(l)) 7488 } 7489 if m.NullableDouble != nil { 7490 l = github_com_gogo_protobuf_types.SizeOfStdDouble(*m.NullableDouble) 7491 n += 1 + l + sovTypes(uint64(l)) 7492 } 7493 if m.NullableFloat != nil { 7494 l = github_com_gogo_protobuf_types.SizeOfStdFloat(*m.NullableFloat) 7495 n += 1 + l + sovTypes(uint64(l)) 7496 } 7497 if m.NullableInt64 != nil { 7498 l = github_com_gogo_protobuf_types.SizeOfStdInt64(*m.NullableInt64) 7499 n += 1 + l + sovTypes(uint64(l)) 7500 } 7501 if m.NullableUInt64 != nil { 7502 l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.NullableUInt64) 7503 n += 1 + l + sovTypes(uint64(l)) 7504 } 7505 if m.NullableInt32 != nil { 7506 l = github_com_gogo_protobuf_types.SizeOfStdInt32(*m.NullableInt32) 7507 n += 1 + l + sovTypes(uint64(l)) 7508 } 7509 if m.NullableUInt32 != nil { 7510 l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.NullableUInt32) 7511 n += 1 + l + sovTypes(uint64(l)) 7512 } 7513 if m.NullableBool != nil { 7514 l = github_com_gogo_protobuf_types.SizeOfStdBool(*m.NullableBool) 7515 n += 1 + l + sovTypes(uint64(l)) 7516 } 7517 if m.NullableString != nil { 7518 l = github_com_gogo_protobuf_types.SizeOfStdString(*m.NullableString) 7519 n += 1 + l + sovTypes(uint64(l)) 7520 } 7521 if m.NullableBytes != nil { 7522 l = github_com_gogo_protobuf_types.SizeOfStdBytes(*m.NullableBytes) 7523 n += 1 + l + sovTypes(uint64(l)) 7524 } 7525 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp) 7526 n += 1 + l + sovTypes(uint64(l)) 7527 l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.Duration) 7528 n += 1 + l + sovTypes(uint64(l)) 7529 l = github_com_gogo_protobuf_types.SizeOfStdDouble(m.NonnullDouble) 7530 n += 1 + l + sovTypes(uint64(l)) 7531 l = github_com_gogo_protobuf_types.SizeOfStdFloat(m.NonnullFloat) 7532 n += 1 + l + sovTypes(uint64(l)) 7533 l = github_com_gogo_protobuf_types.SizeOfStdInt64(m.NonnullInt64) 7534 n += 2 + l + sovTypes(uint64(l)) 7535 l = github_com_gogo_protobuf_types.SizeOfStdUInt64(m.NonnullUInt64) 7536 n += 2 + l + sovTypes(uint64(l)) 7537 l = github_com_gogo_protobuf_types.SizeOfStdInt32(m.NonnullInt32) 7538 n += 2 + l + sovTypes(uint64(l)) 7539 l = github_com_gogo_protobuf_types.SizeOfStdUInt32(m.NonnullUInt32) 7540 n += 2 + l + sovTypes(uint64(l)) 7541 l = github_com_gogo_protobuf_types.SizeOfStdBool(m.NonnullBool) 7542 n += 2 + l + sovTypes(uint64(l)) 7543 l = github_com_gogo_protobuf_types.SizeOfStdString(m.NonnullString) 7544 n += 2 + l + sovTypes(uint64(l)) 7545 l = github_com_gogo_protobuf_types.SizeOfStdBytes(m.NonnullBytes) 7546 n += 2 + l + sovTypes(uint64(l)) 7547 if m.XXX_unrecognized != nil { 7548 n += len(m.XXX_unrecognized) 7549 } 7550 return n 7551 } 7552 7553 func (m *RepProtoTypes) Size() (n int) { 7554 if m == nil { 7555 return 0 7556 } 7557 var l int 7558 _ = l 7559 if len(m.NullableTimestamps) > 0 { 7560 for _, e := range m.NullableTimestamps { 7561 l = e.Size() 7562 n += 1 + l + sovTypes(uint64(l)) 7563 } 7564 } 7565 if len(m.NullableDurations) > 0 { 7566 for _, e := range m.NullableDurations { 7567 l = e.Size() 7568 n += 1 + l + sovTypes(uint64(l)) 7569 } 7570 } 7571 if len(m.Timestamps) > 0 { 7572 for _, e := range m.Timestamps { 7573 l = e.Size() 7574 n += 1 + l + sovTypes(uint64(l)) 7575 } 7576 } 7577 if len(m.Durations) > 0 { 7578 for _, e := range m.Durations { 7579 l = e.Size() 7580 n += 1 + l + sovTypes(uint64(l)) 7581 } 7582 } 7583 if len(m.NullableDouble) > 0 { 7584 for _, e := range m.NullableDouble { 7585 l = e.Size() 7586 n += 1 + l + sovTypes(uint64(l)) 7587 } 7588 } 7589 if len(m.NonnullDouble) > 0 { 7590 for _, e := range m.NonnullDouble { 7591 l = e.Size() 7592 n += 1 + l + sovTypes(uint64(l)) 7593 } 7594 } 7595 if len(m.NullableFloat) > 0 { 7596 for _, e := range m.NullableFloat { 7597 l = e.Size() 7598 n += 1 + l + sovTypes(uint64(l)) 7599 } 7600 } 7601 if len(m.NonnullFloat) > 0 { 7602 for _, e := range m.NonnullFloat { 7603 l = e.Size() 7604 n += 1 + l + sovTypes(uint64(l)) 7605 } 7606 } 7607 if len(m.NullableInt64) > 0 { 7608 for _, e := range m.NullableInt64 { 7609 l = e.Size() 7610 n += 1 + l + sovTypes(uint64(l)) 7611 } 7612 } 7613 if len(m.NonnullInt64) > 0 { 7614 for _, e := range m.NonnullInt64 { 7615 l = e.Size() 7616 n += 1 + l + sovTypes(uint64(l)) 7617 } 7618 } 7619 if len(m.NullableUInt64) > 0 { 7620 for _, e := range m.NullableUInt64 { 7621 l = e.Size() 7622 n += 1 + l + sovTypes(uint64(l)) 7623 } 7624 } 7625 if len(m.NonnullUInt64) > 0 { 7626 for _, e := range m.NonnullUInt64 { 7627 l = e.Size() 7628 n += 1 + l + sovTypes(uint64(l)) 7629 } 7630 } 7631 if len(m.NullableInt32) > 0 { 7632 for _, e := range m.NullableInt32 { 7633 l = e.Size() 7634 n += 1 + l + sovTypes(uint64(l)) 7635 } 7636 } 7637 if len(m.NonnullInt32) > 0 { 7638 for _, e := range m.NonnullInt32 { 7639 l = e.Size() 7640 n += 1 + l + sovTypes(uint64(l)) 7641 } 7642 } 7643 if len(m.NullableUInt32) > 0 { 7644 for _, e := range m.NullableUInt32 { 7645 l = e.Size() 7646 n += 1 + l + sovTypes(uint64(l)) 7647 } 7648 } 7649 if len(m.NonnullUInt32) > 0 { 7650 for _, e := range m.NonnullUInt32 { 7651 l = e.Size() 7652 n += 2 + l + sovTypes(uint64(l)) 7653 } 7654 } 7655 if len(m.NullableBool) > 0 { 7656 for _, e := range m.NullableBool { 7657 l = e.Size() 7658 n += 2 + l + sovTypes(uint64(l)) 7659 } 7660 } 7661 if len(m.NonnullBool) > 0 { 7662 for _, e := range m.NonnullBool { 7663 l = e.Size() 7664 n += 2 + l + sovTypes(uint64(l)) 7665 } 7666 } 7667 if len(m.NullableString) > 0 { 7668 for _, e := range m.NullableString { 7669 l = e.Size() 7670 n += 2 + l + sovTypes(uint64(l)) 7671 } 7672 } 7673 if len(m.NonnullString) > 0 { 7674 for _, e := range m.NonnullString { 7675 l = e.Size() 7676 n += 2 + l + sovTypes(uint64(l)) 7677 } 7678 } 7679 if len(m.NullableBytes) > 0 { 7680 for _, e := range m.NullableBytes { 7681 l = e.Size() 7682 n += 2 + l + sovTypes(uint64(l)) 7683 } 7684 } 7685 if len(m.NonnullBytes) > 0 { 7686 for _, e := range m.NonnullBytes { 7687 l = e.Size() 7688 n += 2 + l + sovTypes(uint64(l)) 7689 } 7690 } 7691 if m.XXX_unrecognized != nil { 7692 n += len(m.XXX_unrecognized) 7693 } 7694 return n 7695 } 7696 7697 func (m *RepStdTypes) Size() (n int) { 7698 if m == nil { 7699 return 0 7700 } 7701 var l int 7702 _ = l 7703 if len(m.NullableTimestamps) > 0 { 7704 for _, e := range m.NullableTimestamps { 7705 l = github_com_gogo_protobuf_types.SizeOfStdTime(*e) 7706 n += 1 + l + sovTypes(uint64(l)) 7707 } 7708 } 7709 if len(m.NullableDurations) > 0 { 7710 for _, e := range m.NullableDurations { 7711 l = github_com_gogo_protobuf_types.SizeOfStdDuration(*e) 7712 n += 1 + l + sovTypes(uint64(l)) 7713 } 7714 } 7715 if len(m.Timestamps) > 0 { 7716 for _, e := range m.Timestamps { 7717 l = github_com_gogo_protobuf_types.SizeOfStdTime(e) 7718 n += 1 + l + sovTypes(uint64(l)) 7719 } 7720 } 7721 if len(m.Durations) > 0 { 7722 for _, e := range m.Durations { 7723 l = github_com_gogo_protobuf_types.SizeOfStdDuration(e) 7724 n += 1 + l + sovTypes(uint64(l)) 7725 } 7726 } 7727 if len(m.NullableDouble) > 0 { 7728 for _, e := range m.NullableDouble { 7729 l = github_com_gogo_protobuf_types.SizeOfStdDouble(*e) 7730 n += 1 + l + sovTypes(uint64(l)) 7731 } 7732 } 7733 if len(m.NonnullDouble) > 0 { 7734 for _, e := range m.NonnullDouble { 7735 l = github_com_gogo_protobuf_types.SizeOfStdDouble(e) 7736 n += 1 + l + sovTypes(uint64(l)) 7737 } 7738 } 7739 if len(m.NullableFloat) > 0 { 7740 for _, e := range m.NullableFloat { 7741 l = github_com_gogo_protobuf_types.SizeOfStdFloat(*e) 7742 n += 1 + l + sovTypes(uint64(l)) 7743 } 7744 } 7745 if len(m.NonnullFloat) > 0 { 7746 for _, e := range m.NonnullFloat { 7747 l = github_com_gogo_protobuf_types.SizeOfStdFloat(e) 7748 n += 1 + l + sovTypes(uint64(l)) 7749 } 7750 } 7751 if len(m.NullableInt64) > 0 { 7752 for _, e := range m.NullableInt64 { 7753 l = github_com_gogo_protobuf_types.SizeOfStdInt64(*e) 7754 n += 1 + l + sovTypes(uint64(l)) 7755 } 7756 } 7757 if len(m.NonnullInt64) > 0 { 7758 for _, e := range m.NonnullInt64 { 7759 l = github_com_gogo_protobuf_types.SizeOfStdInt64(e) 7760 n += 1 + l + sovTypes(uint64(l)) 7761 } 7762 } 7763 if len(m.NullableUInt64) > 0 { 7764 for _, e := range m.NullableUInt64 { 7765 l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*e) 7766 n += 1 + l + sovTypes(uint64(l)) 7767 } 7768 } 7769 if len(m.NonnullUInt64) > 0 { 7770 for _, e := range m.NonnullUInt64 { 7771 l = github_com_gogo_protobuf_types.SizeOfStdUInt64(e) 7772 n += 1 + l + sovTypes(uint64(l)) 7773 } 7774 } 7775 if len(m.NullableInt32) > 0 { 7776 for _, e := range m.NullableInt32 { 7777 l = github_com_gogo_protobuf_types.SizeOfStdInt32(*e) 7778 n += 1 + l + sovTypes(uint64(l)) 7779 } 7780 } 7781 if len(m.NonnullInt32) > 0 { 7782 for _, e := range m.NonnullInt32 { 7783 l = github_com_gogo_protobuf_types.SizeOfStdInt32(e) 7784 n += 1 + l + sovTypes(uint64(l)) 7785 } 7786 } 7787 if len(m.NullableUInt32) > 0 { 7788 for _, e := range m.NullableUInt32 { 7789 l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*e) 7790 n += 1 + l + sovTypes(uint64(l)) 7791 } 7792 } 7793 if len(m.NonnullUInt32) > 0 { 7794 for _, e := range m.NonnullUInt32 { 7795 l = github_com_gogo_protobuf_types.SizeOfStdUInt32(e) 7796 n += 2 + l + sovTypes(uint64(l)) 7797 } 7798 } 7799 if len(m.NullableBool) > 0 { 7800 for _, e := range m.NullableBool { 7801 l = github_com_gogo_protobuf_types.SizeOfStdBool(*e) 7802 n += 2 + l + sovTypes(uint64(l)) 7803 } 7804 } 7805 if len(m.NonnullBool) > 0 { 7806 for _, e := range m.NonnullBool { 7807 l = github_com_gogo_protobuf_types.SizeOfStdBool(e) 7808 n += 2 + l + sovTypes(uint64(l)) 7809 } 7810 } 7811 if len(m.NullableString) > 0 { 7812 for _, e := range m.NullableString { 7813 l = github_com_gogo_protobuf_types.SizeOfStdString(*e) 7814 n += 2 + l + sovTypes(uint64(l)) 7815 } 7816 } 7817 if len(m.NonnullString) > 0 { 7818 for _, e := range m.NonnullString { 7819 l = github_com_gogo_protobuf_types.SizeOfStdString(e) 7820 n += 2 + l + sovTypes(uint64(l)) 7821 } 7822 } 7823 if len(m.NullableBytes) > 0 { 7824 for _, e := range m.NullableBytes { 7825 l = github_com_gogo_protobuf_types.SizeOfStdBytes(*e) 7826 n += 2 + l + sovTypes(uint64(l)) 7827 } 7828 } 7829 if len(m.NonnullBytes) > 0 { 7830 for _, e := range m.NonnullBytes { 7831 l = github_com_gogo_protobuf_types.SizeOfStdBytes(e) 7832 n += 2 + l + sovTypes(uint64(l)) 7833 } 7834 } 7835 if m.XXX_unrecognized != nil { 7836 n += len(m.XXX_unrecognized) 7837 } 7838 return n 7839 } 7840 7841 func (m *MapProtoTypes) Size() (n int) { 7842 if m == nil { 7843 return 0 7844 } 7845 var l int 7846 _ = l 7847 if len(m.NullableTimestamp) > 0 { 7848 for k, v := range m.NullableTimestamp { 7849 _ = k 7850 _ = v 7851 l = 0 7852 if v != nil { 7853 l = v.Size() 7854 l += 1 + sovTypes(uint64(l)) 7855 } 7856 mapEntrySize := 1 + sovTypes(uint64(k)) + l 7857 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7858 } 7859 } 7860 if len(m.Timestamp) > 0 { 7861 for k, v := range m.Timestamp { 7862 _ = k 7863 _ = v 7864 l = v.Size() 7865 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 7866 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7867 } 7868 } 7869 if len(m.NullableDuration) > 0 { 7870 for k, v := range m.NullableDuration { 7871 _ = k 7872 _ = v 7873 l = 0 7874 if v != nil { 7875 l = v.Size() 7876 l += 1 + sovTypes(uint64(l)) 7877 } 7878 mapEntrySize := 1 + sovTypes(uint64(k)) + l 7879 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7880 } 7881 } 7882 if len(m.Duration) > 0 { 7883 for k, v := range m.Duration { 7884 _ = k 7885 _ = v 7886 l = v.Size() 7887 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 7888 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7889 } 7890 } 7891 if len(m.NullableDouble) > 0 { 7892 for k, v := range m.NullableDouble { 7893 _ = k 7894 _ = v 7895 l = 0 7896 if v != nil { 7897 l = v.Size() 7898 l += 1 + sovTypes(uint64(l)) 7899 } 7900 mapEntrySize := 1 + sovTypes(uint64(k)) + l 7901 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7902 } 7903 } 7904 if len(m.NonnullDouble) > 0 { 7905 for k, v := range m.NonnullDouble { 7906 _ = k 7907 _ = v 7908 l = v.Size() 7909 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 7910 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7911 } 7912 } 7913 if len(m.NullableFloat) > 0 { 7914 for k, v := range m.NullableFloat { 7915 _ = k 7916 _ = v 7917 l = 0 7918 if v != nil { 7919 l = v.Size() 7920 l += 1 + sovTypes(uint64(l)) 7921 } 7922 mapEntrySize := 1 + sovTypes(uint64(k)) + l 7923 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7924 } 7925 } 7926 if len(m.NonnullFloat) > 0 { 7927 for k, v := range m.NonnullFloat { 7928 _ = k 7929 _ = v 7930 l = v.Size() 7931 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 7932 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7933 } 7934 } 7935 if len(m.NullableInt64) > 0 { 7936 for k, v := range m.NullableInt64 { 7937 _ = k 7938 _ = v 7939 l = 0 7940 if v != nil { 7941 l = v.Size() 7942 l += 1 + sovTypes(uint64(l)) 7943 } 7944 mapEntrySize := 1 + sovTypes(uint64(k)) + l 7945 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7946 } 7947 } 7948 if len(m.NonnullInt64) > 0 { 7949 for k, v := range m.NonnullInt64 { 7950 _ = k 7951 _ = v 7952 l = v.Size() 7953 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 7954 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7955 } 7956 } 7957 if len(m.NullableUInt64) > 0 { 7958 for k, v := range m.NullableUInt64 { 7959 _ = k 7960 _ = v 7961 l = 0 7962 if v != nil { 7963 l = v.Size() 7964 l += 1 + sovTypes(uint64(l)) 7965 } 7966 mapEntrySize := 1 + sovTypes(uint64(k)) + l 7967 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7968 } 7969 } 7970 if len(m.NonnullUInt64) > 0 { 7971 for k, v := range m.NonnullUInt64 { 7972 _ = k 7973 _ = v 7974 l = v.Size() 7975 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 7976 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7977 } 7978 } 7979 if len(m.NullableInt32) > 0 { 7980 for k, v := range m.NullableInt32 { 7981 _ = k 7982 _ = v 7983 l = 0 7984 if v != nil { 7985 l = v.Size() 7986 l += 1 + sovTypes(uint64(l)) 7987 } 7988 mapEntrySize := 1 + sovTypes(uint64(k)) + l 7989 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7990 } 7991 } 7992 if len(m.NonnullInt32) > 0 { 7993 for k, v := range m.NonnullInt32 { 7994 _ = k 7995 _ = v 7996 l = v.Size() 7997 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 7998 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7999 } 8000 } 8001 if len(m.NullableUInt32) > 0 { 8002 for k, v := range m.NullableUInt32 { 8003 _ = k 8004 _ = v 8005 l = 0 8006 if v != nil { 8007 l = v.Size() 8008 l += 1 + sovTypes(uint64(l)) 8009 } 8010 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8011 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8012 } 8013 } 8014 if len(m.NonnullUInt32) > 0 { 8015 for k, v := range m.NonnullUInt32 { 8016 _ = k 8017 _ = v 8018 l = v.Size() 8019 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8020 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8021 } 8022 } 8023 if len(m.NullableBool) > 0 { 8024 for k, v := range m.NullableBool { 8025 _ = k 8026 _ = v 8027 l = 0 8028 if v != nil { 8029 l = v.Size() 8030 l += 1 + sovTypes(uint64(l)) 8031 } 8032 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8033 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8034 } 8035 } 8036 if len(m.NonnullBool) > 0 { 8037 for k, v := range m.NonnullBool { 8038 _ = k 8039 _ = v 8040 l = v.Size() 8041 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8042 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8043 } 8044 } 8045 if len(m.NullableString) > 0 { 8046 for k, v := range m.NullableString { 8047 _ = k 8048 _ = v 8049 l = 0 8050 if v != nil { 8051 l = v.Size() 8052 l += 1 + sovTypes(uint64(l)) 8053 } 8054 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8055 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8056 } 8057 } 8058 if len(m.NonnullString) > 0 { 8059 for k, v := range m.NonnullString { 8060 _ = k 8061 _ = v 8062 l = v.Size() 8063 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8064 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8065 } 8066 } 8067 if len(m.NullableBytes) > 0 { 8068 for k, v := range m.NullableBytes { 8069 _ = k 8070 _ = v 8071 l = 0 8072 if v != nil { 8073 l = v.Size() 8074 l += 1 + sovTypes(uint64(l)) 8075 } 8076 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8077 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8078 } 8079 } 8080 if len(m.NonnullBytes) > 0 { 8081 for k, v := range m.NonnullBytes { 8082 _ = k 8083 _ = v 8084 l = v.Size() 8085 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8086 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8087 } 8088 } 8089 if m.XXX_unrecognized != nil { 8090 n += len(m.XXX_unrecognized) 8091 } 8092 return n 8093 } 8094 8095 func (m *MapStdTypes) Size() (n int) { 8096 if m == nil { 8097 return 0 8098 } 8099 var l int 8100 _ = l 8101 if len(m.NullableTimestamp) > 0 { 8102 for k, v := range m.NullableTimestamp { 8103 _ = k 8104 _ = v 8105 l = 0 8106 if v != nil { 8107 l = github_com_gogo_protobuf_types.SizeOfStdTime(*v) 8108 l += 1 + sovTypes(uint64(l)) 8109 } 8110 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8111 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8112 } 8113 } 8114 if len(m.Timestamp) > 0 { 8115 for k, v := range m.Timestamp { 8116 _ = k 8117 _ = v 8118 l = github_com_gogo_protobuf_types.SizeOfStdTime(v) 8119 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8120 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8121 } 8122 } 8123 if len(m.NullableDuration) > 0 { 8124 for k, v := range m.NullableDuration { 8125 _ = k 8126 _ = v 8127 l = 0 8128 if v != nil { 8129 l = github_com_gogo_protobuf_types.SizeOfStdDuration(*v) 8130 l += 1 + sovTypes(uint64(l)) 8131 } 8132 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8133 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8134 } 8135 } 8136 if len(m.Duration) > 0 { 8137 for k, v := range m.Duration { 8138 _ = k 8139 _ = v 8140 l = github_com_gogo_protobuf_types.SizeOfStdDuration(v) 8141 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8142 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8143 } 8144 } 8145 if len(m.NullableDouble) > 0 { 8146 for k, v := range m.NullableDouble { 8147 _ = k 8148 _ = v 8149 l = 0 8150 if v != nil { 8151 l = github_com_gogo_protobuf_types.SizeOfStdDouble(*v) 8152 l += 1 + sovTypes(uint64(l)) 8153 } 8154 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8155 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8156 } 8157 } 8158 if len(m.NonnullDouble) > 0 { 8159 for k, v := range m.NonnullDouble { 8160 _ = k 8161 _ = v 8162 l = github_com_gogo_protobuf_types.SizeOfStdDouble(v) 8163 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8164 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8165 } 8166 } 8167 if len(m.NullableFloat) > 0 { 8168 for k, v := range m.NullableFloat { 8169 _ = k 8170 _ = v 8171 l = 0 8172 if v != nil { 8173 l = github_com_gogo_protobuf_types.SizeOfStdFloat(*v) 8174 l += 1 + sovTypes(uint64(l)) 8175 } 8176 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8177 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8178 } 8179 } 8180 if len(m.NonnullFloat) > 0 { 8181 for k, v := range m.NonnullFloat { 8182 _ = k 8183 _ = v 8184 l = github_com_gogo_protobuf_types.SizeOfStdFloat(v) 8185 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8186 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8187 } 8188 } 8189 if len(m.NullableInt64) > 0 { 8190 for k, v := range m.NullableInt64 { 8191 _ = k 8192 _ = v 8193 l = 0 8194 if v != nil { 8195 l = github_com_gogo_protobuf_types.SizeOfStdInt64(*v) 8196 l += 1 + sovTypes(uint64(l)) 8197 } 8198 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8199 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8200 } 8201 } 8202 if len(m.NonnullInt64) > 0 { 8203 for k, v := range m.NonnullInt64 { 8204 _ = k 8205 _ = v 8206 l = github_com_gogo_protobuf_types.SizeOfStdInt64(v) 8207 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8208 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8209 } 8210 } 8211 if len(m.NullableUInt64) > 0 { 8212 for k, v := range m.NullableUInt64 { 8213 _ = k 8214 _ = v 8215 l = 0 8216 if v != nil { 8217 l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*v) 8218 l += 1 + sovTypes(uint64(l)) 8219 } 8220 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8221 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8222 } 8223 } 8224 if len(m.NonnullUInt64) > 0 { 8225 for k, v := range m.NonnullUInt64 { 8226 _ = k 8227 _ = v 8228 l = github_com_gogo_protobuf_types.SizeOfStdUInt64(v) 8229 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8230 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8231 } 8232 } 8233 if len(m.NullableInt32) > 0 { 8234 for k, v := range m.NullableInt32 { 8235 _ = k 8236 _ = v 8237 l = 0 8238 if v != nil { 8239 l = github_com_gogo_protobuf_types.SizeOfStdInt32(*v) 8240 l += 1 + sovTypes(uint64(l)) 8241 } 8242 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8243 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8244 } 8245 } 8246 if len(m.NonnullInt32) > 0 { 8247 for k, v := range m.NonnullInt32 { 8248 _ = k 8249 _ = v 8250 l = github_com_gogo_protobuf_types.SizeOfStdInt32(v) 8251 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8252 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8253 } 8254 } 8255 if len(m.NullableUInt32) > 0 { 8256 for k, v := range m.NullableUInt32 { 8257 _ = k 8258 _ = v 8259 l = 0 8260 if v != nil { 8261 l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*v) 8262 l += 1 + sovTypes(uint64(l)) 8263 } 8264 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8265 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8266 } 8267 } 8268 if len(m.NonnullUInt32) > 0 { 8269 for k, v := range m.NonnullUInt32 { 8270 _ = k 8271 _ = v 8272 l = github_com_gogo_protobuf_types.SizeOfStdUInt32(v) 8273 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8274 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8275 } 8276 } 8277 if len(m.NullableBool) > 0 { 8278 for k, v := range m.NullableBool { 8279 _ = k 8280 _ = v 8281 l = 0 8282 if v != nil { 8283 l = github_com_gogo_protobuf_types.SizeOfStdBool(*v) 8284 l += 1 + sovTypes(uint64(l)) 8285 } 8286 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8287 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8288 } 8289 } 8290 if len(m.NonnullBool) > 0 { 8291 for k, v := range m.NonnullBool { 8292 _ = k 8293 _ = v 8294 l = github_com_gogo_protobuf_types.SizeOfStdBool(v) 8295 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8296 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8297 } 8298 } 8299 if len(m.NullableString) > 0 { 8300 for k, v := range m.NullableString { 8301 _ = k 8302 _ = v 8303 l = 0 8304 if v != nil { 8305 l = github_com_gogo_protobuf_types.SizeOfStdString(*v) 8306 l += 1 + sovTypes(uint64(l)) 8307 } 8308 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8309 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8310 } 8311 } 8312 if len(m.NonnullString) > 0 { 8313 for k, v := range m.NonnullString { 8314 _ = k 8315 _ = v 8316 l = github_com_gogo_protobuf_types.SizeOfStdString(v) 8317 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8318 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8319 } 8320 } 8321 if len(m.NullableBytes) > 0 { 8322 for k, v := range m.NullableBytes { 8323 _ = k 8324 _ = v 8325 l = 0 8326 if v != nil { 8327 l = github_com_gogo_protobuf_types.SizeOfStdBytes(*v) 8328 l += 1 + sovTypes(uint64(l)) 8329 } 8330 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8331 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8332 } 8333 } 8334 if len(m.NonnullBytes) > 0 { 8335 for k, v := range m.NonnullBytes { 8336 _ = k 8337 _ = v 8338 l = github_com_gogo_protobuf_types.SizeOfStdBytes(v) 8339 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8340 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8341 } 8342 } 8343 if m.XXX_unrecognized != nil { 8344 n += len(m.XXX_unrecognized) 8345 } 8346 return n 8347 } 8348 8349 func (m *OneofProtoTypes) Size() (n int) { 8350 if m == nil { 8351 return 0 8352 } 8353 var l int 8354 _ = l 8355 if m.OneOfProtoTimes != nil { 8356 n += m.OneOfProtoTimes.Size() 8357 } 8358 if m.XXX_unrecognized != nil { 8359 n += len(m.XXX_unrecognized) 8360 } 8361 return n 8362 } 8363 8364 func (m *OneofProtoTypes_Timestamp) Size() (n int) { 8365 if m == nil { 8366 return 0 8367 } 8368 var l int 8369 _ = l 8370 if m.Timestamp != nil { 8371 l = m.Timestamp.Size() 8372 n += 1 + l + sovTypes(uint64(l)) 8373 } 8374 return n 8375 } 8376 func (m *OneofProtoTypes_Duration) Size() (n int) { 8377 if m == nil { 8378 return 0 8379 } 8380 var l int 8381 _ = l 8382 if m.Duration != nil { 8383 l = m.Duration.Size() 8384 n += 1 + l + sovTypes(uint64(l)) 8385 } 8386 return n 8387 } 8388 func (m *OneofProtoTypes_RepDouble) Size() (n int) { 8389 if m == nil { 8390 return 0 8391 } 8392 var l int 8393 _ = l 8394 if m.RepDouble != nil { 8395 l = m.RepDouble.Size() 8396 n += 1 + l + sovTypes(uint64(l)) 8397 } 8398 return n 8399 } 8400 func (m *OneofProtoTypes_RepFloat) Size() (n int) { 8401 if m == nil { 8402 return 0 8403 } 8404 var l int 8405 _ = l 8406 if m.RepFloat != nil { 8407 l = m.RepFloat.Size() 8408 n += 1 + l + sovTypes(uint64(l)) 8409 } 8410 return n 8411 } 8412 func (m *OneofProtoTypes_RepInt64) Size() (n int) { 8413 if m == nil { 8414 return 0 8415 } 8416 var l int 8417 _ = l 8418 if m.RepInt64 != nil { 8419 l = m.RepInt64.Size() 8420 n += 1 + l + sovTypes(uint64(l)) 8421 } 8422 return n 8423 } 8424 func (m *OneofProtoTypes_RepUInt64) Size() (n int) { 8425 if m == nil { 8426 return 0 8427 } 8428 var l int 8429 _ = l 8430 if m.RepUInt64 != nil { 8431 l = m.RepUInt64.Size() 8432 n += 1 + l + sovTypes(uint64(l)) 8433 } 8434 return n 8435 } 8436 func (m *OneofProtoTypes_RepInt32) Size() (n int) { 8437 if m == nil { 8438 return 0 8439 } 8440 var l int 8441 _ = l 8442 if m.RepInt32 != nil { 8443 l = m.RepInt32.Size() 8444 n += 1 + l + sovTypes(uint64(l)) 8445 } 8446 return n 8447 } 8448 func (m *OneofProtoTypes_RepUInt32) Size() (n int) { 8449 if m == nil { 8450 return 0 8451 } 8452 var l int 8453 _ = l 8454 if m.RepUInt32 != nil { 8455 l = m.RepUInt32.Size() 8456 n += 1 + l + sovTypes(uint64(l)) 8457 } 8458 return n 8459 } 8460 func (m *OneofProtoTypes_RepBool) Size() (n int) { 8461 if m == nil { 8462 return 0 8463 } 8464 var l int 8465 _ = l 8466 if m.RepBool != nil { 8467 l = m.RepBool.Size() 8468 n += 1 + l + sovTypes(uint64(l)) 8469 } 8470 return n 8471 } 8472 func (m *OneofProtoTypes_RepString) Size() (n int) { 8473 if m == nil { 8474 return 0 8475 } 8476 var l int 8477 _ = l 8478 if m.RepString != nil { 8479 l = m.RepString.Size() 8480 n += 1 + l + sovTypes(uint64(l)) 8481 } 8482 return n 8483 } 8484 func (m *OneofProtoTypes_RepBytes) Size() (n int) { 8485 if m == nil { 8486 return 0 8487 } 8488 var l int 8489 _ = l 8490 if m.RepBytes != nil { 8491 l = m.RepBytes.Size() 8492 n += 1 + l + sovTypes(uint64(l)) 8493 } 8494 return n 8495 } 8496 func (m *OneofStdTypes) Size() (n int) { 8497 if m == nil { 8498 return 0 8499 } 8500 var l int 8501 _ = l 8502 if m.OneOfStdTimes != nil { 8503 n += m.OneOfStdTimes.Size() 8504 } 8505 if m.XXX_unrecognized != nil { 8506 n += len(m.XXX_unrecognized) 8507 } 8508 return n 8509 } 8510 8511 func (m *OneofStdTypes_Timestamp) Size() (n int) { 8512 if m == nil { 8513 return 0 8514 } 8515 var l int 8516 _ = l 8517 if m.Timestamp != nil { 8518 l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.Timestamp) 8519 n += 1 + l + sovTypes(uint64(l)) 8520 } 8521 return n 8522 } 8523 func (m *OneofStdTypes_Duration) Size() (n int) { 8524 if m == nil { 8525 return 0 8526 } 8527 var l int 8528 _ = l 8529 if m.Duration != nil { 8530 l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.Duration) 8531 n += 1 + l + sovTypes(uint64(l)) 8532 } 8533 return n 8534 } 8535 func (m *OneofStdTypes_RepDouble) Size() (n int) { 8536 if m == nil { 8537 return 0 8538 } 8539 var l int 8540 _ = l 8541 if m.RepDouble != nil { 8542 l = github_com_gogo_protobuf_types.SizeOfStdDouble(*m.RepDouble) 8543 n += 1 + l + sovTypes(uint64(l)) 8544 } 8545 return n 8546 } 8547 func (m *OneofStdTypes_RepFloat) Size() (n int) { 8548 if m == nil { 8549 return 0 8550 } 8551 var l int 8552 _ = l 8553 if m.RepFloat != nil { 8554 l = github_com_gogo_protobuf_types.SizeOfStdFloat(*m.RepFloat) 8555 n += 1 + l + sovTypes(uint64(l)) 8556 } 8557 return n 8558 } 8559 func (m *OneofStdTypes_RepInt64) Size() (n int) { 8560 if m == nil { 8561 return 0 8562 } 8563 var l int 8564 _ = l 8565 if m.RepInt64 != nil { 8566 l = github_com_gogo_protobuf_types.SizeOfStdInt64(*m.RepInt64) 8567 n += 1 + l + sovTypes(uint64(l)) 8568 } 8569 return n 8570 } 8571 func (m *OneofStdTypes_RepUInt64) Size() (n int) { 8572 if m == nil { 8573 return 0 8574 } 8575 var l int 8576 _ = l 8577 if m.RepUInt64 != nil { 8578 l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.RepUInt64) 8579 n += 1 + l + sovTypes(uint64(l)) 8580 } 8581 return n 8582 } 8583 func (m *OneofStdTypes_RepInt32) Size() (n int) { 8584 if m == nil { 8585 return 0 8586 } 8587 var l int 8588 _ = l 8589 if m.RepInt32 != nil { 8590 l = github_com_gogo_protobuf_types.SizeOfStdInt32(*m.RepInt32) 8591 n += 1 + l + sovTypes(uint64(l)) 8592 } 8593 return n 8594 } 8595 func (m *OneofStdTypes_RepUInt32) Size() (n int) { 8596 if m == nil { 8597 return 0 8598 } 8599 var l int 8600 _ = l 8601 if m.RepUInt32 != nil { 8602 l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.RepUInt32) 8603 n += 1 + l + sovTypes(uint64(l)) 8604 } 8605 return n 8606 } 8607 func (m *OneofStdTypes_RepBool) Size() (n int) { 8608 if m == nil { 8609 return 0 8610 } 8611 var l int 8612 _ = l 8613 if m.RepBool != nil { 8614 l = github_com_gogo_protobuf_types.SizeOfStdBool(*m.RepBool) 8615 n += 1 + l + sovTypes(uint64(l)) 8616 } 8617 return n 8618 } 8619 func (m *OneofStdTypes_RepString) Size() (n int) { 8620 if m == nil { 8621 return 0 8622 } 8623 var l int 8624 _ = l 8625 if m.RepString != nil { 8626 l = github_com_gogo_protobuf_types.SizeOfStdString(*m.RepString) 8627 n += 1 + l + sovTypes(uint64(l)) 8628 } 8629 return n 8630 } 8631 func (m *OneofStdTypes_RepBytes) Size() (n int) { 8632 if m == nil { 8633 return 0 8634 } 8635 var l int 8636 _ = l 8637 if m.RepBytes != nil { 8638 l = github_com_gogo_protobuf_types.SizeOfStdBytes(*m.RepBytes) 8639 n += 1 + l + sovTypes(uint64(l)) 8640 } 8641 return n 8642 } 8643 8644 func sovTypes(x uint64) (n int) { 8645 return (math_bits.Len64(x|1) + 6) / 7 8646 } 8647 func sozTypes(x uint64) (n int) { 8648 return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 8649 } 8650 func (m *KnownTypes) Unmarshal(dAtA []byte) error { 8651 l := len(dAtA) 8652 iNdEx := 0 8653 for iNdEx < l { 8654 preIndex := iNdEx 8655 var wire uint64 8656 for shift := uint(0); ; shift += 7 { 8657 if shift >= 64 { 8658 return ErrIntOverflowTypes 8659 } 8660 if iNdEx >= l { 8661 return io.ErrUnexpectedEOF 8662 } 8663 b := dAtA[iNdEx] 8664 iNdEx++ 8665 wire |= uint64(b&0x7F) << shift 8666 if b < 0x80 { 8667 break 8668 } 8669 } 8670 fieldNum := int32(wire >> 3) 8671 wireType := int(wire & 0x7) 8672 if wireType == 4 { 8673 return fmt.Errorf("proto: KnownTypes: wiretype end group for non-group") 8674 } 8675 if fieldNum <= 0 { 8676 return fmt.Errorf("proto: KnownTypes: illegal tag %d (wire type %d)", fieldNum, wire) 8677 } 8678 switch fieldNum { 8679 case 1: 8680 if wireType != 2 { 8681 return fmt.Errorf("proto: wrong wireType = %d for field Dur", wireType) 8682 } 8683 var msglen int 8684 for shift := uint(0); ; shift += 7 { 8685 if shift >= 64 { 8686 return ErrIntOverflowTypes 8687 } 8688 if iNdEx >= l { 8689 return io.ErrUnexpectedEOF 8690 } 8691 b := dAtA[iNdEx] 8692 iNdEx++ 8693 msglen |= int(b&0x7F) << shift 8694 if b < 0x80 { 8695 break 8696 } 8697 } 8698 if msglen < 0 { 8699 return ErrInvalidLengthTypes 8700 } 8701 postIndex := iNdEx + msglen 8702 if postIndex < 0 { 8703 return ErrInvalidLengthTypes 8704 } 8705 if postIndex > l { 8706 return io.ErrUnexpectedEOF 8707 } 8708 if m.Dur == nil { 8709 m.Dur = &types.Duration{} 8710 } 8711 if err := m.Dur.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8712 return err 8713 } 8714 iNdEx = postIndex 8715 case 2: 8716 if wireType != 2 { 8717 return fmt.Errorf("proto: wrong wireType = %d for field Ts", wireType) 8718 } 8719 var msglen int 8720 for shift := uint(0); ; shift += 7 { 8721 if shift >= 64 { 8722 return ErrIntOverflowTypes 8723 } 8724 if iNdEx >= l { 8725 return io.ErrUnexpectedEOF 8726 } 8727 b := dAtA[iNdEx] 8728 iNdEx++ 8729 msglen |= int(b&0x7F) << shift 8730 if b < 0x80 { 8731 break 8732 } 8733 } 8734 if msglen < 0 { 8735 return ErrInvalidLengthTypes 8736 } 8737 postIndex := iNdEx + msglen 8738 if postIndex < 0 { 8739 return ErrInvalidLengthTypes 8740 } 8741 if postIndex > l { 8742 return io.ErrUnexpectedEOF 8743 } 8744 if m.Ts == nil { 8745 m.Ts = &types.Timestamp{} 8746 } 8747 if err := m.Ts.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8748 return err 8749 } 8750 iNdEx = postIndex 8751 case 3: 8752 if wireType != 2 { 8753 return fmt.Errorf("proto: wrong wireType = %d for field Dbl", wireType) 8754 } 8755 var msglen int 8756 for shift := uint(0); ; shift += 7 { 8757 if shift >= 64 { 8758 return ErrIntOverflowTypes 8759 } 8760 if iNdEx >= l { 8761 return io.ErrUnexpectedEOF 8762 } 8763 b := dAtA[iNdEx] 8764 iNdEx++ 8765 msglen |= int(b&0x7F) << shift 8766 if b < 0x80 { 8767 break 8768 } 8769 } 8770 if msglen < 0 { 8771 return ErrInvalidLengthTypes 8772 } 8773 postIndex := iNdEx + msglen 8774 if postIndex < 0 { 8775 return ErrInvalidLengthTypes 8776 } 8777 if postIndex > l { 8778 return io.ErrUnexpectedEOF 8779 } 8780 if m.Dbl == nil { 8781 m.Dbl = &types.DoubleValue{} 8782 } 8783 if err := m.Dbl.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8784 return err 8785 } 8786 iNdEx = postIndex 8787 case 4: 8788 if wireType != 2 { 8789 return fmt.Errorf("proto: wrong wireType = %d for field Flt", wireType) 8790 } 8791 var msglen int 8792 for shift := uint(0); ; shift += 7 { 8793 if shift >= 64 { 8794 return ErrIntOverflowTypes 8795 } 8796 if iNdEx >= l { 8797 return io.ErrUnexpectedEOF 8798 } 8799 b := dAtA[iNdEx] 8800 iNdEx++ 8801 msglen |= int(b&0x7F) << shift 8802 if b < 0x80 { 8803 break 8804 } 8805 } 8806 if msglen < 0 { 8807 return ErrInvalidLengthTypes 8808 } 8809 postIndex := iNdEx + msglen 8810 if postIndex < 0 { 8811 return ErrInvalidLengthTypes 8812 } 8813 if postIndex > l { 8814 return io.ErrUnexpectedEOF 8815 } 8816 if m.Flt == nil { 8817 m.Flt = &types.FloatValue{} 8818 } 8819 if err := m.Flt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8820 return err 8821 } 8822 iNdEx = postIndex 8823 case 5: 8824 if wireType != 2 { 8825 return fmt.Errorf("proto: wrong wireType = %d for field I64", wireType) 8826 } 8827 var msglen int 8828 for shift := uint(0); ; shift += 7 { 8829 if shift >= 64 { 8830 return ErrIntOverflowTypes 8831 } 8832 if iNdEx >= l { 8833 return io.ErrUnexpectedEOF 8834 } 8835 b := dAtA[iNdEx] 8836 iNdEx++ 8837 msglen |= int(b&0x7F) << shift 8838 if b < 0x80 { 8839 break 8840 } 8841 } 8842 if msglen < 0 { 8843 return ErrInvalidLengthTypes 8844 } 8845 postIndex := iNdEx + msglen 8846 if postIndex < 0 { 8847 return ErrInvalidLengthTypes 8848 } 8849 if postIndex > l { 8850 return io.ErrUnexpectedEOF 8851 } 8852 if m.I64 == nil { 8853 m.I64 = &types.Int64Value{} 8854 } 8855 if err := m.I64.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8856 return err 8857 } 8858 iNdEx = postIndex 8859 case 6: 8860 if wireType != 2 { 8861 return fmt.Errorf("proto: wrong wireType = %d for field U64", wireType) 8862 } 8863 var msglen int 8864 for shift := uint(0); ; shift += 7 { 8865 if shift >= 64 { 8866 return ErrIntOverflowTypes 8867 } 8868 if iNdEx >= l { 8869 return io.ErrUnexpectedEOF 8870 } 8871 b := dAtA[iNdEx] 8872 iNdEx++ 8873 msglen |= int(b&0x7F) << shift 8874 if b < 0x80 { 8875 break 8876 } 8877 } 8878 if msglen < 0 { 8879 return ErrInvalidLengthTypes 8880 } 8881 postIndex := iNdEx + msglen 8882 if postIndex < 0 { 8883 return ErrInvalidLengthTypes 8884 } 8885 if postIndex > l { 8886 return io.ErrUnexpectedEOF 8887 } 8888 if m.U64 == nil { 8889 m.U64 = &types.UInt64Value{} 8890 } 8891 if err := m.U64.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8892 return err 8893 } 8894 iNdEx = postIndex 8895 case 7: 8896 if wireType != 2 { 8897 return fmt.Errorf("proto: wrong wireType = %d for field I32", wireType) 8898 } 8899 var msglen int 8900 for shift := uint(0); ; shift += 7 { 8901 if shift >= 64 { 8902 return ErrIntOverflowTypes 8903 } 8904 if iNdEx >= l { 8905 return io.ErrUnexpectedEOF 8906 } 8907 b := dAtA[iNdEx] 8908 iNdEx++ 8909 msglen |= int(b&0x7F) << shift 8910 if b < 0x80 { 8911 break 8912 } 8913 } 8914 if msglen < 0 { 8915 return ErrInvalidLengthTypes 8916 } 8917 postIndex := iNdEx + msglen 8918 if postIndex < 0 { 8919 return ErrInvalidLengthTypes 8920 } 8921 if postIndex > l { 8922 return io.ErrUnexpectedEOF 8923 } 8924 if m.I32 == nil { 8925 m.I32 = &types.Int32Value{} 8926 } 8927 if err := m.I32.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8928 return err 8929 } 8930 iNdEx = postIndex 8931 case 8: 8932 if wireType != 2 { 8933 return fmt.Errorf("proto: wrong wireType = %d for field U32", wireType) 8934 } 8935 var msglen int 8936 for shift := uint(0); ; shift += 7 { 8937 if shift >= 64 { 8938 return ErrIntOverflowTypes 8939 } 8940 if iNdEx >= l { 8941 return io.ErrUnexpectedEOF 8942 } 8943 b := dAtA[iNdEx] 8944 iNdEx++ 8945 msglen |= int(b&0x7F) << shift 8946 if b < 0x80 { 8947 break 8948 } 8949 } 8950 if msglen < 0 { 8951 return ErrInvalidLengthTypes 8952 } 8953 postIndex := iNdEx + msglen 8954 if postIndex < 0 { 8955 return ErrInvalidLengthTypes 8956 } 8957 if postIndex > l { 8958 return io.ErrUnexpectedEOF 8959 } 8960 if m.U32 == nil { 8961 m.U32 = &types.UInt32Value{} 8962 } 8963 if err := m.U32.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8964 return err 8965 } 8966 iNdEx = postIndex 8967 case 9: 8968 if wireType != 2 { 8969 return fmt.Errorf("proto: wrong wireType = %d for field Bool", wireType) 8970 } 8971 var msglen int 8972 for shift := uint(0); ; shift += 7 { 8973 if shift >= 64 { 8974 return ErrIntOverflowTypes 8975 } 8976 if iNdEx >= l { 8977 return io.ErrUnexpectedEOF 8978 } 8979 b := dAtA[iNdEx] 8980 iNdEx++ 8981 msglen |= int(b&0x7F) << shift 8982 if b < 0x80 { 8983 break 8984 } 8985 } 8986 if msglen < 0 { 8987 return ErrInvalidLengthTypes 8988 } 8989 postIndex := iNdEx + msglen 8990 if postIndex < 0 { 8991 return ErrInvalidLengthTypes 8992 } 8993 if postIndex > l { 8994 return io.ErrUnexpectedEOF 8995 } 8996 if m.Bool == nil { 8997 m.Bool = &types.BoolValue{} 8998 } 8999 if err := m.Bool.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9000 return err 9001 } 9002 iNdEx = postIndex 9003 case 10: 9004 if wireType != 2 { 9005 return fmt.Errorf("proto: wrong wireType = %d for field Str", wireType) 9006 } 9007 var msglen int 9008 for shift := uint(0); ; shift += 7 { 9009 if shift >= 64 { 9010 return ErrIntOverflowTypes 9011 } 9012 if iNdEx >= l { 9013 return io.ErrUnexpectedEOF 9014 } 9015 b := dAtA[iNdEx] 9016 iNdEx++ 9017 msglen |= int(b&0x7F) << shift 9018 if b < 0x80 { 9019 break 9020 } 9021 } 9022 if msglen < 0 { 9023 return ErrInvalidLengthTypes 9024 } 9025 postIndex := iNdEx + msglen 9026 if postIndex < 0 { 9027 return ErrInvalidLengthTypes 9028 } 9029 if postIndex > l { 9030 return io.ErrUnexpectedEOF 9031 } 9032 if m.Str == nil { 9033 m.Str = &types.StringValue{} 9034 } 9035 if err := m.Str.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9036 return err 9037 } 9038 iNdEx = postIndex 9039 case 11: 9040 if wireType != 2 { 9041 return fmt.Errorf("proto: wrong wireType = %d for field Bytes", wireType) 9042 } 9043 var msglen int 9044 for shift := uint(0); ; shift += 7 { 9045 if shift >= 64 { 9046 return ErrIntOverflowTypes 9047 } 9048 if iNdEx >= l { 9049 return io.ErrUnexpectedEOF 9050 } 9051 b := dAtA[iNdEx] 9052 iNdEx++ 9053 msglen |= int(b&0x7F) << shift 9054 if b < 0x80 { 9055 break 9056 } 9057 } 9058 if msglen < 0 { 9059 return ErrInvalidLengthTypes 9060 } 9061 postIndex := iNdEx + msglen 9062 if postIndex < 0 { 9063 return ErrInvalidLengthTypes 9064 } 9065 if postIndex > l { 9066 return io.ErrUnexpectedEOF 9067 } 9068 if m.Bytes == nil { 9069 m.Bytes = &types.BytesValue{} 9070 } 9071 if err := m.Bytes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9072 return err 9073 } 9074 iNdEx = postIndex 9075 case 12: 9076 if wireType != 2 { 9077 return fmt.Errorf("proto: wrong wireType = %d for field St", wireType) 9078 } 9079 var msglen int 9080 for shift := uint(0); ; shift += 7 { 9081 if shift >= 64 { 9082 return ErrIntOverflowTypes 9083 } 9084 if iNdEx >= l { 9085 return io.ErrUnexpectedEOF 9086 } 9087 b := dAtA[iNdEx] 9088 iNdEx++ 9089 msglen |= int(b&0x7F) << shift 9090 if b < 0x80 { 9091 break 9092 } 9093 } 9094 if msglen < 0 { 9095 return ErrInvalidLengthTypes 9096 } 9097 postIndex := iNdEx + msglen 9098 if postIndex < 0 { 9099 return ErrInvalidLengthTypes 9100 } 9101 if postIndex > l { 9102 return io.ErrUnexpectedEOF 9103 } 9104 if m.St == nil { 9105 m.St = &types.Struct{} 9106 } 9107 if err := m.St.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9108 return err 9109 } 9110 iNdEx = postIndex 9111 default: 9112 iNdEx = preIndex 9113 skippy, err := skipTypes(dAtA[iNdEx:]) 9114 if err != nil { 9115 return err 9116 } 9117 if (skippy < 0) || (iNdEx+skippy) < 0 { 9118 return ErrInvalidLengthTypes 9119 } 9120 if (iNdEx + skippy) > l { 9121 return io.ErrUnexpectedEOF 9122 } 9123 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9124 iNdEx += skippy 9125 } 9126 } 9127 9128 if iNdEx > l { 9129 return io.ErrUnexpectedEOF 9130 } 9131 return nil 9132 } 9133 func (m *ProtoTypes) Unmarshal(dAtA []byte) error { 9134 l := len(dAtA) 9135 iNdEx := 0 9136 for iNdEx < l { 9137 preIndex := iNdEx 9138 var wire uint64 9139 for shift := uint(0); ; shift += 7 { 9140 if shift >= 64 { 9141 return ErrIntOverflowTypes 9142 } 9143 if iNdEx >= l { 9144 return io.ErrUnexpectedEOF 9145 } 9146 b := dAtA[iNdEx] 9147 iNdEx++ 9148 wire |= uint64(b&0x7F) << shift 9149 if b < 0x80 { 9150 break 9151 } 9152 } 9153 fieldNum := int32(wire >> 3) 9154 wireType := int(wire & 0x7) 9155 if wireType == 4 { 9156 return fmt.Errorf("proto: ProtoTypes: wiretype end group for non-group") 9157 } 9158 if fieldNum <= 0 { 9159 return fmt.Errorf("proto: ProtoTypes: illegal tag %d (wire type %d)", fieldNum, wire) 9160 } 9161 switch fieldNum { 9162 case 1: 9163 if wireType != 2 { 9164 return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamp", wireType) 9165 } 9166 var msglen int 9167 for shift := uint(0); ; shift += 7 { 9168 if shift >= 64 { 9169 return ErrIntOverflowTypes 9170 } 9171 if iNdEx >= l { 9172 return io.ErrUnexpectedEOF 9173 } 9174 b := dAtA[iNdEx] 9175 iNdEx++ 9176 msglen |= int(b&0x7F) << shift 9177 if b < 0x80 { 9178 break 9179 } 9180 } 9181 if msglen < 0 { 9182 return ErrInvalidLengthTypes 9183 } 9184 postIndex := iNdEx + msglen 9185 if postIndex < 0 { 9186 return ErrInvalidLengthTypes 9187 } 9188 if postIndex > l { 9189 return io.ErrUnexpectedEOF 9190 } 9191 if m.NullableTimestamp == nil { 9192 m.NullableTimestamp = &types.Timestamp{} 9193 } 9194 if err := m.NullableTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9195 return err 9196 } 9197 iNdEx = postIndex 9198 case 2: 9199 if wireType != 2 { 9200 return fmt.Errorf("proto: wrong wireType = %d for field NullableDuration", wireType) 9201 } 9202 var msglen int 9203 for shift := uint(0); ; shift += 7 { 9204 if shift >= 64 { 9205 return ErrIntOverflowTypes 9206 } 9207 if iNdEx >= l { 9208 return io.ErrUnexpectedEOF 9209 } 9210 b := dAtA[iNdEx] 9211 iNdEx++ 9212 msglen |= int(b&0x7F) << shift 9213 if b < 0x80 { 9214 break 9215 } 9216 } 9217 if msglen < 0 { 9218 return ErrInvalidLengthTypes 9219 } 9220 postIndex := iNdEx + msglen 9221 if postIndex < 0 { 9222 return ErrInvalidLengthTypes 9223 } 9224 if postIndex > l { 9225 return io.ErrUnexpectedEOF 9226 } 9227 if m.NullableDuration == nil { 9228 m.NullableDuration = &types.Duration{} 9229 } 9230 if err := m.NullableDuration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9231 return err 9232 } 9233 iNdEx = postIndex 9234 case 3: 9235 if wireType != 2 { 9236 return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) 9237 } 9238 var msglen int 9239 for shift := uint(0); ; shift += 7 { 9240 if shift >= 64 { 9241 return ErrIntOverflowTypes 9242 } 9243 if iNdEx >= l { 9244 return io.ErrUnexpectedEOF 9245 } 9246 b := dAtA[iNdEx] 9247 iNdEx++ 9248 msglen |= int(b&0x7F) << shift 9249 if b < 0x80 { 9250 break 9251 } 9252 } 9253 if msglen < 0 { 9254 return ErrInvalidLengthTypes 9255 } 9256 postIndex := iNdEx + msglen 9257 if postIndex < 0 { 9258 return ErrInvalidLengthTypes 9259 } 9260 if postIndex > l { 9261 return io.ErrUnexpectedEOF 9262 } 9263 if m.NullableDouble == nil { 9264 m.NullableDouble = &types.DoubleValue{} 9265 } 9266 if err := m.NullableDouble.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9267 return err 9268 } 9269 iNdEx = postIndex 9270 case 4: 9271 if wireType != 2 { 9272 return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) 9273 } 9274 var msglen int 9275 for shift := uint(0); ; shift += 7 { 9276 if shift >= 64 { 9277 return ErrIntOverflowTypes 9278 } 9279 if iNdEx >= l { 9280 return io.ErrUnexpectedEOF 9281 } 9282 b := dAtA[iNdEx] 9283 iNdEx++ 9284 msglen |= int(b&0x7F) << shift 9285 if b < 0x80 { 9286 break 9287 } 9288 } 9289 if msglen < 0 { 9290 return ErrInvalidLengthTypes 9291 } 9292 postIndex := iNdEx + msglen 9293 if postIndex < 0 { 9294 return ErrInvalidLengthTypes 9295 } 9296 if postIndex > l { 9297 return io.ErrUnexpectedEOF 9298 } 9299 if m.NullableFloat == nil { 9300 m.NullableFloat = &types.FloatValue{} 9301 } 9302 if err := m.NullableFloat.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9303 return err 9304 } 9305 iNdEx = postIndex 9306 case 5: 9307 if wireType != 2 { 9308 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) 9309 } 9310 var msglen int 9311 for shift := uint(0); ; shift += 7 { 9312 if shift >= 64 { 9313 return ErrIntOverflowTypes 9314 } 9315 if iNdEx >= l { 9316 return io.ErrUnexpectedEOF 9317 } 9318 b := dAtA[iNdEx] 9319 iNdEx++ 9320 msglen |= int(b&0x7F) << shift 9321 if b < 0x80 { 9322 break 9323 } 9324 } 9325 if msglen < 0 { 9326 return ErrInvalidLengthTypes 9327 } 9328 postIndex := iNdEx + msglen 9329 if postIndex < 0 { 9330 return ErrInvalidLengthTypes 9331 } 9332 if postIndex > l { 9333 return io.ErrUnexpectedEOF 9334 } 9335 if m.NullableInt64 == nil { 9336 m.NullableInt64 = &types.Int64Value{} 9337 } 9338 if err := m.NullableInt64.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9339 return err 9340 } 9341 iNdEx = postIndex 9342 case 6: 9343 if wireType != 2 { 9344 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) 9345 } 9346 var msglen int 9347 for shift := uint(0); ; shift += 7 { 9348 if shift >= 64 { 9349 return ErrIntOverflowTypes 9350 } 9351 if iNdEx >= l { 9352 return io.ErrUnexpectedEOF 9353 } 9354 b := dAtA[iNdEx] 9355 iNdEx++ 9356 msglen |= int(b&0x7F) << shift 9357 if b < 0x80 { 9358 break 9359 } 9360 } 9361 if msglen < 0 { 9362 return ErrInvalidLengthTypes 9363 } 9364 postIndex := iNdEx + msglen 9365 if postIndex < 0 { 9366 return ErrInvalidLengthTypes 9367 } 9368 if postIndex > l { 9369 return io.ErrUnexpectedEOF 9370 } 9371 if m.NullableUInt64 == nil { 9372 m.NullableUInt64 = &types.UInt64Value{} 9373 } 9374 if err := m.NullableUInt64.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9375 return err 9376 } 9377 iNdEx = postIndex 9378 case 7: 9379 if wireType != 2 { 9380 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) 9381 } 9382 var msglen int 9383 for shift := uint(0); ; shift += 7 { 9384 if shift >= 64 { 9385 return ErrIntOverflowTypes 9386 } 9387 if iNdEx >= l { 9388 return io.ErrUnexpectedEOF 9389 } 9390 b := dAtA[iNdEx] 9391 iNdEx++ 9392 msglen |= int(b&0x7F) << shift 9393 if b < 0x80 { 9394 break 9395 } 9396 } 9397 if msglen < 0 { 9398 return ErrInvalidLengthTypes 9399 } 9400 postIndex := iNdEx + msglen 9401 if postIndex < 0 { 9402 return ErrInvalidLengthTypes 9403 } 9404 if postIndex > l { 9405 return io.ErrUnexpectedEOF 9406 } 9407 if m.NullableInt32 == nil { 9408 m.NullableInt32 = &types.Int32Value{} 9409 } 9410 if err := m.NullableInt32.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9411 return err 9412 } 9413 iNdEx = postIndex 9414 case 8: 9415 if wireType != 2 { 9416 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) 9417 } 9418 var msglen int 9419 for shift := uint(0); ; shift += 7 { 9420 if shift >= 64 { 9421 return ErrIntOverflowTypes 9422 } 9423 if iNdEx >= l { 9424 return io.ErrUnexpectedEOF 9425 } 9426 b := dAtA[iNdEx] 9427 iNdEx++ 9428 msglen |= int(b&0x7F) << shift 9429 if b < 0x80 { 9430 break 9431 } 9432 } 9433 if msglen < 0 { 9434 return ErrInvalidLengthTypes 9435 } 9436 postIndex := iNdEx + msglen 9437 if postIndex < 0 { 9438 return ErrInvalidLengthTypes 9439 } 9440 if postIndex > l { 9441 return io.ErrUnexpectedEOF 9442 } 9443 if m.NullableUInt32 == nil { 9444 m.NullableUInt32 = &types.UInt32Value{} 9445 } 9446 if err := m.NullableUInt32.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9447 return err 9448 } 9449 iNdEx = postIndex 9450 case 9: 9451 if wireType != 2 { 9452 return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) 9453 } 9454 var msglen int 9455 for shift := uint(0); ; shift += 7 { 9456 if shift >= 64 { 9457 return ErrIntOverflowTypes 9458 } 9459 if iNdEx >= l { 9460 return io.ErrUnexpectedEOF 9461 } 9462 b := dAtA[iNdEx] 9463 iNdEx++ 9464 msglen |= int(b&0x7F) << shift 9465 if b < 0x80 { 9466 break 9467 } 9468 } 9469 if msglen < 0 { 9470 return ErrInvalidLengthTypes 9471 } 9472 postIndex := iNdEx + msglen 9473 if postIndex < 0 { 9474 return ErrInvalidLengthTypes 9475 } 9476 if postIndex > l { 9477 return io.ErrUnexpectedEOF 9478 } 9479 if m.NullableBool == nil { 9480 m.NullableBool = &types.BoolValue{} 9481 } 9482 if err := m.NullableBool.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9483 return err 9484 } 9485 iNdEx = postIndex 9486 case 10: 9487 if wireType != 2 { 9488 return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) 9489 } 9490 var msglen int 9491 for shift := uint(0); ; shift += 7 { 9492 if shift >= 64 { 9493 return ErrIntOverflowTypes 9494 } 9495 if iNdEx >= l { 9496 return io.ErrUnexpectedEOF 9497 } 9498 b := dAtA[iNdEx] 9499 iNdEx++ 9500 msglen |= int(b&0x7F) << shift 9501 if b < 0x80 { 9502 break 9503 } 9504 } 9505 if msglen < 0 { 9506 return ErrInvalidLengthTypes 9507 } 9508 postIndex := iNdEx + msglen 9509 if postIndex < 0 { 9510 return ErrInvalidLengthTypes 9511 } 9512 if postIndex > l { 9513 return io.ErrUnexpectedEOF 9514 } 9515 if m.NullableString == nil { 9516 m.NullableString = &types.StringValue{} 9517 } 9518 if err := m.NullableString.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9519 return err 9520 } 9521 iNdEx = postIndex 9522 case 11: 9523 if wireType != 2 { 9524 return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) 9525 } 9526 var msglen int 9527 for shift := uint(0); ; shift += 7 { 9528 if shift >= 64 { 9529 return ErrIntOverflowTypes 9530 } 9531 if iNdEx >= l { 9532 return io.ErrUnexpectedEOF 9533 } 9534 b := dAtA[iNdEx] 9535 iNdEx++ 9536 msglen |= int(b&0x7F) << shift 9537 if b < 0x80 { 9538 break 9539 } 9540 } 9541 if msglen < 0 { 9542 return ErrInvalidLengthTypes 9543 } 9544 postIndex := iNdEx + msglen 9545 if postIndex < 0 { 9546 return ErrInvalidLengthTypes 9547 } 9548 if postIndex > l { 9549 return io.ErrUnexpectedEOF 9550 } 9551 if m.NullableBytes == nil { 9552 m.NullableBytes = &types.BytesValue{} 9553 } 9554 if err := m.NullableBytes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9555 return err 9556 } 9557 iNdEx = postIndex 9558 case 12: 9559 if wireType != 2 { 9560 return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) 9561 } 9562 var msglen int 9563 for shift := uint(0); ; shift += 7 { 9564 if shift >= 64 { 9565 return ErrIntOverflowTypes 9566 } 9567 if iNdEx >= l { 9568 return io.ErrUnexpectedEOF 9569 } 9570 b := dAtA[iNdEx] 9571 iNdEx++ 9572 msglen |= int(b&0x7F) << shift 9573 if b < 0x80 { 9574 break 9575 } 9576 } 9577 if msglen < 0 { 9578 return ErrInvalidLengthTypes 9579 } 9580 postIndex := iNdEx + msglen 9581 if postIndex < 0 { 9582 return ErrInvalidLengthTypes 9583 } 9584 if postIndex > l { 9585 return io.ErrUnexpectedEOF 9586 } 9587 if err := m.Timestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9588 return err 9589 } 9590 iNdEx = postIndex 9591 case 13: 9592 if wireType != 2 { 9593 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 9594 } 9595 var msglen int 9596 for shift := uint(0); ; shift += 7 { 9597 if shift >= 64 { 9598 return ErrIntOverflowTypes 9599 } 9600 if iNdEx >= l { 9601 return io.ErrUnexpectedEOF 9602 } 9603 b := dAtA[iNdEx] 9604 iNdEx++ 9605 msglen |= int(b&0x7F) << shift 9606 if b < 0x80 { 9607 break 9608 } 9609 } 9610 if msglen < 0 { 9611 return ErrInvalidLengthTypes 9612 } 9613 postIndex := iNdEx + msglen 9614 if postIndex < 0 { 9615 return ErrInvalidLengthTypes 9616 } 9617 if postIndex > l { 9618 return io.ErrUnexpectedEOF 9619 } 9620 if err := m.Duration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9621 return err 9622 } 9623 iNdEx = postIndex 9624 case 14: 9625 if wireType != 2 { 9626 return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) 9627 } 9628 var msglen int 9629 for shift := uint(0); ; shift += 7 { 9630 if shift >= 64 { 9631 return ErrIntOverflowTypes 9632 } 9633 if iNdEx >= l { 9634 return io.ErrUnexpectedEOF 9635 } 9636 b := dAtA[iNdEx] 9637 iNdEx++ 9638 msglen |= int(b&0x7F) << shift 9639 if b < 0x80 { 9640 break 9641 } 9642 } 9643 if msglen < 0 { 9644 return ErrInvalidLengthTypes 9645 } 9646 postIndex := iNdEx + msglen 9647 if postIndex < 0 { 9648 return ErrInvalidLengthTypes 9649 } 9650 if postIndex > l { 9651 return io.ErrUnexpectedEOF 9652 } 9653 if err := m.NonnullDouble.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9654 return err 9655 } 9656 iNdEx = postIndex 9657 case 15: 9658 if wireType != 2 { 9659 return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) 9660 } 9661 var msglen int 9662 for shift := uint(0); ; shift += 7 { 9663 if shift >= 64 { 9664 return ErrIntOverflowTypes 9665 } 9666 if iNdEx >= l { 9667 return io.ErrUnexpectedEOF 9668 } 9669 b := dAtA[iNdEx] 9670 iNdEx++ 9671 msglen |= int(b&0x7F) << shift 9672 if b < 0x80 { 9673 break 9674 } 9675 } 9676 if msglen < 0 { 9677 return ErrInvalidLengthTypes 9678 } 9679 postIndex := iNdEx + msglen 9680 if postIndex < 0 { 9681 return ErrInvalidLengthTypes 9682 } 9683 if postIndex > l { 9684 return io.ErrUnexpectedEOF 9685 } 9686 if err := m.NonnullFloat.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9687 return err 9688 } 9689 iNdEx = postIndex 9690 case 16: 9691 if wireType != 2 { 9692 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) 9693 } 9694 var msglen int 9695 for shift := uint(0); ; shift += 7 { 9696 if shift >= 64 { 9697 return ErrIntOverflowTypes 9698 } 9699 if iNdEx >= l { 9700 return io.ErrUnexpectedEOF 9701 } 9702 b := dAtA[iNdEx] 9703 iNdEx++ 9704 msglen |= int(b&0x7F) << shift 9705 if b < 0x80 { 9706 break 9707 } 9708 } 9709 if msglen < 0 { 9710 return ErrInvalidLengthTypes 9711 } 9712 postIndex := iNdEx + msglen 9713 if postIndex < 0 { 9714 return ErrInvalidLengthTypes 9715 } 9716 if postIndex > l { 9717 return io.ErrUnexpectedEOF 9718 } 9719 if err := m.NonnullInt64.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9720 return err 9721 } 9722 iNdEx = postIndex 9723 case 17: 9724 if wireType != 2 { 9725 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) 9726 } 9727 var msglen int 9728 for shift := uint(0); ; shift += 7 { 9729 if shift >= 64 { 9730 return ErrIntOverflowTypes 9731 } 9732 if iNdEx >= l { 9733 return io.ErrUnexpectedEOF 9734 } 9735 b := dAtA[iNdEx] 9736 iNdEx++ 9737 msglen |= int(b&0x7F) << shift 9738 if b < 0x80 { 9739 break 9740 } 9741 } 9742 if msglen < 0 { 9743 return ErrInvalidLengthTypes 9744 } 9745 postIndex := iNdEx + msglen 9746 if postIndex < 0 { 9747 return ErrInvalidLengthTypes 9748 } 9749 if postIndex > l { 9750 return io.ErrUnexpectedEOF 9751 } 9752 if err := m.NonnullUInt64.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9753 return err 9754 } 9755 iNdEx = postIndex 9756 case 18: 9757 if wireType != 2 { 9758 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) 9759 } 9760 var msglen int 9761 for shift := uint(0); ; shift += 7 { 9762 if shift >= 64 { 9763 return ErrIntOverflowTypes 9764 } 9765 if iNdEx >= l { 9766 return io.ErrUnexpectedEOF 9767 } 9768 b := dAtA[iNdEx] 9769 iNdEx++ 9770 msglen |= int(b&0x7F) << shift 9771 if b < 0x80 { 9772 break 9773 } 9774 } 9775 if msglen < 0 { 9776 return ErrInvalidLengthTypes 9777 } 9778 postIndex := iNdEx + msglen 9779 if postIndex < 0 { 9780 return ErrInvalidLengthTypes 9781 } 9782 if postIndex > l { 9783 return io.ErrUnexpectedEOF 9784 } 9785 if err := m.NonnullInt32.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9786 return err 9787 } 9788 iNdEx = postIndex 9789 case 19: 9790 if wireType != 2 { 9791 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) 9792 } 9793 var msglen int 9794 for shift := uint(0); ; shift += 7 { 9795 if shift >= 64 { 9796 return ErrIntOverflowTypes 9797 } 9798 if iNdEx >= l { 9799 return io.ErrUnexpectedEOF 9800 } 9801 b := dAtA[iNdEx] 9802 iNdEx++ 9803 msglen |= int(b&0x7F) << shift 9804 if b < 0x80 { 9805 break 9806 } 9807 } 9808 if msglen < 0 { 9809 return ErrInvalidLengthTypes 9810 } 9811 postIndex := iNdEx + msglen 9812 if postIndex < 0 { 9813 return ErrInvalidLengthTypes 9814 } 9815 if postIndex > l { 9816 return io.ErrUnexpectedEOF 9817 } 9818 if err := m.NonnullUInt32.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9819 return err 9820 } 9821 iNdEx = postIndex 9822 case 20: 9823 if wireType != 2 { 9824 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) 9825 } 9826 var msglen int 9827 for shift := uint(0); ; shift += 7 { 9828 if shift >= 64 { 9829 return ErrIntOverflowTypes 9830 } 9831 if iNdEx >= l { 9832 return io.ErrUnexpectedEOF 9833 } 9834 b := dAtA[iNdEx] 9835 iNdEx++ 9836 msglen |= int(b&0x7F) << shift 9837 if b < 0x80 { 9838 break 9839 } 9840 } 9841 if msglen < 0 { 9842 return ErrInvalidLengthTypes 9843 } 9844 postIndex := iNdEx + msglen 9845 if postIndex < 0 { 9846 return ErrInvalidLengthTypes 9847 } 9848 if postIndex > l { 9849 return io.ErrUnexpectedEOF 9850 } 9851 if err := m.NonnullBool.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9852 return err 9853 } 9854 iNdEx = postIndex 9855 case 21: 9856 if wireType != 2 { 9857 return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) 9858 } 9859 var msglen int 9860 for shift := uint(0); ; shift += 7 { 9861 if shift >= 64 { 9862 return ErrIntOverflowTypes 9863 } 9864 if iNdEx >= l { 9865 return io.ErrUnexpectedEOF 9866 } 9867 b := dAtA[iNdEx] 9868 iNdEx++ 9869 msglen |= int(b&0x7F) << shift 9870 if b < 0x80 { 9871 break 9872 } 9873 } 9874 if msglen < 0 { 9875 return ErrInvalidLengthTypes 9876 } 9877 postIndex := iNdEx + msglen 9878 if postIndex < 0 { 9879 return ErrInvalidLengthTypes 9880 } 9881 if postIndex > l { 9882 return io.ErrUnexpectedEOF 9883 } 9884 if err := m.NonnullString.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9885 return err 9886 } 9887 iNdEx = postIndex 9888 case 22: 9889 if wireType != 2 { 9890 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) 9891 } 9892 var msglen int 9893 for shift := uint(0); ; shift += 7 { 9894 if shift >= 64 { 9895 return ErrIntOverflowTypes 9896 } 9897 if iNdEx >= l { 9898 return io.ErrUnexpectedEOF 9899 } 9900 b := dAtA[iNdEx] 9901 iNdEx++ 9902 msglen |= int(b&0x7F) << shift 9903 if b < 0x80 { 9904 break 9905 } 9906 } 9907 if msglen < 0 { 9908 return ErrInvalidLengthTypes 9909 } 9910 postIndex := iNdEx + msglen 9911 if postIndex < 0 { 9912 return ErrInvalidLengthTypes 9913 } 9914 if postIndex > l { 9915 return io.ErrUnexpectedEOF 9916 } 9917 if err := m.NonnullBytes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9918 return err 9919 } 9920 iNdEx = postIndex 9921 default: 9922 iNdEx = preIndex 9923 skippy, err := skipTypes(dAtA[iNdEx:]) 9924 if err != nil { 9925 return err 9926 } 9927 if (skippy < 0) || (iNdEx+skippy) < 0 { 9928 return ErrInvalidLengthTypes 9929 } 9930 if (iNdEx + skippy) > l { 9931 return io.ErrUnexpectedEOF 9932 } 9933 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9934 iNdEx += skippy 9935 } 9936 } 9937 9938 if iNdEx > l { 9939 return io.ErrUnexpectedEOF 9940 } 9941 return nil 9942 } 9943 func (m *StdTypes) Unmarshal(dAtA []byte) error { 9944 l := len(dAtA) 9945 iNdEx := 0 9946 for iNdEx < l { 9947 preIndex := iNdEx 9948 var wire uint64 9949 for shift := uint(0); ; shift += 7 { 9950 if shift >= 64 { 9951 return ErrIntOverflowTypes 9952 } 9953 if iNdEx >= l { 9954 return io.ErrUnexpectedEOF 9955 } 9956 b := dAtA[iNdEx] 9957 iNdEx++ 9958 wire |= uint64(b&0x7F) << shift 9959 if b < 0x80 { 9960 break 9961 } 9962 } 9963 fieldNum := int32(wire >> 3) 9964 wireType := int(wire & 0x7) 9965 if wireType == 4 { 9966 return fmt.Errorf("proto: StdTypes: wiretype end group for non-group") 9967 } 9968 if fieldNum <= 0 { 9969 return fmt.Errorf("proto: StdTypes: illegal tag %d (wire type %d)", fieldNum, wire) 9970 } 9971 switch fieldNum { 9972 case 1: 9973 if wireType != 2 { 9974 return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamp", wireType) 9975 } 9976 var msglen int 9977 for shift := uint(0); ; shift += 7 { 9978 if shift >= 64 { 9979 return ErrIntOverflowTypes 9980 } 9981 if iNdEx >= l { 9982 return io.ErrUnexpectedEOF 9983 } 9984 b := dAtA[iNdEx] 9985 iNdEx++ 9986 msglen |= int(b&0x7F) << shift 9987 if b < 0x80 { 9988 break 9989 } 9990 } 9991 if msglen < 0 { 9992 return ErrInvalidLengthTypes 9993 } 9994 postIndex := iNdEx + msglen 9995 if postIndex < 0 { 9996 return ErrInvalidLengthTypes 9997 } 9998 if postIndex > l { 9999 return io.ErrUnexpectedEOF 10000 } 10001 if m.NullableTimestamp == nil { 10002 m.NullableTimestamp = new(time.Time) 10003 } 10004 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.NullableTimestamp, dAtA[iNdEx:postIndex]); err != nil { 10005 return err 10006 } 10007 iNdEx = postIndex 10008 case 2: 10009 if wireType != 2 { 10010 return fmt.Errorf("proto: wrong wireType = %d for field NullableDuration", wireType) 10011 } 10012 var msglen int 10013 for shift := uint(0); ; shift += 7 { 10014 if shift >= 64 { 10015 return ErrIntOverflowTypes 10016 } 10017 if iNdEx >= l { 10018 return io.ErrUnexpectedEOF 10019 } 10020 b := dAtA[iNdEx] 10021 iNdEx++ 10022 msglen |= int(b&0x7F) << shift 10023 if b < 0x80 { 10024 break 10025 } 10026 } 10027 if msglen < 0 { 10028 return ErrInvalidLengthTypes 10029 } 10030 postIndex := iNdEx + msglen 10031 if postIndex < 0 { 10032 return ErrInvalidLengthTypes 10033 } 10034 if postIndex > l { 10035 return io.ErrUnexpectedEOF 10036 } 10037 if m.NullableDuration == nil { 10038 m.NullableDuration = new(time.Duration) 10039 } 10040 if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.NullableDuration, dAtA[iNdEx:postIndex]); err != nil { 10041 return err 10042 } 10043 iNdEx = postIndex 10044 case 3: 10045 if wireType != 2 { 10046 return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) 10047 } 10048 var msglen int 10049 for shift := uint(0); ; shift += 7 { 10050 if shift >= 64 { 10051 return ErrIntOverflowTypes 10052 } 10053 if iNdEx >= l { 10054 return io.ErrUnexpectedEOF 10055 } 10056 b := dAtA[iNdEx] 10057 iNdEx++ 10058 msglen |= int(b&0x7F) << shift 10059 if b < 0x80 { 10060 break 10061 } 10062 } 10063 if msglen < 0 { 10064 return ErrInvalidLengthTypes 10065 } 10066 postIndex := iNdEx + msglen 10067 if postIndex < 0 { 10068 return ErrInvalidLengthTypes 10069 } 10070 if postIndex > l { 10071 return io.ErrUnexpectedEOF 10072 } 10073 if m.NullableDouble == nil { 10074 m.NullableDouble = new(float64) 10075 } 10076 if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(m.NullableDouble, dAtA[iNdEx:postIndex]); err != nil { 10077 return err 10078 } 10079 iNdEx = postIndex 10080 case 4: 10081 if wireType != 2 { 10082 return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) 10083 } 10084 var msglen int 10085 for shift := uint(0); ; shift += 7 { 10086 if shift >= 64 { 10087 return ErrIntOverflowTypes 10088 } 10089 if iNdEx >= l { 10090 return io.ErrUnexpectedEOF 10091 } 10092 b := dAtA[iNdEx] 10093 iNdEx++ 10094 msglen |= int(b&0x7F) << shift 10095 if b < 0x80 { 10096 break 10097 } 10098 } 10099 if msglen < 0 { 10100 return ErrInvalidLengthTypes 10101 } 10102 postIndex := iNdEx + msglen 10103 if postIndex < 0 { 10104 return ErrInvalidLengthTypes 10105 } 10106 if postIndex > l { 10107 return io.ErrUnexpectedEOF 10108 } 10109 if m.NullableFloat == nil { 10110 m.NullableFloat = new(float32) 10111 } 10112 if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(m.NullableFloat, dAtA[iNdEx:postIndex]); err != nil { 10113 return err 10114 } 10115 iNdEx = postIndex 10116 case 5: 10117 if wireType != 2 { 10118 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) 10119 } 10120 var msglen int 10121 for shift := uint(0); ; shift += 7 { 10122 if shift >= 64 { 10123 return ErrIntOverflowTypes 10124 } 10125 if iNdEx >= l { 10126 return io.ErrUnexpectedEOF 10127 } 10128 b := dAtA[iNdEx] 10129 iNdEx++ 10130 msglen |= int(b&0x7F) << shift 10131 if b < 0x80 { 10132 break 10133 } 10134 } 10135 if msglen < 0 { 10136 return ErrInvalidLengthTypes 10137 } 10138 postIndex := iNdEx + msglen 10139 if postIndex < 0 { 10140 return ErrInvalidLengthTypes 10141 } 10142 if postIndex > l { 10143 return io.ErrUnexpectedEOF 10144 } 10145 if m.NullableInt64 == nil { 10146 m.NullableInt64 = new(int64) 10147 } 10148 if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(m.NullableInt64, dAtA[iNdEx:postIndex]); err != nil { 10149 return err 10150 } 10151 iNdEx = postIndex 10152 case 6: 10153 if wireType != 2 { 10154 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) 10155 } 10156 var msglen int 10157 for shift := uint(0); ; shift += 7 { 10158 if shift >= 64 { 10159 return ErrIntOverflowTypes 10160 } 10161 if iNdEx >= l { 10162 return io.ErrUnexpectedEOF 10163 } 10164 b := dAtA[iNdEx] 10165 iNdEx++ 10166 msglen |= int(b&0x7F) << shift 10167 if b < 0x80 { 10168 break 10169 } 10170 } 10171 if msglen < 0 { 10172 return ErrInvalidLengthTypes 10173 } 10174 postIndex := iNdEx + msglen 10175 if postIndex < 0 { 10176 return ErrInvalidLengthTypes 10177 } 10178 if postIndex > l { 10179 return io.ErrUnexpectedEOF 10180 } 10181 if m.NullableUInt64 == nil { 10182 m.NullableUInt64 = new(uint64) 10183 } 10184 if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(m.NullableUInt64, dAtA[iNdEx:postIndex]); err != nil { 10185 return err 10186 } 10187 iNdEx = postIndex 10188 case 7: 10189 if wireType != 2 { 10190 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) 10191 } 10192 var msglen int 10193 for shift := uint(0); ; shift += 7 { 10194 if shift >= 64 { 10195 return ErrIntOverflowTypes 10196 } 10197 if iNdEx >= l { 10198 return io.ErrUnexpectedEOF 10199 } 10200 b := dAtA[iNdEx] 10201 iNdEx++ 10202 msglen |= int(b&0x7F) << shift 10203 if b < 0x80 { 10204 break 10205 } 10206 } 10207 if msglen < 0 { 10208 return ErrInvalidLengthTypes 10209 } 10210 postIndex := iNdEx + msglen 10211 if postIndex < 0 { 10212 return ErrInvalidLengthTypes 10213 } 10214 if postIndex > l { 10215 return io.ErrUnexpectedEOF 10216 } 10217 if m.NullableInt32 == nil { 10218 m.NullableInt32 = new(int32) 10219 } 10220 if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(m.NullableInt32, dAtA[iNdEx:postIndex]); err != nil { 10221 return err 10222 } 10223 iNdEx = postIndex 10224 case 8: 10225 if wireType != 2 { 10226 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) 10227 } 10228 var msglen int 10229 for shift := uint(0); ; shift += 7 { 10230 if shift >= 64 { 10231 return ErrIntOverflowTypes 10232 } 10233 if iNdEx >= l { 10234 return io.ErrUnexpectedEOF 10235 } 10236 b := dAtA[iNdEx] 10237 iNdEx++ 10238 msglen |= int(b&0x7F) << shift 10239 if b < 0x80 { 10240 break 10241 } 10242 } 10243 if msglen < 0 { 10244 return ErrInvalidLengthTypes 10245 } 10246 postIndex := iNdEx + msglen 10247 if postIndex < 0 { 10248 return ErrInvalidLengthTypes 10249 } 10250 if postIndex > l { 10251 return io.ErrUnexpectedEOF 10252 } 10253 if m.NullableUInt32 == nil { 10254 m.NullableUInt32 = new(uint32) 10255 } 10256 if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(m.NullableUInt32, dAtA[iNdEx:postIndex]); err != nil { 10257 return err 10258 } 10259 iNdEx = postIndex 10260 case 9: 10261 if wireType != 2 { 10262 return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) 10263 } 10264 var msglen int 10265 for shift := uint(0); ; shift += 7 { 10266 if shift >= 64 { 10267 return ErrIntOverflowTypes 10268 } 10269 if iNdEx >= l { 10270 return io.ErrUnexpectedEOF 10271 } 10272 b := dAtA[iNdEx] 10273 iNdEx++ 10274 msglen |= int(b&0x7F) << shift 10275 if b < 0x80 { 10276 break 10277 } 10278 } 10279 if msglen < 0 { 10280 return ErrInvalidLengthTypes 10281 } 10282 postIndex := iNdEx + msglen 10283 if postIndex < 0 { 10284 return ErrInvalidLengthTypes 10285 } 10286 if postIndex > l { 10287 return io.ErrUnexpectedEOF 10288 } 10289 if m.NullableBool == nil { 10290 m.NullableBool = new(bool) 10291 } 10292 if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(m.NullableBool, dAtA[iNdEx:postIndex]); err != nil { 10293 return err 10294 } 10295 iNdEx = postIndex 10296 case 10: 10297 if wireType != 2 { 10298 return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) 10299 } 10300 var msglen int 10301 for shift := uint(0); ; shift += 7 { 10302 if shift >= 64 { 10303 return ErrIntOverflowTypes 10304 } 10305 if iNdEx >= l { 10306 return io.ErrUnexpectedEOF 10307 } 10308 b := dAtA[iNdEx] 10309 iNdEx++ 10310 msglen |= int(b&0x7F) << shift 10311 if b < 0x80 { 10312 break 10313 } 10314 } 10315 if msglen < 0 { 10316 return ErrInvalidLengthTypes 10317 } 10318 postIndex := iNdEx + msglen 10319 if postIndex < 0 { 10320 return ErrInvalidLengthTypes 10321 } 10322 if postIndex > l { 10323 return io.ErrUnexpectedEOF 10324 } 10325 if m.NullableString == nil { 10326 m.NullableString = new(string) 10327 } 10328 if err := github_com_gogo_protobuf_types.StdStringUnmarshal(m.NullableString, dAtA[iNdEx:postIndex]); err != nil { 10329 return err 10330 } 10331 iNdEx = postIndex 10332 case 11: 10333 if wireType != 2 { 10334 return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) 10335 } 10336 var msglen int 10337 for shift := uint(0); ; shift += 7 { 10338 if shift >= 64 { 10339 return ErrIntOverflowTypes 10340 } 10341 if iNdEx >= l { 10342 return io.ErrUnexpectedEOF 10343 } 10344 b := dAtA[iNdEx] 10345 iNdEx++ 10346 msglen |= int(b&0x7F) << shift 10347 if b < 0x80 { 10348 break 10349 } 10350 } 10351 if msglen < 0 { 10352 return ErrInvalidLengthTypes 10353 } 10354 postIndex := iNdEx + msglen 10355 if postIndex < 0 { 10356 return ErrInvalidLengthTypes 10357 } 10358 if postIndex > l { 10359 return io.ErrUnexpectedEOF 10360 } 10361 if m.NullableBytes == nil { 10362 m.NullableBytes = new([]byte) 10363 } 10364 if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(m.NullableBytes, dAtA[iNdEx:postIndex]); err != nil { 10365 return err 10366 } 10367 iNdEx = postIndex 10368 case 12: 10369 if wireType != 2 { 10370 return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) 10371 } 10372 var msglen int 10373 for shift := uint(0); ; shift += 7 { 10374 if shift >= 64 { 10375 return ErrIntOverflowTypes 10376 } 10377 if iNdEx >= l { 10378 return io.ErrUnexpectedEOF 10379 } 10380 b := dAtA[iNdEx] 10381 iNdEx++ 10382 msglen |= int(b&0x7F) << shift 10383 if b < 0x80 { 10384 break 10385 } 10386 } 10387 if msglen < 0 { 10388 return ErrInvalidLengthTypes 10389 } 10390 postIndex := iNdEx + msglen 10391 if postIndex < 0 { 10392 return ErrInvalidLengthTypes 10393 } 10394 if postIndex > l { 10395 return io.ErrUnexpectedEOF 10396 } 10397 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Timestamp, dAtA[iNdEx:postIndex]); err != nil { 10398 return err 10399 } 10400 iNdEx = postIndex 10401 case 13: 10402 if wireType != 2 { 10403 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 10404 } 10405 var msglen int 10406 for shift := uint(0); ; shift += 7 { 10407 if shift >= 64 { 10408 return ErrIntOverflowTypes 10409 } 10410 if iNdEx >= l { 10411 return io.ErrUnexpectedEOF 10412 } 10413 b := dAtA[iNdEx] 10414 iNdEx++ 10415 msglen |= int(b&0x7F) << shift 10416 if b < 0x80 { 10417 break 10418 } 10419 } 10420 if msglen < 0 { 10421 return ErrInvalidLengthTypes 10422 } 10423 postIndex := iNdEx + msglen 10424 if postIndex < 0 { 10425 return ErrInvalidLengthTypes 10426 } 10427 if postIndex > l { 10428 return io.ErrUnexpectedEOF 10429 } 10430 if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.Duration, dAtA[iNdEx:postIndex]); err != nil { 10431 return err 10432 } 10433 iNdEx = postIndex 10434 case 14: 10435 if wireType != 2 { 10436 return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) 10437 } 10438 var msglen int 10439 for shift := uint(0); ; shift += 7 { 10440 if shift >= 64 { 10441 return ErrIntOverflowTypes 10442 } 10443 if iNdEx >= l { 10444 return io.ErrUnexpectedEOF 10445 } 10446 b := dAtA[iNdEx] 10447 iNdEx++ 10448 msglen |= int(b&0x7F) << shift 10449 if b < 0x80 { 10450 break 10451 } 10452 } 10453 if msglen < 0 { 10454 return ErrInvalidLengthTypes 10455 } 10456 postIndex := iNdEx + msglen 10457 if postIndex < 0 { 10458 return ErrInvalidLengthTypes 10459 } 10460 if postIndex > l { 10461 return io.ErrUnexpectedEOF 10462 } 10463 if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(&m.NonnullDouble, dAtA[iNdEx:postIndex]); err != nil { 10464 return err 10465 } 10466 iNdEx = postIndex 10467 case 15: 10468 if wireType != 2 { 10469 return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) 10470 } 10471 var msglen int 10472 for shift := uint(0); ; shift += 7 { 10473 if shift >= 64 { 10474 return ErrIntOverflowTypes 10475 } 10476 if iNdEx >= l { 10477 return io.ErrUnexpectedEOF 10478 } 10479 b := dAtA[iNdEx] 10480 iNdEx++ 10481 msglen |= int(b&0x7F) << shift 10482 if b < 0x80 { 10483 break 10484 } 10485 } 10486 if msglen < 0 { 10487 return ErrInvalidLengthTypes 10488 } 10489 postIndex := iNdEx + msglen 10490 if postIndex < 0 { 10491 return ErrInvalidLengthTypes 10492 } 10493 if postIndex > l { 10494 return io.ErrUnexpectedEOF 10495 } 10496 if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(&m.NonnullFloat, dAtA[iNdEx:postIndex]); err != nil { 10497 return err 10498 } 10499 iNdEx = postIndex 10500 case 16: 10501 if wireType != 2 { 10502 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) 10503 } 10504 var msglen int 10505 for shift := uint(0); ; shift += 7 { 10506 if shift >= 64 { 10507 return ErrIntOverflowTypes 10508 } 10509 if iNdEx >= l { 10510 return io.ErrUnexpectedEOF 10511 } 10512 b := dAtA[iNdEx] 10513 iNdEx++ 10514 msglen |= int(b&0x7F) << shift 10515 if b < 0x80 { 10516 break 10517 } 10518 } 10519 if msglen < 0 { 10520 return ErrInvalidLengthTypes 10521 } 10522 postIndex := iNdEx + msglen 10523 if postIndex < 0 { 10524 return ErrInvalidLengthTypes 10525 } 10526 if postIndex > l { 10527 return io.ErrUnexpectedEOF 10528 } 10529 if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(&m.NonnullInt64, dAtA[iNdEx:postIndex]); err != nil { 10530 return err 10531 } 10532 iNdEx = postIndex 10533 case 17: 10534 if wireType != 2 { 10535 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) 10536 } 10537 var msglen int 10538 for shift := uint(0); ; shift += 7 { 10539 if shift >= 64 { 10540 return ErrIntOverflowTypes 10541 } 10542 if iNdEx >= l { 10543 return io.ErrUnexpectedEOF 10544 } 10545 b := dAtA[iNdEx] 10546 iNdEx++ 10547 msglen |= int(b&0x7F) << shift 10548 if b < 0x80 { 10549 break 10550 } 10551 } 10552 if msglen < 0 { 10553 return ErrInvalidLengthTypes 10554 } 10555 postIndex := iNdEx + msglen 10556 if postIndex < 0 { 10557 return ErrInvalidLengthTypes 10558 } 10559 if postIndex > l { 10560 return io.ErrUnexpectedEOF 10561 } 10562 if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(&m.NonnullUInt64, dAtA[iNdEx:postIndex]); err != nil { 10563 return err 10564 } 10565 iNdEx = postIndex 10566 case 18: 10567 if wireType != 2 { 10568 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) 10569 } 10570 var msglen int 10571 for shift := uint(0); ; shift += 7 { 10572 if shift >= 64 { 10573 return ErrIntOverflowTypes 10574 } 10575 if iNdEx >= l { 10576 return io.ErrUnexpectedEOF 10577 } 10578 b := dAtA[iNdEx] 10579 iNdEx++ 10580 msglen |= int(b&0x7F) << shift 10581 if b < 0x80 { 10582 break 10583 } 10584 } 10585 if msglen < 0 { 10586 return ErrInvalidLengthTypes 10587 } 10588 postIndex := iNdEx + msglen 10589 if postIndex < 0 { 10590 return ErrInvalidLengthTypes 10591 } 10592 if postIndex > l { 10593 return io.ErrUnexpectedEOF 10594 } 10595 if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(&m.NonnullInt32, dAtA[iNdEx:postIndex]); err != nil { 10596 return err 10597 } 10598 iNdEx = postIndex 10599 case 19: 10600 if wireType != 2 { 10601 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) 10602 } 10603 var msglen int 10604 for shift := uint(0); ; shift += 7 { 10605 if shift >= 64 { 10606 return ErrIntOverflowTypes 10607 } 10608 if iNdEx >= l { 10609 return io.ErrUnexpectedEOF 10610 } 10611 b := dAtA[iNdEx] 10612 iNdEx++ 10613 msglen |= int(b&0x7F) << shift 10614 if b < 0x80 { 10615 break 10616 } 10617 } 10618 if msglen < 0 { 10619 return ErrInvalidLengthTypes 10620 } 10621 postIndex := iNdEx + msglen 10622 if postIndex < 0 { 10623 return ErrInvalidLengthTypes 10624 } 10625 if postIndex > l { 10626 return io.ErrUnexpectedEOF 10627 } 10628 if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(&m.NonnullUInt32, dAtA[iNdEx:postIndex]); err != nil { 10629 return err 10630 } 10631 iNdEx = postIndex 10632 case 20: 10633 if wireType != 2 { 10634 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) 10635 } 10636 var msglen int 10637 for shift := uint(0); ; shift += 7 { 10638 if shift >= 64 { 10639 return ErrIntOverflowTypes 10640 } 10641 if iNdEx >= l { 10642 return io.ErrUnexpectedEOF 10643 } 10644 b := dAtA[iNdEx] 10645 iNdEx++ 10646 msglen |= int(b&0x7F) << shift 10647 if b < 0x80 { 10648 break 10649 } 10650 } 10651 if msglen < 0 { 10652 return ErrInvalidLengthTypes 10653 } 10654 postIndex := iNdEx + msglen 10655 if postIndex < 0 { 10656 return ErrInvalidLengthTypes 10657 } 10658 if postIndex > l { 10659 return io.ErrUnexpectedEOF 10660 } 10661 if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(&m.NonnullBool, dAtA[iNdEx:postIndex]); err != nil { 10662 return err 10663 } 10664 iNdEx = postIndex 10665 case 21: 10666 if wireType != 2 { 10667 return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) 10668 } 10669 var msglen int 10670 for shift := uint(0); ; shift += 7 { 10671 if shift >= 64 { 10672 return ErrIntOverflowTypes 10673 } 10674 if iNdEx >= l { 10675 return io.ErrUnexpectedEOF 10676 } 10677 b := dAtA[iNdEx] 10678 iNdEx++ 10679 msglen |= int(b&0x7F) << shift 10680 if b < 0x80 { 10681 break 10682 } 10683 } 10684 if msglen < 0 { 10685 return ErrInvalidLengthTypes 10686 } 10687 postIndex := iNdEx + msglen 10688 if postIndex < 0 { 10689 return ErrInvalidLengthTypes 10690 } 10691 if postIndex > l { 10692 return io.ErrUnexpectedEOF 10693 } 10694 if err := github_com_gogo_protobuf_types.StdStringUnmarshal(&m.NonnullString, dAtA[iNdEx:postIndex]); err != nil { 10695 return err 10696 } 10697 iNdEx = postIndex 10698 case 22: 10699 if wireType != 2 { 10700 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) 10701 } 10702 var msglen int 10703 for shift := uint(0); ; shift += 7 { 10704 if shift >= 64 { 10705 return ErrIntOverflowTypes 10706 } 10707 if iNdEx >= l { 10708 return io.ErrUnexpectedEOF 10709 } 10710 b := dAtA[iNdEx] 10711 iNdEx++ 10712 msglen |= int(b&0x7F) << shift 10713 if b < 0x80 { 10714 break 10715 } 10716 } 10717 if msglen < 0 { 10718 return ErrInvalidLengthTypes 10719 } 10720 postIndex := iNdEx + msglen 10721 if postIndex < 0 { 10722 return ErrInvalidLengthTypes 10723 } 10724 if postIndex > l { 10725 return io.ErrUnexpectedEOF 10726 } 10727 if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(&m.NonnullBytes, dAtA[iNdEx:postIndex]); err != nil { 10728 return err 10729 } 10730 iNdEx = postIndex 10731 default: 10732 iNdEx = preIndex 10733 skippy, err := skipTypes(dAtA[iNdEx:]) 10734 if err != nil { 10735 return err 10736 } 10737 if (skippy < 0) || (iNdEx+skippy) < 0 { 10738 return ErrInvalidLengthTypes 10739 } 10740 if (iNdEx + skippy) > l { 10741 return io.ErrUnexpectedEOF 10742 } 10743 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10744 iNdEx += skippy 10745 } 10746 } 10747 10748 if iNdEx > l { 10749 return io.ErrUnexpectedEOF 10750 } 10751 return nil 10752 } 10753 func (m *RepProtoTypes) Unmarshal(dAtA []byte) error { 10754 l := len(dAtA) 10755 iNdEx := 0 10756 for iNdEx < l { 10757 preIndex := iNdEx 10758 var wire uint64 10759 for shift := uint(0); ; shift += 7 { 10760 if shift >= 64 { 10761 return ErrIntOverflowTypes 10762 } 10763 if iNdEx >= l { 10764 return io.ErrUnexpectedEOF 10765 } 10766 b := dAtA[iNdEx] 10767 iNdEx++ 10768 wire |= uint64(b&0x7F) << shift 10769 if b < 0x80 { 10770 break 10771 } 10772 } 10773 fieldNum := int32(wire >> 3) 10774 wireType := int(wire & 0x7) 10775 if wireType == 4 { 10776 return fmt.Errorf("proto: RepProtoTypes: wiretype end group for non-group") 10777 } 10778 if fieldNum <= 0 { 10779 return fmt.Errorf("proto: RepProtoTypes: illegal tag %d (wire type %d)", fieldNum, wire) 10780 } 10781 switch fieldNum { 10782 case 1: 10783 if wireType != 2 { 10784 return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamps", wireType) 10785 } 10786 var msglen int 10787 for shift := uint(0); ; shift += 7 { 10788 if shift >= 64 { 10789 return ErrIntOverflowTypes 10790 } 10791 if iNdEx >= l { 10792 return io.ErrUnexpectedEOF 10793 } 10794 b := dAtA[iNdEx] 10795 iNdEx++ 10796 msglen |= int(b&0x7F) << shift 10797 if b < 0x80 { 10798 break 10799 } 10800 } 10801 if msglen < 0 { 10802 return ErrInvalidLengthTypes 10803 } 10804 postIndex := iNdEx + msglen 10805 if postIndex < 0 { 10806 return ErrInvalidLengthTypes 10807 } 10808 if postIndex > l { 10809 return io.ErrUnexpectedEOF 10810 } 10811 m.NullableTimestamps = append(m.NullableTimestamps, &types.Timestamp{}) 10812 if err := m.NullableTimestamps[len(m.NullableTimestamps)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10813 return err 10814 } 10815 iNdEx = postIndex 10816 case 2: 10817 if wireType != 2 { 10818 return fmt.Errorf("proto: wrong wireType = %d for field NullableDurations", wireType) 10819 } 10820 var msglen int 10821 for shift := uint(0); ; shift += 7 { 10822 if shift >= 64 { 10823 return ErrIntOverflowTypes 10824 } 10825 if iNdEx >= l { 10826 return io.ErrUnexpectedEOF 10827 } 10828 b := dAtA[iNdEx] 10829 iNdEx++ 10830 msglen |= int(b&0x7F) << shift 10831 if b < 0x80 { 10832 break 10833 } 10834 } 10835 if msglen < 0 { 10836 return ErrInvalidLengthTypes 10837 } 10838 postIndex := iNdEx + msglen 10839 if postIndex < 0 { 10840 return ErrInvalidLengthTypes 10841 } 10842 if postIndex > l { 10843 return io.ErrUnexpectedEOF 10844 } 10845 m.NullableDurations = append(m.NullableDurations, &types.Duration{}) 10846 if err := m.NullableDurations[len(m.NullableDurations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10847 return err 10848 } 10849 iNdEx = postIndex 10850 case 3: 10851 if wireType != 2 { 10852 return fmt.Errorf("proto: wrong wireType = %d for field Timestamps", wireType) 10853 } 10854 var msglen int 10855 for shift := uint(0); ; shift += 7 { 10856 if shift >= 64 { 10857 return ErrIntOverflowTypes 10858 } 10859 if iNdEx >= l { 10860 return io.ErrUnexpectedEOF 10861 } 10862 b := dAtA[iNdEx] 10863 iNdEx++ 10864 msglen |= int(b&0x7F) << shift 10865 if b < 0x80 { 10866 break 10867 } 10868 } 10869 if msglen < 0 { 10870 return ErrInvalidLengthTypes 10871 } 10872 postIndex := iNdEx + msglen 10873 if postIndex < 0 { 10874 return ErrInvalidLengthTypes 10875 } 10876 if postIndex > l { 10877 return io.ErrUnexpectedEOF 10878 } 10879 m.Timestamps = append(m.Timestamps, types.Timestamp{}) 10880 if err := m.Timestamps[len(m.Timestamps)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10881 return err 10882 } 10883 iNdEx = postIndex 10884 case 4: 10885 if wireType != 2 { 10886 return fmt.Errorf("proto: wrong wireType = %d for field Durations", wireType) 10887 } 10888 var msglen int 10889 for shift := uint(0); ; shift += 7 { 10890 if shift >= 64 { 10891 return ErrIntOverflowTypes 10892 } 10893 if iNdEx >= l { 10894 return io.ErrUnexpectedEOF 10895 } 10896 b := dAtA[iNdEx] 10897 iNdEx++ 10898 msglen |= int(b&0x7F) << shift 10899 if b < 0x80 { 10900 break 10901 } 10902 } 10903 if msglen < 0 { 10904 return ErrInvalidLengthTypes 10905 } 10906 postIndex := iNdEx + msglen 10907 if postIndex < 0 { 10908 return ErrInvalidLengthTypes 10909 } 10910 if postIndex > l { 10911 return io.ErrUnexpectedEOF 10912 } 10913 m.Durations = append(m.Durations, types.Duration{}) 10914 if err := m.Durations[len(m.Durations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10915 return err 10916 } 10917 iNdEx = postIndex 10918 case 5: 10919 if wireType != 2 { 10920 return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) 10921 } 10922 var msglen int 10923 for shift := uint(0); ; shift += 7 { 10924 if shift >= 64 { 10925 return ErrIntOverflowTypes 10926 } 10927 if iNdEx >= l { 10928 return io.ErrUnexpectedEOF 10929 } 10930 b := dAtA[iNdEx] 10931 iNdEx++ 10932 msglen |= int(b&0x7F) << shift 10933 if b < 0x80 { 10934 break 10935 } 10936 } 10937 if msglen < 0 { 10938 return ErrInvalidLengthTypes 10939 } 10940 postIndex := iNdEx + msglen 10941 if postIndex < 0 { 10942 return ErrInvalidLengthTypes 10943 } 10944 if postIndex > l { 10945 return io.ErrUnexpectedEOF 10946 } 10947 m.NullableDouble = append(m.NullableDouble, &types.DoubleValue{}) 10948 if err := m.NullableDouble[len(m.NullableDouble)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10949 return err 10950 } 10951 iNdEx = postIndex 10952 case 6: 10953 if wireType != 2 { 10954 return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) 10955 } 10956 var msglen int 10957 for shift := uint(0); ; shift += 7 { 10958 if shift >= 64 { 10959 return ErrIntOverflowTypes 10960 } 10961 if iNdEx >= l { 10962 return io.ErrUnexpectedEOF 10963 } 10964 b := dAtA[iNdEx] 10965 iNdEx++ 10966 msglen |= int(b&0x7F) << shift 10967 if b < 0x80 { 10968 break 10969 } 10970 } 10971 if msglen < 0 { 10972 return ErrInvalidLengthTypes 10973 } 10974 postIndex := iNdEx + msglen 10975 if postIndex < 0 { 10976 return ErrInvalidLengthTypes 10977 } 10978 if postIndex > l { 10979 return io.ErrUnexpectedEOF 10980 } 10981 m.NonnullDouble = append(m.NonnullDouble, types.DoubleValue{}) 10982 if err := m.NonnullDouble[len(m.NonnullDouble)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10983 return err 10984 } 10985 iNdEx = postIndex 10986 case 7: 10987 if wireType != 2 { 10988 return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) 10989 } 10990 var msglen int 10991 for shift := uint(0); ; shift += 7 { 10992 if shift >= 64 { 10993 return ErrIntOverflowTypes 10994 } 10995 if iNdEx >= l { 10996 return io.ErrUnexpectedEOF 10997 } 10998 b := dAtA[iNdEx] 10999 iNdEx++ 11000 msglen |= int(b&0x7F) << shift 11001 if b < 0x80 { 11002 break 11003 } 11004 } 11005 if msglen < 0 { 11006 return ErrInvalidLengthTypes 11007 } 11008 postIndex := iNdEx + msglen 11009 if postIndex < 0 { 11010 return ErrInvalidLengthTypes 11011 } 11012 if postIndex > l { 11013 return io.ErrUnexpectedEOF 11014 } 11015 m.NullableFloat = append(m.NullableFloat, &types.FloatValue{}) 11016 if err := m.NullableFloat[len(m.NullableFloat)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11017 return err 11018 } 11019 iNdEx = postIndex 11020 case 8: 11021 if wireType != 2 { 11022 return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) 11023 } 11024 var msglen int 11025 for shift := uint(0); ; shift += 7 { 11026 if shift >= 64 { 11027 return ErrIntOverflowTypes 11028 } 11029 if iNdEx >= l { 11030 return io.ErrUnexpectedEOF 11031 } 11032 b := dAtA[iNdEx] 11033 iNdEx++ 11034 msglen |= int(b&0x7F) << shift 11035 if b < 0x80 { 11036 break 11037 } 11038 } 11039 if msglen < 0 { 11040 return ErrInvalidLengthTypes 11041 } 11042 postIndex := iNdEx + msglen 11043 if postIndex < 0 { 11044 return ErrInvalidLengthTypes 11045 } 11046 if postIndex > l { 11047 return io.ErrUnexpectedEOF 11048 } 11049 m.NonnullFloat = append(m.NonnullFloat, types.FloatValue{}) 11050 if err := m.NonnullFloat[len(m.NonnullFloat)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11051 return err 11052 } 11053 iNdEx = postIndex 11054 case 9: 11055 if wireType != 2 { 11056 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) 11057 } 11058 var msglen int 11059 for shift := uint(0); ; shift += 7 { 11060 if shift >= 64 { 11061 return ErrIntOverflowTypes 11062 } 11063 if iNdEx >= l { 11064 return io.ErrUnexpectedEOF 11065 } 11066 b := dAtA[iNdEx] 11067 iNdEx++ 11068 msglen |= int(b&0x7F) << shift 11069 if b < 0x80 { 11070 break 11071 } 11072 } 11073 if msglen < 0 { 11074 return ErrInvalidLengthTypes 11075 } 11076 postIndex := iNdEx + msglen 11077 if postIndex < 0 { 11078 return ErrInvalidLengthTypes 11079 } 11080 if postIndex > l { 11081 return io.ErrUnexpectedEOF 11082 } 11083 m.NullableInt64 = append(m.NullableInt64, &types.Int64Value{}) 11084 if err := m.NullableInt64[len(m.NullableInt64)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11085 return err 11086 } 11087 iNdEx = postIndex 11088 case 10: 11089 if wireType != 2 { 11090 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) 11091 } 11092 var msglen int 11093 for shift := uint(0); ; shift += 7 { 11094 if shift >= 64 { 11095 return ErrIntOverflowTypes 11096 } 11097 if iNdEx >= l { 11098 return io.ErrUnexpectedEOF 11099 } 11100 b := dAtA[iNdEx] 11101 iNdEx++ 11102 msglen |= int(b&0x7F) << shift 11103 if b < 0x80 { 11104 break 11105 } 11106 } 11107 if msglen < 0 { 11108 return ErrInvalidLengthTypes 11109 } 11110 postIndex := iNdEx + msglen 11111 if postIndex < 0 { 11112 return ErrInvalidLengthTypes 11113 } 11114 if postIndex > l { 11115 return io.ErrUnexpectedEOF 11116 } 11117 m.NonnullInt64 = append(m.NonnullInt64, types.Int64Value{}) 11118 if err := m.NonnullInt64[len(m.NonnullInt64)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11119 return err 11120 } 11121 iNdEx = postIndex 11122 case 11: 11123 if wireType != 2 { 11124 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) 11125 } 11126 var msglen int 11127 for shift := uint(0); ; shift += 7 { 11128 if shift >= 64 { 11129 return ErrIntOverflowTypes 11130 } 11131 if iNdEx >= l { 11132 return io.ErrUnexpectedEOF 11133 } 11134 b := dAtA[iNdEx] 11135 iNdEx++ 11136 msglen |= int(b&0x7F) << shift 11137 if b < 0x80 { 11138 break 11139 } 11140 } 11141 if msglen < 0 { 11142 return ErrInvalidLengthTypes 11143 } 11144 postIndex := iNdEx + msglen 11145 if postIndex < 0 { 11146 return ErrInvalidLengthTypes 11147 } 11148 if postIndex > l { 11149 return io.ErrUnexpectedEOF 11150 } 11151 m.NullableUInt64 = append(m.NullableUInt64, &types.UInt64Value{}) 11152 if err := m.NullableUInt64[len(m.NullableUInt64)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11153 return err 11154 } 11155 iNdEx = postIndex 11156 case 12: 11157 if wireType != 2 { 11158 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) 11159 } 11160 var msglen int 11161 for shift := uint(0); ; shift += 7 { 11162 if shift >= 64 { 11163 return ErrIntOverflowTypes 11164 } 11165 if iNdEx >= l { 11166 return io.ErrUnexpectedEOF 11167 } 11168 b := dAtA[iNdEx] 11169 iNdEx++ 11170 msglen |= int(b&0x7F) << shift 11171 if b < 0x80 { 11172 break 11173 } 11174 } 11175 if msglen < 0 { 11176 return ErrInvalidLengthTypes 11177 } 11178 postIndex := iNdEx + msglen 11179 if postIndex < 0 { 11180 return ErrInvalidLengthTypes 11181 } 11182 if postIndex > l { 11183 return io.ErrUnexpectedEOF 11184 } 11185 m.NonnullUInt64 = append(m.NonnullUInt64, types.UInt64Value{}) 11186 if err := m.NonnullUInt64[len(m.NonnullUInt64)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11187 return err 11188 } 11189 iNdEx = postIndex 11190 case 13: 11191 if wireType != 2 { 11192 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) 11193 } 11194 var msglen int 11195 for shift := uint(0); ; shift += 7 { 11196 if shift >= 64 { 11197 return ErrIntOverflowTypes 11198 } 11199 if iNdEx >= l { 11200 return io.ErrUnexpectedEOF 11201 } 11202 b := dAtA[iNdEx] 11203 iNdEx++ 11204 msglen |= int(b&0x7F) << shift 11205 if b < 0x80 { 11206 break 11207 } 11208 } 11209 if msglen < 0 { 11210 return ErrInvalidLengthTypes 11211 } 11212 postIndex := iNdEx + msglen 11213 if postIndex < 0 { 11214 return ErrInvalidLengthTypes 11215 } 11216 if postIndex > l { 11217 return io.ErrUnexpectedEOF 11218 } 11219 m.NullableInt32 = append(m.NullableInt32, &types.Int32Value{}) 11220 if err := m.NullableInt32[len(m.NullableInt32)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11221 return err 11222 } 11223 iNdEx = postIndex 11224 case 14: 11225 if wireType != 2 { 11226 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) 11227 } 11228 var msglen int 11229 for shift := uint(0); ; shift += 7 { 11230 if shift >= 64 { 11231 return ErrIntOverflowTypes 11232 } 11233 if iNdEx >= l { 11234 return io.ErrUnexpectedEOF 11235 } 11236 b := dAtA[iNdEx] 11237 iNdEx++ 11238 msglen |= int(b&0x7F) << shift 11239 if b < 0x80 { 11240 break 11241 } 11242 } 11243 if msglen < 0 { 11244 return ErrInvalidLengthTypes 11245 } 11246 postIndex := iNdEx + msglen 11247 if postIndex < 0 { 11248 return ErrInvalidLengthTypes 11249 } 11250 if postIndex > l { 11251 return io.ErrUnexpectedEOF 11252 } 11253 m.NonnullInt32 = append(m.NonnullInt32, types.Int32Value{}) 11254 if err := m.NonnullInt32[len(m.NonnullInt32)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11255 return err 11256 } 11257 iNdEx = postIndex 11258 case 15: 11259 if wireType != 2 { 11260 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) 11261 } 11262 var msglen int 11263 for shift := uint(0); ; shift += 7 { 11264 if shift >= 64 { 11265 return ErrIntOverflowTypes 11266 } 11267 if iNdEx >= l { 11268 return io.ErrUnexpectedEOF 11269 } 11270 b := dAtA[iNdEx] 11271 iNdEx++ 11272 msglen |= int(b&0x7F) << shift 11273 if b < 0x80 { 11274 break 11275 } 11276 } 11277 if msglen < 0 { 11278 return ErrInvalidLengthTypes 11279 } 11280 postIndex := iNdEx + msglen 11281 if postIndex < 0 { 11282 return ErrInvalidLengthTypes 11283 } 11284 if postIndex > l { 11285 return io.ErrUnexpectedEOF 11286 } 11287 m.NullableUInt32 = append(m.NullableUInt32, &types.UInt32Value{}) 11288 if err := m.NullableUInt32[len(m.NullableUInt32)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11289 return err 11290 } 11291 iNdEx = postIndex 11292 case 16: 11293 if wireType != 2 { 11294 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) 11295 } 11296 var msglen int 11297 for shift := uint(0); ; shift += 7 { 11298 if shift >= 64 { 11299 return ErrIntOverflowTypes 11300 } 11301 if iNdEx >= l { 11302 return io.ErrUnexpectedEOF 11303 } 11304 b := dAtA[iNdEx] 11305 iNdEx++ 11306 msglen |= int(b&0x7F) << shift 11307 if b < 0x80 { 11308 break 11309 } 11310 } 11311 if msglen < 0 { 11312 return ErrInvalidLengthTypes 11313 } 11314 postIndex := iNdEx + msglen 11315 if postIndex < 0 { 11316 return ErrInvalidLengthTypes 11317 } 11318 if postIndex > l { 11319 return io.ErrUnexpectedEOF 11320 } 11321 m.NonnullUInt32 = append(m.NonnullUInt32, types.UInt32Value{}) 11322 if err := m.NonnullUInt32[len(m.NonnullUInt32)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11323 return err 11324 } 11325 iNdEx = postIndex 11326 case 17: 11327 if wireType != 2 { 11328 return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) 11329 } 11330 var msglen int 11331 for shift := uint(0); ; shift += 7 { 11332 if shift >= 64 { 11333 return ErrIntOverflowTypes 11334 } 11335 if iNdEx >= l { 11336 return io.ErrUnexpectedEOF 11337 } 11338 b := dAtA[iNdEx] 11339 iNdEx++ 11340 msglen |= int(b&0x7F) << shift 11341 if b < 0x80 { 11342 break 11343 } 11344 } 11345 if msglen < 0 { 11346 return ErrInvalidLengthTypes 11347 } 11348 postIndex := iNdEx + msglen 11349 if postIndex < 0 { 11350 return ErrInvalidLengthTypes 11351 } 11352 if postIndex > l { 11353 return io.ErrUnexpectedEOF 11354 } 11355 m.NullableBool = append(m.NullableBool, &types.BoolValue{}) 11356 if err := m.NullableBool[len(m.NullableBool)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11357 return err 11358 } 11359 iNdEx = postIndex 11360 case 18: 11361 if wireType != 2 { 11362 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) 11363 } 11364 var msglen int 11365 for shift := uint(0); ; shift += 7 { 11366 if shift >= 64 { 11367 return ErrIntOverflowTypes 11368 } 11369 if iNdEx >= l { 11370 return io.ErrUnexpectedEOF 11371 } 11372 b := dAtA[iNdEx] 11373 iNdEx++ 11374 msglen |= int(b&0x7F) << shift 11375 if b < 0x80 { 11376 break 11377 } 11378 } 11379 if msglen < 0 { 11380 return ErrInvalidLengthTypes 11381 } 11382 postIndex := iNdEx + msglen 11383 if postIndex < 0 { 11384 return ErrInvalidLengthTypes 11385 } 11386 if postIndex > l { 11387 return io.ErrUnexpectedEOF 11388 } 11389 m.NonnullBool = append(m.NonnullBool, types.BoolValue{}) 11390 if err := m.NonnullBool[len(m.NonnullBool)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11391 return err 11392 } 11393 iNdEx = postIndex 11394 case 19: 11395 if wireType != 2 { 11396 return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) 11397 } 11398 var msglen int 11399 for shift := uint(0); ; shift += 7 { 11400 if shift >= 64 { 11401 return ErrIntOverflowTypes 11402 } 11403 if iNdEx >= l { 11404 return io.ErrUnexpectedEOF 11405 } 11406 b := dAtA[iNdEx] 11407 iNdEx++ 11408 msglen |= int(b&0x7F) << shift 11409 if b < 0x80 { 11410 break 11411 } 11412 } 11413 if msglen < 0 { 11414 return ErrInvalidLengthTypes 11415 } 11416 postIndex := iNdEx + msglen 11417 if postIndex < 0 { 11418 return ErrInvalidLengthTypes 11419 } 11420 if postIndex > l { 11421 return io.ErrUnexpectedEOF 11422 } 11423 m.NullableString = append(m.NullableString, &types.StringValue{}) 11424 if err := m.NullableString[len(m.NullableString)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11425 return err 11426 } 11427 iNdEx = postIndex 11428 case 20: 11429 if wireType != 2 { 11430 return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) 11431 } 11432 var msglen int 11433 for shift := uint(0); ; shift += 7 { 11434 if shift >= 64 { 11435 return ErrIntOverflowTypes 11436 } 11437 if iNdEx >= l { 11438 return io.ErrUnexpectedEOF 11439 } 11440 b := dAtA[iNdEx] 11441 iNdEx++ 11442 msglen |= int(b&0x7F) << shift 11443 if b < 0x80 { 11444 break 11445 } 11446 } 11447 if msglen < 0 { 11448 return ErrInvalidLengthTypes 11449 } 11450 postIndex := iNdEx + msglen 11451 if postIndex < 0 { 11452 return ErrInvalidLengthTypes 11453 } 11454 if postIndex > l { 11455 return io.ErrUnexpectedEOF 11456 } 11457 m.NonnullString = append(m.NonnullString, types.StringValue{}) 11458 if err := m.NonnullString[len(m.NonnullString)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11459 return err 11460 } 11461 iNdEx = postIndex 11462 case 21: 11463 if wireType != 2 { 11464 return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) 11465 } 11466 var msglen int 11467 for shift := uint(0); ; shift += 7 { 11468 if shift >= 64 { 11469 return ErrIntOverflowTypes 11470 } 11471 if iNdEx >= l { 11472 return io.ErrUnexpectedEOF 11473 } 11474 b := dAtA[iNdEx] 11475 iNdEx++ 11476 msglen |= int(b&0x7F) << shift 11477 if b < 0x80 { 11478 break 11479 } 11480 } 11481 if msglen < 0 { 11482 return ErrInvalidLengthTypes 11483 } 11484 postIndex := iNdEx + msglen 11485 if postIndex < 0 { 11486 return ErrInvalidLengthTypes 11487 } 11488 if postIndex > l { 11489 return io.ErrUnexpectedEOF 11490 } 11491 m.NullableBytes = append(m.NullableBytes, &types.BytesValue{}) 11492 if err := m.NullableBytes[len(m.NullableBytes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11493 return err 11494 } 11495 iNdEx = postIndex 11496 case 22: 11497 if wireType != 2 { 11498 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) 11499 } 11500 var msglen int 11501 for shift := uint(0); ; shift += 7 { 11502 if shift >= 64 { 11503 return ErrIntOverflowTypes 11504 } 11505 if iNdEx >= l { 11506 return io.ErrUnexpectedEOF 11507 } 11508 b := dAtA[iNdEx] 11509 iNdEx++ 11510 msglen |= int(b&0x7F) << shift 11511 if b < 0x80 { 11512 break 11513 } 11514 } 11515 if msglen < 0 { 11516 return ErrInvalidLengthTypes 11517 } 11518 postIndex := iNdEx + msglen 11519 if postIndex < 0 { 11520 return ErrInvalidLengthTypes 11521 } 11522 if postIndex > l { 11523 return io.ErrUnexpectedEOF 11524 } 11525 m.NonnullBytes = append(m.NonnullBytes, types.BytesValue{}) 11526 if err := m.NonnullBytes[len(m.NonnullBytes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11527 return err 11528 } 11529 iNdEx = postIndex 11530 default: 11531 iNdEx = preIndex 11532 skippy, err := skipTypes(dAtA[iNdEx:]) 11533 if err != nil { 11534 return err 11535 } 11536 if (skippy < 0) || (iNdEx+skippy) < 0 { 11537 return ErrInvalidLengthTypes 11538 } 11539 if (iNdEx + skippy) > l { 11540 return io.ErrUnexpectedEOF 11541 } 11542 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 11543 iNdEx += skippy 11544 } 11545 } 11546 11547 if iNdEx > l { 11548 return io.ErrUnexpectedEOF 11549 } 11550 return nil 11551 } 11552 func (m *RepStdTypes) Unmarshal(dAtA []byte) error { 11553 l := len(dAtA) 11554 iNdEx := 0 11555 for iNdEx < l { 11556 preIndex := iNdEx 11557 var wire uint64 11558 for shift := uint(0); ; shift += 7 { 11559 if shift >= 64 { 11560 return ErrIntOverflowTypes 11561 } 11562 if iNdEx >= l { 11563 return io.ErrUnexpectedEOF 11564 } 11565 b := dAtA[iNdEx] 11566 iNdEx++ 11567 wire |= uint64(b&0x7F) << shift 11568 if b < 0x80 { 11569 break 11570 } 11571 } 11572 fieldNum := int32(wire >> 3) 11573 wireType := int(wire & 0x7) 11574 if wireType == 4 { 11575 return fmt.Errorf("proto: RepStdTypes: wiretype end group for non-group") 11576 } 11577 if fieldNum <= 0 { 11578 return fmt.Errorf("proto: RepStdTypes: illegal tag %d (wire type %d)", fieldNum, wire) 11579 } 11580 switch fieldNum { 11581 case 1: 11582 if wireType != 2 { 11583 return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamps", wireType) 11584 } 11585 var msglen int 11586 for shift := uint(0); ; shift += 7 { 11587 if shift >= 64 { 11588 return ErrIntOverflowTypes 11589 } 11590 if iNdEx >= l { 11591 return io.ErrUnexpectedEOF 11592 } 11593 b := dAtA[iNdEx] 11594 iNdEx++ 11595 msglen |= int(b&0x7F) << shift 11596 if b < 0x80 { 11597 break 11598 } 11599 } 11600 if msglen < 0 { 11601 return ErrInvalidLengthTypes 11602 } 11603 postIndex := iNdEx + msglen 11604 if postIndex < 0 { 11605 return ErrInvalidLengthTypes 11606 } 11607 if postIndex > l { 11608 return io.ErrUnexpectedEOF 11609 } 11610 m.NullableTimestamps = append(m.NullableTimestamps, new(time.Time)) 11611 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.NullableTimestamps[len(m.NullableTimestamps)-1], dAtA[iNdEx:postIndex]); err != nil { 11612 return err 11613 } 11614 iNdEx = postIndex 11615 case 2: 11616 if wireType != 2 { 11617 return fmt.Errorf("proto: wrong wireType = %d for field NullableDurations", wireType) 11618 } 11619 var msglen int 11620 for shift := uint(0); ; shift += 7 { 11621 if shift >= 64 { 11622 return ErrIntOverflowTypes 11623 } 11624 if iNdEx >= l { 11625 return io.ErrUnexpectedEOF 11626 } 11627 b := dAtA[iNdEx] 11628 iNdEx++ 11629 msglen |= int(b&0x7F) << shift 11630 if b < 0x80 { 11631 break 11632 } 11633 } 11634 if msglen < 0 { 11635 return ErrInvalidLengthTypes 11636 } 11637 postIndex := iNdEx + msglen 11638 if postIndex < 0 { 11639 return ErrInvalidLengthTypes 11640 } 11641 if postIndex > l { 11642 return io.ErrUnexpectedEOF 11643 } 11644 m.NullableDurations = append(m.NullableDurations, new(time.Duration)) 11645 if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.NullableDurations[len(m.NullableDurations)-1], dAtA[iNdEx:postIndex]); err != nil { 11646 return err 11647 } 11648 iNdEx = postIndex 11649 case 3: 11650 if wireType != 2 { 11651 return fmt.Errorf("proto: wrong wireType = %d for field Timestamps", wireType) 11652 } 11653 var msglen int 11654 for shift := uint(0); ; shift += 7 { 11655 if shift >= 64 { 11656 return ErrIntOverflowTypes 11657 } 11658 if iNdEx >= l { 11659 return io.ErrUnexpectedEOF 11660 } 11661 b := dAtA[iNdEx] 11662 iNdEx++ 11663 msglen |= int(b&0x7F) << shift 11664 if b < 0x80 { 11665 break 11666 } 11667 } 11668 if msglen < 0 { 11669 return ErrInvalidLengthTypes 11670 } 11671 postIndex := iNdEx + msglen 11672 if postIndex < 0 { 11673 return ErrInvalidLengthTypes 11674 } 11675 if postIndex > l { 11676 return io.ErrUnexpectedEOF 11677 } 11678 m.Timestamps = append(m.Timestamps, time.Time{}) 11679 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&(m.Timestamps[len(m.Timestamps)-1]), dAtA[iNdEx:postIndex]); err != nil { 11680 return err 11681 } 11682 iNdEx = postIndex 11683 case 4: 11684 if wireType != 2 { 11685 return fmt.Errorf("proto: wrong wireType = %d for field Durations", wireType) 11686 } 11687 var msglen int 11688 for shift := uint(0); ; shift += 7 { 11689 if shift >= 64 { 11690 return ErrIntOverflowTypes 11691 } 11692 if iNdEx >= l { 11693 return io.ErrUnexpectedEOF 11694 } 11695 b := dAtA[iNdEx] 11696 iNdEx++ 11697 msglen |= int(b&0x7F) << shift 11698 if b < 0x80 { 11699 break 11700 } 11701 } 11702 if msglen < 0 { 11703 return ErrInvalidLengthTypes 11704 } 11705 postIndex := iNdEx + msglen 11706 if postIndex < 0 { 11707 return ErrInvalidLengthTypes 11708 } 11709 if postIndex > l { 11710 return io.ErrUnexpectedEOF 11711 } 11712 m.Durations = append(m.Durations, time.Duration(0)) 11713 if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&(m.Durations[len(m.Durations)-1]), dAtA[iNdEx:postIndex]); err != nil { 11714 return err 11715 } 11716 iNdEx = postIndex 11717 case 5: 11718 if wireType != 2 { 11719 return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) 11720 } 11721 var msglen int 11722 for shift := uint(0); ; shift += 7 { 11723 if shift >= 64 { 11724 return ErrIntOverflowTypes 11725 } 11726 if iNdEx >= l { 11727 return io.ErrUnexpectedEOF 11728 } 11729 b := dAtA[iNdEx] 11730 iNdEx++ 11731 msglen |= int(b&0x7F) << shift 11732 if b < 0x80 { 11733 break 11734 } 11735 } 11736 if msglen < 0 { 11737 return ErrInvalidLengthTypes 11738 } 11739 postIndex := iNdEx + msglen 11740 if postIndex < 0 { 11741 return ErrInvalidLengthTypes 11742 } 11743 if postIndex > l { 11744 return io.ErrUnexpectedEOF 11745 } 11746 m.NullableDouble = append(m.NullableDouble, new(float64)) 11747 if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(m.NullableDouble[len(m.NullableDouble)-1], dAtA[iNdEx:postIndex]); err != nil { 11748 return err 11749 } 11750 iNdEx = postIndex 11751 case 6: 11752 if wireType != 2 { 11753 return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) 11754 } 11755 var msglen int 11756 for shift := uint(0); ; shift += 7 { 11757 if shift >= 64 { 11758 return ErrIntOverflowTypes 11759 } 11760 if iNdEx >= l { 11761 return io.ErrUnexpectedEOF 11762 } 11763 b := dAtA[iNdEx] 11764 iNdEx++ 11765 msglen |= int(b&0x7F) << shift 11766 if b < 0x80 { 11767 break 11768 } 11769 } 11770 if msglen < 0 { 11771 return ErrInvalidLengthTypes 11772 } 11773 postIndex := iNdEx + msglen 11774 if postIndex < 0 { 11775 return ErrInvalidLengthTypes 11776 } 11777 if postIndex > l { 11778 return io.ErrUnexpectedEOF 11779 } 11780 m.NonnullDouble = append(m.NonnullDouble, 0) 11781 if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(&(m.NonnullDouble[len(m.NonnullDouble)-1]), dAtA[iNdEx:postIndex]); err != nil { 11782 return err 11783 } 11784 iNdEx = postIndex 11785 case 7: 11786 if wireType != 2 { 11787 return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) 11788 } 11789 var msglen int 11790 for shift := uint(0); ; shift += 7 { 11791 if shift >= 64 { 11792 return ErrIntOverflowTypes 11793 } 11794 if iNdEx >= l { 11795 return io.ErrUnexpectedEOF 11796 } 11797 b := dAtA[iNdEx] 11798 iNdEx++ 11799 msglen |= int(b&0x7F) << shift 11800 if b < 0x80 { 11801 break 11802 } 11803 } 11804 if msglen < 0 { 11805 return ErrInvalidLengthTypes 11806 } 11807 postIndex := iNdEx + msglen 11808 if postIndex < 0 { 11809 return ErrInvalidLengthTypes 11810 } 11811 if postIndex > l { 11812 return io.ErrUnexpectedEOF 11813 } 11814 m.NullableFloat = append(m.NullableFloat, new(float32)) 11815 if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(m.NullableFloat[len(m.NullableFloat)-1], dAtA[iNdEx:postIndex]); err != nil { 11816 return err 11817 } 11818 iNdEx = postIndex 11819 case 8: 11820 if wireType != 2 { 11821 return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) 11822 } 11823 var msglen int 11824 for shift := uint(0); ; shift += 7 { 11825 if shift >= 64 { 11826 return ErrIntOverflowTypes 11827 } 11828 if iNdEx >= l { 11829 return io.ErrUnexpectedEOF 11830 } 11831 b := dAtA[iNdEx] 11832 iNdEx++ 11833 msglen |= int(b&0x7F) << shift 11834 if b < 0x80 { 11835 break 11836 } 11837 } 11838 if msglen < 0 { 11839 return ErrInvalidLengthTypes 11840 } 11841 postIndex := iNdEx + msglen 11842 if postIndex < 0 { 11843 return ErrInvalidLengthTypes 11844 } 11845 if postIndex > l { 11846 return io.ErrUnexpectedEOF 11847 } 11848 m.NonnullFloat = append(m.NonnullFloat, 0) 11849 if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(&(m.NonnullFloat[len(m.NonnullFloat)-1]), dAtA[iNdEx:postIndex]); err != nil { 11850 return err 11851 } 11852 iNdEx = postIndex 11853 case 9: 11854 if wireType != 2 { 11855 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) 11856 } 11857 var msglen int 11858 for shift := uint(0); ; shift += 7 { 11859 if shift >= 64 { 11860 return ErrIntOverflowTypes 11861 } 11862 if iNdEx >= l { 11863 return io.ErrUnexpectedEOF 11864 } 11865 b := dAtA[iNdEx] 11866 iNdEx++ 11867 msglen |= int(b&0x7F) << shift 11868 if b < 0x80 { 11869 break 11870 } 11871 } 11872 if msglen < 0 { 11873 return ErrInvalidLengthTypes 11874 } 11875 postIndex := iNdEx + msglen 11876 if postIndex < 0 { 11877 return ErrInvalidLengthTypes 11878 } 11879 if postIndex > l { 11880 return io.ErrUnexpectedEOF 11881 } 11882 m.NullableInt64 = append(m.NullableInt64, new(int64)) 11883 if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(m.NullableInt64[len(m.NullableInt64)-1], dAtA[iNdEx:postIndex]); err != nil { 11884 return err 11885 } 11886 iNdEx = postIndex 11887 case 10: 11888 if wireType != 2 { 11889 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) 11890 } 11891 var msglen int 11892 for shift := uint(0); ; shift += 7 { 11893 if shift >= 64 { 11894 return ErrIntOverflowTypes 11895 } 11896 if iNdEx >= l { 11897 return io.ErrUnexpectedEOF 11898 } 11899 b := dAtA[iNdEx] 11900 iNdEx++ 11901 msglen |= int(b&0x7F) << shift 11902 if b < 0x80 { 11903 break 11904 } 11905 } 11906 if msglen < 0 { 11907 return ErrInvalidLengthTypes 11908 } 11909 postIndex := iNdEx + msglen 11910 if postIndex < 0 { 11911 return ErrInvalidLengthTypes 11912 } 11913 if postIndex > l { 11914 return io.ErrUnexpectedEOF 11915 } 11916 m.NonnullInt64 = append(m.NonnullInt64, 0) 11917 if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(&(m.NonnullInt64[len(m.NonnullInt64)-1]), dAtA[iNdEx:postIndex]); err != nil { 11918 return err 11919 } 11920 iNdEx = postIndex 11921 case 11: 11922 if wireType != 2 { 11923 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) 11924 } 11925 var msglen int 11926 for shift := uint(0); ; shift += 7 { 11927 if shift >= 64 { 11928 return ErrIntOverflowTypes 11929 } 11930 if iNdEx >= l { 11931 return io.ErrUnexpectedEOF 11932 } 11933 b := dAtA[iNdEx] 11934 iNdEx++ 11935 msglen |= int(b&0x7F) << shift 11936 if b < 0x80 { 11937 break 11938 } 11939 } 11940 if msglen < 0 { 11941 return ErrInvalidLengthTypes 11942 } 11943 postIndex := iNdEx + msglen 11944 if postIndex < 0 { 11945 return ErrInvalidLengthTypes 11946 } 11947 if postIndex > l { 11948 return io.ErrUnexpectedEOF 11949 } 11950 m.NullableUInt64 = append(m.NullableUInt64, new(uint64)) 11951 if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(m.NullableUInt64[len(m.NullableUInt64)-1], dAtA[iNdEx:postIndex]); err != nil { 11952 return err 11953 } 11954 iNdEx = postIndex 11955 case 12: 11956 if wireType != 2 { 11957 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) 11958 } 11959 var msglen int 11960 for shift := uint(0); ; shift += 7 { 11961 if shift >= 64 { 11962 return ErrIntOverflowTypes 11963 } 11964 if iNdEx >= l { 11965 return io.ErrUnexpectedEOF 11966 } 11967 b := dAtA[iNdEx] 11968 iNdEx++ 11969 msglen |= int(b&0x7F) << shift 11970 if b < 0x80 { 11971 break 11972 } 11973 } 11974 if msglen < 0 { 11975 return ErrInvalidLengthTypes 11976 } 11977 postIndex := iNdEx + msglen 11978 if postIndex < 0 { 11979 return ErrInvalidLengthTypes 11980 } 11981 if postIndex > l { 11982 return io.ErrUnexpectedEOF 11983 } 11984 m.NonnullUInt64 = append(m.NonnullUInt64, 0) 11985 if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(&(m.NonnullUInt64[len(m.NonnullUInt64)-1]), dAtA[iNdEx:postIndex]); err != nil { 11986 return err 11987 } 11988 iNdEx = postIndex 11989 case 13: 11990 if wireType != 2 { 11991 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) 11992 } 11993 var msglen int 11994 for shift := uint(0); ; shift += 7 { 11995 if shift >= 64 { 11996 return ErrIntOverflowTypes 11997 } 11998 if iNdEx >= l { 11999 return io.ErrUnexpectedEOF 12000 } 12001 b := dAtA[iNdEx] 12002 iNdEx++ 12003 msglen |= int(b&0x7F) << shift 12004 if b < 0x80 { 12005 break 12006 } 12007 } 12008 if msglen < 0 { 12009 return ErrInvalidLengthTypes 12010 } 12011 postIndex := iNdEx + msglen 12012 if postIndex < 0 { 12013 return ErrInvalidLengthTypes 12014 } 12015 if postIndex > l { 12016 return io.ErrUnexpectedEOF 12017 } 12018 m.NullableInt32 = append(m.NullableInt32, new(int32)) 12019 if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(m.NullableInt32[len(m.NullableInt32)-1], dAtA[iNdEx:postIndex]); err != nil { 12020 return err 12021 } 12022 iNdEx = postIndex 12023 case 14: 12024 if wireType != 2 { 12025 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) 12026 } 12027 var msglen int 12028 for shift := uint(0); ; shift += 7 { 12029 if shift >= 64 { 12030 return ErrIntOverflowTypes 12031 } 12032 if iNdEx >= l { 12033 return io.ErrUnexpectedEOF 12034 } 12035 b := dAtA[iNdEx] 12036 iNdEx++ 12037 msglen |= int(b&0x7F) << shift 12038 if b < 0x80 { 12039 break 12040 } 12041 } 12042 if msglen < 0 { 12043 return ErrInvalidLengthTypes 12044 } 12045 postIndex := iNdEx + msglen 12046 if postIndex < 0 { 12047 return ErrInvalidLengthTypes 12048 } 12049 if postIndex > l { 12050 return io.ErrUnexpectedEOF 12051 } 12052 m.NonnullInt32 = append(m.NonnullInt32, 0) 12053 if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(&(m.NonnullInt32[len(m.NonnullInt32)-1]), dAtA[iNdEx:postIndex]); err != nil { 12054 return err 12055 } 12056 iNdEx = postIndex 12057 case 15: 12058 if wireType != 2 { 12059 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) 12060 } 12061 var msglen int 12062 for shift := uint(0); ; shift += 7 { 12063 if shift >= 64 { 12064 return ErrIntOverflowTypes 12065 } 12066 if iNdEx >= l { 12067 return io.ErrUnexpectedEOF 12068 } 12069 b := dAtA[iNdEx] 12070 iNdEx++ 12071 msglen |= int(b&0x7F) << shift 12072 if b < 0x80 { 12073 break 12074 } 12075 } 12076 if msglen < 0 { 12077 return ErrInvalidLengthTypes 12078 } 12079 postIndex := iNdEx + msglen 12080 if postIndex < 0 { 12081 return ErrInvalidLengthTypes 12082 } 12083 if postIndex > l { 12084 return io.ErrUnexpectedEOF 12085 } 12086 m.NullableUInt32 = append(m.NullableUInt32, new(uint32)) 12087 if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(m.NullableUInt32[len(m.NullableUInt32)-1], dAtA[iNdEx:postIndex]); err != nil { 12088 return err 12089 } 12090 iNdEx = postIndex 12091 case 16: 12092 if wireType != 2 { 12093 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) 12094 } 12095 var msglen int 12096 for shift := uint(0); ; shift += 7 { 12097 if shift >= 64 { 12098 return ErrIntOverflowTypes 12099 } 12100 if iNdEx >= l { 12101 return io.ErrUnexpectedEOF 12102 } 12103 b := dAtA[iNdEx] 12104 iNdEx++ 12105 msglen |= int(b&0x7F) << shift 12106 if b < 0x80 { 12107 break 12108 } 12109 } 12110 if msglen < 0 { 12111 return ErrInvalidLengthTypes 12112 } 12113 postIndex := iNdEx + msglen 12114 if postIndex < 0 { 12115 return ErrInvalidLengthTypes 12116 } 12117 if postIndex > l { 12118 return io.ErrUnexpectedEOF 12119 } 12120 m.NonnullUInt32 = append(m.NonnullUInt32, 0) 12121 if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(&(m.NonnullUInt32[len(m.NonnullUInt32)-1]), dAtA[iNdEx:postIndex]); err != nil { 12122 return err 12123 } 12124 iNdEx = postIndex 12125 case 17: 12126 if wireType != 2 { 12127 return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) 12128 } 12129 var msglen int 12130 for shift := uint(0); ; shift += 7 { 12131 if shift >= 64 { 12132 return ErrIntOverflowTypes 12133 } 12134 if iNdEx >= l { 12135 return io.ErrUnexpectedEOF 12136 } 12137 b := dAtA[iNdEx] 12138 iNdEx++ 12139 msglen |= int(b&0x7F) << shift 12140 if b < 0x80 { 12141 break 12142 } 12143 } 12144 if msglen < 0 { 12145 return ErrInvalidLengthTypes 12146 } 12147 postIndex := iNdEx + msglen 12148 if postIndex < 0 { 12149 return ErrInvalidLengthTypes 12150 } 12151 if postIndex > l { 12152 return io.ErrUnexpectedEOF 12153 } 12154 m.NullableBool = append(m.NullableBool, new(bool)) 12155 if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(m.NullableBool[len(m.NullableBool)-1], dAtA[iNdEx:postIndex]); err != nil { 12156 return err 12157 } 12158 iNdEx = postIndex 12159 case 18: 12160 if wireType != 2 { 12161 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) 12162 } 12163 var msglen int 12164 for shift := uint(0); ; shift += 7 { 12165 if shift >= 64 { 12166 return ErrIntOverflowTypes 12167 } 12168 if iNdEx >= l { 12169 return io.ErrUnexpectedEOF 12170 } 12171 b := dAtA[iNdEx] 12172 iNdEx++ 12173 msglen |= int(b&0x7F) << shift 12174 if b < 0x80 { 12175 break 12176 } 12177 } 12178 if msglen < 0 { 12179 return ErrInvalidLengthTypes 12180 } 12181 postIndex := iNdEx + msglen 12182 if postIndex < 0 { 12183 return ErrInvalidLengthTypes 12184 } 12185 if postIndex > l { 12186 return io.ErrUnexpectedEOF 12187 } 12188 m.NonnullBool = append(m.NonnullBool, false) 12189 if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(&(m.NonnullBool[len(m.NonnullBool)-1]), dAtA[iNdEx:postIndex]); err != nil { 12190 return err 12191 } 12192 iNdEx = postIndex 12193 case 19: 12194 if wireType != 2 { 12195 return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) 12196 } 12197 var msglen int 12198 for shift := uint(0); ; shift += 7 { 12199 if shift >= 64 { 12200 return ErrIntOverflowTypes 12201 } 12202 if iNdEx >= l { 12203 return io.ErrUnexpectedEOF 12204 } 12205 b := dAtA[iNdEx] 12206 iNdEx++ 12207 msglen |= int(b&0x7F) << shift 12208 if b < 0x80 { 12209 break 12210 } 12211 } 12212 if msglen < 0 { 12213 return ErrInvalidLengthTypes 12214 } 12215 postIndex := iNdEx + msglen 12216 if postIndex < 0 { 12217 return ErrInvalidLengthTypes 12218 } 12219 if postIndex > l { 12220 return io.ErrUnexpectedEOF 12221 } 12222 m.NullableString = append(m.NullableString, new(string)) 12223 if err := github_com_gogo_protobuf_types.StdStringUnmarshal(m.NullableString[len(m.NullableString)-1], dAtA[iNdEx:postIndex]); err != nil { 12224 return err 12225 } 12226 iNdEx = postIndex 12227 case 20: 12228 if wireType != 2 { 12229 return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) 12230 } 12231 var msglen int 12232 for shift := uint(0); ; shift += 7 { 12233 if shift >= 64 { 12234 return ErrIntOverflowTypes 12235 } 12236 if iNdEx >= l { 12237 return io.ErrUnexpectedEOF 12238 } 12239 b := dAtA[iNdEx] 12240 iNdEx++ 12241 msglen |= int(b&0x7F) << shift 12242 if b < 0x80 { 12243 break 12244 } 12245 } 12246 if msglen < 0 { 12247 return ErrInvalidLengthTypes 12248 } 12249 postIndex := iNdEx + msglen 12250 if postIndex < 0 { 12251 return ErrInvalidLengthTypes 12252 } 12253 if postIndex > l { 12254 return io.ErrUnexpectedEOF 12255 } 12256 m.NonnullString = append(m.NonnullString, "") 12257 if err := github_com_gogo_protobuf_types.StdStringUnmarshal(&(m.NonnullString[len(m.NonnullString)-1]), dAtA[iNdEx:postIndex]); err != nil { 12258 return err 12259 } 12260 iNdEx = postIndex 12261 case 21: 12262 if wireType != 2 { 12263 return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) 12264 } 12265 var msglen int 12266 for shift := uint(0); ; shift += 7 { 12267 if shift >= 64 { 12268 return ErrIntOverflowTypes 12269 } 12270 if iNdEx >= l { 12271 return io.ErrUnexpectedEOF 12272 } 12273 b := dAtA[iNdEx] 12274 iNdEx++ 12275 msglen |= int(b&0x7F) << shift 12276 if b < 0x80 { 12277 break 12278 } 12279 } 12280 if msglen < 0 { 12281 return ErrInvalidLengthTypes 12282 } 12283 postIndex := iNdEx + msglen 12284 if postIndex < 0 { 12285 return ErrInvalidLengthTypes 12286 } 12287 if postIndex > l { 12288 return io.ErrUnexpectedEOF 12289 } 12290 m.NullableBytes = append(m.NullableBytes, new([]byte)) 12291 if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(m.NullableBytes[len(m.NullableBytes)-1], dAtA[iNdEx:postIndex]); err != nil { 12292 return err 12293 } 12294 iNdEx = postIndex 12295 case 22: 12296 if wireType != 2 { 12297 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) 12298 } 12299 var msglen int 12300 for shift := uint(0); ; shift += 7 { 12301 if shift >= 64 { 12302 return ErrIntOverflowTypes 12303 } 12304 if iNdEx >= l { 12305 return io.ErrUnexpectedEOF 12306 } 12307 b := dAtA[iNdEx] 12308 iNdEx++ 12309 msglen |= int(b&0x7F) << shift 12310 if b < 0x80 { 12311 break 12312 } 12313 } 12314 if msglen < 0 { 12315 return ErrInvalidLengthTypes 12316 } 12317 postIndex := iNdEx + msglen 12318 if postIndex < 0 { 12319 return ErrInvalidLengthTypes 12320 } 12321 if postIndex > l { 12322 return io.ErrUnexpectedEOF 12323 } 12324 m.NonnullBytes = append(m.NonnullBytes, []byte{}) 12325 if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(&(m.NonnullBytes[len(m.NonnullBytes)-1]), dAtA[iNdEx:postIndex]); err != nil { 12326 return err 12327 } 12328 iNdEx = postIndex 12329 default: 12330 iNdEx = preIndex 12331 skippy, err := skipTypes(dAtA[iNdEx:]) 12332 if err != nil { 12333 return err 12334 } 12335 if (skippy < 0) || (iNdEx+skippy) < 0 { 12336 return ErrInvalidLengthTypes 12337 } 12338 if (iNdEx + skippy) > l { 12339 return io.ErrUnexpectedEOF 12340 } 12341 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 12342 iNdEx += skippy 12343 } 12344 } 12345 12346 if iNdEx > l { 12347 return io.ErrUnexpectedEOF 12348 } 12349 return nil 12350 } 12351 func (m *MapProtoTypes) Unmarshal(dAtA []byte) error { 12352 l := len(dAtA) 12353 iNdEx := 0 12354 for iNdEx < l { 12355 preIndex := iNdEx 12356 var wire uint64 12357 for shift := uint(0); ; shift += 7 { 12358 if shift >= 64 { 12359 return ErrIntOverflowTypes 12360 } 12361 if iNdEx >= l { 12362 return io.ErrUnexpectedEOF 12363 } 12364 b := dAtA[iNdEx] 12365 iNdEx++ 12366 wire |= uint64(b&0x7F) << shift 12367 if b < 0x80 { 12368 break 12369 } 12370 } 12371 fieldNum := int32(wire >> 3) 12372 wireType := int(wire & 0x7) 12373 if wireType == 4 { 12374 return fmt.Errorf("proto: MapProtoTypes: wiretype end group for non-group") 12375 } 12376 if fieldNum <= 0 { 12377 return fmt.Errorf("proto: MapProtoTypes: illegal tag %d (wire type %d)", fieldNum, wire) 12378 } 12379 switch fieldNum { 12380 case 1: 12381 if wireType != 2 { 12382 return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamp", wireType) 12383 } 12384 var msglen int 12385 for shift := uint(0); ; shift += 7 { 12386 if shift >= 64 { 12387 return ErrIntOverflowTypes 12388 } 12389 if iNdEx >= l { 12390 return io.ErrUnexpectedEOF 12391 } 12392 b := dAtA[iNdEx] 12393 iNdEx++ 12394 msglen |= int(b&0x7F) << shift 12395 if b < 0x80 { 12396 break 12397 } 12398 } 12399 if msglen < 0 { 12400 return ErrInvalidLengthTypes 12401 } 12402 postIndex := iNdEx + msglen 12403 if postIndex < 0 { 12404 return ErrInvalidLengthTypes 12405 } 12406 if postIndex > l { 12407 return io.ErrUnexpectedEOF 12408 } 12409 if m.NullableTimestamp == nil { 12410 m.NullableTimestamp = make(map[int32]*types.Timestamp) 12411 } 12412 var mapkey int32 12413 var mapvalue *types.Timestamp 12414 for iNdEx < postIndex { 12415 entryPreIndex := iNdEx 12416 var wire uint64 12417 for shift := uint(0); ; shift += 7 { 12418 if shift >= 64 { 12419 return ErrIntOverflowTypes 12420 } 12421 if iNdEx >= l { 12422 return io.ErrUnexpectedEOF 12423 } 12424 b := dAtA[iNdEx] 12425 iNdEx++ 12426 wire |= uint64(b&0x7F) << shift 12427 if b < 0x80 { 12428 break 12429 } 12430 } 12431 fieldNum := int32(wire >> 3) 12432 if fieldNum == 1 { 12433 for shift := uint(0); ; shift += 7 { 12434 if shift >= 64 { 12435 return ErrIntOverflowTypes 12436 } 12437 if iNdEx >= l { 12438 return io.ErrUnexpectedEOF 12439 } 12440 b := dAtA[iNdEx] 12441 iNdEx++ 12442 mapkey |= int32(b&0x7F) << shift 12443 if b < 0x80 { 12444 break 12445 } 12446 } 12447 } else if fieldNum == 2 { 12448 var mapmsglen int 12449 for shift := uint(0); ; shift += 7 { 12450 if shift >= 64 { 12451 return ErrIntOverflowTypes 12452 } 12453 if iNdEx >= l { 12454 return io.ErrUnexpectedEOF 12455 } 12456 b := dAtA[iNdEx] 12457 iNdEx++ 12458 mapmsglen |= int(b&0x7F) << shift 12459 if b < 0x80 { 12460 break 12461 } 12462 } 12463 if mapmsglen < 0 { 12464 return ErrInvalidLengthTypes 12465 } 12466 postmsgIndex := iNdEx + mapmsglen 12467 if postmsgIndex < 0 { 12468 return ErrInvalidLengthTypes 12469 } 12470 if postmsgIndex > l { 12471 return io.ErrUnexpectedEOF 12472 } 12473 mapvalue = &types.Timestamp{} 12474 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 12475 return err 12476 } 12477 iNdEx = postmsgIndex 12478 } else { 12479 iNdEx = entryPreIndex 12480 skippy, err := skipTypes(dAtA[iNdEx:]) 12481 if err != nil { 12482 return err 12483 } 12484 if (skippy < 0) || (iNdEx+skippy) < 0 { 12485 return ErrInvalidLengthTypes 12486 } 12487 if (iNdEx + skippy) > postIndex { 12488 return io.ErrUnexpectedEOF 12489 } 12490 iNdEx += skippy 12491 } 12492 } 12493 m.NullableTimestamp[mapkey] = mapvalue 12494 iNdEx = postIndex 12495 case 2: 12496 if wireType != 2 { 12497 return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) 12498 } 12499 var msglen int 12500 for shift := uint(0); ; shift += 7 { 12501 if shift >= 64 { 12502 return ErrIntOverflowTypes 12503 } 12504 if iNdEx >= l { 12505 return io.ErrUnexpectedEOF 12506 } 12507 b := dAtA[iNdEx] 12508 iNdEx++ 12509 msglen |= int(b&0x7F) << shift 12510 if b < 0x80 { 12511 break 12512 } 12513 } 12514 if msglen < 0 { 12515 return ErrInvalidLengthTypes 12516 } 12517 postIndex := iNdEx + msglen 12518 if postIndex < 0 { 12519 return ErrInvalidLengthTypes 12520 } 12521 if postIndex > l { 12522 return io.ErrUnexpectedEOF 12523 } 12524 if m.Timestamp == nil { 12525 m.Timestamp = make(map[int32]types.Timestamp) 12526 } 12527 var mapkey int32 12528 mapvalue := &types.Timestamp{} 12529 for iNdEx < postIndex { 12530 entryPreIndex := iNdEx 12531 var wire uint64 12532 for shift := uint(0); ; shift += 7 { 12533 if shift >= 64 { 12534 return ErrIntOverflowTypes 12535 } 12536 if iNdEx >= l { 12537 return io.ErrUnexpectedEOF 12538 } 12539 b := dAtA[iNdEx] 12540 iNdEx++ 12541 wire |= uint64(b&0x7F) << shift 12542 if b < 0x80 { 12543 break 12544 } 12545 } 12546 fieldNum := int32(wire >> 3) 12547 if fieldNum == 1 { 12548 for shift := uint(0); ; shift += 7 { 12549 if shift >= 64 { 12550 return ErrIntOverflowTypes 12551 } 12552 if iNdEx >= l { 12553 return io.ErrUnexpectedEOF 12554 } 12555 b := dAtA[iNdEx] 12556 iNdEx++ 12557 mapkey |= int32(b&0x7F) << shift 12558 if b < 0x80 { 12559 break 12560 } 12561 } 12562 } else if fieldNum == 2 { 12563 var mapmsglen int 12564 for shift := uint(0); ; shift += 7 { 12565 if shift >= 64 { 12566 return ErrIntOverflowTypes 12567 } 12568 if iNdEx >= l { 12569 return io.ErrUnexpectedEOF 12570 } 12571 b := dAtA[iNdEx] 12572 iNdEx++ 12573 mapmsglen |= int(b&0x7F) << shift 12574 if b < 0x80 { 12575 break 12576 } 12577 } 12578 if mapmsglen < 0 { 12579 return ErrInvalidLengthTypes 12580 } 12581 postmsgIndex := iNdEx + mapmsglen 12582 if postmsgIndex < 0 { 12583 return ErrInvalidLengthTypes 12584 } 12585 if postmsgIndex > l { 12586 return io.ErrUnexpectedEOF 12587 } 12588 mapvalue = &types.Timestamp{} 12589 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 12590 return err 12591 } 12592 iNdEx = postmsgIndex 12593 } else { 12594 iNdEx = entryPreIndex 12595 skippy, err := skipTypes(dAtA[iNdEx:]) 12596 if err != nil { 12597 return err 12598 } 12599 if (skippy < 0) || (iNdEx+skippy) < 0 { 12600 return ErrInvalidLengthTypes 12601 } 12602 if (iNdEx + skippy) > postIndex { 12603 return io.ErrUnexpectedEOF 12604 } 12605 iNdEx += skippy 12606 } 12607 } 12608 m.Timestamp[mapkey] = *mapvalue 12609 iNdEx = postIndex 12610 case 3: 12611 if wireType != 2 { 12612 return fmt.Errorf("proto: wrong wireType = %d for field NullableDuration", wireType) 12613 } 12614 var msglen int 12615 for shift := uint(0); ; shift += 7 { 12616 if shift >= 64 { 12617 return ErrIntOverflowTypes 12618 } 12619 if iNdEx >= l { 12620 return io.ErrUnexpectedEOF 12621 } 12622 b := dAtA[iNdEx] 12623 iNdEx++ 12624 msglen |= int(b&0x7F) << shift 12625 if b < 0x80 { 12626 break 12627 } 12628 } 12629 if msglen < 0 { 12630 return ErrInvalidLengthTypes 12631 } 12632 postIndex := iNdEx + msglen 12633 if postIndex < 0 { 12634 return ErrInvalidLengthTypes 12635 } 12636 if postIndex > l { 12637 return io.ErrUnexpectedEOF 12638 } 12639 if m.NullableDuration == nil { 12640 m.NullableDuration = make(map[int32]*types.Duration) 12641 } 12642 var mapkey int32 12643 var mapvalue *types.Duration 12644 for iNdEx < postIndex { 12645 entryPreIndex := iNdEx 12646 var wire uint64 12647 for shift := uint(0); ; shift += 7 { 12648 if shift >= 64 { 12649 return ErrIntOverflowTypes 12650 } 12651 if iNdEx >= l { 12652 return io.ErrUnexpectedEOF 12653 } 12654 b := dAtA[iNdEx] 12655 iNdEx++ 12656 wire |= uint64(b&0x7F) << shift 12657 if b < 0x80 { 12658 break 12659 } 12660 } 12661 fieldNum := int32(wire >> 3) 12662 if fieldNum == 1 { 12663 for shift := uint(0); ; shift += 7 { 12664 if shift >= 64 { 12665 return ErrIntOverflowTypes 12666 } 12667 if iNdEx >= l { 12668 return io.ErrUnexpectedEOF 12669 } 12670 b := dAtA[iNdEx] 12671 iNdEx++ 12672 mapkey |= int32(b&0x7F) << shift 12673 if b < 0x80 { 12674 break 12675 } 12676 } 12677 } else if fieldNum == 2 { 12678 var mapmsglen int 12679 for shift := uint(0); ; shift += 7 { 12680 if shift >= 64 { 12681 return ErrIntOverflowTypes 12682 } 12683 if iNdEx >= l { 12684 return io.ErrUnexpectedEOF 12685 } 12686 b := dAtA[iNdEx] 12687 iNdEx++ 12688 mapmsglen |= int(b&0x7F) << shift 12689 if b < 0x80 { 12690 break 12691 } 12692 } 12693 if mapmsglen < 0 { 12694 return ErrInvalidLengthTypes 12695 } 12696 postmsgIndex := iNdEx + mapmsglen 12697 if postmsgIndex < 0 { 12698 return ErrInvalidLengthTypes 12699 } 12700 if postmsgIndex > l { 12701 return io.ErrUnexpectedEOF 12702 } 12703 mapvalue = &types.Duration{} 12704 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 12705 return err 12706 } 12707 iNdEx = postmsgIndex 12708 } else { 12709 iNdEx = entryPreIndex 12710 skippy, err := skipTypes(dAtA[iNdEx:]) 12711 if err != nil { 12712 return err 12713 } 12714 if (skippy < 0) || (iNdEx+skippy) < 0 { 12715 return ErrInvalidLengthTypes 12716 } 12717 if (iNdEx + skippy) > postIndex { 12718 return io.ErrUnexpectedEOF 12719 } 12720 iNdEx += skippy 12721 } 12722 } 12723 m.NullableDuration[mapkey] = mapvalue 12724 iNdEx = postIndex 12725 case 4: 12726 if wireType != 2 { 12727 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 12728 } 12729 var msglen int 12730 for shift := uint(0); ; shift += 7 { 12731 if shift >= 64 { 12732 return ErrIntOverflowTypes 12733 } 12734 if iNdEx >= l { 12735 return io.ErrUnexpectedEOF 12736 } 12737 b := dAtA[iNdEx] 12738 iNdEx++ 12739 msglen |= int(b&0x7F) << shift 12740 if b < 0x80 { 12741 break 12742 } 12743 } 12744 if msglen < 0 { 12745 return ErrInvalidLengthTypes 12746 } 12747 postIndex := iNdEx + msglen 12748 if postIndex < 0 { 12749 return ErrInvalidLengthTypes 12750 } 12751 if postIndex > l { 12752 return io.ErrUnexpectedEOF 12753 } 12754 if m.Duration == nil { 12755 m.Duration = make(map[int32]types.Duration) 12756 } 12757 var mapkey int32 12758 mapvalue := &types.Duration{} 12759 for iNdEx < postIndex { 12760 entryPreIndex := iNdEx 12761 var wire uint64 12762 for shift := uint(0); ; shift += 7 { 12763 if shift >= 64 { 12764 return ErrIntOverflowTypes 12765 } 12766 if iNdEx >= l { 12767 return io.ErrUnexpectedEOF 12768 } 12769 b := dAtA[iNdEx] 12770 iNdEx++ 12771 wire |= uint64(b&0x7F) << shift 12772 if b < 0x80 { 12773 break 12774 } 12775 } 12776 fieldNum := int32(wire >> 3) 12777 if fieldNum == 1 { 12778 for shift := uint(0); ; shift += 7 { 12779 if shift >= 64 { 12780 return ErrIntOverflowTypes 12781 } 12782 if iNdEx >= l { 12783 return io.ErrUnexpectedEOF 12784 } 12785 b := dAtA[iNdEx] 12786 iNdEx++ 12787 mapkey |= int32(b&0x7F) << shift 12788 if b < 0x80 { 12789 break 12790 } 12791 } 12792 } else if fieldNum == 2 { 12793 var mapmsglen int 12794 for shift := uint(0); ; shift += 7 { 12795 if shift >= 64 { 12796 return ErrIntOverflowTypes 12797 } 12798 if iNdEx >= l { 12799 return io.ErrUnexpectedEOF 12800 } 12801 b := dAtA[iNdEx] 12802 iNdEx++ 12803 mapmsglen |= int(b&0x7F) << shift 12804 if b < 0x80 { 12805 break 12806 } 12807 } 12808 if mapmsglen < 0 { 12809 return ErrInvalidLengthTypes 12810 } 12811 postmsgIndex := iNdEx + mapmsglen 12812 if postmsgIndex < 0 { 12813 return ErrInvalidLengthTypes 12814 } 12815 if postmsgIndex > l { 12816 return io.ErrUnexpectedEOF 12817 } 12818 mapvalue = &types.Duration{} 12819 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 12820 return err 12821 } 12822 iNdEx = postmsgIndex 12823 } else { 12824 iNdEx = entryPreIndex 12825 skippy, err := skipTypes(dAtA[iNdEx:]) 12826 if err != nil { 12827 return err 12828 } 12829 if (skippy < 0) || (iNdEx+skippy) < 0 { 12830 return ErrInvalidLengthTypes 12831 } 12832 if (iNdEx + skippy) > postIndex { 12833 return io.ErrUnexpectedEOF 12834 } 12835 iNdEx += skippy 12836 } 12837 } 12838 m.Duration[mapkey] = *mapvalue 12839 iNdEx = postIndex 12840 case 5: 12841 if wireType != 2 { 12842 return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) 12843 } 12844 var msglen int 12845 for shift := uint(0); ; shift += 7 { 12846 if shift >= 64 { 12847 return ErrIntOverflowTypes 12848 } 12849 if iNdEx >= l { 12850 return io.ErrUnexpectedEOF 12851 } 12852 b := dAtA[iNdEx] 12853 iNdEx++ 12854 msglen |= int(b&0x7F) << shift 12855 if b < 0x80 { 12856 break 12857 } 12858 } 12859 if msglen < 0 { 12860 return ErrInvalidLengthTypes 12861 } 12862 postIndex := iNdEx + msglen 12863 if postIndex < 0 { 12864 return ErrInvalidLengthTypes 12865 } 12866 if postIndex > l { 12867 return io.ErrUnexpectedEOF 12868 } 12869 if m.NullableDouble == nil { 12870 m.NullableDouble = make(map[int32]*types.DoubleValue) 12871 } 12872 var mapkey int32 12873 var mapvalue *types.DoubleValue 12874 for iNdEx < postIndex { 12875 entryPreIndex := iNdEx 12876 var wire uint64 12877 for shift := uint(0); ; shift += 7 { 12878 if shift >= 64 { 12879 return ErrIntOverflowTypes 12880 } 12881 if iNdEx >= l { 12882 return io.ErrUnexpectedEOF 12883 } 12884 b := dAtA[iNdEx] 12885 iNdEx++ 12886 wire |= uint64(b&0x7F) << shift 12887 if b < 0x80 { 12888 break 12889 } 12890 } 12891 fieldNum := int32(wire >> 3) 12892 if fieldNum == 1 { 12893 for shift := uint(0); ; shift += 7 { 12894 if shift >= 64 { 12895 return ErrIntOverflowTypes 12896 } 12897 if iNdEx >= l { 12898 return io.ErrUnexpectedEOF 12899 } 12900 b := dAtA[iNdEx] 12901 iNdEx++ 12902 mapkey |= int32(b&0x7F) << shift 12903 if b < 0x80 { 12904 break 12905 } 12906 } 12907 } else if fieldNum == 2 { 12908 var mapmsglen int 12909 for shift := uint(0); ; shift += 7 { 12910 if shift >= 64 { 12911 return ErrIntOverflowTypes 12912 } 12913 if iNdEx >= l { 12914 return io.ErrUnexpectedEOF 12915 } 12916 b := dAtA[iNdEx] 12917 iNdEx++ 12918 mapmsglen |= int(b&0x7F) << shift 12919 if b < 0x80 { 12920 break 12921 } 12922 } 12923 if mapmsglen < 0 { 12924 return ErrInvalidLengthTypes 12925 } 12926 postmsgIndex := iNdEx + mapmsglen 12927 if postmsgIndex < 0 { 12928 return ErrInvalidLengthTypes 12929 } 12930 if postmsgIndex > l { 12931 return io.ErrUnexpectedEOF 12932 } 12933 mapvalue = &types.DoubleValue{} 12934 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 12935 return err 12936 } 12937 iNdEx = postmsgIndex 12938 } else { 12939 iNdEx = entryPreIndex 12940 skippy, err := skipTypes(dAtA[iNdEx:]) 12941 if err != nil { 12942 return err 12943 } 12944 if (skippy < 0) || (iNdEx+skippy) < 0 { 12945 return ErrInvalidLengthTypes 12946 } 12947 if (iNdEx + skippy) > postIndex { 12948 return io.ErrUnexpectedEOF 12949 } 12950 iNdEx += skippy 12951 } 12952 } 12953 m.NullableDouble[mapkey] = mapvalue 12954 iNdEx = postIndex 12955 case 6: 12956 if wireType != 2 { 12957 return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) 12958 } 12959 var msglen int 12960 for shift := uint(0); ; shift += 7 { 12961 if shift >= 64 { 12962 return ErrIntOverflowTypes 12963 } 12964 if iNdEx >= l { 12965 return io.ErrUnexpectedEOF 12966 } 12967 b := dAtA[iNdEx] 12968 iNdEx++ 12969 msglen |= int(b&0x7F) << shift 12970 if b < 0x80 { 12971 break 12972 } 12973 } 12974 if msglen < 0 { 12975 return ErrInvalidLengthTypes 12976 } 12977 postIndex := iNdEx + msglen 12978 if postIndex < 0 { 12979 return ErrInvalidLengthTypes 12980 } 12981 if postIndex > l { 12982 return io.ErrUnexpectedEOF 12983 } 12984 if m.NonnullDouble == nil { 12985 m.NonnullDouble = make(map[int32]types.DoubleValue) 12986 } 12987 var mapkey int32 12988 mapvalue := &types.DoubleValue{} 12989 for iNdEx < postIndex { 12990 entryPreIndex := iNdEx 12991 var wire uint64 12992 for shift := uint(0); ; shift += 7 { 12993 if shift >= 64 { 12994 return ErrIntOverflowTypes 12995 } 12996 if iNdEx >= l { 12997 return io.ErrUnexpectedEOF 12998 } 12999 b := dAtA[iNdEx] 13000 iNdEx++ 13001 wire |= uint64(b&0x7F) << shift 13002 if b < 0x80 { 13003 break 13004 } 13005 } 13006 fieldNum := int32(wire >> 3) 13007 if fieldNum == 1 { 13008 for shift := uint(0); ; shift += 7 { 13009 if shift >= 64 { 13010 return ErrIntOverflowTypes 13011 } 13012 if iNdEx >= l { 13013 return io.ErrUnexpectedEOF 13014 } 13015 b := dAtA[iNdEx] 13016 iNdEx++ 13017 mapkey |= int32(b&0x7F) << shift 13018 if b < 0x80 { 13019 break 13020 } 13021 } 13022 } else if fieldNum == 2 { 13023 var mapmsglen int 13024 for shift := uint(0); ; shift += 7 { 13025 if shift >= 64 { 13026 return ErrIntOverflowTypes 13027 } 13028 if iNdEx >= l { 13029 return io.ErrUnexpectedEOF 13030 } 13031 b := dAtA[iNdEx] 13032 iNdEx++ 13033 mapmsglen |= int(b&0x7F) << shift 13034 if b < 0x80 { 13035 break 13036 } 13037 } 13038 if mapmsglen < 0 { 13039 return ErrInvalidLengthTypes 13040 } 13041 postmsgIndex := iNdEx + mapmsglen 13042 if postmsgIndex < 0 { 13043 return ErrInvalidLengthTypes 13044 } 13045 if postmsgIndex > l { 13046 return io.ErrUnexpectedEOF 13047 } 13048 mapvalue = &types.DoubleValue{} 13049 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13050 return err 13051 } 13052 iNdEx = postmsgIndex 13053 } else { 13054 iNdEx = entryPreIndex 13055 skippy, err := skipTypes(dAtA[iNdEx:]) 13056 if err != nil { 13057 return err 13058 } 13059 if (skippy < 0) || (iNdEx+skippy) < 0 { 13060 return ErrInvalidLengthTypes 13061 } 13062 if (iNdEx + skippy) > postIndex { 13063 return io.ErrUnexpectedEOF 13064 } 13065 iNdEx += skippy 13066 } 13067 } 13068 m.NonnullDouble[mapkey] = *mapvalue 13069 iNdEx = postIndex 13070 case 7: 13071 if wireType != 2 { 13072 return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) 13073 } 13074 var msglen int 13075 for shift := uint(0); ; shift += 7 { 13076 if shift >= 64 { 13077 return ErrIntOverflowTypes 13078 } 13079 if iNdEx >= l { 13080 return io.ErrUnexpectedEOF 13081 } 13082 b := dAtA[iNdEx] 13083 iNdEx++ 13084 msglen |= int(b&0x7F) << shift 13085 if b < 0x80 { 13086 break 13087 } 13088 } 13089 if msglen < 0 { 13090 return ErrInvalidLengthTypes 13091 } 13092 postIndex := iNdEx + msglen 13093 if postIndex < 0 { 13094 return ErrInvalidLengthTypes 13095 } 13096 if postIndex > l { 13097 return io.ErrUnexpectedEOF 13098 } 13099 if m.NullableFloat == nil { 13100 m.NullableFloat = make(map[int32]*types.FloatValue) 13101 } 13102 var mapkey int32 13103 var mapvalue *types.FloatValue 13104 for iNdEx < postIndex { 13105 entryPreIndex := iNdEx 13106 var wire uint64 13107 for shift := uint(0); ; shift += 7 { 13108 if shift >= 64 { 13109 return ErrIntOverflowTypes 13110 } 13111 if iNdEx >= l { 13112 return io.ErrUnexpectedEOF 13113 } 13114 b := dAtA[iNdEx] 13115 iNdEx++ 13116 wire |= uint64(b&0x7F) << shift 13117 if b < 0x80 { 13118 break 13119 } 13120 } 13121 fieldNum := int32(wire >> 3) 13122 if fieldNum == 1 { 13123 for shift := uint(0); ; shift += 7 { 13124 if shift >= 64 { 13125 return ErrIntOverflowTypes 13126 } 13127 if iNdEx >= l { 13128 return io.ErrUnexpectedEOF 13129 } 13130 b := dAtA[iNdEx] 13131 iNdEx++ 13132 mapkey |= int32(b&0x7F) << shift 13133 if b < 0x80 { 13134 break 13135 } 13136 } 13137 } else if fieldNum == 2 { 13138 var mapmsglen int 13139 for shift := uint(0); ; shift += 7 { 13140 if shift >= 64 { 13141 return ErrIntOverflowTypes 13142 } 13143 if iNdEx >= l { 13144 return io.ErrUnexpectedEOF 13145 } 13146 b := dAtA[iNdEx] 13147 iNdEx++ 13148 mapmsglen |= int(b&0x7F) << shift 13149 if b < 0x80 { 13150 break 13151 } 13152 } 13153 if mapmsglen < 0 { 13154 return ErrInvalidLengthTypes 13155 } 13156 postmsgIndex := iNdEx + mapmsglen 13157 if postmsgIndex < 0 { 13158 return ErrInvalidLengthTypes 13159 } 13160 if postmsgIndex > l { 13161 return io.ErrUnexpectedEOF 13162 } 13163 mapvalue = &types.FloatValue{} 13164 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13165 return err 13166 } 13167 iNdEx = postmsgIndex 13168 } else { 13169 iNdEx = entryPreIndex 13170 skippy, err := skipTypes(dAtA[iNdEx:]) 13171 if err != nil { 13172 return err 13173 } 13174 if (skippy < 0) || (iNdEx+skippy) < 0 { 13175 return ErrInvalidLengthTypes 13176 } 13177 if (iNdEx + skippy) > postIndex { 13178 return io.ErrUnexpectedEOF 13179 } 13180 iNdEx += skippy 13181 } 13182 } 13183 m.NullableFloat[mapkey] = mapvalue 13184 iNdEx = postIndex 13185 case 8: 13186 if wireType != 2 { 13187 return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) 13188 } 13189 var msglen int 13190 for shift := uint(0); ; shift += 7 { 13191 if shift >= 64 { 13192 return ErrIntOverflowTypes 13193 } 13194 if iNdEx >= l { 13195 return io.ErrUnexpectedEOF 13196 } 13197 b := dAtA[iNdEx] 13198 iNdEx++ 13199 msglen |= int(b&0x7F) << shift 13200 if b < 0x80 { 13201 break 13202 } 13203 } 13204 if msglen < 0 { 13205 return ErrInvalidLengthTypes 13206 } 13207 postIndex := iNdEx + msglen 13208 if postIndex < 0 { 13209 return ErrInvalidLengthTypes 13210 } 13211 if postIndex > l { 13212 return io.ErrUnexpectedEOF 13213 } 13214 if m.NonnullFloat == nil { 13215 m.NonnullFloat = make(map[int32]types.FloatValue) 13216 } 13217 var mapkey int32 13218 mapvalue := &types.FloatValue{} 13219 for iNdEx < postIndex { 13220 entryPreIndex := iNdEx 13221 var wire uint64 13222 for shift := uint(0); ; shift += 7 { 13223 if shift >= 64 { 13224 return ErrIntOverflowTypes 13225 } 13226 if iNdEx >= l { 13227 return io.ErrUnexpectedEOF 13228 } 13229 b := dAtA[iNdEx] 13230 iNdEx++ 13231 wire |= uint64(b&0x7F) << shift 13232 if b < 0x80 { 13233 break 13234 } 13235 } 13236 fieldNum := int32(wire >> 3) 13237 if fieldNum == 1 { 13238 for shift := uint(0); ; shift += 7 { 13239 if shift >= 64 { 13240 return ErrIntOverflowTypes 13241 } 13242 if iNdEx >= l { 13243 return io.ErrUnexpectedEOF 13244 } 13245 b := dAtA[iNdEx] 13246 iNdEx++ 13247 mapkey |= int32(b&0x7F) << shift 13248 if b < 0x80 { 13249 break 13250 } 13251 } 13252 } else if fieldNum == 2 { 13253 var mapmsglen int 13254 for shift := uint(0); ; shift += 7 { 13255 if shift >= 64 { 13256 return ErrIntOverflowTypes 13257 } 13258 if iNdEx >= l { 13259 return io.ErrUnexpectedEOF 13260 } 13261 b := dAtA[iNdEx] 13262 iNdEx++ 13263 mapmsglen |= int(b&0x7F) << shift 13264 if b < 0x80 { 13265 break 13266 } 13267 } 13268 if mapmsglen < 0 { 13269 return ErrInvalidLengthTypes 13270 } 13271 postmsgIndex := iNdEx + mapmsglen 13272 if postmsgIndex < 0 { 13273 return ErrInvalidLengthTypes 13274 } 13275 if postmsgIndex > l { 13276 return io.ErrUnexpectedEOF 13277 } 13278 mapvalue = &types.FloatValue{} 13279 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13280 return err 13281 } 13282 iNdEx = postmsgIndex 13283 } else { 13284 iNdEx = entryPreIndex 13285 skippy, err := skipTypes(dAtA[iNdEx:]) 13286 if err != nil { 13287 return err 13288 } 13289 if (skippy < 0) || (iNdEx+skippy) < 0 { 13290 return ErrInvalidLengthTypes 13291 } 13292 if (iNdEx + skippy) > postIndex { 13293 return io.ErrUnexpectedEOF 13294 } 13295 iNdEx += skippy 13296 } 13297 } 13298 m.NonnullFloat[mapkey] = *mapvalue 13299 iNdEx = postIndex 13300 case 9: 13301 if wireType != 2 { 13302 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) 13303 } 13304 var msglen int 13305 for shift := uint(0); ; shift += 7 { 13306 if shift >= 64 { 13307 return ErrIntOverflowTypes 13308 } 13309 if iNdEx >= l { 13310 return io.ErrUnexpectedEOF 13311 } 13312 b := dAtA[iNdEx] 13313 iNdEx++ 13314 msglen |= int(b&0x7F) << shift 13315 if b < 0x80 { 13316 break 13317 } 13318 } 13319 if msglen < 0 { 13320 return ErrInvalidLengthTypes 13321 } 13322 postIndex := iNdEx + msglen 13323 if postIndex < 0 { 13324 return ErrInvalidLengthTypes 13325 } 13326 if postIndex > l { 13327 return io.ErrUnexpectedEOF 13328 } 13329 if m.NullableInt64 == nil { 13330 m.NullableInt64 = make(map[int32]*types.Int64Value) 13331 } 13332 var mapkey int32 13333 var mapvalue *types.Int64Value 13334 for iNdEx < postIndex { 13335 entryPreIndex := iNdEx 13336 var wire uint64 13337 for shift := uint(0); ; shift += 7 { 13338 if shift >= 64 { 13339 return ErrIntOverflowTypes 13340 } 13341 if iNdEx >= l { 13342 return io.ErrUnexpectedEOF 13343 } 13344 b := dAtA[iNdEx] 13345 iNdEx++ 13346 wire |= uint64(b&0x7F) << shift 13347 if b < 0x80 { 13348 break 13349 } 13350 } 13351 fieldNum := int32(wire >> 3) 13352 if fieldNum == 1 { 13353 for shift := uint(0); ; shift += 7 { 13354 if shift >= 64 { 13355 return ErrIntOverflowTypes 13356 } 13357 if iNdEx >= l { 13358 return io.ErrUnexpectedEOF 13359 } 13360 b := dAtA[iNdEx] 13361 iNdEx++ 13362 mapkey |= int32(b&0x7F) << shift 13363 if b < 0x80 { 13364 break 13365 } 13366 } 13367 } else if fieldNum == 2 { 13368 var mapmsglen int 13369 for shift := uint(0); ; shift += 7 { 13370 if shift >= 64 { 13371 return ErrIntOverflowTypes 13372 } 13373 if iNdEx >= l { 13374 return io.ErrUnexpectedEOF 13375 } 13376 b := dAtA[iNdEx] 13377 iNdEx++ 13378 mapmsglen |= int(b&0x7F) << shift 13379 if b < 0x80 { 13380 break 13381 } 13382 } 13383 if mapmsglen < 0 { 13384 return ErrInvalidLengthTypes 13385 } 13386 postmsgIndex := iNdEx + mapmsglen 13387 if postmsgIndex < 0 { 13388 return ErrInvalidLengthTypes 13389 } 13390 if postmsgIndex > l { 13391 return io.ErrUnexpectedEOF 13392 } 13393 mapvalue = &types.Int64Value{} 13394 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13395 return err 13396 } 13397 iNdEx = postmsgIndex 13398 } else { 13399 iNdEx = entryPreIndex 13400 skippy, err := skipTypes(dAtA[iNdEx:]) 13401 if err != nil { 13402 return err 13403 } 13404 if (skippy < 0) || (iNdEx+skippy) < 0 { 13405 return ErrInvalidLengthTypes 13406 } 13407 if (iNdEx + skippy) > postIndex { 13408 return io.ErrUnexpectedEOF 13409 } 13410 iNdEx += skippy 13411 } 13412 } 13413 m.NullableInt64[mapkey] = mapvalue 13414 iNdEx = postIndex 13415 case 10: 13416 if wireType != 2 { 13417 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) 13418 } 13419 var msglen int 13420 for shift := uint(0); ; shift += 7 { 13421 if shift >= 64 { 13422 return ErrIntOverflowTypes 13423 } 13424 if iNdEx >= l { 13425 return io.ErrUnexpectedEOF 13426 } 13427 b := dAtA[iNdEx] 13428 iNdEx++ 13429 msglen |= int(b&0x7F) << shift 13430 if b < 0x80 { 13431 break 13432 } 13433 } 13434 if msglen < 0 { 13435 return ErrInvalidLengthTypes 13436 } 13437 postIndex := iNdEx + msglen 13438 if postIndex < 0 { 13439 return ErrInvalidLengthTypes 13440 } 13441 if postIndex > l { 13442 return io.ErrUnexpectedEOF 13443 } 13444 if m.NonnullInt64 == nil { 13445 m.NonnullInt64 = make(map[int32]types.Int64Value) 13446 } 13447 var mapkey int32 13448 mapvalue := &types.Int64Value{} 13449 for iNdEx < postIndex { 13450 entryPreIndex := iNdEx 13451 var wire uint64 13452 for shift := uint(0); ; shift += 7 { 13453 if shift >= 64 { 13454 return ErrIntOverflowTypes 13455 } 13456 if iNdEx >= l { 13457 return io.ErrUnexpectedEOF 13458 } 13459 b := dAtA[iNdEx] 13460 iNdEx++ 13461 wire |= uint64(b&0x7F) << shift 13462 if b < 0x80 { 13463 break 13464 } 13465 } 13466 fieldNum := int32(wire >> 3) 13467 if fieldNum == 1 { 13468 for shift := uint(0); ; shift += 7 { 13469 if shift >= 64 { 13470 return ErrIntOverflowTypes 13471 } 13472 if iNdEx >= l { 13473 return io.ErrUnexpectedEOF 13474 } 13475 b := dAtA[iNdEx] 13476 iNdEx++ 13477 mapkey |= int32(b&0x7F) << shift 13478 if b < 0x80 { 13479 break 13480 } 13481 } 13482 } else if fieldNum == 2 { 13483 var mapmsglen int 13484 for shift := uint(0); ; shift += 7 { 13485 if shift >= 64 { 13486 return ErrIntOverflowTypes 13487 } 13488 if iNdEx >= l { 13489 return io.ErrUnexpectedEOF 13490 } 13491 b := dAtA[iNdEx] 13492 iNdEx++ 13493 mapmsglen |= int(b&0x7F) << shift 13494 if b < 0x80 { 13495 break 13496 } 13497 } 13498 if mapmsglen < 0 { 13499 return ErrInvalidLengthTypes 13500 } 13501 postmsgIndex := iNdEx + mapmsglen 13502 if postmsgIndex < 0 { 13503 return ErrInvalidLengthTypes 13504 } 13505 if postmsgIndex > l { 13506 return io.ErrUnexpectedEOF 13507 } 13508 mapvalue = &types.Int64Value{} 13509 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13510 return err 13511 } 13512 iNdEx = postmsgIndex 13513 } else { 13514 iNdEx = entryPreIndex 13515 skippy, err := skipTypes(dAtA[iNdEx:]) 13516 if err != nil { 13517 return err 13518 } 13519 if (skippy < 0) || (iNdEx+skippy) < 0 { 13520 return ErrInvalidLengthTypes 13521 } 13522 if (iNdEx + skippy) > postIndex { 13523 return io.ErrUnexpectedEOF 13524 } 13525 iNdEx += skippy 13526 } 13527 } 13528 m.NonnullInt64[mapkey] = *mapvalue 13529 iNdEx = postIndex 13530 case 11: 13531 if wireType != 2 { 13532 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) 13533 } 13534 var msglen int 13535 for shift := uint(0); ; shift += 7 { 13536 if shift >= 64 { 13537 return ErrIntOverflowTypes 13538 } 13539 if iNdEx >= l { 13540 return io.ErrUnexpectedEOF 13541 } 13542 b := dAtA[iNdEx] 13543 iNdEx++ 13544 msglen |= int(b&0x7F) << shift 13545 if b < 0x80 { 13546 break 13547 } 13548 } 13549 if msglen < 0 { 13550 return ErrInvalidLengthTypes 13551 } 13552 postIndex := iNdEx + msglen 13553 if postIndex < 0 { 13554 return ErrInvalidLengthTypes 13555 } 13556 if postIndex > l { 13557 return io.ErrUnexpectedEOF 13558 } 13559 if m.NullableUInt64 == nil { 13560 m.NullableUInt64 = make(map[int32]*types.UInt64Value) 13561 } 13562 var mapkey int32 13563 var mapvalue *types.UInt64Value 13564 for iNdEx < postIndex { 13565 entryPreIndex := iNdEx 13566 var wire uint64 13567 for shift := uint(0); ; shift += 7 { 13568 if shift >= 64 { 13569 return ErrIntOverflowTypes 13570 } 13571 if iNdEx >= l { 13572 return io.ErrUnexpectedEOF 13573 } 13574 b := dAtA[iNdEx] 13575 iNdEx++ 13576 wire |= uint64(b&0x7F) << shift 13577 if b < 0x80 { 13578 break 13579 } 13580 } 13581 fieldNum := int32(wire >> 3) 13582 if fieldNum == 1 { 13583 for shift := uint(0); ; shift += 7 { 13584 if shift >= 64 { 13585 return ErrIntOverflowTypes 13586 } 13587 if iNdEx >= l { 13588 return io.ErrUnexpectedEOF 13589 } 13590 b := dAtA[iNdEx] 13591 iNdEx++ 13592 mapkey |= int32(b&0x7F) << shift 13593 if b < 0x80 { 13594 break 13595 } 13596 } 13597 } else if fieldNum == 2 { 13598 var mapmsglen int 13599 for shift := uint(0); ; shift += 7 { 13600 if shift >= 64 { 13601 return ErrIntOverflowTypes 13602 } 13603 if iNdEx >= l { 13604 return io.ErrUnexpectedEOF 13605 } 13606 b := dAtA[iNdEx] 13607 iNdEx++ 13608 mapmsglen |= int(b&0x7F) << shift 13609 if b < 0x80 { 13610 break 13611 } 13612 } 13613 if mapmsglen < 0 { 13614 return ErrInvalidLengthTypes 13615 } 13616 postmsgIndex := iNdEx + mapmsglen 13617 if postmsgIndex < 0 { 13618 return ErrInvalidLengthTypes 13619 } 13620 if postmsgIndex > l { 13621 return io.ErrUnexpectedEOF 13622 } 13623 mapvalue = &types.UInt64Value{} 13624 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13625 return err 13626 } 13627 iNdEx = postmsgIndex 13628 } else { 13629 iNdEx = entryPreIndex 13630 skippy, err := skipTypes(dAtA[iNdEx:]) 13631 if err != nil { 13632 return err 13633 } 13634 if (skippy < 0) || (iNdEx+skippy) < 0 { 13635 return ErrInvalidLengthTypes 13636 } 13637 if (iNdEx + skippy) > postIndex { 13638 return io.ErrUnexpectedEOF 13639 } 13640 iNdEx += skippy 13641 } 13642 } 13643 m.NullableUInt64[mapkey] = mapvalue 13644 iNdEx = postIndex 13645 case 12: 13646 if wireType != 2 { 13647 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) 13648 } 13649 var msglen int 13650 for shift := uint(0); ; shift += 7 { 13651 if shift >= 64 { 13652 return ErrIntOverflowTypes 13653 } 13654 if iNdEx >= l { 13655 return io.ErrUnexpectedEOF 13656 } 13657 b := dAtA[iNdEx] 13658 iNdEx++ 13659 msglen |= int(b&0x7F) << shift 13660 if b < 0x80 { 13661 break 13662 } 13663 } 13664 if msglen < 0 { 13665 return ErrInvalidLengthTypes 13666 } 13667 postIndex := iNdEx + msglen 13668 if postIndex < 0 { 13669 return ErrInvalidLengthTypes 13670 } 13671 if postIndex > l { 13672 return io.ErrUnexpectedEOF 13673 } 13674 if m.NonnullUInt64 == nil { 13675 m.NonnullUInt64 = make(map[int32]types.UInt64Value) 13676 } 13677 var mapkey int32 13678 mapvalue := &types.UInt64Value{} 13679 for iNdEx < postIndex { 13680 entryPreIndex := iNdEx 13681 var wire uint64 13682 for shift := uint(0); ; shift += 7 { 13683 if shift >= 64 { 13684 return ErrIntOverflowTypes 13685 } 13686 if iNdEx >= l { 13687 return io.ErrUnexpectedEOF 13688 } 13689 b := dAtA[iNdEx] 13690 iNdEx++ 13691 wire |= uint64(b&0x7F) << shift 13692 if b < 0x80 { 13693 break 13694 } 13695 } 13696 fieldNum := int32(wire >> 3) 13697 if fieldNum == 1 { 13698 for shift := uint(0); ; shift += 7 { 13699 if shift >= 64 { 13700 return ErrIntOverflowTypes 13701 } 13702 if iNdEx >= l { 13703 return io.ErrUnexpectedEOF 13704 } 13705 b := dAtA[iNdEx] 13706 iNdEx++ 13707 mapkey |= int32(b&0x7F) << shift 13708 if b < 0x80 { 13709 break 13710 } 13711 } 13712 } else if fieldNum == 2 { 13713 var mapmsglen int 13714 for shift := uint(0); ; shift += 7 { 13715 if shift >= 64 { 13716 return ErrIntOverflowTypes 13717 } 13718 if iNdEx >= l { 13719 return io.ErrUnexpectedEOF 13720 } 13721 b := dAtA[iNdEx] 13722 iNdEx++ 13723 mapmsglen |= int(b&0x7F) << shift 13724 if b < 0x80 { 13725 break 13726 } 13727 } 13728 if mapmsglen < 0 { 13729 return ErrInvalidLengthTypes 13730 } 13731 postmsgIndex := iNdEx + mapmsglen 13732 if postmsgIndex < 0 { 13733 return ErrInvalidLengthTypes 13734 } 13735 if postmsgIndex > l { 13736 return io.ErrUnexpectedEOF 13737 } 13738 mapvalue = &types.UInt64Value{} 13739 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13740 return err 13741 } 13742 iNdEx = postmsgIndex 13743 } else { 13744 iNdEx = entryPreIndex 13745 skippy, err := skipTypes(dAtA[iNdEx:]) 13746 if err != nil { 13747 return err 13748 } 13749 if (skippy < 0) || (iNdEx+skippy) < 0 { 13750 return ErrInvalidLengthTypes 13751 } 13752 if (iNdEx + skippy) > postIndex { 13753 return io.ErrUnexpectedEOF 13754 } 13755 iNdEx += skippy 13756 } 13757 } 13758 m.NonnullUInt64[mapkey] = *mapvalue 13759 iNdEx = postIndex 13760 case 13: 13761 if wireType != 2 { 13762 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) 13763 } 13764 var msglen int 13765 for shift := uint(0); ; shift += 7 { 13766 if shift >= 64 { 13767 return ErrIntOverflowTypes 13768 } 13769 if iNdEx >= l { 13770 return io.ErrUnexpectedEOF 13771 } 13772 b := dAtA[iNdEx] 13773 iNdEx++ 13774 msglen |= int(b&0x7F) << shift 13775 if b < 0x80 { 13776 break 13777 } 13778 } 13779 if msglen < 0 { 13780 return ErrInvalidLengthTypes 13781 } 13782 postIndex := iNdEx + msglen 13783 if postIndex < 0 { 13784 return ErrInvalidLengthTypes 13785 } 13786 if postIndex > l { 13787 return io.ErrUnexpectedEOF 13788 } 13789 if m.NullableInt32 == nil { 13790 m.NullableInt32 = make(map[int32]*types.Int32Value) 13791 } 13792 var mapkey int32 13793 var mapvalue *types.Int32Value 13794 for iNdEx < postIndex { 13795 entryPreIndex := iNdEx 13796 var wire uint64 13797 for shift := uint(0); ; shift += 7 { 13798 if shift >= 64 { 13799 return ErrIntOverflowTypes 13800 } 13801 if iNdEx >= l { 13802 return io.ErrUnexpectedEOF 13803 } 13804 b := dAtA[iNdEx] 13805 iNdEx++ 13806 wire |= uint64(b&0x7F) << shift 13807 if b < 0x80 { 13808 break 13809 } 13810 } 13811 fieldNum := int32(wire >> 3) 13812 if fieldNum == 1 { 13813 for shift := uint(0); ; shift += 7 { 13814 if shift >= 64 { 13815 return ErrIntOverflowTypes 13816 } 13817 if iNdEx >= l { 13818 return io.ErrUnexpectedEOF 13819 } 13820 b := dAtA[iNdEx] 13821 iNdEx++ 13822 mapkey |= int32(b&0x7F) << shift 13823 if b < 0x80 { 13824 break 13825 } 13826 } 13827 } else if fieldNum == 2 { 13828 var mapmsglen int 13829 for shift := uint(0); ; shift += 7 { 13830 if shift >= 64 { 13831 return ErrIntOverflowTypes 13832 } 13833 if iNdEx >= l { 13834 return io.ErrUnexpectedEOF 13835 } 13836 b := dAtA[iNdEx] 13837 iNdEx++ 13838 mapmsglen |= int(b&0x7F) << shift 13839 if b < 0x80 { 13840 break 13841 } 13842 } 13843 if mapmsglen < 0 { 13844 return ErrInvalidLengthTypes 13845 } 13846 postmsgIndex := iNdEx + mapmsglen 13847 if postmsgIndex < 0 { 13848 return ErrInvalidLengthTypes 13849 } 13850 if postmsgIndex > l { 13851 return io.ErrUnexpectedEOF 13852 } 13853 mapvalue = &types.Int32Value{} 13854 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13855 return err 13856 } 13857 iNdEx = postmsgIndex 13858 } else { 13859 iNdEx = entryPreIndex 13860 skippy, err := skipTypes(dAtA[iNdEx:]) 13861 if err != nil { 13862 return err 13863 } 13864 if (skippy < 0) || (iNdEx+skippy) < 0 { 13865 return ErrInvalidLengthTypes 13866 } 13867 if (iNdEx + skippy) > postIndex { 13868 return io.ErrUnexpectedEOF 13869 } 13870 iNdEx += skippy 13871 } 13872 } 13873 m.NullableInt32[mapkey] = mapvalue 13874 iNdEx = postIndex 13875 case 14: 13876 if wireType != 2 { 13877 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) 13878 } 13879 var msglen int 13880 for shift := uint(0); ; shift += 7 { 13881 if shift >= 64 { 13882 return ErrIntOverflowTypes 13883 } 13884 if iNdEx >= l { 13885 return io.ErrUnexpectedEOF 13886 } 13887 b := dAtA[iNdEx] 13888 iNdEx++ 13889 msglen |= int(b&0x7F) << shift 13890 if b < 0x80 { 13891 break 13892 } 13893 } 13894 if msglen < 0 { 13895 return ErrInvalidLengthTypes 13896 } 13897 postIndex := iNdEx + msglen 13898 if postIndex < 0 { 13899 return ErrInvalidLengthTypes 13900 } 13901 if postIndex > l { 13902 return io.ErrUnexpectedEOF 13903 } 13904 if m.NonnullInt32 == nil { 13905 m.NonnullInt32 = make(map[int32]types.Int32Value) 13906 } 13907 var mapkey int32 13908 mapvalue := &types.Int32Value{} 13909 for iNdEx < postIndex { 13910 entryPreIndex := iNdEx 13911 var wire uint64 13912 for shift := uint(0); ; shift += 7 { 13913 if shift >= 64 { 13914 return ErrIntOverflowTypes 13915 } 13916 if iNdEx >= l { 13917 return io.ErrUnexpectedEOF 13918 } 13919 b := dAtA[iNdEx] 13920 iNdEx++ 13921 wire |= uint64(b&0x7F) << shift 13922 if b < 0x80 { 13923 break 13924 } 13925 } 13926 fieldNum := int32(wire >> 3) 13927 if fieldNum == 1 { 13928 for shift := uint(0); ; shift += 7 { 13929 if shift >= 64 { 13930 return ErrIntOverflowTypes 13931 } 13932 if iNdEx >= l { 13933 return io.ErrUnexpectedEOF 13934 } 13935 b := dAtA[iNdEx] 13936 iNdEx++ 13937 mapkey |= int32(b&0x7F) << shift 13938 if b < 0x80 { 13939 break 13940 } 13941 } 13942 } else if fieldNum == 2 { 13943 var mapmsglen int 13944 for shift := uint(0); ; shift += 7 { 13945 if shift >= 64 { 13946 return ErrIntOverflowTypes 13947 } 13948 if iNdEx >= l { 13949 return io.ErrUnexpectedEOF 13950 } 13951 b := dAtA[iNdEx] 13952 iNdEx++ 13953 mapmsglen |= int(b&0x7F) << shift 13954 if b < 0x80 { 13955 break 13956 } 13957 } 13958 if mapmsglen < 0 { 13959 return ErrInvalidLengthTypes 13960 } 13961 postmsgIndex := iNdEx + mapmsglen 13962 if postmsgIndex < 0 { 13963 return ErrInvalidLengthTypes 13964 } 13965 if postmsgIndex > l { 13966 return io.ErrUnexpectedEOF 13967 } 13968 mapvalue = &types.Int32Value{} 13969 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13970 return err 13971 } 13972 iNdEx = postmsgIndex 13973 } else { 13974 iNdEx = entryPreIndex 13975 skippy, err := skipTypes(dAtA[iNdEx:]) 13976 if err != nil { 13977 return err 13978 } 13979 if (skippy < 0) || (iNdEx+skippy) < 0 { 13980 return ErrInvalidLengthTypes 13981 } 13982 if (iNdEx + skippy) > postIndex { 13983 return io.ErrUnexpectedEOF 13984 } 13985 iNdEx += skippy 13986 } 13987 } 13988 m.NonnullInt32[mapkey] = *mapvalue 13989 iNdEx = postIndex 13990 case 15: 13991 if wireType != 2 { 13992 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) 13993 } 13994 var msglen int 13995 for shift := uint(0); ; shift += 7 { 13996 if shift >= 64 { 13997 return ErrIntOverflowTypes 13998 } 13999 if iNdEx >= l { 14000 return io.ErrUnexpectedEOF 14001 } 14002 b := dAtA[iNdEx] 14003 iNdEx++ 14004 msglen |= int(b&0x7F) << shift 14005 if b < 0x80 { 14006 break 14007 } 14008 } 14009 if msglen < 0 { 14010 return ErrInvalidLengthTypes 14011 } 14012 postIndex := iNdEx + msglen 14013 if postIndex < 0 { 14014 return ErrInvalidLengthTypes 14015 } 14016 if postIndex > l { 14017 return io.ErrUnexpectedEOF 14018 } 14019 if m.NullableUInt32 == nil { 14020 m.NullableUInt32 = make(map[int32]*types.UInt32Value) 14021 } 14022 var mapkey int32 14023 var mapvalue *types.UInt32Value 14024 for iNdEx < postIndex { 14025 entryPreIndex := iNdEx 14026 var wire uint64 14027 for shift := uint(0); ; shift += 7 { 14028 if shift >= 64 { 14029 return ErrIntOverflowTypes 14030 } 14031 if iNdEx >= l { 14032 return io.ErrUnexpectedEOF 14033 } 14034 b := dAtA[iNdEx] 14035 iNdEx++ 14036 wire |= uint64(b&0x7F) << shift 14037 if b < 0x80 { 14038 break 14039 } 14040 } 14041 fieldNum := int32(wire >> 3) 14042 if fieldNum == 1 { 14043 for shift := uint(0); ; shift += 7 { 14044 if shift >= 64 { 14045 return ErrIntOverflowTypes 14046 } 14047 if iNdEx >= l { 14048 return io.ErrUnexpectedEOF 14049 } 14050 b := dAtA[iNdEx] 14051 iNdEx++ 14052 mapkey |= int32(b&0x7F) << shift 14053 if b < 0x80 { 14054 break 14055 } 14056 } 14057 } else if fieldNum == 2 { 14058 var mapmsglen int 14059 for shift := uint(0); ; shift += 7 { 14060 if shift >= 64 { 14061 return ErrIntOverflowTypes 14062 } 14063 if iNdEx >= l { 14064 return io.ErrUnexpectedEOF 14065 } 14066 b := dAtA[iNdEx] 14067 iNdEx++ 14068 mapmsglen |= int(b&0x7F) << shift 14069 if b < 0x80 { 14070 break 14071 } 14072 } 14073 if mapmsglen < 0 { 14074 return ErrInvalidLengthTypes 14075 } 14076 postmsgIndex := iNdEx + mapmsglen 14077 if postmsgIndex < 0 { 14078 return ErrInvalidLengthTypes 14079 } 14080 if postmsgIndex > l { 14081 return io.ErrUnexpectedEOF 14082 } 14083 mapvalue = &types.UInt32Value{} 14084 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 14085 return err 14086 } 14087 iNdEx = postmsgIndex 14088 } else { 14089 iNdEx = entryPreIndex 14090 skippy, err := skipTypes(dAtA[iNdEx:]) 14091 if err != nil { 14092 return err 14093 } 14094 if (skippy < 0) || (iNdEx+skippy) < 0 { 14095 return ErrInvalidLengthTypes 14096 } 14097 if (iNdEx + skippy) > postIndex { 14098 return io.ErrUnexpectedEOF 14099 } 14100 iNdEx += skippy 14101 } 14102 } 14103 m.NullableUInt32[mapkey] = mapvalue 14104 iNdEx = postIndex 14105 case 16: 14106 if wireType != 2 { 14107 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) 14108 } 14109 var msglen int 14110 for shift := uint(0); ; shift += 7 { 14111 if shift >= 64 { 14112 return ErrIntOverflowTypes 14113 } 14114 if iNdEx >= l { 14115 return io.ErrUnexpectedEOF 14116 } 14117 b := dAtA[iNdEx] 14118 iNdEx++ 14119 msglen |= int(b&0x7F) << shift 14120 if b < 0x80 { 14121 break 14122 } 14123 } 14124 if msglen < 0 { 14125 return ErrInvalidLengthTypes 14126 } 14127 postIndex := iNdEx + msglen 14128 if postIndex < 0 { 14129 return ErrInvalidLengthTypes 14130 } 14131 if postIndex > l { 14132 return io.ErrUnexpectedEOF 14133 } 14134 if m.NonnullUInt32 == nil { 14135 m.NonnullUInt32 = make(map[int32]types.UInt32Value) 14136 } 14137 var mapkey int32 14138 mapvalue := &types.UInt32Value{} 14139 for iNdEx < postIndex { 14140 entryPreIndex := iNdEx 14141 var wire uint64 14142 for shift := uint(0); ; shift += 7 { 14143 if shift >= 64 { 14144 return ErrIntOverflowTypes 14145 } 14146 if iNdEx >= l { 14147 return io.ErrUnexpectedEOF 14148 } 14149 b := dAtA[iNdEx] 14150 iNdEx++ 14151 wire |= uint64(b&0x7F) << shift 14152 if b < 0x80 { 14153 break 14154 } 14155 } 14156 fieldNum := int32(wire >> 3) 14157 if fieldNum == 1 { 14158 for shift := uint(0); ; shift += 7 { 14159 if shift >= 64 { 14160 return ErrIntOverflowTypes 14161 } 14162 if iNdEx >= l { 14163 return io.ErrUnexpectedEOF 14164 } 14165 b := dAtA[iNdEx] 14166 iNdEx++ 14167 mapkey |= int32(b&0x7F) << shift 14168 if b < 0x80 { 14169 break 14170 } 14171 } 14172 } else if fieldNum == 2 { 14173 var mapmsglen int 14174 for shift := uint(0); ; shift += 7 { 14175 if shift >= 64 { 14176 return ErrIntOverflowTypes 14177 } 14178 if iNdEx >= l { 14179 return io.ErrUnexpectedEOF 14180 } 14181 b := dAtA[iNdEx] 14182 iNdEx++ 14183 mapmsglen |= int(b&0x7F) << shift 14184 if b < 0x80 { 14185 break 14186 } 14187 } 14188 if mapmsglen < 0 { 14189 return ErrInvalidLengthTypes 14190 } 14191 postmsgIndex := iNdEx + mapmsglen 14192 if postmsgIndex < 0 { 14193 return ErrInvalidLengthTypes 14194 } 14195 if postmsgIndex > l { 14196 return io.ErrUnexpectedEOF 14197 } 14198 mapvalue = &types.UInt32Value{} 14199 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 14200 return err 14201 } 14202 iNdEx = postmsgIndex 14203 } else { 14204 iNdEx = entryPreIndex 14205 skippy, err := skipTypes(dAtA[iNdEx:]) 14206 if err != nil { 14207 return err 14208 } 14209 if (skippy < 0) || (iNdEx+skippy) < 0 { 14210 return ErrInvalidLengthTypes 14211 } 14212 if (iNdEx + skippy) > postIndex { 14213 return io.ErrUnexpectedEOF 14214 } 14215 iNdEx += skippy 14216 } 14217 } 14218 m.NonnullUInt32[mapkey] = *mapvalue 14219 iNdEx = postIndex 14220 case 17: 14221 if wireType != 2 { 14222 return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) 14223 } 14224 var msglen int 14225 for shift := uint(0); ; shift += 7 { 14226 if shift >= 64 { 14227 return ErrIntOverflowTypes 14228 } 14229 if iNdEx >= l { 14230 return io.ErrUnexpectedEOF 14231 } 14232 b := dAtA[iNdEx] 14233 iNdEx++ 14234 msglen |= int(b&0x7F) << shift 14235 if b < 0x80 { 14236 break 14237 } 14238 } 14239 if msglen < 0 { 14240 return ErrInvalidLengthTypes 14241 } 14242 postIndex := iNdEx + msglen 14243 if postIndex < 0 { 14244 return ErrInvalidLengthTypes 14245 } 14246 if postIndex > l { 14247 return io.ErrUnexpectedEOF 14248 } 14249 if m.NullableBool == nil { 14250 m.NullableBool = make(map[int32]*types.BoolValue) 14251 } 14252 var mapkey int32 14253 var mapvalue *types.BoolValue 14254 for iNdEx < postIndex { 14255 entryPreIndex := iNdEx 14256 var wire uint64 14257 for shift := uint(0); ; shift += 7 { 14258 if shift >= 64 { 14259 return ErrIntOverflowTypes 14260 } 14261 if iNdEx >= l { 14262 return io.ErrUnexpectedEOF 14263 } 14264 b := dAtA[iNdEx] 14265 iNdEx++ 14266 wire |= uint64(b&0x7F) << shift 14267 if b < 0x80 { 14268 break 14269 } 14270 } 14271 fieldNum := int32(wire >> 3) 14272 if fieldNum == 1 { 14273 for shift := uint(0); ; shift += 7 { 14274 if shift >= 64 { 14275 return ErrIntOverflowTypes 14276 } 14277 if iNdEx >= l { 14278 return io.ErrUnexpectedEOF 14279 } 14280 b := dAtA[iNdEx] 14281 iNdEx++ 14282 mapkey |= int32(b&0x7F) << shift 14283 if b < 0x80 { 14284 break 14285 } 14286 } 14287 } else if fieldNum == 2 { 14288 var mapmsglen int 14289 for shift := uint(0); ; shift += 7 { 14290 if shift >= 64 { 14291 return ErrIntOverflowTypes 14292 } 14293 if iNdEx >= l { 14294 return io.ErrUnexpectedEOF 14295 } 14296 b := dAtA[iNdEx] 14297 iNdEx++ 14298 mapmsglen |= int(b&0x7F) << shift 14299 if b < 0x80 { 14300 break 14301 } 14302 } 14303 if mapmsglen < 0 { 14304 return ErrInvalidLengthTypes 14305 } 14306 postmsgIndex := iNdEx + mapmsglen 14307 if postmsgIndex < 0 { 14308 return ErrInvalidLengthTypes 14309 } 14310 if postmsgIndex > l { 14311 return io.ErrUnexpectedEOF 14312 } 14313 mapvalue = &types.BoolValue{} 14314 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 14315 return err 14316 } 14317 iNdEx = postmsgIndex 14318 } else { 14319 iNdEx = entryPreIndex 14320 skippy, err := skipTypes(dAtA[iNdEx:]) 14321 if err != nil { 14322 return err 14323 } 14324 if (skippy < 0) || (iNdEx+skippy) < 0 { 14325 return ErrInvalidLengthTypes 14326 } 14327 if (iNdEx + skippy) > postIndex { 14328 return io.ErrUnexpectedEOF 14329 } 14330 iNdEx += skippy 14331 } 14332 } 14333 m.NullableBool[mapkey] = mapvalue 14334 iNdEx = postIndex 14335 case 18: 14336 if wireType != 2 { 14337 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) 14338 } 14339 var msglen int 14340 for shift := uint(0); ; shift += 7 { 14341 if shift >= 64 { 14342 return ErrIntOverflowTypes 14343 } 14344 if iNdEx >= l { 14345 return io.ErrUnexpectedEOF 14346 } 14347 b := dAtA[iNdEx] 14348 iNdEx++ 14349 msglen |= int(b&0x7F) << shift 14350 if b < 0x80 { 14351 break 14352 } 14353 } 14354 if msglen < 0 { 14355 return ErrInvalidLengthTypes 14356 } 14357 postIndex := iNdEx + msglen 14358 if postIndex < 0 { 14359 return ErrInvalidLengthTypes 14360 } 14361 if postIndex > l { 14362 return io.ErrUnexpectedEOF 14363 } 14364 if m.NonnullBool == nil { 14365 m.NonnullBool = make(map[int32]types.BoolValue) 14366 } 14367 var mapkey int32 14368 mapvalue := &types.BoolValue{} 14369 for iNdEx < postIndex { 14370 entryPreIndex := iNdEx 14371 var wire uint64 14372 for shift := uint(0); ; shift += 7 { 14373 if shift >= 64 { 14374 return ErrIntOverflowTypes 14375 } 14376 if iNdEx >= l { 14377 return io.ErrUnexpectedEOF 14378 } 14379 b := dAtA[iNdEx] 14380 iNdEx++ 14381 wire |= uint64(b&0x7F) << shift 14382 if b < 0x80 { 14383 break 14384 } 14385 } 14386 fieldNum := int32(wire >> 3) 14387 if fieldNum == 1 { 14388 for shift := uint(0); ; shift += 7 { 14389 if shift >= 64 { 14390 return ErrIntOverflowTypes 14391 } 14392 if iNdEx >= l { 14393 return io.ErrUnexpectedEOF 14394 } 14395 b := dAtA[iNdEx] 14396 iNdEx++ 14397 mapkey |= int32(b&0x7F) << shift 14398 if b < 0x80 { 14399 break 14400 } 14401 } 14402 } else if fieldNum == 2 { 14403 var mapmsglen int 14404 for shift := uint(0); ; shift += 7 { 14405 if shift >= 64 { 14406 return ErrIntOverflowTypes 14407 } 14408 if iNdEx >= l { 14409 return io.ErrUnexpectedEOF 14410 } 14411 b := dAtA[iNdEx] 14412 iNdEx++ 14413 mapmsglen |= int(b&0x7F) << shift 14414 if b < 0x80 { 14415 break 14416 } 14417 } 14418 if mapmsglen < 0 { 14419 return ErrInvalidLengthTypes 14420 } 14421 postmsgIndex := iNdEx + mapmsglen 14422 if postmsgIndex < 0 { 14423 return ErrInvalidLengthTypes 14424 } 14425 if postmsgIndex > l { 14426 return io.ErrUnexpectedEOF 14427 } 14428 mapvalue = &types.BoolValue{} 14429 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 14430 return err 14431 } 14432 iNdEx = postmsgIndex 14433 } else { 14434 iNdEx = entryPreIndex 14435 skippy, err := skipTypes(dAtA[iNdEx:]) 14436 if err != nil { 14437 return err 14438 } 14439 if (skippy < 0) || (iNdEx+skippy) < 0 { 14440 return ErrInvalidLengthTypes 14441 } 14442 if (iNdEx + skippy) > postIndex { 14443 return io.ErrUnexpectedEOF 14444 } 14445 iNdEx += skippy 14446 } 14447 } 14448 m.NonnullBool[mapkey] = *mapvalue 14449 iNdEx = postIndex 14450 case 19: 14451 if wireType != 2 { 14452 return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) 14453 } 14454 var msglen int 14455 for shift := uint(0); ; shift += 7 { 14456 if shift >= 64 { 14457 return ErrIntOverflowTypes 14458 } 14459 if iNdEx >= l { 14460 return io.ErrUnexpectedEOF 14461 } 14462 b := dAtA[iNdEx] 14463 iNdEx++ 14464 msglen |= int(b&0x7F) << shift 14465 if b < 0x80 { 14466 break 14467 } 14468 } 14469 if msglen < 0 { 14470 return ErrInvalidLengthTypes 14471 } 14472 postIndex := iNdEx + msglen 14473 if postIndex < 0 { 14474 return ErrInvalidLengthTypes 14475 } 14476 if postIndex > l { 14477 return io.ErrUnexpectedEOF 14478 } 14479 if m.NullableString == nil { 14480 m.NullableString = make(map[int32]*types.StringValue) 14481 } 14482 var mapkey int32 14483 var mapvalue *types.StringValue 14484 for iNdEx < postIndex { 14485 entryPreIndex := iNdEx 14486 var wire uint64 14487 for shift := uint(0); ; shift += 7 { 14488 if shift >= 64 { 14489 return ErrIntOverflowTypes 14490 } 14491 if iNdEx >= l { 14492 return io.ErrUnexpectedEOF 14493 } 14494 b := dAtA[iNdEx] 14495 iNdEx++ 14496 wire |= uint64(b&0x7F) << shift 14497 if b < 0x80 { 14498 break 14499 } 14500 } 14501 fieldNum := int32(wire >> 3) 14502 if fieldNum == 1 { 14503 for shift := uint(0); ; shift += 7 { 14504 if shift >= 64 { 14505 return ErrIntOverflowTypes 14506 } 14507 if iNdEx >= l { 14508 return io.ErrUnexpectedEOF 14509 } 14510 b := dAtA[iNdEx] 14511 iNdEx++ 14512 mapkey |= int32(b&0x7F) << shift 14513 if b < 0x80 { 14514 break 14515 } 14516 } 14517 } else if fieldNum == 2 { 14518 var mapmsglen int 14519 for shift := uint(0); ; shift += 7 { 14520 if shift >= 64 { 14521 return ErrIntOverflowTypes 14522 } 14523 if iNdEx >= l { 14524 return io.ErrUnexpectedEOF 14525 } 14526 b := dAtA[iNdEx] 14527 iNdEx++ 14528 mapmsglen |= int(b&0x7F) << shift 14529 if b < 0x80 { 14530 break 14531 } 14532 } 14533 if mapmsglen < 0 { 14534 return ErrInvalidLengthTypes 14535 } 14536 postmsgIndex := iNdEx + mapmsglen 14537 if postmsgIndex < 0 { 14538 return ErrInvalidLengthTypes 14539 } 14540 if postmsgIndex > l { 14541 return io.ErrUnexpectedEOF 14542 } 14543 mapvalue = &types.StringValue{} 14544 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 14545 return err 14546 } 14547 iNdEx = postmsgIndex 14548 } else { 14549 iNdEx = entryPreIndex 14550 skippy, err := skipTypes(dAtA[iNdEx:]) 14551 if err != nil { 14552 return err 14553 } 14554 if (skippy < 0) || (iNdEx+skippy) < 0 { 14555 return ErrInvalidLengthTypes 14556 } 14557 if (iNdEx + skippy) > postIndex { 14558 return io.ErrUnexpectedEOF 14559 } 14560 iNdEx += skippy 14561 } 14562 } 14563 m.NullableString[mapkey] = mapvalue 14564 iNdEx = postIndex 14565 case 20: 14566 if wireType != 2 { 14567 return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) 14568 } 14569 var msglen int 14570 for shift := uint(0); ; shift += 7 { 14571 if shift >= 64 { 14572 return ErrIntOverflowTypes 14573 } 14574 if iNdEx >= l { 14575 return io.ErrUnexpectedEOF 14576 } 14577 b := dAtA[iNdEx] 14578 iNdEx++ 14579 msglen |= int(b&0x7F) << shift 14580 if b < 0x80 { 14581 break 14582 } 14583 } 14584 if msglen < 0 { 14585 return ErrInvalidLengthTypes 14586 } 14587 postIndex := iNdEx + msglen 14588 if postIndex < 0 { 14589 return ErrInvalidLengthTypes 14590 } 14591 if postIndex > l { 14592 return io.ErrUnexpectedEOF 14593 } 14594 if m.NonnullString == nil { 14595 m.NonnullString = make(map[int32]types.StringValue) 14596 } 14597 var mapkey int32 14598 mapvalue := &types.StringValue{} 14599 for iNdEx < postIndex { 14600 entryPreIndex := iNdEx 14601 var wire uint64 14602 for shift := uint(0); ; shift += 7 { 14603 if shift >= 64 { 14604 return ErrIntOverflowTypes 14605 } 14606 if iNdEx >= l { 14607 return io.ErrUnexpectedEOF 14608 } 14609 b := dAtA[iNdEx] 14610 iNdEx++ 14611 wire |= uint64(b&0x7F) << shift 14612 if b < 0x80 { 14613 break 14614 } 14615 } 14616 fieldNum := int32(wire >> 3) 14617 if fieldNum == 1 { 14618 for shift := uint(0); ; shift += 7 { 14619 if shift >= 64 { 14620 return ErrIntOverflowTypes 14621 } 14622 if iNdEx >= l { 14623 return io.ErrUnexpectedEOF 14624 } 14625 b := dAtA[iNdEx] 14626 iNdEx++ 14627 mapkey |= int32(b&0x7F) << shift 14628 if b < 0x80 { 14629 break 14630 } 14631 } 14632 } else if fieldNum == 2 { 14633 var mapmsglen int 14634 for shift := uint(0); ; shift += 7 { 14635 if shift >= 64 { 14636 return ErrIntOverflowTypes 14637 } 14638 if iNdEx >= l { 14639 return io.ErrUnexpectedEOF 14640 } 14641 b := dAtA[iNdEx] 14642 iNdEx++ 14643 mapmsglen |= int(b&0x7F) << shift 14644 if b < 0x80 { 14645 break 14646 } 14647 } 14648 if mapmsglen < 0 { 14649 return ErrInvalidLengthTypes 14650 } 14651 postmsgIndex := iNdEx + mapmsglen 14652 if postmsgIndex < 0 { 14653 return ErrInvalidLengthTypes 14654 } 14655 if postmsgIndex > l { 14656 return io.ErrUnexpectedEOF 14657 } 14658 mapvalue = &types.StringValue{} 14659 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 14660 return err 14661 } 14662 iNdEx = postmsgIndex 14663 } else { 14664 iNdEx = entryPreIndex 14665 skippy, err := skipTypes(dAtA[iNdEx:]) 14666 if err != nil { 14667 return err 14668 } 14669 if (skippy < 0) || (iNdEx+skippy) < 0 { 14670 return ErrInvalidLengthTypes 14671 } 14672 if (iNdEx + skippy) > postIndex { 14673 return io.ErrUnexpectedEOF 14674 } 14675 iNdEx += skippy 14676 } 14677 } 14678 m.NonnullString[mapkey] = *mapvalue 14679 iNdEx = postIndex 14680 case 21: 14681 if wireType != 2 { 14682 return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) 14683 } 14684 var msglen int 14685 for shift := uint(0); ; shift += 7 { 14686 if shift >= 64 { 14687 return ErrIntOverflowTypes 14688 } 14689 if iNdEx >= l { 14690 return io.ErrUnexpectedEOF 14691 } 14692 b := dAtA[iNdEx] 14693 iNdEx++ 14694 msglen |= int(b&0x7F) << shift 14695 if b < 0x80 { 14696 break 14697 } 14698 } 14699 if msglen < 0 { 14700 return ErrInvalidLengthTypes 14701 } 14702 postIndex := iNdEx + msglen 14703 if postIndex < 0 { 14704 return ErrInvalidLengthTypes 14705 } 14706 if postIndex > l { 14707 return io.ErrUnexpectedEOF 14708 } 14709 if m.NullableBytes == nil { 14710 m.NullableBytes = make(map[int32]*types.BytesValue) 14711 } 14712 var mapkey int32 14713 var mapvalue *types.BytesValue 14714 for iNdEx < postIndex { 14715 entryPreIndex := iNdEx 14716 var wire uint64 14717 for shift := uint(0); ; shift += 7 { 14718 if shift >= 64 { 14719 return ErrIntOverflowTypes 14720 } 14721 if iNdEx >= l { 14722 return io.ErrUnexpectedEOF 14723 } 14724 b := dAtA[iNdEx] 14725 iNdEx++ 14726 wire |= uint64(b&0x7F) << shift 14727 if b < 0x80 { 14728 break 14729 } 14730 } 14731 fieldNum := int32(wire >> 3) 14732 if fieldNum == 1 { 14733 for shift := uint(0); ; shift += 7 { 14734 if shift >= 64 { 14735 return ErrIntOverflowTypes 14736 } 14737 if iNdEx >= l { 14738 return io.ErrUnexpectedEOF 14739 } 14740 b := dAtA[iNdEx] 14741 iNdEx++ 14742 mapkey |= int32(b&0x7F) << shift 14743 if b < 0x80 { 14744 break 14745 } 14746 } 14747 } else if fieldNum == 2 { 14748 var mapmsglen int 14749 for shift := uint(0); ; shift += 7 { 14750 if shift >= 64 { 14751 return ErrIntOverflowTypes 14752 } 14753 if iNdEx >= l { 14754 return io.ErrUnexpectedEOF 14755 } 14756 b := dAtA[iNdEx] 14757 iNdEx++ 14758 mapmsglen |= int(b&0x7F) << shift 14759 if b < 0x80 { 14760 break 14761 } 14762 } 14763 if mapmsglen < 0 { 14764 return ErrInvalidLengthTypes 14765 } 14766 postmsgIndex := iNdEx + mapmsglen 14767 if postmsgIndex < 0 { 14768 return ErrInvalidLengthTypes 14769 } 14770 if postmsgIndex > l { 14771 return io.ErrUnexpectedEOF 14772 } 14773 mapvalue = &types.BytesValue{} 14774 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 14775 return err 14776 } 14777 iNdEx = postmsgIndex 14778 } else { 14779 iNdEx = entryPreIndex 14780 skippy, err := skipTypes(dAtA[iNdEx:]) 14781 if err != nil { 14782 return err 14783 } 14784 if (skippy < 0) || (iNdEx+skippy) < 0 { 14785 return ErrInvalidLengthTypes 14786 } 14787 if (iNdEx + skippy) > postIndex { 14788 return io.ErrUnexpectedEOF 14789 } 14790 iNdEx += skippy 14791 } 14792 } 14793 m.NullableBytes[mapkey] = mapvalue 14794 iNdEx = postIndex 14795 case 22: 14796 if wireType != 2 { 14797 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) 14798 } 14799 var msglen int 14800 for shift := uint(0); ; shift += 7 { 14801 if shift >= 64 { 14802 return ErrIntOverflowTypes 14803 } 14804 if iNdEx >= l { 14805 return io.ErrUnexpectedEOF 14806 } 14807 b := dAtA[iNdEx] 14808 iNdEx++ 14809 msglen |= int(b&0x7F) << shift 14810 if b < 0x80 { 14811 break 14812 } 14813 } 14814 if msglen < 0 { 14815 return ErrInvalidLengthTypes 14816 } 14817 postIndex := iNdEx + msglen 14818 if postIndex < 0 { 14819 return ErrInvalidLengthTypes 14820 } 14821 if postIndex > l { 14822 return io.ErrUnexpectedEOF 14823 } 14824 if m.NonnullBytes == nil { 14825 m.NonnullBytes = make(map[int32]types.BytesValue) 14826 } 14827 var mapkey int32 14828 mapvalue := &types.BytesValue{} 14829 for iNdEx < postIndex { 14830 entryPreIndex := iNdEx 14831 var wire uint64 14832 for shift := uint(0); ; shift += 7 { 14833 if shift >= 64 { 14834 return ErrIntOverflowTypes 14835 } 14836 if iNdEx >= l { 14837 return io.ErrUnexpectedEOF 14838 } 14839 b := dAtA[iNdEx] 14840 iNdEx++ 14841 wire |= uint64(b&0x7F) << shift 14842 if b < 0x80 { 14843 break 14844 } 14845 } 14846 fieldNum := int32(wire >> 3) 14847 if fieldNum == 1 { 14848 for shift := uint(0); ; shift += 7 { 14849 if shift >= 64 { 14850 return ErrIntOverflowTypes 14851 } 14852 if iNdEx >= l { 14853 return io.ErrUnexpectedEOF 14854 } 14855 b := dAtA[iNdEx] 14856 iNdEx++ 14857 mapkey |= int32(b&0x7F) << shift 14858 if b < 0x80 { 14859 break 14860 } 14861 } 14862 } else if fieldNum == 2 { 14863 var mapmsglen int 14864 for shift := uint(0); ; shift += 7 { 14865 if shift >= 64 { 14866 return ErrIntOverflowTypes 14867 } 14868 if iNdEx >= l { 14869 return io.ErrUnexpectedEOF 14870 } 14871 b := dAtA[iNdEx] 14872 iNdEx++ 14873 mapmsglen |= int(b&0x7F) << shift 14874 if b < 0x80 { 14875 break 14876 } 14877 } 14878 if mapmsglen < 0 { 14879 return ErrInvalidLengthTypes 14880 } 14881 postmsgIndex := iNdEx + mapmsglen 14882 if postmsgIndex < 0 { 14883 return ErrInvalidLengthTypes 14884 } 14885 if postmsgIndex > l { 14886 return io.ErrUnexpectedEOF 14887 } 14888 mapvalue = &types.BytesValue{} 14889 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 14890 return err 14891 } 14892 iNdEx = postmsgIndex 14893 } else { 14894 iNdEx = entryPreIndex 14895 skippy, err := skipTypes(dAtA[iNdEx:]) 14896 if err != nil { 14897 return err 14898 } 14899 if (skippy < 0) || (iNdEx+skippy) < 0 { 14900 return ErrInvalidLengthTypes 14901 } 14902 if (iNdEx + skippy) > postIndex { 14903 return io.ErrUnexpectedEOF 14904 } 14905 iNdEx += skippy 14906 } 14907 } 14908 m.NonnullBytes[mapkey] = *mapvalue 14909 iNdEx = postIndex 14910 default: 14911 iNdEx = preIndex 14912 skippy, err := skipTypes(dAtA[iNdEx:]) 14913 if err != nil { 14914 return err 14915 } 14916 if (skippy < 0) || (iNdEx+skippy) < 0 { 14917 return ErrInvalidLengthTypes 14918 } 14919 if (iNdEx + skippy) > l { 14920 return io.ErrUnexpectedEOF 14921 } 14922 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 14923 iNdEx += skippy 14924 } 14925 } 14926 14927 if iNdEx > l { 14928 return io.ErrUnexpectedEOF 14929 } 14930 return nil 14931 } 14932 func (m *MapStdTypes) Unmarshal(dAtA []byte) error { 14933 l := len(dAtA) 14934 iNdEx := 0 14935 for iNdEx < l { 14936 preIndex := iNdEx 14937 var wire uint64 14938 for shift := uint(0); ; shift += 7 { 14939 if shift >= 64 { 14940 return ErrIntOverflowTypes 14941 } 14942 if iNdEx >= l { 14943 return io.ErrUnexpectedEOF 14944 } 14945 b := dAtA[iNdEx] 14946 iNdEx++ 14947 wire |= uint64(b&0x7F) << shift 14948 if b < 0x80 { 14949 break 14950 } 14951 } 14952 fieldNum := int32(wire >> 3) 14953 wireType := int(wire & 0x7) 14954 if wireType == 4 { 14955 return fmt.Errorf("proto: MapStdTypes: wiretype end group for non-group") 14956 } 14957 if fieldNum <= 0 { 14958 return fmt.Errorf("proto: MapStdTypes: illegal tag %d (wire type %d)", fieldNum, wire) 14959 } 14960 switch fieldNum { 14961 case 1: 14962 if wireType != 2 { 14963 return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamp", wireType) 14964 } 14965 var msglen int 14966 for shift := uint(0); ; shift += 7 { 14967 if shift >= 64 { 14968 return ErrIntOverflowTypes 14969 } 14970 if iNdEx >= l { 14971 return io.ErrUnexpectedEOF 14972 } 14973 b := dAtA[iNdEx] 14974 iNdEx++ 14975 msglen |= int(b&0x7F) << shift 14976 if b < 0x80 { 14977 break 14978 } 14979 } 14980 if msglen < 0 { 14981 return ErrInvalidLengthTypes 14982 } 14983 postIndex := iNdEx + msglen 14984 if postIndex < 0 { 14985 return ErrInvalidLengthTypes 14986 } 14987 if postIndex > l { 14988 return io.ErrUnexpectedEOF 14989 } 14990 if m.NullableTimestamp == nil { 14991 m.NullableTimestamp = make(map[int32]*time.Time) 14992 } 14993 var mapkey int32 14994 mapvalue := new(time.Time) 14995 for iNdEx < postIndex { 14996 entryPreIndex := iNdEx 14997 var wire uint64 14998 for shift := uint(0); ; shift += 7 { 14999 if shift >= 64 { 15000 return ErrIntOverflowTypes 15001 } 15002 if iNdEx >= l { 15003 return io.ErrUnexpectedEOF 15004 } 15005 b := dAtA[iNdEx] 15006 iNdEx++ 15007 wire |= uint64(b&0x7F) << shift 15008 if b < 0x80 { 15009 break 15010 } 15011 } 15012 fieldNum := int32(wire >> 3) 15013 if fieldNum == 1 { 15014 for shift := uint(0); ; shift += 7 { 15015 if shift >= 64 { 15016 return ErrIntOverflowTypes 15017 } 15018 if iNdEx >= l { 15019 return io.ErrUnexpectedEOF 15020 } 15021 b := dAtA[iNdEx] 15022 iNdEx++ 15023 mapkey |= int32(b&0x7F) << shift 15024 if b < 0x80 { 15025 break 15026 } 15027 } 15028 } else if fieldNum == 2 { 15029 var mapmsglen int 15030 for shift := uint(0); ; shift += 7 { 15031 if shift >= 64 { 15032 return ErrIntOverflowTypes 15033 } 15034 if iNdEx >= l { 15035 return io.ErrUnexpectedEOF 15036 } 15037 b := dAtA[iNdEx] 15038 iNdEx++ 15039 mapmsglen |= int(b&0x7F) << shift 15040 if b < 0x80 { 15041 break 15042 } 15043 } 15044 if mapmsglen < 0 { 15045 return ErrInvalidLengthTypes 15046 } 15047 postmsgIndex := iNdEx + mapmsglen 15048 if postmsgIndex < 0 { 15049 return ErrInvalidLengthTypes 15050 } 15051 if postmsgIndex > l { 15052 return io.ErrUnexpectedEOF 15053 } 15054 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15055 return err 15056 } 15057 iNdEx = postmsgIndex 15058 } else { 15059 iNdEx = entryPreIndex 15060 skippy, err := skipTypes(dAtA[iNdEx:]) 15061 if err != nil { 15062 return err 15063 } 15064 if (skippy < 0) || (iNdEx+skippy) < 0 { 15065 return ErrInvalidLengthTypes 15066 } 15067 if (iNdEx + skippy) > postIndex { 15068 return io.ErrUnexpectedEOF 15069 } 15070 iNdEx += skippy 15071 } 15072 } 15073 m.NullableTimestamp[mapkey] = mapvalue 15074 iNdEx = postIndex 15075 case 2: 15076 if wireType != 2 { 15077 return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) 15078 } 15079 var msglen int 15080 for shift := uint(0); ; shift += 7 { 15081 if shift >= 64 { 15082 return ErrIntOverflowTypes 15083 } 15084 if iNdEx >= l { 15085 return io.ErrUnexpectedEOF 15086 } 15087 b := dAtA[iNdEx] 15088 iNdEx++ 15089 msglen |= int(b&0x7F) << shift 15090 if b < 0x80 { 15091 break 15092 } 15093 } 15094 if msglen < 0 { 15095 return ErrInvalidLengthTypes 15096 } 15097 postIndex := iNdEx + msglen 15098 if postIndex < 0 { 15099 return ErrInvalidLengthTypes 15100 } 15101 if postIndex > l { 15102 return io.ErrUnexpectedEOF 15103 } 15104 if m.Timestamp == nil { 15105 m.Timestamp = make(map[int32]time.Time) 15106 } 15107 var mapkey int32 15108 mapvalue := new(time.Time) 15109 for iNdEx < postIndex { 15110 entryPreIndex := iNdEx 15111 var wire uint64 15112 for shift := uint(0); ; shift += 7 { 15113 if shift >= 64 { 15114 return ErrIntOverflowTypes 15115 } 15116 if iNdEx >= l { 15117 return io.ErrUnexpectedEOF 15118 } 15119 b := dAtA[iNdEx] 15120 iNdEx++ 15121 wire |= uint64(b&0x7F) << shift 15122 if b < 0x80 { 15123 break 15124 } 15125 } 15126 fieldNum := int32(wire >> 3) 15127 if fieldNum == 1 { 15128 for shift := uint(0); ; shift += 7 { 15129 if shift >= 64 { 15130 return ErrIntOverflowTypes 15131 } 15132 if iNdEx >= l { 15133 return io.ErrUnexpectedEOF 15134 } 15135 b := dAtA[iNdEx] 15136 iNdEx++ 15137 mapkey |= int32(b&0x7F) << shift 15138 if b < 0x80 { 15139 break 15140 } 15141 } 15142 } else if fieldNum == 2 { 15143 var mapmsglen int 15144 for shift := uint(0); ; shift += 7 { 15145 if shift >= 64 { 15146 return ErrIntOverflowTypes 15147 } 15148 if iNdEx >= l { 15149 return io.ErrUnexpectedEOF 15150 } 15151 b := dAtA[iNdEx] 15152 iNdEx++ 15153 mapmsglen |= int(b&0x7F) << shift 15154 if b < 0x80 { 15155 break 15156 } 15157 } 15158 if mapmsglen < 0 { 15159 return ErrInvalidLengthTypes 15160 } 15161 postmsgIndex := iNdEx + mapmsglen 15162 if postmsgIndex < 0 { 15163 return ErrInvalidLengthTypes 15164 } 15165 if postmsgIndex > l { 15166 return io.ErrUnexpectedEOF 15167 } 15168 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15169 return err 15170 } 15171 iNdEx = postmsgIndex 15172 } else { 15173 iNdEx = entryPreIndex 15174 skippy, err := skipTypes(dAtA[iNdEx:]) 15175 if err != nil { 15176 return err 15177 } 15178 if (skippy < 0) || (iNdEx+skippy) < 0 { 15179 return ErrInvalidLengthTypes 15180 } 15181 if (iNdEx + skippy) > postIndex { 15182 return io.ErrUnexpectedEOF 15183 } 15184 iNdEx += skippy 15185 } 15186 } 15187 m.Timestamp[mapkey] = *mapvalue 15188 iNdEx = postIndex 15189 case 3: 15190 if wireType != 2 { 15191 return fmt.Errorf("proto: wrong wireType = %d for field NullableDuration", wireType) 15192 } 15193 var msglen int 15194 for shift := uint(0); ; shift += 7 { 15195 if shift >= 64 { 15196 return ErrIntOverflowTypes 15197 } 15198 if iNdEx >= l { 15199 return io.ErrUnexpectedEOF 15200 } 15201 b := dAtA[iNdEx] 15202 iNdEx++ 15203 msglen |= int(b&0x7F) << shift 15204 if b < 0x80 { 15205 break 15206 } 15207 } 15208 if msglen < 0 { 15209 return ErrInvalidLengthTypes 15210 } 15211 postIndex := iNdEx + msglen 15212 if postIndex < 0 { 15213 return ErrInvalidLengthTypes 15214 } 15215 if postIndex > l { 15216 return io.ErrUnexpectedEOF 15217 } 15218 if m.NullableDuration == nil { 15219 m.NullableDuration = make(map[int32]*time.Duration) 15220 } 15221 var mapkey int32 15222 mapvalue := new(time.Duration) 15223 for iNdEx < postIndex { 15224 entryPreIndex := iNdEx 15225 var wire uint64 15226 for shift := uint(0); ; shift += 7 { 15227 if shift >= 64 { 15228 return ErrIntOverflowTypes 15229 } 15230 if iNdEx >= l { 15231 return io.ErrUnexpectedEOF 15232 } 15233 b := dAtA[iNdEx] 15234 iNdEx++ 15235 wire |= uint64(b&0x7F) << shift 15236 if b < 0x80 { 15237 break 15238 } 15239 } 15240 fieldNum := int32(wire >> 3) 15241 if fieldNum == 1 { 15242 for shift := uint(0); ; shift += 7 { 15243 if shift >= 64 { 15244 return ErrIntOverflowTypes 15245 } 15246 if iNdEx >= l { 15247 return io.ErrUnexpectedEOF 15248 } 15249 b := dAtA[iNdEx] 15250 iNdEx++ 15251 mapkey |= int32(b&0x7F) << shift 15252 if b < 0x80 { 15253 break 15254 } 15255 } 15256 } else if fieldNum == 2 { 15257 var mapmsglen int 15258 for shift := uint(0); ; shift += 7 { 15259 if shift >= 64 { 15260 return ErrIntOverflowTypes 15261 } 15262 if iNdEx >= l { 15263 return io.ErrUnexpectedEOF 15264 } 15265 b := dAtA[iNdEx] 15266 iNdEx++ 15267 mapmsglen |= int(b&0x7F) << shift 15268 if b < 0x80 { 15269 break 15270 } 15271 } 15272 if mapmsglen < 0 { 15273 return ErrInvalidLengthTypes 15274 } 15275 postmsgIndex := iNdEx + mapmsglen 15276 if postmsgIndex < 0 { 15277 return ErrInvalidLengthTypes 15278 } 15279 if postmsgIndex > l { 15280 return io.ErrUnexpectedEOF 15281 } 15282 if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15283 return err 15284 } 15285 iNdEx = postmsgIndex 15286 } else { 15287 iNdEx = entryPreIndex 15288 skippy, err := skipTypes(dAtA[iNdEx:]) 15289 if err != nil { 15290 return err 15291 } 15292 if (skippy < 0) || (iNdEx+skippy) < 0 { 15293 return ErrInvalidLengthTypes 15294 } 15295 if (iNdEx + skippy) > postIndex { 15296 return io.ErrUnexpectedEOF 15297 } 15298 iNdEx += skippy 15299 } 15300 } 15301 m.NullableDuration[mapkey] = mapvalue 15302 iNdEx = postIndex 15303 case 4: 15304 if wireType != 2 { 15305 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 15306 } 15307 var msglen int 15308 for shift := uint(0); ; shift += 7 { 15309 if shift >= 64 { 15310 return ErrIntOverflowTypes 15311 } 15312 if iNdEx >= l { 15313 return io.ErrUnexpectedEOF 15314 } 15315 b := dAtA[iNdEx] 15316 iNdEx++ 15317 msglen |= int(b&0x7F) << shift 15318 if b < 0x80 { 15319 break 15320 } 15321 } 15322 if msglen < 0 { 15323 return ErrInvalidLengthTypes 15324 } 15325 postIndex := iNdEx + msglen 15326 if postIndex < 0 { 15327 return ErrInvalidLengthTypes 15328 } 15329 if postIndex > l { 15330 return io.ErrUnexpectedEOF 15331 } 15332 if m.Duration == nil { 15333 m.Duration = make(map[int32]time.Duration) 15334 } 15335 var mapkey int32 15336 mapvalue := new(time.Duration) 15337 for iNdEx < postIndex { 15338 entryPreIndex := iNdEx 15339 var wire uint64 15340 for shift := uint(0); ; shift += 7 { 15341 if shift >= 64 { 15342 return ErrIntOverflowTypes 15343 } 15344 if iNdEx >= l { 15345 return io.ErrUnexpectedEOF 15346 } 15347 b := dAtA[iNdEx] 15348 iNdEx++ 15349 wire |= uint64(b&0x7F) << shift 15350 if b < 0x80 { 15351 break 15352 } 15353 } 15354 fieldNum := int32(wire >> 3) 15355 if fieldNum == 1 { 15356 for shift := uint(0); ; shift += 7 { 15357 if shift >= 64 { 15358 return ErrIntOverflowTypes 15359 } 15360 if iNdEx >= l { 15361 return io.ErrUnexpectedEOF 15362 } 15363 b := dAtA[iNdEx] 15364 iNdEx++ 15365 mapkey |= int32(b&0x7F) << shift 15366 if b < 0x80 { 15367 break 15368 } 15369 } 15370 } else if fieldNum == 2 { 15371 var mapmsglen int 15372 for shift := uint(0); ; shift += 7 { 15373 if shift >= 64 { 15374 return ErrIntOverflowTypes 15375 } 15376 if iNdEx >= l { 15377 return io.ErrUnexpectedEOF 15378 } 15379 b := dAtA[iNdEx] 15380 iNdEx++ 15381 mapmsglen |= int(b&0x7F) << shift 15382 if b < 0x80 { 15383 break 15384 } 15385 } 15386 if mapmsglen < 0 { 15387 return ErrInvalidLengthTypes 15388 } 15389 postmsgIndex := iNdEx + mapmsglen 15390 if postmsgIndex < 0 { 15391 return ErrInvalidLengthTypes 15392 } 15393 if postmsgIndex > l { 15394 return io.ErrUnexpectedEOF 15395 } 15396 if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15397 return err 15398 } 15399 iNdEx = postmsgIndex 15400 } else { 15401 iNdEx = entryPreIndex 15402 skippy, err := skipTypes(dAtA[iNdEx:]) 15403 if err != nil { 15404 return err 15405 } 15406 if (skippy < 0) || (iNdEx+skippy) < 0 { 15407 return ErrInvalidLengthTypes 15408 } 15409 if (iNdEx + skippy) > postIndex { 15410 return io.ErrUnexpectedEOF 15411 } 15412 iNdEx += skippy 15413 } 15414 } 15415 m.Duration[mapkey] = *mapvalue 15416 iNdEx = postIndex 15417 case 5: 15418 if wireType != 2 { 15419 return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) 15420 } 15421 var msglen int 15422 for shift := uint(0); ; shift += 7 { 15423 if shift >= 64 { 15424 return ErrIntOverflowTypes 15425 } 15426 if iNdEx >= l { 15427 return io.ErrUnexpectedEOF 15428 } 15429 b := dAtA[iNdEx] 15430 iNdEx++ 15431 msglen |= int(b&0x7F) << shift 15432 if b < 0x80 { 15433 break 15434 } 15435 } 15436 if msglen < 0 { 15437 return ErrInvalidLengthTypes 15438 } 15439 postIndex := iNdEx + msglen 15440 if postIndex < 0 { 15441 return ErrInvalidLengthTypes 15442 } 15443 if postIndex > l { 15444 return io.ErrUnexpectedEOF 15445 } 15446 if m.NullableDouble == nil { 15447 m.NullableDouble = make(map[int32]*float64) 15448 } 15449 var mapkey int32 15450 mapvalue := new(float64) 15451 for iNdEx < postIndex { 15452 entryPreIndex := iNdEx 15453 var wire uint64 15454 for shift := uint(0); ; shift += 7 { 15455 if shift >= 64 { 15456 return ErrIntOverflowTypes 15457 } 15458 if iNdEx >= l { 15459 return io.ErrUnexpectedEOF 15460 } 15461 b := dAtA[iNdEx] 15462 iNdEx++ 15463 wire |= uint64(b&0x7F) << shift 15464 if b < 0x80 { 15465 break 15466 } 15467 } 15468 fieldNum := int32(wire >> 3) 15469 if fieldNum == 1 { 15470 for shift := uint(0); ; shift += 7 { 15471 if shift >= 64 { 15472 return ErrIntOverflowTypes 15473 } 15474 if iNdEx >= l { 15475 return io.ErrUnexpectedEOF 15476 } 15477 b := dAtA[iNdEx] 15478 iNdEx++ 15479 mapkey |= int32(b&0x7F) << shift 15480 if b < 0x80 { 15481 break 15482 } 15483 } 15484 } else if fieldNum == 2 { 15485 var mapmsglen int 15486 for shift := uint(0); ; shift += 7 { 15487 if shift >= 64 { 15488 return ErrIntOverflowTypes 15489 } 15490 if iNdEx >= l { 15491 return io.ErrUnexpectedEOF 15492 } 15493 b := dAtA[iNdEx] 15494 iNdEx++ 15495 mapmsglen |= int(b&0x7F) << shift 15496 if b < 0x80 { 15497 break 15498 } 15499 } 15500 if mapmsglen < 0 { 15501 return ErrInvalidLengthTypes 15502 } 15503 postmsgIndex := iNdEx + mapmsglen 15504 if postmsgIndex < 0 { 15505 return ErrInvalidLengthTypes 15506 } 15507 if postmsgIndex > l { 15508 return io.ErrUnexpectedEOF 15509 } 15510 if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15511 return err 15512 } 15513 iNdEx = postmsgIndex 15514 } else { 15515 iNdEx = entryPreIndex 15516 skippy, err := skipTypes(dAtA[iNdEx:]) 15517 if err != nil { 15518 return err 15519 } 15520 if (skippy < 0) || (iNdEx+skippy) < 0 { 15521 return ErrInvalidLengthTypes 15522 } 15523 if (iNdEx + skippy) > postIndex { 15524 return io.ErrUnexpectedEOF 15525 } 15526 iNdEx += skippy 15527 } 15528 } 15529 m.NullableDouble[mapkey] = ((*float64)(mapvalue)) 15530 iNdEx = postIndex 15531 case 6: 15532 if wireType != 2 { 15533 return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) 15534 } 15535 var msglen int 15536 for shift := uint(0); ; shift += 7 { 15537 if shift >= 64 { 15538 return ErrIntOverflowTypes 15539 } 15540 if iNdEx >= l { 15541 return io.ErrUnexpectedEOF 15542 } 15543 b := dAtA[iNdEx] 15544 iNdEx++ 15545 msglen |= int(b&0x7F) << shift 15546 if b < 0x80 { 15547 break 15548 } 15549 } 15550 if msglen < 0 { 15551 return ErrInvalidLengthTypes 15552 } 15553 postIndex := iNdEx + msglen 15554 if postIndex < 0 { 15555 return ErrInvalidLengthTypes 15556 } 15557 if postIndex > l { 15558 return io.ErrUnexpectedEOF 15559 } 15560 if m.NonnullDouble == nil { 15561 m.NonnullDouble = make(map[int32]float64) 15562 } 15563 var mapkey int32 15564 mapvalue := new(float64) 15565 for iNdEx < postIndex { 15566 entryPreIndex := iNdEx 15567 var wire uint64 15568 for shift := uint(0); ; shift += 7 { 15569 if shift >= 64 { 15570 return ErrIntOverflowTypes 15571 } 15572 if iNdEx >= l { 15573 return io.ErrUnexpectedEOF 15574 } 15575 b := dAtA[iNdEx] 15576 iNdEx++ 15577 wire |= uint64(b&0x7F) << shift 15578 if b < 0x80 { 15579 break 15580 } 15581 } 15582 fieldNum := int32(wire >> 3) 15583 if fieldNum == 1 { 15584 for shift := uint(0); ; shift += 7 { 15585 if shift >= 64 { 15586 return ErrIntOverflowTypes 15587 } 15588 if iNdEx >= l { 15589 return io.ErrUnexpectedEOF 15590 } 15591 b := dAtA[iNdEx] 15592 iNdEx++ 15593 mapkey |= int32(b&0x7F) << shift 15594 if b < 0x80 { 15595 break 15596 } 15597 } 15598 } else if fieldNum == 2 { 15599 var mapmsglen int 15600 for shift := uint(0); ; shift += 7 { 15601 if shift >= 64 { 15602 return ErrIntOverflowTypes 15603 } 15604 if iNdEx >= l { 15605 return io.ErrUnexpectedEOF 15606 } 15607 b := dAtA[iNdEx] 15608 iNdEx++ 15609 mapmsglen |= int(b&0x7F) << shift 15610 if b < 0x80 { 15611 break 15612 } 15613 } 15614 if mapmsglen < 0 { 15615 return ErrInvalidLengthTypes 15616 } 15617 postmsgIndex := iNdEx + mapmsglen 15618 if postmsgIndex < 0 { 15619 return ErrInvalidLengthTypes 15620 } 15621 if postmsgIndex > l { 15622 return io.ErrUnexpectedEOF 15623 } 15624 if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15625 return err 15626 } 15627 iNdEx = postmsgIndex 15628 } else { 15629 iNdEx = entryPreIndex 15630 skippy, err := skipTypes(dAtA[iNdEx:]) 15631 if err != nil { 15632 return err 15633 } 15634 if (skippy < 0) || (iNdEx+skippy) < 0 { 15635 return ErrInvalidLengthTypes 15636 } 15637 if (iNdEx + skippy) > postIndex { 15638 return io.ErrUnexpectedEOF 15639 } 15640 iNdEx += skippy 15641 } 15642 } 15643 m.NonnullDouble[mapkey] = ((float64)(*mapvalue)) 15644 iNdEx = postIndex 15645 case 7: 15646 if wireType != 2 { 15647 return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) 15648 } 15649 var msglen int 15650 for shift := uint(0); ; shift += 7 { 15651 if shift >= 64 { 15652 return ErrIntOverflowTypes 15653 } 15654 if iNdEx >= l { 15655 return io.ErrUnexpectedEOF 15656 } 15657 b := dAtA[iNdEx] 15658 iNdEx++ 15659 msglen |= int(b&0x7F) << shift 15660 if b < 0x80 { 15661 break 15662 } 15663 } 15664 if msglen < 0 { 15665 return ErrInvalidLengthTypes 15666 } 15667 postIndex := iNdEx + msglen 15668 if postIndex < 0 { 15669 return ErrInvalidLengthTypes 15670 } 15671 if postIndex > l { 15672 return io.ErrUnexpectedEOF 15673 } 15674 if m.NullableFloat == nil { 15675 m.NullableFloat = make(map[int32]*float32) 15676 } 15677 var mapkey int32 15678 mapvalue := new(float32) 15679 for iNdEx < postIndex { 15680 entryPreIndex := iNdEx 15681 var wire uint64 15682 for shift := uint(0); ; shift += 7 { 15683 if shift >= 64 { 15684 return ErrIntOverflowTypes 15685 } 15686 if iNdEx >= l { 15687 return io.ErrUnexpectedEOF 15688 } 15689 b := dAtA[iNdEx] 15690 iNdEx++ 15691 wire |= uint64(b&0x7F) << shift 15692 if b < 0x80 { 15693 break 15694 } 15695 } 15696 fieldNum := int32(wire >> 3) 15697 if fieldNum == 1 { 15698 for shift := uint(0); ; shift += 7 { 15699 if shift >= 64 { 15700 return ErrIntOverflowTypes 15701 } 15702 if iNdEx >= l { 15703 return io.ErrUnexpectedEOF 15704 } 15705 b := dAtA[iNdEx] 15706 iNdEx++ 15707 mapkey |= int32(b&0x7F) << shift 15708 if b < 0x80 { 15709 break 15710 } 15711 } 15712 } else if fieldNum == 2 { 15713 var mapmsglen int 15714 for shift := uint(0); ; shift += 7 { 15715 if shift >= 64 { 15716 return ErrIntOverflowTypes 15717 } 15718 if iNdEx >= l { 15719 return io.ErrUnexpectedEOF 15720 } 15721 b := dAtA[iNdEx] 15722 iNdEx++ 15723 mapmsglen |= int(b&0x7F) << shift 15724 if b < 0x80 { 15725 break 15726 } 15727 } 15728 if mapmsglen < 0 { 15729 return ErrInvalidLengthTypes 15730 } 15731 postmsgIndex := iNdEx + mapmsglen 15732 if postmsgIndex < 0 { 15733 return ErrInvalidLengthTypes 15734 } 15735 if postmsgIndex > l { 15736 return io.ErrUnexpectedEOF 15737 } 15738 if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15739 return err 15740 } 15741 iNdEx = postmsgIndex 15742 } else { 15743 iNdEx = entryPreIndex 15744 skippy, err := skipTypes(dAtA[iNdEx:]) 15745 if err != nil { 15746 return err 15747 } 15748 if (skippy < 0) || (iNdEx+skippy) < 0 { 15749 return ErrInvalidLengthTypes 15750 } 15751 if (iNdEx + skippy) > postIndex { 15752 return io.ErrUnexpectedEOF 15753 } 15754 iNdEx += skippy 15755 } 15756 } 15757 m.NullableFloat[mapkey] = ((*float32)(mapvalue)) 15758 iNdEx = postIndex 15759 case 8: 15760 if wireType != 2 { 15761 return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) 15762 } 15763 var msglen int 15764 for shift := uint(0); ; shift += 7 { 15765 if shift >= 64 { 15766 return ErrIntOverflowTypes 15767 } 15768 if iNdEx >= l { 15769 return io.ErrUnexpectedEOF 15770 } 15771 b := dAtA[iNdEx] 15772 iNdEx++ 15773 msglen |= int(b&0x7F) << shift 15774 if b < 0x80 { 15775 break 15776 } 15777 } 15778 if msglen < 0 { 15779 return ErrInvalidLengthTypes 15780 } 15781 postIndex := iNdEx + msglen 15782 if postIndex < 0 { 15783 return ErrInvalidLengthTypes 15784 } 15785 if postIndex > l { 15786 return io.ErrUnexpectedEOF 15787 } 15788 if m.NonnullFloat == nil { 15789 m.NonnullFloat = make(map[int32]float32) 15790 } 15791 var mapkey int32 15792 mapvalue := new(float32) 15793 for iNdEx < postIndex { 15794 entryPreIndex := iNdEx 15795 var wire uint64 15796 for shift := uint(0); ; shift += 7 { 15797 if shift >= 64 { 15798 return ErrIntOverflowTypes 15799 } 15800 if iNdEx >= l { 15801 return io.ErrUnexpectedEOF 15802 } 15803 b := dAtA[iNdEx] 15804 iNdEx++ 15805 wire |= uint64(b&0x7F) << shift 15806 if b < 0x80 { 15807 break 15808 } 15809 } 15810 fieldNum := int32(wire >> 3) 15811 if fieldNum == 1 { 15812 for shift := uint(0); ; shift += 7 { 15813 if shift >= 64 { 15814 return ErrIntOverflowTypes 15815 } 15816 if iNdEx >= l { 15817 return io.ErrUnexpectedEOF 15818 } 15819 b := dAtA[iNdEx] 15820 iNdEx++ 15821 mapkey |= int32(b&0x7F) << shift 15822 if b < 0x80 { 15823 break 15824 } 15825 } 15826 } else if fieldNum == 2 { 15827 var mapmsglen int 15828 for shift := uint(0); ; shift += 7 { 15829 if shift >= 64 { 15830 return ErrIntOverflowTypes 15831 } 15832 if iNdEx >= l { 15833 return io.ErrUnexpectedEOF 15834 } 15835 b := dAtA[iNdEx] 15836 iNdEx++ 15837 mapmsglen |= int(b&0x7F) << shift 15838 if b < 0x80 { 15839 break 15840 } 15841 } 15842 if mapmsglen < 0 { 15843 return ErrInvalidLengthTypes 15844 } 15845 postmsgIndex := iNdEx + mapmsglen 15846 if postmsgIndex < 0 { 15847 return ErrInvalidLengthTypes 15848 } 15849 if postmsgIndex > l { 15850 return io.ErrUnexpectedEOF 15851 } 15852 if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15853 return err 15854 } 15855 iNdEx = postmsgIndex 15856 } else { 15857 iNdEx = entryPreIndex 15858 skippy, err := skipTypes(dAtA[iNdEx:]) 15859 if err != nil { 15860 return err 15861 } 15862 if (skippy < 0) || (iNdEx+skippy) < 0 { 15863 return ErrInvalidLengthTypes 15864 } 15865 if (iNdEx + skippy) > postIndex { 15866 return io.ErrUnexpectedEOF 15867 } 15868 iNdEx += skippy 15869 } 15870 } 15871 m.NonnullFloat[mapkey] = ((float32)(*mapvalue)) 15872 iNdEx = postIndex 15873 case 9: 15874 if wireType != 2 { 15875 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) 15876 } 15877 var msglen int 15878 for shift := uint(0); ; shift += 7 { 15879 if shift >= 64 { 15880 return ErrIntOverflowTypes 15881 } 15882 if iNdEx >= l { 15883 return io.ErrUnexpectedEOF 15884 } 15885 b := dAtA[iNdEx] 15886 iNdEx++ 15887 msglen |= int(b&0x7F) << shift 15888 if b < 0x80 { 15889 break 15890 } 15891 } 15892 if msglen < 0 { 15893 return ErrInvalidLengthTypes 15894 } 15895 postIndex := iNdEx + msglen 15896 if postIndex < 0 { 15897 return ErrInvalidLengthTypes 15898 } 15899 if postIndex > l { 15900 return io.ErrUnexpectedEOF 15901 } 15902 if m.NullableInt64 == nil { 15903 m.NullableInt64 = make(map[int32]*int64) 15904 } 15905 var mapkey int32 15906 mapvalue := new(int64) 15907 for iNdEx < postIndex { 15908 entryPreIndex := iNdEx 15909 var wire uint64 15910 for shift := uint(0); ; shift += 7 { 15911 if shift >= 64 { 15912 return ErrIntOverflowTypes 15913 } 15914 if iNdEx >= l { 15915 return io.ErrUnexpectedEOF 15916 } 15917 b := dAtA[iNdEx] 15918 iNdEx++ 15919 wire |= uint64(b&0x7F) << shift 15920 if b < 0x80 { 15921 break 15922 } 15923 } 15924 fieldNum := int32(wire >> 3) 15925 if fieldNum == 1 { 15926 for shift := uint(0); ; shift += 7 { 15927 if shift >= 64 { 15928 return ErrIntOverflowTypes 15929 } 15930 if iNdEx >= l { 15931 return io.ErrUnexpectedEOF 15932 } 15933 b := dAtA[iNdEx] 15934 iNdEx++ 15935 mapkey |= int32(b&0x7F) << shift 15936 if b < 0x80 { 15937 break 15938 } 15939 } 15940 } else if fieldNum == 2 { 15941 var mapmsglen int 15942 for shift := uint(0); ; shift += 7 { 15943 if shift >= 64 { 15944 return ErrIntOverflowTypes 15945 } 15946 if iNdEx >= l { 15947 return io.ErrUnexpectedEOF 15948 } 15949 b := dAtA[iNdEx] 15950 iNdEx++ 15951 mapmsglen |= int(b&0x7F) << shift 15952 if b < 0x80 { 15953 break 15954 } 15955 } 15956 if mapmsglen < 0 { 15957 return ErrInvalidLengthTypes 15958 } 15959 postmsgIndex := iNdEx + mapmsglen 15960 if postmsgIndex < 0 { 15961 return ErrInvalidLengthTypes 15962 } 15963 if postmsgIndex > l { 15964 return io.ErrUnexpectedEOF 15965 } 15966 if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15967 return err 15968 } 15969 iNdEx = postmsgIndex 15970 } else { 15971 iNdEx = entryPreIndex 15972 skippy, err := skipTypes(dAtA[iNdEx:]) 15973 if err != nil { 15974 return err 15975 } 15976 if (skippy < 0) || (iNdEx+skippy) < 0 { 15977 return ErrInvalidLengthTypes 15978 } 15979 if (iNdEx + skippy) > postIndex { 15980 return io.ErrUnexpectedEOF 15981 } 15982 iNdEx += skippy 15983 } 15984 } 15985 m.NullableInt64[mapkey] = ((*int64)(mapvalue)) 15986 iNdEx = postIndex 15987 case 10: 15988 if wireType != 2 { 15989 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) 15990 } 15991 var msglen int 15992 for shift := uint(0); ; shift += 7 { 15993 if shift >= 64 { 15994 return ErrIntOverflowTypes 15995 } 15996 if iNdEx >= l { 15997 return io.ErrUnexpectedEOF 15998 } 15999 b := dAtA[iNdEx] 16000 iNdEx++ 16001 msglen |= int(b&0x7F) << shift 16002 if b < 0x80 { 16003 break 16004 } 16005 } 16006 if msglen < 0 { 16007 return ErrInvalidLengthTypes 16008 } 16009 postIndex := iNdEx + msglen 16010 if postIndex < 0 { 16011 return ErrInvalidLengthTypes 16012 } 16013 if postIndex > l { 16014 return io.ErrUnexpectedEOF 16015 } 16016 if m.NonnullInt64 == nil { 16017 m.NonnullInt64 = make(map[int32]int64) 16018 } 16019 var mapkey int32 16020 mapvalue := new(int64) 16021 for iNdEx < postIndex { 16022 entryPreIndex := iNdEx 16023 var wire uint64 16024 for shift := uint(0); ; shift += 7 { 16025 if shift >= 64 { 16026 return ErrIntOverflowTypes 16027 } 16028 if iNdEx >= l { 16029 return io.ErrUnexpectedEOF 16030 } 16031 b := dAtA[iNdEx] 16032 iNdEx++ 16033 wire |= uint64(b&0x7F) << shift 16034 if b < 0x80 { 16035 break 16036 } 16037 } 16038 fieldNum := int32(wire >> 3) 16039 if fieldNum == 1 { 16040 for shift := uint(0); ; shift += 7 { 16041 if shift >= 64 { 16042 return ErrIntOverflowTypes 16043 } 16044 if iNdEx >= l { 16045 return io.ErrUnexpectedEOF 16046 } 16047 b := dAtA[iNdEx] 16048 iNdEx++ 16049 mapkey |= int32(b&0x7F) << shift 16050 if b < 0x80 { 16051 break 16052 } 16053 } 16054 } else if fieldNum == 2 { 16055 var mapmsglen int 16056 for shift := uint(0); ; shift += 7 { 16057 if shift >= 64 { 16058 return ErrIntOverflowTypes 16059 } 16060 if iNdEx >= l { 16061 return io.ErrUnexpectedEOF 16062 } 16063 b := dAtA[iNdEx] 16064 iNdEx++ 16065 mapmsglen |= int(b&0x7F) << shift 16066 if b < 0x80 { 16067 break 16068 } 16069 } 16070 if mapmsglen < 0 { 16071 return ErrInvalidLengthTypes 16072 } 16073 postmsgIndex := iNdEx + mapmsglen 16074 if postmsgIndex < 0 { 16075 return ErrInvalidLengthTypes 16076 } 16077 if postmsgIndex > l { 16078 return io.ErrUnexpectedEOF 16079 } 16080 if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16081 return err 16082 } 16083 iNdEx = postmsgIndex 16084 } else { 16085 iNdEx = entryPreIndex 16086 skippy, err := skipTypes(dAtA[iNdEx:]) 16087 if err != nil { 16088 return err 16089 } 16090 if (skippy < 0) || (iNdEx+skippy) < 0 { 16091 return ErrInvalidLengthTypes 16092 } 16093 if (iNdEx + skippy) > postIndex { 16094 return io.ErrUnexpectedEOF 16095 } 16096 iNdEx += skippy 16097 } 16098 } 16099 m.NonnullInt64[mapkey] = ((int64)(*mapvalue)) 16100 iNdEx = postIndex 16101 case 11: 16102 if wireType != 2 { 16103 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) 16104 } 16105 var msglen int 16106 for shift := uint(0); ; shift += 7 { 16107 if shift >= 64 { 16108 return ErrIntOverflowTypes 16109 } 16110 if iNdEx >= l { 16111 return io.ErrUnexpectedEOF 16112 } 16113 b := dAtA[iNdEx] 16114 iNdEx++ 16115 msglen |= int(b&0x7F) << shift 16116 if b < 0x80 { 16117 break 16118 } 16119 } 16120 if msglen < 0 { 16121 return ErrInvalidLengthTypes 16122 } 16123 postIndex := iNdEx + msglen 16124 if postIndex < 0 { 16125 return ErrInvalidLengthTypes 16126 } 16127 if postIndex > l { 16128 return io.ErrUnexpectedEOF 16129 } 16130 if m.NullableUInt64 == nil { 16131 m.NullableUInt64 = make(map[int32]*uint64) 16132 } 16133 var mapkey int32 16134 mapvalue := new(uint64) 16135 for iNdEx < postIndex { 16136 entryPreIndex := iNdEx 16137 var wire uint64 16138 for shift := uint(0); ; shift += 7 { 16139 if shift >= 64 { 16140 return ErrIntOverflowTypes 16141 } 16142 if iNdEx >= l { 16143 return io.ErrUnexpectedEOF 16144 } 16145 b := dAtA[iNdEx] 16146 iNdEx++ 16147 wire |= uint64(b&0x7F) << shift 16148 if b < 0x80 { 16149 break 16150 } 16151 } 16152 fieldNum := int32(wire >> 3) 16153 if fieldNum == 1 { 16154 for shift := uint(0); ; shift += 7 { 16155 if shift >= 64 { 16156 return ErrIntOverflowTypes 16157 } 16158 if iNdEx >= l { 16159 return io.ErrUnexpectedEOF 16160 } 16161 b := dAtA[iNdEx] 16162 iNdEx++ 16163 mapkey |= int32(b&0x7F) << shift 16164 if b < 0x80 { 16165 break 16166 } 16167 } 16168 } else if fieldNum == 2 { 16169 var mapmsglen int 16170 for shift := uint(0); ; shift += 7 { 16171 if shift >= 64 { 16172 return ErrIntOverflowTypes 16173 } 16174 if iNdEx >= l { 16175 return io.ErrUnexpectedEOF 16176 } 16177 b := dAtA[iNdEx] 16178 iNdEx++ 16179 mapmsglen |= int(b&0x7F) << shift 16180 if b < 0x80 { 16181 break 16182 } 16183 } 16184 if mapmsglen < 0 { 16185 return ErrInvalidLengthTypes 16186 } 16187 postmsgIndex := iNdEx + mapmsglen 16188 if postmsgIndex < 0 { 16189 return ErrInvalidLengthTypes 16190 } 16191 if postmsgIndex > l { 16192 return io.ErrUnexpectedEOF 16193 } 16194 if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16195 return err 16196 } 16197 iNdEx = postmsgIndex 16198 } else { 16199 iNdEx = entryPreIndex 16200 skippy, err := skipTypes(dAtA[iNdEx:]) 16201 if err != nil { 16202 return err 16203 } 16204 if (skippy < 0) || (iNdEx+skippy) < 0 { 16205 return ErrInvalidLengthTypes 16206 } 16207 if (iNdEx + skippy) > postIndex { 16208 return io.ErrUnexpectedEOF 16209 } 16210 iNdEx += skippy 16211 } 16212 } 16213 m.NullableUInt64[mapkey] = ((*uint64)(mapvalue)) 16214 iNdEx = postIndex 16215 case 12: 16216 if wireType != 2 { 16217 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) 16218 } 16219 var msglen int 16220 for shift := uint(0); ; shift += 7 { 16221 if shift >= 64 { 16222 return ErrIntOverflowTypes 16223 } 16224 if iNdEx >= l { 16225 return io.ErrUnexpectedEOF 16226 } 16227 b := dAtA[iNdEx] 16228 iNdEx++ 16229 msglen |= int(b&0x7F) << shift 16230 if b < 0x80 { 16231 break 16232 } 16233 } 16234 if msglen < 0 { 16235 return ErrInvalidLengthTypes 16236 } 16237 postIndex := iNdEx + msglen 16238 if postIndex < 0 { 16239 return ErrInvalidLengthTypes 16240 } 16241 if postIndex > l { 16242 return io.ErrUnexpectedEOF 16243 } 16244 if m.NonnullUInt64 == nil { 16245 m.NonnullUInt64 = make(map[int32]uint64) 16246 } 16247 var mapkey int32 16248 mapvalue := new(uint64) 16249 for iNdEx < postIndex { 16250 entryPreIndex := iNdEx 16251 var wire uint64 16252 for shift := uint(0); ; shift += 7 { 16253 if shift >= 64 { 16254 return ErrIntOverflowTypes 16255 } 16256 if iNdEx >= l { 16257 return io.ErrUnexpectedEOF 16258 } 16259 b := dAtA[iNdEx] 16260 iNdEx++ 16261 wire |= uint64(b&0x7F) << shift 16262 if b < 0x80 { 16263 break 16264 } 16265 } 16266 fieldNum := int32(wire >> 3) 16267 if fieldNum == 1 { 16268 for shift := uint(0); ; shift += 7 { 16269 if shift >= 64 { 16270 return ErrIntOverflowTypes 16271 } 16272 if iNdEx >= l { 16273 return io.ErrUnexpectedEOF 16274 } 16275 b := dAtA[iNdEx] 16276 iNdEx++ 16277 mapkey |= int32(b&0x7F) << shift 16278 if b < 0x80 { 16279 break 16280 } 16281 } 16282 } else if fieldNum == 2 { 16283 var mapmsglen int 16284 for shift := uint(0); ; shift += 7 { 16285 if shift >= 64 { 16286 return ErrIntOverflowTypes 16287 } 16288 if iNdEx >= l { 16289 return io.ErrUnexpectedEOF 16290 } 16291 b := dAtA[iNdEx] 16292 iNdEx++ 16293 mapmsglen |= int(b&0x7F) << shift 16294 if b < 0x80 { 16295 break 16296 } 16297 } 16298 if mapmsglen < 0 { 16299 return ErrInvalidLengthTypes 16300 } 16301 postmsgIndex := iNdEx + mapmsglen 16302 if postmsgIndex < 0 { 16303 return ErrInvalidLengthTypes 16304 } 16305 if postmsgIndex > l { 16306 return io.ErrUnexpectedEOF 16307 } 16308 if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16309 return err 16310 } 16311 iNdEx = postmsgIndex 16312 } else { 16313 iNdEx = entryPreIndex 16314 skippy, err := skipTypes(dAtA[iNdEx:]) 16315 if err != nil { 16316 return err 16317 } 16318 if (skippy < 0) || (iNdEx+skippy) < 0 { 16319 return ErrInvalidLengthTypes 16320 } 16321 if (iNdEx + skippy) > postIndex { 16322 return io.ErrUnexpectedEOF 16323 } 16324 iNdEx += skippy 16325 } 16326 } 16327 m.NonnullUInt64[mapkey] = ((uint64)(*mapvalue)) 16328 iNdEx = postIndex 16329 case 13: 16330 if wireType != 2 { 16331 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) 16332 } 16333 var msglen int 16334 for shift := uint(0); ; shift += 7 { 16335 if shift >= 64 { 16336 return ErrIntOverflowTypes 16337 } 16338 if iNdEx >= l { 16339 return io.ErrUnexpectedEOF 16340 } 16341 b := dAtA[iNdEx] 16342 iNdEx++ 16343 msglen |= int(b&0x7F) << shift 16344 if b < 0x80 { 16345 break 16346 } 16347 } 16348 if msglen < 0 { 16349 return ErrInvalidLengthTypes 16350 } 16351 postIndex := iNdEx + msglen 16352 if postIndex < 0 { 16353 return ErrInvalidLengthTypes 16354 } 16355 if postIndex > l { 16356 return io.ErrUnexpectedEOF 16357 } 16358 if m.NullableInt32 == nil { 16359 m.NullableInt32 = make(map[int32]*int32) 16360 } 16361 var mapkey int32 16362 mapvalue := new(int32) 16363 for iNdEx < postIndex { 16364 entryPreIndex := iNdEx 16365 var wire uint64 16366 for shift := uint(0); ; shift += 7 { 16367 if shift >= 64 { 16368 return ErrIntOverflowTypes 16369 } 16370 if iNdEx >= l { 16371 return io.ErrUnexpectedEOF 16372 } 16373 b := dAtA[iNdEx] 16374 iNdEx++ 16375 wire |= uint64(b&0x7F) << shift 16376 if b < 0x80 { 16377 break 16378 } 16379 } 16380 fieldNum := int32(wire >> 3) 16381 if fieldNum == 1 { 16382 for shift := uint(0); ; shift += 7 { 16383 if shift >= 64 { 16384 return ErrIntOverflowTypes 16385 } 16386 if iNdEx >= l { 16387 return io.ErrUnexpectedEOF 16388 } 16389 b := dAtA[iNdEx] 16390 iNdEx++ 16391 mapkey |= int32(b&0x7F) << shift 16392 if b < 0x80 { 16393 break 16394 } 16395 } 16396 } else if fieldNum == 2 { 16397 var mapmsglen int 16398 for shift := uint(0); ; shift += 7 { 16399 if shift >= 64 { 16400 return ErrIntOverflowTypes 16401 } 16402 if iNdEx >= l { 16403 return io.ErrUnexpectedEOF 16404 } 16405 b := dAtA[iNdEx] 16406 iNdEx++ 16407 mapmsglen |= int(b&0x7F) << shift 16408 if b < 0x80 { 16409 break 16410 } 16411 } 16412 if mapmsglen < 0 { 16413 return ErrInvalidLengthTypes 16414 } 16415 postmsgIndex := iNdEx + mapmsglen 16416 if postmsgIndex < 0 { 16417 return ErrInvalidLengthTypes 16418 } 16419 if postmsgIndex > l { 16420 return io.ErrUnexpectedEOF 16421 } 16422 if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16423 return err 16424 } 16425 iNdEx = postmsgIndex 16426 } else { 16427 iNdEx = entryPreIndex 16428 skippy, err := skipTypes(dAtA[iNdEx:]) 16429 if err != nil { 16430 return err 16431 } 16432 if (skippy < 0) || (iNdEx+skippy) < 0 { 16433 return ErrInvalidLengthTypes 16434 } 16435 if (iNdEx + skippy) > postIndex { 16436 return io.ErrUnexpectedEOF 16437 } 16438 iNdEx += skippy 16439 } 16440 } 16441 m.NullableInt32[mapkey] = ((*int32)(mapvalue)) 16442 iNdEx = postIndex 16443 case 14: 16444 if wireType != 2 { 16445 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) 16446 } 16447 var msglen int 16448 for shift := uint(0); ; shift += 7 { 16449 if shift >= 64 { 16450 return ErrIntOverflowTypes 16451 } 16452 if iNdEx >= l { 16453 return io.ErrUnexpectedEOF 16454 } 16455 b := dAtA[iNdEx] 16456 iNdEx++ 16457 msglen |= int(b&0x7F) << shift 16458 if b < 0x80 { 16459 break 16460 } 16461 } 16462 if msglen < 0 { 16463 return ErrInvalidLengthTypes 16464 } 16465 postIndex := iNdEx + msglen 16466 if postIndex < 0 { 16467 return ErrInvalidLengthTypes 16468 } 16469 if postIndex > l { 16470 return io.ErrUnexpectedEOF 16471 } 16472 if m.NonnullInt32 == nil { 16473 m.NonnullInt32 = make(map[int32]int32) 16474 } 16475 var mapkey int32 16476 mapvalue := new(int32) 16477 for iNdEx < postIndex { 16478 entryPreIndex := iNdEx 16479 var wire uint64 16480 for shift := uint(0); ; shift += 7 { 16481 if shift >= 64 { 16482 return ErrIntOverflowTypes 16483 } 16484 if iNdEx >= l { 16485 return io.ErrUnexpectedEOF 16486 } 16487 b := dAtA[iNdEx] 16488 iNdEx++ 16489 wire |= uint64(b&0x7F) << shift 16490 if b < 0x80 { 16491 break 16492 } 16493 } 16494 fieldNum := int32(wire >> 3) 16495 if fieldNum == 1 { 16496 for shift := uint(0); ; shift += 7 { 16497 if shift >= 64 { 16498 return ErrIntOverflowTypes 16499 } 16500 if iNdEx >= l { 16501 return io.ErrUnexpectedEOF 16502 } 16503 b := dAtA[iNdEx] 16504 iNdEx++ 16505 mapkey |= int32(b&0x7F) << shift 16506 if b < 0x80 { 16507 break 16508 } 16509 } 16510 } else if fieldNum == 2 { 16511 var mapmsglen int 16512 for shift := uint(0); ; shift += 7 { 16513 if shift >= 64 { 16514 return ErrIntOverflowTypes 16515 } 16516 if iNdEx >= l { 16517 return io.ErrUnexpectedEOF 16518 } 16519 b := dAtA[iNdEx] 16520 iNdEx++ 16521 mapmsglen |= int(b&0x7F) << shift 16522 if b < 0x80 { 16523 break 16524 } 16525 } 16526 if mapmsglen < 0 { 16527 return ErrInvalidLengthTypes 16528 } 16529 postmsgIndex := iNdEx + mapmsglen 16530 if postmsgIndex < 0 { 16531 return ErrInvalidLengthTypes 16532 } 16533 if postmsgIndex > l { 16534 return io.ErrUnexpectedEOF 16535 } 16536 if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16537 return err 16538 } 16539 iNdEx = postmsgIndex 16540 } else { 16541 iNdEx = entryPreIndex 16542 skippy, err := skipTypes(dAtA[iNdEx:]) 16543 if err != nil { 16544 return err 16545 } 16546 if (skippy < 0) || (iNdEx+skippy) < 0 { 16547 return ErrInvalidLengthTypes 16548 } 16549 if (iNdEx + skippy) > postIndex { 16550 return io.ErrUnexpectedEOF 16551 } 16552 iNdEx += skippy 16553 } 16554 } 16555 m.NonnullInt32[mapkey] = ((int32)(*mapvalue)) 16556 iNdEx = postIndex 16557 case 15: 16558 if wireType != 2 { 16559 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) 16560 } 16561 var msglen int 16562 for shift := uint(0); ; shift += 7 { 16563 if shift >= 64 { 16564 return ErrIntOverflowTypes 16565 } 16566 if iNdEx >= l { 16567 return io.ErrUnexpectedEOF 16568 } 16569 b := dAtA[iNdEx] 16570 iNdEx++ 16571 msglen |= int(b&0x7F) << shift 16572 if b < 0x80 { 16573 break 16574 } 16575 } 16576 if msglen < 0 { 16577 return ErrInvalidLengthTypes 16578 } 16579 postIndex := iNdEx + msglen 16580 if postIndex < 0 { 16581 return ErrInvalidLengthTypes 16582 } 16583 if postIndex > l { 16584 return io.ErrUnexpectedEOF 16585 } 16586 if m.NullableUInt32 == nil { 16587 m.NullableUInt32 = make(map[int32]*uint32) 16588 } 16589 var mapkey int32 16590 mapvalue := new(uint32) 16591 for iNdEx < postIndex { 16592 entryPreIndex := iNdEx 16593 var wire uint64 16594 for shift := uint(0); ; shift += 7 { 16595 if shift >= 64 { 16596 return ErrIntOverflowTypes 16597 } 16598 if iNdEx >= l { 16599 return io.ErrUnexpectedEOF 16600 } 16601 b := dAtA[iNdEx] 16602 iNdEx++ 16603 wire |= uint64(b&0x7F) << shift 16604 if b < 0x80 { 16605 break 16606 } 16607 } 16608 fieldNum := int32(wire >> 3) 16609 if fieldNum == 1 { 16610 for shift := uint(0); ; shift += 7 { 16611 if shift >= 64 { 16612 return ErrIntOverflowTypes 16613 } 16614 if iNdEx >= l { 16615 return io.ErrUnexpectedEOF 16616 } 16617 b := dAtA[iNdEx] 16618 iNdEx++ 16619 mapkey |= int32(b&0x7F) << shift 16620 if b < 0x80 { 16621 break 16622 } 16623 } 16624 } else if fieldNum == 2 { 16625 var mapmsglen int 16626 for shift := uint(0); ; shift += 7 { 16627 if shift >= 64 { 16628 return ErrIntOverflowTypes 16629 } 16630 if iNdEx >= l { 16631 return io.ErrUnexpectedEOF 16632 } 16633 b := dAtA[iNdEx] 16634 iNdEx++ 16635 mapmsglen |= int(b&0x7F) << shift 16636 if b < 0x80 { 16637 break 16638 } 16639 } 16640 if mapmsglen < 0 { 16641 return ErrInvalidLengthTypes 16642 } 16643 postmsgIndex := iNdEx + mapmsglen 16644 if postmsgIndex < 0 { 16645 return ErrInvalidLengthTypes 16646 } 16647 if postmsgIndex > l { 16648 return io.ErrUnexpectedEOF 16649 } 16650 if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16651 return err 16652 } 16653 iNdEx = postmsgIndex 16654 } else { 16655 iNdEx = entryPreIndex 16656 skippy, err := skipTypes(dAtA[iNdEx:]) 16657 if err != nil { 16658 return err 16659 } 16660 if (skippy < 0) || (iNdEx+skippy) < 0 { 16661 return ErrInvalidLengthTypes 16662 } 16663 if (iNdEx + skippy) > postIndex { 16664 return io.ErrUnexpectedEOF 16665 } 16666 iNdEx += skippy 16667 } 16668 } 16669 m.NullableUInt32[mapkey] = ((*uint32)(mapvalue)) 16670 iNdEx = postIndex 16671 case 16: 16672 if wireType != 2 { 16673 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) 16674 } 16675 var msglen int 16676 for shift := uint(0); ; shift += 7 { 16677 if shift >= 64 { 16678 return ErrIntOverflowTypes 16679 } 16680 if iNdEx >= l { 16681 return io.ErrUnexpectedEOF 16682 } 16683 b := dAtA[iNdEx] 16684 iNdEx++ 16685 msglen |= int(b&0x7F) << shift 16686 if b < 0x80 { 16687 break 16688 } 16689 } 16690 if msglen < 0 { 16691 return ErrInvalidLengthTypes 16692 } 16693 postIndex := iNdEx + msglen 16694 if postIndex < 0 { 16695 return ErrInvalidLengthTypes 16696 } 16697 if postIndex > l { 16698 return io.ErrUnexpectedEOF 16699 } 16700 if m.NonnullUInt32 == nil { 16701 m.NonnullUInt32 = make(map[int32]uint32) 16702 } 16703 var mapkey int32 16704 mapvalue := new(uint32) 16705 for iNdEx < postIndex { 16706 entryPreIndex := iNdEx 16707 var wire uint64 16708 for shift := uint(0); ; shift += 7 { 16709 if shift >= 64 { 16710 return ErrIntOverflowTypes 16711 } 16712 if iNdEx >= l { 16713 return io.ErrUnexpectedEOF 16714 } 16715 b := dAtA[iNdEx] 16716 iNdEx++ 16717 wire |= uint64(b&0x7F) << shift 16718 if b < 0x80 { 16719 break 16720 } 16721 } 16722 fieldNum := int32(wire >> 3) 16723 if fieldNum == 1 { 16724 for shift := uint(0); ; shift += 7 { 16725 if shift >= 64 { 16726 return ErrIntOverflowTypes 16727 } 16728 if iNdEx >= l { 16729 return io.ErrUnexpectedEOF 16730 } 16731 b := dAtA[iNdEx] 16732 iNdEx++ 16733 mapkey |= int32(b&0x7F) << shift 16734 if b < 0x80 { 16735 break 16736 } 16737 } 16738 } else if fieldNum == 2 { 16739 var mapmsglen int 16740 for shift := uint(0); ; shift += 7 { 16741 if shift >= 64 { 16742 return ErrIntOverflowTypes 16743 } 16744 if iNdEx >= l { 16745 return io.ErrUnexpectedEOF 16746 } 16747 b := dAtA[iNdEx] 16748 iNdEx++ 16749 mapmsglen |= int(b&0x7F) << shift 16750 if b < 0x80 { 16751 break 16752 } 16753 } 16754 if mapmsglen < 0 { 16755 return ErrInvalidLengthTypes 16756 } 16757 postmsgIndex := iNdEx + mapmsglen 16758 if postmsgIndex < 0 { 16759 return ErrInvalidLengthTypes 16760 } 16761 if postmsgIndex > l { 16762 return io.ErrUnexpectedEOF 16763 } 16764 if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16765 return err 16766 } 16767 iNdEx = postmsgIndex 16768 } else { 16769 iNdEx = entryPreIndex 16770 skippy, err := skipTypes(dAtA[iNdEx:]) 16771 if err != nil { 16772 return err 16773 } 16774 if (skippy < 0) || (iNdEx+skippy) < 0 { 16775 return ErrInvalidLengthTypes 16776 } 16777 if (iNdEx + skippy) > postIndex { 16778 return io.ErrUnexpectedEOF 16779 } 16780 iNdEx += skippy 16781 } 16782 } 16783 m.NonnullUInt32[mapkey] = ((uint32)(*mapvalue)) 16784 iNdEx = postIndex 16785 case 17: 16786 if wireType != 2 { 16787 return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) 16788 } 16789 var msglen int 16790 for shift := uint(0); ; shift += 7 { 16791 if shift >= 64 { 16792 return ErrIntOverflowTypes 16793 } 16794 if iNdEx >= l { 16795 return io.ErrUnexpectedEOF 16796 } 16797 b := dAtA[iNdEx] 16798 iNdEx++ 16799 msglen |= int(b&0x7F) << shift 16800 if b < 0x80 { 16801 break 16802 } 16803 } 16804 if msglen < 0 { 16805 return ErrInvalidLengthTypes 16806 } 16807 postIndex := iNdEx + msglen 16808 if postIndex < 0 { 16809 return ErrInvalidLengthTypes 16810 } 16811 if postIndex > l { 16812 return io.ErrUnexpectedEOF 16813 } 16814 if m.NullableBool == nil { 16815 m.NullableBool = make(map[int32]*bool) 16816 } 16817 var mapkey int32 16818 mapvalue := new(bool) 16819 for iNdEx < postIndex { 16820 entryPreIndex := iNdEx 16821 var wire uint64 16822 for shift := uint(0); ; shift += 7 { 16823 if shift >= 64 { 16824 return ErrIntOverflowTypes 16825 } 16826 if iNdEx >= l { 16827 return io.ErrUnexpectedEOF 16828 } 16829 b := dAtA[iNdEx] 16830 iNdEx++ 16831 wire |= uint64(b&0x7F) << shift 16832 if b < 0x80 { 16833 break 16834 } 16835 } 16836 fieldNum := int32(wire >> 3) 16837 if fieldNum == 1 { 16838 for shift := uint(0); ; shift += 7 { 16839 if shift >= 64 { 16840 return ErrIntOverflowTypes 16841 } 16842 if iNdEx >= l { 16843 return io.ErrUnexpectedEOF 16844 } 16845 b := dAtA[iNdEx] 16846 iNdEx++ 16847 mapkey |= int32(b&0x7F) << shift 16848 if b < 0x80 { 16849 break 16850 } 16851 } 16852 } else if fieldNum == 2 { 16853 var mapmsglen int 16854 for shift := uint(0); ; shift += 7 { 16855 if shift >= 64 { 16856 return ErrIntOverflowTypes 16857 } 16858 if iNdEx >= l { 16859 return io.ErrUnexpectedEOF 16860 } 16861 b := dAtA[iNdEx] 16862 iNdEx++ 16863 mapmsglen |= int(b&0x7F) << shift 16864 if b < 0x80 { 16865 break 16866 } 16867 } 16868 if mapmsglen < 0 { 16869 return ErrInvalidLengthTypes 16870 } 16871 postmsgIndex := iNdEx + mapmsglen 16872 if postmsgIndex < 0 { 16873 return ErrInvalidLengthTypes 16874 } 16875 if postmsgIndex > l { 16876 return io.ErrUnexpectedEOF 16877 } 16878 if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16879 return err 16880 } 16881 iNdEx = postmsgIndex 16882 } else { 16883 iNdEx = entryPreIndex 16884 skippy, err := skipTypes(dAtA[iNdEx:]) 16885 if err != nil { 16886 return err 16887 } 16888 if (skippy < 0) || (iNdEx+skippy) < 0 { 16889 return ErrInvalidLengthTypes 16890 } 16891 if (iNdEx + skippy) > postIndex { 16892 return io.ErrUnexpectedEOF 16893 } 16894 iNdEx += skippy 16895 } 16896 } 16897 m.NullableBool[mapkey] = ((*bool)(mapvalue)) 16898 iNdEx = postIndex 16899 case 18: 16900 if wireType != 2 { 16901 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) 16902 } 16903 var msglen int 16904 for shift := uint(0); ; shift += 7 { 16905 if shift >= 64 { 16906 return ErrIntOverflowTypes 16907 } 16908 if iNdEx >= l { 16909 return io.ErrUnexpectedEOF 16910 } 16911 b := dAtA[iNdEx] 16912 iNdEx++ 16913 msglen |= int(b&0x7F) << shift 16914 if b < 0x80 { 16915 break 16916 } 16917 } 16918 if msglen < 0 { 16919 return ErrInvalidLengthTypes 16920 } 16921 postIndex := iNdEx + msglen 16922 if postIndex < 0 { 16923 return ErrInvalidLengthTypes 16924 } 16925 if postIndex > l { 16926 return io.ErrUnexpectedEOF 16927 } 16928 if m.NonnullBool == nil { 16929 m.NonnullBool = make(map[int32]bool) 16930 } 16931 var mapkey int32 16932 mapvalue := new(bool) 16933 for iNdEx < postIndex { 16934 entryPreIndex := iNdEx 16935 var wire uint64 16936 for shift := uint(0); ; shift += 7 { 16937 if shift >= 64 { 16938 return ErrIntOverflowTypes 16939 } 16940 if iNdEx >= l { 16941 return io.ErrUnexpectedEOF 16942 } 16943 b := dAtA[iNdEx] 16944 iNdEx++ 16945 wire |= uint64(b&0x7F) << shift 16946 if b < 0x80 { 16947 break 16948 } 16949 } 16950 fieldNum := int32(wire >> 3) 16951 if fieldNum == 1 { 16952 for shift := uint(0); ; shift += 7 { 16953 if shift >= 64 { 16954 return ErrIntOverflowTypes 16955 } 16956 if iNdEx >= l { 16957 return io.ErrUnexpectedEOF 16958 } 16959 b := dAtA[iNdEx] 16960 iNdEx++ 16961 mapkey |= int32(b&0x7F) << shift 16962 if b < 0x80 { 16963 break 16964 } 16965 } 16966 } else if fieldNum == 2 { 16967 var mapmsglen int 16968 for shift := uint(0); ; shift += 7 { 16969 if shift >= 64 { 16970 return ErrIntOverflowTypes 16971 } 16972 if iNdEx >= l { 16973 return io.ErrUnexpectedEOF 16974 } 16975 b := dAtA[iNdEx] 16976 iNdEx++ 16977 mapmsglen |= int(b&0x7F) << shift 16978 if b < 0x80 { 16979 break 16980 } 16981 } 16982 if mapmsglen < 0 { 16983 return ErrInvalidLengthTypes 16984 } 16985 postmsgIndex := iNdEx + mapmsglen 16986 if postmsgIndex < 0 { 16987 return ErrInvalidLengthTypes 16988 } 16989 if postmsgIndex > l { 16990 return io.ErrUnexpectedEOF 16991 } 16992 if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16993 return err 16994 } 16995 iNdEx = postmsgIndex 16996 } else { 16997 iNdEx = entryPreIndex 16998 skippy, err := skipTypes(dAtA[iNdEx:]) 16999 if err != nil { 17000 return err 17001 } 17002 if (skippy < 0) || (iNdEx+skippy) < 0 { 17003 return ErrInvalidLengthTypes 17004 } 17005 if (iNdEx + skippy) > postIndex { 17006 return io.ErrUnexpectedEOF 17007 } 17008 iNdEx += skippy 17009 } 17010 } 17011 m.NonnullBool[mapkey] = ((bool)(*mapvalue)) 17012 iNdEx = postIndex 17013 case 19: 17014 if wireType != 2 { 17015 return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) 17016 } 17017 var msglen int 17018 for shift := uint(0); ; shift += 7 { 17019 if shift >= 64 { 17020 return ErrIntOverflowTypes 17021 } 17022 if iNdEx >= l { 17023 return io.ErrUnexpectedEOF 17024 } 17025 b := dAtA[iNdEx] 17026 iNdEx++ 17027 msglen |= int(b&0x7F) << shift 17028 if b < 0x80 { 17029 break 17030 } 17031 } 17032 if msglen < 0 { 17033 return ErrInvalidLengthTypes 17034 } 17035 postIndex := iNdEx + msglen 17036 if postIndex < 0 { 17037 return ErrInvalidLengthTypes 17038 } 17039 if postIndex > l { 17040 return io.ErrUnexpectedEOF 17041 } 17042 if m.NullableString == nil { 17043 m.NullableString = make(map[int32]*string) 17044 } 17045 var mapkey int32 17046 mapvalue := new(string) 17047 for iNdEx < postIndex { 17048 entryPreIndex := iNdEx 17049 var wire uint64 17050 for shift := uint(0); ; shift += 7 { 17051 if shift >= 64 { 17052 return ErrIntOverflowTypes 17053 } 17054 if iNdEx >= l { 17055 return io.ErrUnexpectedEOF 17056 } 17057 b := dAtA[iNdEx] 17058 iNdEx++ 17059 wire |= uint64(b&0x7F) << shift 17060 if b < 0x80 { 17061 break 17062 } 17063 } 17064 fieldNum := int32(wire >> 3) 17065 if fieldNum == 1 { 17066 for shift := uint(0); ; shift += 7 { 17067 if shift >= 64 { 17068 return ErrIntOverflowTypes 17069 } 17070 if iNdEx >= l { 17071 return io.ErrUnexpectedEOF 17072 } 17073 b := dAtA[iNdEx] 17074 iNdEx++ 17075 mapkey |= int32(b&0x7F) << shift 17076 if b < 0x80 { 17077 break 17078 } 17079 } 17080 } else if fieldNum == 2 { 17081 var mapmsglen int 17082 for shift := uint(0); ; shift += 7 { 17083 if shift >= 64 { 17084 return ErrIntOverflowTypes 17085 } 17086 if iNdEx >= l { 17087 return io.ErrUnexpectedEOF 17088 } 17089 b := dAtA[iNdEx] 17090 iNdEx++ 17091 mapmsglen |= int(b&0x7F) << shift 17092 if b < 0x80 { 17093 break 17094 } 17095 } 17096 if mapmsglen < 0 { 17097 return ErrInvalidLengthTypes 17098 } 17099 postmsgIndex := iNdEx + mapmsglen 17100 if postmsgIndex < 0 { 17101 return ErrInvalidLengthTypes 17102 } 17103 if postmsgIndex > l { 17104 return io.ErrUnexpectedEOF 17105 } 17106 if err := github_com_gogo_protobuf_types.StdStringUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 17107 return err 17108 } 17109 iNdEx = postmsgIndex 17110 } else { 17111 iNdEx = entryPreIndex 17112 skippy, err := skipTypes(dAtA[iNdEx:]) 17113 if err != nil { 17114 return err 17115 } 17116 if (skippy < 0) || (iNdEx+skippy) < 0 { 17117 return ErrInvalidLengthTypes 17118 } 17119 if (iNdEx + skippy) > postIndex { 17120 return io.ErrUnexpectedEOF 17121 } 17122 iNdEx += skippy 17123 } 17124 } 17125 m.NullableString[mapkey] = ((*string)(mapvalue)) 17126 iNdEx = postIndex 17127 case 20: 17128 if wireType != 2 { 17129 return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) 17130 } 17131 var msglen int 17132 for shift := uint(0); ; shift += 7 { 17133 if shift >= 64 { 17134 return ErrIntOverflowTypes 17135 } 17136 if iNdEx >= l { 17137 return io.ErrUnexpectedEOF 17138 } 17139 b := dAtA[iNdEx] 17140 iNdEx++ 17141 msglen |= int(b&0x7F) << shift 17142 if b < 0x80 { 17143 break 17144 } 17145 } 17146 if msglen < 0 { 17147 return ErrInvalidLengthTypes 17148 } 17149 postIndex := iNdEx + msglen 17150 if postIndex < 0 { 17151 return ErrInvalidLengthTypes 17152 } 17153 if postIndex > l { 17154 return io.ErrUnexpectedEOF 17155 } 17156 if m.NonnullString == nil { 17157 m.NonnullString = make(map[int32]string) 17158 } 17159 var mapkey int32 17160 mapvalue := new(string) 17161 for iNdEx < postIndex { 17162 entryPreIndex := iNdEx 17163 var wire uint64 17164 for shift := uint(0); ; shift += 7 { 17165 if shift >= 64 { 17166 return ErrIntOverflowTypes 17167 } 17168 if iNdEx >= l { 17169 return io.ErrUnexpectedEOF 17170 } 17171 b := dAtA[iNdEx] 17172 iNdEx++ 17173 wire |= uint64(b&0x7F) << shift 17174 if b < 0x80 { 17175 break 17176 } 17177 } 17178 fieldNum := int32(wire >> 3) 17179 if fieldNum == 1 { 17180 for shift := uint(0); ; shift += 7 { 17181 if shift >= 64 { 17182 return ErrIntOverflowTypes 17183 } 17184 if iNdEx >= l { 17185 return io.ErrUnexpectedEOF 17186 } 17187 b := dAtA[iNdEx] 17188 iNdEx++ 17189 mapkey |= int32(b&0x7F) << shift 17190 if b < 0x80 { 17191 break 17192 } 17193 } 17194 } else if fieldNum == 2 { 17195 var mapmsglen int 17196 for shift := uint(0); ; shift += 7 { 17197 if shift >= 64 { 17198 return ErrIntOverflowTypes 17199 } 17200 if iNdEx >= l { 17201 return io.ErrUnexpectedEOF 17202 } 17203 b := dAtA[iNdEx] 17204 iNdEx++ 17205 mapmsglen |= int(b&0x7F) << shift 17206 if b < 0x80 { 17207 break 17208 } 17209 } 17210 if mapmsglen < 0 { 17211 return ErrInvalidLengthTypes 17212 } 17213 postmsgIndex := iNdEx + mapmsglen 17214 if postmsgIndex < 0 { 17215 return ErrInvalidLengthTypes 17216 } 17217 if postmsgIndex > l { 17218 return io.ErrUnexpectedEOF 17219 } 17220 if err := github_com_gogo_protobuf_types.StdStringUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 17221 return err 17222 } 17223 iNdEx = postmsgIndex 17224 } else { 17225 iNdEx = entryPreIndex 17226 skippy, err := skipTypes(dAtA[iNdEx:]) 17227 if err != nil { 17228 return err 17229 } 17230 if (skippy < 0) || (iNdEx+skippy) < 0 { 17231 return ErrInvalidLengthTypes 17232 } 17233 if (iNdEx + skippy) > postIndex { 17234 return io.ErrUnexpectedEOF 17235 } 17236 iNdEx += skippy 17237 } 17238 } 17239 m.NonnullString[mapkey] = ((string)(*mapvalue)) 17240 iNdEx = postIndex 17241 case 21: 17242 if wireType != 2 { 17243 return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) 17244 } 17245 var msglen int 17246 for shift := uint(0); ; shift += 7 { 17247 if shift >= 64 { 17248 return ErrIntOverflowTypes 17249 } 17250 if iNdEx >= l { 17251 return io.ErrUnexpectedEOF 17252 } 17253 b := dAtA[iNdEx] 17254 iNdEx++ 17255 msglen |= int(b&0x7F) << shift 17256 if b < 0x80 { 17257 break 17258 } 17259 } 17260 if msglen < 0 { 17261 return ErrInvalidLengthTypes 17262 } 17263 postIndex := iNdEx + msglen 17264 if postIndex < 0 { 17265 return ErrInvalidLengthTypes 17266 } 17267 if postIndex > l { 17268 return io.ErrUnexpectedEOF 17269 } 17270 if m.NullableBytes == nil { 17271 m.NullableBytes = make(map[int32]*[]byte) 17272 } 17273 var mapkey int32 17274 mapvalue := new([]byte) 17275 for iNdEx < postIndex { 17276 entryPreIndex := iNdEx 17277 var wire uint64 17278 for shift := uint(0); ; shift += 7 { 17279 if shift >= 64 { 17280 return ErrIntOverflowTypes 17281 } 17282 if iNdEx >= l { 17283 return io.ErrUnexpectedEOF 17284 } 17285 b := dAtA[iNdEx] 17286 iNdEx++ 17287 wire |= uint64(b&0x7F) << shift 17288 if b < 0x80 { 17289 break 17290 } 17291 } 17292 fieldNum := int32(wire >> 3) 17293 if fieldNum == 1 { 17294 for shift := uint(0); ; shift += 7 { 17295 if shift >= 64 { 17296 return ErrIntOverflowTypes 17297 } 17298 if iNdEx >= l { 17299 return io.ErrUnexpectedEOF 17300 } 17301 b := dAtA[iNdEx] 17302 iNdEx++ 17303 mapkey |= int32(b&0x7F) << shift 17304 if b < 0x80 { 17305 break 17306 } 17307 } 17308 } else if fieldNum == 2 { 17309 var mapmsglen int 17310 for shift := uint(0); ; shift += 7 { 17311 if shift >= 64 { 17312 return ErrIntOverflowTypes 17313 } 17314 if iNdEx >= l { 17315 return io.ErrUnexpectedEOF 17316 } 17317 b := dAtA[iNdEx] 17318 iNdEx++ 17319 mapmsglen |= int(b&0x7F) << shift 17320 if b < 0x80 { 17321 break 17322 } 17323 } 17324 if mapmsglen < 0 { 17325 return ErrInvalidLengthTypes 17326 } 17327 postmsgIndex := iNdEx + mapmsglen 17328 if postmsgIndex < 0 { 17329 return ErrInvalidLengthTypes 17330 } 17331 if postmsgIndex > l { 17332 return io.ErrUnexpectedEOF 17333 } 17334 if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 17335 return err 17336 } 17337 iNdEx = postmsgIndex 17338 } else { 17339 iNdEx = entryPreIndex 17340 skippy, err := skipTypes(dAtA[iNdEx:]) 17341 if err != nil { 17342 return err 17343 } 17344 if (skippy < 0) || (iNdEx+skippy) < 0 { 17345 return ErrInvalidLengthTypes 17346 } 17347 if (iNdEx + skippy) > postIndex { 17348 return io.ErrUnexpectedEOF 17349 } 17350 iNdEx += skippy 17351 } 17352 } 17353 m.NullableBytes[mapkey] = ((*[]byte)(mapvalue)) 17354 iNdEx = postIndex 17355 case 22: 17356 if wireType != 2 { 17357 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) 17358 } 17359 var msglen int 17360 for shift := uint(0); ; shift += 7 { 17361 if shift >= 64 { 17362 return ErrIntOverflowTypes 17363 } 17364 if iNdEx >= l { 17365 return io.ErrUnexpectedEOF 17366 } 17367 b := dAtA[iNdEx] 17368 iNdEx++ 17369 msglen |= int(b&0x7F) << shift 17370 if b < 0x80 { 17371 break 17372 } 17373 } 17374 if msglen < 0 { 17375 return ErrInvalidLengthTypes 17376 } 17377 postIndex := iNdEx + msglen 17378 if postIndex < 0 { 17379 return ErrInvalidLengthTypes 17380 } 17381 if postIndex > l { 17382 return io.ErrUnexpectedEOF 17383 } 17384 if m.NonnullBytes == nil { 17385 m.NonnullBytes = make(map[int32][]byte) 17386 } 17387 var mapkey int32 17388 mapvalue := new([]byte) 17389 for iNdEx < postIndex { 17390 entryPreIndex := iNdEx 17391 var wire uint64 17392 for shift := uint(0); ; shift += 7 { 17393 if shift >= 64 { 17394 return ErrIntOverflowTypes 17395 } 17396 if iNdEx >= l { 17397 return io.ErrUnexpectedEOF 17398 } 17399 b := dAtA[iNdEx] 17400 iNdEx++ 17401 wire |= uint64(b&0x7F) << shift 17402 if b < 0x80 { 17403 break 17404 } 17405 } 17406 fieldNum := int32(wire >> 3) 17407 if fieldNum == 1 { 17408 for shift := uint(0); ; shift += 7 { 17409 if shift >= 64 { 17410 return ErrIntOverflowTypes 17411 } 17412 if iNdEx >= l { 17413 return io.ErrUnexpectedEOF 17414 } 17415 b := dAtA[iNdEx] 17416 iNdEx++ 17417 mapkey |= int32(b&0x7F) << shift 17418 if b < 0x80 { 17419 break 17420 } 17421 } 17422 } else if fieldNum == 2 { 17423 var mapmsglen int 17424 for shift := uint(0); ; shift += 7 { 17425 if shift >= 64 { 17426 return ErrIntOverflowTypes 17427 } 17428 if iNdEx >= l { 17429 return io.ErrUnexpectedEOF 17430 } 17431 b := dAtA[iNdEx] 17432 iNdEx++ 17433 mapmsglen |= int(b&0x7F) << shift 17434 if b < 0x80 { 17435 break 17436 } 17437 } 17438 if mapmsglen < 0 { 17439 return ErrInvalidLengthTypes 17440 } 17441 postmsgIndex := iNdEx + mapmsglen 17442 if postmsgIndex < 0 { 17443 return ErrInvalidLengthTypes 17444 } 17445 if postmsgIndex > l { 17446 return io.ErrUnexpectedEOF 17447 } 17448 if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 17449 return err 17450 } 17451 iNdEx = postmsgIndex 17452 } else { 17453 iNdEx = entryPreIndex 17454 skippy, err := skipTypes(dAtA[iNdEx:]) 17455 if err != nil { 17456 return err 17457 } 17458 if (skippy < 0) || (iNdEx+skippy) < 0 { 17459 return ErrInvalidLengthTypes 17460 } 17461 if (iNdEx + skippy) > postIndex { 17462 return io.ErrUnexpectedEOF 17463 } 17464 iNdEx += skippy 17465 } 17466 } 17467 m.NonnullBytes[mapkey] = (([]byte)(*mapvalue)) 17468 iNdEx = postIndex 17469 default: 17470 iNdEx = preIndex 17471 skippy, err := skipTypes(dAtA[iNdEx:]) 17472 if err != nil { 17473 return err 17474 } 17475 if (skippy < 0) || (iNdEx+skippy) < 0 { 17476 return ErrInvalidLengthTypes 17477 } 17478 if (iNdEx + skippy) > l { 17479 return io.ErrUnexpectedEOF 17480 } 17481 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 17482 iNdEx += skippy 17483 } 17484 } 17485 17486 if iNdEx > l { 17487 return io.ErrUnexpectedEOF 17488 } 17489 return nil 17490 } 17491 func (m *OneofProtoTypes) Unmarshal(dAtA []byte) error { 17492 l := len(dAtA) 17493 iNdEx := 0 17494 for iNdEx < l { 17495 preIndex := iNdEx 17496 var wire uint64 17497 for shift := uint(0); ; shift += 7 { 17498 if shift >= 64 { 17499 return ErrIntOverflowTypes 17500 } 17501 if iNdEx >= l { 17502 return io.ErrUnexpectedEOF 17503 } 17504 b := dAtA[iNdEx] 17505 iNdEx++ 17506 wire |= uint64(b&0x7F) << shift 17507 if b < 0x80 { 17508 break 17509 } 17510 } 17511 fieldNum := int32(wire >> 3) 17512 wireType := int(wire & 0x7) 17513 if wireType == 4 { 17514 return fmt.Errorf("proto: OneofProtoTypes: wiretype end group for non-group") 17515 } 17516 if fieldNum <= 0 { 17517 return fmt.Errorf("proto: OneofProtoTypes: illegal tag %d (wire type %d)", fieldNum, wire) 17518 } 17519 switch fieldNum { 17520 case 1: 17521 if wireType != 2 { 17522 return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) 17523 } 17524 var msglen int 17525 for shift := uint(0); ; shift += 7 { 17526 if shift >= 64 { 17527 return ErrIntOverflowTypes 17528 } 17529 if iNdEx >= l { 17530 return io.ErrUnexpectedEOF 17531 } 17532 b := dAtA[iNdEx] 17533 iNdEx++ 17534 msglen |= int(b&0x7F) << shift 17535 if b < 0x80 { 17536 break 17537 } 17538 } 17539 if msglen < 0 { 17540 return ErrInvalidLengthTypes 17541 } 17542 postIndex := iNdEx + msglen 17543 if postIndex < 0 { 17544 return ErrInvalidLengthTypes 17545 } 17546 if postIndex > l { 17547 return io.ErrUnexpectedEOF 17548 } 17549 v := &types.Timestamp{} 17550 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17551 return err 17552 } 17553 m.OneOfProtoTimes = &OneofProtoTypes_Timestamp{v} 17554 iNdEx = postIndex 17555 case 2: 17556 if wireType != 2 { 17557 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 17558 } 17559 var msglen int 17560 for shift := uint(0); ; shift += 7 { 17561 if shift >= 64 { 17562 return ErrIntOverflowTypes 17563 } 17564 if iNdEx >= l { 17565 return io.ErrUnexpectedEOF 17566 } 17567 b := dAtA[iNdEx] 17568 iNdEx++ 17569 msglen |= int(b&0x7F) << shift 17570 if b < 0x80 { 17571 break 17572 } 17573 } 17574 if msglen < 0 { 17575 return ErrInvalidLengthTypes 17576 } 17577 postIndex := iNdEx + msglen 17578 if postIndex < 0 { 17579 return ErrInvalidLengthTypes 17580 } 17581 if postIndex > l { 17582 return io.ErrUnexpectedEOF 17583 } 17584 v := &types.Duration{} 17585 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17586 return err 17587 } 17588 m.OneOfProtoTimes = &OneofProtoTypes_Duration{v} 17589 iNdEx = postIndex 17590 case 3: 17591 if wireType != 2 { 17592 return fmt.Errorf("proto: wrong wireType = %d for field RepDouble", wireType) 17593 } 17594 var msglen int 17595 for shift := uint(0); ; shift += 7 { 17596 if shift >= 64 { 17597 return ErrIntOverflowTypes 17598 } 17599 if iNdEx >= l { 17600 return io.ErrUnexpectedEOF 17601 } 17602 b := dAtA[iNdEx] 17603 iNdEx++ 17604 msglen |= int(b&0x7F) << shift 17605 if b < 0x80 { 17606 break 17607 } 17608 } 17609 if msglen < 0 { 17610 return ErrInvalidLengthTypes 17611 } 17612 postIndex := iNdEx + msglen 17613 if postIndex < 0 { 17614 return ErrInvalidLengthTypes 17615 } 17616 if postIndex > l { 17617 return io.ErrUnexpectedEOF 17618 } 17619 v := &types.DoubleValue{} 17620 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17621 return err 17622 } 17623 m.OneOfProtoTimes = &OneofProtoTypes_RepDouble{v} 17624 iNdEx = postIndex 17625 case 4: 17626 if wireType != 2 { 17627 return fmt.Errorf("proto: wrong wireType = %d for field RepFloat", wireType) 17628 } 17629 var msglen int 17630 for shift := uint(0); ; shift += 7 { 17631 if shift >= 64 { 17632 return ErrIntOverflowTypes 17633 } 17634 if iNdEx >= l { 17635 return io.ErrUnexpectedEOF 17636 } 17637 b := dAtA[iNdEx] 17638 iNdEx++ 17639 msglen |= int(b&0x7F) << shift 17640 if b < 0x80 { 17641 break 17642 } 17643 } 17644 if msglen < 0 { 17645 return ErrInvalidLengthTypes 17646 } 17647 postIndex := iNdEx + msglen 17648 if postIndex < 0 { 17649 return ErrInvalidLengthTypes 17650 } 17651 if postIndex > l { 17652 return io.ErrUnexpectedEOF 17653 } 17654 v := &types.FloatValue{} 17655 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17656 return err 17657 } 17658 m.OneOfProtoTimes = &OneofProtoTypes_RepFloat{v} 17659 iNdEx = postIndex 17660 case 5: 17661 if wireType != 2 { 17662 return fmt.Errorf("proto: wrong wireType = %d for field RepInt64", wireType) 17663 } 17664 var msglen int 17665 for shift := uint(0); ; shift += 7 { 17666 if shift >= 64 { 17667 return ErrIntOverflowTypes 17668 } 17669 if iNdEx >= l { 17670 return io.ErrUnexpectedEOF 17671 } 17672 b := dAtA[iNdEx] 17673 iNdEx++ 17674 msglen |= int(b&0x7F) << shift 17675 if b < 0x80 { 17676 break 17677 } 17678 } 17679 if msglen < 0 { 17680 return ErrInvalidLengthTypes 17681 } 17682 postIndex := iNdEx + msglen 17683 if postIndex < 0 { 17684 return ErrInvalidLengthTypes 17685 } 17686 if postIndex > l { 17687 return io.ErrUnexpectedEOF 17688 } 17689 v := &types.Int64Value{} 17690 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17691 return err 17692 } 17693 m.OneOfProtoTimes = &OneofProtoTypes_RepInt64{v} 17694 iNdEx = postIndex 17695 case 6: 17696 if wireType != 2 { 17697 return fmt.Errorf("proto: wrong wireType = %d for field RepUInt64", wireType) 17698 } 17699 var msglen int 17700 for shift := uint(0); ; shift += 7 { 17701 if shift >= 64 { 17702 return ErrIntOverflowTypes 17703 } 17704 if iNdEx >= l { 17705 return io.ErrUnexpectedEOF 17706 } 17707 b := dAtA[iNdEx] 17708 iNdEx++ 17709 msglen |= int(b&0x7F) << shift 17710 if b < 0x80 { 17711 break 17712 } 17713 } 17714 if msglen < 0 { 17715 return ErrInvalidLengthTypes 17716 } 17717 postIndex := iNdEx + msglen 17718 if postIndex < 0 { 17719 return ErrInvalidLengthTypes 17720 } 17721 if postIndex > l { 17722 return io.ErrUnexpectedEOF 17723 } 17724 v := &types.UInt64Value{} 17725 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17726 return err 17727 } 17728 m.OneOfProtoTimes = &OneofProtoTypes_RepUInt64{v} 17729 iNdEx = postIndex 17730 case 7: 17731 if wireType != 2 { 17732 return fmt.Errorf("proto: wrong wireType = %d for field RepInt32", wireType) 17733 } 17734 var msglen int 17735 for shift := uint(0); ; shift += 7 { 17736 if shift >= 64 { 17737 return ErrIntOverflowTypes 17738 } 17739 if iNdEx >= l { 17740 return io.ErrUnexpectedEOF 17741 } 17742 b := dAtA[iNdEx] 17743 iNdEx++ 17744 msglen |= int(b&0x7F) << shift 17745 if b < 0x80 { 17746 break 17747 } 17748 } 17749 if msglen < 0 { 17750 return ErrInvalidLengthTypes 17751 } 17752 postIndex := iNdEx + msglen 17753 if postIndex < 0 { 17754 return ErrInvalidLengthTypes 17755 } 17756 if postIndex > l { 17757 return io.ErrUnexpectedEOF 17758 } 17759 v := &types.Int32Value{} 17760 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17761 return err 17762 } 17763 m.OneOfProtoTimes = &OneofProtoTypes_RepInt32{v} 17764 iNdEx = postIndex 17765 case 8: 17766 if wireType != 2 { 17767 return fmt.Errorf("proto: wrong wireType = %d for field RepUInt32", wireType) 17768 } 17769 var msglen int 17770 for shift := uint(0); ; shift += 7 { 17771 if shift >= 64 { 17772 return ErrIntOverflowTypes 17773 } 17774 if iNdEx >= l { 17775 return io.ErrUnexpectedEOF 17776 } 17777 b := dAtA[iNdEx] 17778 iNdEx++ 17779 msglen |= int(b&0x7F) << shift 17780 if b < 0x80 { 17781 break 17782 } 17783 } 17784 if msglen < 0 { 17785 return ErrInvalidLengthTypes 17786 } 17787 postIndex := iNdEx + msglen 17788 if postIndex < 0 { 17789 return ErrInvalidLengthTypes 17790 } 17791 if postIndex > l { 17792 return io.ErrUnexpectedEOF 17793 } 17794 v := &types.UInt32Value{} 17795 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17796 return err 17797 } 17798 m.OneOfProtoTimes = &OneofProtoTypes_RepUInt32{v} 17799 iNdEx = postIndex 17800 case 9: 17801 if wireType != 2 { 17802 return fmt.Errorf("proto: wrong wireType = %d for field RepBool", wireType) 17803 } 17804 var msglen int 17805 for shift := uint(0); ; shift += 7 { 17806 if shift >= 64 { 17807 return ErrIntOverflowTypes 17808 } 17809 if iNdEx >= l { 17810 return io.ErrUnexpectedEOF 17811 } 17812 b := dAtA[iNdEx] 17813 iNdEx++ 17814 msglen |= int(b&0x7F) << shift 17815 if b < 0x80 { 17816 break 17817 } 17818 } 17819 if msglen < 0 { 17820 return ErrInvalidLengthTypes 17821 } 17822 postIndex := iNdEx + msglen 17823 if postIndex < 0 { 17824 return ErrInvalidLengthTypes 17825 } 17826 if postIndex > l { 17827 return io.ErrUnexpectedEOF 17828 } 17829 v := &types.BoolValue{} 17830 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17831 return err 17832 } 17833 m.OneOfProtoTimes = &OneofProtoTypes_RepBool{v} 17834 iNdEx = postIndex 17835 case 10: 17836 if wireType != 2 { 17837 return fmt.Errorf("proto: wrong wireType = %d for field RepString", wireType) 17838 } 17839 var msglen int 17840 for shift := uint(0); ; shift += 7 { 17841 if shift >= 64 { 17842 return ErrIntOverflowTypes 17843 } 17844 if iNdEx >= l { 17845 return io.ErrUnexpectedEOF 17846 } 17847 b := dAtA[iNdEx] 17848 iNdEx++ 17849 msglen |= int(b&0x7F) << shift 17850 if b < 0x80 { 17851 break 17852 } 17853 } 17854 if msglen < 0 { 17855 return ErrInvalidLengthTypes 17856 } 17857 postIndex := iNdEx + msglen 17858 if postIndex < 0 { 17859 return ErrInvalidLengthTypes 17860 } 17861 if postIndex > l { 17862 return io.ErrUnexpectedEOF 17863 } 17864 v := &types.StringValue{} 17865 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17866 return err 17867 } 17868 m.OneOfProtoTimes = &OneofProtoTypes_RepString{v} 17869 iNdEx = postIndex 17870 case 11: 17871 if wireType != 2 { 17872 return fmt.Errorf("proto: wrong wireType = %d for field RepBytes", wireType) 17873 } 17874 var msglen int 17875 for shift := uint(0); ; shift += 7 { 17876 if shift >= 64 { 17877 return ErrIntOverflowTypes 17878 } 17879 if iNdEx >= l { 17880 return io.ErrUnexpectedEOF 17881 } 17882 b := dAtA[iNdEx] 17883 iNdEx++ 17884 msglen |= int(b&0x7F) << shift 17885 if b < 0x80 { 17886 break 17887 } 17888 } 17889 if msglen < 0 { 17890 return ErrInvalidLengthTypes 17891 } 17892 postIndex := iNdEx + msglen 17893 if postIndex < 0 { 17894 return ErrInvalidLengthTypes 17895 } 17896 if postIndex > l { 17897 return io.ErrUnexpectedEOF 17898 } 17899 v := &types.BytesValue{} 17900 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17901 return err 17902 } 17903 m.OneOfProtoTimes = &OneofProtoTypes_RepBytes{v} 17904 iNdEx = postIndex 17905 default: 17906 iNdEx = preIndex 17907 skippy, err := skipTypes(dAtA[iNdEx:]) 17908 if err != nil { 17909 return err 17910 } 17911 if (skippy < 0) || (iNdEx+skippy) < 0 { 17912 return ErrInvalidLengthTypes 17913 } 17914 if (iNdEx + skippy) > l { 17915 return io.ErrUnexpectedEOF 17916 } 17917 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 17918 iNdEx += skippy 17919 } 17920 } 17921 17922 if iNdEx > l { 17923 return io.ErrUnexpectedEOF 17924 } 17925 return nil 17926 } 17927 func (m *OneofStdTypes) Unmarshal(dAtA []byte) error { 17928 l := len(dAtA) 17929 iNdEx := 0 17930 for iNdEx < l { 17931 preIndex := iNdEx 17932 var wire uint64 17933 for shift := uint(0); ; shift += 7 { 17934 if shift >= 64 { 17935 return ErrIntOverflowTypes 17936 } 17937 if iNdEx >= l { 17938 return io.ErrUnexpectedEOF 17939 } 17940 b := dAtA[iNdEx] 17941 iNdEx++ 17942 wire |= uint64(b&0x7F) << shift 17943 if b < 0x80 { 17944 break 17945 } 17946 } 17947 fieldNum := int32(wire >> 3) 17948 wireType := int(wire & 0x7) 17949 if wireType == 4 { 17950 return fmt.Errorf("proto: OneofStdTypes: wiretype end group for non-group") 17951 } 17952 if fieldNum <= 0 { 17953 return fmt.Errorf("proto: OneofStdTypes: illegal tag %d (wire type %d)", fieldNum, wire) 17954 } 17955 switch fieldNum { 17956 case 1: 17957 if wireType != 2 { 17958 return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) 17959 } 17960 var msglen int 17961 for shift := uint(0); ; shift += 7 { 17962 if shift >= 64 { 17963 return ErrIntOverflowTypes 17964 } 17965 if iNdEx >= l { 17966 return io.ErrUnexpectedEOF 17967 } 17968 b := dAtA[iNdEx] 17969 iNdEx++ 17970 msglen |= int(b&0x7F) << shift 17971 if b < 0x80 { 17972 break 17973 } 17974 } 17975 if msglen < 0 { 17976 return ErrInvalidLengthTypes 17977 } 17978 postIndex := iNdEx + msglen 17979 if postIndex < 0 { 17980 return ErrInvalidLengthTypes 17981 } 17982 if postIndex > l { 17983 return io.ErrUnexpectedEOF 17984 } 17985 v := new(time.Time) 17986 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 17987 return err 17988 } 17989 m.OneOfStdTimes = &OneofStdTypes_Timestamp{v} 17990 iNdEx = postIndex 17991 case 2: 17992 if wireType != 2 { 17993 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 17994 } 17995 var msglen int 17996 for shift := uint(0); ; shift += 7 { 17997 if shift >= 64 { 17998 return ErrIntOverflowTypes 17999 } 18000 if iNdEx >= l { 18001 return io.ErrUnexpectedEOF 18002 } 18003 b := dAtA[iNdEx] 18004 iNdEx++ 18005 msglen |= int(b&0x7F) << shift 18006 if b < 0x80 { 18007 break 18008 } 18009 } 18010 if msglen < 0 { 18011 return ErrInvalidLengthTypes 18012 } 18013 postIndex := iNdEx + msglen 18014 if postIndex < 0 { 18015 return ErrInvalidLengthTypes 18016 } 18017 if postIndex > l { 18018 return io.ErrUnexpectedEOF 18019 } 18020 v := new(time.Duration) 18021 if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18022 return err 18023 } 18024 m.OneOfStdTimes = &OneofStdTypes_Duration{v} 18025 iNdEx = postIndex 18026 case 3: 18027 if wireType != 2 { 18028 return fmt.Errorf("proto: wrong wireType = %d for field RepDouble", wireType) 18029 } 18030 var msglen int 18031 for shift := uint(0); ; shift += 7 { 18032 if shift >= 64 { 18033 return ErrIntOverflowTypes 18034 } 18035 if iNdEx >= l { 18036 return io.ErrUnexpectedEOF 18037 } 18038 b := dAtA[iNdEx] 18039 iNdEx++ 18040 msglen |= int(b&0x7F) << shift 18041 if b < 0x80 { 18042 break 18043 } 18044 } 18045 if msglen < 0 { 18046 return ErrInvalidLengthTypes 18047 } 18048 postIndex := iNdEx + msglen 18049 if postIndex < 0 { 18050 return ErrInvalidLengthTypes 18051 } 18052 if postIndex > l { 18053 return io.ErrUnexpectedEOF 18054 } 18055 v := new(float64) 18056 if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18057 return err 18058 } 18059 m.OneOfStdTimes = &OneofStdTypes_RepDouble{v} 18060 iNdEx = postIndex 18061 case 4: 18062 if wireType != 2 { 18063 return fmt.Errorf("proto: wrong wireType = %d for field RepFloat", wireType) 18064 } 18065 var msglen int 18066 for shift := uint(0); ; shift += 7 { 18067 if shift >= 64 { 18068 return ErrIntOverflowTypes 18069 } 18070 if iNdEx >= l { 18071 return io.ErrUnexpectedEOF 18072 } 18073 b := dAtA[iNdEx] 18074 iNdEx++ 18075 msglen |= int(b&0x7F) << shift 18076 if b < 0x80 { 18077 break 18078 } 18079 } 18080 if msglen < 0 { 18081 return ErrInvalidLengthTypes 18082 } 18083 postIndex := iNdEx + msglen 18084 if postIndex < 0 { 18085 return ErrInvalidLengthTypes 18086 } 18087 if postIndex > l { 18088 return io.ErrUnexpectedEOF 18089 } 18090 v := new(float32) 18091 if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18092 return err 18093 } 18094 m.OneOfStdTimes = &OneofStdTypes_RepFloat{v} 18095 iNdEx = postIndex 18096 case 5: 18097 if wireType != 2 { 18098 return fmt.Errorf("proto: wrong wireType = %d for field RepInt64", wireType) 18099 } 18100 var msglen int 18101 for shift := uint(0); ; shift += 7 { 18102 if shift >= 64 { 18103 return ErrIntOverflowTypes 18104 } 18105 if iNdEx >= l { 18106 return io.ErrUnexpectedEOF 18107 } 18108 b := dAtA[iNdEx] 18109 iNdEx++ 18110 msglen |= int(b&0x7F) << shift 18111 if b < 0x80 { 18112 break 18113 } 18114 } 18115 if msglen < 0 { 18116 return ErrInvalidLengthTypes 18117 } 18118 postIndex := iNdEx + msglen 18119 if postIndex < 0 { 18120 return ErrInvalidLengthTypes 18121 } 18122 if postIndex > l { 18123 return io.ErrUnexpectedEOF 18124 } 18125 v := new(int64) 18126 if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18127 return err 18128 } 18129 m.OneOfStdTimes = &OneofStdTypes_RepInt64{v} 18130 iNdEx = postIndex 18131 case 6: 18132 if wireType != 2 { 18133 return fmt.Errorf("proto: wrong wireType = %d for field RepUInt64", wireType) 18134 } 18135 var msglen int 18136 for shift := uint(0); ; shift += 7 { 18137 if shift >= 64 { 18138 return ErrIntOverflowTypes 18139 } 18140 if iNdEx >= l { 18141 return io.ErrUnexpectedEOF 18142 } 18143 b := dAtA[iNdEx] 18144 iNdEx++ 18145 msglen |= int(b&0x7F) << shift 18146 if b < 0x80 { 18147 break 18148 } 18149 } 18150 if msglen < 0 { 18151 return ErrInvalidLengthTypes 18152 } 18153 postIndex := iNdEx + msglen 18154 if postIndex < 0 { 18155 return ErrInvalidLengthTypes 18156 } 18157 if postIndex > l { 18158 return io.ErrUnexpectedEOF 18159 } 18160 v := new(uint64) 18161 if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18162 return err 18163 } 18164 m.OneOfStdTimes = &OneofStdTypes_RepUInt64{v} 18165 iNdEx = postIndex 18166 case 7: 18167 if wireType != 2 { 18168 return fmt.Errorf("proto: wrong wireType = %d for field RepInt32", wireType) 18169 } 18170 var msglen int 18171 for shift := uint(0); ; shift += 7 { 18172 if shift >= 64 { 18173 return ErrIntOverflowTypes 18174 } 18175 if iNdEx >= l { 18176 return io.ErrUnexpectedEOF 18177 } 18178 b := dAtA[iNdEx] 18179 iNdEx++ 18180 msglen |= int(b&0x7F) << shift 18181 if b < 0x80 { 18182 break 18183 } 18184 } 18185 if msglen < 0 { 18186 return ErrInvalidLengthTypes 18187 } 18188 postIndex := iNdEx + msglen 18189 if postIndex < 0 { 18190 return ErrInvalidLengthTypes 18191 } 18192 if postIndex > l { 18193 return io.ErrUnexpectedEOF 18194 } 18195 v := new(int32) 18196 if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18197 return err 18198 } 18199 m.OneOfStdTimes = &OneofStdTypes_RepInt32{v} 18200 iNdEx = postIndex 18201 case 8: 18202 if wireType != 2 { 18203 return fmt.Errorf("proto: wrong wireType = %d for field RepUInt32", wireType) 18204 } 18205 var msglen int 18206 for shift := uint(0); ; shift += 7 { 18207 if shift >= 64 { 18208 return ErrIntOverflowTypes 18209 } 18210 if iNdEx >= l { 18211 return io.ErrUnexpectedEOF 18212 } 18213 b := dAtA[iNdEx] 18214 iNdEx++ 18215 msglen |= int(b&0x7F) << shift 18216 if b < 0x80 { 18217 break 18218 } 18219 } 18220 if msglen < 0 { 18221 return ErrInvalidLengthTypes 18222 } 18223 postIndex := iNdEx + msglen 18224 if postIndex < 0 { 18225 return ErrInvalidLengthTypes 18226 } 18227 if postIndex > l { 18228 return io.ErrUnexpectedEOF 18229 } 18230 v := new(uint32) 18231 if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18232 return err 18233 } 18234 m.OneOfStdTimes = &OneofStdTypes_RepUInt32{v} 18235 iNdEx = postIndex 18236 case 9: 18237 if wireType != 2 { 18238 return fmt.Errorf("proto: wrong wireType = %d for field RepBool", wireType) 18239 } 18240 var msglen int 18241 for shift := uint(0); ; shift += 7 { 18242 if shift >= 64 { 18243 return ErrIntOverflowTypes 18244 } 18245 if iNdEx >= l { 18246 return io.ErrUnexpectedEOF 18247 } 18248 b := dAtA[iNdEx] 18249 iNdEx++ 18250 msglen |= int(b&0x7F) << shift 18251 if b < 0x80 { 18252 break 18253 } 18254 } 18255 if msglen < 0 { 18256 return ErrInvalidLengthTypes 18257 } 18258 postIndex := iNdEx + msglen 18259 if postIndex < 0 { 18260 return ErrInvalidLengthTypes 18261 } 18262 if postIndex > l { 18263 return io.ErrUnexpectedEOF 18264 } 18265 v := new(bool) 18266 if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18267 return err 18268 } 18269 m.OneOfStdTimes = &OneofStdTypes_RepBool{v} 18270 iNdEx = postIndex 18271 case 10: 18272 if wireType != 2 { 18273 return fmt.Errorf("proto: wrong wireType = %d for field RepString", wireType) 18274 } 18275 var msglen int 18276 for shift := uint(0); ; shift += 7 { 18277 if shift >= 64 { 18278 return ErrIntOverflowTypes 18279 } 18280 if iNdEx >= l { 18281 return io.ErrUnexpectedEOF 18282 } 18283 b := dAtA[iNdEx] 18284 iNdEx++ 18285 msglen |= int(b&0x7F) << shift 18286 if b < 0x80 { 18287 break 18288 } 18289 } 18290 if msglen < 0 { 18291 return ErrInvalidLengthTypes 18292 } 18293 postIndex := iNdEx + msglen 18294 if postIndex < 0 { 18295 return ErrInvalidLengthTypes 18296 } 18297 if postIndex > l { 18298 return io.ErrUnexpectedEOF 18299 } 18300 v := new(string) 18301 if err := github_com_gogo_protobuf_types.StdStringUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18302 return err 18303 } 18304 m.OneOfStdTimes = &OneofStdTypes_RepString{v} 18305 iNdEx = postIndex 18306 case 11: 18307 if wireType != 2 { 18308 return fmt.Errorf("proto: wrong wireType = %d for field RepBytes", wireType) 18309 } 18310 var msglen int 18311 for shift := uint(0); ; shift += 7 { 18312 if shift >= 64 { 18313 return ErrIntOverflowTypes 18314 } 18315 if iNdEx >= l { 18316 return io.ErrUnexpectedEOF 18317 } 18318 b := dAtA[iNdEx] 18319 iNdEx++ 18320 msglen |= int(b&0x7F) << shift 18321 if b < 0x80 { 18322 break 18323 } 18324 } 18325 if msglen < 0 { 18326 return ErrInvalidLengthTypes 18327 } 18328 postIndex := iNdEx + msglen 18329 if postIndex < 0 { 18330 return ErrInvalidLengthTypes 18331 } 18332 if postIndex > l { 18333 return io.ErrUnexpectedEOF 18334 } 18335 v := new([]byte) 18336 if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18337 return err 18338 } 18339 m.OneOfStdTimes = &OneofStdTypes_RepBytes{v} 18340 iNdEx = postIndex 18341 default: 18342 iNdEx = preIndex 18343 skippy, err := skipTypes(dAtA[iNdEx:]) 18344 if err != nil { 18345 return err 18346 } 18347 if (skippy < 0) || (iNdEx+skippy) < 0 { 18348 return ErrInvalidLengthTypes 18349 } 18350 if (iNdEx + skippy) > l { 18351 return io.ErrUnexpectedEOF 18352 } 18353 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 18354 iNdEx += skippy 18355 } 18356 } 18357 18358 if iNdEx > l { 18359 return io.ErrUnexpectedEOF 18360 } 18361 return nil 18362 } 18363 func skipTypes(dAtA []byte) (n int, err error) { 18364 l := len(dAtA) 18365 iNdEx := 0 18366 depth := 0 18367 for iNdEx < l { 18368 var wire uint64 18369 for shift := uint(0); ; shift += 7 { 18370 if shift >= 64 { 18371 return 0, ErrIntOverflowTypes 18372 } 18373 if iNdEx >= l { 18374 return 0, io.ErrUnexpectedEOF 18375 } 18376 b := dAtA[iNdEx] 18377 iNdEx++ 18378 wire |= (uint64(b) & 0x7F) << shift 18379 if b < 0x80 { 18380 break 18381 } 18382 } 18383 wireType := int(wire & 0x7) 18384 switch wireType { 18385 case 0: 18386 for shift := uint(0); ; shift += 7 { 18387 if shift >= 64 { 18388 return 0, ErrIntOverflowTypes 18389 } 18390 if iNdEx >= l { 18391 return 0, io.ErrUnexpectedEOF 18392 } 18393 iNdEx++ 18394 if dAtA[iNdEx-1] < 0x80 { 18395 break 18396 } 18397 } 18398 case 1: 18399 iNdEx += 8 18400 case 2: 18401 var length int 18402 for shift := uint(0); ; shift += 7 { 18403 if shift >= 64 { 18404 return 0, ErrIntOverflowTypes 18405 } 18406 if iNdEx >= l { 18407 return 0, io.ErrUnexpectedEOF 18408 } 18409 b := dAtA[iNdEx] 18410 iNdEx++ 18411 length |= (int(b) & 0x7F) << shift 18412 if b < 0x80 { 18413 break 18414 } 18415 } 18416 if length < 0 { 18417 return 0, ErrInvalidLengthTypes 18418 } 18419 iNdEx += length 18420 case 3: 18421 depth++ 18422 case 4: 18423 if depth == 0 { 18424 return 0, ErrUnexpectedEndOfGroupTypes 18425 } 18426 depth-- 18427 case 5: 18428 iNdEx += 4 18429 default: 18430 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 18431 } 18432 if iNdEx < 0 { 18433 return 0, ErrInvalidLengthTypes 18434 } 18435 if depth == 0 { 18436 return iNdEx, nil 18437 } 18438 } 18439 return 0, io.ErrUnexpectedEOF 18440 } 18441 18442 var ( 18443 ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") 18444 ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") 18445 ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") 18446 )