1// Code generated by protoc-gen-gogo. DO NOT EDIT. 2// source: combos/unmarshaler/types.proto 3 4package types 5 6import ( 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. 20var _ = proto.Marshal 21var _ = fmt.Errorf 22var _ = math.Inf 23var _ = 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. 29const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 30 31type 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 50func (m *KnownTypes) Reset() { *m = KnownTypes{} } 51func (m *KnownTypes) String() string { return proto.CompactTextString(m) } 52func (*KnownTypes) ProtoMessage() {} 53func (*KnownTypes) Descriptor() ([]byte, []int) { 54 return fileDescriptor_b3cdd6d81a3ac3e5, []int{0} 55} 56func (m *KnownTypes) XXX_Unmarshal(b []byte) error { 57 return m.Unmarshal(b) 58} 59func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 60 return xxx_messageInfo_KnownTypes.Marshal(b, m, deterministic) 61} 62func (m *KnownTypes) XXX_Merge(src proto.Message) { 63 xxx_messageInfo_KnownTypes.Merge(m, src) 64} 65func (m *KnownTypes) XXX_Size() int { 66 return xxx_messageInfo_KnownTypes.Size(m) 67} 68func (m *KnownTypes) XXX_DiscardUnknown() { 69 xxx_messageInfo_KnownTypes.DiscardUnknown(m) 70} 71 72var xxx_messageInfo_KnownTypes proto.InternalMessageInfo 73 74func (m *KnownTypes) GetDur() *types.Duration { 75 if m != nil { 76 return m.Dur 77 } 78 return nil 79} 80 81func (m *KnownTypes) GetTs() *types.Timestamp { 82 if m != nil { 83 return m.Ts 84 } 85 return nil 86} 87 88func (m *KnownTypes) GetDbl() *types.DoubleValue { 89 if m != nil { 90 return m.Dbl 91 } 92 return nil 93} 94 95func (m *KnownTypes) GetFlt() *types.FloatValue { 96 if m != nil { 97 return m.Flt 98 } 99 return nil 100} 101 102func (m *KnownTypes) GetI64() *types.Int64Value { 103 if m != nil { 104 return m.I64 105 } 106 return nil 107} 108 109func (m *KnownTypes) GetU64() *types.UInt64Value { 110 if m != nil { 111 return m.U64 112 } 113 return nil 114} 115 116func (m *KnownTypes) GetI32() *types.Int32Value { 117 if m != nil { 118 return m.I32 119 } 120 return nil 121} 122 123func (m *KnownTypes) GetU32() *types.UInt32Value { 124 if m != nil { 125 return m.U32 126 } 127 return nil 128} 129 130func (m *KnownTypes) GetBool() *types.BoolValue { 131 if m != nil { 132 return m.Bool 133 } 134 return nil 135} 136 137func (m *KnownTypes) GetStr() *types.StringValue { 138 if m != nil { 139 return m.Str 140 } 141 return nil 142} 143 144func (m *KnownTypes) GetBytes() *types.BytesValue { 145 if m != nil { 146 return m.Bytes 147 } 148 return nil 149} 150 151func (m *KnownTypes) GetSt() *types.Struct { 152 if m != nil { 153 return m.St 154 } 155 return nil 156} 157 158type 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 186func (m *ProtoTypes) Reset() { *m = ProtoTypes{} } 187func (m *ProtoTypes) String() string { return proto.CompactTextString(m) } 188func (*ProtoTypes) ProtoMessage() {} 189func (*ProtoTypes) Descriptor() ([]byte, []int) { 190 return fileDescriptor_b3cdd6d81a3ac3e5, []int{1} 191} 192func (m *ProtoTypes) XXX_Unmarshal(b []byte) error { 193 return m.Unmarshal(b) 194} 195func (m *ProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 196 return xxx_messageInfo_ProtoTypes.Marshal(b, m, deterministic) 197} 198func (m *ProtoTypes) XXX_Merge(src proto.Message) { 199 xxx_messageInfo_ProtoTypes.Merge(m, src) 200} 201func (m *ProtoTypes) XXX_Size() int { 202 return xxx_messageInfo_ProtoTypes.Size(m) 203} 204func (m *ProtoTypes) XXX_DiscardUnknown() { 205 xxx_messageInfo_ProtoTypes.DiscardUnknown(m) 206} 207 208var xxx_messageInfo_ProtoTypes proto.InternalMessageInfo 209 210func (m *ProtoTypes) GetNullableTimestamp() *types.Timestamp { 211 if m != nil { 212 return m.NullableTimestamp 213 } 214 return nil 215} 216 217func (m *ProtoTypes) GetNullableDuration() *types.Duration { 218 if m != nil { 219 return m.NullableDuration 220 } 221 return nil 222} 223 224func (m *ProtoTypes) GetNullableDouble() *types.DoubleValue { 225 if m != nil { 226 return m.NullableDouble 227 } 228 return nil 229} 230 231func (m *ProtoTypes) GetNullableFloat() *types.FloatValue { 232 if m != nil { 233 return m.NullableFloat 234 } 235 return nil 236} 237 238func (m *ProtoTypes) GetNullableInt64() *types.Int64Value { 239 if m != nil { 240 return m.NullableInt64 241 } 242 return nil 243} 244 245func (m *ProtoTypes) GetNullableUInt64() *types.UInt64Value { 246 if m != nil { 247 return m.NullableUInt64 248 } 249 return nil 250} 251 252func (m *ProtoTypes) GetNullableInt32() *types.Int32Value { 253 if m != nil { 254 return m.NullableInt32 255 } 256 return nil 257} 258 259func (m *ProtoTypes) GetNullableUInt32() *types.UInt32Value { 260 if m != nil { 261 return m.NullableUInt32 262 } 263 return nil 264} 265 266func (m *ProtoTypes) GetNullableBool() *types.BoolValue { 267 if m != nil { 268 return m.NullableBool 269 } 270 return nil 271} 272 273func (m *ProtoTypes) GetNullableString() *types.StringValue { 274 if m != nil { 275 return m.NullableString 276 } 277 return nil 278} 279 280func (m *ProtoTypes) GetNullableBytes() *types.BytesValue { 281 if m != nil { 282 return m.NullableBytes 283 } 284 return nil 285} 286 287func (m *ProtoTypes) GetTimestamp() types.Timestamp { 288 if m != nil { 289 return m.Timestamp 290 } 291 return types.Timestamp{} 292} 293 294func (m *ProtoTypes) GetDuration() types.Duration { 295 if m != nil { 296 return m.Duration 297 } 298 return types.Duration{} 299} 300 301func (m *ProtoTypes) GetNonnullDouble() types.DoubleValue { 302 if m != nil { 303 return m.NonnullDouble 304 } 305 return types.DoubleValue{} 306} 307 308func (m *ProtoTypes) GetNonnullFloat() types.FloatValue { 309 if m != nil { 310 return m.NonnullFloat 311 } 312 return types.FloatValue{} 313} 314 315func (m *ProtoTypes) GetNonnullInt64() types.Int64Value { 316 if m != nil { 317 return m.NonnullInt64 318 } 319 return types.Int64Value{} 320} 321 322func (m *ProtoTypes) GetNonnullUInt64() types.UInt64Value { 323 if m != nil { 324 return m.NonnullUInt64 325 } 326 return types.UInt64Value{} 327} 328 329func (m *ProtoTypes) GetNonnullInt32() types.Int32Value { 330 if m != nil { 331 return m.NonnullInt32 332 } 333 return types.Int32Value{} 334} 335 336func (m *ProtoTypes) GetNonnullUInt32() types.UInt32Value { 337 if m != nil { 338 return m.NonnullUInt32 339 } 340 return types.UInt32Value{} 341} 342 343func (m *ProtoTypes) GetNonnullBool() types.BoolValue { 344 if m != nil { 345 return m.NonnullBool 346 } 347 return types.BoolValue{} 348} 349 350func (m *ProtoTypes) GetNonnullString() types.StringValue { 351 if m != nil { 352 return m.NonnullString 353 } 354 return types.StringValue{} 355} 356 357func (m *ProtoTypes) GetNonnullBytes() types.BytesValue { 358 if m != nil { 359 return m.NonnullBytes 360 } 361 return types.BytesValue{} 362} 363 364type 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 392func (m *StdTypes) Reset() { *m = StdTypes{} } 393func (m *StdTypes) String() string { return proto.CompactTextString(m) } 394func (*StdTypes) ProtoMessage() {} 395func (*StdTypes) Descriptor() ([]byte, []int) { 396 return fileDescriptor_b3cdd6d81a3ac3e5, []int{2} 397} 398func (m *StdTypes) XXX_Unmarshal(b []byte) error { 399 return m.Unmarshal(b) 400} 401func (m *StdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 402 return xxx_messageInfo_StdTypes.Marshal(b, m, deterministic) 403} 404func (m *StdTypes) XXX_Merge(src proto.Message) { 405 xxx_messageInfo_StdTypes.Merge(m, src) 406} 407func (m *StdTypes) XXX_Size() int { 408 return xxx_messageInfo_StdTypes.Size(m) 409} 410func (m *StdTypes) XXX_DiscardUnknown() { 411 xxx_messageInfo_StdTypes.DiscardUnknown(m) 412} 413 414var xxx_messageInfo_StdTypes proto.InternalMessageInfo 415 416func (m *StdTypes) GetNullableTimestamp() *time.Time { 417 if m != nil { 418 return m.NullableTimestamp 419 } 420 return nil 421} 422 423func (m *StdTypes) GetNullableDuration() *time.Duration { 424 if m != nil { 425 return m.NullableDuration 426 } 427 return nil 428} 429 430func (m *StdTypes) GetNullableDouble() *float64 { 431 if m != nil { 432 return m.NullableDouble 433 } 434 return nil 435} 436 437func (m *StdTypes) GetNullableFloat() *float32 { 438 if m != nil { 439 return m.NullableFloat 440 } 441 return nil 442} 443 444func (m *StdTypes) GetNullableInt64() *int64 { 445 if m != nil { 446 return m.NullableInt64 447 } 448 return nil 449} 450 451func (m *StdTypes) GetNullableUInt64() *uint64 { 452 if m != nil { 453 return m.NullableUInt64 454 } 455 return nil 456} 457 458func (m *StdTypes) GetNullableInt32() *int32 { 459 if m != nil { 460 return m.NullableInt32 461 } 462 return nil 463} 464 465func (m *StdTypes) GetNullableUInt32() *uint32 { 466 if m != nil { 467 return m.NullableUInt32 468 } 469 return nil 470} 471 472func (m *StdTypes) GetNullableBool() *bool { 473 if m != nil { 474 return m.NullableBool 475 } 476 return nil 477} 478 479func (m *StdTypes) GetNullableString() *string { 480 if m != nil { 481 return m.NullableString 482 } 483 return nil 484} 485 486func (m *StdTypes) GetNullableBytes() *[]byte { 487 if m != nil { 488 return m.NullableBytes 489 } 490 return nil 491} 492 493func (m *StdTypes) GetTimestamp() time.Time { 494 if m != nil { 495 return m.Timestamp 496 } 497 return time.Time{} 498} 499 500func (m *StdTypes) GetDuration() time.Duration { 501 if m != nil { 502 return m.Duration 503 } 504 return 0 505} 506 507func (m *StdTypes) GetNonnullDouble() float64 { 508 if m != nil { 509 return m.NonnullDouble 510 } 511 return 0 512} 513 514func (m *StdTypes) GetNonnullFloat() float32 { 515 if m != nil { 516 return m.NonnullFloat 517 } 518 return 0 519} 520 521func (m *StdTypes) GetNonnullInt64() int64 { 522 if m != nil { 523 return m.NonnullInt64 524 } 525 return 0 526} 527 528func (m *StdTypes) GetNonnullUInt64() uint64 { 529 if m != nil { 530 return m.NonnullUInt64 531 } 532 return 0 533} 534 535func (m *StdTypes) GetNonnullInt32() int32 { 536 if m != nil { 537 return m.NonnullInt32 538 } 539 return 0 540} 541 542func (m *StdTypes) GetNonnullUInt32() uint32 { 543 if m != nil { 544 return m.NonnullUInt32 545 } 546 return 0 547} 548 549func (m *StdTypes) GetNonnullBool() bool { 550 if m != nil { 551 return m.NonnullBool 552 } 553 return false 554} 555 556func (m *StdTypes) GetNonnullString() string { 557 if m != nil { 558 return m.NonnullString 559 } 560 return "" 561} 562 563func (m *StdTypes) GetNonnullBytes() []byte { 564 if m != nil { 565 return m.NonnullBytes 566 } 567 return []byte{} 568} 569 570type 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 598func (m *RepProtoTypes) Reset() { *m = RepProtoTypes{} } 599func (m *RepProtoTypes) String() string { return proto.CompactTextString(m) } 600func (*RepProtoTypes) ProtoMessage() {} 601func (*RepProtoTypes) Descriptor() ([]byte, []int) { 602 return fileDescriptor_b3cdd6d81a3ac3e5, []int{3} 603} 604func (m *RepProtoTypes) XXX_Unmarshal(b []byte) error { 605 return m.Unmarshal(b) 606} 607func (m *RepProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 608 return xxx_messageInfo_RepProtoTypes.Marshal(b, m, deterministic) 609} 610func (m *RepProtoTypes) XXX_Merge(src proto.Message) { 611 xxx_messageInfo_RepProtoTypes.Merge(m, src) 612} 613func (m *RepProtoTypes) XXX_Size() int { 614 return xxx_messageInfo_RepProtoTypes.Size(m) 615} 616func (m *RepProtoTypes) XXX_DiscardUnknown() { 617 xxx_messageInfo_RepProtoTypes.DiscardUnknown(m) 618} 619 620var xxx_messageInfo_RepProtoTypes proto.InternalMessageInfo 621 622func (m *RepProtoTypes) GetNullableTimestamps() []*types.Timestamp { 623 if m != nil { 624 return m.NullableTimestamps 625 } 626 return nil 627} 628 629func (m *RepProtoTypes) GetNullableDurations() []*types.Duration { 630 if m != nil { 631 return m.NullableDurations 632 } 633 return nil 634} 635 636func (m *RepProtoTypes) GetTimestamps() []types.Timestamp { 637 if m != nil { 638 return m.Timestamps 639 } 640 return nil 641} 642 643func (m *RepProtoTypes) GetDurations() []types.Duration { 644 if m != nil { 645 return m.Durations 646 } 647 return nil 648} 649 650func (m *RepProtoTypes) GetNullableDouble() []*types.DoubleValue { 651 if m != nil { 652 return m.NullableDouble 653 } 654 return nil 655} 656 657func (m *RepProtoTypes) GetNonnullDouble() []types.DoubleValue { 658 if m != nil { 659 return m.NonnullDouble 660 } 661 return nil 662} 663 664func (m *RepProtoTypes) GetNullableFloat() []*types.FloatValue { 665 if m != nil { 666 return m.NullableFloat 667 } 668 return nil 669} 670 671func (m *RepProtoTypes) GetNonnullFloat() []types.FloatValue { 672 if m != nil { 673 return m.NonnullFloat 674 } 675 return nil 676} 677 678func (m *RepProtoTypes) GetNullableInt64() []*types.Int64Value { 679 if m != nil { 680 return m.NullableInt64 681 } 682 return nil 683} 684 685func (m *RepProtoTypes) GetNonnullInt64() []types.Int64Value { 686 if m != nil { 687 return m.NonnullInt64 688 } 689 return nil 690} 691 692func (m *RepProtoTypes) GetNullableUInt64() []*types.UInt64Value { 693 if m != nil { 694 return m.NullableUInt64 695 } 696 return nil 697} 698 699func (m *RepProtoTypes) GetNonnullUInt64() []types.UInt64Value { 700 if m != nil { 701 return m.NonnullUInt64 702 } 703 return nil 704} 705 706func (m *RepProtoTypes) GetNullableInt32() []*types.Int32Value { 707 if m != nil { 708 return m.NullableInt32 709 } 710 return nil 711} 712 713func (m *RepProtoTypes) GetNonnullInt32() []types.Int32Value { 714 if m != nil { 715 return m.NonnullInt32 716 } 717 return nil 718} 719 720func (m *RepProtoTypes) GetNullableUInt32() []*types.UInt32Value { 721 if m != nil { 722 return m.NullableUInt32 723 } 724 return nil 725} 726 727func (m *RepProtoTypes) GetNonnullUInt32() []types.UInt32Value { 728 if m != nil { 729 return m.NonnullUInt32 730 } 731 return nil 732} 733 734func (m *RepProtoTypes) GetNullableBool() []*types.BoolValue { 735 if m != nil { 736 return m.NullableBool 737 } 738 return nil 739} 740 741func (m *RepProtoTypes) GetNonnullBool() []types.BoolValue { 742 if m != nil { 743 return m.NonnullBool 744 } 745 return nil 746} 747 748func (m *RepProtoTypes) GetNullableString() []*types.StringValue { 749 if m != nil { 750 return m.NullableString 751 } 752 return nil 753} 754 755func (m *RepProtoTypes) GetNonnullString() []types.StringValue { 756 if m != nil { 757 return m.NonnullString 758 } 759 return nil 760} 761 762func (m *RepProtoTypes) GetNullableBytes() []*types.BytesValue { 763 if m != nil { 764 return m.NullableBytes 765 } 766 return nil 767} 768 769func (m *RepProtoTypes) GetNonnullBytes() []types.BytesValue { 770 if m != nil { 771 return m.NonnullBytes 772 } 773 return nil 774} 775 776type 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 804func (m *RepStdTypes) Reset() { *m = RepStdTypes{} } 805func (m *RepStdTypes) String() string { return proto.CompactTextString(m) } 806func (*RepStdTypes) ProtoMessage() {} 807func (*RepStdTypes) Descriptor() ([]byte, []int) { 808 return fileDescriptor_b3cdd6d81a3ac3e5, []int{4} 809} 810func (m *RepStdTypes) XXX_Unmarshal(b []byte) error { 811 return m.Unmarshal(b) 812} 813func (m *RepStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 814 return xxx_messageInfo_RepStdTypes.Marshal(b, m, deterministic) 815} 816func (m *RepStdTypes) XXX_Merge(src proto.Message) { 817 xxx_messageInfo_RepStdTypes.Merge(m, src) 818} 819func (m *RepStdTypes) XXX_Size() int { 820 return xxx_messageInfo_RepStdTypes.Size(m) 821} 822func (m *RepStdTypes) XXX_DiscardUnknown() { 823 xxx_messageInfo_RepStdTypes.DiscardUnknown(m) 824} 825 826var xxx_messageInfo_RepStdTypes proto.InternalMessageInfo 827 828func (m *RepStdTypes) GetNullableTimestamps() []*time.Time { 829 if m != nil { 830 return m.NullableTimestamps 831 } 832 return nil 833} 834 835func (m *RepStdTypes) GetNullableDurations() []*time.Duration { 836 if m != nil { 837 return m.NullableDurations 838 } 839 return nil 840} 841 842func (m *RepStdTypes) GetTimestamps() []time.Time { 843 if m != nil { 844 return m.Timestamps 845 } 846 return nil 847} 848 849func (m *RepStdTypes) GetDurations() []time.Duration { 850 if m != nil { 851 return m.Durations 852 } 853 return nil 854} 855 856func (m *RepStdTypes) GetNullableDouble() []*float64 { 857 if m != nil { 858 return m.NullableDouble 859 } 860 return nil 861} 862 863func (m *RepStdTypes) GetNonnullDouble() []float64 { 864 if m != nil { 865 return m.NonnullDouble 866 } 867 return nil 868} 869 870func (m *RepStdTypes) GetNullableFloat() []*float32 { 871 if m != nil { 872 return m.NullableFloat 873 } 874 return nil 875} 876 877func (m *RepStdTypes) GetNonnullFloat() []float32 { 878 if m != nil { 879 return m.NonnullFloat 880 } 881 return nil 882} 883 884func (m *RepStdTypes) GetNullableInt64() []*int64 { 885 if m != nil { 886 return m.NullableInt64 887 } 888 return nil 889} 890 891func (m *RepStdTypes) GetNonnullInt64() []int64 { 892 if m != nil { 893 return m.NonnullInt64 894 } 895 return nil 896} 897 898func (m *RepStdTypes) GetNullableUInt64() []*uint64 { 899 if m != nil { 900 return m.NullableUInt64 901 } 902 return nil 903} 904 905func (m *RepStdTypes) GetNonnullUInt64() []uint64 { 906 if m != nil { 907 return m.NonnullUInt64 908 } 909 return nil 910} 911 912func (m *RepStdTypes) GetNullableInt32() []*int32 { 913 if m != nil { 914 return m.NullableInt32 915 } 916 return nil 917} 918 919func (m *RepStdTypes) GetNonnullInt32() []int32 { 920 if m != nil { 921 return m.NonnullInt32 922 } 923 return nil 924} 925 926func (m *RepStdTypes) GetNullableUInt32() []*uint32 { 927 if m != nil { 928 return m.NullableUInt32 929 } 930 return nil 931} 932 933func (m *RepStdTypes) GetNonnullUInt32() []uint32 { 934 if m != nil { 935 return m.NonnullUInt32 936 } 937 return nil 938} 939 940func (m *RepStdTypes) GetNullableBool() []*bool { 941 if m != nil { 942 return m.NullableBool 943 } 944 return nil 945} 946 947func (m *RepStdTypes) GetNonnullBool() []bool { 948 if m != nil { 949 return m.NonnullBool 950 } 951 return nil 952} 953 954func (m *RepStdTypes) GetNullableString() []*string { 955 if m != nil { 956 return m.NullableString 957 } 958 return nil 959} 960 961func (m *RepStdTypes) GetNonnullString() []string { 962 if m != nil { 963 return m.NonnullString 964 } 965 return nil 966} 967 968func (m *RepStdTypes) GetNullableBytes() []*[]byte { 969 if m != nil { 970 return m.NullableBytes 971 } 972 return nil 973} 974 975func (m *RepStdTypes) GetNonnullBytes() [][]byte { 976 if m != nil { 977 return m.NonnullBytes 978 } 979 return nil 980} 981 982type 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 1010func (m *MapProtoTypes) Reset() { *m = MapProtoTypes{} } 1011func (m *MapProtoTypes) String() string { return proto.CompactTextString(m) } 1012func (*MapProtoTypes) ProtoMessage() {} 1013func (*MapProtoTypes) Descriptor() ([]byte, []int) { 1014 return fileDescriptor_b3cdd6d81a3ac3e5, []int{5} 1015} 1016func (m *MapProtoTypes) XXX_Unmarshal(b []byte) error { 1017 return m.Unmarshal(b) 1018} 1019func (m *MapProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1020 return xxx_messageInfo_MapProtoTypes.Marshal(b, m, deterministic) 1021} 1022func (m *MapProtoTypes) XXX_Merge(src proto.Message) { 1023 xxx_messageInfo_MapProtoTypes.Merge(m, src) 1024} 1025func (m *MapProtoTypes) XXX_Size() int { 1026 return xxx_messageInfo_MapProtoTypes.Size(m) 1027} 1028func (m *MapProtoTypes) XXX_DiscardUnknown() { 1029 xxx_messageInfo_MapProtoTypes.DiscardUnknown(m) 1030} 1031 1032var xxx_messageInfo_MapProtoTypes proto.InternalMessageInfo 1033 1034func (m *MapProtoTypes) GetNullableTimestamp() map[int32]*types.Timestamp { 1035 if m != nil { 1036 return m.NullableTimestamp 1037 } 1038 return nil 1039} 1040 1041func (m *MapProtoTypes) GetTimestamp() map[int32]types.Timestamp { 1042 if m != nil { 1043 return m.Timestamp 1044 } 1045 return nil 1046} 1047 1048func (m *MapProtoTypes) GetNullableDuration() map[int32]*types.Duration { 1049 if m != nil { 1050 return m.NullableDuration 1051 } 1052 return nil 1053} 1054 1055func (m *MapProtoTypes) GetDuration() map[int32]types.Duration { 1056 if m != nil { 1057 return m.Duration 1058 } 1059 return nil 1060} 1061 1062func (m *MapProtoTypes) GetNullableDouble() map[int32]*types.DoubleValue { 1063 if m != nil { 1064 return m.NullableDouble 1065 } 1066 return nil 1067} 1068 1069func (m *MapProtoTypes) GetNonnullDouble() map[int32]types.DoubleValue { 1070 if m != nil { 1071 return m.NonnullDouble 1072 } 1073 return nil 1074} 1075 1076func (m *MapProtoTypes) GetNullableFloat() map[int32]*types.FloatValue { 1077 if m != nil { 1078 return m.NullableFloat 1079 } 1080 return nil 1081} 1082 1083func (m *MapProtoTypes) GetNonnullFloat() map[int32]types.FloatValue { 1084 if m != nil { 1085 return m.NonnullFloat 1086 } 1087 return nil 1088} 1089 1090func (m *MapProtoTypes) GetNullableInt64() map[int32]*types.Int64Value { 1091 if m != nil { 1092 return m.NullableInt64 1093 } 1094 return nil 1095} 1096 1097func (m *MapProtoTypes) GetNonnullInt64() map[int32]types.Int64Value { 1098 if m != nil { 1099 return m.NonnullInt64 1100 } 1101 return nil 1102} 1103 1104func (m *MapProtoTypes) GetNullableUInt64() map[int32]*types.UInt64Value { 1105 if m != nil { 1106 return m.NullableUInt64 1107 } 1108 return nil 1109} 1110 1111func (m *MapProtoTypes) GetNonnullUInt64() map[int32]types.UInt64Value { 1112 if m != nil { 1113 return m.NonnullUInt64 1114 } 1115 return nil 1116} 1117 1118func (m *MapProtoTypes) GetNullableInt32() map[int32]*types.Int32Value { 1119 if m != nil { 1120 return m.NullableInt32 1121 } 1122 return nil 1123} 1124 1125func (m *MapProtoTypes) GetNonnullInt32() map[int32]types.Int32Value { 1126 if m != nil { 1127 return m.NonnullInt32 1128 } 1129 return nil 1130} 1131 1132func (m *MapProtoTypes) GetNullableUInt32() map[int32]*types.UInt32Value { 1133 if m != nil { 1134 return m.NullableUInt32 1135 } 1136 return nil 1137} 1138 1139func (m *MapProtoTypes) GetNonnullUInt32() map[int32]types.UInt32Value { 1140 if m != nil { 1141 return m.NonnullUInt32 1142 } 1143 return nil 1144} 1145 1146func (m *MapProtoTypes) GetNullableBool() map[int32]*types.BoolValue { 1147 if m != nil { 1148 return m.NullableBool 1149 } 1150 return nil 1151} 1152 1153func (m *MapProtoTypes) GetNonnullBool() map[int32]types.BoolValue { 1154 if m != nil { 1155 return m.NonnullBool 1156 } 1157 return nil 1158} 1159 1160func (m *MapProtoTypes) GetNullableString() map[int32]*types.StringValue { 1161 if m != nil { 1162 return m.NullableString 1163 } 1164 return nil 1165} 1166 1167func (m *MapProtoTypes) GetNonnullString() map[int32]types.StringValue { 1168 if m != nil { 1169 return m.NonnullString 1170 } 1171 return nil 1172} 1173 1174func (m *MapProtoTypes) GetNullableBytes() map[int32]*types.BytesValue { 1175 if m != nil { 1176 return m.NullableBytes 1177 } 1178 return nil 1179} 1180 1181func (m *MapProtoTypes) GetNonnullBytes() map[int32]types.BytesValue { 1182 if m != nil { 1183 return m.NonnullBytes 1184 } 1185 return nil 1186} 1187 1188type 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 1216func (m *MapStdTypes) Reset() { *m = MapStdTypes{} } 1217func (m *MapStdTypes) String() string { return proto.CompactTextString(m) } 1218func (*MapStdTypes) ProtoMessage() {} 1219func (*MapStdTypes) Descriptor() ([]byte, []int) { 1220 return fileDescriptor_b3cdd6d81a3ac3e5, []int{6} 1221} 1222func (m *MapStdTypes) XXX_Unmarshal(b []byte) error { 1223 return m.Unmarshal(b) 1224} 1225func (m *MapStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1226 return xxx_messageInfo_MapStdTypes.Marshal(b, m, deterministic) 1227} 1228func (m *MapStdTypes) XXX_Merge(src proto.Message) { 1229 xxx_messageInfo_MapStdTypes.Merge(m, src) 1230} 1231func (m *MapStdTypes) XXX_Size() int { 1232 return xxx_messageInfo_MapStdTypes.Size(m) 1233} 1234func (m *MapStdTypes) XXX_DiscardUnknown() { 1235 xxx_messageInfo_MapStdTypes.DiscardUnknown(m) 1236} 1237 1238var xxx_messageInfo_MapStdTypes proto.InternalMessageInfo 1239 1240func (m *MapStdTypes) GetNullableTimestamp() map[int32]*time.Time { 1241 if m != nil { 1242 return m.NullableTimestamp 1243 } 1244 return nil 1245} 1246 1247func (m *MapStdTypes) GetTimestamp() map[int32]time.Time { 1248 if m != nil { 1249 return m.Timestamp 1250 } 1251 return nil 1252} 1253 1254func (m *MapStdTypes) GetNullableDuration() map[int32]*time.Duration { 1255 if m != nil { 1256 return m.NullableDuration 1257 } 1258 return nil 1259} 1260 1261func (m *MapStdTypes) GetDuration() map[int32]time.Duration { 1262 if m != nil { 1263 return m.Duration 1264 } 1265 return nil 1266} 1267 1268func (m *MapStdTypes) GetNullableDouble() map[int32]*float64 { 1269 if m != nil { 1270 return m.NullableDouble 1271 } 1272 return nil 1273} 1274 1275func (m *MapStdTypes) GetNonnullDouble() map[int32]float64 { 1276 if m != nil { 1277 return m.NonnullDouble 1278 } 1279 return nil 1280} 1281 1282func (m *MapStdTypes) GetNullableFloat() map[int32]*float32 { 1283 if m != nil { 1284 return m.NullableFloat 1285 } 1286 return nil 1287} 1288 1289func (m *MapStdTypes) GetNonnullFloat() map[int32]float32 { 1290 if m != nil { 1291 return m.NonnullFloat 1292 } 1293 return nil 1294} 1295 1296func (m *MapStdTypes) GetNullableInt64() map[int32]*int64 { 1297 if m != nil { 1298 return m.NullableInt64 1299 } 1300 return nil 1301} 1302 1303func (m *MapStdTypes) GetNonnullInt64() map[int32]int64 { 1304 if m != nil { 1305 return m.NonnullInt64 1306 } 1307 return nil 1308} 1309 1310func (m *MapStdTypes) GetNullableUInt64() map[int32]*uint64 { 1311 if m != nil { 1312 return m.NullableUInt64 1313 } 1314 return nil 1315} 1316 1317func (m *MapStdTypes) GetNonnullUInt64() map[int32]uint64 { 1318 if m != nil { 1319 return m.NonnullUInt64 1320 } 1321 return nil 1322} 1323 1324func (m *MapStdTypes) GetNullableInt32() map[int32]*int32 { 1325 if m != nil { 1326 return m.NullableInt32 1327 } 1328 return nil 1329} 1330 1331func (m *MapStdTypes) GetNonnullInt32() map[int32]int32 { 1332 if m != nil { 1333 return m.NonnullInt32 1334 } 1335 return nil 1336} 1337 1338func (m *MapStdTypes) GetNullableUInt32() map[int32]*uint32 { 1339 if m != nil { 1340 return m.NullableUInt32 1341 } 1342 return nil 1343} 1344 1345func (m *MapStdTypes) GetNonnullUInt32() map[int32]uint32 { 1346 if m != nil { 1347 return m.NonnullUInt32 1348 } 1349 return nil 1350} 1351 1352func (m *MapStdTypes) GetNullableBool() map[int32]*bool { 1353 if m != nil { 1354 return m.NullableBool 1355 } 1356 return nil 1357} 1358 1359func (m *MapStdTypes) GetNonnullBool() map[int32]bool { 1360 if m != nil { 1361 return m.NonnullBool 1362 } 1363 return nil 1364} 1365 1366func (m *MapStdTypes) GetNullableString() map[int32]*string { 1367 if m != nil { 1368 return m.NullableString 1369 } 1370 return nil 1371} 1372 1373func (m *MapStdTypes) GetNonnullString() map[int32]string { 1374 if m != nil { 1375 return m.NonnullString 1376 } 1377 return nil 1378} 1379 1380func (m *MapStdTypes) GetNullableBytes() map[int32]*[]byte { 1381 if m != nil { 1382 return m.NullableBytes 1383 } 1384 return nil 1385} 1386 1387func (m *MapStdTypes) GetNonnullBytes() map[int32][]byte { 1388 if m != nil { 1389 return m.NonnullBytes 1390 } 1391 return nil 1392} 1393 1394type 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 1413func (m *OneofProtoTypes) Reset() { *m = OneofProtoTypes{} } 1414func (m *OneofProtoTypes) String() string { return proto.CompactTextString(m) } 1415func (*OneofProtoTypes) ProtoMessage() {} 1416func (*OneofProtoTypes) Descriptor() ([]byte, []int) { 1417 return fileDescriptor_b3cdd6d81a3ac3e5, []int{7} 1418} 1419func (m *OneofProtoTypes) XXX_Unmarshal(b []byte) error { 1420 return m.Unmarshal(b) 1421} 1422func (m *OneofProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1423 return xxx_messageInfo_OneofProtoTypes.Marshal(b, m, deterministic) 1424} 1425func (m *OneofProtoTypes) XXX_Merge(src proto.Message) { 1426 xxx_messageInfo_OneofProtoTypes.Merge(m, src) 1427} 1428func (m *OneofProtoTypes) XXX_Size() int { 1429 return xxx_messageInfo_OneofProtoTypes.Size(m) 1430} 1431func (m *OneofProtoTypes) XXX_DiscardUnknown() { 1432 xxx_messageInfo_OneofProtoTypes.DiscardUnknown(m) 1433} 1434 1435var xxx_messageInfo_OneofProtoTypes proto.InternalMessageInfo 1436 1437type isOneofProtoTypes_OneOfProtoTimes interface { 1438 isOneofProtoTypes_OneOfProtoTimes() 1439 Equal(interface{}) bool 1440 VerboseEqual(interface{}) error 1441 Size() int 1442} 1443 1444type OneofProtoTypes_Timestamp struct { 1445 Timestamp *types.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3,oneof" json:"timestamp,omitempty"` 1446} 1447type OneofProtoTypes_Duration struct { 1448 Duration *types.Duration `protobuf:"bytes,2,opt,name=duration,proto3,oneof" json:"duration,omitempty"` 1449} 1450type OneofProtoTypes_RepDouble struct { 1451 RepDouble *types.DoubleValue `protobuf:"bytes,3,opt,name=repDouble,proto3,oneof" json:"repDouble,omitempty"` 1452} 1453type OneofProtoTypes_RepFloat struct { 1454 RepFloat *types.FloatValue `protobuf:"bytes,4,opt,name=repFloat,proto3,oneof" json:"repFloat,omitempty"` 1455} 1456type OneofProtoTypes_RepInt64 struct { 1457 RepInt64 *types.Int64Value `protobuf:"bytes,5,opt,name=repInt64,proto3,oneof" json:"repInt64,omitempty"` 1458} 1459type OneofProtoTypes_RepUInt64 struct { 1460 RepUInt64 *types.UInt64Value `protobuf:"bytes,6,opt,name=repUInt64,proto3,oneof" json:"repUInt64,omitempty"` 1461} 1462type OneofProtoTypes_RepInt32 struct { 1463 RepInt32 *types.Int32Value `protobuf:"bytes,7,opt,name=repInt32,proto3,oneof" json:"repInt32,omitempty"` 1464} 1465type OneofProtoTypes_RepUInt32 struct { 1466 RepUInt32 *types.UInt32Value `protobuf:"bytes,8,opt,name=repUInt32,proto3,oneof" json:"repUInt32,omitempty"` 1467} 1468type OneofProtoTypes_RepBool struct { 1469 RepBool *types.BoolValue `protobuf:"bytes,9,opt,name=repBool,proto3,oneof" json:"repBool,omitempty"` 1470} 1471type OneofProtoTypes_RepString struct { 1472 RepString *types.StringValue `protobuf:"bytes,10,opt,name=repString,proto3,oneof" json:"repString,omitempty"` 1473} 1474type OneofProtoTypes_RepBytes struct { 1475 RepBytes *types.BytesValue `protobuf:"bytes,11,opt,name=repBytes,proto3,oneof" json:"repBytes,omitempty"` 1476} 1477 1478func (*OneofProtoTypes_Timestamp) isOneofProtoTypes_OneOfProtoTimes() {} 1479func (*OneofProtoTypes_Duration) isOneofProtoTypes_OneOfProtoTimes() {} 1480func (*OneofProtoTypes_RepDouble) isOneofProtoTypes_OneOfProtoTimes() {} 1481func (*OneofProtoTypes_RepFloat) isOneofProtoTypes_OneOfProtoTimes() {} 1482func (*OneofProtoTypes_RepInt64) isOneofProtoTypes_OneOfProtoTimes() {} 1483func (*OneofProtoTypes_RepUInt64) isOneofProtoTypes_OneOfProtoTimes() {} 1484func (*OneofProtoTypes_RepInt32) isOneofProtoTypes_OneOfProtoTimes() {} 1485func (*OneofProtoTypes_RepUInt32) isOneofProtoTypes_OneOfProtoTimes() {} 1486func (*OneofProtoTypes_RepBool) isOneofProtoTypes_OneOfProtoTimes() {} 1487func (*OneofProtoTypes_RepString) isOneofProtoTypes_OneOfProtoTimes() {} 1488func (*OneofProtoTypes_RepBytes) isOneofProtoTypes_OneOfProtoTimes() {} 1489 1490func (m *OneofProtoTypes) GetOneOfProtoTimes() isOneofProtoTypes_OneOfProtoTimes { 1491 if m != nil { 1492 return m.OneOfProtoTimes 1493 } 1494 return nil 1495} 1496 1497func (m *OneofProtoTypes) GetTimestamp() *types.Timestamp { 1498 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_Timestamp); ok { 1499 return x.Timestamp 1500 } 1501 return nil 1502} 1503 1504func (m *OneofProtoTypes) GetDuration() *types.Duration { 1505 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_Duration); ok { 1506 return x.Duration 1507 } 1508 return nil 1509} 1510 1511func (m *OneofProtoTypes) GetRepDouble() *types.DoubleValue { 1512 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepDouble); ok { 1513 return x.RepDouble 1514 } 1515 return nil 1516} 1517 1518func (m *OneofProtoTypes) GetRepFloat() *types.FloatValue { 1519 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepFloat); ok { 1520 return x.RepFloat 1521 } 1522 return nil 1523} 1524 1525func (m *OneofProtoTypes) GetRepInt64() *types.Int64Value { 1526 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepInt64); ok { 1527 return x.RepInt64 1528 } 1529 return nil 1530} 1531 1532func (m *OneofProtoTypes) GetRepUInt64() *types.UInt64Value { 1533 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepUInt64); ok { 1534 return x.RepUInt64 1535 } 1536 return nil 1537} 1538 1539func (m *OneofProtoTypes) GetRepInt32() *types.Int32Value { 1540 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepInt32); ok { 1541 return x.RepInt32 1542 } 1543 return nil 1544} 1545 1546func (m *OneofProtoTypes) GetRepUInt32() *types.UInt32Value { 1547 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepUInt32); ok { 1548 return x.RepUInt32 1549 } 1550 return nil 1551} 1552 1553func (m *OneofProtoTypes) GetRepBool() *types.BoolValue { 1554 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepBool); ok { 1555 return x.RepBool 1556 } 1557 return nil 1558} 1559 1560func (m *OneofProtoTypes) GetRepString() *types.StringValue { 1561 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepString); ok { 1562 return x.RepString 1563 } 1564 return nil 1565} 1566 1567func (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. 1575func (*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 1591type 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 1610func (m *OneofStdTypes) Reset() { *m = OneofStdTypes{} } 1611func (m *OneofStdTypes) String() string { return proto.CompactTextString(m) } 1612func (*OneofStdTypes) ProtoMessage() {} 1613func (*OneofStdTypes) Descriptor() ([]byte, []int) { 1614 return fileDescriptor_b3cdd6d81a3ac3e5, []int{8} 1615} 1616func (m *OneofStdTypes) XXX_Unmarshal(b []byte) error { 1617 return m.Unmarshal(b) 1618} 1619func (m *OneofStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1620 return xxx_messageInfo_OneofStdTypes.Marshal(b, m, deterministic) 1621} 1622func (m *OneofStdTypes) XXX_Merge(src proto.Message) { 1623 xxx_messageInfo_OneofStdTypes.Merge(m, src) 1624} 1625func (m *OneofStdTypes) XXX_Size() int { 1626 return xxx_messageInfo_OneofStdTypes.Size(m) 1627} 1628func (m *OneofStdTypes) XXX_DiscardUnknown() { 1629 xxx_messageInfo_OneofStdTypes.DiscardUnknown(m) 1630} 1631 1632var xxx_messageInfo_OneofStdTypes proto.InternalMessageInfo 1633 1634type isOneofStdTypes_OneOfStdTimes interface { 1635 isOneofStdTypes_OneOfStdTimes() 1636 Equal(interface{}) bool 1637 VerboseEqual(interface{}) error 1638 Size() int 1639} 1640 1641type OneofStdTypes_Timestamp struct { 1642 Timestamp *time.Time `protobuf:"bytes,1,opt,name=timestamp,proto3,oneof,stdtime" json:"timestamp,omitempty"` 1643} 1644type OneofStdTypes_Duration struct { 1645 Duration *time.Duration `protobuf:"bytes,2,opt,name=duration,proto3,oneof,stdduration" json:"duration,omitempty"` 1646} 1647type OneofStdTypes_RepDouble struct { 1648 RepDouble *float64 `protobuf:"bytes,3,opt,name=repDouble,proto3,oneof,wktptr" json:"repDouble,omitempty"` 1649} 1650type OneofStdTypes_RepFloat struct { 1651 RepFloat *float32 `protobuf:"bytes,4,opt,name=repFloat,proto3,oneof,wktptr" json:"repFloat,omitempty"` 1652} 1653type OneofStdTypes_RepInt64 struct { 1654 RepInt64 *int64 `protobuf:"bytes,5,opt,name=repInt64,proto3,oneof,wktptr" json:"repInt64,omitempty"` 1655} 1656type OneofStdTypes_RepUInt64 struct { 1657 RepUInt64 *uint64 `protobuf:"bytes,6,opt,name=repUInt64,proto3,oneof,wktptr" json:"repUInt64,omitempty"` 1658} 1659type OneofStdTypes_RepInt32 struct { 1660 RepInt32 *int32 `protobuf:"bytes,7,opt,name=repInt32,proto3,oneof,wktptr" json:"repInt32,omitempty"` 1661} 1662type OneofStdTypes_RepUInt32 struct { 1663 RepUInt32 *uint32 `protobuf:"bytes,8,opt,name=repUInt32,proto3,oneof,wktptr" json:"repUInt32,omitempty"` 1664} 1665type OneofStdTypes_RepBool struct { 1666 RepBool *bool `protobuf:"bytes,9,opt,name=repBool,proto3,oneof,wktptr" json:"repBool,omitempty"` 1667} 1668type OneofStdTypes_RepString struct { 1669 RepString *string `protobuf:"bytes,10,opt,name=repString,proto3,oneof,wktptr" json:"repString,omitempty"` 1670} 1671type OneofStdTypes_RepBytes struct { 1672 RepBytes *[]byte `protobuf:"bytes,11,opt,name=repBytes,proto3,oneof,wktptr" json:"repBytes,omitempty"` 1673} 1674 1675func (*OneofStdTypes_Timestamp) isOneofStdTypes_OneOfStdTimes() {} 1676func (*OneofStdTypes_Duration) isOneofStdTypes_OneOfStdTimes() {} 1677func (*OneofStdTypes_RepDouble) isOneofStdTypes_OneOfStdTimes() {} 1678func (*OneofStdTypes_RepFloat) isOneofStdTypes_OneOfStdTimes() {} 1679func (*OneofStdTypes_RepInt64) isOneofStdTypes_OneOfStdTimes() {} 1680func (*OneofStdTypes_RepUInt64) isOneofStdTypes_OneOfStdTimes() {} 1681func (*OneofStdTypes_RepInt32) isOneofStdTypes_OneOfStdTimes() {} 1682func (*OneofStdTypes_RepUInt32) isOneofStdTypes_OneOfStdTimes() {} 1683func (*OneofStdTypes_RepBool) isOneofStdTypes_OneOfStdTimes() {} 1684func (*OneofStdTypes_RepString) isOneofStdTypes_OneOfStdTimes() {} 1685func (*OneofStdTypes_RepBytes) isOneofStdTypes_OneOfStdTimes() {} 1686 1687func (m *OneofStdTypes) GetOneOfStdTimes() isOneofStdTypes_OneOfStdTimes { 1688 if m != nil { 1689 return m.OneOfStdTimes 1690 } 1691 return nil 1692} 1693 1694func (m *OneofStdTypes) GetTimestamp() *time.Time { 1695 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_Timestamp); ok { 1696 return x.Timestamp 1697 } 1698 return nil 1699} 1700 1701func (m *OneofStdTypes) GetDuration() *time.Duration { 1702 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_Duration); ok { 1703 return x.Duration 1704 } 1705 return nil 1706} 1707 1708func (m *OneofStdTypes) GetRepDouble() *float64 { 1709 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepDouble); ok { 1710 return x.RepDouble 1711 } 1712 return nil 1713} 1714 1715func (m *OneofStdTypes) GetRepFloat() *float32 { 1716 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepFloat); ok { 1717 return x.RepFloat 1718 } 1719 return nil 1720} 1721 1722func (m *OneofStdTypes) GetRepInt64() *int64 { 1723 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepInt64); ok { 1724 return x.RepInt64 1725 } 1726 return nil 1727} 1728 1729func (m *OneofStdTypes) GetRepUInt64() *uint64 { 1730 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepUInt64); ok { 1731 return x.RepUInt64 1732 } 1733 return nil 1734} 1735 1736func (m *OneofStdTypes) GetRepInt32() *int32 { 1737 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepInt32); ok { 1738 return x.RepInt32 1739 } 1740 return nil 1741} 1742 1743func (m *OneofStdTypes) GetRepUInt32() *uint32 { 1744 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepUInt32); ok { 1745 return x.RepUInt32 1746 } 1747 return nil 1748} 1749 1750func (m *OneofStdTypes) GetRepBool() *bool { 1751 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepBool); ok { 1752 return x.RepBool 1753 } 1754 return nil 1755} 1756 1757func (m *OneofStdTypes) GetRepString() *string { 1758 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepString); ok { 1759 return x.RepString 1760 } 1761 return nil 1762} 1763 1764func (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. 1772func (*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 1788func 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 1844func init() { proto.RegisterFile("combos/unmarshaler/types.proto", fileDescriptor_b3cdd6d81a3ac3e5) } 1845 1846var 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 1996func (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} 2062func (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} 2158func (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} 2430func (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} 2496func (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} 2556func (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} 2652func (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} 2742func (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} 2900func (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} 3052func (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} 3258func (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} 3458func (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} 3664func (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} 3864func (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} 4092func (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} 4314func (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} 4556func (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} 4792func (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} 4831func (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} 4861func (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} 4891func (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} 4921func (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} 4951func (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} 4981func (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} 5011func (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} 5041func (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} 5071func (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} 5101func (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} 5131func (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} 5161func (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} 5194func (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} 5218func (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} 5242func (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} 5266func (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} 5290func (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} 5314func (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} 5338func (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} 5362func (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} 5386func (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} 5410func (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} 5434func (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} 5458func (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} 5497func (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} 5531func (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} 5567func (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} 5603func (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} 5639func (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} 5675func (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} 5711func (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} 5747func (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} 5783func (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} 5819func (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} 5855func (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} 5889func (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} 5922func (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} 5950func (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} 5980func (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} 6010func (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} 6040func (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} 6070func (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} 6100func (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} 6130func (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} 6160func (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} 6190func (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} 6220func (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} 6248func 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 6292func 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 6355func 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 6418func 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 6591func 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 6764func 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 6926func 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 7088func 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 7121func NewPopulatedOneofProtoTypes_Timestamp(r randyTypes, easy bool) *OneofProtoTypes_Timestamp { 7122 this := &OneofProtoTypes_Timestamp{} 7123 this.Timestamp = types.NewPopulatedTimestamp(r, easy) 7124 return this 7125} 7126func NewPopulatedOneofProtoTypes_Duration(r randyTypes, easy bool) *OneofProtoTypes_Duration { 7127 this := &OneofProtoTypes_Duration{} 7128 this.Duration = types.NewPopulatedDuration(r, easy) 7129 return this 7130} 7131func NewPopulatedOneofProtoTypes_RepDouble(r randyTypes, easy bool) *OneofProtoTypes_RepDouble { 7132 this := &OneofProtoTypes_RepDouble{} 7133 this.RepDouble = types.NewPopulatedDoubleValue(r, easy) 7134 return this 7135} 7136func NewPopulatedOneofProtoTypes_RepFloat(r randyTypes, easy bool) *OneofProtoTypes_RepFloat { 7137 this := &OneofProtoTypes_RepFloat{} 7138 this.RepFloat = types.NewPopulatedFloatValue(r, easy) 7139 return this 7140} 7141func NewPopulatedOneofProtoTypes_RepInt64(r randyTypes, easy bool) *OneofProtoTypes_RepInt64 { 7142 this := &OneofProtoTypes_RepInt64{} 7143 this.RepInt64 = types.NewPopulatedInt64Value(r, easy) 7144 return this 7145} 7146func NewPopulatedOneofProtoTypes_RepUInt64(r randyTypes, easy bool) *OneofProtoTypes_RepUInt64 { 7147 this := &OneofProtoTypes_RepUInt64{} 7148 this.RepUInt64 = types.NewPopulatedUInt64Value(r, easy) 7149 return this 7150} 7151func NewPopulatedOneofProtoTypes_RepInt32(r randyTypes, easy bool) *OneofProtoTypes_RepInt32 { 7152 this := &OneofProtoTypes_RepInt32{} 7153 this.RepInt32 = types.NewPopulatedInt32Value(r, easy) 7154 return this 7155} 7156func NewPopulatedOneofProtoTypes_RepUInt32(r randyTypes, easy bool) *OneofProtoTypes_RepUInt32 { 7157 this := &OneofProtoTypes_RepUInt32{} 7158 this.RepUInt32 = types.NewPopulatedUInt32Value(r, easy) 7159 return this 7160} 7161func NewPopulatedOneofProtoTypes_RepBool(r randyTypes, easy bool) *OneofProtoTypes_RepBool { 7162 this := &OneofProtoTypes_RepBool{} 7163 this.RepBool = types.NewPopulatedBoolValue(r, easy) 7164 return this 7165} 7166func NewPopulatedOneofProtoTypes_RepString(r randyTypes, easy bool) *OneofProtoTypes_RepString { 7167 this := &OneofProtoTypes_RepString{} 7168 this.RepString = types.NewPopulatedStringValue(r, easy) 7169 return this 7170} 7171func NewPopulatedOneofProtoTypes_RepBytes(r randyTypes, easy bool) *OneofProtoTypes_RepBytes { 7172 this := &OneofProtoTypes_RepBytes{} 7173 this.RepBytes = types.NewPopulatedBytesValue(r, easy) 7174 return this 7175} 7176func 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 7209func 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} 7214func 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} 7219func 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} 7224func 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} 7229func 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} 7234func 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} 7239func 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} 7244func 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} 7249func 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} 7254func 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} 7259func 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 7265type randyTypes interface { 7266 Float32() float32 7267 Float64() float64 7268 Int63() int64 7269 Int31() int32 7270 Uint32() uint32 7271 Intn(n int) int 7272} 7273 7274func 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} 7283func 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} 7291func 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} 7303func 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} 7329func 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} 7337func (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 7397func (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 7475func (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 7553func (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 7697func (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 7841func (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 8095func (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 8349func (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 8364func (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} 8376func (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} 8388func (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} 8400func (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} 8412func (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} 8424func (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} 8436func (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} 8448func (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} 8460func (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} 8472func (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} 8484func (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} 8496func (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 8511func (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} 8523func (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} 8535func (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} 8547func (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} 8559func (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} 8571func (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} 8583func (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} 8595func (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} 8607func (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} 8619func (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} 8631func (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 8644func sovTypes(x uint64) (n int) { 8645 return (math_bits.Len64(x|1) + 6) / 7 8646} 8647func sozTypes(x uint64) (n int) { 8648 return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 8649} 8650func (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 { 9118 return ErrInvalidLengthTypes 9119 } 9120 if (iNdEx + skippy) < 0 { 9121 return ErrInvalidLengthTypes 9122 } 9123 if (iNdEx + skippy) > l { 9124 return io.ErrUnexpectedEOF 9125 } 9126 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9127 iNdEx += skippy 9128 } 9129 } 9130 9131 if iNdEx > l { 9132 return io.ErrUnexpectedEOF 9133 } 9134 return nil 9135} 9136func (m *ProtoTypes) Unmarshal(dAtA []byte) error { 9137 l := len(dAtA) 9138 iNdEx := 0 9139 for iNdEx < l { 9140 preIndex := iNdEx 9141 var wire uint64 9142 for shift := uint(0); ; shift += 7 { 9143 if shift >= 64 { 9144 return ErrIntOverflowTypes 9145 } 9146 if iNdEx >= l { 9147 return io.ErrUnexpectedEOF 9148 } 9149 b := dAtA[iNdEx] 9150 iNdEx++ 9151 wire |= uint64(b&0x7F) << shift 9152 if b < 0x80 { 9153 break 9154 } 9155 } 9156 fieldNum := int32(wire >> 3) 9157 wireType := int(wire & 0x7) 9158 if wireType == 4 { 9159 return fmt.Errorf("proto: ProtoTypes: wiretype end group for non-group") 9160 } 9161 if fieldNum <= 0 { 9162 return fmt.Errorf("proto: ProtoTypes: illegal tag %d (wire type %d)", fieldNum, wire) 9163 } 9164 switch fieldNum { 9165 case 1: 9166 if wireType != 2 { 9167 return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamp", wireType) 9168 } 9169 var msglen int 9170 for shift := uint(0); ; shift += 7 { 9171 if shift >= 64 { 9172 return ErrIntOverflowTypes 9173 } 9174 if iNdEx >= l { 9175 return io.ErrUnexpectedEOF 9176 } 9177 b := dAtA[iNdEx] 9178 iNdEx++ 9179 msglen |= int(b&0x7F) << shift 9180 if b < 0x80 { 9181 break 9182 } 9183 } 9184 if msglen < 0 { 9185 return ErrInvalidLengthTypes 9186 } 9187 postIndex := iNdEx + msglen 9188 if postIndex < 0 { 9189 return ErrInvalidLengthTypes 9190 } 9191 if postIndex > l { 9192 return io.ErrUnexpectedEOF 9193 } 9194 if m.NullableTimestamp == nil { 9195 m.NullableTimestamp = &types.Timestamp{} 9196 } 9197 if err := m.NullableTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9198 return err 9199 } 9200 iNdEx = postIndex 9201 case 2: 9202 if wireType != 2 { 9203 return fmt.Errorf("proto: wrong wireType = %d for field NullableDuration", wireType) 9204 } 9205 var msglen int 9206 for shift := uint(0); ; shift += 7 { 9207 if shift >= 64 { 9208 return ErrIntOverflowTypes 9209 } 9210 if iNdEx >= l { 9211 return io.ErrUnexpectedEOF 9212 } 9213 b := dAtA[iNdEx] 9214 iNdEx++ 9215 msglen |= int(b&0x7F) << shift 9216 if b < 0x80 { 9217 break 9218 } 9219 } 9220 if msglen < 0 { 9221 return ErrInvalidLengthTypes 9222 } 9223 postIndex := iNdEx + msglen 9224 if postIndex < 0 { 9225 return ErrInvalidLengthTypes 9226 } 9227 if postIndex > l { 9228 return io.ErrUnexpectedEOF 9229 } 9230 if m.NullableDuration == nil { 9231 m.NullableDuration = &types.Duration{} 9232 } 9233 if err := m.NullableDuration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9234 return err 9235 } 9236 iNdEx = postIndex 9237 case 3: 9238 if wireType != 2 { 9239 return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) 9240 } 9241 var msglen int 9242 for shift := uint(0); ; shift += 7 { 9243 if shift >= 64 { 9244 return ErrIntOverflowTypes 9245 } 9246 if iNdEx >= l { 9247 return io.ErrUnexpectedEOF 9248 } 9249 b := dAtA[iNdEx] 9250 iNdEx++ 9251 msglen |= int(b&0x7F) << shift 9252 if b < 0x80 { 9253 break 9254 } 9255 } 9256 if msglen < 0 { 9257 return ErrInvalidLengthTypes 9258 } 9259 postIndex := iNdEx + msglen 9260 if postIndex < 0 { 9261 return ErrInvalidLengthTypes 9262 } 9263 if postIndex > l { 9264 return io.ErrUnexpectedEOF 9265 } 9266 if m.NullableDouble == nil { 9267 m.NullableDouble = &types.DoubleValue{} 9268 } 9269 if err := m.NullableDouble.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9270 return err 9271 } 9272 iNdEx = postIndex 9273 case 4: 9274 if wireType != 2 { 9275 return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) 9276 } 9277 var msglen int 9278 for shift := uint(0); ; shift += 7 { 9279 if shift >= 64 { 9280 return ErrIntOverflowTypes 9281 } 9282 if iNdEx >= l { 9283 return io.ErrUnexpectedEOF 9284 } 9285 b := dAtA[iNdEx] 9286 iNdEx++ 9287 msglen |= int(b&0x7F) << shift 9288 if b < 0x80 { 9289 break 9290 } 9291 } 9292 if msglen < 0 { 9293 return ErrInvalidLengthTypes 9294 } 9295 postIndex := iNdEx + msglen 9296 if postIndex < 0 { 9297 return ErrInvalidLengthTypes 9298 } 9299 if postIndex > l { 9300 return io.ErrUnexpectedEOF 9301 } 9302 if m.NullableFloat == nil { 9303 m.NullableFloat = &types.FloatValue{} 9304 } 9305 if err := m.NullableFloat.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9306 return err 9307 } 9308 iNdEx = postIndex 9309 case 5: 9310 if wireType != 2 { 9311 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) 9312 } 9313 var msglen int 9314 for shift := uint(0); ; shift += 7 { 9315 if shift >= 64 { 9316 return ErrIntOverflowTypes 9317 } 9318 if iNdEx >= l { 9319 return io.ErrUnexpectedEOF 9320 } 9321 b := dAtA[iNdEx] 9322 iNdEx++ 9323 msglen |= int(b&0x7F) << shift 9324 if b < 0x80 { 9325 break 9326 } 9327 } 9328 if msglen < 0 { 9329 return ErrInvalidLengthTypes 9330 } 9331 postIndex := iNdEx + msglen 9332 if postIndex < 0 { 9333 return ErrInvalidLengthTypes 9334 } 9335 if postIndex > l { 9336 return io.ErrUnexpectedEOF 9337 } 9338 if m.NullableInt64 == nil { 9339 m.NullableInt64 = &types.Int64Value{} 9340 } 9341 if err := m.NullableInt64.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9342 return err 9343 } 9344 iNdEx = postIndex 9345 case 6: 9346 if wireType != 2 { 9347 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) 9348 } 9349 var msglen int 9350 for shift := uint(0); ; shift += 7 { 9351 if shift >= 64 { 9352 return ErrIntOverflowTypes 9353 } 9354 if iNdEx >= l { 9355 return io.ErrUnexpectedEOF 9356 } 9357 b := dAtA[iNdEx] 9358 iNdEx++ 9359 msglen |= int(b&0x7F) << shift 9360 if b < 0x80 { 9361 break 9362 } 9363 } 9364 if msglen < 0 { 9365 return ErrInvalidLengthTypes 9366 } 9367 postIndex := iNdEx + msglen 9368 if postIndex < 0 { 9369 return ErrInvalidLengthTypes 9370 } 9371 if postIndex > l { 9372 return io.ErrUnexpectedEOF 9373 } 9374 if m.NullableUInt64 == nil { 9375 m.NullableUInt64 = &types.UInt64Value{} 9376 } 9377 if err := m.NullableUInt64.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9378 return err 9379 } 9380 iNdEx = postIndex 9381 case 7: 9382 if wireType != 2 { 9383 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) 9384 } 9385 var msglen int 9386 for shift := uint(0); ; shift += 7 { 9387 if shift >= 64 { 9388 return ErrIntOverflowTypes 9389 } 9390 if iNdEx >= l { 9391 return io.ErrUnexpectedEOF 9392 } 9393 b := dAtA[iNdEx] 9394 iNdEx++ 9395 msglen |= int(b&0x7F) << shift 9396 if b < 0x80 { 9397 break 9398 } 9399 } 9400 if msglen < 0 { 9401 return ErrInvalidLengthTypes 9402 } 9403 postIndex := iNdEx + msglen 9404 if postIndex < 0 { 9405 return ErrInvalidLengthTypes 9406 } 9407 if postIndex > l { 9408 return io.ErrUnexpectedEOF 9409 } 9410 if m.NullableInt32 == nil { 9411 m.NullableInt32 = &types.Int32Value{} 9412 } 9413 if err := m.NullableInt32.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9414 return err 9415 } 9416 iNdEx = postIndex 9417 case 8: 9418 if wireType != 2 { 9419 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) 9420 } 9421 var msglen int 9422 for shift := uint(0); ; shift += 7 { 9423 if shift >= 64 { 9424 return ErrIntOverflowTypes 9425 } 9426 if iNdEx >= l { 9427 return io.ErrUnexpectedEOF 9428 } 9429 b := dAtA[iNdEx] 9430 iNdEx++ 9431 msglen |= int(b&0x7F) << shift 9432 if b < 0x80 { 9433 break 9434 } 9435 } 9436 if msglen < 0 { 9437 return ErrInvalidLengthTypes 9438 } 9439 postIndex := iNdEx + msglen 9440 if postIndex < 0 { 9441 return ErrInvalidLengthTypes 9442 } 9443 if postIndex > l { 9444 return io.ErrUnexpectedEOF 9445 } 9446 if m.NullableUInt32 == nil { 9447 m.NullableUInt32 = &types.UInt32Value{} 9448 } 9449 if err := m.NullableUInt32.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9450 return err 9451 } 9452 iNdEx = postIndex 9453 case 9: 9454 if wireType != 2 { 9455 return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) 9456 } 9457 var msglen int 9458 for shift := uint(0); ; shift += 7 { 9459 if shift >= 64 { 9460 return ErrIntOverflowTypes 9461 } 9462 if iNdEx >= l { 9463 return io.ErrUnexpectedEOF 9464 } 9465 b := dAtA[iNdEx] 9466 iNdEx++ 9467 msglen |= int(b&0x7F) << shift 9468 if b < 0x80 { 9469 break 9470 } 9471 } 9472 if msglen < 0 { 9473 return ErrInvalidLengthTypes 9474 } 9475 postIndex := iNdEx + msglen 9476 if postIndex < 0 { 9477 return ErrInvalidLengthTypes 9478 } 9479 if postIndex > l { 9480 return io.ErrUnexpectedEOF 9481 } 9482 if m.NullableBool == nil { 9483 m.NullableBool = &types.BoolValue{} 9484 } 9485 if err := m.NullableBool.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9486 return err 9487 } 9488 iNdEx = postIndex 9489 case 10: 9490 if wireType != 2 { 9491 return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) 9492 } 9493 var msglen int 9494 for shift := uint(0); ; shift += 7 { 9495 if shift >= 64 { 9496 return ErrIntOverflowTypes 9497 } 9498 if iNdEx >= l { 9499 return io.ErrUnexpectedEOF 9500 } 9501 b := dAtA[iNdEx] 9502 iNdEx++ 9503 msglen |= int(b&0x7F) << shift 9504 if b < 0x80 { 9505 break 9506 } 9507 } 9508 if msglen < 0 { 9509 return ErrInvalidLengthTypes 9510 } 9511 postIndex := iNdEx + msglen 9512 if postIndex < 0 { 9513 return ErrInvalidLengthTypes 9514 } 9515 if postIndex > l { 9516 return io.ErrUnexpectedEOF 9517 } 9518 if m.NullableString == nil { 9519 m.NullableString = &types.StringValue{} 9520 } 9521 if err := m.NullableString.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9522 return err 9523 } 9524 iNdEx = postIndex 9525 case 11: 9526 if wireType != 2 { 9527 return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) 9528 } 9529 var msglen int 9530 for shift := uint(0); ; shift += 7 { 9531 if shift >= 64 { 9532 return ErrIntOverflowTypes 9533 } 9534 if iNdEx >= l { 9535 return io.ErrUnexpectedEOF 9536 } 9537 b := dAtA[iNdEx] 9538 iNdEx++ 9539 msglen |= int(b&0x7F) << shift 9540 if b < 0x80 { 9541 break 9542 } 9543 } 9544 if msglen < 0 { 9545 return ErrInvalidLengthTypes 9546 } 9547 postIndex := iNdEx + msglen 9548 if postIndex < 0 { 9549 return ErrInvalidLengthTypes 9550 } 9551 if postIndex > l { 9552 return io.ErrUnexpectedEOF 9553 } 9554 if m.NullableBytes == nil { 9555 m.NullableBytes = &types.BytesValue{} 9556 } 9557 if err := m.NullableBytes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9558 return err 9559 } 9560 iNdEx = postIndex 9561 case 12: 9562 if wireType != 2 { 9563 return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) 9564 } 9565 var msglen int 9566 for shift := uint(0); ; shift += 7 { 9567 if shift >= 64 { 9568 return ErrIntOverflowTypes 9569 } 9570 if iNdEx >= l { 9571 return io.ErrUnexpectedEOF 9572 } 9573 b := dAtA[iNdEx] 9574 iNdEx++ 9575 msglen |= int(b&0x7F) << shift 9576 if b < 0x80 { 9577 break 9578 } 9579 } 9580 if msglen < 0 { 9581 return ErrInvalidLengthTypes 9582 } 9583 postIndex := iNdEx + msglen 9584 if postIndex < 0 { 9585 return ErrInvalidLengthTypes 9586 } 9587 if postIndex > l { 9588 return io.ErrUnexpectedEOF 9589 } 9590 if err := m.Timestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9591 return err 9592 } 9593 iNdEx = postIndex 9594 case 13: 9595 if wireType != 2 { 9596 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 9597 } 9598 var msglen int 9599 for shift := uint(0); ; shift += 7 { 9600 if shift >= 64 { 9601 return ErrIntOverflowTypes 9602 } 9603 if iNdEx >= l { 9604 return io.ErrUnexpectedEOF 9605 } 9606 b := dAtA[iNdEx] 9607 iNdEx++ 9608 msglen |= int(b&0x7F) << shift 9609 if b < 0x80 { 9610 break 9611 } 9612 } 9613 if msglen < 0 { 9614 return ErrInvalidLengthTypes 9615 } 9616 postIndex := iNdEx + msglen 9617 if postIndex < 0 { 9618 return ErrInvalidLengthTypes 9619 } 9620 if postIndex > l { 9621 return io.ErrUnexpectedEOF 9622 } 9623 if err := m.Duration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9624 return err 9625 } 9626 iNdEx = postIndex 9627 case 14: 9628 if wireType != 2 { 9629 return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) 9630 } 9631 var msglen int 9632 for shift := uint(0); ; shift += 7 { 9633 if shift >= 64 { 9634 return ErrIntOverflowTypes 9635 } 9636 if iNdEx >= l { 9637 return io.ErrUnexpectedEOF 9638 } 9639 b := dAtA[iNdEx] 9640 iNdEx++ 9641 msglen |= int(b&0x7F) << shift 9642 if b < 0x80 { 9643 break 9644 } 9645 } 9646 if msglen < 0 { 9647 return ErrInvalidLengthTypes 9648 } 9649 postIndex := iNdEx + msglen 9650 if postIndex < 0 { 9651 return ErrInvalidLengthTypes 9652 } 9653 if postIndex > l { 9654 return io.ErrUnexpectedEOF 9655 } 9656 if err := m.NonnullDouble.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9657 return err 9658 } 9659 iNdEx = postIndex 9660 case 15: 9661 if wireType != 2 { 9662 return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) 9663 } 9664 var msglen int 9665 for shift := uint(0); ; shift += 7 { 9666 if shift >= 64 { 9667 return ErrIntOverflowTypes 9668 } 9669 if iNdEx >= l { 9670 return io.ErrUnexpectedEOF 9671 } 9672 b := dAtA[iNdEx] 9673 iNdEx++ 9674 msglen |= int(b&0x7F) << shift 9675 if b < 0x80 { 9676 break 9677 } 9678 } 9679 if msglen < 0 { 9680 return ErrInvalidLengthTypes 9681 } 9682 postIndex := iNdEx + msglen 9683 if postIndex < 0 { 9684 return ErrInvalidLengthTypes 9685 } 9686 if postIndex > l { 9687 return io.ErrUnexpectedEOF 9688 } 9689 if err := m.NonnullFloat.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9690 return err 9691 } 9692 iNdEx = postIndex 9693 case 16: 9694 if wireType != 2 { 9695 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) 9696 } 9697 var msglen int 9698 for shift := uint(0); ; shift += 7 { 9699 if shift >= 64 { 9700 return ErrIntOverflowTypes 9701 } 9702 if iNdEx >= l { 9703 return io.ErrUnexpectedEOF 9704 } 9705 b := dAtA[iNdEx] 9706 iNdEx++ 9707 msglen |= int(b&0x7F) << shift 9708 if b < 0x80 { 9709 break 9710 } 9711 } 9712 if msglen < 0 { 9713 return ErrInvalidLengthTypes 9714 } 9715 postIndex := iNdEx + msglen 9716 if postIndex < 0 { 9717 return ErrInvalidLengthTypes 9718 } 9719 if postIndex > l { 9720 return io.ErrUnexpectedEOF 9721 } 9722 if err := m.NonnullInt64.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9723 return err 9724 } 9725 iNdEx = postIndex 9726 case 17: 9727 if wireType != 2 { 9728 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) 9729 } 9730 var msglen int 9731 for shift := uint(0); ; shift += 7 { 9732 if shift >= 64 { 9733 return ErrIntOverflowTypes 9734 } 9735 if iNdEx >= l { 9736 return io.ErrUnexpectedEOF 9737 } 9738 b := dAtA[iNdEx] 9739 iNdEx++ 9740 msglen |= int(b&0x7F) << shift 9741 if b < 0x80 { 9742 break 9743 } 9744 } 9745 if msglen < 0 { 9746 return ErrInvalidLengthTypes 9747 } 9748 postIndex := iNdEx + msglen 9749 if postIndex < 0 { 9750 return ErrInvalidLengthTypes 9751 } 9752 if postIndex > l { 9753 return io.ErrUnexpectedEOF 9754 } 9755 if err := m.NonnullUInt64.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9756 return err 9757 } 9758 iNdEx = postIndex 9759 case 18: 9760 if wireType != 2 { 9761 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) 9762 } 9763 var msglen int 9764 for shift := uint(0); ; shift += 7 { 9765 if shift >= 64 { 9766 return ErrIntOverflowTypes 9767 } 9768 if iNdEx >= l { 9769 return io.ErrUnexpectedEOF 9770 } 9771 b := dAtA[iNdEx] 9772 iNdEx++ 9773 msglen |= int(b&0x7F) << shift 9774 if b < 0x80 { 9775 break 9776 } 9777 } 9778 if msglen < 0 { 9779 return ErrInvalidLengthTypes 9780 } 9781 postIndex := iNdEx + msglen 9782 if postIndex < 0 { 9783 return ErrInvalidLengthTypes 9784 } 9785 if postIndex > l { 9786 return io.ErrUnexpectedEOF 9787 } 9788 if err := m.NonnullInt32.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9789 return err 9790 } 9791 iNdEx = postIndex 9792 case 19: 9793 if wireType != 2 { 9794 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) 9795 } 9796 var msglen int 9797 for shift := uint(0); ; shift += 7 { 9798 if shift >= 64 { 9799 return ErrIntOverflowTypes 9800 } 9801 if iNdEx >= l { 9802 return io.ErrUnexpectedEOF 9803 } 9804 b := dAtA[iNdEx] 9805 iNdEx++ 9806 msglen |= int(b&0x7F) << shift 9807 if b < 0x80 { 9808 break 9809 } 9810 } 9811 if msglen < 0 { 9812 return ErrInvalidLengthTypes 9813 } 9814 postIndex := iNdEx + msglen 9815 if postIndex < 0 { 9816 return ErrInvalidLengthTypes 9817 } 9818 if postIndex > l { 9819 return io.ErrUnexpectedEOF 9820 } 9821 if err := m.NonnullUInt32.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9822 return err 9823 } 9824 iNdEx = postIndex 9825 case 20: 9826 if wireType != 2 { 9827 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) 9828 } 9829 var msglen int 9830 for shift := uint(0); ; shift += 7 { 9831 if shift >= 64 { 9832 return ErrIntOverflowTypes 9833 } 9834 if iNdEx >= l { 9835 return io.ErrUnexpectedEOF 9836 } 9837 b := dAtA[iNdEx] 9838 iNdEx++ 9839 msglen |= int(b&0x7F) << shift 9840 if b < 0x80 { 9841 break 9842 } 9843 } 9844 if msglen < 0 { 9845 return ErrInvalidLengthTypes 9846 } 9847 postIndex := iNdEx + msglen 9848 if postIndex < 0 { 9849 return ErrInvalidLengthTypes 9850 } 9851 if postIndex > l { 9852 return io.ErrUnexpectedEOF 9853 } 9854 if err := m.NonnullBool.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9855 return err 9856 } 9857 iNdEx = postIndex 9858 case 21: 9859 if wireType != 2 { 9860 return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) 9861 } 9862 var msglen int 9863 for shift := uint(0); ; shift += 7 { 9864 if shift >= 64 { 9865 return ErrIntOverflowTypes 9866 } 9867 if iNdEx >= l { 9868 return io.ErrUnexpectedEOF 9869 } 9870 b := dAtA[iNdEx] 9871 iNdEx++ 9872 msglen |= int(b&0x7F) << shift 9873 if b < 0x80 { 9874 break 9875 } 9876 } 9877 if msglen < 0 { 9878 return ErrInvalidLengthTypes 9879 } 9880 postIndex := iNdEx + msglen 9881 if postIndex < 0 { 9882 return ErrInvalidLengthTypes 9883 } 9884 if postIndex > l { 9885 return io.ErrUnexpectedEOF 9886 } 9887 if err := m.NonnullString.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9888 return err 9889 } 9890 iNdEx = postIndex 9891 case 22: 9892 if wireType != 2 { 9893 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) 9894 } 9895 var msglen int 9896 for shift := uint(0); ; shift += 7 { 9897 if shift >= 64 { 9898 return ErrIntOverflowTypes 9899 } 9900 if iNdEx >= l { 9901 return io.ErrUnexpectedEOF 9902 } 9903 b := dAtA[iNdEx] 9904 iNdEx++ 9905 msglen |= int(b&0x7F) << shift 9906 if b < 0x80 { 9907 break 9908 } 9909 } 9910 if msglen < 0 { 9911 return ErrInvalidLengthTypes 9912 } 9913 postIndex := iNdEx + msglen 9914 if postIndex < 0 { 9915 return ErrInvalidLengthTypes 9916 } 9917 if postIndex > l { 9918 return io.ErrUnexpectedEOF 9919 } 9920 if err := m.NonnullBytes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9921 return err 9922 } 9923 iNdEx = postIndex 9924 default: 9925 iNdEx = preIndex 9926 skippy, err := skipTypes(dAtA[iNdEx:]) 9927 if err != nil { 9928 return err 9929 } 9930 if skippy < 0 { 9931 return ErrInvalidLengthTypes 9932 } 9933 if (iNdEx + skippy) < 0 { 9934 return ErrInvalidLengthTypes 9935 } 9936 if (iNdEx + skippy) > l { 9937 return io.ErrUnexpectedEOF 9938 } 9939 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9940 iNdEx += skippy 9941 } 9942 } 9943 9944 if iNdEx > l { 9945 return io.ErrUnexpectedEOF 9946 } 9947 return nil 9948} 9949func (m *StdTypes) Unmarshal(dAtA []byte) error { 9950 l := len(dAtA) 9951 iNdEx := 0 9952 for iNdEx < l { 9953 preIndex := iNdEx 9954 var wire uint64 9955 for shift := uint(0); ; shift += 7 { 9956 if shift >= 64 { 9957 return ErrIntOverflowTypes 9958 } 9959 if iNdEx >= l { 9960 return io.ErrUnexpectedEOF 9961 } 9962 b := dAtA[iNdEx] 9963 iNdEx++ 9964 wire |= uint64(b&0x7F) << shift 9965 if b < 0x80 { 9966 break 9967 } 9968 } 9969 fieldNum := int32(wire >> 3) 9970 wireType := int(wire & 0x7) 9971 if wireType == 4 { 9972 return fmt.Errorf("proto: StdTypes: wiretype end group for non-group") 9973 } 9974 if fieldNum <= 0 { 9975 return fmt.Errorf("proto: StdTypes: illegal tag %d (wire type %d)", fieldNum, wire) 9976 } 9977 switch fieldNum { 9978 case 1: 9979 if wireType != 2 { 9980 return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamp", wireType) 9981 } 9982 var msglen int 9983 for shift := uint(0); ; shift += 7 { 9984 if shift >= 64 { 9985 return ErrIntOverflowTypes 9986 } 9987 if iNdEx >= l { 9988 return io.ErrUnexpectedEOF 9989 } 9990 b := dAtA[iNdEx] 9991 iNdEx++ 9992 msglen |= int(b&0x7F) << shift 9993 if b < 0x80 { 9994 break 9995 } 9996 } 9997 if msglen < 0 { 9998 return ErrInvalidLengthTypes 9999 } 10000 postIndex := iNdEx + msglen 10001 if postIndex < 0 { 10002 return ErrInvalidLengthTypes 10003 } 10004 if postIndex > l { 10005 return io.ErrUnexpectedEOF 10006 } 10007 if m.NullableTimestamp == nil { 10008 m.NullableTimestamp = new(time.Time) 10009 } 10010 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.NullableTimestamp, dAtA[iNdEx:postIndex]); err != nil { 10011 return err 10012 } 10013 iNdEx = postIndex 10014 case 2: 10015 if wireType != 2 { 10016 return fmt.Errorf("proto: wrong wireType = %d for field NullableDuration", wireType) 10017 } 10018 var msglen int 10019 for shift := uint(0); ; shift += 7 { 10020 if shift >= 64 { 10021 return ErrIntOverflowTypes 10022 } 10023 if iNdEx >= l { 10024 return io.ErrUnexpectedEOF 10025 } 10026 b := dAtA[iNdEx] 10027 iNdEx++ 10028 msglen |= int(b&0x7F) << shift 10029 if b < 0x80 { 10030 break 10031 } 10032 } 10033 if msglen < 0 { 10034 return ErrInvalidLengthTypes 10035 } 10036 postIndex := iNdEx + msglen 10037 if postIndex < 0 { 10038 return ErrInvalidLengthTypes 10039 } 10040 if postIndex > l { 10041 return io.ErrUnexpectedEOF 10042 } 10043 if m.NullableDuration == nil { 10044 m.NullableDuration = new(time.Duration) 10045 } 10046 if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.NullableDuration, dAtA[iNdEx:postIndex]); err != nil { 10047 return err 10048 } 10049 iNdEx = postIndex 10050 case 3: 10051 if wireType != 2 { 10052 return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) 10053 } 10054 var msglen int 10055 for shift := uint(0); ; shift += 7 { 10056 if shift >= 64 { 10057 return ErrIntOverflowTypes 10058 } 10059 if iNdEx >= l { 10060 return io.ErrUnexpectedEOF 10061 } 10062 b := dAtA[iNdEx] 10063 iNdEx++ 10064 msglen |= int(b&0x7F) << shift 10065 if b < 0x80 { 10066 break 10067 } 10068 } 10069 if msglen < 0 { 10070 return ErrInvalidLengthTypes 10071 } 10072 postIndex := iNdEx + msglen 10073 if postIndex < 0 { 10074 return ErrInvalidLengthTypes 10075 } 10076 if postIndex > l { 10077 return io.ErrUnexpectedEOF 10078 } 10079 if m.NullableDouble == nil { 10080 m.NullableDouble = new(float64) 10081 } 10082 if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(m.NullableDouble, dAtA[iNdEx:postIndex]); err != nil { 10083 return err 10084 } 10085 iNdEx = postIndex 10086 case 4: 10087 if wireType != 2 { 10088 return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) 10089 } 10090 var msglen int 10091 for shift := uint(0); ; shift += 7 { 10092 if shift >= 64 { 10093 return ErrIntOverflowTypes 10094 } 10095 if iNdEx >= l { 10096 return io.ErrUnexpectedEOF 10097 } 10098 b := dAtA[iNdEx] 10099 iNdEx++ 10100 msglen |= int(b&0x7F) << shift 10101 if b < 0x80 { 10102 break 10103 } 10104 } 10105 if msglen < 0 { 10106 return ErrInvalidLengthTypes 10107 } 10108 postIndex := iNdEx + msglen 10109 if postIndex < 0 { 10110 return ErrInvalidLengthTypes 10111 } 10112 if postIndex > l { 10113 return io.ErrUnexpectedEOF 10114 } 10115 if m.NullableFloat == nil { 10116 m.NullableFloat = new(float32) 10117 } 10118 if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(m.NullableFloat, dAtA[iNdEx:postIndex]); err != nil { 10119 return err 10120 } 10121 iNdEx = postIndex 10122 case 5: 10123 if wireType != 2 { 10124 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) 10125 } 10126 var msglen int 10127 for shift := uint(0); ; shift += 7 { 10128 if shift >= 64 { 10129 return ErrIntOverflowTypes 10130 } 10131 if iNdEx >= l { 10132 return io.ErrUnexpectedEOF 10133 } 10134 b := dAtA[iNdEx] 10135 iNdEx++ 10136 msglen |= int(b&0x7F) << shift 10137 if b < 0x80 { 10138 break 10139 } 10140 } 10141 if msglen < 0 { 10142 return ErrInvalidLengthTypes 10143 } 10144 postIndex := iNdEx + msglen 10145 if postIndex < 0 { 10146 return ErrInvalidLengthTypes 10147 } 10148 if postIndex > l { 10149 return io.ErrUnexpectedEOF 10150 } 10151 if m.NullableInt64 == nil { 10152 m.NullableInt64 = new(int64) 10153 } 10154 if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(m.NullableInt64, dAtA[iNdEx:postIndex]); err != nil { 10155 return err 10156 } 10157 iNdEx = postIndex 10158 case 6: 10159 if wireType != 2 { 10160 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) 10161 } 10162 var msglen int 10163 for shift := uint(0); ; shift += 7 { 10164 if shift >= 64 { 10165 return ErrIntOverflowTypes 10166 } 10167 if iNdEx >= l { 10168 return io.ErrUnexpectedEOF 10169 } 10170 b := dAtA[iNdEx] 10171 iNdEx++ 10172 msglen |= int(b&0x7F) << shift 10173 if b < 0x80 { 10174 break 10175 } 10176 } 10177 if msglen < 0 { 10178 return ErrInvalidLengthTypes 10179 } 10180 postIndex := iNdEx + msglen 10181 if postIndex < 0 { 10182 return ErrInvalidLengthTypes 10183 } 10184 if postIndex > l { 10185 return io.ErrUnexpectedEOF 10186 } 10187 if m.NullableUInt64 == nil { 10188 m.NullableUInt64 = new(uint64) 10189 } 10190 if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(m.NullableUInt64, dAtA[iNdEx:postIndex]); err != nil { 10191 return err 10192 } 10193 iNdEx = postIndex 10194 case 7: 10195 if wireType != 2 { 10196 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) 10197 } 10198 var msglen int 10199 for shift := uint(0); ; shift += 7 { 10200 if shift >= 64 { 10201 return ErrIntOverflowTypes 10202 } 10203 if iNdEx >= l { 10204 return io.ErrUnexpectedEOF 10205 } 10206 b := dAtA[iNdEx] 10207 iNdEx++ 10208 msglen |= int(b&0x7F) << shift 10209 if b < 0x80 { 10210 break 10211 } 10212 } 10213 if msglen < 0 { 10214 return ErrInvalidLengthTypes 10215 } 10216 postIndex := iNdEx + msglen 10217 if postIndex < 0 { 10218 return ErrInvalidLengthTypes 10219 } 10220 if postIndex > l { 10221 return io.ErrUnexpectedEOF 10222 } 10223 if m.NullableInt32 == nil { 10224 m.NullableInt32 = new(int32) 10225 } 10226 if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(m.NullableInt32, dAtA[iNdEx:postIndex]); err != nil { 10227 return err 10228 } 10229 iNdEx = postIndex 10230 case 8: 10231 if wireType != 2 { 10232 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) 10233 } 10234 var msglen int 10235 for shift := uint(0); ; shift += 7 { 10236 if shift >= 64 { 10237 return ErrIntOverflowTypes 10238 } 10239 if iNdEx >= l { 10240 return io.ErrUnexpectedEOF 10241 } 10242 b := dAtA[iNdEx] 10243 iNdEx++ 10244 msglen |= int(b&0x7F) << shift 10245 if b < 0x80 { 10246 break 10247 } 10248 } 10249 if msglen < 0 { 10250 return ErrInvalidLengthTypes 10251 } 10252 postIndex := iNdEx + msglen 10253 if postIndex < 0 { 10254 return ErrInvalidLengthTypes 10255 } 10256 if postIndex > l { 10257 return io.ErrUnexpectedEOF 10258 } 10259 if m.NullableUInt32 == nil { 10260 m.NullableUInt32 = new(uint32) 10261 } 10262 if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(m.NullableUInt32, dAtA[iNdEx:postIndex]); err != nil { 10263 return err 10264 } 10265 iNdEx = postIndex 10266 case 9: 10267 if wireType != 2 { 10268 return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) 10269 } 10270 var msglen int 10271 for shift := uint(0); ; shift += 7 { 10272 if shift >= 64 { 10273 return ErrIntOverflowTypes 10274 } 10275 if iNdEx >= l { 10276 return io.ErrUnexpectedEOF 10277 } 10278 b := dAtA[iNdEx] 10279 iNdEx++ 10280 msglen |= int(b&0x7F) << shift 10281 if b < 0x80 { 10282 break 10283 } 10284 } 10285 if msglen < 0 { 10286 return ErrInvalidLengthTypes 10287 } 10288 postIndex := iNdEx + msglen 10289 if postIndex < 0 { 10290 return ErrInvalidLengthTypes 10291 } 10292 if postIndex > l { 10293 return io.ErrUnexpectedEOF 10294 } 10295 if m.NullableBool == nil { 10296 m.NullableBool = new(bool) 10297 } 10298 if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(m.NullableBool, dAtA[iNdEx:postIndex]); err != nil { 10299 return err 10300 } 10301 iNdEx = postIndex 10302 case 10: 10303 if wireType != 2 { 10304 return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) 10305 } 10306 var msglen int 10307 for shift := uint(0); ; shift += 7 { 10308 if shift >= 64 { 10309 return ErrIntOverflowTypes 10310 } 10311 if iNdEx >= l { 10312 return io.ErrUnexpectedEOF 10313 } 10314 b := dAtA[iNdEx] 10315 iNdEx++ 10316 msglen |= int(b&0x7F) << shift 10317 if b < 0x80 { 10318 break 10319 } 10320 } 10321 if msglen < 0 { 10322 return ErrInvalidLengthTypes 10323 } 10324 postIndex := iNdEx + msglen 10325 if postIndex < 0 { 10326 return ErrInvalidLengthTypes 10327 } 10328 if postIndex > l { 10329 return io.ErrUnexpectedEOF 10330 } 10331 if m.NullableString == nil { 10332 m.NullableString = new(string) 10333 } 10334 if err := github_com_gogo_protobuf_types.StdStringUnmarshal(m.NullableString, dAtA[iNdEx:postIndex]); err != nil { 10335 return err 10336 } 10337 iNdEx = postIndex 10338 case 11: 10339 if wireType != 2 { 10340 return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) 10341 } 10342 var msglen int 10343 for shift := uint(0); ; shift += 7 { 10344 if shift >= 64 { 10345 return ErrIntOverflowTypes 10346 } 10347 if iNdEx >= l { 10348 return io.ErrUnexpectedEOF 10349 } 10350 b := dAtA[iNdEx] 10351 iNdEx++ 10352 msglen |= int(b&0x7F) << shift 10353 if b < 0x80 { 10354 break 10355 } 10356 } 10357 if msglen < 0 { 10358 return ErrInvalidLengthTypes 10359 } 10360 postIndex := iNdEx + msglen 10361 if postIndex < 0 { 10362 return ErrInvalidLengthTypes 10363 } 10364 if postIndex > l { 10365 return io.ErrUnexpectedEOF 10366 } 10367 if m.NullableBytes == nil { 10368 m.NullableBytes = new([]byte) 10369 } 10370 if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(m.NullableBytes, dAtA[iNdEx:postIndex]); err != nil { 10371 return err 10372 } 10373 iNdEx = postIndex 10374 case 12: 10375 if wireType != 2 { 10376 return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) 10377 } 10378 var msglen int 10379 for shift := uint(0); ; shift += 7 { 10380 if shift >= 64 { 10381 return ErrIntOverflowTypes 10382 } 10383 if iNdEx >= l { 10384 return io.ErrUnexpectedEOF 10385 } 10386 b := dAtA[iNdEx] 10387 iNdEx++ 10388 msglen |= int(b&0x7F) << shift 10389 if b < 0x80 { 10390 break 10391 } 10392 } 10393 if msglen < 0 { 10394 return ErrInvalidLengthTypes 10395 } 10396 postIndex := iNdEx + msglen 10397 if postIndex < 0 { 10398 return ErrInvalidLengthTypes 10399 } 10400 if postIndex > l { 10401 return io.ErrUnexpectedEOF 10402 } 10403 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Timestamp, dAtA[iNdEx:postIndex]); err != nil { 10404 return err 10405 } 10406 iNdEx = postIndex 10407 case 13: 10408 if wireType != 2 { 10409 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 10410 } 10411 var msglen int 10412 for shift := uint(0); ; shift += 7 { 10413 if shift >= 64 { 10414 return ErrIntOverflowTypes 10415 } 10416 if iNdEx >= l { 10417 return io.ErrUnexpectedEOF 10418 } 10419 b := dAtA[iNdEx] 10420 iNdEx++ 10421 msglen |= int(b&0x7F) << shift 10422 if b < 0x80 { 10423 break 10424 } 10425 } 10426 if msglen < 0 { 10427 return ErrInvalidLengthTypes 10428 } 10429 postIndex := iNdEx + msglen 10430 if postIndex < 0 { 10431 return ErrInvalidLengthTypes 10432 } 10433 if postIndex > l { 10434 return io.ErrUnexpectedEOF 10435 } 10436 if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.Duration, dAtA[iNdEx:postIndex]); err != nil { 10437 return err 10438 } 10439 iNdEx = postIndex 10440 case 14: 10441 if wireType != 2 { 10442 return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) 10443 } 10444 var msglen int 10445 for shift := uint(0); ; shift += 7 { 10446 if shift >= 64 { 10447 return ErrIntOverflowTypes 10448 } 10449 if iNdEx >= l { 10450 return io.ErrUnexpectedEOF 10451 } 10452 b := dAtA[iNdEx] 10453 iNdEx++ 10454 msglen |= int(b&0x7F) << shift 10455 if b < 0x80 { 10456 break 10457 } 10458 } 10459 if msglen < 0 { 10460 return ErrInvalidLengthTypes 10461 } 10462 postIndex := iNdEx + msglen 10463 if postIndex < 0 { 10464 return ErrInvalidLengthTypes 10465 } 10466 if postIndex > l { 10467 return io.ErrUnexpectedEOF 10468 } 10469 if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(&m.NonnullDouble, dAtA[iNdEx:postIndex]); err != nil { 10470 return err 10471 } 10472 iNdEx = postIndex 10473 case 15: 10474 if wireType != 2 { 10475 return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) 10476 } 10477 var msglen int 10478 for shift := uint(0); ; shift += 7 { 10479 if shift >= 64 { 10480 return ErrIntOverflowTypes 10481 } 10482 if iNdEx >= l { 10483 return io.ErrUnexpectedEOF 10484 } 10485 b := dAtA[iNdEx] 10486 iNdEx++ 10487 msglen |= int(b&0x7F) << shift 10488 if b < 0x80 { 10489 break 10490 } 10491 } 10492 if msglen < 0 { 10493 return ErrInvalidLengthTypes 10494 } 10495 postIndex := iNdEx + msglen 10496 if postIndex < 0 { 10497 return ErrInvalidLengthTypes 10498 } 10499 if postIndex > l { 10500 return io.ErrUnexpectedEOF 10501 } 10502 if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(&m.NonnullFloat, dAtA[iNdEx:postIndex]); err != nil { 10503 return err 10504 } 10505 iNdEx = postIndex 10506 case 16: 10507 if wireType != 2 { 10508 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) 10509 } 10510 var msglen int 10511 for shift := uint(0); ; shift += 7 { 10512 if shift >= 64 { 10513 return ErrIntOverflowTypes 10514 } 10515 if iNdEx >= l { 10516 return io.ErrUnexpectedEOF 10517 } 10518 b := dAtA[iNdEx] 10519 iNdEx++ 10520 msglen |= int(b&0x7F) << shift 10521 if b < 0x80 { 10522 break 10523 } 10524 } 10525 if msglen < 0 { 10526 return ErrInvalidLengthTypes 10527 } 10528 postIndex := iNdEx + msglen 10529 if postIndex < 0 { 10530 return ErrInvalidLengthTypes 10531 } 10532 if postIndex > l { 10533 return io.ErrUnexpectedEOF 10534 } 10535 if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(&m.NonnullInt64, dAtA[iNdEx:postIndex]); err != nil { 10536 return err 10537 } 10538 iNdEx = postIndex 10539 case 17: 10540 if wireType != 2 { 10541 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) 10542 } 10543 var msglen int 10544 for shift := uint(0); ; shift += 7 { 10545 if shift >= 64 { 10546 return ErrIntOverflowTypes 10547 } 10548 if iNdEx >= l { 10549 return io.ErrUnexpectedEOF 10550 } 10551 b := dAtA[iNdEx] 10552 iNdEx++ 10553 msglen |= int(b&0x7F) << shift 10554 if b < 0x80 { 10555 break 10556 } 10557 } 10558 if msglen < 0 { 10559 return ErrInvalidLengthTypes 10560 } 10561 postIndex := iNdEx + msglen 10562 if postIndex < 0 { 10563 return ErrInvalidLengthTypes 10564 } 10565 if postIndex > l { 10566 return io.ErrUnexpectedEOF 10567 } 10568 if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(&m.NonnullUInt64, dAtA[iNdEx:postIndex]); err != nil { 10569 return err 10570 } 10571 iNdEx = postIndex 10572 case 18: 10573 if wireType != 2 { 10574 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) 10575 } 10576 var msglen int 10577 for shift := uint(0); ; shift += 7 { 10578 if shift >= 64 { 10579 return ErrIntOverflowTypes 10580 } 10581 if iNdEx >= l { 10582 return io.ErrUnexpectedEOF 10583 } 10584 b := dAtA[iNdEx] 10585 iNdEx++ 10586 msglen |= int(b&0x7F) << shift 10587 if b < 0x80 { 10588 break 10589 } 10590 } 10591 if msglen < 0 { 10592 return ErrInvalidLengthTypes 10593 } 10594 postIndex := iNdEx + msglen 10595 if postIndex < 0 { 10596 return ErrInvalidLengthTypes 10597 } 10598 if postIndex > l { 10599 return io.ErrUnexpectedEOF 10600 } 10601 if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(&m.NonnullInt32, dAtA[iNdEx:postIndex]); err != nil { 10602 return err 10603 } 10604 iNdEx = postIndex 10605 case 19: 10606 if wireType != 2 { 10607 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) 10608 } 10609 var msglen int 10610 for shift := uint(0); ; shift += 7 { 10611 if shift >= 64 { 10612 return ErrIntOverflowTypes 10613 } 10614 if iNdEx >= l { 10615 return io.ErrUnexpectedEOF 10616 } 10617 b := dAtA[iNdEx] 10618 iNdEx++ 10619 msglen |= int(b&0x7F) << shift 10620 if b < 0x80 { 10621 break 10622 } 10623 } 10624 if msglen < 0 { 10625 return ErrInvalidLengthTypes 10626 } 10627 postIndex := iNdEx + msglen 10628 if postIndex < 0 { 10629 return ErrInvalidLengthTypes 10630 } 10631 if postIndex > l { 10632 return io.ErrUnexpectedEOF 10633 } 10634 if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(&m.NonnullUInt32, dAtA[iNdEx:postIndex]); err != nil { 10635 return err 10636 } 10637 iNdEx = postIndex 10638 case 20: 10639 if wireType != 2 { 10640 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) 10641 } 10642 var msglen int 10643 for shift := uint(0); ; shift += 7 { 10644 if shift >= 64 { 10645 return ErrIntOverflowTypes 10646 } 10647 if iNdEx >= l { 10648 return io.ErrUnexpectedEOF 10649 } 10650 b := dAtA[iNdEx] 10651 iNdEx++ 10652 msglen |= int(b&0x7F) << shift 10653 if b < 0x80 { 10654 break 10655 } 10656 } 10657 if msglen < 0 { 10658 return ErrInvalidLengthTypes 10659 } 10660 postIndex := iNdEx + msglen 10661 if postIndex < 0 { 10662 return ErrInvalidLengthTypes 10663 } 10664 if postIndex > l { 10665 return io.ErrUnexpectedEOF 10666 } 10667 if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(&m.NonnullBool, dAtA[iNdEx:postIndex]); err != nil { 10668 return err 10669 } 10670 iNdEx = postIndex 10671 case 21: 10672 if wireType != 2 { 10673 return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) 10674 } 10675 var msglen int 10676 for shift := uint(0); ; shift += 7 { 10677 if shift >= 64 { 10678 return ErrIntOverflowTypes 10679 } 10680 if iNdEx >= l { 10681 return io.ErrUnexpectedEOF 10682 } 10683 b := dAtA[iNdEx] 10684 iNdEx++ 10685 msglen |= int(b&0x7F) << shift 10686 if b < 0x80 { 10687 break 10688 } 10689 } 10690 if msglen < 0 { 10691 return ErrInvalidLengthTypes 10692 } 10693 postIndex := iNdEx + msglen 10694 if postIndex < 0 { 10695 return ErrInvalidLengthTypes 10696 } 10697 if postIndex > l { 10698 return io.ErrUnexpectedEOF 10699 } 10700 if err := github_com_gogo_protobuf_types.StdStringUnmarshal(&m.NonnullString, dAtA[iNdEx:postIndex]); err != nil { 10701 return err 10702 } 10703 iNdEx = postIndex 10704 case 22: 10705 if wireType != 2 { 10706 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) 10707 } 10708 var msglen int 10709 for shift := uint(0); ; shift += 7 { 10710 if shift >= 64 { 10711 return ErrIntOverflowTypes 10712 } 10713 if iNdEx >= l { 10714 return io.ErrUnexpectedEOF 10715 } 10716 b := dAtA[iNdEx] 10717 iNdEx++ 10718 msglen |= int(b&0x7F) << shift 10719 if b < 0x80 { 10720 break 10721 } 10722 } 10723 if msglen < 0 { 10724 return ErrInvalidLengthTypes 10725 } 10726 postIndex := iNdEx + msglen 10727 if postIndex < 0 { 10728 return ErrInvalidLengthTypes 10729 } 10730 if postIndex > l { 10731 return io.ErrUnexpectedEOF 10732 } 10733 if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(&m.NonnullBytes, dAtA[iNdEx:postIndex]); err != nil { 10734 return err 10735 } 10736 iNdEx = postIndex 10737 default: 10738 iNdEx = preIndex 10739 skippy, err := skipTypes(dAtA[iNdEx:]) 10740 if err != nil { 10741 return err 10742 } 10743 if skippy < 0 { 10744 return ErrInvalidLengthTypes 10745 } 10746 if (iNdEx + skippy) < 0 { 10747 return ErrInvalidLengthTypes 10748 } 10749 if (iNdEx + skippy) > l { 10750 return io.ErrUnexpectedEOF 10751 } 10752 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10753 iNdEx += skippy 10754 } 10755 } 10756 10757 if iNdEx > l { 10758 return io.ErrUnexpectedEOF 10759 } 10760 return nil 10761} 10762func (m *RepProtoTypes) Unmarshal(dAtA []byte) error { 10763 l := len(dAtA) 10764 iNdEx := 0 10765 for iNdEx < l { 10766 preIndex := iNdEx 10767 var wire uint64 10768 for shift := uint(0); ; shift += 7 { 10769 if shift >= 64 { 10770 return ErrIntOverflowTypes 10771 } 10772 if iNdEx >= l { 10773 return io.ErrUnexpectedEOF 10774 } 10775 b := dAtA[iNdEx] 10776 iNdEx++ 10777 wire |= uint64(b&0x7F) << shift 10778 if b < 0x80 { 10779 break 10780 } 10781 } 10782 fieldNum := int32(wire >> 3) 10783 wireType := int(wire & 0x7) 10784 if wireType == 4 { 10785 return fmt.Errorf("proto: RepProtoTypes: wiretype end group for non-group") 10786 } 10787 if fieldNum <= 0 { 10788 return fmt.Errorf("proto: RepProtoTypes: illegal tag %d (wire type %d)", fieldNum, wire) 10789 } 10790 switch fieldNum { 10791 case 1: 10792 if wireType != 2 { 10793 return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamps", wireType) 10794 } 10795 var msglen int 10796 for shift := uint(0); ; shift += 7 { 10797 if shift >= 64 { 10798 return ErrIntOverflowTypes 10799 } 10800 if iNdEx >= l { 10801 return io.ErrUnexpectedEOF 10802 } 10803 b := dAtA[iNdEx] 10804 iNdEx++ 10805 msglen |= int(b&0x7F) << shift 10806 if b < 0x80 { 10807 break 10808 } 10809 } 10810 if msglen < 0 { 10811 return ErrInvalidLengthTypes 10812 } 10813 postIndex := iNdEx + msglen 10814 if postIndex < 0 { 10815 return ErrInvalidLengthTypes 10816 } 10817 if postIndex > l { 10818 return io.ErrUnexpectedEOF 10819 } 10820 m.NullableTimestamps = append(m.NullableTimestamps, &types.Timestamp{}) 10821 if err := m.NullableTimestamps[len(m.NullableTimestamps)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10822 return err 10823 } 10824 iNdEx = postIndex 10825 case 2: 10826 if wireType != 2 { 10827 return fmt.Errorf("proto: wrong wireType = %d for field NullableDurations", wireType) 10828 } 10829 var msglen int 10830 for shift := uint(0); ; shift += 7 { 10831 if shift >= 64 { 10832 return ErrIntOverflowTypes 10833 } 10834 if iNdEx >= l { 10835 return io.ErrUnexpectedEOF 10836 } 10837 b := dAtA[iNdEx] 10838 iNdEx++ 10839 msglen |= int(b&0x7F) << shift 10840 if b < 0x80 { 10841 break 10842 } 10843 } 10844 if msglen < 0 { 10845 return ErrInvalidLengthTypes 10846 } 10847 postIndex := iNdEx + msglen 10848 if postIndex < 0 { 10849 return ErrInvalidLengthTypes 10850 } 10851 if postIndex > l { 10852 return io.ErrUnexpectedEOF 10853 } 10854 m.NullableDurations = append(m.NullableDurations, &types.Duration{}) 10855 if err := m.NullableDurations[len(m.NullableDurations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10856 return err 10857 } 10858 iNdEx = postIndex 10859 case 3: 10860 if wireType != 2 { 10861 return fmt.Errorf("proto: wrong wireType = %d for field Timestamps", wireType) 10862 } 10863 var msglen int 10864 for shift := uint(0); ; shift += 7 { 10865 if shift >= 64 { 10866 return ErrIntOverflowTypes 10867 } 10868 if iNdEx >= l { 10869 return io.ErrUnexpectedEOF 10870 } 10871 b := dAtA[iNdEx] 10872 iNdEx++ 10873 msglen |= int(b&0x7F) << shift 10874 if b < 0x80 { 10875 break 10876 } 10877 } 10878 if msglen < 0 { 10879 return ErrInvalidLengthTypes 10880 } 10881 postIndex := iNdEx + msglen 10882 if postIndex < 0 { 10883 return ErrInvalidLengthTypes 10884 } 10885 if postIndex > l { 10886 return io.ErrUnexpectedEOF 10887 } 10888 m.Timestamps = append(m.Timestamps, types.Timestamp{}) 10889 if err := m.Timestamps[len(m.Timestamps)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10890 return err 10891 } 10892 iNdEx = postIndex 10893 case 4: 10894 if wireType != 2 { 10895 return fmt.Errorf("proto: wrong wireType = %d for field Durations", wireType) 10896 } 10897 var msglen int 10898 for shift := uint(0); ; shift += 7 { 10899 if shift >= 64 { 10900 return ErrIntOverflowTypes 10901 } 10902 if iNdEx >= l { 10903 return io.ErrUnexpectedEOF 10904 } 10905 b := dAtA[iNdEx] 10906 iNdEx++ 10907 msglen |= int(b&0x7F) << shift 10908 if b < 0x80 { 10909 break 10910 } 10911 } 10912 if msglen < 0 { 10913 return ErrInvalidLengthTypes 10914 } 10915 postIndex := iNdEx + msglen 10916 if postIndex < 0 { 10917 return ErrInvalidLengthTypes 10918 } 10919 if postIndex > l { 10920 return io.ErrUnexpectedEOF 10921 } 10922 m.Durations = append(m.Durations, types.Duration{}) 10923 if err := m.Durations[len(m.Durations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10924 return err 10925 } 10926 iNdEx = postIndex 10927 case 5: 10928 if wireType != 2 { 10929 return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) 10930 } 10931 var msglen int 10932 for shift := uint(0); ; shift += 7 { 10933 if shift >= 64 { 10934 return ErrIntOverflowTypes 10935 } 10936 if iNdEx >= l { 10937 return io.ErrUnexpectedEOF 10938 } 10939 b := dAtA[iNdEx] 10940 iNdEx++ 10941 msglen |= int(b&0x7F) << shift 10942 if b < 0x80 { 10943 break 10944 } 10945 } 10946 if msglen < 0 { 10947 return ErrInvalidLengthTypes 10948 } 10949 postIndex := iNdEx + msglen 10950 if postIndex < 0 { 10951 return ErrInvalidLengthTypes 10952 } 10953 if postIndex > l { 10954 return io.ErrUnexpectedEOF 10955 } 10956 m.NullableDouble = append(m.NullableDouble, &types.DoubleValue{}) 10957 if err := m.NullableDouble[len(m.NullableDouble)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10958 return err 10959 } 10960 iNdEx = postIndex 10961 case 6: 10962 if wireType != 2 { 10963 return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) 10964 } 10965 var msglen int 10966 for shift := uint(0); ; shift += 7 { 10967 if shift >= 64 { 10968 return ErrIntOverflowTypes 10969 } 10970 if iNdEx >= l { 10971 return io.ErrUnexpectedEOF 10972 } 10973 b := dAtA[iNdEx] 10974 iNdEx++ 10975 msglen |= int(b&0x7F) << shift 10976 if b < 0x80 { 10977 break 10978 } 10979 } 10980 if msglen < 0 { 10981 return ErrInvalidLengthTypes 10982 } 10983 postIndex := iNdEx + msglen 10984 if postIndex < 0 { 10985 return ErrInvalidLengthTypes 10986 } 10987 if postIndex > l { 10988 return io.ErrUnexpectedEOF 10989 } 10990 m.NonnullDouble = append(m.NonnullDouble, types.DoubleValue{}) 10991 if err := m.NonnullDouble[len(m.NonnullDouble)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10992 return err 10993 } 10994 iNdEx = postIndex 10995 case 7: 10996 if wireType != 2 { 10997 return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) 10998 } 10999 var msglen int 11000 for shift := uint(0); ; shift += 7 { 11001 if shift >= 64 { 11002 return ErrIntOverflowTypes 11003 } 11004 if iNdEx >= l { 11005 return io.ErrUnexpectedEOF 11006 } 11007 b := dAtA[iNdEx] 11008 iNdEx++ 11009 msglen |= int(b&0x7F) << shift 11010 if b < 0x80 { 11011 break 11012 } 11013 } 11014 if msglen < 0 { 11015 return ErrInvalidLengthTypes 11016 } 11017 postIndex := iNdEx + msglen 11018 if postIndex < 0 { 11019 return ErrInvalidLengthTypes 11020 } 11021 if postIndex > l { 11022 return io.ErrUnexpectedEOF 11023 } 11024 m.NullableFloat = append(m.NullableFloat, &types.FloatValue{}) 11025 if err := m.NullableFloat[len(m.NullableFloat)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11026 return err 11027 } 11028 iNdEx = postIndex 11029 case 8: 11030 if wireType != 2 { 11031 return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) 11032 } 11033 var msglen int 11034 for shift := uint(0); ; shift += 7 { 11035 if shift >= 64 { 11036 return ErrIntOverflowTypes 11037 } 11038 if iNdEx >= l { 11039 return io.ErrUnexpectedEOF 11040 } 11041 b := dAtA[iNdEx] 11042 iNdEx++ 11043 msglen |= int(b&0x7F) << shift 11044 if b < 0x80 { 11045 break 11046 } 11047 } 11048 if msglen < 0 { 11049 return ErrInvalidLengthTypes 11050 } 11051 postIndex := iNdEx + msglen 11052 if postIndex < 0 { 11053 return ErrInvalidLengthTypes 11054 } 11055 if postIndex > l { 11056 return io.ErrUnexpectedEOF 11057 } 11058 m.NonnullFloat = append(m.NonnullFloat, types.FloatValue{}) 11059 if err := m.NonnullFloat[len(m.NonnullFloat)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11060 return err 11061 } 11062 iNdEx = postIndex 11063 case 9: 11064 if wireType != 2 { 11065 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) 11066 } 11067 var msglen int 11068 for shift := uint(0); ; shift += 7 { 11069 if shift >= 64 { 11070 return ErrIntOverflowTypes 11071 } 11072 if iNdEx >= l { 11073 return io.ErrUnexpectedEOF 11074 } 11075 b := dAtA[iNdEx] 11076 iNdEx++ 11077 msglen |= int(b&0x7F) << shift 11078 if b < 0x80 { 11079 break 11080 } 11081 } 11082 if msglen < 0 { 11083 return ErrInvalidLengthTypes 11084 } 11085 postIndex := iNdEx + msglen 11086 if postIndex < 0 { 11087 return ErrInvalidLengthTypes 11088 } 11089 if postIndex > l { 11090 return io.ErrUnexpectedEOF 11091 } 11092 m.NullableInt64 = append(m.NullableInt64, &types.Int64Value{}) 11093 if err := m.NullableInt64[len(m.NullableInt64)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11094 return err 11095 } 11096 iNdEx = postIndex 11097 case 10: 11098 if wireType != 2 { 11099 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) 11100 } 11101 var msglen int 11102 for shift := uint(0); ; shift += 7 { 11103 if shift >= 64 { 11104 return ErrIntOverflowTypes 11105 } 11106 if iNdEx >= l { 11107 return io.ErrUnexpectedEOF 11108 } 11109 b := dAtA[iNdEx] 11110 iNdEx++ 11111 msglen |= int(b&0x7F) << shift 11112 if b < 0x80 { 11113 break 11114 } 11115 } 11116 if msglen < 0 { 11117 return ErrInvalidLengthTypes 11118 } 11119 postIndex := iNdEx + msglen 11120 if postIndex < 0 { 11121 return ErrInvalidLengthTypes 11122 } 11123 if postIndex > l { 11124 return io.ErrUnexpectedEOF 11125 } 11126 m.NonnullInt64 = append(m.NonnullInt64, types.Int64Value{}) 11127 if err := m.NonnullInt64[len(m.NonnullInt64)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11128 return err 11129 } 11130 iNdEx = postIndex 11131 case 11: 11132 if wireType != 2 { 11133 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) 11134 } 11135 var msglen int 11136 for shift := uint(0); ; shift += 7 { 11137 if shift >= 64 { 11138 return ErrIntOverflowTypes 11139 } 11140 if iNdEx >= l { 11141 return io.ErrUnexpectedEOF 11142 } 11143 b := dAtA[iNdEx] 11144 iNdEx++ 11145 msglen |= int(b&0x7F) << shift 11146 if b < 0x80 { 11147 break 11148 } 11149 } 11150 if msglen < 0 { 11151 return ErrInvalidLengthTypes 11152 } 11153 postIndex := iNdEx + msglen 11154 if postIndex < 0 { 11155 return ErrInvalidLengthTypes 11156 } 11157 if postIndex > l { 11158 return io.ErrUnexpectedEOF 11159 } 11160 m.NullableUInt64 = append(m.NullableUInt64, &types.UInt64Value{}) 11161 if err := m.NullableUInt64[len(m.NullableUInt64)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11162 return err 11163 } 11164 iNdEx = postIndex 11165 case 12: 11166 if wireType != 2 { 11167 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) 11168 } 11169 var msglen int 11170 for shift := uint(0); ; shift += 7 { 11171 if shift >= 64 { 11172 return ErrIntOverflowTypes 11173 } 11174 if iNdEx >= l { 11175 return io.ErrUnexpectedEOF 11176 } 11177 b := dAtA[iNdEx] 11178 iNdEx++ 11179 msglen |= int(b&0x7F) << shift 11180 if b < 0x80 { 11181 break 11182 } 11183 } 11184 if msglen < 0 { 11185 return ErrInvalidLengthTypes 11186 } 11187 postIndex := iNdEx + msglen 11188 if postIndex < 0 { 11189 return ErrInvalidLengthTypes 11190 } 11191 if postIndex > l { 11192 return io.ErrUnexpectedEOF 11193 } 11194 m.NonnullUInt64 = append(m.NonnullUInt64, types.UInt64Value{}) 11195 if err := m.NonnullUInt64[len(m.NonnullUInt64)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11196 return err 11197 } 11198 iNdEx = postIndex 11199 case 13: 11200 if wireType != 2 { 11201 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) 11202 } 11203 var msglen int 11204 for shift := uint(0); ; shift += 7 { 11205 if shift >= 64 { 11206 return ErrIntOverflowTypes 11207 } 11208 if iNdEx >= l { 11209 return io.ErrUnexpectedEOF 11210 } 11211 b := dAtA[iNdEx] 11212 iNdEx++ 11213 msglen |= int(b&0x7F) << shift 11214 if b < 0x80 { 11215 break 11216 } 11217 } 11218 if msglen < 0 { 11219 return ErrInvalidLengthTypes 11220 } 11221 postIndex := iNdEx + msglen 11222 if postIndex < 0 { 11223 return ErrInvalidLengthTypes 11224 } 11225 if postIndex > l { 11226 return io.ErrUnexpectedEOF 11227 } 11228 m.NullableInt32 = append(m.NullableInt32, &types.Int32Value{}) 11229 if err := m.NullableInt32[len(m.NullableInt32)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11230 return err 11231 } 11232 iNdEx = postIndex 11233 case 14: 11234 if wireType != 2 { 11235 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) 11236 } 11237 var msglen int 11238 for shift := uint(0); ; shift += 7 { 11239 if shift >= 64 { 11240 return ErrIntOverflowTypes 11241 } 11242 if iNdEx >= l { 11243 return io.ErrUnexpectedEOF 11244 } 11245 b := dAtA[iNdEx] 11246 iNdEx++ 11247 msglen |= int(b&0x7F) << shift 11248 if b < 0x80 { 11249 break 11250 } 11251 } 11252 if msglen < 0 { 11253 return ErrInvalidLengthTypes 11254 } 11255 postIndex := iNdEx + msglen 11256 if postIndex < 0 { 11257 return ErrInvalidLengthTypes 11258 } 11259 if postIndex > l { 11260 return io.ErrUnexpectedEOF 11261 } 11262 m.NonnullInt32 = append(m.NonnullInt32, types.Int32Value{}) 11263 if err := m.NonnullInt32[len(m.NonnullInt32)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11264 return err 11265 } 11266 iNdEx = postIndex 11267 case 15: 11268 if wireType != 2 { 11269 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) 11270 } 11271 var msglen int 11272 for shift := uint(0); ; shift += 7 { 11273 if shift >= 64 { 11274 return ErrIntOverflowTypes 11275 } 11276 if iNdEx >= l { 11277 return io.ErrUnexpectedEOF 11278 } 11279 b := dAtA[iNdEx] 11280 iNdEx++ 11281 msglen |= int(b&0x7F) << shift 11282 if b < 0x80 { 11283 break 11284 } 11285 } 11286 if msglen < 0 { 11287 return ErrInvalidLengthTypes 11288 } 11289 postIndex := iNdEx + msglen 11290 if postIndex < 0 { 11291 return ErrInvalidLengthTypes 11292 } 11293 if postIndex > l { 11294 return io.ErrUnexpectedEOF 11295 } 11296 m.NullableUInt32 = append(m.NullableUInt32, &types.UInt32Value{}) 11297 if err := m.NullableUInt32[len(m.NullableUInt32)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11298 return err 11299 } 11300 iNdEx = postIndex 11301 case 16: 11302 if wireType != 2 { 11303 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) 11304 } 11305 var msglen int 11306 for shift := uint(0); ; shift += 7 { 11307 if shift >= 64 { 11308 return ErrIntOverflowTypes 11309 } 11310 if iNdEx >= l { 11311 return io.ErrUnexpectedEOF 11312 } 11313 b := dAtA[iNdEx] 11314 iNdEx++ 11315 msglen |= int(b&0x7F) << shift 11316 if b < 0x80 { 11317 break 11318 } 11319 } 11320 if msglen < 0 { 11321 return ErrInvalidLengthTypes 11322 } 11323 postIndex := iNdEx + msglen 11324 if postIndex < 0 { 11325 return ErrInvalidLengthTypes 11326 } 11327 if postIndex > l { 11328 return io.ErrUnexpectedEOF 11329 } 11330 m.NonnullUInt32 = append(m.NonnullUInt32, types.UInt32Value{}) 11331 if err := m.NonnullUInt32[len(m.NonnullUInt32)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11332 return err 11333 } 11334 iNdEx = postIndex 11335 case 17: 11336 if wireType != 2 { 11337 return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) 11338 } 11339 var msglen int 11340 for shift := uint(0); ; shift += 7 { 11341 if shift >= 64 { 11342 return ErrIntOverflowTypes 11343 } 11344 if iNdEx >= l { 11345 return io.ErrUnexpectedEOF 11346 } 11347 b := dAtA[iNdEx] 11348 iNdEx++ 11349 msglen |= int(b&0x7F) << shift 11350 if b < 0x80 { 11351 break 11352 } 11353 } 11354 if msglen < 0 { 11355 return ErrInvalidLengthTypes 11356 } 11357 postIndex := iNdEx + msglen 11358 if postIndex < 0 { 11359 return ErrInvalidLengthTypes 11360 } 11361 if postIndex > l { 11362 return io.ErrUnexpectedEOF 11363 } 11364 m.NullableBool = append(m.NullableBool, &types.BoolValue{}) 11365 if err := m.NullableBool[len(m.NullableBool)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11366 return err 11367 } 11368 iNdEx = postIndex 11369 case 18: 11370 if wireType != 2 { 11371 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) 11372 } 11373 var msglen int 11374 for shift := uint(0); ; shift += 7 { 11375 if shift >= 64 { 11376 return ErrIntOverflowTypes 11377 } 11378 if iNdEx >= l { 11379 return io.ErrUnexpectedEOF 11380 } 11381 b := dAtA[iNdEx] 11382 iNdEx++ 11383 msglen |= int(b&0x7F) << shift 11384 if b < 0x80 { 11385 break 11386 } 11387 } 11388 if msglen < 0 { 11389 return ErrInvalidLengthTypes 11390 } 11391 postIndex := iNdEx + msglen 11392 if postIndex < 0 { 11393 return ErrInvalidLengthTypes 11394 } 11395 if postIndex > l { 11396 return io.ErrUnexpectedEOF 11397 } 11398 m.NonnullBool = append(m.NonnullBool, types.BoolValue{}) 11399 if err := m.NonnullBool[len(m.NonnullBool)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11400 return err 11401 } 11402 iNdEx = postIndex 11403 case 19: 11404 if wireType != 2 { 11405 return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) 11406 } 11407 var msglen int 11408 for shift := uint(0); ; shift += 7 { 11409 if shift >= 64 { 11410 return ErrIntOverflowTypes 11411 } 11412 if iNdEx >= l { 11413 return io.ErrUnexpectedEOF 11414 } 11415 b := dAtA[iNdEx] 11416 iNdEx++ 11417 msglen |= int(b&0x7F) << shift 11418 if b < 0x80 { 11419 break 11420 } 11421 } 11422 if msglen < 0 { 11423 return ErrInvalidLengthTypes 11424 } 11425 postIndex := iNdEx + msglen 11426 if postIndex < 0 { 11427 return ErrInvalidLengthTypes 11428 } 11429 if postIndex > l { 11430 return io.ErrUnexpectedEOF 11431 } 11432 m.NullableString = append(m.NullableString, &types.StringValue{}) 11433 if err := m.NullableString[len(m.NullableString)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11434 return err 11435 } 11436 iNdEx = postIndex 11437 case 20: 11438 if wireType != 2 { 11439 return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) 11440 } 11441 var msglen int 11442 for shift := uint(0); ; shift += 7 { 11443 if shift >= 64 { 11444 return ErrIntOverflowTypes 11445 } 11446 if iNdEx >= l { 11447 return io.ErrUnexpectedEOF 11448 } 11449 b := dAtA[iNdEx] 11450 iNdEx++ 11451 msglen |= int(b&0x7F) << shift 11452 if b < 0x80 { 11453 break 11454 } 11455 } 11456 if msglen < 0 { 11457 return ErrInvalidLengthTypes 11458 } 11459 postIndex := iNdEx + msglen 11460 if postIndex < 0 { 11461 return ErrInvalidLengthTypes 11462 } 11463 if postIndex > l { 11464 return io.ErrUnexpectedEOF 11465 } 11466 m.NonnullString = append(m.NonnullString, types.StringValue{}) 11467 if err := m.NonnullString[len(m.NonnullString)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11468 return err 11469 } 11470 iNdEx = postIndex 11471 case 21: 11472 if wireType != 2 { 11473 return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) 11474 } 11475 var msglen int 11476 for shift := uint(0); ; shift += 7 { 11477 if shift >= 64 { 11478 return ErrIntOverflowTypes 11479 } 11480 if iNdEx >= l { 11481 return io.ErrUnexpectedEOF 11482 } 11483 b := dAtA[iNdEx] 11484 iNdEx++ 11485 msglen |= int(b&0x7F) << shift 11486 if b < 0x80 { 11487 break 11488 } 11489 } 11490 if msglen < 0 { 11491 return ErrInvalidLengthTypes 11492 } 11493 postIndex := iNdEx + msglen 11494 if postIndex < 0 { 11495 return ErrInvalidLengthTypes 11496 } 11497 if postIndex > l { 11498 return io.ErrUnexpectedEOF 11499 } 11500 m.NullableBytes = append(m.NullableBytes, &types.BytesValue{}) 11501 if err := m.NullableBytes[len(m.NullableBytes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11502 return err 11503 } 11504 iNdEx = postIndex 11505 case 22: 11506 if wireType != 2 { 11507 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) 11508 } 11509 var msglen int 11510 for shift := uint(0); ; shift += 7 { 11511 if shift >= 64 { 11512 return ErrIntOverflowTypes 11513 } 11514 if iNdEx >= l { 11515 return io.ErrUnexpectedEOF 11516 } 11517 b := dAtA[iNdEx] 11518 iNdEx++ 11519 msglen |= int(b&0x7F) << shift 11520 if b < 0x80 { 11521 break 11522 } 11523 } 11524 if msglen < 0 { 11525 return ErrInvalidLengthTypes 11526 } 11527 postIndex := iNdEx + msglen 11528 if postIndex < 0 { 11529 return ErrInvalidLengthTypes 11530 } 11531 if postIndex > l { 11532 return io.ErrUnexpectedEOF 11533 } 11534 m.NonnullBytes = append(m.NonnullBytes, types.BytesValue{}) 11535 if err := m.NonnullBytes[len(m.NonnullBytes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11536 return err 11537 } 11538 iNdEx = postIndex 11539 default: 11540 iNdEx = preIndex 11541 skippy, err := skipTypes(dAtA[iNdEx:]) 11542 if err != nil { 11543 return err 11544 } 11545 if skippy < 0 { 11546 return ErrInvalidLengthTypes 11547 } 11548 if (iNdEx + skippy) < 0 { 11549 return ErrInvalidLengthTypes 11550 } 11551 if (iNdEx + skippy) > l { 11552 return io.ErrUnexpectedEOF 11553 } 11554 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 11555 iNdEx += skippy 11556 } 11557 } 11558 11559 if iNdEx > l { 11560 return io.ErrUnexpectedEOF 11561 } 11562 return nil 11563} 11564func (m *RepStdTypes) Unmarshal(dAtA []byte) error { 11565 l := len(dAtA) 11566 iNdEx := 0 11567 for iNdEx < l { 11568 preIndex := iNdEx 11569 var wire uint64 11570 for shift := uint(0); ; shift += 7 { 11571 if shift >= 64 { 11572 return ErrIntOverflowTypes 11573 } 11574 if iNdEx >= l { 11575 return io.ErrUnexpectedEOF 11576 } 11577 b := dAtA[iNdEx] 11578 iNdEx++ 11579 wire |= uint64(b&0x7F) << shift 11580 if b < 0x80 { 11581 break 11582 } 11583 } 11584 fieldNum := int32(wire >> 3) 11585 wireType := int(wire & 0x7) 11586 if wireType == 4 { 11587 return fmt.Errorf("proto: RepStdTypes: wiretype end group for non-group") 11588 } 11589 if fieldNum <= 0 { 11590 return fmt.Errorf("proto: RepStdTypes: illegal tag %d (wire type %d)", fieldNum, wire) 11591 } 11592 switch fieldNum { 11593 case 1: 11594 if wireType != 2 { 11595 return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamps", wireType) 11596 } 11597 var msglen int 11598 for shift := uint(0); ; shift += 7 { 11599 if shift >= 64 { 11600 return ErrIntOverflowTypes 11601 } 11602 if iNdEx >= l { 11603 return io.ErrUnexpectedEOF 11604 } 11605 b := dAtA[iNdEx] 11606 iNdEx++ 11607 msglen |= int(b&0x7F) << shift 11608 if b < 0x80 { 11609 break 11610 } 11611 } 11612 if msglen < 0 { 11613 return ErrInvalidLengthTypes 11614 } 11615 postIndex := iNdEx + msglen 11616 if postIndex < 0 { 11617 return ErrInvalidLengthTypes 11618 } 11619 if postIndex > l { 11620 return io.ErrUnexpectedEOF 11621 } 11622 m.NullableTimestamps = append(m.NullableTimestamps, new(time.Time)) 11623 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.NullableTimestamps[len(m.NullableTimestamps)-1], dAtA[iNdEx:postIndex]); err != nil { 11624 return err 11625 } 11626 iNdEx = postIndex 11627 case 2: 11628 if wireType != 2 { 11629 return fmt.Errorf("proto: wrong wireType = %d for field NullableDurations", wireType) 11630 } 11631 var msglen int 11632 for shift := uint(0); ; shift += 7 { 11633 if shift >= 64 { 11634 return ErrIntOverflowTypes 11635 } 11636 if iNdEx >= l { 11637 return io.ErrUnexpectedEOF 11638 } 11639 b := dAtA[iNdEx] 11640 iNdEx++ 11641 msglen |= int(b&0x7F) << shift 11642 if b < 0x80 { 11643 break 11644 } 11645 } 11646 if msglen < 0 { 11647 return ErrInvalidLengthTypes 11648 } 11649 postIndex := iNdEx + msglen 11650 if postIndex < 0 { 11651 return ErrInvalidLengthTypes 11652 } 11653 if postIndex > l { 11654 return io.ErrUnexpectedEOF 11655 } 11656 m.NullableDurations = append(m.NullableDurations, new(time.Duration)) 11657 if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.NullableDurations[len(m.NullableDurations)-1], dAtA[iNdEx:postIndex]); err != nil { 11658 return err 11659 } 11660 iNdEx = postIndex 11661 case 3: 11662 if wireType != 2 { 11663 return fmt.Errorf("proto: wrong wireType = %d for field Timestamps", wireType) 11664 } 11665 var msglen int 11666 for shift := uint(0); ; shift += 7 { 11667 if shift >= 64 { 11668 return ErrIntOverflowTypes 11669 } 11670 if iNdEx >= l { 11671 return io.ErrUnexpectedEOF 11672 } 11673 b := dAtA[iNdEx] 11674 iNdEx++ 11675 msglen |= int(b&0x7F) << shift 11676 if b < 0x80 { 11677 break 11678 } 11679 } 11680 if msglen < 0 { 11681 return ErrInvalidLengthTypes 11682 } 11683 postIndex := iNdEx + msglen 11684 if postIndex < 0 { 11685 return ErrInvalidLengthTypes 11686 } 11687 if postIndex > l { 11688 return io.ErrUnexpectedEOF 11689 } 11690 m.Timestamps = append(m.Timestamps, time.Time{}) 11691 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&(m.Timestamps[len(m.Timestamps)-1]), dAtA[iNdEx:postIndex]); err != nil { 11692 return err 11693 } 11694 iNdEx = postIndex 11695 case 4: 11696 if wireType != 2 { 11697 return fmt.Errorf("proto: wrong wireType = %d for field Durations", wireType) 11698 } 11699 var msglen int 11700 for shift := uint(0); ; shift += 7 { 11701 if shift >= 64 { 11702 return ErrIntOverflowTypes 11703 } 11704 if iNdEx >= l { 11705 return io.ErrUnexpectedEOF 11706 } 11707 b := dAtA[iNdEx] 11708 iNdEx++ 11709 msglen |= int(b&0x7F) << shift 11710 if b < 0x80 { 11711 break 11712 } 11713 } 11714 if msglen < 0 { 11715 return ErrInvalidLengthTypes 11716 } 11717 postIndex := iNdEx + msglen 11718 if postIndex < 0 { 11719 return ErrInvalidLengthTypes 11720 } 11721 if postIndex > l { 11722 return io.ErrUnexpectedEOF 11723 } 11724 m.Durations = append(m.Durations, time.Duration(0)) 11725 if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&(m.Durations[len(m.Durations)-1]), dAtA[iNdEx:postIndex]); err != nil { 11726 return err 11727 } 11728 iNdEx = postIndex 11729 case 5: 11730 if wireType != 2 { 11731 return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) 11732 } 11733 var msglen int 11734 for shift := uint(0); ; shift += 7 { 11735 if shift >= 64 { 11736 return ErrIntOverflowTypes 11737 } 11738 if iNdEx >= l { 11739 return io.ErrUnexpectedEOF 11740 } 11741 b := dAtA[iNdEx] 11742 iNdEx++ 11743 msglen |= int(b&0x7F) << shift 11744 if b < 0x80 { 11745 break 11746 } 11747 } 11748 if msglen < 0 { 11749 return ErrInvalidLengthTypes 11750 } 11751 postIndex := iNdEx + msglen 11752 if postIndex < 0 { 11753 return ErrInvalidLengthTypes 11754 } 11755 if postIndex > l { 11756 return io.ErrUnexpectedEOF 11757 } 11758 m.NullableDouble = append(m.NullableDouble, new(float64)) 11759 if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(m.NullableDouble[len(m.NullableDouble)-1], dAtA[iNdEx:postIndex]); err != nil { 11760 return err 11761 } 11762 iNdEx = postIndex 11763 case 6: 11764 if wireType != 2 { 11765 return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) 11766 } 11767 var msglen int 11768 for shift := uint(0); ; shift += 7 { 11769 if shift >= 64 { 11770 return ErrIntOverflowTypes 11771 } 11772 if iNdEx >= l { 11773 return io.ErrUnexpectedEOF 11774 } 11775 b := dAtA[iNdEx] 11776 iNdEx++ 11777 msglen |= int(b&0x7F) << shift 11778 if b < 0x80 { 11779 break 11780 } 11781 } 11782 if msglen < 0 { 11783 return ErrInvalidLengthTypes 11784 } 11785 postIndex := iNdEx + msglen 11786 if postIndex < 0 { 11787 return ErrInvalidLengthTypes 11788 } 11789 if postIndex > l { 11790 return io.ErrUnexpectedEOF 11791 } 11792 m.NonnullDouble = append(m.NonnullDouble, 0) 11793 if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(&(m.NonnullDouble[len(m.NonnullDouble)-1]), dAtA[iNdEx:postIndex]); err != nil { 11794 return err 11795 } 11796 iNdEx = postIndex 11797 case 7: 11798 if wireType != 2 { 11799 return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) 11800 } 11801 var msglen int 11802 for shift := uint(0); ; shift += 7 { 11803 if shift >= 64 { 11804 return ErrIntOverflowTypes 11805 } 11806 if iNdEx >= l { 11807 return io.ErrUnexpectedEOF 11808 } 11809 b := dAtA[iNdEx] 11810 iNdEx++ 11811 msglen |= int(b&0x7F) << shift 11812 if b < 0x80 { 11813 break 11814 } 11815 } 11816 if msglen < 0 { 11817 return ErrInvalidLengthTypes 11818 } 11819 postIndex := iNdEx + msglen 11820 if postIndex < 0 { 11821 return ErrInvalidLengthTypes 11822 } 11823 if postIndex > l { 11824 return io.ErrUnexpectedEOF 11825 } 11826 m.NullableFloat = append(m.NullableFloat, new(float32)) 11827 if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(m.NullableFloat[len(m.NullableFloat)-1], dAtA[iNdEx:postIndex]); err != nil { 11828 return err 11829 } 11830 iNdEx = postIndex 11831 case 8: 11832 if wireType != 2 { 11833 return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) 11834 } 11835 var msglen int 11836 for shift := uint(0); ; shift += 7 { 11837 if shift >= 64 { 11838 return ErrIntOverflowTypes 11839 } 11840 if iNdEx >= l { 11841 return io.ErrUnexpectedEOF 11842 } 11843 b := dAtA[iNdEx] 11844 iNdEx++ 11845 msglen |= int(b&0x7F) << shift 11846 if b < 0x80 { 11847 break 11848 } 11849 } 11850 if msglen < 0 { 11851 return ErrInvalidLengthTypes 11852 } 11853 postIndex := iNdEx + msglen 11854 if postIndex < 0 { 11855 return ErrInvalidLengthTypes 11856 } 11857 if postIndex > l { 11858 return io.ErrUnexpectedEOF 11859 } 11860 m.NonnullFloat = append(m.NonnullFloat, 0) 11861 if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(&(m.NonnullFloat[len(m.NonnullFloat)-1]), dAtA[iNdEx:postIndex]); err != nil { 11862 return err 11863 } 11864 iNdEx = postIndex 11865 case 9: 11866 if wireType != 2 { 11867 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) 11868 } 11869 var msglen int 11870 for shift := uint(0); ; shift += 7 { 11871 if shift >= 64 { 11872 return ErrIntOverflowTypes 11873 } 11874 if iNdEx >= l { 11875 return io.ErrUnexpectedEOF 11876 } 11877 b := dAtA[iNdEx] 11878 iNdEx++ 11879 msglen |= int(b&0x7F) << shift 11880 if b < 0x80 { 11881 break 11882 } 11883 } 11884 if msglen < 0 { 11885 return ErrInvalidLengthTypes 11886 } 11887 postIndex := iNdEx + msglen 11888 if postIndex < 0 { 11889 return ErrInvalidLengthTypes 11890 } 11891 if postIndex > l { 11892 return io.ErrUnexpectedEOF 11893 } 11894 m.NullableInt64 = append(m.NullableInt64, new(int64)) 11895 if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(m.NullableInt64[len(m.NullableInt64)-1], dAtA[iNdEx:postIndex]); err != nil { 11896 return err 11897 } 11898 iNdEx = postIndex 11899 case 10: 11900 if wireType != 2 { 11901 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) 11902 } 11903 var msglen int 11904 for shift := uint(0); ; shift += 7 { 11905 if shift >= 64 { 11906 return ErrIntOverflowTypes 11907 } 11908 if iNdEx >= l { 11909 return io.ErrUnexpectedEOF 11910 } 11911 b := dAtA[iNdEx] 11912 iNdEx++ 11913 msglen |= int(b&0x7F) << shift 11914 if b < 0x80 { 11915 break 11916 } 11917 } 11918 if msglen < 0 { 11919 return ErrInvalidLengthTypes 11920 } 11921 postIndex := iNdEx + msglen 11922 if postIndex < 0 { 11923 return ErrInvalidLengthTypes 11924 } 11925 if postIndex > l { 11926 return io.ErrUnexpectedEOF 11927 } 11928 m.NonnullInt64 = append(m.NonnullInt64, 0) 11929 if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(&(m.NonnullInt64[len(m.NonnullInt64)-1]), dAtA[iNdEx:postIndex]); err != nil { 11930 return err 11931 } 11932 iNdEx = postIndex 11933 case 11: 11934 if wireType != 2 { 11935 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) 11936 } 11937 var msglen int 11938 for shift := uint(0); ; shift += 7 { 11939 if shift >= 64 { 11940 return ErrIntOverflowTypes 11941 } 11942 if iNdEx >= l { 11943 return io.ErrUnexpectedEOF 11944 } 11945 b := dAtA[iNdEx] 11946 iNdEx++ 11947 msglen |= int(b&0x7F) << shift 11948 if b < 0x80 { 11949 break 11950 } 11951 } 11952 if msglen < 0 { 11953 return ErrInvalidLengthTypes 11954 } 11955 postIndex := iNdEx + msglen 11956 if postIndex < 0 { 11957 return ErrInvalidLengthTypes 11958 } 11959 if postIndex > l { 11960 return io.ErrUnexpectedEOF 11961 } 11962 m.NullableUInt64 = append(m.NullableUInt64, new(uint64)) 11963 if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(m.NullableUInt64[len(m.NullableUInt64)-1], dAtA[iNdEx:postIndex]); err != nil { 11964 return err 11965 } 11966 iNdEx = postIndex 11967 case 12: 11968 if wireType != 2 { 11969 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) 11970 } 11971 var msglen int 11972 for shift := uint(0); ; shift += 7 { 11973 if shift >= 64 { 11974 return ErrIntOverflowTypes 11975 } 11976 if iNdEx >= l { 11977 return io.ErrUnexpectedEOF 11978 } 11979 b := dAtA[iNdEx] 11980 iNdEx++ 11981 msglen |= int(b&0x7F) << shift 11982 if b < 0x80 { 11983 break 11984 } 11985 } 11986 if msglen < 0 { 11987 return ErrInvalidLengthTypes 11988 } 11989 postIndex := iNdEx + msglen 11990 if postIndex < 0 { 11991 return ErrInvalidLengthTypes 11992 } 11993 if postIndex > l { 11994 return io.ErrUnexpectedEOF 11995 } 11996 m.NonnullUInt64 = append(m.NonnullUInt64, 0) 11997 if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(&(m.NonnullUInt64[len(m.NonnullUInt64)-1]), dAtA[iNdEx:postIndex]); err != nil { 11998 return err 11999 } 12000 iNdEx = postIndex 12001 case 13: 12002 if wireType != 2 { 12003 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) 12004 } 12005 var msglen int 12006 for shift := uint(0); ; shift += 7 { 12007 if shift >= 64 { 12008 return ErrIntOverflowTypes 12009 } 12010 if iNdEx >= l { 12011 return io.ErrUnexpectedEOF 12012 } 12013 b := dAtA[iNdEx] 12014 iNdEx++ 12015 msglen |= int(b&0x7F) << shift 12016 if b < 0x80 { 12017 break 12018 } 12019 } 12020 if msglen < 0 { 12021 return ErrInvalidLengthTypes 12022 } 12023 postIndex := iNdEx + msglen 12024 if postIndex < 0 { 12025 return ErrInvalidLengthTypes 12026 } 12027 if postIndex > l { 12028 return io.ErrUnexpectedEOF 12029 } 12030 m.NullableInt32 = append(m.NullableInt32, new(int32)) 12031 if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(m.NullableInt32[len(m.NullableInt32)-1], dAtA[iNdEx:postIndex]); err != nil { 12032 return err 12033 } 12034 iNdEx = postIndex 12035 case 14: 12036 if wireType != 2 { 12037 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) 12038 } 12039 var msglen int 12040 for shift := uint(0); ; shift += 7 { 12041 if shift >= 64 { 12042 return ErrIntOverflowTypes 12043 } 12044 if iNdEx >= l { 12045 return io.ErrUnexpectedEOF 12046 } 12047 b := dAtA[iNdEx] 12048 iNdEx++ 12049 msglen |= int(b&0x7F) << shift 12050 if b < 0x80 { 12051 break 12052 } 12053 } 12054 if msglen < 0 { 12055 return ErrInvalidLengthTypes 12056 } 12057 postIndex := iNdEx + msglen 12058 if postIndex < 0 { 12059 return ErrInvalidLengthTypes 12060 } 12061 if postIndex > l { 12062 return io.ErrUnexpectedEOF 12063 } 12064 m.NonnullInt32 = append(m.NonnullInt32, 0) 12065 if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(&(m.NonnullInt32[len(m.NonnullInt32)-1]), dAtA[iNdEx:postIndex]); err != nil { 12066 return err 12067 } 12068 iNdEx = postIndex 12069 case 15: 12070 if wireType != 2 { 12071 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) 12072 } 12073 var msglen int 12074 for shift := uint(0); ; shift += 7 { 12075 if shift >= 64 { 12076 return ErrIntOverflowTypes 12077 } 12078 if iNdEx >= l { 12079 return io.ErrUnexpectedEOF 12080 } 12081 b := dAtA[iNdEx] 12082 iNdEx++ 12083 msglen |= int(b&0x7F) << shift 12084 if b < 0x80 { 12085 break 12086 } 12087 } 12088 if msglen < 0 { 12089 return ErrInvalidLengthTypes 12090 } 12091 postIndex := iNdEx + msglen 12092 if postIndex < 0 { 12093 return ErrInvalidLengthTypes 12094 } 12095 if postIndex > l { 12096 return io.ErrUnexpectedEOF 12097 } 12098 m.NullableUInt32 = append(m.NullableUInt32, new(uint32)) 12099 if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(m.NullableUInt32[len(m.NullableUInt32)-1], dAtA[iNdEx:postIndex]); err != nil { 12100 return err 12101 } 12102 iNdEx = postIndex 12103 case 16: 12104 if wireType != 2 { 12105 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) 12106 } 12107 var msglen int 12108 for shift := uint(0); ; shift += 7 { 12109 if shift >= 64 { 12110 return ErrIntOverflowTypes 12111 } 12112 if iNdEx >= l { 12113 return io.ErrUnexpectedEOF 12114 } 12115 b := dAtA[iNdEx] 12116 iNdEx++ 12117 msglen |= int(b&0x7F) << shift 12118 if b < 0x80 { 12119 break 12120 } 12121 } 12122 if msglen < 0 { 12123 return ErrInvalidLengthTypes 12124 } 12125 postIndex := iNdEx + msglen 12126 if postIndex < 0 { 12127 return ErrInvalidLengthTypes 12128 } 12129 if postIndex > l { 12130 return io.ErrUnexpectedEOF 12131 } 12132 m.NonnullUInt32 = append(m.NonnullUInt32, 0) 12133 if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(&(m.NonnullUInt32[len(m.NonnullUInt32)-1]), dAtA[iNdEx:postIndex]); err != nil { 12134 return err 12135 } 12136 iNdEx = postIndex 12137 case 17: 12138 if wireType != 2 { 12139 return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) 12140 } 12141 var msglen int 12142 for shift := uint(0); ; shift += 7 { 12143 if shift >= 64 { 12144 return ErrIntOverflowTypes 12145 } 12146 if iNdEx >= l { 12147 return io.ErrUnexpectedEOF 12148 } 12149 b := dAtA[iNdEx] 12150 iNdEx++ 12151 msglen |= int(b&0x7F) << shift 12152 if b < 0x80 { 12153 break 12154 } 12155 } 12156 if msglen < 0 { 12157 return ErrInvalidLengthTypes 12158 } 12159 postIndex := iNdEx + msglen 12160 if postIndex < 0 { 12161 return ErrInvalidLengthTypes 12162 } 12163 if postIndex > l { 12164 return io.ErrUnexpectedEOF 12165 } 12166 m.NullableBool = append(m.NullableBool, new(bool)) 12167 if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(m.NullableBool[len(m.NullableBool)-1], dAtA[iNdEx:postIndex]); err != nil { 12168 return err 12169 } 12170 iNdEx = postIndex 12171 case 18: 12172 if wireType != 2 { 12173 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) 12174 } 12175 var msglen int 12176 for shift := uint(0); ; shift += 7 { 12177 if shift >= 64 { 12178 return ErrIntOverflowTypes 12179 } 12180 if iNdEx >= l { 12181 return io.ErrUnexpectedEOF 12182 } 12183 b := dAtA[iNdEx] 12184 iNdEx++ 12185 msglen |= int(b&0x7F) << shift 12186 if b < 0x80 { 12187 break 12188 } 12189 } 12190 if msglen < 0 { 12191 return ErrInvalidLengthTypes 12192 } 12193 postIndex := iNdEx + msglen 12194 if postIndex < 0 { 12195 return ErrInvalidLengthTypes 12196 } 12197 if postIndex > l { 12198 return io.ErrUnexpectedEOF 12199 } 12200 m.NonnullBool = append(m.NonnullBool, false) 12201 if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(&(m.NonnullBool[len(m.NonnullBool)-1]), dAtA[iNdEx:postIndex]); err != nil { 12202 return err 12203 } 12204 iNdEx = postIndex 12205 case 19: 12206 if wireType != 2 { 12207 return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) 12208 } 12209 var msglen int 12210 for shift := uint(0); ; shift += 7 { 12211 if shift >= 64 { 12212 return ErrIntOverflowTypes 12213 } 12214 if iNdEx >= l { 12215 return io.ErrUnexpectedEOF 12216 } 12217 b := dAtA[iNdEx] 12218 iNdEx++ 12219 msglen |= int(b&0x7F) << shift 12220 if b < 0x80 { 12221 break 12222 } 12223 } 12224 if msglen < 0 { 12225 return ErrInvalidLengthTypes 12226 } 12227 postIndex := iNdEx + msglen 12228 if postIndex < 0 { 12229 return ErrInvalidLengthTypes 12230 } 12231 if postIndex > l { 12232 return io.ErrUnexpectedEOF 12233 } 12234 m.NullableString = append(m.NullableString, new(string)) 12235 if err := github_com_gogo_protobuf_types.StdStringUnmarshal(m.NullableString[len(m.NullableString)-1], dAtA[iNdEx:postIndex]); err != nil { 12236 return err 12237 } 12238 iNdEx = postIndex 12239 case 20: 12240 if wireType != 2 { 12241 return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) 12242 } 12243 var msglen int 12244 for shift := uint(0); ; shift += 7 { 12245 if shift >= 64 { 12246 return ErrIntOverflowTypes 12247 } 12248 if iNdEx >= l { 12249 return io.ErrUnexpectedEOF 12250 } 12251 b := dAtA[iNdEx] 12252 iNdEx++ 12253 msglen |= int(b&0x7F) << shift 12254 if b < 0x80 { 12255 break 12256 } 12257 } 12258 if msglen < 0 { 12259 return ErrInvalidLengthTypes 12260 } 12261 postIndex := iNdEx + msglen 12262 if postIndex < 0 { 12263 return ErrInvalidLengthTypes 12264 } 12265 if postIndex > l { 12266 return io.ErrUnexpectedEOF 12267 } 12268 m.NonnullString = append(m.NonnullString, "") 12269 if err := github_com_gogo_protobuf_types.StdStringUnmarshal(&(m.NonnullString[len(m.NonnullString)-1]), dAtA[iNdEx:postIndex]); err != nil { 12270 return err 12271 } 12272 iNdEx = postIndex 12273 case 21: 12274 if wireType != 2 { 12275 return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) 12276 } 12277 var msglen int 12278 for shift := uint(0); ; shift += 7 { 12279 if shift >= 64 { 12280 return ErrIntOverflowTypes 12281 } 12282 if iNdEx >= l { 12283 return io.ErrUnexpectedEOF 12284 } 12285 b := dAtA[iNdEx] 12286 iNdEx++ 12287 msglen |= int(b&0x7F) << shift 12288 if b < 0x80 { 12289 break 12290 } 12291 } 12292 if msglen < 0 { 12293 return ErrInvalidLengthTypes 12294 } 12295 postIndex := iNdEx + msglen 12296 if postIndex < 0 { 12297 return ErrInvalidLengthTypes 12298 } 12299 if postIndex > l { 12300 return io.ErrUnexpectedEOF 12301 } 12302 m.NullableBytes = append(m.NullableBytes, new([]byte)) 12303 if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(m.NullableBytes[len(m.NullableBytes)-1], dAtA[iNdEx:postIndex]); err != nil { 12304 return err 12305 } 12306 iNdEx = postIndex 12307 case 22: 12308 if wireType != 2 { 12309 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) 12310 } 12311 var msglen int 12312 for shift := uint(0); ; shift += 7 { 12313 if shift >= 64 { 12314 return ErrIntOverflowTypes 12315 } 12316 if iNdEx >= l { 12317 return io.ErrUnexpectedEOF 12318 } 12319 b := dAtA[iNdEx] 12320 iNdEx++ 12321 msglen |= int(b&0x7F) << shift 12322 if b < 0x80 { 12323 break 12324 } 12325 } 12326 if msglen < 0 { 12327 return ErrInvalidLengthTypes 12328 } 12329 postIndex := iNdEx + msglen 12330 if postIndex < 0 { 12331 return ErrInvalidLengthTypes 12332 } 12333 if postIndex > l { 12334 return io.ErrUnexpectedEOF 12335 } 12336 m.NonnullBytes = append(m.NonnullBytes, []byte{}) 12337 if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(&(m.NonnullBytes[len(m.NonnullBytes)-1]), dAtA[iNdEx:postIndex]); err != nil { 12338 return err 12339 } 12340 iNdEx = postIndex 12341 default: 12342 iNdEx = preIndex 12343 skippy, err := skipTypes(dAtA[iNdEx:]) 12344 if err != nil { 12345 return err 12346 } 12347 if skippy < 0 { 12348 return ErrInvalidLengthTypes 12349 } 12350 if (iNdEx + skippy) < 0 { 12351 return ErrInvalidLengthTypes 12352 } 12353 if (iNdEx + skippy) > l { 12354 return io.ErrUnexpectedEOF 12355 } 12356 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 12357 iNdEx += skippy 12358 } 12359 } 12360 12361 if iNdEx > l { 12362 return io.ErrUnexpectedEOF 12363 } 12364 return nil 12365} 12366func (m *MapProtoTypes) Unmarshal(dAtA []byte) error { 12367 l := len(dAtA) 12368 iNdEx := 0 12369 for iNdEx < l { 12370 preIndex := iNdEx 12371 var wire uint64 12372 for shift := uint(0); ; shift += 7 { 12373 if shift >= 64 { 12374 return ErrIntOverflowTypes 12375 } 12376 if iNdEx >= l { 12377 return io.ErrUnexpectedEOF 12378 } 12379 b := dAtA[iNdEx] 12380 iNdEx++ 12381 wire |= uint64(b&0x7F) << shift 12382 if b < 0x80 { 12383 break 12384 } 12385 } 12386 fieldNum := int32(wire >> 3) 12387 wireType := int(wire & 0x7) 12388 if wireType == 4 { 12389 return fmt.Errorf("proto: MapProtoTypes: wiretype end group for non-group") 12390 } 12391 if fieldNum <= 0 { 12392 return fmt.Errorf("proto: MapProtoTypes: illegal tag %d (wire type %d)", fieldNum, wire) 12393 } 12394 switch fieldNum { 12395 case 1: 12396 if wireType != 2 { 12397 return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamp", wireType) 12398 } 12399 var msglen int 12400 for shift := uint(0); ; shift += 7 { 12401 if shift >= 64 { 12402 return ErrIntOverflowTypes 12403 } 12404 if iNdEx >= l { 12405 return io.ErrUnexpectedEOF 12406 } 12407 b := dAtA[iNdEx] 12408 iNdEx++ 12409 msglen |= int(b&0x7F) << shift 12410 if b < 0x80 { 12411 break 12412 } 12413 } 12414 if msglen < 0 { 12415 return ErrInvalidLengthTypes 12416 } 12417 postIndex := iNdEx + msglen 12418 if postIndex < 0 { 12419 return ErrInvalidLengthTypes 12420 } 12421 if postIndex > l { 12422 return io.ErrUnexpectedEOF 12423 } 12424 if m.NullableTimestamp == nil { 12425 m.NullableTimestamp = make(map[int32]*types.Timestamp) 12426 } 12427 var mapkey int32 12428 var mapvalue *types.Timestamp 12429 for iNdEx < postIndex { 12430 entryPreIndex := iNdEx 12431 var wire uint64 12432 for shift := uint(0); ; shift += 7 { 12433 if shift >= 64 { 12434 return ErrIntOverflowTypes 12435 } 12436 if iNdEx >= l { 12437 return io.ErrUnexpectedEOF 12438 } 12439 b := dAtA[iNdEx] 12440 iNdEx++ 12441 wire |= uint64(b&0x7F) << shift 12442 if b < 0x80 { 12443 break 12444 } 12445 } 12446 fieldNum := int32(wire >> 3) 12447 if fieldNum == 1 { 12448 for shift := uint(0); ; shift += 7 { 12449 if shift >= 64 { 12450 return ErrIntOverflowTypes 12451 } 12452 if iNdEx >= l { 12453 return io.ErrUnexpectedEOF 12454 } 12455 b := dAtA[iNdEx] 12456 iNdEx++ 12457 mapkey |= int32(b&0x7F) << shift 12458 if b < 0x80 { 12459 break 12460 } 12461 } 12462 } else if fieldNum == 2 { 12463 var mapmsglen int 12464 for shift := uint(0); ; shift += 7 { 12465 if shift >= 64 { 12466 return ErrIntOverflowTypes 12467 } 12468 if iNdEx >= l { 12469 return io.ErrUnexpectedEOF 12470 } 12471 b := dAtA[iNdEx] 12472 iNdEx++ 12473 mapmsglen |= int(b&0x7F) << shift 12474 if b < 0x80 { 12475 break 12476 } 12477 } 12478 if mapmsglen < 0 { 12479 return ErrInvalidLengthTypes 12480 } 12481 postmsgIndex := iNdEx + mapmsglen 12482 if postmsgIndex < 0 { 12483 return ErrInvalidLengthTypes 12484 } 12485 if postmsgIndex > l { 12486 return io.ErrUnexpectedEOF 12487 } 12488 mapvalue = &types.Timestamp{} 12489 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 12490 return err 12491 } 12492 iNdEx = postmsgIndex 12493 } else { 12494 iNdEx = entryPreIndex 12495 skippy, err := skipTypes(dAtA[iNdEx:]) 12496 if err != nil { 12497 return err 12498 } 12499 if skippy < 0 { 12500 return ErrInvalidLengthTypes 12501 } 12502 if (iNdEx + skippy) > postIndex { 12503 return io.ErrUnexpectedEOF 12504 } 12505 iNdEx += skippy 12506 } 12507 } 12508 m.NullableTimestamp[mapkey] = mapvalue 12509 iNdEx = postIndex 12510 case 2: 12511 if wireType != 2 { 12512 return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) 12513 } 12514 var msglen int 12515 for shift := uint(0); ; shift += 7 { 12516 if shift >= 64 { 12517 return ErrIntOverflowTypes 12518 } 12519 if iNdEx >= l { 12520 return io.ErrUnexpectedEOF 12521 } 12522 b := dAtA[iNdEx] 12523 iNdEx++ 12524 msglen |= int(b&0x7F) << shift 12525 if b < 0x80 { 12526 break 12527 } 12528 } 12529 if msglen < 0 { 12530 return ErrInvalidLengthTypes 12531 } 12532 postIndex := iNdEx + msglen 12533 if postIndex < 0 { 12534 return ErrInvalidLengthTypes 12535 } 12536 if postIndex > l { 12537 return io.ErrUnexpectedEOF 12538 } 12539 if m.Timestamp == nil { 12540 m.Timestamp = make(map[int32]types.Timestamp) 12541 } 12542 var mapkey int32 12543 mapvalue := &types.Timestamp{} 12544 for iNdEx < postIndex { 12545 entryPreIndex := iNdEx 12546 var wire uint64 12547 for shift := uint(0); ; shift += 7 { 12548 if shift >= 64 { 12549 return ErrIntOverflowTypes 12550 } 12551 if iNdEx >= l { 12552 return io.ErrUnexpectedEOF 12553 } 12554 b := dAtA[iNdEx] 12555 iNdEx++ 12556 wire |= uint64(b&0x7F) << shift 12557 if b < 0x80 { 12558 break 12559 } 12560 } 12561 fieldNum := int32(wire >> 3) 12562 if fieldNum == 1 { 12563 for shift := uint(0); ; shift += 7 { 12564 if shift >= 64 { 12565 return ErrIntOverflowTypes 12566 } 12567 if iNdEx >= l { 12568 return io.ErrUnexpectedEOF 12569 } 12570 b := dAtA[iNdEx] 12571 iNdEx++ 12572 mapkey |= int32(b&0x7F) << shift 12573 if b < 0x80 { 12574 break 12575 } 12576 } 12577 } else if fieldNum == 2 { 12578 var mapmsglen int 12579 for shift := uint(0); ; shift += 7 { 12580 if shift >= 64 { 12581 return ErrIntOverflowTypes 12582 } 12583 if iNdEx >= l { 12584 return io.ErrUnexpectedEOF 12585 } 12586 b := dAtA[iNdEx] 12587 iNdEx++ 12588 mapmsglen |= int(b&0x7F) << shift 12589 if b < 0x80 { 12590 break 12591 } 12592 } 12593 if mapmsglen < 0 { 12594 return ErrInvalidLengthTypes 12595 } 12596 postmsgIndex := iNdEx + mapmsglen 12597 if postmsgIndex < 0 { 12598 return ErrInvalidLengthTypes 12599 } 12600 if postmsgIndex > l { 12601 return io.ErrUnexpectedEOF 12602 } 12603 mapvalue = &types.Timestamp{} 12604 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 12605 return err 12606 } 12607 iNdEx = postmsgIndex 12608 } else { 12609 iNdEx = entryPreIndex 12610 skippy, err := skipTypes(dAtA[iNdEx:]) 12611 if err != nil { 12612 return err 12613 } 12614 if skippy < 0 { 12615 return ErrInvalidLengthTypes 12616 } 12617 if (iNdEx + skippy) > postIndex { 12618 return io.ErrUnexpectedEOF 12619 } 12620 iNdEx += skippy 12621 } 12622 } 12623 m.Timestamp[mapkey] = *mapvalue 12624 iNdEx = postIndex 12625 case 3: 12626 if wireType != 2 { 12627 return fmt.Errorf("proto: wrong wireType = %d for field NullableDuration", wireType) 12628 } 12629 var msglen int 12630 for shift := uint(0); ; shift += 7 { 12631 if shift >= 64 { 12632 return ErrIntOverflowTypes 12633 } 12634 if iNdEx >= l { 12635 return io.ErrUnexpectedEOF 12636 } 12637 b := dAtA[iNdEx] 12638 iNdEx++ 12639 msglen |= int(b&0x7F) << shift 12640 if b < 0x80 { 12641 break 12642 } 12643 } 12644 if msglen < 0 { 12645 return ErrInvalidLengthTypes 12646 } 12647 postIndex := iNdEx + msglen 12648 if postIndex < 0 { 12649 return ErrInvalidLengthTypes 12650 } 12651 if postIndex > l { 12652 return io.ErrUnexpectedEOF 12653 } 12654 if m.NullableDuration == nil { 12655 m.NullableDuration = make(map[int32]*types.Duration) 12656 } 12657 var mapkey int32 12658 var mapvalue *types.Duration 12659 for iNdEx < postIndex { 12660 entryPreIndex := iNdEx 12661 var wire uint64 12662 for shift := uint(0); ; shift += 7 { 12663 if shift >= 64 { 12664 return ErrIntOverflowTypes 12665 } 12666 if iNdEx >= l { 12667 return io.ErrUnexpectedEOF 12668 } 12669 b := dAtA[iNdEx] 12670 iNdEx++ 12671 wire |= uint64(b&0x7F) << shift 12672 if b < 0x80 { 12673 break 12674 } 12675 } 12676 fieldNum := int32(wire >> 3) 12677 if fieldNum == 1 { 12678 for shift := uint(0); ; shift += 7 { 12679 if shift >= 64 { 12680 return ErrIntOverflowTypes 12681 } 12682 if iNdEx >= l { 12683 return io.ErrUnexpectedEOF 12684 } 12685 b := dAtA[iNdEx] 12686 iNdEx++ 12687 mapkey |= int32(b&0x7F) << shift 12688 if b < 0x80 { 12689 break 12690 } 12691 } 12692 } else if fieldNum == 2 { 12693 var mapmsglen int 12694 for shift := uint(0); ; shift += 7 { 12695 if shift >= 64 { 12696 return ErrIntOverflowTypes 12697 } 12698 if iNdEx >= l { 12699 return io.ErrUnexpectedEOF 12700 } 12701 b := dAtA[iNdEx] 12702 iNdEx++ 12703 mapmsglen |= int(b&0x7F) << shift 12704 if b < 0x80 { 12705 break 12706 } 12707 } 12708 if mapmsglen < 0 { 12709 return ErrInvalidLengthTypes 12710 } 12711 postmsgIndex := iNdEx + mapmsglen 12712 if postmsgIndex < 0 { 12713 return ErrInvalidLengthTypes 12714 } 12715 if postmsgIndex > l { 12716 return io.ErrUnexpectedEOF 12717 } 12718 mapvalue = &types.Duration{} 12719 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 12720 return err 12721 } 12722 iNdEx = postmsgIndex 12723 } else { 12724 iNdEx = entryPreIndex 12725 skippy, err := skipTypes(dAtA[iNdEx:]) 12726 if err != nil { 12727 return err 12728 } 12729 if skippy < 0 { 12730 return ErrInvalidLengthTypes 12731 } 12732 if (iNdEx + skippy) > postIndex { 12733 return io.ErrUnexpectedEOF 12734 } 12735 iNdEx += skippy 12736 } 12737 } 12738 m.NullableDuration[mapkey] = mapvalue 12739 iNdEx = postIndex 12740 case 4: 12741 if wireType != 2 { 12742 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 12743 } 12744 var msglen int 12745 for shift := uint(0); ; shift += 7 { 12746 if shift >= 64 { 12747 return ErrIntOverflowTypes 12748 } 12749 if iNdEx >= l { 12750 return io.ErrUnexpectedEOF 12751 } 12752 b := dAtA[iNdEx] 12753 iNdEx++ 12754 msglen |= int(b&0x7F) << shift 12755 if b < 0x80 { 12756 break 12757 } 12758 } 12759 if msglen < 0 { 12760 return ErrInvalidLengthTypes 12761 } 12762 postIndex := iNdEx + msglen 12763 if postIndex < 0 { 12764 return ErrInvalidLengthTypes 12765 } 12766 if postIndex > l { 12767 return io.ErrUnexpectedEOF 12768 } 12769 if m.Duration == nil { 12770 m.Duration = make(map[int32]types.Duration) 12771 } 12772 var mapkey int32 12773 mapvalue := &types.Duration{} 12774 for iNdEx < postIndex { 12775 entryPreIndex := iNdEx 12776 var wire uint64 12777 for shift := uint(0); ; shift += 7 { 12778 if shift >= 64 { 12779 return ErrIntOverflowTypes 12780 } 12781 if iNdEx >= l { 12782 return io.ErrUnexpectedEOF 12783 } 12784 b := dAtA[iNdEx] 12785 iNdEx++ 12786 wire |= uint64(b&0x7F) << shift 12787 if b < 0x80 { 12788 break 12789 } 12790 } 12791 fieldNum := int32(wire >> 3) 12792 if fieldNum == 1 { 12793 for shift := uint(0); ; shift += 7 { 12794 if shift >= 64 { 12795 return ErrIntOverflowTypes 12796 } 12797 if iNdEx >= l { 12798 return io.ErrUnexpectedEOF 12799 } 12800 b := dAtA[iNdEx] 12801 iNdEx++ 12802 mapkey |= int32(b&0x7F) << shift 12803 if b < 0x80 { 12804 break 12805 } 12806 } 12807 } else if fieldNum == 2 { 12808 var mapmsglen int 12809 for shift := uint(0); ; shift += 7 { 12810 if shift >= 64 { 12811 return ErrIntOverflowTypes 12812 } 12813 if iNdEx >= l { 12814 return io.ErrUnexpectedEOF 12815 } 12816 b := dAtA[iNdEx] 12817 iNdEx++ 12818 mapmsglen |= int(b&0x7F) << shift 12819 if b < 0x80 { 12820 break 12821 } 12822 } 12823 if mapmsglen < 0 { 12824 return ErrInvalidLengthTypes 12825 } 12826 postmsgIndex := iNdEx + mapmsglen 12827 if postmsgIndex < 0 { 12828 return ErrInvalidLengthTypes 12829 } 12830 if postmsgIndex > l { 12831 return io.ErrUnexpectedEOF 12832 } 12833 mapvalue = &types.Duration{} 12834 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 12835 return err 12836 } 12837 iNdEx = postmsgIndex 12838 } else { 12839 iNdEx = entryPreIndex 12840 skippy, err := skipTypes(dAtA[iNdEx:]) 12841 if err != nil { 12842 return err 12843 } 12844 if skippy < 0 { 12845 return ErrInvalidLengthTypes 12846 } 12847 if (iNdEx + skippy) > postIndex { 12848 return io.ErrUnexpectedEOF 12849 } 12850 iNdEx += skippy 12851 } 12852 } 12853 m.Duration[mapkey] = *mapvalue 12854 iNdEx = postIndex 12855 case 5: 12856 if wireType != 2 { 12857 return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) 12858 } 12859 var msglen int 12860 for shift := uint(0); ; shift += 7 { 12861 if shift >= 64 { 12862 return ErrIntOverflowTypes 12863 } 12864 if iNdEx >= l { 12865 return io.ErrUnexpectedEOF 12866 } 12867 b := dAtA[iNdEx] 12868 iNdEx++ 12869 msglen |= int(b&0x7F) << shift 12870 if b < 0x80 { 12871 break 12872 } 12873 } 12874 if msglen < 0 { 12875 return ErrInvalidLengthTypes 12876 } 12877 postIndex := iNdEx + msglen 12878 if postIndex < 0 { 12879 return ErrInvalidLengthTypes 12880 } 12881 if postIndex > l { 12882 return io.ErrUnexpectedEOF 12883 } 12884 if m.NullableDouble == nil { 12885 m.NullableDouble = make(map[int32]*types.DoubleValue) 12886 } 12887 var mapkey int32 12888 var mapvalue *types.DoubleValue 12889 for iNdEx < postIndex { 12890 entryPreIndex := iNdEx 12891 var wire uint64 12892 for shift := uint(0); ; shift += 7 { 12893 if shift >= 64 { 12894 return ErrIntOverflowTypes 12895 } 12896 if iNdEx >= l { 12897 return io.ErrUnexpectedEOF 12898 } 12899 b := dAtA[iNdEx] 12900 iNdEx++ 12901 wire |= uint64(b&0x7F) << shift 12902 if b < 0x80 { 12903 break 12904 } 12905 } 12906 fieldNum := int32(wire >> 3) 12907 if fieldNum == 1 { 12908 for shift := uint(0); ; shift += 7 { 12909 if shift >= 64 { 12910 return ErrIntOverflowTypes 12911 } 12912 if iNdEx >= l { 12913 return io.ErrUnexpectedEOF 12914 } 12915 b := dAtA[iNdEx] 12916 iNdEx++ 12917 mapkey |= int32(b&0x7F) << shift 12918 if b < 0x80 { 12919 break 12920 } 12921 } 12922 } else if fieldNum == 2 { 12923 var mapmsglen int 12924 for shift := uint(0); ; shift += 7 { 12925 if shift >= 64 { 12926 return ErrIntOverflowTypes 12927 } 12928 if iNdEx >= l { 12929 return io.ErrUnexpectedEOF 12930 } 12931 b := dAtA[iNdEx] 12932 iNdEx++ 12933 mapmsglen |= int(b&0x7F) << shift 12934 if b < 0x80 { 12935 break 12936 } 12937 } 12938 if mapmsglen < 0 { 12939 return ErrInvalidLengthTypes 12940 } 12941 postmsgIndex := iNdEx + mapmsglen 12942 if postmsgIndex < 0 { 12943 return ErrInvalidLengthTypes 12944 } 12945 if postmsgIndex > l { 12946 return io.ErrUnexpectedEOF 12947 } 12948 mapvalue = &types.DoubleValue{} 12949 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 12950 return err 12951 } 12952 iNdEx = postmsgIndex 12953 } else { 12954 iNdEx = entryPreIndex 12955 skippy, err := skipTypes(dAtA[iNdEx:]) 12956 if err != nil { 12957 return err 12958 } 12959 if skippy < 0 { 12960 return ErrInvalidLengthTypes 12961 } 12962 if (iNdEx + skippy) > postIndex { 12963 return io.ErrUnexpectedEOF 12964 } 12965 iNdEx += skippy 12966 } 12967 } 12968 m.NullableDouble[mapkey] = mapvalue 12969 iNdEx = postIndex 12970 case 6: 12971 if wireType != 2 { 12972 return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) 12973 } 12974 var msglen int 12975 for shift := uint(0); ; shift += 7 { 12976 if shift >= 64 { 12977 return ErrIntOverflowTypes 12978 } 12979 if iNdEx >= l { 12980 return io.ErrUnexpectedEOF 12981 } 12982 b := dAtA[iNdEx] 12983 iNdEx++ 12984 msglen |= int(b&0x7F) << shift 12985 if b < 0x80 { 12986 break 12987 } 12988 } 12989 if msglen < 0 { 12990 return ErrInvalidLengthTypes 12991 } 12992 postIndex := iNdEx + msglen 12993 if postIndex < 0 { 12994 return ErrInvalidLengthTypes 12995 } 12996 if postIndex > l { 12997 return io.ErrUnexpectedEOF 12998 } 12999 if m.NonnullDouble == nil { 13000 m.NonnullDouble = make(map[int32]types.DoubleValue) 13001 } 13002 var mapkey int32 13003 mapvalue := &types.DoubleValue{} 13004 for iNdEx < postIndex { 13005 entryPreIndex := iNdEx 13006 var wire uint64 13007 for shift := uint(0); ; shift += 7 { 13008 if shift >= 64 { 13009 return ErrIntOverflowTypes 13010 } 13011 if iNdEx >= l { 13012 return io.ErrUnexpectedEOF 13013 } 13014 b := dAtA[iNdEx] 13015 iNdEx++ 13016 wire |= uint64(b&0x7F) << shift 13017 if b < 0x80 { 13018 break 13019 } 13020 } 13021 fieldNum := int32(wire >> 3) 13022 if fieldNum == 1 { 13023 for shift := uint(0); ; shift += 7 { 13024 if shift >= 64 { 13025 return ErrIntOverflowTypes 13026 } 13027 if iNdEx >= l { 13028 return io.ErrUnexpectedEOF 13029 } 13030 b := dAtA[iNdEx] 13031 iNdEx++ 13032 mapkey |= int32(b&0x7F) << shift 13033 if b < 0x80 { 13034 break 13035 } 13036 } 13037 } else if fieldNum == 2 { 13038 var mapmsglen int 13039 for shift := uint(0); ; shift += 7 { 13040 if shift >= 64 { 13041 return ErrIntOverflowTypes 13042 } 13043 if iNdEx >= l { 13044 return io.ErrUnexpectedEOF 13045 } 13046 b := dAtA[iNdEx] 13047 iNdEx++ 13048 mapmsglen |= int(b&0x7F) << shift 13049 if b < 0x80 { 13050 break 13051 } 13052 } 13053 if mapmsglen < 0 { 13054 return ErrInvalidLengthTypes 13055 } 13056 postmsgIndex := iNdEx + mapmsglen 13057 if postmsgIndex < 0 { 13058 return ErrInvalidLengthTypes 13059 } 13060 if postmsgIndex > l { 13061 return io.ErrUnexpectedEOF 13062 } 13063 mapvalue = &types.DoubleValue{} 13064 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13065 return err 13066 } 13067 iNdEx = postmsgIndex 13068 } else { 13069 iNdEx = entryPreIndex 13070 skippy, err := skipTypes(dAtA[iNdEx:]) 13071 if err != nil { 13072 return err 13073 } 13074 if skippy < 0 { 13075 return ErrInvalidLengthTypes 13076 } 13077 if (iNdEx + skippy) > postIndex { 13078 return io.ErrUnexpectedEOF 13079 } 13080 iNdEx += skippy 13081 } 13082 } 13083 m.NonnullDouble[mapkey] = *mapvalue 13084 iNdEx = postIndex 13085 case 7: 13086 if wireType != 2 { 13087 return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) 13088 } 13089 var msglen int 13090 for shift := uint(0); ; shift += 7 { 13091 if shift >= 64 { 13092 return ErrIntOverflowTypes 13093 } 13094 if iNdEx >= l { 13095 return io.ErrUnexpectedEOF 13096 } 13097 b := dAtA[iNdEx] 13098 iNdEx++ 13099 msglen |= int(b&0x7F) << shift 13100 if b < 0x80 { 13101 break 13102 } 13103 } 13104 if msglen < 0 { 13105 return ErrInvalidLengthTypes 13106 } 13107 postIndex := iNdEx + msglen 13108 if postIndex < 0 { 13109 return ErrInvalidLengthTypes 13110 } 13111 if postIndex > l { 13112 return io.ErrUnexpectedEOF 13113 } 13114 if m.NullableFloat == nil { 13115 m.NullableFloat = make(map[int32]*types.FloatValue) 13116 } 13117 var mapkey int32 13118 var mapvalue *types.FloatValue 13119 for iNdEx < postIndex { 13120 entryPreIndex := iNdEx 13121 var wire uint64 13122 for shift := uint(0); ; shift += 7 { 13123 if shift >= 64 { 13124 return ErrIntOverflowTypes 13125 } 13126 if iNdEx >= l { 13127 return io.ErrUnexpectedEOF 13128 } 13129 b := dAtA[iNdEx] 13130 iNdEx++ 13131 wire |= uint64(b&0x7F) << shift 13132 if b < 0x80 { 13133 break 13134 } 13135 } 13136 fieldNum := int32(wire >> 3) 13137 if fieldNum == 1 { 13138 for shift := uint(0); ; shift += 7 { 13139 if shift >= 64 { 13140 return ErrIntOverflowTypes 13141 } 13142 if iNdEx >= l { 13143 return io.ErrUnexpectedEOF 13144 } 13145 b := dAtA[iNdEx] 13146 iNdEx++ 13147 mapkey |= int32(b&0x7F) << shift 13148 if b < 0x80 { 13149 break 13150 } 13151 } 13152 } else if fieldNum == 2 { 13153 var mapmsglen int 13154 for shift := uint(0); ; shift += 7 { 13155 if shift >= 64 { 13156 return ErrIntOverflowTypes 13157 } 13158 if iNdEx >= l { 13159 return io.ErrUnexpectedEOF 13160 } 13161 b := dAtA[iNdEx] 13162 iNdEx++ 13163 mapmsglen |= int(b&0x7F) << shift 13164 if b < 0x80 { 13165 break 13166 } 13167 } 13168 if mapmsglen < 0 { 13169 return ErrInvalidLengthTypes 13170 } 13171 postmsgIndex := iNdEx + mapmsglen 13172 if postmsgIndex < 0 { 13173 return ErrInvalidLengthTypes 13174 } 13175 if postmsgIndex > l { 13176 return io.ErrUnexpectedEOF 13177 } 13178 mapvalue = &types.FloatValue{} 13179 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13180 return err 13181 } 13182 iNdEx = postmsgIndex 13183 } else { 13184 iNdEx = entryPreIndex 13185 skippy, err := skipTypes(dAtA[iNdEx:]) 13186 if err != nil { 13187 return err 13188 } 13189 if skippy < 0 { 13190 return ErrInvalidLengthTypes 13191 } 13192 if (iNdEx + skippy) > postIndex { 13193 return io.ErrUnexpectedEOF 13194 } 13195 iNdEx += skippy 13196 } 13197 } 13198 m.NullableFloat[mapkey] = mapvalue 13199 iNdEx = postIndex 13200 case 8: 13201 if wireType != 2 { 13202 return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) 13203 } 13204 var msglen int 13205 for shift := uint(0); ; shift += 7 { 13206 if shift >= 64 { 13207 return ErrIntOverflowTypes 13208 } 13209 if iNdEx >= l { 13210 return io.ErrUnexpectedEOF 13211 } 13212 b := dAtA[iNdEx] 13213 iNdEx++ 13214 msglen |= int(b&0x7F) << shift 13215 if b < 0x80 { 13216 break 13217 } 13218 } 13219 if msglen < 0 { 13220 return ErrInvalidLengthTypes 13221 } 13222 postIndex := iNdEx + msglen 13223 if postIndex < 0 { 13224 return ErrInvalidLengthTypes 13225 } 13226 if postIndex > l { 13227 return io.ErrUnexpectedEOF 13228 } 13229 if m.NonnullFloat == nil { 13230 m.NonnullFloat = make(map[int32]types.FloatValue) 13231 } 13232 var mapkey int32 13233 mapvalue := &types.FloatValue{} 13234 for iNdEx < postIndex { 13235 entryPreIndex := iNdEx 13236 var wire uint64 13237 for shift := uint(0); ; shift += 7 { 13238 if shift >= 64 { 13239 return ErrIntOverflowTypes 13240 } 13241 if iNdEx >= l { 13242 return io.ErrUnexpectedEOF 13243 } 13244 b := dAtA[iNdEx] 13245 iNdEx++ 13246 wire |= uint64(b&0x7F) << shift 13247 if b < 0x80 { 13248 break 13249 } 13250 } 13251 fieldNum := int32(wire >> 3) 13252 if fieldNum == 1 { 13253 for shift := uint(0); ; shift += 7 { 13254 if shift >= 64 { 13255 return ErrIntOverflowTypes 13256 } 13257 if iNdEx >= l { 13258 return io.ErrUnexpectedEOF 13259 } 13260 b := dAtA[iNdEx] 13261 iNdEx++ 13262 mapkey |= int32(b&0x7F) << shift 13263 if b < 0x80 { 13264 break 13265 } 13266 } 13267 } else if fieldNum == 2 { 13268 var mapmsglen int 13269 for shift := uint(0); ; shift += 7 { 13270 if shift >= 64 { 13271 return ErrIntOverflowTypes 13272 } 13273 if iNdEx >= l { 13274 return io.ErrUnexpectedEOF 13275 } 13276 b := dAtA[iNdEx] 13277 iNdEx++ 13278 mapmsglen |= int(b&0x7F) << shift 13279 if b < 0x80 { 13280 break 13281 } 13282 } 13283 if mapmsglen < 0 { 13284 return ErrInvalidLengthTypes 13285 } 13286 postmsgIndex := iNdEx + mapmsglen 13287 if postmsgIndex < 0 { 13288 return ErrInvalidLengthTypes 13289 } 13290 if postmsgIndex > l { 13291 return io.ErrUnexpectedEOF 13292 } 13293 mapvalue = &types.FloatValue{} 13294 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13295 return err 13296 } 13297 iNdEx = postmsgIndex 13298 } else { 13299 iNdEx = entryPreIndex 13300 skippy, err := skipTypes(dAtA[iNdEx:]) 13301 if err != nil { 13302 return err 13303 } 13304 if skippy < 0 { 13305 return ErrInvalidLengthTypes 13306 } 13307 if (iNdEx + skippy) > postIndex { 13308 return io.ErrUnexpectedEOF 13309 } 13310 iNdEx += skippy 13311 } 13312 } 13313 m.NonnullFloat[mapkey] = *mapvalue 13314 iNdEx = postIndex 13315 case 9: 13316 if wireType != 2 { 13317 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) 13318 } 13319 var msglen int 13320 for shift := uint(0); ; shift += 7 { 13321 if shift >= 64 { 13322 return ErrIntOverflowTypes 13323 } 13324 if iNdEx >= l { 13325 return io.ErrUnexpectedEOF 13326 } 13327 b := dAtA[iNdEx] 13328 iNdEx++ 13329 msglen |= int(b&0x7F) << shift 13330 if b < 0x80 { 13331 break 13332 } 13333 } 13334 if msglen < 0 { 13335 return ErrInvalidLengthTypes 13336 } 13337 postIndex := iNdEx + msglen 13338 if postIndex < 0 { 13339 return ErrInvalidLengthTypes 13340 } 13341 if postIndex > l { 13342 return io.ErrUnexpectedEOF 13343 } 13344 if m.NullableInt64 == nil { 13345 m.NullableInt64 = make(map[int32]*types.Int64Value) 13346 } 13347 var mapkey int32 13348 var mapvalue *types.Int64Value 13349 for iNdEx < postIndex { 13350 entryPreIndex := iNdEx 13351 var wire uint64 13352 for shift := uint(0); ; shift += 7 { 13353 if shift >= 64 { 13354 return ErrIntOverflowTypes 13355 } 13356 if iNdEx >= l { 13357 return io.ErrUnexpectedEOF 13358 } 13359 b := dAtA[iNdEx] 13360 iNdEx++ 13361 wire |= uint64(b&0x7F) << shift 13362 if b < 0x80 { 13363 break 13364 } 13365 } 13366 fieldNum := int32(wire >> 3) 13367 if fieldNum == 1 { 13368 for shift := uint(0); ; shift += 7 { 13369 if shift >= 64 { 13370 return ErrIntOverflowTypes 13371 } 13372 if iNdEx >= l { 13373 return io.ErrUnexpectedEOF 13374 } 13375 b := dAtA[iNdEx] 13376 iNdEx++ 13377 mapkey |= int32(b&0x7F) << shift 13378 if b < 0x80 { 13379 break 13380 } 13381 } 13382 } else if fieldNum == 2 { 13383 var mapmsglen int 13384 for shift := uint(0); ; shift += 7 { 13385 if shift >= 64 { 13386 return ErrIntOverflowTypes 13387 } 13388 if iNdEx >= l { 13389 return io.ErrUnexpectedEOF 13390 } 13391 b := dAtA[iNdEx] 13392 iNdEx++ 13393 mapmsglen |= int(b&0x7F) << shift 13394 if b < 0x80 { 13395 break 13396 } 13397 } 13398 if mapmsglen < 0 { 13399 return ErrInvalidLengthTypes 13400 } 13401 postmsgIndex := iNdEx + mapmsglen 13402 if postmsgIndex < 0 { 13403 return ErrInvalidLengthTypes 13404 } 13405 if postmsgIndex > l { 13406 return io.ErrUnexpectedEOF 13407 } 13408 mapvalue = &types.Int64Value{} 13409 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13410 return err 13411 } 13412 iNdEx = postmsgIndex 13413 } else { 13414 iNdEx = entryPreIndex 13415 skippy, err := skipTypes(dAtA[iNdEx:]) 13416 if err != nil { 13417 return err 13418 } 13419 if skippy < 0 { 13420 return ErrInvalidLengthTypes 13421 } 13422 if (iNdEx + skippy) > postIndex { 13423 return io.ErrUnexpectedEOF 13424 } 13425 iNdEx += skippy 13426 } 13427 } 13428 m.NullableInt64[mapkey] = mapvalue 13429 iNdEx = postIndex 13430 case 10: 13431 if wireType != 2 { 13432 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) 13433 } 13434 var msglen int 13435 for shift := uint(0); ; shift += 7 { 13436 if shift >= 64 { 13437 return ErrIntOverflowTypes 13438 } 13439 if iNdEx >= l { 13440 return io.ErrUnexpectedEOF 13441 } 13442 b := dAtA[iNdEx] 13443 iNdEx++ 13444 msglen |= int(b&0x7F) << shift 13445 if b < 0x80 { 13446 break 13447 } 13448 } 13449 if msglen < 0 { 13450 return ErrInvalidLengthTypes 13451 } 13452 postIndex := iNdEx + msglen 13453 if postIndex < 0 { 13454 return ErrInvalidLengthTypes 13455 } 13456 if postIndex > l { 13457 return io.ErrUnexpectedEOF 13458 } 13459 if m.NonnullInt64 == nil { 13460 m.NonnullInt64 = make(map[int32]types.Int64Value) 13461 } 13462 var mapkey int32 13463 mapvalue := &types.Int64Value{} 13464 for iNdEx < postIndex { 13465 entryPreIndex := iNdEx 13466 var wire uint64 13467 for shift := uint(0); ; shift += 7 { 13468 if shift >= 64 { 13469 return ErrIntOverflowTypes 13470 } 13471 if iNdEx >= l { 13472 return io.ErrUnexpectedEOF 13473 } 13474 b := dAtA[iNdEx] 13475 iNdEx++ 13476 wire |= uint64(b&0x7F) << shift 13477 if b < 0x80 { 13478 break 13479 } 13480 } 13481 fieldNum := int32(wire >> 3) 13482 if fieldNum == 1 { 13483 for shift := uint(0); ; shift += 7 { 13484 if shift >= 64 { 13485 return ErrIntOverflowTypes 13486 } 13487 if iNdEx >= l { 13488 return io.ErrUnexpectedEOF 13489 } 13490 b := dAtA[iNdEx] 13491 iNdEx++ 13492 mapkey |= int32(b&0x7F) << shift 13493 if b < 0x80 { 13494 break 13495 } 13496 } 13497 } else if fieldNum == 2 { 13498 var mapmsglen int 13499 for shift := uint(0); ; shift += 7 { 13500 if shift >= 64 { 13501 return ErrIntOverflowTypes 13502 } 13503 if iNdEx >= l { 13504 return io.ErrUnexpectedEOF 13505 } 13506 b := dAtA[iNdEx] 13507 iNdEx++ 13508 mapmsglen |= int(b&0x7F) << shift 13509 if b < 0x80 { 13510 break 13511 } 13512 } 13513 if mapmsglen < 0 { 13514 return ErrInvalidLengthTypes 13515 } 13516 postmsgIndex := iNdEx + mapmsglen 13517 if postmsgIndex < 0 { 13518 return ErrInvalidLengthTypes 13519 } 13520 if postmsgIndex > l { 13521 return io.ErrUnexpectedEOF 13522 } 13523 mapvalue = &types.Int64Value{} 13524 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13525 return err 13526 } 13527 iNdEx = postmsgIndex 13528 } else { 13529 iNdEx = entryPreIndex 13530 skippy, err := skipTypes(dAtA[iNdEx:]) 13531 if err != nil { 13532 return err 13533 } 13534 if skippy < 0 { 13535 return ErrInvalidLengthTypes 13536 } 13537 if (iNdEx + skippy) > postIndex { 13538 return io.ErrUnexpectedEOF 13539 } 13540 iNdEx += skippy 13541 } 13542 } 13543 m.NonnullInt64[mapkey] = *mapvalue 13544 iNdEx = postIndex 13545 case 11: 13546 if wireType != 2 { 13547 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) 13548 } 13549 var msglen int 13550 for shift := uint(0); ; shift += 7 { 13551 if shift >= 64 { 13552 return ErrIntOverflowTypes 13553 } 13554 if iNdEx >= l { 13555 return io.ErrUnexpectedEOF 13556 } 13557 b := dAtA[iNdEx] 13558 iNdEx++ 13559 msglen |= int(b&0x7F) << shift 13560 if b < 0x80 { 13561 break 13562 } 13563 } 13564 if msglen < 0 { 13565 return ErrInvalidLengthTypes 13566 } 13567 postIndex := iNdEx + msglen 13568 if postIndex < 0 { 13569 return ErrInvalidLengthTypes 13570 } 13571 if postIndex > l { 13572 return io.ErrUnexpectedEOF 13573 } 13574 if m.NullableUInt64 == nil { 13575 m.NullableUInt64 = make(map[int32]*types.UInt64Value) 13576 } 13577 var mapkey int32 13578 var mapvalue *types.UInt64Value 13579 for iNdEx < postIndex { 13580 entryPreIndex := iNdEx 13581 var wire uint64 13582 for shift := uint(0); ; shift += 7 { 13583 if shift >= 64 { 13584 return ErrIntOverflowTypes 13585 } 13586 if iNdEx >= l { 13587 return io.ErrUnexpectedEOF 13588 } 13589 b := dAtA[iNdEx] 13590 iNdEx++ 13591 wire |= uint64(b&0x7F) << shift 13592 if b < 0x80 { 13593 break 13594 } 13595 } 13596 fieldNum := int32(wire >> 3) 13597 if fieldNum == 1 { 13598 for shift := uint(0); ; shift += 7 { 13599 if shift >= 64 { 13600 return ErrIntOverflowTypes 13601 } 13602 if iNdEx >= l { 13603 return io.ErrUnexpectedEOF 13604 } 13605 b := dAtA[iNdEx] 13606 iNdEx++ 13607 mapkey |= int32(b&0x7F) << shift 13608 if b < 0x80 { 13609 break 13610 } 13611 } 13612 } else if fieldNum == 2 { 13613 var mapmsglen int 13614 for shift := uint(0); ; shift += 7 { 13615 if shift >= 64 { 13616 return ErrIntOverflowTypes 13617 } 13618 if iNdEx >= l { 13619 return io.ErrUnexpectedEOF 13620 } 13621 b := dAtA[iNdEx] 13622 iNdEx++ 13623 mapmsglen |= int(b&0x7F) << shift 13624 if b < 0x80 { 13625 break 13626 } 13627 } 13628 if mapmsglen < 0 { 13629 return ErrInvalidLengthTypes 13630 } 13631 postmsgIndex := iNdEx + mapmsglen 13632 if postmsgIndex < 0 { 13633 return ErrInvalidLengthTypes 13634 } 13635 if postmsgIndex > l { 13636 return io.ErrUnexpectedEOF 13637 } 13638 mapvalue = &types.UInt64Value{} 13639 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13640 return err 13641 } 13642 iNdEx = postmsgIndex 13643 } else { 13644 iNdEx = entryPreIndex 13645 skippy, err := skipTypes(dAtA[iNdEx:]) 13646 if err != nil { 13647 return err 13648 } 13649 if skippy < 0 { 13650 return ErrInvalidLengthTypes 13651 } 13652 if (iNdEx + skippy) > postIndex { 13653 return io.ErrUnexpectedEOF 13654 } 13655 iNdEx += skippy 13656 } 13657 } 13658 m.NullableUInt64[mapkey] = mapvalue 13659 iNdEx = postIndex 13660 case 12: 13661 if wireType != 2 { 13662 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) 13663 } 13664 var msglen int 13665 for shift := uint(0); ; shift += 7 { 13666 if shift >= 64 { 13667 return ErrIntOverflowTypes 13668 } 13669 if iNdEx >= l { 13670 return io.ErrUnexpectedEOF 13671 } 13672 b := dAtA[iNdEx] 13673 iNdEx++ 13674 msglen |= int(b&0x7F) << shift 13675 if b < 0x80 { 13676 break 13677 } 13678 } 13679 if msglen < 0 { 13680 return ErrInvalidLengthTypes 13681 } 13682 postIndex := iNdEx + msglen 13683 if postIndex < 0 { 13684 return ErrInvalidLengthTypes 13685 } 13686 if postIndex > l { 13687 return io.ErrUnexpectedEOF 13688 } 13689 if m.NonnullUInt64 == nil { 13690 m.NonnullUInt64 = make(map[int32]types.UInt64Value) 13691 } 13692 var mapkey int32 13693 mapvalue := &types.UInt64Value{} 13694 for iNdEx < postIndex { 13695 entryPreIndex := iNdEx 13696 var wire uint64 13697 for shift := uint(0); ; shift += 7 { 13698 if shift >= 64 { 13699 return ErrIntOverflowTypes 13700 } 13701 if iNdEx >= l { 13702 return io.ErrUnexpectedEOF 13703 } 13704 b := dAtA[iNdEx] 13705 iNdEx++ 13706 wire |= uint64(b&0x7F) << shift 13707 if b < 0x80 { 13708 break 13709 } 13710 } 13711 fieldNum := int32(wire >> 3) 13712 if fieldNum == 1 { 13713 for shift := uint(0); ; shift += 7 { 13714 if shift >= 64 { 13715 return ErrIntOverflowTypes 13716 } 13717 if iNdEx >= l { 13718 return io.ErrUnexpectedEOF 13719 } 13720 b := dAtA[iNdEx] 13721 iNdEx++ 13722 mapkey |= int32(b&0x7F) << shift 13723 if b < 0x80 { 13724 break 13725 } 13726 } 13727 } else if fieldNum == 2 { 13728 var mapmsglen int 13729 for shift := uint(0); ; shift += 7 { 13730 if shift >= 64 { 13731 return ErrIntOverflowTypes 13732 } 13733 if iNdEx >= l { 13734 return io.ErrUnexpectedEOF 13735 } 13736 b := dAtA[iNdEx] 13737 iNdEx++ 13738 mapmsglen |= int(b&0x7F) << shift 13739 if b < 0x80 { 13740 break 13741 } 13742 } 13743 if mapmsglen < 0 { 13744 return ErrInvalidLengthTypes 13745 } 13746 postmsgIndex := iNdEx + mapmsglen 13747 if postmsgIndex < 0 { 13748 return ErrInvalidLengthTypes 13749 } 13750 if postmsgIndex > l { 13751 return io.ErrUnexpectedEOF 13752 } 13753 mapvalue = &types.UInt64Value{} 13754 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13755 return err 13756 } 13757 iNdEx = postmsgIndex 13758 } else { 13759 iNdEx = entryPreIndex 13760 skippy, err := skipTypes(dAtA[iNdEx:]) 13761 if err != nil { 13762 return err 13763 } 13764 if skippy < 0 { 13765 return ErrInvalidLengthTypes 13766 } 13767 if (iNdEx + skippy) > postIndex { 13768 return io.ErrUnexpectedEOF 13769 } 13770 iNdEx += skippy 13771 } 13772 } 13773 m.NonnullUInt64[mapkey] = *mapvalue 13774 iNdEx = postIndex 13775 case 13: 13776 if wireType != 2 { 13777 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) 13778 } 13779 var msglen int 13780 for shift := uint(0); ; shift += 7 { 13781 if shift >= 64 { 13782 return ErrIntOverflowTypes 13783 } 13784 if iNdEx >= l { 13785 return io.ErrUnexpectedEOF 13786 } 13787 b := dAtA[iNdEx] 13788 iNdEx++ 13789 msglen |= int(b&0x7F) << shift 13790 if b < 0x80 { 13791 break 13792 } 13793 } 13794 if msglen < 0 { 13795 return ErrInvalidLengthTypes 13796 } 13797 postIndex := iNdEx + msglen 13798 if postIndex < 0 { 13799 return ErrInvalidLengthTypes 13800 } 13801 if postIndex > l { 13802 return io.ErrUnexpectedEOF 13803 } 13804 if m.NullableInt32 == nil { 13805 m.NullableInt32 = make(map[int32]*types.Int32Value) 13806 } 13807 var mapkey int32 13808 var mapvalue *types.Int32Value 13809 for iNdEx < postIndex { 13810 entryPreIndex := iNdEx 13811 var wire uint64 13812 for shift := uint(0); ; shift += 7 { 13813 if shift >= 64 { 13814 return ErrIntOverflowTypes 13815 } 13816 if iNdEx >= l { 13817 return io.ErrUnexpectedEOF 13818 } 13819 b := dAtA[iNdEx] 13820 iNdEx++ 13821 wire |= uint64(b&0x7F) << shift 13822 if b < 0x80 { 13823 break 13824 } 13825 } 13826 fieldNum := int32(wire >> 3) 13827 if fieldNum == 1 { 13828 for shift := uint(0); ; shift += 7 { 13829 if shift >= 64 { 13830 return ErrIntOverflowTypes 13831 } 13832 if iNdEx >= l { 13833 return io.ErrUnexpectedEOF 13834 } 13835 b := dAtA[iNdEx] 13836 iNdEx++ 13837 mapkey |= int32(b&0x7F) << shift 13838 if b < 0x80 { 13839 break 13840 } 13841 } 13842 } else if fieldNum == 2 { 13843 var mapmsglen int 13844 for shift := uint(0); ; shift += 7 { 13845 if shift >= 64 { 13846 return ErrIntOverflowTypes 13847 } 13848 if iNdEx >= l { 13849 return io.ErrUnexpectedEOF 13850 } 13851 b := dAtA[iNdEx] 13852 iNdEx++ 13853 mapmsglen |= int(b&0x7F) << shift 13854 if b < 0x80 { 13855 break 13856 } 13857 } 13858 if mapmsglen < 0 { 13859 return ErrInvalidLengthTypes 13860 } 13861 postmsgIndex := iNdEx + mapmsglen 13862 if postmsgIndex < 0 { 13863 return ErrInvalidLengthTypes 13864 } 13865 if postmsgIndex > l { 13866 return io.ErrUnexpectedEOF 13867 } 13868 mapvalue = &types.Int32Value{} 13869 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13870 return err 13871 } 13872 iNdEx = postmsgIndex 13873 } else { 13874 iNdEx = entryPreIndex 13875 skippy, err := skipTypes(dAtA[iNdEx:]) 13876 if err != nil { 13877 return err 13878 } 13879 if skippy < 0 { 13880 return ErrInvalidLengthTypes 13881 } 13882 if (iNdEx + skippy) > postIndex { 13883 return io.ErrUnexpectedEOF 13884 } 13885 iNdEx += skippy 13886 } 13887 } 13888 m.NullableInt32[mapkey] = mapvalue 13889 iNdEx = postIndex 13890 case 14: 13891 if wireType != 2 { 13892 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) 13893 } 13894 var msglen int 13895 for shift := uint(0); ; shift += 7 { 13896 if shift >= 64 { 13897 return ErrIntOverflowTypes 13898 } 13899 if iNdEx >= l { 13900 return io.ErrUnexpectedEOF 13901 } 13902 b := dAtA[iNdEx] 13903 iNdEx++ 13904 msglen |= int(b&0x7F) << shift 13905 if b < 0x80 { 13906 break 13907 } 13908 } 13909 if msglen < 0 { 13910 return ErrInvalidLengthTypes 13911 } 13912 postIndex := iNdEx + msglen 13913 if postIndex < 0 { 13914 return ErrInvalidLengthTypes 13915 } 13916 if postIndex > l { 13917 return io.ErrUnexpectedEOF 13918 } 13919 if m.NonnullInt32 == nil { 13920 m.NonnullInt32 = make(map[int32]types.Int32Value) 13921 } 13922 var mapkey int32 13923 mapvalue := &types.Int32Value{} 13924 for iNdEx < postIndex { 13925 entryPreIndex := iNdEx 13926 var wire uint64 13927 for shift := uint(0); ; shift += 7 { 13928 if shift >= 64 { 13929 return ErrIntOverflowTypes 13930 } 13931 if iNdEx >= l { 13932 return io.ErrUnexpectedEOF 13933 } 13934 b := dAtA[iNdEx] 13935 iNdEx++ 13936 wire |= uint64(b&0x7F) << shift 13937 if b < 0x80 { 13938 break 13939 } 13940 } 13941 fieldNum := int32(wire >> 3) 13942 if fieldNum == 1 { 13943 for shift := uint(0); ; shift += 7 { 13944 if shift >= 64 { 13945 return ErrIntOverflowTypes 13946 } 13947 if iNdEx >= l { 13948 return io.ErrUnexpectedEOF 13949 } 13950 b := dAtA[iNdEx] 13951 iNdEx++ 13952 mapkey |= int32(b&0x7F) << shift 13953 if b < 0x80 { 13954 break 13955 } 13956 } 13957 } else if fieldNum == 2 { 13958 var mapmsglen int 13959 for shift := uint(0); ; shift += 7 { 13960 if shift >= 64 { 13961 return ErrIntOverflowTypes 13962 } 13963 if iNdEx >= l { 13964 return io.ErrUnexpectedEOF 13965 } 13966 b := dAtA[iNdEx] 13967 iNdEx++ 13968 mapmsglen |= int(b&0x7F) << shift 13969 if b < 0x80 { 13970 break 13971 } 13972 } 13973 if mapmsglen < 0 { 13974 return ErrInvalidLengthTypes 13975 } 13976 postmsgIndex := iNdEx + mapmsglen 13977 if postmsgIndex < 0 { 13978 return ErrInvalidLengthTypes 13979 } 13980 if postmsgIndex > l { 13981 return io.ErrUnexpectedEOF 13982 } 13983 mapvalue = &types.Int32Value{} 13984 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 13985 return err 13986 } 13987 iNdEx = postmsgIndex 13988 } else { 13989 iNdEx = entryPreIndex 13990 skippy, err := skipTypes(dAtA[iNdEx:]) 13991 if err != nil { 13992 return err 13993 } 13994 if skippy < 0 { 13995 return ErrInvalidLengthTypes 13996 } 13997 if (iNdEx + skippy) > postIndex { 13998 return io.ErrUnexpectedEOF 13999 } 14000 iNdEx += skippy 14001 } 14002 } 14003 m.NonnullInt32[mapkey] = *mapvalue 14004 iNdEx = postIndex 14005 case 15: 14006 if wireType != 2 { 14007 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) 14008 } 14009 var msglen int 14010 for shift := uint(0); ; shift += 7 { 14011 if shift >= 64 { 14012 return ErrIntOverflowTypes 14013 } 14014 if iNdEx >= l { 14015 return io.ErrUnexpectedEOF 14016 } 14017 b := dAtA[iNdEx] 14018 iNdEx++ 14019 msglen |= int(b&0x7F) << shift 14020 if b < 0x80 { 14021 break 14022 } 14023 } 14024 if msglen < 0 { 14025 return ErrInvalidLengthTypes 14026 } 14027 postIndex := iNdEx + msglen 14028 if postIndex < 0 { 14029 return ErrInvalidLengthTypes 14030 } 14031 if postIndex > l { 14032 return io.ErrUnexpectedEOF 14033 } 14034 if m.NullableUInt32 == nil { 14035 m.NullableUInt32 = make(map[int32]*types.UInt32Value) 14036 } 14037 var mapkey int32 14038 var mapvalue *types.UInt32Value 14039 for iNdEx < postIndex { 14040 entryPreIndex := iNdEx 14041 var wire uint64 14042 for shift := uint(0); ; shift += 7 { 14043 if shift >= 64 { 14044 return ErrIntOverflowTypes 14045 } 14046 if iNdEx >= l { 14047 return io.ErrUnexpectedEOF 14048 } 14049 b := dAtA[iNdEx] 14050 iNdEx++ 14051 wire |= uint64(b&0x7F) << shift 14052 if b < 0x80 { 14053 break 14054 } 14055 } 14056 fieldNum := int32(wire >> 3) 14057 if fieldNum == 1 { 14058 for shift := uint(0); ; shift += 7 { 14059 if shift >= 64 { 14060 return ErrIntOverflowTypes 14061 } 14062 if iNdEx >= l { 14063 return io.ErrUnexpectedEOF 14064 } 14065 b := dAtA[iNdEx] 14066 iNdEx++ 14067 mapkey |= int32(b&0x7F) << shift 14068 if b < 0x80 { 14069 break 14070 } 14071 } 14072 } else if fieldNum == 2 { 14073 var mapmsglen int 14074 for shift := uint(0); ; shift += 7 { 14075 if shift >= 64 { 14076 return ErrIntOverflowTypes 14077 } 14078 if iNdEx >= l { 14079 return io.ErrUnexpectedEOF 14080 } 14081 b := dAtA[iNdEx] 14082 iNdEx++ 14083 mapmsglen |= int(b&0x7F) << shift 14084 if b < 0x80 { 14085 break 14086 } 14087 } 14088 if mapmsglen < 0 { 14089 return ErrInvalidLengthTypes 14090 } 14091 postmsgIndex := iNdEx + mapmsglen 14092 if postmsgIndex < 0 { 14093 return ErrInvalidLengthTypes 14094 } 14095 if postmsgIndex > l { 14096 return io.ErrUnexpectedEOF 14097 } 14098 mapvalue = &types.UInt32Value{} 14099 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 14100 return err 14101 } 14102 iNdEx = postmsgIndex 14103 } else { 14104 iNdEx = entryPreIndex 14105 skippy, err := skipTypes(dAtA[iNdEx:]) 14106 if err != nil { 14107 return err 14108 } 14109 if skippy < 0 { 14110 return ErrInvalidLengthTypes 14111 } 14112 if (iNdEx + skippy) > postIndex { 14113 return io.ErrUnexpectedEOF 14114 } 14115 iNdEx += skippy 14116 } 14117 } 14118 m.NullableUInt32[mapkey] = mapvalue 14119 iNdEx = postIndex 14120 case 16: 14121 if wireType != 2 { 14122 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) 14123 } 14124 var msglen int 14125 for shift := uint(0); ; shift += 7 { 14126 if shift >= 64 { 14127 return ErrIntOverflowTypes 14128 } 14129 if iNdEx >= l { 14130 return io.ErrUnexpectedEOF 14131 } 14132 b := dAtA[iNdEx] 14133 iNdEx++ 14134 msglen |= int(b&0x7F) << shift 14135 if b < 0x80 { 14136 break 14137 } 14138 } 14139 if msglen < 0 { 14140 return ErrInvalidLengthTypes 14141 } 14142 postIndex := iNdEx + msglen 14143 if postIndex < 0 { 14144 return ErrInvalidLengthTypes 14145 } 14146 if postIndex > l { 14147 return io.ErrUnexpectedEOF 14148 } 14149 if m.NonnullUInt32 == nil { 14150 m.NonnullUInt32 = make(map[int32]types.UInt32Value) 14151 } 14152 var mapkey int32 14153 mapvalue := &types.UInt32Value{} 14154 for iNdEx < postIndex { 14155 entryPreIndex := iNdEx 14156 var wire uint64 14157 for shift := uint(0); ; shift += 7 { 14158 if shift >= 64 { 14159 return ErrIntOverflowTypes 14160 } 14161 if iNdEx >= l { 14162 return io.ErrUnexpectedEOF 14163 } 14164 b := dAtA[iNdEx] 14165 iNdEx++ 14166 wire |= uint64(b&0x7F) << shift 14167 if b < 0x80 { 14168 break 14169 } 14170 } 14171 fieldNum := int32(wire >> 3) 14172 if fieldNum == 1 { 14173 for shift := uint(0); ; shift += 7 { 14174 if shift >= 64 { 14175 return ErrIntOverflowTypes 14176 } 14177 if iNdEx >= l { 14178 return io.ErrUnexpectedEOF 14179 } 14180 b := dAtA[iNdEx] 14181 iNdEx++ 14182 mapkey |= int32(b&0x7F) << shift 14183 if b < 0x80 { 14184 break 14185 } 14186 } 14187 } else if fieldNum == 2 { 14188 var mapmsglen int 14189 for shift := uint(0); ; shift += 7 { 14190 if shift >= 64 { 14191 return ErrIntOverflowTypes 14192 } 14193 if iNdEx >= l { 14194 return io.ErrUnexpectedEOF 14195 } 14196 b := dAtA[iNdEx] 14197 iNdEx++ 14198 mapmsglen |= int(b&0x7F) << shift 14199 if b < 0x80 { 14200 break 14201 } 14202 } 14203 if mapmsglen < 0 { 14204 return ErrInvalidLengthTypes 14205 } 14206 postmsgIndex := iNdEx + mapmsglen 14207 if postmsgIndex < 0 { 14208 return ErrInvalidLengthTypes 14209 } 14210 if postmsgIndex > l { 14211 return io.ErrUnexpectedEOF 14212 } 14213 mapvalue = &types.UInt32Value{} 14214 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 14215 return err 14216 } 14217 iNdEx = postmsgIndex 14218 } else { 14219 iNdEx = entryPreIndex 14220 skippy, err := skipTypes(dAtA[iNdEx:]) 14221 if err != nil { 14222 return err 14223 } 14224 if skippy < 0 { 14225 return ErrInvalidLengthTypes 14226 } 14227 if (iNdEx + skippy) > postIndex { 14228 return io.ErrUnexpectedEOF 14229 } 14230 iNdEx += skippy 14231 } 14232 } 14233 m.NonnullUInt32[mapkey] = *mapvalue 14234 iNdEx = postIndex 14235 case 17: 14236 if wireType != 2 { 14237 return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) 14238 } 14239 var msglen int 14240 for shift := uint(0); ; shift += 7 { 14241 if shift >= 64 { 14242 return ErrIntOverflowTypes 14243 } 14244 if iNdEx >= l { 14245 return io.ErrUnexpectedEOF 14246 } 14247 b := dAtA[iNdEx] 14248 iNdEx++ 14249 msglen |= int(b&0x7F) << shift 14250 if b < 0x80 { 14251 break 14252 } 14253 } 14254 if msglen < 0 { 14255 return ErrInvalidLengthTypes 14256 } 14257 postIndex := iNdEx + msglen 14258 if postIndex < 0 { 14259 return ErrInvalidLengthTypes 14260 } 14261 if postIndex > l { 14262 return io.ErrUnexpectedEOF 14263 } 14264 if m.NullableBool == nil { 14265 m.NullableBool = make(map[int32]*types.BoolValue) 14266 } 14267 var mapkey int32 14268 var mapvalue *types.BoolValue 14269 for iNdEx < postIndex { 14270 entryPreIndex := iNdEx 14271 var wire uint64 14272 for shift := uint(0); ; shift += 7 { 14273 if shift >= 64 { 14274 return ErrIntOverflowTypes 14275 } 14276 if iNdEx >= l { 14277 return io.ErrUnexpectedEOF 14278 } 14279 b := dAtA[iNdEx] 14280 iNdEx++ 14281 wire |= uint64(b&0x7F) << shift 14282 if b < 0x80 { 14283 break 14284 } 14285 } 14286 fieldNum := int32(wire >> 3) 14287 if fieldNum == 1 { 14288 for shift := uint(0); ; shift += 7 { 14289 if shift >= 64 { 14290 return ErrIntOverflowTypes 14291 } 14292 if iNdEx >= l { 14293 return io.ErrUnexpectedEOF 14294 } 14295 b := dAtA[iNdEx] 14296 iNdEx++ 14297 mapkey |= int32(b&0x7F) << shift 14298 if b < 0x80 { 14299 break 14300 } 14301 } 14302 } else if fieldNum == 2 { 14303 var mapmsglen int 14304 for shift := uint(0); ; shift += 7 { 14305 if shift >= 64 { 14306 return ErrIntOverflowTypes 14307 } 14308 if iNdEx >= l { 14309 return io.ErrUnexpectedEOF 14310 } 14311 b := dAtA[iNdEx] 14312 iNdEx++ 14313 mapmsglen |= int(b&0x7F) << shift 14314 if b < 0x80 { 14315 break 14316 } 14317 } 14318 if mapmsglen < 0 { 14319 return ErrInvalidLengthTypes 14320 } 14321 postmsgIndex := iNdEx + mapmsglen 14322 if postmsgIndex < 0 { 14323 return ErrInvalidLengthTypes 14324 } 14325 if postmsgIndex > l { 14326 return io.ErrUnexpectedEOF 14327 } 14328 mapvalue = &types.BoolValue{} 14329 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 14330 return err 14331 } 14332 iNdEx = postmsgIndex 14333 } else { 14334 iNdEx = entryPreIndex 14335 skippy, err := skipTypes(dAtA[iNdEx:]) 14336 if err != nil { 14337 return err 14338 } 14339 if skippy < 0 { 14340 return ErrInvalidLengthTypes 14341 } 14342 if (iNdEx + skippy) > postIndex { 14343 return io.ErrUnexpectedEOF 14344 } 14345 iNdEx += skippy 14346 } 14347 } 14348 m.NullableBool[mapkey] = mapvalue 14349 iNdEx = postIndex 14350 case 18: 14351 if wireType != 2 { 14352 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) 14353 } 14354 var msglen int 14355 for shift := uint(0); ; shift += 7 { 14356 if shift >= 64 { 14357 return ErrIntOverflowTypes 14358 } 14359 if iNdEx >= l { 14360 return io.ErrUnexpectedEOF 14361 } 14362 b := dAtA[iNdEx] 14363 iNdEx++ 14364 msglen |= int(b&0x7F) << shift 14365 if b < 0x80 { 14366 break 14367 } 14368 } 14369 if msglen < 0 { 14370 return ErrInvalidLengthTypes 14371 } 14372 postIndex := iNdEx + msglen 14373 if postIndex < 0 { 14374 return ErrInvalidLengthTypes 14375 } 14376 if postIndex > l { 14377 return io.ErrUnexpectedEOF 14378 } 14379 if m.NonnullBool == nil { 14380 m.NonnullBool = make(map[int32]types.BoolValue) 14381 } 14382 var mapkey int32 14383 mapvalue := &types.BoolValue{} 14384 for iNdEx < postIndex { 14385 entryPreIndex := iNdEx 14386 var wire uint64 14387 for shift := uint(0); ; shift += 7 { 14388 if shift >= 64 { 14389 return ErrIntOverflowTypes 14390 } 14391 if iNdEx >= l { 14392 return io.ErrUnexpectedEOF 14393 } 14394 b := dAtA[iNdEx] 14395 iNdEx++ 14396 wire |= uint64(b&0x7F) << shift 14397 if b < 0x80 { 14398 break 14399 } 14400 } 14401 fieldNum := int32(wire >> 3) 14402 if fieldNum == 1 { 14403 for shift := uint(0); ; shift += 7 { 14404 if shift >= 64 { 14405 return ErrIntOverflowTypes 14406 } 14407 if iNdEx >= l { 14408 return io.ErrUnexpectedEOF 14409 } 14410 b := dAtA[iNdEx] 14411 iNdEx++ 14412 mapkey |= int32(b&0x7F) << shift 14413 if b < 0x80 { 14414 break 14415 } 14416 } 14417 } else if fieldNum == 2 { 14418 var mapmsglen int 14419 for shift := uint(0); ; shift += 7 { 14420 if shift >= 64 { 14421 return ErrIntOverflowTypes 14422 } 14423 if iNdEx >= l { 14424 return io.ErrUnexpectedEOF 14425 } 14426 b := dAtA[iNdEx] 14427 iNdEx++ 14428 mapmsglen |= int(b&0x7F) << shift 14429 if b < 0x80 { 14430 break 14431 } 14432 } 14433 if mapmsglen < 0 { 14434 return ErrInvalidLengthTypes 14435 } 14436 postmsgIndex := iNdEx + mapmsglen 14437 if postmsgIndex < 0 { 14438 return ErrInvalidLengthTypes 14439 } 14440 if postmsgIndex > l { 14441 return io.ErrUnexpectedEOF 14442 } 14443 mapvalue = &types.BoolValue{} 14444 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 14445 return err 14446 } 14447 iNdEx = postmsgIndex 14448 } else { 14449 iNdEx = entryPreIndex 14450 skippy, err := skipTypes(dAtA[iNdEx:]) 14451 if err != nil { 14452 return err 14453 } 14454 if skippy < 0 { 14455 return ErrInvalidLengthTypes 14456 } 14457 if (iNdEx + skippy) > postIndex { 14458 return io.ErrUnexpectedEOF 14459 } 14460 iNdEx += skippy 14461 } 14462 } 14463 m.NonnullBool[mapkey] = *mapvalue 14464 iNdEx = postIndex 14465 case 19: 14466 if wireType != 2 { 14467 return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) 14468 } 14469 var msglen int 14470 for shift := uint(0); ; shift += 7 { 14471 if shift >= 64 { 14472 return ErrIntOverflowTypes 14473 } 14474 if iNdEx >= l { 14475 return io.ErrUnexpectedEOF 14476 } 14477 b := dAtA[iNdEx] 14478 iNdEx++ 14479 msglen |= int(b&0x7F) << shift 14480 if b < 0x80 { 14481 break 14482 } 14483 } 14484 if msglen < 0 { 14485 return ErrInvalidLengthTypes 14486 } 14487 postIndex := iNdEx + msglen 14488 if postIndex < 0 { 14489 return ErrInvalidLengthTypes 14490 } 14491 if postIndex > l { 14492 return io.ErrUnexpectedEOF 14493 } 14494 if m.NullableString == nil { 14495 m.NullableString = make(map[int32]*types.StringValue) 14496 } 14497 var mapkey int32 14498 var mapvalue *types.StringValue 14499 for iNdEx < postIndex { 14500 entryPreIndex := iNdEx 14501 var wire uint64 14502 for shift := uint(0); ; shift += 7 { 14503 if shift >= 64 { 14504 return ErrIntOverflowTypes 14505 } 14506 if iNdEx >= l { 14507 return io.ErrUnexpectedEOF 14508 } 14509 b := dAtA[iNdEx] 14510 iNdEx++ 14511 wire |= uint64(b&0x7F) << shift 14512 if b < 0x80 { 14513 break 14514 } 14515 } 14516 fieldNum := int32(wire >> 3) 14517 if fieldNum == 1 { 14518 for shift := uint(0); ; shift += 7 { 14519 if shift >= 64 { 14520 return ErrIntOverflowTypes 14521 } 14522 if iNdEx >= l { 14523 return io.ErrUnexpectedEOF 14524 } 14525 b := dAtA[iNdEx] 14526 iNdEx++ 14527 mapkey |= int32(b&0x7F) << shift 14528 if b < 0x80 { 14529 break 14530 } 14531 } 14532 } else if fieldNum == 2 { 14533 var mapmsglen int 14534 for shift := uint(0); ; shift += 7 { 14535 if shift >= 64 { 14536 return ErrIntOverflowTypes 14537 } 14538 if iNdEx >= l { 14539 return io.ErrUnexpectedEOF 14540 } 14541 b := dAtA[iNdEx] 14542 iNdEx++ 14543 mapmsglen |= int(b&0x7F) << shift 14544 if b < 0x80 { 14545 break 14546 } 14547 } 14548 if mapmsglen < 0 { 14549 return ErrInvalidLengthTypes 14550 } 14551 postmsgIndex := iNdEx + mapmsglen 14552 if postmsgIndex < 0 { 14553 return ErrInvalidLengthTypes 14554 } 14555 if postmsgIndex > l { 14556 return io.ErrUnexpectedEOF 14557 } 14558 mapvalue = &types.StringValue{} 14559 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 14560 return err 14561 } 14562 iNdEx = postmsgIndex 14563 } else { 14564 iNdEx = entryPreIndex 14565 skippy, err := skipTypes(dAtA[iNdEx:]) 14566 if err != nil { 14567 return err 14568 } 14569 if skippy < 0 { 14570 return ErrInvalidLengthTypes 14571 } 14572 if (iNdEx + skippy) > postIndex { 14573 return io.ErrUnexpectedEOF 14574 } 14575 iNdEx += skippy 14576 } 14577 } 14578 m.NullableString[mapkey] = mapvalue 14579 iNdEx = postIndex 14580 case 20: 14581 if wireType != 2 { 14582 return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) 14583 } 14584 var msglen int 14585 for shift := uint(0); ; shift += 7 { 14586 if shift >= 64 { 14587 return ErrIntOverflowTypes 14588 } 14589 if iNdEx >= l { 14590 return io.ErrUnexpectedEOF 14591 } 14592 b := dAtA[iNdEx] 14593 iNdEx++ 14594 msglen |= int(b&0x7F) << shift 14595 if b < 0x80 { 14596 break 14597 } 14598 } 14599 if msglen < 0 { 14600 return ErrInvalidLengthTypes 14601 } 14602 postIndex := iNdEx + msglen 14603 if postIndex < 0 { 14604 return ErrInvalidLengthTypes 14605 } 14606 if postIndex > l { 14607 return io.ErrUnexpectedEOF 14608 } 14609 if m.NonnullString == nil { 14610 m.NonnullString = make(map[int32]types.StringValue) 14611 } 14612 var mapkey int32 14613 mapvalue := &types.StringValue{} 14614 for iNdEx < postIndex { 14615 entryPreIndex := iNdEx 14616 var wire uint64 14617 for shift := uint(0); ; shift += 7 { 14618 if shift >= 64 { 14619 return ErrIntOverflowTypes 14620 } 14621 if iNdEx >= l { 14622 return io.ErrUnexpectedEOF 14623 } 14624 b := dAtA[iNdEx] 14625 iNdEx++ 14626 wire |= uint64(b&0x7F) << shift 14627 if b < 0x80 { 14628 break 14629 } 14630 } 14631 fieldNum := int32(wire >> 3) 14632 if fieldNum == 1 { 14633 for shift := uint(0); ; shift += 7 { 14634 if shift >= 64 { 14635 return ErrIntOverflowTypes 14636 } 14637 if iNdEx >= l { 14638 return io.ErrUnexpectedEOF 14639 } 14640 b := dAtA[iNdEx] 14641 iNdEx++ 14642 mapkey |= int32(b&0x7F) << shift 14643 if b < 0x80 { 14644 break 14645 } 14646 } 14647 } else if fieldNum == 2 { 14648 var mapmsglen int 14649 for shift := uint(0); ; shift += 7 { 14650 if shift >= 64 { 14651 return ErrIntOverflowTypes 14652 } 14653 if iNdEx >= l { 14654 return io.ErrUnexpectedEOF 14655 } 14656 b := dAtA[iNdEx] 14657 iNdEx++ 14658 mapmsglen |= int(b&0x7F) << shift 14659 if b < 0x80 { 14660 break 14661 } 14662 } 14663 if mapmsglen < 0 { 14664 return ErrInvalidLengthTypes 14665 } 14666 postmsgIndex := iNdEx + mapmsglen 14667 if postmsgIndex < 0 { 14668 return ErrInvalidLengthTypes 14669 } 14670 if postmsgIndex > l { 14671 return io.ErrUnexpectedEOF 14672 } 14673 mapvalue = &types.StringValue{} 14674 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 14675 return err 14676 } 14677 iNdEx = postmsgIndex 14678 } else { 14679 iNdEx = entryPreIndex 14680 skippy, err := skipTypes(dAtA[iNdEx:]) 14681 if err != nil { 14682 return err 14683 } 14684 if skippy < 0 { 14685 return ErrInvalidLengthTypes 14686 } 14687 if (iNdEx + skippy) > postIndex { 14688 return io.ErrUnexpectedEOF 14689 } 14690 iNdEx += skippy 14691 } 14692 } 14693 m.NonnullString[mapkey] = *mapvalue 14694 iNdEx = postIndex 14695 case 21: 14696 if wireType != 2 { 14697 return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) 14698 } 14699 var msglen int 14700 for shift := uint(0); ; shift += 7 { 14701 if shift >= 64 { 14702 return ErrIntOverflowTypes 14703 } 14704 if iNdEx >= l { 14705 return io.ErrUnexpectedEOF 14706 } 14707 b := dAtA[iNdEx] 14708 iNdEx++ 14709 msglen |= int(b&0x7F) << shift 14710 if b < 0x80 { 14711 break 14712 } 14713 } 14714 if msglen < 0 { 14715 return ErrInvalidLengthTypes 14716 } 14717 postIndex := iNdEx + msglen 14718 if postIndex < 0 { 14719 return ErrInvalidLengthTypes 14720 } 14721 if postIndex > l { 14722 return io.ErrUnexpectedEOF 14723 } 14724 if m.NullableBytes == nil { 14725 m.NullableBytes = make(map[int32]*types.BytesValue) 14726 } 14727 var mapkey int32 14728 var mapvalue *types.BytesValue 14729 for iNdEx < postIndex { 14730 entryPreIndex := iNdEx 14731 var wire uint64 14732 for shift := uint(0); ; shift += 7 { 14733 if shift >= 64 { 14734 return ErrIntOverflowTypes 14735 } 14736 if iNdEx >= l { 14737 return io.ErrUnexpectedEOF 14738 } 14739 b := dAtA[iNdEx] 14740 iNdEx++ 14741 wire |= uint64(b&0x7F) << shift 14742 if b < 0x80 { 14743 break 14744 } 14745 } 14746 fieldNum := int32(wire >> 3) 14747 if fieldNum == 1 { 14748 for shift := uint(0); ; shift += 7 { 14749 if shift >= 64 { 14750 return ErrIntOverflowTypes 14751 } 14752 if iNdEx >= l { 14753 return io.ErrUnexpectedEOF 14754 } 14755 b := dAtA[iNdEx] 14756 iNdEx++ 14757 mapkey |= int32(b&0x7F) << shift 14758 if b < 0x80 { 14759 break 14760 } 14761 } 14762 } else if fieldNum == 2 { 14763 var mapmsglen int 14764 for shift := uint(0); ; shift += 7 { 14765 if shift >= 64 { 14766 return ErrIntOverflowTypes 14767 } 14768 if iNdEx >= l { 14769 return io.ErrUnexpectedEOF 14770 } 14771 b := dAtA[iNdEx] 14772 iNdEx++ 14773 mapmsglen |= int(b&0x7F) << shift 14774 if b < 0x80 { 14775 break 14776 } 14777 } 14778 if mapmsglen < 0 { 14779 return ErrInvalidLengthTypes 14780 } 14781 postmsgIndex := iNdEx + mapmsglen 14782 if postmsgIndex < 0 { 14783 return ErrInvalidLengthTypes 14784 } 14785 if postmsgIndex > l { 14786 return io.ErrUnexpectedEOF 14787 } 14788 mapvalue = &types.BytesValue{} 14789 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 14790 return err 14791 } 14792 iNdEx = postmsgIndex 14793 } else { 14794 iNdEx = entryPreIndex 14795 skippy, err := skipTypes(dAtA[iNdEx:]) 14796 if err != nil { 14797 return err 14798 } 14799 if skippy < 0 { 14800 return ErrInvalidLengthTypes 14801 } 14802 if (iNdEx + skippy) > postIndex { 14803 return io.ErrUnexpectedEOF 14804 } 14805 iNdEx += skippy 14806 } 14807 } 14808 m.NullableBytes[mapkey] = mapvalue 14809 iNdEx = postIndex 14810 case 22: 14811 if wireType != 2 { 14812 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) 14813 } 14814 var msglen int 14815 for shift := uint(0); ; shift += 7 { 14816 if shift >= 64 { 14817 return ErrIntOverflowTypes 14818 } 14819 if iNdEx >= l { 14820 return io.ErrUnexpectedEOF 14821 } 14822 b := dAtA[iNdEx] 14823 iNdEx++ 14824 msglen |= int(b&0x7F) << shift 14825 if b < 0x80 { 14826 break 14827 } 14828 } 14829 if msglen < 0 { 14830 return ErrInvalidLengthTypes 14831 } 14832 postIndex := iNdEx + msglen 14833 if postIndex < 0 { 14834 return ErrInvalidLengthTypes 14835 } 14836 if postIndex > l { 14837 return io.ErrUnexpectedEOF 14838 } 14839 if m.NonnullBytes == nil { 14840 m.NonnullBytes = make(map[int32]types.BytesValue) 14841 } 14842 var mapkey int32 14843 mapvalue := &types.BytesValue{} 14844 for iNdEx < postIndex { 14845 entryPreIndex := iNdEx 14846 var wire uint64 14847 for shift := uint(0); ; shift += 7 { 14848 if shift >= 64 { 14849 return ErrIntOverflowTypes 14850 } 14851 if iNdEx >= l { 14852 return io.ErrUnexpectedEOF 14853 } 14854 b := dAtA[iNdEx] 14855 iNdEx++ 14856 wire |= uint64(b&0x7F) << shift 14857 if b < 0x80 { 14858 break 14859 } 14860 } 14861 fieldNum := int32(wire >> 3) 14862 if fieldNum == 1 { 14863 for shift := uint(0); ; shift += 7 { 14864 if shift >= 64 { 14865 return ErrIntOverflowTypes 14866 } 14867 if iNdEx >= l { 14868 return io.ErrUnexpectedEOF 14869 } 14870 b := dAtA[iNdEx] 14871 iNdEx++ 14872 mapkey |= int32(b&0x7F) << shift 14873 if b < 0x80 { 14874 break 14875 } 14876 } 14877 } else if fieldNum == 2 { 14878 var mapmsglen int 14879 for shift := uint(0); ; shift += 7 { 14880 if shift >= 64 { 14881 return ErrIntOverflowTypes 14882 } 14883 if iNdEx >= l { 14884 return io.ErrUnexpectedEOF 14885 } 14886 b := dAtA[iNdEx] 14887 iNdEx++ 14888 mapmsglen |= int(b&0x7F) << shift 14889 if b < 0x80 { 14890 break 14891 } 14892 } 14893 if mapmsglen < 0 { 14894 return ErrInvalidLengthTypes 14895 } 14896 postmsgIndex := iNdEx + mapmsglen 14897 if postmsgIndex < 0 { 14898 return ErrInvalidLengthTypes 14899 } 14900 if postmsgIndex > l { 14901 return io.ErrUnexpectedEOF 14902 } 14903 mapvalue = &types.BytesValue{} 14904 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 14905 return err 14906 } 14907 iNdEx = postmsgIndex 14908 } else { 14909 iNdEx = entryPreIndex 14910 skippy, err := skipTypes(dAtA[iNdEx:]) 14911 if err != nil { 14912 return err 14913 } 14914 if skippy < 0 { 14915 return ErrInvalidLengthTypes 14916 } 14917 if (iNdEx + skippy) > postIndex { 14918 return io.ErrUnexpectedEOF 14919 } 14920 iNdEx += skippy 14921 } 14922 } 14923 m.NonnullBytes[mapkey] = *mapvalue 14924 iNdEx = postIndex 14925 default: 14926 iNdEx = preIndex 14927 skippy, err := skipTypes(dAtA[iNdEx:]) 14928 if err != nil { 14929 return err 14930 } 14931 if skippy < 0 { 14932 return ErrInvalidLengthTypes 14933 } 14934 if (iNdEx + skippy) < 0 { 14935 return ErrInvalidLengthTypes 14936 } 14937 if (iNdEx + skippy) > l { 14938 return io.ErrUnexpectedEOF 14939 } 14940 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 14941 iNdEx += skippy 14942 } 14943 } 14944 14945 if iNdEx > l { 14946 return io.ErrUnexpectedEOF 14947 } 14948 return nil 14949} 14950func (m *MapStdTypes) Unmarshal(dAtA []byte) error { 14951 l := len(dAtA) 14952 iNdEx := 0 14953 for iNdEx < l { 14954 preIndex := iNdEx 14955 var wire uint64 14956 for shift := uint(0); ; shift += 7 { 14957 if shift >= 64 { 14958 return ErrIntOverflowTypes 14959 } 14960 if iNdEx >= l { 14961 return io.ErrUnexpectedEOF 14962 } 14963 b := dAtA[iNdEx] 14964 iNdEx++ 14965 wire |= uint64(b&0x7F) << shift 14966 if b < 0x80 { 14967 break 14968 } 14969 } 14970 fieldNum := int32(wire >> 3) 14971 wireType := int(wire & 0x7) 14972 if wireType == 4 { 14973 return fmt.Errorf("proto: MapStdTypes: wiretype end group for non-group") 14974 } 14975 if fieldNum <= 0 { 14976 return fmt.Errorf("proto: MapStdTypes: illegal tag %d (wire type %d)", fieldNum, wire) 14977 } 14978 switch fieldNum { 14979 case 1: 14980 if wireType != 2 { 14981 return fmt.Errorf("proto: wrong wireType = %d for field NullableTimestamp", wireType) 14982 } 14983 var msglen int 14984 for shift := uint(0); ; shift += 7 { 14985 if shift >= 64 { 14986 return ErrIntOverflowTypes 14987 } 14988 if iNdEx >= l { 14989 return io.ErrUnexpectedEOF 14990 } 14991 b := dAtA[iNdEx] 14992 iNdEx++ 14993 msglen |= int(b&0x7F) << shift 14994 if b < 0x80 { 14995 break 14996 } 14997 } 14998 if msglen < 0 { 14999 return ErrInvalidLengthTypes 15000 } 15001 postIndex := iNdEx + msglen 15002 if postIndex < 0 { 15003 return ErrInvalidLengthTypes 15004 } 15005 if postIndex > l { 15006 return io.ErrUnexpectedEOF 15007 } 15008 if m.NullableTimestamp == nil { 15009 m.NullableTimestamp = make(map[int32]*time.Time) 15010 } 15011 var mapkey int32 15012 mapvalue := new(time.Time) 15013 for iNdEx < postIndex { 15014 entryPreIndex := iNdEx 15015 var wire uint64 15016 for shift := uint(0); ; shift += 7 { 15017 if shift >= 64 { 15018 return ErrIntOverflowTypes 15019 } 15020 if iNdEx >= l { 15021 return io.ErrUnexpectedEOF 15022 } 15023 b := dAtA[iNdEx] 15024 iNdEx++ 15025 wire |= uint64(b&0x7F) << shift 15026 if b < 0x80 { 15027 break 15028 } 15029 } 15030 fieldNum := int32(wire >> 3) 15031 if fieldNum == 1 { 15032 for shift := uint(0); ; shift += 7 { 15033 if shift >= 64 { 15034 return ErrIntOverflowTypes 15035 } 15036 if iNdEx >= l { 15037 return io.ErrUnexpectedEOF 15038 } 15039 b := dAtA[iNdEx] 15040 iNdEx++ 15041 mapkey |= int32(b&0x7F) << shift 15042 if b < 0x80 { 15043 break 15044 } 15045 } 15046 } else if fieldNum == 2 { 15047 var mapmsglen int 15048 for shift := uint(0); ; shift += 7 { 15049 if shift >= 64 { 15050 return ErrIntOverflowTypes 15051 } 15052 if iNdEx >= l { 15053 return io.ErrUnexpectedEOF 15054 } 15055 b := dAtA[iNdEx] 15056 iNdEx++ 15057 mapmsglen |= int(b&0x7F) << shift 15058 if b < 0x80 { 15059 break 15060 } 15061 } 15062 if mapmsglen < 0 { 15063 return ErrInvalidLengthTypes 15064 } 15065 postmsgIndex := iNdEx + mapmsglen 15066 if postmsgIndex < 0 { 15067 return ErrInvalidLengthTypes 15068 } 15069 if postmsgIndex > l { 15070 return io.ErrUnexpectedEOF 15071 } 15072 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15073 return err 15074 } 15075 iNdEx = postmsgIndex 15076 } else { 15077 iNdEx = entryPreIndex 15078 skippy, err := skipTypes(dAtA[iNdEx:]) 15079 if err != nil { 15080 return err 15081 } 15082 if skippy < 0 { 15083 return ErrInvalidLengthTypes 15084 } 15085 if (iNdEx + skippy) > postIndex { 15086 return io.ErrUnexpectedEOF 15087 } 15088 iNdEx += skippy 15089 } 15090 } 15091 m.NullableTimestamp[mapkey] = mapvalue 15092 iNdEx = postIndex 15093 case 2: 15094 if wireType != 2 { 15095 return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) 15096 } 15097 var msglen int 15098 for shift := uint(0); ; shift += 7 { 15099 if shift >= 64 { 15100 return ErrIntOverflowTypes 15101 } 15102 if iNdEx >= l { 15103 return io.ErrUnexpectedEOF 15104 } 15105 b := dAtA[iNdEx] 15106 iNdEx++ 15107 msglen |= int(b&0x7F) << shift 15108 if b < 0x80 { 15109 break 15110 } 15111 } 15112 if msglen < 0 { 15113 return ErrInvalidLengthTypes 15114 } 15115 postIndex := iNdEx + msglen 15116 if postIndex < 0 { 15117 return ErrInvalidLengthTypes 15118 } 15119 if postIndex > l { 15120 return io.ErrUnexpectedEOF 15121 } 15122 if m.Timestamp == nil { 15123 m.Timestamp = make(map[int32]time.Time) 15124 } 15125 var mapkey int32 15126 mapvalue := new(time.Time) 15127 for iNdEx < postIndex { 15128 entryPreIndex := iNdEx 15129 var wire uint64 15130 for shift := uint(0); ; shift += 7 { 15131 if shift >= 64 { 15132 return ErrIntOverflowTypes 15133 } 15134 if iNdEx >= l { 15135 return io.ErrUnexpectedEOF 15136 } 15137 b := dAtA[iNdEx] 15138 iNdEx++ 15139 wire |= uint64(b&0x7F) << shift 15140 if b < 0x80 { 15141 break 15142 } 15143 } 15144 fieldNum := int32(wire >> 3) 15145 if fieldNum == 1 { 15146 for shift := uint(0); ; shift += 7 { 15147 if shift >= 64 { 15148 return ErrIntOverflowTypes 15149 } 15150 if iNdEx >= l { 15151 return io.ErrUnexpectedEOF 15152 } 15153 b := dAtA[iNdEx] 15154 iNdEx++ 15155 mapkey |= int32(b&0x7F) << shift 15156 if b < 0x80 { 15157 break 15158 } 15159 } 15160 } else if fieldNum == 2 { 15161 var mapmsglen int 15162 for shift := uint(0); ; shift += 7 { 15163 if shift >= 64 { 15164 return ErrIntOverflowTypes 15165 } 15166 if iNdEx >= l { 15167 return io.ErrUnexpectedEOF 15168 } 15169 b := dAtA[iNdEx] 15170 iNdEx++ 15171 mapmsglen |= int(b&0x7F) << shift 15172 if b < 0x80 { 15173 break 15174 } 15175 } 15176 if mapmsglen < 0 { 15177 return ErrInvalidLengthTypes 15178 } 15179 postmsgIndex := iNdEx + mapmsglen 15180 if postmsgIndex < 0 { 15181 return ErrInvalidLengthTypes 15182 } 15183 if postmsgIndex > l { 15184 return io.ErrUnexpectedEOF 15185 } 15186 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15187 return err 15188 } 15189 iNdEx = postmsgIndex 15190 } else { 15191 iNdEx = entryPreIndex 15192 skippy, err := skipTypes(dAtA[iNdEx:]) 15193 if err != nil { 15194 return err 15195 } 15196 if skippy < 0 { 15197 return ErrInvalidLengthTypes 15198 } 15199 if (iNdEx + skippy) > postIndex { 15200 return io.ErrUnexpectedEOF 15201 } 15202 iNdEx += skippy 15203 } 15204 } 15205 m.Timestamp[mapkey] = *mapvalue 15206 iNdEx = postIndex 15207 case 3: 15208 if wireType != 2 { 15209 return fmt.Errorf("proto: wrong wireType = %d for field NullableDuration", wireType) 15210 } 15211 var msglen int 15212 for shift := uint(0); ; shift += 7 { 15213 if shift >= 64 { 15214 return ErrIntOverflowTypes 15215 } 15216 if iNdEx >= l { 15217 return io.ErrUnexpectedEOF 15218 } 15219 b := dAtA[iNdEx] 15220 iNdEx++ 15221 msglen |= int(b&0x7F) << shift 15222 if b < 0x80 { 15223 break 15224 } 15225 } 15226 if msglen < 0 { 15227 return ErrInvalidLengthTypes 15228 } 15229 postIndex := iNdEx + msglen 15230 if postIndex < 0 { 15231 return ErrInvalidLengthTypes 15232 } 15233 if postIndex > l { 15234 return io.ErrUnexpectedEOF 15235 } 15236 if m.NullableDuration == nil { 15237 m.NullableDuration = make(map[int32]*time.Duration) 15238 } 15239 var mapkey int32 15240 mapvalue := new(time.Duration) 15241 for iNdEx < postIndex { 15242 entryPreIndex := iNdEx 15243 var wire uint64 15244 for shift := uint(0); ; shift += 7 { 15245 if shift >= 64 { 15246 return ErrIntOverflowTypes 15247 } 15248 if iNdEx >= l { 15249 return io.ErrUnexpectedEOF 15250 } 15251 b := dAtA[iNdEx] 15252 iNdEx++ 15253 wire |= uint64(b&0x7F) << shift 15254 if b < 0x80 { 15255 break 15256 } 15257 } 15258 fieldNum := int32(wire >> 3) 15259 if fieldNum == 1 { 15260 for shift := uint(0); ; shift += 7 { 15261 if shift >= 64 { 15262 return ErrIntOverflowTypes 15263 } 15264 if iNdEx >= l { 15265 return io.ErrUnexpectedEOF 15266 } 15267 b := dAtA[iNdEx] 15268 iNdEx++ 15269 mapkey |= int32(b&0x7F) << shift 15270 if b < 0x80 { 15271 break 15272 } 15273 } 15274 } else if fieldNum == 2 { 15275 var mapmsglen int 15276 for shift := uint(0); ; shift += 7 { 15277 if shift >= 64 { 15278 return ErrIntOverflowTypes 15279 } 15280 if iNdEx >= l { 15281 return io.ErrUnexpectedEOF 15282 } 15283 b := dAtA[iNdEx] 15284 iNdEx++ 15285 mapmsglen |= int(b&0x7F) << shift 15286 if b < 0x80 { 15287 break 15288 } 15289 } 15290 if mapmsglen < 0 { 15291 return ErrInvalidLengthTypes 15292 } 15293 postmsgIndex := iNdEx + mapmsglen 15294 if postmsgIndex < 0 { 15295 return ErrInvalidLengthTypes 15296 } 15297 if postmsgIndex > l { 15298 return io.ErrUnexpectedEOF 15299 } 15300 if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15301 return err 15302 } 15303 iNdEx = postmsgIndex 15304 } else { 15305 iNdEx = entryPreIndex 15306 skippy, err := skipTypes(dAtA[iNdEx:]) 15307 if err != nil { 15308 return err 15309 } 15310 if skippy < 0 { 15311 return ErrInvalidLengthTypes 15312 } 15313 if (iNdEx + skippy) > postIndex { 15314 return io.ErrUnexpectedEOF 15315 } 15316 iNdEx += skippy 15317 } 15318 } 15319 m.NullableDuration[mapkey] = mapvalue 15320 iNdEx = postIndex 15321 case 4: 15322 if wireType != 2 { 15323 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 15324 } 15325 var msglen int 15326 for shift := uint(0); ; shift += 7 { 15327 if shift >= 64 { 15328 return ErrIntOverflowTypes 15329 } 15330 if iNdEx >= l { 15331 return io.ErrUnexpectedEOF 15332 } 15333 b := dAtA[iNdEx] 15334 iNdEx++ 15335 msglen |= int(b&0x7F) << shift 15336 if b < 0x80 { 15337 break 15338 } 15339 } 15340 if msglen < 0 { 15341 return ErrInvalidLengthTypes 15342 } 15343 postIndex := iNdEx + msglen 15344 if postIndex < 0 { 15345 return ErrInvalidLengthTypes 15346 } 15347 if postIndex > l { 15348 return io.ErrUnexpectedEOF 15349 } 15350 if m.Duration == nil { 15351 m.Duration = make(map[int32]time.Duration) 15352 } 15353 var mapkey int32 15354 mapvalue := new(time.Duration) 15355 for iNdEx < postIndex { 15356 entryPreIndex := iNdEx 15357 var wire uint64 15358 for shift := uint(0); ; shift += 7 { 15359 if shift >= 64 { 15360 return ErrIntOverflowTypes 15361 } 15362 if iNdEx >= l { 15363 return io.ErrUnexpectedEOF 15364 } 15365 b := dAtA[iNdEx] 15366 iNdEx++ 15367 wire |= uint64(b&0x7F) << shift 15368 if b < 0x80 { 15369 break 15370 } 15371 } 15372 fieldNum := int32(wire >> 3) 15373 if fieldNum == 1 { 15374 for shift := uint(0); ; shift += 7 { 15375 if shift >= 64 { 15376 return ErrIntOverflowTypes 15377 } 15378 if iNdEx >= l { 15379 return io.ErrUnexpectedEOF 15380 } 15381 b := dAtA[iNdEx] 15382 iNdEx++ 15383 mapkey |= int32(b&0x7F) << shift 15384 if b < 0x80 { 15385 break 15386 } 15387 } 15388 } else if fieldNum == 2 { 15389 var mapmsglen int 15390 for shift := uint(0); ; shift += 7 { 15391 if shift >= 64 { 15392 return ErrIntOverflowTypes 15393 } 15394 if iNdEx >= l { 15395 return io.ErrUnexpectedEOF 15396 } 15397 b := dAtA[iNdEx] 15398 iNdEx++ 15399 mapmsglen |= int(b&0x7F) << shift 15400 if b < 0x80 { 15401 break 15402 } 15403 } 15404 if mapmsglen < 0 { 15405 return ErrInvalidLengthTypes 15406 } 15407 postmsgIndex := iNdEx + mapmsglen 15408 if postmsgIndex < 0 { 15409 return ErrInvalidLengthTypes 15410 } 15411 if postmsgIndex > l { 15412 return io.ErrUnexpectedEOF 15413 } 15414 if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15415 return err 15416 } 15417 iNdEx = postmsgIndex 15418 } else { 15419 iNdEx = entryPreIndex 15420 skippy, err := skipTypes(dAtA[iNdEx:]) 15421 if err != nil { 15422 return err 15423 } 15424 if skippy < 0 { 15425 return ErrInvalidLengthTypes 15426 } 15427 if (iNdEx + skippy) > postIndex { 15428 return io.ErrUnexpectedEOF 15429 } 15430 iNdEx += skippy 15431 } 15432 } 15433 m.Duration[mapkey] = *mapvalue 15434 iNdEx = postIndex 15435 case 5: 15436 if wireType != 2 { 15437 return fmt.Errorf("proto: wrong wireType = %d for field NullableDouble", wireType) 15438 } 15439 var msglen int 15440 for shift := uint(0); ; shift += 7 { 15441 if shift >= 64 { 15442 return ErrIntOverflowTypes 15443 } 15444 if iNdEx >= l { 15445 return io.ErrUnexpectedEOF 15446 } 15447 b := dAtA[iNdEx] 15448 iNdEx++ 15449 msglen |= int(b&0x7F) << shift 15450 if b < 0x80 { 15451 break 15452 } 15453 } 15454 if msglen < 0 { 15455 return ErrInvalidLengthTypes 15456 } 15457 postIndex := iNdEx + msglen 15458 if postIndex < 0 { 15459 return ErrInvalidLengthTypes 15460 } 15461 if postIndex > l { 15462 return io.ErrUnexpectedEOF 15463 } 15464 if m.NullableDouble == nil { 15465 m.NullableDouble = make(map[int32]*float64) 15466 } 15467 var mapkey int32 15468 mapvalue := new(float64) 15469 for iNdEx < postIndex { 15470 entryPreIndex := iNdEx 15471 var wire uint64 15472 for shift := uint(0); ; shift += 7 { 15473 if shift >= 64 { 15474 return ErrIntOverflowTypes 15475 } 15476 if iNdEx >= l { 15477 return io.ErrUnexpectedEOF 15478 } 15479 b := dAtA[iNdEx] 15480 iNdEx++ 15481 wire |= uint64(b&0x7F) << shift 15482 if b < 0x80 { 15483 break 15484 } 15485 } 15486 fieldNum := int32(wire >> 3) 15487 if fieldNum == 1 { 15488 for shift := uint(0); ; shift += 7 { 15489 if shift >= 64 { 15490 return ErrIntOverflowTypes 15491 } 15492 if iNdEx >= l { 15493 return io.ErrUnexpectedEOF 15494 } 15495 b := dAtA[iNdEx] 15496 iNdEx++ 15497 mapkey |= int32(b&0x7F) << shift 15498 if b < 0x80 { 15499 break 15500 } 15501 } 15502 } else if fieldNum == 2 { 15503 var mapmsglen int 15504 for shift := uint(0); ; shift += 7 { 15505 if shift >= 64 { 15506 return ErrIntOverflowTypes 15507 } 15508 if iNdEx >= l { 15509 return io.ErrUnexpectedEOF 15510 } 15511 b := dAtA[iNdEx] 15512 iNdEx++ 15513 mapmsglen |= int(b&0x7F) << shift 15514 if b < 0x80 { 15515 break 15516 } 15517 } 15518 if mapmsglen < 0 { 15519 return ErrInvalidLengthTypes 15520 } 15521 postmsgIndex := iNdEx + mapmsglen 15522 if postmsgIndex < 0 { 15523 return ErrInvalidLengthTypes 15524 } 15525 if postmsgIndex > l { 15526 return io.ErrUnexpectedEOF 15527 } 15528 if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15529 return err 15530 } 15531 iNdEx = postmsgIndex 15532 } else { 15533 iNdEx = entryPreIndex 15534 skippy, err := skipTypes(dAtA[iNdEx:]) 15535 if err != nil { 15536 return err 15537 } 15538 if skippy < 0 { 15539 return ErrInvalidLengthTypes 15540 } 15541 if (iNdEx + skippy) > postIndex { 15542 return io.ErrUnexpectedEOF 15543 } 15544 iNdEx += skippy 15545 } 15546 } 15547 m.NullableDouble[mapkey] = ((*float64)(mapvalue)) 15548 iNdEx = postIndex 15549 case 6: 15550 if wireType != 2 { 15551 return fmt.Errorf("proto: wrong wireType = %d for field NonnullDouble", wireType) 15552 } 15553 var msglen int 15554 for shift := uint(0); ; shift += 7 { 15555 if shift >= 64 { 15556 return ErrIntOverflowTypes 15557 } 15558 if iNdEx >= l { 15559 return io.ErrUnexpectedEOF 15560 } 15561 b := dAtA[iNdEx] 15562 iNdEx++ 15563 msglen |= int(b&0x7F) << shift 15564 if b < 0x80 { 15565 break 15566 } 15567 } 15568 if msglen < 0 { 15569 return ErrInvalidLengthTypes 15570 } 15571 postIndex := iNdEx + msglen 15572 if postIndex < 0 { 15573 return ErrInvalidLengthTypes 15574 } 15575 if postIndex > l { 15576 return io.ErrUnexpectedEOF 15577 } 15578 if m.NonnullDouble == nil { 15579 m.NonnullDouble = make(map[int32]float64) 15580 } 15581 var mapkey int32 15582 mapvalue := new(float64) 15583 for iNdEx < postIndex { 15584 entryPreIndex := iNdEx 15585 var wire uint64 15586 for shift := uint(0); ; shift += 7 { 15587 if shift >= 64 { 15588 return ErrIntOverflowTypes 15589 } 15590 if iNdEx >= l { 15591 return io.ErrUnexpectedEOF 15592 } 15593 b := dAtA[iNdEx] 15594 iNdEx++ 15595 wire |= uint64(b&0x7F) << shift 15596 if b < 0x80 { 15597 break 15598 } 15599 } 15600 fieldNum := int32(wire >> 3) 15601 if fieldNum == 1 { 15602 for shift := uint(0); ; shift += 7 { 15603 if shift >= 64 { 15604 return ErrIntOverflowTypes 15605 } 15606 if iNdEx >= l { 15607 return io.ErrUnexpectedEOF 15608 } 15609 b := dAtA[iNdEx] 15610 iNdEx++ 15611 mapkey |= int32(b&0x7F) << shift 15612 if b < 0x80 { 15613 break 15614 } 15615 } 15616 } else if fieldNum == 2 { 15617 var mapmsglen int 15618 for shift := uint(0); ; shift += 7 { 15619 if shift >= 64 { 15620 return ErrIntOverflowTypes 15621 } 15622 if iNdEx >= l { 15623 return io.ErrUnexpectedEOF 15624 } 15625 b := dAtA[iNdEx] 15626 iNdEx++ 15627 mapmsglen |= int(b&0x7F) << shift 15628 if b < 0x80 { 15629 break 15630 } 15631 } 15632 if mapmsglen < 0 { 15633 return ErrInvalidLengthTypes 15634 } 15635 postmsgIndex := iNdEx + mapmsglen 15636 if postmsgIndex < 0 { 15637 return ErrInvalidLengthTypes 15638 } 15639 if postmsgIndex > l { 15640 return io.ErrUnexpectedEOF 15641 } 15642 if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15643 return err 15644 } 15645 iNdEx = postmsgIndex 15646 } else { 15647 iNdEx = entryPreIndex 15648 skippy, err := skipTypes(dAtA[iNdEx:]) 15649 if err != nil { 15650 return err 15651 } 15652 if skippy < 0 { 15653 return ErrInvalidLengthTypes 15654 } 15655 if (iNdEx + skippy) > postIndex { 15656 return io.ErrUnexpectedEOF 15657 } 15658 iNdEx += skippy 15659 } 15660 } 15661 m.NonnullDouble[mapkey] = ((float64)(*mapvalue)) 15662 iNdEx = postIndex 15663 case 7: 15664 if wireType != 2 { 15665 return fmt.Errorf("proto: wrong wireType = %d for field NullableFloat", wireType) 15666 } 15667 var msglen int 15668 for shift := uint(0); ; shift += 7 { 15669 if shift >= 64 { 15670 return ErrIntOverflowTypes 15671 } 15672 if iNdEx >= l { 15673 return io.ErrUnexpectedEOF 15674 } 15675 b := dAtA[iNdEx] 15676 iNdEx++ 15677 msglen |= int(b&0x7F) << shift 15678 if b < 0x80 { 15679 break 15680 } 15681 } 15682 if msglen < 0 { 15683 return ErrInvalidLengthTypes 15684 } 15685 postIndex := iNdEx + msglen 15686 if postIndex < 0 { 15687 return ErrInvalidLengthTypes 15688 } 15689 if postIndex > l { 15690 return io.ErrUnexpectedEOF 15691 } 15692 if m.NullableFloat == nil { 15693 m.NullableFloat = make(map[int32]*float32) 15694 } 15695 var mapkey int32 15696 mapvalue := new(float32) 15697 for iNdEx < postIndex { 15698 entryPreIndex := iNdEx 15699 var wire uint64 15700 for shift := uint(0); ; shift += 7 { 15701 if shift >= 64 { 15702 return ErrIntOverflowTypes 15703 } 15704 if iNdEx >= l { 15705 return io.ErrUnexpectedEOF 15706 } 15707 b := dAtA[iNdEx] 15708 iNdEx++ 15709 wire |= uint64(b&0x7F) << shift 15710 if b < 0x80 { 15711 break 15712 } 15713 } 15714 fieldNum := int32(wire >> 3) 15715 if fieldNum == 1 { 15716 for shift := uint(0); ; shift += 7 { 15717 if shift >= 64 { 15718 return ErrIntOverflowTypes 15719 } 15720 if iNdEx >= l { 15721 return io.ErrUnexpectedEOF 15722 } 15723 b := dAtA[iNdEx] 15724 iNdEx++ 15725 mapkey |= int32(b&0x7F) << shift 15726 if b < 0x80 { 15727 break 15728 } 15729 } 15730 } else if fieldNum == 2 { 15731 var mapmsglen int 15732 for shift := uint(0); ; shift += 7 { 15733 if shift >= 64 { 15734 return ErrIntOverflowTypes 15735 } 15736 if iNdEx >= l { 15737 return io.ErrUnexpectedEOF 15738 } 15739 b := dAtA[iNdEx] 15740 iNdEx++ 15741 mapmsglen |= int(b&0x7F) << shift 15742 if b < 0x80 { 15743 break 15744 } 15745 } 15746 if mapmsglen < 0 { 15747 return ErrInvalidLengthTypes 15748 } 15749 postmsgIndex := iNdEx + mapmsglen 15750 if postmsgIndex < 0 { 15751 return ErrInvalidLengthTypes 15752 } 15753 if postmsgIndex > l { 15754 return io.ErrUnexpectedEOF 15755 } 15756 if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15757 return err 15758 } 15759 iNdEx = postmsgIndex 15760 } else { 15761 iNdEx = entryPreIndex 15762 skippy, err := skipTypes(dAtA[iNdEx:]) 15763 if err != nil { 15764 return err 15765 } 15766 if skippy < 0 { 15767 return ErrInvalidLengthTypes 15768 } 15769 if (iNdEx + skippy) > postIndex { 15770 return io.ErrUnexpectedEOF 15771 } 15772 iNdEx += skippy 15773 } 15774 } 15775 m.NullableFloat[mapkey] = ((*float32)(mapvalue)) 15776 iNdEx = postIndex 15777 case 8: 15778 if wireType != 2 { 15779 return fmt.Errorf("proto: wrong wireType = %d for field NonnullFloat", wireType) 15780 } 15781 var msglen int 15782 for shift := uint(0); ; shift += 7 { 15783 if shift >= 64 { 15784 return ErrIntOverflowTypes 15785 } 15786 if iNdEx >= l { 15787 return io.ErrUnexpectedEOF 15788 } 15789 b := dAtA[iNdEx] 15790 iNdEx++ 15791 msglen |= int(b&0x7F) << shift 15792 if b < 0x80 { 15793 break 15794 } 15795 } 15796 if msglen < 0 { 15797 return ErrInvalidLengthTypes 15798 } 15799 postIndex := iNdEx + msglen 15800 if postIndex < 0 { 15801 return ErrInvalidLengthTypes 15802 } 15803 if postIndex > l { 15804 return io.ErrUnexpectedEOF 15805 } 15806 if m.NonnullFloat == nil { 15807 m.NonnullFloat = make(map[int32]float32) 15808 } 15809 var mapkey int32 15810 mapvalue := new(float32) 15811 for iNdEx < postIndex { 15812 entryPreIndex := iNdEx 15813 var wire uint64 15814 for shift := uint(0); ; shift += 7 { 15815 if shift >= 64 { 15816 return ErrIntOverflowTypes 15817 } 15818 if iNdEx >= l { 15819 return io.ErrUnexpectedEOF 15820 } 15821 b := dAtA[iNdEx] 15822 iNdEx++ 15823 wire |= uint64(b&0x7F) << shift 15824 if b < 0x80 { 15825 break 15826 } 15827 } 15828 fieldNum := int32(wire >> 3) 15829 if fieldNum == 1 { 15830 for shift := uint(0); ; shift += 7 { 15831 if shift >= 64 { 15832 return ErrIntOverflowTypes 15833 } 15834 if iNdEx >= l { 15835 return io.ErrUnexpectedEOF 15836 } 15837 b := dAtA[iNdEx] 15838 iNdEx++ 15839 mapkey |= int32(b&0x7F) << shift 15840 if b < 0x80 { 15841 break 15842 } 15843 } 15844 } else if fieldNum == 2 { 15845 var mapmsglen int 15846 for shift := uint(0); ; shift += 7 { 15847 if shift >= 64 { 15848 return ErrIntOverflowTypes 15849 } 15850 if iNdEx >= l { 15851 return io.ErrUnexpectedEOF 15852 } 15853 b := dAtA[iNdEx] 15854 iNdEx++ 15855 mapmsglen |= int(b&0x7F) << shift 15856 if b < 0x80 { 15857 break 15858 } 15859 } 15860 if mapmsglen < 0 { 15861 return ErrInvalidLengthTypes 15862 } 15863 postmsgIndex := iNdEx + mapmsglen 15864 if postmsgIndex < 0 { 15865 return ErrInvalidLengthTypes 15866 } 15867 if postmsgIndex > l { 15868 return io.ErrUnexpectedEOF 15869 } 15870 if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15871 return err 15872 } 15873 iNdEx = postmsgIndex 15874 } else { 15875 iNdEx = entryPreIndex 15876 skippy, err := skipTypes(dAtA[iNdEx:]) 15877 if err != nil { 15878 return err 15879 } 15880 if skippy < 0 { 15881 return ErrInvalidLengthTypes 15882 } 15883 if (iNdEx + skippy) > postIndex { 15884 return io.ErrUnexpectedEOF 15885 } 15886 iNdEx += skippy 15887 } 15888 } 15889 m.NonnullFloat[mapkey] = ((float32)(*mapvalue)) 15890 iNdEx = postIndex 15891 case 9: 15892 if wireType != 2 { 15893 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt64", wireType) 15894 } 15895 var msglen int 15896 for shift := uint(0); ; shift += 7 { 15897 if shift >= 64 { 15898 return ErrIntOverflowTypes 15899 } 15900 if iNdEx >= l { 15901 return io.ErrUnexpectedEOF 15902 } 15903 b := dAtA[iNdEx] 15904 iNdEx++ 15905 msglen |= int(b&0x7F) << shift 15906 if b < 0x80 { 15907 break 15908 } 15909 } 15910 if msglen < 0 { 15911 return ErrInvalidLengthTypes 15912 } 15913 postIndex := iNdEx + msglen 15914 if postIndex < 0 { 15915 return ErrInvalidLengthTypes 15916 } 15917 if postIndex > l { 15918 return io.ErrUnexpectedEOF 15919 } 15920 if m.NullableInt64 == nil { 15921 m.NullableInt64 = make(map[int32]*int64) 15922 } 15923 var mapkey int32 15924 mapvalue := new(int64) 15925 for iNdEx < postIndex { 15926 entryPreIndex := iNdEx 15927 var wire uint64 15928 for shift := uint(0); ; shift += 7 { 15929 if shift >= 64 { 15930 return ErrIntOverflowTypes 15931 } 15932 if iNdEx >= l { 15933 return io.ErrUnexpectedEOF 15934 } 15935 b := dAtA[iNdEx] 15936 iNdEx++ 15937 wire |= uint64(b&0x7F) << shift 15938 if b < 0x80 { 15939 break 15940 } 15941 } 15942 fieldNum := int32(wire >> 3) 15943 if fieldNum == 1 { 15944 for shift := uint(0); ; shift += 7 { 15945 if shift >= 64 { 15946 return ErrIntOverflowTypes 15947 } 15948 if iNdEx >= l { 15949 return io.ErrUnexpectedEOF 15950 } 15951 b := dAtA[iNdEx] 15952 iNdEx++ 15953 mapkey |= int32(b&0x7F) << shift 15954 if b < 0x80 { 15955 break 15956 } 15957 } 15958 } else if fieldNum == 2 { 15959 var mapmsglen int 15960 for shift := uint(0); ; shift += 7 { 15961 if shift >= 64 { 15962 return ErrIntOverflowTypes 15963 } 15964 if iNdEx >= l { 15965 return io.ErrUnexpectedEOF 15966 } 15967 b := dAtA[iNdEx] 15968 iNdEx++ 15969 mapmsglen |= int(b&0x7F) << shift 15970 if b < 0x80 { 15971 break 15972 } 15973 } 15974 if mapmsglen < 0 { 15975 return ErrInvalidLengthTypes 15976 } 15977 postmsgIndex := iNdEx + mapmsglen 15978 if postmsgIndex < 0 { 15979 return ErrInvalidLengthTypes 15980 } 15981 if postmsgIndex > l { 15982 return io.ErrUnexpectedEOF 15983 } 15984 if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 15985 return err 15986 } 15987 iNdEx = postmsgIndex 15988 } else { 15989 iNdEx = entryPreIndex 15990 skippy, err := skipTypes(dAtA[iNdEx:]) 15991 if err != nil { 15992 return err 15993 } 15994 if skippy < 0 { 15995 return ErrInvalidLengthTypes 15996 } 15997 if (iNdEx + skippy) > postIndex { 15998 return io.ErrUnexpectedEOF 15999 } 16000 iNdEx += skippy 16001 } 16002 } 16003 m.NullableInt64[mapkey] = ((*int64)(mapvalue)) 16004 iNdEx = postIndex 16005 case 10: 16006 if wireType != 2 { 16007 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt64", wireType) 16008 } 16009 var msglen int 16010 for shift := uint(0); ; shift += 7 { 16011 if shift >= 64 { 16012 return ErrIntOverflowTypes 16013 } 16014 if iNdEx >= l { 16015 return io.ErrUnexpectedEOF 16016 } 16017 b := dAtA[iNdEx] 16018 iNdEx++ 16019 msglen |= int(b&0x7F) << shift 16020 if b < 0x80 { 16021 break 16022 } 16023 } 16024 if msglen < 0 { 16025 return ErrInvalidLengthTypes 16026 } 16027 postIndex := iNdEx + msglen 16028 if postIndex < 0 { 16029 return ErrInvalidLengthTypes 16030 } 16031 if postIndex > l { 16032 return io.ErrUnexpectedEOF 16033 } 16034 if m.NonnullInt64 == nil { 16035 m.NonnullInt64 = make(map[int32]int64) 16036 } 16037 var mapkey int32 16038 mapvalue := new(int64) 16039 for iNdEx < postIndex { 16040 entryPreIndex := iNdEx 16041 var wire uint64 16042 for shift := uint(0); ; shift += 7 { 16043 if shift >= 64 { 16044 return ErrIntOverflowTypes 16045 } 16046 if iNdEx >= l { 16047 return io.ErrUnexpectedEOF 16048 } 16049 b := dAtA[iNdEx] 16050 iNdEx++ 16051 wire |= uint64(b&0x7F) << shift 16052 if b < 0x80 { 16053 break 16054 } 16055 } 16056 fieldNum := int32(wire >> 3) 16057 if fieldNum == 1 { 16058 for shift := uint(0); ; shift += 7 { 16059 if shift >= 64 { 16060 return ErrIntOverflowTypes 16061 } 16062 if iNdEx >= l { 16063 return io.ErrUnexpectedEOF 16064 } 16065 b := dAtA[iNdEx] 16066 iNdEx++ 16067 mapkey |= int32(b&0x7F) << shift 16068 if b < 0x80 { 16069 break 16070 } 16071 } 16072 } else if fieldNum == 2 { 16073 var mapmsglen int 16074 for shift := uint(0); ; shift += 7 { 16075 if shift >= 64 { 16076 return ErrIntOverflowTypes 16077 } 16078 if iNdEx >= l { 16079 return io.ErrUnexpectedEOF 16080 } 16081 b := dAtA[iNdEx] 16082 iNdEx++ 16083 mapmsglen |= int(b&0x7F) << shift 16084 if b < 0x80 { 16085 break 16086 } 16087 } 16088 if mapmsglen < 0 { 16089 return ErrInvalidLengthTypes 16090 } 16091 postmsgIndex := iNdEx + mapmsglen 16092 if postmsgIndex < 0 { 16093 return ErrInvalidLengthTypes 16094 } 16095 if postmsgIndex > l { 16096 return io.ErrUnexpectedEOF 16097 } 16098 if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16099 return err 16100 } 16101 iNdEx = postmsgIndex 16102 } else { 16103 iNdEx = entryPreIndex 16104 skippy, err := skipTypes(dAtA[iNdEx:]) 16105 if err != nil { 16106 return err 16107 } 16108 if skippy < 0 { 16109 return ErrInvalidLengthTypes 16110 } 16111 if (iNdEx + skippy) > postIndex { 16112 return io.ErrUnexpectedEOF 16113 } 16114 iNdEx += skippy 16115 } 16116 } 16117 m.NonnullInt64[mapkey] = ((int64)(*mapvalue)) 16118 iNdEx = postIndex 16119 case 11: 16120 if wireType != 2 { 16121 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt64", wireType) 16122 } 16123 var msglen int 16124 for shift := uint(0); ; shift += 7 { 16125 if shift >= 64 { 16126 return ErrIntOverflowTypes 16127 } 16128 if iNdEx >= l { 16129 return io.ErrUnexpectedEOF 16130 } 16131 b := dAtA[iNdEx] 16132 iNdEx++ 16133 msglen |= int(b&0x7F) << shift 16134 if b < 0x80 { 16135 break 16136 } 16137 } 16138 if msglen < 0 { 16139 return ErrInvalidLengthTypes 16140 } 16141 postIndex := iNdEx + msglen 16142 if postIndex < 0 { 16143 return ErrInvalidLengthTypes 16144 } 16145 if postIndex > l { 16146 return io.ErrUnexpectedEOF 16147 } 16148 if m.NullableUInt64 == nil { 16149 m.NullableUInt64 = make(map[int32]*uint64) 16150 } 16151 var mapkey int32 16152 mapvalue := new(uint64) 16153 for iNdEx < postIndex { 16154 entryPreIndex := iNdEx 16155 var wire uint64 16156 for shift := uint(0); ; shift += 7 { 16157 if shift >= 64 { 16158 return ErrIntOverflowTypes 16159 } 16160 if iNdEx >= l { 16161 return io.ErrUnexpectedEOF 16162 } 16163 b := dAtA[iNdEx] 16164 iNdEx++ 16165 wire |= uint64(b&0x7F) << shift 16166 if b < 0x80 { 16167 break 16168 } 16169 } 16170 fieldNum := int32(wire >> 3) 16171 if fieldNum == 1 { 16172 for shift := uint(0); ; shift += 7 { 16173 if shift >= 64 { 16174 return ErrIntOverflowTypes 16175 } 16176 if iNdEx >= l { 16177 return io.ErrUnexpectedEOF 16178 } 16179 b := dAtA[iNdEx] 16180 iNdEx++ 16181 mapkey |= int32(b&0x7F) << shift 16182 if b < 0x80 { 16183 break 16184 } 16185 } 16186 } else if fieldNum == 2 { 16187 var mapmsglen int 16188 for shift := uint(0); ; shift += 7 { 16189 if shift >= 64 { 16190 return ErrIntOverflowTypes 16191 } 16192 if iNdEx >= l { 16193 return io.ErrUnexpectedEOF 16194 } 16195 b := dAtA[iNdEx] 16196 iNdEx++ 16197 mapmsglen |= int(b&0x7F) << shift 16198 if b < 0x80 { 16199 break 16200 } 16201 } 16202 if mapmsglen < 0 { 16203 return ErrInvalidLengthTypes 16204 } 16205 postmsgIndex := iNdEx + mapmsglen 16206 if postmsgIndex < 0 { 16207 return ErrInvalidLengthTypes 16208 } 16209 if postmsgIndex > l { 16210 return io.ErrUnexpectedEOF 16211 } 16212 if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16213 return err 16214 } 16215 iNdEx = postmsgIndex 16216 } else { 16217 iNdEx = entryPreIndex 16218 skippy, err := skipTypes(dAtA[iNdEx:]) 16219 if err != nil { 16220 return err 16221 } 16222 if skippy < 0 { 16223 return ErrInvalidLengthTypes 16224 } 16225 if (iNdEx + skippy) > postIndex { 16226 return io.ErrUnexpectedEOF 16227 } 16228 iNdEx += skippy 16229 } 16230 } 16231 m.NullableUInt64[mapkey] = ((*uint64)(mapvalue)) 16232 iNdEx = postIndex 16233 case 12: 16234 if wireType != 2 { 16235 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt64", wireType) 16236 } 16237 var msglen int 16238 for shift := uint(0); ; shift += 7 { 16239 if shift >= 64 { 16240 return ErrIntOverflowTypes 16241 } 16242 if iNdEx >= l { 16243 return io.ErrUnexpectedEOF 16244 } 16245 b := dAtA[iNdEx] 16246 iNdEx++ 16247 msglen |= int(b&0x7F) << shift 16248 if b < 0x80 { 16249 break 16250 } 16251 } 16252 if msglen < 0 { 16253 return ErrInvalidLengthTypes 16254 } 16255 postIndex := iNdEx + msglen 16256 if postIndex < 0 { 16257 return ErrInvalidLengthTypes 16258 } 16259 if postIndex > l { 16260 return io.ErrUnexpectedEOF 16261 } 16262 if m.NonnullUInt64 == nil { 16263 m.NonnullUInt64 = make(map[int32]uint64) 16264 } 16265 var mapkey int32 16266 mapvalue := new(uint64) 16267 for iNdEx < postIndex { 16268 entryPreIndex := iNdEx 16269 var wire uint64 16270 for shift := uint(0); ; shift += 7 { 16271 if shift >= 64 { 16272 return ErrIntOverflowTypes 16273 } 16274 if iNdEx >= l { 16275 return io.ErrUnexpectedEOF 16276 } 16277 b := dAtA[iNdEx] 16278 iNdEx++ 16279 wire |= uint64(b&0x7F) << shift 16280 if b < 0x80 { 16281 break 16282 } 16283 } 16284 fieldNum := int32(wire >> 3) 16285 if fieldNum == 1 { 16286 for shift := uint(0); ; shift += 7 { 16287 if shift >= 64 { 16288 return ErrIntOverflowTypes 16289 } 16290 if iNdEx >= l { 16291 return io.ErrUnexpectedEOF 16292 } 16293 b := dAtA[iNdEx] 16294 iNdEx++ 16295 mapkey |= int32(b&0x7F) << shift 16296 if b < 0x80 { 16297 break 16298 } 16299 } 16300 } else if fieldNum == 2 { 16301 var mapmsglen int 16302 for shift := uint(0); ; shift += 7 { 16303 if shift >= 64 { 16304 return ErrIntOverflowTypes 16305 } 16306 if iNdEx >= l { 16307 return io.ErrUnexpectedEOF 16308 } 16309 b := dAtA[iNdEx] 16310 iNdEx++ 16311 mapmsglen |= int(b&0x7F) << shift 16312 if b < 0x80 { 16313 break 16314 } 16315 } 16316 if mapmsglen < 0 { 16317 return ErrInvalidLengthTypes 16318 } 16319 postmsgIndex := iNdEx + mapmsglen 16320 if postmsgIndex < 0 { 16321 return ErrInvalidLengthTypes 16322 } 16323 if postmsgIndex > l { 16324 return io.ErrUnexpectedEOF 16325 } 16326 if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16327 return err 16328 } 16329 iNdEx = postmsgIndex 16330 } else { 16331 iNdEx = entryPreIndex 16332 skippy, err := skipTypes(dAtA[iNdEx:]) 16333 if err != nil { 16334 return err 16335 } 16336 if skippy < 0 { 16337 return ErrInvalidLengthTypes 16338 } 16339 if (iNdEx + skippy) > postIndex { 16340 return io.ErrUnexpectedEOF 16341 } 16342 iNdEx += skippy 16343 } 16344 } 16345 m.NonnullUInt64[mapkey] = ((uint64)(*mapvalue)) 16346 iNdEx = postIndex 16347 case 13: 16348 if wireType != 2 { 16349 return fmt.Errorf("proto: wrong wireType = %d for field NullableInt32", wireType) 16350 } 16351 var msglen int 16352 for shift := uint(0); ; shift += 7 { 16353 if shift >= 64 { 16354 return ErrIntOverflowTypes 16355 } 16356 if iNdEx >= l { 16357 return io.ErrUnexpectedEOF 16358 } 16359 b := dAtA[iNdEx] 16360 iNdEx++ 16361 msglen |= int(b&0x7F) << shift 16362 if b < 0x80 { 16363 break 16364 } 16365 } 16366 if msglen < 0 { 16367 return ErrInvalidLengthTypes 16368 } 16369 postIndex := iNdEx + msglen 16370 if postIndex < 0 { 16371 return ErrInvalidLengthTypes 16372 } 16373 if postIndex > l { 16374 return io.ErrUnexpectedEOF 16375 } 16376 if m.NullableInt32 == nil { 16377 m.NullableInt32 = make(map[int32]*int32) 16378 } 16379 var mapkey int32 16380 mapvalue := new(int32) 16381 for iNdEx < postIndex { 16382 entryPreIndex := iNdEx 16383 var wire uint64 16384 for shift := uint(0); ; shift += 7 { 16385 if shift >= 64 { 16386 return ErrIntOverflowTypes 16387 } 16388 if iNdEx >= l { 16389 return io.ErrUnexpectedEOF 16390 } 16391 b := dAtA[iNdEx] 16392 iNdEx++ 16393 wire |= uint64(b&0x7F) << shift 16394 if b < 0x80 { 16395 break 16396 } 16397 } 16398 fieldNum := int32(wire >> 3) 16399 if fieldNum == 1 { 16400 for shift := uint(0); ; shift += 7 { 16401 if shift >= 64 { 16402 return ErrIntOverflowTypes 16403 } 16404 if iNdEx >= l { 16405 return io.ErrUnexpectedEOF 16406 } 16407 b := dAtA[iNdEx] 16408 iNdEx++ 16409 mapkey |= int32(b&0x7F) << shift 16410 if b < 0x80 { 16411 break 16412 } 16413 } 16414 } else if fieldNum == 2 { 16415 var mapmsglen int 16416 for shift := uint(0); ; shift += 7 { 16417 if shift >= 64 { 16418 return ErrIntOverflowTypes 16419 } 16420 if iNdEx >= l { 16421 return io.ErrUnexpectedEOF 16422 } 16423 b := dAtA[iNdEx] 16424 iNdEx++ 16425 mapmsglen |= int(b&0x7F) << shift 16426 if b < 0x80 { 16427 break 16428 } 16429 } 16430 if mapmsglen < 0 { 16431 return ErrInvalidLengthTypes 16432 } 16433 postmsgIndex := iNdEx + mapmsglen 16434 if postmsgIndex < 0 { 16435 return ErrInvalidLengthTypes 16436 } 16437 if postmsgIndex > l { 16438 return io.ErrUnexpectedEOF 16439 } 16440 if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16441 return err 16442 } 16443 iNdEx = postmsgIndex 16444 } else { 16445 iNdEx = entryPreIndex 16446 skippy, err := skipTypes(dAtA[iNdEx:]) 16447 if err != nil { 16448 return err 16449 } 16450 if skippy < 0 { 16451 return ErrInvalidLengthTypes 16452 } 16453 if (iNdEx + skippy) > postIndex { 16454 return io.ErrUnexpectedEOF 16455 } 16456 iNdEx += skippy 16457 } 16458 } 16459 m.NullableInt32[mapkey] = ((*int32)(mapvalue)) 16460 iNdEx = postIndex 16461 case 14: 16462 if wireType != 2 { 16463 return fmt.Errorf("proto: wrong wireType = %d for field NonnullInt32", wireType) 16464 } 16465 var msglen int 16466 for shift := uint(0); ; shift += 7 { 16467 if shift >= 64 { 16468 return ErrIntOverflowTypes 16469 } 16470 if iNdEx >= l { 16471 return io.ErrUnexpectedEOF 16472 } 16473 b := dAtA[iNdEx] 16474 iNdEx++ 16475 msglen |= int(b&0x7F) << shift 16476 if b < 0x80 { 16477 break 16478 } 16479 } 16480 if msglen < 0 { 16481 return ErrInvalidLengthTypes 16482 } 16483 postIndex := iNdEx + msglen 16484 if postIndex < 0 { 16485 return ErrInvalidLengthTypes 16486 } 16487 if postIndex > l { 16488 return io.ErrUnexpectedEOF 16489 } 16490 if m.NonnullInt32 == nil { 16491 m.NonnullInt32 = make(map[int32]int32) 16492 } 16493 var mapkey int32 16494 mapvalue := new(int32) 16495 for iNdEx < postIndex { 16496 entryPreIndex := iNdEx 16497 var wire uint64 16498 for shift := uint(0); ; shift += 7 { 16499 if shift >= 64 { 16500 return ErrIntOverflowTypes 16501 } 16502 if iNdEx >= l { 16503 return io.ErrUnexpectedEOF 16504 } 16505 b := dAtA[iNdEx] 16506 iNdEx++ 16507 wire |= uint64(b&0x7F) << shift 16508 if b < 0x80 { 16509 break 16510 } 16511 } 16512 fieldNum := int32(wire >> 3) 16513 if fieldNum == 1 { 16514 for shift := uint(0); ; shift += 7 { 16515 if shift >= 64 { 16516 return ErrIntOverflowTypes 16517 } 16518 if iNdEx >= l { 16519 return io.ErrUnexpectedEOF 16520 } 16521 b := dAtA[iNdEx] 16522 iNdEx++ 16523 mapkey |= int32(b&0x7F) << shift 16524 if b < 0x80 { 16525 break 16526 } 16527 } 16528 } else if fieldNum == 2 { 16529 var mapmsglen int 16530 for shift := uint(0); ; shift += 7 { 16531 if shift >= 64 { 16532 return ErrIntOverflowTypes 16533 } 16534 if iNdEx >= l { 16535 return io.ErrUnexpectedEOF 16536 } 16537 b := dAtA[iNdEx] 16538 iNdEx++ 16539 mapmsglen |= int(b&0x7F) << shift 16540 if b < 0x80 { 16541 break 16542 } 16543 } 16544 if mapmsglen < 0 { 16545 return ErrInvalidLengthTypes 16546 } 16547 postmsgIndex := iNdEx + mapmsglen 16548 if postmsgIndex < 0 { 16549 return ErrInvalidLengthTypes 16550 } 16551 if postmsgIndex > l { 16552 return io.ErrUnexpectedEOF 16553 } 16554 if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16555 return err 16556 } 16557 iNdEx = postmsgIndex 16558 } else { 16559 iNdEx = entryPreIndex 16560 skippy, err := skipTypes(dAtA[iNdEx:]) 16561 if err != nil { 16562 return err 16563 } 16564 if skippy < 0 { 16565 return ErrInvalidLengthTypes 16566 } 16567 if (iNdEx + skippy) > postIndex { 16568 return io.ErrUnexpectedEOF 16569 } 16570 iNdEx += skippy 16571 } 16572 } 16573 m.NonnullInt32[mapkey] = ((int32)(*mapvalue)) 16574 iNdEx = postIndex 16575 case 15: 16576 if wireType != 2 { 16577 return fmt.Errorf("proto: wrong wireType = %d for field NullableUInt32", wireType) 16578 } 16579 var msglen int 16580 for shift := uint(0); ; shift += 7 { 16581 if shift >= 64 { 16582 return ErrIntOverflowTypes 16583 } 16584 if iNdEx >= l { 16585 return io.ErrUnexpectedEOF 16586 } 16587 b := dAtA[iNdEx] 16588 iNdEx++ 16589 msglen |= int(b&0x7F) << shift 16590 if b < 0x80 { 16591 break 16592 } 16593 } 16594 if msglen < 0 { 16595 return ErrInvalidLengthTypes 16596 } 16597 postIndex := iNdEx + msglen 16598 if postIndex < 0 { 16599 return ErrInvalidLengthTypes 16600 } 16601 if postIndex > l { 16602 return io.ErrUnexpectedEOF 16603 } 16604 if m.NullableUInt32 == nil { 16605 m.NullableUInt32 = make(map[int32]*uint32) 16606 } 16607 var mapkey int32 16608 mapvalue := new(uint32) 16609 for iNdEx < postIndex { 16610 entryPreIndex := iNdEx 16611 var wire uint64 16612 for shift := uint(0); ; shift += 7 { 16613 if shift >= 64 { 16614 return ErrIntOverflowTypes 16615 } 16616 if iNdEx >= l { 16617 return io.ErrUnexpectedEOF 16618 } 16619 b := dAtA[iNdEx] 16620 iNdEx++ 16621 wire |= uint64(b&0x7F) << shift 16622 if b < 0x80 { 16623 break 16624 } 16625 } 16626 fieldNum := int32(wire >> 3) 16627 if fieldNum == 1 { 16628 for shift := uint(0); ; shift += 7 { 16629 if shift >= 64 { 16630 return ErrIntOverflowTypes 16631 } 16632 if iNdEx >= l { 16633 return io.ErrUnexpectedEOF 16634 } 16635 b := dAtA[iNdEx] 16636 iNdEx++ 16637 mapkey |= int32(b&0x7F) << shift 16638 if b < 0x80 { 16639 break 16640 } 16641 } 16642 } else if fieldNum == 2 { 16643 var mapmsglen int 16644 for shift := uint(0); ; shift += 7 { 16645 if shift >= 64 { 16646 return ErrIntOverflowTypes 16647 } 16648 if iNdEx >= l { 16649 return io.ErrUnexpectedEOF 16650 } 16651 b := dAtA[iNdEx] 16652 iNdEx++ 16653 mapmsglen |= int(b&0x7F) << shift 16654 if b < 0x80 { 16655 break 16656 } 16657 } 16658 if mapmsglen < 0 { 16659 return ErrInvalidLengthTypes 16660 } 16661 postmsgIndex := iNdEx + mapmsglen 16662 if postmsgIndex < 0 { 16663 return ErrInvalidLengthTypes 16664 } 16665 if postmsgIndex > l { 16666 return io.ErrUnexpectedEOF 16667 } 16668 if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16669 return err 16670 } 16671 iNdEx = postmsgIndex 16672 } else { 16673 iNdEx = entryPreIndex 16674 skippy, err := skipTypes(dAtA[iNdEx:]) 16675 if err != nil { 16676 return err 16677 } 16678 if skippy < 0 { 16679 return ErrInvalidLengthTypes 16680 } 16681 if (iNdEx + skippy) > postIndex { 16682 return io.ErrUnexpectedEOF 16683 } 16684 iNdEx += skippy 16685 } 16686 } 16687 m.NullableUInt32[mapkey] = ((*uint32)(mapvalue)) 16688 iNdEx = postIndex 16689 case 16: 16690 if wireType != 2 { 16691 return fmt.Errorf("proto: wrong wireType = %d for field NonnullUInt32", wireType) 16692 } 16693 var msglen int 16694 for shift := uint(0); ; shift += 7 { 16695 if shift >= 64 { 16696 return ErrIntOverflowTypes 16697 } 16698 if iNdEx >= l { 16699 return io.ErrUnexpectedEOF 16700 } 16701 b := dAtA[iNdEx] 16702 iNdEx++ 16703 msglen |= int(b&0x7F) << shift 16704 if b < 0x80 { 16705 break 16706 } 16707 } 16708 if msglen < 0 { 16709 return ErrInvalidLengthTypes 16710 } 16711 postIndex := iNdEx + msglen 16712 if postIndex < 0 { 16713 return ErrInvalidLengthTypes 16714 } 16715 if postIndex > l { 16716 return io.ErrUnexpectedEOF 16717 } 16718 if m.NonnullUInt32 == nil { 16719 m.NonnullUInt32 = make(map[int32]uint32) 16720 } 16721 var mapkey int32 16722 mapvalue := new(uint32) 16723 for iNdEx < postIndex { 16724 entryPreIndex := iNdEx 16725 var wire uint64 16726 for shift := uint(0); ; shift += 7 { 16727 if shift >= 64 { 16728 return ErrIntOverflowTypes 16729 } 16730 if iNdEx >= l { 16731 return io.ErrUnexpectedEOF 16732 } 16733 b := dAtA[iNdEx] 16734 iNdEx++ 16735 wire |= uint64(b&0x7F) << shift 16736 if b < 0x80 { 16737 break 16738 } 16739 } 16740 fieldNum := int32(wire >> 3) 16741 if fieldNum == 1 { 16742 for shift := uint(0); ; shift += 7 { 16743 if shift >= 64 { 16744 return ErrIntOverflowTypes 16745 } 16746 if iNdEx >= l { 16747 return io.ErrUnexpectedEOF 16748 } 16749 b := dAtA[iNdEx] 16750 iNdEx++ 16751 mapkey |= int32(b&0x7F) << shift 16752 if b < 0x80 { 16753 break 16754 } 16755 } 16756 } else if fieldNum == 2 { 16757 var mapmsglen int 16758 for shift := uint(0); ; shift += 7 { 16759 if shift >= 64 { 16760 return ErrIntOverflowTypes 16761 } 16762 if iNdEx >= l { 16763 return io.ErrUnexpectedEOF 16764 } 16765 b := dAtA[iNdEx] 16766 iNdEx++ 16767 mapmsglen |= int(b&0x7F) << shift 16768 if b < 0x80 { 16769 break 16770 } 16771 } 16772 if mapmsglen < 0 { 16773 return ErrInvalidLengthTypes 16774 } 16775 postmsgIndex := iNdEx + mapmsglen 16776 if postmsgIndex < 0 { 16777 return ErrInvalidLengthTypes 16778 } 16779 if postmsgIndex > l { 16780 return io.ErrUnexpectedEOF 16781 } 16782 if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16783 return err 16784 } 16785 iNdEx = postmsgIndex 16786 } else { 16787 iNdEx = entryPreIndex 16788 skippy, err := skipTypes(dAtA[iNdEx:]) 16789 if err != nil { 16790 return err 16791 } 16792 if skippy < 0 { 16793 return ErrInvalidLengthTypes 16794 } 16795 if (iNdEx + skippy) > postIndex { 16796 return io.ErrUnexpectedEOF 16797 } 16798 iNdEx += skippy 16799 } 16800 } 16801 m.NonnullUInt32[mapkey] = ((uint32)(*mapvalue)) 16802 iNdEx = postIndex 16803 case 17: 16804 if wireType != 2 { 16805 return fmt.Errorf("proto: wrong wireType = %d for field NullableBool", wireType) 16806 } 16807 var msglen int 16808 for shift := uint(0); ; shift += 7 { 16809 if shift >= 64 { 16810 return ErrIntOverflowTypes 16811 } 16812 if iNdEx >= l { 16813 return io.ErrUnexpectedEOF 16814 } 16815 b := dAtA[iNdEx] 16816 iNdEx++ 16817 msglen |= int(b&0x7F) << shift 16818 if b < 0x80 { 16819 break 16820 } 16821 } 16822 if msglen < 0 { 16823 return ErrInvalidLengthTypes 16824 } 16825 postIndex := iNdEx + msglen 16826 if postIndex < 0 { 16827 return ErrInvalidLengthTypes 16828 } 16829 if postIndex > l { 16830 return io.ErrUnexpectedEOF 16831 } 16832 if m.NullableBool == nil { 16833 m.NullableBool = make(map[int32]*bool) 16834 } 16835 var mapkey int32 16836 mapvalue := new(bool) 16837 for iNdEx < postIndex { 16838 entryPreIndex := iNdEx 16839 var wire uint64 16840 for shift := uint(0); ; shift += 7 { 16841 if shift >= 64 { 16842 return ErrIntOverflowTypes 16843 } 16844 if iNdEx >= l { 16845 return io.ErrUnexpectedEOF 16846 } 16847 b := dAtA[iNdEx] 16848 iNdEx++ 16849 wire |= uint64(b&0x7F) << shift 16850 if b < 0x80 { 16851 break 16852 } 16853 } 16854 fieldNum := int32(wire >> 3) 16855 if fieldNum == 1 { 16856 for shift := uint(0); ; shift += 7 { 16857 if shift >= 64 { 16858 return ErrIntOverflowTypes 16859 } 16860 if iNdEx >= l { 16861 return io.ErrUnexpectedEOF 16862 } 16863 b := dAtA[iNdEx] 16864 iNdEx++ 16865 mapkey |= int32(b&0x7F) << shift 16866 if b < 0x80 { 16867 break 16868 } 16869 } 16870 } else if fieldNum == 2 { 16871 var mapmsglen int 16872 for shift := uint(0); ; shift += 7 { 16873 if shift >= 64 { 16874 return ErrIntOverflowTypes 16875 } 16876 if iNdEx >= l { 16877 return io.ErrUnexpectedEOF 16878 } 16879 b := dAtA[iNdEx] 16880 iNdEx++ 16881 mapmsglen |= int(b&0x7F) << shift 16882 if b < 0x80 { 16883 break 16884 } 16885 } 16886 if mapmsglen < 0 { 16887 return ErrInvalidLengthTypes 16888 } 16889 postmsgIndex := iNdEx + mapmsglen 16890 if postmsgIndex < 0 { 16891 return ErrInvalidLengthTypes 16892 } 16893 if postmsgIndex > l { 16894 return io.ErrUnexpectedEOF 16895 } 16896 if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 16897 return err 16898 } 16899 iNdEx = postmsgIndex 16900 } else { 16901 iNdEx = entryPreIndex 16902 skippy, err := skipTypes(dAtA[iNdEx:]) 16903 if err != nil { 16904 return err 16905 } 16906 if skippy < 0 { 16907 return ErrInvalidLengthTypes 16908 } 16909 if (iNdEx + skippy) > postIndex { 16910 return io.ErrUnexpectedEOF 16911 } 16912 iNdEx += skippy 16913 } 16914 } 16915 m.NullableBool[mapkey] = ((*bool)(mapvalue)) 16916 iNdEx = postIndex 16917 case 18: 16918 if wireType != 2 { 16919 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBool", wireType) 16920 } 16921 var msglen int 16922 for shift := uint(0); ; shift += 7 { 16923 if shift >= 64 { 16924 return ErrIntOverflowTypes 16925 } 16926 if iNdEx >= l { 16927 return io.ErrUnexpectedEOF 16928 } 16929 b := dAtA[iNdEx] 16930 iNdEx++ 16931 msglen |= int(b&0x7F) << shift 16932 if b < 0x80 { 16933 break 16934 } 16935 } 16936 if msglen < 0 { 16937 return ErrInvalidLengthTypes 16938 } 16939 postIndex := iNdEx + msglen 16940 if postIndex < 0 { 16941 return ErrInvalidLengthTypes 16942 } 16943 if postIndex > l { 16944 return io.ErrUnexpectedEOF 16945 } 16946 if m.NonnullBool == nil { 16947 m.NonnullBool = make(map[int32]bool) 16948 } 16949 var mapkey int32 16950 mapvalue := new(bool) 16951 for iNdEx < postIndex { 16952 entryPreIndex := iNdEx 16953 var wire uint64 16954 for shift := uint(0); ; shift += 7 { 16955 if shift >= 64 { 16956 return ErrIntOverflowTypes 16957 } 16958 if iNdEx >= l { 16959 return io.ErrUnexpectedEOF 16960 } 16961 b := dAtA[iNdEx] 16962 iNdEx++ 16963 wire |= uint64(b&0x7F) << shift 16964 if b < 0x80 { 16965 break 16966 } 16967 } 16968 fieldNum := int32(wire >> 3) 16969 if fieldNum == 1 { 16970 for shift := uint(0); ; shift += 7 { 16971 if shift >= 64 { 16972 return ErrIntOverflowTypes 16973 } 16974 if iNdEx >= l { 16975 return io.ErrUnexpectedEOF 16976 } 16977 b := dAtA[iNdEx] 16978 iNdEx++ 16979 mapkey |= int32(b&0x7F) << shift 16980 if b < 0x80 { 16981 break 16982 } 16983 } 16984 } else if fieldNum == 2 { 16985 var mapmsglen int 16986 for shift := uint(0); ; shift += 7 { 16987 if shift >= 64 { 16988 return ErrIntOverflowTypes 16989 } 16990 if iNdEx >= l { 16991 return io.ErrUnexpectedEOF 16992 } 16993 b := dAtA[iNdEx] 16994 iNdEx++ 16995 mapmsglen |= int(b&0x7F) << shift 16996 if b < 0x80 { 16997 break 16998 } 16999 } 17000 if mapmsglen < 0 { 17001 return ErrInvalidLengthTypes 17002 } 17003 postmsgIndex := iNdEx + mapmsglen 17004 if postmsgIndex < 0 { 17005 return ErrInvalidLengthTypes 17006 } 17007 if postmsgIndex > l { 17008 return io.ErrUnexpectedEOF 17009 } 17010 if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 17011 return err 17012 } 17013 iNdEx = postmsgIndex 17014 } else { 17015 iNdEx = entryPreIndex 17016 skippy, err := skipTypes(dAtA[iNdEx:]) 17017 if err != nil { 17018 return err 17019 } 17020 if skippy < 0 { 17021 return ErrInvalidLengthTypes 17022 } 17023 if (iNdEx + skippy) > postIndex { 17024 return io.ErrUnexpectedEOF 17025 } 17026 iNdEx += skippy 17027 } 17028 } 17029 m.NonnullBool[mapkey] = ((bool)(*mapvalue)) 17030 iNdEx = postIndex 17031 case 19: 17032 if wireType != 2 { 17033 return fmt.Errorf("proto: wrong wireType = %d for field NullableString", wireType) 17034 } 17035 var msglen int 17036 for shift := uint(0); ; shift += 7 { 17037 if shift >= 64 { 17038 return ErrIntOverflowTypes 17039 } 17040 if iNdEx >= l { 17041 return io.ErrUnexpectedEOF 17042 } 17043 b := dAtA[iNdEx] 17044 iNdEx++ 17045 msglen |= int(b&0x7F) << shift 17046 if b < 0x80 { 17047 break 17048 } 17049 } 17050 if msglen < 0 { 17051 return ErrInvalidLengthTypes 17052 } 17053 postIndex := iNdEx + msglen 17054 if postIndex < 0 { 17055 return ErrInvalidLengthTypes 17056 } 17057 if postIndex > l { 17058 return io.ErrUnexpectedEOF 17059 } 17060 if m.NullableString == nil { 17061 m.NullableString = make(map[int32]*string) 17062 } 17063 var mapkey int32 17064 mapvalue := new(string) 17065 for iNdEx < postIndex { 17066 entryPreIndex := iNdEx 17067 var wire uint64 17068 for shift := uint(0); ; shift += 7 { 17069 if shift >= 64 { 17070 return ErrIntOverflowTypes 17071 } 17072 if iNdEx >= l { 17073 return io.ErrUnexpectedEOF 17074 } 17075 b := dAtA[iNdEx] 17076 iNdEx++ 17077 wire |= uint64(b&0x7F) << shift 17078 if b < 0x80 { 17079 break 17080 } 17081 } 17082 fieldNum := int32(wire >> 3) 17083 if fieldNum == 1 { 17084 for shift := uint(0); ; shift += 7 { 17085 if shift >= 64 { 17086 return ErrIntOverflowTypes 17087 } 17088 if iNdEx >= l { 17089 return io.ErrUnexpectedEOF 17090 } 17091 b := dAtA[iNdEx] 17092 iNdEx++ 17093 mapkey |= int32(b&0x7F) << shift 17094 if b < 0x80 { 17095 break 17096 } 17097 } 17098 } else if fieldNum == 2 { 17099 var mapmsglen int 17100 for shift := uint(0); ; shift += 7 { 17101 if shift >= 64 { 17102 return ErrIntOverflowTypes 17103 } 17104 if iNdEx >= l { 17105 return io.ErrUnexpectedEOF 17106 } 17107 b := dAtA[iNdEx] 17108 iNdEx++ 17109 mapmsglen |= int(b&0x7F) << shift 17110 if b < 0x80 { 17111 break 17112 } 17113 } 17114 if mapmsglen < 0 { 17115 return ErrInvalidLengthTypes 17116 } 17117 postmsgIndex := iNdEx + mapmsglen 17118 if postmsgIndex < 0 { 17119 return ErrInvalidLengthTypes 17120 } 17121 if postmsgIndex > l { 17122 return io.ErrUnexpectedEOF 17123 } 17124 if err := github_com_gogo_protobuf_types.StdStringUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 17125 return err 17126 } 17127 iNdEx = postmsgIndex 17128 } else { 17129 iNdEx = entryPreIndex 17130 skippy, err := skipTypes(dAtA[iNdEx:]) 17131 if err != nil { 17132 return err 17133 } 17134 if skippy < 0 { 17135 return ErrInvalidLengthTypes 17136 } 17137 if (iNdEx + skippy) > postIndex { 17138 return io.ErrUnexpectedEOF 17139 } 17140 iNdEx += skippy 17141 } 17142 } 17143 m.NullableString[mapkey] = ((*string)(mapvalue)) 17144 iNdEx = postIndex 17145 case 20: 17146 if wireType != 2 { 17147 return fmt.Errorf("proto: wrong wireType = %d for field NonnullString", wireType) 17148 } 17149 var msglen int 17150 for shift := uint(0); ; shift += 7 { 17151 if shift >= 64 { 17152 return ErrIntOverflowTypes 17153 } 17154 if iNdEx >= l { 17155 return io.ErrUnexpectedEOF 17156 } 17157 b := dAtA[iNdEx] 17158 iNdEx++ 17159 msglen |= int(b&0x7F) << shift 17160 if b < 0x80 { 17161 break 17162 } 17163 } 17164 if msglen < 0 { 17165 return ErrInvalidLengthTypes 17166 } 17167 postIndex := iNdEx + msglen 17168 if postIndex < 0 { 17169 return ErrInvalidLengthTypes 17170 } 17171 if postIndex > l { 17172 return io.ErrUnexpectedEOF 17173 } 17174 if m.NonnullString == nil { 17175 m.NonnullString = make(map[int32]string) 17176 } 17177 var mapkey int32 17178 mapvalue := new(string) 17179 for iNdEx < postIndex { 17180 entryPreIndex := iNdEx 17181 var wire uint64 17182 for shift := uint(0); ; shift += 7 { 17183 if shift >= 64 { 17184 return ErrIntOverflowTypes 17185 } 17186 if iNdEx >= l { 17187 return io.ErrUnexpectedEOF 17188 } 17189 b := dAtA[iNdEx] 17190 iNdEx++ 17191 wire |= uint64(b&0x7F) << shift 17192 if b < 0x80 { 17193 break 17194 } 17195 } 17196 fieldNum := int32(wire >> 3) 17197 if fieldNum == 1 { 17198 for shift := uint(0); ; shift += 7 { 17199 if shift >= 64 { 17200 return ErrIntOverflowTypes 17201 } 17202 if iNdEx >= l { 17203 return io.ErrUnexpectedEOF 17204 } 17205 b := dAtA[iNdEx] 17206 iNdEx++ 17207 mapkey |= int32(b&0x7F) << shift 17208 if b < 0x80 { 17209 break 17210 } 17211 } 17212 } else if fieldNum == 2 { 17213 var mapmsglen int 17214 for shift := uint(0); ; shift += 7 { 17215 if shift >= 64 { 17216 return ErrIntOverflowTypes 17217 } 17218 if iNdEx >= l { 17219 return io.ErrUnexpectedEOF 17220 } 17221 b := dAtA[iNdEx] 17222 iNdEx++ 17223 mapmsglen |= int(b&0x7F) << shift 17224 if b < 0x80 { 17225 break 17226 } 17227 } 17228 if mapmsglen < 0 { 17229 return ErrInvalidLengthTypes 17230 } 17231 postmsgIndex := iNdEx + mapmsglen 17232 if postmsgIndex < 0 { 17233 return ErrInvalidLengthTypes 17234 } 17235 if postmsgIndex > l { 17236 return io.ErrUnexpectedEOF 17237 } 17238 if err := github_com_gogo_protobuf_types.StdStringUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 17239 return err 17240 } 17241 iNdEx = postmsgIndex 17242 } else { 17243 iNdEx = entryPreIndex 17244 skippy, err := skipTypes(dAtA[iNdEx:]) 17245 if err != nil { 17246 return err 17247 } 17248 if skippy < 0 { 17249 return ErrInvalidLengthTypes 17250 } 17251 if (iNdEx + skippy) > postIndex { 17252 return io.ErrUnexpectedEOF 17253 } 17254 iNdEx += skippy 17255 } 17256 } 17257 m.NonnullString[mapkey] = ((string)(*mapvalue)) 17258 iNdEx = postIndex 17259 case 21: 17260 if wireType != 2 { 17261 return fmt.Errorf("proto: wrong wireType = %d for field NullableBytes", wireType) 17262 } 17263 var msglen int 17264 for shift := uint(0); ; shift += 7 { 17265 if shift >= 64 { 17266 return ErrIntOverflowTypes 17267 } 17268 if iNdEx >= l { 17269 return io.ErrUnexpectedEOF 17270 } 17271 b := dAtA[iNdEx] 17272 iNdEx++ 17273 msglen |= int(b&0x7F) << shift 17274 if b < 0x80 { 17275 break 17276 } 17277 } 17278 if msglen < 0 { 17279 return ErrInvalidLengthTypes 17280 } 17281 postIndex := iNdEx + msglen 17282 if postIndex < 0 { 17283 return ErrInvalidLengthTypes 17284 } 17285 if postIndex > l { 17286 return io.ErrUnexpectedEOF 17287 } 17288 if m.NullableBytes == nil { 17289 m.NullableBytes = make(map[int32]*[]byte) 17290 } 17291 var mapkey int32 17292 mapvalue := new([]byte) 17293 for iNdEx < postIndex { 17294 entryPreIndex := iNdEx 17295 var wire uint64 17296 for shift := uint(0); ; shift += 7 { 17297 if shift >= 64 { 17298 return ErrIntOverflowTypes 17299 } 17300 if iNdEx >= l { 17301 return io.ErrUnexpectedEOF 17302 } 17303 b := dAtA[iNdEx] 17304 iNdEx++ 17305 wire |= uint64(b&0x7F) << shift 17306 if b < 0x80 { 17307 break 17308 } 17309 } 17310 fieldNum := int32(wire >> 3) 17311 if fieldNum == 1 { 17312 for shift := uint(0); ; shift += 7 { 17313 if shift >= 64 { 17314 return ErrIntOverflowTypes 17315 } 17316 if iNdEx >= l { 17317 return io.ErrUnexpectedEOF 17318 } 17319 b := dAtA[iNdEx] 17320 iNdEx++ 17321 mapkey |= int32(b&0x7F) << shift 17322 if b < 0x80 { 17323 break 17324 } 17325 } 17326 } else if fieldNum == 2 { 17327 var mapmsglen int 17328 for shift := uint(0); ; shift += 7 { 17329 if shift >= 64 { 17330 return ErrIntOverflowTypes 17331 } 17332 if iNdEx >= l { 17333 return io.ErrUnexpectedEOF 17334 } 17335 b := dAtA[iNdEx] 17336 iNdEx++ 17337 mapmsglen |= int(b&0x7F) << shift 17338 if b < 0x80 { 17339 break 17340 } 17341 } 17342 if mapmsglen < 0 { 17343 return ErrInvalidLengthTypes 17344 } 17345 postmsgIndex := iNdEx + mapmsglen 17346 if postmsgIndex < 0 { 17347 return ErrInvalidLengthTypes 17348 } 17349 if postmsgIndex > l { 17350 return io.ErrUnexpectedEOF 17351 } 17352 if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 17353 return err 17354 } 17355 iNdEx = postmsgIndex 17356 } else { 17357 iNdEx = entryPreIndex 17358 skippy, err := skipTypes(dAtA[iNdEx:]) 17359 if err != nil { 17360 return err 17361 } 17362 if skippy < 0 { 17363 return ErrInvalidLengthTypes 17364 } 17365 if (iNdEx + skippy) > postIndex { 17366 return io.ErrUnexpectedEOF 17367 } 17368 iNdEx += skippy 17369 } 17370 } 17371 m.NullableBytes[mapkey] = ((*[]byte)(mapvalue)) 17372 iNdEx = postIndex 17373 case 22: 17374 if wireType != 2 { 17375 return fmt.Errorf("proto: wrong wireType = %d for field NonnullBytes", wireType) 17376 } 17377 var msglen int 17378 for shift := uint(0); ; shift += 7 { 17379 if shift >= 64 { 17380 return ErrIntOverflowTypes 17381 } 17382 if iNdEx >= l { 17383 return io.ErrUnexpectedEOF 17384 } 17385 b := dAtA[iNdEx] 17386 iNdEx++ 17387 msglen |= int(b&0x7F) << shift 17388 if b < 0x80 { 17389 break 17390 } 17391 } 17392 if msglen < 0 { 17393 return ErrInvalidLengthTypes 17394 } 17395 postIndex := iNdEx + msglen 17396 if postIndex < 0 { 17397 return ErrInvalidLengthTypes 17398 } 17399 if postIndex > l { 17400 return io.ErrUnexpectedEOF 17401 } 17402 if m.NonnullBytes == nil { 17403 m.NonnullBytes = make(map[int32][]byte) 17404 } 17405 var mapkey int32 17406 mapvalue := new([]byte) 17407 for iNdEx < postIndex { 17408 entryPreIndex := iNdEx 17409 var wire uint64 17410 for shift := uint(0); ; shift += 7 { 17411 if shift >= 64 { 17412 return ErrIntOverflowTypes 17413 } 17414 if iNdEx >= l { 17415 return io.ErrUnexpectedEOF 17416 } 17417 b := dAtA[iNdEx] 17418 iNdEx++ 17419 wire |= uint64(b&0x7F) << shift 17420 if b < 0x80 { 17421 break 17422 } 17423 } 17424 fieldNum := int32(wire >> 3) 17425 if fieldNum == 1 { 17426 for shift := uint(0); ; shift += 7 { 17427 if shift >= 64 { 17428 return ErrIntOverflowTypes 17429 } 17430 if iNdEx >= l { 17431 return io.ErrUnexpectedEOF 17432 } 17433 b := dAtA[iNdEx] 17434 iNdEx++ 17435 mapkey |= int32(b&0x7F) << shift 17436 if b < 0x80 { 17437 break 17438 } 17439 } 17440 } else if fieldNum == 2 { 17441 var mapmsglen int 17442 for shift := uint(0); ; shift += 7 { 17443 if shift >= 64 { 17444 return ErrIntOverflowTypes 17445 } 17446 if iNdEx >= l { 17447 return io.ErrUnexpectedEOF 17448 } 17449 b := dAtA[iNdEx] 17450 iNdEx++ 17451 mapmsglen |= int(b&0x7F) << shift 17452 if b < 0x80 { 17453 break 17454 } 17455 } 17456 if mapmsglen < 0 { 17457 return ErrInvalidLengthTypes 17458 } 17459 postmsgIndex := iNdEx + mapmsglen 17460 if postmsgIndex < 0 { 17461 return ErrInvalidLengthTypes 17462 } 17463 if postmsgIndex > l { 17464 return io.ErrUnexpectedEOF 17465 } 17466 if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(mapvalue, dAtA[iNdEx:postmsgIndex]); err != nil { 17467 return err 17468 } 17469 iNdEx = postmsgIndex 17470 } else { 17471 iNdEx = entryPreIndex 17472 skippy, err := skipTypes(dAtA[iNdEx:]) 17473 if err != nil { 17474 return err 17475 } 17476 if skippy < 0 { 17477 return ErrInvalidLengthTypes 17478 } 17479 if (iNdEx + skippy) > postIndex { 17480 return io.ErrUnexpectedEOF 17481 } 17482 iNdEx += skippy 17483 } 17484 } 17485 m.NonnullBytes[mapkey] = (([]byte)(*mapvalue)) 17486 iNdEx = postIndex 17487 default: 17488 iNdEx = preIndex 17489 skippy, err := skipTypes(dAtA[iNdEx:]) 17490 if err != nil { 17491 return err 17492 } 17493 if skippy < 0 { 17494 return ErrInvalidLengthTypes 17495 } 17496 if (iNdEx + skippy) < 0 { 17497 return ErrInvalidLengthTypes 17498 } 17499 if (iNdEx + skippy) > l { 17500 return io.ErrUnexpectedEOF 17501 } 17502 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 17503 iNdEx += skippy 17504 } 17505 } 17506 17507 if iNdEx > l { 17508 return io.ErrUnexpectedEOF 17509 } 17510 return nil 17511} 17512func (m *OneofProtoTypes) Unmarshal(dAtA []byte) error { 17513 l := len(dAtA) 17514 iNdEx := 0 17515 for iNdEx < l { 17516 preIndex := iNdEx 17517 var wire uint64 17518 for shift := uint(0); ; shift += 7 { 17519 if shift >= 64 { 17520 return ErrIntOverflowTypes 17521 } 17522 if iNdEx >= l { 17523 return io.ErrUnexpectedEOF 17524 } 17525 b := dAtA[iNdEx] 17526 iNdEx++ 17527 wire |= uint64(b&0x7F) << shift 17528 if b < 0x80 { 17529 break 17530 } 17531 } 17532 fieldNum := int32(wire >> 3) 17533 wireType := int(wire & 0x7) 17534 if wireType == 4 { 17535 return fmt.Errorf("proto: OneofProtoTypes: wiretype end group for non-group") 17536 } 17537 if fieldNum <= 0 { 17538 return fmt.Errorf("proto: OneofProtoTypes: illegal tag %d (wire type %d)", fieldNum, wire) 17539 } 17540 switch fieldNum { 17541 case 1: 17542 if wireType != 2 { 17543 return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) 17544 } 17545 var msglen int 17546 for shift := uint(0); ; shift += 7 { 17547 if shift >= 64 { 17548 return ErrIntOverflowTypes 17549 } 17550 if iNdEx >= l { 17551 return io.ErrUnexpectedEOF 17552 } 17553 b := dAtA[iNdEx] 17554 iNdEx++ 17555 msglen |= int(b&0x7F) << shift 17556 if b < 0x80 { 17557 break 17558 } 17559 } 17560 if msglen < 0 { 17561 return ErrInvalidLengthTypes 17562 } 17563 postIndex := iNdEx + msglen 17564 if postIndex < 0 { 17565 return ErrInvalidLengthTypes 17566 } 17567 if postIndex > l { 17568 return io.ErrUnexpectedEOF 17569 } 17570 v := &types.Timestamp{} 17571 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17572 return err 17573 } 17574 m.OneOfProtoTimes = &OneofProtoTypes_Timestamp{v} 17575 iNdEx = postIndex 17576 case 2: 17577 if wireType != 2 { 17578 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 17579 } 17580 var msglen int 17581 for shift := uint(0); ; shift += 7 { 17582 if shift >= 64 { 17583 return ErrIntOverflowTypes 17584 } 17585 if iNdEx >= l { 17586 return io.ErrUnexpectedEOF 17587 } 17588 b := dAtA[iNdEx] 17589 iNdEx++ 17590 msglen |= int(b&0x7F) << shift 17591 if b < 0x80 { 17592 break 17593 } 17594 } 17595 if msglen < 0 { 17596 return ErrInvalidLengthTypes 17597 } 17598 postIndex := iNdEx + msglen 17599 if postIndex < 0 { 17600 return ErrInvalidLengthTypes 17601 } 17602 if postIndex > l { 17603 return io.ErrUnexpectedEOF 17604 } 17605 v := &types.Duration{} 17606 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17607 return err 17608 } 17609 m.OneOfProtoTimes = &OneofProtoTypes_Duration{v} 17610 iNdEx = postIndex 17611 case 3: 17612 if wireType != 2 { 17613 return fmt.Errorf("proto: wrong wireType = %d for field RepDouble", wireType) 17614 } 17615 var msglen int 17616 for shift := uint(0); ; shift += 7 { 17617 if shift >= 64 { 17618 return ErrIntOverflowTypes 17619 } 17620 if iNdEx >= l { 17621 return io.ErrUnexpectedEOF 17622 } 17623 b := dAtA[iNdEx] 17624 iNdEx++ 17625 msglen |= int(b&0x7F) << shift 17626 if b < 0x80 { 17627 break 17628 } 17629 } 17630 if msglen < 0 { 17631 return ErrInvalidLengthTypes 17632 } 17633 postIndex := iNdEx + msglen 17634 if postIndex < 0 { 17635 return ErrInvalidLengthTypes 17636 } 17637 if postIndex > l { 17638 return io.ErrUnexpectedEOF 17639 } 17640 v := &types.DoubleValue{} 17641 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17642 return err 17643 } 17644 m.OneOfProtoTimes = &OneofProtoTypes_RepDouble{v} 17645 iNdEx = postIndex 17646 case 4: 17647 if wireType != 2 { 17648 return fmt.Errorf("proto: wrong wireType = %d for field RepFloat", wireType) 17649 } 17650 var msglen int 17651 for shift := uint(0); ; shift += 7 { 17652 if shift >= 64 { 17653 return ErrIntOverflowTypes 17654 } 17655 if iNdEx >= l { 17656 return io.ErrUnexpectedEOF 17657 } 17658 b := dAtA[iNdEx] 17659 iNdEx++ 17660 msglen |= int(b&0x7F) << shift 17661 if b < 0x80 { 17662 break 17663 } 17664 } 17665 if msglen < 0 { 17666 return ErrInvalidLengthTypes 17667 } 17668 postIndex := iNdEx + msglen 17669 if postIndex < 0 { 17670 return ErrInvalidLengthTypes 17671 } 17672 if postIndex > l { 17673 return io.ErrUnexpectedEOF 17674 } 17675 v := &types.FloatValue{} 17676 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17677 return err 17678 } 17679 m.OneOfProtoTimes = &OneofProtoTypes_RepFloat{v} 17680 iNdEx = postIndex 17681 case 5: 17682 if wireType != 2 { 17683 return fmt.Errorf("proto: wrong wireType = %d for field RepInt64", wireType) 17684 } 17685 var msglen int 17686 for shift := uint(0); ; shift += 7 { 17687 if shift >= 64 { 17688 return ErrIntOverflowTypes 17689 } 17690 if iNdEx >= l { 17691 return io.ErrUnexpectedEOF 17692 } 17693 b := dAtA[iNdEx] 17694 iNdEx++ 17695 msglen |= int(b&0x7F) << shift 17696 if b < 0x80 { 17697 break 17698 } 17699 } 17700 if msglen < 0 { 17701 return ErrInvalidLengthTypes 17702 } 17703 postIndex := iNdEx + msglen 17704 if postIndex < 0 { 17705 return ErrInvalidLengthTypes 17706 } 17707 if postIndex > l { 17708 return io.ErrUnexpectedEOF 17709 } 17710 v := &types.Int64Value{} 17711 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17712 return err 17713 } 17714 m.OneOfProtoTimes = &OneofProtoTypes_RepInt64{v} 17715 iNdEx = postIndex 17716 case 6: 17717 if wireType != 2 { 17718 return fmt.Errorf("proto: wrong wireType = %d for field RepUInt64", wireType) 17719 } 17720 var msglen int 17721 for shift := uint(0); ; shift += 7 { 17722 if shift >= 64 { 17723 return ErrIntOverflowTypes 17724 } 17725 if iNdEx >= l { 17726 return io.ErrUnexpectedEOF 17727 } 17728 b := dAtA[iNdEx] 17729 iNdEx++ 17730 msglen |= int(b&0x7F) << shift 17731 if b < 0x80 { 17732 break 17733 } 17734 } 17735 if msglen < 0 { 17736 return ErrInvalidLengthTypes 17737 } 17738 postIndex := iNdEx + msglen 17739 if postIndex < 0 { 17740 return ErrInvalidLengthTypes 17741 } 17742 if postIndex > l { 17743 return io.ErrUnexpectedEOF 17744 } 17745 v := &types.UInt64Value{} 17746 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17747 return err 17748 } 17749 m.OneOfProtoTimes = &OneofProtoTypes_RepUInt64{v} 17750 iNdEx = postIndex 17751 case 7: 17752 if wireType != 2 { 17753 return fmt.Errorf("proto: wrong wireType = %d for field RepInt32", wireType) 17754 } 17755 var msglen int 17756 for shift := uint(0); ; shift += 7 { 17757 if shift >= 64 { 17758 return ErrIntOverflowTypes 17759 } 17760 if iNdEx >= l { 17761 return io.ErrUnexpectedEOF 17762 } 17763 b := dAtA[iNdEx] 17764 iNdEx++ 17765 msglen |= int(b&0x7F) << shift 17766 if b < 0x80 { 17767 break 17768 } 17769 } 17770 if msglen < 0 { 17771 return ErrInvalidLengthTypes 17772 } 17773 postIndex := iNdEx + msglen 17774 if postIndex < 0 { 17775 return ErrInvalidLengthTypes 17776 } 17777 if postIndex > l { 17778 return io.ErrUnexpectedEOF 17779 } 17780 v := &types.Int32Value{} 17781 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17782 return err 17783 } 17784 m.OneOfProtoTimes = &OneofProtoTypes_RepInt32{v} 17785 iNdEx = postIndex 17786 case 8: 17787 if wireType != 2 { 17788 return fmt.Errorf("proto: wrong wireType = %d for field RepUInt32", wireType) 17789 } 17790 var msglen int 17791 for shift := uint(0); ; shift += 7 { 17792 if shift >= 64 { 17793 return ErrIntOverflowTypes 17794 } 17795 if iNdEx >= l { 17796 return io.ErrUnexpectedEOF 17797 } 17798 b := dAtA[iNdEx] 17799 iNdEx++ 17800 msglen |= int(b&0x7F) << shift 17801 if b < 0x80 { 17802 break 17803 } 17804 } 17805 if msglen < 0 { 17806 return ErrInvalidLengthTypes 17807 } 17808 postIndex := iNdEx + msglen 17809 if postIndex < 0 { 17810 return ErrInvalidLengthTypes 17811 } 17812 if postIndex > l { 17813 return io.ErrUnexpectedEOF 17814 } 17815 v := &types.UInt32Value{} 17816 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17817 return err 17818 } 17819 m.OneOfProtoTimes = &OneofProtoTypes_RepUInt32{v} 17820 iNdEx = postIndex 17821 case 9: 17822 if wireType != 2 { 17823 return fmt.Errorf("proto: wrong wireType = %d for field RepBool", wireType) 17824 } 17825 var msglen int 17826 for shift := uint(0); ; shift += 7 { 17827 if shift >= 64 { 17828 return ErrIntOverflowTypes 17829 } 17830 if iNdEx >= l { 17831 return io.ErrUnexpectedEOF 17832 } 17833 b := dAtA[iNdEx] 17834 iNdEx++ 17835 msglen |= int(b&0x7F) << shift 17836 if b < 0x80 { 17837 break 17838 } 17839 } 17840 if msglen < 0 { 17841 return ErrInvalidLengthTypes 17842 } 17843 postIndex := iNdEx + msglen 17844 if postIndex < 0 { 17845 return ErrInvalidLengthTypes 17846 } 17847 if postIndex > l { 17848 return io.ErrUnexpectedEOF 17849 } 17850 v := &types.BoolValue{} 17851 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17852 return err 17853 } 17854 m.OneOfProtoTimes = &OneofProtoTypes_RepBool{v} 17855 iNdEx = postIndex 17856 case 10: 17857 if wireType != 2 { 17858 return fmt.Errorf("proto: wrong wireType = %d for field RepString", wireType) 17859 } 17860 var msglen int 17861 for shift := uint(0); ; shift += 7 { 17862 if shift >= 64 { 17863 return ErrIntOverflowTypes 17864 } 17865 if iNdEx >= l { 17866 return io.ErrUnexpectedEOF 17867 } 17868 b := dAtA[iNdEx] 17869 iNdEx++ 17870 msglen |= int(b&0x7F) << shift 17871 if b < 0x80 { 17872 break 17873 } 17874 } 17875 if msglen < 0 { 17876 return ErrInvalidLengthTypes 17877 } 17878 postIndex := iNdEx + msglen 17879 if postIndex < 0 { 17880 return ErrInvalidLengthTypes 17881 } 17882 if postIndex > l { 17883 return io.ErrUnexpectedEOF 17884 } 17885 v := &types.StringValue{} 17886 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17887 return err 17888 } 17889 m.OneOfProtoTimes = &OneofProtoTypes_RepString{v} 17890 iNdEx = postIndex 17891 case 11: 17892 if wireType != 2 { 17893 return fmt.Errorf("proto: wrong wireType = %d for field RepBytes", wireType) 17894 } 17895 var msglen int 17896 for shift := uint(0); ; shift += 7 { 17897 if shift >= 64 { 17898 return ErrIntOverflowTypes 17899 } 17900 if iNdEx >= l { 17901 return io.ErrUnexpectedEOF 17902 } 17903 b := dAtA[iNdEx] 17904 iNdEx++ 17905 msglen |= int(b&0x7F) << shift 17906 if b < 0x80 { 17907 break 17908 } 17909 } 17910 if msglen < 0 { 17911 return ErrInvalidLengthTypes 17912 } 17913 postIndex := iNdEx + msglen 17914 if postIndex < 0 { 17915 return ErrInvalidLengthTypes 17916 } 17917 if postIndex > l { 17918 return io.ErrUnexpectedEOF 17919 } 17920 v := &types.BytesValue{} 17921 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 17922 return err 17923 } 17924 m.OneOfProtoTimes = &OneofProtoTypes_RepBytes{v} 17925 iNdEx = postIndex 17926 default: 17927 iNdEx = preIndex 17928 skippy, err := skipTypes(dAtA[iNdEx:]) 17929 if err != nil { 17930 return err 17931 } 17932 if skippy < 0 { 17933 return ErrInvalidLengthTypes 17934 } 17935 if (iNdEx + skippy) < 0 { 17936 return ErrInvalidLengthTypes 17937 } 17938 if (iNdEx + skippy) > l { 17939 return io.ErrUnexpectedEOF 17940 } 17941 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 17942 iNdEx += skippy 17943 } 17944 } 17945 17946 if iNdEx > l { 17947 return io.ErrUnexpectedEOF 17948 } 17949 return nil 17950} 17951func (m *OneofStdTypes) Unmarshal(dAtA []byte) error { 17952 l := len(dAtA) 17953 iNdEx := 0 17954 for iNdEx < l { 17955 preIndex := iNdEx 17956 var wire uint64 17957 for shift := uint(0); ; shift += 7 { 17958 if shift >= 64 { 17959 return ErrIntOverflowTypes 17960 } 17961 if iNdEx >= l { 17962 return io.ErrUnexpectedEOF 17963 } 17964 b := dAtA[iNdEx] 17965 iNdEx++ 17966 wire |= uint64(b&0x7F) << shift 17967 if b < 0x80 { 17968 break 17969 } 17970 } 17971 fieldNum := int32(wire >> 3) 17972 wireType := int(wire & 0x7) 17973 if wireType == 4 { 17974 return fmt.Errorf("proto: OneofStdTypes: wiretype end group for non-group") 17975 } 17976 if fieldNum <= 0 { 17977 return fmt.Errorf("proto: OneofStdTypes: illegal tag %d (wire type %d)", fieldNum, wire) 17978 } 17979 switch fieldNum { 17980 case 1: 17981 if wireType != 2 { 17982 return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) 17983 } 17984 var msglen int 17985 for shift := uint(0); ; shift += 7 { 17986 if shift >= 64 { 17987 return ErrIntOverflowTypes 17988 } 17989 if iNdEx >= l { 17990 return io.ErrUnexpectedEOF 17991 } 17992 b := dAtA[iNdEx] 17993 iNdEx++ 17994 msglen |= int(b&0x7F) << shift 17995 if b < 0x80 { 17996 break 17997 } 17998 } 17999 if msglen < 0 { 18000 return ErrInvalidLengthTypes 18001 } 18002 postIndex := iNdEx + msglen 18003 if postIndex < 0 { 18004 return ErrInvalidLengthTypes 18005 } 18006 if postIndex > l { 18007 return io.ErrUnexpectedEOF 18008 } 18009 v := new(time.Time) 18010 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18011 return err 18012 } 18013 m.OneOfStdTimes = &OneofStdTypes_Timestamp{v} 18014 iNdEx = postIndex 18015 case 2: 18016 if wireType != 2 { 18017 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 18018 } 18019 var msglen int 18020 for shift := uint(0); ; shift += 7 { 18021 if shift >= 64 { 18022 return ErrIntOverflowTypes 18023 } 18024 if iNdEx >= l { 18025 return io.ErrUnexpectedEOF 18026 } 18027 b := dAtA[iNdEx] 18028 iNdEx++ 18029 msglen |= int(b&0x7F) << shift 18030 if b < 0x80 { 18031 break 18032 } 18033 } 18034 if msglen < 0 { 18035 return ErrInvalidLengthTypes 18036 } 18037 postIndex := iNdEx + msglen 18038 if postIndex < 0 { 18039 return ErrInvalidLengthTypes 18040 } 18041 if postIndex > l { 18042 return io.ErrUnexpectedEOF 18043 } 18044 v := new(time.Duration) 18045 if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18046 return err 18047 } 18048 m.OneOfStdTimes = &OneofStdTypes_Duration{v} 18049 iNdEx = postIndex 18050 case 3: 18051 if wireType != 2 { 18052 return fmt.Errorf("proto: wrong wireType = %d for field RepDouble", wireType) 18053 } 18054 var msglen int 18055 for shift := uint(0); ; shift += 7 { 18056 if shift >= 64 { 18057 return ErrIntOverflowTypes 18058 } 18059 if iNdEx >= l { 18060 return io.ErrUnexpectedEOF 18061 } 18062 b := dAtA[iNdEx] 18063 iNdEx++ 18064 msglen |= int(b&0x7F) << shift 18065 if b < 0x80 { 18066 break 18067 } 18068 } 18069 if msglen < 0 { 18070 return ErrInvalidLengthTypes 18071 } 18072 postIndex := iNdEx + msglen 18073 if postIndex < 0 { 18074 return ErrInvalidLengthTypes 18075 } 18076 if postIndex > l { 18077 return io.ErrUnexpectedEOF 18078 } 18079 v := new(float64) 18080 if err := github_com_gogo_protobuf_types.StdDoubleUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18081 return err 18082 } 18083 m.OneOfStdTimes = &OneofStdTypes_RepDouble{v} 18084 iNdEx = postIndex 18085 case 4: 18086 if wireType != 2 { 18087 return fmt.Errorf("proto: wrong wireType = %d for field RepFloat", wireType) 18088 } 18089 var msglen int 18090 for shift := uint(0); ; shift += 7 { 18091 if shift >= 64 { 18092 return ErrIntOverflowTypes 18093 } 18094 if iNdEx >= l { 18095 return io.ErrUnexpectedEOF 18096 } 18097 b := dAtA[iNdEx] 18098 iNdEx++ 18099 msglen |= int(b&0x7F) << shift 18100 if b < 0x80 { 18101 break 18102 } 18103 } 18104 if msglen < 0 { 18105 return ErrInvalidLengthTypes 18106 } 18107 postIndex := iNdEx + msglen 18108 if postIndex < 0 { 18109 return ErrInvalidLengthTypes 18110 } 18111 if postIndex > l { 18112 return io.ErrUnexpectedEOF 18113 } 18114 v := new(float32) 18115 if err := github_com_gogo_protobuf_types.StdFloatUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18116 return err 18117 } 18118 m.OneOfStdTimes = &OneofStdTypes_RepFloat{v} 18119 iNdEx = postIndex 18120 case 5: 18121 if wireType != 2 { 18122 return fmt.Errorf("proto: wrong wireType = %d for field RepInt64", wireType) 18123 } 18124 var msglen int 18125 for shift := uint(0); ; shift += 7 { 18126 if shift >= 64 { 18127 return ErrIntOverflowTypes 18128 } 18129 if iNdEx >= l { 18130 return io.ErrUnexpectedEOF 18131 } 18132 b := dAtA[iNdEx] 18133 iNdEx++ 18134 msglen |= int(b&0x7F) << shift 18135 if b < 0x80 { 18136 break 18137 } 18138 } 18139 if msglen < 0 { 18140 return ErrInvalidLengthTypes 18141 } 18142 postIndex := iNdEx + msglen 18143 if postIndex < 0 { 18144 return ErrInvalidLengthTypes 18145 } 18146 if postIndex > l { 18147 return io.ErrUnexpectedEOF 18148 } 18149 v := new(int64) 18150 if err := github_com_gogo_protobuf_types.StdInt64Unmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18151 return err 18152 } 18153 m.OneOfStdTimes = &OneofStdTypes_RepInt64{v} 18154 iNdEx = postIndex 18155 case 6: 18156 if wireType != 2 { 18157 return fmt.Errorf("proto: wrong wireType = %d for field RepUInt64", wireType) 18158 } 18159 var msglen int 18160 for shift := uint(0); ; shift += 7 { 18161 if shift >= 64 { 18162 return ErrIntOverflowTypes 18163 } 18164 if iNdEx >= l { 18165 return io.ErrUnexpectedEOF 18166 } 18167 b := dAtA[iNdEx] 18168 iNdEx++ 18169 msglen |= int(b&0x7F) << shift 18170 if b < 0x80 { 18171 break 18172 } 18173 } 18174 if msglen < 0 { 18175 return ErrInvalidLengthTypes 18176 } 18177 postIndex := iNdEx + msglen 18178 if postIndex < 0 { 18179 return ErrInvalidLengthTypes 18180 } 18181 if postIndex > l { 18182 return io.ErrUnexpectedEOF 18183 } 18184 v := new(uint64) 18185 if err := github_com_gogo_protobuf_types.StdUInt64Unmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18186 return err 18187 } 18188 m.OneOfStdTimes = &OneofStdTypes_RepUInt64{v} 18189 iNdEx = postIndex 18190 case 7: 18191 if wireType != 2 { 18192 return fmt.Errorf("proto: wrong wireType = %d for field RepInt32", wireType) 18193 } 18194 var msglen int 18195 for shift := uint(0); ; shift += 7 { 18196 if shift >= 64 { 18197 return ErrIntOverflowTypes 18198 } 18199 if iNdEx >= l { 18200 return io.ErrUnexpectedEOF 18201 } 18202 b := dAtA[iNdEx] 18203 iNdEx++ 18204 msglen |= int(b&0x7F) << shift 18205 if b < 0x80 { 18206 break 18207 } 18208 } 18209 if msglen < 0 { 18210 return ErrInvalidLengthTypes 18211 } 18212 postIndex := iNdEx + msglen 18213 if postIndex < 0 { 18214 return ErrInvalidLengthTypes 18215 } 18216 if postIndex > l { 18217 return io.ErrUnexpectedEOF 18218 } 18219 v := new(int32) 18220 if err := github_com_gogo_protobuf_types.StdInt32Unmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18221 return err 18222 } 18223 m.OneOfStdTimes = &OneofStdTypes_RepInt32{v} 18224 iNdEx = postIndex 18225 case 8: 18226 if wireType != 2 { 18227 return fmt.Errorf("proto: wrong wireType = %d for field RepUInt32", wireType) 18228 } 18229 var msglen int 18230 for shift := uint(0); ; shift += 7 { 18231 if shift >= 64 { 18232 return ErrIntOverflowTypes 18233 } 18234 if iNdEx >= l { 18235 return io.ErrUnexpectedEOF 18236 } 18237 b := dAtA[iNdEx] 18238 iNdEx++ 18239 msglen |= int(b&0x7F) << shift 18240 if b < 0x80 { 18241 break 18242 } 18243 } 18244 if msglen < 0 { 18245 return ErrInvalidLengthTypes 18246 } 18247 postIndex := iNdEx + msglen 18248 if postIndex < 0 { 18249 return ErrInvalidLengthTypes 18250 } 18251 if postIndex > l { 18252 return io.ErrUnexpectedEOF 18253 } 18254 v := new(uint32) 18255 if err := github_com_gogo_protobuf_types.StdUInt32Unmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18256 return err 18257 } 18258 m.OneOfStdTimes = &OneofStdTypes_RepUInt32{v} 18259 iNdEx = postIndex 18260 case 9: 18261 if wireType != 2 { 18262 return fmt.Errorf("proto: wrong wireType = %d for field RepBool", wireType) 18263 } 18264 var msglen int 18265 for shift := uint(0); ; shift += 7 { 18266 if shift >= 64 { 18267 return ErrIntOverflowTypes 18268 } 18269 if iNdEx >= l { 18270 return io.ErrUnexpectedEOF 18271 } 18272 b := dAtA[iNdEx] 18273 iNdEx++ 18274 msglen |= int(b&0x7F) << shift 18275 if b < 0x80 { 18276 break 18277 } 18278 } 18279 if msglen < 0 { 18280 return ErrInvalidLengthTypes 18281 } 18282 postIndex := iNdEx + msglen 18283 if postIndex < 0 { 18284 return ErrInvalidLengthTypes 18285 } 18286 if postIndex > l { 18287 return io.ErrUnexpectedEOF 18288 } 18289 v := new(bool) 18290 if err := github_com_gogo_protobuf_types.StdBoolUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18291 return err 18292 } 18293 m.OneOfStdTimes = &OneofStdTypes_RepBool{v} 18294 iNdEx = postIndex 18295 case 10: 18296 if wireType != 2 { 18297 return fmt.Errorf("proto: wrong wireType = %d for field RepString", wireType) 18298 } 18299 var msglen int 18300 for shift := uint(0); ; shift += 7 { 18301 if shift >= 64 { 18302 return ErrIntOverflowTypes 18303 } 18304 if iNdEx >= l { 18305 return io.ErrUnexpectedEOF 18306 } 18307 b := dAtA[iNdEx] 18308 iNdEx++ 18309 msglen |= int(b&0x7F) << shift 18310 if b < 0x80 { 18311 break 18312 } 18313 } 18314 if msglen < 0 { 18315 return ErrInvalidLengthTypes 18316 } 18317 postIndex := iNdEx + msglen 18318 if postIndex < 0 { 18319 return ErrInvalidLengthTypes 18320 } 18321 if postIndex > l { 18322 return io.ErrUnexpectedEOF 18323 } 18324 v := new(string) 18325 if err := github_com_gogo_protobuf_types.StdStringUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18326 return err 18327 } 18328 m.OneOfStdTimes = &OneofStdTypes_RepString{v} 18329 iNdEx = postIndex 18330 case 11: 18331 if wireType != 2 { 18332 return fmt.Errorf("proto: wrong wireType = %d for field RepBytes", wireType) 18333 } 18334 var msglen int 18335 for shift := uint(0); ; shift += 7 { 18336 if shift >= 64 { 18337 return ErrIntOverflowTypes 18338 } 18339 if iNdEx >= l { 18340 return io.ErrUnexpectedEOF 18341 } 18342 b := dAtA[iNdEx] 18343 iNdEx++ 18344 msglen |= int(b&0x7F) << shift 18345 if b < 0x80 { 18346 break 18347 } 18348 } 18349 if msglen < 0 { 18350 return ErrInvalidLengthTypes 18351 } 18352 postIndex := iNdEx + msglen 18353 if postIndex < 0 { 18354 return ErrInvalidLengthTypes 18355 } 18356 if postIndex > l { 18357 return io.ErrUnexpectedEOF 18358 } 18359 v := new([]byte) 18360 if err := github_com_gogo_protobuf_types.StdBytesUnmarshal(v, dAtA[iNdEx:postIndex]); err != nil { 18361 return err 18362 } 18363 m.OneOfStdTimes = &OneofStdTypes_RepBytes{v} 18364 iNdEx = postIndex 18365 default: 18366 iNdEx = preIndex 18367 skippy, err := skipTypes(dAtA[iNdEx:]) 18368 if err != nil { 18369 return err 18370 } 18371 if skippy < 0 { 18372 return ErrInvalidLengthTypes 18373 } 18374 if (iNdEx + skippy) < 0 { 18375 return ErrInvalidLengthTypes 18376 } 18377 if (iNdEx + skippy) > l { 18378 return io.ErrUnexpectedEOF 18379 } 18380 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 18381 iNdEx += skippy 18382 } 18383 } 18384 18385 if iNdEx > l { 18386 return io.ErrUnexpectedEOF 18387 } 18388 return nil 18389} 18390func skipTypes(dAtA []byte) (n int, err error) { 18391 l := len(dAtA) 18392 iNdEx := 0 18393 depth := 0 18394 for iNdEx < l { 18395 var wire uint64 18396 for shift := uint(0); ; shift += 7 { 18397 if shift >= 64 { 18398 return 0, ErrIntOverflowTypes 18399 } 18400 if iNdEx >= l { 18401 return 0, io.ErrUnexpectedEOF 18402 } 18403 b := dAtA[iNdEx] 18404 iNdEx++ 18405 wire |= (uint64(b) & 0x7F) << shift 18406 if b < 0x80 { 18407 break 18408 } 18409 } 18410 wireType := int(wire & 0x7) 18411 switch wireType { 18412 case 0: 18413 for shift := uint(0); ; shift += 7 { 18414 if shift >= 64 { 18415 return 0, ErrIntOverflowTypes 18416 } 18417 if iNdEx >= l { 18418 return 0, io.ErrUnexpectedEOF 18419 } 18420 iNdEx++ 18421 if dAtA[iNdEx-1] < 0x80 { 18422 break 18423 } 18424 } 18425 case 1: 18426 iNdEx += 8 18427 case 2: 18428 var length int 18429 for shift := uint(0); ; shift += 7 { 18430 if shift >= 64 { 18431 return 0, ErrIntOverflowTypes 18432 } 18433 if iNdEx >= l { 18434 return 0, io.ErrUnexpectedEOF 18435 } 18436 b := dAtA[iNdEx] 18437 iNdEx++ 18438 length |= (int(b) & 0x7F) << shift 18439 if b < 0x80 { 18440 break 18441 } 18442 } 18443 if length < 0 { 18444 return 0, ErrInvalidLengthTypes 18445 } 18446 iNdEx += length 18447 case 3: 18448 depth++ 18449 case 4: 18450 if depth == 0 { 18451 return 0, ErrUnexpectedEndOfGroupTypes 18452 } 18453 depth-- 18454 case 5: 18455 iNdEx += 4 18456 default: 18457 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 18458 } 18459 if iNdEx < 0 { 18460 return 0, ErrInvalidLengthTypes 18461 } 18462 if depth == 0 { 18463 return iNdEx, nil 18464 } 18465 } 18466 return 0, io.ErrUnexpectedEOF 18467} 18468 18469var ( 18470 ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") 18471 ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") 18472 ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") 18473) 18474