github.com/gogo/protobuf@v1.3.2/test/types/combos/neither/types.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: combos/neither/types.proto 3 4 package types 5 6 import ( 7 bytes "bytes" 8 fmt "fmt" 9 _ "github.com/gogo/protobuf/gogoproto" 10 proto "github.com/gogo/protobuf/proto" 11 github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" 12 types "github.com/gogo/protobuf/types" 13 math "math" 14 math_bits "math/bits" 15 time "time" 16 ) 17 18 // Reference imports to suppress errors if they are not otherwise used. 19 var _ = proto.Marshal 20 var _ = fmt.Errorf 21 var _ = math.Inf 22 var _ = time.Kitchen 23 24 // This is a compile-time assertion to ensure that this generated file 25 // is compatible with the proto package it is being compiled against. 26 // A compilation error at this line likely means your copy of the 27 // proto package needs to be updated. 28 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 29 30 type KnownTypes struct { 31 Dur *types.Duration `protobuf:"bytes,1,opt,name=dur,proto3" json:"dur,omitempty"` 32 Ts *types.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,omitempty"` 33 Dbl *types.DoubleValue `protobuf:"bytes,3,opt,name=dbl,proto3" json:"dbl,omitempty"` 34 Flt *types.FloatValue `protobuf:"bytes,4,opt,name=flt,proto3" json:"flt,omitempty"` 35 I64 *types.Int64Value `protobuf:"bytes,5,opt,name=i64,proto3" json:"i64,omitempty"` 36 U64 *types.UInt64Value `protobuf:"bytes,6,opt,name=u64,proto3" json:"u64,omitempty"` 37 I32 *types.Int32Value `protobuf:"bytes,7,opt,name=i32,proto3" json:"i32,omitempty"` 38 U32 *types.UInt32Value `protobuf:"bytes,8,opt,name=u32,proto3" json:"u32,omitempty"` 39 Bool *types.BoolValue `protobuf:"bytes,9,opt,name=bool,proto3" json:"bool,omitempty"` 40 Str *types.StringValue `protobuf:"bytes,10,opt,name=str,proto3" json:"str,omitempty"` 41 Bytes *types.BytesValue `protobuf:"bytes,11,opt,name=bytes,proto3" json:"bytes,omitempty"` 42 // TODO uncomment this once https://github.com/gogo/protobuf/issues/197 is fixed 43 St *types.Struct `protobuf:"bytes,12,opt,name=st,proto3" json:"st,omitempty"` 44 XXX_NoUnkeyedLiteral struct{} `json:"-"` 45 XXX_unrecognized []byte `json:"-"` 46 XXX_sizecache int32 `json:"-"` 47 } 48 49 func (m *KnownTypes) Reset() { *m = KnownTypes{} } 50 func (m *KnownTypes) String() string { return proto.CompactTextString(m) } 51 func (*KnownTypes) ProtoMessage() {} 52 func (*KnownTypes) Descriptor() ([]byte, []int) { 53 return fileDescriptor_8a0195d9a3743479, []int{0} 54 } 55 func (m *KnownTypes) XXX_Unmarshal(b []byte) error { 56 return xxx_messageInfo_KnownTypes.Unmarshal(m, b) 57 } 58 func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 59 return xxx_messageInfo_KnownTypes.Marshal(b, m, deterministic) 60 } 61 func (m *KnownTypes) XXX_Merge(src proto.Message) { 62 xxx_messageInfo_KnownTypes.Merge(m, src) 63 } 64 func (m *KnownTypes) XXX_Size() int { 65 return xxx_messageInfo_KnownTypes.Size(m) 66 } 67 func (m *KnownTypes) XXX_DiscardUnknown() { 68 xxx_messageInfo_KnownTypes.DiscardUnknown(m) 69 } 70 71 var xxx_messageInfo_KnownTypes proto.InternalMessageInfo 72 73 func (m *KnownTypes) GetDur() *types.Duration { 74 if m != nil { 75 return m.Dur 76 } 77 return nil 78 } 79 80 func (m *KnownTypes) GetTs() *types.Timestamp { 81 if m != nil { 82 return m.Ts 83 } 84 return nil 85 } 86 87 func (m *KnownTypes) GetDbl() *types.DoubleValue { 88 if m != nil { 89 return m.Dbl 90 } 91 return nil 92 } 93 94 func (m *KnownTypes) GetFlt() *types.FloatValue { 95 if m != nil { 96 return m.Flt 97 } 98 return nil 99 } 100 101 func (m *KnownTypes) GetI64() *types.Int64Value { 102 if m != nil { 103 return m.I64 104 } 105 return nil 106 } 107 108 func (m *KnownTypes) GetU64() *types.UInt64Value { 109 if m != nil { 110 return m.U64 111 } 112 return nil 113 } 114 115 func (m *KnownTypes) GetI32() *types.Int32Value { 116 if m != nil { 117 return m.I32 118 } 119 return nil 120 } 121 122 func (m *KnownTypes) GetU32() *types.UInt32Value { 123 if m != nil { 124 return m.U32 125 } 126 return nil 127 } 128 129 func (m *KnownTypes) GetBool() *types.BoolValue { 130 if m != nil { 131 return m.Bool 132 } 133 return nil 134 } 135 136 func (m *KnownTypes) GetStr() *types.StringValue { 137 if m != nil { 138 return m.Str 139 } 140 return nil 141 } 142 143 func (m *KnownTypes) GetBytes() *types.BytesValue { 144 if m != nil { 145 return m.Bytes 146 } 147 return nil 148 } 149 150 func (m *KnownTypes) GetSt() *types.Struct { 151 if m != nil { 152 return m.St 153 } 154 return nil 155 } 156 157 type ProtoTypes struct { 158 NullableTimestamp *types.Timestamp `protobuf:"bytes,1,opt,name=nullableTimestamp,proto3" json:"nullableTimestamp,omitempty"` 159 NullableDuration *types.Duration `protobuf:"bytes,2,opt,name=nullableDuration,proto3" json:"nullableDuration,omitempty"` 160 NullableDouble *types.DoubleValue `protobuf:"bytes,3,opt,name=nullableDouble,proto3" json:"nullableDouble,omitempty"` 161 NullableFloat *types.FloatValue `protobuf:"bytes,4,opt,name=nullableFloat,proto3" json:"nullableFloat,omitempty"` 162 NullableInt64 *types.Int64Value `protobuf:"bytes,5,opt,name=nullableInt64,proto3" json:"nullableInt64,omitempty"` 163 NullableUInt64 *types.UInt64Value `protobuf:"bytes,6,opt,name=nullableUInt64,proto3" json:"nullableUInt64,omitempty"` 164 NullableInt32 *types.Int32Value `protobuf:"bytes,7,opt,name=nullableInt32,proto3" json:"nullableInt32,omitempty"` 165 NullableUInt32 *types.UInt32Value `protobuf:"bytes,8,opt,name=nullableUInt32,proto3" json:"nullableUInt32,omitempty"` 166 NullableBool *types.BoolValue `protobuf:"bytes,9,opt,name=nullableBool,proto3" json:"nullableBool,omitempty"` 167 NullableString *types.StringValue `protobuf:"bytes,10,opt,name=nullableString,proto3" json:"nullableString,omitempty"` 168 NullableBytes *types.BytesValue `protobuf:"bytes,11,opt,name=nullableBytes,proto3" json:"nullableBytes,omitempty"` 169 Timestamp types.Timestamp `protobuf:"bytes,12,opt,name=timestamp,proto3" json:"timestamp"` 170 Duration types.Duration `protobuf:"bytes,13,opt,name=duration,proto3" json:"duration"` 171 NonnullDouble types.DoubleValue `protobuf:"bytes,14,opt,name=nonnullDouble,proto3" json:"nonnullDouble"` 172 NonnullFloat types.FloatValue `protobuf:"bytes,15,opt,name=nonnullFloat,proto3" json:"nonnullFloat"` 173 NonnullInt64 types.Int64Value `protobuf:"bytes,16,opt,name=nonnullInt64,proto3" json:"nonnullInt64"` 174 NonnullUInt64 types.UInt64Value `protobuf:"bytes,17,opt,name=nonnullUInt64,proto3" json:"nonnullUInt64"` 175 NonnullInt32 types.Int32Value `protobuf:"bytes,18,opt,name=nonnullInt32,proto3" json:"nonnullInt32"` 176 NonnullUInt32 types.UInt32Value `protobuf:"bytes,19,opt,name=nonnullUInt32,proto3" json:"nonnullUInt32"` 177 NonnullBool types.BoolValue `protobuf:"bytes,20,opt,name=nonnullBool,proto3" json:"nonnullBool"` 178 NonnullString types.StringValue `protobuf:"bytes,21,opt,name=nonnullString,proto3" json:"nonnullString"` 179 NonnullBytes types.BytesValue `protobuf:"bytes,22,opt,name=nonnullBytes,proto3" json:"nonnullBytes"` 180 XXX_NoUnkeyedLiteral struct{} `json:"-"` 181 XXX_unrecognized []byte `json:"-"` 182 XXX_sizecache int32 `json:"-"` 183 } 184 185 func (m *ProtoTypes) Reset() { *m = ProtoTypes{} } 186 func (m *ProtoTypes) String() string { return proto.CompactTextString(m) } 187 func (*ProtoTypes) ProtoMessage() {} 188 func (*ProtoTypes) Descriptor() ([]byte, []int) { 189 return fileDescriptor_8a0195d9a3743479, []int{1} 190 } 191 func (m *ProtoTypes) XXX_Unmarshal(b []byte) error { 192 return xxx_messageInfo_ProtoTypes.Unmarshal(m, b) 193 } 194 func (m *ProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 195 return xxx_messageInfo_ProtoTypes.Marshal(b, m, deterministic) 196 } 197 func (m *ProtoTypes) XXX_Merge(src proto.Message) { 198 xxx_messageInfo_ProtoTypes.Merge(m, src) 199 } 200 func (m *ProtoTypes) XXX_Size() int { 201 return xxx_messageInfo_ProtoTypes.Size(m) 202 } 203 func (m *ProtoTypes) XXX_DiscardUnknown() { 204 xxx_messageInfo_ProtoTypes.DiscardUnknown(m) 205 } 206 207 var xxx_messageInfo_ProtoTypes proto.InternalMessageInfo 208 209 func (m *ProtoTypes) GetNullableTimestamp() *types.Timestamp { 210 if m != nil { 211 return m.NullableTimestamp 212 } 213 return nil 214 } 215 216 func (m *ProtoTypes) GetNullableDuration() *types.Duration { 217 if m != nil { 218 return m.NullableDuration 219 } 220 return nil 221 } 222 223 func (m *ProtoTypes) GetNullableDouble() *types.DoubleValue { 224 if m != nil { 225 return m.NullableDouble 226 } 227 return nil 228 } 229 230 func (m *ProtoTypes) GetNullableFloat() *types.FloatValue { 231 if m != nil { 232 return m.NullableFloat 233 } 234 return nil 235 } 236 237 func (m *ProtoTypes) GetNullableInt64() *types.Int64Value { 238 if m != nil { 239 return m.NullableInt64 240 } 241 return nil 242 } 243 244 func (m *ProtoTypes) GetNullableUInt64() *types.UInt64Value { 245 if m != nil { 246 return m.NullableUInt64 247 } 248 return nil 249 } 250 251 func (m *ProtoTypes) GetNullableInt32() *types.Int32Value { 252 if m != nil { 253 return m.NullableInt32 254 } 255 return nil 256 } 257 258 func (m *ProtoTypes) GetNullableUInt32() *types.UInt32Value { 259 if m != nil { 260 return m.NullableUInt32 261 } 262 return nil 263 } 264 265 func (m *ProtoTypes) GetNullableBool() *types.BoolValue { 266 if m != nil { 267 return m.NullableBool 268 } 269 return nil 270 } 271 272 func (m *ProtoTypes) GetNullableString() *types.StringValue { 273 if m != nil { 274 return m.NullableString 275 } 276 return nil 277 } 278 279 func (m *ProtoTypes) GetNullableBytes() *types.BytesValue { 280 if m != nil { 281 return m.NullableBytes 282 } 283 return nil 284 } 285 286 func (m *ProtoTypes) GetTimestamp() types.Timestamp { 287 if m != nil { 288 return m.Timestamp 289 } 290 return types.Timestamp{} 291 } 292 293 func (m *ProtoTypes) GetDuration() types.Duration { 294 if m != nil { 295 return m.Duration 296 } 297 return types.Duration{} 298 } 299 300 func (m *ProtoTypes) GetNonnullDouble() types.DoubleValue { 301 if m != nil { 302 return m.NonnullDouble 303 } 304 return types.DoubleValue{} 305 } 306 307 func (m *ProtoTypes) GetNonnullFloat() types.FloatValue { 308 if m != nil { 309 return m.NonnullFloat 310 } 311 return types.FloatValue{} 312 } 313 314 func (m *ProtoTypes) GetNonnullInt64() types.Int64Value { 315 if m != nil { 316 return m.NonnullInt64 317 } 318 return types.Int64Value{} 319 } 320 321 func (m *ProtoTypes) GetNonnullUInt64() types.UInt64Value { 322 if m != nil { 323 return m.NonnullUInt64 324 } 325 return types.UInt64Value{} 326 } 327 328 func (m *ProtoTypes) GetNonnullInt32() types.Int32Value { 329 if m != nil { 330 return m.NonnullInt32 331 } 332 return types.Int32Value{} 333 } 334 335 func (m *ProtoTypes) GetNonnullUInt32() types.UInt32Value { 336 if m != nil { 337 return m.NonnullUInt32 338 } 339 return types.UInt32Value{} 340 } 341 342 func (m *ProtoTypes) GetNonnullBool() types.BoolValue { 343 if m != nil { 344 return m.NonnullBool 345 } 346 return types.BoolValue{} 347 } 348 349 func (m *ProtoTypes) GetNonnullString() types.StringValue { 350 if m != nil { 351 return m.NonnullString 352 } 353 return types.StringValue{} 354 } 355 356 func (m *ProtoTypes) GetNonnullBytes() types.BytesValue { 357 if m != nil { 358 return m.NonnullBytes 359 } 360 return types.BytesValue{} 361 } 362 363 type StdTypes struct { 364 NullableTimestamp *time.Time `protobuf:"bytes,1,opt,name=nullableTimestamp,proto3,stdtime" json:"nullableTimestamp,omitempty"` 365 NullableDuration *time.Duration `protobuf:"bytes,2,opt,name=nullableDuration,proto3,stdduration" json:"nullableDuration,omitempty"` 366 NullableDouble *float64 `protobuf:"bytes,3,opt,name=nullableDouble,proto3,wktptr" json:"nullableDouble,omitempty"` 367 NullableFloat *float32 `protobuf:"bytes,4,opt,name=nullableFloat,proto3,wktptr" json:"nullableFloat,omitempty"` 368 NullableInt64 *int64 `protobuf:"bytes,5,opt,name=nullableInt64,proto3,wktptr" json:"nullableInt64,omitempty"` 369 NullableUInt64 *uint64 `protobuf:"bytes,6,opt,name=nullableUInt64,proto3,wktptr" json:"nullableUInt64,omitempty"` 370 NullableInt32 *int32 `protobuf:"bytes,7,opt,name=nullableInt32,proto3,wktptr" json:"nullableInt32,omitempty"` 371 NullableUInt32 *uint32 `protobuf:"bytes,8,opt,name=nullableUInt32,proto3,wktptr" json:"nullableUInt32,omitempty"` 372 NullableBool *bool `protobuf:"bytes,9,opt,name=nullableBool,proto3,wktptr" json:"nullableBool,omitempty"` 373 NullableString *string `protobuf:"bytes,10,opt,name=nullableString,proto3,wktptr" json:"nullableString,omitempty"` 374 NullableBytes *[]byte `protobuf:"bytes,11,opt,name=nullableBytes,proto3,wktptr" json:"nullableBytes,omitempty"` 375 Timestamp time.Time `protobuf:"bytes,12,opt,name=timestamp,proto3,stdtime" json:"timestamp"` 376 Duration time.Duration `protobuf:"bytes,13,opt,name=duration,proto3,stdduration" json:"duration"` 377 NonnullDouble float64 `protobuf:"bytes,14,opt,name=nonnullDouble,proto3,wktptr" json:"nonnullDouble"` 378 NonnullFloat float32 `protobuf:"bytes,15,opt,name=nonnullFloat,proto3,wktptr" json:"nonnullFloat"` 379 NonnullInt64 int64 `protobuf:"bytes,16,opt,name=nonnullInt64,proto3,wktptr" json:"nonnullInt64"` 380 NonnullUInt64 uint64 `protobuf:"bytes,17,opt,name=nonnullUInt64,proto3,wktptr" json:"nonnullUInt64"` 381 NonnullInt32 int32 `protobuf:"bytes,18,opt,name=nonnullInt32,proto3,wktptr" json:"nonnullInt32"` 382 NonnullUInt32 uint32 `protobuf:"bytes,19,opt,name=nonnullUInt32,proto3,wktptr" json:"nonnullUInt32"` 383 NonnullBool bool `protobuf:"bytes,20,opt,name=nonnullBool,proto3,wktptr" json:"nonnullBool"` 384 NonnullString string `protobuf:"bytes,21,opt,name=nonnullString,proto3,wktptr" json:"nonnullString"` 385 NonnullBytes []byte `protobuf:"bytes,22,opt,name=nonnullBytes,proto3,wktptr" json:"nonnullBytes"` 386 XXX_NoUnkeyedLiteral struct{} `json:"-"` 387 XXX_unrecognized []byte `json:"-"` 388 XXX_sizecache int32 `json:"-"` 389 } 390 391 func (m *StdTypes) Reset() { *m = StdTypes{} } 392 func (m *StdTypes) String() string { return proto.CompactTextString(m) } 393 func (*StdTypes) ProtoMessage() {} 394 func (*StdTypes) Descriptor() ([]byte, []int) { 395 return fileDescriptor_8a0195d9a3743479, []int{2} 396 } 397 func (m *StdTypes) XXX_Unmarshal(b []byte) error { 398 return xxx_messageInfo_StdTypes.Unmarshal(m, b) 399 } 400 func (m *StdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 401 return xxx_messageInfo_StdTypes.Marshal(b, m, deterministic) 402 } 403 func (m *StdTypes) XXX_Merge(src proto.Message) { 404 xxx_messageInfo_StdTypes.Merge(m, src) 405 } 406 func (m *StdTypes) XXX_Size() int { 407 return xxx_messageInfo_StdTypes.Size(m) 408 } 409 func (m *StdTypes) XXX_DiscardUnknown() { 410 xxx_messageInfo_StdTypes.DiscardUnknown(m) 411 } 412 413 var xxx_messageInfo_StdTypes proto.InternalMessageInfo 414 415 func (m *StdTypes) GetNullableTimestamp() *time.Time { 416 if m != nil { 417 return m.NullableTimestamp 418 } 419 return nil 420 } 421 422 func (m *StdTypes) GetNullableDuration() *time.Duration { 423 if m != nil { 424 return m.NullableDuration 425 } 426 return nil 427 } 428 429 func (m *StdTypes) GetNullableDouble() *float64 { 430 if m != nil { 431 return m.NullableDouble 432 } 433 return nil 434 } 435 436 func (m *StdTypes) GetNullableFloat() *float32 { 437 if m != nil { 438 return m.NullableFloat 439 } 440 return nil 441 } 442 443 func (m *StdTypes) GetNullableInt64() *int64 { 444 if m != nil { 445 return m.NullableInt64 446 } 447 return nil 448 } 449 450 func (m *StdTypes) GetNullableUInt64() *uint64 { 451 if m != nil { 452 return m.NullableUInt64 453 } 454 return nil 455 } 456 457 func (m *StdTypes) GetNullableInt32() *int32 { 458 if m != nil { 459 return m.NullableInt32 460 } 461 return nil 462 } 463 464 func (m *StdTypes) GetNullableUInt32() *uint32 { 465 if m != nil { 466 return m.NullableUInt32 467 } 468 return nil 469 } 470 471 func (m *StdTypes) GetNullableBool() *bool { 472 if m != nil { 473 return m.NullableBool 474 } 475 return nil 476 } 477 478 func (m *StdTypes) GetNullableString() *string { 479 if m != nil { 480 return m.NullableString 481 } 482 return nil 483 } 484 485 func (m *StdTypes) GetNullableBytes() *[]byte { 486 if m != nil { 487 return m.NullableBytes 488 } 489 return nil 490 } 491 492 func (m *StdTypes) GetTimestamp() time.Time { 493 if m != nil { 494 return m.Timestamp 495 } 496 return time.Time{} 497 } 498 499 func (m *StdTypes) GetDuration() time.Duration { 500 if m != nil { 501 return m.Duration 502 } 503 return 0 504 } 505 506 func (m *StdTypes) GetNonnullDouble() float64 { 507 if m != nil { 508 return m.NonnullDouble 509 } 510 return 0 511 } 512 513 func (m *StdTypes) GetNonnullFloat() float32 { 514 if m != nil { 515 return m.NonnullFloat 516 } 517 return 0 518 } 519 520 func (m *StdTypes) GetNonnullInt64() int64 { 521 if m != nil { 522 return m.NonnullInt64 523 } 524 return 0 525 } 526 527 func (m *StdTypes) GetNonnullUInt64() uint64 { 528 if m != nil { 529 return m.NonnullUInt64 530 } 531 return 0 532 } 533 534 func (m *StdTypes) GetNonnullInt32() int32 { 535 if m != nil { 536 return m.NonnullInt32 537 } 538 return 0 539 } 540 541 func (m *StdTypes) GetNonnullUInt32() uint32 { 542 if m != nil { 543 return m.NonnullUInt32 544 } 545 return 0 546 } 547 548 func (m *StdTypes) GetNonnullBool() bool { 549 if m != nil { 550 return m.NonnullBool 551 } 552 return false 553 } 554 555 func (m *StdTypes) GetNonnullString() string { 556 if m != nil { 557 return m.NonnullString 558 } 559 return "" 560 } 561 562 func (m *StdTypes) GetNonnullBytes() []byte { 563 if m != nil { 564 return m.NonnullBytes 565 } 566 return []byte{} 567 } 568 569 type RepProtoTypes struct { 570 NullableTimestamps []*types.Timestamp `protobuf:"bytes,1,rep,name=nullableTimestamps,proto3" json:"nullableTimestamps,omitempty"` 571 NullableDurations []*types.Duration `protobuf:"bytes,2,rep,name=nullableDurations,proto3" json:"nullableDurations,omitempty"` 572 Timestamps []types.Timestamp `protobuf:"bytes,3,rep,name=timestamps,proto3" json:"timestamps"` 573 Durations []types.Duration `protobuf:"bytes,4,rep,name=durations,proto3" json:"durations"` 574 NullableDouble []*types.DoubleValue `protobuf:"bytes,5,rep,name=nullableDouble,proto3" json:"nullableDouble,omitempty"` 575 NonnullDouble []types.DoubleValue `protobuf:"bytes,6,rep,name=nonnullDouble,proto3" json:"nonnullDouble"` 576 NullableFloat []*types.FloatValue `protobuf:"bytes,7,rep,name=nullableFloat,proto3" json:"nullableFloat,omitempty"` 577 NonnullFloat []types.FloatValue `protobuf:"bytes,8,rep,name=nonnullFloat,proto3" json:"nonnullFloat"` 578 NullableInt64 []*types.Int64Value `protobuf:"bytes,9,rep,name=nullableInt64,proto3" json:"nullableInt64,omitempty"` 579 NonnullInt64 []types.Int64Value `protobuf:"bytes,10,rep,name=nonnullInt64,proto3" json:"nonnullInt64"` 580 NullableUInt64 []*types.UInt64Value `protobuf:"bytes,11,rep,name=nullableUInt64,proto3" json:"nullableUInt64,omitempty"` 581 NonnullUInt64 []types.UInt64Value `protobuf:"bytes,12,rep,name=nonnullUInt64,proto3" json:"nonnullUInt64"` 582 NullableInt32 []*types.Int32Value `protobuf:"bytes,13,rep,name=nullableInt32,proto3" json:"nullableInt32,omitempty"` 583 NonnullInt32 []types.Int32Value `protobuf:"bytes,14,rep,name=nonnullInt32,proto3" json:"nonnullInt32"` 584 NullableUInt32 []*types.UInt32Value `protobuf:"bytes,15,rep,name=nullableUInt32,proto3" json:"nullableUInt32,omitempty"` 585 NonnullUInt32 []types.UInt32Value `protobuf:"bytes,16,rep,name=nonnullUInt32,proto3" json:"nonnullUInt32"` 586 NullableBool []*types.BoolValue `protobuf:"bytes,17,rep,name=nullableBool,proto3" json:"nullableBool,omitempty"` 587 NonnullBool []types.BoolValue `protobuf:"bytes,18,rep,name=nonnullBool,proto3" json:"nonnullBool"` 588 NullableString []*types.StringValue `protobuf:"bytes,19,rep,name=nullableString,proto3" json:"nullableString,omitempty"` 589 NonnullString []types.StringValue `protobuf:"bytes,20,rep,name=nonnullString,proto3" json:"nonnullString"` 590 NullableBytes []*types.BytesValue `protobuf:"bytes,21,rep,name=nullableBytes,proto3" json:"nullableBytes,omitempty"` 591 NonnullBytes []types.BytesValue `protobuf:"bytes,22,rep,name=nonnullBytes,proto3" json:"nonnullBytes"` 592 XXX_NoUnkeyedLiteral struct{} `json:"-"` 593 XXX_unrecognized []byte `json:"-"` 594 XXX_sizecache int32 `json:"-"` 595 } 596 597 func (m *RepProtoTypes) Reset() { *m = RepProtoTypes{} } 598 func (m *RepProtoTypes) String() string { return proto.CompactTextString(m) } 599 func (*RepProtoTypes) ProtoMessage() {} 600 func (*RepProtoTypes) Descriptor() ([]byte, []int) { 601 return fileDescriptor_8a0195d9a3743479, []int{3} 602 } 603 func (m *RepProtoTypes) XXX_Unmarshal(b []byte) error { 604 return xxx_messageInfo_RepProtoTypes.Unmarshal(m, b) 605 } 606 func (m *RepProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 607 return xxx_messageInfo_RepProtoTypes.Marshal(b, m, deterministic) 608 } 609 func (m *RepProtoTypes) XXX_Merge(src proto.Message) { 610 xxx_messageInfo_RepProtoTypes.Merge(m, src) 611 } 612 func (m *RepProtoTypes) XXX_Size() int { 613 return xxx_messageInfo_RepProtoTypes.Size(m) 614 } 615 func (m *RepProtoTypes) XXX_DiscardUnknown() { 616 xxx_messageInfo_RepProtoTypes.DiscardUnknown(m) 617 } 618 619 var xxx_messageInfo_RepProtoTypes proto.InternalMessageInfo 620 621 func (m *RepProtoTypes) GetNullableTimestamps() []*types.Timestamp { 622 if m != nil { 623 return m.NullableTimestamps 624 } 625 return nil 626 } 627 628 func (m *RepProtoTypes) GetNullableDurations() []*types.Duration { 629 if m != nil { 630 return m.NullableDurations 631 } 632 return nil 633 } 634 635 func (m *RepProtoTypes) GetTimestamps() []types.Timestamp { 636 if m != nil { 637 return m.Timestamps 638 } 639 return nil 640 } 641 642 func (m *RepProtoTypes) GetDurations() []types.Duration { 643 if m != nil { 644 return m.Durations 645 } 646 return nil 647 } 648 649 func (m *RepProtoTypes) GetNullableDouble() []*types.DoubleValue { 650 if m != nil { 651 return m.NullableDouble 652 } 653 return nil 654 } 655 656 func (m *RepProtoTypes) GetNonnullDouble() []types.DoubleValue { 657 if m != nil { 658 return m.NonnullDouble 659 } 660 return nil 661 } 662 663 func (m *RepProtoTypes) GetNullableFloat() []*types.FloatValue { 664 if m != nil { 665 return m.NullableFloat 666 } 667 return nil 668 } 669 670 func (m *RepProtoTypes) GetNonnullFloat() []types.FloatValue { 671 if m != nil { 672 return m.NonnullFloat 673 } 674 return nil 675 } 676 677 func (m *RepProtoTypes) GetNullableInt64() []*types.Int64Value { 678 if m != nil { 679 return m.NullableInt64 680 } 681 return nil 682 } 683 684 func (m *RepProtoTypes) GetNonnullInt64() []types.Int64Value { 685 if m != nil { 686 return m.NonnullInt64 687 } 688 return nil 689 } 690 691 func (m *RepProtoTypes) GetNullableUInt64() []*types.UInt64Value { 692 if m != nil { 693 return m.NullableUInt64 694 } 695 return nil 696 } 697 698 func (m *RepProtoTypes) GetNonnullUInt64() []types.UInt64Value { 699 if m != nil { 700 return m.NonnullUInt64 701 } 702 return nil 703 } 704 705 func (m *RepProtoTypes) GetNullableInt32() []*types.Int32Value { 706 if m != nil { 707 return m.NullableInt32 708 } 709 return nil 710 } 711 712 func (m *RepProtoTypes) GetNonnullInt32() []types.Int32Value { 713 if m != nil { 714 return m.NonnullInt32 715 } 716 return nil 717 } 718 719 func (m *RepProtoTypes) GetNullableUInt32() []*types.UInt32Value { 720 if m != nil { 721 return m.NullableUInt32 722 } 723 return nil 724 } 725 726 func (m *RepProtoTypes) GetNonnullUInt32() []types.UInt32Value { 727 if m != nil { 728 return m.NonnullUInt32 729 } 730 return nil 731 } 732 733 func (m *RepProtoTypes) GetNullableBool() []*types.BoolValue { 734 if m != nil { 735 return m.NullableBool 736 } 737 return nil 738 } 739 740 func (m *RepProtoTypes) GetNonnullBool() []types.BoolValue { 741 if m != nil { 742 return m.NonnullBool 743 } 744 return nil 745 } 746 747 func (m *RepProtoTypes) GetNullableString() []*types.StringValue { 748 if m != nil { 749 return m.NullableString 750 } 751 return nil 752 } 753 754 func (m *RepProtoTypes) GetNonnullString() []types.StringValue { 755 if m != nil { 756 return m.NonnullString 757 } 758 return nil 759 } 760 761 func (m *RepProtoTypes) GetNullableBytes() []*types.BytesValue { 762 if m != nil { 763 return m.NullableBytes 764 } 765 return nil 766 } 767 768 func (m *RepProtoTypes) GetNonnullBytes() []types.BytesValue { 769 if m != nil { 770 return m.NonnullBytes 771 } 772 return nil 773 } 774 775 type RepStdTypes struct { 776 NullableTimestamps []*time.Time `protobuf:"bytes,1,rep,name=nullableTimestamps,proto3,stdtime" json:"nullableTimestamps,omitempty"` 777 NullableDurations []*time.Duration `protobuf:"bytes,2,rep,name=nullableDurations,proto3,stdduration" json:"nullableDurations,omitempty"` 778 Timestamps []time.Time `protobuf:"bytes,3,rep,name=timestamps,proto3,stdtime" json:"timestamps"` 779 Durations []time.Duration `protobuf:"bytes,4,rep,name=durations,proto3,stdduration" json:"durations"` 780 NullableDouble []*float64 `protobuf:"bytes,5,rep,name=nullableDouble,proto3,wktptr" json:"nullableDouble,omitempty"` 781 NonnullDouble []float64 `protobuf:"bytes,6,rep,name=nonnullDouble,proto3,wktptr" json:"nonnullDouble"` 782 NullableFloat []*float32 `protobuf:"bytes,7,rep,name=nullableFloat,proto3,wktptr" json:"nullableFloat,omitempty"` 783 NonnullFloat []float32 `protobuf:"bytes,8,rep,name=nonnullFloat,proto3,wktptr" json:"nonnullFloat"` 784 NullableInt64 []*int64 `protobuf:"bytes,9,rep,name=nullableInt64,proto3,wktptr" json:"nullableInt64,omitempty"` 785 NonnullInt64 []int64 `protobuf:"bytes,10,rep,name=nonnullInt64,proto3,wktptr" json:"nonnullInt64"` 786 NullableUInt64 []*uint64 `protobuf:"bytes,11,rep,name=nullableUInt64,proto3,wktptr" json:"nullableUInt64,omitempty"` 787 NonnullUInt64 []uint64 `protobuf:"bytes,12,rep,name=nonnullUInt64,proto3,wktptr" json:"nonnullUInt64"` 788 NullableInt32 []*int32 `protobuf:"bytes,13,rep,name=nullableInt32,proto3,wktptr" json:"nullableInt32,omitempty"` 789 NonnullInt32 []int32 `protobuf:"bytes,14,rep,name=nonnullInt32,proto3,wktptr" json:"nonnullInt32"` 790 NullableUInt32 []*uint32 `protobuf:"bytes,15,rep,name=nullableUInt32,proto3,wktptr" json:"nullableUInt32,omitempty"` 791 NonnullUInt32 []uint32 `protobuf:"bytes,16,rep,name=nonnullUInt32,proto3,wktptr" json:"nonnullUInt32"` 792 NullableBool []*bool `protobuf:"bytes,17,rep,name=nullableBool,proto3,wktptr" json:"nullableBool,omitempty"` 793 NonnullBool []bool `protobuf:"bytes,18,rep,name=nonnullBool,proto3,wktptr" json:"nonnullBool"` 794 NullableString []*string `protobuf:"bytes,19,rep,name=nullableString,proto3,wktptr" json:"nullableString,omitempty"` 795 NonnullString []string `protobuf:"bytes,20,rep,name=nonnullString,proto3,wktptr" json:"nonnullString"` 796 NullableBytes []*[]byte `protobuf:"bytes,21,rep,name=nullableBytes,proto3,wktptr" json:"nullableBytes,omitempty"` 797 NonnullBytes [][]byte `protobuf:"bytes,22,rep,name=nonnullBytes,proto3,wktptr" json:"nonnullBytes"` 798 XXX_NoUnkeyedLiteral struct{} `json:"-"` 799 XXX_unrecognized []byte `json:"-"` 800 XXX_sizecache int32 `json:"-"` 801 } 802 803 func (m *RepStdTypes) Reset() { *m = RepStdTypes{} } 804 func (m *RepStdTypes) String() string { return proto.CompactTextString(m) } 805 func (*RepStdTypes) ProtoMessage() {} 806 func (*RepStdTypes) Descriptor() ([]byte, []int) { 807 return fileDescriptor_8a0195d9a3743479, []int{4} 808 } 809 func (m *RepStdTypes) XXX_Unmarshal(b []byte) error { 810 return xxx_messageInfo_RepStdTypes.Unmarshal(m, b) 811 } 812 func (m *RepStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 813 return xxx_messageInfo_RepStdTypes.Marshal(b, m, deterministic) 814 } 815 func (m *RepStdTypes) XXX_Merge(src proto.Message) { 816 xxx_messageInfo_RepStdTypes.Merge(m, src) 817 } 818 func (m *RepStdTypes) XXX_Size() int { 819 return xxx_messageInfo_RepStdTypes.Size(m) 820 } 821 func (m *RepStdTypes) XXX_DiscardUnknown() { 822 xxx_messageInfo_RepStdTypes.DiscardUnknown(m) 823 } 824 825 var xxx_messageInfo_RepStdTypes proto.InternalMessageInfo 826 827 func (m *RepStdTypes) GetNullableTimestamps() []*time.Time { 828 if m != nil { 829 return m.NullableTimestamps 830 } 831 return nil 832 } 833 834 func (m *RepStdTypes) GetNullableDurations() []*time.Duration { 835 if m != nil { 836 return m.NullableDurations 837 } 838 return nil 839 } 840 841 func (m *RepStdTypes) GetTimestamps() []time.Time { 842 if m != nil { 843 return m.Timestamps 844 } 845 return nil 846 } 847 848 func (m *RepStdTypes) GetDurations() []time.Duration { 849 if m != nil { 850 return m.Durations 851 } 852 return nil 853 } 854 855 func (m *RepStdTypes) GetNullableDouble() []*float64 { 856 if m != nil { 857 return m.NullableDouble 858 } 859 return nil 860 } 861 862 func (m *RepStdTypes) GetNonnullDouble() []float64 { 863 if m != nil { 864 return m.NonnullDouble 865 } 866 return nil 867 } 868 869 func (m *RepStdTypes) GetNullableFloat() []*float32 { 870 if m != nil { 871 return m.NullableFloat 872 } 873 return nil 874 } 875 876 func (m *RepStdTypes) GetNonnullFloat() []float32 { 877 if m != nil { 878 return m.NonnullFloat 879 } 880 return nil 881 } 882 883 func (m *RepStdTypes) GetNullableInt64() []*int64 { 884 if m != nil { 885 return m.NullableInt64 886 } 887 return nil 888 } 889 890 func (m *RepStdTypes) GetNonnullInt64() []int64 { 891 if m != nil { 892 return m.NonnullInt64 893 } 894 return nil 895 } 896 897 func (m *RepStdTypes) GetNullableUInt64() []*uint64 { 898 if m != nil { 899 return m.NullableUInt64 900 } 901 return nil 902 } 903 904 func (m *RepStdTypes) GetNonnullUInt64() []uint64 { 905 if m != nil { 906 return m.NonnullUInt64 907 } 908 return nil 909 } 910 911 func (m *RepStdTypes) GetNullableInt32() []*int32 { 912 if m != nil { 913 return m.NullableInt32 914 } 915 return nil 916 } 917 918 func (m *RepStdTypes) GetNonnullInt32() []int32 { 919 if m != nil { 920 return m.NonnullInt32 921 } 922 return nil 923 } 924 925 func (m *RepStdTypes) GetNullableUInt32() []*uint32 { 926 if m != nil { 927 return m.NullableUInt32 928 } 929 return nil 930 } 931 932 func (m *RepStdTypes) GetNonnullUInt32() []uint32 { 933 if m != nil { 934 return m.NonnullUInt32 935 } 936 return nil 937 } 938 939 func (m *RepStdTypes) GetNullableBool() []*bool { 940 if m != nil { 941 return m.NullableBool 942 } 943 return nil 944 } 945 946 func (m *RepStdTypes) GetNonnullBool() []bool { 947 if m != nil { 948 return m.NonnullBool 949 } 950 return nil 951 } 952 953 func (m *RepStdTypes) GetNullableString() []*string { 954 if m != nil { 955 return m.NullableString 956 } 957 return nil 958 } 959 960 func (m *RepStdTypes) GetNonnullString() []string { 961 if m != nil { 962 return m.NonnullString 963 } 964 return nil 965 } 966 967 func (m *RepStdTypes) GetNullableBytes() []*[]byte { 968 if m != nil { 969 return m.NullableBytes 970 } 971 return nil 972 } 973 974 func (m *RepStdTypes) GetNonnullBytes() [][]byte { 975 if m != nil { 976 return m.NonnullBytes 977 } 978 return nil 979 } 980 981 type MapProtoTypes struct { 982 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"` 983 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"` 984 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"` 985 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"` 986 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"` 987 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"` 988 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"` 989 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"` 990 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"` 991 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"` 992 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"` 993 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"` 994 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"` 995 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"` 996 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"` 997 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"` 998 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"` 999 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"` 1000 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"` 1001 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"` 1002 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"` 1003 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"` 1004 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1005 XXX_unrecognized []byte `json:"-"` 1006 XXX_sizecache int32 `json:"-"` 1007 } 1008 1009 func (m *MapProtoTypes) Reset() { *m = MapProtoTypes{} } 1010 func (m *MapProtoTypes) String() string { return proto.CompactTextString(m) } 1011 func (*MapProtoTypes) ProtoMessage() {} 1012 func (*MapProtoTypes) Descriptor() ([]byte, []int) { 1013 return fileDescriptor_8a0195d9a3743479, []int{5} 1014 } 1015 func (m *MapProtoTypes) XXX_Unmarshal(b []byte) error { 1016 return xxx_messageInfo_MapProtoTypes.Unmarshal(m, b) 1017 } 1018 func (m *MapProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1019 return xxx_messageInfo_MapProtoTypes.Marshal(b, m, deterministic) 1020 } 1021 func (m *MapProtoTypes) XXX_Merge(src proto.Message) { 1022 xxx_messageInfo_MapProtoTypes.Merge(m, src) 1023 } 1024 func (m *MapProtoTypes) XXX_Size() int { 1025 return xxx_messageInfo_MapProtoTypes.Size(m) 1026 } 1027 func (m *MapProtoTypes) XXX_DiscardUnknown() { 1028 xxx_messageInfo_MapProtoTypes.DiscardUnknown(m) 1029 } 1030 1031 var xxx_messageInfo_MapProtoTypes proto.InternalMessageInfo 1032 1033 func (m *MapProtoTypes) GetNullableTimestamp() map[int32]*types.Timestamp { 1034 if m != nil { 1035 return m.NullableTimestamp 1036 } 1037 return nil 1038 } 1039 1040 func (m *MapProtoTypes) GetTimestamp() map[int32]types.Timestamp { 1041 if m != nil { 1042 return m.Timestamp 1043 } 1044 return nil 1045 } 1046 1047 func (m *MapProtoTypes) GetNullableDuration() map[int32]*types.Duration { 1048 if m != nil { 1049 return m.NullableDuration 1050 } 1051 return nil 1052 } 1053 1054 func (m *MapProtoTypes) GetDuration() map[int32]types.Duration { 1055 if m != nil { 1056 return m.Duration 1057 } 1058 return nil 1059 } 1060 1061 func (m *MapProtoTypes) GetNullableDouble() map[int32]*types.DoubleValue { 1062 if m != nil { 1063 return m.NullableDouble 1064 } 1065 return nil 1066 } 1067 1068 func (m *MapProtoTypes) GetNonnullDouble() map[int32]types.DoubleValue { 1069 if m != nil { 1070 return m.NonnullDouble 1071 } 1072 return nil 1073 } 1074 1075 func (m *MapProtoTypes) GetNullableFloat() map[int32]*types.FloatValue { 1076 if m != nil { 1077 return m.NullableFloat 1078 } 1079 return nil 1080 } 1081 1082 func (m *MapProtoTypes) GetNonnullFloat() map[int32]types.FloatValue { 1083 if m != nil { 1084 return m.NonnullFloat 1085 } 1086 return nil 1087 } 1088 1089 func (m *MapProtoTypes) GetNullableInt64() map[int32]*types.Int64Value { 1090 if m != nil { 1091 return m.NullableInt64 1092 } 1093 return nil 1094 } 1095 1096 func (m *MapProtoTypes) GetNonnullInt64() map[int32]types.Int64Value { 1097 if m != nil { 1098 return m.NonnullInt64 1099 } 1100 return nil 1101 } 1102 1103 func (m *MapProtoTypes) GetNullableUInt64() map[int32]*types.UInt64Value { 1104 if m != nil { 1105 return m.NullableUInt64 1106 } 1107 return nil 1108 } 1109 1110 func (m *MapProtoTypes) GetNonnullUInt64() map[int32]types.UInt64Value { 1111 if m != nil { 1112 return m.NonnullUInt64 1113 } 1114 return nil 1115 } 1116 1117 func (m *MapProtoTypes) GetNullableInt32() map[int32]*types.Int32Value { 1118 if m != nil { 1119 return m.NullableInt32 1120 } 1121 return nil 1122 } 1123 1124 func (m *MapProtoTypes) GetNonnullInt32() map[int32]types.Int32Value { 1125 if m != nil { 1126 return m.NonnullInt32 1127 } 1128 return nil 1129 } 1130 1131 func (m *MapProtoTypes) GetNullableUInt32() map[int32]*types.UInt32Value { 1132 if m != nil { 1133 return m.NullableUInt32 1134 } 1135 return nil 1136 } 1137 1138 func (m *MapProtoTypes) GetNonnullUInt32() map[int32]types.UInt32Value { 1139 if m != nil { 1140 return m.NonnullUInt32 1141 } 1142 return nil 1143 } 1144 1145 func (m *MapProtoTypes) GetNullableBool() map[int32]*types.BoolValue { 1146 if m != nil { 1147 return m.NullableBool 1148 } 1149 return nil 1150 } 1151 1152 func (m *MapProtoTypes) GetNonnullBool() map[int32]types.BoolValue { 1153 if m != nil { 1154 return m.NonnullBool 1155 } 1156 return nil 1157 } 1158 1159 func (m *MapProtoTypes) GetNullableString() map[int32]*types.StringValue { 1160 if m != nil { 1161 return m.NullableString 1162 } 1163 return nil 1164 } 1165 1166 func (m *MapProtoTypes) GetNonnullString() map[int32]types.StringValue { 1167 if m != nil { 1168 return m.NonnullString 1169 } 1170 return nil 1171 } 1172 1173 func (m *MapProtoTypes) GetNullableBytes() map[int32]*types.BytesValue { 1174 if m != nil { 1175 return m.NullableBytes 1176 } 1177 return nil 1178 } 1179 1180 func (m *MapProtoTypes) GetNonnullBytes() map[int32]types.BytesValue { 1181 if m != nil { 1182 return m.NonnullBytes 1183 } 1184 return nil 1185 } 1186 1187 type MapStdTypes struct { 1188 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"` 1189 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"` 1190 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"` 1191 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"` 1192 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"` 1193 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"` 1194 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"` 1195 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"` 1196 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"` 1197 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"` 1198 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"` 1199 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"` 1200 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"` 1201 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"` 1202 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"` 1203 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"` 1204 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"` 1205 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"` 1206 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"` 1207 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"` 1208 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"` 1209 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"` 1210 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1211 XXX_unrecognized []byte `json:"-"` 1212 XXX_sizecache int32 `json:"-"` 1213 } 1214 1215 func (m *MapStdTypes) Reset() { *m = MapStdTypes{} } 1216 func (m *MapStdTypes) String() string { return proto.CompactTextString(m) } 1217 func (*MapStdTypes) ProtoMessage() {} 1218 func (*MapStdTypes) Descriptor() ([]byte, []int) { 1219 return fileDescriptor_8a0195d9a3743479, []int{6} 1220 } 1221 func (m *MapStdTypes) XXX_Unmarshal(b []byte) error { 1222 return xxx_messageInfo_MapStdTypes.Unmarshal(m, b) 1223 } 1224 func (m *MapStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1225 return xxx_messageInfo_MapStdTypes.Marshal(b, m, deterministic) 1226 } 1227 func (m *MapStdTypes) XXX_Merge(src proto.Message) { 1228 xxx_messageInfo_MapStdTypes.Merge(m, src) 1229 } 1230 func (m *MapStdTypes) XXX_Size() int { 1231 return xxx_messageInfo_MapStdTypes.Size(m) 1232 } 1233 func (m *MapStdTypes) XXX_DiscardUnknown() { 1234 xxx_messageInfo_MapStdTypes.DiscardUnknown(m) 1235 } 1236 1237 var xxx_messageInfo_MapStdTypes proto.InternalMessageInfo 1238 1239 func (m *MapStdTypes) GetNullableTimestamp() map[int32]*time.Time { 1240 if m != nil { 1241 return m.NullableTimestamp 1242 } 1243 return nil 1244 } 1245 1246 func (m *MapStdTypes) GetTimestamp() map[int32]time.Time { 1247 if m != nil { 1248 return m.Timestamp 1249 } 1250 return nil 1251 } 1252 1253 func (m *MapStdTypes) GetNullableDuration() map[int32]*time.Duration { 1254 if m != nil { 1255 return m.NullableDuration 1256 } 1257 return nil 1258 } 1259 1260 func (m *MapStdTypes) GetDuration() map[int32]time.Duration { 1261 if m != nil { 1262 return m.Duration 1263 } 1264 return nil 1265 } 1266 1267 func (m *MapStdTypes) GetNullableDouble() map[int32]*float64 { 1268 if m != nil { 1269 return m.NullableDouble 1270 } 1271 return nil 1272 } 1273 1274 func (m *MapStdTypes) GetNonnullDouble() map[int32]float64 { 1275 if m != nil { 1276 return m.NonnullDouble 1277 } 1278 return nil 1279 } 1280 1281 func (m *MapStdTypes) GetNullableFloat() map[int32]*float32 { 1282 if m != nil { 1283 return m.NullableFloat 1284 } 1285 return nil 1286 } 1287 1288 func (m *MapStdTypes) GetNonnullFloat() map[int32]float32 { 1289 if m != nil { 1290 return m.NonnullFloat 1291 } 1292 return nil 1293 } 1294 1295 func (m *MapStdTypes) GetNullableInt64() map[int32]*int64 { 1296 if m != nil { 1297 return m.NullableInt64 1298 } 1299 return nil 1300 } 1301 1302 func (m *MapStdTypes) GetNonnullInt64() map[int32]int64 { 1303 if m != nil { 1304 return m.NonnullInt64 1305 } 1306 return nil 1307 } 1308 1309 func (m *MapStdTypes) GetNullableUInt64() map[int32]*uint64 { 1310 if m != nil { 1311 return m.NullableUInt64 1312 } 1313 return nil 1314 } 1315 1316 func (m *MapStdTypes) GetNonnullUInt64() map[int32]uint64 { 1317 if m != nil { 1318 return m.NonnullUInt64 1319 } 1320 return nil 1321 } 1322 1323 func (m *MapStdTypes) GetNullableInt32() map[int32]*int32 { 1324 if m != nil { 1325 return m.NullableInt32 1326 } 1327 return nil 1328 } 1329 1330 func (m *MapStdTypes) GetNonnullInt32() map[int32]int32 { 1331 if m != nil { 1332 return m.NonnullInt32 1333 } 1334 return nil 1335 } 1336 1337 func (m *MapStdTypes) GetNullableUInt32() map[int32]*uint32 { 1338 if m != nil { 1339 return m.NullableUInt32 1340 } 1341 return nil 1342 } 1343 1344 func (m *MapStdTypes) GetNonnullUInt32() map[int32]uint32 { 1345 if m != nil { 1346 return m.NonnullUInt32 1347 } 1348 return nil 1349 } 1350 1351 func (m *MapStdTypes) GetNullableBool() map[int32]*bool { 1352 if m != nil { 1353 return m.NullableBool 1354 } 1355 return nil 1356 } 1357 1358 func (m *MapStdTypes) GetNonnullBool() map[int32]bool { 1359 if m != nil { 1360 return m.NonnullBool 1361 } 1362 return nil 1363 } 1364 1365 func (m *MapStdTypes) GetNullableString() map[int32]*string { 1366 if m != nil { 1367 return m.NullableString 1368 } 1369 return nil 1370 } 1371 1372 func (m *MapStdTypes) GetNonnullString() map[int32]string { 1373 if m != nil { 1374 return m.NonnullString 1375 } 1376 return nil 1377 } 1378 1379 func (m *MapStdTypes) GetNullableBytes() map[int32]*[]byte { 1380 if m != nil { 1381 return m.NullableBytes 1382 } 1383 return nil 1384 } 1385 1386 func (m *MapStdTypes) GetNonnullBytes() map[int32][]byte { 1387 if m != nil { 1388 return m.NonnullBytes 1389 } 1390 return nil 1391 } 1392 1393 type OneofProtoTypes struct { 1394 // Types that are valid to be assigned to OneOfProtoTimes: 1395 // *OneofProtoTypes_Timestamp 1396 // *OneofProtoTypes_Duration 1397 // *OneofProtoTypes_RepDouble 1398 // *OneofProtoTypes_RepFloat 1399 // *OneofProtoTypes_RepInt64 1400 // *OneofProtoTypes_RepUInt64 1401 // *OneofProtoTypes_RepInt32 1402 // *OneofProtoTypes_RepUInt32 1403 // *OneofProtoTypes_RepBool 1404 // *OneofProtoTypes_RepString 1405 // *OneofProtoTypes_RepBytes 1406 OneOfProtoTimes isOneofProtoTypes_OneOfProtoTimes `protobuf_oneof:"OneOfProtoTimes"` 1407 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1408 XXX_unrecognized []byte `json:"-"` 1409 XXX_sizecache int32 `json:"-"` 1410 } 1411 1412 func (m *OneofProtoTypes) Reset() { *m = OneofProtoTypes{} } 1413 func (m *OneofProtoTypes) String() string { return proto.CompactTextString(m) } 1414 func (*OneofProtoTypes) ProtoMessage() {} 1415 func (*OneofProtoTypes) Descriptor() ([]byte, []int) { 1416 return fileDescriptor_8a0195d9a3743479, []int{7} 1417 } 1418 func (m *OneofProtoTypes) XXX_Unmarshal(b []byte) error { 1419 return xxx_messageInfo_OneofProtoTypes.Unmarshal(m, b) 1420 } 1421 func (m *OneofProtoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1422 return xxx_messageInfo_OneofProtoTypes.Marshal(b, m, deterministic) 1423 } 1424 func (m *OneofProtoTypes) XXX_Merge(src proto.Message) { 1425 xxx_messageInfo_OneofProtoTypes.Merge(m, src) 1426 } 1427 func (m *OneofProtoTypes) XXX_Size() int { 1428 return xxx_messageInfo_OneofProtoTypes.Size(m) 1429 } 1430 func (m *OneofProtoTypes) XXX_DiscardUnknown() { 1431 xxx_messageInfo_OneofProtoTypes.DiscardUnknown(m) 1432 } 1433 1434 var xxx_messageInfo_OneofProtoTypes proto.InternalMessageInfo 1435 1436 type isOneofProtoTypes_OneOfProtoTimes interface { 1437 isOneofProtoTypes_OneOfProtoTimes() 1438 Equal(interface{}) bool 1439 VerboseEqual(interface{}) error 1440 Size() int 1441 } 1442 1443 type OneofProtoTypes_Timestamp struct { 1444 Timestamp *types.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3,oneof" json:"timestamp,omitempty"` 1445 } 1446 type OneofProtoTypes_Duration struct { 1447 Duration *types.Duration `protobuf:"bytes,2,opt,name=duration,proto3,oneof" json:"duration,omitempty"` 1448 } 1449 type OneofProtoTypes_RepDouble struct { 1450 RepDouble *types.DoubleValue `protobuf:"bytes,3,opt,name=repDouble,proto3,oneof" json:"repDouble,omitempty"` 1451 } 1452 type OneofProtoTypes_RepFloat struct { 1453 RepFloat *types.FloatValue `protobuf:"bytes,4,opt,name=repFloat,proto3,oneof" json:"repFloat,omitempty"` 1454 } 1455 type OneofProtoTypes_RepInt64 struct { 1456 RepInt64 *types.Int64Value `protobuf:"bytes,5,opt,name=repInt64,proto3,oneof" json:"repInt64,omitempty"` 1457 } 1458 type OneofProtoTypes_RepUInt64 struct { 1459 RepUInt64 *types.UInt64Value `protobuf:"bytes,6,opt,name=repUInt64,proto3,oneof" json:"repUInt64,omitempty"` 1460 } 1461 type OneofProtoTypes_RepInt32 struct { 1462 RepInt32 *types.Int32Value `protobuf:"bytes,7,opt,name=repInt32,proto3,oneof" json:"repInt32,omitempty"` 1463 } 1464 type OneofProtoTypes_RepUInt32 struct { 1465 RepUInt32 *types.UInt32Value `protobuf:"bytes,8,opt,name=repUInt32,proto3,oneof" json:"repUInt32,omitempty"` 1466 } 1467 type OneofProtoTypes_RepBool struct { 1468 RepBool *types.BoolValue `protobuf:"bytes,9,opt,name=repBool,proto3,oneof" json:"repBool,omitempty"` 1469 } 1470 type OneofProtoTypes_RepString struct { 1471 RepString *types.StringValue `protobuf:"bytes,10,opt,name=repString,proto3,oneof" json:"repString,omitempty"` 1472 } 1473 type OneofProtoTypes_RepBytes struct { 1474 RepBytes *types.BytesValue `protobuf:"bytes,11,opt,name=repBytes,proto3,oneof" json:"repBytes,omitempty"` 1475 } 1476 1477 func (*OneofProtoTypes_Timestamp) isOneofProtoTypes_OneOfProtoTimes() {} 1478 func (*OneofProtoTypes_Duration) isOneofProtoTypes_OneOfProtoTimes() {} 1479 func (*OneofProtoTypes_RepDouble) isOneofProtoTypes_OneOfProtoTimes() {} 1480 func (*OneofProtoTypes_RepFloat) isOneofProtoTypes_OneOfProtoTimes() {} 1481 func (*OneofProtoTypes_RepInt64) isOneofProtoTypes_OneOfProtoTimes() {} 1482 func (*OneofProtoTypes_RepUInt64) isOneofProtoTypes_OneOfProtoTimes() {} 1483 func (*OneofProtoTypes_RepInt32) isOneofProtoTypes_OneOfProtoTimes() {} 1484 func (*OneofProtoTypes_RepUInt32) isOneofProtoTypes_OneOfProtoTimes() {} 1485 func (*OneofProtoTypes_RepBool) isOneofProtoTypes_OneOfProtoTimes() {} 1486 func (*OneofProtoTypes_RepString) isOneofProtoTypes_OneOfProtoTimes() {} 1487 func (*OneofProtoTypes_RepBytes) isOneofProtoTypes_OneOfProtoTimes() {} 1488 1489 func (m *OneofProtoTypes) GetOneOfProtoTimes() isOneofProtoTypes_OneOfProtoTimes { 1490 if m != nil { 1491 return m.OneOfProtoTimes 1492 } 1493 return nil 1494 } 1495 1496 func (m *OneofProtoTypes) GetTimestamp() *types.Timestamp { 1497 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_Timestamp); ok { 1498 return x.Timestamp 1499 } 1500 return nil 1501 } 1502 1503 func (m *OneofProtoTypes) GetDuration() *types.Duration { 1504 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_Duration); ok { 1505 return x.Duration 1506 } 1507 return nil 1508 } 1509 1510 func (m *OneofProtoTypes) GetRepDouble() *types.DoubleValue { 1511 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepDouble); ok { 1512 return x.RepDouble 1513 } 1514 return nil 1515 } 1516 1517 func (m *OneofProtoTypes) GetRepFloat() *types.FloatValue { 1518 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepFloat); ok { 1519 return x.RepFloat 1520 } 1521 return nil 1522 } 1523 1524 func (m *OneofProtoTypes) GetRepInt64() *types.Int64Value { 1525 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepInt64); ok { 1526 return x.RepInt64 1527 } 1528 return nil 1529 } 1530 1531 func (m *OneofProtoTypes) GetRepUInt64() *types.UInt64Value { 1532 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepUInt64); ok { 1533 return x.RepUInt64 1534 } 1535 return nil 1536 } 1537 1538 func (m *OneofProtoTypes) GetRepInt32() *types.Int32Value { 1539 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepInt32); ok { 1540 return x.RepInt32 1541 } 1542 return nil 1543 } 1544 1545 func (m *OneofProtoTypes) GetRepUInt32() *types.UInt32Value { 1546 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepUInt32); ok { 1547 return x.RepUInt32 1548 } 1549 return nil 1550 } 1551 1552 func (m *OneofProtoTypes) GetRepBool() *types.BoolValue { 1553 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepBool); ok { 1554 return x.RepBool 1555 } 1556 return nil 1557 } 1558 1559 func (m *OneofProtoTypes) GetRepString() *types.StringValue { 1560 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepString); ok { 1561 return x.RepString 1562 } 1563 return nil 1564 } 1565 1566 func (m *OneofProtoTypes) GetRepBytes() *types.BytesValue { 1567 if x, ok := m.GetOneOfProtoTimes().(*OneofProtoTypes_RepBytes); ok { 1568 return x.RepBytes 1569 } 1570 return nil 1571 } 1572 1573 // XXX_OneofWrappers is for the internal use of the proto package. 1574 func (*OneofProtoTypes) XXX_OneofWrappers() []interface{} { 1575 return []interface{}{ 1576 (*OneofProtoTypes_Timestamp)(nil), 1577 (*OneofProtoTypes_Duration)(nil), 1578 (*OneofProtoTypes_RepDouble)(nil), 1579 (*OneofProtoTypes_RepFloat)(nil), 1580 (*OneofProtoTypes_RepInt64)(nil), 1581 (*OneofProtoTypes_RepUInt64)(nil), 1582 (*OneofProtoTypes_RepInt32)(nil), 1583 (*OneofProtoTypes_RepUInt32)(nil), 1584 (*OneofProtoTypes_RepBool)(nil), 1585 (*OneofProtoTypes_RepString)(nil), 1586 (*OneofProtoTypes_RepBytes)(nil), 1587 } 1588 } 1589 1590 type OneofStdTypes struct { 1591 // Types that are valid to be assigned to OneOfStdTimes: 1592 // *OneofStdTypes_Timestamp 1593 // *OneofStdTypes_Duration 1594 // *OneofStdTypes_RepDouble 1595 // *OneofStdTypes_RepFloat 1596 // *OneofStdTypes_RepInt64 1597 // *OneofStdTypes_RepUInt64 1598 // *OneofStdTypes_RepInt32 1599 // *OneofStdTypes_RepUInt32 1600 // *OneofStdTypes_RepBool 1601 // *OneofStdTypes_RepString 1602 // *OneofStdTypes_RepBytes 1603 OneOfStdTimes isOneofStdTypes_OneOfStdTimes `protobuf_oneof:"OneOfStdTimes"` 1604 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1605 XXX_unrecognized []byte `json:"-"` 1606 XXX_sizecache int32 `json:"-"` 1607 } 1608 1609 func (m *OneofStdTypes) Reset() { *m = OneofStdTypes{} } 1610 func (m *OneofStdTypes) String() string { return proto.CompactTextString(m) } 1611 func (*OneofStdTypes) ProtoMessage() {} 1612 func (*OneofStdTypes) Descriptor() ([]byte, []int) { 1613 return fileDescriptor_8a0195d9a3743479, []int{8} 1614 } 1615 func (m *OneofStdTypes) XXX_Unmarshal(b []byte) error { 1616 return xxx_messageInfo_OneofStdTypes.Unmarshal(m, b) 1617 } 1618 func (m *OneofStdTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1619 return xxx_messageInfo_OneofStdTypes.Marshal(b, m, deterministic) 1620 } 1621 func (m *OneofStdTypes) XXX_Merge(src proto.Message) { 1622 xxx_messageInfo_OneofStdTypes.Merge(m, src) 1623 } 1624 func (m *OneofStdTypes) XXX_Size() int { 1625 return xxx_messageInfo_OneofStdTypes.Size(m) 1626 } 1627 func (m *OneofStdTypes) XXX_DiscardUnknown() { 1628 xxx_messageInfo_OneofStdTypes.DiscardUnknown(m) 1629 } 1630 1631 var xxx_messageInfo_OneofStdTypes proto.InternalMessageInfo 1632 1633 type isOneofStdTypes_OneOfStdTimes interface { 1634 isOneofStdTypes_OneOfStdTimes() 1635 Equal(interface{}) bool 1636 VerboseEqual(interface{}) error 1637 Size() int 1638 } 1639 1640 type OneofStdTypes_Timestamp struct { 1641 Timestamp *time.Time `protobuf:"bytes,1,opt,name=timestamp,proto3,oneof,stdtime" json:"timestamp,omitempty"` 1642 } 1643 type OneofStdTypes_Duration struct { 1644 Duration *time.Duration `protobuf:"bytes,2,opt,name=duration,proto3,oneof,stdduration" json:"duration,omitempty"` 1645 } 1646 type OneofStdTypes_RepDouble struct { 1647 RepDouble *float64 `protobuf:"bytes,3,opt,name=repDouble,proto3,oneof,wktptr" json:"repDouble,omitempty"` 1648 } 1649 type OneofStdTypes_RepFloat struct { 1650 RepFloat *float32 `protobuf:"bytes,4,opt,name=repFloat,proto3,oneof,wktptr" json:"repFloat,omitempty"` 1651 } 1652 type OneofStdTypes_RepInt64 struct { 1653 RepInt64 *int64 `protobuf:"bytes,5,opt,name=repInt64,proto3,oneof,wktptr" json:"repInt64,omitempty"` 1654 } 1655 type OneofStdTypes_RepUInt64 struct { 1656 RepUInt64 *uint64 `protobuf:"bytes,6,opt,name=repUInt64,proto3,oneof,wktptr" json:"repUInt64,omitempty"` 1657 } 1658 type OneofStdTypes_RepInt32 struct { 1659 RepInt32 *int32 `protobuf:"bytes,7,opt,name=repInt32,proto3,oneof,wktptr" json:"repInt32,omitempty"` 1660 } 1661 type OneofStdTypes_RepUInt32 struct { 1662 RepUInt32 *uint32 `protobuf:"bytes,8,opt,name=repUInt32,proto3,oneof,wktptr" json:"repUInt32,omitempty"` 1663 } 1664 type OneofStdTypes_RepBool struct { 1665 RepBool *bool `protobuf:"bytes,9,opt,name=repBool,proto3,oneof,wktptr" json:"repBool,omitempty"` 1666 } 1667 type OneofStdTypes_RepString struct { 1668 RepString *string `protobuf:"bytes,10,opt,name=repString,proto3,oneof,wktptr" json:"repString,omitempty"` 1669 } 1670 type OneofStdTypes_RepBytes struct { 1671 RepBytes *[]byte `protobuf:"bytes,11,opt,name=repBytes,proto3,oneof,wktptr" json:"repBytes,omitempty"` 1672 } 1673 1674 func (*OneofStdTypes_Timestamp) isOneofStdTypes_OneOfStdTimes() {} 1675 func (*OneofStdTypes_Duration) isOneofStdTypes_OneOfStdTimes() {} 1676 func (*OneofStdTypes_RepDouble) isOneofStdTypes_OneOfStdTimes() {} 1677 func (*OneofStdTypes_RepFloat) isOneofStdTypes_OneOfStdTimes() {} 1678 func (*OneofStdTypes_RepInt64) isOneofStdTypes_OneOfStdTimes() {} 1679 func (*OneofStdTypes_RepUInt64) isOneofStdTypes_OneOfStdTimes() {} 1680 func (*OneofStdTypes_RepInt32) isOneofStdTypes_OneOfStdTimes() {} 1681 func (*OneofStdTypes_RepUInt32) isOneofStdTypes_OneOfStdTimes() {} 1682 func (*OneofStdTypes_RepBool) isOneofStdTypes_OneOfStdTimes() {} 1683 func (*OneofStdTypes_RepString) isOneofStdTypes_OneOfStdTimes() {} 1684 func (*OneofStdTypes_RepBytes) isOneofStdTypes_OneOfStdTimes() {} 1685 1686 func (m *OneofStdTypes) GetOneOfStdTimes() isOneofStdTypes_OneOfStdTimes { 1687 if m != nil { 1688 return m.OneOfStdTimes 1689 } 1690 return nil 1691 } 1692 1693 func (m *OneofStdTypes) GetTimestamp() *time.Time { 1694 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_Timestamp); ok { 1695 return x.Timestamp 1696 } 1697 return nil 1698 } 1699 1700 func (m *OneofStdTypes) GetDuration() *time.Duration { 1701 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_Duration); ok { 1702 return x.Duration 1703 } 1704 return nil 1705 } 1706 1707 func (m *OneofStdTypes) GetRepDouble() *float64 { 1708 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepDouble); ok { 1709 return x.RepDouble 1710 } 1711 return nil 1712 } 1713 1714 func (m *OneofStdTypes) GetRepFloat() *float32 { 1715 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepFloat); ok { 1716 return x.RepFloat 1717 } 1718 return nil 1719 } 1720 1721 func (m *OneofStdTypes) GetRepInt64() *int64 { 1722 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepInt64); ok { 1723 return x.RepInt64 1724 } 1725 return nil 1726 } 1727 1728 func (m *OneofStdTypes) GetRepUInt64() *uint64 { 1729 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepUInt64); ok { 1730 return x.RepUInt64 1731 } 1732 return nil 1733 } 1734 1735 func (m *OneofStdTypes) GetRepInt32() *int32 { 1736 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepInt32); ok { 1737 return x.RepInt32 1738 } 1739 return nil 1740 } 1741 1742 func (m *OneofStdTypes) GetRepUInt32() *uint32 { 1743 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepUInt32); ok { 1744 return x.RepUInt32 1745 } 1746 return nil 1747 } 1748 1749 func (m *OneofStdTypes) GetRepBool() *bool { 1750 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepBool); ok { 1751 return x.RepBool 1752 } 1753 return nil 1754 } 1755 1756 func (m *OneofStdTypes) GetRepString() *string { 1757 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepString); ok { 1758 return x.RepString 1759 } 1760 return nil 1761 } 1762 1763 func (m *OneofStdTypes) GetRepBytes() *[]byte { 1764 if x, ok := m.GetOneOfStdTimes().(*OneofStdTypes_RepBytes); ok { 1765 return x.RepBytes 1766 } 1767 return nil 1768 } 1769 1770 // XXX_OneofWrappers is for the internal use of the proto package. 1771 func (*OneofStdTypes) XXX_OneofWrappers() []interface{} { 1772 return []interface{}{ 1773 (*OneofStdTypes_Timestamp)(nil), 1774 (*OneofStdTypes_Duration)(nil), 1775 (*OneofStdTypes_RepDouble)(nil), 1776 (*OneofStdTypes_RepFloat)(nil), 1777 (*OneofStdTypes_RepInt64)(nil), 1778 (*OneofStdTypes_RepUInt64)(nil), 1779 (*OneofStdTypes_RepInt32)(nil), 1780 (*OneofStdTypes_RepUInt32)(nil), 1781 (*OneofStdTypes_RepBool)(nil), 1782 (*OneofStdTypes_RepString)(nil), 1783 (*OneofStdTypes_RepBytes)(nil), 1784 } 1785 } 1786 1787 func init() { 1788 proto.RegisterType((*KnownTypes)(nil), "types.KnownTypes") 1789 proto.RegisterType((*ProtoTypes)(nil), "types.ProtoTypes") 1790 proto.RegisterType((*StdTypes)(nil), "types.StdTypes") 1791 proto.RegisterType((*RepProtoTypes)(nil), "types.RepProtoTypes") 1792 proto.RegisterType((*RepStdTypes)(nil), "types.RepStdTypes") 1793 proto.RegisterType((*MapProtoTypes)(nil), "types.MapProtoTypes") 1794 proto.RegisterMapType((map[int32]types.Duration)(nil), "types.MapProtoTypes.DurationEntry") 1795 proto.RegisterMapType((map[int32]types.BoolValue)(nil), "types.MapProtoTypes.NonnullBoolEntry") 1796 proto.RegisterMapType((map[int32]types.BytesValue)(nil), "types.MapProtoTypes.NonnullBytesEntry") 1797 proto.RegisterMapType((map[int32]types.DoubleValue)(nil), "types.MapProtoTypes.NonnullDoubleEntry") 1798 proto.RegisterMapType((map[int32]types.FloatValue)(nil), "types.MapProtoTypes.NonnullFloatEntry") 1799 proto.RegisterMapType((map[int32]types.Int32Value)(nil), "types.MapProtoTypes.NonnullInt32Entry") 1800 proto.RegisterMapType((map[int32]types.Int64Value)(nil), "types.MapProtoTypes.NonnullInt64Entry") 1801 proto.RegisterMapType((map[int32]types.StringValue)(nil), "types.MapProtoTypes.NonnullStringEntry") 1802 proto.RegisterMapType((map[int32]types.UInt32Value)(nil), "types.MapProtoTypes.NonnullUInt32Entry") 1803 proto.RegisterMapType((map[int32]types.UInt64Value)(nil), "types.MapProtoTypes.NonnullUInt64Entry") 1804 proto.RegisterMapType((map[int32]*types.BoolValue)(nil), "types.MapProtoTypes.NullableBoolEntry") 1805 proto.RegisterMapType((map[int32]*types.BytesValue)(nil), "types.MapProtoTypes.NullableBytesEntry") 1806 proto.RegisterMapType((map[int32]*types.DoubleValue)(nil), "types.MapProtoTypes.NullableDoubleEntry") 1807 proto.RegisterMapType((map[int32]*types.Duration)(nil), "types.MapProtoTypes.NullableDurationEntry") 1808 proto.RegisterMapType((map[int32]*types.FloatValue)(nil), "types.MapProtoTypes.NullableFloatEntry") 1809 proto.RegisterMapType((map[int32]*types.Int32Value)(nil), "types.MapProtoTypes.NullableInt32Entry") 1810 proto.RegisterMapType((map[int32]*types.Int64Value)(nil), "types.MapProtoTypes.NullableInt64Entry") 1811 proto.RegisterMapType((map[int32]*types.StringValue)(nil), "types.MapProtoTypes.NullableStringEntry") 1812 proto.RegisterMapType((map[int32]*types.Timestamp)(nil), "types.MapProtoTypes.NullableTimestampEntry") 1813 proto.RegisterMapType((map[int32]*types.UInt32Value)(nil), "types.MapProtoTypes.NullableUInt32Entry") 1814 proto.RegisterMapType((map[int32]*types.UInt64Value)(nil), "types.MapProtoTypes.NullableUInt64Entry") 1815 proto.RegisterMapType((map[int32]types.Timestamp)(nil), "types.MapProtoTypes.TimestampEntry") 1816 proto.RegisterType((*MapStdTypes)(nil), "types.MapStdTypes") 1817 proto.RegisterMapType((map[int32]time.Duration)(nil), "types.MapStdTypes.DurationEntry") 1818 proto.RegisterMapType((map[int32]bool)(nil), "types.MapStdTypes.NonnullBoolEntry") 1819 proto.RegisterMapType((map[int32][]byte)(nil), "types.MapStdTypes.NonnullBytesEntry") 1820 proto.RegisterMapType((map[int32]float64)(nil), "types.MapStdTypes.NonnullDoubleEntry") 1821 proto.RegisterMapType((map[int32]float32)(nil), "types.MapStdTypes.NonnullFloatEntry") 1822 proto.RegisterMapType((map[int32]int32)(nil), "types.MapStdTypes.NonnullInt32Entry") 1823 proto.RegisterMapType((map[int32]int64)(nil), "types.MapStdTypes.NonnullInt64Entry") 1824 proto.RegisterMapType((map[int32]string)(nil), "types.MapStdTypes.NonnullStringEntry") 1825 proto.RegisterMapType((map[int32]uint32)(nil), "types.MapStdTypes.NonnullUInt32Entry") 1826 proto.RegisterMapType((map[int32]uint64)(nil), "types.MapStdTypes.NonnullUInt64Entry") 1827 proto.RegisterMapType((map[int32]*bool)(nil), "types.MapStdTypes.NullableBoolEntry") 1828 proto.RegisterMapType((map[int32]*[]byte)(nil), "types.MapStdTypes.NullableBytesEntry") 1829 proto.RegisterMapType((map[int32]*float64)(nil), "types.MapStdTypes.NullableDoubleEntry") 1830 proto.RegisterMapType((map[int32]*time.Duration)(nil), "types.MapStdTypes.NullableDurationEntry") 1831 proto.RegisterMapType((map[int32]*float32)(nil), "types.MapStdTypes.NullableFloatEntry") 1832 proto.RegisterMapType((map[int32]*int32)(nil), "types.MapStdTypes.NullableInt32Entry") 1833 proto.RegisterMapType((map[int32]*int64)(nil), "types.MapStdTypes.NullableInt64Entry") 1834 proto.RegisterMapType((map[int32]*string)(nil), "types.MapStdTypes.NullableStringEntry") 1835 proto.RegisterMapType((map[int32]*time.Time)(nil), "types.MapStdTypes.NullableTimestampEntry") 1836 proto.RegisterMapType((map[int32]*uint32)(nil), "types.MapStdTypes.NullableUInt32Entry") 1837 proto.RegisterMapType((map[int32]*uint64)(nil), "types.MapStdTypes.NullableUInt64Entry") 1838 proto.RegisterMapType((map[int32]time.Time)(nil), "types.MapStdTypes.TimestampEntry") 1839 proto.RegisterType((*OneofProtoTypes)(nil), "types.OneofProtoTypes") 1840 proto.RegisterType((*OneofStdTypes)(nil), "types.OneofStdTypes") 1841 } 1842 1843 func init() { proto.RegisterFile("combos/neither/types.proto", fileDescriptor_8a0195d9a3743479) } 1844 1845 var fileDescriptor_8a0195d9a3743479 = []byte{ 1846 // 2327 bytes of a gzipped FileDescriptorProto 1847 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0xcf, 0x73, 0x23, 0x47, 1848 0x19, 0xb5, 0x2c, 0x69, 0xd7, 0x6e, 0x4b, 0xbb, 0xf6, 0x6c, 0x36, 0x0c, 0x26, 0xa5, 0x5d, 0x9c, 1849 0xec, 0x0f, 0x92, 0x8a, 0x4c, 0x66, 0x5c, 0x06, 0x16, 0x12, 0x27, 0xaa, 0xdd, 0x95, 0xa5, 0x58, 1850 0xbb, 0x5a, 0xd9, 0xda, 0x82, 0x40, 0x00, 0x69, 0x3d, 0xeb, 0xb8, 0xd0, 0x6a, 0x54, 0xd2, 0x88, 1851 0xd4, 0xde, 0xf8, 0x03, 0x38, 0x70, 0x83, 0x23, 0xdc, 0xb8, 0x72, 0xa0, 0x8a, 0x23, 0x07, 0x0e, 1852 0x39, 0xf2, 0x17, 0x40, 0x62, 0x2e, 0x5c, 0x81, 0x4b, 0x2e, 0x54, 0xa5, 0xa6, 0xbb, 0x67, 0xa6, 1853 0x7f, 0x7c, 0xdd, 0x33, 0x3d, 0x65, 0xdf, 0x74, 0xb3, 0x35, 0x5f, 0xbf, 0x79, 0xf3, 0xe9, 0x8d, 1854 0x5f, 0xbf, 0x6f, 0x3c, 0x68, 0xf3, 0x99, 0xff, 0x62, 0xe8, 0xcf, 0xb6, 0xc7, 0xde, 0x69, 0xf0, 1855 0x89, 0x37, 0xdd, 0x0e, 0x5e, 0x4e, 0xbc, 0x59, 0x7d, 0x32, 0xf5, 0x03, 0xdf, 0x2a, 0xe3, 0x5f, 1856 0x36, 0xdf, 0x3e, 0x39, 0x0d, 0x3e, 0x99, 0x0f, 0xeb, 0xcf, 0xfc, 0x17, 0xdb, 0x27, 0xfe, 0x89, 1857 0xbf, 0x8d, 0x8f, 0x0e, 0xe7, 0xcf, 0xf1, 0x6f, 0xf8, 0x17, 0xfc, 0x13, 0x59, 0xb5, 0x59, 0x3b, 1858 0xf1, 0xfd, 0x93, 0x91, 0x97, 0x54, 0x1d, 0xcf, 0xa7, 0x83, 0xe0, 0xd4, 0x1f, 0xd3, 0xe3, 0xaf, 1859 0x89, 0xc7, 0x67, 0xc1, 0x74, 0xfe, 0x2c, 0xa0, 0x47, 0x6f, 0x88, 0x47, 0x83, 0xd3, 0x17, 0xde, 1860 0x2c, 0x18, 0xbc, 0x98, 0xa8, 0xe0, 0x3f, 0x9d, 0x0e, 0x26, 0x13, 0x6f, 0x4a, 0x49, 0x6f, 0xfd, 1861 0xad, 0x84, 0xd0, 0x87, 0x63, 0xff, 0xd3, 0xf1, 0x51, 0x48, 0xde, 0x7a, 0x0b, 0x15, 0x8f, 0xe7, 1862 0x53, 0xbb, 0x70, 0xb3, 0x70, 0x77, 0xcd, 0xf9, 0x7a, 0x9d, 0x2c, 0xae, 0x47, 0x8b, 0xeb, 0xf7, 1863 0x29, 0xb7, 0x5e, 0x58, 0x65, 0xbd, 0x89, 0x96, 0x83, 0x99, 0xbd, 0x8c, 0x6b, 0x37, 0xa5, 0xda, 1864 0xa3, 0x88, 0x49, 0x6f, 0x39, 0x98, 0x59, 0x75, 0x54, 0x3c, 0x1e, 0x8e, 0xec, 0x22, 0x2e, 0x7e, 1865 0x4d, 0x06, 0xf6, 0xe7, 0xc3, 0x91, 0xf7, 0x74, 0x30, 0x9a, 0x7b, 0xbd, 0xb0, 0xd0, 0x7a, 0x1b, 1866 0x15, 0x9f, 0x8f, 0x02, 0xbb, 0x84, 0xeb, 0xbf, 0x21, 0xd5, 0x3f, 0x1c, 0xf9, 0x83, 0x80, 0x96, 1867 0x3f, 0x1f, 0x05, 0x61, 0xf9, 0xe9, 0xee, 0x8e, 0x5d, 0x56, 0x94, 0xb7, 0xc6, 0xc1, 0xee, 0x0e, 1868 0x2d, 0x3f, 0xdd, 0xdd, 0x09, 0xd9, 0xcc, 0x77, 0x77, 0xec, 0x4b, 0x0a, 0x36, 0x7d, 0xb6, 0x7e, 1869 0xbe, 0xbb, 0x83, 0xe1, 0x5d, 0xc7, 0xbe, 0xac, 0x86, 0x77, 0x9d, 0x08, 0xde, 0x75, 0x30, 0xbc, 1870 0xeb, 0xd8, 0x2b, 0x1a, 0xf8, 0xb8, 0x7e, 0x8e, 0xeb, 0x4b, 0x43, 0xdf, 0x1f, 0xd9, 0xab, 0x8a, 1871 0x56, 0x36, 0x7c, 0x7f, 0x44, 0xca, 0x71, 0x5d, 0x88, 0x3f, 0x0b, 0xa6, 0x36, 0x52, 0xe0, 0x1f, 1872 0x06, 0xd3, 0xd3, 0xf1, 0x09, 0xc5, 0x9f, 0x05, 0x53, 0xeb, 0x1d, 0x54, 0x1e, 0xbe, 0x0c, 0xbc, 1873 0x99, 0xbd, 0xa6, 0xb8, 0x80, 0x46, 0x78, 0x94, 0x2c, 0x20, 0x95, 0xd6, 0x1d, 0xb4, 0x3c, 0x0b, 1874 0xec, 0x0a, 0xae, 0xff, 0x1a, 0x74, 0x86, 0xf9, 0xb3, 0xa0, 0xb7, 0x3c, 0x0b, 0xee, 0x95, 0xfe, 1875 0xfd, 0x87, 0x1b, 0x85, 0xad, 0x5f, 0x57, 0x10, 0xea, 0x86, 0x47, 0x89, 0x8c, 0xf6, 0xd1, 0xc6, 1876 0x78, 0x3e, 0x1a, 0x0d, 0x86, 0x23, 0x2f, 0x96, 0x01, 0x15, 0x95, 0x4e, 0x28, 0xf2, 0x22, 0xeb, 1877 0x01, 0x5a, 0x8f, 0x3e, 0x8c, 0xc4, 0x47, 0x15, 0xa7, 0x51, 0xa7, 0xb4, 0xc4, 0xba, 0x8f, 0xae, 1878 0xc4, 0x9f, 0x61, 0xa9, 0x65, 0x52, 0xa2, 0xb0, 0xc6, 0xfa, 0x00, 0x55, 0xa3, 0x4f, 0xb0, 0x00, 1879 0xb3, 0xc8, 0x93, 0x5f, 0xc1, 0x42, 0x60, 0x91, 0x65, 0x91, 0x2c, 0xbf, 0x82, 0xbd, 0x16, 0x22, 1880 0xd4, 0x4c, 0x3a, 0x16, 0xd6, 0x08, 0x44, 0xb2, 0x89, 0x9b, 0x5f, 0x21, 0x12, 0xc9, 0xa8, 0x78, 1881 0x61, 0x8d, 0xf5, 0x1e, 0xaa, 0x44, 0x9f, 0x34, 0xb2, 0xdd, 0x04, 0x5c, 0x3d, 0xcb, 0x82, 0x08, 1882 0x3f, 0xd3, 0x7d, 0x21, 0xac, 0x61, 0xdb, 0xd1, 0xc8, 0x7a, 0xab, 0xf0, 0x2b, 0xac, 0xf7, 0xd0, 1883 0x6a, 0xfc, 0xd7, 0x97, 0xde, 0x39, 0x1a, 0xb1, 0x37, 0x4a, 0x9f, 0xfd, 0xe3, 0xc6, 0x52, 0x2f, 1884 0x59, 0x62, 0x7d, 0x1f, 0xad, 0x44, 0x7f, 0xfb, 0xed, 0x6a, 0x8a, 0xc4, 0xe9, 0xea, 0x78, 0x81, 1885 0xb5, 0x8f, 0xaa, 0x63, 0x7f, 0x1c, 0x12, 0xa2, 0xfa, 0xbe, 0x92, 0xae, 0x6f, 0x0a, 0xc2, 0x2f, 1886 0xb4, 0x1e, 0xa0, 0x0a, 0xfd, 0x80, 0x68, 0xfc, 0x6a, 0xaa, 0xc6, 0x29, 0x0e, 0xb7, 0x8c, 0x81, 1887 0x21, 0x1a, 0x5d, 0x4f, 0xd5, 0xb9, 0x00, 0x43, 0x64, 0x9a, 0x5c, 0x17, 0xd5, 0xfa, 0x46, 0xba, 1888 0xd6, 0x85, 0xeb, 0xa2, 0x82, 0xe7, 0x08, 0xb9, 0x8e, 0x6d, 0xa5, 0xea, 0x5d, 0x26, 0xe4, 0x3a, 1889 0x02, 0x21, 0xd7, 0xb1, 0xaf, 0xa5, 0x6b, 0x1e, 0x20, 0xe4, 0x3a, 0x56, 0x03, 0xad, 0xd1, 0x0f, 1890 0xb0, 0xee, 0x5f, 0x49, 0xd3, 0x3d, 0x45, 0x61, 0x17, 0x31, 0x6c, 0xa8, 0xf6, 0xaf, 0xa7, 0x6b, 1891 0x5f, 0x60, 0x43, 0x6f, 0x80, 0xa4, 0x3d, 0x44, 0xff, 0xaf, 0xa6, 0xea, 0x5f, 0x68, 0x0f, 0x3e, 1892 0x40, 0xed, 0xe0, 0xbf, 0x15, 0xb4, 0x72, 0x18, 0x1c, 0x13, 0x33, 0x78, 0x94, 0xcb, 0x0c, 0x1a, 1893 0xa5, 0xdf, 0xfc, 0xf3, 0x46, 0x01, 0xb2, 0x84, 0x0f, 0x73, 0x58, 0x42, 0xa3, 0xf4, 0xbb, 0x10, 1894 0x4d, 0x36, 0x86, 0x76, 0x1e, 0x63, 0x68, 0x94, 0x7e, 0x1f, 0xa2, 0x89, 0xf6, 0xd0, 0x34, 0xb7, 1895 0x07, 0x8a, 0x24, 0x98, 0x44, 0xd3, 0xdc, 0x24, 0x44, 0x20, 0xa2, 0xf9, 0x76, 0x1e, 0xab, 0x10, 1896 0xaf, 0x8e, 0xde, 0x3f, 0x4d, 0x73, 0xc3, 0x00, 0x48, 0xb9, 0x8e, 0x48, 0x2a, 0x9b, 0x6d, 0x40, 1897 0xa4, 0xb0, 0x05, 0x19, 0x9a, 0x07, 0xc5, 0xe1, 0x2d, 0xa4, 0x9d, 0xc7, 0x42, 0x44, 0x46, 0xf4, 1898 0x3e, 0x6a, 0x9a, 0x1b, 0x89, 0xd8, 0x26, 0x62, 0x27, 0x0d, 0x33, 0x3b, 0x59, 0x09, 0x6f, 0x46, 1899 0x7c, 0xcb, 0x30, 0x96, 0xb2, 0x67, 0x62, 0x29, 0x18, 0x01, 0xdf, 0x26, 0x89, 0xad, 0x1c, 0xe4, 1900 0xb1, 0x15, 0x0c, 0x44, 0x2f, 0x89, 0xb3, 0x96, 0x96, 0xb9, 0xb5, 0x24, 0x58, 0xbc, 0xbd, 0xb4, 1901 0xcc, 0xed, 0x45, 0x86, 0x22, 0xc2, 0x3e, 0xc8, 0x63, 0x31, 0xf2, 0x35, 0xd2, 0xdb, 0xa4, 0x65, 1902 0x6e, 0x33, 0x20, 0x31, 0xd7, 0x11, 0x88, 0x65, 0xb4, 0x1a, 0x98, 0x98, 0xeb, 0x58, 0x0f, 0x4d, 1903 0xed, 0x26, 0x41, 0xe2, 0x2c, 0xe7, 0x20, 0x8f, 0xe5, 0xc8, 0xac, 0xe8, 0xed, 0xd2, 0x32, 0xb7, 1904 0x1d, 0xb9, 0x5d, 0xf8, 0xe0, 0xd6, 0x6f, 0x2b, 0xa8, 0xda, 0xf3, 0x26, 0x4c, 0x0c, 0x69, 0x23, 1905 0x4b, 0xb2, 0x8f, 0x99, 0x5d, 0xb8, 0x59, 0x4c, 0xc9, 0x21, 0xc0, 0x2a, 0xab, 0x99, 0xb8, 0x58, 1906 0x74, 0xc7, 0x84, 0xd9, 0xb7, 0xa8, 0x4f, 0x22, 0xf2, 0x1a, 0xeb, 0x7d, 0x84, 0x82, 0x84, 0x4c, 1907 0x31, 0x8d, 0x0c, 0x75, 0x59, 0x66, 0x8d, 0xf5, 0x2e, 0x5a, 0x3d, 0x8e, 0x29, 0x94, 0x52, 0x28, 1908 0x44, 0xfb, 0xcc, 0x78, 0x05, 0x90, 0x85, 0xca, 0x18, 0xc3, 0x2c, 0x0b, 0x49, 0x1b, 0xce, 0x4b, 1909 0xe9, 0x20, 0xf0, 0x86, 0x53, 0x4a, 0x55, 0x97, 0x31, 0x92, 0x49, 0xaa, 0x12, 0xf7, 0xac, 0x2b, 1910 0xa9, 0x08, 0xe0, 0x9e, 0x55, 0x0a, 0x67, 0xab, 0x0a, 0x1c, 0x75, 0x38, 0x13, 0xb7, 0xbd, 0x28, 1911 0x15, 0x01, 0xdc, 0xf6, 0xca, 0x19, 0x6f, 0x4d, 0xd1, 0x5e, 0x5d, 0xc6, 0x93, 0x36, 0xcf, 0x95, 1912 0x74, 0x10, 0x78, 0xf3, 0x2c, 0xa5, 0xc5, 0xaa, 0xfa, 0xba, 0x14, 0x69, 0x51, 0xdc, 0x7f, 0x5f, 1913 0x49, 0x45, 0x00, 0xf7, 0xdf, 0x72, 0xe8, 0xbc, 0xaa, 0xb9, 0x28, 0x55, 0xe8, 0x94, 0x76, 0xf1, 1914 0xeb, 0xe9, 0x20, 0xf0, 0x2e, 0x5e, 0x8c, 0xaf, 0x1b, 0x8a, 0x1b, 0x5a, 0x15, 0x5f, 0x85, 0x14, 1915 0x60, 0xa5, 0x2d, 0x87, 0x52, 0x80, 0x1c, 0x81, 0xaf, 0x29, 0x2e, 0x47, 0x17, 0x81, 0xa5, 0x2c, 1916 0xf1, 0x4a, 0x3a, 0x08, 0x9c, 0x25, 0xa4, 0x30, 0x7d, 0x5d, 0xf1, 0x5d, 0xab, 0xc3, 0xb4, 0x1c, 1917 0x47, 0x8a, 0xf9, 0xe3, 0xc8, 0xff, 0x2b, 0x68, 0xad, 0xe7, 0x4d, 0xe2, 0x44, 0xd2, 0xcd, 0xe7, 1918 0x0b, 0x34, 0x92, 0x40, 0xee, 0xd0, 0xc9, 0xe3, 0x0e, 0x34, 0x94, 0x00, 0x1e, 0x71, 0xdf, 0xd0, 1919 0x23, 0x92, 0xcd, 0x1f, 0xeb, 0x13, 0x1f, 0x18, 0xf9, 0x44, 0xb2, 0xfd, 0x63, 0xbc, 0xa2, 0x9d, 1920 0xc7, 0x2b, 0x14, 0xf1, 0xe8, 0x20, 0x8f, 0x63, 0x28, 0xf7, 0x92, 0x4d, 0x73, 0xd7, 0x80, 0xc3, 1921 0x56, 0xcb, 0xdc, 0x3b, 0x54, 0x9b, 0xd2, 0xa6, 0xb9, 0x7f, 0xc0, 0xb9, 0xad, 0x65, 0xee, 0x22, 1922 0xaa, 0xdd, 0x6d, 0x3b, 0x8f, 0x93, 0x28, 0x22, 0xe0, 0x41, 0x1e, 0x3f, 0x51, 0xee, 0x94, 0x9b, 1923 0xe6, 0x9e, 0x02, 0x07, 0xca, 0x96, 0xb9, 0xb3, 0xa8, 0xb6, 0xdc, 0xed, 0x3c, 0xee, 0xa2, 0xc8, 1924 0xa6, 0x07, 0x79, 0x3c, 0x46, 0xb9, 0x7d, 0xbf, 0x6f, 0xea, 0x33, 0x60, 0xd2, 0x7d, 0x68, 0xea, 1925 0x36, 0x8a, 0x10, 0xd0, 0xce, 0xe3, 0x38, 0x8a, 0xc4, 0x7c, 0x90, 0xc7, 0x77, 0x94, 0x81, 0xa2, 1926 0x69, 0xee, 0x3d, 0x70, 0xfe, 0x6e, 0x99, 0x3b, 0x90, 0x2a, 0x99, 0xfc, 0xa9, 0x86, 0xaa, 0x9d, 1927 0x01, 0x9b, 0x4c, 0x7e, 0x04, 0xcf, 0xc4, 0xc2, 0x33, 0xbc, 0x55, 0x27, 0x0f, 0x15, 0xb9, 0x05, 1928 0xf5, 0x47, 0x62, 0xf5, 0x83, 0x71, 0x30, 0x7d, 0x09, 0x8d, 0xc7, 0x9a, 0xec, 0xdc, 0x80, 0x58, 1929 0xd0, 0xeb, 0x20, 0x24, 0x0f, 0x25, 0xcf, 0xa3, 0x9f, 0x02, 0x73, 0x36, 0x62, 0x45, 0x6f, 0x6a, 1930 0x29, 0x46, 0xc5, 0x84, 0x21, 0xf4, 0x2c, 0x26, 0x19, 0x4a, 0x10, 0x57, 0xda, 0x02, 0xf1, 0x38, 1931 0x1c, 0x69, 0xe0, 0xdd, 0x55, 0x38, 0xd3, 0x5d, 0x3d, 0x37, 0x5c, 0x4a, 0x98, 0x89, 0xfe, 0x74, 1932 0x08, 0xfb, 0xd3, 0x1d, 0x18, 0x90, 0xad, 0x64, 0x19, 0x0a, 0x36, 0xd5, 0x81, 0x6d, 0xea, 0x8e, 1933 0x96, 0x25, 0xae, 0x24, 0x24, 0x05, 0xb3, 0xea, 0x82, 0x66, 0x75, 0x5b, 0x47, 0x31, 0x01, 0x03, 1934 0x33, 0x4f, 0x07, 0xf6, 0x2c, 0x3d, 0x41, 0x5c, 0x29, 0x10, 0x24, 0x7f, 0xd4, 0xbb, 0xa0, 0x73, 1935 0x69, 0x09, 0x26, 0x60, 0x60, 0x14, 0xea, 0x2a, 0x0c, 0x4c, 0xff, 0x45, 0xf7, 0x19, 0x8a, 0xa2, 1936 0x8d, 0x1d, 0xc2, 0x36, 0xa6, 0xfd, 0xa2, 0xfb, 0x12, 0x4b, 0xc1, 0xcd, 0x3a, 0xb0, 0x9b, 0xa5, 1937 0xf6, 0xd1, 0x75, 0xe4, 0x3e, 0xba, 0x0e, 0xdf, 0xc7, 0xd8, 0xd3, 0xd2, 0xfa, 0x48, 0xc1, 0xc0, 1938 0xe0, 0xd4, 0x55, 0x58, 0x5b, 0x7a, 0x1f, 0x23, 0x8a, 0xa2, 0xc1, 0x1d, 0xc2, 0x06, 0x97, 0xda, 1939 0x47, 0x9e, 0xa5, 0xe0, 0x73, 0x6d, 0xd0, 0xe7, 0x6e, 0x6b, 0x49, 0x86, 0x85, 0x84, 0x22, 0xef, 1940 0x76, 0x1d, 0xc8, 0xed, 0x6e, 0xe9, 0xe8, 0xc5, 0x48, 0x50, 0xcc, 0xea, 0x2a, 0x4c, 0x4f, 0xdf, 1941 0x41, 0x52, 0x2a, 0x74, 0x90, 0x9a, 0xd5, 0x21, 0x6c, 0x7d, 0xda, 0x0e, 0x32, 0x78, 0x70, 0xfa, 1942 0xea, 0xc0, 0x0e, 0xa8, 0x57, 0x22, 0xae, 0x14, 0x94, 0x48, 0x7c, 0xb0, 0x0b, 0xfa, 0xa0, 0x56, 1943 0x89, 0x09, 0x18, 0x14, 0xca, 0x36, 0x7f, 0x8e, 0x5e, 0x85, 0xed, 0xcc, 0x5a, 0x47, 0xc5, 0x5f, 1944 0x78, 0x2f, 0xf1, 0xc3, 0xa1, 0x72, 0x2f, 0xfc, 0xd1, 0xfa, 0x36, 0x2a, 0xff, 0x32, 0xf4, 0xd6, 1945 0x0c, 0xff, 0x66, 0x42, 0x0a, 0xef, 0x2d, 0x7f, 0xb7, 0xb0, 0xf9, 0x43, 0x74, 0xe5, 0x82, 0x90, 1946 0x7f, 0x8a, 0xae, 0x83, 0x3e, 0x07, 0x9c, 0x60, 0x9b, 0x3f, 0x81, 0x66, 0x4a, 0xc8, 0xe0, 0x3f, 1947 0x45, 0xd5, 0x0b, 0xc1, 0xfd, 0x19, 0xba, 0x06, 0x78, 0x20, 0x80, 0xee, 0xf0, 0xe8, 0xfa, 0xa1, 1948 0x20, 0xd7, 0x18, 0x4b, 0xf6, 0xc4, 0x73, 0xc4, 0xff, 0x18, 0x59, 0xb2, 0x3d, 0x02, 0xf8, 0xef, 1949 0xf0, 0xf8, 0xda, 0x29, 0x22, 0x03, 0xff, 0x13, 0xb4, 0x21, 0xf9, 0xe5, 0xf9, 0xa1, 0x33, 0xe4, 1950 0x13, 0x1f, 0xc9, 0x03, 0xcf, 0x0c, 0xfb, 0x40, 0xf2, 0x17, 0x81, 0xce, 0x48, 0xa7, 0xaf, 0xc5, 1951 0x4f, 0xfd, 0x6a, 0xfb, 0xf0, 0x09, 0x12, 0xe9, 0x5c, 0x0c, 0x3e, 0xdf, 0x7d, 0xea, 0x3e, 0x39, 1952 0xfb, 0x13, 0x0d, 0x14, 0x55, 0xdd, 0x3f, 0x77, 0x74, 0xa1, 0xfb, 0x6a, 0xfc, 0x4c, 0xdd, 0x01, 1953 0x4e, 0xc0, 0x77, 0xff, 0xfc, 0xf1, 0x7f, 0x8c, 0x36, 0x24, 0x9f, 0xce, 0xf3, 0xe7, 0x38, 0x19, 1954 0xa0, 0x32, 0xe0, 0x1f, 0xa1, 0x75, 0xd1, 0xb9, 0xcf, 0x0d, 0x9b, 0xe9, 0x3c, 0xe3, 0xb9, 0x79, 1955 0x3a, 0xc3, 0x4e, 0x5d, 0xc1, 0xce, 0x5f, 0x0c, 0x3e, 0xa3, 0xfb, 0xc4, 0x91, 0xf3, 0x28, 0x93, 1956 0xfd, 0xf7, 0x40, 0x48, 0xf7, 0x17, 0x80, 0xbe, 0xf5, 0x9f, 0x1a, 0x5a, 0xeb, 0x0c, 0x92, 0x99, 1957 0xed, 0xc7, 0xea, 0xc4, 0xfc, 0xad, 0x64, 0x2f, 0x12, 0x95, 0x2b, 0xf2, 0xb2, 0xfa, 0x9f, 0x4a, 1958 0x5a, 0x72, 0x6a, 0xfe, 0x26, 0x00, 0x2b, 0xc0, 0x81, 0x0f, 0xdd, 0x3f, 0x52, 0xe6, 0xe6, 0xbb, 1959 0x1a, 0xa2, 0x42, 0xda, 0x55, 0xfc, 0xbb, 0xca, 0x43, 0x29, 0x3b, 0xdf, 0x04, 0x30, 0x79, 0x2c, 1960 0xe8, 0xb9, 0xfe, 0x91, 0x22, 0x3d, 0xdf, 0xd6, 0x31, 0x64, 0xb3, 0x2e, 0x38, 0xe1, 0xed, 0xc3, 1961 0x09, 0xfa, 0x16, 0x04, 0x2a, 0xe7, 0x67, 0xe5, 0xa8, 0xf7, 0x09, 0x9c, 0xa1, 0x6f, 0x69, 0xb8, 1962 0xb2, 0xa1, 0x17, 0x1a, 0xfa, 0xf6, 0xc0, 0x1c, 0xfd, 0x86, 0x9a, 0x28, 0x03, 0xa8, 0x9a, 0xfe, 1963 0x3e, 0x81, 0x93, 0xb4, 0x8e, 0x26, 0x1b, 0x2a, 0xa1, 0x39, 0x70, 0x0f, 0x4c, 0xd3, 0x1a, 0x9a, 1964 0x0c, 0xa0, 0x6a, 0x20, 0x7c, 0xa4, 0xc8, 0xd3, 0xba, 0xaf, 0xbe, 0x2f, 0x11, 0x15, 0x33, 0x75, 1965 0x1f, 0xce, 0xd4, 0x9a, 0xaf, 0xbe, 0x0f, 0x72, 0x15, 0x52, 0xf5, 0x13, 0x38, 0x55, 0xa7, 0xf4, 1966 0x34, 0x0e, 0x98, 0xd0, 0xb4, 0xb8, 0x07, 0x26, 0x6b, 0x7d, 0x4f, 0x23, 0x40, 0xd5, 0xd8, 0xf8, 1967 0x48, 0x91, 0xad, 0xd3, 0x7a, 0xca, 0x13, 0x15, 0xf3, 0x75, 0x1f, 0xce, 0xd7, 0x29, 0x3d, 0x95, 1968 0xb9, 0x0a, 0x09, 0xfb, 0x11, 0x98, 0xb0, 0xdf, 0xd0, 0x50, 0x65, 0x52, 0x31, 0x30, 0x53, 0x7e, 1969 0x0c, 0xa5, 0xec, 0xd7, 0xd5, 0x24, 0x13, 0x34, 0xc5, 0x70, 0xf9, 0x48, 0x91, 0xb3, 0x75, 0xdd, 1970 0xe4, 0x52, 0x31, 0x38, 0x66, 0xee, 0xc3, 0x59, 0x5b, 0xd3, 0x4d, 0x16, 0x53, 0x39, 0x6f, 0x7e, 1971 0x02, 0xa7, 0x6d, 0x9d, 0x42, 0xd9, 0x78, 0x0c, 0x4d, 0x9e, 0x7b, 0x60, 0xe2, 0xd6, 0x28, 0x94, 1972 0x01, 0x54, 0x8c, 0xa0, 0x17, 0x99, 0x7b, 0x91, 0xb9, 0x17, 0x99, 0x7b, 0x91, 0xb9, 0x17, 0x99, 1973 0x7b, 0x91, 0xb9, 0x17, 0x99, 0x7b, 0x91, 0xb9, 0xe1, 0xcc, 0xfd, 0xe7, 0x32, 0xba, 0xfa, 0x78, 1974 0xec, 0xf9, 0xcf, 0x99, 0x27, 0xd5, 0xf7, 0xd8, 0x60, 0x9c, 0xfa, 0xd6, 0xc6, 0x3e, 0xf7, 0x04, 1975 0xf9, 0x3b, 0x4c, 0x5a, 0x4d, 0x33, 0xce, 0x7d, 0xf6, 0xe1, 0xee, 0x0f, 0xd0, 0xea, 0xd4, 0x9b, 1976 0x64, 0x7f, 0x21, 0x23, 0x3c, 0x6d, 0xbc, 0xc0, 0xfa, 0x1e, 0x5a, 0x99, 0x7a, 0x93, 0xac, 0xaf, 1977 0x60, 0x84, 0x27, 0x8e, 0xca, 0xe9, 0xd2, 0xac, 0x2f, 0x5d, 0xd0, 0xa5, 0x24, 0xaa, 0x10, 0xce, 1978 0xd9, 0x5f, 0xb3, 0xa0, 0x9c, 0x69, 0xd0, 0x89, 0x4f, 0x9c, 0xe9, 0xc5, 0x8a, 0xe4, 0xc4, 0xae, 1979 0xc3, 0x9c, 0x38, 0xdb, 0xab, 0x14, 0xcc, 0x89, 0x5d, 0xc7, 0xda, 0x45, 0x97, 0xa7, 0xde, 0x24, 1980 0xdb, 0xcb, 0x13, 0xfb, 0x4b, 0xbd, 0xa8, 0x98, 0x9e, 0x35, 0xfb, 0xeb, 0x12, 0xf4, 0xac, 0x74, 1981 0xd7, 0x4c, 0x2e, 0x37, 0xeb, 0x0b, 0x12, 0xf4, 0x72, 0xf1, 0x07, 0x8d, 0x0d, 0xac, 0xd1, 0xc7, 1982 0x54, 0xa3, 0xa1, 0xd6, 0xb6, 0xfe, 0x57, 0x46, 0x55, 0xac, 0xdb, 0x78, 0x5a, 0xf4, 0xbe, 0x91, 1983 0x6a, 0xc9, 0x58, 0x88, 0xd7, 0xee, 0xbb, 0x06, 0xda, 0x25, 0xe3, 0x1a, 0x4e, 0xc1, 0x0d, 0x43, 1984 0x05, 0x93, 0x24, 0xc0, 0xeb, 0x78, 0xcf, 0x48, 0xc7, 0x31, 0x42, 0xa2, 0xe6, 0x3d, 0x23, 0x35, 1985 0x73, 0x00, 0x44, 0x95, 0x0d, 0x43, 0x4d, 0x73, 0x57, 0x41, 0x95, 0xbd, 0x67, 0xa4, 0x6c, 0x91, 1986 0x04, 0x7e, 0x4f, 0xce, 0x4c, 0xdf, 0x12, 0x09, 0x7c, 0x8f, 0x64, 0x57, 0x79, 0xbc, 0x3e, 0xd6, 1987 0x7a, 0xc3, 0x50, 0xeb, 0x1c, 0x03, 0xaa, 0xf8, 0x3d, 0x23, 0xc5, 0x73, 0x6d, 0x20, 0xba, 0xbf, 1988 0x8a, 0x35, 0xfe, 0x18, 0x6b, 0x3c, 0x54, 0x69, 0xe3, 0xee, 0xe7, 0x5f, 0xd4, 0x0a, 0x5f, 0x7e, 1989 0x51, 0x2b, 0xfc, 0xf1, 0xac, 0x56, 0xf8, 0xcb, 0x59, 0xad, 0xf0, 0xd7, 0xb3, 0x5a, 0xe1, 0xb3, 1990 0xb3, 0xda, 0xd2, 0xdf, 0xcf, 0x6a, 0x4b, 0x9f, 0x9f, 0xd5, 0x0a, 0x5f, 0x9e, 0xd5, 0x96, 0x7e, 1991 0xf5, 0xaf, 0xda, 0xd2, 0xf0, 0x12, 0x3e, 0x83, 0xfb, 0x55, 0x00, 0x00, 0x00, 0xff, 0xff, 0x21, 1992 0x65, 0x8f, 0x44, 0xbe, 0x40, 0x00, 0x00, 1993 } 1994 1995 func (this *KnownTypes) Compare(that interface{}) int { 1996 if that == nil { 1997 if this == nil { 1998 return 0 1999 } 2000 return 1 2001 } 2002 2003 that1, ok := that.(*KnownTypes) 2004 if !ok { 2005 that2, ok := that.(KnownTypes) 2006 if ok { 2007 that1 = &that2 2008 } else { 2009 return 1 2010 } 2011 } 2012 if that1 == nil { 2013 if this == nil { 2014 return 0 2015 } 2016 return 1 2017 } else if this == nil { 2018 return -1 2019 } 2020 if c := this.Dur.Compare(that1.Dur); c != 0 { 2021 return c 2022 } 2023 if c := this.Ts.Compare(that1.Ts); c != 0 { 2024 return c 2025 } 2026 if c := this.Dbl.Compare(that1.Dbl); c != 0 { 2027 return c 2028 } 2029 if c := this.Flt.Compare(that1.Flt); c != 0 { 2030 return c 2031 } 2032 if c := this.I64.Compare(that1.I64); c != 0 { 2033 return c 2034 } 2035 if c := this.U64.Compare(that1.U64); c != 0 { 2036 return c 2037 } 2038 if c := this.I32.Compare(that1.I32); c != 0 { 2039 return c 2040 } 2041 if c := this.U32.Compare(that1.U32); c != 0 { 2042 return c 2043 } 2044 if c := this.Bool.Compare(that1.Bool); c != 0 { 2045 return c 2046 } 2047 if c := this.Str.Compare(that1.Str); c != 0 { 2048 return c 2049 } 2050 if c := this.Bytes.Compare(that1.Bytes); c != 0 { 2051 return c 2052 } 2053 if c := this.St.Compare(that1.St); c != 0 { 2054 return c 2055 } 2056 if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { 2057 return c 2058 } 2059 return 0 2060 } 2061 func (this *ProtoTypes) Compare(that interface{}) int { 2062 if that == nil { 2063 if this == nil { 2064 return 0 2065 } 2066 return 1 2067 } 2068 2069 that1, ok := that.(*ProtoTypes) 2070 if !ok { 2071 that2, ok := that.(ProtoTypes) 2072 if ok { 2073 that1 = &that2 2074 } else { 2075 return 1 2076 } 2077 } 2078 if that1 == nil { 2079 if this == nil { 2080 return 0 2081 } 2082 return 1 2083 } else if this == nil { 2084 return -1 2085 } 2086 if c := this.NullableTimestamp.Compare(that1.NullableTimestamp); c != 0 { 2087 return c 2088 } 2089 if c := this.NullableDuration.Compare(that1.NullableDuration); c != 0 { 2090 return c 2091 } 2092 if c := this.NullableDouble.Compare(that1.NullableDouble); c != 0 { 2093 return c 2094 } 2095 if c := this.NullableFloat.Compare(that1.NullableFloat); c != 0 { 2096 return c 2097 } 2098 if c := this.NullableInt64.Compare(that1.NullableInt64); c != 0 { 2099 return c 2100 } 2101 if c := this.NullableUInt64.Compare(that1.NullableUInt64); c != 0 { 2102 return c 2103 } 2104 if c := this.NullableInt32.Compare(that1.NullableInt32); c != 0 { 2105 return c 2106 } 2107 if c := this.NullableUInt32.Compare(that1.NullableUInt32); c != 0 { 2108 return c 2109 } 2110 if c := this.NullableBool.Compare(that1.NullableBool); c != 0 { 2111 return c 2112 } 2113 if c := this.NullableString.Compare(that1.NullableString); c != 0 { 2114 return c 2115 } 2116 if c := this.NullableBytes.Compare(that1.NullableBytes); c != 0 { 2117 return c 2118 } 2119 if c := this.Timestamp.Compare(&that1.Timestamp); c != 0 { 2120 return c 2121 } 2122 if c := this.Duration.Compare(&that1.Duration); c != 0 { 2123 return c 2124 } 2125 if c := this.NonnullDouble.Compare(&that1.NonnullDouble); c != 0 { 2126 return c 2127 } 2128 if c := this.NonnullFloat.Compare(&that1.NonnullFloat); c != 0 { 2129 return c 2130 } 2131 if c := this.NonnullInt64.Compare(&that1.NonnullInt64); c != 0 { 2132 return c 2133 } 2134 if c := this.NonnullUInt64.Compare(&that1.NonnullUInt64); c != 0 { 2135 return c 2136 } 2137 if c := this.NonnullInt32.Compare(&that1.NonnullInt32); c != 0 { 2138 return c 2139 } 2140 if c := this.NonnullUInt32.Compare(&that1.NonnullUInt32); c != 0 { 2141 return c 2142 } 2143 if c := this.NonnullBool.Compare(&that1.NonnullBool); c != 0 { 2144 return c 2145 } 2146 if c := this.NonnullString.Compare(&that1.NonnullString); c != 0 { 2147 return c 2148 } 2149 if c := this.NonnullBytes.Compare(&that1.NonnullBytes); c != 0 { 2150 return c 2151 } 2152 if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { 2153 return c 2154 } 2155 return 0 2156 } 2157 func (this *RepProtoTypes) Compare(that interface{}) int { 2158 if that == nil { 2159 if this == nil { 2160 return 0 2161 } 2162 return 1 2163 } 2164 2165 that1, ok := that.(*RepProtoTypes) 2166 if !ok { 2167 that2, ok := that.(RepProtoTypes) 2168 if ok { 2169 that1 = &that2 2170 } else { 2171 return 1 2172 } 2173 } 2174 if that1 == nil { 2175 if this == nil { 2176 return 0 2177 } 2178 return 1 2179 } else if this == nil { 2180 return -1 2181 } 2182 if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { 2183 if len(this.NullableTimestamps) < len(that1.NullableTimestamps) { 2184 return -1 2185 } 2186 return 1 2187 } 2188 for i := range this.NullableTimestamps { 2189 if c := this.NullableTimestamps[i].Compare(that1.NullableTimestamps[i]); c != 0 { 2190 return c 2191 } 2192 } 2193 if len(this.NullableDurations) != len(that1.NullableDurations) { 2194 if len(this.NullableDurations) < len(that1.NullableDurations) { 2195 return -1 2196 } 2197 return 1 2198 } 2199 for i := range this.NullableDurations { 2200 if c := this.NullableDurations[i].Compare(that1.NullableDurations[i]); c != 0 { 2201 return c 2202 } 2203 } 2204 if len(this.Timestamps) != len(that1.Timestamps) { 2205 if len(this.Timestamps) < len(that1.Timestamps) { 2206 return -1 2207 } 2208 return 1 2209 } 2210 for i := range this.Timestamps { 2211 if c := this.Timestamps[i].Compare(&that1.Timestamps[i]); c != 0 { 2212 return c 2213 } 2214 } 2215 if len(this.Durations) != len(that1.Durations) { 2216 if len(this.Durations) < len(that1.Durations) { 2217 return -1 2218 } 2219 return 1 2220 } 2221 for i := range this.Durations { 2222 if c := this.Durations[i].Compare(&that1.Durations[i]); c != 0 { 2223 return c 2224 } 2225 } 2226 if len(this.NullableDouble) != len(that1.NullableDouble) { 2227 if len(this.NullableDouble) < len(that1.NullableDouble) { 2228 return -1 2229 } 2230 return 1 2231 } 2232 for i := range this.NullableDouble { 2233 if c := this.NullableDouble[i].Compare(that1.NullableDouble[i]); c != 0 { 2234 return c 2235 } 2236 } 2237 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 2238 if len(this.NonnullDouble) < len(that1.NonnullDouble) { 2239 return -1 2240 } 2241 return 1 2242 } 2243 for i := range this.NonnullDouble { 2244 if c := this.NonnullDouble[i].Compare(&that1.NonnullDouble[i]); c != 0 { 2245 return c 2246 } 2247 } 2248 if len(this.NullableFloat) != len(that1.NullableFloat) { 2249 if len(this.NullableFloat) < len(that1.NullableFloat) { 2250 return -1 2251 } 2252 return 1 2253 } 2254 for i := range this.NullableFloat { 2255 if c := this.NullableFloat[i].Compare(that1.NullableFloat[i]); c != 0 { 2256 return c 2257 } 2258 } 2259 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 2260 if len(this.NonnullFloat) < len(that1.NonnullFloat) { 2261 return -1 2262 } 2263 return 1 2264 } 2265 for i := range this.NonnullFloat { 2266 if c := this.NonnullFloat[i].Compare(&that1.NonnullFloat[i]); c != 0 { 2267 return c 2268 } 2269 } 2270 if len(this.NullableInt64) != len(that1.NullableInt64) { 2271 if len(this.NullableInt64) < len(that1.NullableInt64) { 2272 return -1 2273 } 2274 return 1 2275 } 2276 for i := range this.NullableInt64 { 2277 if c := this.NullableInt64[i].Compare(that1.NullableInt64[i]); c != 0 { 2278 return c 2279 } 2280 } 2281 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 2282 if len(this.NonnullInt64) < len(that1.NonnullInt64) { 2283 return -1 2284 } 2285 return 1 2286 } 2287 for i := range this.NonnullInt64 { 2288 if c := this.NonnullInt64[i].Compare(&that1.NonnullInt64[i]); c != 0 { 2289 return c 2290 } 2291 } 2292 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 2293 if len(this.NullableUInt64) < len(that1.NullableUInt64) { 2294 return -1 2295 } 2296 return 1 2297 } 2298 for i := range this.NullableUInt64 { 2299 if c := this.NullableUInt64[i].Compare(that1.NullableUInt64[i]); c != 0 { 2300 return c 2301 } 2302 } 2303 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 2304 if len(this.NonnullUInt64) < len(that1.NonnullUInt64) { 2305 return -1 2306 } 2307 return 1 2308 } 2309 for i := range this.NonnullUInt64 { 2310 if c := this.NonnullUInt64[i].Compare(&that1.NonnullUInt64[i]); c != 0 { 2311 return c 2312 } 2313 } 2314 if len(this.NullableInt32) != len(that1.NullableInt32) { 2315 if len(this.NullableInt32) < len(that1.NullableInt32) { 2316 return -1 2317 } 2318 return 1 2319 } 2320 for i := range this.NullableInt32 { 2321 if c := this.NullableInt32[i].Compare(that1.NullableInt32[i]); c != 0 { 2322 return c 2323 } 2324 } 2325 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 2326 if len(this.NonnullInt32) < len(that1.NonnullInt32) { 2327 return -1 2328 } 2329 return 1 2330 } 2331 for i := range this.NonnullInt32 { 2332 if c := this.NonnullInt32[i].Compare(&that1.NonnullInt32[i]); c != 0 { 2333 return c 2334 } 2335 } 2336 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 2337 if len(this.NullableUInt32) < len(that1.NullableUInt32) { 2338 return -1 2339 } 2340 return 1 2341 } 2342 for i := range this.NullableUInt32 { 2343 if c := this.NullableUInt32[i].Compare(that1.NullableUInt32[i]); c != 0 { 2344 return c 2345 } 2346 } 2347 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 2348 if len(this.NonnullUInt32) < len(that1.NonnullUInt32) { 2349 return -1 2350 } 2351 return 1 2352 } 2353 for i := range this.NonnullUInt32 { 2354 if c := this.NonnullUInt32[i].Compare(&that1.NonnullUInt32[i]); c != 0 { 2355 return c 2356 } 2357 } 2358 if len(this.NullableBool) != len(that1.NullableBool) { 2359 if len(this.NullableBool) < len(that1.NullableBool) { 2360 return -1 2361 } 2362 return 1 2363 } 2364 for i := range this.NullableBool { 2365 if c := this.NullableBool[i].Compare(that1.NullableBool[i]); c != 0 { 2366 return c 2367 } 2368 } 2369 if len(this.NonnullBool) != len(that1.NonnullBool) { 2370 if len(this.NonnullBool) < len(that1.NonnullBool) { 2371 return -1 2372 } 2373 return 1 2374 } 2375 for i := range this.NonnullBool { 2376 if c := this.NonnullBool[i].Compare(&that1.NonnullBool[i]); c != 0 { 2377 return c 2378 } 2379 } 2380 if len(this.NullableString) != len(that1.NullableString) { 2381 if len(this.NullableString) < len(that1.NullableString) { 2382 return -1 2383 } 2384 return 1 2385 } 2386 for i := range this.NullableString { 2387 if c := this.NullableString[i].Compare(that1.NullableString[i]); c != 0 { 2388 return c 2389 } 2390 } 2391 if len(this.NonnullString) != len(that1.NonnullString) { 2392 if len(this.NonnullString) < len(that1.NonnullString) { 2393 return -1 2394 } 2395 return 1 2396 } 2397 for i := range this.NonnullString { 2398 if c := this.NonnullString[i].Compare(&that1.NonnullString[i]); c != 0 { 2399 return c 2400 } 2401 } 2402 if len(this.NullableBytes) != len(that1.NullableBytes) { 2403 if len(this.NullableBytes) < len(that1.NullableBytes) { 2404 return -1 2405 } 2406 return 1 2407 } 2408 for i := range this.NullableBytes { 2409 if c := this.NullableBytes[i].Compare(that1.NullableBytes[i]); c != 0 { 2410 return c 2411 } 2412 } 2413 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 2414 if len(this.NonnullBytes) < len(that1.NonnullBytes) { 2415 return -1 2416 } 2417 return 1 2418 } 2419 for i := range this.NonnullBytes { 2420 if c := this.NonnullBytes[i].Compare(&that1.NonnullBytes[i]); c != 0 { 2421 return c 2422 } 2423 } 2424 if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 { 2425 return c 2426 } 2427 return 0 2428 } 2429 func (this *KnownTypes) VerboseEqual(that interface{}) error { 2430 if that == nil { 2431 if this == nil { 2432 return nil 2433 } 2434 return fmt.Errorf("that == nil && this != nil") 2435 } 2436 2437 that1, ok := that.(*KnownTypes) 2438 if !ok { 2439 that2, ok := that.(KnownTypes) 2440 if ok { 2441 that1 = &that2 2442 } else { 2443 return fmt.Errorf("that is not of type *KnownTypes") 2444 } 2445 } 2446 if that1 == nil { 2447 if this == nil { 2448 return nil 2449 } 2450 return fmt.Errorf("that is type *KnownTypes but is nil && this != nil") 2451 } else if this == nil { 2452 return fmt.Errorf("that is type *KnownTypes but is not nil && this == nil") 2453 } 2454 if !this.Dur.Equal(that1.Dur) { 2455 return fmt.Errorf("Dur this(%v) Not Equal that(%v)", this.Dur, that1.Dur) 2456 } 2457 if !this.Ts.Equal(that1.Ts) { 2458 return fmt.Errorf("Ts this(%v) Not Equal that(%v)", this.Ts, that1.Ts) 2459 } 2460 if !this.Dbl.Equal(that1.Dbl) { 2461 return fmt.Errorf("Dbl this(%v) Not Equal that(%v)", this.Dbl, that1.Dbl) 2462 } 2463 if !this.Flt.Equal(that1.Flt) { 2464 return fmt.Errorf("Flt this(%v) Not Equal that(%v)", this.Flt, that1.Flt) 2465 } 2466 if !this.I64.Equal(that1.I64) { 2467 return fmt.Errorf("I64 this(%v) Not Equal that(%v)", this.I64, that1.I64) 2468 } 2469 if !this.U64.Equal(that1.U64) { 2470 return fmt.Errorf("U64 this(%v) Not Equal that(%v)", this.U64, that1.U64) 2471 } 2472 if !this.I32.Equal(that1.I32) { 2473 return fmt.Errorf("I32 this(%v) Not Equal that(%v)", this.I32, that1.I32) 2474 } 2475 if !this.U32.Equal(that1.U32) { 2476 return fmt.Errorf("U32 this(%v) Not Equal that(%v)", this.U32, that1.U32) 2477 } 2478 if !this.Bool.Equal(that1.Bool) { 2479 return fmt.Errorf("Bool this(%v) Not Equal that(%v)", this.Bool, that1.Bool) 2480 } 2481 if !this.Str.Equal(that1.Str) { 2482 return fmt.Errorf("Str this(%v) Not Equal that(%v)", this.Str, that1.Str) 2483 } 2484 if !this.Bytes.Equal(that1.Bytes) { 2485 return fmt.Errorf("Bytes this(%v) Not Equal that(%v)", this.Bytes, that1.Bytes) 2486 } 2487 if !this.St.Equal(that1.St) { 2488 return fmt.Errorf("St this(%v) Not Equal that(%v)", this.St, that1.St) 2489 } 2490 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2491 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 2492 } 2493 return nil 2494 } 2495 func (this *KnownTypes) Equal(that interface{}) bool { 2496 if that == nil { 2497 return this == nil 2498 } 2499 2500 that1, ok := that.(*KnownTypes) 2501 if !ok { 2502 that2, ok := that.(KnownTypes) 2503 if ok { 2504 that1 = &that2 2505 } else { 2506 return false 2507 } 2508 } 2509 if that1 == nil { 2510 return this == nil 2511 } else if this == nil { 2512 return false 2513 } 2514 if !this.Dur.Equal(that1.Dur) { 2515 return false 2516 } 2517 if !this.Ts.Equal(that1.Ts) { 2518 return false 2519 } 2520 if !this.Dbl.Equal(that1.Dbl) { 2521 return false 2522 } 2523 if !this.Flt.Equal(that1.Flt) { 2524 return false 2525 } 2526 if !this.I64.Equal(that1.I64) { 2527 return false 2528 } 2529 if !this.U64.Equal(that1.U64) { 2530 return false 2531 } 2532 if !this.I32.Equal(that1.I32) { 2533 return false 2534 } 2535 if !this.U32.Equal(that1.U32) { 2536 return false 2537 } 2538 if !this.Bool.Equal(that1.Bool) { 2539 return false 2540 } 2541 if !this.Str.Equal(that1.Str) { 2542 return false 2543 } 2544 if !this.Bytes.Equal(that1.Bytes) { 2545 return false 2546 } 2547 if !this.St.Equal(that1.St) { 2548 return false 2549 } 2550 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2551 return false 2552 } 2553 return true 2554 } 2555 func (this *ProtoTypes) VerboseEqual(that interface{}) error { 2556 if that == nil { 2557 if this == nil { 2558 return nil 2559 } 2560 return fmt.Errorf("that == nil && this != nil") 2561 } 2562 2563 that1, ok := that.(*ProtoTypes) 2564 if !ok { 2565 that2, ok := that.(ProtoTypes) 2566 if ok { 2567 that1 = &that2 2568 } else { 2569 return fmt.Errorf("that is not of type *ProtoTypes") 2570 } 2571 } 2572 if that1 == nil { 2573 if this == nil { 2574 return nil 2575 } 2576 return fmt.Errorf("that is type *ProtoTypes but is nil && this != nil") 2577 } else if this == nil { 2578 return fmt.Errorf("that is type *ProtoTypes but is not nil && this == nil") 2579 } 2580 if !this.NullableTimestamp.Equal(that1.NullableTimestamp) { 2581 return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", this.NullableTimestamp, that1.NullableTimestamp) 2582 } 2583 if !this.NullableDuration.Equal(that1.NullableDuration) { 2584 return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", this.NullableDuration, that1.NullableDuration) 2585 } 2586 if !this.NullableDouble.Equal(that1.NullableDouble) { 2587 return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", this.NullableDouble, that1.NullableDouble) 2588 } 2589 if !this.NullableFloat.Equal(that1.NullableFloat) { 2590 return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", this.NullableFloat, that1.NullableFloat) 2591 } 2592 if !this.NullableInt64.Equal(that1.NullableInt64) { 2593 return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", this.NullableInt64, that1.NullableInt64) 2594 } 2595 if !this.NullableUInt64.Equal(that1.NullableUInt64) { 2596 return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", this.NullableUInt64, that1.NullableUInt64) 2597 } 2598 if !this.NullableInt32.Equal(that1.NullableInt32) { 2599 return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", this.NullableInt32, that1.NullableInt32) 2600 } 2601 if !this.NullableUInt32.Equal(that1.NullableUInt32) { 2602 return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", this.NullableUInt32, that1.NullableUInt32) 2603 } 2604 if !this.NullableBool.Equal(that1.NullableBool) { 2605 return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", this.NullableBool, that1.NullableBool) 2606 } 2607 if !this.NullableString.Equal(that1.NullableString) { 2608 return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", this.NullableString, that1.NullableString) 2609 } 2610 if !this.NullableBytes.Equal(that1.NullableBytes) { 2611 return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", this.NullableBytes, that1.NullableBytes) 2612 } 2613 if !this.Timestamp.Equal(&that1.Timestamp) { 2614 return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) 2615 } 2616 if !this.Duration.Equal(&that1.Duration) { 2617 return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) 2618 } 2619 if !this.NonnullDouble.Equal(&that1.NonnullDouble) { 2620 return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", this.NonnullDouble, that1.NonnullDouble) 2621 } 2622 if !this.NonnullFloat.Equal(&that1.NonnullFloat) { 2623 return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", this.NonnullFloat, that1.NonnullFloat) 2624 } 2625 if !this.NonnullInt64.Equal(&that1.NonnullInt64) { 2626 return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", this.NonnullInt64, that1.NonnullInt64) 2627 } 2628 if !this.NonnullUInt64.Equal(&that1.NonnullUInt64) { 2629 return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", this.NonnullUInt64, that1.NonnullUInt64) 2630 } 2631 if !this.NonnullInt32.Equal(&that1.NonnullInt32) { 2632 return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", this.NonnullInt32, that1.NonnullInt32) 2633 } 2634 if !this.NonnullUInt32.Equal(&that1.NonnullUInt32) { 2635 return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", this.NonnullUInt32, that1.NonnullUInt32) 2636 } 2637 if !this.NonnullBool.Equal(&that1.NonnullBool) { 2638 return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", this.NonnullBool, that1.NonnullBool) 2639 } 2640 if !this.NonnullString.Equal(&that1.NonnullString) { 2641 return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", this.NonnullString, that1.NonnullString) 2642 } 2643 if !this.NonnullBytes.Equal(&that1.NonnullBytes) { 2644 return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", this.NonnullBytes, that1.NonnullBytes) 2645 } 2646 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2647 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 2648 } 2649 return nil 2650 } 2651 func (this *ProtoTypes) Equal(that interface{}) bool { 2652 if that == nil { 2653 return this == nil 2654 } 2655 2656 that1, ok := that.(*ProtoTypes) 2657 if !ok { 2658 that2, ok := that.(ProtoTypes) 2659 if ok { 2660 that1 = &that2 2661 } else { 2662 return false 2663 } 2664 } 2665 if that1 == nil { 2666 return this == nil 2667 } else if this == nil { 2668 return false 2669 } 2670 if !this.NullableTimestamp.Equal(that1.NullableTimestamp) { 2671 return false 2672 } 2673 if !this.NullableDuration.Equal(that1.NullableDuration) { 2674 return false 2675 } 2676 if !this.NullableDouble.Equal(that1.NullableDouble) { 2677 return false 2678 } 2679 if !this.NullableFloat.Equal(that1.NullableFloat) { 2680 return false 2681 } 2682 if !this.NullableInt64.Equal(that1.NullableInt64) { 2683 return false 2684 } 2685 if !this.NullableUInt64.Equal(that1.NullableUInt64) { 2686 return false 2687 } 2688 if !this.NullableInt32.Equal(that1.NullableInt32) { 2689 return false 2690 } 2691 if !this.NullableUInt32.Equal(that1.NullableUInt32) { 2692 return false 2693 } 2694 if !this.NullableBool.Equal(that1.NullableBool) { 2695 return false 2696 } 2697 if !this.NullableString.Equal(that1.NullableString) { 2698 return false 2699 } 2700 if !this.NullableBytes.Equal(that1.NullableBytes) { 2701 return false 2702 } 2703 if !this.Timestamp.Equal(&that1.Timestamp) { 2704 return false 2705 } 2706 if !this.Duration.Equal(&that1.Duration) { 2707 return false 2708 } 2709 if !this.NonnullDouble.Equal(&that1.NonnullDouble) { 2710 return false 2711 } 2712 if !this.NonnullFloat.Equal(&that1.NonnullFloat) { 2713 return false 2714 } 2715 if !this.NonnullInt64.Equal(&that1.NonnullInt64) { 2716 return false 2717 } 2718 if !this.NonnullUInt64.Equal(&that1.NonnullUInt64) { 2719 return false 2720 } 2721 if !this.NonnullInt32.Equal(&that1.NonnullInt32) { 2722 return false 2723 } 2724 if !this.NonnullUInt32.Equal(&that1.NonnullUInt32) { 2725 return false 2726 } 2727 if !this.NonnullBool.Equal(&that1.NonnullBool) { 2728 return false 2729 } 2730 if !this.NonnullString.Equal(&that1.NonnullString) { 2731 return false 2732 } 2733 if !this.NonnullBytes.Equal(&that1.NonnullBytes) { 2734 return false 2735 } 2736 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2737 return false 2738 } 2739 return true 2740 } 2741 func (this *StdTypes) VerboseEqual(that interface{}) error { 2742 if that == nil { 2743 if this == nil { 2744 return nil 2745 } 2746 return fmt.Errorf("that == nil && this != nil") 2747 } 2748 2749 that1, ok := that.(*StdTypes) 2750 if !ok { 2751 that2, ok := that.(StdTypes) 2752 if ok { 2753 that1 = &that2 2754 } else { 2755 return fmt.Errorf("that is not of type *StdTypes") 2756 } 2757 } 2758 if that1 == nil { 2759 if this == nil { 2760 return nil 2761 } 2762 return fmt.Errorf("that is type *StdTypes but is nil && this != nil") 2763 } else if this == nil { 2764 return fmt.Errorf("that is type *StdTypes but is not nil && this == nil") 2765 } 2766 if that1.NullableTimestamp == nil { 2767 if this.NullableTimestamp != nil { 2768 return fmt.Errorf("this.NullableTimestamp != nil && that1.NullableTimestamp == nil") 2769 } 2770 } else if !this.NullableTimestamp.Equal(*that1.NullableTimestamp) { 2771 return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", this.NullableTimestamp, that1.NullableTimestamp) 2772 } 2773 if this.NullableDuration != nil && that1.NullableDuration != nil { 2774 if *this.NullableDuration != *that1.NullableDuration { 2775 return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", *this.NullableDuration, *that1.NullableDuration) 2776 } 2777 } else if this.NullableDuration != nil { 2778 return fmt.Errorf("this.NullableDuration == nil && that.NullableDuration != nil") 2779 } else if that1.NullableDuration != nil { 2780 return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", this.NullableDuration, that1.NullableDuration) 2781 } 2782 if this.NullableDouble != nil && that1.NullableDouble != nil { 2783 if *this.NullableDouble != *that1.NullableDouble { 2784 return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", *this.NullableDouble, *that1.NullableDouble) 2785 } 2786 } else if this.NullableDouble != nil { 2787 return fmt.Errorf("this.NullableDouble == nil && that.NullableDouble != nil") 2788 } else if that1.NullableDouble != nil { 2789 return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", this.NullableDouble, that1.NullableDouble) 2790 } 2791 if this.NullableFloat != nil && that1.NullableFloat != nil { 2792 if *this.NullableFloat != *that1.NullableFloat { 2793 return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", *this.NullableFloat, *that1.NullableFloat) 2794 } 2795 } else if this.NullableFloat != nil { 2796 return fmt.Errorf("this.NullableFloat == nil && that.NullableFloat != nil") 2797 } else if that1.NullableFloat != nil { 2798 return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", this.NullableFloat, that1.NullableFloat) 2799 } 2800 if this.NullableInt64 != nil && that1.NullableInt64 != nil { 2801 if *this.NullableInt64 != *that1.NullableInt64 { 2802 return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", *this.NullableInt64, *that1.NullableInt64) 2803 } 2804 } else if this.NullableInt64 != nil { 2805 return fmt.Errorf("this.NullableInt64 == nil && that.NullableInt64 != nil") 2806 } else if that1.NullableInt64 != nil { 2807 return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", this.NullableInt64, that1.NullableInt64) 2808 } 2809 if this.NullableUInt64 != nil && that1.NullableUInt64 != nil { 2810 if *this.NullableUInt64 != *that1.NullableUInt64 { 2811 return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", *this.NullableUInt64, *that1.NullableUInt64) 2812 } 2813 } else if this.NullableUInt64 != nil { 2814 return fmt.Errorf("this.NullableUInt64 == nil && that.NullableUInt64 != nil") 2815 } else if that1.NullableUInt64 != nil { 2816 return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", this.NullableUInt64, that1.NullableUInt64) 2817 } 2818 if this.NullableInt32 != nil && that1.NullableInt32 != nil { 2819 if *this.NullableInt32 != *that1.NullableInt32 { 2820 return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", *this.NullableInt32, *that1.NullableInt32) 2821 } 2822 } else if this.NullableInt32 != nil { 2823 return fmt.Errorf("this.NullableInt32 == nil && that.NullableInt32 != nil") 2824 } else if that1.NullableInt32 != nil { 2825 return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", this.NullableInt32, that1.NullableInt32) 2826 } 2827 if this.NullableUInt32 != nil && that1.NullableUInt32 != nil { 2828 if *this.NullableUInt32 != *that1.NullableUInt32 { 2829 return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", *this.NullableUInt32, *that1.NullableUInt32) 2830 } 2831 } else if this.NullableUInt32 != nil { 2832 return fmt.Errorf("this.NullableUInt32 == nil && that.NullableUInt32 != nil") 2833 } else if that1.NullableUInt32 != nil { 2834 return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", this.NullableUInt32, that1.NullableUInt32) 2835 } 2836 if this.NullableBool != nil && that1.NullableBool != nil { 2837 if *this.NullableBool != *that1.NullableBool { 2838 return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", *this.NullableBool, *that1.NullableBool) 2839 } 2840 } else if this.NullableBool != nil { 2841 return fmt.Errorf("this.NullableBool == nil && that.NullableBool != nil") 2842 } else if that1.NullableBool != nil { 2843 return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", this.NullableBool, that1.NullableBool) 2844 } 2845 if this.NullableString != nil && that1.NullableString != nil { 2846 if *this.NullableString != *that1.NullableString { 2847 return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", *this.NullableString, *that1.NullableString) 2848 } 2849 } else if this.NullableString != nil { 2850 return fmt.Errorf("this.NullableString == nil && that.NullableString != nil") 2851 } else if that1.NullableString != nil { 2852 return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", this.NullableString, that1.NullableString) 2853 } 2854 if that1.NullableBytes == nil { 2855 if this.NullableBytes != nil { 2856 return fmt.Errorf("this.NullableBytes != nil && that1.NullableBytes == nil") 2857 } 2858 } else if !bytes.Equal(*this.NullableBytes, *that1.NullableBytes) { 2859 return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", this.NullableBytes, that1.NullableBytes) 2860 } 2861 if !this.Timestamp.Equal(that1.Timestamp) { 2862 return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) 2863 } 2864 if this.Duration != that1.Duration { 2865 return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) 2866 } 2867 if this.NonnullDouble != that1.NonnullDouble { 2868 return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", this.NonnullDouble, that1.NonnullDouble) 2869 } 2870 if this.NonnullFloat != that1.NonnullFloat { 2871 return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", this.NonnullFloat, that1.NonnullFloat) 2872 } 2873 if this.NonnullInt64 != that1.NonnullInt64 { 2874 return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", this.NonnullInt64, that1.NonnullInt64) 2875 } 2876 if this.NonnullUInt64 != that1.NonnullUInt64 { 2877 return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", this.NonnullUInt64, that1.NonnullUInt64) 2878 } 2879 if this.NonnullInt32 != that1.NonnullInt32 { 2880 return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", this.NonnullInt32, that1.NonnullInt32) 2881 } 2882 if this.NonnullUInt32 != that1.NonnullUInt32 { 2883 return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", this.NonnullUInt32, that1.NonnullUInt32) 2884 } 2885 if this.NonnullBool != that1.NonnullBool { 2886 return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", this.NonnullBool, that1.NonnullBool) 2887 } 2888 if this.NonnullString != that1.NonnullString { 2889 return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", this.NonnullString, that1.NonnullString) 2890 } 2891 if !bytes.Equal(this.NonnullBytes, that1.NonnullBytes) { 2892 return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", this.NonnullBytes, that1.NonnullBytes) 2893 } 2894 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2895 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 2896 } 2897 return nil 2898 } 2899 func (this *StdTypes) Equal(that interface{}) bool { 2900 if that == nil { 2901 return this == nil 2902 } 2903 2904 that1, ok := that.(*StdTypes) 2905 if !ok { 2906 that2, ok := that.(StdTypes) 2907 if ok { 2908 that1 = &that2 2909 } else { 2910 return false 2911 } 2912 } 2913 if that1 == nil { 2914 return this == nil 2915 } else if this == nil { 2916 return false 2917 } 2918 if that1.NullableTimestamp == nil { 2919 if this.NullableTimestamp != nil { 2920 return false 2921 } 2922 } else if !this.NullableTimestamp.Equal(*that1.NullableTimestamp) { 2923 return false 2924 } 2925 if this.NullableDuration != nil && that1.NullableDuration != nil { 2926 if *this.NullableDuration != *that1.NullableDuration { 2927 return false 2928 } 2929 } else if this.NullableDuration != nil { 2930 return false 2931 } else if that1.NullableDuration != nil { 2932 return false 2933 } 2934 if this.NullableDouble != nil && that1.NullableDouble != nil { 2935 if *this.NullableDouble != *that1.NullableDouble { 2936 return false 2937 } 2938 } else if this.NullableDouble != nil { 2939 return false 2940 } else if that1.NullableDouble != nil { 2941 return false 2942 } 2943 if this.NullableFloat != nil && that1.NullableFloat != nil { 2944 if *this.NullableFloat != *that1.NullableFloat { 2945 return false 2946 } 2947 } else if this.NullableFloat != nil { 2948 return false 2949 } else if that1.NullableFloat != nil { 2950 return false 2951 } 2952 if this.NullableInt64 != nil && that1.NullableInt64 != nil { 2953 if *this.NullableInt64 != *that1.NullableInt64 { 2954 return false 2955 } 2956 } else if this.NullableInt64 != nil { 2957 return false 2958 } else if that1.NullableInt64 != nil { 2959 return false 2960 } 2961 if this.NullableUInt64 != nil && that1.NullableUInt64 != nil { 2962 if *this.NullableUInt64 != *that1.NullableUInt64 { 2963 return false 2964 } 2965 } else if this.NullableUInt64 != nil { 2966 return false 2967 } else if that1.NullableUInt64 != nil { 2968 return false 2969 } 2970 if this.NullableInt32 != nil && that1.NullableInt32 != nil { 2971 if *this.NullableInt32 != *that1.NullableInt32 { 2972 return false 2973 } 2974 } else if this.NullableInt32 != nil { 2975 return false 2976 } else if that1.NullableInt32 != nil { 2977 return false 2978 } 2979 if this.NullableUInt32 != nil && that1.NullableUInt32 != nil { 2980 if *this.NullableUInt32 != *that1.NullableUInt32 { 2981 return false 2982 } 2983 } else if this.NullableUInt32 != nil { 2984 return false 2985 } else if that1.NullableUInt32 != nil { 2986 return false 2987 } 2988 if this.NullableBool != nil && that1.NullableBool != nil { 2989 if *this.NullableBool != *that1.NullableBool { 2990 return false 2991 } 2992 } else if this.NullableBool != nil { 2993 return false 2994 } else if that1.NullableBool != nil { 2995 return false 2996 } 2997 if this.NullableString != nil && that1.NullableString != nil { 2998 if *this.NullableString != *that1.NullableString { 2999 return false 3000 } 3001 } else if this.NullableString != nil { 3002 return false 3003 } else if that1.NullableString != nil { 3004 return false 3005 } 3006 if that1.NullableBytes == nil { 3007 if this.NullableBytes != nil { 3008 return false 3009 } 3010 } else if !bytes.Equal(*this.NullableBytes, *that1.NullableBytes) { 3011 return false 3012 } 3013 if !this.Timestamp.Equal(that1.Timestamp) { 3014 return false 3015 } 3016 if this.Duration != that1.Duration { 3017 return false 3018 } 3019 if this.NonnullDouble != that1.NonnullDouble { 3020 return false 3021 } 3022 if this.NonnullFloat != that1.NonnullFloat { 3023 return false 3024 } 3025 if this.NonnullInt64 != that1.NonnullInt64 { 3026 return false 3027 } 3028 if this.NonnullUInt64 != that1.NonnullUInt64 { 3029 return false 3030 } 3031 if this.NonnullInt32 != that1.NonnullInt32 { 3032 return false 3033 } 3034 if this.NonnullUInt32 != that1.NonnullUInt32 { 3035 return false 3036 } 3037 if this.NonnullBool != that1.NonnullBool { 3038 return false 3039 } 3040 if this.NonnullString != that1.NonnullString { 3041 return false 3042 } 3043 if !bytes.Equal(this.NonnullBytes, that1.NonnullBytes) { 3044 return false 3045 } 3046 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 3047 return false 3048 } 3049 return true 3050 } 3051 func (this *RepProtoTypes) VerboseEqual(that interface{}) error { 3052 if that == nil { 3053 if this == nil { 3054 return nil 3055 } 3056 return fmt.Errorf("that == nil && this != nil") 3057 } 3058 3059 that1, ok := that.(*RepProtoTypes) 3060 if !ok { 3061 that2, ok := that.(RepProtoTypes) 3062 if ok { 3063 that1 = &that2 3064 } else { 3065 return fmt.Errorf("that is not of type *RepProtoTypes") 3066 } 3067 } 3068 if that1 == nil { 3069 if this == nil { 3070 return nil 3071 } 3072 return fmt.Errorf("that is type *RepProtoTypes but is nil && this != nil") 3073 } else if this == nil { 3074 return fmt.Errorf("that is type *RepProtoTypes but is not nil && this == nil") 3075 } 3076 if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { 3077 return fmt.Errorf("NullableTimestamps this(%v) Not Equal that(%v)", len(this.NullableTimestamps), len(that1.NullableTimestamps)) 3078 } 3079 for i := range this.NullableTimestamps { 3080 if !this.NullableTimestamps[i].Equal(that1.NullableTimestamps[i]) { 3081 return fmt.Errorf("NullableTimestamps this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamps[i], i, that1.NullableTimestamps[i]) 3082 } 3083 } 3084 if len(this.NullableDurations) != len(that1.NullableDurations) { 3085 return fmt.Errorf("NullableDurations this(%v) Not Equal that(%v)", len(this.NullableDurations), len(that1.NullableDurations)) 3086 } 3087 for i := range this.NullableDurations { 3088 if !this.NullableDurations[i].Equal(that1.NullableDurations[i]) { 3089 return fmt.Errorf("NullableDurations this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDurations[i], i, that1.NullableDurations[i]) 3090 } 3091 } 3092 if len(this.Timestamps) != len(that1.Timestamps) { 3093 return fmt.Errorf("Timestamps this(%v) Not Equal that(%v)", len(this.Timestamps), len(that1.Timestamps)) 3094 } 3095 for i := range this.Timestamps { 3096 if !this.Timestamps[i].Equal(&that1.Timestamps[i]) { 3097 return fmt.Errorf("Timestamps this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamps[i], i, that1.Timestamps[i]) 3098 } 3099 } 3100 if len(this.Durations) != len(that1.Durations) { 3101 return fmt.Errorf("Durations this(%v) Not Equal that(%v)", len(this.Durations), len(that1.Durations)) 3102 } 3103 for i := range this.Durations { 3104 if !this.Durations[i].Equal(&that1.Durations[i]) { 3105 return fmt.Errorf("Durations this[%v](%v) Not Equal that[%v](%v)", i, this.Durations[i], i, that1.Durations[i]) 3106 } 3107 } 3108 if len(this.NullableDouble) != len(that1.NullableDouble) { 3109 return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) 3110 } 3111 for i := range this.NullableDouble { 3112 if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { 3113 return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) 3114 } 3115 } 3116 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 3117 return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) 3118 } 3119 for i := range this.NonnullDouble { 3120 if !this.NonnullDouble[i].Equal(&that1.NonnullDouble[i]) { 3121 return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) 3122 } 3123 } 3124 if len(this.NullableFloat) != len(that1.NullableFloat) { 3125 return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) 3126 } 3127 for i := range this.NullableFloat { 3128 if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { 3129 return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) 3130 } 3131 } 3132 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 3133 return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) 3134 } 3135 for i := range this.NonnullFloat { 3136 if !this.NonnullFloat[i].Equal(&that1.NonnullFloat[i]) { 3137 return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) 3138 } 3139 } 3140 if len(this.NullableInt64) != len(that1.NullableInt64) { 3141 return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) 3142 } 3143 for i := range this.NullableInt64 { 3144 if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { 3145 return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) 3146 } 3147 } 3148 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 3149 return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) 3150 } 3151 for i := range this.NonnullInt64 { 3152 if !this.NonnullInt64[i].Equal(&that1.NonnullInt64[i]) { 3153 return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) 3154 } 3155 } 3156 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 3157 return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) 3158 } 3159 for i := range this.NullableUInt64 { 3160 if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { 3161 return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) 3162 } 3163 } 3164 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 3165 return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) 3166 } 3167 for i := range this.NonnullUInt64 { 3168 if !this.NonnullUInt64[i].Equal(&that1.NonnullUInt64[i]) { 3169 return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) 3170 } 3171 } 3172 if len(this.NullableInt32) != len(that1.NullableInt32) { 3173 return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) 3174 } 3175 for i := range this.NullableInt32 { 3176 if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { 3177 return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) 3178 } 3179 } 3180 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 3181 return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) 3182 } 3183 for i := range this.NonnullInt32 { 3184 if !this.NonnullInt32[i].Equal(&that1.NonnullInt32[i]) { 3185 return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) 3186 } 3187 } 3188 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 3189 return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) 3190 } 3191 for i := range this.NullableUInt32 { 3192 if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { 3193 return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) 3194 } 3195 } 3196 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 3197 return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) 3198 } 3199 for i := range this.NonnullUInt32 { 3200 if !this.NonnullUInt32[i].Equal(&that1.NonnullUInt32[i]) { 3201 return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) 3202 } 3203 } 3204 if len(this.NullableBool) != len(that1.NullableBool) { 3205 return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) 3206 } 3207 for i := range this.NullableBool { 3208 if !this.NullableBool[i].Equal(that1.NullableBool[i]) { 3209 return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) 3210 } 3211 } 3212 if len(this.NonnullBool) != len(that1.NonnullBool) { 3213 return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) 3214 } 3215 for i := range this.NonnullBool { 3216 if !this.NonnullBool[i].Equal(&that1.NonnullBool[i]) { 3217 return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) 3218 } 3219 } 3220 if len(this.NullableString) != len(that1.NullableString) { 3221 return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) 3222 } 3223 for i := range this.NullableString { 3224 if !this.NullableString[i].Equal(that1.NullableString[i]) { 3225 return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) 3226 } 3227 } 3228 if len(this.NonnullString) != len(that1.NonnullString) { 3229 return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) 3230 } 3231 for i := range this.NonnullString { 3232 if !this.NonnullString[i].Equal(&that1.NonnullString[i]) { 3233 return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) 3234 } 3235 } 3236 if len(this.NullableBytes) != len(that1.NullableBytes) { 3237 return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) 3238 } 3239 for i := range this.NullableBytes { 3240 if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { 3241 return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) 3242 } 3243 } 3244 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 3245 return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) 3246 } 3247 for i := range this.NonnullBytes { 3248 if !this.NonnullBytes[i].Equal(&that1.NonnullBytes[i]) { 3249 return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) 3250 } 3251 } 3252 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 3253 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 3254 } 3255 return nil 3256 } 3257 func (this *RepProtoTypes) Equal(that interface{}) bool { 3258 if that == nil { 3259 return this == nil 3260 } 3261 3262 that1, ok := that.(*RepProtoTypes) 3263 if !ok { 3264 that2, ok := that.(RepProtoTypes) 3265 if ok { 3266 that1 = &that2 3267 } else { 3268 return false 3269 } 3270 } 3271 if that1 == nil { 3272 return this == nil 3273 } else if this == nil { 3274 return false 3275 } 3276 if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { 3277 return false 3278 } 3279 for i := range this.NullableTimestamps { 3280 if !this.NullableTimestamps[i].Equal(that1.NullableTimestamps[i]) { 3281 return false 3282 } 3283 } 3284 if len(this.NullableDurations) != len(that1.NullableDurations) { 3285 return false 3286 } 3287 for i := range this.NullableDurations { 3288 if !this.NullableDurations[i].Equal(that1.NullableDurations[i]) { 3289 return false 3290 } 3291 } 3292 if len(this.Timestamps) != len(that1.Timestamps) { 3293 return false 3294 } 3295 for i := range this.Timestamps { 3296 if !this.Timestamps[i].Equal(&that1.Timestamps[i]) { 3297 return false 3298 } 3299 } 3300 if len(this.Durations) != len(that1.Durations) { 3301 return false 3302 } 3303 for i := range this.Durations { 3304 if !this.Durations[i].Equal(&that1.Durations[i]) { 3305 return false 3306 } 3307 } 3308 if len(this.NullableDouble) != len(that1.NullableDouble) { 3309 return false 3310 } 3311 for i := range this.NullableDouble { 3312 if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { 3313 return false 3314 } 3315 } 3316 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 3317 return false 3318 } 3319 for i := range this.NonnullDouble { 3320 if !this.NonnullDouble[i].Equal(&that1.NonnullDouble[i]) { 3321 return false 3322 } 3323 } 3324 if len(this.NullableFloat) != len(that1.NullableFloat) { 3325 return false 3326 } 3327 for i := range this.NullableFloat { 3328 if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { 3329 return false 3330 } 3331 } 3332 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 3333 return false 3334 } 3335 for i := range this.NonnullFloat { 3336 if !this.NonnullFloat[i].Equal(&that1.NonnullFloat[i]) { 3337 return false 3338 } 3339 } 3340 if len(this.NullableInt64) != len(that1.NullableInt64) { 3341 return false 3342 } 3343 for i := range this.NullableInt64 { 3344 if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { 3345 return false 3346 } 3347 } 3348 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 3349 return false 3350 } 3351 for i := range this.NonnullInt64 { 3352 if !this.NonnullInt64[i].Equal(&that1.NonnullInt64[i]) { 3353 return false 3354 } 3355 } 3356 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 3357 return false 3358 } 3359 for i := range this.NullableUInt64 { 3360 if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { 3361 return false 3362 } 3363 } 3364 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 3365 return false 3366 } 3367 for i := range this.NonnullUInt64 { 3368 if !this.NonnullUInt64[i].Equal(&that1.NonnullUInt64[i]) { 3369 return false 3370 } 3371 } 3372 if len(this.NullableInt32) != len(that1.NullableInt32) { 3373 return false 3374 } 3375 for i := range this.NullableInt32 { 3376 if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { 3377 return false 3378 } 3379 } 3380 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 3381 return false 3382 } 3383 for i := range this.NonnullInt32 { 3384 if !this.NonnullInt32[i].Equal(&that1.NonnullInt32[i]) { 3385 return false 3386 } 3387 } 3388 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 3389 return false 3390 } 3391 for i := range this.NullableUInt32 { 3392 if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { 3393 return false 3394 } 3395 } 3396 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 3397 return false 3398 } 3399 for i := range this.NonnullUInt32 { 3400 if !this.NonnullUInt32[i].Equal(&that1.NonnullUInt32[i]) { 3401 return false 3402 } 3403 } 3404 if len(this.NullableBool) != len(that1.NullableBool) { 3405 return false 3406 } 3407 for i := range this.NullableBool { 3408 if !this.NullableBool[i].Equal(that1.NullableBool[i]) { 3409 return false 3410 } 3411 } 3412 if len(this.NonnullBool) != len(that1.NonnullBool) { 3413 return false 3414 } 3415 for i := range this.NonnullBool { 3416 if !this.NonnullBool[i].Equal(&that1.NonnullBool[i]) { 3417 return false 3418 } 3419 } 3420 if len(this.NullableString) != len(that1.NullableString) { 3421 return false 3422 } 3423 for i := range this.NullableString { 3424 if !this.NullableString[i].Equal(that1.NullableString[i]) { 3425 return false 3426 } 3427 } 3428 if len(this.NonnullString) != len(that1.NonnullString) { 3429 return false 3430 } 3431 for i := range this.NonnullString { 3432 if !this.NonnullString[i].Equal(&that1.NonnullString[i]) { 3433 return false 3434 } 3435 } 3436 if len(this.NullableBytes) != len(that1.NullableBytes) { 3437 return false 3438 } 3439 for i := range this.NullableBytes { 3440 if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { 3441 return false 3442 } 3443 } 3444 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 3445 return false 3446 } 3447 for i := range this.NonnullBytes { 3448 if !this.NonnullBytes[i].Equal(&that1.NonnullBytes[i]) { 3449 return false 3450 } 3451 } 3452 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 3453 return false 3454 } 3455 return true 3456 } 3457 func (this *RepStdTypes) VerboseEqual(that interface{}) error { 3458 if that == nil { 3459 if this == nil { 3460 return nil 3461 } 3462 return fmt.Errorf("that == nil && this != nil") 3463 } 3464 3465 that1, ok := that.(*RepStdTypes) 3466 if !ok { 3467 that2, ok := that.(RepStdTypes) 3468 if ok { 3469 that1 = &that2 3470 } else { 3471 return fmt.Errorf("that is not of type *RepStdTypes") 3472 } 3473 } 3474 if that1 == nil { 3475 if this == nil { 3476 return nil 3477 } 3478 return fmt.Errorf("that is type *RepStdTypes but is nil && this != nil") 3479 } else if this == nil { 3480 return fmt.Errorf("that is type *RepStdTypes but is not nil && this == nil") 3481 } 3482 if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { 3483 return fmt.Errorf("NullableTimestamps this(%v) Not Equal that(%v)", len(this.NullableTimestamps), len(that1.NullableTimestamps)) 3484 } 3485 for i := range this.NullableTimestamps { 3486 if !this.NullableTimestamps[i].Equal(*that1.NullableTimestamps[i]) { 3487 return fmt.Errorf("NullableTimestamps this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamps[i], i, that1.NullableTimestamps[i]) 3488 } 3489 } 3490 if len(this.NullableDurations) != len(that1.NullableDurations) { 3491 return fmt.Errorf("NullableDurations this(%v) Not Equal that(%v)", len(this.NullableDurations), len(that1.NullableDurations)) 3492 } 3493 for i := range this.NullableDurations { 3494 if dthis, dthat := this.NullableDurations[i], that1.NullableDurations[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3495 return fmt.Errorf("NullableDurations this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDurations[i], i, that1.NullableDurations[i]) 3496 } 3497 } 3498 if len(this.Timestamps) != len(that1.Timestamps) { 3499 return fmt.Errorf("Timestamps this(%v) Not Equal that(%v)", len(this.Timestamps), len(that1.Timestamps)) 3500 } 3501 for i := range this.Timestamps { 3502 if !this.Timestamps[i].Equal(that1.Timestamps[i]) { 3503 return fmt.Errorf("Timestamps this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamps[i], i, that1.Timestamps[i]) 3504 } 3505 } 3506 if len(this.Durations) != len(that1.Durations) { 3507 return fmt.Errorf("Durations this(%v) Not Equal that(%v)", len(this.Durations), len(that1.Durations)) 3508 } 3509 for i := range this.Durations { 3510 if this.Durations[i] != that1.Durations[i] { 3511 return fmt.Errorf("Durations this[%v](%v) Not Equal that[%v](%v)", i, this.Durations[i], i, that1.Durations[i]) 3512 } 3513 } 3514 if len(this.NullableDouble) != len(that1.NullableDouble) { 3515 return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) 3516 } 3517 for i := range this.NullableDouble { 3518 if dthis, dthat := this.NullableDouble[i], that1.NullableDouble[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3519 return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) 3520 } 3521 } 3522 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 3523 return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) 3524 } 3525 for i := range this.NonnullDouble { 3526 if this.NonnullDouble[i] != that1.NonnullDouble[i] { 3527 return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) 3528 } 3529 } 3530 if len(this.NullableFloat) != len(that1.NullableFloat) { 3531 return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) 3532 } 3533 for i := range this.NullableFloat { 3534 if dthis, dthat := this.NullableFloat[i], that1.NullableFloat[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3535 return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) 3536 } 3537 } 3538 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 3539 return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) 3540 } 3541 for i := range this.NonnullFloat { 3542 if this.NonnullFloat[i] != that1.NonnullFloat[i] { 3543 return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) 3544 } 3545 } 3546 if len(this.NullableInt64) != len(that1.NullableInt64) { 3547 return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) 3548 } 3549 for i := range this.NullableInt64 { 3550 if dthis, dthat := this.NullableInt64[i], that1.NullableInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3551 return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) 3552 } 3553 } 3554 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 3555 return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) 3556 } 3557 for i := range this.NonnullInt64 { 3558 if this.NonnullInt64[i] != that1.NonnullInt64[i] { 3559 return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) 3560 } 3561 } 3562 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 3563 return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) 3564 } 3565 for i := range this.NullableUInt64 { 3566 if dthis, dthat := this.NullableUInt64[i], that1.NullableUInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3567 return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) 3568 } 3569 } 3570 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 3571 return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) 3572 } 3573 for i := range this.NonnullUInt64 { 3574 if this.NonnullUInt64[i] != that1.NonnullUInt64[i] { 3575 return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) 3576 } 3577 } 3578 if len(this.NullableInt32) != len(that1.NullableInt32) { 3579 return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) 3580 } 3581 for i := range this.NullableInt32 { 3582 if dthis, dthat := this.NullableInt32[i], that1.NullableInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3583 return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) 3584 } 3585 } 3586 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 3587 return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) 3588 } 3589 for i := range this.NonnullInt32 { 3590 if this.NonnullInt32[i] != that1.NonnullInt32[i] { 3591 return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) 3592 } 3593 } 3594 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 3595 return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) 3596 } 3597 for i := range this.NullableUInt32 { 3598 if dthis, dthat := this.NullableUInt32[i], that1.NullableUInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3599 return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) 3600 } 3601 } 3602 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 3603 return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) 3604 } 3605 for i := range this.NonnullUInt32 { 3606 if this.NonnullUInt32[i] != that1.NonnullUInt32[i] { 3607 return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) 3608 } 3609 } 3610 if len(this.NullableBool) != len(that1.NullableBool) { 3611 return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) 3612 } 3613 for i := range this.NullableBool { 3614 if dthis, dthat := this.NullableBool[i], that1.NullableBool[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3615 return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) 3616 } 3617 } 3618 if len(this.NonnullBool) != len(that1.NonnullBool) { 3619 return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) 3620 } 3621 for i := range this.NonnullBool { 3622 if this.NonnullBool[i] != that1.NonnullBool[i] { 3623 return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) 3624 } 3625 } 3626 if len(this.NullableString) != len(that1.NullableString) { 3627 return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) 3628 } 3629 for i := range this.NullableString { 3630 if dthis, dthat := this.NullableString[i], that1.NullableString[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3631 return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) 3632 } 3633 } 3634 if len(this.NonnullString) != len(that1.NonnullString) { 3635 return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) 3636 } 3637 for i := range this.NonnullString { 3638 if this.NonnullString[i] != that1.NonnullString[i] { 3639 return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) 3640 } 3641 } 3642 if len(this.NullableBytes) != len(that1.NullableBytes) { 3643 return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) 3644 } 3645 for i := range this.NullableBytes { 3646 if !bytes.Equal(*this.NullableBytes[i], *that1.NullableBytes[i]) { 3647 return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) 3648 } 3649 } 3650 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 3651 return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) 3652 } 3653 for i := range this.NonnullBytes { 3654 if !bytes.Equal(this.NonnullBytes[i], that1.NonnullBytes[i]) { 3655 return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) 3656 } 3657 } 3658 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 3659 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 3660 } 3661 return nil 3662 } 3663 func (this *RepStdTypes) Equal(that interface{}) bool { 3664 if that == nil { 3665 return this == nil 3666 } 3667 3668 that1, ok := that.(*RepStdTypes) 3669 if !ok { 3670 that2, ok := that.(RepStdTypes) 3671 if ok { 3672 that1 = &that2 3673 } else { 3674 return false 3675 } 3676 } 3677 if that1 == nil { 3678 return this == nil 3679 } else if this == nil { 3680 return false 3681 } 3682 if len(this.NullableTimestamps) != len(that1.NullableTimestamps) { 3683 return false 3684 } 3685 for i := range this.NullableTimestamps { 3686 if !this.NullableTimestamps[i].Equal(*that1.NullableTimestamps[i]) { 3687 return false 3688 } 3689 } 3690 if len(this.NullableDurations) != len(that1.NullableDurations) { 3691 return false 3692 } 3693 for i := range this.NullableDurations { 3694 if dthis, dthat := this.NullableDurations[i], that1.NullableDurations[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3695 return false 3696 } 3697 } 3698 if len(this.Timestamps) != len(that1.Timestamps) { 3699 return false 3700 } 3701 for i := range this.Timestamps { 3702 if !this.Timestamps[i].Equal(that1.Timestamps[i]) { 3703 return false 3704 } 3705 } 3706 if len(this.Durations) != len(that1.Durations) { 3707 return false 3708 } 3709 for i := range this.Durations { 3710 if this.Durations[i] != that1.Durations[i] { 3711 return false 3712 } 3713 } 3714 if len(this.NullableDouble) != len(that1.NullableDouble) { 3715 return false 3716 } 3717 for i := range this.NullableDouble { 3718 if dthis, dthat := this.NullableDouble[i], that1.NullableDouble[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3719 return false 3720 } 3721 } 3722 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 3723 return false 3724 } 3725 for i := range this.NonnullDouble { 3726 if this.NonnullDouble[i] != that1.NonnullDouble[i] { 3727 return false 3728 } 3729 } 3730 if len(this.NullableFloat) != len(that1.NullableFloat) { 3731 return false 3732 } 3733 for i := range this.NullableFloat { 3734 if dthis, dthat := this.NullableFloat[i], that1.NullableFloat[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3735 return false 3736 } 3737 } 3738 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 3739 return false 3740 } 3741 for i := range this.NonnullFloat { 3742 if this.NonnullFloat[i] != that1.NonnullFloat[i] { 3743 return false 3744 } 3745 } 3746 if len(this.NullableInt64) != len(that1.NullableInt64) { 3747 return false 3748 } 3749 for i := range this.NullableInt64 { 3750 if dthis, dthat := this.NullableInt64[i], that1.NullableInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3751 return false 3752 } 3753 } 3754 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 3755 return false 3756 } 3757 for i := range this.NonnullInt64 { 3758 if this.NonnullInt64[i] != that1.NonnullInt64[i] { 3759 return false 3760 } 3761 } 3762 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 3763 return false 3764 } 3765 for i := range this.NullableUInt64 { 3766 if dthis, dthat := this.NullableUInt64[i], that1.NullableUInt64[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3767 return false 3768 } 3769 } 3770 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 3771 return false 3772 } 3773 for i := range this.NonnullUInt64 { 3774 if this.NonnullUInt64[i] != that1.NonnullUInt64[i] { 3775 return false 3776 } 3777 } 3778 if len(this.NullableInt32) != len(that1.NullableInt32) { 3779 return false 3780 } 3781 for i := range this.NullableInt32 { 3782 if dthis, dthat := this.NullableInt32[i], that1.NullableInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3783 return false 3784 } 3785 } 3786 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 3787 return false 3788 } 3789 for i := range this.NonnullInt32 { 3790 if this.NonnullInt32[i] != that1.NonnullInt32[i] { 3791 return false 3792 } 3793 } 3794 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 3795 return false 3796 } 3797 for i := range this.NullableUInt32 { 3798 if dthis, dthat := this.NullableUInt32[i], that1.NullableUInt32[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3799 return false 3800 } 3801 } 3802 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 3803 return false 3804 } 3805 for i := range this.NonnullUInt32 { 3806 if this.NonnullUInt32[i] != that1.NonnullUInt32[i] { 3807 return false 3808 } 3809 } 3810 if len(this.NullableBool) != len(that1.NullableBool) { 3811 return false 3812 } 3813 for i := range this.NullableBool { 3814 if dthis, dthat := this.NullableBool[i], that1.NullableBool[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3815 return false 3816 } 3817 } 3818 if len(this.NonnullBool) != len(that1.NonnullBool) { 3819 return false 3820 } 3821 for i := range this.NonnullBool { 3822 if this.NonnullBool[i] != that1.NonnullBool[i] { 3823 return false 3824 } 3825 } 3826 if len(this.NullableString) != len(that1.NullableString) { 3827 return false 3828 } 3829 for i := range this.NullableString { 3830 if dthis, dthat := this.NullableString[i], that1.NullableString[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 3831 return false 3832 } 3833 } 3834 if len(this.NonnullString) != len(that1.NonnullString) { 3835 return false 3836 } 3837 for i := range this.NonnullString { 3838 if this.NonnullString[i] != that1.NonnullString[i] { 3839 return false 3840 } 3841 } 3842 if len(this.NullableBytes) != len(that1.NullableBytes) { 3843 return false 3844 } 3845 for i := range this.NullableBytes { 3846 if !bytes.Equal(*this.NullableBytes[i], *that1.NullableBytes[i]) { 3847 return false 3848 } 3849 } 3850 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 3851 return false 3852 } 3853 for i := range this.NonnullBytes { 3854 if !bytes.Equal(this.NonnullBytes[i], that1.NonnullBytes[i]) { 3855 return false 3856 } 3857 } 3858 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 3859 return false 3860 } 3861 return true 3862 } 3863 func (this *MapProtoTypes) VerboseEqual(that interface{}) error { 3864 if that == nil { 3865 if this == nil { 3866 return nil 3867 } 3868 return fmt.Errorf("that == nil && this != nil") 3869 } 3870 3871 that1, ok := that.(*MapProtoTypes) 3872 if !ok { 3873 that2, ok := that.(MapProtoTypes) 3874 if ok { 3875 that1 = &that2 3876 } else { 3877 return fmt.Errorf("that is not of type *MapProtoTypes") 3878 } 3879 } 3880 if that1 == nil { 3881 if this == nil { 3882 return nil 3883 } 3884 return fmt.Errorf("that is type *MapProtoTypes but is nil && this != nil") 3885 } else if this == nil { 3886 return fmt.Errorf("that is type *MapProtoTypes but is not nil && this == nil") 3887 } 3888 if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { 3889 return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", len(this.NullableTimestamp), len(that1.NullableTimestamp)) 3890 } 3891 for i := range this.NullableTimestamp { 3892 if !this.NullableTimestamp[i].Equal(that1.NullableTimestamp[i]) { 3893 return fmt.Errorf("NullableTimestamp this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamp[i], i, that1.NullableTimestamp[i]) 3894 } 3895 } 3896 if len(this.Timestamp) != len(that1.Timestamp) { 3897 return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", len(this.Timestamp), len(that1.Timestamp)) 3898 } 3899 for i := range this.Timestamp { 3900 a := this.Timestamp[i] 3901 b := that1.Timestamp[i] 3902 if !(&a).Equal(&b) { 3903 return fmt.Errorf("Timestamp this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamp[i], i, that1.Timestamp[i]) 3904 } 3905 } 3906 if len(this.NullableDuration) != len(that1.NullableDuration) { 3907 return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", len(this.NullableDuration), len(that1.NullableDuration)) 3908 } 3909 for i := range this.NullableDuration { 3910 if !this.NullableDuration[i].Equal(that1.NullableDuration[i]) { 3911 return fmt.Errorf("NullableDuration this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDuration[i], i, that1.NullableDuration[i]) 3912 } 3913 } 3914 if len(this.Duration) != len(that1.Duration) { 3915 return fmt.Errorf("Duration this(%v) Not Equal that(%v)", len(this.Duration), len(that1.Duration)) 3916 } 3917 for i := range this.Duration { 3918 a := this.Duration[i] 3919 b := that1.Duration[i] 3920 if !(&a).Equal(&b) { 3921 return fmt.Errorf("Duration this[%v](%v) Not Equal that[%v](%v)", i, this.Duration[i], i, that1.Duration[i]) 3922 } 3923 } 3924 if len(this.NullableDouble) != len(that1.NullableDouble) { 3925 return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) 3926 } 3927 for i := range this.NullableDouble { 3928 if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { 3929 return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) 3930 } 3931 } 3932 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 3933 return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) 3934 } 3935 for i := range this.NonnullDouble { 3936 a := this.NonnullDouble[i] 3937 b := that1.NonnullDouble[i] 3938 if !(&a).Equal(&b) { 3939 return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) 3940 } 3941 } 3942 if len(this.NullableFloat) != len(that1.NullableFloat) { 3943 return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) 3944 } 3945 for i := range this.NullableFloat { 3946 if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { 3947 return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) 3948 } 3949 } 3950 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 3951 return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) 3952 } 3953 for i := range this.NonnullFloat { 3954 a := this.NonnullFloat[i] 3955 b := that1.NonnullFloat[i] 3956 if !(&a).Equal(&b) { 3957 return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) 3958 } 3959 } 3960 if len(this.NullableInt64) != len(that1.NullableInt64) { 3961 return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) 3962 } 3963 for i := range this.NullableInt64 { 3964 if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { 3965 return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) 3966 } 3967 } 3968 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 3969 return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) 3970 } 3971 for i := range this.NonnullInt64 { 3972 a := this.NonnullInt64[i] 3973 b := that1.NonnullInt64[i] 3974 if !(&a).Equal(&b) { 3975 return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) 3976 } 3977 } 3978 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 3979 return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) 3980 } 3981 for i := range this.NullableUInt64 { 3982 if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { 3983 return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) 3984 } 3985 } 3986 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 3987 return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) 3988 } 3989 for i := range this.NonnullUInt64 { 3990 a := this.NonnullUInt64[i] 3991 b := that1.NonnullUInt64[i] 3992 if !(&a).Equal(&b) { 3993 return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) 3994 } 3995 } 3996 if len(this.NullableInt32) != len(that1.NullableInt32) { 3997 return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) 3998 } 3999 for i := range this.NullableInt32 { 4000 if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { 4001 return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) 4002 } 4003 } 4004 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 4005 return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) 4006 } 4007 for i := range this.NonnullInt32 { 4008 a := this.NonnullInt32[i] 4009 b := that1.NonnullInt32[i] 4010 if !(&a).Equal(&b) { 4011 return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) 4012 } 4013 } 4014 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 4015 return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) 4016 } 4017 for i := range this.NullableUInt32 { 4018 if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { 4019 return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) 4020 } 4021 } 4022 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 4023 return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) 4024 } 4025 for i := range this.NonnullUInt32 { 4026 a := this.NonnullUInt32[i] 4027 b := that1.NonnullUInt32[i] 4028 if !(&a).Equal(&b) { 4029 return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) 4030 } 4031 } 4032 if len(this.NullableBool) != len(that1.NullableBool) { 4033 return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) 4034 } 4035 for i := range this.NullableBool { 4036 if !this.NullableBool[i].Equal(that1.NullableBool[i]) { 4037 return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) 4038 } 4039 } 4040 if len(this.NonnullBool) != len(that1.NonnullBool) { 4041 return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) 4042 } 4043 for i := range this.NonnullBool { 4044 a := this.NonnullBool[i] 4045 b := that1.NonnullBool[i] 4046 if !(&a).Equal(&b) { 4047 return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) 4048 } 4049 } 4050 if len(this.NullableString) != len(that1.NullableString) { 4051 return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) 4052 } 4053 for i := range this.NullableString { 4054 if !this.NullableString[i].Equal(that1.NullableString[i]) { 4055 return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) 4056 } 4057 } 4058 if len(this.NonnullString) != len(that1.NonnullString) { 4059 return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) 4060 } 4061 for i := range this.NonnullString { 4062 a := this.NonnullString[i] 4063 b := that1.NonnullString[i] 4064 if !(&a).Equal(&b) { 4065 return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) 4066 } 4067 } 4068 if len(this.NullableBytes) != len(that1.NullableBytes) { 4069 return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) 4070 } 4071 for i := range this.NullableBytes { 4072 if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { 4073 return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) 4074 } 4075 } 4076 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 4077 return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) 4078 } 4079 for i := range this.NonnullBytes { 4080 a := this.NonnullBytes[i] 4081 b := that1.NonnullBytes[i] 4082 if !(&a).Equal(&b) { 4083 return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) 4084 } 4085 } 4086 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 4087 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 4088 } 4089 return nil 4090 } 4091 func (this *MapProtoTypes) Equal(that interface{}) bool { 4092 if that == nil { 4093 return this == nil 4094 } 4095 4096 that1, ok := that.(*MapProtoTypes) 4097 if !ok { 4098 that2, ok := that.(MapProtoTypes) 4099 if ok { 4100 that1 = &that2 4101 } else { 4102 return false 4103 } 4104 } 4105 if that1 == nil { 4106 return this == nil 4107 } else if this == nil { 4108 return false 4109 } 4110 if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { 4111 return false 4112 } 4113 for i := range this.NullableTimestamp { 4114 if !this.NullableTimestamp[i].Equal(that1.NullableTimestamp[i]) { 4115 return false 4116 } 4117 } 4118 if len(this.Timestamp) != len(that1.Timestamp) { 4119 return false 4120 } 4121 for i := range this.Timestamp { 4122 a := this.Timestamp[i] 4123 b := that1.Timestamp[i] 4124 if !(&a).Equal(&b) { 4125 return false 4126 } 4127 } 4128 if len(this.NullableDuration) != len(that1.NullableDuration) { 4129 return false 4130 } 4131 for i := range this.NullableDuration { 4132 if !this.NullableDuration[i].Equal(that1.NullableDuration[i]) { 4133 return false 4134 } 4135 } 4136 if len(this.Duration) != len(that1.Duration) { 4137 return false 4138 } 4139 for i := range this.Duration { 4140 a := this.Duration[i] 4141 b := that1.Duration[i] 4142 if !(&a).Equal(&b) { 4143 return false 4144 } 4145 } 4146 if len(this.NullableDouble) != len(that1.NullableDouble) { 4147 return false 4148 } 4149 for i := range this.NullableDouble { 4150 if !this.NullableDouble[i].Equal(that1.NullableDouble[i]) { 4151 return false 4152 } 4153 } 4154 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 4155 return false 4156 } 4157 for i := range this.NonnullDouble { 4158 a := this.NonnullDouble[i] 4159 b := that1.NonnullDouble[i] 4160 if !(&a).Equal(&b) { 4161 return false 4162 } 4163 } 4164 if len(this.NullableFloat) != len(that1.NullableFloat) { 4165 return false 4166 } 4167 for i := range this.NullableFloat { 4168 if !this.NullableFloat[i].Equal(that1.NullableFloat[i]) { 4169 return false 4170 } 4171 } 4172 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 4173 return false 4174 } 4175 for i := range this.NonnullFloat { 4176 a := this.NonnullFloat[i] 4177 b := that1.NonnullFloat[i] 4178 if !(&a).Equal(&b) { 4179 return false 4180 } 4181 } 4182 if len(this.NullableInt64) != len(that1.NullableInt64) { 4183 return false 4184 } 4185 for i := range this.NullableInt64 { 4186 if !this.NullableInt64[i].Equal(that1.NullableInt64[i]) { 4187 return false 4188 } 4189 } 4190 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 4191 return false 4192 } 4193 for i := range this.NonnullInt64 { 4194 a := this.NonnullInt64[i] 4195 b := that1.NonnullInt64[i] 4196 if !(&a).Equal(&b) { 4197 return false 4198 } 4199 } 4200 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 4201 return false 4202 } 4203 for i := range this.NullableUInt64 { 4204 if !this.NullableUInt64[i].Equal(that1.NullableUInt64[i]) { 4205 return false 4206 } 4207 } 4208 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 4209 return false 4210 } 4211 for i := range this.NonnullUInt64 { 4212 a := this.NonnullUInt64[i] 4213 b := that1.NonnullUInt64[i] 4214 if !(&a).Equal(&b) { 4215 return false 4216 } 4217 } 4218 if len(this.NullableInt32) != len(that1.NullableInt32) { 4219 return false 4220 } 4221 for i := range this.NullableInt32 { 4222 if !this.NullableInt32[i].Equal(that1.NullableInt32[i]) { 4223 return false 4224 } 4225 } 4226 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 4227 return false 4228 } 4229 for i := range this.NonnullInt32 { 4230 a := this.NonnullInt32[i] 4231 b := that1.NonnullInt32[i] 4232 if !(&a).Equal(&b) { 4233 return false 4234 } 4235 } 4236 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 4237 return false 4238 } 4239 for i := range this.NullableUInt32 { 4240 if !this.NullableUInt32[i].Equal(that1.NullableUInt32[i]) { 4241 return false 4242 } 4243 } 4244 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 4245 return false 4246 } 4247 for i := range this.NonnullUInt32 { 4248 a := this.NonnullUInt32[i] 4249 b := that1.NonnullUInt32[i] 4250 if !(&a).Equal(&b) { 4251 return false 4252 } 4253 } 4254 if len(this.NullableBool) != len(that1.NullableBool) { 4255 return false 4256 } 4257 for i := range this.NullableBool { 4258 if !this.NullableBool[i].Equal(that1.NullableBool[i]) { 4259 return false 4260 } 4261 } 4262 if len(this.NonnullBool) != len(that1.NonnullBool) { 4263 return false 4264 } 4265 for i := range this.NonnullBool { 4266 a := this.NonnullBool[i] 4267 b := that1.NonnullBool[i] 4268 if !(&a).Equal(&b) { 4269 return false 4270 } 4271 } 4272 if len(this.NullableString) != len(that1.NullableString) { 4273 return false 4274 } 4275 for i := range this.NullableString { 4276 if !this.NullableString[i].Equal(that1.NullableString[i]) { 4277 return false 4278 } 4279 } 4280 if len(this.NonnullString) != len(that1.NonnullString) { 4281 return false 4282 } 4283 for i := range this.NonnullString { 4284 a := this.NonnullString[i] 4285 b := that1.NonnullString[i] 4286 if !(&a).Equal(&b) { 4287 return false 4288 } 4289 } 4290 if len(this.NullableBytes) != len(that1.NullableBytes) { 4291 return false 4292 } 4293 for i := range this.NullableBytes { 4294 if !this.NullableBytes[i].Equal(that1.NullableBytes[i]) { 4295 return false 4296 } 4297 } 4298 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 4299 return false 4300 } 4301 for i := range this.NonnullBytes { 4302 a := this.NonnullBytes[i] 4303 b := that1.NonnullBytes[i] 4304 if !(&a).Equal(&b) { 4305 return false 4306 } 4307 } 4308 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 4309 return false 4310 } 4311 return true 4312 } 4313 func (this *MapStdTypes) VerboseEqual(that interface{}) error { 4314 if that == nil { 4315 if this == nil { 4316 return nil 4317 } 4318 return fmt.Errorf("that == nil && this != nil") 4319 } 4320 4321 that1, ok := that.(*MapStdTypes) 4322 if !ok { 4323 that2, ok := that.(MapStdTypes) 4324 if ok { 4325 that1 = &that2 4326 } else { 4327 return fmt.Errorf("that is not of type *MapStdTypes") 4328 } 4329 } 4330 if that1 == nil { 4331 if this == nil { 4332 return nil 4333 } 4334 return fmt.Errorf("that is type *MapStdTypes but is nil && this != nil") 4335 } else if this == nil { 4336 return fmt.Errorf("that is type *MapStdTypes but is not nil && this == nil") 4337 } 4338 if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { 4339 return fmt.Errorf("NullableTimestamp this(%v) Not Equal that(%v)", len(this.NullableTimestamp), len(that1.NullableTimestamp)) 4340 } 4341 for i := range this.NullableTimestamp { 4342 if !this.NullableTimestamp[i].Equal(*that1.NullableTimestamp[i]) { 4343 return fmt.Errorf("NullableTimestamp this[%v](%v) Not Equal that[%v](%v)", i, this.NullableTimestamp[i], i, that1.NullableTimestamp[i]) 4344 } 4345 } 4346 if len(this.Timestamp) != len(that1.Timestamp) { 4347 return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", len(this.Timestamp), len(that1.Timestamp)) 4348 } 4349 for i := range this.Timestamp { 4350 if !this.Timestamp[i].Equal(that1.Timestamp[i]) { 4351 return fmt.Errorf("Timestamp this[%v](%v) Not Equal that[%v](%v)", i, this.Timestamp[i], i, that1.Timestamp[i]) 4352 } 4353 } 4354 if len(this.NullableDuration) != len(that1.NullableDuration) { 4355 return fmt.Errorf("NullableDuration this(%v) Not Equal that(%v)", len(this.NullableDuration), len(that1.NullableDuration)) 4356 } 4357 for i := range this.NullableDuration { 4358 if dthis, dthat := this.NullableDuration[i], that1.NullableDuration[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 4359 return fmt.Errorf("NullableDuration this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDuration[i], i, that1.NullableDuration[i]) 4360 } 4361 } 4362 if len(this.Duration) != len(that1.Duration) { 4363 return fmt.Errorf("Duration this(%v) Not Equal that(%v)", len(this.Duration), len(that1.Duration)) 4364 } 4365 for i := range this.Duration { 4366 if this.Duration[i] != that1.Duration[i] { 4367 return fmt.Errorf("Duration this[%v](%v) Not Equal that[%v](%v)", i, this.Duration[i], i, that1.Duration[i]) 4368 } 4369 } 4370 if len(this.NullableDouble) != len(that1.NullableDouble) { 4371 return fmt.Errorf("NullableDouble this(%v) Not Equal that(%v)", len(this.NullableDouble), len(that1.NullableDouble)) 4372 } 4373 for i := range this.NullableDouble { 4374 a := this.NullableDouble[i] 4375 b := that1.NullableDouble[i] 4376 if *a != *b { 4377 return fmt.Errorf("NullableDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NullableDouble[i], i, that1.NullableDouble[i]) 4378 } 4379 } 4380 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 4381 return fmt.Errorf("NonnullDouble this(%v) Not Equal that(%v)", len(this.NonnullDouble), len(that1.NonnullDouble)) 4382 } 4383 for i := range this.NonnullDouble { 4384 a := this.NonnullDouble[i] 4385 b := that1.NonnullDouble[i] 4386 if a != b { 4387 return fmt.Errorf("NonnullDouble this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullDouble[i], i, that1.NonnullDouble[i]) 4388 } 4389 } 4390 if len(this.NullableFloat) != len(that1.NullableFloat) { 4391 return fmt.Errorf("NullableFloat this(%v) Not Equal that(%v)", len(this.NullableFloat), len(that1.NullableFloat)) 4392 } 4393 for i := range this.NullableFloat { 4394 a := this.NullableFloat[i] 4395 b := that1.NullableFloat[i] 4396 if *a != *b { 4397 return fmt.Errorf("NullableFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NullableFloat[i], i, that1.NullableFloat[i]) 4398 } 4399 } 4400 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 4401 return fmt.Errorf("NonnullFloat this(%v) Not Equal that(%v)", len(this.NonnullFloat), len(that1.NonnullFloat)) 4402 } 4403 for i := range this.NonnullFloat { 4404 a := this.NonnullFloat[i] 4405 b := that1.NonnullFloat[i] 4406 if a != b { 4407 return fmt.Errorf("NonnullFloat this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullFloat[i], i, that1.NonnullFloat[i]) 4408 } 4409 } 4410 if len(this.NullableInt64) != len(that1.NullableInt64) { 4411 return fmt.Errorf("NullableInt64 this(%v) Not Equal that(%v)", len(this.NullableInt64), len(that1.NullableInt64)) 4412 } 4413 for i := range this.NullableInt64 { 4414 a := this.NullableInt64[i] 4415 b := that1.NullableInt64[i] 4416 if *a != *b { 4417 return fmt.Errorf("NullableInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt64[i], i, that1.NullableInt64[i]) 4418 } 4419 } 4420 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 4421 return fmt.Errorf("NonnullInt64 this(%v) Not Equal that(%v)", len(this.NonnullInt64), len(that1.NonnullInt64)) 4422 } 4423 for i := range this.NonnullInt64 { 4424 a := this.NonnullInt64[i] 4425 b := that1.NonnullInt64[i] 4426 if a != b { 4427 return fmt.Errorf("NonnullInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt64[i], i, that1.NonnullInt64[i]) 4428 } 4429 } 4430 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 4431 return fmt.Errorf("NullableUInt64 this(%v) Not Equal that(%v)", len(this.NullableUInt64), len(that1.NullableUInt64)) 4432 } 4433 for i := range this.NullableUInt64 { 4434 a := this.NullableUInt64[i] 4435 b := that1.NullableUInt64[i] 4436 if *a != *b { 4437 return fmt.Errorf("NullableUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt64[i], i, that1.NullableUInt64[i]) 4438 } 4439 } 4440 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 4441 return fmt.Errorf("NonnullUInt64 this(%v) Not Equal that(%v)", len(this.NonnullUInt64), len(that1.NonnullUInt64)) 4442 } 4443 for i := range this.NonnullUInt64 { 4444 a := this.NonnullUInt64[i] 4445 b := that1.NonnullUInt64[i] 4446 if a != b { 4447 return fmt.Errorf("NonnullUInt64 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt64[i], i, that1.NonnullUInt64[i]) 4448 } 4449 } 4450 if len(this.NullableInt32) != len(that1.NullableInt32) { 4451 return fmt.Errorf("NullableInt32 this(%v) Not Equal that(%v)", len(this.NullableInt32), len(that1.NullableInt32)) 4452 } 4453 for i := range this.NullableInt32 { 4454 a := this.NullableInt32[i] 4455 b := that1.NullableInt32[i] 4456 if *a != *b { 4457 return fmt.Errorf("NullableInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableInt32[i], i, that1.NullableInt32[i]) 4458 } 4459 } 4460 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 4461 return fmt.Errorf("NonnullInt32 this(%v) Not Equal that(%v)", len(this.NonnullInt32), len(that1.NonnullInt32)) 4462 } 4463 for i := range this.NonnullInt32 { 4464 a := this.NonnullInt32[i] 4465 b := that1.NonnullInt32[i] 4466 if a != b { 4467 return fmt.Errorf("NonnullInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullInt32[i], i, that1.NonnullInt32[i]) 4468 } 4469 } 4470 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 4471 return fmt.Errorf("NullableUInt32 this(%v) Not Equal that(%v)", len(this.NullableUInt32), len(that1.NullableUInt32)) 4472 } 4473 for i := range this.NullableUInt32 { 4474 a := this.NullableUInt32[i] 4475 b := that1.NullableUInt32[i] 4476 if *a != *b { 4477 return fmt.Errorf("NullableUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NullableUInt32[i], i, that1.NullableUInt32[i]) 4478 } 4479 } 4480 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 4481 return fmt.Errorf("NonnullUInt32 this(%v) Not Equal that(%v)", len(this.NonnullUInt32), len(that1.NonnullUInt32)) 4482 } 4483 for i := range this.NonnullUInt32 { 4484 a := this.NonnullUInt32[i] 4485 b := that1.NonnullUInt32[i] 4486 if a != b { 4487 return fmt.Errorf("NonnullUInt32 this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullUInt32[i], i, that1.NonnullUInt32[i]) 4488 } 4489 } 4490 if len(this.NullableBool) != len(that1.NullableBool) { 4491 return fmt.Errorf("NullableBool this(%v) Not Equal that(%v)", len(this.NullableBool), len(that1.NullableBool)) 4492 } 4493 for i := range this.NullableBool { 4494 a := this.NullableBool[i] 4495 b := that1.NullableBool[i] 4496 if *a != *b { 4497 return fmt.Errorf("NullableBool this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBool[i], i, that1.NullableBool[i]) 4498 } 4499 } 4500 if len(this.NonnullBool) != len(that1.NonnullBool) { 4501 return fmt.Errorf("NonnullBool this(%v) Not Equal that(%v)", len(this.NonnullBool), len(that1.NonnullBool)) 4502 } 4503 for i := range this.NonnullBool { 4504 a := this.NonnullBool[i] 4505 b := that1.NonnullBool[i] 4506 if a != b { 4507 return fmt.Errorf("NonnullBool this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBool[i], i, that1.NonnullBool[i]) 4508 } 4509 } 4510 if len(this.NullableString) != len(that1.NullableString) { 4511 return fmt.Errorf("NullableString this(%v) Not Equal that(%v)", len(this.NullableString), len(that1.NullableString)) 4512 } 4513 for i := range this.NullableString { 4514 a := this.NullableString[i] 4515 b := that1.NullableString[i] 4516 if *a != *b { 4517 return fmt.Errorf("NullableString this[%v](%v) Not Equal that[%v](%v)", i, this.NullableString[i], i, that1.NullableString[i]) 4518 } 4519 } 4520 if len(this.NonnullString) != len(that1.NonnullString) { 4521 return fmt.Errorf("NonnullString this(%v) Not Equal that(%v)", len(this.NonnullString), len(that1.NonnullString)) 4522 } 4523 for i := range this.NonnullString { 4524 a := this.NonnullString[i] 4525 b := that1.NonnullString[i] 4526 if a != b { 4527 return fmt.Errorf("NonnullString this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullString[i], i, that1.NonnullString[i]) 4528 } 4529 } 4530 if len(this.NullableBytes) != len(that1.NullableBytes) { 4531 return fmt.Errorf("NullableBytes this(%v) Not Equal that(%v)", len(this.NullableBytes), len(that1.NullableBytes)) 4532 } 4533 for i := range this.NullableBytes { 4534 a := this.NullableBytes[i] 4535 b := that1.NullableBytes[i] 4536 if !bytes.Equal(*a, *b) { 4537 return fmt.Errorf("NullableBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NullableBytes[i], i, that1.NullableBytes[i]) 4538 } 4539 } 4540 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 4541 return fmt.Errorf("NonnullBytes this(%v) Not Equal that(%v)", len(this.NonnullBytes), len(that1.NonnullBytes)) 4542 } 4543 for i := range this.NonnullBytes { 4544 a := this.NonnullBytes[i] 4545 b := that1.NonnullBytes[i] 4546 if !bytes.Equal(a, b) { 4547 return fmt.Errorf("NonnullBytes this[%v](%v) Not Equal that[%v](%v)", i, this.NonnullBytes[i], i, that1.NonnullBytes[i]) 4548 } 4549 } 4550 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 4551 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 4552 } 4553 return nil 4554 } 4555 func (this *MapStdTypes) Equal(that interface{}) bool { 4556 if that == nil { 4557 return this == nil 4558 } 4559 4560 that1, ok := that.(*MapStdTypes) 4561 if !ok { 4562 that2, ok := that.(MapStdTypes) 4563 if ok { 4564 that1 = &that2 4565 } else { 4566 return false 4567 } 4568 } 4569 if that1 == nil { 4570 return this == nil 4571 } else if this == nil { 4572 return false 4573 } 4574 if len(this.NullableTimestamp) != len(that1.NullableTimestamp) { 4575 return false 4576 } 4577 for i := range this.NullableTimestamp { 4578 if !this.NullableTimestamp[i].Equal(*that1.NullableTimestamp[i]) { 4579 return false 4580 } 4581 } 4582 if len(this.Timestamp) != len(that1.Timestamp) { 4583 return false 4584 } 4585 for i := range this.Timestamp { 4586 if !this.Timestamp[i].Equal(that1.Timestamp[i]) { 4587 return false 4588 } 4589 } 4590 if len(this.NullableDuration) != len(that1.NullableDuration) { 4591 return false 4592 } 4593 for i := range this.NullableDuration { 4594 if dthis, dthat := this.NullableDuration[i], that1.NullableDuration[i]; (dthis != nil && dthat != nil && *dthis != *dthat) || (dthis != nil && dthat == nil) || (dthis == nil && dthat != nil) { 4595 return false 4596 } 4597 } 4598 if len(this.Duration) != len(that1.Duration) { 4599 return false 4600 } 4601 for i := range this.Duration { 4602 if this.Duration[i] != that1.Duration[i] { 4603 return false 4604 } 4605 } 4606 if len(this.NullableDouble) != len(that1.NullableDouble) { 4607 return false 4608 } 4609 for i := range this.NullableDouble { 4610 a := this.NullableDouble[i] 4611 b := that1.NullableDouble[i] 4612 if *a != *b { 4613 return false 4614 } 4615 } 4616 if len(this.NonnullDouble) != len(that1.NonnullDouble) { 4617 return false 4618 } 4619 for i := range this.NonnullDouble { 4620 a := this.NonnullDouble[i] 4621 b := that1.NonnullDouble[i] 4622 if a != b { 4623 return false 4624 } 4625 } 4626 if len(this.NullableFloat) != len(that1.NullableFloat) { 4627 return false 4628 } 4629 for i := range this.NullableFloat { 4630 a := this.NullableFloat[i] 4631 b := that1.NullableFloat[i] 4632 if *a != *b { 4633 return false 4634 } 4635 } 4636 if len(this.NonnullFloat) != len(that1.NonnullFloat) { 4637 return false 4638 } 4639 for i := range this.NonnullFloat { 4640 a := this.NonnullFloat[i] 4641 b := that1.NonnullFloat[i] 4642 if a != b { 4643 return false 4644 } 4645 } 4646 if len(this.NullableInt64) != len(that1.NullableInt64) { 4647 return false 4648 } 4649 for i := range this.NullableInt64 { 4650 a := this.NullableInt64[i] 4651 b := that1.NullableInt64[i] 4652 if *a != *b { 4653 return false 4654 } 4655 } 4656 if len(this.NonnullInt64) != len(that1.NonnullInt64) { 4657 return false 4658 } 4659 for i := range this.NonnullInt64 { 4660 a := this.NonnullInt64[i] 4661 b := that1.NonnullInt64[i] 4662 if a != b { 4663 return false 4664 } 4665 } 4666 if len(this.NullableUInt64) != len(that1.NullableUInt64) { 4667 return false 4668 } 4669 for i := range this.NullableUInt64 { 4670 a := this.NullableUInt64[i] 4671 b := that1.NullableUInt64[i] 4672 if *a != *b { 4673 return false 4674 } 4675 } 4676 if len(this.NonnullUInt64) != len(that1.NonnullUInt64) { 4677 return false 4678 } 4679 for i := range this.NonnullUInt64 { 4680 a := this.NonnullUInt64[i] 4681 b := that1.NonnullUInt64[i] 4682 if a != b { 4683 return false 4684 } 4685 } 4686 if len(this.NullableInt32) != len(that1.NullableInt32) { 4687 return false 4688 } 4689 for i := range this.NullableInt32 { 4690 a := this.NullableInt32[i] 4691 b := that1.NullableInt32[i] 4692 if *a != *b { 4693 return false 4694 } 4695 } 4696 if len(this.NonnullInt32) != len(that1.NonnullInt32) { 4697 return false 4698 } 4699 for i := range this.NonnullInt32 { 4700 a := this.NonnullInt32[i] 4701 b := that1.NonnullInt32[i] 4702 if a != b { 4703 return false 4704 } 4705 } 4706 if len(this.NullableUInt32) != len(that1.NullableUInt32) { 4707 return false 4708 } 4709 for i := range this.NullableUInt32 { 4710 a := this.NullableUInt32[i] 4711 b := that1.NullableUInt32[i] 4712 if *a != *b { 4713 return false 4714 } 4715 } 4716 if len(this.NonnullUInt32) != len(that1.NonnullUInt32) { 4717 return false 4718 } 4719 for i := range this.NonnullUInt32 { 4720 a := this.NonnullUInt32[i] 4721 b := that1.NonnullUInt32[i] 4722 if a != b { 4723 return false 4724 } 4725 } 4726 if len(this.NullableBool) != len(that1.NullableBool) { 4727 return false 4728 } 4729 for i := range this.NullableBool { 4730 a := this.NullableBool[i] 4731 b := that1.NullableBool[i] 4732 if *a != *b { 4733 return false 4734 } 4735 } 4736 if len(this.NonnullBool) != len(that1.NonnullBool) { 4737 return false 4738 } 4739 for i := range this.NonnullBool { 4740 a := this.NonnullBool[i] 4741 b := that1.NonnullBool[i] 4742 if a != b { 4743 return false 4744 } 4745 } 4746 if len(this.NullableString) != len(that1.NullableString) { 4747 return false 4748 } 4749 for i := range this.NullableString { 4750 a := this.NullableString[i] 4751 b := that1.NullableString[i] 4752 if *a != *b { 4753 return false 4754 } 4755 } 4756 if len(this.NonnullString) != len(that1.NonnullString) { 4757 return false 4758 } 4759 for i := range this.NonnullString { 4760 a := this.NonnullString[i] 4761 b := that1.NonnullString[i] 4762 if a != b { 4763 return false 4764 } 4765 } 4766 if len(this.NullableBytes) != len(that1.NullableBytes) { 4767 return false 4768 } 4769 for i := range this.NullableBytes { 4770 a := this.NullableBytes[i] 4771 b := that1.NullableBytes[i] 4772 if !bytes.Equal(*a, *b) { 4773 return false 4774 } 4775 } 4776 if len(this.NonnullBytes) != len(that1.NonnullBytes) { 4777 return false 4778 } 4779 for i := range this.NonnullBytes { 4780 a := this.NonnullBytes[i] 4781 b := that1.NonnullBytes[i] 4782 if !bytes.Equal(a, b) { 4783 return false 4784 } 4785 } 4786 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 4787 return false 4788 } 4789 return true 4790 } 4791 func (this *OneofProtoTypes) VerboseEqual(that interface{}) error { 4792 if that == nil { 4793 if this == nil { 4794 return nil 4795 } 4796 return fmt.Errorf("that == nil && this != nil") 4797 } 4798 4799 that1, ok := that.(*OneofProtoTypes) 4800 if !ok { 4801 that2, ok := that.(OneofProtoTypes) 4802 if ok { 4803 that1 = &that2 4804 } else { 4805 return fmt.Errorf("that is not of type *OneofProtoTypes") 4806 } 4807 } 4808 if that1 == nil { 4809 if this == nil { 4810 return nil 4811 } 4812 return fmt.Errorf("that is type *OneofProtoTypes but is nil && this != nil") 4813 } else if this == nil { 4814 return fmt.Errorf("that is type *OneofProtoTypes but is not nil && this == nil") 4815 } 4816 if that1.OneOfProtoTimes == nil { 4817 if this.OneOfProtoTimes != nil { 4818 return fmt.Errorf("this.OneOfProtoTimes != nil && that1.OneOfProtoTimes == nil") 4819 } 4820 } else if this.OneOfProtoTimes == nil { 4821 return fmt.Errorf("this.OneOfProtoTimes == nil && that1.OneOfProtoTimes != nil") 4822 } else if err := this.OneOfProtoTimes.VerboseEqual(that1.OneOfProtoTimes); err != nil { 4823 return err 4824 } 4825 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 4826 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 4827 } 4828 return nil 4829 } 4830 func (this *OneofProtoTypes_Timestamp) VerboseEqual(that interface{}) error { 4831 if that == nil { 4832 if this == nil { 4833 return nil 4834 } 4835 return fmt.Errorf("that == nil && this != nil") 4836 } 4837 4838 that1, ok := that.(*OneofProtoTypes_Timestamp) 4839 if !ok { 4840 that2, ok := that.(OneofProtoTypes_Timestamp) 4841 if ok { 4842 that1 = &that2 4843 } else { 4844 return fmt.Errorf("that is not of type *OneofProtoTypes_Timestamp") 4845 } 4846 } 4847 if that1 == nil { 4848 if this == nil { 4849 return nil 4850 } 4851 return fmt.Errorf("that is type *OneofProtoTypes_Timestamp but is nil && this != nil") 4852 } else if this == nil { 4853 return fmt.Errorf("that is type *OneofProtoTypes_Timestamp but is not nil && this == nil") 4854 } 4855 if !this.Timestamp.Equal(that1.Timestamp) { 4856 return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) 4857 } 4858 return nil 4859 } 4860 func (this *OneofProtoTypes_Duration) VerboseEqual(that interface{}) error { 4861 if that == nil { 4862 if this == nil { 4863 return nil 4864 } 4865 return fmt.Errorf("that == nil && this != nil") 4866 } 4867 4868 that1, ok := that.(*OneofProtoTypes_Duration) 4869 if !ok { 4870 that2, ok := that.(OneofProtoTypes_Duration) 4871 if ok { 4872 that1 = &that2 4873 } else { 4874 return fmt.Errorf("that is not of type *OneofProtoTypes_Duration") 4875 } 4876 } 4877 if that1 == nil { 4878 if this == nil { 4879 return nil 4880 } 4881 return fmt.Errorf("that is type *OneofProtoTypes_Duration but is nil && this != nil") 4882 } else if this == nil { 4883 return fmt.Errorf("that is type *OneofProtoTypes_Duration but is not nil && this == nil") 4884 } 4885 if !this.Duration.Equal(that1.Duration) { 4886 return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) 4887 } 4888 return nil 4889 } 4890 func (this *OneofProtoTypes_RepDouble) VerboseEqual(that interface{}) error { 4891 if that == nil { 4892 if this == nil { 4893 return nil 4894 } 4895 return fmt.Errorf("that == nil && this != nil") 4896 } 4897 4898 that1, ok := that.(*OneofProtoTypes_RepDouble) 4899 if !ok { 4900 that2, ok := that.(OneofProtoTypes_RepDouble) 4901 if ok { 4902 that1 = &that2 4903 } else { 4904 return fmt.Errorf("that is not of type *OneofProtoTypes_RepDouble") 4905 } 4906 } 4907 if that1 == nil { 4908 if this == nil { 4909 return nil 4910 } 4911 return fmt.Errorf("that is type *OneofProtoTypes_RepDouble but is nil && this != nil") 4912 } else if this == nil { 4913 return fmt.Errorf("that is type *OneofProtoTypes_RepDouble but is not nil && this == nil") 4914 } 4915 if !this.RepDouble.Equal(that1.RepDouble) { 4916 return fmt.Errorf("RepDouble this(%v) Not Equal that(%v)", this.RepDouble, that1.RepDouble) 4917 } 4918 return nil 4919 } 4920 func (this *OneofProtoTypes_RepFloat) VerboseEqual(that interface{}) error { 4921 if that == nil { 4922 if this == nil { 4923 return nil 4924 } 4925 return fmt.Errorf("that == nil && this != nil") 4926 } 4927 4928 that1, ok := that.(*OneofProtoTypes_RepFloat) 4929 if !ok { 4930 that2, ok := that.(OneofProtoTypes_RepFloat) 4931 if ok { 4932 that1 = &that2 4933 } else { 4934 return fmt.Errorf("that is not of type *OneofProtoTypes_RepFloat") 4935 } 4936 } 4937 if that1 == nil { 4938 if this == nil { 4939 return nil 4940 } 4941 return fmt.Errorf("that is type *OneofProtoTypes_RepFloat but is nil && this != nil") 4942 } else if this == nil { 4943 return fmt.Errorf("that is type *OneofProtoTypes_RepFloat but is not nil && this == nil") 4944 } 4945 if !this.RepFloat.Equal(that1.RepFloat) { 4946 return fmt.Errorf("RepFloat this(%v) Not Equal that(%v)", this.RepFloat, that1.RepFloat) 4947 } 4948 return nil 4949 } 4950 func (this *OneofProtoTypes_RepInt64) VerboseEqual(that interface{}) error { 4951 if that == nil { 4952 if this == nil { 4953 return nil 4954 } 4955 return fmt.Errorf("that == nil && this != nil") 4956 } 4957 4958 that1, ok := that.(*OneofProtoTypes_RepInt64) 4959 if !ok { 4960 that2, ok := that.(OneofProtoTypes_RepInt64) 4961 if ok { 4962 that1 = &that2 4963 } else { 4964 return fmt.Errorf("that is not of type *OneofProtoTypes_RepInt64") 4965 } 4966 } 4967 if that1 == nil { 4968 if this == nil { 4969 return nil 4970 } 4971 return fmt.Errorf("that is type *OneofProtoTypes_RepInt64 but is nil && this != nil") 4972 } else if this == nil { 4973 return fmt.Errorf("that is type *OneofProtoTypes_RepInt64 but is not nil && this == nil") 4974 } 4975 if !this.RepInt64.Equal(that1.RepInt64) { 4976 return fmt.Errorf("RepInt64 this(%v) Not Equal that(%v)", this.RepInt64, that1.RepInt64) 4977 } 4978 return nil 4979 } 4980 func (this *OneofProtoTypes_RepUInt64) VerboseEqual(that interface{}) error { 4981 if that == nil { 4982 if this == nil { 4983 return nil 4984 } 4985 return fmt.Errorf("that == nil && this != nil") 4986 } 4987 4988 that1, ok := that.(*OneofProtoTypes_RepUInt64) 4989 if !ok { 4990 that2, ok := that.(OneofProtoTypes_RepUInt64) 4991 if ok { 4992 that1 = &that2 4993 } else { 4994 return fmt.Errorf("that is not of type *OneofProtoTypes_RepUInt64") 4995 } 4996 } 4997 if that1 == nil { 4998 if this == nil { 4999 return nil 5000 } 5001 return fmt.Errorf("that is type *OneofProtoTypes_RepUInt64 but is nil && this != nil") 5002 } else if this == nil { 5003 return fmt.Errorf("that is type *OneofProtoTypes_RepUInt64 but is not nil && this == nil") 5004 } 5005 if !this.RepUInt64.Equal(that1.RepUInt64) { 5006 return fmt.Errorf("RepUInt64 this(%v) Not Equal that(%v)", this.RepUInt64, that1.RepUInt64) 5007 } 5008 return nil 5009 } 5010 func (this *OneofProtoTypes_RepInt32) VerboseEqual(that interface{}) error { 5011 if that == nil { 5012 if this == nil { 5013 return nil 5014 } 5015 return fmt.Errorf("that == nil && this != nil") 5016 } 5017 5018 that1, ok := that.(*OneofProtoTypes_RepInt32) 5019 if !ok { 5020 that2, ok := that.(OneofProtoTypes_RepInt32) 5021 if ok { 5022 that1 = &that2 5023 } else { 5024 return fmt.Errorf("that is not of type *OneofProtoTypes_RepInt32") 5025 } 5026 } 5027 if that1 == nil { 5028 if this == nil { 5029 return nil 5030 } 5031 return fmt.Errorf("that is type *OneofProtoTypes_RepInt32 but is nil && this != nil") 5032 } else if this == nil { 5033 return fmt.Errorf("that is type *OneofProtoTypes_RepInt32 but is not nil && this == nil") 5034 } 5035 if !this.RepInt32.Equal(that1.RepInt32) { 5036 return fmt.Errorf("RepInt32 this(%v) Not Equal that(%v)", this.RepInt32, that1.RepInt32) 5037 } 5038 return nil 5039 } 5040 func (this *OneofProtoTypes_RepUInt32) VerboseEqual(that interface{}) error { 5041 if that == nil { 5042 if this == nil { 5043 return nil 5044 } 5045 return fmt.Errorf("that == nil && this != nil") 5046 } 5047 5048 that1, ok := that.(*OneofProtoTypes_RepUInt32) 5049 if !ok { 5050 that2, ok := that.(OneofProtoTypes_RepUInt32) 5051 if ok { 5052 that1 = &that2 5053 } else { 5054 return fmt.Errorf("that is not of type *OneofProtoTypes_RepUInt32") 5055 } 5056 } 5057 if that1 == nil { 5058 if this == nil { 5059 return nil 5060 } 5061 return fmt.Errorf("that is type *OneofProtoTypes_RepUInt32 but is nil && this != nil") 5062 } else if this == nil { 5063 return fmt.Errorf("that is type *OneofProtoTypes_RepUInt32 but is not nil && this == nil") 5064 } 5065 if !this.RepUInt32.Equal(that1.RepUInt32) { 5066 return fmt.Errorf("RepUInt32 this(%v) Not Equal that(%v)", this.RepUInt32, that1.RepUInt32) 5067 } 5068 return nil 5069 } 5070 func (this *OneofProtoTypes_RepBool) VerboseEqual(that interface{}) error { 5071 if that == nil { 5072 if this == nil { 5073 return nil 5074 } 5075 return fmt.Errorf("that == nil && this != nil") 5076 } 5077 5078 that1, ok := that.(*OneofProtoTypes_RepBool) 5079 if !ok { 5080 that2, ok := that.(OneofProtoTypes_RepBool) 5081 if ok { 5082 that1 = &that2 5083 } else { 5084 return fmt.Errorf("that is not of type *OneofProtoTypes_RepBool") 5085 } 5086 } 5087 if that1 == nil { 5088 if this == nil { 5089 return nil 5090 } 5091 return fmt.Errorf("that is type *OneofProtoTypes_RepBool but is nil && this != nil") 5092 } else if this == nil { 5093 return fmt.Errorf("that is type *OneofProtoTypes_RepBool but is not nil && this == nil") 5094 } 5095 if !this.RepBool.Equal(that1.RepBool) { 5096 return fmt.Errorf("RepBool this(%v) Not Equal that(%v)", this.RepBool, that1.RepBool) 5097 } 5098 return nil 5099 } 5100 func (this *OneofProtoTypes_RepString) VerboseEqual(that interface{}) error { 5101 if that == nil { 5102 if this == nil { 5103 return nil 5104 } 5105 return fmt.Errorf("that == nil && this != nil") 5106 } 5107 5108 that1, ok := that.(*OneofProtoTypes_RepString) 5109 if !ok { 5110 that2, ok := that.(OneofProtoTypes_RepString) 5111 if ok { 5112 that1 = &that2 5113 } else { 5114 return fmt.Errorf("that is not of type *OneofProtoTypes_RepString") 5115 } 5116 } 5117 if that1 == nil { 5118 if this == nil { 5119 return nil 5120 } 5121 return fmt.Errorf("that is type *OneofProtoTypes_RepString but is nil && this != nil") 5122 } else if this == nil { 5123 return fmt.Errorf("that is type *OneofProtoTypes_RepString but is not nil && this == nil") 5124 } 5125 if !this.RepString.Equal(that1.RepString) { 5126 return fmt.Errorf("RepString this(%v) Not Equal that(%v)", this.RepString, that1.RepString) 5127 } 5128 return nil 5129 } 5130 func (this *OneofProtoTypes_RepBytes) VerboseEqual(that interface{}) error { 5131 if that == nil { 5132 if this == nil { 5133 return nil 5134 } 5135 return fmt.Errorf("that == nil && this != nil") 5136 } 5137 5138 that1, ok := that.(*OneofProtoTypes_RepBytes) 5139 if !ok { 5140 that2, ok := that.(OneofProtoTypes_RepBytes) 5141 if ok { 5142 that1 = &that2 5143 } else { 5144 return fmt.Errorf("that is not of type *OneofProtoTypes_RepBytes") 5145 } 5146 } 5147 if that1 == nil { 5148 if this == nil { 5149 return nil 5150 } 5151 return fmt.Errorf("that is type *OneofProtoTypes_RepBytes but is nil && this != nil") 5152 } else if this == nil { 5153 return fmt.Errorf("that is type *OneofProtoTypes_RepBytes but is not nil && this == nil") 5154 } 5155 if !this.RepBytes.Equal(that1.RepBytes) { 5156 return fmt.Errorf("RepBytes this(%v) Not Equal that(%v)", this.RepBytes, that1.RepBytes) 5157 } 5158 return nil 5159 } 5160 func (this *OneofProtoTypes) Equal(that interface{}) bool { 5161 if that == nil { 5162 return this == nil 5163 } 5164 5165 that1, ok := that.(*OneofProtoTypes) 5166 if !ok { 5167 that2, ok := that.(OneofProtoTypes) 5168 if ok { 5169 that1 = &that2 5170 } else { 5171 return false 5172 } 5173 } 5174 if that1 == nil { 5175 return this == nil 5176 } else if this == nil { 5177 return false 5178 } 5179 if that1.OneOfProtoTimes == nil { 5180 if this.OneOfProtoTimes != nil { 5181 return false 5182 } 5183 } else if this.OneOfProtoTimes == nil { 5184 return false 5185 } else if !this.OneOfProtoTimes.Equal(that1.OneOfProtoTimes) { 5186 return false 5187 } 5188 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 5189 return false 5190 } 5191 return true 5192 } 5193 func (this *OneofProtoTypes_Timestamp) Equal(that interface{}) bool { 5194 if that == nil { 5195 return this == nil 5196 } 5197 5198 that1, ok := that.(*OneofProtoTypes_Timestamp) 5199 if !ok { 5200 that2, ok := that.(OneofProtoTypes_Timestamp) 5201 if ok { 5202 that1 = &that2 5203 } else { 5204 return false 5205 } 5206 } 5207 if that1 == nil { 5208 return this == nil 5209 } else if this == nil { 5210 return false 5211 } 5212 if !this.Timestamp.Equal(that1.Timestamp) { 5213 return false 5214 } 5215 return true 5216 } 5217 func (this *OneofProtoTypes_Duration) Equal(that interface{}) bool { 5218 if that == nil { 5219 return this == nil 5220 } 5221 5222 that1, ok := that.(*OneofProtoTypes_Duration) 5223 if !ok { 5224 that2, ok := that.(OneofProtoTypes_Duration) 5225 if ok { 5226 that1 = &that2 5227 } else { 5228 return false 5229 } 5230 } 5231 if that1 == nil { 5232 return this == nil 5233 } else if this == nil { 5234 return false 5235 } 5236 if !this.Duration.Equal(that1.Duration) { 5237 return false 5238 } 5239 return true 5240 } 5241 func (this *OneofProtoTypes_RepDouble) Equal(that interface{}) bool { 5242 if that == nil { 5243 return this == nil 5244 } 5245 5246 that1, ok := that.(*OneofProtoTypes_RepDouble) 5247 if !ok { 5248 that2, ok := that.(OneofProtoTypes_RepDouble) 5249 if ok { 5250 that1 = &that2 5251 } else { 5252 return false 5253 } 5254 } 5255 if that1 == nil { 5256 return this == nil 5257 } else if this == nil { 5258 return false 5259 } 5260 if !this.RepDouble.Equal(that1.RepDouble) { 5261 return false 5262 } 5263 return true 5264 } 5265 func (this *OneofProtoTypes_RepFloat) Equal(that interface{}) bool { 5266 if that == nil { 5267 return this == nil 5268 } 5269 5270 that1, ok := that.(*OneofProtoTypes_RepFloat) 5271 if !ok { 5272 that2, ok := that.(OneofProtoTypes_RepFloat) 5273 if ok { 5274 that1 = &that2 5275 } else { 5276 return false 5277 } 5278 } 5279 if that1 == nil { 5280 return this == nil 5281 } else if this == nil { 5282 return false 5283 } 5284 if !this.RepFloat.Equal(that1.RepFloat) { 5285 return false 5286 } 5287 return true 5288 } 5289 func (this *OneofProtoTypes_RepInt64) Equal(that interface{}) bool { 5290 if that == nil { 5291 return this == nil 5292 } 5293 5294 that1, ok := that.(*OneofProtoTypes_RepInt64) 5295 if !ok { 5296 that2, ok := that.(OneofProtoTypes_RepInt64) 5297 if ok { 5298 that1 = &that2 5299 } else { 5300 return false 5301 } 5302 } 5303 if that1 == nil { 5304 return this == nil 5305 } else if this == nil { 5306 return false 5307 } 5308 if !this.RepInt64.Equal(that1.RepInt64) { 5309 return false 5310 } 5311 return true 5312 } 5313 func (this *OneofProtoTypes_RepUInt64) Equal(that interface{}) bool { 5314 if that == nil { 5315 return this == nil 5316 } 5317 5318 that1, ok := that.(*OneofProtoTypes_RepUInt64) 5319 if !ok { 5320 that2, ok := that.(OneofProtoTypes_RepUInt64) 5321 if ok { 5322 that1 = &that2 5323 } else { 5324 return false 5325 } 5326 } 5327 if that1 == nil { 5328 return this == nil 5329 } else if this == nil { 5330 return false 5331 } 5332 if !this.RepUInt64.Equal(that1.RepUInt64) { 5333 return false 5334 } 5335 return true 5336 } 5337 func (this *OneofProtoTypes_RepInt32) Equal(that interface{}) bool { 5338 if that == nil { 5339 return this == nil 5340 } 5341 5342 that1, ok := that.(*OneofProtoTypes_RepInt32) 5343 if !ok { 5344 that2, ok := that.(OneofProtoTypes_RepInt32) 5345 if ok { 5346 that1 = &that2 5347 } else { 5348 return false 5349 } 5350 } 5351 if that1 == nil { 5352 return this == nil 5353 } else if this == nil { 5354 return false 5355 } 5356 if !this.RepInt32.Equal(that1.RepInt32) { 5357 return false 5358 } 5359 return true 5360 } 5361 func (this *OneofProtoTypes_RepUInt32) Equal(that interface{}) bool { 5362 if that == nil { 5363 return this == nil 5364 } 5365 5366 that1, ok := that.(*OneofProtoTypes_RepUInt32) 5367 if !ok { 5368 that2, ok := that.(OneofProtoTypes_RepUInt32) 5369 if ok { 5370 that1 = &that2 5371 } else { 5372 return false 5373 } 5374 } 5375 if that1 == nil { 5376 return this == nil 5377 } else if this == nil { 5378 return false 5379 } 5380 if !this.RepUInt32.Equal(that1.RepUInt32) { 5381 return false 5382 } 5383 return true 5384 } 5385 func (this *OneofProtoTypes_RepBool) Equal(that interface{}) bool { 5386 if that == nil { 5387 return this == nil 5388 } 5389 5390 that1, ok := that.(*OneofProtoTypes_RepBool) 5391 if !ok { 5392 that2, ok := that.(OneofProtoTypes_RepBool) 5393 if ok { 5394 that1 = &that2 5395 } else { 5396 return false 5397 } 5398 } 5399 if that1 == nil { 5400 return this == nil 5401 } else if this == nil { 5402 return false 5403 } 5404 if !this.RepBool.Equal(that1.RepBool) { 5405 return false 5406 } 5407 return true 5408 } 5409 func (this *OneofProtoTypes_RepString) Equal(that interface{}) bool { 5410 if that == nil { 5411 return this == nil 5412 } 5413 5414 that1, ok := that.(*OneofProtoTypes_RepString) 5415 if !ok { 5416 that2, ok := that.(OneofProtoTypes_RepString) 5417 if ok { 5418 that1 = &that2 5419 } else { 5420 return false 5421 } 5422 } 5423 if that1 == nil { 5424 return this == nil 5425 } else if this == nil { 5426 return false 5427 } 5428 if !this.RepString.Equal(that1.RepString) { 5429 return false 5430 } 5431 return true 5432 } 5433 func (this *OneofProtoTypes_RepBytes) Equal(that interface{}) bool { 5434 if that == nil { 5435 return this == nil 5436 } 5437 5438 that1, ok := that.(*OneofProtoTypes_RepBytes) 5439 if !ok { 5440 that2, ok := that.(OneofProtoTypes_RepBytes) 5441 if ok { 5442 that1 = &that2 5443 } else { 5444 return false 5445 } 5446 } 5447 if that1 == nil { 5448 return this == nil 5449 } else if this == nil { 5450 return false 5451 } 5452 if !this.RepBytes.Equal(that1.RepBytes) { 5453 return false 5454 } 5455 return true 5456 } 5457 func (this *OneofStdTypes) VerboseEqual(that interface{}) error { 5458 if that == nil { 5459 if this == nil { 5460 return nil 5461 } 5462 return fmt.Errorf("that == nil && this != nil") 5463 } 5464 5465 that1, ok := that.(*OneofStdTypes) 5466 if !ok { 5467 that2, ok := that.(OneofStdTypes) 5468 if ok { 5469 that1 = &that2 5470 } else { 5471 return fmt.Errorf("that is not of type *OneofStdTypes") 5472 } 5473 } 5474 if that1 == nil { 5475 if this == nil { 5476 return nil 5477 } 5478 return fmt.Errorf("that is type *OneofStdTypes but is nil && this != nil") 5479 } else if this == nil { 5480 return fmt.Errorf("that is type *OneofStdTypes but is not nil && this == nil") 5481 } 5482 if that1.OneOfStdTimes == nil { 5483 if this.OneOfStdTimes != nil { 5484 return fmt.Errorf("this.OneOfStdTimes != nil && that1.OneOfStdTimes == nil") 5485 } 5486 } else if this.OneOfStdTimes == nil { 5487 return fmt.Errorf("this.OneOfStdTimes == nil && that1.OneOfStdTimes != nil") 5488 } else if err := this.OneOfStdTimes.VerboseEqual(that1.OneOfStdTimes); err != nil { 5489 return err 5490 } 5491 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 5492 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 5493 } 5494 return nil 5495 } 5496 func (this *OneofStdTypes_Timestamp) VerboseEqual(that interface{}) error { 5497 if that == nil { 5498 if this == nil { 5499 return nil 5500 } 5501 return fmt.Errorf("that == nil && this != nil") 5502 } 5503 5504 that1, ok := that.(*OneofStdTypes_Timestamp) 5505 if !ok { 5506 that2, ok := that.(OneofStdTypes_Timestamp) 5507 if ok { 5508 that1 = &that2 5509 } else { 5510 return fmt.Errorf("that is not of type *OneofStdTypes_Timestamp") 5511 } 5512 } 5513 if that1 == nil { 5514 if this == nil { 5515 return nil 5516 } 5517 return fmt.Errorf("that is type *OneofStdTypes_Timestamp but is nil && this != nil") 5518 } else if this == nil { 5519 return fmt.Errorf("that is type *OneofStdTypes_Timestamp but is not nil && this == nil") 5520 } 5521 if that1.Timestamp == nil { 5522 if this.Timestamp != nil { 5523 return fmt.Errorf("this.Timestamp != nil && that1.Timestamp == nil") 5524 } 5525 } else if !this.Timestamp.Equal(*that1.Timestamp) { 5526 return fmt.Errorf("Timestamp this(%v) Not Equal that(%v)", this.Timestamp, that1.Timestamp) 5527 } 5528 return nil 5529 } 5530 func (this *OneofStdTypes_Duration) VerboseEqual(that interface{}) error { 5531 if that == nil { 5532 if this == nil { 5533 return nil 5534 } 5535 return fmt.Errorf("that == nil && this != nil") 5536 } 5537 5538 that1, ok := that.(*OneofStdTypes_Duration) 5539 if !ok { 5540 that2, ok := that.(OneofStdTypes_Duration) 5541 if ok { 5542 that1 = &that2 5543 } else { 5544 return fmt.Errorf("that is not of type *OneofStdTypes_Duration") 5545 } 5546 } 5547 if that1 == nil { 5548 if this == nil { 5549 return nil 5550 } 5551 return fmt.Errorf("that is type *OneofStdTypes_Duration but is nil && this != nil") 5552 } else if this == nil { 5553 return fmt.Errorf("that is type *OneofStdTypes_Duration but is not nil && this == nil") 5554 } 5555 if this.Duration != nil && that1.Duration != nil { 5556 if *this.Duration != *that1.Duration { 5557 return fmt.Errorf("Duration this(%v) Not Equal that(%v)", *this.Duration, *that1.Duration) 5558 } 5559 } else if this.Duration != nil { 5560 return fmt.Errorf("this.Duration == nil && that.Duration != nil") 5561 } else if that1.Duration != nil { 5562 return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration) 5563 } 5564 return nil 5565 } 5566 func (this *OneofStdTypes_RepDouble) VerboseEqual(that interface{}) error { 5567 if that == nil { 5568 if this == nil { 5569 return nil 5570 } 5571 return fmt.Errorf("that == nil && this != nil") 5572 } 5573 5574 that1, ok := that.(*OneofStdTypes_RepDouble) 5575 if !ok { 5576 that2, ok := that.(OneofStdTypes_RepDouble) 5577 if ok { 5578 that1 = &that2 5579 } else { 5580 return fmt.Errorf("that is not of type *OneofStdTypes_RepDouble") 5581 } 5582 } 5583 if that1 == nil { 5584 if this == nil { 5585 return nil 5586 } 5587 return fmt.Errorf("that is type *OneofStdTypes_RepDouble but is nil && this != nil") 5588 } else if this == nil { 5589 return fmt.Errorf("that is type *OneofStdTypes_RepDouble but is not nil && this == nil") 5590 } 5591 if this.RepDouble != nil && that1.RepDouble != nil { 5592 if *this.RepDouble != *that1.RepDouble { 5593 return fmt.Errorf("RepDouble this(%v) Not Equal that(%v)", *this.RepDouble, *that1.RepDouble) 5594 } 5595 } else if this.RepDouble != nil { 5596 return fmt.Errorf("this.RepDouble == nil && that.RepDouble != nil") 5597 } else if that1.RepDouble != nil { 5598 return fmt.Errorf("RepDouble this(%v) Not Equal that(%v)", this.RepDouble, that1.RepDouble) 5599 } 5600 return nil 5601 } 5602 func (this *OneofStdTypes_RepFloat) VerboseEqual(that interface{}) error { 5603 if that == nil { 5604 if this == nil { 5605 return nil 5606 } 5607 return fmt.Errorf("that == nil && this != nil") 5608 } 5609 5610 that1, ok := that.(*OneofStdTypes_RepFloat) 5611 if !ok { 5612 that2, ok := that.(OneofStdTypes_RepFloat) 5613 if ok { 5614 that1 = &that2 5615 } else { 5616 return fmt.Errorf("that is not of type *OneofStdTypes_RepFloat") 5617 } 5618 } 5619 if that1 == nil { 5620 if this == nil { 5621 return nil 5622 } 5623 return fmt.Errorf("that is type *OneofStdTypes_RepFloat but is nil && this != nil") 5624 } else if this == nil { 5625 return fmt.Errorf("that is type *OneofStdTypes_RepFloat but is not nil && this == nil") 5626 } 5627 if this.RepFloat != nil && that1.RepFloat != nil { 5628 if *this.RepFloat != *that1.RepFloat { 5629 return fmt.Errorf("RepFloat this(%v) Not Equal that(%v)", *this.RepFloat, *that1.RepFloat) 5630 } 5631 } else if this.RepFloat != nil { 5632 return fmt.Errorf("this.RepFloat == nil && that.RepFloat != nil") 5633 } else if that1.RepFloat != nil { 5634 return fmt.Errorf("RepFloat this(%v) Not Equal that(%v)", this.RepFloat, that1.RepFloat) 5635 } 5636 return nil 5637 } 5638 func (this *OneofStdTypes_RepInt64) VerboseEqual(that interface{}) error { 5639 if that == nil { 5640 if this == nil { 5641 return nil 5642 } 5643 return fmt.Errorf("that == nil && this != nil") 5644 } 5645 5646 that1, ok := that.(*OneofStdTypes_RepInt64) 5647 if !ok { 5648 that2, ok := that.(OneofStdTypes_RepInt64) 5649 if ok { 5650 that1 = &that2 5651 } else { 5652 return fmt.Errorf("that is not of type *OneofStdTypes_RepInt64") 5653 } 5654 } 5655 if that1 == nil { 5656 if this == nil { 5657 return nil 5658 } 5659 return fmt.Errorf("that is type *OneofStdTypes_RepInt64 but is nil && this != nil") 5660 } else if this == nil { 5661 return fmt.Errorf("that is type *OneofStdTypes_RepInt64 but is not nil && this == nil") 5662 } 5663 if this.RepInt64 != nil && that1.RepInt64 != nil { 5664 if *this.RepInt64 != *that1.RepInt64 { 5665 return fmt.Errorf("RepInt64 this(%v) Not Equal that(%v)", *this.RepInt64, *that1.RepInt64) 5666 } 5667 } else if this.RepInt64 != nil { 5668 return fmt.Errorf("this.RepInt64 == nil && that.RepInt64 != nil") 5669 } else if that1.RepInt64 != nil { 5670 return fmt.Errorf("RepInt64 this(%v) Not Equal that(%v)", this.RepInt64, that1.RepInt64) 5671 } 5672 return nil 5673 } 5674 func (this *OneofStdTypes_RepUInt64) VerboseEqual(that interface{}) error { 5675 if that == nil { 5676 if this == nil { 5677 return nil 5678 } 5679 return fmt.Errorf("that == nil && this != nil") 5680 } 5681 5682 that1, ok := that.(*OneofStdTypes_RepUInt64) 5683 if !ok { 5684 that2, ok := that.(OneofStdTypes_RepUInt64) 5685 if ok { 5686 that1 = &that2 5687 } else { 5688 return fmt.Errorf("that is not of type *OneofStdTypes_RepUInt64") 5689 } 5690 } 5691 if that1 == nil { 5692 if this == nil { 5693 return nil 5694 } 5695 return fmt.Errorf("that is type *OneofStdTypes_RepUInt64 but is nil && this != nil") 5696 } else if this == nil { 5697 return fmt.Errorf("that is type *OneofStdTypes_RepUInt64 but is not nil && this == nil") 5698 } 5699 if this.RepUInt64 != nil && that1.RepUInt64 != nil { 5700 if *this.RepUInt64 != *that1.RepUInt64 { 5701 return fmt.Errorf("RepUInt64 this(%v) Not Equal that(%v)", *this.RepUInt64, *that1.RepUInt64) 5702 } 5703 } else if this.RepUInt64 != nil { 5704 return fmt.Errorf("this.RepUInt64 == nil && that.RepUInt64 != nil") 5705 } else if that1.RepUInt64 != nil { 5706 return fmt.Errorf("RepUInt64 this(%v) Not Equal that(%v)", this.RepUInt64, that1.RepUInt64) 5707 } 5708 return nil 5709 } 5710 func (this *OneofStdTypes_RepInt32) VerboseEqual(that interface{}) error { 5711 if that == nil { 5712 if this == nil { 5713 return nil 5714 } 5715 return fmt.Errorf("that == nil && this != nil") 5716 } 5717 5718 that1, ok := that.(*OneofStdTypes_RepInt32) 5719 if !ok { 5720 that2, ok := that.(OneofStdTypes_RepInt32) 5721 if ok { 5722 that1 = &that2 5723 } else { 5724 return fmt.Errorf("that is not of type *OneofStdTypes_RepInt32") 5725 } 5726 } 5727 if that1 == nil { 5728 if this == nil { 5729 return nil 5730 } 5731 return fmt.Errorf("that is type *OneofStdTypes_RepInt32 but is nil && this != nil") 5732 } else if this == nil { 5733 return fmt.Errorf("that is type *OneofStdTypes_RepInt32 but is not nil && this == nil") 5734 } 5735 if this.RepInt32 != nil && that1.RepInt32 != nil { 5736 if *this.RepInt32 != *that1.RepInt32 { 5737 return fmt.Errorf("RepInt32 this(%v) Not Equal that(%v)", *this.RepInt32, *that1.RepInt32) 5738 } 5739 } else if this.RepInt32 != nil { 5740 return fmt.Errorf("this.RepInt32 == nil && that.RepInt32 != nil") 5741 } else if that1.RepInt32 != nil { 5742 return fmt.Errorf("RepInt32 this(%v) Not Equal that(%v)", this.RepInt32, that1.RepInt32) 5743 } 5744 return nil 5745 } 5746 func (this *OneofStdTypes_RepUInt32) VerboseEqual(that interface{}) error { 5747 if that == nil { 5748 if this == nil { 5749 return nil 5750 } 5751 return fmt.Errorf("that == nil && this != nil") 5752 } 5753 5754 that1, ok := that.(*OneofStdTypes_RepUInt32) 5755 if !ok { 5756 that2, ok := that.(OneofStdTypes_RepUInt32) 5757 if ok { 5758 that1 = &that2 5759 } else { 5760 return fmt.Errorf("that is not of type *OneofStdTypes_RepUInt32") 5761 } 5762 } 5763 if that1 == nil { 5764 if this == nil { 5765 return nil 5766 } 5767 return fmt.Errorf("that is type *OneofStdTypes_RepUInt32 but is nil && this != nil") 5768 } else if this == nil { 5769 return fmt.Errorf("that is type *OneofStdTypes_RepUInt32 but is not nil && this == nil") 5770 } 5771 if this.RepUInt32 != nil && that1.RepUInt32 != nil { 5772 if *this.RepUInt32 != *that1.RepUInt32 { 5773 return fmt.Errorf("RepUInt32 this(%v) Not Equal that(%v)", *this.RepUInt32, *that1.RepUInt32) 5774 } 5775 } else if this.RepUInt32 != nil { 5776 return fmt.Errorf("this.RepUInt32 == nil && that.RepUInt32 != nil") 5777 } else if that1.RepUInt32 != nil { 5778 return fmt.Errorf("RepUInt32 this(%v) Not Equal that(%v)", this.RepUInt32, that1.RepUInt32) 5779 } 5780 return nil 5781 } 5782 func (this *OneofStdTypes_RepBool) VerboseEqual(that interface{}) error { 5783 if that == nil { 5784 if this == nil { 5785 return nil 5786 } 5787 return fmt.Errorf("that == nil && this != nil") 5788 } 5789 5790 that1, ok := that.(*OneofStdTypes_RepBool) 5791 if !ok { 5792 that2, ok := that.(OneofStdTypes_RepBool) 5793 if ok { 5794 that1 = &that2 5795 } else { 5796 return fmt.Errorf("that is not of type *OneofStdTypes_RepBool") 5797 } 5798 } 5799 if that1 == nil { 5800 if this == nil { 5801 return nil 5802 } 5803 return fmt.Errorf("that is type *OneofStdTypes_RepBool but is nil && this != nil") 5804 } else if this == nil { 5805 return fmt.Errorf("that is type *OneofStdTypes_RepBool but is not nil && this == nil") 5806 } 5807 if this.RepBool != nil && that1.RepBool != nil { 5808 if *this.RepBool != *that1.RepBool { 5809 return fmt.Errorf("RepBool this(%v) Not Equal that(%v)", *this.RepBool, *that1.RepBool) 5810 } 5811 } else if this.RepBool != nil { 5812 return fmt.Errorf("this.RepBool == nil && that.RepBool != nil") 5813 } else if that1.RepBool != nil { 5814 return fmt.Errorf("RepBool this(%v) Not Equal that(%v)", this.RepBool, that1.RepBool) 5815 } 5816 return nil 5817 } 5818 func (this *OneofStdTypes_RepString) VerboseEqual(that interface{}) error { 5819 if that == nil { 5820 if this == nil { 5821 return nil 5822 } 5823 return fmt.Errorf("that == nil && this != nil") 5824 } 5825 5826 that1, ok := that.(*OneofStdTypes_RepString) 5827 if !ok { 5828 that2, ok := that.(OneofStdTypes_RepString) 5829 if ok { 5830 that1 = &that2 5831 } else { 5832 return fmt.Errorf("that is not of type *OneofStdTypes_RepString") 5833 } 5834 } 5835 if that1 == nil { 5836 if this == nil { 5837 return nil 5838 } 5839 return fmt.Errorf("that is type *OneofStdTypes_RepString but is nil && this != nil") 5840 } else if this == nil { 5841 return fmt.Errorf("that is type *OneofStdTypes_RepString but is not nil && this == nil") 5842 } 5843 if this.RepString != nil && that1.RepString != nil { 5844 if *this.RepString != *that1.RepString { 5845 return fmt.Errorf("RepString this(%v) Not Equal that(%v)", *this.RepString, *that1.RepString) 5846 } 5847 } else if this.RepString != nil { 5848 return fmt.Errorf("this.RepString == nil && that.RepString != nil") 5849 } else if that1.RepString != nil { 5850 return fmt.Errorf("RepString this(%v) Not Equal that(%v)", this.RepString, that1.RepString) 5851 } 5852 return nil 5853 } 5854 func (this *OneofStdTypes_RepBytes) VerboseEqual(that interface{}) error { 5855 if that == nil { 5856 if this == nil { 5857 return nil 5858 } 5859 return fmt.Errorf("that == nil && this != nil") 5860 } 5861 5862 that1, ok := that.(*OneofStdTypes_RepBytes) 5863 if !ok { 5864 that2, ok := that.(OneofStdTypes_RepBytes) 5865 if ok { 5866 that1 = &that2 5867 } else { 5868 return fmt.Errorf("that is not of type *OneofStdTypes_RepBytes") 5869 } 5870 } 5871 if that1 == nil { 5872 if this == nil { 5873 return nil 5874 } 5875 return fmt.Errorf("that is type *OneofStdTypes_RepBytes but is nil && this != nil") 5876 } else if this == nil { 5877 return fmt.Errorf("that is type *OneofStdTypes_RepBytes but is not nil && this == nil") 5878 } 5879 if that1.RepBytes == nil { 5880 if this.RepBytes != nil { 5881 return fmt.Errorf("this.RepBytes != nil && that1.RepBytes == nil") 5882 } 5883 } else if !bytes.Equal(*this.RepBytes, *that1.RepBytes) { 5884 return fmt.Errorf("RepBytes this(%v) Not Equal that(%v)", this.RepBytes, that1.RepBytes) 5885 } 5886 return nil 5887 } 5888 func (this *OneofStdTypes) Equal(that interface{}) bool { 5889 if that == nil { 5890 return this == nil 5891 } 5892 5893 that1, ok := that.(*OneofStdTypes) 5894 if !ok { 5895 that2, ok := that.(OneofStdTypes) 5896 if ok { 5897 that1 = &that2 5898 } else { 5899 return false 5900 } 5901 } 5902 if that1 == nil { 5903 return this == nil 5904 } else if this == nil { 5905 return false 5906 } 5907 if that1.OneOfStdTimes == nil { 5908 if this.OneOfStdTimes != nil { 5909 return false 5910 } 5911 } else if this.OneOfStdTimes == nil { 5912 return false 5913 } else if !this.OneOfStdTimes.Equal(that1.OneOfStdTimes) { 5914 return false 5915 } 5916 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 5917 return false 5918 } 5919 return true 5920 } 5921 func (this *OneofStdTypes_Timestamp) Equal(that interface{}) bool { 5922 if that == nil { 5923 return this == nil 5924 } 5925 5926 that1, ok := that.(*OneofStdTypes_Timestamp) 5927 if !ok { 5928 that2, ok := that.(OneofStdTypes_Timestamp) 5929 if ok { 5930 that1 = &that2 5931 } else { 5932 return false 5933 } 5934 } 5935 if that1 == nil { 5936 return this == nil 5937 } else if this == nil { 5938 return false 5939 } 5940 if that1.Timestamp == nil { 5941 if this.Timestamp != nil { 5942 return false 5943 } 5944 } else if !this.Timestamp.Equal(*that1.Timestamp) { 5945 return false 5946 } 5947 return true 5948 } 5949 func (this *OneofStdTypes_Duration) Equal(that interface{}) bool { 5950 if that == nil { 5951 return this == nil 5952 } 5953 5954 that1, ok := that.(*OneofStdTypes_Duration) 5955 if !ok { 5956 that2, ok := that.(OneofStdTypes_Duration) 5957 if ok { 5958 that1 = &that2 5959 } else { 5960 return false 5961 } 5962 } 5963 if that1 == nil { 5964 return this == nil 5965 } else if this == nil { 5966 return false 5967 } 5968 if this.Duration != nil && that1.Duration != nil { 5969 if *this.Duration != *that1.Duration { 5970 return false 5971 } 5972 } else if this.Duration != nil { 5973 return false 5974 } else if that1.Duration != nil { 5975 return false 5976 } 5977 return true 5978 } 5979 func (this *OneofStdTypes_RepDouble) Equal(that interface{}) bool { 5980 if that == nil { 5981 return this == nil 5982 } 5983 5984 that1, ok := that.(*OneofStdTypes_RepDouble) 5985 if !ok { 5986 that2, ok := that.(OneofStdTypes_RepDouble) 5987 if ok { 5988 that1 = &that2 5989 } else { 5990 return false 5991 } 5992 } 5993 if that1 == nil { 5994 return this == nil 5995 } else if this == nil { 5996 return false 5997 } 5998 if this.RepDouble != nil && that1.RepDouble != nil { 5999 if *this.RepDouble != *that1.RepDouble { 6000 return false 6001 } 6002 } else if this.RepDouble != nil { 6003 return false 6004 } else if that1.RepDouble != nil { 6005 return false 6006 } 6007 return true 6008 } 6009 func (this *OneofStdTypes_RepFloat) Equal(that interface{}) bool { 6010 if that == nil { 6011 return this == nil 6012 } 6013 6014 that1, ok := that.(*OneofStdTypes_RepFloat) 6015 if !ok { 6016 that2, ok := that.(OneofStdTypes_RepFloat) 6017 if ok { 6018 that1 = &that2 6019 } else { 6020 return false 6021 } 6022 } 6023 if that1 == nil { 6024 return this == nil 6025 } else if this == nil { 6026 return false 6027 } 6028 if this.RepFloat != nil && that1.RepFloat != nil { 6029 if *this.RepFloat != *that1.RepFloat { 6030 return false 6031 } 6032 } else if this.RepFloat != nil { 6033 return false 6034 } else if that1.RepFloat != nil { 6035 return false 6036 } 6037 return true 6038 } 6039 func (this *OneofStdTypes_RepInt64) Equal(that interface{}) bool { 6040 if that == nil { 6041 return this == nil 6042 } 6043 6044 that1, ok := that.(*OneofStdTypes_RepInt64) 6045 if !ok { 6046 that2, ok := that.(OneofStdTypes_RepInt64) 6047 if ok { 6048 that1 = &that2 6049 } else { 6050 return false 6051 } 6052 } 6053 if that1 == nil { 6054 return this == nil 6055 } else if this == nil { 6056 return false 6057 } 6058 if this.RepInt64 != nil && that1.RepInt64 != nil { 6059 if *this.RepInt64 != *that1.RepInt64 { 6060 return false 6061 } 6062 } else if this.RepInt64 != nil { 6063 return false 6064 } else if that1.RepInt64 != nil { 6065 return false 6066 } 6067 return true 6068 } 6069 func (this *OneofStdTypes_RepUInt64) Equal(that interface{}) bool { 6070 if that == nil { 6071 return this == nil 6072 } 6073 6074 that1, ok := that.(*OneofStdTypes_RepUInt64) 6075 if !ok { 6076 that2, ok := that.(OneofStdTypes_RepUInt64) 6077 if ok { 6078 that1 = &that2 6079 } else { 6080 return false 6081 } 6082 } 6083 if that1 == nil { 6084 return this == nil 6085 } else if this == nil { 6086 return false 6087 } 6088 if this.RepUInt64 != nil && that1.RepUInt64 != nil { 6089 if *this.RepUInt64 != *that1.RepUInt64 { 6090 return false 6091 } 6092 } else if this.RepUInt64 != nil { 6093 return false 6094 } else if that1.RepUInt64 != nil { 6095 return false 6096 } 6097 return true 6098 } 6099 func (this *OneofStdTypes_RepInt32) Equal(that interface{}) bool { 6100 if that == nil { 6101 return this == nil 6102 } 6103 6104 that1, ok := that.(*OneofStdTypes_RepInt32) 6105 if !ok { 6106 that2, ok := that.(OneofStdTypes_RepInt32) 6107 if ok { 6108 that1 = &that2 6109 } else { 6110 return false 6111 } 6112 } 6113 if that1 == nil { 6114 return this == nil 6115 } else if this == nil { 6116 return false 6117 } 6118 if this.RepInt32 != nil && that1.RepInt32 != nil { 6119 if *this.RepInt32 != *that1.RepInt32 { 6120 return false 6121 } 6122 } else if this.RepInt32 != nil { 6123 return false 6124 } else if that1.RepInt32 != nil { 6125 return false 6126 } 6127 return true 6128 } 6129 func (this *OneofStdTypes_RepUInt32) Equal(that interface{}) bool { 6130 if that == nil { 6131 return this == nil 6132 } 6133 6134 that1, ok := that.(*OneofStdTypes_RepUInt32) 6135 if !ok { 6136 that2, ok := that.(OneofStdTypes_RepUInt32) 6137 if ok { 6138 that1 = &that2 6139 } else { 6140 return false 6141 } 6142 } 6143 if that1 == nil { 6144 return this == nil 6145 } else if this == nil { 6146 return false 6147 } 6148 if this.RepUInt32 != nil && that1.RepUInt32 != nil { 6149 if *this.RepUInt32 != *that1.RepUInt32 { 6150 return false 6151 } 6152 } else if this.RepUInt32 != nil { 6153 return false 6154 } else if that1.RepUInt32 != nil { 6155 return false 6156 } 6157 return true 6158 } 6159 func (this *OneofStdTypes_RepBool) Equal(that interface{}) bool { 6160 if that == nil { 6161 return this == nil 6162 } 6163 6164 that1, ok := that.(*OneofStdTypes_RepBool) 6165 if !ok { 6166 that2, ok := that.(OneofStdTypes_RepBool) 6167 if ok { 6168 that1 = &that2 6169 } else { 6170 return false 6171 } 6172 } 6173 if that1 == nil { 6174 return this == nil 6175 } else if this == nil { 6176 return false 6177 } 6178 if this.RepBool != nil && that1.RepBool != nil { 6179 if *this.RepBool != *that1.RepBool { 6180 return false 6181 } 6182 } else if this.RepBool != nil { 6183 return false 6184 } else if that1.RepBool != nil { 6185 return false 6186 } 6187 return true 6188 } 6189 func (this *OneofStdTypes_RepString) Equal(that interface{}) bool { 6190 if that == nil { 6191 return this == nil 6192 } 6193 6194 that1, ok := that.(*OneofStdTypes_RepString) 6195 if !ok { 6196 that2, ok := that.(OneofStdTypes_RepString) 6197 if ok { 6198 that1 = &that2 6199 } else { 6200 return false 6201 } 6202 } 6203 if that1 == nil { 6204 return this == nil 6205 } else if this == nil { 6206 return false 6207 } 6208 if this.RepString != nil && that1.RepString != nil { 6209 if *this.RepString != *that1.RepString { 6210 return false 6211 } 6212 } else if this.RepString != nil { 6213 return false 6214 } else if that1.RepString != nil { 6215 return false 6216 } 6217 return true 6218 } 6219 func (this *OneofStdTypes_RepBytes) Equal(that interface{}) bool { 6220 if that == nil { 6221 return this == nil 6222 } 6223 6224 that1, ok := that.(*OneofStdTypes_RepBytes) 6225 if !ok { 6226 that2, ok := that.(OneofStdTypes_RepBytes) 6227 if ok { 6228 that1 = &that2 6229 } else { 6230 return false 6231 } 6232 } 6233 if that1 == nil { 6234 return this == nil 6235 } else if this == nil { 6236 return false 6237 } 6238 if that1.RepBytes == nil { 6239 if this.RepBytes != nil { 6240 return false 6241 } 6242 } else if !bytes.Equal(*this.RepBytes, *that1.RepBytes) { 6243 return false 6244 } 6245 return true 6246 } 6247 func NewPopulatedKnownTypes(r randyTypes, easy bool) *KnownTypes { 6248 this := &KnownTypes{} 6249 if r.Intn(5) != 0 { 6250 this.Dur = types.NewPopulatedDuration(r, easy) 6251 } 6252 if r.Intn(5) != 0 { 6253 this.Ts = types.NewPopulatedTimestamp(r, easy) 6254 } 6255 if r.Intn(5) != 0 { 6256 this.Dbl = types.NewPopulatedDoubleValue(r, easy) 6257 } 6258 if r.Intn(5) != 0 { 6259 this.Flt = types.NewPopulatedFloatValue(r, easy) 6260 } 6261 if r.Intn(5) != 0 { 6262 this.I64 = types.NewPopulatedInt64Value(r, easy) 6263 } 6264 if r.Intn(5) != 0 { 6265 this.U64 = types.NewPopulatedUInt64Value(r, easy) 6266 } 6267 if r.Intn(5) != 0 { 6268 this.I32 = types.NewPopulatedInt32Value(r, easy) 6269 } 6270 if r.Intn(5) != 0 { 6271 this.U32 = types.NewPopulatedUInt32Value(r, easy) 6272 } 6273 if r.Intn(5) != 0 { 6274 this.Bool = types.NewPopulatedBoolValue(r, easy) 6275 } 6276 if r.Intn(5) != 0 { 6277 this.Str = types.NewPopulatedStringValue(r, easy) 6278 } 6279 if r.Intn(5) != 0 { 6280 this.Bytes = types.NewPopulatedBytesValue(r, easy) 6281 } 6282 if r.Intn(5) != 0 { 6283 this.St = types.NewPopulatedStruct(r, easy) 6284 } 6285 if !easy && r.Intn(10) != 0 { 6286 this.XXX_unrecognized = randUnrecognizedTypes(r, 13) 6287 } 6288 return this 6289 } 6290 6291 func NewPopulatedProtoTypes(r randyTypes, easy bool) *ProtoTypes { 6292 this := &ProtoTypes{} 6293 if r.Intn(5) != 0 { 6294 this.NullableTimestamp = types.NewPopulatedTimestamp(r, easy) 6295 } 6296 if r.Intn(5) != 0 { 6297 this.NullableDuration = types.NewPopulatedDuration(r, easy) 6298 } 6299 if r.Intn(5) != 0 { 6300 this.NullableDouble = types.NewPopulatedDoubleValue(r, easy) 6301 } 6302 if r.Intn(5) != 0 { 6303 this.NullableFloat = types.NewPopulatedFloatValue(r, easy) 6304 } 6305 if r.Intn(5) != 0 { 6306 this.NullableInt64 = types.NewPopulatedInt64Value(r, easy) 6307 } 6308 if r.Intn(5) != 0 { 6309 this.NullableUInt64 = types.NewPopulatedUInt64Value(r, easy) 6310 } 6311 if r.Intn(5) != 0 { 6312 this.NullableInt32 = types.NewPopulatedInt32Value(r, easy) 6313 } 6314 if r.Intn(5) != 0 { 6315 this.NullableUInt32 = types.NewPopulatedUInt32Value(r, easy) 6316 } 6317 if r.Intn(5) != 0 { 6318 this.NullableBool = types.NewPopulatedBoolValue(r, easy) 6319 } 6320 if r.Intn(5) != 0 { 6321 this.NullableString = types.NewPopulatedStringValue(r, easy) 6322 } 6323 if r.Intn(5) != 0 { 6324 this.NullableBytes = types.NewPopulatedBytesValue(r, easy) 6325 } 6326 v1 := types.NewPopulatedTimestamp(r, easy) 6327 this.Timestamp = *v1 6328 v2 := types.NewPopulatedDuration(r, easy) 6329 this.Duration = *v2 6330 v3 := types.NewPopulatedDoubleValue(r, easy) 6331 this.NonnullDouble = *v3 6332 v4 := types.NewPopulatedFloatValue(r, easy) 6333 this.NonnullFloat = *v4 6334 v5 := types.NewPopulatedInt64Value(r, easy) 6335 this.NonnullInt64 = *v5 6336 v6 := types.NewPopulatedUInt64Value(r, easy) 6337 this.NonnullUInt64 = *v6 6338 v7 := types.NewPopulatedInt32Value(r, easy) 6339 this.NonnullInt32 = *v7 6340 v8 := types.NewPopulatedUInt32Value(r, easy) 6341 this.NonnullUInt32 = *v8 6342 v9 := types.NewPopulatedBoolValue(r, easy) 6343 this.NonnullBool = *v9 6344 v10 := types.NewPopulatedStringValue(r, easy) 6345 this.NonnullString = *v10 6346 v11 := types.NewPopulatedBytesValue(r, easy) 6347 this.NonnullBytes = *v11 6348 if !easy && r.Intn(10) != 0 { 6349 this.XXX_unrecognized = randUnrecognizedTypes(r, 23) 6350 } 6351 return this 6352 } 6353 6354 func NewPopulatedStdTypes(r randyTypes, easy bool) *StdTypes { 6355 this := &StdTypes{} 6356 if r.Intn(5) != 0 { 6357 this.NullableTimestamp = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) 6358 } 6359 if r.Intn(5) != 0 { 6360 this.NullableDuration = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) 6361 } 6362 if r.Intn(5) != 0 { 6363 this.NullableDouble = github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) 6364 } 6365 if r.Intn(5) != 0 { 6366 this.NullableFloat = github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) 6367 } 6368 if r.Intn(5) != 0 { 6369 this.NullableInt64 = github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) 6370 } 6371 if r.Intn(5) != 0 { 6372 this.NullableUInt64 = github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) 6373 } 6374 if r.Intn(5) != 0 { 6375 this.NullableInt32 = github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) 6376 } 6377 if r.Intn(5) != 0 { 6378 this.NullableUInt32 = github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) 6379 } 6380 if r.Intn(5) != 0 { 6381 this.NullableBool = github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) 6382 } 6383 if r.Intn(5) != 0 { 6384 this.NullableString = github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) 6385 } 6386 if r.Intn(5) != 0 { 6387 this.NullableBytes = github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) 6388 } 6389 v12 := github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) 6390 this.Timestamp = *v12 6391 v13 := github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) 6392 this.Duration = *v13 6393 v14 := github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) 6394 this.NonnullDouble = *v14 6395 v15 := github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) 6396 this.NonnullFloat = *v15 6397 v16 := github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) 6398 this.NonnullInt64 = *v16 6399 v17 := github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) 6400 this.NonnullUInt64 = *v17 6401 v18 := github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) 6402 this.NonnullInt32 = *v18 6403 v19 := github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) 6404 this.NonnullUInt32 = *v19 6405 v20 := github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) 6406 this.NonnullBool = *v20 6407 v21 := github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) 6408 this.NonnullString = *v21 6409 v22 := github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) 6410 this.NonnullBytes = *v22 6411 if !easy && r.Intn(10) != 0 { 6412 this.XXX_unrecognized = randUnrecognizedTypes(r, 23) 6413 } 6414 return this 6415 } 6416 6417 func NewPopulatedRepProtoTypes(r randyTypes, easy bool) *RepProtoTypes { 6418 this := &RepProtoTypes{} 6419 if r.Intn(5) != 0 { 6420 v23 := r.Intn(5) 6421 this.NullableTimestamps = make([]*types.Timestamp, v23) 6422 for i := 0; i < v23; i++ { 6423 this.NullableTimestamps[i] = types.NewPopulatedTimestamp(r, easy) 6424 } 6425 } 6426 if r.Intn(5) != 0 { 6427 v24 := r.Intn(5) 6428 this.NullableDurations = make([]*types.Duration, v24) 6429 for i := 0; i < v24; i++ { 6430 this.NullableDurations[i] = types.NewPopulatedDuration(r, easy) 6431 } 6432 } 6433 if r.Intn(5) != 0 { 6434 v25 := r.Intn(5) 6435 this.Timestamps = make([]types.Timestamp, v25) 6436 for i := 0; i < v25; i++ { 6437 v26 := types.NewPopulatedTimestamp(r, easy) 6438 this.Timestamps[i] = *v26 6439 } 6440 } 6441 if r.Intn(5) != 0 { 6442 v27 := r.Intn(5) 6443 this.Durations = make([]types.Duration, v27) 6444 for i := 0; i < v27; i++ { 6445 v28 := types.NewPopulatedDuration(r, easy) 6446 this.Durations[i] = *v28 6447 } 6448 } 6449 if r.Intn(5) != 0 { 6450 v29 := r.Intn(5) 6451 this.NullableDouble = make([]*types.DoubleValue, v29) 6452 for i := 0; i < v29; i++ { 6453 this.NullableDouble[i] = types.NewPopulatedDoubleValue(r, easy) 6454 } 6455 } 6456 if r.Intn(5) != 0 { 6457 v30 := r.Intn(5) 6458 this.NonnullDouble = make([]types.DoubleValue, v30) 6459 for i := 0; i < v30; i++ { 6460 v31 := types.NewPopulatedDoubleValue(r, easy) 6461 this.NonnullDouble[i] = *v31 6462 } 6463 } 6464 if r.Intn(5) != 0 { 6465 v32 := r.Intn(5) 6466 this.NullableFloat = make([]*types.FloatValue, v32) 6467 for i := 0; i < v32; i++ { 6468 this.NullableFloat[i] = types.NewPopulatedFloatValue(r, easy) 6469 } 6470 } 6471 if r.Intn(5) != 0 { 6472 v33 := r.Intn(5) 6473 this.NonnullFloat = make([]types.FloatValue, v33) 6474 for i := 0; i < v33; i++ { 6475 v34 := types.NewPopulatedFloatValue(r, easy) 6476 this.NonnullFloat[i] = *v34 6477 } 6478 } 6479 if r.Intn(5) != 0 { 6480 v35 := r.Intn(5) 6481 this.NullableInt64 = make([]*types.Int64Value, v35) 6482 for i := 0; i < v35; i++ { 6483 this.NullableInt64[i] = types.NewPopulatedInt64Value(r, easy) 6484 } 6485 } 6486 if r.Intn(5) != 0 { 6487 v36 := r.Intn(5) 6488 this.NonnullInt64 = make([]types.Int64Value, v36) 6489 for i := 0; i < v36; i++ { 6490 v37 := types.NewPopulatedInt64Value(r, easy) 6491 this.NonnullInt64[i] = *v37 6492 } 6493 } 6494 if r.Intn(5) != 0 { 6495 v38 := r.Intn(5) 6496 this.NullableUInt64 = make([]*types.UInt64Value, v38) 6497 for i := 0; i < v38; i++ { 6498 this.NullableUInt64[i] = types.NewPopulatedUInt64Value(r, easy) 6499 } 6500 } 6501 if r.Intn(5) != 0 { 6502 v39 := r.Intn(5) 6503 this.NonnullUInt64 = make([]types.UInt64Value, v39) 6504 for i := 0; i < v39; i++ { 6505 v40 := types.NewPopulatedUInt64Value(r, easy) 6506 this.NonnullUInt64[i] = *v40 6507 } 6508 } 6509 if r.Intn(5) != 0 { 6510 v41 := r.Intn(5) 6511 this.NullableInt32 = make([]*types.Int32Value, v41) 6512 for i := 0; i < v41; i++ { 6513 this.NullableInt32[i] = types.NewPopulatedInt32Value(r, easy) 6514 } 6515 } 6516 if r.Intn(5) != 0 { 6517 v42 := r.Intn(5) 6518 this.NonnullInt32 = make([]types.Int32Value, v42) 6519 for i := 0; i < v42; i++ { 6520 v43 := types.NewPopulatedInt32Value(r, easy) 6521 this.NonnullInt32[i] = *v43 6522 } 6523 } 6524 if r.Intn(5) != 0 { 6525 v44 := r.Intn(5) 6526 this.NullableUInt32 = make([]*types.UInt32Value, v44) 6527 for i := 0; i < v44; i++ { 6528 this.NullableUInt32[i] = types.NewPopulatedUInt32Value(r, easy) 6529 } 6530 } 6531 if r.Intn(5) != 0 { 6532 v45 := r.Intn(5) 6533 this.NonnullUInt32 = make([]types.UInt32Value, v45) 6534 for i := 0; i < v45; i++ { 6535 v46 := types.NewPopulatedUInt32Value(r, easy) 6536 this.NonnullUInt32[i] = *v46 6537 } 6538 } 6539 if r.Intn(5) != 0 { 6540 v47 := r.Intn(5) 6541 this.NullableBool = make([]*types.BoolValue, v47) 6542 for i := 0; i < v47; i++ { 6543 this.NullableBool[i] = types.NewPopulatedBoolValue(r, easy) 6544 } 6545 } 6546 if r.Intn(5) != 0 { 6547 v48 := r.Intn(5) 6548 this.NonnullBool = make([]types.BoolValue, v48) 6549 for i := 0; i < v48; i++ { 6550 v49 := types.NewPopulatedBoolValue(r, easy) 6551 this.NonnullBool[i] = *v49 6552 } 6553 } 6554 if r.Intn(5) != 0 { 6555 v50 := r.Intn(5) 6556 this.NullableString = make([]*types.StringValue, v50) 6557 for i := 0; i < v50; i++ { 6558 this.NullableString[i] = types.NewPopulatedStringValue(r, easy) 6559 } 6560 } 6561 if r.Intn(5) != 0 { 6562 v51 := r.Intn(5) 6563 this.NonnullString = make([]types.StringValue, v51) 6564 for i := 0; i < v51; i++ { 6565 v52 := types.NewPopulatedStringValue(r, easy) 6566 this.NonnullString[i] = *v52 6567 } 6568 } 6569 if r.Intn(5) != 0 { 6570 v53 := r.Intn(5) 6571 this.NullableBytes = make([]*types.BytesValue, v53) 6572 for i := 0; i < v53; i++ { 6573 this.NullableBytes[i] = types.NewPopulatedBytesValue(r, easy) 6574 } 6575 } 6576 if r.Intn(5) != 0 { 6577 v54 := r.Intn(5) 6578 this.NonnullBytes = make([]types.BytesValue, v54) 6579 for i := 0; i < v54; i++ { 6580 v55 := types.NewPopulatedBytesValue(r, easy) 6581 this.NonnullBytes[i] = *v55 6582 } 6583 } 6584 if !easy && r.Intn(10) != 0 { 6585 this.XXX_unrecognized = randUnrecognizedTypes(r, 23) 6586 } 6587 return this 6588 } 6589 6590 func NewPopulatedRepStdTypes(r randyTypes, easy bool) *RepStdTypes { 6591 this := &RepStdTypes{} 6592 if r.Intn(5) != 0 { 6593 v56 := r.Intn(5) 6594 this.NullableTimestamps = make([]*time.Time, v56) 6595 for i := 0; i < v56; i++ { 6596 this.NullableTimestamps[i] = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) 6597 } 6598 } 6599 if r.Intn(5) != 0 { 6600 v57 := r.Intn(5) 6601 this.NullableDurations = make([]*time.Duration, v57) 6602 for i := 0; i < v57; i++ { 6603 this.NullableDurations[i] = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) 6604 } 6605 } 6606 if r.Intn(5) != 0 { 6607 v58 := r.Intn(5) 6608 this.Timestamps = make([]time.Time, v58) 6609 for i := 0; i < v58; i++ { 6610 v59 := github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) 6611 this.Timestamps[i] = *v59 6612 } 6613 } 6614 if r.Intn(5) != 0 { 6615 v60 := r.Intn(5) 6616 this.Durations = make([]time.Duration, v60) 6617 for i := 0; i < v60; i++ { 6618 v61 := github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) 6619 this.Durations[i] = *v61 6620 } 6621 } 6622 if r.Intn(5) != 0 { 6623 v62 := r.Intn(5) 6624 this.NullableDouble = make([]*float64, v62) 6625 for i := 0; i < v62; i++ { 6626 this.NullableDouble[i] = github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) 6627 } 6628 } 6629 if r.Intn(5) != 0 { 6630 v63 := r.Intn(5) 6631 this.NonnullDouble = make([]float64, v63) 6632 for i := 0; i < v63; i++ { 6633 v64 := github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) 6634 this.NonnullDouble[i] = *v64 6635 } 6636 } 6637 if r.Intn(5) != 0 { 6638 v65 := r.Intn(5) 6639 this.NullableFloat = make([]*float32, v65) 6640 for i := 0; i < v65; i++ { 6641 this.NullableFloat[i] = github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) 6642 } 6643 } 6644 if r.Intn(5) != 0 { 6645 v66 := r.Intn(5) 6646 this.NonnullFloat = make([]float32, v66) 6647 for i := 0; i < v66; i++ { 6648 v67 := github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) 6649 this.NonnullFloat[i] = *v67 6650 } 6651 } 6652 if r.Intn(5) != 0 { 6653 v68 := r.Intn(5) 6654 this.NullableInt64 = make([]*int64, v68) 6655 for i := 0; i < v68; i++ { 6656 this.NullableInt64[i] = github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) 6657 } 6658 } 6659 if r.Intn(5) != 0 { 6660 v69 := r.Intn(5) 6661 this.NonnullInt64 = make([]int64, v69) 6662 for i := 0; i < v69; i++ { 6663 v70 := github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) 6664 this.NonnullInt64[i] = *v70 6665 } 6666 } 6667 if r.Intn(5) != 0 { 6668 v71 := r.Intn(5) 6669 this.NullableUInt64 = make([]*uint64, v71) 6670 for i := 0; i < v71; i++ { 6671 this.NullableUInt64[i] = github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) 6672 } 6673 } 6674 if r.Intn(5) != 0 { 6675 v72 := r.Intn(5) 6676 this.NonnullUInt64 = make([]uint64, v72) 6677 for i := 0; i < v72; i++ { 6678 v73 := github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) 6679 this.NonnullUInt64[i] = *v73 6680 } 6681 } 6682 if r.Intn(5) != 0 { 6683 v74 := r.Intn(5) 6684 this.NullableInt32 = make([]*int32, v74) 6685 for i := 0; i < v74; i++ { 6686 this.NullableInt32[i] = github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) 6687 } 6688 } 6689 if r.Intn(5) != 0 { 6690 v75 := r.Intn(5) 6691 this.NonnullInt32 = make([]int32, v75) 6692 for i := 0; i < v75; i++ { 6693 v76 := github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) 6694 this.NonnullInt32[i] = *v76 6695 } 6696 } 6697 if r.Intn(5) != 0 { 6698 v77 := r.Intn(5) 6699 this.NullableUInt32 = make([]*uint32, v77) 6700 for i := 0; i < v77; i++ { 6701 this.NullableUInt32[i] = github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) 6702 } 6703 } 6704 if r.Intn(5) != 0 { 6705 v78 := r.Intn(5) 6706 this.NonnullUInt32 = make([]uint32, v78) 6707 for i := 0; i < v78; i++ { 6708 v79 := github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) 6709 this.NonnullUInt32[i] = *v79 6710 } 6711 } 6712 if r.Intn(5) != 0 { 6713 v80 := r.Intn(5) 6714 this.NullableBool = make([]*bool, v80) 6715 for i := 0; i < v80; i++ { 6716 this.NullableBool[i] = github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) 6717 } 6718 } 6719 if r.Intn(5) != 0 { 6720 v81 := r.Intn(5) 6721 this.NonnullBool = make([]bool, v81) 6722 for i := 0; i < v81; i++ { 6723 v82 := github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) 6724 this.NonnullBool[i] = *v82 6725 } 6726 } 6727 if r.Intn(5) != 0 { 6728 v83 := r.Intn(5) 6729 this.NullableString = make([]*string, v83) 6730 for i := 0; i < v83; i++ { 6731 this.NullableString[i] = github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) 6732 } 6733 } 6734 if r.Intn(5) != 0 { 6735 v84 := r.Intn(5) 6736 this.NonnullString = make([]string, v84) 6737 for i := 0; i < v84; i++ { 6738 v85 := github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) 6739 this.NonnullString[i] = *v85 6740 } 6741 } 6742 if r.Intn(5) != 0 { 6743 v86 := r.Intn(5) 6744 this.NullableBytes = make([]*[]byte, v86) 6745 for i := 0; i < v86; i++ { 6746 this.NullableBytes[i] = github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) 6747 } 6748 } 6749 if r.Intn(5) != 0 { 6750 v87 := r.Intn(5) 6751 this.NonnullBytes = make([][]byte, v87) 6752 for i := 0; i < v87; i++ { 6753 v88 := github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) 6754 this.NonnullBytes[i] = *v88 6755 } 6756 } 6757 if !easy && r.Intn(10) != 0 { 6758 this.XXX_unrecognized = randUnrecognizedTypes(r, 23) 6759 } 6760 return this 6761 } 6762 6763 func NewPopulatedMapProtoTypes(r randyTypes, easy bool) *MapProtoTypes { 6764 this := &MapProtoTypes{} 6765 if r.Intn(5) != 0 { 6766 v89 := r.Intn(10) 6767 this.NullableTimestamp = make(map[int32]*types.Timestamp) 6768 for i := 0; i < v89; i++ { 6769 this.NullableTimestamp[int32(r.Int31())] = types.NewPopulatedTimestamp(r, easy) 6770 } 6771 } 6772 if r.Intn(5) != 0 { 6773 v90 := r.Intn(10) 6774 this.Timestamp = make(map[int32]types.Timestamp) 6775 for i := 0; i < v90; i++ { 6776 this.Timestamp[int32(r.Int31())] = *types.NewPopulatedTimestamp(r, easy) 6777 } 6778 } 6779 if r.Intn(5) != 0 { 6780 v91 := r.Intn(10) 6781 this.NullableDuration = make(map[int32]*types.Duration) 6782 for i := 0; i < v91; i++ { 6783 this.NullableDuration[int32(r.Int31())] = types.NewPopulatedDuration(r, easy) 6784 } 6785 } 6786 if r.Intn(5) != 0 { 6787 v92 := r.Intn(10) 6788 this.Duration = make(map[int32]types.Duration) 6789 for i := 0; i < v92; i++ { 6790 this.Duration[int32(r.Int31())] = *types.NewPopulatedDuration(r, easy) 6791 } 6792 } 6793 if r.Intn(5) != 0 { 6794 v93 := r.Intn(10) 6795 this.NullableDouble = make(map[int32]*types.DoubleValue) 6796 for i := 0; i < v93; i++ { 6797 this.NullableDouble[int32(r.Int31())] = types.NewPopulatedDoubleValue(r, easy) 6798 } 6799 } 6800 if r.Intn(5) != 0 { 6801 v94 := r.Intn(10) 6802 this.NonnullDouble = make(map[int32]types.DoubleValue) 6803 for i := 0; i < v94; i++ { 6804 this.NonnullDouble[int32(r.Int31())] = *types.NewPopulatedDoubleValue(r, easy) 6805 } 6806 } 6807 if r.Intn(5) != 0 { 6808 v95 := r.Intn(10) 6809 this.NullableFloat = make(map[int32]*types.FloatValue) 6810 for i := 0; i < v95; i++ { 6811 this.NullableFloat[int32(r.Int31())] = types.NewPopulatedFloatValue(r, easy) 6812 } 6813 } 6814 if r.Intn(5) != 0 { 6815 v96 := r.Intn(10) 6816 this.NonnullFloat = make(map[int32]types.FloatValue) 6817 for i := 0; i < v96; i++ { 6818 this.NonnullFloat[int32(r.Int31())] = *types.NewPopulatedFloatValue(r, easy) 6819 } 6820 } 6821 if r.Intn(5) != 0 { 6822 v97 := r.Intn(10) 6823 this.NullableInt64 = make(map[int32]*types.Int64Value) 6824 for i := 0; i < v97; i++ { 6825 this.NullableInt64[int32(r.Int31())] = types.NewPopulatedInt64Value(r, easy) 6826 } 6827 } 6828 if r.Intn(5) != 0 { 6829 v98 := r.Intn(10) 6830 this.NonnullInt64 = make(map[int32]types.Int64Value) 6831 for i := 0; i < v98; i++ { 6832 this.NonnullInt64[int32(r.Int31())] = *types.NewPopulatedInt64Value(r, easy) 6833 } 6834 } 6835 if r.Intn(5) != 0 { 6836 v99 := r.Intn(10) 6837 this.NullableUInt64 = make(map[int32]*types.UInt64Value) 6838 for i := 0; i < v99; i++ { 6839 this.NullableUInt64[int32(r.Int31())] = types.NewPopulatedUInt64Value(r, easy) 6840 } 6841 } 6842 if r.Intn(5) != 0 { 6843 v100 := r.Intn(10) 6844 this.NonnullUInt64 = make(map[int32]types.UInt64Value) 6845 for i := 0; i < v100; i++ { 6846 this.NonnullUInt64[int32(r.Int31())] = *types.NewPopulatedUInt64Value(r, easy) 6847 } 6848 } 6849 if r.Intn(5) != 0 { 6850 v101 := r.Intn(10) 6851 this.NullableInt32 = make(map[int32]*types.Int32Value) 6852 for i := 0; i < v101; i++ { 6853 this.NullableInt32[int32(r.Int31())] = types.NewPopulatedInt32Value(r, easy) 6854 } 6855 } 6856 if r.Intn(5) != 0 { 6857 v102 := r.Intn(10) 6858 this.NonnullInt32 = make(map[int32]types.Int32Value) 6859 for i := 0; i < v102; i++ { 6860 this.NonnullInt32[int32(r.Int31())] = *types.NewPopulatedInt32Value(r, easy) 6861 } 6862 } 6863 if r.Intn(5) != 0 { 6864 v103 := r.Intn(10) 6865 this.NullableUInt32 = make(map[int32]*types.UInt32Value) 6866 for i := 0; i < v103; i++ { 6867 this.NullableUInt32[int32(r.Int31())] = types.NewPopulatedUInt32Value(r, easy) 6868 } 6869 } 6870 if r.Intn(5) != 0 { 6871 v104 := r.Intn(10) 6872 this.NonnullUInt32 = make(map[int32]types.UInt32Value) 6873 for i := 0; i < v104; i++ { 6874 this.NonnullUInt32[int32(r.Int31())] = *types.NewPopulatedUInt32Value(r, easy) 6875 } 6876 } 6877 if r.Intn(5) != 0 { 6878 v105 := r.Intn(10) 6879 this.NullableBool = make(map[int32]*types.BoolValue) 6880 for i := 0; i < v105; i++ { 6881 this.NullableBool[int32(r.Int31())] = types.NewPopulatedBoolValue(r, easy) 6882 } 6883 } 6884 if r.Intn(5) != 0 { 6885 v106 := r.Intn(10) 6886 this.NonnullBool = make(map[int32]types.BoolValue) 6887 for i := 0; i < v106; i++ { 6888 this.NonnullBool[int32(r.Int31())] = *types.NewPopulatedBoolValue(r, easy) 6889 } 6890 } 6891 if r.Intn(5) != 0 { 6892 v107 := r.Intn(10) 6893 this.NullableString = make(map[int32]*types.StringValue) 6894 for i := 0; i < v107; i++ { 6895 this.NullableString[int32(r.Int31())] = types.NewPopulatedStringValue(r, easy) 6896 } 6897 } 6898 if r.Intn(5) != 0 { 6899 v108 := r.Intn(10) 6900 this.NonnullString = make(map[int32]types.StringValue) 6901 for i := 0; i < v108; i++ { 6902 this.NonnullString[int32(r.Int31())] = *types.NewPopulatedStringValue(r, easy) 6903 } 6904 } 6905 if r.Intn(5) != 0 { 6906 v109 := r.Intn(10) 6907 this.NullableBytes = make(map[int32]*types.BytesValue) 6908 for i := 0; i < v109; i++ { 6909 this.NullableBytes[int32(r.Int31())] = types.NewPopulatedBytesValue(r, easy) 6910 } 6911 } 6912 if r.Intn(5) != 0 { 6913 v110 := r.Intn(10) 6914 this.NonnullBytes = make(map[int32]types.BytesValue) 6915 for i := 0; i < v110; i++ { 6916 this.NonnullBytes[int32(r.Int31())] = *types.NewPopulatedBytesValue(r, easy) 6917 } 6918 } 6919 if !easy && r.Intn(10) != 0 { 6920 this.XXX_unrecognized = randUnrecognizedTypes(r, 23) 6921 } 6922 return this 6923 } 6924 6925 func NewPopulatedMapStdTypes(r randyTypes, easy bool) *MapStdTypes { 6926 this := &MapStdTypes{} 6927 if r.Intn(5) != 0 { 6928 v111 := r.Intn(10) 6929 this.NullableTimestamp = make(map[int32]*time.Time) 6930 for i := 0; i < v111; i++ { 6931 this.NullableTimestamp[int32(r.Int31())] = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) 6932 } 6933 } 6934 if r.Intn(5) != 0 { 6935 v112 := r.Intn(10) 6936 this.Timestamp = make(map[int32]time.Time) 6937 for i := 0; i < v112; i++ { 6938 this.Timestamp[int32(r.Int31())] = *github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) 6939 } 6940 } 6941 if r.Intn(5) != 0 { 6942 v113 := r.Intn(10) 6943 this.NullableDuration = make(map[int32]*time.Duration) 6944 for i := 0; i < v113; i++ { 6945 this.NullableDuration[int32(r.Int31())] = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) 6946 } 6947 } 6948 if r.Intn(5) != 0 { 6949 v114 := r.Intn(10) 6950 this.Duration = make(map[int32]time.Duration) 6951 for i := 0; i < v114; i++ { 6952 this.Duration[int32(r.Int31())] = *github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) 6953 } 6954 } 6955 if r.Intn(5) != 0 { 6956 v115 := r.Intn(10) 6957 this.NullableDouble = make(map[int32]*float64) 6958 for i := 0; i < v115; i++ { 6959 this.NullableDouble[int32(r.Int31())] = (*float64)(github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy)) 6960 } 6961 } 6962 if r.Intn(5) != 0 { 6963 v116 := r.Intn(10) 6964 this.NonnullDouble = make(map[int32]float64) 6965 for i := 0; i < v116; i++ { 6966 this.NonnullDouble[int32(r.Int31())] = (float64)(*github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy)) 6967 } 6968 } 6969 if r.Intn(5) != 0 { 6970 v117 := r.Intn(10) 6971 this.NullableFloat = make(map[int32]*float32) 6972 for i := 0; i < v117; i++ { 6973 this.NullableFloat[int32(r.Int31())] = (*float32)(github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy)) 6974 } 6975 } 6976 if r.Intn(5) != 0 { 6977 v118 := r.Intn(10) 6978 this.NonnullFloat = make(map[int32]float32) 6979 for i := 0; i < v118; i++ { 6980 this.NonnullFloat[int32(r.Int31())] = (float32)(*github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy)) 6981 } 6982 } 6983 if r.Intn(5) != 0 { 6984 v119 := r.Intn(10) 6985 this.NullableInt64 = make(map[int32]*int64) 6986 for i := 0; i < v119; i++ { 6987 this.NullableInt64[int32(r.Int31())] = (*int64)(github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy)) 6988 } 6989 } 6990 if r.Intn(5) != 0 { 6991 v120 := r.Intn(10) 6992 this.NonnullInt64 = make(map[int32]int64) 6993 for i := 0; i < v120; i++ { 6994 this.NonnullInt64[int32(r.Int31())] = (int64)(*github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy)) 6995 } 6996 } 6997 if r.Intn(5) != 0 { 6998 v121 := r.Intn(10) 6999 this.NullableUInt64 = make(map[int32]*uint64) 7000 for i := 0; i < v121; i++ { 7001 this.NullableUInt64[int32(r.Int31())] = (*uint64)(github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy)) 7002 } 7003 } 7004 if r.Intn(5) != 0 { 7005 v122 := r.Intn(10) 7006 this.NonnullUInt64 = make(map[int32]uint64) 7007 for i := 0; i < v122; i++ { 7008 this.NonnullUInt64[int32(r.Int31())] = (uint64)(*github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy)) 7009 } 7010 } 7011 if r.Intn(5) != 0 { 7012 v123 := r.Intn(10) 7013 this.NullableInt32 = make(map[int32]*int32) 7014 for i := 0; i < v123; i++ { 7015 this.NullableInt32[int32(r.Int31())] = (*int32)(github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy)) 7016 } 7017 } 7018 if r.Intn(5) != 0 { 7019 v124 := r.Intn(10) 7020 this.NonnullInt32 = make(map[int32]int32) 7021 for i := 0; i < v124; i++ { 7022 this.NonnullInt32[int32(r.Int31())] = (int32)(*github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy)) 7023 } 7024 } 7025 if r.Intn(5) != 0 { 7026 v125 := r.Intn(10) 7027 this.NullableUInt32 = make(map[int32]*uint32) 7028 for i := 0; i < v125; i++ { 7029 this.NullableUInt32[int32(r.Int31())] = (*uint32)(github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy)) 7030 } 7031 } 7032 if r.Intn(5) != 0 { 7033 v126 := r.Intn(10) 7034 this.NonnullUInt32 = make(map[int32]uint32) 7035 for i := 0; i < v126; i++ { 7036 this.NonnullUInt32[int32(r.Int31())] = (uint32)(*github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy)) 7037 } 7038 } 7039 if r.Intn(5) != 0 { 7040 v127 := r.Intn(10) 7041 this.NullableBool = make(map[int32]*bool) 7042 for i := 0; i < v127; i++ { 7043 this.NullableBool[int32(r.Int31())] = (*bool)(github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy)) 7044 } 7045 } 7046 if r.Intn(5) != 0 { 7047 v128 := r.Intn(10) 7048 this.NonnullBool = make(map[int32]bool) 7049 for i := 0; i < v128; i++ { 7050 this.NonnullBool[int32(r.Int31())] = (bool)(*github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy)) 7051 } 7052 } 7053 if r.Intn(5) != 0 { 7054 v129 := r.Intn(10) 7055 this.NullableString = make(map[int32]*string) 7056 for i := 0; i < v129; i++ { 7057 this.NullableString[int32(r.Int31())] = (*string)(github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy)) 7058 } 7059 } 7060 if r.Intn(5) != 0 { 7061 v130 := r.Intn(10) 7062 this.NonnullString = make(map[int32]string) 7063 for i := 0; i < v130; i++ { 7064 this.NonnullString[int32(r.Int31())] = (string)(*github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy)) 7065 } 7066 } 7067 if r.Intn(5) != 0 { 7068 v131 := r.Intn(10) 7069 this.NullableBytes = make(map[int32]*[]byte) 7070 for i := 0; i < v131; i++ { 7071 this.NullableBytes[int32(r.Int31())] = (*[]byte)(github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy)) 7072 } 7073 } 7074 if r.Intn(5) != 0 { 7075 v132 := r.Intn(10) 7076 this.NonnullBytes = make(map[int32][]byte) 7077 for i := 0; i < v132; i++ { 7078 this.NonnullBytes[int32(r.Int31())] = ([]byte)(*github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy)) 7079 } 7080 } 7081 if !easy && r.Intn(10) != 0 { 7082 this.XXX_unrecognized = randUnrecognizedTypes(r, 23) 7083 } 7084 return this 7085 } 7086 7087 func NewPopulatedOneofProtoTypes(r randyTypes, easy bool) *OneofProtoTypes { 7088 this := &OneofProtoTypes{} 7089 oneofNumber_OneOfProtoTimes := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}[r.Intn(11)] 7090 switch oneofNumber_OneOfProtoTimes { 7091 case 1: 7092 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_Timestamp(r, easy) 7093 case 2: 7094 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_Duration(r, easy) 7095 case 3: 7096 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepDouble(r, easy) 7097 case 4: 7098 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepFloat(r, easy) 7099 case 5: 7100 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepInt64(r, easy) 7101 case 6: 7102 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepUInt64(r, easy) 7103 case 7: 7104 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepInt32(r, easy) 7105 case 8: 7106 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepUInt32(r, easy) 7107 case 9: 7108 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepBool(r, easy) 7109 case 10: 7110 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepString(r, easy) 7111 case 11: 7112 this.OneOfProtoTimes = NewPopulatedOneofProtoTypes_RepBytes(r, easy) 7113 } 7114 if !easy && r.Intn(10) != 0 { 7115 this.XXX_unrecognized = randUnrecognizedTypes(r, 12) 7116 } 7117 return this 7118 } 7119 7120 func NewPopulatedOneofProtoTypes_Timestamp(r randyTypes, easy bool) *OneofProtoTypes_Timestamp { 7121 this := &OneofProtoTypes_Timestamp{} 7122 this.Timestamp = types.NewPopulatedTimestamp(r, easy) 7123 return this 7124 } 7125 func NewPopulatedOneofProtoTypes_Duration(r randyTypes, easy bool) *OneofProtoTypes_Duration { 7126 this := &OneofProtoTypes_Duration{} 7127 this.Duration = types.NewPopulatedDuration(r, easy) 7128 return this 7129 } 7130 func NewPopulatedOneofProtoTypes_RepDouble(r randyTypes, easy bool) *OneofProtoTypes_RepDouble { 7131 this := &OneofProtoTypes_RepDouble{} 7132 this.RepDouble = types.NewPopulatedDoubleValue(r, easy) 7133 return this 7134 } 7135 func NewPopulatedOneofProtoTypes_RepFloat(r randyTypes, easy bool) *OneofProtoTypes_RepFloat { 7136 this := &OneofProtoTypes_RepFloat{} 7137 this.RepFloat = types.NewPopulatedFloatValue(r, easy) 7138 return this 7139 } 7140 func NewPopulatedOneofProtoTypes_RepInt64(r randyTypes, easy bool) *OneofProtoTypes_RepInt64 { 7141 this := &OneofProtoTypes_RepInt64{} 7142 this.RepInt64 = types.NewPopulatedInt64Value(r, easy) 7143 return this 7144 } 7145 func NewPopulatedOneofProtoTypes_RepUInt64(r randyTypes, easy bool) *OneofProtoTypes_RepUInt64 { 7146 this := &OneofProtoTypes_RepUInt64{} 7147 this.RepUInt64 = types.NewPopulatedUInt64Value(r, easy) 7148 return this 7149 } 7150 func NewPopulatedOneofProtoTypes_RepInt32(r randyTypes, easy bool) *OneofProtoTypes_RepInt32 { 7151 this := &OneofProtoTypes_RepInt32{} 7152 this.RepInt32 = types.NewPopulatedInt32Value(r, easy) 7153 return this 7154 } 7155 func NewPopulatedOneofProtoTypes_RepUInt32(r randyTypes, easy bool) *OneofProtoTypes_RepUInt32 { 7156 this := &OneofProtoTypes_RepUInt32{} 7157 this.RepUInt32 = types.NewPopulatedUInt32Value(r, easy) 7158 return this 7159 } 7160 func NewPopulatedOneofProtoTypes_RepBool(r randyTypes, easy bool) *OneofProtoTypes_RepBool { 7161 this := &OneofProtoTypes_RepBool{} 7162 this.RepBool = types.NewPopulatedBoolValue(r, easy) 7163 return this 7164 } 7165 func NewPopulatedOneofProtoTypes_RepString(r randyTypes, easy bool) *OneofProtoTypes_RepString { 7166 this := &OneofProtoTypes_RepString{} 7167 this.RepString = types.NewPopulatedStringValue(r, easy) 7168 return this 7169 } 7170 func NewPopulatedOneofProtoTypes_RepBytes(r randyTypes, easy bool) *OneofProtoTypes_RepBytes { 7171 this := &OneofProtoTypes_RepBytes{} 7172 this.RepBytes = types.NewPopulatedBytesValue(r, easy) 7173 return this 7174 } 7175 func NewPopulatedOneofStdTypes(r randyTypes, easy bool) *OneofStdTypes { 7176 this := &OneofStdTypes{} 7177 oneofNumber_OneOfStdTimes := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}[r.Intn(11)] 7178 switch oneofNumber_OneOfStdTimes { 7179 case 1: 7180 this.OneOfStdTimes = NewPopulatedOneofStdTypes_Timestamp(r, easy) 7181 case 2: 7182 this.OneOfStdTimes = NewPopulatedOneofStdTypes_Duration(r, easy) 7183 case 3: 7184 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepDouble(r, easy) 7185 case 4: 7186 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepFloat(r, easy) 7187 case 5: 7188 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepInt64(r, easy) 7189 case 6: 7190 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepUInt64(r, easy) 7191 case 7: 7192 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepInt32(r, easy) 7193 case 8: 7194 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepUInt32(r, easy) 7195 case 9: 7196 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepBool(r, easy) 7197 case 10: 7198 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepString(r, easy) 7199 case 11: 7200 this.OneOfStdTimes = NewPopulatedOneofStdTypes_RepBytes(r, easy) 7201 } 7202 if !easy && r.Intn(10) != 0 { 7203 this.XXX_unrecognized = randUnrecognizedTypes(r, 12) 7204 } 7205 return this 7206 } 7207 7208 func NewPopulatedOneofStdTypes_Timestamp(r randyTypes, easy bool) *OneofStdTypes_Timestamp { 7209 this := &OneofStdTypes_Timestamp{} 7210 this.Timestamp = github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) 7211 return this 7212 } 7213 func NewPopulatedOneofStdTypes_Duration(r randyTypes, easy bool) *OneofStdTypes_Duration { 7214 this := &OneofStdTypes_Duration{} 7215 this.Duration = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) 7216 return this 7217 } 7218 func NewPopulatedOneofStdTypes_RepDouble(r randyTypes, easy bool) *OneofStdTypes_RepDouble { 7219 this := &OneofStdTypes_RepDouble{} 7220 this.RepDouble = github_com_gogo_protobuf_types.NewPopulatedStdDouble(r, easy) 7221 return this 7222 } 7223 func NewPopulatedOneofStdTypes_RepFloat(r randyTypes, easy bool) *OneofStdTypes_RepFloat { 7224 this := &OneofStdTypes_RepFloat{} 7225 this.RepFloat = github_com_gogo_protobuf_types.NewPopulatedStdFloat(r, easy) 7226 return this 7227 } 7228 func NewPopulatedOneofStdTypes_RepInt64(r randyTypes, easy bool) *OneofStdTypes_RepInt64 { 7229 this := &OneofStdTypes_RepInt64{} 7230 this.RepInt64 = github_com_gogo_protobuf_types.NewPopulatedStdInt64(r, easy) 7231 return this 7232 } 7233 func NewPopulatedOneofStdTypes_RepUInt64(r randyTypes, easy bool) *OneofStdTypes_RepUInt64 { 7234 this := &OneofStdTypes_RepUInt64{} 7235 this.RepUInt64 = github_com_gogo_protobuf_types.NewPopulatedStdUInt64(r, easy) 7236 return this 7237 } 7238 func NewPopulatedOneofStdTypes_RepInt32(r randyTypes, easy bool) *OneofStdTypes_RepInt32 { 7239 this := &OneofStdTypes_RepInt32{} 7240 this.RepInt32 = github_com_gogo_protobuf_types.NewPopulatedStdInt32(r, easy) 7241 return this 7242 } 7243 func NewPopulatedOneofStdTypes_RepUInt32(r randyTypes, easy bool) *OneofStdTypes_RepUInt32 { 7244 this := &OneofStdTypes_RepUInt32{} 7245 this.RepUInt32 = github_com_gogo_protobuf_types.NewPopulatedStdUInt32(r, easy) 7246 return this 7247 } 7248 func NewPopulatedOneofStdTypes_RepBool(r randyTypes, easy bool) *OneofStdTypes_RepBool { 7249 this := &OneofStdTypes_RepBool{} 7250 this.RepBool = github_com_gogo_protobuf_types.NewPopulatedStdBool(r, easy) 7251 return this 7252 } 7253 func NewPopulatedOneofStdTypes_RepString(r randyTypes, easy bool) *OneofStdTypes_RepString { 7254 this := &OneofStdTypes_RepString{} 7255 this.RepString = github_com_gogo_protobuf_types.NewPopulatedStdString(r, easy) 7256 return this 7257 } 7258 func NewPopulatedOneofStdTypes_RepBytes(r randyTypes, easy bool) *OneofStdTypes_RepBytes { 7259 this := &OneofStdTypes_RepBytes{} 7260 this.RepBytes = github_com_gogo_protobuf_types.NewPopulatedStdBytes(r, easy) 7261 return this 7262 } 7263 7264 type randyTypes interface { 7265 Float32() float32 7266 Float64() float64 7267 Int63() int64 7268 Int31() int32 7269 Uint32() uint32 7270 Intn(n int) int 7271 } 7272 7273 func randUTF8RuneTypes(r randyTypes) rune { 7274 ru := r.Intn(62) 7275 if ru < 10 { 7276 return rune(ru + 48) 7277 } else if ru < 36 { 7278 return rune(ru + 55) 7279 } 7280 return rune(ru + 61) 7281 } 7282 func randStringTypes(r randyTypes) string { 7283 v133 := r.Intn(100) 7284 tmps := make([]rune, v133) 7285 for i := 0; i < v133; i++ { 7286 tmps[i] = randUTF8RuneTypes(r) 7287 } 7288 return string(tmps) 7289 } 7290 func randUnrecognizedTypes(r randyTypes, maxFieldNumber int) (dAtA []byte) { 7291 l := r.Intn(5) 7292 for i := 0; i < l; i++ { 7293 wire := r.Intn(4) 7294 if wire == 3 { 7295 wire = 5 7296 } 7297 fieldNumber := maxFieldNumber + r.Intn(100) 7298 dAtA = randFieldTypes(dAtA, r, fieldNumber, wire) 7299 } 7300 return dAtA 7301 } 7302 func randFieldTypes(dAtA []byte, r randyTypes, fieldNumber int, wire int) []byte { 7303 key := uint32(fieldNumber)<<3 | uint32(wire) 7304 switch wire { 7305 case 0: 7306 dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) 7307 v134 := r.Int63() 7308 if r.Intn(2) == 0 { 7309 v134 *= -1 7310 } 7311 dAtA = encodeVarintPopulateTypes(dAtA, uint64(v134)) 7312 case 1: 7313 dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) 7314 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))) 7315 case 2: 7316 dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) 7317 ll := r.Intn(100) 7318 dAtA = encodeVarintPopulateTypes(dAtA, uint64(ll)) 7319 for j := 0; j < ll; j++ { 7320 dAtA = append(dAtA, byte(r.Intn(256))) 7321 } 7322 default: 7323 dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) 7324 dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) 7325 } 7326 return dAtA 7327 } 7328 func encodeVarintPopulateTypes(dAtA []byte, v uint64) []byte { 7329 for v >= 1<<7 { 7330 dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80)) 7331 v >>= 7 7332 } 7333 dAtA = append(dAtA, uint8(v)) 7334 return dAtA 7335 } 7336 func (m *KnownTypes) Size() (n int) { 7337 if m == nil { 7338 return 0 7339 } 7340 var l int 7341 _ = l 7342 if m.Dur != nil { 7343 l = m.Dur.Size() 7344 n += 1 + l + sovTypes(uint64(l)) 7345 } 7346 if m.Ts != nil { 7347 l = m.Ts.Size() 7348 n += 1 + l + sovTypes(uint64(l)) 7349 } 7350 if m.Dbl != nil { 7351 l = m.Dbl.Size() 7352 n += 1 + l + sovTypes(uint64(l)) 7353 } 7354 if m.Flt != nil { 7355 l = m.Flt.Size() 7356 n += 1 + l + sovTypes(uint64(l)) 7357 } 7358 if m.I64 != nil { 7359 l = m.I64.Size() 7360 n += 1 + l + sovTypes(uint64(l)) 7361 } 7362 if m.U64 != nil { 7363 l = m.U64.Size() 7364 n += 1 + l + sovTypes(uint64(l)) 7365 } 7366 if m.I32 != nil { 7367 l = m.I32.Size() 7368 n += 1 + l + sovTypes(uint64(l)) 7369 } 7370 if m.U32 != nil { 7371 l = m.U32.Size() 7372 n += 1 + l + sovTypes(uint64(l)) 7373 } 7374 if m.Bool != nil { 7375 l = m.Bool.Size() 7376 n += 1 + l + sovTypes(uint64(l)) 7377 } 7378 if m.Str != nil { 7379 l = m.Str.Size() 7380 n += 1 + l + sovTypes(uint64(l)) 7381 } 7382 if m.Bytes != nil { 7383 l = m.Bytes.Size() 7384 n += 1 + l + sovTypes(uint64(l)) 7385 } 7386 if m.St != nil { 7387 l = m.St.Size() 7388 n += 1 + l + sovTypes(uint64(l)) 7389 } 7390 if m.XXX_unrecognized != nil { 7391 n += len(m.XXX_unrecognized) 7392 } 7393 return n 7394 } 7395 7396 func (m *ProtoTypes) Size() (n int) { 7397 if m == nil { 7398 return 0 7399 } 7400 var l int 7401 _ = l 7402 if m.NullableTimestamp != nil { 7403 l = m.NullableTimestamp.Size() 7404 n += 1 + l + sovTypes(uint64(l)) 7405 } 7406 if m.NullableDuration != nil { 7407 l = m.NullableDuration.Size() 7408 n += 1 + l + sovTypes(uint64(l)) 7409 } 7410 if m.NullableDouble != nil { 7411 l = m.NullableDouble.Size() 7412 n += 1 + l + sovTypes(uint64(l)) 7413 } 7414 if m.NullableFloat != nil { 7415 l = m.NullableFloat.Size() 7416 n += 1 + l + sovTypes(uint64(l)) 7417 } 7418 if m.NullableInt64 != nil { 7419 l = m.NullableInt64.Size() 7420 n += 1 + l + sovTypes(uint64(l)) 7421 } 7422 if m.NullableUInt64 != nil { 7423 l = m.NullableUInt64.Size() 7424 n += 1 + l + sovTypes(uint64(l)) 7425 } 7426 if m.NullableInt32 != nil { 7427 l = m.NullableInt32.Size() 7428 n += 1 + l + sovTypes(uint64(l)) 7429 } 7430 if m.NullableUInt32 != nil { 7431 l = m.NullableUInt32.Size() 7432 n += 1 + l + sovTypes(uint64(l)) 7433 } 7434 if m.NullableBool != nil { 7435 l = m.NullableBool.Size() 7436 n += 1 + l + sovTypes(uint64(l)) 7437 } 7438 if m.NullableString != nil { 7439 l = m.NullableString.Size() 7440 n += 1 + l + sovTypes(uint64(l)) 7441 } 7442 if m.NullableBytes != nil { 7443 l = m.NullableBytes.Size() 7444 n += 1 + l + sovTypes(uint64(l)) 7445 } 7446 l = m.Timestamp.Size() 7447 n += 1 + l + sovTypes(uint64(l)) 7448 l = m.Duration.Size() 7449 n += 1 + l + sovTypes(uint64(l)) 7450 l = m.NonnullDouble.Size() 7451 n += 1 + l + sovTypes(uint64(l)) 7452 l = m.NonnullFloat.Size() 7453 n += 1 + l + sovTypes(uint64(l)) 7454 l = m.NonnullInt64.Size() 7455 n += 2 + l + sovTypes(uint64(l)) 7456 l = m.NonnullUInt64.Size() 7457 n += 2 + l + sovTypes(uint64(l)) 7458 l = m.NonnullInt32.Size() 7459 n += 2 + l + sovTypes(uint64(l)) 7460 l = m.NonnullUInt32.Size() 7461 n += 2 + l + sovTypes(uint64(l)) 7462 l = m.NonnullBool.Size() 7463 n += 2 + l + sovTypes(uint64(l)) 7464 l = m.NonnullString.Size() 7465 n += 2 + l + sovTypes(uint64(l)) 7466 l = m.NonnullBytes.Size() 7467 n += 2 + l + sovTypes(uint64(l)) 7468 if m.XXX_unrecognized != nil { 7469 n += len(m.XXX_unrecognized) 7470 } 7471 return n 7472 } 7473 7474 func (m *StdTypes) Size() (n int) { 7475 if m == nil { 7476 return 0 7477 } 7478 var l int 7479 _ = l 7480 if m.NullableTimestamp != nil { 7481 l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.NullableTimestamp) 7482 n += 1 + l + sovTypes(uint64(l)) 7483 } 7484 if m.NullableDuration != nil { 7485 l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.NullableDuration) 7486 n += 1 + l + sovTypes(uint64(l)) 7487 } 7488 if m.NullableDouble != nil { 7489 l = github_com_gogo_protobuf_types.SizeOfStdDouble(*m.NullableDouble) 7490 n += 1 + l + sovTypes(uint64(l)) 7491 } 7492 if m.NullableFloat != nil { 7493 l = github_com_gogo_protobuf_types.SizeOfStdFloat(*m.NullableFloat) 7494 n += 1 + l + sovTypes(uint64(l)) 7495 } 7496 if m.NullableInt64 != nil { 7497 l = github_com_gogo_protobuf_types.SizeOfStdInt64(*m.NullableInt64) 7498 n += 1 + l + sovTypes(uint64(l)) 7499 } 7500 if m.NullableUInt64 != nil { 7501 l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.NullableUInt64) 7502 n += 1 + l + sovTypes(uint64(l)) 7503 } 7504 if m.NullableInt32 != nil { 7505 l = github_com_gogo_protobuf_types.SizeOfStdInt32(*m.NullableInt32) 7506 n += 1 + l + sovTypes(uint64(l)) 7507 } 7508 if m.NullableUInt32 != nil { 7509 l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.NullableUInt32) 7510 n += 1 + l + sovTypes(uint64(l)) 7511 } 7512 if m.NullableBool != nil { 7513 l = github_com_gogo_protobuf_types.SizeOfStdBool(*m.NullableBool) 7514 n += 1 + l + sovTypes(uint64(l)) 7515 } 7516 if m.NullableString != nil { 7517 l = github_com_gogo_protobuf_types.SizeOfStdString(*m.NullableString) 7518 n += 1 + l + sovTypes(uint64(l)) 7519 } 7520 if m.NullableBytes != nil { 7521 l = github_com_gogo_protobuf_types.SizeOfStdBytes(*m.NullableBytes) 7522 n += 1 + l + sovTypes(uint64(l)) 7523 } 7524 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp) 7525 n += 1 + l + sovTypes(uint64(l)) 7526 l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.Duration) 7527 n += 1 + l + sovTypes(uint64(l)) 7528 l = github_com_gogo_protobuf_types.SizeOfStdDouble(m.NonnullDouble) 7529 n += 1 + l + sovTypes(uint64(l)) 7530 l = github_com_gogo_protobuf_types.SizeOfStdFloat(m.NonnullFloat) 7531 n += 1 + l + sovTypes(uint64(l)) 7532 l = github_com_gogo_protobuf_types.SizeOfStdInt64(m.NonnullInt64) 7533 n += 2 + l + sovTypes(uint64(l)) 7534 l = github_com_gogo_protobuf_types.SizeOfStdUInt64(m.NonnullUInt64) 7535 n += 2 + l + sovTypes(uint64(l)) 7536 l = github_com_gogo_protobuf_types.SizeOfStdInt32(m.NonnullInt32) 7537 n += 2 + l + sovTypes(uint64(l)) 7538 l = github_com_gogo_protobuf_types.SizeOfStdUInt32(m.NonnullUInt32) 7539 n += 2 + l + sovTypes(uint64(l)) 7540 l = github_com_gogo_protobuf_types.SizeOfStdBool(m.NonnullBool) 7541 n += 2 + l + sovTypes(uint64(l)) 7542 l = github_com_gogo_protobuf_types.SizeOfStdString(m.NonnullString) 7543 n += 2 + l + sovTypes(uint64(l)) 7544 l = github_com_gogo_protobuf_types.SizeOfStdBytes(m.NonnullBytes) 7545 n += 2 + l + sovTypes(uint64(l)) 7546 if m.XXX_unrecognized != nil { 7547 n += len(m.XXX_unrecognized) 7548 } 7549 return n 7550 } 7551 7552 func (m *RepProtoTypes) Size() (n int) { 7553 if m == nil { 7554 return 0 7555 } 7556 var l int 7557 _ = l 7558 if len(m.NullableTimestamps) > 0 { 7559 for _, e := range m.NullableTimestamps { 7560 l = e.Size() 7561 n += 1 + l + sovTypes(uint64(l)) 7562 } 7563 } 7564 if len(m.NullableDurations) > 0 { 7565 for _, e := range m.NullableDurations { 7566 l = e.Size() 7567 n += 1 + l + sovTypes(uint64(l)) 7568 } 7569 } 7570 if len(m.Timestamps) > 0 { 7571 for _, e := range m.Timestamps { 7572 l = e.Size() 7573 n += 1 + l + sovTypes(uint64(l)) 7574 } 7575 } 7576 if len(m.Durations) > 0 { 7577 for _, e := range m.Durations { 7578 l = e.Size() 7579 n += 1 + l + sovTypes(uint64(l)) 7580 } 7581 } 7582 if len(m.NullableDouble) > 0 { 7583 for _, e := range m.NullableDouble { 7584 l = e.Size() 7585 n += 1 + l + sovTypes(uint64(l)) 7586 } 7587 } 7588 if len(m.NonnullDouble) > 0 { 7589 for _, e := range m.NonnullDouble { 7590 l = e.Size() 7591 n += 1 + l + sovTypes(uint64(l)) 7592 } 7593 } 7594 if len(m.NullableFloat) > 0 { 7595 for _, e := range m.NullableFloat { 7596 l = e.Size() 7597 n += 1 + l + sovTypes(uint64(l)) 7598 } 7599 } 7600 if len(m.NonnullFloat) > 0 { 7601 for _, e := range m.NonnullFloat { 7602 l = e.Size() 7603 n += 1 + l + sovTypes(uint64(l)) 7604 } 7605 } 7606 if len(m.NullableInt64) > 0 { 7607 for _, e := range m.NullableInt64 { 7608 l = e.Size() 7609 n += 1 + l + sovTypes(uint64(l)) 7610 } 7611 } 7612 if len(m.NonnullInt64) > 0 { 7613 for _, e := range m.NonnullInt64 { 7614 l = e.Size() 7615 n += 1 + l + sovTypes(uint64(l)) 7616 } 7617 } 7618 if len(m.NullableUInt64) > 0 { 7619 for _, e := range m.NullableUInt64 { 7620 l = e.Size() 7621 n += 1 + l + sovTypes(uint64(l)) 7622 } 7623 } 7624 if len(m.NonnullUInt64) > 0 { 7625 for _, e := range m.NonnullUInt64 { 7626 l = e.Size() 7627 n += 1 + l + sovTypes(uint64(l)) 7628 } 7629 } 7630 if len(m.NullableInt32) > 0 { 7631 for _, e := range m.NullableInt32 { 7632 l = e.Size() 7633 n += 1 + l + sovTypes(uint64(l)) 7634 } 7635 } 7636 if len(m.NonnullInt32) > 0 { 7637 for _, e := range m.NonnullInt32 { 7638 l = e.Size() 7639 n += 1 + l + sovTypes(uint64(l)) 7640 } 7641 } 7642 if len(m.NullableUInt32) > 0 { 7643 for _, e := range m.NullableUInt32 { 7644 l = e.Size() 7645 n += 1 + l + sovTypes(uint64(l)) 7646 } 7647 } 7648 if len(m.NonnullUInt32) > 0 { 7649 for _, e := range m.NonnullUInt32 { 7650 l = e.Size() 7651 n += 2 + l + sovTypes(uint64(l)) 7652 } 7653 } 7654 if len(m.NullableBool) > 0 { 7655 for _, e := range m.NullableBool { 7656 l = e.Size() 7657 n += 2 + l + sovTypes(uint64(l)) 7658 } 7659 } 7660 if len(m.NonnullBool) > 0 { 7661 for _, e := range m.NonnullBool { 7662 l = e.Size() 7663 n += 2 + l + sovTypes(uint64(l)) 7664 } 7665 } 7666 if len(m.NullableString) > 0 { 7667 for _, e := range m.NullableString { 7668 l = e.Size() 7669 n += 2 + l + sovTypes(uint64(l)) 7670 } 7671 } 7672 if len(m.NonnullString) > 0 { 7673 for _, e := range m.NonnullString { 7674 l = e.Size() 7675 n += 2 + l + sovTypes(uint64(l)) 7676 } 7677 } 7678 if len(m.NullableBytes) > 0 { 7679 for _, e := range m.NullableBytes { 7680 l = e.Size() 7681 n += 2 + l + sovTypes(uint64(l)) 7682 } 7683 } 7684 if len(m.NonnullBytes) > 0 { 7685 for _, e := range m.NonnullBytes { 7686 l = e.Size() 7687 n += 2 + l + sovTypes(uint64(l)) 7688 } 7689 } 7690 if m.XXX_unrecognized != nil { 7691 n += len(m.XXX_unrecognized) 7692 } 7693 return n 7694 } 7695 7696 func (m *RepStdTypes) Size() (n int) { 7697 if m == nil { 7698 return 0 7699 } 7700 var l int 7701 _ = l 7702 if len(m.NullableTimestamps) > 0 { 7703 for _, e := range m.NullableTimestamps { 7704 l = github_com_gogo_protobuf_types.SizeOfStdTime(*e) 7705 n += 1 + l + sovTypes(uint64(l)) 7706 } 7707 } 7708 if len(m.NullableDurations) > 0 { 7709 for _, e := range m.NullableDurations { 7710 l = github_com_gogo_protobuf_types.SizeOfStdDuration(*e) 7711 n += 1 + l + sovTypes(uint64(l)) 7712 } 7713 } 7714 if len(m.Timestamps) > 0 { 7715 for _, e := range m.Timestamps { 7716 l = github_com_gogo_protobuf_types.SizeOfStdTime(e) 7717 n += 1 + l + sovTypes(uint64(l)) 7718 } 7719 } 7720 if len(m.Durations) > 0 { 7721 for _, e := range m.Durations { 7722 l = github_com_gogo_protobuf_types.SizeOfStdDuration(e) 7723 n += 1 + l + sovTypes(uint64(l)) 7724 } 7725 } 7726 if len(m.NullableDouble) > 0 { 7727 for _, e := range m.NullableDouble { 7728 l = github_com_gogo_protobuf_types.SizeOfStdDouble(*e) 7729 n += 1 + l + sovTypes(uint64(l)) 7730 } 7731 } 7732 if len(m.NonnullDouble) > 0 { 7733 for _, e := range m.NonnullDouble { 7734 l = github_com_gogo_protobuf_types.SizeOfStdDouble(e) 7735 n += 1 + l + sovTypes(uint64(l)) 7736 } 7737 } 7738 if len(m.NullableFloat) > 0 { 7739 for _, e := range m.NullableFloat { 7740 l = github_com_gogo_protobuf_types.SizeOfStdFloat(*e) 7741 n += 1 + l + sovTypes(uint64(l)) 7742 } 7743 } 7744 if len(m.NonnullFloat) > 0 { 7745 for _, e := range m.NonnullFloat { 7746 l = github_com_gogo_protobuf_types.SizeOfStdFloat(e) 7747 n += 1 + l + sovTypes(uint64(l)) 7748 } 7749 } 7750 if len(m.NullableInt64) > 0 { 7751 for _, e := range m.NullableInt64 { 7752 l = github_com_gogo_protobuf_types.SizeOfStdInt64(*e) 7753 n += 1 + l + sovTypes(uint64(l)) 7754 } 7755 } 7756 if len(m.NonnullInt64) > 0 { 7757 for _, e := range m.NonnullInt64 { 7758 l = github_com_gogo_protobuf_types.SizeOfStdInt64(e) 7759 n += 1 + l + sovTypes(uint64(l)) 7760 } 7761 } 7762 if len(m.NullableUInt64) > 0 { 7763 for _, e := range m.NullableUInt64 { 7764 l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*e) 7765 n += 1 + l + sovTypes(uint64(l)) 7766 } 7767 } 7768 if len(m.NonnullUInt64) > 0 { 7769 for _, e := range m.NonnullUInt64 { 7770 l = github_com_gogo_protobuf_types.SizeOfStdUInt64(e) 7771 n += 1 + l + sovTypes(uint64(l)) 7772 } 7773 } 7774 if len(m.NullableInt32) > 0 { 7775 for _, e := range m.NullableInt32 { 7776 l = github_com_gogo_protobuf_types.SizeOfStdInt32(*e) 7777 n += 1 + l + sovTypes(uint64(l)) 7778 } 7779 } 7780 if len(m.NonnullInt32) > 0 { 7781 for _, e := range m.NonnullInt32 { 7782 l = github_com_gogo_protobuf_types.SizeOfStdInt32(e) 7783 n += 1 + l + sovTypes(uint64(l)) 7784 } 7785 } 7786 if len(m.NullableUInt32) > 0 { 7787 for _, e := range m.NullableUInt32 { 7788 l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*e) 7789 n += 1 + l + sovTypes(uint64(l)) 7790 } 7791 } 7792 if len(m.NonnullUInt32) > 0 { 7793 for _, e := range m.NonnullUInt32 { 7794 l = github_com_gogo_protobuf_types.SizeOfStdUInt32(e) 7795 n += 2 + l + sovTypes(uint64(l)) 7796 } 7797 } 7798 if len(m.NullableBool) > 0 { 7799 for _, e := range m.NullableBool { 7800 l = github_com_gogo_protobuf_types.SizeOfStdBool(*e) 7801 n += 2 + l + sovTypes(uint64(l)) 7802 } 7803 } 7804 if len(m.NonnullBool) > 0 { 7805 for _, e := range m.NonnullBool { 7806 l = github_com_gogo_protobuf_types.SizeOfStdBool(e) 7807 n += 2 + l + sovTypes(uint64(l)) 7808 } 7809 } 7810 if len(m.NullableString) > 0 { 7811 for _, e := range m.NullableString { 7812 l = github_com_gogo_protobuf_types.SizeOfStdString(*e) 7813 n += 2 + l + sovTypes(uint64(l)) 7814 } 7815 } 7816 if len(m.NonnullString) > 0 { 7817 for _, e := range m.NonnullString { 7818 l = github_com_gogo_protobuf_types.SizeOfStdString(e) 7819 n += 2 + l + sovTypes(uint64(l)) 7820 } 7821 } 7822 if len(m.NullableBytes) > 0 { 7823 for _, e := range m.NullableBytes { 7824 l = github_com_gogo_protobuf_types.SizeOfStdBytes(*e) 7825 n += 2 + l + sovTypes(uint64(l)) 7826 } 7827 } 7828 if len(m.NonnullBytes) > 0 { 7829 for _, e := range m.NonnullBytes { 7830 l = github_com_gogo_protobuf_types.SizeOfStdBytes(e) 7831 n += 2 + l + sovTypes(uint64(l)) 7832 } 7833 } 7834 if m.XXX_unrecognized != nil { 7835 n += len(m.XXX_unrecognized) 7836 } 7837 return n 7838 } 7839 7840 func (m *MapProtoTypes) Size() (n int) { 7841 if m == nil { 7842 return 0 7843 } 7844 var l int 7845 _ = l 7846 if len(m.NullableTimestamp) > 0 { 7847 for k, v := range m.NullableTimestamp { 7848 _ = k 7849 _ = v 7850 l = 0 7851 if v != nil { 7852 l = v.Size() 7853 l += 1 + sovTypes(uint64(l)) 7854 } 7855 mapEntrySize := 1 + sovTypes(uint64(k)) + l 7856 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7857 } 7858 } 7859 if len(m.Timestamp) > 0 { 7860 for k, v := range m.Timestamp { 7861 _ = k 7862 _ = v 7863 l = v.Size() 7864 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 7865 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7866 } 7867 } 7868 if len(m.NullableDuration) > 0 { 7869 for k, v := range m.NullableDuration { 7870 _ = k 7871 _ = v 7872 l = 0 7873 if v != nil { 7874 l = v.Size() 7875 l += 1 + sovTypes(uint64(l)) 7876 } 7877 mapEntrySize := 1 + sovTypes(uint64(k)) + l 7878 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7879 } 7880 } 7881 if len(m.Duration) > 0 { 7882 for k, v := range m.Duration { 7883 _ = k 7884 _ = v 7885 l = v.Size() 7886 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 7887 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7888 } 7889 } 7890 if len(m.NullableDouble) > 0 { 7891 for k, v := range m.NullableDouble { 7892 _ = k 7893 _ = v 7894 l = 0 7895 if v != nil { 7896 l = v.Size() 7897 l += 1 + sovTypes(uint64(l)) 7898 } 7899 mapEntrySize := 1 + sovTypes(uint64(k)) + l 7900 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7901 } 7902 } 7903 if len(m.NonnullDouble) > 0 { 7904 for k, v := range m.NonnullDouble { 7905 _ = k 7906 _ = v 7907 l = v.Size() 7908 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 7909 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7910 } 7911 } 7912 if len(m.NullableFloat) > 0 { 7913 for k, v := range m.NullableFloat { 7914 _ = k 7915 _ = v 7916 l = 0 7917 if v != nil { 7918 l = v.Size() 7919 l += 1 + sovTypes(uint64(l)) 7920 } 7921 mapEntrySize := 1 + sovTypes(uint64(k)) + l 7922 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7923 } 7924 } 7925 if len(m.NonnullFloat) > 0 { 7926 for k, v := range m.NonnullFloat { 7927 _ = k 7928 _ = v 7929 l = v.Size() 7930 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 7931 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7932 } 7933 } 7934 if len(m.NullableInt64) > 0 { 7935 for k, v := range m.NullableInt64 { 7936 _ = k 7937 _ = v 7938 l = 0 7939 if v != nil { 7940 l = v.Size() 7941 l += 1 + sovTypes(uint64(l)) 7942 } 7943 mapEntrySize := 1 + sovTypes(uint64(k)) + l 7944 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7945 } 7946 } 7947 if len(m.NonnullInt64) > 0 { 7948 for k, v := range m.NonnullInt64 { 7949 _ = k 7950 _ = v 7951 l = v.Size() 7952 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 7953 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7954 } 7955 } 7956 if len(m.NullableUInt64) > 0 { 7957 for k, v := range m.NullableUInt64 { 7958 _ = k 7959 _ = v 7960 l = 0 7961 if v != nil { 7962 l = v.Size() 7963 l += 1 + sovTypes(uint64(l)) 7964 } 7965 mapEntrySize := 1 + sovTypes(uint64(k)) + l 7966 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7967 } 7968 } 7969 if len(m.NonnullUInt64) > 0 { 7970 for k, v := range m.NonnullUInt64 { 7971 _ = k 7972 _ = v 7973 l = v.Size() 7974 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 7975 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7976 } 7977 } 7978 if len(m.NullableInt32) > 0 { 7979 for k, v := range m.NullableInt32 { 7980 _ = k 7981 _ = v 7982 l = 0 7983 if v != nil { 7984 l = v.Size() 7985 l += 1 + sovTypes(uint64(l)) 7986 } 7987 mapEntrySize := 1 + sovTypes(uint64(k)) + l 7988 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7989 } 7990 } 7991 if len(m.NonnullInt32) > 0 { 7992 for k, v := range m.NonnullInt32 { 7993 _ = k 7994 _ = v 7995 l = v.Size() 7996 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 7997 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 7998 } 7999 } 8000 if len(m.NullableUInt32) > 0 { 8001 for k, v := range m.NullableUInt32 { 8002 _ = k 8003 _ = v 8004 l = 0 8005 if v != nil { 8006 l = v.Size() 8007 l += 1 + sovTypes(uint64(l)) 8008 } 8009 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8010 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8011 } 8012 } 8013 if len(m.NonnullUInt32) > 0 { 8014 for k, v := range m.NonnullUInt32 { 8015 _ = k 8016 _ = v 8017 l = v.Size() 8018 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8019 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8020 } 8021 } 8022 if len(m.NullableBool) > 0 { 8023 for k, v := range m.NullableBool { 8024 _ = k 8025 _ = v 8026 l = 0 8027 if v != nil { 8028 l = v.Size() 8029 l += 1 + sovTypes(uint64(l)) 8030 } 8031 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8032 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8033 } 8034 } 8035 if len(m.NonnullBool) > 0 { 8036 for k, v := range m.NonnullBool { 8037 _ = k 8038 _ = v 8039 l = v.Size() 8040 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8041 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8042 } 8043 } 8044 if len(m.NullableString) > 0 { 8045 for k, v := range m.NullableString { 8046 _ = k 8047 _ = v 8048 l = 0 8049 if v != nil { 8050 l = v.Size() 8051 l += 1 + sovTypes(uint64(l)) 8052 } 8053 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8054 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8055 } 8056 } 8057 if len(m.NonnullString) > 0 { 8058 for k, v := range m.NonnullString { 8059 _ = k 8060 _ = v 8061 l = v.Size() 8062 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8063 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8064 } 8065 } 8066 if len(m.NullableBytes) > 0 { 8067 for k, v := range m.NullableBytes { 8068 _ = k 8069 _ = v 8070 l = 0 8071 if v != nil { 8072 l = v.Size() 8073 l += 1 + sovTypes(uint64(l)) 8074 } 8075 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8076 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8077 } 8078 } 8079 if len(m.NonnullBytes) > 0 { 8080 for k, v := range m.NonnullBytes { 8081 _ = k 8082 _ = v 8083 l = v.Size() 8084 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8085 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8086 } 8087 } 8088 if m.XXX_unrecognized != nil { 8089 n += len(m.XXX_unrecognized) 8090 } 8091 return n 8092 } 8093 8094 func (m *MapStdTypes) Size() (n int) { 8095 if m == nil { 8096 return 0 8097 } 8098 var l int 8099 _ = l 8100 if len(m.NullableTimestamp) > 0 { 8101 for k, v := range m.NullableTimestamp { 8102 _ = k 8103 _ = v 8104 l = 0 8105 if v != nil { 8106 l = github_com_gogo_protobuf_types.SizeOfStdTime(*v) 8107 l += 1 + sovTypes(uint64(l)) 8108 } 8109 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8110 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8111 } 8112 } 8113 if len(m.Timestamp) > 0 { 8114 for k, v := range m.Timestamp { 8115 _ = k 8116 _ = v 8117 l = github_com_gogo_protobuf_types.SizeOfStdTime(v) 8118 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8119 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8120 } 8121 } 8122 if len(m.NullableDuration) > 0 { 8123 for k, v := range m.NullableDuration { 8124 _ = k 8125 _ = v 8126 l = 0 8127 if v != nil { 8128 l = github_com_gogo_protobuf_types.SizeOfStdDuration(*v) 8129 l += 1 + sovTypes(uint64(l)) 8130 } 8131 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8132 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8133 } 8134 } 8135 if len(m.Duration) > 0 { 8136 for k, v := range m.Duration { 8137 _ = k 8138 _ = v 8139 l = github_com_gogo_protobuf_types.SizeOfStdDuration(v) 8140 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8141 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8142 } 8143 } 8144 if len(m.NullableDouble) > 0 { 8145 for k, v := range m.NullableDouble { 8146 _ = k 8147 _ = v 8148 l = 0 8149 if v != nil { 8150 l = github_com_gogo_protobuf_types.SizeOfStdDouble(*v) 8151 l += 1 + sovTypes(uint64(l)) 8152 } 8153 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8154 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8155 } 8156 } 8157 if len(m.NonnullDouble) > 0 { 8158 for k, v := range m.NonnullDouble { 8159 _ = k 8160 _ = v 8161 l = github_com_gogo_protobuf_types.SizeOfStdDouble(v) 8162 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8163 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8164 } 8165 } 8166 if len(m.NullableFloat) > 0 { 8167 for k, v := range m.NullableFloat { 8168 _ = k 8169 _ = v 8170 l = 0 8171 if v != nil { 8172 l = github_com_gogo_protobuf_types.SizeOfStdFloat(*v) 8173 l += 1 + sovTypes(uint64(l)) 8174 } 8175 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8176 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8177 } 8178 } 8179 if len(m.NonnullFloat) > 0 { 8180 for k, v := range m.NonnullFloat { 8181 _ = k 8182 _ = v 8183 l = github_com_gogo_protobuf_types.SizeOfStdFloat(v) 8184 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8185 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8186 } 8187 } 8188 if len(m.NullableInt64) > 0 { 8189 for k, v := range m.NullableInt64 { 8190 _ = k 8191 _ = v 8192 l = 0 8193 if v != nil { 8194 l = github_com_gogo_protobuf_types.SizeOfStdInt64(*v) 8195 l += 1 + sovTypes(uint64(l)) 8196 } 8197 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8198 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8199 } 8200 } 8201 if len(m.NonnullInt64) > 0 { 8202 for k, v := range m.NonnullInt64 { 8203 _ = k 8204 _ = v 8205 l = github_com_gogo_protobuf_types.SizeOfStdInt64(v) 8206 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8207 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8208 } 8209 } 8210 if len(m.NullableUInt64) > 0 { 8211 for k, v := range m.NullableUInt64 { 8212 _ = k 8213 _ = v 8214 l = 0 8215 if v != nil { 8216 l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*v) 8217 l += 1 + sovTypes(uint64(l)) 8218 } 8219 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8220 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8221 } 8222 } 8223 if len(m.NonnullUInt64) > 0 { 8224 for k, v := range m.NonnullUInt64 { 8225 _ = k 8226 _ = v 8227 l = github_com_gogo_protobuf_types.SizeOfStdUInt64(v) 8228 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8229 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8230 } 8231 } 8232 if len(m.NullableInt32) > 0 { 8233 for k, v := range m.NullableInt32 { 8234 _ = k 8235 _ = v 8236 l = 0 8237 if v != nil { 8238 l = github_com_gogo_protobuf_types.SizeOfStdInt32(*v) 8239 l += 1 + sovTypes(uint64(l)) 8240 } 8241 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8242 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8243 } 8244 } 8245 if len(m.NonnullInt32) > 0 { 8246 for k, v := range m.NonnullInt32 { 8247 _ = k 8248 _ = v 8249 l = github_com_gogo_protobuf_types.SizeOfStdInt32(v) 8250 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8251 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8252 } 8253 } 8254 if len(m.NullableUInt32) > 0 { 8255 for k, v := range m.NullableUInt32 { 8256 _ = k 8257 _ = v 8258 l = 0 8259 if v != nil { 8260 l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*v) 8261 l += 1 + sovTypes(uint64(l)) 8262 } 8263 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8264 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 8265 } 8266 } 8267 if len(m.NonnullUInt32) > 0 { 8268 for k, v := range m.NonnullUInt32 { 8269 _ = k 8270 _ = v 8271 l = github_com_gogo_protobuf_types.SizeOfStdUInt32(v) 8272 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8273 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8274 } 8275 } 8276 if len(m.NullableBool) > 0 { 8277 for k, v := range m.NullableBool { 8278 _ = k 8279 _ = v 8280 l = 0 8281 if v != nil { 8282 l = github_com_gogo_protobuf_types.SizeOfStdBool(*v) 8283 l += 1 + sovTypes(uint64(l)) 8284 } 8285 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8286 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8287 } 8288 } 8289 if len(m.NonnullBool) > 0 { 8290 for k, v := range m.NonnullBool { 8291 _ = k 8292 _ = v 8293 l = github_com_gogo_protobuf_types.SizeOfStdBool(v) 8294 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8295 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8296 } 8297 } 8298 if len(m.NullableString) > 0 { 8299 for k, v := range m.NullableString { 8300 _ = k 8301 _ = v 8302 l = 0 8303 if v != nil { 8304 l = github_com_gogo_protobuf_types.SizeOfStdString(*v) 8305 l += 1 + sovTypes(uint64(l)) 8306 } 8307 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8308 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8309 } 8310 } 8311 if len(m.NonnullString) > 0 { 8312 for k, v := range m.NonnullString { 8313 _ = k 8314 _ = v 8315 l = github_com_gogo_protobuf_types.SizeOfStdString(v) 8316 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8317 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8318 } 8319 } 8320 if len(m.NullableBytes) > 0 { 8321 for k, v := range m.NullableBytes { 8322 _ = k 8323 _ = v 8324 l = 0 8325 if v != nil { 8326 l = github_com_gogo_protobuf_types.SizeOfStdBytes(*v) 8327 l += 1 + sovTypes(uint64(l)) 8328 } 8329 mapEntrySize := 1 + sovTypes(uint64(k)) + l 8330 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8331 } 8332 } 8333 if len(m.NonnullBytes) > 0 { 8334 for k, v := range m.NonnullBytes { 8335 _ = k 8336 _ = v 8337 l = github_com_gogo_protobuf_types.SizeOfStdBytes(v) 8338 mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) 8339 n += mapEntrySize + 2 + sovTypes(uint64(mapEntrySize)) 8340 } 8341 } 8342 if m.XXX_unrecognized != nil { 8343 n += len(m.XXX_unrecognized) 8344 } 8345 return n 8346 } 8347 8348 func (m *OneofProtoTypes) Size() (n int) { 8349 if m == nil { 8350 return 0 8351 } 8352 var l int 8353 _ = l 8354 if m.OneOfProtoTimes != nil { 8355 n += m.OneOfProtoTimes.Size() 8356 } 8357 if m.XXX_unrecognized != nil { 8358 n += len(m.XXX_unrecognized) 8359 } 8360 return n 8361 } 8362 8363 func (m *OneofProtoTypes_Timestamp) Size() (n int) { 8364 if m == nil { 8365 return 0 8366 } 8367 var l int 8368 _ = l 8369 if m.Timestamp != nil { 8370 l = m.Timestamp.Size() 8371 n += 1 + l + sovTypes(uint64(l)) 8372 } 8373 return n 8374 } 8375 func (m *OneofProtoTypes_Duration) Size() (n int) { 8376 if m == nil { 8377 return 0 8378 } 8379 var l int 8380 _ = l 8381 if m.Duration != nil { 8382 l = m.Duration.Size() 8383 n += 1 + l + sovTypes(uint64(l)) 8384 } 8385 return n 8386 } 8387 func (m *OneofProtoTypes_RepDouble) Size() (n int) { 8388 if m == nil { 8389 return 0 8390 } 8391 var l int 8392 _ = l 8393 if m.RepDouble != nil { 8394 l = m.RepDouble.Size() 8395 n += 1 + l + sovTypes(uint64(l)) 8396 } 8397 return n 8398 } 8399 func (m *OneofProtoTypes_RepFloat) Size() (n int) { 8400 if m == nil { 8401 return 0 8402 } 8403 var l int 8404 _ = l 8405 if m.RepFloat != nil { 8406 l = m.RepFloat.Size() 8407 n += 1 + l + sovTypes(uint64(l)) 8408 } 8409 return n 8410 } 8411 func (m *OneofProtoTypes_RepInt64) Size() (n int) { 8412 if m == nil { 8413 return 0 8414 } 8415 var l int 8416 _ = l 8417 if m.RepInt64 != nil { 8418 l = m.RepInt64.Size() 8419 n += 1 + l + sovTypes(uint64(l)) 8420 } 8421 return n 8422 } 8423 func (m *OneofProtoTypes_RepUInt64) Size() (n int) { 8424 if m == nil { 8425 return 0 8426 } 8427 var l int 8428 _ = l 8429 if m.RepUInt64 != nil { 8430 l = m.RepUInt64.Size() 8431 n += 1 + l + sovTypes(uint64(l)) 8432 } 8433 return n 8434 } 8435 func (m *OneofProtoTypes_RepInt32) Size() (n int) { 8436 if m == nil { 8437 return 0 8438 } 8439 var l int 8440 _ = l 8441 if m.RepInt32 != nil { 8442 l = m.RepInt32.Size() 8443 n += 1 + l + sovTypes(uint64(l)) 8444 } 8445 return n 8446 } 8447 func (m *OneofProtoTypes_RepUInt32) Size() (n int) { 8448 if m == nil { 8449 return 0 8450 } 8451 var l int 8452 _ = l 8453 if m.RepUInt32 != nil { 8454 l = m.RepUInt32.Size() 8455 n += 1 + l + sovTypes(uint64(l)) 8456 } 8457 return n 8458 } 8459 func (m *OneofProtoTypes_RepBool) Size() (n int) { 8460 if m == nil { 8461 return 0 8462 } 8463 var l int 8464 _ = l 8465 if m.RepBool != nil { 8466 l = m.RepBool.Size() 8467 n += 1 + l + sovTypes(uint64(l)) 8468 } 8469 return n 8470 } 8471 func (m *OneofProtoTypes_RepString) Size() (n int) { 8472 if m == nil { 8473 return 0 8474 } 8475 var l int 8476 _ = l 8477 if m.RepString != nil { 8478 l = m.RepString.Size() 8479 n += 1 + l + sovTypes(uint64(l)) 8480 } 8481 return n 8482 } 8483 func (m *OneofProtoTypes_RepBytes) Size() (n int) { 8484 if m == nil { 8485 return 0 8486 } 8487 var l int 8488 _ = l 8489 if m.RepBytes != nil { 8490 l = m.RepBytes.Size() 8491 n += 1 + l + sovTypes(uint64(l)) 8492 } 8493 return n 8494 } 8495 func (m *OneofStdTypes) Size() (n int) { 8496 if m == nil { 8497 return 0 8498 } 8499 var l int 8500 _ = l 8501 if m.OneOfStdTimes != nil { 8502 n += m.OneOfStdTimes.Size() 8503 } 8504 if m.XXX_unrecognized != nil { 8505 n += len(m.XXX_unrecognized) 8506 } 8507 return n 8508 } 8509 8510 func (m *OneofStdTypes_Timestamp) Size() (n int) { 8511 if m == nil { 8512 return 0 8513 } 8514 var l int 8515 _ = l 8516 if m.Timestamp != nil { 8517 l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.Timestamp) 8518 n += 1 + l + sovTypes(uint64(l)) 8519 } 8520 return n 8521 } 8522 func (m *OneofStdTypes_Duration) Size() (n int) { 8523 if m == nil { 8524 return 0 8525 } 8526 var l int 8527 _ = l 8528 if m.Duration != nil { 8529 l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.Duration) 8530 n += 1 + l + sovTypes(uint64(l)) 8531 } 8532 return n 8533 } 8534 func (m *OneofStdTypes_RepDouble) Size() (n int) { 8535 if m == nil { 8536 return 0 8537 } 8538 var l int 8539 _ = l 8540 if m.RepDouble != nil { 8541 l = github_com_gogo_protobuf_types.SizeOfStdDouble(*m.RepDouble) 8542 n += 1 + l + sovTypes(uint64(l)) 8543 } 8544 return n 8545 } 8546 func (m *OneofStdTypes_RepFloat) Size() (n int) { 8547 if m == nil { 8548 return 0 8549 } 8550 var l int 8551 _ = l 8552 if m.RepFloat != nil { 8553 l = github_com_gogo_protobuf_types.SizeOfStdFloat(*m.RepFloat) 8554 n += 1 + l + sovTypes(uint64(l)) 8555 } 8556 return n 8557 } 8558 func (m *OneofStdTypes_RepInt64) Size() (n int) { 8559 if m == nil { 8560 return 0 8561 } 8562 var l int 8563 _ = l 8564 if m.RepInt64 != nil { 8565 l = github_com_gogo_protobuf_types.SizeOfStdInt64(*m.RepInt64) 8566 n += 1 + l + sovTypes(uint64(l)) 8567 } 8568 return n 8569 } 8570 func (m *OneofStdTypes_RepUInt64) Size() (n int) { 8571 if m == nil { 8572 return 0 8573 } 8574 var l int 8575 _ = l 8576 if m.RepUInt64 != nil { 8577 l = github_com_gogo_protobuf_types.SizeOfStdUInt64(*m.RepUInt64) 8578 n += 1 + l + sovTypes(uint64(l)) 8579 } 8580 return n 8581 } 8582 func (m *OneofStdTypes_RepInt32) Size() (n int) { 8583 if m == nil { 8584 return 0 8585 } 8586 var l int 8587 _ = l 8588 if m.RepInt32 != nil { 8589 l = github_com_gogo_protobuf_types.SizeOfStdInt32(*m.RepInt32) 8590 n += 1 + l + sovTypes(uint64(l)) 8591 } 8592 return n 8593 } 8594 func (m *OneofStdTypes_RepUInt32) Size() (n int) { 8595 if m == nil { 8596 return 0 8597 } 8598 var l int 8599 _ = l 8600 if m.RepUInt32 != nil { 8601 l = github_com_gogo_protobuf_types.SizeOfStdUInt32(*m.RepUInt32) 8602 n += 1 + l + sovTypes(uint64(l)) 8603 } 8604 return n 8605 } 8606 func (m *OneofStdTypes_RepBool) Size() (n int) { 8607 if m == nil { 8608 return 0 8609 } 8610 var l int 8611 _ = l 8612 if m.RepBool != nil { 8613 l = github_com_gogo_protobuf_types.SizeOfStdBool(*m.RepBool) 8614 n += 1 + l + sovTypes(uint64(l)) 8615 } 8616 return n 8617 } 8618 func (m *OneofStdTypes_RepString) Size() (n int) { 8619 if m == nil { 8620 return 0 8621 } 8622 var l int 8623 _ = l 8624 if m.RepString != nil { 8625 l = github_com_gogo_protobuf_types.SizeOfStdString(*m.RepString) 8626 n += 1 + l + sovTypes(uint64(l)) 8627 } 8628 return n 8629 } 8630 func (m *OneofStdTypes_RepBytes) Size() (n int) { 8631 if m == nil { 8632 return 0 8633 } 8634 var l int 8635 _ = l 8636 if m.RepBytes != nil { 8637 l = github_com_gogo_protobuf_types.SizeOfStdBytes(*m.RepBytes) 8638 n += 1 + l + sovTypes(uint64(l)) 8639 } 8640 return n 8641 } 8642 8643 func sovTypes(x uint64) (n int) { 8644 return (math_bits.Len64(x|1) + 6) / 7 8645 } 8646 func sozTypes(x uint64) (n int) { 8647 return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 8648 }