github.com/Minish144/prototool-arm64@v1.3.0/example/gen/proto/go/foo/foo.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: foo/foo.proto 3 4 package foopb 5 6 import proto "github.com/gogo/protobuf/proto" 7 import fmt "fmt" 8 import math "math" 9 import types "github.com/gogo/protobuf/types" 10 import sub "github.com/uber/prototool/example/gen/proto/go/sub" 11 import _ "google.golang.org/genproto/googleapis/api/annotations" 12 13 import strconv "strconv" 14 15 import strings "strings" 16 import reflect "reflect" 17 import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" 18 19 import context "golang.org/x/net/context" 20 import grpc "google.golang.org/grpc" 21 22 import io "io" 23 24 // Reference imports to suppress errors if they are not otherwise used. 25 var _ = proto.Marshal 26 var _ = fmt.Errorf 27 var _ = math.Inf 28 29 // This is a compile-time assertion to ensure that this generated file 30 // is compatible with the proto package it is being compiled against. 31 // A compilation error at this line likely means your copy of the 32 // proto package needs to be updated. 33 const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package 34 35 // Hello is a hello. 36 type Hello int32 37 38 const ( 39 HELLO_INVALID Hello = 0 40 HELLO_UNSET Hello = 1 41 HELLO_TREE Hello = 2 42 HELLO_BALLOON Hello = 3 43 ) 44 45 var Hello_name = map[int32]string{ 46 0: "HELLO_INVALID", 47 1: "HELLO_UNSET", 48 2: "HELLO_TREE", 49 3: "HELLO_BALLOON", 50 } 51 var Hello_value = map[string]int32{ 52 "HELLO_INVALID": 0, 53 "HELLO_UNSET": 1, 54 "HELLO_TREE": 2, 55 "HELLO_BALLOON": 3, 56 } 57 58 func (Hello) EnumDescriptor() ([]byte, []int) { 59 return fileDescriptor_foo_985cfaf62b75c4c1, []int{0} 60 } 61 62 // Bar is a bar. 63 type Bar int32 64 65 const ( 66 BAR_INVALID Bar = 0 67 ) 68 69 var Bar_name = map[int32]string{ 70 0: "BAR_INVALID", 71 } 72 var Bar_value = map[string]int32{ 73 "BAR_INVALID": 0, 74 } 75 76 func (Bar) EnumDescriptor() ([]byte, []int) { 77 return fileDescriptor_foo_985cfaf62b75c4c1, []int{1} 78 } 79 80 // Baz is a baz. 81 type Foo_Bar_Baz int32 82 83 const ( 84 FOO_BAR_BAZ_INVALID Foo_Bar_Baz = 0 85 ) 86 87 var Foo_Bar_Baz_name = map[int32]string{ 88 0: "FOO_BAR_BAZ_INVALID", 89 } 90 var Foo_Bar_Baz_value = map[string]int32{ 91 "FOO_BAR_BAZ_INVALID": 0, 92 } 93 94 func (Foo_Bar_Baz) EnumDescriptor() ([]byte, []int) { 95 return fileDescriptor_foo_985cfaf62b75c4c1, []int{0, 0, 0} 96 } 97 98 // Bat is a bat. 99 type Foo_Bar_Bat int32 100 101 const ( 102 FOO_BAR_BAT_INVALID Foo_Bar_Bat = 0 103 ) 104 105 var Foo_Bar_Bat_name = map[int32]string{ 106 0: "FOO_BAR_BAT_INVALID", 107 } 108 var Foo_Bar_Bat_value = map[string]int32{ 109 "FOO_BAR_BAT_INVALID": 0, 110 } 111 112 func (Foo_Bar_Bat) EnumDescriptor() ([]byte, []int) { 113 return fileDescriptor_foo_985cfaf62b75c4c1, []int{0, 0, 1} 114 } 115 116 // Foo is a foo. 117 type Foo struct { 118 Bar *Foo_Bar `protobuf:"bytes,1,opt,name=bar" json:"bar,omitempty"` 119 XXX_NoUnkeyedLiteral struct{} `json:"-"` 120 XXX_sizecache int32 `json:"-"` 121 } 122 123 func (m *Foo) Reset() { *m = Foo{} } 124 func (*Foo) ProtoMessage() {} 125 func (*Foo) Descriptor() ([]byte, []int) { 126 return fileDescriptor_foo_985cfaf62b75c4c1, []int{0} 127 } 128 func (m *Foo) XXX_Unmarshal(b []byte) error { 129 return m.Unmarshal(b) 130 } 131 func (m *Foo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 132 if deterministic { 133 return xxx_messageInfo_Foo.Marshal(b, m, deterministic) 134 } else { 135 b = b[:cap(b)] 136 n, err := m.MarshalTo(b) 137 if err != nil { 138 return nil, err 139 } 140 return b[:n], nil 141 } 142 } 143 func (dst *Foo) XXX_Merge(src proto.Message) { 144 xxx_messageInfo_Foo.Merge(dst, src) 145 } 146 func (m *Foo) XXX_Size() int { 147 return m.Size() 148 } 149 func (m *Foo) XXX_DiscardUnknown() { 150 xxx_messageInfo_Foo.DiscardUnknown(m) 151 } 152 153 var xxx_messageInfo_Foo proto.InternalMessageInfo 154 155 func (m *Foo) GetBar() *Foo_Bar { 156 if m != nil { 157 return m.Bar 158 } 159 return nil 160 } 161 162 // Bar is a bar. 163 type Foo_Bar struct { 164 Baz Foo_Bar_Baz `protobuf:"varint,1,opt,name=baz,proto3,enum=foo.Foo_Bar_Baz" json:"baz,omitempty"` 165 Bat Foo_Bar_Bat `protobuf:"varint,2,opt,name=bat,proto3,enum=foo.Foo_Bar_Bat" json:"bat,omitempty"` 166 XXX_NoUnkeyedLiteral struct{} `json:"-"` 167 XXX_sizecache int32 `json:"-"` 168 } 169 170 func (m *Foo_Bar) Reset() { *m = Foo_Bar{} } 171 func (*Foo_Bar) ProtoMessage() {} 172 func (*Foo_Bar) Descriptor() ([]byte, []int) { 173 return fileDescriptor_foo_985cfaf62b75c4c1, []int{0, 0} 174 } 175 func (m *Foo_Bar) XXX_Unmarshal(b []byte) error { 176 return m.Unmarshal(b) 177 } 178 func (m *Foo_Bar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 179 if deterministic { 180 return xxx_messageInfo_Foo_Bar.Marshal(b, m, deterministic) 181 } else { 182 b = b[:cap(b)] 183 n, err := m.MarshalTo(b) 184 if err != nil { 185 return nil, err 186 } 187 return b[:n], nil 188 } 189 } 190 func (dst *Foo_Bar) XXX_Merge(src proto.Message) { 191 xxx_messageInfo_Foo_Bar.Merge(dst, src) 192 } 193 func (m *Foo_Bar) XXX_Size() int { 194 return m.Size() 195 } 196 func (m *Foo_Bar) XXX_DiscardUnknown() { 197 xxx_messageInfo_Foo_Bar.DiscardUnknown(m) 198 } 199 200 var xxx_messageInfo_Foo_Bar proto.InternalMessageInfo 201 202 func (m *Foo_Bar) GetBaz() Foo_Bar_Baz { 203 if m != nil { 204 return m.Baz 205 } 206 return FOO_BAR_BAZ_INVALID 207 } 208 209 func (m *Foo_Bar) GetBat() Foo_Bar_Bat { 210 if m != nil { 211 return m.Bat 212 } 213 return FOO_BAR_BAT_INVALID 214 } 215 216 // Barr is a barr. 217 type Barr struct { 218 Hello int64 `protobuf:"varint,1,opt,name=hello,proto3" json:"hello,omitempty"` 219 Dep *Dep `protobuf:"bytes,2,opt,name=dep" json:"dep,omitempty"` 220 Timestamp *types.Timestamp `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp,omitempty"` 221 XXX_NoUnkeyedLiteral struct{} `json:"-"` 222 XXX_sizecache int32 `json:"-"` 223 } 224 225 func (m *Barr) Reset() { *m = Barr{} } 226 func (*Barr) ProtoMessage() {} 227 func (*Barr) Descriptor() ([]byte, []int) { 228 return fileDescriptor_foo_985cfaf62b75c4c1, []int{1} 229 } 230 func (m *Barr) XXX_Unmarshal(b []byte) error { 231 return m.Unmarshal(b) 232 } 233 func (m *Barr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 234 if deterministic { 235 return xxx_messageInfo_Barr.Marshal(b, m, deterministic) 236 } else { 237 b = b[:cap(b)] 238 n, err := m.MarshalTo(b) 239 if err != nil { 240 return nil, err 241 } 242 return b[:n], nil 243 } 244 } 245 func (dst *Barr) XXX_Merge(src proto.Message) { 246 xxx_messageInfo_Barr.Merge(dst, src) 247 } 248 func (m *Barr) XXX_Size() int { 249 return m.Size() 250 } 251 func (m *Barr) XXX_DiscardUnknown() { 252 xxx_messageInfo_Barr.DiscardUnknown(m) 253 } 254 255 var xxx_messageInfo_Barr proto.InternalMessageInfo 256 257 func (m *Barr) GetHello() int64 { 258 if m != nil { 259 return m.Hello 260 } 261 return 0 262 } 263 264 func (m *Barr) GetDep() *Dep { 265 if m != nil { 266 return m.Dep 267 } 268 return nil 269 } 270 271 func (m *Barr) GetTimestamp() *types.Timestamp { 272 if m != nil { 273 return m.Timestamp 274 } 275 return nil 276 } 277 278 // Another is another message. 279 type Another struct { 280 One int64 `protobuf:"varint,1,opt,name=one,proto3" json:"one,omitempty"` 281 Two string `protobuf:"bytes,2,opt,name=two,proto3" json:"two,omitempty"` 282 Another *Another `protobuf:"bytes,3,opt,name=another" json:"another,omitempty"` 283 Four []string `protobuf:"bytes,4,rep,name=four" json:"four,omitempty"` 284 Hello Hello `protobuf:"varint,5,opt,name=hello,proto3,enum=foo.Hello" json:"hello,omitempty"` 285 M map[string]int64 `protobuf:"bytes,6,rep,name=m" json:"m,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 286 // Types that are valid to be assigned to OneofOneof: 287 // *Another_Seven 288 // *Another_Eight 289 OneofOneof isAnother_OneofOneof `protobuf_oneof:"oneof_oneof"` 290 Nine []*Another `protobuf:"bytes,9,rep,name=nine" json:"nine,omitempty"` 291 Duration *types.Duration `protobuf:"bytes,10,opt,name=duration" json:"duration,omitempty"` 292 XXX_NoUnkeyedLiteral struct{} `json:"-"` 293 XXX_sizecache int32 `json:"-"` 294 } 295 296 func (m *Another) Reset() { *m = Another{} } 297 func (*Another) ProtoMessage() {} 298 func (*Another) Descriptor() ([]byte, []int) { 299 return fileDescriptor_foo_985cfaf62b75c4c1, []int{2} 300 } 301 func (m *Another) XXX_Unmarshal(b []byte) error { 302 return m.Unmarshal(b) 303 } 304 func (m *Another) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 305 if deterministic { 306 return xxx_messageInfo_Another.Marshal(b, m, deterministic) 307 } else { 308 b = b[:cap(b)] 309 n, err := m.MarshalTo(b) 310 if err != nil { 311 return nil, err 312 } 313 return b[:n], nil 314 } 315 } 316 func (dst *Another) XXX_Merge(src proto.Message) { 317 xxx_messageInfo_Another.Merge(dst, src) 318 } 319 func (m *Another) XXX_Size() int { 320 return m.Size() 321 } 322 func (m *Another) XXX_DiscardUnknown() { 323 xxx_messageInfo_Another.DiscardUnknown(m) 324 } 325 326 var xxx_messageInfo_Another proto.InternalMessageInfo 327 328 type isAnother_OneofOneof interface { 329 isAnother_OneofOneof() 330 Equal(interface{}) bool 331 MarshalTo([]byte) (int, error) 332 Size() int 333 } 334 335 type Another_Seven struct { 336 Seven int64 `protobuf:"varint,7,opt,name=seven,proto3,oneof"` 337 } 338 type Another_Eight struct { 339 Eight string `protobuf:"bytes,8,opt,name=eight,proto3,oneof"` 340 } 341 342 func (*Another_Seven) isAnother_OneofOneof() {} 343 func (*Another_Eight) isAnother_OneofOneof() {} 344 345 func (m *Another) GetOneofOneof() isAnother_OneofOneof { 346 if m != nil { 347 return m.OneofOneof 348 } 349 return nil 350 } 351 352 func (m *Another) GetOne() int64 { 353 if m != nil { 354 return m.One 355 } 356 return 0 357 } 358 359 func (m *Another) GetTwo() string { 360 if m != nil { 361 return m.Two 362 } 363 return "" 364 } 365 366 func (m *Another) GetAnother() *Another { 367 if m != nil { 368 return m.Another 369 } 370 return nil 371 } 372 373 func (m *Another) GetFour() []string { 374 if m != nil { 375 return m.Four 376 } 377 return nil 378 } 379 380 func (m *Another) GetHello() Hello { 381 if m != nil { 382 return m.Hello 383 } 384 return HELLO_INVALID 385 } 386 387 func (m *Another) GetM() map[string]int64 { 388 if m != nil { 389 return m.M 390 } 391 return nil 392 } 393 394 func (m *Another) GetSeven() int64 { 395 if x, ok := m.GetOneofOneof().(*Another_Seven); ok { 396 return x.Seven 397 } 398 return 0 399 } 400 401 func (m *Another) GetEight() string { 402 if x, ok := m.GetOneofOneof().(*Another_Eight); ok { 403 return x.Eight 404 } 405 return "" 406 } 407 408 func (m *Another) GetNine() []*Another { 409 if m != nil { 410 return m.Nine 411 } 412 return nil 413 } 414 415 func (m *Another) GetDuration() *types.Duration { 416 if m != nil { 417 return m.Duration 418 } 419 return nil 420 } 421 422 // XXX_OneofFuncs is for the internal use of the proto package. 423 func (*Another) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { 424 return _Another_OneofMarshaler, _Another_OneofUnmarshaler, _Another_OneofSizer, []interface{}{ 425 (*Another_Seven)(nil), 426 (*Another_Eight)(nil), 427 } 428 } 429 430 func _Another_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 431 m := msg.(*Another) 432 // oneof_oneof 433 switch x := m.OneofOneof.(type) { 434 case *Another_Seven: 435 _ = b.EncodeVarint(7<<3 | proto.WireVarint) 436 _ = b.EncodeVarint(uint64(x.Seven)) 437 case *Another_Eight: 438 _ = b.EncodeVarint(8<<3 | proto.WireBytes) 439 _ = b.EncodeStringBytes(x.Eight) 440 case nil: 441 default: 442 return fmt.Errorf("Another.OneofOneof has unexpected type %T", x) 443 } 444 return nil 445 } 446 447 func _Another_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { 448 m := msg.(*Another) 449 switch tag { 450 case 7: // oneof_oneof.seven 451 if wire != proto.WireVarint { 452 return true, proto.ErrInternalBadWireType 453 } 454 x, err := b.DecodeVarint() 455 m.OneofOneof = &Another_Seven{int64(x)} 456 return true, err 457 case 8: // oneof_oneof.eight 458 if wire != proto.WireBytes { 459 return true, proto.ErrInternalBadWireType 460 } 461 x, err := b.DecodeStringBytes() 462 m.OneofOneof = &Another_Eight{x} 463 return true, err 464 default: 465 return false, nil 466 } 467 } 468 469 func _Another_OneofSizer(msg proto.Message) (n int) { 470 m := msg.(*Another) 471 // oneof_oneof 472 switch x := m.OneofOneof.(type) { 473 case *Another_Seven: 474 n += 1 // tag and wire 475 n += proto.SizeVarint(uint64(x.Seven)) 476 case *Another_Eight: 477 n += 1 // tag and wire 478 n += proto.SizeVarint(uint64(len(x.Eight))) 479 n += len(x.Eight) 480 case nil: 481 default: 482 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) 483 } 484 return n 485 } 486 487 // HasWKT has Well-Known Types. 488 type HasWKT struct { 489 Duration *types.Duration `protobuf:"bytes,1,opt,name=duration" json:"duration,omitempty"` 490 XXX_NoUnkeyedLiteral struct{} `json:"-"` 491 XXX_sizecache int32 `json:"-"` 492 } 493 494 func (m *HasWKT) Reset() { *m = HasWKT{} } 495 func (*HasWKT) ProtoMessage() {} 496 func (*HasWKT) Descriptor() ([]byte, []int) { 497 return fileDescriptor_foo_985cfaf62b75c4c1, []int{3} 498 } 499 func (m *HasWKT) XXX_Unmarshal(b []byte) error { 500 return m.Unmarshal(b) 501 } 502 func (m *HasWKT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 503 if deterministic { 504 return xxx_messageInfo_HasWKT.Marshal(b, m, deterministic) 505 } else { 506 b = b[:cap(b)] 507 n, err := m.MarshalTo(b) 508 if err != nil { 509 return nil, err 510 } 511 return b[:n], nil 512 } 513 } 514 func (dst *HasWKT) XXX_Merge(src proto.Message) { 515 xxx_messageInfo_HasWKT.Merge(dst, src) 516 } 517 func (m *HasWKT) XXX_Size() int { 518 return m.Size() 519 } 520 func (m *HasWKT) XXX_DiscardUnknown() { 521 xxx_messageInfo_HasWKT.DiscardUnknown(m) 522 } 523 524 var xxx_messageInfo_HasWKT proto.InternalMessageInfo 525 526 func (m *HasWKT) GetDuration() *types.Duration { 527 if m != nil { 528 return m.Duration 529 } 530 return nil 531 } 532 533 // Bazz is a bazzzz. 534 type Bazz struct { 535 XXX_NoUnkeyedLiteral struct{} `json:"-"` 536 XXX_sizecache int32 `json:"-"` 537 } 538 539 func (m *Bazz) Reset() { *m = Bazz{} } 540 func (*Bazz) ProtoMessage() {} 541 func (*Bazz) Descriptor() ([]byte, []int) { 542 return fileDescriptor_foo_985cfaf62b75c4c1, []int{4} 543 } 544 func (m *Bazz) XXX_Unmarshal(b []byte) error { 545 return m.Unmarshal(b) 546 } 547 func (m *Bazz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 548 if deterministic { 549 return xxx_messageInfo_Bazz.Marshal(b, m, deterministic) 550 } else { 551 b = b[:cap(b)] 552 n, err := m.MarshalTo(b) 553 if err != nil { 554 return nil, err 555 } 556 return b[:n], nil 557 } 558 } 559 func (dst *Bazz) XXX_Merge(src proto.Message) { 560 xxx_messageInfo_Bazz.Merge(dst, src) 561 } 562 func (m *Bazz) XXX_Size() int { 563 return m.Size() 564 } 565 func (m *Bazz) XXX_DiscardUnknown() { 566 xxx_messageInfo_Bazz.DiscardUnknown(m) 567 } 568 569 var xxx_messageInfo_Bazz proto.InternalMessageInfo 570 571 // BarRequest is a bar request. 572 type BarRequest struct { 573 Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` 574 XXX_NoUnkeyedLiteral struct{} `json:"-"` 575 XXX_sizecache int32 `json:"-"` 576 } 577 578 func (m *BarRequest) Reset() { *m = BarRequest{} } 579 func (*BarRequest) ProtoMessage() {} 580 func (*BarRequest) Descriptor() ([]byte, []int) { 581 return fileDescriptor_foo_985cfaf62b75c4c1, []int{5} 582 } 583 func (m *BarRequest) XXX_Unmarshal(b []byte) error { 584 return m.Unmarshal(b) 585 } 586 func (m *BarRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 587 if deterministic { 588 return xxx_messageInfo_BarRequest.Marshal(b, m, deterministic) 589 } else { 590 b = b[:cap(b)] 591 n, err := m.MarshalTo(b) 592 if err != nil { 593 return nil, err 594 } 595 return b[:n], nil 596 } 597 } 598 func (dst *BarRequest) XXX_Merge(src proto.Message) { 599 xxx_messageInfo_BarRequest.Merge(dst, src) 600 } 601 func (m *BarRequest) XXX_Size() int { 602 return m.Size() 603 } 604 func (m *BarRequest) XXX_DiscardUnknown() { 605 xxx_messageInfo_BarRequest.DiscardUnknown(m) 606 } 607 608 var xxx_messageInfo_BarRequest proto.InternalMessageInfo 609 610 func (m *BarRequest) GetId() int64 { 611 if m != nil { 612 return m.Id 613 } 614 return 0 615 } 616 617 // FooResponse is an foo response. 618 type FooResponse struct { 619 Dep *Dep `protobuf:"bytes,1,opt,name=dep" json:"dep,omitempty"` 620 XXX_NoUnkeyedLiteral struct{} `json:"-"` 621 XXX_sizecache int32 `json:"-"` 622 } 623 624 func (m *FooResponse) Reset() { *m = FooResponse{} } 625 func (*FooResponse) ProtoMessage() {} 626 func (*FooResponse) Descriptor() ([]byte, []int) { 627 return fileDescriptor_foo_985cfaf62b75c4c1, []int{6} 628 } 629 func (m *FooResponse) XXX_Unmarshal(b []byte) error { 630 return m.Unmarshal(b) 631 } 632 func (m *FooResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 633 if deterministic { 634 return xxx_messageInfo_FooResponse.Marshal(b, m, deterministic) 635 } else { 636 b = b[:cap(b)] 637 n, err := m.MarshalTo(b) 638 if err != nil { 639 return nil, err 640 } 641 return b[:n], nil 642 } 643 } 644 func (dst *FooResponse) XXX_Merge(src proto.Message) { 645 xxx_messageInfo_FooResponse.Merge(dst, src) 646 } 647 func (m *FooResponse) XXX_Size() int { 648 return m.Size() 649 } 650 func (m *FooResponse) XXX_DiscardUnknown() { 651 xxx_messageInfo_FooResponse.DiscardUnknown(m) 652 } 653 654 var xxx_messageInfo_FooResponse proto.InternalMessageInfo 655 656 func (m *FooResponse) GetDep() *Dep { 657 if m != nil { 658 return m.Dep 659 } 660 return nil 661 } 662 663 type ExclamationRequest struct { 664 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 665 XXX_NoUnkeyedLiteral struct{} `json:"-"` 666 XXX_sizecache int32 `json:"-"` 667 } 668 669 func (m *ExclamationRequest) Reset() { *m = ExclamationRequest{} } 670 func (*ExclamationRequest) ProtoMessage() {} 671 func (*ExclamationRequest) Descriptor() ([]byte, []int) { 672 return fileDescriptor_foo_985cfaf62b75c4c1, []int{7} 673 } 674 func (m *ExclamationRequest) XXX_Unmarshal(b []byte) error { 675 return m.Unmarshal(b) 676 } 677 func (m *ExclamationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 678 if deterministic { 679 return xxx_messageInfo_ExclamationRequest.Marshal(b, m, deterministic) 680 } else { 681 b = b[:cap(b)] 682 n, err := m.MarshalTo(b) 683 if err != nil { 684 return nil, err 685 } 686 return b[:n], nil 687 } 688 } 689 func (dst *ExclamationRequest) XXX_Merge(src proto.Message) { 690 xxx_messageInfo_ExclamationRequest.Merge(dst, src) 691 } 692 func (m *ExclamationRequest) XXX_Size() int { 693 return m.Size() 694 } 695 func (m *ExclamationRequest) XXX_DiscardUnknown() { 696 xxx_messageInfo_ExclamationRequest.DiscardUnknown(m) 697 } 698 699 var xxx_messageInfo_ExclamationRequest proto.InternalMessageInfo 700 701 func (m *ExclamationRequest) GetValue() string { 702 if m != nil { 703 return m.Value 704 } 705 return "" 706 } 707 708 type ExclamationResponse struct { 709 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 710 XXX_NoUnkeyedLiteral struct{} `json:"-"` 711 XXX_sizecache int32 `json:"-"` 712 } 713 714 func (m *ExclamationResponse) Reset() { *m = ExclamationResponse{} } 715 func (*ExclamationResponse) ProtoMessage() {} 716 func (*ExclamationResponse) Descriptor() ([]byte, []int) { 717 return fileDescriptor_foo_985cfaf62b75c4c1, []int{8} 718 } 719 func (m *ExclamationResponse) XXX_Unmarshal(b []byte) error { 720 return m.Unmarshal(b) 721 } 722 func (m *ExclamationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 723 if deterministic { 724 return xxx_messageInfo_ExclamationResponse.Marshal(b, m, deterministic) 725 } else { 726 b = b[:cap(b)] 727 n, err := m.MarshalTo(b) 728 if err != nil { 729 return nil, err 730 } 731 return b[:n], nil 732 } 733 } 734 func (dst *ExclamationResponse) XXX_Merge(src proto.Message) { 735 xxx_messageInfo_ExclamationResponse.Merge(dst, src) 736 } 737 func (m *ExclamationResponse) XXX_Size() int { 738 return m.Size() 739 } 740 func (m *ExclamationResponse) XXX_DiscardUnknown() { 741 xxx_messageInfo_ExclamationResponse.DiscardUnknown(m) 742 } 743 744 var xxx_messageInfo_ExclamationResponse proto.InternalMessageInfo 745 746 func (m *ExclamationResponse) GetValue() string { 747 if m != nil { 748 return m.Value 749 } 750 return "" 751 } 752 753 func init() { 754 proto.RegisterType((*Foo)(nil), "foo.Foo") 755 proto.RegisterType((*Foo_Bar)(nil), "foo.Foo.Bar") 756 proto.RegisterType((*Barr)(nil), "foo.Barr") 757 proto.RegisterType((*Another)(nil), "foo.Another") 758 proto.RegisterMapType((map[string]int64)(nil), "foo.Another.MEntry") 759 proto.RegisterType((*HasWKT)(nil), "foo.HasWKT") 760 proto.RegisterType((*Bazz)(nil), "foo.Bazz") 761 proto.RegisterType((*BarRequest)(nil), "foo.BarRequest") 762 proto.RegisterType((*FooResponse)(nil), "foo.FooResponse") 763 proto.RegisterType((*ExclamationRequest)(nil), "foo.ExclamationRequest") 764 proto.RegisterType((*ExclamationResponse)(nil), "foo.ExclamationResponse") 765 proto.RegisterEnum("foo.Hello", Hello_name, Hello_value) 766 proto.RegisterEnum("foo.Bar", Bar_name, Bar_value) 767 proto.RegisterEnum("foo.Foo_Bar_Baz", Foo_Bar_Baz_name, Foo_Bar_Baz_value) 768 proto.RegisterEnum("foo.Foo_Bar_Bat", Foo_Bar_Bat_name, Foo_Bar_Bat_value) 769 } 770 func (x Hello) String() string { 771 s, ok := Hello_name[int32(x)] 772 if ok { 773 return s 774 } 775 return strconv.Itoa(int(x)) 776 } 777 func (x Bar) String() string { 778 s, ok := Bar_name[int32(x)] 779 if ok { 780 return s 781 } 782 return strconv.Itoa(int(x)) 783 } 784 func (x Foo_Bar_Baz) String() string { 785 s, ok := Foo_Bar_Baz_name[int32(x)] 786 if ok { 787 return s 788 } 789 return strconv.Itoa(int(x)) 790 } 791 func (x Foo_Bar_Bat) String() string { 792 s, ok := Foo_Bar_Bat_name[int32(x)] 793 if ok { 794 return s 795 } 796 return strconv.Itoa(int(x)) 797 } 798 func (this *Foo) Equal(that interface{}) bool { 799 if that == nil { 800 return this == nil 801 } 802 803 that1, ok := that.(*Foo) 804 if !ok { 805 that2, ok := that.(Foo) 806 if ok { 807 that1 = &that2 808 } else { 809 return false 810 } 811 } 812 if that1 == nil { 813 return this == nil 814 } else if this == nil { 815 return false 816 } 817 if !this.Bar.Equal(that1.Bar) { 818 return false 819 } 820 return true 821 } 822 func (this *Foo_Bar) Equal(that interface{}) bool { 823 if that == nil { 824 return this == nil 825 } 826 827 that1, ok := that.(*Foo_Bar) 828 if !ok { 829 that2, ok := that.(Foo_Bar) 830 if ok { 831 that1 = &that2 832 } else { 833 return false 834 } 835 } 836 if that1 == nil { 837 return this == nil 838 } else if this == nil { 839 return false 840 } 841 if this.Baz != that1.Baz { 842 return false 843 } 844 if this.Bat != that1.Bat { 845 return false 846 } 847 return true 848 } 849 func (this *Barr) Equal(that interface{}) bool { 850 if that == nil { 851 return this == nil 852 } 853 854 that1, ok := that.(*Barr) 855 if !ok { 856 that2, ok := that.(Barr) 857 if ok { 858 that1 = &that2 859 } else { 860 return false 861 } 862 } 863 if that1 == nil { 864 return this == nil 865 } else if this == nil { 866 return false 867 } 868 if this.Hello != that1.Hello { 869 return false 870 } 871 if !this.Dep.Equal(that1.Dep) { 872 return false 873 } 874 if !this.Timestamp.Equal(that1.Timestamp) { 875 return false 876 } 877 return true 878 } 879 func (this *Another) Equal(that interface{}) bool { 880 if that == nil { 881 return this == nil 882 } 883 884 that1, ok := that.(*Another) 885 if !ok { 886 that2, ok := that.(Another) 887 if ok { 888 that1 = &that2 889 } else { 890 return false 891 } 892 } 893 if that1 == nil { 894 return this == nil 895 } else if this == nil { 896 return false 897 } 898 if this.One != that1.One { 899 return false 900 } 901 if this.Two != that1.Two { 902 return false 903 } 904 if !this.Another.Equal(that1.Another) { 905 return false 906 } 907 if len(this.Four) != len(that1.Four) { 908 return false 909 } 910 for i := range this.Four { 911 if this.Four[i] != that1.Four[i] { 912 return false 913 } 914 } 915 if this.Hello != that1.Hello { 916 return false 917 } 918 if len(this.M) != len(that1.M) { 919 return false 920 } 921 for i := range this.M { 922 if this.M[i] != that1.M[i] { 923 return false 924 } 925 } 926 if that1.OneofOneof == nil { 927 if this.OneofOneof != nil { 928 return false 929 } 930 } else if this.OneofOneof == nil { 931 return false 932 } else if !this.OneofOneof.Equal(that1.OneofOneof) { 933 return false 934 } 935 if len(this.Nine) != len(that1.Nine) { 936 return false 937 } 938 for i := range this.Nine { 939 if !this.Nine[i].Equal(that1.Nine[i]) { 940 return false 941 } 942 } 943 if !this.Duration.Equal(that1.Duration) { 944 return false 945 } 946 return true 947 } 948 func (this *Another_Seven) Equal(that interface{}) bool { 949 if that == nil { 950 return this == nil 951 } 952 953 that1, ok := that.(*Another_Seven) 954 if !ok { 955 that2, ok := that.(Another_Seven) 956 if ok { 957 that1 = &that2 958 } else { 959 return false 960 } 961 } 962 if that1 == nil { 963 return this == nil 964 } else if this == nil { 965 return false 966 } 967 if this.Seven != that1.Seven { 968 return false 969 } 970 return true 971 } 972 func (this *Another_Eight) Equal(that interface{}) bool { 973 if that == nil { 974 return this == nil 975 } 976 977 that1, ok := that.(*Another_Eight) 978 if !ok { 979 that2, ok := that.(Another_Eight) 980 if ok { 981 that1 = &that2 982 } else { 983 return false 984 } 985 } 986 if that1 == nil { 987 return this == nil 988 } else if this == nil { 989 return false 990 } 991 if this.Eight != that1.Eight { 992 return false 993 } 994 return true 995 } 996 func (this *HasWKT) Equal(that interface{}) bool { 997 if that == nil { 998 return this == nil 999 } 1000 1001 that1, ok := that.(*HasWKT) 1002 if !ok { 1003 that2, ok := that.(HasWKT) 1004 if ok { 1005 that1 = &that2 1006 } else { 1007 return false 1008 } 1009 } 1010 if that1 == nil { 1011 return this == nil 1012 } else if this == nil { 1013 return false 1014 } 1015 if !this.Duration.Equal(that1.Duration) { 1016 return false 1017 } 1018 return true 1019 } 1020 func (this *Bazz) Equal(that interface{}) bool { 1021 if that == nil { 1022 return this == nil 1023 } 1024 1025 that1, ok := that.(*Bazz) 1026 if !ok { 1027 that2, ok := that.(Bazz) 1028 if ok { 1029 that1 = &that2 1030 } else { 1031 return false 1032 } 1033 } 1034 if that1 == nil { 1035 return this == nil 1036 } else if this == nil { 1037 return false 1038 } 1039 return true 1040 } 1041 func (this *BarRequest) Equal(that interface{}) bool { 1042 if that == nil { 1043 return this == nil 1044 } 1045 1046 that1, ok := that.(*BarRequest) 1047 if !ok { 1048 that2, ok := that.(BarRequest) 1049 if ok { 1050 that1 = &that2 1051 } else { 1052 return false 1053 } 1054 } 1055 if that1 == nil { 1056 return this == nil 1057 } else if this == nil { 1058 return false 1059 } 1060 if this.Id != that1.Id { 1061 return false 1062 } 1063 return true 1064 } 1065 func (this *FooResponse) Equal(that interface{}) bool { 1066 if that == nil { 1067 return this == nil 1068 } 1069 1070 that1, ok := that.(*FooResponse) 1071 if !ok { 1072 that2, ok := that.(FooResponse) 1073 if ok { 1074 that1 = &that2 1075 } else { 1076 return false 1077 } 1078 } 1079 if that1 == nil { 1080 return this == nil 1081 } else if this == nil { 1082 return false 1083 } 1084 if !this.Dep.Equal(that1.Dep) { 1085 return false 1086 } 1087 return true 1088 } 1089 func (this *ExclamationRequest) Equal(that interface{}) bool { 1090 if that == nil { 1091 return this == nil 1092 } 1093 1094 that1, ok := that.(*ExclamationRequest) 1095 if !ok { 1096 that2, ok := that.(ExclamationRequest) 1097 if ok { 1098 that1 = &that2 1099 } else { 1100 return false 1101 } 1102 } 1103 if that1 == nil { 1104 return this == nil 1105 } else if this == nil { 1106 return false 1107 } 1108 if this.Value != that1.Value { 1109 return false 1110 } 1111 return true 1112 } 1113 func (this *ExclamationResponse) Equal(that interface{}) bool { 1114 if that == nil { 1115 return this == nil 1116 } 1117 1118 that1, ok := that.(*ExclamationResponse) 1119 if !ok { 1120 that2, ok := that.(ExclamationResponse) 1121 if ok { 1122 that1 = &that2 1123 } else { 1124 return false 1125 } 1126 } 1127 if that1 == nil { 1128 return this == nil 1129 } else if this == nil { 1130 return false 1131 } 1132 if this.Value != that1.Value { 1133 return false 1134 } 1135 return true 1136 } 1137 func (this *Foo) GoString() string { 1138 if this == nil { 1139 return "nil" 1140 } 1141 s := make([]string, 0, 5) 1142 s = append(s, "&foopb.Foo{") 1143 if this.Bar != nil { 1144 s = append(s, "Bar: "+fmt.Sprintf("%#v", this.Bar)+",\n") 1145 } 1146 s = append(s, "}") 1147 return strings.Join(s, "") 1148 } 1149 func (this *Foo_Bar) GoString() string { 1150 if this == nil { 1151 return "nil" 1152 } 1153 s := make([]string, 0, 6) 1154 s = append(s, "&foopb.Foo_Bar{") 1155 s = append(s, "Baz: "+fmt.Sprintf("%#v", this.Baz)+",\n") 1156 s = append(s, "Bat: "+fmt.Sprintf("%#v", this.Bat)+",\n") 1157 s = append(s, "}") 1158 return strings.Join(s, "") 1159 } 1160 func (this *Barr) GoString() string { 1161 if this == nil { 1162 return "nil" 1163 } 1164 s := make([]string, 0, 7) 1165 s = append(s, "&foopb.Barr{") 1166 s = append(s, "Hello: "+fmt.Sprintf("%#v", this.Hello)+",\n") 1167 if this.Dep != nil { 1168 s = append(s, "Dep: "+fmt.Sprintf("%#v", this.Dep)+",\n") 1169 } 1170 if this.Timestamp != nil { 1171 s = append(s, "Timestamp: "+fmt.Sprintf("%#v", this.Timestamp)+",\n") 1172 } 1173 s = append(s, "}") 1174 return strings.Join(s, "") 1175 } 1176 func (this *Another) GoString() string { 1177 if this == nil { 1178 return "nil" 1179 } 1180 s := make([]string, 0, 14) 1181 s = append(s, "&foopb.Another{") 1182 s = append(s, "One: "+fmt.Sprintf("%#v", this.One)+",\n") 1183 s = append(s, "Two: "+fmt.Sprintf("%#v", this.Two)+",\n") 1184 if this.Another != nil { 1185 s = append(s, "Another: "+fmt.Sprintf("%#v", this.Another)+",\n") 1186 } 1187 s = append(s, "Four: "+fmt.Sprintf("%#v", this.Four)+",\n") 1188 s = append(s, "Hello: "+fmt.Sprintf("%#v", this.Hello)+",\n") 1189 keysForM := make([]string, 0, len(this.M)) 1190 for k, _ := range this.M { 1191 keysForM = append(keysForM, k) 1192 } 1193 github_com_gogo_protobuf_sortkeys.Strings(keysForM) 1194 mapStringForM := "map[string]int64{" 1195 for _, k := range keysForM { 1196 mapStringForM += fmt.Sprintf("%#v: %#v,", k, this.M[k]) 1197 } 1198 mapStringForM += "}" 1199 if this.M != nil { 1200 s = append(s, "M: "+mapStringForM+",\n") 1201 } 1202 if this.OneofOneof != nil { 1203 s = append(s, "OneofOneof: "+fmt.Sprintf("%#v", this.OneofOneof)+",\n") 1204 } 1205 if this.Nine != nil { 1206 s = append(s, "Nine: "+fmt.Sprintf("%#v", this.Nine)+",\n") 1207 } 1208 if this.Duration != nil { 1209 s = append(s, "Duration: "+fmt.Sprintf("%#v", this.Duration)+",\n") 1210 } 1211 s = append(s, "}") 1212 return strings.Join(s, "") 1213 } 1214 func (this *Another_Seven) GoString() string { 1215 if this == nil { 1216 return "nil" 1217 } 1218 s := strings.Join([]string{`&foopb.Another_Seven{` + 1219 `Seven:` + fmt.Sprintf("%#v", this.Seven) + `}`}, ", ") 1220 return s 1221 } 1222 func (this *Another_Eight) GoString() string { 1223 if this == nil { 1224 return "nil" 1225 } 1226 s := strings.Join([]string{`&foopb.Another_Eight{` + 1227 `Eight:` + fmt.Sprintf("%#v", this.Eight) + `}`}, ", ") 1228 return s 1229 } 1230 func (this *HasWKT) GoString() string { 1231 if this == nil { 1232 return "nil" 1233 } 1234 s := make([]string, 0, 5) 1235 s = append(s, "&foopb.HasWKT{") 1236 if this.Duration != nil { 1237 s = append(s, "Duration: "+fmt.Sprintf("%#v", this.Duration)+",\n") 1238 } 1239 s = append(s, "}") 1240 return strings.Join(s, "") 1241 } 1242 func (this *Bazz) GoString() string { 1243 if this == nil { 1244 return "nil" 1245 } 1246 s := make([]string, 0, 4) 1247 s = append(s, "&foopb.Bazz{") 1248 s = append(s, "}") 1249 return strings.Join(s, "") 1250 } 1251 func (this *BarRequest) GoString() string { 1252 if this == nil { 1253 return "nil" 1254 } 1255 s := make([]string, 0, 5) 1256 s = append(s, "&foopb.BarRequest{") 1257 s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") 1258 s = append(s, "}") 1259 return strings.Join(s, "") 1260 } 1261 func (this *FooResponse) GoString() string { 1262 if this == nil { 1263 return "nil" 1264 } 1265 s := make([]string, 0, 5) 1266 s = append(s, "&foopb.FooResponse{") 1267 if this.Dep != nil { 1268 s = append(s, "Dep: "+fmt.Sprintf("%#v", this.Dep)+",\n") 1269 } 1270 s = append(s, "}") 1271 return strings.Join(s, "") 1272 } 1273 func (this *ExclamationRequest) GoString() string { 1274 if this == nil { 1275 return "nil" 1276 } 1277 s := make([]string, 0, 5) 1278 s = append(s, "&foopb.ExclamationRequest{") 1279 s = append(s, "Value: "+fmt.Sprintf("%#v", this.Value)+",\n") 1280 s = append(s, "}") 1281 return strings.Join(s, "") 1282 } 1283 func (this *ExclamationResponse) GoString() string { 1284 if this == nil { 1285 return "nil" 1286 } 1287 s := make([]string, 0, 5) 1288 s = append(s, "&foopb.ExclamationResponse{") 1289 s = append(s, "Value: "+fmt.Sprintf("%#v", this.Value)+",\n") 1290 s = append(s, "}") 1291 return strings.Join(s, "") 1292 } 1293 func valueToGoStringFoo(v interface{}, typ string) string { 1294 rv := reflect.ValueOf(v) 1295 if rv.IsNil() { 1296 return "nil" 1297 } 1298 pv := reflect.Indirect(rv).Interface() 1299 return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) 1300 } 1301 1302 // Reference imports to suppress errors if they are not otherwise used. 1303 var _ context.Context 1304 var _ grpc.ClientConn 1305 1306 // This is a compile-time assertion to ensure that this generated file 1307 // is compatible with the grpc package it is being compiled against. 1308 const _ = grpc.SupportPackageIsVersion4 1309 1310 // Client API for HelloService service 1311 1312 type HelloServiceClient interface { 1313 // Foo does a foo. 1314 Foo(ctx context.Context, in *sub.Dep, opts ...grpc.CallOption) (*FooResponse, error) 1315 // Bar does a bar. 1316 Bar(ctx context.Context, in *BarRequest, opts ...grpc.CallOption) (*Dep, error) 1317 } 1318 1319 type helloServiceClient struct { 1320 cc *grpc.ClientConn 1321 } 1322 1323 func NewHelloServiceClient(cc *grpc.ClientConn) HelloServiceClient { 1324 return &helloServiceClient{cc} 1325 } 1326 1327 func (c *helloServiceClient) Foo(ctx context.Context, in *sub.Dep, opts ...grpc.CallOption) (*FooResponse, error) { 1328 out := new(FooResponse) 1329 err := c.cc.Invoke(ctx, "/foo.HelloService/Foo", in, out, opts...) 1330 if err != nil { 1331 return nil, err 1332 } 1333 return out, nil 1334 } 1335 1336 func (c *helloServiceClient) Bar(ctx context.Context, in *BarRequest, opts ...grpc.CallOption) (*Dep, error) { 1337 out := new(Dep) 1338 err := c.cc.Invoke(ctx, "/foo.HelloService/Bar", in, out, opts...) 1339 if err != nil { 1340 return nil, err 1341 } 1342 return out, nil 1343 } 1344 1345 // Server API for HelloService service 1346 1347 type HelloServiceServer interface { 1348 // Foo does a foo. 1349 Foo(context.Context, *sub.Dep) (*FooResponse, error) 1350 // Bar does a bar. 1351 Bar(context.Context, *BarRequest) (*Dep, error) 1352 } 1353 1354 func RegisterHelloServiceServer(s *grpc.Server, srv HelloServiceServer) { 1355 s.RegisterService(&_HelloService_serviceDesc, srv) 1356 } 1357 1358 func _HelloService_Foo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1359 in := new(sub.Dep) 1360 if err := dec(in); err != nil { 1361 return nil, err 1362 } 1363 if interceptor == nil { 1364 return srv.(HelloServiceServer).Foo(ctx, in) 1365 } 1366 info := &grpc.UnaryServerInfo{ 1367 Server: srv, 1368 FullMethod: "/foo.HelloService/Foo", 1369 } 1370 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1371 return srv.(HelloServiceServer).Foo(ctx, req.(*sub.Dep)) 1372 } 1373 return interceptor(ctx, in, info, handler) 1374 } 1375 1376 func _HelloService_Bar_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1377 in := new(BarRequest) 1378 if err := dec(in); err != nil { 1379 return nil, err 1380 } 1381 if interceptor == nil { 1382 return srv.(HelloServiceServer).Bar(ctx, in) 1383 } 1384 info := &grpc.UnaryServerInfo{ 1385 Server: srv, 1386 FullMethod: "/foo.HelloService/Bar", 1387 } 1388 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1389 return srv.(HelloServiceServer).Bar(ctx, req.(*BarRequest)) 1390 } 1391 return interceptor(ctx, in, info, handler) 1392 } 1393 1394 var _HelloService_serviceDesc = grpc.ServiceDesc{ 1395 ServiceName: "foo.HelloService", 1396 HandlerType: (*HelloServiceServer)(nil), 1397 Methods: []grpc.MethodDesc{ 1398 { 1399 MethodName: "Foo", 1400 Handler: _HelloService_Foo_Handler, 1401 }, 1402 { 1403 MethodName: "Bar", 1404 Handler: _HelloService_Bar_Handler, 1405 }, 1406 }, 1407 Streams: []grpc.StreamDesc{}, 1408 Metadata: "foo/foo.proto", 1409 } 1410 1411 // Client API for ExcitedService service 1412 1413 type ExcitedServiceClient interface { 1414 // Exclamation adds an exclamation to the request value. 1415 Exclamation(ctx context.Context, in *ExclamationRequest, opts ...grpc.CallOption) (*ExclamationResponse, error) 1416 // ExclamationClientStream adds an exclamation to the combined request values. 1417 ExclamationClientStream(ctx context.Context, opts ...grpc.CallOption) (ExcitedService_ExclamationClientStreamClient, error) 1418 // ExclamationServerStream adds an exclamation to the request value 1419 // and streams each character as a response. 1420 ExclamationServerStream(ctx context.Context, in *ExclamationRequest, opts ...grpc.CallOption) (ExcitedService_ExclamationServerStreamClient, error) 1421 // ExclamationBidiStream adds an exclamation to the each request value. 1422 ExclamationBidiStream(ctx context.Context, opts ...grpc.CallOption) (ExcitedService_ExclamationBidiStreamClient, error) 1423 } 1424 1425 type excitedServiceClient struct { 1426 cc *grpc.ClientConn 1427 } 1428 1429 func NewExcitedServiceClient(cc *grpc.ClientConn) ExcitedServiceClient { 1430 return &excitedServiceClient{cc} 1431 } 1432 1433 func (c *excitedServiceClient) Exclamation(ctx context.Context, in *ExclamationRequest, opts ...grpc.CallOption) (*ExclamationResponse, error) { 1434 out := new(ExclamationResponse) 1435 err := c.cc.Invoke(ctx, "/foo.ExcitedService/Exclamation", in, out, opts...) 1436 if err != nil { 1437 return nil, err 1438 } 1439 return out, nil 1440 } 1441 1442 func (c *excitedServiceClient) ExclamationClientStream(ctx context.Context, opts ...grpc.CallOption) (ExcitedService_ExclamationClientStreamClient, error) { 1443 stream, err := c.cc.NewStream(ctx, &_ExcitedService_serviceDesc.Streams[0], "/foo.ExcitedService/ExclamationClientStream", opts...) 1444 if err != nil { 1445 return nil, err 1446 } 1447 x := &excitedServiceExclamationClientStreamClient{stream} 1448 return x, nil 1449 } 1450 1451 type ExcitedService_ExclamationClientStreamClient interface { 1452 Send(*ExclamationRequest) error 1453 CloseAndRecv() (*ExclamationResponse, error) 1454 grpc.ClientStream 1455 } 1456 1457 type excitedServiceExclamationClientStreamClient struct { 1458 grpc.ClientStream 1459 } 1460 1461 func (x *excitedServiceExclamationClientStreamClient) Send(m *ExclamationRequest) error { 1462 return x.ClientStream.SendMsg(m) 1463 } 1464 1465 func (x *excitedServiceExclamationClientStreamClient) CloseAndRecv() (*ExclamationResponse, error) { 1466 if err := x.ClientStream.CloseSend(); err != nil { 1467 return nil, err 1468 } 1469 m := new(ExclamationResponse) 1470 if err := x.ClientStream.RecvMsg(m); err != nil { 1471 return nil, err 1472 } 1473 return m, nil 1474 } 1475 1476 func (c *excitedServiceClient) ExclamationServerStream(ctx context.Context, in *ExclamationRequest, opts ...grpc.CallOption) (ExcitedService_ExclamationServerStreamClient, error) { 1477 stream, err := c.cc.NewStream(ctx, &_ExcitedService_serviceDesc.Streams[1], "/foo.ExcitedService/ExclamationServerStream", opts...) 1478 if err != nil { 1479 return nil, err 1480 } 1481 x := &excitedServiceExclamationServerStreamClient{stream} 1482 if err := x.ClientStream.SendMsg(in); err != nil { 1483 return nil, err 1484 } 1485 if err := x.ClientStream.CloseSend(); err != nil { 1486 return nil, err 1487 } 1488 return x, nil 1489 } 1490 1491 type ExcitedService_ExclamationServerStreamClient interface { 1492 Recv() (*ExclamationResponse, error) 1493 grpc.ClientStream 1494 } 1495 1496 type excitedServiceExclamationServerStreamClient struct { 1497 grpc.ClientStream 1498 } 1499 1500 func (x *excitedServiceExclamationServerStreamClient) Recv() (*ExclamationResponse, error) { 1501 m := new(ExclamationResponse) 1502 if err := x.ClientStream.RecvMsg(m); err != nil { 1503 return nil, err 1504 } 1505 return m, nil 1506 } 1507 1508 func (c *excitedServiceClient) ExclamationBidiStream(ctx context.Context, opts ...grpc.CallOption) (ExcitedService_ExclamationBidiStreamClient, error) { 1509 stream, err := c.cc.NewStream(ctx, &_ExcitedService_serviceDesc.Streams[2], "/foo.ExcitedService/ExclamationBidiStream", opts...) 1510 if err != nil { 1511 return nil, err 1512 } 1513 x := &excitedServiceExclamationBidiStreamClient{stream} 1514 return x, nil 1515 } 1516 1517 type ExcitedService_ExclamationBidiStreamClient interface { 1518 Send(*ExclamationRequest) error 1519 Recv() (*ExclamationResponse, error) 1520 grpc.ClientStream 1521 } 1522 1523 type excitedServiceExclamationBidiStreamClient struct { 1524 grpc.ClientStream 1525 } 1526 1527 func (x *excitedServiceExclamationBidiStreamClient) Send(m *ExclamationRequest) error { 1528 return x.ClientStream.SendMsg(m) 1529 } 1530 1531 func (x *excitedServiceExclamationBidiStreamClient) Recv() (*ExclamationResponse, error) { 1532 m := new(ExclamationResponse) 1533 if err := x.ClientStream.RecvMsg(m); err != nil { 1534 return nil, err 1535 } 1536 return m, nil 1537 } 1538 1539 // Server API for ExcitedService service 1540 1541 type ExcitedServiceServer interface { 1542 // Exclamation adds an exclamation to the request value. 1543 Exclamation(context.Context, *ExclamationRequest) (*ExclamationResponse, error) 1544 // ExclamationClientStream adds an exclamation to the combined request values. 1545 ExclamationClientStream(ExcitedService_ExclamationClientStreamServer) error 1546 // ExclamationServerStream adds an exclamation to the request value 1547 // and streams each character as a response. 1548 ExclamationServerStream(*ExclamationRequest, ExcitedService_ExclamationServerStreamServer) error 1549 // ExclamationBidiStream adds an exclamation to the each request value. 1550 ExclamationBidiStream(ExcitedService_ExclamationBidiStreamServer) error 1551 } 1552 1553 func RegisterExcitedServiceServer(s *grpc.Server, srv ExcitedServiceServer) { 1554 s.RegisterService(&_ExcitedService_serviceDesc, srv) 1555 } 1556 1557 func _ExcitedService_Exclamation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1558 in := new(ExclamationRequest) 1559 if err := dec(in); err != nil { 1560 return nil, err 1561 } 1562 if interceptor == nil { 1563 return srv.(ExcitedServiceServer).Exclamation(ctx, in) 1564 } 1565 info := &grpc.UnaryServerInfo{ 1566 Server: srv, 1567 FullMethod: "/foo.ExcitedService/Exclamation", 1568 } 1569 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1570 return srv.(ExcitedServiceServer).Exclamation(ctx, req.(*ExclamationRequest)) 1571 } 1572 return interceptor(ctx, in, info, handler) 1573 } 1574 1575 func _ExcitedService_ExclamationClientStream_Handler(srv interface{}, stream grpc.ServerStream) error { 1576 return srv.(ExcitedServiceServer).ExclamationClientStream(&excitedServiceExclamationClientStreamServer{stream}) 1577 } 1578 1579 type ExcitedService_ExclamationClientStreamServer interface { 1580 SendAndClose(*ExclamationResponse) error 1581 Recv() (*ExclamationRequest, error) 1582 grpc.ServerStream 1583 } 1584 1585 type excitedServiceExclamationClientStreamServer struct { 1586 grpc.ServerStream 1587 } 1588 1589 func (x *excitedServiceExclamationClientStreamServer) SendAndClose(m *ExclamationResponse) error { 1590 return x.ServerStream.SendMsg(m) 1591 } 1592 1593 func (x *excitedServiceExclamationClientStreamServer) Recv() (*ExclamationRequest, error) { 1594 m := new(ExclamationRequest) 1595 if err := x.ServerStream.RecvMsg(m); err != nil { 1596 return nil, err 1597 } 1598 return m, nil 1599 } 1600 1601 func _ExcitedService_ExclamationServerStream_Handler(srv interface{}, stream grpc.ServerStream) error { 1602 m := new(ExclamationRequest) 1603 if err := stream.RecvMsg(m); err != nil { 1604 return err 1605 } 1606 return srv.(ExcitedServiceServer).ExclamationServerStream(m, &excitedServiceExclamationServerStreamServer{stream}) 1607 } 1608 1609 type ExcitedService_ExclamationServerStreamServer interface { 1610 Send(*ExclamationResponse) error 1611 grpc.ServerStream 1612 } 1613 1614 type excitedServiceExclamationServerStreamServer struct { 1615 grpc.ServerStream 1616 } 1617 1618 func (x *excitedServiceExclamationServerStreamServer) Send(m *ExclamationResponse) error { 1619 return x.ServerStream.SendMsg(m) 1620 } 1621 1622 func _ExcitedService_ExclamationBidiStream_Handler(srv interface{}, stream grpc.ServerStream) error { 1623 return srv.(ExcitedServiceServer).ExclamationBidiStream(&excitedServiceExclamationBidiStreamServer{stream}) 1624 } 1625 1626 type ExcitedService_ExclamationBidiStreamServer interface { 1627 Send(*ExclamationResponse) error 1628 Recv() (*ExclamationRequest, error) 1629 grpc.ServerStream 1630 } 1631 1632 type excitedServiceExclamationBidiStreamServer struct { 1633 grpc.ServerStream 1634 } 1635 1636 func (x *excitedServiceExclamationBidiStreamServer) Send(m *ExclamationResponse) error { 1637 return x.ServerStream.SendMsg(m) 1638 } 1639 1640 func (x *excitedServiceExclamationBidiStreamServer) Recv() (*ExclamationRequest, error) { 1641 m := new(ExclamationRequest) 1642 if err := x.ServerStream.RecvMsg(m); err != nil { 1643 return nil, err 1644 } 1645 return m, nil 1646 } 1647 1648 var _ExcitedService_serviceDesc = grpc.ServiceDesc{ 1649 ServiceName: "foo.ExcitedService", 1650 HandlerType: (*ExcitedServiceServer)(nil), 1651 Methods: []grpc.MethodDesc{ 1652 { 1653 MethodName: "Exclamation", 1654 Handler: _ExcitedService_Exclamation_Handler, 1655 }, 1656 }, 1657 Streams: []grpc.StreamDesc{ 1658 { 1659 StreamName: "ExclamationClientStream", 1660 Handler: _ExcitedService_ExclamationClientStream_Handler, 1661 ClientStreams: true, 1662 }, 1663 { 1664 StreamName: "ExclamationServerStream", 1665 Handler: _ExcitedService_ExclamationServerStream_Handler, 1666 ServerStreams: true, 1667 }, 1668 { 1669 StreamName: "ExclamationBidiStream", 1670 Handler: _ExcitedService_ExclamationBidiStream_Handler, 1671 ServerStreams: true, 1672 ClientStreams: true, 1673 }, 1674 }, 1675 Metadata: "foo/foo.proto", 1676 } 1677 1678 func (m *Foo) Marshal() (dAtA []byte, err error) { 1679 size := m.Size() 1680 dAtA = make([]byte, size) 1681 n, err := m.MarshalTo(dAtA) 1682 if err != nil { 1683 return nil, err 1684 } 1685 return dAtA[:n], nil 1686 } 1687 1688 func (m *Foo) MarshalTo(dAtA []byte) (int, error) { 1689 var i int 1690 _ = i 1691 var l int 1692 _ = l 1693 if m.Bar != nil { 1694 dAtA[i] = 0xa 1695 i++ 1696 i = encodeVarintFoo(dAtA, i, uint64(m.Bar.Size())) 1697 n1, err := m.Bar.MarshalTo(dAtA[i:]) 1698 if err != nil { 1699 return 0, err 1700 } 1701 i += n1 1702 } 1703 return i, nil 1704 } 1705 1706 func (m *Foo_Bar) Marshal() (dAtA []byte, err error) { 1707 size := m.Size() 1708 dAtA = make([]byte, size) 1709 n, err := m.MarshalTo(dAtA) 1710 if err != nil { 1711 return nil, err 1712 } 1713 return dAtA[:n], nil 1714 } 1715 1716 func (m *Foo_Bar) MarshalTo(dAtA []byte) (int, error) { 1717 var i int 1718 _ = i 1719 var l int 1720 _ = l 1721 if m.Baz != 0 { 1722 dAtA[i] = 0x8 1723 i++ 1724 i = encodeVarintFoo(dAtA, i, uint64(m.Baz)) 1725 } 1726 if m.Bat != 0 { 1727 dAtA[i] = 0x10 1728 i++ 1729 i = encodeVarintFoo(dAtA, i, uint64(m.Bat)) 1730 } 1731 return i, nil 1732 } 1733 1734 func (m *Barr) Marshal() (dAtA []byte, err error) { 1735 size := m.Size() 1736 dAtA = make([]byte, size) 1737 n, err := m.MarshalTo(dAtA) 1738 if err != nil { 1739 return nil, err 1740 } 1741 return dAtA[:n], nil 1742 } 1743 1744 func (m *Barr) MarshalTo(dAtA []byte) (int, error) { 1745 var i int 1746 _ = i 1747 var l int 1748 _ = l 1749 if m.Hello != 0 { 1750 dAtA[i] = 0x8 1751 i++ 1752 i = encodeVarintFoo(dAtA, i, uint64(m.Hello)) 1753 } 1754 if m.Dep != nil { 1755 dAtA[i] = 0x12 1756 i++ 1757 i = encodeVarintFoo(dAtA, i, uint64(m.Dep.Size())) 1758 n2, err := m.Dep.MarshalTo(dAtA[i:]) 1759 if err != nil { 1760 return 0, err 1761 } 1762 i += n2 1763 } 1764 if m.Timestamp != nil { 1765 dAtA[i] = 0x1a 1766 i++ 1767 i = encodeVarintFoo(dAtA, i, uint64(m.Timestamp.Size())) 1768 n3, err := m.Timestamp.MarshalTo(dAtA[i:]) 1769 if err != nil { 1770 return 0, err 1771 } 1772 i += n3 1773 } 1774 return i, nil 1775 } 1776 1777 func (m *Another) Marshal() (dAtA []byte, err error) { 1778 size := m.Size() 1779 dAtA = make([]byte, size) 1780 n, err := m.MarshalTo(dAtA) 1781 if err != nil { 1782 return nil, err 1783 } 1784 return dAtA[:n], nil 1785 } 1786 1787 func (m *Another) MarshalTo(dAtA []byte) (int, error) { 1788 var i int 1789 _ = i 1790 var l int 1791 _ = l 1792 if m.One != 0 { 1793 dAtA[i] = 0x8 1794 i++ 1795 i = encodeVarintFoo(dAtA, i, uint64(m.One)) 1796 } 1797 if len(m.Two) > 0 { 1798 dAtA[i] = 0x12 1799 i++ 1800 i = encodeVarintFoo(dAtA, i, uint64(len(m.Two))) 1801 i += copy(dAtA[i:], m.Two) 1802 } 1803 if m.Another != nil { 1804 dAtA[i] = 0x1a 1805 i++ 1806 i = encodeVarintFoo(dAtA, i, uint64(m.Another.Size())) 1807 n4, err := m.Another.MarshalTo(dAtA[i:]) 1808 if err != nil { 1809 return 0, err 1810 } 1811 i += n4 1812 } 1813 if len(m.Four) > 0 { 1814 for _, s := range m.Four { 1815 dAtA[i] = 0x22 1816 i++ 1817 l = len(s) 1818 for l >= 1<<7 { 1819 dAtA[i] = uint8(uint64(l)&0x7f | 0x80) 1820 l >>= 7 1821 i++ 1822 } 1823 dAtA[i] = uint8(l) 1824 i++ 1825 i += copy(dAtA[i:], s) 1826 } 1827 } 1828 if m.Hello != 0 { 1829 dAtA[i] = 0x28 1830 i++ 1831 i = encodeVarintFoo(dAtA, i, uint64(m.Hello)) 1832 } 1833 if len(m.M) > 0 { 1834 for k, _ := range m.M { 1835 dAtA[i] = 0x32 1836 i++ 1837 v := m.M[k] 1838 mapSize := 1 + len(k) + sovFoo(uint64(len(k))) + 1 + sovFoo(uint64(v)) 1839 i = encodeVarintFoo(dAtA, i, uint64(mapSize)) 1840 dAtA[i] = 0xa 1841 i++ 1842 i = encodeVarintFoo(dAtA, i, uint64(len(k))) 1843 i += copy(dAtA[i:], k) 1844 dAtA[i] = 0x10 1845 i++ 1846 i = encodeVarintFoo(dAtA, i, uint64(v)) 1847 } 1848 } 1849 if m.OneofOneof != nil { 1850 nn5, err := m.OneofOneof.MarshalTo(dAtA[i:]) 1851 if err != nil { 1852 return 0, err 1853 } 1854 i += nn5 1855 } 1856 if len(m.Nine) > 0 { 1857 for _, msg := range m.Nine { 1858 dAtA[i] = 0x4a 1859 i++ 1860 i = encodeVarintFoo(dAtA, i, uint64(msg.Size())) 1861 n, err := msg.MarshalTo(dAtA[i:]) 1862 if err != nil { 1863 return 0, err 1864 } 1865 i += n 1866 } 1867 } 1868 if m.Duration != nil { 1869 dAtA[i] = 0x52 1870 i++ 1871 i = encodeVarintFoo(dAtA, i, uint64(m.Duration.Size())) 1872 n6, err := m.Duration.MarshalTo(dAtA[i:]) 1873 if err != nil { 1874 return 0, err 1875 } 1876 i += n6 1877 } 1878 return i, nil 1879 } 1880 1881 func (m *Another_Seven) MarshalTo(dAtA []byte) (int, error) { 1882 i := 0 1883 dAtA[i] = 0x38 1884 i++ 1885 i = encodeVarintFoo(dAtA, i, uint64(m.Seven)) 1886 return i, nil 1887 } 1888 func (m *Another_Eight) MarshalTo(dAtA []byte) (int, error) { 1889 i := 0 1890 dAtA[i] = 0x42 1891 i++ 1892 i = encodeVarintFoo(dAtA, i, uint64(len(m.Eight))) 1893 i += copy(dAtA[i:], m.Eight) 1894 return i, nil 1895 } 1896 func (m *HasWKT) Marshal() (dAtA []byte, err error) { 1897 size := m.Size() 1898 dAtA = make([]byte, size) 1899 n, err := m.MarshalTo(dAtA) 1900 if err != nil { 1901 return nil, err 1902 } 1903 return dAtA[:n], nil 1904 } 1905 1906 func (m *HasWKT) MarshalTo(dAtA []byte) (int, error) { 1907 var i int 1908 _ = i 1909 var l int 1910 _ = l 1911 if m.Duration != nil { 1912 dAtA[i] = 0xa 1913 i++ 1914 i = encodeVarintFoo(dAtA, i, uint64(m.Duration.Size())) 1915 n7, err := m.Duration.MarshalTo(dAtA[i:]) 1916 if err != nil { 1917 return 0, err 1918 } 1919 i += n7 1920 } 1921 return i, nil 1922 } 1923 1924 func (m *Bazz) Marshal() (dAtA []byte, err error) { 1925 size := m.Size() 1926 dAtA = make([]byte, size) 1927 n, err := m.MarshalTo(dAtA) 1928 if err != nil { 1929 return nil, err 1930 } 1931 return dAtA[:n], nil 1932 } 1933 1934 func (m *Bazz) MarshalTo(dAtA []byte) (int, error) { 1935 var i int 1936 _ = i 1937 var l int 1938 _ = l 1939 return i, nil 1940 } 1941 1942 func (m *BarRequest) Marshal() (dAtA []byte, err error) { 1943 size := m.Size() 1944 dAtA = make([]byte, size) 1945 n, err := m.MarshalTo(dAtA) 1946 if err != nil { 1947 return nil, err 1948 } 1949 return dAtA[:n], nil 1950 } 1951 1952 func (m *BarRequest) MarshalTo(dAtA []byte) (int, error) { 1953 var i int 1954 _ = i 1955 var l int 1956 _ = l 1957 if m.Id != 0 { 1958 dAtA[i] = 0x8 1959 i++ 1960 i = encodeVarintFoo(dAtA, i, uint64(m.Id)) 1961 } 1962 return i, nil 1963 } 1964 1965 func (m *FooResponse) Marshal() (dAtA []byte, err error) { 1966 size := m.Size() 1967 dAtA = make([]byte, size) 1968 n, err := m.MarshalTo(dAtA) 1969 if err != nil { 1970 return nil, err 1971 } 1972 return dAtA[:n], nil 1973 } 1974 1975 func (m *FooResponse) MarshalTo(dAtA []byte) (int, error) { 1976 var i int 1977 _ = i 1978 var l int 1979 _ = l 1980 if m.Dep != nil { 1981 dAtA[i] = 0xa 1982 i++ 1983 i = encodeVarintFoo(dAtA, i, uint64(m.Dep.Size())) 1984 n8, err := m.Dep.MarshalTo(dAtA[i:]) 1985 if err != nil { 1986 return 0, err 1987 } 1988 i += n8 1989 } 1990 return i, nil 1991 } 1992 1993 func (m *ExclamationRequest) Marshal() (dAtA []byte, err error) { 1994 size := m.Size() 1995 dAtA = make([]byte, size) 1996 n, err := m.MarshalTo(dAtA) 1997 if err != nil { 1998 return nil, err 1999 } 2000 return dAtA[:n], nil 2001 } 2002 2003 func (m *ExclamationRequest) MarshalTo(dAtA []byte) (int, error) { 2004 var i int 2005 _ = i 2006 var l int 2007 _ = l 2008 if len(m.Value) > 0 { 2009 dAtA[i] = 0xa 2010 i++ 2011 i = encodeVarintFoo(dAtA, i, uint64(len(m.Value))) 2012 i += copy(dAtA[i:], m.Value) 2013 } 2014 return i, nil 2015 } 2016 2017 func (m *ExclamationResponse) Marshal() (dAtA []byte, err error) { 2018 size := m.Size() 2019 dAtA = make([]byte, size) 2020 n, err := m.MarshalTo(dAtA) 2021 if err != nil { 2022 return nil, err 2023 } 2024 return dAtA[:n], nil 2025 } 2026 2027 func (m *ExclamationResponse) MarshalTo(dAtA []byte) (int, error) { 2028 var i int 2029 _ = i 2030 var l int 2031 _ = l 2032 if len(m.Value) > 0 { 2033 dAtA[i] = 0xa 2034 i++ 2035 i = encodeVarintFoo(dAtA, i, uint64(len(m.Value))) 2036 i += copy(dAtA[i:], m.Value) 2037 } 2038 return i, nil 2039 } 2040 2041 func encodeVarintFoo(dAtA []byte, offset int, v uint64) int { 2042 for v >= 1<<7 { 2043 dAtA[offset] = uint8(v&0x7f | 0x80) 2044 v >>= 7 2045 offset++ 2046 } 2047 dAtA[offset] = uint8(v) 2048 return offset + 1 2049 } 2050 func (m *Foo) Size() (n int) { 2051 var l int 2052 _ = l 2053 if m.Bar != nil { 2054 l = m.Bar.Size() 2055 n += 1 + l + sovFoo(uint64(l)) 2056 } 2057 return n 2058 } 2059 2060 func (m *Foo_Bar) Size() (n int) { 2061 var l int 2062 _ = l 2063 if m.Baz != 0 { 2064 n += 1 + sovFoo(uint64(m.Baz)) 2065 } 2066 if m.Bat != 0 { 2067 n += 1 + sovFoo(uint64(m.Bat)) 2068 } 2069 return n 2070 } 2071 2072 func (m *Barr) Size() (n int) { 2073 var l int 2074 _ = l 2075 if m.Hello != 0 { 2076 n += 1 + sovFoo(uint64(m.Hello)) 2077 } 2078 if m.Dep != nil { 2079 l = m.Dep.Size() 2080 n += 1 + l + sovFoo(uint64(l)) 2081 } 2082 if m.Timestamp != nil { 2083 l = m.Timestamp.Size() 2084 n += 1 + l + sovFoo(uint64(l)) 2085 } 2086 return n 2087 } 2088 2089 func (m *Another) Size() (n int) { 2090 var l int 2091 _ = l 2092 if m.One != 0 { 2093 n += 1 + sovFoo(uint64(m.One)) 2094 } 2095 l = len(m.Two) 2096 if l > 0 { 2097 n += 1 + l + sovFoo(uint64(l)) 2098 } 2099 if m.Another != nil { 2100 l = m.Another.Size() 2101 n += 1 + l + sovFoo(uint64(l)) 2102 } 2103 if len(m.Four) > 0 { 2104 for _, s := range m.Four { 2105 l = len(s) 2106 n += 1 + l + sovFoo(uint64(l)) 2107 } 2108 } 2109 if m.Hello != 0 { 2110 n += 1 + sovFoo(uint64(m.Hello)) 2111 } 2112 if len(m.M) > 0 { 2113 for k, v := range m.M { 2114 _ = k 2115 _ = v 2116 mapEntrySize := 1 + len(k) + sovFoo(uint64(len(k))) + 1 + sovFoo(uint64(v)) 2117 n += mapEntrySize + 1 + sovFoo(uint64(mapEntrySize)) 2118 } 2119 } 2120 if m.OneofOneof != nil { 2121 n += m.OneofOneof.Size() 2122 } 2123 if len(m.Nine) > 0 { 2124 for _, e := range m.Nine { 2125 l = e.Size() 2126 n += 1 + l + sovFoo(uint64(l)) 2127 } 2128 } 2129 if m.Duration != nil { 2130 l = m.Duration.Size() 2131 n += 1 + l + sovFoo(uint64(l)) 2132 } 2133 return n 2134 } 2135 2136 func (m *Another_Seven) Size() (n int) { 2137 var l int 2138 _ = l 2139 n += 1 + sovFoo(uint64(m.Seven)) 2140 return n 2141 } 2142 func (m *Another_Eight) Size() (n int) { 2143 var l int 2144 _ = l 2145 l = len(m.Eight) 2146 n += 1 + l + sovFoo(uint64(l)) 2147 return n 2148 } 2149 func (m *HasWKT) Size() (n int) { 2150 var l int 2151 _ = l 2152 if m.Duration != nil { 2153 l = m.Duration.Size() 2154 n += 1 + l + sovFoo(uint64(l)) 2155 } 2156 return n 2157 } 2158 2159 func (m *Bazz) Size() (n int) { 2160 var l int 2161 _ = l 2162 return n 2163 } 2164 2165 func (m *BarRequest) Size() (n int) { 2166 var l int 2167 _ = l 2168 if m.Id != 0 { 2169 n += 1 + sovFoo(uint64(m.Id)) 2170 } 2171 return n 2172 } 2173 2174 func (m *FooResponse) Size() (n int) { 2175 var l int 2176 _ = l 2177 if m.Dep != nil { 2178 l = m.Dep.Size() 2179 n += 1 + l + sovFoo(uint64(l)) 2180 } 2181 return n 2182 } 2183 2184 func (m *ExclamationRequest) Size() (n int) { 2185 var l int 2186 _ = l 2187 l = len(m.Value) 2188 if l > 0 { 2189 n += 1 + l + sovFoo(uint64(l)) 2190 } 2191 return n 2192 } 2193 2194 func (m *ExclamationResponse) Size() (n int) { 2195 var l int 2196 _ = l 2197 l = len(m.Value) 2198 if l > 0 { 2199 n += 1 + l + sovFoo(uint64(l)) 2200 } 2201 return n 2202 } 2203 2204 func sovFoo(x uint64) (n int) { 2205 for { 2206 n++ 2207 x >>= 7 2208 if x == 0 { 2209 break 2210 } 2211 } 2212 return n 2213 } 2214 func sozFoo(x uint64) (n int) { 2215 return sovFoo(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 2216 } 2217 func (this *Foo) String() string { 2218 if this == nil { 2219 return "nil" 2220 } 2221 s := strings.Join([]string{`&Foo{`, 2222 `Bar:` + strings.Replace(fmt.Sprintf("%v", this.Bar), "Foo_Bar", "Foo_Bar", 1) + `,`, 2223 `}`, 2224 }, "") 2225 return s 2226 } 2227 func (this *Foo_Bar) String() string { 2228 if this == nil { 2229 return "nil" 2230 } 2231 s := strings.Join([]string{`&Foo_Bar{`, 2232 `Baz:` + fmt.Sprintf("%v", this.Baz) + `,`, 2233 `Bat:` + fmt.Sprintf("%v", this.Bat) + `,`, 2234 `}`, 2235 }, "") 2236 return s 2237 } 2238 func (this *Barr) String() string { 2239 if this == nil { 2240 return "nil" 2241 } 2242 s := strings.Join([]string{`&Barr{`, 2243 `Hello:` + fmt.Sprintf("%v", this.Hello) + `,`, 2244 `Dep:` + strings.Replace(fmt.Sprintf("%v", this.Dep), "Dep", "Dep", 1) + `,`, 2245 `Timestamp:` + strings.Replace(fmt.Sprintf("%v", this.Timestamp), "Timestamp", "types.Timestamp", 1) + `,`, 2246 `}`, 2247 }, "") 2248 return s 2249 } 2250 func (this *Another) String() string { 2251 if this == nil { 2252 return "nil" 2253 } 2254 keysForM := make([]string, 0, len(this.M)) 2255 for k, _ := range this.M { 2256 keysForM = append(keysForM, k) 2257 } 2258 github_com_gogo_protobuf_sortkeys.Strings(keysForM) 2259 mapStringForM := "map[string]int64{" 2260 for _, k := range keysForM { 2261 mapStringForM += fmt.Sprintf("%v: %v,", k, this.M[k]) 2262 } 2263 mapStringForM += "}" 2264 s := strings.Join([]string{`&Another{`, 2265 `One:` + fmt.Sprintf("%v", this.One) + `,`, 2266 `Two:` + fmt.Sprintf("%v", this.Two) + `,`, 2267 `Another:` + strings.Replace(fmt.Sprintf("%v", this.Another), "Another", "Another", 1) + `,`, 2268 `Four:` + fmt.Sprintf("%v", this.Four) + `,`, 2269 `Hello:` + fmt.Sprintf("%v", this.Hello) + `,`, 2270 `M:` + mapStringForM + `,`, 2271 `OneofOneof:` + fmt.Sprintf("%v", this.OneofOneof) + `,`, 2272 `Nine:` + strings.Replace(fmt.Sprintf("%v", this.Nine), "Another", "Another", 1) + `,`, 2273 `Duration:` + strings.Replace(fmt.Sprintf("%v", this.Duration), "Duration", "types.Duration", 1) + `,`, 2274 `}`, 2275 }, "") 2276 return s 2277 } 2278 func (this *Another_Seven) String() string { 2279 if this == nil { 2280 return "nil" 2281 } 2282 s := strings.Join([]string{`&Another_Seven{`, 2283 `Seven:` + fmt.Sprintf("%v", this.Seven) + `,`, 2284 `}`, 2285 }, "") 2286 return s 2287 } 2288 func (this *Another_Eight) String() string { 2289 if this == nil { 2290 return "nil" 2291 } 2292 s := strings.Join([]string{`&Another_Eight{`, 2293 `Eight:` + fmt.Sprintf("%v", this.Eight) + `,`, 2294 `}`, 2295 }, "") 2296 return s 2297 } 2298 func (this *HasWKT) String() string { 2299 if this == nil { 2300 return "nil" 2301 } 2302 s := strings.Join([]string{`&HasWKT{`, 2303 `Duration:` + strings.Replace(fmt.Sprintf("%v", this.Duration), "Duration", "types.Duration", 1) + `,`, 2304 `}`, 2305 }, "") 2306 return s 2307 } 2308 func (this *Bazz) String() string { 2309 if this == nil { 2310 return "nil" 2311 } 2312 s := strings.Join([]string{`&Bazz{`, 2313 `}`, 2314 }, "") 2315 return s 2316 } 2317 func (this *BarRequest) String() string { 2318 if this == nil { 2319 return "nil" 2320 } 2321 s := strings.Join([]string{`&BarRequest{`, 2322 `Id:` + fmt.Sprintf("%v", this.Id) + `,`, 2323 `}`, 2324 }, "") 2325 return s 2326 } 2327 func (this *FooResponse) String() string { 2328 if this == nil { 2329 return "nil" 2330 } 2331 s := strings.Join([]string{`&FooResponse{`, 2332 `Dep:` + strings.Replace(fmt.Sprintf("%v", this.Dep), "Dep", "Dep", 1) + `,`, 2333 `}`, 2334 }, "") 2335 return s 2336 } 2337 func (this *ExclamationRequest) String() string { 2338 if this == nil { 2339 return "nil" 2340 } 2341 s := strings.Join([]string{`&ExclamationRequest{`, 2342 `Value:` + fmt.Sprintf("%v", this.Value) + `,`, 2343 `}`, 2344 }, "") 2345 return s 2346 } 2347 func (this *ExclamationResponse) String() string { 2348 if this == nil { 2349 return "nil" 2350 } 2351 s := strings.Join([]string{`&ExclamationResponse{`, 2352 `Value:` + fmt.Sprintf("%v", this.Value) + `,`, 2353 `}`, 2354 }, "") 2355 return s 2356 } 2357 func valueToStringFoo(v interface{}) string { 2358 rv := reflect.ValueOf(v) 2359 if rv.IsNil() { 2360 return "nil" 2361 } 2362 pv := reflect.Indirect(rv).Interface() 2363 return fmt.Sprintf("*%v", pv) 2364 } 2365 func (m *Foo) Unmarshal(dAtA []byte) error { 2366 l := len(dAtA) 2367 iNdEx := 0 2368 for iNdEx < l { 2369 preIndex := iNdEx 2370 var wire uint64 2371 for shift := uint(0); ; shift += 7 { 2372 if shift >= 64 { 2373 return ErrIntOverflowFoo 2374 } 2375 if iNdEx >= l { 2376 return io.ErrUnexpectedEOF 2377 } 2378 b := dAtA[iNdEx] 2379 iNdEx++ 2380 wire |= (uint64(b) & 0x7F) << shift 2381 if b < 0x80 { 2382 break 2383 } 2384 } 2385 fieldNum := int32(wire >> 3) 2386 wireType := int(wire & 0x7) 2387 if wireType == 4 { 2388 return fmt.Errorf("proto: Foo: wiretype end group for non-group") 2389 } 2390 if fieldNum <= 0 { 2391 return fmt.Errorf("proto: Foo: illegal tag %d (wire type %d)", fieldNum, wire) 2392 } 2393 switch fieldNum { 2394 case 1: 2395 if wireType != 2 { 2396 return fmt.Errorf("proto: wrong wireType = %d for field Bar", wireType) 2397 } 2398 var msglen int 2399 for shift := uint(0); ; shift += 7 { 2400 if shift >= 64 { 2401 return ErrIntOverflowFoo 2402 } 2403 if iNdEx >= l { 2404 return io.ErrUnexpectedEOF 2405 } 2406 b := dAtA[iNdEx] 2407 iNdEx++ 2408 msglen |= (int(b) & 0x7F) << shift 2409 if b < 0x80 { 2410 break 2411 } 2412 } 2413 if msglen < 0 { 2414 return ErrInvalidLengthFoo 2415 } 2416 postIndex := iNdEx + msglen 2417 if postIndex > l { 2418 return io.ErrUnexpectedEOF 2419 } 2420 if m.Bar == nil { 2421 m.Bar = &Foo_Bar{} 2422 } 2423 if err := m.Bar.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 2424 return err 2425 } 2426 iNdEx = postIndex 2427 default: 2428 iNdEx = preIndex 2429 skippy, err := skipFoo(dAtA[iNdEx:]) 2430 if err != nil { 2431 return err 2432 } 2433 if skippy < 0 { 2434 return ErrInvalidLengthFoo 2435 } 2436 if (iNdEx + skippy) > l { 2437 return io.ErrUnexpectedEOF 2438 } 2439 iNdEx += skippy 2440 } 2441 } 2442 2443 if iNdEx > l { 2444 return io.ErrUnexpectedEOF 2445 } 2446 return nil 2447 } 2448 func (m *Foo_Bar) Unmarshal(dAtA []byte) error { 2449 l := len(dAtA) 2450 iNdEx := 0 2451 for iNdEx < l { 2452 preIndex := iNdEx 2453 var wire uint64 2454 for shift := uint(0); ; shift += 7 { 2455 if shift >= 64 { 2456 return ErrIntOverflowFoo 2457 } 2458 if iNdEx >= l { 2459 return io.ErrUnexpectedEOF 2460 } 2461 b := dAtA[iNdEx] 2462 iNdEx++ 2463 wire |= (uint64(b) & 0x7F) << shift 2464 if b < 0x80 { 2465 break 2466 } 2467 } 2468 fieldNum := int32(wire >> 3) 2469 wireType := int(wire & 0x7) 2470 if wireType == 4 { 2471 return fmt.Errorf("proto: Bar: wiretype end group for non-group") 2472 } 2473 if fieldNum <= 0 { 2474 return fmt.Errorf("proto: Bar: illegal tag %d (wire type %d)", fieldNum, wire) 2475 } 2476 switch fieldNum { 2477 case 1: 2478 if wireType != 0 { 2479 return fmt.Errorf("proto: wrong wireType = %d for field Baz", wireType) 2480 } 2481 m.Baz = 0 2482 for shift := uint(0); ; shift += 7 { 2483 if shift >= 64 { 2484 return ErrIntOverflowFoo 2485 } 2486 if iNdEx >= l { 2487 return io.ErrUnexpectedEOF 2488 } 2489 b := dAtA[iNdEx] 2490 iNdEx++ 2491 m.Baz |= (Foo_Bar_Baz(b) & 0x7F) << shift 2492 if b < 0x80 { 2493 break 2494 } 2495 } 2496 case 2: 2497 if wireType != 0 { 2498 return fmt.Errorf("proto: wrong wireType = %d for field Bat", wireType) 2499 } 2500 m.Bat = 0 2501 for shift := uint(0); ; shift += 7 { 2502 if shift >= 64 { 2503 return ErrIntOverflowFoo 2504 } 2505 if iNdEx >= l { 2506 return io.ErrUnexpectedEOF 2507 } 2508 b := dAtA[iNdEx] 2509 iNdEx++ 2510 m.Bat |= (Foo_Bar_Bat(b) & 0x7F) << shift 2511 if b < 0x80 { 2512 break 2513 } 2514 } 2515 default: 2516 iNdEx = preIndex 2517 skippy, err := skipFoo(dAtA[iNdEx:]) 2518 if err != nil { 2519 return err 2520 } 2521 if skippy < 0 { 2522 return ErrInvalidLengthFoo 2523 } 2524 if (iNdEx + skippy) > l { 2525 return io.ErrUnexpectedEOF 2526 } 2527 iNdEx += skippy 2528 } 2529 } 2530 2531 if iNdEx > l { 2532 return io.ErrUnexpectedEOF 2533 } 2534 return nil 2535 } 2536 func (m *Barr) Unmarshal(dAtA []byte) error { 2537 l := len(dAtA) 2538 iNdEx := 0 2539 for iNdEx < l { 2540 preIndex := iNdEx 2541 var wire uint64 2542 for shift := uint(0); ; shift += 7 { 2543 if shift >= 64 { 2544 return ErrIntOverflowFoo 2545 } 2546 if iNdEx >= l { 2547 return io.ErrUnexpectedEOF 2548 } 2549 b := dAtA[iNdEx] 2550 iNdEx++ 2551 wire |= (uint64(b) & 0x7F) << shift 2552 if b < 0x80 { 2553 break 2554 } 2555 } 2556 fieldNum := int32(wire >> 3) 2557 wireType := int(wire & 0x7) 2558 if wireType == 4 { 2559 return fmt.Errorf("proto: Barr: wiretype end group for non-group") 2560 } 2561 if fieldNum <= 0 { 2562 return fmt.Errorf("proto: Barr: illegal tag %d (wire type %d)", fieldNum, wire) 2563 } 2564 switch fieldNum { 2565 case 1: 2566 if wireType != 0 { 2567 return fmt.Errorf("proto: wrong wireType = %d for field Hello", wireType) 2568 } 2569 m.Hello = 0 2570 for shift := uint(0); ; shift += 7 { 2571 if shift >= 64 { 2572 return ErrIntOverflowFoo 2573 } 2574 if iNdEx >= l { 2575 return io.ErrUnexpectedEOF 2576 } 2577 b := dAtA[iNdEx] 2578 iNdEx++ 2579 m.Hello |= (int64(b) & 0x7F) << shift 2580 if b < 0x80 { 2581 break 2582 } 2583 } 2584 case 2: 2585 if wireType != 2 { 2586 return fmt.Errorf("proto: wrong wireType = %d for field Dep", wireType) 2587 } 2588 var msglen int 2589 for shift := uint(0); ; shift += 7 { 2590 if shift >= 64 { 2591 return ErrIntOverflowFoo 2592 } 2593 if iNdEx >= l { 2594 return io.ErrUnexpectedEOF 2595 } 2596 b := dAtA[iNdEx] 2597 iNdEx++ 2598 msglen |= (int(b) & 0x7F) << shift 2599 if b < 0x80 { 2600 break 2601 } 2602 } 2603 if msglen < 0 { 2604 return ErrInvalidLengthFoo 2605 } 2606 postIndex := iNdEx + msglen 2607 if postIndex > l { 2608 return io.ErrUnexpectedEOF 2609 } 2610 if m.Dep == nil { 2611 m.Dep = &Dep{} 2612 } 2613 if err := m.Dep.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 2614 return err 2615 } 2616 iNdEx = postIndex 2617 case 3: 2618 if wireType != 2 { 2619 return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) 2620 } 2621 var msglen int 2622 for shift := uint(0); ; shift += 7 { 2623 if shift >= 64 { 2624 return ErrIntOverflowFoo 2625 } 2626 if iNdEx >= l { 2627 return io.ErrUnexpectedEOF 2628 } 2629 b := dAtA[iNdEx] 2630 iNdEx++ 2631 msglen |= (int(b) & 0x7F) << shift 2632 if b < 0x80 { 2633 break 2634 } 2635 } 2636 if msglen < 0 { 2637 return ErrInvalidLengthFoo 2638 } 2639 postIndex := iNdEx + msglen 2640 if postIndex > l { 2641 return io.ErrUnexpectedEOF 2642 } 2643 if m.Timestamp == nil { 2644 m.Timestamp = &types.Timestamp{} 2645 } 2646 if err := m.Timestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 2647 return err 2648 } 2649 iNdEx = postIndex 2650 default: 2651 iNdEx = preIndex 2652 skippy, err := skipFoo(dAtA[iNdEx:]) 2653 if err != nil { 2654 return err 2655 } 2656 if skippy < 0 { 2657 return ErrInvalidLengthFoo 2658 } 2659 if (iNdEx + skippy) > l { 2660 return io.ErrUnexpectedEOF 2661 } 2662 iNdEx += skippy 2663 } 2664 } 2665 2666 if iNdEx > l { 2667 return io.ErrUnexpectedEOF 2668 } 2669 return nil 2670 } 2671 func (m *Another) Unmarshal(dAtA []byte) error { 2672 l := len(dAtA) 2673 iNdEx := 0 2674 for iNdEx < l { 2675 preIndex := iNdEx 2676 var wire uint64 2677 for shift := uint(0); ; shift += 7 { 2678 if shift >= 64 { 2679 return ErrIntOverflowFoo 2680 } 2681 if iNdEx >= l { 2682 return io.ErrUnexpectedEOF 2683 } 2684 b := dAtA[iNdEx] 2685 iNdEx++ 2686 wire |= (uint64(b) & 0x7F) << shift 2687 if b < 0x80 { 2688 break 2689 } 2690 } 2691 fieldNum := int32(wire >> 3) 2692 wireType := int(wire & 0x7) 2693 if wireType == 4 { 2694 return fmt.Errorf("proto: Another: wiretype end group for non-group") 2695 } 2696 if fieldNum <= 0 { 2697 return fmt.Errorf("proto: Another: illegal tag %d (wire type %d)", fieldNum, wire) 2698 } 2699 switch fieldNum { 2700 case 1: 2701 if wireType != 0 { 2702 return fmt.Errorf("proto: wrong wireType = %d for field One", wireType) 2703 } 2704 m.One = 0 2705 for shift := uint(0); ; shift += 7 { 2706 if shift >= 64 { 2707 return ErrIntOverflowFoo 2708 } 2709 if iNdEx >= l { 2710 return io.ErrUnexpectedEOF 2711 } 2712 b := dAtA[iNdEx] 2713 iNdEx++ 2714 m.One |= (int64(b) & 0x7F) << shift 2715 if b < 0x80 { 2716 break 2717 } 2718 } 2719 case 2: 2720 if wireType != 2 { 2721 return fmt.Errorf("proto: wrong wireType = %d for field Two", wireType) 2722 } 2723 var stringLen uint64 2724 for shift := uint(0); ; shift += 7 { 2725 if shift >= 64 { 2726 return ErrIntOverflowFoo 2727 } 2728 if iNdEx >= l { 2729 return io.ErrUnexpectedEOF 2730 } 2731 b := dAtA[iNdEx] 2732 iNdEx++ 2733 stringLen |= (uint64(b) & 0x7F) << shift 2734 if b < 0x80 { 2735 break 2736 } 2737 } 2738 intStringLen := int(stringLen) 2739 if intStringLen < 0 { 2740 return ErrInvalidLengthFoo 2741 } 2742 postIndex := iNdEx + intStringLen 2743 if postIndex > l { 2744 return io.ErrUnexpectedEOF 2745 } 2746 m.Two = string(dAtA[iNdEx:postIndex]) 2747 iNdEx = postIndex 2748 case 3: 2749 if wireType != 2 { 2750 return fmt.Errorf("proto: wrong wireType = %d for field Another", wireType) 2751 } 2752 var msglen int 2753 for shift := uint(0); ; shift += 7 { 2754 if shift >= 64 { 2755 return ErrIntOverflowFoo 2756 } 2757 if iNdEx >= l { 2758 return io.ErrUnexpectedEOF 2759 } 2760 b := dAtA[iNdEx] 2761 iNdEx++ 2762 msglen |= (int(b) & 0x7F) << shift 2763 if b < 0x80 { 2764 break 2765 } 2766 } 2767 if msglen < 0 { 2768 return ErrInvalidLengthFoo 2769 } 2770 postIndex := iNdEx + msglen 2771 if postIndex > l { 2772 return io.ErrUnexpectedEOF 2773 } 2774 if m.Another == nil { 2775 m.Another = &Another{} 2776 } 2777 if err := m.Another.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 2778 return err 2779 } 2780 iNdEx = postIndex 2781 case 4: 2782 if wireType != 2 { 2783 return fmt.Errorf("proto: wrong wireType = %d for field Four", wireType) 2784 } 2785 var stringLen uint64 2786 for shift := uint(0); ; shift += 7 { 2787 if shift >= 64 { 2788 return ErrIntOverflowFoo 2789 } 2790 if iNdEx >= l { 2791 return io.ErrUnexpectedEOF 2792 } 2793 b := dAtA[iNdEx] 2794 iNdEx++ 2795 stringLen |= (uint64(b) & 0x7F) << shift 2796 if b < 0x80 { 2797 break 2798 } 2799 } 2800 intStringLen := int(stringLen) 2801 if intStringLen < 0 { 2802 return ErrInvalidLengthFoo 2803 } 2804 postIndex := iNdEx + intStringLen 2805 if postIndex > l { 2806 return io.ErrUnexpectedEOF 2807 } 2808 m.Four = append(m.Four, string(dAtA[iNdEx:postIndex])) 2809 iNdEx = postIndex 2810 case 5: 2811 if wireType != 0 { 2812 return fmt.Errorf("proto: wrong wireType = %d for field Hello", wireType) 2813 } 2814 m.Hello = 0 2815 for shift := uint(0); ; shift += 7 { 2816 if shift >= 64 { 2817 return ErrIntOverflowFoo 2818 } 2819 if iNdEx >= l { 2820 return io.ErrUnexpectedEOF 2821 } 2822 b := dAtA[iNdEx] 2823 iNdEx++ 2824 m.Hello |= (Hello(b) & 0x7F) << shift 2825 if b < 0x80 { 2826 break 2827 } 2828 } 2829 case 6: 2830 if wireType != 2 { 2831 return fmt.Errorf("proto: wrong wireType = %d for field M", wireType) 2832 } 2833 var msglen int 2834 for shift := uint(0); ; shift += 7 { 2835 if shift >= 64 { 2836 return ErrIntOverflowFoo 2837 } 2838 if iNdEx >= l { 2839 return io.ErrUnexpectedEOF 2840 } 2841 b := dAtA[iNdEx] 2842 iNdEx++ 2843 msglen |= (int(b) & 0x7F) << shift 2844 if b < 0x80 { 2845 break 2846 } 2847 } 2848 if msglen < 0 { 2849 return ErrInvalidLengthFoo 2850 } 2851 postIndex := iNdEx + msglen 2852 if postIndex > l { 2853 return io.ErrUnexpectedEOF 2854 } 2855 if m.M == nil { 2856 m.M = make(map[string]int64) 2857 } 2858 var mapkey string 2859 var mapvalue int64 2860 for iNdEx < postIndex { 2861 entryPreIndex := iNdEx 2862 var wire uint64 2863 for shift := uint(0); ; shift += 7 { 2864 if shift >= 64 { 2865 return ErrIntOverflowFoo 2866 } 2867 if iNdEx >= l { 2868 return io.ErrUnexpectedEOF 2869 } 2870 b := dAtA[iNdEx] 2871 iNdEx++ 2872 wire |= (uint64(b) & 0x7F) << shift 2873 if b < 0x80 { 2874 break 2875 } 2876 } 2877 fieldNum := int32(wire >> 3) 2878 if fieldNum == 1 { 2879 var stringLenmapkey uint64 2880 for shift := uint(0); ; shift += 7 { 2881 if shift >= 64 { 2882 return ErrIntOverflowFoo 2883 } 2884 if iNdEx >= l { 2885 return io.ErrUnexpectedEOF 2886 } 2887 b := dAtA[iNdEx] 2888 iNdEx++ 2889 stringLenmapkey |= (uint64(b) & 0x7F) << shift 2890 if b < 0x80 { 2891 break 2892 } 2893 } 2894 intStringLenmapkey := int(stringLenmapkey) 2895 if intStringLenmapkey < 0 { 2896 return ErrInvalidLengthFoo 2897 } 2898 postStringIndexmapkey := iNdEx + intStringLenmapkey 2899 if postStringIndexmapkey > l { 2900 return io.ErrUnexpectedEOF 2901 } 2902 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 2903 iNdEx = postStringIndexmapkey 2904 } else if fieldNum == 2 { 2905 for shift := uint(0); ; shift += 7 { 2906 if shift >= 64 { 2907 return ErrIntOverflowFoo 2908 } 2909 if iNdEx >= l { 2910 return io.ErrUnexpectedEOF 2911 } 2912 b := dAtA[iNdEx] 2913 iNdEx++ 2914 mapvalue |= (int64(b) & 0x7F) << shift 2915 if b < 0x80 { 2916 break 2917 } 2918 } 2919 } else { 2920 iNdEx = entryPreIndex 2921 skippy, err := skipFoo(dAtA[iNdEx:]) 2922 if err != nil { 2923 return err 2924 } 2925 if skippy < 0 { 2926 return ErrInvalidLengthFoo 2927 } 2928 if (iNdEx + skippy) > postIndex { 2929 return io.ErrUnexpectedEOF 2930 } 2931 iNdEx += skippy 2932 } 2933 } 2934 m.M[mapkey] = mapvalue 2935 iNdEx = postIndex 2936 case 7: 2937 if wireType != 0 { 2938 return fmt.Errorf("proto: wrong wireType = %d for field Seven", wireType) 2939 } 2940 var v int64 2941 for shift := uint(0); ; shift += 7 { 2942 if shift >= 64 { 2943 return ErrIntOverflowFoo 2944 } 2945 if iNdEx >= l { 2946 return io.ErrUnexpectedEOF 2947 } 2948 b := dAtA[iNdEx] 2949 iNdEx++ 2950 v |= (int64(b) & 0x7F) << shift 2951 if b < 0x80 { 2952 break 2953 } 2954 } 2955 m.OneofOneof = &Another_Seven{v} 2956 case 8: 2957 if wireType != 2 { 2958 return fmt.Errorf("proto: wrong wireType = %d for field Eight", wireType) 2959 } 2960 var stringLen uint64 2961 for shift := uint(0); ; shift += 7 { 2962 if shift >= 64 { 2963 return ErrIntOverflowFoo 2964 } 2965 if iNdEx >= l { 2966 return io.ErrUnexpectedEOF 2967 } 2968 b := dAtA[iNdEx] 2969 iNdEx++ 2970 stringLen |= (uint64(b) & 0x7F) << shift 2971 if b < 0x80 { 2972 break 2973 } 2974 } 2975 intStringLen := int(stringLen) 2976 if intStringLen < 0 { 2977 return ErrInvalidLengthFoo 2978 } 2979 postIndex := iNdEx + intStringLen 2980 if postIndex > l { 2981 return io.ErrUnexpectedEOF 2982 } 2983 m.OneofOneof = &Another_Eight{string(dAtA[iNdEx:postIndex])} 2984 iNdEx = postIndex 2985 case 9: 2986 if wireType != 2 { 2987 return fmt.Errorf("proto: wrong wireType = %d for field Nine", wireType) 2988 } 2989 var msglen int 2990 for shift := uint(0); ; shift += 7 { 2991 if shift >= 64 { 2992 return ErrIntOverflowFoo 2993 } 2994 if iNdEx >= l { 2995 return io.ErrUnexpectedEOF 2996 } 2997 b := dAtA[iNdEx] 2998 iNdEx++ 2999 msglen |= (int(b) & 0x7F) << shift 3000 if b < 0x80 { 3001 break 3002 } 3003 } 3004 if msglen < 0 { 3005 return ErrInvalidLengthFoo 3006 } 3007 postIndex := iNdEx + msglen 3008 if postIndex > l { 3009 return io.ErrUnexpectedEOF 3010 } 3011 m.Nine = append(m.Nine, &Another{}) 3012 if err := m.Nine[len(m.Nine)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3013 return err 3014 } 3015 iNdEx = postIndex 3016 case 10: 3017 if wireType != 2 { 3018 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 3019 } 3020 var msglen int 3021 for shift := uint(0); ; shift += 7 { 3022 if shift >= 64 { 3023 return ErrIntOverflowFoo 3024 } 3025 if iNdEx >= l { 3026 return io.ErrUnexpectedEOF 3027 } 3028 b := dAtA[iNdEx] 3029 iNdEx++ 3030 msglen |= (int(b) & 0x7F) << shift 3031 if b < 0x80 { 3032 break 3033 } 3034 } 3035 if msglen < 0 { 3036 return ErrInvalidLengthFoo 3037 } 3038 postIndex := iNdEx + msglen 3039 if postIndex > l { 3040 return io.ErrUnexpectedEOF 3041 } 3042 if m.Duration == nil { 3043 m.Duration = &types.Duration{} 3044 } 3045 if err := m.Duration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3046 return err 3047 } 3048 iNdEx = postIndex 3049 default: 3050 iNdEx = preIndex 3051 skippy, err := skipFoo(dAtA[iNdEx:]) 3052 if err != nil { 3053 return err 3054 } 3055 if skippy < 0 { 3056 return ErrInvalidLengthFoo 3057 } 3058 if (iNdEx + skippy) > l { 3059 return io.ErrUnexpectedEOF 3060 } 3061 iNdEx += skippy 3062 } 3063 } 3064 3065 if iNdEx > l { 3066 return io.ErrUnexpectedEOF 3067 } 3068 return nil 3069 } 3070 func (m *HasWKT) Unmarshal(dAtA []byte) error { 3071 l := len(dAtA) 3072 iNdEx := 0 3073 for iNdEx < l { 3074 preIndex := iNdEx 3075 var wire uint64 3076 for shift := uint(0); ; shift += 7 { 3077 if shift >= 64 { 3078 return ErrIntOverflowFoo 3079 } 3080 if iNdEx >= l { 3081 return io.ErrUnexpectedEOF 3082 } 3083 b := dAtA[iNdEx] 3084 iNdEx++ 3085 wire |= (uint64(b) & 0x7F) << shift 3086 if b < 0x80 { 3087 break 3088 } 3089 } 3090 fieldNum := int32(wire >> 3) 3091 wireType := int(wire & 0x7) 3092 if wireType == 4 { 3093 return fmt.Errorf("proto: HasWKT: wiretype end group for non-group") 3094 } 3095 if fieldNum <= 0 { 3096 return fmt.Errorf("proto: HasWKT: illegal tag %d (wire type %d)", fieldNum, wire) 3097 } 3098 switch fieldNum { 3099 case 1: 3100 if wireType != 2 { 3101 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 3102 } 3103 var msglen int 3104 for shift := uint(0); ; shift += 7 { 3105 if shift >= 64 { 3106 return ErrIntOverflowFoo 3107 } 3108 if iNdEx >= l { 3109 return io.ErrUnexpectedEOF 3110 } 3111 b := dAtA[iNdEx] 3112 iNdEx++ 3113 msglen |= (int(b) & 0x7F) << shift 3114 if b < 0x80 { 3115 break 3116 } 3117 } 3118 if msglen < 0 { 3119 return ErrInvalidLengthFoo 3120 } 3121 postIndex := iNdEx + msglen 3122 if postIndex > l { 3123 return io.ErrUnexpectedEOF 3124 } 3125 if m.Duration == nil { 3126 m.Duration = &types.Duration{} 3127 } 3128 if err := m.Duration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3129 return err 3130 } 3131 iNdEx = postIndex 3132 default: 3133 iNdEx = preIndex 3134 skippy, err := skipFoo(dAtA[iNdEx:]) 3135 if err != nil { 3136 return err 3137 } 3138 if skippy < 0 { 3139 return ErrInvalidLengthFoo 3140 } 3141 if (iNdEx + skippy) > l { 3142 return io.ErrUnexpectedEOF 3143 } 3144 iNdEx += skippy 3145 } 3146 } 3147 3148 if iNdEx > l { 3149 return io.ErrUnexpectedEOF 3150 } 3151 return nil 3152 } 3153 func (m *Bazz) Unmarshal(dAtA []byte) error { 3154 l := len(dAtA) 3155 iNdEx := 0 3156 for iNdEx < l { 3157 preIndex := iNdEx 3158 var wire uint64 3159 for shift := uint(0); ; shift += 7 { 3160 if shift >= 64 { 3161 return ErrIntOverflowFoo 3162 } 3163 if iNdEx >= l { 3164 return io.ErrUnexpectedEOF 3165 } 3166 b := dAtA[iNdEx] 3167 iNdEx++ 3168 wire |= (uint64(b) & 0x7F) << shift 3169 if b < 0x80 { 3170 break 3171 } 3172 } 3173 fieldNum := int32(wire >> 3) 3174 wireType := int(wire & 0x7) 3175 if wireType == 4 { 3176 return fmt.Errorf("proto: Bazz: wiretype end group for non-group") 3177 } 3178 if fieldNum <= 0 { 3179 return fmt.Errorf("proto: Bazz: illegal tag %d (wire type %d)", fieldNum, wire) 3180 } 3181 switch fieldNum { 3182 default: 3183 iNdEx = preIndex 3184 skippy, err := skipFoo(dAtA[iNdEx:]) 3185 if err != nil { 3186 return err 3187 } 3188 if skippy < 0 { 3189 return ErrInvalidLengthFoo 3190 } 3191 if (iNdEx + skippy) > l { 3192 return io.ErrUnexpectedEOF 3193 } 3194 iNdEx += skippy 3195 } 3196 } 3197 3198 if iNdEx > l { 3199 return io.ErrUnexpectedEOF 3200 } 3201 return nil 3202 } 3203 func (m *BarRequest) Unmarshal(dAtA []byte) error { 3204 l := len(dAtA) 3205 iNdEx := 0 3206 for iNdEx < l { 3207 preIndex := iNdEx 3208 var wire uint64 3209 for shift := uint(0); ; shift += 7 { 3210 if shift >= 64 { 3211 return ErrIntOverflowFoo 3212 } 3213 if iNdEx >= l { 3214 return io.ErrUnexpectedEOF 3215 } 3216 b := dAtA[iNdEx] 3217 iNdEx++ 3218 wire |= (uint64(b) & 0x7F) << shift 3219 if b < 0x80 { 3220 break 3221 } 3222 } 3223 fieldNum := int32(wire >> 3) 3224 wireType := int(wire & 0x7) 3225 if wireType == 4 { 3226 return fmt.Errorf("proto: BarRequest: wiretype end group for non-group") 3227 } 3228 if fieldNum <= 0 { 3229 return fmt.Errorf("proto: BarRequest: illegal tag %d (wire type %d)", fieldNum, wire) 3230 } 3231 switch fieldNum { 3232 case 1: 3233 if wireType != 0 { 3234 return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) 3235 } 3236 m.Id = 0 3237 for shift := uint(0); ; shift += 7 { 3238 if shift >= 64 { 3239 return ErrIntOverflowFoo 3240 } 3241 if iNdEx >= l { 3242 return io.ErrUnexpectedEOF 3243 } 3244 b := dAtA[iNdEx] 3245 iNdEx++ 3246 m.Id |= (int64(b) & 0x7F) << shift 3247 if b < 0x80 { 3248 break 3249 } 3250 } 3251 default: 3252 iNdEx = preIndex 3253 skippy, err := skipFoo(dAtA[iNdEx:]) 3254 if err != nil { 3255 return err 3256 } 3257 if skippy < 0 { 3258 return ErrInvalidLengthFoo 3259 } 3260 if (iNdEx + skippy) > l { 3261 return io.ErrUnexpectedEOF 3262 } 3263 iNdEx += skippy 3264 } 3265 } 3266 3267 if iNdEx > l { 3268 return io.ErrUnexpectedEOF 3269 } 3270 return nil 3271 } 3272 func (m *FooResponse) Unmarshal(dAtA []byte) error { 3273 l := len(dAtA) 3274 iNdEx := 0 3275 for iNdEx < l { 3276 preIndex := iNdEx 3277 var wire uint64 3278 for shift := uint(0); ; shift += 7 { 3279 if shift >= 64 { 3280 return ErrIntOverflowFoo 3281 } 3282 if iNdEx >= l { 3283 return io.ErrUnexpectedEOF 3284 } 3285 b := dAtA[iNdEx] 3286 iNdEx++ 3287 wire |= (uint64(b) & 0x7F) << shift 3288 if b < 0x80 { 3289 break 3290 } 3291 } 3292 fieldNum := int32(wire >> 3) 3293 wireType := int(wire & 0x7) 3294 if wireType == 4 { 3295 return fmt.Errorf("proto: FooResponse: wiretype end group for non-group") 3296 } 3297 if fieldNum <= 0 { 3298 return fmt.Errorf("proto: FooResponse: illegal tag %d (wire type %d)", fieldNum, wire) 3299 } 3300 switch fieldNum { 3301 case 1: 3302 if wireType != 2 { 3303 return fmt.Errorf("proto: wrong wireType = %d for field Dep", wireType) 3304 } 3305 var msglen int 3306 for shift := uint(0); ; shift += 7 { 3307 if shift >= 64 { 3308 return ErrIntOverflowFoo 3309 } 3310 if iNdEx >= l { 3311 return io.ErrUnexpectedEOF 3312 } 3313 b := dAtA[iNdEx] 3314 iNdEx++ 3315 msglen |= (int(b) & 0x7F) << shift 3316 if b < 0x80 { 3317 break 3318 } 3319 } 3320 if msglen < 0 { 3321 return ErrInvalidLengthFoo 3322 } 3323 postIndex := iNdEx + msglen 3324 if postIndex > l { 3325 return io.ErrUnexpectedEOF 3326 } 3327 if m.Dep == nil { 3328 m.Dep = &Dep{} 3329 } 3330 if err := m.Dep.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3331 return err 3332 } 3333 iNdEx = postIndex 3334 default: 3335 iNdEx = preIndex 3336 skippy, err := skipFoo(dAtA[iNdEx:]) 3337 if err != nil { 3338 return err 3339 } 3340 if skippy < 0 { 3341 return ErrInvalidLengthFoo 3342 } 3343 if (iNdEx + skippy) > l { 3344 return io.ErrUnexpectedEOF 3345 } 3346 iNdEx += skippy 3347 } 3348 } 3349 3350 if iNdEx > l { 3351 return io.ErrUnexpectedEOF 3352 } 3353 return nil 3354 } 3355 func (m *ExclamationRequest) Unmarshal(dAtA []byte) error { 3356 l := len(dAtA) 3357 iNdEx := 0 3358 for iNdEx < l { 3359 preIndex := iNdEx 3360 var wire uint64 3361 for shift := uint(0); ; shift += 7 { 3362 if shift >= 64 { 3363 return ErrIntOverflowFoo 3364 } 3365 if iNdEx >= l { 3366 return io.ErrUnexpectedEOF 3367 } 3368 b := dAtA[iNdEx] 3369 iNdEx++ 3370 wire |= (uint64(b) & 0x7F) << shift 3371 if b < 0x80 { 3372 break 3373 } 3374 } 3375 fieldNum := int32(wire >> 3) 3376 wireType := int(wire & 0x7) 3377 if wireType == 4 { 3378 return fmt.Errorf("proto: ExclamationRequest: wiretype end group for non-group") 3379 } 3380 if fieldNum <= 0 { 3381 return fmt.Errorf("proto: ExclamationRequest: illegal tag %d (wire type %d)", fieldNum, wire) 3382 } 3383 switch fieldNum { 3384 case 1: 3385 if wireType != 2 { 3386 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 3387 } 3388 var stringLen uint64 3389 for shift := uint(0); ; shift += 7 { 3390 if shift >= 64 { 3391 return ErrIntOverflowFoo 3392 } 3393 if iNdEx >= l { 3394 return io.ErrUnexpectedEOF 3395 } 3396 b := dAtA[iNdEx] 3397 iNdEx++ 3398 stringLen |= (uint64(b) & 0x7F) << shift 3399 if b < 0x80 { 3400 break 3401 } 3402 } 3403 intStringLen := int(stringLen) 3404 if intStringLen < 0 { 3405 return ErrInvalidLengthFoo 3406 } 3407 postIndex := iNdEx + intStringLen 3408 if postIndex > l { 3409 return io.ErrUnexpectedEOF 3410 } 3411 m.Value = string(dAtA[iNdEx:postIndex]) 3412 iNdEx = postIndex 3413 default: 3414 iNdEx = preIndex 3415 skippy, err := skipFoo(dAtA[iNdEx:]) 3416 if err != nil { 3417 return err 3418 } 3419 if skippy < 0 { 3420 return ErrInvalidLengthFoo 3421 } 3422 if (iNdEx + skippy) > l { 3423 return io.ErrUnexpectedEOF 3424 } 3425 iNdEx += skippy 3426 } 3427 } 3428 3429 if iNdEx > l { 3430 return io.ErrUnexpectedEOF 3431 } 3432 return nil 3433 } 3434 func (m *ExclamationResponse) Unmarshal(dAtA []byte) error { 3435 l := len(dAtA) 3436 iNdEx := 0 3437 for iNdEx < l { 3438 preIndex := iNdEx 3439 var wire uint64 3440 for shift := uint(0); ; shift += 7 { 3441 if shift >= 64 { 3442 return ErrIntOverflowFoo 3443 } 3444 if iNdEx >= l { 3445 return io.ErrUnexpectedEOF 3446 } 3447 b := dAtA[iNdEx] 3448 iNdEx++ 3449 wire |= (uint64(b) & 0x7F) << shift 3450 if b < 0x80 { 3451 break 3452 } 3453 } 3454 fieldNum := int32(wire >> 3) 3455 wireType := int(wire & 0x7) 3456 if wireType == 4 { 3457 return fmt.Errorf("proto: ExclamationResponse: wiretype end group for non-group") 3458 } 3459 if fieldNum <= 0 { 3460 return fmt.Errorf("proto: ExclamationResponse: illegal tag %d (wire type %d)", fieldNum, wire) 3461 } 3462 switch fieldNum { 3463 case 1: 3464 if wireType != 2 { 3465 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 3466 } 3467 var stringLen uint64 3468 for shift := uint(0); ; shift += 7 { 3469 if shift >= 64 { 3470 return ErrIntOverflowFoo 3471 } 3472 if iNdEx >= l { 3473 return io.ErrUnexpectedEOF 3474 } 3475 b := dAtA[iNdEx] 3476 iNdEx++ 3477 stringLen |= (uint64(b) & 0x7F) << shift 3478 if b < 0x80 { 3479 break 3480 } 3481 } 3482 intStringLen := int(stringLen) 3483 if intStringLen < 0 { 3484 return ErrInvalidLengthFoo 3485 } 3486 postIndex := iNdEx + intStringLen 3487 if postIndex > l { 3488 return io.ErrUnexpectedEOF 3489 } 3490 m.Value = string(dAtA[iNdEx:postIndex]) 3491 iNdEx = postIndex 3492 default: 3493 iNdEx = preIndex 3494 skippy, err := skipFoo(dAtA[iNdEx:]) 3495 if err != nil { 3496 return err 3497 } 3498 if skippy < 0 { 3499 return ErrInvalidLengthFoo 3500 } 3501 if (iNdEx + skippy) > l { 3502 return io.ErrUnexpectedEOF 3503 } 3504 iNdEx += skippy 3505 } 3506 } 3507 3508 if iNdEx > l { 3509 return io.ErrUnexpectedEOF 3510 } 3511 return nil 3512 } 3513 func skipFoo(dAtA []byte) (n int, err error) { 3514 l := len(dAtA) 3515 iNdEx := 0 3516 for iNdEx < l { 3517 var wire uint64 3518 for shift := uint(0); ; shift += 7 { 3519 if shift >= 64 { 3520 return 0, ErrIntOverflowFoo 3521 } 3522 if iNdEx >= l { 3523 return 0, io.ErrUnexpectedEOF 3524 } 3525 b := dAtA[iNdEx] 3526 iNdEx++ 3527 wire |= (uint64(b) & 0x7F) << shift 3528 if b < 0x80 { 3529 break 3530 } 3531 } 3532 wireType := int(wire & 0x7) 3533 switch wireType { 3534 case 0: 3535 for shift := uint(0); ; shift += 7 { 3536 if shift >= 64 { 3537 return 0, ErrIntOverflowFoo 3538 } 3539 if iNdEx >= l { 3540 return 0, io.ErrUnexpectedEOF 3541 } 3542 iNdEx++ 3543 if dAtA[iNdEx-1] < 0x80 { 3544 break 3545 } 3546 } 3547 return iNdEx, nil 3548 case 1: 3549 iNdEx += 8 3550 return iNdEx, nil 3551 case 2: 3552 var length int 3553 for shift := uint(0); ; shift += 7 { 3554 if shift >= 64 { 3555 return 0, ErrIntOverflowFoo 3556 } 3557 if iNdEx >= l { 3558 return 0, io.ErrUnexpectedEOF 3559 } 3560 b := dAtA[iNdEx] 3561 iNdEx++ 3562 length |= (int(b) & 0x7F) << shift 3563 if b < 0x80 { 3564 break 3565 } 3566 } 3567 iNdEx += length 3568 if length < 0 { 3569 return 0, ErrInvalidLengthFoo 3570 } 3571 return iNdEx, nil 3572 case 3: 3573 for { 3574 var innerWire uint64 3575 var start int = iNdEx 3576 for shift := uint(0); ; shift += 7 { 3577 if shift >= 64 { 3578 return 0, ErrIntOverflowFoo 3579 } 3580 if iNdEx >= l { 3581 return 0, io.ErrUnexpectedEOF 3582 } 3583 b := dAtA[iNdEx] 3584 iNdEx++ 3585 innerWire |= (uint64(b) & 0x7F) << shift 3586 if b < 0x80 { 3587 break 3588 } 3589 } 3590 innerWireType := int(innerWire & 0x7) 3591 if innerWireType == 4 { 3592 break 3593 } 3594 next, err := skipFoo(dAtA[start:]) 3595 if err != nil { 3596 return 0, err 3597 } 3598 iNdEx = start + next 3599 } 3600 return iNdEx, nil 3601 case 4: 3602 return iNdEx, nil 3603 case 5: 3604 iNdEx += 4 3605 return iNdEx, nil 3606 default: 3607 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 3608 } 3609 } 3610 panic("unreachable") 3611 } 3612 3613 var ( 3614 ErrInvalidLengthFoo = fmt.Errorf("proto: negative length found during unmarshaling") 3615 ErrIntOverflowFoo = fmt.Errorf("proto: integer overflow") 3616 ) 3617 3618 func init() { proto.RegisterFile("foo/foo.proto", fileDescriptor_foo_985cfaf62b75c4c1) } 3619 3620 var fileDescriptor_foo_985cfaf62b75c4c1 = []byte{ 3621 // 838 bytes of a gzipped FileDescriptorProto 3622 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x4f, 0x8f, 0xdb, 0x44, 3623 0x1c, 0xcd, 0xd8, 0x9b, 0x6c, 0xf2, 0x73, 0x77, 0x9b, 0xce, 0x42, 0xd7, 0x58, 0x95, 0x49, 0x7d, 3624 0x40, 0x61, 0x91, 0x9c, 0x2a, 0x05, 0xa9, 0xe2, 0x02, 0x31, 0x49, 0x94, 0x8a, 0x90, 0x54, 0xde, 3625 0x00, 0x52, 0x2f, 0x91, 0x13, 0x8f, 0x77, 0x2d, 0x12, 0x8f, 0xb1, 0x27, 0x4b, 0x1b, 0x84, 0x84, 3626 0xb8, 0x23, 0x21, 0xf1, 0x25, 0xf8, 0x02, 0x7c, 0x01, 0x4e, 0x1c, 0x2b, 0x71, 0xe1, 0xc8, 0x06, 3627 0x0e, 0x1c, 0xfb, 0x01, 0x38, 0xa0, 0x99, 0xb1, 0xf3, 0xa7, 0xbb, 0x07, 0xb4, 0x5c, 0xa2, 0xf9, 3628 0xfd, 0xde, 0xf3, 0x9b, 0x37, 0x6f, 0x7e, 0x13, 0x38, 0x08, 0x28, 0x6d, 0x04, 0x94, 0xda, 0x71, 3629 0x42, 0x19, 0xc5, 0x6a, 0x40, 0xa9, 0x21, 0x7a, 0x3e, 0x89, 0x65, 0xcf, 0xb8, 0x77, 0x46, 0xe9, 3630 0xd9, 0x8c, 0x34, 0xbc, 0x38, 0x6c, 0x78, 0x51, 0x44, 0x99, 0xc7, 0x42, 0x1a, 0xa5, 0x19, 0x6a, 3631 0x66, 0xa8, 0xa8, 0x26, 0x8b, 0xa0, 0xe1, 0x2f, 0x12, 0x41, 0xc8, 0xf0, 0x37, 0x5f, 0xc5, 0x59, 3632 0x38, 0x27, 0x29, 0xf3, 0xe6, 0xb9, 0xfc, 0x41, 0xba, 0x98, 0x34, 0xd2, 0xc5, 0x44, 0x96, 0xd6, 3633 0xcf, 0x08, 0xd4, 0x2e, 0xa5, 0xd8, 0x04, 0x75, 0xe2, 0x25, 0x3a, 0xaa, 0xa1, 0xba, 0xd6, 0xbc, 3634 0x65, 0x73, 0x8b, 0x5d, 0x4a, 0x6d, 0xc7, 0x4b, 0x5c, 0x0e, 0x18, 0xdf, 0x23, 0x50, 0x1d, 0x2f, 3635 0xc1, 0x16, 0xe7, 0x2d, 0x05, 0xef, 0xb0, 0x59, 0xdd, 0xe6, 0xd9, 0x8e, 0xb7, 0xe4, 0xdc, 0xa5, 3636 0xe4, 0x30, 0x5d, 0xb9, 0x96, 0xc3, 0x38, 0x87, 0x59, 0x26, 0x97, 0x5b, 0xe2, 0x63, 0x38, 0xea, 3637 0x0e, 0x87, 0x63, 0xa7, 0xe5, 0x8e, 0x9d, 0xd6, 0xd3, 0xf1, 0xe3, 0xc1, 0x67, 0xad, 0xfe, 0xe3, 3638 0x76, 0xb5, 0x20, 0x71, 0xb6, 0x8b, 0x8f, 0xb6, 0xf0, 0x04, 0xf6, 0x1c, 0x2f, 0x49, 0xf0, 0x6b, 3639 0x50, 0x3c, 0x27, 0xb3, 0x19, 0x15, 0x8e, 0x54, 0x57, 0x16, 0xd8, 0x00, 0xd5, 0x27, 0xb1, 0x70, 3640 0xa0, 0x35, 0xcb, 0xc2, 0x41, 0x9b, 0xc4, 0x2e, 0x6f, 0xe2, 0x47, 0x50, 0x59, 0x67, 0xa2, 0xab, 3641 0x82, 0x61, 0xd8, 0x32, 0x35, 0x3b, 0x4f, 0xcd, 0x1e, 0xe5, 0x0c, 0x77, 0x43, 0xb6, 0xfe, 0x51, 3642 0x60, 0xbf, 0x15, 0x51, 0x76, 0x4e, 0x12, 0x5c, 0x05, 0x95, 0x46, 0x24, 0xdb, 0x95, 0x2f, 0x79, 3643 0x87, 0x7d, 0x45, 0xc5, 0x9e, 0x15, 0x97, 0x2f, 0xf1, 0x5b, 0xb0, 0xef, 0x49, 0x7a, 0xb6, 0x8f, 3644 0xcc, 0x35, 0x93, 0x70, 0x73, 0x10, 0x63, 0xd8, 0x0b, 0xe8, 0x22, 0xd1, 0xf7, 0x6a, 0x6a, 0xbd, 3645 0xe2, 0x8a, 0x35, 0xae, 0xe5, 0xe7, 0x2a, 0x8a, 0x14, 0x41, 0x7c, 0xd9, 0xe3, 0x9d, 0xfc, 0x8c, 3646 0xf7, 0x01, 0xcd, 0xf5, 0x52, 0x4d, 0xad, 0x6b, 0xcd, 0xa3, 0x6d, 0x5d, 0xfb, 0x93, 0x4e, 0xc4, 3647 0x92, 0xe7, 0x2e, 0x9a, 0xe3, 0xbb, 0x50, 0x4c, 0xc9, 0x05, 0x89, 0xf4, 0x7d, 0x6e, 0xb3, 0x57, 3648 0x70, 0x65, 0xc9, 0xfb, 0x24, 0x3c, 0x3b, 0x67, 0x7a, 0x99, 0x9b, 0xe5, 0x7d, 0x51, 0xe2, 0x1a, 3649 0xec, 0x45, 0x61, 0x44, 0xf4, 0x8a, 0x50, 0xdd, 0x75, 0x2b, 0x10, 0xfc, 0x1e, 0x94, 0xf3, 0x81, 3650 0xd3, 0x41, 0x9c, 0xe9, 0x8d, 0x2b, 0xd9, 0xb5, 0x33, 0x82, 0xbb, 0xa6, 0x1a, 0xef, 0x42, 0x49, 3651 0xba, 0xe2, 0x29, 0x7d, 0x41, 0x9e, 0x8b, 0xdc, 0x2a, 0x2e, 0x5f, 0xf2, 0x1b, 0xbc, 0xf0, 0x66, 3652 0x0b, 0x22, 0x92, 0x53, 0x5d, 0x59, 0xbc, 0xaf, 0x3c, 0x42, 0xce, 0x01, 0x68, 0x34, 0x22, 0x34, 3653 0x18, 0x8b, 0x5f, 0xeb, 0x03, 0x28, 0xf5, 0xbc, 0xf4, 0xf3, 0x8f, 0x47, 0x3b, 0x2e, 0xd0, 0x7f, 3654 0x76, 0x61, 0x95, 0xf8, 0xcc, 0x2c, 0x97, 0xd6, 0x3d, 0x00, 0x3e, 0xd7, 0xe4, 0xcb, 0x05, 0x49, 3655 0x19, 0x3e, 0x04, 0x25, 0xf4, 0xb3, 0x8b, 0x54, 0x42, 0xdf, 0x7a, 0x1b, 0xb4, 0x2e, 0xa5, 0x2e, 3656 0x49, 0x63, 0x1a, 0xa5, 0x24, 0x1f, 0x25, 0x74, 0xcd, 0x28, 0x59, 0x27, 0x80, 0x3b, 0xcf, 0xa6, 3657 0x33, 0x6f, 0x2e, 0x77, 0xca, 0x04, 0xd7, 0x07, 0x92, 0x87, 0x94, 0x85, 0xf5, 0x0e, 0x1c, 0xed, 3658 0x70, 0x33, 0xf9, 0x6b, 0xc9, 0x27, 0x03, 0x28, 0x8a, 0xbb, 0xc6, 0x77, 0xe0, 0xa0, 0xd7, 0xe9, 3659 0xf7, 0x87, 0x9b, 0xc9, 0xc7, 0xb7, 0x41, 0x93, 0xad, 0x4f, 0x07, 0xa7, 0x9d, 0x51, 0x15, 0xe1, 3660 0x43, 0x00, 0xd9, 0x18, 0xb9, 0x9d, 0x4e, 0x55, 0xd9, 0x7c, 0xe3, 0xb4, 0xfa, 0xfd, 0xe1, 0x70, 3661 0x50, 0x55, 0x4f, 0xee, 0xca, 0xc7, 0x7b, 0x1b, 0x34, 0xfe, 0x92, 0xd6, 0x5a, 0xcd, 0x00, 0x6e, 3662 0x89, 0x7d, 0x4e, 0x49, 0x72, 0x11, 0x4e, 0x09, 0xbe, 0x2f, 0xff, 0x0c, 0xca, 0x36, 0xff, 0x83, 3663 0x68, 0x93, 0xd8, 0x58, 0xbf, 0xde, 0xb5, 0xe1, 0x87, 0x99, 0x94, 0x00, 0x36, 0x31, 0x1a, 0xeb, 3664 0x68, 0xac, 0x3b, 0xdf, 0xfd, 0xf6, 0xd7, 0x8f, 0x8a, 0x86, 0x2b, 0x8d, 0x89, 0x97, 0x34, 0xbe, 3665 0x0e, 0xfd, 0x6f, 0x9a, 0xbf, 0x28, 0x70, 0xd8, 0x79, 0x36, 0x0d, 0x19, 0xf1, 0xf3, 0xad, 0x3e, 3666 0x04, 0x6d, 0x2b, 0x0f, 0x7c, 0x2c, 0x3e, 0xbf, 0x9a, 0xa6, 0xa1, 0x5f, 0x05, 0x32, 0x27, 0x03, 3667 0x38, 0xde, 0x6a, 0x7f, 0x34, 0x0b, 0x49, 0xc4, 0x4e, 0x59, 0x42, 0xbc, 0xf9, 0x0d, 0xd4, 0xea, 3668 0xe8, 0x15, 0x3d, 0xee, 0x93, 0x24, 0x37, 0xd6, 0x7b, 0xc0, 0xf5, 0x5e, 0xdf, 0x02, 0x9c, 0xd0, 3669 0x0f, 0xff, 0x87, 0xbb, 0x07, 0xc8, 0xe9, 0xbd, 0xb8, 0x34, 0x0b, 0xbf, 0x5f, 0x9a, 0x85, 0x97, 3670 0x97, 0x26, 0xfa, 0x76, 0x65, 0xa2, 0x9f, 0x56, 0x26, 0xfa, 0x75, 0x65, 0xa2, 0x17, 0x2b, 0x13, 3671 0xfd, 0xb1, 0x32, 0xd1, 0xdf, 0x2b, 0xb3, 0xf0, 0x72, 0x65, 0xa2, 0x1f, 0xfe, 0x34, 0x0b, 0xb0, 3672 0x3f, 0xa5, 0x73, 0x2e, 0xe7, 0x94, 0xbb, 0x94, 0x3e, 0xe1, 0xaf, 0xe2, 0x09, 0x7a, 0x5a, 0x0c, 3673 0x28, 0x8d, 0x27, 0x93, 0x92, 0x78, 0x25, 0x0f, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x6a, 0x9c, 3674 0xf6, 0x5a, 0x8e, 0x06, 0x00, 0x00, 3675 }