github.com/hashicorp/go-plugin@v1.6.0/test/grpc/test.pb.go (about) 1 // Copyright (c) HashiCorp, Inc. 2 // SPDX-License-Identifier: MPL-2.0 3 4 // Code generated by protoc-gen-go. DO NOT EDIT. 5 // versions: 6 // protoc-gen-go v1.31.0 7 // protoc (unknown) 8 // source: test/grpc/test.proto 9 10 package grpctest 11 12 import ( 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 emptypb "google.golang.org/protobuf/types/known/emptypb" 16 reflect "reflect" 17 sync "sync" 18 ) 19 20 const ( 21 // Verify that this generated code is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 23 // Verify that runtime/protoimpl is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 25 ) 26 27 type TestRequest struct { 28 state protoimpl.MessageState 29 sizeCache protoimpl.SizeCache 30 unknownFields protoimpl.UnknownFields 31 32 Input int32 `protobuf:"varint,1,opt,name=Input,proto3" json:"Input,omitempty"` 33 } 34 35 func (x *TestRequest) Reset() { 36 *x = TestRequest{} 37 if protoimpl.UnsafeEnabled { 38 mi := &file_test_grpc_test_proto_msgTypes[0] 39 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 40 ms.StoreMessageInfo(mi) 41 } 42 } 43 44 func (x *TestRequest) String() string { 45 return protoimpl.X.MessageStringOf(x) 46 } 47 48 func (*TestRequest) ProtoMessage() {} 49 50 func (x *TestRequest) ProtoReflect() protoreflect.Message { 51 mi := &file_test_grpc_test_proto_msgTypes[0] 52 if protoimpl.UnsafeEnabled && x != nil { 53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 54 if ms.LoadMessageInfo() == nil { 55 ms.StoreMessageInfo(mi) 56 } 57 return ms 58 } 59 return mi.MessageOf(x) 60 } 61 62 // Deprecated: Use TestRequest.ProtoReflect.Descriptor instead. 63 func (*TestRequest) Descriptor() ([]byte, []int) { 64 return file_test_grpc_test_proto_rawDescGZIP(), []int{0} 65 } 66 67 func (x *TestRequest) GetInput() int32 { 68 if x != nil { 69 return x.Input 70 } 71 return 0 72 } 73 74 type TestResponse struct { 75 state protoimpl.MessageState 76 sizeCache protoimpl.SizeCache 77 unknownFields protoimpl.UnknownFields 78 79 Output int32 `protobuf:"varint,2,opt,name=Output,proto3" json:"Output,omitempty"` 80 } 81 82 func (x *TestResponse) Reset() { 83 *x = TestResponse{} 84 if protoimpl.UnsafeEnabled { 85 mi := &file_test_grpc_test_proto_msgTypes[1] 86 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 87 ms.StoreMessageInfo(mi) 88 } 89 } 90 91 func (x *TestResponse) String() string { 92 return protoimpl.X.MessageStringOf(x) 93 } 94 95 func (*TestResponse) ProtoMessage() {} 96 97 func (x *TestResponse) ProtoReflect() protoreflect.Message { 98 mi := &file_test_grpc_test_proto_msgTypes[1] 99 if protoimpl.UnsafeEnabled && x != nil { 100 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 101 if ms.LoadMessageInfo() == nil { 102 ms.StoreMessageInfo(mi) 103 } 104 return ms 105 } 106 return mi.MessageOf(x) 107 } 108 109 // Deprecated: Use TestResponse.ProtoReflect.Descriptor instead. 110 func (*TestResponse) Descriptor() ([]byte, []int) { 111 return file_test_grpc_test_proto_rawDescGZIP(), []int{1} 112 } 113 114 func (x *TestResponse) GetOutput() int32 { 115 if x != nil { 116 return x.Output 117 } 118 return 0 119 } 120 121 type PrintKVRequest struct { 122 state protoimpl.MessageState 123 sizeCache protoimpl.SizeCache 124 unknownFields protoimpl.UnknownFields 125 126 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` 127 // Types that are assignable to Value: 128 // 129 // *PrintKVRequest_ValueString 130 // *PrintKVRequest_ValueInt 131 Value isPrintKVRequest_Value `protobuf_oneof:"Value"` 132 } 133 134 func (x *PrintKVRequest) Reset() { 135 *x = PrintKVRequest{} 136 if protoimpl.UnsafeEnabled { 137 mi := &file_test_grpc_test_proto_msgTypes[2] 138 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 139 ms.StoreMessageInfo(mi) 140 } 141 } 142 143 func (x *PrintKVRequest) String() string { 144 return protoimpl.X.MessageStringOf(x) 145 } 146 147 func (*PrintKVRequest) ProtoMessage() {} 148 149 func (x *PrintKVRequest) ProtoReflect() protoreflect.Message { 150 mi := &file_test_grpc_test_proto_msgTypes[2] 151 if protoimpl.UnsafeEnabled && x != nil { 152 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 153 if ms.LoadMessageInfo() == nil { 154 ms.StoreMessageInfo(mi) 155 } 156 return ms 157 } 158 return mi.MessageOf(x) 159 } 160 161 // Deprecated: Use PrintKVRequest.ProtoReflect.Descriptor instead. 162 func (*PrintKVRequest) Descriptor() ([]byte, []int) { 163 return file_test_grpc_test_proto_rawDescGZIP(), []int{2} 164 } 165 166 func (x *PrintKVRequest) GetKey() string { 167 if x != nil { 168 return x.Key 169 } 170 return "" 171 } 172 173 func (m *PrintKVRequest) GetValue() isPrintKVRequest_Value { 174 if m != nil { 175 return m.Value 176 } 177 return nil 178 } 179 180 func (x *PrintKVRequest) GetValueString() string { 181 if x, ok := x.GetValue().(*PrintKVRequest_ValueString); ok { 182 return x.ValueString 183 } 184 return "" 185 } 186 187 func (x *PrintKVRequest) GetValueInt() int32 { 188 if x, ok := x.GetValue().(*PrintKVRequest_ValueInt); ok { 189 return x.ValueInt 190 } 191 return 0 192 } 193 194 type isPrintKVRequest_Value interface { 195 isPrintKVRequest_Value() 196 } 197 198 type PrintKVRequest_ValueString struct { 199 ValueString string `protobuf:"bytes,2,opt,name=ValueString,proto3,oneof"` 200 } 201 202 type PrintKVRequest_ValueInt struct { 203 ValueInt int32 `protobuf:"varint,3,opt,name=ValueInt,proto3,oneof"` 204 } 205 206 func (*PrintKVRequest_ValueString) isPrintKVRequest_Value() {} 207 208 func (*PrintKVRequest_ValueInt) isPrintKVRequest_Value() {} 209 210 type PrintKVResponse struct { 211 state protoimpl.MessageState 212 sizeCache protoimpl.SizeCache 213 unknownFields protoimpl.UnknownFields 214 } 215 216 func (x *PrintKVResponse) Reset() { 217 *x = PrintKVResponse{} 218 if protoimpl.UnsafeEnabled { 219 mi := &file_test_grpc_test_proto_msgTypes[3] 220 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 221 ms.StoreMessageInfo(mi) 222 } 223 } 224 225 func (x *PrintKVResponse) String() string { 226 return protoimpl.X.MessageStringOf(x) 227 } 228 229 func (*PrintKVResponse) ProtoMessage() {} 230 231 func (x *PrintKVResponse) ProtoReflect() protoreflect.Message { 232 mi := &file_test_grpc_test_proto_msgTypes[3] 233 if protoimpl.UnsafeEnabled && x != nil { 234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 235 if ms.LoadMessageInfo() == nil { 236 ms.StoreMessageInfo(mi) 237 } 238 return ms 239 } 240 return mi.MessageOf(x) 241 } 242 243 // Deprecated: Use PrintKVResponse.ProtoReflect.Descriptor instead. 244 func (*PrintKVResponse) Descriptor() ([]byte, []int) { 245 return file_test_grpc_test_proto_rawDescGZIP(), []int{3} 246 } 247 248 type BidirectionalRequest struct { 249 state protoimpl.MessageState 250 sizeCache protoimpl.SizeCache 251 unknownFields protoimpl.UnknownFields 252 253 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` 254 } 255 256 func (x *BidirectionalRequest) Reset() { 257 *x = BidirectionalRequest{} 258 if protoimpl.UnsafeEnabled { 259 mi := &file_test_grpc_test_proto_msgTypes[4] 260 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 261 ms.StoreMessageInfo(mi) 262 } 263 } 264 265 func (x *BidirectionalRequest) String() string { 266 return protoimpl.X.MessageStringOf(x) 267 } 268 269 func (*BidirectionalRequest) ProtoMessage() {} 270 271 func (x *BidirectionalRequest) ProtoReflect() protoreflect.Message { 272 mi := &file_test_grpc_test_proto_msgTypes[4] 273 if protoimpl.UnsafeEnabled && x != nil { 274 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 275 if ms.LoadMessageInfo() == nil { 276 ms.StoreMessageInfo(mi) 277 } 278 return ms 279 } 280 return mi.MessageOf(x) 281 } 282 283 // Deprecated: Use BidirectionalRequest.ProtoReflect.Descriptor instead. 284 func (*BidirectionalRequest) Descriptor() ([]byte, []int) { 285 return file_test_grpc_test_proto_rawDescGZIP(), []int{4} 286 } 287 288 func (x *BidirectionalRequest) GetId() uint32 { 289 if x != nil { 290 return x.Id 291 } 292 return 0 293 } 294 295 type BidirectionalResponse struct { 296 state protoimpl.MessageState 297 sizeCache protoimpl.SizeCache 298 unknownFields protoimpl.UnknownFields 299 300 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` 301 } 302 303 func (x *BidirectionalResponse) Reset() { 304 *x = BidirectionalResponse{} 305 if protoimpl.UnsafeEnabled { 306 mi := &file_test_grpc_test_proto_msgTypes[5] 307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 308 ms.StoreMessageInfo(mi) 309 } 310 } 311 312 func (x *BidirectionalResponse) String() string { 313 return protoimpl.X.MessageStringOf(x) 314 } 315 316 func (*BidirectionalResponse) ProtoMessage() {} 317 318 func (x *BidirectionalResponse) ProtoReflect() protoreflect.Message { 319 mi := &file_test_grpc_test_proto_msgTypes[5] 320 if protoimpl.UnsafeEnabled && x != nil { 321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 322 if ms.LoadMessageInfo() == nil { 323 ms.StoreMessageInfo(mi) 324 } 325 return ms 326 } 327 return mi.MessageOf(x) 328 } 329 330 // Deprecated: Use BidirectionalResponse.ProtoReflect.Descriptor instead. 331 func (*BidirectionalResponse) Descriptor() ([]byte, []int) { 332 return file_test_grpc_test_proto_rawDescGZIP(), []int{5} 333 } 334 335 func (x *BidirectionalResponse) GetId() uint32 { 336 if x != nil { 337 return x.Id 338 } 339 return 0 340 } 341 342 type PrintStdioRequest struct { 343 state protoimpl.MessageState 344 sizeCache protoimpl.SizeCache 345 unknownFields protoimpl.UnknownFields 346 347 Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` 348 Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` 349 } 350 351 func (x *PrintStdioRequest) Reset() { 352 *x = PrintStdioRequest{} 353 if protoimpl.UnsafeEnabled { 354 mi := &file_test_grpc_test_proto_msgTypes[6] 355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 356 ms.StoreMessageInfo(mi) 357 } 358 } 359 360 func (x *PrintStdioRequest) String() string { 361 return protoimpl.X.MessageStringOf(x) 362 } 363 364 func (*PrintStdioRequest) ProtoMessage() {} 365 366 func (x *PrintStdioRequest) ProtoReflect() protoreflect.Message { 367 mi := &file_test_grpc_test_proto_msgTypes[6] 368 if protoimpl.UnsafeEnabled && x != nil { 369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 370 if ms.LoadMessageInfo() == nil { 371 ms.StoreMessageInfo(mi) 372 } 373 return ms 374 } 375 return mi.MessageOf(x) 376 } 377 378 // Deprecated: Use PrintStdioRequest.ProtoReflect.Descriptor instead. 379 func (*PrintStdioRequest) Descriptor() ([]byte, []int) { 380 return file_test_grpc_test_proto_rawDescGZIP(), []int{6} 381 } 382 383 func (x *PrintStdioRequest) GetStdout() []byte { 384 if x != nil { 385 return x.Stdout 386 } 387 return nil 388 } 389 390 func (x *PrintStdioRequest) GetStderr() []byte { 391 if x != nil { 392 return x.Stderr 393 } 394 return nil 395 } 396 397 type PingRequest struct { 398 state protoimpl.MessageState 399 sizeCache protoimpl.SizeCache 400 unknownFields protoimpl.UnknownFields 401 } 402 403 func (x *PingRequest) Reset() { 404 *x = PingRequest{} 405 if protoimpl.UnsafeEnabled { 406 mi := &file_test_grpc_test_proto_msgTypes[7] 407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 408 ms.StoreMessageInfo(mi) 409 } 410 } 411 412 func (x *PingRequest) String() string { 413 return protoimpl.X.MessageStringOf(x) 414 } 415 416 func (*PingRequest) ProtoMessage() {} 417 418 func (x *PingRequest) ProtoReflect() protoreflect.Message { 419 mi := &file_test_grpc_test_proto_msgTypes[7] 420 if protoimpl.UnsafeEnabled && x != nil { 421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 422 if ms.LoadMessageInfo() == nil { 423 ms.StoreMessageInfo(mi) 424 } 425 return ms 426 } 427 return mi.MessageOf(x) 428 } 429 430 // Deprecated: Use PingRequest.ProtoReflect.Descriptor instead. 431 func (*PingRequest) Descriptor() ([]byte, []int) { 432 return file_test_grpc_test_proto_rawDescGZIP(), []int{7} 433 } 434 435 type PongResponse struct { 436 state protoimpl.MessageState 437 sizeCache protoimpl.SizeCache 438 unknownFields protoimpl.UnknownFields 439 440 Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` 441 } 442 443 func (x *PongResponse) Reset() { 444 *x = PongResponse{} 445 if protoimpl.UnsafeEnabled { 446 mi := &file_test_grpc_test_proto_msgTypes[8] 447 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 448 ms.StoreMessageInfo(mi) 449 } 450 } 451 452 func (x *PongResponse) String() string { 453 return protoimpl.X.MessageStringOf(x) 454 } 455 456 func (*PongResponse) ProtoMessage() {} 457 458 func (x *PongResponse) ProtoReflect() protoreflect.Message { 459 mi := &file_test_grpc_test_proto_msgTypes[8] 460 if protoimpl.UnsafeEnabled && x != nil { 461 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 462 if ms.LoadMessageInfo() == nil { 463 ms.StoreMessageInfo(mi) 464 } 465 return ms 466 } 467 return mi.MessageOf(x) 468 } 469 470 // Deprecated: Use PongResponse.ProtoReflect.Descriptor instead. 471 func (*PongResponse) Descriptor() ([]byte, []int) { 472 return file_test_grpc_test_proto_rawDescGZIP(), []int{8} 473 } 474 475 func (x *PongResponse) GetMsg() string { 476 if x != nil { 477 return x.Msg 478 } 479 return "" 480 } 481 482 var File_test_grpc_test_proto protoreflect.FileDescriptor 483 484 var file_test_grpc_test_proto_rawDesc = []byte{ 485 0x0a, 0x14, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x65, 0x73, 0x74, 486 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x67, 0x72, 0x70, 0x63, 0x74, 0x65, 0x73, 0x74, 487 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 488 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x23, 0x0a, 489 0x0b, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 490 0x49, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x49, 0x6e, 0x70, 491 0x75, 0x74, 0x22, 0x26, 0x0a, 0x0c, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 492 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 493 0x28, 0x05, 0x52, 0x06, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, 0x6d, 0x0a, 0x0e, 0x50, 0x72, 494 0x69, 0x6e, 0x74, 0x4b, 0x56, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 495 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x22, 496 0x0a, 0x0b, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 497 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x74, 0x72, 0x69, 498 0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x08, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x74, 0x18, 0x03, 499 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x08, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x74, 500 0x42, 0x07, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x72, 0x69, 501 0x6e, 0x74, 0x4b, 0x56, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x0a, 0x14, 502 0x42, 0x69, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x71, 503 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 504 0x52, 0x02, 0x69, 0x64, 0x22, 0x27, 0x0a, 0x15, 0x42, 0x69, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 505 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 506 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0x43, 0x0a, 507 0x11, 0x50, 0x72, 0x69, 0x6e, 0x74, 0x53, 0x74, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 508 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 509 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 510 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 511 0x72, 0x72, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 512 0x74, 0x22, 0x20, 0x0a, 0x0c, 0x50, 0x6f, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 513 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 514 0x6d, 0x73, 0x67, 0x32, 0xdb, 0x02, 0x0a, 0x04, 0x54, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x06, 515 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x15, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x74, 0x65, 0x73, 516 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 517 0x67, 0x72, 0x70, 0x63, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 518 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x07, 0x50, 0x72, 0x69, 0x6e, 0x74, 519 0x4b, 0x56, 0x12, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 520 0x69, 0x6e, 0x74, 0x4b, 0x56, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 521 0x72, 0x70, 0x63, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x69, 0x6e, 0x74, 0x4b, 0x56, 0x52, 522 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0d, 0x42, 0x69, 0x64, 523 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x1e, 0x2e, 0x67, 0x72, 0x70, 524 0x63, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x42, 0x69, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 525 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x72, 0x70, 526 0x63, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x42, 0x69, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 527 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3d, 0x0a, 528 0x06, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x15, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x74, 0x65, 529 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 530 0x2e, 0x67, 0x72, 0x70, 0x63, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 531 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x43, 0x0a, 0x0a, 532 0x50, 0x72, 0x69, 0x6e, 0x74, 0x53, 0x74, 0x64, 0x69, 0x6f, 0x12, 0x1b, 0x2e, 0x67, 0x72, 0x70, 533 0x63, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x69, 0x6e, 0x74, 0x53, 0x74, 0x64, 0x69, 0x6f, 534 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 535 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 536 0x00, 0x32, 0x43, 0x0a, 0x08, 0x50, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6e, 0x67, 0x12, 0x37, 0x0a, 537 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x15, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x74, 0x65, 0x73, 0x74, 538 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 539 0x72, 0x70, 0x63, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x6f, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 540 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x2f, 0x67, 0x72, 0x70, 0x63, 541 0x74, 0x65, 0x73, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 542 } 543 544 var ( 545 file_test_grpc_test_proto_rawDescOnce sync.Once 546 file_test_grpc_test_proto_rawDescData = file_test_grpc_test_proto_rawDesc 547 ) 548 549 func file_test_grpc_test_proto_rawDescGZIP() []byte { 550 file_test_grpc_test_proto_rawDescOnce.Do(func() { 551 file_test_grpc_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_grpc_test_proto_rawDescData) 552 }) 553 return file_test_grpc_test_proto_rawDescData 554 } 555 556 var file_test_grpc_test_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 557 var file_test_grpc_test_proto_goTypes = []interface{}{ 558 (*TestRequest)(nil), // 0: grpctest.TestRequest 559 (*TestResponse)(nil), // 1: grpctest.TestResponse 560 (*PrintKVRequest)(nil), // 2: grpctest.PrintKVRequest 561 (*PrintKVResponse)(nil), // 3: grpctest.PrintKVResponse 562 (*BidirectionalRequest)(nil), // 4: grpctest.BidirectionalRequest 563 (*BidirectionalResponse)(nil), // 5: grpctest.BidirectionalResponse 564 (*PrintStdioRequest)(nil), // 6: grpctest.PrintStdioRequest 565 (*PingRequest)(nil), // 7: grpctest.PingRequest 566 (*PongResponse)(nil), // 8: grpctest.PongResponse 567 (*emptypb.Empty)(nil), // 9: google.protobuf.Empty 568 } 569 var file_test_grpc_test_proto_depIdxs = []int32{ 570 0, // 0: grpctest.Test.Double:input_type -> grpctest.TestRequest 571 2, // 1: grpctest.Test.PrintKV:input_type -> grpctest.PrintKVRequest 572 4, // 2: grpctest.Test.Bidirectional:input_type -> grpctest.BidirectionalRequest 573 0, // 3: grpctest.Test.Stream:input_type -> grpctest.TestRequest 574 6, // 4: grpctest.Test.PrintStdio:input_type -> grpctest.PrintStdioRequest 575 7, // 5: grpctest.PingPong.Ping:input_type -> grpctest.PingRequest 576 1, // 6: grpctest.Test.Double:output_type -> grpctest.TestResponse 577 3, // 7: grpctest.Test.PrintKV:output_type -> grpctest.PrintKVResponse 578 5, // 8: grpctest.Test.Bidirectional:output_type -> grpctest.BidirectionalResponse 579 1, // 9: grpctest.Test.Stream:output_type -> grpctest.TestResponse 580 9, // 10: grpctest.Test.PrintStdio:output_type -> google.protobuf.Empty 581 8, // 11: grpctest.PingPong.Ping:output_type -> grpctest.PongResponse 582 6, // [6:12] is the sub-list for method output_type 583 0, // [0:6] is the sub-list for method input_type 584 0, // [0:0] is the sub-list for extension type_name 585 0, // [0:0] is the sub-list for extension extendee 586 0, // [0:0] is the sub-list for field type_name 587 } 588 589 func init() { file_test_grpc_test_proto_init() } 590 func file_test_grpc_test_proto_init() { 591 if File_test_grpc_test_proto != nil { 592 return 593 } 594 if !protoimpl.UnsafeEnabled { 595 file_test_grpc_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 596 switch v := v.(*TestRequest); i { 597 case 0: 598 return &v.state 599 case 1: 600 return &v.sizeCache 601 case 2: 602 return &v.unknownFields 603 default: 604 return nil 605 } 606 } 607 file_test_grpc_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 608 switch v := v.(*TestResponse); i { 609 case 0: 610 return &v.state 611 case 1: 612 return &v.sizeCache 613 case 2: 614 return &v.unknownFields 615 default: 616 return nil 617 } 618 } 619 file_test_grpc_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 620 switch v := v.(*PrintKVRequest); i { 621 case 0: 622 return &v.state 623 case 1: 624 return &v.sizeCache 625 case 2: 626 return &v.unknownFields 627 default: 628 return nil 629 } 630 } 631 file_test_grpc_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 632 switch v := v.(*PrintKVResponse); i { 633 case 0: 634 return &v.state 635 case 1: 636 return &v.sizeCache 637 case 2: 638 return &v.unknownFields 639 default: 640 return nil 641 } 642 } 643 file_test_grpc_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 644 switch v := v.(*BidirectionalRequest); i { 645 case 0: 646 return &v.state 647 case 1: 648 return &v.sizeCache 649 case 2: 650 return &v.unknownFields 651 default: 652 return nil 653 } 654 } 655 file_test_grpc_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 656 switch v := v.(*BidirectionalResponse); i { 657 case 0: 658 return &v.state 659 case 1: 660 return &v.sizeCache 661 case 2: 662 return &v.unknownFields 663 default: 664 return nil 665 } 666 } 667 file_test_grpc_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 668 switch v := v.(*PrintStdioRequest); i { 669 case 0: 670 return &v.state 671 case 1: 672 return &v.sizeCache 673 case 2: 674 return &v.unknownFields 675 default: 676 return nil 677 } 678 } 679 file_test_grpc_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 680 switch v := v.(*PingRequest); i { 681 case 0: 682 return &v.state 683 case 1: 684 return &v.sizeCache 685 case 2: 686 return &v.unknownFields 687 default: 688 return nil 689 } 690 } 691 file_test_grpc_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 692 switch v := v.(*PongResponse); i { 693 case 0: 694 return &v.state 695 case 1: 696 return &v.sizeCache 697 case 2: 698 return &v.unknownFields 699 default: 700 return nil 701 } 702 } 703 } 704 file_test_grpc_test_proto_msgTypes[2].OneofWrappers = []interface{}{ 705 (*PrintKVRequest_ValueString)(nil), 706 (*PrintKVRequest_ValueInt)(nil), 707 } 708 type x struct{} 709 out := protoimpl.TypeBuilder{ 710 File: protoimpl.DescBuilder{ 711 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 712 RawDescriptor: file_test_grpc_test_proto_rawDesc, 713 NumEnums: 0, 714 NumMessages: 9, 715 NumExtensions: 0, 716 NumServices: 2, 717 }, 718 GoTypes: file_test_grpc_test_proto_goTypes, 719 DependencyIndexes: file_test_grpc_test_proto_depIdxs, 720 MessageInfos: file_test_grpc_test_proto_msgTypes, 721 }.Build() 722 File_test_grpc_test_proto = out.File 723 file_test_grpc_test_proto_rawDesc = nil 724 file_test_grpc_test_proto_goTypes = nil 725 file_test_grpc_test_proto_depIdxs = nil 726 }