github.com/nya3jp/tast@v0.0.0-20230601000426-85c8e4d83a9b/src/go.chromium.org/tast/core/internal/protocol/handshake.pb.go (about) 1 // Copyright 2020 The ChromiumOS Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Code generated by protoc-gen-go. DO NOT EDIT. 6 // versions: 7 // protoc-gen-go v1.27.1 8 // protoc v3.21.9 9 // source: handshake.proto 10 11 package protocol 12 13 import ( 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 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 // HandshakeRequest contains parameters needed to initialize a gRPC server. 28 // The message is sent in a raw format since gRPC connection is not ready before 29 // handshake. 30 type HandshakeRequest struct { 31 state protoimpl.MessageState 32 sizeCache protoimpl.SizeCache 33 unknownFields protoimpl.UnknownFields 34 35 // Whether to initialize user-defined gRPC services. 36 NeedUserServices bool `protobuf:"varint,1,opt,name=need_user_services,json=needUserServices,proto3" json:"need_user_services,omitempty"` 37 BundleInitParams *BundleInitParams `protobuf:"bytes,2,opt,name=bundle_init_params,json=bundleInitParams,proto3" json:"bundle_init_params,omitempty"` 38 RunnerInitParams *RunnerInitParams `protobuf:"bytes,3,opt,name=runner_init_params,json=runnerInitParams,proto3" json:"runner_init_params,omitempty"` 39 } 40 41 func (x *HandshakeRequest) Reset() { 42 *x = HandshakeRequest{} 43 if protoimpl.UnsafeEnabled { 44 mi := &file_handshake_proto_msgTypes[0] 45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 46 ms.StoreMessageInfo(mi) 47 } 48 } 49 50 func (x *HandshakeRequest) String() string { 51 return protoimpl.X.MessageStringOf(x) 52 } 53 54 func (*HandshakeRequest) ProtoMessage() {} 55 56 func (x *HandshakeRequest) ProtoReflect() protoreflect.Message { 57 mi := &file_handshake_proto_msgTypes[0] 58 if protoimpl.UnsafeEnabled && x != nil { 59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 60 if ms.LoadMessageInfo() == nil { 61 ms.StoreMessageInfo(mi) 62 } 63 return ms 64 } 65 return mi.MessageOf(x) 66 } 67 68 // Deprecated: Use HandshakeRequest.ProtoReflect.Descriptor instead. 69 func (*HandshakeRequest) Descriptor() ([]byte, []int) { 70 return file_handshake_proto_rawDescGZIP(), []int{0} 71 } 72 73 func (x *HandshakeRequest) GetNeedUserServices() bool { 74 if x != nil { 75 return x.NeedUserServices 76 } 77 return false 78 } 79 80 func (x *HandshakeRequest) GetBundleInitParams() *BundleInitParams { 81 if x != nil { 82 return x.BundleInitParams 83 } 84 return nil 85 } 86 87 func (x *HandshakeRequest) GetRunnerInitParams() *RunnerInitParams { 88 if x != nil { 89 return x.RunnerInitParams 90 } 91 return nil 92 } 93 94 // HandshakeResponse is a response to an HandshakeRequest message. 95 // The message is sent in a raw format since gRPC connection is not ready before 96 // handshake. 97 type HandshakeResponse struct { 98 state protoimpl.MessageState 99 sizeCache protoimpl.SizeCache 100 unknownFields protoimpl.UnknownFields 101 102 // Set if an error occurred. 103 Error *HandshakeError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` 104 } 105 106 func (x *HandshakeResponse) Reset() { 107 *x = HandshakeResponse{} 108 if protoimpl.UnsafeEnabled { 109 mi := &file_handshake_proto_msgTypes[1] 110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 111 ms.StoreMessageInfo(mi) 112 } 113 } 114 115 func (x *HandshakeResponse) String() string { 116 return protoimpl.X.MessageStringOf(x) 117 } 118 119 func (*HandshakeResponse) ProtoMessage() {} 120 121 func (x *HandshakeResponse) ProtoReflect() protoreflect.Message { 122 mi := &file_handshake_proto_msgTypes[1] 123 if protoimpl.UnsafeEnabled && x != nil { 124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 125 if ms.LoadMessageInfo() == nil { 126 ms.StoreMessageInfo(mi) 127 } 128 return ms 129 } 130 return mi.MessageOf(x) 131 } 132 133 // Deprecated: Use HandshakeResponse.ProtoReflect.Descriptor instead. 134 func (*HandshakeResponse) Descriptor() ([]byte, []int) { 135 return file_handshake_proto_rawDescGZIP(), []int{1} 136 } 137 138 func (x *HandshakeResponse) GetError() *HandshakeError { 139 if x != nil { 140 return x.Error 141 } 142 return nil 143 } 144 145 // HandshakeError describes a failed handshake result. 146 type HandshakeError struct { 147 state protoimpl.MessageState 148 sizeCache protoimpl.SizeCache 149 unknownFields protoimpl.UnknownFields 150 151 Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` 152 } 153 154 func (x *HandshakeError) Reset() { 155 *x = HandshakeError{} 156 if protoimpl.UnsafeEnabled { 157 mi := &file_handshake_proto_msgTypes[2] 158 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 159 ms.StoreMessageInfo(mi) 160 } 161 } 162 163 func (x *HandshakeError) String() string { 164 return protoimpl.X.MessageStringOf(x) 165 } 166 167 func (*HandshakeError) ProtoMessage() {} 168 169 func (x *HandshakeError) ProtoReflect() protoreflect.Message { 170 mi := &file_handshake_proto_msgTypes[2] 171 if protoimpl.UnsafeEnabled && x != nil { 172 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 173 if ms.LoadMessageInfo() == nil { 174 ms.StoreMessageInfo(mi) 175 } 176 return ms 177 } 178 return mi.MessageOf(x) 179 } 180 181 // Deprecated: Use HandshakeError.ProtoReflect.Descriptor instead. 182 func (*HandshakeError) Descriptor() ([]byte, []int) { 183 return file_handshake_proto_rawDescGZIP(), []int{2} 184 } 185 186 func (x *HandshakeError) GetReason() string { 187 if x != nil { 188 return x.Reason 189 } 190 return "" 191 } 192 193 // BundleInitParams contains parameters needed to initialize bundles. 194 type BundleInitParams struct { 195 state protoimpl.MessageState 196 sizeCache protoimpl.SizeCache 197 unknownFields protoimpl.UnknownFields 198 199 // Runtime variables. 200 Vars map[string]string `protobuf:"bytes,1,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 201 // BundleConfigs represents all the bundles to run. 202 BundleConfig *BundleConfig `protobuf:"bytes,2,opt,name=bundle_config,json=bundleConfig,proto3" json:"bundle_config,omitempty"` 203 } 204 205 func (x *BundleInitParams) Reset() { 206 *x = BundleInitParams{} 207 if protoimpl.UnsafeEnabled { 208 mi := &file_handshake_proto_msgTypes[3] 209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 210 ms.StoreMessageInfo(mi) 211 } 212 } 213 214 func (x *BundleInitParams) String() string { 215 return protoimpl.X.MessageStringOf(x) 216 } 217 218 func (*BundleInitParams) ProtoMessage() {} 219 220 func (x *BundleInitParams) ProtoReflect() protoreflect.Message { 221 mi := &file_handshake_proto_msgTypes[3] 222 if protoimpl.UnsafeEnabled && x != nil { 223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 224 if ms.LoadMessageInfo() == nil { 225 ms.StoreMessageInfo(mi) 226 } 227 return ms 228 } 229 return mi.MessageOf(x) 230 } 231 232 // Deprecated: Use BundleInitParams.ProtoReflect.Descriptor instead. 233 func (*BundleInitParams) Descriptor() ([]byte, []int) { 234 return file_handshake_proto_rawDescGZIP(), []int{3} 235 } 236 237 func (x *BundleInitParams) GetVars() map[string]string { 238 if x != nil { 239 return x.Vars 240 } 241 return nil 242 } 243 244 func (x *BundleInitParams) GetBundleConfig() *BundleConfig { 245 if x != nil { 246 return x.BundleConfig 247 } 248 return nil 249 } 250 251 // RunnerInitParams contains information needed to initialize test runners. 252 type RunnerInitParams struct { 253 state protoimpl.MessageState 254 sizeCache protoimpl.SizeCache 255 unknownFields protoimpl.UnknownFields 256 257 // A file path glob that matches test bundle executables. 258 // Example: "/usr/local/libexec/tast/bundles/local/*" 259 BundleGlob string `protobuf:"bytes,1,opt,name=bundle_glob,json=bundleGlob,proto3" json:"bundle_glob,omitempty"` 260 } 261 262 func (x *RunnerInitParams) Reset() { 263 *x = RunnerInitParams{} 264 if protoimpl.UnsafeEnabled { 265 mi := &file_handshake_proto_msgTypes[4] 266 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 267 ms.StoreMessageInfo(mi) 268 } 269 } 270 271 func (x *RunnerInitParams) String() string { 272 return protoimpl.X.MessageStringOf(x) 273 } 274 275 func (*RunnerInitParams) ProtoMessage() {} 276 277 func (x *RunnerInitParams) ProtoReflect() protoreflect.Message { 278 mi := &file_handshake_proto_msgTypes[4] 279 if protoimpl.UnsafeEnabled && x != nil { 280 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 281 if ms.LoadMessageInfo() == nil { 282 ms.StoreMessageInfo(mi) 283 } 284 return ms 285 } 286 return mi.MessageOf(x) 287 } 288 289 // Deprecated: Use RunnerInitParams.ProtoReflect.Descriptor instead. 290 func (*RunnerInitParams) Descriptor() ([]byte, []int) { 291 return file_handshake_proto_rawDescGZIP(), []int{4} 292 } 293 294 func (x *RunnerInitParams) GetBundleGlob() string { 295 if x != nil { 296 return x.BundleGlob 297 } 298 return "" 299 } 300 301 type BundleConfig struct { 302 state protoimpl.MessageState 303 sizeCache protoimpl.SizeCache 304 unknownFields protoimpl.UnknownFields 305 306 // PrimaryTarget is the target device for remote tests. 307 PrimaryTarget *TargetDevice `protobuf:"bytes,1,opt,name=primary_target,json=primaryTarget,proto3" json:"primary_target,omitempty"` 308 CompanionDuts map[string]*DUTConfig `protobuf:"bytes,2,rep,name=companion_duts,json=companionDuts,proto3" json:"companion_duts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 309 MetaTestConfig *MetaTestConfig `protobuf:"bytes,3,opt,name=meta_test_config,json=metaTestConfig,proto3" json:"meta_test_config,omitempty"` 310 } 311 312 func (x *BundleConfig) Reset() { 313 *x = BundleConfig{} 314 if protoimpl.UnsafeEnabled { 315 mi := &file_handshake_proto_msgTypes[5] 316 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 317 ms.StoreMessageInfo(mi) 318 } 319 } 320 321 func (x *BundleConfig) String() string { 322 return protoimpl.X.MessageStringOf(x) 323 } 324 325 func (*BundleConfig) ProtoMessage() {} 326 327 func (x *BundleConfig) ProtoReflect() protoreflect.Message { 328 mi := &file_handshake_proto_msgTypes[5] 329 if protoimpl.UnsafeEnabled && x != nil { 330 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 331 if ms.LoadMessageInfo() == nil { 332 ms.StoreMessageInfo(mi) 333 } 334 return ms 335 } 336 return mi.MessageOf(x) 337 } 338 339 // Deprecated: Use BundleConfig.ProtoReflect.Descriptor instead. 340 func (*BundleConfig) Descriptor() ([]byte, []int) { 341 return file_handshake_proto_rawDescGZIP(), []int{5} 342 } 343 344 func (x *BundleConfig) GetPrimaryTarget() *TargetDevice { 345 if x != nil { 346 return x.PrimaryTarget 347 } 348 return nil 349 } 350 351 func (x *BundleConfig) GetCompanionDuts() map[string]*DUTConfig { 352 if x != nil { 353 return x.CompanionDuts 354 } 355 return nil 356 } 357 358 func (x *BundleConfig) GetMetaTestConfig() *MetaTestConfig { 359 if x != nil { 360 return x.MetaTestConfig 361 } 362 return nil 363 } 364 365 // TargetDevice represents a local bundle on which remote tests invoke services. 366 type TargetDevice struct { 367 state protoimpl.MessageState 368 sizeCache protoimpl.SizeCache 369 unknownFields protoimpl.UnknownFields 370 371 // DutConfig describes the DUT containing local bundles. 372 DutConfig *DUTConfig `protobuf:"bytes,1,opt,name=dut_config,json=dutConfig,proto3" json:"dut_config,omitempty"` 373 // BundleDir represents the directory on which the target bundle exists. 374 BundleDir string `protobuf:"bytes,2,opt,name=bundle_dir,json=bundleDir,proto3" json:"bundle_dir,omitempty"` 375 } 376 377 func (x *TargetDevice) Reset() { 378 *x = TargetDevice{} 379 if protoimpl.UnsafeEnabled { 380 mi := &file_handshake_proto_msgTypes[6] 381 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 382 ms.StoreMessageInfo(mi) 383 } 384 } 385 386 func (x *TargetDevice) String() string { 387 return protoimpl.X.MessageStringOf(x) 388 } 389 390 func (*TargetDevice) ProtoMessage() {} 391 392 func (x *TargetDevice) ProtoReflect() protoreflect.Message { 393 mi := &file_handshake_proto_msgTypes[6] 394 if protoimpl.UnsafeEnabled && x != nil { 395 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 396 if ms.LoadMessageInfo() == nil { 397 ms.StoreMessageInfo(mi) 398 } 399 return ms 400 } 401 return mi.MessageOf(x) 402 } 403 404 // Deprecated: Use TargetDevice.ProtoReflect.Descriptor instead. 405 func (*TargetDevice) Descriptor() ([]byte, []int) { 406 return file_handshake_proto_rawDescGZIP(), []int{6} 407 } 408 409 func (x *TargetDevice) GetDutConfig() *DUTConfig { 410 if x != nil { 411 return x.DutConfig 412 } 413 return nil 414 } 415 416 func (x *TargetDevice) GetBundleDir() string { 417 if x != nil { 418 return x.BundleDir 419 } 420 return "" 421 } 422 423 // DUTConfig describes a DUT. 424 type DUTConfig struct { 425 state protoimpl.MessageState 426 sizeCache protoimpl.SizeCache 427 unknownFields protoimpl.UnknownFields 428 429 // SshConfig contains information needed to connect to the DUT via SSH. 430 SshConfig *SSHConfig `protobuf:"bytes,1,opt,name=ssh_config,json=sshConfig,proto3" json:"ssh_config,omitempty"` 431 // TlwName contains the name of the DUT recognized by the TLW service. 432 // This must be set when TLW API is used. 433 TlwName string `protobuf:"bytes,2,opt,name=tlw_name,json=tlwName,proto3" json:"tlw_name,omitempty"` 434 } 435 436 func (x *DUTConfig) Reset() { 437 *x = DUTConfig{} 438 if protoimpl.UnsafeEnabled { 439 mi := &file_handshake_proto_msgTypes[7] 440 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 441 ms.StoreMessageInfo(mi) 442 } 443 } 444 445 func (x *DUTConfig) String() string { 446 return protoimpl.X.MessageStringOf(x) 447 } 448 449 func (*DUTConfig) ProtoMessage() {} 450 451 func (x *DUTConfig) ProtoReflect() protoreflect.Message { 452 mi := &file_handshake_proto_msgTypes[7] 453 if protoimpl.UnsafeEnabled && x != nil { 454 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 455 if ms.LoadMessageInfo() == nil { 456 ms.StoreMessageInfo(mi) 457 } 458 return ms 459 } 460 return mi.MessageOf(x) 461 } 462 463 // Deprecated: Use DUTConfig.ProtoReflect.Descriptor instead. 464 func (*DUTConfig) Descriptor() ([]byte, []int) { 465 return file_handshake_proto_rawDescGZIP(), []int{7} 466 } 467 468 func (x *DUTConfig) GetSshConfig() *SSHConfig { 469 if x != nil { 470 return x.SshConfig 471 } 472 return nil 473 } 474 475 func (x *DUTConfig) GetTlwName() string { 476 if x != nil { 477 return x.TlwName 478 } 479 return "" 480 } 481 482 // SSHConfig contains information needed to connect to the DUT via SSH. 483 type SSHConfig struct { 484 state protoimpl.MessageState 485 sizeCache protoimpl.SizeCache 486 unknownFields protoimpl.UnknownFields 487 488 // ConnectionSpec is a connection spec as [<user>@]host[:<port>]. 489 ConnectionSpec string `protobuf:"bytes,1,opt,name=connection_spec,json=connectionSpec,proto3" json:"connection_spec,omitempty"` 490 // KeyFile is a path to the SSH private key to use to connect to the target. 491 KeyFile string `protobuf:"bytes,2,opt,name=key_file,json=keyFile,proto3" json:"key_file,omitempty"` 492 // KeyDir is a path to the directory containing SSH private keys 493 // (typically $HOME/.ssh). 494 KeyDir string `protobuf:"bytes,3,opt,name=key_dir,json=keyDir,proto3" json:"key_dir,omitempty"` 495 // ProxyCommand specifies the command to use to connect to the DUT. 496 ProxyCommand string `protobuf:"bytes,4,opt,name=proxy_command,json=proxyCommand,proto3" json:"proxy_command,omitempty"` 497 } 498 499 func (x *SSHConfig) Reset() { 500 *x = SSHConfig{} 501 if protoimpl.UnsafeEnabled { 502 mi := &file_handshake_proto_msgTypes[8] 503 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 504 ms.StoreMessageInfo(mi) 505 } 506 } 507 508 func (x *SSHConfig) String() string { 509 return protoimpl.X.MessageStringOf(x) 510 } 511 512 func (*SSHConfig) ProtoMessage() {} 513 514 func (x *SSHConfig) ProtoReflect() protoreflect.Message { 515 mi := &file_handshake_proto_msgTypes[8] 516 if protoimpl.UnsafeEnabled && x != nil { 517 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 518 if ms.LoadMessageInfo() == nil { 519 ms.StoreMessageInfo(mi) 520 } 521 return ms 522 } 523 return mi.MessageOf(x) 524 } 525 526 // Deprecated: Use SSHConfig.ProtoReflect.Descriptor instead. 527 func (*SSHConfig) Descriptor() ([]byte, []int) { 528 return file_handshake_proto_rawDescGZIP(), []int{8} 529 } 530 531 func (x *SSHConfig) GetConnectionSpec() string { 532 if x != nil { 533 return x.ConnectionSpec 534 } 535 return "" 536 } 537 538 func (x *SSHConfig) GetKeyFile() string { 539 if x != nil { 540 return x.KeyFile 541 } 542 return "" 543 } 544 545 func (x *SSHConfig) GetKeyDir() string { 546 if x != nil { 547 return x.KeyDir 548 } 549 return "" 550 } 551 552 func (x *SSHConfig) GetProxyCommand() string { 553 if x != nil { 554 return x.ProxyCommand 555 } 556 return "" 557 } 558 559 // MetaTestConfig contains parameters needed by meta tests (tests that 560 // exercise Tast itself). 561 type MetaTestConfig struct { 562 state protoimpl.MessageState 563 sizeCache protoimpl.SizeCache 564 unknownFields protoimpl.UnknownFields 565 566 // TastPath contains the path to the tast binary that was executed to initiate 567 // testing. 568 TastPath string `protobuf:"bytes,1,opt,name=tast_path,json=tastPath,proto3" json:"tast_path,omitempty"` 569 // RunFlags contains a subset of the flags that were passed to the "tast run" 570 // command. The included flags are ones that are necessary for core 571 // functionality, e.g. paths to binaries used by the tast process and 572 // credentials for reconnecting to the DUT. 573 RunFlags []string `protobuf:"bytes,2,rep,name=run_flags,json=runFlags,proto3" json:"run_flags,omitempty"` 574 // ListFlags contains a subset of the flags that were passed to the "tast 575 // list" command. The included flags are ones that are necessary for core 576 // functionality, e.g. paths to binaries used by the tast process and 577 // credentials for reconnecting to the DUT. 578 ListFlags []string `protobuf:"bytes,3,rep,name=list_flags,json=listFlags,proto3" json:"list_flags,omitempty"` 579 } 580 581 func (x *MetaTestConfig) Reset() { 582 *x = MetaTestConfig{} 583 if protoimpl.UnsafeEnabled { 584 mi := &file_handshake_proto_msgTypes[9] 585 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 586 ms.StoreMessageInfo(mi) 587 } 588 } 589 590 func (x *MetaTestConfig) String() string { 591 return protoimpl.X.MessageStringOf(x) 592 } 593 594 func (*MetaTestConfig) ProtoMessage() {} 595 596 func (x *MetaTestConfig) ProtoReflect() protoreflect.Message { 597 mi := &file_handshake_proto_msgTypes[9] 598 if protoimpl.UnsafeEnabled && x != nil { 599 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 600 if ms.LoadMessageInfo() == nil { 601 ms.StoreMessageInfo(mi) 602 } 603 return ms 604 } 605 return mi.MessageOf(x) 606 } 607 608 // Deprecated: Use MetaTestConfig.ProtoReflect.Descriptor instead. 609 func (*MetaTestConfig) Descriptor() ([]byte, []int) { 610 return file_handshake_proto_rawDescGZIP(), []int{9} 611 } 612 613 func (x *MetaTestConfig) GetTastPath() string { 614 if x != nil { 615 return x.TastPath 616 } 617 return "" 618 } 619 620 func (x *MetaTestConfig) GetRunFlags() []string { 621 if x != nil { 622 return x.RunFlags 623 } 624 return nil 625 } 626 627 func (x *MetaTestConfig) GetListFlags() []string { 628 if x != nil { 629 return x.ListFlags 630 } 631 return nil 632 } 633 634 var File_handshake_proto protoreflect.FileDescriptor 635 636 var file_handshake_proto_rawDesc = []byte{ 637 0x0a, 0x0f, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 638 0x6f, 0x12, 0x09, 0x74, 0x61, 0x73, 0x74, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x22, 0xd6, 0x01, 0x0a, 639 0x10, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 640 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x65, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 641 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6e, 642 0x65, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 643 0x49, 0x0a, 0x12, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x5f, 0x70, 644 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x61, 645 0x73, 0x74, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x49, 0x6e, 646 0x69, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x10, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 647 0x49, 0x6e, 0x69, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x49, 0x0a, 0x12, 0x72, 0x75, 648 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 649 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x61, 0x73, 0x74, 0x2e, 0x63, 0x6f, 650 0x72, 0x65, 0x2e, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x69, 0x74, 0x50, 0x61, 0x72, 651 0x61, 0x6d, 0x73, 0x52, 0x10, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x69, 0x74, 0x50, 652 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x44, 0x0a, 0x11, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 653 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x65, 0x72, 654 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x61, 0x73, 0x74, 655 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x45, 656 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x28, 0x0a, 0x0e, 0x48, 657 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, 0x0a, 658 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 659 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xc4, 0x01, 0x0a, 0x10, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 660 0x49, 0x6e, 0x69, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x39, 0x0a, 0x04, 0x76, 0x61, 661 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x61, 0x73, 0x74, 0x2e, 662 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x50, 663 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 664 0x04, 0x76, 0x61, 0x72, 0x73, 0x12, 0x3c, 0x0a, 0x0d, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 665 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 666 0x61, 0x73, 0x74, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x43, 667 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 668 0x66, 0x69, 0x67, 0x1a, 0x37, 0x0a, 0x09, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 669 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 670 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 671 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x33, 0x0a, 0x10, 672 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x69, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 673 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x18, 674 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x47, 0x6c, 0x6f, 675 0x62, 0x22, 0xbe, 0x02, 0x0a, 0x0c, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 676 0x69, 0x67, 0x12, 0x3e, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x74, 0x61, 677 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x61, 0x73, 678 0x74, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x65, 0x76, 679 0x69, 0x63, 0x65, 0x52, 0x0d, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x54, 0x61, 0x72, 0x67, 680 0x65, 0x74, 0x12, 0x51, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x69, 0x6f, 0x6e, 0x5f, 681 0x64, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x61, 0x73, 682 0x74, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 683 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x69, 0x6f, 0x6e, 0x44, 0x75, 0x74, 684 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x69, 0x6f, 685 0x6e, 0x44, 0x75, 0x74, 0x73, 0x12, 0x43, 0x0a, 0x10, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x74, 0x65, 686 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 687 0x19, 0x2e, 0x74, 0x61, 0x73, 0x74, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 688 0x54, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x6d, 0x65, 0x74, 0x61, 689 0x54, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x56, 0x0a, 0x12, 0x43, 0x6f, 690 0x6d, 0x70, 0x61, 0x6e, 0x69, 0x6f, 0x6e, 0x44, 0x75, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 691 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 692 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 693 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x61, 0x73, 0x74, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x55, 694 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 695 0x38, 0x01, 0x22, 0x62, 0x0a, 0x0c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x65, 0x76, 0x69, 696 0x63, 0x65, 0x12, 0x33, 0x0a, 0x0a, 0x64, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 697 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x61, 0x73, 0x74, 0x2e, 0x63, 0x6f, 698 0x72, 0x65, 0x2e, 0x44, 0x55, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x09, 0x64, 0x75, 699 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x75, 0x6e, 0x64, 0x6c, 700 0x65, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x75, 0x6e, 701 0x64, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x22, 0x5b, 0x0a, 0x09, 0x44, 0x55, 0x54, 0x43, 0x6f, 0x6e, 702 0x66, 0x69, 0x67, 0x12, 0x33, 0x0a, 0x0a, 0x73, 0x73, 0x68, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 703 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x61, 0x73, 0x74, 0x2e, 0x63, 704 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x53, 0x48, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x09, 0x73, 705 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6c, 0x77, 0x5f, 706 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x6c, 0x77, 0x4e, 707 0x61, 0x6d, 0x65, 0x22, 0x8d, 0x01, 0x0a, 0x09, 0x53, 0x53, 0x48, 0x43, 0x6f, 0x6e, 0x66, 0x69, 708 0x67, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 709 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x6e, 710 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x65, 711 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 712 0x79, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x5f, 0x64, 0x69, 0x72, 713 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x44, 0x69, 0x72, 0x12, 0x23, 714 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 715 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 716 0x61, 0x6e, 0x64, 0x22, 0x69, 0x0a, 0x0e, 0x4d, 0x65, 0x74, 0x61, 0x54, 0x65, 0x73, 0x74, 0x43, 717 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x61, 718 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x73, 0x74, 0x50, 0x61, 719 0x74, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x75, 0x6e, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 720 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x72, 0x75, 0x6e, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 721 0x1d, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 722 0x03, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x42, 0x2d, 723 0x5a, 0x2b, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 724 0x67, 0x2f, 0x74, 0x61, 0x73, 0x74, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x6e, 0x74, 0x65, 725 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x62, 0x06, 0x70, 726 0x72, 0x6f, 0x74, 0x6f, 0x33, 727 } 728 729 var ( 730 file_handshake_proto_rawDescOnce sync.Once 731 file_handshake_proto_rawDescData = file_handshake_proto_rawDesc 732 ) 733 734 func file_handshake_proto_rawDescGZIP() []byte { 735 file_handshake_proto_rawDescOnce.Do(func() { 736 file_handshake_proto_rawDescData = protoimpl.X.CompressGZIP(file_handshake_proto_rawDescData) 737 }) 738 return file_handshake_proto_rawDescData 739 } 740 741 var file_handshake_proto_msgTypes = make([]protoimpl.MessageInfo, 12) 742 var file_handshake_proto_goTypes = []interface{}{ 743 (*HandshakeRequest)(nil), // 0: tast.core.HandshakeRequest 744 (*HandshakeResponse)(nil), // 1: tast.core.HandshakeResponse 745 (*HandshakeError)(nil), // 2: tast.core.HandshakeError 746 (*BundleInitParams)(nil), // 3: tast.core.BundleInitParams 747 (*RunnerInitParams)(nil), // 4: tast.core.RunnerInitParams 748 (*BundleConfig)(nil), // 5: tast.core.BundleConfig 749 (*TargetDevice)(nil), // 6: tast.core.TargetDevice 750 (*DUTConfig)(nil), // 7: tast.core.DUTConfig 751 (*SSHConfig)(nil), // 8: tast.core.SSHConfig 752 (*MetaTestConfig)(nil), // 9: tast.core.MetaTestConfig 753 nil, // 10: tast.core.BundleInitParams.VarsEntry 754 nil, // 11: tast.core.BundleConfig.CompanionDutsEntry 755 } 756 var file_handshake_proto_depIdxs = []int32{ 757 3, // 0: tast.core.HandshakeRequest.bundle_init_params:type_name -> tast.core.BundleInitParams 758 4, // 1: tast.core.HandshakeRequest.runner_init_params:type_name -> tast.core.RunnerInitParams 759 2, // 2: tast.core.HandshakeResponse.error:type_name -> tast.core.HandshakeError 760 10, // 3: tast.core.BundleInitParams.vars:type_name -> tast.core.BundleInitParams.VarsEntry 761 5, // 4: tast.core.BundleInitParams.bundle_config:type_name -> tast.core.BundleConfig 762 6, // 5: tast.core.BundleConfig.primary_target:type_name -> tast.core.TargetDevice 763 11, // 6: tast.core.BundleConfig.companion_duts:type_name -> tast.core.BundleConfig.CompanionDutsEntry 764 9, // 7: tast.core.BundleConfig.meta_test_config:type_name -> tast.core.MetaTestConfig 765 7, // 8: tast.core.TargetDevice.dut_config:type_name -> tast.core.DUTConfig 766 8, // 9: tast.core.DUTConfig.ssh_config:type_name -> tast.core.SSHConfig 767 7, // 10: tast.core.BundleConfig.CompanionDutsEntry.value:type_name -> tast.core.DUTConfig 768 11, // [11:11] is the sub-list for method output_type 769 11, // [11:11] is the sub-list for method input_type 770 11, // [11:11] is the sub-list for extension type_name 771 11, // [11:11] is the sub-list for extension extendee 772 0, // [0:11] is the sub-list for field type_name 773 } 774 775 func init() { file_handshake_proto_init() } 776 func file_handshake_proto_init() { 777 if File_handshake_proto != nil { 778 return 779 } 780 if !protoimpl.UnsafeEnabled { 781 file_handshake_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 782 switch v := v.(*HandshakeRequest); i { 783 case 0: 784 return &v.state 785 case 1: 786 return &v.sizeCache 787 case 2: 788 return &v.unknownFields 789 default: 790 return nil 791 } 792 } 793 file_handshake_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 794 switch v := v.(*HandshakeResponse); i { 795 case 0: 796 return &v.state 797 case 1: 798 return &v.sizeCache 799 case 2: 800 return &v.unknownFields 801 default: 802 return nil 803 } 804 } 805 file_handshake_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 806 switch v := v.(*HandshakeError); i { 807 case 0: 808 return &v.state 809 case 1: 810 return &v.sizeCache 811 case 2: 812 return &v.unknownFields 813 default: 814 return nil 815 } 816 } 817 file_handshake_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 818 switch v := v.(*BundleInitParams); i { 819 case 0: 820 return &v.state 821 case 1: 822 return &v.sizeCache 823 case 2: 824 return &v.unknownFields 825 default: 826 return nil 827 } 828 } 829 file_handshake_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 830 switch v := v.(*RunnerInitParams); i { 831 case 0: 832 return &v.state 833 case 1: 834 return &v.sizeCache 835 case 2: 836 return &v.unknownFields 837 default: 838 return nil 839 } 840 } 841 file_handshake_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 842 switch v := v.(*BundleConfig); i { 843 case 0: 844 return &v.state 845 case 1: 846 return &v.sizeCache 847 case 2: 848 return &v.unknownFields 849 default: 850 return nil 851 } 852 } 853 file_handshake_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 854 switch v := v.(*TargetDevice); i { 855 case 0: 856 return &v.state 857 case 1: 858 return &v.sizeCache 859 case 2: 860 return &v.unknownFields 861 default: 862 return nil 863 } 864 } 865 file_handshake_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 866 switch v := v.(*DUTConfig); i { 867 case 0: 868 return &v.state 869 case 1: 870 return &v.sizeCache 871 case 2: 872 return &v.unknownFields 873 default: 874 return nil 875 } 876 } 877 file_handshake_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 878 switch v := v.(*SSHConfig); i { 879 case 0: 880 return &v.state 881 case 1: 882 return &v.sizeCache 883 case 2: 884 return &v.unknownFields 885 default: 886 return nil 887 } 888 } 889 file_handshake_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 890 switch v := v.(*MetaTestConfig); i { 891 case 0: 892 return &v.state 893 case 1: 894 return &v.sizeCache 895 case 2: 896 return &v.unknownFields 897 default: 898 return nil 899 } 900 } 901 } 902 type x struct{} 903 out := protoimpl.TypeBuilder{ 904 File: protoimpl.DescBuilder{ 905 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 906 RawDescriptor: file_handshake_proto_rawDesc, 907 NumEnums: 0, 908 NumMessages: 12, 909 NumExtensions: 0, 910 NumServices: 0, 911 }, 912 GoTypes: file_handshake_proto_goTypes, 913 DependencyIndexes: file_handshake_proto_depIdxs, 914 MessageInfos: file_handshake_proto_msgTypes, 915 }.Build() 916 File_handshake_proto = out.File 917 file_handshake_proto_rawDesc = nil 918 file_handshake_proto_goTypes = nil 919 file_handshake_proto_depIdxs = nil 920 }