github.com/jhump/protoreflect@v1.16.0/internal/testprotos/grpc/test.pb.go (about) 1 // This file was copied from github.com/grpc/grpc-go/interop/grpc_testing. 2 // This fork exists because the original source is unstable and has been 3 // moved/refactored and broken clients. 4 5 // Copyright 2017 gRPC authors. 6 // 7 // Licensed under the Apache License, Version 2.0 (the "License"); 8 // you may not use this file except in compliance with the License. 9 // You may obtain a copy of the License at 10 // 11 // http://www.apache.org/licenses/LICENSE-2.0 12 // 13 // Unless required by applicable law or agreed to in writing, software 14 // distributed under the License is distributed on an "AS IS" BASIS, 15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 // See the License for the specific language governing permissions and 17 // limitations under the License. 18 19 // An integration test service that covers all the method signature permutations 20 // of unary/streaming requests/responses. 21 22 // Code generated by protoc-gen-go. DO NOT EDIT. 23 // versions: 24 // protoc-gen-go v1.33.0-devel 25 // protoc v5.26.1 26 // source: grpc/test.proto 27 28 package grpc 29 30 import ( 31 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 32 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 33 emptypb "google.golang.org/protobuf/types/known/emptypb" 34 reflect "reflect" 35 sync "sync" 36 ) 37 38 const ( 39 // Verify that this generated code is sufficiently up-to-date. 40 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 41 // Verify that runtime/protoimpl is sufficiently up-to-date. 42 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 43 ) 44 45 // The type of payload that should be returned. 46 type PayloadType int32 47 48 const ( 49 // Compressable text format. 50 PayloadType_COMPRESSABLE PayloadType = 0 51 // Uncompressable binary format. 52 PayloadType_UNCOMPRESSABLE PayloadType = 1 53 // Randomly chosen from all other formats defined in this enum. 54 PayloadType_RANDOM PayloadType = 2 55 ) 56 57 // Enum value maps for PayloadType. 58 var ( 59 PayloadType_name = map[int32]string{ 60 0: "COMPRESSABLE", 61 1: "UNCOMPRESSABLE", 62 2: "RANDOM", 63 } 64 PayloadType_value = map[string]int32{ 65 "COMPRESSABLE": 0, 66 "UNCOMPRESSABLE": 1, 67 "RANDOM": 2, 68 } 69 ) 70 71 func (x PayloadType) Enum() *PayloadType { 72 p := new(PayloadType) 73 *p = x 74 return p 75 } 76 77 func (x PayloadType) String() string { 78 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 79 } 80 81 func (PayloadType) Descriptor() protoreflect.EnumDescriptor { 82 return file_grpc_test_proto_enumTypes[0].Descriptor() 83 } 84 85 func (PayloadType) Type() protoreflect.EnumType { 86 return &file_grpc_test_proto_enumTypes[0] 87 } 88 89 func (x PayloadType) Number() protoreflect.EnumNumber { 90 return protoreflect.EnumNumber(x) 91 } 92 93 // Deprecated: Use PayloadType.Descriptor instead. 94 func (PayloadType) EnumDescriptor() ([]byte, []int) { 95 return file_grpc_test_proto_rawDescGZIP(), []int{0} 96 } 97 98 // The type of route that a client took to reach a server w.r.t. gRPCLB. 99 // The server must fill in "fallback" if it detects that the RPC reached 100 // the server via the "gRPCLB fallback" path, and "backend" if it detects 101 // that the RPC reached the server via "gRPCLB backend" path (i.e. if it got 102 // the address of this server from the gRPCLB server BalanceLoad RPC). Exactly 103 // how this detection is done is context and server dependant. 104 type GrpclbRouteType int32 105 106 const ( 107 // Server didn't detect the route that a client took to reach it. 108 GrpclbRouteType_GRPCLB_ROUTE_TYPE_UNKNOWN GrpclbRouteType = 0 109 // Indicates that a client reached a server via gRPCLB fallback. 110 GrpclbRouteType_GRPCLB_ROUTE_TYPE_FALLBACK GrpclbRouteType = 1 111 // Indicates that a client reached a server as a gRPCLB-given backend. 112 GrpclbRouteType_GRPCLB_ROUTE_TYPE_BACKEND GrpclbRouteType = 2 113 ) 114 115 // Enum value maps for GrpclbRouteType. 116 var ( 117 GrpclbRouteType_name = map[int32]string{ 118 0: "GRPCLB_ROUTE_TYPE_UNKNOWN", 119 1: "GRPCLB_ROUTE_TYPE_FALLBACK", 120 2: "GRPCLB_ROUTE_TYPE_BACKEND", 121 } 122 GrpclbRouteType_value = map[string]int32{ 123 "GRPCLB_ROUTE_TYPE_UNKNOWN": 0, 124 "GRPCLB_ROUTE_TYPE_FALLBACK": 1, 125 "GRPCLB_ROUTE_TYPE_BACKEND": 2, 126 } 127 ) 128 129 func (x GrpclbRouteType) Enum() *GrpclbRouteType { 130 p := new(GrpclbRouteType) 131 *p = x 132 return p 133 } 134 135 func (x GrpclbRouteType) String() string { 136 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 137 } 138 139 func (GrpclbRouteType) Descriptor() protoreflect.EnumDescriptor { 140 return file_grpc_test_proto_enumTypes[1].Descriptor() 141 } 142 143 func (GrpclbRouteType) Type() protoreflect.EnumType { 144 return &file_grpc_test_proto_enumTypes[1] 145 } 146 147 func (x GrpclbRouteType) Number() protoreflect.EnumNumber { 148 return protoreflect.EnumNumber(x) 149 } 150 151 // Deprecated: Use GrpclbRouteType.Descriptor instead. 152 func (GrpclbRouteType) EnumDescriptor() ([]byte, []int) { 153 return file_grpc_test_proto_rawDescGZIP(), []int{1} 154 } 155 156 // A block of data, to simply increase gRPC message size. 157 type Payload struct { 158 state protoimpl.MessageState 159 sizeCache protoimpl.SizeCache 160 unknownFields protoimpl.UnknownFields 161 162 // The type of data in body. 163 Type PayloadType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.testing.PayloadType" json:"type,omitempty"` 164 // Primary contents of payload. 165 Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` 166 } 167 168 func (x *Payload) Reset() { 169 *x = Payload{} 170 if protoimpl.UnsafeEnabled { 171 mi := &file_grpc_test_proto_msgTypes[0] 172 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 173 ms.StoreMessageInfo(mi) 174 } 175 } 176 177 func (x *Payload) String() string { 178 return protoimpl.X.MessageStringOf(x) 179 } 180 181 func (*Payload) ProtoMessage() {} 182 183 func (x *Payload) ProtoReflect() protoreflect.Message { 184 mi := &file_grpc_test_proto_msgTypes[0] 185 if protoimpl.UnsafeEnabled && x != nil { 186 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 187 if ms.LoadMessageInfo() == nil { 188 ms.StoreMessageInfo(mi) 189 } 190 return ms 191 } 192 return mi.MessageOf(x) 193 } 194 195 // Deprecated: Use Payload.ProtoReflect.Descriptor instead. 196 func (*Payload) Descriptor() ([]byte, []int) { 197 return file_grpc_test_proto_rawDescGZIP(), []int{0} 198 } 199 200 func (x *Payload) GetType() PayloadType { 201 if x != nil { 202 return x.Type 203 } 204 return PayloadType_COMPRESSABLE 205 } 206 207 func (x *Payload) GetBody() []byte { 208 if x != nil { 209 return x.Body 210 } 211 return nil 212 } 213 214 // A protobuf representation for grpc status. This is used by test 215 // clients to specify a status that the server should attempt to return. 216 type EchoStatus struct { 217 state protoimpl.MessageState 218 sizeCache protoimpl.SizeCache 219 unknownFields protoimpl.UnknownFields 220 221 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` 222 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` 223 } 224 225 func (x *EchoStatus) Reset() { 226 *x = EchoStatus{} 227 if protoimpl.UnsafeEnabled { 228 mi := &file_grpc_test_proto_msgTypes[1] 229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 230 ms.StoreMessageInfo(mi) 231 } 232 } 233 234 func (x *EchoStatus) String() string { 235 return protoimpl.X.MessageStringOf(x) 236 } 237 238 func (*EchoStatus) ProtoMessage() {} 239 240 func (x *EchoStatus) ProtoReflect() protoreflect.Message { 241 mi := &file_grpc_test_proto_msgTypes[1] 242 if protoimpl.UnsafeEnabled && x != nil { 243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 244 if ms.LoadMessageInfo() == nil { 245 ms.StoreMessageInfo(mi) 246 } 247 return ms 248 } 249 return mi.MessageOf(x) 250 } 251 252 // Deprecated: Use EchoStatus.ProtoReflect.Descriptor instead. 253 func (*EchoStatus) Descriptor() ([]byte, []int) { 254 return file_grpc_test_proto_rawDescGZIP(), []int{1} 255 } 256 257 func (x *EchoStatus) GetCode() int32 { 258 if x != nil { 259 return x.Code 260 } 261 return 0 262 } 263 264 func (x *EchoStatus) GetMessage() string { 265 if x != nil { 266 return x.Message 267 } 268 return "" 269 } 270 271 // Unary request. 272 type SimpleRequest struct { 273 state protoimpl.MessageState 274 sizeCache protoimpl.SizeCache 275 unknownFields protoimpl.UnknownFields 276 277 // Desired payload type in the response from the server. 278 // If response_type is RANDOM, server randomly chooses one from other formats. 279 ResponseType PayloadType `protobuf:"varint,1,opt,name=response_type,json=responseType,proto3,enum=grpc.testing.PayloadType" json:"response_type,omitempty"` 280 // Desired payload size in the response from the server. 281 // If response_type is COMPRESSABLE, this denotes the size before compression. 282 ResponseSize int32 `protobuf:"varint,2,opt,name=response_size,json=responseSize,proto3" json:"response_size,omitempty"` 283 // Optional input payload sent along with the request. 284 Payload *Payload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` 285 // Whether SimpleResponse should include username. 286 FillUsername bool `protobuf:"varint,4,opt,name=fill_username,json=fillUsername,proto3" json:"fill_username,omitempty"` 287 // Whether SimpleResponse should include OAuth scope. 288 FillOauthScope bool `protobuf:"varint,5,opt,name=fill_oauth_scope,json=fillOauthScope,proto3" json:"fill_oauth_scope,omitempty"` 289 // Whether server should return a given status 290 ResponseStatus *EchoStatus `protobuf:"bytes,7,opt,name=response_status,json=responseStatus,proto3" json:"response_status,omitempty"` 291 // Whether SimpleResponse should include server_id. 292 FillServerId bool `protobuf:"varint,9,opt,name=fill_server_id,json=fillServerId,proto3" json:"fill_server_id,omitempty"` 293 // Whether SimpleResponse should include grpclb_route_type. 294 FillGrpclbRouteType bool `protobuf:"varint,10,opt,name=fill_grpclb_route_type,json=fillGrpclbRouteType,proto3" json:"fill_grpclb_route_type,omitempty"` 295 } 296 297 func (x *SimpleRequest) Reset() { 298 *x = SimpleRequest{} 299 if protoimpl.UnsafeEnabled { 300 mi := &file_grpc_test_proto_msgTypes[2] 301 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 302 ms.StoreMessageInfo(mi) 303 } 304 } 305 306 func (x *SimpleRequest) String() string { 307 return protoimpl.X.MessageStringOf(x) 308 } 309 310 func (*SimpleRequest) ProtoMessage() {} 311 312 func (x *SimpleRequest) ProtoReflect() protoreflect.Message { 313 mi := &file_grpc_test_proto_msgTypes[2] 314 if protoimpl.UnsafeEnabled && x != nil { 315 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 316 if ms.LoadMessageInfo() == nil { 317 ms.StoreMessageInfo(mi) 318 } 319 return ms 320 } 321 return mi.MessageOf(x) 322 } 323 324 // Deprecated: Use SimpleRequest.ProtoReflect.Descriptor instead. 325 func (*SimpleRequest) Descriptor() ([]byte, []int) { 326 return file_grpc_test_proto_rawDescGZIP(), []int{2} 327 } 328 329 func (x *SimpleRequest) GetResponseType() PayloadType { 330 if x != nil { 331 return x.ResponseType 332 } 333 return PayloadType_COMPRESSABLE 334 } 335 336 func (x *SimpleRequest) GetResponseSize() int32 { 337 if x != nil { 338 return x.ResponseSize 339 } 340 return 0 341 } 342 343 func (x *SimpleRequest) GetPayload() *Payload { 344 if x != nil { 345 return x.Payload 346 } 347 return nil 348 } 349 350 func (x *SimpleRequest) GetFillUsername() bool { 351 if x != nil { 352 return x.FillUsername 353 } 354 return false 355 } 356 357 func (x *SimpleRequest) GetFillOauthScope() bool { 358 if x != nil { 359 return x.FillOauthScope 360 } 361 return false 362 } 363 364 func (x *SimpleRequest) GetResponseStatus() *EchoStatus { 365 if x != nil { 366 return x.ResponseStatus 367 } 368 return nil 369 } 370 371 func (x *SimpleRequest) GetFillServerId() bool { 372 if x != nil { 373 return x.FillServerId 374 } 375 return false 376 } 377 378 func (x *SimpleRequest) GetFillGrpclbRouteType() bool { 379 if x != nil { 380 return x.FillGrpclbRouteType 381 } 382 return false 383 } 384 385 // Unary response, as configured by the request. 386 type SimpleResponse struct { 387 state protoimpl.MessageState 388 sizeCache protoimpl.SizeCache 389 unknownFields protoimpl.UnknownFields 390 391 // Payload to increase message size. 392 Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` 393 // The user the request came from, for verifying authentication was 394 // successful when the client expected it. 395 Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` 396 // OAuth scope. 397 OauthScope string `protobuf:"bytes,3,opt,name=oauth_scope,json=oauthScope,proto3" json:"oauth_scope,omitempty"` 398 // Server ID. This must be unique among different server instances, 399 // but the same across all RPC's made to a particular server instance. 400 ServerId string `protobuf:"bytes,4,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` 401 // gRPCLB Path. 402 GrpclbRouteType GrpclbRouteType `protobuf:"varint,5,opt,name=grpclb_route_type,json=grpclbRouteType,proto3,enum=grpc.testing.GrpclbRouteType" json:"grpclb_route_type,omitempty"` 403 // Server hostname. 404 Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"` 405 } 406 407 func (x *SimpleResponse) Reset() { 408 *x = SimpleResponse{} 409 if protoimpl.UnsafeEnabled { 410 mi := &file_grpc_test_proto_msgTypes[3] 411 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 412 ms.StoreMessageInfo(mi) 413 } 414 } 415 416 func (x *SimpleResponse) String() string { 417 return protoimpl.X.MessageStringOf(x) 418 } 419 420 func (*SimpleResponse) ProtoMessage() {} 421 422 func (x *SimpleResponse) ProtoReflect() protoreflect.Message { 423 mi := &file_grpc_test_proto_msgTypes[3] 424 if protoimpl.UnsafeEnabled && x != nil { 425 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 426 if ms.LoadMessageInfo() == nil { 427 ms.StoreMessageInfo(mi) 428 } 429 return ms 430 } 431 return mi.MessageOf(x) 432 } 433 434 // Deprecated: Use SimpleResponse.ProtoReflect.Descriptor instead. 435 func (*SimpleResponse) Descriptor() ([]byte, []int) { 436 return file_grpc_test_proto_rawDescGZIP(), []int{3} 437 } 438 439 func (x *SimpleResponse) GetPayload() *Payload { 440 if x != nil { 441 return x.Payload 442 } 443 return nil 444 } 445 446 func (x *SimpleResponse) GetUsername() string { 447 if x != nil { 448 return x.Username 449 } 450 return "" 451 } 452 453 func (x *SimpleResponse) GetOauthScope() string { 454 if x != nil { 455 return x.OauthScope 456 } 457 return "" 458 } 459 460 func (x *SimpleResponse) GetServerId() string { 461 if x != nil { 462 return x.ServerId 463 } 464 return "" 465 } 466 467 func (x *SimpleResponse) GetGrpclbRouteType() GrpclbRouteType { 468 if x != nil { 469 return x.GrpclbRouteType 470 } 471 return GrpclbRouteType_GRPCLB_ROUTE_TYPE_UNKNOWN 472 } 473 474 func (x *SimpleResponse) GetHostname() string { 475 if x != nil { 476 return x.Hostname 477 } 478 return "" 479 } 480 481 // Client-streaming request. 482 type StreamingInputCallRequest struct { 483 state protoimpl.MessageState 484 sizeCache protoimpl.SizeCache 485 unknownFields protoimpl.UnknownFields 486 487 // Optional input payload sent along with the request. 488 Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` 489 } 490 491 func (x *StreamingInputCallRequest) Reset() { 492 *x = StreamingInputCallRequest{} 493 if protoimpl.UnsafeEnabled { 494 mi := &file_grpc_test_proto_msgTypes[4] 495 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 496 ms.StoreMessageInfo(mi) 497 } 498 } 499 500 func (x *StreamingInputCallRequest) String() string { 501 return protoimpl.X.MessageStringOf(x) 502 } 503 504 func (*StreamingInputCallRequest) ProtoMessage() {} 505 506 func (x *StreamingInputCallRequest) ProtoReflect() protoreflect.Message { 507 mi := &file_grpc_test_proto_msgTypes[4] 508 if protoimpl.UnsafeEnabled && x != nil { 509 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 510 if ms.LoadMessageInfo() == nil { 511 ms.StoreMessageInfo(mi) 512 } 513 return ms 514 } 515 return mi.MessageOf(x) 516 } 517 518 // Deprecated: Use StreamingInputCallRequest.ProtoReflect.Descriptor instead. 519 func (*StreamingInputCallRequest) Descriptor() ([]byte, []int) { 520 return file_grpc_test_proto_rawDescGZIP(), []int{4} 521 } 522 523 func (x *StreamingInputCallRequest) GetPayload() *Payload { 524 if x != nil { 525 return x.Payload 526 } 527 return nil 528 } 529 530 // Client-streaming response. 531 type StreamingInputCallResponse struct { 532 state protoimpl.MessageState 533 sizeCache protoimpl.SizeCache 534 unknownFields protoimpl.UnknownFields 535 536 // Aggregated size of payloads received from the client. 537 AggregatedPayloadSize int32 `protobuf:"varint,1,opt,name=aggregated_payload_size,json=aggregatedPayloadSize,proto3" json:"aggregated_payload_size,omitempty"` 538 } 539 540 func (x *StreamingInputCallResponse) Reset() { 541 *x = StreamingInputCallResponse{} 542 if protoimpl.UnsafeEnabled { 543 mi := &file_grpc_test_proto_msgTypes[5] 544 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 545 ms.StoreMessageInfo(mi) 546 } 547 } 548 549 func (x *StreamingInputCallResponse) String() string { 550 return protoimpl.X.MessageStringOf(x) 551 } 552 553 func (*StreamingInputCallResponse) ProtoMessage() {} 554 555 func (x *StreamingInputCallResponse) ProtoReflect() protoreflect.Message { 556 mi := &file_grpc_test_proto_msgTypes[5] 557 if protoimpl.UnsafeEnabled && x != nil { 558 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 559 if ms.LoadMessageInfo() == nil { 560 ms.StoreMessageInfo(mi) 561 } 562 return ms 563 } 564 return mi.MessageOf(x) 565 } 566 567 // Deprecated: Use StreamingInputCallResponse.ProtoReflect.Descriptor instead. 568 func (*StreamingInputCallResponse) Descriptor() ([]byte, []int) { 569 return file_grpc_test_proto_rawDescGZIP(), []int{5} 570 } 571 572 func (x *StreamingInputCallResponse) GetAggregatedPayloadSize() int32 { 573 if x != nil { 574 return x.AggregatedPayloadSize 575 } 576 return 0 577 } 578 579 // Configuration for a particular response. 580 type ResponseParameters struct { 581 state protoimpl.MessageState 582 sizeCache protoimpl.SizeCache 583 unknownFields protoimpl.UnknownFields 584 585 // Desired payload sizes in responses from the server. 586 // If response_type is COMPRESSABLE, this denotes the size before compression. 587 Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` 588 // Desired interval between consecutive responses in the response stream in 589 // microseconds. 590 IntervalUs int32 `protobuf:"varint,2,opt,name=interval_us,json=intervalUs,proto3" json:"interval_us,omitempty"` 591 } 592 593 func (x *ResponseParameters) Reset() { 594 *x = ResponseParameters{} 595 if protoimpl.UnsafeEnabled { 596 mi := &file_grpc_test_proto_msgTypes[6] 597 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 598 ms.StoreMessageInfo(mi) 599 } 600 } 601 602 func (x *ResponseParameters) String() string { 603 return protoimpl.X.MessageStringOf(x) 604 } 605 606 func (*ResponseParameters) ProtoMessage() {} 607 608 func (x *ResponseParameters) ProtoReflect() protoreflect.Message { 609 mi := &file_grpc_test_proto_msgTypes[6] 610 if protoimpl.UnsafeEnabled && x != nil { 611 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 612 if ms.LoadMessageInfo() == nil { 613 ms.StoreMessageInfo(mi) 614 } 615 return ms 616 } 617 return mi.MessageOf(x) 618 } 619 620 // Deprecated: Use ResponseParameters.ProtoReflect.Descriptor instead. 621 func (*ResponseParameters) Descriptor() ([]byte, []int) { 622 return file_grpc_test_proto_rawDescGZIP(), []int{6} 623 } 624 625 func (x *ResponseParameters) GetSize() int32 { 626 if x != nil { 627 return x.Size 628 } 629 return 0 630 } 631 632 func (x *ResponseParameters) GetIntervalUs() int32 { 633 if x != nil { 634 return x.IntervalUs 635 } 636 return 0 637 } 638 639 // Server-streaming request. 640 type StreamingOutputCallRequest struct { 641 state protoimpl.MessageState 642 sizeCache protoimpl.SizeCache 643 unknownFields protoimpl.UnknownFields 644 645 // Desired payload type in the response from the server. 646 // If response_type is RANDOM, the payload from each response in the stream 647 // might be of different types. This is to simulate a mixed type of payload 648 // stream. 649 ResponseType PayloadType `protobuf:"varint,1,opt,name=response_type,json=responseType,proto3,enum=grpc.testing.PayloadType" json:"response_type,omitempty"` 650 // Configuration for each expected response message. 651 ResponseParameters []*ResponseParameters `protobuf:"bytes,2,rep,name=response_parameters,json=responseParameters,proto3" json:"response_parameters,omitempty"` 652 // Optional input payload sent along with the request. 653 Payload *Payload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` 654 // Whether server should return a given status 655 ResponseStatus *EchoStatus `protobuf:"bytes,7,opt,name=response_status,json=responseStatus,proto3" json:"response_status,omitempty"` 656 } 657 658 func (x *StreamingOutputCallRequest) Reset() { 659 *x = StreamingOutputCallRequest{} 660 if protoimpl.UnsafeEnabled { 661 mi := &file_grpc_test_proto_msgTypes[7] 662 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 663 ms.StoreMessageInfo(mi) 664 } 665 } 666 667 func (x *StreamingOutputCallRequest) String() string { 668 return protoimpl.X.MessageStringOf(x) 669 } 670 671 func (*StreamingOutputCallRequest) ProtoMessage() {} 672 673 func (x *StreamingOutputCallRequest) ProtoReflect() protoreflect.Message { 674 mi := &file_grpc_test_proto_msgTypes[7] 675 if protoimpl.UnsafeEnabled && x != nil { 676 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 677 if ms.LoadMessageInfo() == nil { 678 ms.StoreMessageInfo(mi) 679 } 680 return ms 681 } 682 return mi.MessageOf(x) 683 } 684 685 // Deprecated: Use StreamingOutputCallRequest.ProtoReflect.Descriptor instead. 686 func (*StreamingOutputCallRequest) Descriptor() ([]byte, []int) { 687 return file_grpc_test_proto_rawDescGZIP(), []int{7} 688 } 689 690 func (x *StreamingOutputCallRequest) GetResponseType() PayloadType { 691 if x != nil { 692 return x.ResponseType 693 } 694 return PayloadType_COMPRESSABLE 695 } 696 697 func (x *StreamingOutputCallRequest) GetResponseParameters() []*ResponseParameters { 698 if x != nil { 699 return x.ResponseParameters 700 } 701 return nil 702 } 703 704 func (x *StreamingOutputCallRequest) GetPayload() *Payload { 705 if x != nil { 706 return x.Payload 707 } 708 return nil 709 } 710 711 func (x *StreamingOutputCallRequest) GetResponseStatus() *EchoStatus { 712 if x != nil { 713 return x.ResponseStatus 714 } 715 return nil 716 } 717 718 // Server-streaming response, as configured by the request and parameters. 719 type StreamingOutputCallResponse struct { 720 state protoimpl.MessageState 721 sizeCache protoimpl.SizeCache 722 unknownFields protoimpl.UnknownFields 723 724 // Payload to increase response size. 725 Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` 726 } 727 728 func (x *StreamingOutputCallResponse) Reset() { 729 *x = StreamingOutputCallResponse{} 730 if protoimpl.UnsafeEnabled { 731 mi := &file_grpc_test_proto_msgTypes[8] 732 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 733 ms.StoreMessageInfo(mi) 734 } 735 } 736 737 func (x *StreamingOutputCallResponse) String() string { 738 return protoimpl.X.MessageStringOf(x) 739 } 740 741 func (*StreamingOutputCallResponse) ProtoMessage() {} 742 743 func (x *StreamingOutputCallResponse) ProtoReflect() protoreflect.Message { 744 mi := &file_grpc_test_proto_msgTypes[8] 745 if protoimpl.UnsafeEnabled && x != nil { 746 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 747 if ms.LoadMessageInfo() == nil { 748 ms.StoreMessageInfo(mi) 749 } 750 return ms 751 } 752 return mi.MessageOf(x) 753 } 754 755 // Deprecated: Use StreamingOutputCallResponse.ProtoReflect.Descriptor instead. 756 func (*StreamingOutputCallResponse) Descriptor() ([]byte, []int) { 757 return file_grpc_test_proto_rawDescGZIP(), []int{8} 758 } 759 760 func (x *StreamingOutputCallResponse) GetPayload() *Payload { 761 if x != nil { 762 return x.Payload 763 } 764 return nil 765 } 766 767 type LoadBalancerStatsRequest struct { 768 state protoimpl.MessageState 769 sizeCache protoimpl.SizeCache 770 unknownFields protoimpl.UnknownFields 771 772 // Request stats for the next num_rpcs sent by client. 773 NumRpcs int32 `protobuf:"varint,1,opt,name=num_rpcs,json=numRpcs,proto3" json:"num_rpcs,omitempty"` 774 // If num_rpcs have not completed within timeout_sec, return partial results. 775 TimeoutSec int32 `protobuf:"varint,2,opt,name=timeout_sec,json=timeoutSec,proto3" json:"timeout_sec,omitempty"` 776 } 777 778 func (x *LoadBalancerStatsRequest) Reset() { 779 *x = LoadBalancerStatsRequest{} 780 if protoimpl.UnsafeEnabled { 781 mi := &file_grpc_test_proto_msgTypes[9] 782 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 783 ms.StoreMessageInfo(mi) 784 } 785 } 786 787 func (x *LoadBalancerStatsRequest) String() string { 788 return protoimpl.X.MessageStringOf(x) 789 } 790 791 func (*LoadBalancerStatsRequest) ProtoMessage() {} 792 793 func (x *LoadBalancerStatsRequest) ProtoReflect() protoreflect.Message { 794 mi := &file_grpc_test_proto_msgTypes[9] 795 if protoimpl.UnsafeEnabled && x != nil { 796 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 797 if ms.LoadMessageInfo() == nil { 798 ms.StoreMessageInfo(mi) 799 } 800 return ms 801 } 802 return mi.MessageOf(x) 803 } 804 805 // Deprecated: Use LoadBalancerStatsRequest.ProtoReflect.Descriptor instead. 806 func (*LoadBalancerStatsRequest) Descriptor() ([]byte, []int) { 807 return file_grpc_test_proto_rawDescGZIP(), []int{9} 808 } 809 810 func (x *LoadBalancerStatsRequest) GetNumRpcs() int32 { 811 if x != nil { 812 return x.NumRpcs 813 } 814 return 0 815 } 816 817 func (x *LoadBalancerStatsRequest) GetTimeoutSec() int32 { 818 if x != nil { 819 return x.TimeoutSec 820 } 821 return 0 822 } 823 824 type LoadBalancerStatsResponse struct { 825 state protoimpl.MessageState 826 sizeCache protoimpl.SizeCache 827 unknownFields protoimpl.UnknownFields 828 829 // The number of completed RPCs for each peer. 830 RpcsByPeer map[string]int32 `protobuf:"bytes,1,rep,name=rpcs_by_peer,json=rpcsByPeer,proto3" json:"rpcs_by_peer,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 831 // The number of RPCs that failed to record a remote peer. 832 NumFailures int32 `protobuf:"varint,2,opt,name=num_failures,json=numFailures,proto3" json:"num_failures,omitempty"` 833 } 834 835 func (x *LoadBalancerStatsResponse) Reset() { 836 *x = LoadBalancerStatsResponse{} 837 if protoimpl.UnsafeEnabled { 838 mi := &file_grpc_test_proto_msgTypes[10] 839 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 840 ms.StoreMessageInfo(mi) 841 } 842 } 843 844 func (x *LoadBalancerStatsResponse) String() string { 845 return protoimpl.X.MessageStringOf(x) 846 } 847 848 func (*LoadBalancerStatsResponse) ProtoMessage() {} 849 850 func (x *LoadBalancerStatsResponse) ProtoReflect() protoreflect.Message { 851 mi := &file_grpc_test_proto_msgTypes[10] 852 if protoimpl.UnsafeEnabled && x != nil { 853 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 854 if ms.LoadMessageInfo() == nil { 855 ms.StoreMessageInfo(mi) 856 } 857 return ms 858 } 859 return mi.MessageOf(x) 860 } 861 862 // Deprecated: Use LoadBalancerStatsResponse.ProtoReflect.Descriptor instead. 863 func (*LoadBalancerStatsResponse) Descriptor() ([]byte, []int) { 864 return file_grpc_test_proto_rawDescGZIP(), []int{10} 865 } 866 867 func (x *LoadBalancerStatsResponse) GetRpcsByPeer() map[string]int32 { 868 if x != nil { 869 return x.RpcsByPeer 870 } 871 return nil 872 } 873 874 func (x *LoadBalancerStatsResponse) GetNumFailures() int32 { 875 if x != nil { 876 return x.NumFailures 877 } 878 return 0 879 } 880 881 var File_grpc_test_proto protoreflect.FileDescriptor 882 883 var file_grpc_test_proto_rawDesc = []byte{ 884 0x0a, 0x0f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 885 0x6f, 0x12, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x1a, 886 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 887 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x07, 888 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 889 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 890 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 891 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 892 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x3a, 0x0a, 0x0a, 0x45, 0x63, 893 0x68, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 894 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 895 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 896 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x92, 0x03, 0x0a, 0x0d, 0x53, 0x69, 0x6d, 0x70, 0x6c, 897 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 898 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 899 0x19, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, 900 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 901 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 902 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 903 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2f, 0x0a, 904 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 905 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x61, 906 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 907 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 908 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x6e, 909 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x69, 0x6c, 0x6c, 0x5f, 0x6f, 0x61, 0x75, 0x74, 910 0x68, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x66, 911 0x69, 0x6c, 0x6c, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x41, 0x0a, 912 0x0f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 913 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 914 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 915 0x52, 0x0e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 916 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x69, 0x6c, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 917 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x6c, 0x53, 0x65, 918 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x16, 0x66, 0x69, 0x6c, 0x6c, 0x5f, 0x67, 919 0x72, 0x70, 0x63, 0x6c, 0x62, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 920 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x66, 0x69, 0x6c, 0x6c, 0x47, 0x72, 0x70, 0x63, 921 0x6c, 0x62, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x82, 0x02, 0x0a, 0x0e, 922 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 923 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 924 0x15, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, 925 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 926 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 927 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 928 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 929 0x52, 0x0a, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 930 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 931 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x49, 0x0a, 0x11, 0x67, 0x72, 0x70, 932 0x63, 0x6c, 0x62, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 933 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 934 0x69, 0x6e, 0x67, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x6c, 0x62, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x54, 935 0x79, 0x70, 0x65, 0x52, 0x0f, 0x67, 0x72, 0x70, 0x63, 0x6c, 0x62, 0x52, 0x6f, 0x75, 0x74, 0x65, 936 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 937 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 938 0x22, 0x4c, 0x0a, 0x19, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 939 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 940 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 941 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x61, 942 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x54, 943 0x0a, 0x1a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 944 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x17, 945 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 946 0x61, 0x64, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x61, 947 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 948 0x53, 0x69, 0x7a, 0x65, 0x22, 0x49, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 949 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 950 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1f, 951 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x75, 0x73, 0x18, 0x02, 0x20, 952 0x01, 0x28, 0x05, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x55, 0x73, 0x22, 953 0xa3, 0x02, 0x0a, 0x1a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 954 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 955 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 956 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 957 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 958 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x51, 959 0x0a, 0x13, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 960 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 961 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 962 0x6e, 0x73, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x12, 0x72, 963 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 964 0x73, 0x12, 0x2f, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 965 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 966 0x67, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 967 0x61, 0x64, 0x12, 0x41, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x73, 968 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 969 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x45, 0x63, 0x68, 0x6f, 0x53, 970 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 971 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x4e, 0x0a, 0x1b, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 972 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 973 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 974 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 975 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 976 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x56, 0x0a, 0x18, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 977 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 978 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x70, 0x63, 0x73, 0x18, 0x01, 0x20, 979 0x01, 0x28, 0x05, 0x52, 0x07, 0x6e, 0x75, 0x6d, 0x52, 0x70, 0x63, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 980 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 981 0x05, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x22, 0xd8, 0x01, 982 0x0a, 0x19, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 983 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0c, 0x72, 984 0x70, 0x63, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 985 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 986 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 987 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x70, 0x63, 0x73, 0x42, 988 0x79, 0x50, 0x65, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x70, 0x63, 0x73, 989 0x42, 0x79, 0x50, 0x65, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x61, 990 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6e, 0x75, 991 0x6d, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x52, 0x70, 0x63, 992 0x73, 0x42, 0x79, 0x50, 0x65, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 993 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 994 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 995 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x3f, 0x0a, 0x0b, 0x50, 0x61, 0x79, 0x6c, 996 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x4d, 0x50, 0x52, 997 0x45, 0x53, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x43, 998 0x4f, 0x4d, 0x50, 0x52, 0x45, 0x53, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 999 0x06, 0x52, 0x41, 0x4e, 0x44, 0x4f, 0x4d, 0x10, 0x02, 0x2a, 0x6f, 0x0a, 0x0f, 0x47, 0x72, 0x70, 1000 0x63, 0x6c, 0x62, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 1001 0x47, 0x52, 0x50, 0x43, 0x4c, 0x42, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 1002 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x47, 1003 0x52, 0x50, 0x43, 0x4c, 0x42, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 1004 0x5f, 0x46, 0x41, 0x4c, 0x4c, 0x42, 0x41, 0x43, 0x4b, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x47, 1005 0x52, 0x50, 0x43, 0x4c, 0x42, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 1006 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x45, 0x4e, 0x44, 0x10, 0x02, 0x32, 0xc1, 0x04, 0x0a, 0x0b, 0x54, 1007 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x09, 0x45, 0x6d, 1008 0x70, 0x74, 0x79, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1009 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 1010 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 1011 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x46, 0x0a, 0x09, 0x55, 0x6e, 0x61, 0x72, 0x79, 1012 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x1b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 1013 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1014 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 1015 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 1016 0x6c, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 1017 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x28, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 1018 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 1019 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1020 0x1a, 0x29, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 1021 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 1022 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x69, 0x0a, 1023 0x12, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 1024 0x61, 0x6c, 0x6c, 0x12, 0x27, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 1025 0x6e, 0x67, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 1026 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x67, 1027 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, 0x72, 0x65, 1028 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 1029 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x12, 0x69, 0x0a, 0x0e, 0x46, 0x75, 0x6c, 0x6c, 1030 0x44, 0x75, 0x70, 0x6c, 0x65, 0x78, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x28, 0x2e, 0x67, 0x72, 0x70, 1031 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 1032 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 1033 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 1034 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 1035 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 1036 0x01, 0x30, 0x01, 0x12, 0x69, 0x0a, 0x0e, 0x48, 0x61, 0x6c, 0x66, 0x44, 0x75, 0x70, 0x6c, 0x65, 1037 0x78, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x28, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 1038 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 1039 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 1040 0x29, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 1041 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 1042 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x32, 0x5b, 1043 0x0a, 0x14, 0x55, 0x6e, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x53, 1044 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x11, 0x55, 0x6e, 0x69, 0x6d, 0x70, 0x6c, 1045 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x16, 0x2e, 0x67, 0x6f, 1046 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 1047 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1048 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x32, 0x7f, 0x0a, 0x18, 0x4c, 1049 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 1050 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x63, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x43, 0x6c, 1051 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x26, 0x2e, 0x67, 0x72, 0x70, 0x63, 1052 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 1053 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1054 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 1055 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 1056 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x38, 0x5a, 0x36, 1057 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6a, 0x68, 0x75, 0x6d, 0x70, 1058 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x2f, 0x69, 0x6e, 1059 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1060 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1061 } 1062 1063 var ( 1064 file_grpc_test_proto_rawDescOnce sync.Once 1065 file_grpc_test_proto_rawDescData = file_grpc_test_proto_rawDesc 1066 ) 1067 1068 func file_grpc_test_proto_rawDescGZIP() []byte { 1069 file_grpc_test_proto_rawDescOnce.Do(func() { 1070 file_grpc_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_grpc_test_proto_rawDescData) 1071 }) 1072 return file_grpc_test_proto_rawDescData 1073 } 1074 1075 var file_grpc_test_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 1076 var file_grpc_test_proto_msgTypes = make([]protoimpl.MessageInfo, 12) 1077 var file_grpc_test_proto_goTypes = []interface{}{ 1078 (PayloadType)(0), // 0: grpc.testing.PayloadType 1079 (GrpclbRouteType)(0), // 1: grpc.testing.GrpclbRouteType 1080 (*Payload)(nil), // 2: grpc.testing.Payload 1081 (*EchoStatus)(nil), // 3: grpc.testing.EchoStatus 1082 (*SimpleRequest)(nil), // 4: grpc.testing.SimpleRequest 1083 (*SimpleResponse)(nil), // 5: grpc.testing.SimpleResponse 1084 (*StreamingInputCallRequest)(nil), // 6: grpc.testing.StreamingInputCallRequest 1085 (*StreamingInputCallResponse)(nil), // 7: grpc.testing.StreamingInputCallResponse 1086 (*ResponseParameters)(nil), // 8: grpc.testing.ResponseParameters 1087 (*StreamingOutputCallRequest)(nil), // 9: grpc.testing.StreamingOutputCallRequest 1088 (*StreamingOutputCallResponse)(nil), // 10: grpc.testing.StreamingOutputCallResponse 1089 (*LoadBalancerStatsRequest)(nil), // 11: grpc.testing.LoadBalancerStatsRequest 1090 (*LoadBalancerStatsResponse)(nil), // 12: grpc.testing.LoadBalancerStatsResponse 1091 nil, // 13: grpc.testing.LoadBalancerStatsResponse.RpcsByPeerEntry 1092 (*emptypb.Empty)(nil), // 14: google.protobuf.Empty 1093 } 1094 var file_grpc_test_proto_depIdxs = []int32{ 1095 0, // 0: grpc.testing.Payload.type:type_name -> grpc.testing.PayloadType 1096 0, // 1: grpc.testing.SimpleRequest.response_type:type_name -> grpc.testing.PayloadType 1097 2, // 2: grpc.testing.SimpleRequest.payload:type_name -> grpc.testing.Payload 1098 3, // 3: grpc.testing.SimpleRequest.response_status:type_name -> grpc.testing.EchoStatus 1099 2, // 4: grpc.testing.SimpleResponse.payload:type_name -> grpc.testing.Payload 1100 1, // 5: grpc.testing.SimpleResponse.grpclb_route_type:type_name -> grpc.testing.GrpclbRouteType 1101 2, // 6: grpc.testing.StreamingInputCallRequest.payload:type_name -> grpc.testing.Payload 1102 0, // 7: grpc.testing.StreamingOutputCallRequest.response_type:type_name -> grpc.testing.PayloadType 1103 8, // 8: grpc.testing.StreamingOutputCallRequest.response_parameters:type_name -> grpc.testing.ResponseParameters 1104 2, // 9: grpc.testing.StreamingOutputCallRequest.payload:type_name -> grpc.testing.Payload 1105 3, // 10: grpc.testing.StreamingOutputCallRequest.response_status:type_name -> grpc.testing.EchoStatus 1106 2, // 11: grpc.testing.StreamingOutputCallResponse.payload:type_name -> grpc.testing.Payload 1107 13, // 12: grpc.testing.LoadBalancerStatsResponse.rpcs_by_peer:type_name -> grpc.testing.LoadBalancerStatsResponse.RpcsByPeerEntry 1108 14, // 13: grpc.testing.TestService.EmptyCall:input_type -> google.protobuf.Empty 1109 4, // 14: grpc.testing.TestService.UnaryCall:input_type -> grpc.testing.SimpleRequest 1110 9, // 15: grpc.testing.TestService.StreamingOutputCall:input_type -> grpc.testing.StreamingOutputCallRequest 1111 6, // 16: grpc.testing.TestService.StreamingInputCall:input_type -> grpc.testing.StreamingInputCallRequest 1112 9, // 17: grpc.testing.TestService.FullDuplexCall:input_type -> grpc.testing.StreamingOutputCallRequest 1113 9, // 18: grpc.testing.TestService.HalfDuplexCall:input_type -> grpc.testing.StreamingOutputCallRequest 1114 14, // 19: grpc.testing.UnimplementedService.UnimplementedCall:input_type -> google.protobuf.Empty 1115 11, // 20: grpc.testing.LoadBalancerStatsService.GetClientStats:input_type -> grpc.testing.LoadBalancerStatsRequest 1116 14, // 21: grpc.testing.TestService.EmptyCall:output_type -> google.protobuf.Empty 1117 5, // 22: grpc.testing.TestService.UnaryCall:output_type -> grpc.testing.SimpleResponse 1118 10, // 23: grpc.testing.TestService.StreamingOutputCall:output_type -> grpc.testing.StreamingOutputCallResponse 1119 7, // 24: grpc.testing.TestService.StreamingInputCall:output_type -> grpc.testing.StreamingInputCallResponse 1120 10, // 25: grpc.testing.TestService.FullDuplexCall:output_type -> grpc.testing.StreamingOutputCallResponse 1121 10, // 26: grpc.testing.TestService.HalfDuplexCall:output_type -> grpc.testing.StreamingOutputCallResponse 1122 14, // 27: grpc.testing.UnimplementedService.UnimplementedCall:output_type -> google.protobuf.Empty 1123 12, // 28: grpc.testing.LoadBalancerStatsService.GetClientStats:output_type -> grpc.testing.LoadBalancerStatsResponse 1124 21, // [21:29] is the sub-list for method output_type 1125 13, // [13:21] is the sub-list for method input_type 1126 13, // [13:13] is the sub-list for extension type_name 1127 13, // [13:13] is the sub-list for extension extendee 1128 0, // [0:13] is the sub-list for field type_name 1129 } 1130 1131 func init() { file_grpc_test_proto_init() } 1132 func file_grpc_test_proto_init() { 1133 if File_grpc_test_proto != nil { 1134 return 1135 } 1136 if !protoimpl.UnsafeEnabled { 1137 file_grpc_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1138 switch v := v.(*Payload); i { 1139 case 0: 1140 return &v.state 1141 case 1: 1142 return &v.sizeCache 1143 case 2: 1144 return &v.unknownFields 1145 default: 1146 return nil 1147 } 1148 } 1149 file_grpc_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1150 switch v := v.(*EchoStatus); i { 1151 case 0: 1152 return &v.state 1153 case 1: 1154 return &v.sizeCache 1155 case 2: 1156 return &v.unknownFields 1157 default: 1158 return nil 1159 } 1160 } 1161 file_grpc_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1162 switch v := v.(*SimpleRequest); i { 1163 case 0: 1164 return &v.state 1165 case 1: 1166 return &v.sizeCache 1167 case 2: 1168 return &v.unknownFields 1169 default: 1170 return nil 1171 } 1172 } 1173 file_grpc_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1174 switch v := v.(*SimpleResponse); i { 1175 case 0: 1176 return &v.state 1177 case 1: 1178 return &v.sizeCache 1179 case 2: 1180 return &v.unknownFields 1181 default: 1182 return nil 1183 } 1184 } 1185 file_grpc_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1186 switch v := v.(*StreamingInputCallRequest); i { 1187 case 0: 1188 return &v.state 1189 case 1: 1190 return &v.sizeCache 1191 case 2: 1192 return &v.unknownFields 1193 default: 1194 return nil 1195 } 1196 } 1197 file_grpc_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1198 switch v := v.(*StreamingInputCallResponse); i { 1199 case 0: 1200 return &v.state 1201 case 1: 1202 return &v.sizeCache 1203 case 2: 1204 return &v.unknownFields 1205 default: 1206 return nil 1207 } 1208 } 1209 file_grpc_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1210 switch v := v.(*ResponseParameters); i { 1211 case 0: 1212 return &v.state 1213 case 1: 1214 return &v.sizeCache 1215 case 2: 1216 return &v.unknownFields 1217 default: 1218 return nil 1219 } 1220 } 1221 file_grpc_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1222 switch v := v.(*StreamingOutputCallRequest); i { 1223 case 0: 1224 return &v.state 1225 case 1: 1226 return &v.sizeCache 1227 case 2: 1228 return &v.unknownFields 1229 default: 1230 return nil 1231 } 1232 } 1233 file_grpc_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1234 switch v := v.(*StreamingOutputCallResponse); i { 1235 case 0: 1236 return &v.state 1237 case 1: 1238 return &v.sizeCache 1239 case 2: 1240 return &v.unknownFields 1241 default: 1242 return nil 1243 } 1244 } 1245 file_grpc_test_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1246 switch v := v.(*LoadBalancerStatsRequest); i { 1247 case 0: 1248 return &v.state 1249 case 1: 1250 return &v.sizeCache 1251 case 2: 1252 return &v.unknownFields 1253 default: 1254 return nil 1255 } 1256 } 1257 file_grpc_test_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1258 switch v := v.(*LoadBalancerStatsResponse); i { 1259 case 0: 1260 return &v.state 1261 case 1: 1262 return &v.sizeCache 1263 case 2: 1264 return &v.unknownFields 1265 default: 1266 return nil 1267 } 1268 } 1269 } 1270 type x struct{} 1271 out := protoimpl.TypeBuilder{ 1272 File: protoimpl.DescBuilder{ 1273 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1274 RawDescriptor: file_grpc_test_proto_rawDesc, 1275 NumEnums: 2, 1276 NumMessages: 12, 1277 NumExtensions: 0, 1278 NumServices: 3, 1279 }, 1280 GoTypes: file_grpc_test_proto_goTypes, 1281 DependencyIndexes: file_grpc_test_proto_depIdxs, 1282 EnumInfos: file_grpc_test_proto_enumTypes, 1283 MessageInfos: file_grpc_test_proto_msgTypes, 1284 }.Build() 1285 File_grpc_test_proto = out.File 1286 file_grpc_test_proto_rawDesc = nil 1287 file_grpc_test_proto_goTypes = nil 1288 file_grpc_test_proto_depIdxs = nil 1289 }