github.com/kevinklinger/open_terraform@v1.3.6/noninternal/tfplugin5/tfplugin5.pb.go (about) 1 // Terraform Plugin RPC protocol version 5.3 2 // 3 // This file defines version 5.3 of the RPC protocol. To implement a plugin 4 // against this protocol, copy this definition into your own codebase and 5 // use protoc to generate stubs for your target language. 6 // 7 // This file will not be updated. Any minor versions of protocol 5 to follow 8 // should copy this file and modify the copy while maintaing backwards 9 // compatibility. Breaking changes, if any are required, will come 10 // in a subsequent major version with its own separate proto definition. 11 // 12 // Note that only the proto files included in a release tag of Terraform are 13 // official protocol releases. Proto files taken from other commits may include 14 // incomplete changes or features that did not make it into a final release. 15 // In all reasonable cases, plugin developers should take the proto file from 16 // the tag of the most recent release of Terraform, and not from the main 17 // branch or any other development branch. 18 // 19 20 // Code generated by protoc-gen-go. DO NOT EDIT. 21 // versions: 22 // protoc-gen-go v1.27.1 23 // protoc v3.15.6 24 // source: tfplugin5.proto 25 26 package tfplugin5 27 28 import ( 29 context "context" 30 grpc "google.golang.org/grpc" 31 codes "google.golang.org/grpc/codes" 32 status "google.golang.org/grpc/status" 33 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 34 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 35 reflect "reflect" 36 sync "sync" 37 ) 38 39 const ( 40 // Verify that this generated code is sufficiently up-to-date. 41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 42 // Verify that runtime/protoimpl is sufficiently up-to-date. 43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 44 ) 45 46 type StringKind int32 47 48 const ( 49 StringKind_PLAIN StringKind = 0 50 StringKind_MARKDOWN StringKind = 1 51 ) 52 53 // Enum value maps for StringKind. 54 var ( 55 StringKind_name = map[int32]string{ 56 0: "PLAIN", 57 1: "MARKDOWN", 58 } 59 StringKind_value = map[string]int32{ 60 "PLAIN": 0, 61 "MARKDOWN": 1, 62 } 63 ) 64 65 func (x StringKind) Enum() *StringKind { 66 p := new(StringKind) 67 *p = x 68 return p 69 } 70 71 func (x StringKind) String() string { 72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 73 } 74 75 func (StringKind) Descriptor() protoreflect.EnumDescriptor { 76 return file_tfplugin5_proto_enumTypes[0].Descriptor() 77 } 78 79 func (StringKind) Type() protoreflect.EnumType { 80 return &file_tfplugin5_proto_enumTypes[0] 81 } 82 83 func (x StringKind) Number() protoreflect.EnumNumber { 84 return protoreflect.EnumNumber(x) 85 } 86 87 // Deprecated: Use StringKind.Descriptor instead. 88 func (StringKind) EnumDescriptor() ([]byte, []int) { 89 return file_tfplugin5_proto_rawDescGZIP(), []int{0} 90 } 91 92 type Diagnostic_Severity int32 93 94 const ( 95 Diagnostic_INVALID Diagnostic_Severity = 0 96 Diagnostic_ERROR Diagnostic_Severity = 1 97 Diagnostic_WARNING Diagnostic_Severity = 2 98 ) 99 100 // Enum value maps for Diagnostic_Severity. 101 var ( 102 Diagnostic_Severity_name = map[int32]string{ 103 0: "INVALID", 104 1: "ERROR", 105 2: "WARNING", 106 } 107 Diagnostic_Severity_value = map[string]int32{ 108 "INVALID": 0, 109 "ERROR": 1, 110 "WARNING": 2, 111 } 112 ) 113 114 func (x Diagnostic_Severity) Enum() *Diagnostic_Severity { 115 p := new(Diagnostic_Severity) 116 *p = x 117 return p 118 } 119 120 func (x Diagnostic_Severity) String() string { 121 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 122 } 123 124 func (Diagnostic_Severity) Descriptor() protoreflect.EnumDescriptor { 125 return file_tfplugin5_proto_enumTypes[1].Descriptor() 126 } 127 128 func (Diagnostic_Severity) Type() protoreflect.EnumType { 129 return &file_tfplugin5_proto_enumTypes[1] 130 } 131 132 func (x Diagnostic_Severity) Number() protoreflect.EnumNumber { 133 return protoreflect.EnumNumber(x) 134 } 135 136 // Deprecated: Use Diagnostic_Severity.Descriptor instead. 137 func (Diagnostic_Severity) EnumDescriptor() ([]byte, []int) { 138 return file_tfplugin5_proto_rawDescGZIP(), []int{1, 0} 139 } 140 141 type Schema_NestedBlock_NestingMode int32 142 143 const ( 144 Schema_NestedBlock_INVALID Schema_NestedBlock_NestingMode = 0 145 Schema_NestedBlock_SINGLE Schema_NestedBlock_NestingMode = 1 146 Schema_NestedBlock_LIST Schema_NestedBlock_NestingMode = 2 147 Schema_NestedBlock_SET Schema_NestedBlock_NestingMode = 3 148 Schema_NestedBlock_MAP Schema_NestedBlock_NestingMode = 4 149 Schema_NestedBlock_GROUP Schema_NestedBlock_NestingMode = 5 150 ) 151 152 // Enum value maps for Schema_NestedBlock_NestingMode. 153 var ( 154 Schema_NestedBlock_NestingMode_name = map[int32]string{ 155 0: "INVALID", 156 1: "SINGLE", 157 2: "LIST", 158 3: "SET", 159 4: "MAP", 160 5: "GROUP", 161 } 162 Schema_NestedBlock_NestingMode_value = map[string]int32{ 163 "INVALID": 0, 164 "SINGLE": 1, 165 "LIST": 2, 166 "SET": 3, 167 "MAP": 4, 168 "GROUP": 5, 169 } 170 ) 171 172 func (x Schema_NestedBlock_NestingMode) Enum() *Schema_NestedBlock_NestingMode { 173 p := new(Schema_NestedBlock_NestingMode) 174 *p = x 175 return p 176 } 177 178 func (x Schema_NestedBlock_NestingMode) String() string { 179 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 180 } 181 182 func (Schema_NestedBlock_NestingMode) Descriptor() protoreflect.EnumDescriptor { 183 return file_tfplugin5_proto_enumTypes[2].Descriptor() 184 } 185 186 func (Schema_NestedBlock_NestingMode) Type() protoreflect.EnumType { 187 return &file_tfplugin5_proto_enumTypes[2] 188 } 189 190 func (x Schema_NestedBlock_NestingMode) Number() protoreflect.EnumNumber { 191 return protoreflect.EnumNumber(x) 192 } 193 194 // Deprecated: Use Schema_NestedBlock_NestingMode.Descriptor instead. 195 func (Schema_NestedBlock_NestingMode) EnumDescriptor() ([]byte, []int) { 196 return file_tfplugin5_proto_rawDescGZIP(), []int{5, 2, 0} 197 } 198 199 // DynamicValue is an opaque encoding of terraform data, with the field name 200 // indicating the encoding scheme used. 201 type DynamicValue struct { 202 state protoimpl.MessageState 203 sizeCache protoimpl.SizeCache 204 unknownFields protoimpl.UnknownFields 205 206 Msgpack []byte `protobuf:"bytes,1,opt,name=msgpack,proto3" json:"msgpack,omitempty"` 207 Json []byte `protobuf:"bytes,2,opt,name=json,proto3" json:"json,omitempty"` 208 } 209 210 func (x *DynamicValue) Reset() { 211 *x = DynamicValue{} 212 if protoimpl.UnsafeEnabled { 213 mi := &file_tfplugin5_proto_msgTypes[0] 214 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 215 ms.StoreMessageInfo(mi) 216 } 217 } 218 219 func (x *DynamicValue) String() string { 220 return protoimpl.X.MessageStringOf(x) 221 } 222 223 func (*DynamicValue) ProtoMessage() {} 224 225 func (x *DynamicValue) ProtoReflect() protoreflect.Message { 226 mi := &file_tfplugin5_proto_msgTypes[0] 227 if protoimpl.UnsafeEnabled && x != nil { 228 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 229 if ms.LoadMessageInfo() == nil { 230 ms.StoreMessageInfo(mi) 231 } 232 return ms 233 } 234 return mi.MessageOf(x) 235 } 236 237 // Deprecated: Use DynamicValue.ProtoReflect.Descriptor instead. 238 func (*DynamicValue) Descriptor() ([]byte, []int) { 239 return file_tfplugin5_proto_rawDescGZIP(), []int{0} 240 } 241 242 func (x *DynamicValue) GetMsgpack() []byte { 243 if x != nil { 244 return x.Msgpack 245 } 246 return nil 247 } 248 249 func (x *DynamicValue) GetJson() []byte { 250 if x != nil { 251 return x.Json 252 } 253 return nil 254 } 255 256 type Diagnostic struct { 257 state protoimpl.MessageState 258 sizeCache protoimpl.SizeCache 259 unknownFields protoimpl.UnknownFields 260 261 Severity Diagnostic_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=tfplugin5.Diagnostic_Severity" json:"severity,omitempty"` 262 Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` 263 Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"` 264 Attribute *AttributePath `protobuf:"bytes,4,opt,name=attribute,proto3" json:"attribute,omitempty"` 265 } 266 267 func (x *Diagnostic) Reset() { 268 *x = Diagnostic{} 269 if protoimpl.UnsafeEnabled { 270 mi := &file_tfplugin5_proto_msgTypes[1] 271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 272 ms.StoreMessageInfo(mi) 273 } 274 } 275 276 func (x *Diagnostic) String() string { 277 return protoimpl.X.MessageStringOf(x) 278 } 279 280 func (*Diagnostic) ProtoMessage() {} 281 282 func (x *Diagnostic) ProtoReflect() protoreflect.Message { 283 mi := &file_tfplugin5_proto_msgTypes[1] 284 if protoimpl.UnsafeEnabled && x != nil { 285 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 286 if ms.LoadMessageInfo() == nil { 287 ms.StoreMessageInfo(mi) 288 } 289 return ms 290 } 291 return mi.MessageOf(x) 292 } 293 294 // Deprecated: Use Diagnostic.ProtoReflect.Descriptor instead. 295 func (*Diagnostic) Descriptor() ([]byte, []int) { 296 return file_tfplugin5_proto_rawDescGZIP(), []int{1} 297 } 298 299 func (x *Diagnostic) GetSeverity() Diagnostic_Severity { 300 if x != nil { 301 return x.Severity 302 } 303 return Diagnostic_INVALID 304 } 305 306 func (x *Diagnostic) GetSummary() string { 307 if x != nil { 308 return x.Summary 309 } 310 return "" 311 } 312 313 func (x *Diagnostic) GetDetail() string { 314 if x != nil { 315 return x.Detail 316 } 317 return "" 318 } 319 320 func (x *Diagnostic) GetAttribute() *AttributePath { 321 if x != nil { 322 return x.Attribute 323 } 324 return nil 325 } 326 327 type AttributePath struct { 328 state protoimpl.MessageState 329 sizeCache protoimpl.SizeCache 330 unknownFields protoimpl.UnknownFields 331 332 Steps []*AttributePath_Step `protobuf:"bytes,1,rep,name=steps,proto3" json:"steps,omitempty"` 333 } 334 335 func (x *AttributePath) Reset() { 336 *x = AttributePath{} 337 if protoimpl.UnsafeEnabled { 338 mi := &file_tfplugin5_proto_msgTypes[2] 339 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 340 ms.StoreMessageInfo(mi) 341 } 342 } 343 344 func (x *AttributePath) String() string { 345 return protoimpl.X.MessageStringOf(x) 346 } 347 348 func (*AttributePath) ProtoMessage() {} 349 350 func (x *AttributePath) ProtoReflect() protoreflect.Message { 351 mi := &file_tfplugin5_proto_msgTypes[2] 352 if protoimpl.UnsafeEnabled && x != nil { 353 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 354 if ms.LoadMessageInfo() == nil { 355 ms.StoreMessageInfo(mi) 356 } 357 return ms 358 } 359 return mi.MessageOf(x) 360 } 361 362 // Deprecated: Use AttributePath.ProtoReflect.Descriptor instead. 363 func (*AttributePath) Descriptor() ([]byte, []int) { 364 return file_tfplugin5_proto_rawDescGZIP(), []int{2} 365 } 366 367 func (x *AttributePath) GetSteps() []*AttributePath_Step { 368 if x != nil { 369 return x.Steps 370 } 371 return nil 372 } 373 374 type Stop struct { 375 state protoimpl.MessageState 376 sizeCache protoimpl.SizeCache 377 unknownFields protoimpl.UnknownFields 378 } 379 380 func (x *Stop) Reset() { 381 *x = Stop{} 382 if protoimpl.UnsafeEnabled { 383 mi := &file_tfplugin5_proto_msgTypes[3] 384 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 385 ms.StoreMessageInfo(mi) 386 } 387 } 388 389 func (x *Stop) String() string { 390 return protoimpl.X.MessageStringOf(x) 391 } 392 393 func (*Stop) ProtoMessage() {} 394 395 func (x *Stop) ProtoReflect() protoreflect.Message { 396 mi := &file_tfplugin5_proto_msgTypes[3] 397 if protoimpl.UnsafeEnabled && x != nil { 398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 399 if ms.LoadMessageInfo() == nil { 400 ms.StoreMessageInfo(mi) 401 } 402 return ms 403 } 404 return mi.MessageOf(x) 405 } 406 407 // Deprecated: Use Stop.ProtoReflect.Descriptor instead. 408 func (*Stop) Descriptor() ([]byte, []int) { 409 return file_tfplugin5_proto_rawDescGZIP(), []int{3} 410 } 411 412 // RawState holds the stored state for a resource to be upgraded by the 413 // provider. It can be in one of two formats, the current json encoded format 414 // in bytes, or the legacy flatmap format as a map of strings. 415 type RawState struct { 416 state protoimpl.MessageState 417 sizeCache protoimpl.SizeCache 418 unknownFields protoimpl.UnknownFields 419 420 Json []byte `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"` 421 Flatmap map[string]string `protobuf:"bytes,2,rep,name=flatmap,proto3" json:"flatmap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 422 } 423 424 func (x *RawState) Reset() { 425 *x = RawState{} 426 if protoimpl.UnsafeEnabled { 427 mi := &file_tfplugin5_proto_msgTypes[4] 428 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 429 ms.StoreMessageInfo(mi) 430 } 431 } 432 433 func (x *RawState) String() string { 434 return protoimpl.X.MessageStringOf(x) 435 } 436 437 func (*RawState) ProtoMessage() {} 438 439 func (x *RawState) ProtoReflect() protoreflect.Message { 440 mi := &file_tfplugin5_proto_msgTypes[4] 441 if protoimpl.UnsafeEnabled && x != nil { 442 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 443 if ms.LoadMessageInfo() == nil { 444 ms.StoreMessageInfo(mi) 445 } 446 return ms 447 } 448 return mi.MessageOf(x) 449 } 450 451 // Deprecated: Use RawState.ProtoReflect.Descriptor instead. 452 func (*RawState) Descriptor() ([]byte, []int) { 453 return file_tfplugin5_proto_rawDescGZIP(), []int{4} 454 } 455 456 func (x *RawState) GetJson() []byte { 457 if x != nil { 458 return x.Json 459 } 460 return nil 461 } 462 463 func (x *RawState) GetFlatmap() map[string]string { 464 if x != nil { 465 return x.Flatmap 466 } 467 return nil 468 } 469 470 // Schema is the configuration schema for a Resource, Provider, or Provisioner. 471 type Schema struct { 472 state protoimpl.MessageState 473 sizeCache protoimpl.SizeCache 474 unknownFields protoimpl.UnknownFields 475 476 // The version of the schema. 477 // Schemas are versioned, so that providers can upgrade a saved resource 478 // state when the schema is changed. 479 Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 480 // Block is the top level configuration block for this schema. 481 Block *Schema_Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` 482 } 483 484 func (x *Schema) Reset() { 485 *x = Schema{} 486 if protoimpl.UnsafeEnabled { 487 mi := &file_tfplugin5_proto_msgTypes[5] 488 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 489 ms.StoreMessageInfo(mi) 490 } 491 } 492 493 func (x *Schema) String() string { 494 return protoimpl.X.MessageStringOf(x) 495 } 496 497 func (*Schema) ProtoMessage() {} 498 499 func (x *Schema) ProtoReflect() protoreflect.Message { 500 mi := &file_tfplugin5_proto_msgTypes[5] 501 if protoimpl.UnsafeEnabled && x != nil { 502 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 503 if ms.LoadMessageInfo() == nil { 504 ms.StoreMessageInfo(mi) 505 } 506 return ms 507 } 508 return mi.MessageOf(x) 509 } 510 511 // Deprecated: Use Schema.ProtoReflect.Descriptor instead. 512 func (*Schema) Descriptor() ([]byte, []int) { 513 return file_tfplugin5_proto_rawDescGZIP(), []int{5} 514 } 515 516 func (x *Schema) GetVersion() int64 { 517 if x != nil { 518 return x.Version 519 } 520 return 0 521 } 522 523 func (x *Schema) GetBlock() *Schema_Block { 524 if x != nil { 525 return x.Block 526 } 527 return nil 528 } 529 530 type GetProviderSchema struct { 531 state protoimpl.MessageState 532 sizeCache protoimpl.SizeCache 533 unknownFields protoimpl.UnknownFields 534 } 535 536 func (x *GetProviderSchema) Reset() { 537 *x = GetProviderSchema{} 538 if protoimpl.UnsafeEnabled { 539 mi := &file_tfplugin5_proto_msgTypes[6] 540 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 541 ms.StoreMessageInfo(mi) 542 } 543 } 544 545 func (x *GetProviderSchema) String() string { 546 return protoimpl.X.MessageStringOf(x) 547 } 548 549 func (*GetProviderSchema) ProtoMessage() {} 550 551 func (x *GetProviderSchema) ProtoReflect() protoreflect.Message { 552 mi := &file_tfplugin5_proto_msgTypes[6] 553 if protoimpl.UnsafeEnabled && x != nil { 554 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 555 if ms.LoadMessageInfo() == nil { 556 ms.StoreMessageInfo(mi) 557 } 558 return ms 559 } 560 return mi.MessageOf(x) 561 } 562 563 // Deprecated: Use GetProviderSchema.ProtoReflect.Descriptor instead. 564 func (*GetProviderSchema) Descriptor() ([]byte, []int) { 565 return file_tfplugin5_proto_rawDescGZIP(), []int{6} 566 } 567 568 type PrepareProviderConfig struct { 569 state protoimpl.MessageState 570 sizeCache protoimpl.SizeCache 571 unknownFields protoimpl.UnknownFields 572 } 573 574 func (x *PrepareProviderConfig) Reset() { 575 *x = PrepareProviderConfig{} 576 if protoimpl.UnsafeEnabled { 577 mi := &file_tfplugin5_proto_msgTypes[7] 578 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 579 ms.StoreMessageInfo(mi) 580 } 581 } 582 583 func (x *PrepareProviderConfig) String() string { 584 return protoimpl.X.MessageStringOf(x) 585 } 586 587 func (*PrepareProviderConfig) ProtoMessage() {} 588 589 func (x *PrepareProviderConfig) ProtoReflect() protoreflect.Message { 590 mi := &file_tfplugin5_proto_msgTypes[7] 591 if protoimpl.UnsafeEnabled && x != nil { 592 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 593 if ms.LoadMessageInfo() == nil { 594 ms.StoreMessageInfo(mi) 595 } 596 return ms 597 } 598 return mi.MessageOf(x) 599 } 600 601 // Deprecated: Use PrepareProviderConfig.ProtoReflect.Descriptor instead. 602 func (*PrepareProviderConfig) Descriptor() ([]byte, []int) { 603 return file_tfplugin5_proto_rawDescGZIP(), []int{7} 604 } 605 606 type UpgradeResourceState struct { 607 state protoimpl.MessageState 608 sizeCache protoimpl.SizeCache 609 unknownFields protoimpl.UnknownFields 610 } 611 612 func (x *UpgradeResourceState) Reset() { 613 *x = UpgradeResourceState{} 614 if protoimpl.UnsafeEnabled { 615 mi := &file_tfplugin5_proto_msgTypes[8] 616 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 617 ms.StoreMessageInfo(mi) 618 } 619 } 620 621 func (x *UpgradeResourceState) String() string { 622 return protoimpl.X.MessageStringOf(x) 623 } 624 625 func (*UpgradeResourceState) ProtoMessage() {} 626 627 func (x *UpgradeResourceState) ProtoReflect() protoreflect.Message { 628 mi := &file_tfplugin5_proto_msgTypes[8] 629 if protoimpl.UnsafeEnabled && x != nil { 630 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 631 if ms.LoadMessageInfo() == nil { 632 ms.StoreMessageInfo(mi) 633 } 634 return ms 635 } 636 return mi.MessageOf(x) 637 } 638 639 // Deprecated: Use UpgradeResourceState.ProtoReflect.Descriptor instead. 640 func (*UpgradeResourceState) Descriptor() ([]byte, []int) { 641 return file_tfplugin5_proto_rawDescGZIP(), []int{8} 642 } 643 644 type ValidateResourceTypeConfig struct { 645 state protoimpl.MessageState 646 sizeCache protoimpl.SizeCache 647 unknownFields protoimpl.UnknownFields 648 } 649 650 func (x *ValidateResourceTypeConfig) Reset() { 651 *x = ValidateResourceTypeConfig{} 652 if protoimpl.UnsafeEnabled { 653 mi := &file_tfplugin5_proto_msgTypes[9] 654 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 655 ms.StoreMessageInfo(mi) 656 } 657 } 658 659 func (x *ValidateResourceTypeConfig) String() string { 660 return protoimpl.X.MessageStringOf(x) 661 } 662 663 func (*ValidateResourceTypeConfig) ProtoMessage() {} 664 665 func (x *ValidateResourceTypeConfig) ProtoReflect() protoreflect.Message { 666 mi := &file_tfplugin5_proto_msgTypes[9] 667 if protoimpl.UnsafeEnabled && x != nil { 668 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 669 if ms.LoadMessageInfo() == nil { 670 ms.StoreMessageInfo(mi) 671 } 672 return ms 673 } 674 return mi.MessageOf(x) 675 } 676 677 // Deprecated: Use ValidateResourceTypeConfig.ProtoReflect.Descriptor instead. 678 func (*ValidateResourceTypeConfig) Descriptor() ([]byte, []int) { 679 return file_tfplugin5_proto_rawDescGZIP(), []int{9} 680 } 681 682 type ValidateDataSourceConfig struct { 683 state protoimpl.MessageState 684 sizeCache protoimpl.SizeCache 685 unknownFields protoimpl.UnknownFields 686 } 687 688 func (x *ValidateDataSourceConfig) Reset() { 689 *x = ValidateDataSourceConfig{} 690 if protoimpl.UnsafeEnabled { 691 mi := &file_tfplugin5_proto_msgTypes[10] 692 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 693 ms.StoreMessageInfo(mi) 694 } 695 } 696 697 func (x *ValidateDataSourceConfig) String() string { 698 return protoimpl.X.MessageStringOf(x) 699 } 700 701 func (*ValidateDataSourceConfig) ProtoMessage() {} 702 703 func (x *ValidateDataSourceConfig) ProtoReflect() protoreflect.Message { 704 mi := &file_tfplugin5_proto_msgTypes[10] 705 if protoimpl.UnsafeEnabled && x != nil { 706 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 707 if ms.LoadMessageInfo() == nil { 708 ms.StoreMessageInfo(mi) 709 } 710 return ms 711 } 712 return mi.MessageOf(x) 713 } 714 715 // Deprecated: Use ValidateDataSourceConfig.ProtoReflect.Descriptor instead. 716 func (*ValidateDataSourceConfig) Descriptor() ([]byte, []int) { 717 return file_tfplugin5_proto_rawDescGZIP(), []int{10} 718 } 719 720 type Configure struct { 721 state protoimpl.MessageState 722 sizeCache protoimpl.SizeCache 723 unknownFields protoimpl.UnknownFields 724 } 725 726 func (x *Configure) Reset() { 727 *x = Configure{} 728 if protoimpl.UnsafeEnabled { 729 mi := &file_tfplugin5_proto_msgTypes[11] 730 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 731 ms.StoreMessageInfo(mi) 732 } 733 } 734 735 func (x *Configure) String() string { 736 return protoimpl.X.MessageStringOf(x) 737 } 738 739 func (*Configure) ProtoMessage() {} 740 741 func (x *Configure) ProtoReflect() protoreflect.Message { 742 mi := &file_tfplugin5_proto_msgTypes[11] 743 if protoimpl.UnsafeEnabled && x != nil { 744 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 745 if ms.LoadMessageInfo() == nil { 746 ms.StoreMessageInfo(mi) 747 } 748 return ms 749 } 750 return mi.MessageOf(x) 751 } 752 753 // Deprecated: Use Configure.ProtoReflect.Descriptor instead. 754 func (*Configure) Descriptor() ([]byte, []int) { 755 return file_tfplugin5_proto_rawDescGZIP(), []int{11} 756 } 757 758 type ReadResource struct { 759 state protoimpl.MessageState 760 sizeCache protoimpl.SizeCache 761 unknownFields protoimpl.UnknownFields 762 } 763 764 func (x *ReadResource) Reset() { 765 *x = ReadResource{} 766 if protoimpl.UnsafeEnabled { 767 mi := &file_tfplugin5_proto_msgTypes[12] 768 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 769 ms.StoreMessageInfo(mi) 770 } 771 } 772 773 func (x *ReadResource) String() string { 774 return protoimpl.X.MessageStringOf(x) 775 } 776 777 func (*ReadResource) ProtoMessage() {} 778 779 func (x *ReadResource) ProtoReflect() protoreflect.Message { 780 mi := &file_tfplugin5_proto_msgTypes[12] 781 if protoimpl.UnsafeEnabled && x != nil { 782 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 783 if ms.LoadMessageInfo() == nil { 784 ms.StoreMessageInfo(mi) 785 } 786 return ms 787 } 788 return mi.MessageOf(x) 789 } 790 791 // Deprecated: Use ReadResource.ProtoReflect.Descriptor instead. 792 func (*ReadResource) Descriptor() ([]byte, []int) { 793 return file_tfplugin5_proto_rawDescGZIP(), []int{12} 794 } 795 796 type PlanResourceChange struct { 797 state protoimpl.MessageState 798 sizeCache protoimpl.SizeCache 799 unknownFields protoimpl.UnknownFields 800 } 801 802 func (x *PlanResourceChange) Reset() { 803 *x = PlanResourceChange{} 804 if protoimpl.UnsafeEnabled { 805 mi := &file_tfplugin5_proto_msgTypes[13] 806 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 807 ms.StoreMessageInfo(mi) 808 } 809 } 810 811 func (x *PlanResourceChange) String() string { 812 return protoimpl.X.MessageStringOf(x) 813 } 814 815 func (*PlanResourceChange) ProtoMessage() {} 816 817 func (x *PlanResourceChange) ProtoReflect() protoreflect.Message { 818 mi := &file_tfplugin5_proto_msgTypes[13] 819 if protoimpl.UnsafeEnabled && x != nil { 820 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 821 if ms.LoadMessageInfo() == nil { 822 ms.StoreMessageInfo(mi) 823 } 824 return ms 825 } 826 return mi.MessageOf(x) 827 } 828 829 // Deprecated: Use PlanResourceChange.ProtoReflect.Descriptor instead. 830 func (*PlanResourceChange) Descriptor() ([]byte, []int) { 831 return file_tfplugin5_proto_rawDescGZIP(), []int{13} 832 } 833 834 type ApplyResourceChange struct { 835 state protoimpl.MessageState 836 sizeCache protoimpl.SizeCache 837 unknownFields protoimpl.UnknownFields 838 } 839 840 func (x *ApplyResourceChange) Reset() { 841 *x = ApplyResourceChange{} 842 if protoimpl.UnsafeEnabled { 843 mi := &file_tfplugin5_proto_msgTypes[14] 844 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 845 ms.StoreMessageInfo(mi) 846 } 847 } 848 849 func (x *ApplyResourceChange) String() string { 850 return protoimpl.X.MessageStringOf(x) 851 } 852 853 func (*ApplyResourceChange) ProtoMessage() {} 854 855 func (x *ApplyResourceChange) ProtoReflect() protoreflect.Message { 856 mi := &file_tfplugin5_proto_msgTypes[14] 857 if protoimpl.UnsafeEnabled && x != nil { 858 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 859 if ms.LoadMessageInfo() == nil { 860 ms.StoreMessageInfo(mi) 861 } 862 return ms 863 } 864 return mi.MessageOf(x) 865 } 866 867 // Deprecated: Use ApplyResourceChange.ProtoReflect.Descriptor instead. 868 func (*ApplyResourceChange) Descriptor() ([]byte, []int) { 869 return file_tfplugin5_proto_rawDescGZIP(), []int{14} 870 } 871 872 type ImportResourceState struct { 873 state protoimpl.MessageState 874 sizeCache protoimpl.SizeCache 875 unknownFields protoimpl.UnknownFields 876 } 877 878 func (x *ImportResourceState) Reset() { 879 *x = ImportResourceState{} 880 if protoimpl.UnsafeEnabled { 881 mi := &file_tfplugin5_proto_msgTypes[15] 882 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 883 ms.StoreMessageInfo(mi) 884 } 885 } 886 887 func (x *ImportResourceState) String() string { 888 return protoimpl.X.MessageStringOf(x) 889 } 890 891 func (*ImportResourceState) ProtoMessage() {} 892 893 func (x *ImportResourceState) ProtoReflect() protoreflect.Message { 894 mi := &file_tfplugin5_proto_msgTypes[15] 895 if protoimpl.UnsafeEnabled && x != nil { 896 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 897 if ms.LoadMessageInfo() == nil { 898 ms.StoreMessageInfo(mi) 899 } 900 return ms 901 } 902 return mi.MessageOf(x) 903 } 904 905 // Deprecated: Use ImportResourceState.ProtoReflect.Descriptor instead. 906 func (*ImportResourceState) Descriptor() ([]byte, []int) { 907 return file_tfplugin5_proto_rawDescGZIP(), []int{15} 908 } 909 910 type ReadDataSource struct { 911 state protoimpl.MessageState 912 sizeCache protoimpl.SizeCache 913 unknownFields protoimpl.UnknownFields 914 } 915 916 func (x *ReadDataSource) Reset() { 917 *x = ReadDataSource{} 918 if protoimpl.UnsafeEnabled { 919 mi := &file_tfplugin5_proto_msgTypes[16] 920 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 921 ms.StoreMessageInfo(mi) 922 } 923 } 924 925 func (x *ReadDataSource) String() string { 926 return protoimpl.X.MessageStringOf(x) 927 } 928 929 func (*ReadDataSource) ProtoMessage() {} 930 931 func (x *ReadDataSource) ProtoReflect() protoreflect.Message { 932 mi := &file_tfplugin5_proto_msgTypes[16] 933 if protoimpl.UnsafeEnabled && x != nil { 934 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 935 if ms.LoadMessageInfo() == nil { 936 ms.StoreMessageInfo(mi) 937 } 938 return ms 939 } 940 return mi.MessageOf(x) 941 } 942 943 // Deprecated: Use ReadDataSource.ProtoReflect.Descriptor instead. 944 func (*ReadDataSource) Descriptor() ([]byte, []int) { 945 return file_tfplugin5_proto_rawDescGZIP(), []int{16} 946 } 947 948 type GetProvisionerSchema struct { 949 state protoimpl.MessageState 950 sizeCache protoimpl.SizeCache 951 unknownFields protoimpl.UnknownFields 952 } 953 954 func (x *GetProvisionerSchema) Reset() { 955 *x = GetProvisionerSchema{} 956 if protoimpl.UnsafeEnabled { 957 mi := &file_tfplugin5_proto_msgTypes[17] 958 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 959 ms.StoreMessageInfo(mi) 960 } 961 } 962 963 func (x *GetProvisionerSchema) String() string { 964 return protoimpl.X.MessageStringOf(x) 965 } 966 967 func (*GetProvisionerSchema) ProtoMessage() {} 968 969 func (x *GetProvisionerSchema) ProtoReflect() protoreflect.Message { 970 mi := &file_tfplugin5_proto_msgTypes[17] 971 if protoimpl.UnsafeEnabled && x != nil { 972 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 973 if ms.LoadMessageInfo() == nil { 974 ms.StoreMessageInfo(mi) 975 } 976 return ms 977 } 978 return mi.MessageOf(x) 979 } 980 981 // Deprecated: Use GetProvisionerSchema.ProtoReflect.Descriptor instead. 982 func (*GetProvisionerSchema) Descriptor() ([]byte, []int) { 983 return file_tfplugin5_proto_rawDescGZIP(), []int{17} 984 } 985 986 type ValidateProvisionerConfig struct { 987 state protoimpl.MessageState 988 sizeCache protoimpl.SizeCache 989 unknownFields protoimpl.UnknownFields 990 } 991 992 func (x *ValidateProvisionerConfig) Reset() { 993 *x = ValidateProvisionerConfig{} 994 if protoimpl.UnsafeEnabled { 995 mi := &file_tfplugin5_proto_msgTypes[18] 996 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 997 ms.StoreMessageInfo(mi) 998 } 999 } 1000 1001 func (x *ValidateProvisionerConfig) String() string { 1002 return protoimpl.X.MessageStringOf(x) 1003 } 1004 1005 func (*ValidateProvisionerConfig) ProtoMessage() {} 1006 1007 func (x *ValidateProvisionerConfig) ProtoReflect() protoreflect.Message { 1008 mi := &file_tfplugin5_proto_msgTypes[18] 1009 if protoimpl.UnsafeEnabled && x != nil { 1010 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1011 if ms.LoadMessageInfo() == nil { 1012 ms.StoreMessageInfo(mi) 1013 } 1014 return ms 1015 } 1016 return mi.MessageOf(x) 1017 } 1018 1019 // Deprecated: Use ValidateProvisionerConfig.ProtoReflect.Descriptor instead. 1020 func (*ValidateProvisionerConfig) Descriptor() ([]byte, []int) { 1021 return file_tfplugin5_proto_rawDescGZIP(), []int{18} 1022 } 1023 1024 type ProvisionResource struct { 1025 state protoimpl.MessageState 1026 sizeCache protoimpl.SizeCache 1027 unknownFields protoimpl.UnknownFields 1028 } 1029 1030 func (x *ProvisionResource) Reset() { 1031 *x = ProvisionResource{} 1032 if protoimpl.UnsafeEnabled { 1033 mi := &file_tfplugin5_proto_msgTypes[19] 1034 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1035 ms.StoreMessageInfo(mi) 1036 } 1037 } 1038 1039 func (x *ProvisionResource) String() string { 1040 return protoimpl.X.MessageStringOf(x) 1041 } 1042 1043 func (*ProvisionResource) ProtoMessage() {} 1044 1045 func (x *ProvisionResource) ProtoReflect() protoreflect.Message { 1046 mi := &file_tfplugin5_proto_msgTypes[19] 1047 if protoimpl.UnsafeEnabled && x != nil { 1048 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1049 if ms.LoadMessageInfo() == nil { 1050 ms.StoreMessageInfo(mi) 1051 } 1052 return ms 1053 } 1054 return mi.MessageOf(x) 1055 } 1056 1057 // Deprecated: Use ProvisionResource.ProtoReflect.Descriptor instead. 1058 func (*ProvisionResource) Descriptor() ([]byte, []int) { 1059 return file_tfplugin5_proto_rawDescGZIP(), []int{19} 1060 } 1061 1062 type AttributePath_Step struct { 1063 state protoimpl.MessageState 1064 sizeCache protoimpl.SizeCache 1065 unknownFields protoimpl.UnknownFields 1066 1067 // Types that are assignable to Selector: 1068 // 1069 // *AttributePath_Step_AttributeName 1070 // *AttributePath_Step_ElementKeyString 1071 // *AttributePath_Step_ElementKeyInt 1072 Selector isAttributePath_Step_Selector `protobuf_oneof:"selector"` 1073 } 1074 1075 func (x *AttributePath_Step) Reset() { 1076 *x = AttributePath_Step{} 1077 if protoimpl.UnsafeEnabled { 1078 mi := &file_tfplugin5_proto_msgTypes[20] 1079 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1080 ms.StoreMessageInfo(mi) 1081 } 1082 } 1083 1084 func (x *AttributePath_Step) String() string { 1085 return protoimpl.X.MessageStringOf(x) 1086 } 1087 1088 func (*AttributePath_Step) ProtoMessage() {} 1089 1090 func (x *AttributePath_Step) ProtoReflect() protoreflect.Message { 1091 mi := &file_tfplugin5_proto_msgTypes[20] 1092 if protoimpl.UnsafeEnabled && x != nil { 1093 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1094 if ms.LoadMessageInfo() == nil { 1095 ms.StoreMessageInfo(mi) 1096 } 1097 return ms 1098 } 1099 return mi.MessageOf(x) 1100 } 1101 1102 // Deprecated: Use AttributePath_Step.ProtoReflect.Descriptor instead. 1103 func (*AttributePath_Step) Descriptor() ([]byte, []int) { 1104 return file_tfplugin5_proto_rawDescGZIP(), []int{2, 0} 1105 } 1106 1107 func (m *AttributePath_Step) GetSelector() isAttributePath_Step_Selector { 1108 if m != nil { 1109 return m.Selector 1110 } 1111 return nil 1112 } 1113 1114 func (x *AttributePath_Step) GetAttributeName() string { 1115 if x, ok := x.GetSelector().(*AttributePath_Step_AttributeName); ok { 1116 return x.AttributeName 1117 } 1118 return "" 1119 } 1120 1121 func (x *AttributePath_Step) GetElementKeyString() string { 1122 if x, ok := x.GetSelector().(*AttributePath_Step_ElementKeyString); ok { 1123 return x.ElementKeyString 1124 } 1125 return "" 1126 } 1127 1128 func (x *AttributePath_Step) GetElementKeyInt() int64 { 1129 if x, ok := x.GetSelector().(*AttributePath_Step_ElementKeyInt); ok { 1130 return x.ElementKeyInt 1131 } 1132 return 0 1133 } 1134 1135 type isAttributePath_Step_Selector interface { 1136 isAttributePath_Step_Selector() 1137 } 1138 1139 type AttributePath_Step_AttributeName struct { 1140 // Set "attribute_name" to represent looking up an attribute 1141 // in the current object value. 1142 AttributeName string `protobuf:"bytes,1,opt,name=attribute_name,json=attributeName,proto3,oneof"` 1143 } 1144 1145 type AttributePath_Step_ElementKeyString struct { 1146 // Set "element_key_*" to represent looking up an element in 1147 // an indexable collection type. 1148 ElementKeyString string `protobuf:"bytes,2,opt,name=element_key_string,json=elementKeyString,proto3,oneof"` 1149 } 1150 1151 type AttributePath_Step_ElementKeyInt struct { 1152 ElementKeyInt int64 `protobuf:"varint,3,opt,name=element_key_int,json=elementKeyInt,proto3,oneof"` 1153 } 1154 1155 func (*AttributePath_Step_AttributeName) isAttributePath_Step_Selector() {} 1156 1157 func (*AttributePath_Step_ElementKeyString) isAttributePath_Step_Selector() {} 1158 1159 func (*AttributePath_Step_ElementKeyInt) isAttributePath_Step_Selector() {} 1160 1161 type Stop_Request struct { 1162 state protoimpl.MessageState 1163 sizeCache protoimpl.SizeCache 1164 unknownFields protoimpl.UnknownFields 1165 } 1166 1167 func (x *Stop_Request) Reset() { 1168 *x = Stop_Request{} 1169 if protoimpl.UnsafeEnabled { 1170 mi := &file_tfplugin5_proto_msgTypes[21] 1171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1172 ms.StoreMessageInfo(mi) 1173 } 1174 } 1175 1176 func (x *Stop_Request) String() string { 1177 return protoimpl.X.MessageStringOf(x) 1178 } 1179 1180 func (*Stop_Request) ProtoMessage() {} 1181 1182 func (x *Stop_Request) ProtoReflect() protoreflect.Message { 1183 mi := &file_tfplugin5_proto_msgTypes[21] 1184 if protoimpl.UnsafeEnabled && x != nil { 1185 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1186 if ms.LoadMessageInfo() == nil { 1187 ms.StoreMessageInfo(mi) 1188 } 1189 return ms 1190 } 1191 return mi.MessageOf(x) 1192 } 1193 1194 // Deprecated: Use Stop_Request.ProtoReflect.Descriptor instead. 1195 func (*Stop_Request) Descriptor() ([]byte, []int) { 1196 return file_tfplugin5_proto_rawDescGZIP(), []int{3, 0} 1197 } 1198 1199 type Stop_Response struct { 1200 state protoimpl.MessageState 1201 sizeCache protoimpl.SizeCache 1202 unknownFields protoimpl.UnknownFields 1203 1204 Error string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error,omitempty"` 1205 } 1206 1207 func (x *Stop_Response) Reset() { 1208 *x = Stop_Response{} 1209 if protoimpl.UnsafeEnabled { 1210 mi := &file_tfplugin5_proto_msgTypes[22] 1211 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1212 ms.StoreMessageInfo(mi) 1213 } 1214 } 1215 1216 func (x *Stop_Response) String() string { 1217 return protoimpl.X.MessageStringOf(x) 1218 } 1219 1220 func (*Stop_Response) ProtoMessage() {} 1221 1222 func (x *Stop_Response) ProtoReflect() protoreflect.Message { 1223 mi := &file_tfplugin5_proto_msgTypes[22] 1224 if protoimpl.UnsafeEnabled && x != nil { 1225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1226 if ms.LoadMessageInfo() == nil { 1227 ms.StoreMessageInfo(mi) 1228 } 1229 return ms 1230 } 1231 return mi.MessageOf(x) 1232 } 1233 1234 // Deprecated: Use Stop_Response.ProtoReflect.Descriptor instead. 1235 func (*Stop_Response) Descriptor() ([]byte, []int) { 1236 return file_tfplugin5_proto_rawDescGZIP(), []int{3, 1} 1237 } 1238 1239 func (x *Stop_Response) GetError() string { 1240 if x != nil { 1241 return x.Error 1242 } 1243 return "" 1244 } 1245 1246 type Schema_Block struct { 1247 state protoimpl.MessageState 1248 sizeCache protoimpl.SizeCache 1249 unknownFields protoimpl.UnknownFields 1250 1251 Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 1252 Attributes []*Schema_Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"` 1253 BlockTypes []*Schema_NestedBlock `protobuf:"bytes,3,rep,name=block_types,json=blockTypes,proto3" json:"block_types,omitempty"` 1254 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` 1255 DescriptionKind StringKind `protobuf:"varint,5,opt,name=description_kind,json=descriptionKind,proto3,enum=tfplugin5.StringKind" json:"description_kind,omitempty"` 1256 Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"` 1257 } 1258 1259 func (x *Schema_Block) Reset() { 1260 *x = Schema_Block{} 1261 if protoimpl.UnsafeEnabled { 1262 mi := &file_tfplugin5_proto_msgTypes[24] 1263 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1264 ms.StoreMessageInfo(mi) 1265 } 1266 } 1267 1268 func (x *Schema_Block) String() string { 1269 return protoimpl.X.MessageStringOf(x) 1270 } 1271 1272 func (*Schema_Block) ProtoMessage() {} 1273 1274 func (x *Schema_Block) ProtoReflect() protoreflect.Message { 1275 mi := &file_tfplugin5_proto_msgTypes[24] 1276 if protoimpl.UnsafeEnabled && x != nil { 1277 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1278 if ms.LoadMessageInfo() == nil { 1279 ms.StoreMessageInfo(mi) 1280 } 1281 return ms 1282 } 1283 return mi.MessageOf(x) 1284 } 1285 1286 // Deprecated: Use Schema_Block.ProtoReflect.Descriptor instead. 1287 func (*Schema_Block) Descriptor() ([]byte, []int) { 1288 return file_tfplugin5_proto_rawDescGZIP(), []int{5, 0} 1289 } 1290 1291 func (x *Schema_Block) GetVersion() int64 { 1292 if x != nil { 1293 return x.Version 1294 } 1295 return 0 1296 } 1297 1298 func (x *Schema_Block) GetAttributes() []*Schema_Attribute { 1299 if x != nil { 1300 return x.Attributes 1301 } 1302 return nil 1303 } 1304 1305 func (x *Schema_Block) GetBlockTypes() []*Schema_NestedBlock { 1306 if x != nil { 1307 return x.BlockTypes 1308 } 1309 return nil 1310 } 1311 1312 func (x *Schema_Block) GetDescription() string { 1313 if x != nil { 1314 return x.Description 1315 } 1316 return "" 1317 } 1318 1319 func (x *Schema_Block) GetDescriptionKind() StringKind { 1320 if x != nil { 1321 return x.DescriptionKind 1322 } 1323 return StringKind_PLAIN 1324 } 1325 1326 func (x *Schema_Block) GetDeprecated() bool { 1327 if x != nil { 1328 return x.Deprecated 1329 } 1330 return false 1331 } 1332 1333 type Schema_Attribute struct { 1334 state protoimpl.MessageState 1335 sizeCache protoimpl.SizeCache 1336 unknownFields protoimpl.UnknownFields 1337 1338 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1339 Type []byte `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` 1340 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` 1341 Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"` 1342 Optional bool `protobuf:"varint,5,opt,name=optional,proto3" json:"optional,omitempty"` 1343 Computed bool `protobuf:"varint,6,opt,name=computed,proto3" json:"computed,omitempty"` 1344 Sensitive bool `protobuf:"varint,7,opt,name=sensitive,proto3" json:"sensitive,omitempty"` 1345 DescriptionKind StringKind `protobuf:"varint,8,opt,name=description_kind,json=descriptionKind,proto3,enum=tfplugin5.StringKind" json:"description_kind,omitempty"` 1346 Deprecated bool `protobuf:"varint,9,opt,name=deprecated,proto3" json:"deprecated,omitempty"` 1347 } 1348 1349 func (x *Schema_Attribute) Reset() { 1350 *x = Schema_Attribute{} 1351 if protoimpl.UnsafeEnabled { 1352 mi := &file_tfplugin5_proto_msgTypes[25] 1353 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1354 ms.StoreMessageInfo(mi) 1355 } 1356 } 1357 1358 func (x *Schema_Attribute) String() string { 1359 return protoimpl.X.MessageStringOf(x) 1360 } 1361 1362 func (*Schema_Attribute) ProtoMessage() {} 1363 1364 func (x *Schema_Attribute) ProtoReflect() protoreflect.Message { 1365 mi := &file_tfplugin5_proto_msgTypes[25] 1366 if protoimpl.UnsafeEnabled && x != nil { 1367 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1368 if ms.LoadMessageInfo() == nil { 1369 ms.StoreMessageInfo(mi) 1370 } 1371 return ms 1372 } 1373 return mi.MessageOf(x) 1374 } 1375 1376 // Deprecated: Use Schema_Attribute.ProtoReflect.Descriptor instead. 1377 func (*Schema_Attribute) Descriptor() ([]byte, []int) { 1378 return file_tfplugin5_proto_rawDescGZIP(), []int{5, 1} 1379 } 1380 1381 func (x *Schema_Attribute) GetName() string { 1382 if x != nil { 1383 return x.Name 1384 } 1385 return "" 1386 } 1387 1388 func (x *Schema_Attribute) GetType() []byte { 1389 if x != nil { 1390 return x.Type 1391 } 1392 return nil 1393 } 1394 1395 func (x *Schema_Attribute) GetDescription() string { 1396 if x != nil { 1397 return x.Description 1398 } 1399 return "" 1400 } 1401 1402 func (x *Schema_Attribute) GetRequired() bool { 1403 if x != nil { 1404 return x.Required 1405 } 1406 return false 1407 } 1408 1409 func (x *Schema_Attribute) GetOptional() bool { 1410 if x != nil { 1411 return x.Optional 1412 } 1413 return false 1414 } 1415 1416 func (x *Schema_Attribute) GetComputed() bool { 1417 if x != nil { 1418 return x.Computed 1419 } 1420 return false 1421 } 1422 1423 func (x *Schema_Attribute) GetSensitive() bool { 1424 if x != nil { 1425 return x.Sensitive 1426 } 1427 return false 1428 } 1429 1430 func (x *Schema_Attribute) GetDescriptionKind() StringKind { 1431 if x != nil { 1432 return x.DescriptionKind 1433 } 1434 return StringKind_PLAIN 1435 } 1436 1437 func (x *Schema_Attribute) GetDeprecated() bool { 1438 if x != nil { 1439 return x.Deprecated 1440 } 1441 return false 1442 } 1443 1444 type Schema_NestedBlock struct { 1445 state protoimpl.MessageState 1446 sizeCache protoimpl.SizeCache 1447 unknownFields protoimpl.UnknownFields 1448 1449 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 1450 Block *Schema_Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` 1451 Nesting Schema_NestedBlock_NestingMode `protobuf:"varint,3,opt,name=nesting,proto3,enum=tfplugin5.Schema_NestedBlock_NestingMode" json:"nesting,omitempty"` 1452 MinItems int64 `protobuf:"varint,4,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"` 1453 MaxItems int64 `protobuf:"varint,5,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"` 1454 } 1455 1456 func (x *Schema_NestedBlock) Reset() { 1457 *x = Schema_NestedBlock{} 1458 if protoimpl.UnsafeEnabled { 1459 mi := &file_tfplugin5_proto_msgTypes[26] 1460 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1461 ms.StoreMessageInfo(mi) 1462 } 1463 } 1464 1465 func (x *Schema_NestedBlock) String() string { 1466 return protoimpl.X.MessageStringOf(x) 1467 } 1468 1469 func (*Schema_NestedBlock) ProtoMessage() {} 1470 1471 func (x *Schema_NestedBlock) ProtoReflect() protoreflect.Message { 1472 mi := &file_tfplugin5_proto_msgTypes[26] 1473 if protoimpl.UnsafeEnabled && x != nil { 1474 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1475 if ms.LoadMessageInfo() == nil { 1476 ms.StoreMessageInfo(mi) 1477 } 1478 return ms 1479 } 1480 return mi.MessageOf(x) 1481 } 1482 1483 // Deprecated: Use Schema_NestedBlock.ProtoReflect.Descriptor instead. 1484 func (*Schema_NestedBlock) Descriptor() ([]byte, []int) { 1485 return file_tfplugin5_proto_rawDescGZIP(), []int{5, 2} 1486 } 1487 1488 func (x *Schema_NestedBlock) GetTypeName() string { 1489 if x != nil { 1490 return x.TypeName 1491 } 1492 return "" 1493 } 1494 1495 func (x *Schema_NestedBlock) GetBlock() *Schema_Block { 1496 if x != nil { 1497 return x.Block 1498 } 1499 return nil 1500 } 1501 1502 func (x *Schema_NestedBlock) GetNesting() Schema_NestedBlock_NestingMode { 1503 if x != nil { 1504 return x.Nesting 1505 } 1506 return Schema_NestedBlock_INVALID 1507 } 1508 1509 func (x *Schema_NestedBlock) GetMinItems() int64 { 1510 if x != nil { 1511 return x.MinItems 1512 } 1513 return 0 1514 } 1515 1516 func (x *Schema_NestedBlock) GetMaxItems() int64 { 1517 if x != nil { 1518 return x.MaxItems 1519 } 1520 return 0 1521 } 1522 1523 type GetProviderSchema_Request struct { 1524 state protoimpl.MessageState 1525 sizeCache protoimpl.SizeCache 1526 unknownFields protoimpl.UnknownFields 1527 } 1528 1529 func (x *GetProviderSchema_Request) Reset() { 1530 *x = GetProviderSchema_Request{} 1531 if protoimpl.UnsafeEnabled { 1532 mi := &file_tfplugin5_proto_msgTypes[27] 1533 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1534 ms.StoreMessageInfo(mi) 1535 } 1536 } 1537 1538 func (x *GetProviderSchema_Request) String() string { 1539 return protoimpl.X.MessageStringOf(x) 1540 } 1541 1542 func (*GetProviderSchema_Request) ProtoMessage() {} 1543 1544 func (x *GetProviderSchema_Request) ProtoReflect() protoreflect.Message { 1545 mi := &file_tfplugin5_proto_msgTypes[27] 1546 if protoimpl.UnsafeEnabled && x != nil { 1547 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1548 if ms.LoadMessageInfo() == nil { 1549 ms.StoreMessageInfo(mi) 1550 } 1551 return ms 1552 } 1553 return mi.MessageOf(x) 1554 } 1555 1556 // Deprecated: Use GetProviderSchema_Request.ProtoReflect.Descriptor instead. 1557 func (*GetProviderSchema_Request) Descriptor() ([]byte, []int) { 1558 return file_tfplugin5_proto_rawDescGZIP(), []int{6, 0} 1559 } 1560 1561 type GetProviderSchema_Response struct { 1562 state protoimpl.MessageState 1563 sizeCache protoimpl.SizeCache 1564 unknownFields protoimpl.UnknownFields 1565 1566 Provider *Schema `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` 1567 ResourceSchemas map[string]*Schema `protobuf:"bytes,2,rep,name=resource_schemas,json=resourceSchemas,proto3" json:"resource_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1568 DataSourceSchemas map[string]*Schema `protobuf:"bytes,3,rep,name=data_source_schemas,json=dataSourceSchemas,proto3" json:"data_source_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1569 Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 1570 ProviderMeta *Schema `protobuf:"bytes,5,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` 1571 ServerCapabilities *GetProviderSchema_ServerCapabilities `protobuf:"bytes,6,opt,name=server_capabilities,json=serverCapabilities,proto3" json:"server_capabilities,omitempty"` 1572 } 1573 1574 func (x *GetProviderSchema_Response) Reset() { 1575 *x = GetProviderSchema_Response{} 1576 if protoimpl.UnsafeEnabled { 1577 mi := &file_tfplugin5_proto_msgTypes[28] 1578 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1579 ms.StoreMessageInfo(mi) 1580 } 1581 } 1582 1583 func (x *GetProviderSchema_Response) String() string { 1584 return protoimpl.X.MessageStringOf(x) 1585 } 1586 1587 func (*GetProviderSchema_Response) ProtoMessage() {} 1588 1589 func (x *GetProviderSchema_Response) ProtoReflect() protoreflect.Message { 1590 mi := &file_tfplugin5_proto_msgTypes[28] 1591 if protoimpl.UnsafeEnabled && x != nil { 1592 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1593 if ms.LoadMessageInfo() == nil { 1594 ms.StoreMessageInfo(mi) 1595 } 1596 return ms 1597 } 1598 return mi.MessageOf(x) 1599 } 1600 1601 // Deprecated: Use GetProviderSchema_Response.ProtoReflect.Descriptor instead. 1602 func (*GetProviderSchema_Response) Descriptor() ([]byte, []int) { 1603 return file_tfplugin5_proto_rawDescGZIP(), []int{6, 1} 1604 } 1605 1606 func (x *GetProviderSchema_Response) GetProvider() *Schema { 1607 if x != nil { 1608 return x.Provider 1609 } 1610 return nil 1611 } 1612 1613 func (x *GetProviderSchema_Response) GetResourceSchemas() map[string]*Schema { 1614 if x != nil { 1615 return x.ResourceSchemas 1616 } 1617 return nil 1618 } 1619 1620 func (x *GetProviderSchema_Response) GetDataSourceSchemas() map[string]*Schema { 1621 if x != nil { 1622 return x.DataSourceSchemas 1623 } 1624 return nil 1625 } 1626 1627 func (x *GetProviderSchema_Response) GetDiagnostics() []*Diagnostic { 1628 if x != nil { 1629 return x.Diagnostics 1630 } 1631 return nil 1632 } 1633 1634 func (x *GetProviderSchema_Response) GetProviderMeta() *Schema { 1635 if x != nil { 1636 return x.ProviderMeta 1637 } 1638 return nil 1639 } 1640 1641 func (x *GetProviderSchema_Response) GetServerCapabilities() *GetProviderSchema_ServerCapabilities { 1642 if x != nil { 1643 return x.ServerCapabilities 1644 } 1645 return nil 1646 } 1647 1648 // ServerCapabilities allows providers to communicate extra information 1649 // regarding supported protocol features. This is used to indicate 1650 // availability of certain forward-compatible changes which may be optional 1651 // in a major protocol version, but cannot be tested for directly. 1652 type GetProviderSchema_ServerCapabilities struct { 1653 state protoimpl.MessageState 1654 sizeCache protoimpl.SizeCache 1655 unknownFields protoimpl.UnknownFields 1656 1657 // The plan_destroy capability signals that a provider expects a call 1658 // to PlanResourceChange when a resource is going to be destroyed. 1659 PlanDestroy bool `protobuf:"varint,1,opt,name=plan_destroy,json=planDestroy,proto3" json:"plan_destroy,omitempty"` 1660 } 1661 1662 func (x *GetProviderSchema_ServerCapabilities) Reset() { 1663 *x = GetProviderSchema_ServerCapabilities{} 1664 if protoimpl.UnsafeEnabled { 1665 mi := &file_tfplugin5_proto_msgTypes[29] 1666 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1667 ms.StoreMessageInfo(mi) 1668 } 1669 } 1670 1671 func (x *GetProviderSchema_ServerCapabilities) String() string { 1672 return protoimpl.X.MessageStringOf(x) 1673 } 1674 1675 func (*GetProviderSchema_ServerCapabilities) ProtoMessage() {} 1676 1677 func (x *GetProviderSchema_ServerCapabilities) ProtoReflect() protoreflect.Message { 1678 mi := &file_tfplugin5_proto_msgTypes[29] 1679 if protoimpl.UnsafeEnabled && x != nil { 1680 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1681 if ms.LoadMessageInfo() == nil { 1682 ms.StoreMessageInfo(mi) 1683 } 1684 return ms 1685 } 1686 return mi.MessageOf(x) 1687 } 1688 1689 // Deprecated: Use GetProviderSchema_ServerCapabilities.ProtoReflect.Descriptor instead. 1690 func (*GetProviderSchema_ServerCapabilities) Descriptor() ([]byte, []int) { 1691 return file_tfplugin5_proto_rawDescGZIP(), []int{6, 2} 1692 } 1693 1694 func (x *GetProviderSchema_ServerCapabilities) GetPlanDestroy() bool { 1695 if x != nil { 1696 return x.PlanDestroy 1697 } 1698 return false 1699 } 1700 1701 type PrepareProviderConfig_Request struct { 1702 state protoimpl.MessageState 1703 sizeCache protoimpl.SizeCache 1704 unknownFields protoimpl.UnknownFields 1705 1706 Config *DynamicValue `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` 1707 } 1708 1709 func (x *PrepareProviderConfig_Request) Reset() { 1710 *x = PrepareProviderConfig_Request{} 1711 if protoimpl.UnsafeEnabled { 1712 mi := &file_tfplugin5_proto_msgTypes[32] 1713 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1714 ms.StoreMessageInfo(mi) 1715 } 1716 } 1717 1718 func (x *PrepareProviderConfig_Request) String() string { 1719 return protoimpl.X.MessageStringOf(x) 1720 } 1721 1722 func (*PrepareProviderConfig_Request) ProtoMessage() {} 1723 1724 func (x *PrepareProviderConfig_Request) ProtoReflect() protoreflect.Message { 1725 mi := &file_tfplugin5_proto_msgTypes[32] 1726 if protoimpl.UnsafeEnabled && x != nil { 1727 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1728 if ms.LoadMessageInfo() == nil { 1729 ms.StoreMessageInfo(mi) 1730 } 1731 return ms 1732 } 1733 return mi.MessageOf(x) 1734 } 1735 1736 // Deprecated: Use PrepareProviderConfig_Request.ProtoReflect.Descriptor instead. 1737 func (*PrepareProviderConfig_Request) Descriptor() ([]byte, []int) { 1738 return file_tfplugin5_proto_rawDescGZIP(), []int{7, 0} 1739 } 1740 1741 func (x *PrepareProviderConfig_Request) GetConfig() *DynamicValue { 1742 if x != nil { 1743 return x.Config 1744 } 1745 return nil 1746 } 1747 1748 type PrepareProviderConfig_Response struct { 1749 state protoimpl.MessageState 1750 sizeCache protoimpl.SizeCache 1751 unknownFields protoimpl.UnknownFields 1752 1753 PreparedConfig *DynamicValue `protobuf:"bytes,1,opt,name=prepared_config,json=preparedConfig,proto3" json:"prepared_config,omitempty"` 1754 Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 1755 } 1756 1757 func (x *PrepareProviderConfig_Response) Reset() { 1758 *x = PrepareProviderConfig_Response{} 1759 if protoimpl.UnsafeEnabled { 1760 mi := &file_tfplugin5_proto_msgTypes[33] 1761 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1762 ms.StoreMessageInfo(mi) 1763 } 1764 } 1765 1766 func (x *PrepareProviderConfig_Response) String() string { 1767 return protoimpl.X.MessageStringOf(x) 1768 } 1769 1770 func (*PrepareProviderConfig_Response) ProtoMessage() {} 1771 1772 func (x *PrepareProviderConfig_Response) ProtoReflect() protoreflect.Message { 1773 mi := &file_tfplugin5_proto_msgTypes[33] 1774 if protoimpl.UnsafeEnabled && x != nil { 1775 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1776 if ms.LoadMessageInfo() == nil { 1777 ms.StoreMessageInfo(mi) 1778 } 1779 return ms 1780 } 1781 return mi.MessageOf(x) 1782 } 1783 1784 // Deprecated: Use PrepareProviderConfig_Response.ProtoReflect.Descriptor instead. 1785 func (*PrepareProviderConfig_Response) Descriptor() ([]byte, []int) { 1786 return file_tfplugin5_proto_rawDescGZIP(), []int{7, 1} 1787 } 1788 1789 func (x *PrepareProviderConfig_Response) GetPreparedConfig() *DynamicValue { 1790 if x != nil { 1791 return x.PreparedConfig 1792 } 1793 return nil 1794 } 1795 1796 func (x *PrepareProviderConfig_Response) GetDiagnostics() []*Diagnostic { 1797 if x != nil { 1798 return x.Diagnostics 1799 } 1800 return nil 1801 } 1802 1803 type UpgradeResourceState_Request struct { 1804 state protoimpl.MessageState 1805 sizeCache protoimpl.SizeCache 1806 unknownFields protoimpl.UnknownFields 1807 1808 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 1809 // version is the schema_version number recorded in the state file 1810 Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` 1811 // raw_state is the raw states as stored for the resource. Core does 1812 // not have access to the schema of prior_version, so it's the 1813 // provider's responsibility to interpret this value using the 1814 // appropriate older schema. The raw_state will be the json encoded 1815 // state, or a legacy flat-mapped format. 1816 RawState *RawState `protobuf:"bytes,3,opt,name=raw_state,json=rawState,proto3" json:"raw_state,omitempty"` 1817 } 1818 1819 func (x *UpgradeResourceState_Request) Reset() { 1820 *x = UpgradeResourceState_Request{} 1821 if protoimpl.UnsafeEnabled { 1822 mi := &file_tfplugin5_proto_msgTypes[34] 1823 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1824 ms.StoreMessageInfo(mi) 1825 } 1826 } 1827 1828 func (x *UpgradeResourceState_Request) String() string { 1829 return protoimpl.X.MessageStringOf(x) 1830 } 1831 1832 func (*UpgradeResourceState_Request) ProtoMessage() {} 1833 1834 func (x *UpgradeResourceState_Request) ProtoReflect() protoreflect.Message { 1835 mi := &file_tfplugin5_proto_msgTypes[34] 1836 if protoimpl.UnsafeEnabled && x != nil { 1837 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1838 if ms.LoadMessageInfo() == nil { 1839 ms.StoreMessageInfo(mi) 1840 } 1841 return ms 1842 } 1843 return mi.MessageOf(x) 1844 } 1845 1846 // Deprecated: Use UpgradeResourceState_Request.ProtoReflect.Descriptor instead. 1847 func (*UpgradeResourceState_Request) Descriptor() ([]byte, []int) { 1848 return file_tfplugin5_proto_rawDescGZIP(), []int{8, 0} 1849 } 1850 1851 func (x *UpgradeResourceState_Request) GetTypeName() string { 1852 if x != nil { 1853 return x.TypeName 1854 } 1855 return "" 1856 } 1857 1858 func (x *UpgradeResourceState_Request) GetVersion() int64 { 1859 if x != nil { 1860 return x.Version 1861 } 1862 return 0 1863 } 1864 1865 func (x *UpgradeResourceState_Request) GetRawState() *RawState { 1866 if x != nil { 1867 return x.RawState 1868 } 1869 return nil 1870 } 1871 1872 type UpgradeResourceState_Response struct { 1873 state protoimpl.MessageState 1874 sizeCache protoimpl.SizeCache 1875 unknownFields protoimpl.UnknownFields 1876 1877 // new_state is a msgpack-encoded data structure that, when interpreted with 1878 // the _current_ schema for this resource type, is functionally equivalent to 1879 // that which was given in prior_state_raw. 1880 UpgradedState *DynamicValue `protobuf:"bytes,1,opt,name=upgraded_state,json=upgradedState,proto3" json:"upgraded_state,omitempty"` 1881 // diagnostics describes any errors encountered during migration that could not 1882 // be safely resolved, and warnings about any possibly-risky assumptions made 1883 // in the upgrade process. 1884 Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 1885 } 1886 1887 func (x *UpgradeResourceState_Response) Reset() { 1888 *x = UpgradeResourceState_Response{} 1889 if protoimpl.UnsafeEnabled { 1890 mi := &file_tfplugin5_proto_msgTypes[35] 1891 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1892 ms.StoreMessageInfo(mi) 1893 } 1894 } 1895 1896 func (x *UpgradeResourceState_Response) String() string { 1897 return protoimpl.X.MessageStringOf(x) 1898 } 1899 1900 func (*UpgradeResourceState_Response) ProtoMessage() {} 1901 1902 func (x *UpgradeResourceState_Response) ProtoReflect() protoreflect.Message { 1903 mi := &file_tfplugin5_proto_msgTypes[35] 1904 if protoimpl.UnsafeEnabled && x != nil { 1905 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1906 if ms.LoadMessageInfo() == nil { 1907 ms.StoreMessageInfo(mi) 1908 } 1909 return ms 1910 } 1911 return mi.MessageOf(x) 1912 } 1913 1914 // Deprecated: Use UpgradeResourceState_Response.ProtoReflect.Descriptor instead. 1915 func (*UpgradeResourceState_Response) Descriptor() ([]byte, []int) { 1916 return file_tfplugin5_proto_rawDescGZIP(), []int{8, 1} 1917 } 1918 1919 func (x *UpgradeResourceState_Response) GetUpgradedState() *DynamicValue { 1920 if x != nil { 1921 return x.UpgradedState 1922 } 1923 return nil 1924 } 1925 1926 func (x *UpgradeResourceState_Response) GetDiagnostics() []*Diagnostic { 1927 if x != nil { 1928 return x.Diagnostics 1929 } 1930 return nil 1931 } 1932 1933 type ValidateResourceTypeConfig_Request struct { 1934 state protoimpl.MessageState 1935 sizeCache protoimpl.SizeCache 1936 unknownFields protoimpl.UnknownFields 1937 1938 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 1939 Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` 1940 } 1941 1942 func (x *ValidateResourceTypeConfig_Request) Reset() { 1943 *x = ValidateResourceTypeConfig_Request{} 1944 if protoimpl.UnsafeEnabled { 1945 mi := &file_tfplugin5_proto_msgTypes[36] 1946 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1947 ms.StoreMessageInfo(mi) 1948 } 1949 } 1950 1951 func (x *ValidateResourceTypeConfig_Request) String() string { 1952 return protoimpl.X.MessageStringOf(x) 1953 } 1954 1955 func (*ValidateResourceTypeConfig_Request) ProtoMessage() {} 1956 1957 func (x *ValidateResourceTypeConfig_Request) ProtoReflect() protoreflect.Message { 1958 mi := &file_tfplugin5_proto_msgTypes[36] 1959 if protoimpl.UnsafeEnabled && x != nil { 1960 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1961 if ms.LoadMessageInfo() == nil { 1962 ms.StoreMessageInfo(mi) 1963 } 1964 return ms 1965 } 1966 return mi.MessageOf(x) 1967 } 1968 1969 // Deprecated: Use ValidateResourceTypeConfig_Request.ProtoReflect.Descriptor instead. 1970 func (*ValidateResourceTypeConfig_Request) Descriptor() ([]byte, []int) { 1971 return file_tfplugin5_proto_rawDescGZIP(), []int{9, 0} 1972 } 1973 1974 func (x *ValidateResourceTypeConfig_Request) GetTypeName() string { 1975 if x != nil { 1976 return x.TypeName 1977 } 1978 return "" 1979 } 1980 1981 func (x *ValidateResourceTypeConfig_Request) GetConfig() *DynamicValue { 1982 if x != nil { 1983 return x.Config 1984 } 1985 return nil 1986 } 1987 1988 type ValidateResourceTypeConfig_Response struct { 1989 state protoimpl.MessageState 1990 sizeCache protoimpl.SizeCache 1991 unknownFields protoimpl.UnknownFields 1992 1993 Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 1994 } 1995 1996 func (x *ValidateResourceTypeConfig_Response) Reset() { 1997 *x = ValidateResourceTypeConfig_Response{} 1998 if protoimpl.UnsafeEnabled { 1999 mi := &file_tfplugin5_proto_msgTypes[37] 2000 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2001 ms.StoreMessageInfo(mi) 2002 } 2003 } 2004 2005 func (x *ValidateResourceTypeConfig_Response) String() string { 2006 return protoimpl.X.MessageStringOf(x) 2007 } 2008 2009 func (*ValidateResourceTypeConfig_Response) ProtoMessage() {} 2010 2011 func (x *ValidateResourceTypeConfig_Response) ProtoReflect() protoreflect.Message { 2012 mi := &file_tfplugin5_proto_msgTypes[37] 2013 if protoimpl.UnsafeEnabled && x != nil { 2014 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2015 if ms.LoadMessageInfo() == nil { 2016 ms.StoreMessageInfo(mi) 2017 } 2018 return ms 2019 } 2020 return mi.MessageOf(x) 2021 } 2022 2023 // Deprecated: Use ValidateResourceTypeConfig_Response.ProtoReflect.Descriptor instead. 2024 func (*ValidateResourceTypeConfig_Response) Descriptor() ([]byte, []int) { 2025 return file_tfplugin5_proto_rawDescGZIP(), []int{9, 1} 2026 } 2027 2028 func (x *ValidateResourceTypeConfig_Response) GetDiagnostics() []*Diagnostic { 2029 if x != nil { 2030 return x.Diagnostics 2031 } 2032 return nil 2033 } 2034 2035 type ValidateDataSourceConfig_Request struct { 2036 state protoimpl.MessageState 2037 sizeCache protoimpl.SizeCache 2038 unknownFields protoimpl.UnknownFields 2039 2040 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 2041 Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` 2042 } 2043 2044 func (x *ValidateDataSourceConfig_Request) Reset() { 2045 *x = ValidateDataSourceConfig_Request{} 2046 if protoimpl.UnsafeEnabled { 2047 mi := &file_tfplugin5_proto_msgTypes[38] 2048 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2049 ms.StoreMessageInfo(mi) 2050 } 2051 } 2052 2053 func (x *ValidateDataSourceConfig_Request) String() string { 2054 return protoimpl.X.MessageStringOf(x) 2055 } 2056 2057 func (*ValidateDataSourceConfig_Request) ProtoMessage() {} 2058 2059 func (x *ValidateDataSourceConfig_Request) ProtoReflect() protoreflect.Message { 2060 mi := &file_tfplugin5_proto_msgTypes[38] 2061 if protoimpl.UnsafeEnabled && x != nil { 2062 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2063 if ms.LoadMessageInfo() == nil { 2064 ms.StoreMessageInfo(mi) 2065 } 2066 return ms 2067 } 2068 return mi.MessageOf(x) 2069 } 2070 2071 // Deprecated: Use ValidateDataSourceConfig_Request.ProtoReflect.Descriptor instead. 2072 func (*ValidateDataSourceConfig_Request) Descriptor() ([]byte, []int) { 2073 return file_tfplugin5_proto_rawDescGZIP(), []int{10, 0} 2074 } 2075 2076 func (x *ValidateDataSourceConfig_Request) GetTypeName() string { 2077 if x != nil { 2078 return x.TypeName 2079 } 2080 return "" 2081 } 2082 2083 func (x *ValidateDataSourceConfig_Request) GetConfig() *DynamicValue { 2084 if x != nil { 2085 return x.Config 2086 } 2087 return nil 2088 } 2089 2090 type ValidateDataSourceConfig_Response struct { 2091 state protoimpl.MessageState 2092 sizeCache protoimpl.SizeCache 2093 unknownFields protoimpl.UnknownFields 2094 2095 Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 2096 } 2097 2098 func (x *ValidateDataSourceConfig_Response) Reset() { 2099 *x = ValidateDataSourceConfig_Response{} 2100 if protoimpl.UnsafeEnabled { 2101 mi := &file_tfplugin5_proto_msgTypes[39] 2102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2103 ms.StoreMessageInfo(mi) 2104 } 2105 } 2106 2107 func (x *ValidateDataSourceConfig_Response) String() string { 2108 return protoimpl.X.MessageStringOf(x) 2109 } 2110 2111 func (*ValidateDataSourceConfig_Response) ProtoMessage() {} 2112 2113 func (x *ValidateDataSourceConfig_Response) ProtoReflect() protoreflect.Message { 2114 mi := &file_tfplugin5_proto_msgTypes[39] 2115 if protoimpl.UnsafeEnabled && x != nil { 2116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2117 if ms.LoadMessageInfo() == nil { 2118 ms.StoreMessageInfo(mi) 2119 } 2120 return ms 2121 } 2122 return mi.MessageOf(x) 2123 } 2124 2125 // Deprecated: Use ValidateDataSourceConfig_Response.ProtoReflect.Descriptor instead. 2126 func (*ValidateDataSourceConfig_Response) Descriptor() ([]byte, []int) { 2127 return file_tfplugin5_proto_rawDescGZIP(), []int{10, 1} 2128 } 2129 2130 func (x *ValidateDataSourceConfig_Response) GetDiagnostics() []*Diagnostic { 2131 if x != nil { 2132 return x.Diagnostics 2133 } 2134 return nil 2135 } 2136 2137 type Configure_Request struct { 2138 state protoimpl.MessageState 2139 sizeCache protoimpl.SizeCache 2140 unknownFields protoimpl.UnknownFields 2141 2142 TerraformVersion string `protobuf:"bytes,1,opt,name=terraform_version,json=terraformVersion,proto3" json:"terraform_version,omitempty"` 2143 Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` 2144 } 2145 2146 func (x *Configure_Request) Reset() { 2147 *x = Configure_Request{} 2148 if protoimpl.UnsafeEnabled { 2149 mi := &file_tfplugin5_proto_msgTypes[40] 2150 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2151 ms.StoreMessageInfo(mi) 2152 } 2153 } 2154 2155 func (x *Configure_Request) String() string { 2156 return protoimpl.X.MessageStringOf(x) 2157 } 2158 2159 func (*Configure_Request) ProtoMessage() {} 2160 2161 func (x *Configure_Request) ProtoReflect() protoreflect.Message { 2162 mi := &file_tfplugin5_proto_msgTypes[40] 2163 if protoimpl.UnsafeEnabled && x != nil { 2164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2165 if ms.LoadMessageInfo() == nil { 2166 ms.StoreMessageInfo(mi) 2167 } 2168 return ms 2169 } 2170 return mi.MessageOf(x) 2171 } 2172 2173 // Deprecated: Use Configure_Request.ProtoReflect.Descriptor instead. 2174 func (*Configure_Request) Descriptor() ([]byte, []int) { 2175 return file_tfplugin5_proto_rawDescGZIP(), []int{11, 0} 2176 } 2177 2178 func (x *Configure_Request) GetTerraformVersion() string { 2179 if x != nil { 2180 return x.TerraformVersion 2181 } 2182 return "" 2183 } 2184 2185 func (x *Configure_Request) GetConfig() *DynamicValue { 2186 if x != nil { 2187 return x.Config 2188 } 2189 return nil 2190 } 2191 2192 type Configure_Response struct { 2193 state protoimpl.MessageState 2194 sizeCache protoimpl.SizeCache 2195 unknownFields protoimpl.UnknownFields 2196 2197 Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 2198 } 2199 2200 func (x *Configure_Response) Reset() { 2201 *x = Configure_Response{} 2202 if protoimpl.UnsafeEnabled { 2203 mi := &file_tfplugin5_proto_msgTypes[41] 2204 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2205 ms.StoreMessageInfo(mi) 2206 } 2207 } 2208 2209 func (x *Configure_Response) String() string { 2210 return protoimpl.X.MessageStringOf(x) 2211 } 2212 2213 func (*Configure_Response) ProtoMessage() {} 2214 2215 func (x *Configure_Response) ProtoReflect() protoreflect.Message { 2216 mi := &file_tfplugin5_proto_msgTypes[41] 2217 if protoimpl.UnsafeEnabled && x != nil { 2218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2219 if ms.LoadMessageInfo() == nil { 2220 ms.StoreMessageInfo(mi) 2221 } 2222 return ms 2223 } 2224 return mi.MessageOf(x) 2225 } 2226 2227 // Deprecated: Use Configure_Response.ProtoReflect.Descriptor instead. 2228 func (*Configure_Response) Descriptor() ([]byte, []int) { 2229 return file_tfplugin5_proto_rawDescGZIP(), []int{11, 1} 2230 } 2231 2232 func (x *Configure_Response) GetDiagnostics() []*Diagnostic { 2233 if x != nil { 2234 return x.Diagnostics 2235 } 2236 return nil 2237 } 2238 2239 type ReadResource_Request struct { 2240 state protoimpl.MessageState 2241 sizeCache protoimpl.SizeCache 2242 unknownFields protoimpl.UnknownFields 2243 2244 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 2245 CurrentState *DynamicValue `protobuf:"bytes,2,opt,name=current_state,json=currentState,proto3" json:"current_state,omitempty"` 2246 Private []byte `protobuf:"bytes,3,opt,name=private,proto3" json:"private,omitempty"` 2247 ProviderMeta *DynamicValue `protobuf:"bytes,4,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` 2248 } 2249 2250 func (x *ReadResource_Request) Reset() { 2251 *x = ReadResource_Request{} 2252 if protoimpl.UnsafeEnabled { 2253 mi := &file_tfplugin5_proto_msgTypes[42] 2254 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2255 ms.StoreMessageInfo(mi) 2256 } 2257 } 2258 2259 func (x *ReadResource_Request) String() string { 2260 return protoimpl.X.MessageStringOf(x) 2261 } 2262 2263 func (*ReadResource_Request) ProtoMessage() {} 2264 2265 func (x *ReadResource_Request) ProtoReflect() protoreflect.Message { 2266 mi := &file_tfplugin5_proto_msgTypes[42] 2267 if protoimpl.UnsafeEnabled && x != nil { 2268 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2269 if ms.LoadMessageInfo() == nil { 2270 ms.StoreMessageInfo(mi) 2271 } 2272 return ms 2273 } 2274 return mi.MessageOf(x) 2275 } 2276 2277 // Deprecated: Use ReadResource_Request.ProtoReflect.Descriptor instead. 2278 func (*ReadResource_Request) Descriptor() ([]byte, []int) { 2279 return file_tfplugin5_proto_rawDescGZIP(), []int{12, 0} 2280 } 2281 2282 func (x *ReadResource_Request) GetTypeName() string { 2283 if x != nil { 2284 return x.TypeName 2285 } 2286 return "" 2287 } 2288 2289 func (x *ReadResource_Request) GetCurrentState() *DynamicValue { 2290 if x != nil { 2291 return x.CurrentState 2292 } 2293 return nil 2294 } 2295 2296 func (x *ReadResource_Request) GetPrivate() []byte { 2297 if x != nil { 2298 return x.Private 2299 } 2300 return nil 2301 } 2302 2303 func (x *ReadResource_Request) GetProviderMeta() *DynamicValue { 2304 if x != nil { 2305 return x.ProviderMeta 2306 } 2307 return nil 2308 } 2309 2310 type ReadResource_Response struct { 2311 state protoimpl.MessageState 2312 sizeCache protoimpl.SizeCache 2313 unknownFields protoimpl.UnknownFields 2314 2315 NewState *DynamicValue `protobuf:"bytes,1,opt,name=new_state,json=newState,proto3" json:"new_state,omitempty"` 2316 Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 2317 Private []byte `protobuf:"bytes,3,opt,name=private,proto3" json:"private,omitempty"` 2318 } 2319 2320 func (x *ReadResource_Response) Reset() { 2321 *x = ReadResource_Response{} 2322 if protoimpl.UnsafeEnabled { 2323 mi := &file_tfplugin5_proto_msgTypes[43] 2324 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2325 ms.StoreMessageInfo(mi) 2326 } 2327 } 2328 2329 func (x *ReadResource_Response) String() string { 2330 return protoimpl.X.MessageStringOf(x) 2331 } 2332 2333 func (*ReadResource_Response) ProtoMessage() {} 2334 2335 func (x *ReadResource_Response) ProtoReflect() protoreflect.Message { 2336 mi := &file_tfplugin5_proto_msgTypes[43] 2337 if protoimpl.UnsafeEnabled && x != nil { 2338 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2339 if ms.LoadMessageInfo() == nil { 2340 ms.StoreMessageInfo(mi) 2341 } 2342 return ms 2343 } 2344 return mi.MessageOf(x) 2345 } 2346 2347 // Deprecated: Use ReadResource_Response.ProtoReflect.Descriptor instead. 2348 func (*ReadResource_Response) Descriptor() ([]byte, []int) { 2349 return file_tfplugin5_proto_rawDescGZIP(), []int{12, 1} 2350 } 2351 2352 func (x *ReadResource_Response) GetNewState() *DynamicValue { 2353 if x != nil { 2354 return x.NewState 2355 } 2356 return nil 2357 } 2358 2359 func (x *ReadResource_Response) GetDiagnostics() []*Diagnostic { 2360 if x != nil { 2361 return x.Diagnostics 2362 } 2363 return nil 2364 } 2365 2366 func (x *ReadResource_Response) GetPrivate() []byte { 2367 if x != nil { 2368 return x.Private 2369 } 2370 return nil 2371 } 2372 2373 type PlanResourceChange_Request struct { 2374 state protoimpl.MessageState 2375 sizeCache protoimpl.SizeCache 2376 unknownFields protoimpl.UnknownFields 2377 2378 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 2379 PriorState *DynamicValue `protobuf:"bytes,2,opt,name=prior_state,json=priorState,proto3" json:"prior_state,omitempty"` 2380 ProposedNewState *DynamicValue `protobuf:"bytes,3,opt,name=proposed_new_state,json=proposedNewState,proto3" json:"proposed_new_state,omitempty"` 2381 Config *DynamicValue `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"` 2382 PriorPrivate []byte `protobuf:"bytes,5,opt,name=prior_private,json=priorPrivate,proto3" json:"prior_private,omitempty"` 2383 ProviderMeta *DynamicValue `protobuf:"bytes,6,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` 2384 } 2385 2386 func (x *PlanResourceChange_Request) Reset() { 2387 *x = PlanResourceChange_Request{} 2388 if protoimpl.UnsafeEnabled { 2389 mi := &file_tfplugin5_proto_msgTypes[44] 2390 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2391 ms.StoreMessageInfo(mi) 2392 } 2393 } 2394 2395 func (x *PlanResourceChange_Request) String() string { 2396 return protoimpl.X.MessageStringOf(x) 2397 } 2398 2399 func (*PlanResourceChange_Request) ProtoMessage() {} 2400 2401 func (x *PlanResourceChange_Request) ProtoReflect() protoreflect.Message { 2402 mi := &file_tfplugin5_proto_msgTypes[44] 2403 if protoimpl.UnsafeEnabled && x != nil { 2404 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2405 if ms.LoadMessageInfo() == nil { 2406 ms.StoreMessageInfo(mi) 2407 } 2408 return ms 2409 } 2410 return mi.MessageOf(x) 2411 } 2412 2413 // Deprecated: Use PlanResourceChange_Request.ProtoReflect.Descriptor instead. 2414 func (*PlanResourceChange_Request) Descriptor() ([]byte, []int) { 2415 return file_tfplugin5_proto_rawDescGZIP(), []int{13, 0} 2416 } 2417 2418 func (x *PlanResourceChange_Request) GetTypeName() string { 2419 if x != nil { 2420 return x.TypeName 2421 } 2422 return "" 2423 } 2424 2425 func (x *PlanResourceChange_Request) GetPriorState() *DynamicValue { 2426 if x != nil { 2427 return x.PriorState 2428 } 2429 return nil 2430 } 2431 2432 func (x *PlanResourceChange_Request) GetProposedNewState() *DynamicValue { 2433 if x != nil { 2434 return x.ProposedNewState 2435 } 2436 return nil 2437 } 2438 2439 func (x *PlanResourceChange_Request) GetConfig() *DynamicValue { 2440 if x != nil { 2441 return x.Config 2442 } 2443 return nil 2444 } 2445 2446 func (x *PlanResourceChange_Request) GetPriorPrivate() []byte { 2447 if x != nil { 2448 return x.PriorPrivate 2449 } 2450 return nil 2451 } 2452 2453 func (x *PlanResourceChange_Request) GetProviderMeta() *DynamicValue { 2454 if x != nil { 2455 return x.ProviderMeta 2456 } 2457 return nil 2458 } 2459 2460 type PlanResourceChange_Response struct { 2461 state protoimpl.MessageState 2462 sizeCache protoimpl.SizeCache 2463 unknownFields protoimpl.UnknownFields 2464 2465 PlannedState *DynamicValue `protobuf:"bytes,1,opt,name=planned_state,json=plannedState,proto3" json:"planned_state,omitempty"` 2466 RequiresReplace []*AttributePath `protobuf:"bytes,2,rep,name=requires_replace,json=requiresReplace,proto3" json:"requires_replace,omitempty"` 2467 PlannedPrivate []byte `protobuf:"bytes,3,opt,name=planned_private,json=plannedPrivate,proto3" json:"planned_private,omitempty"` 2468 Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 2469 // This may be set only by the helper/schema "SDK" in the main Terraform 2470 // repository, to request that Terraform Core >=0.12 permit additional 2471 // inconsistencies that can result from the legacy SDK type system 2472 // and its imprecise mapping to the >=0.12 type system. 2473 // The change in behavior implied by this flag makes sense only for the 2474 // specific details of the legacy SDK type system, and are not a general 2475 // mechanism to avoid proper type handling in providers. 2476 // 2477 // ==== DO NOT USE THIS ==== 2478 // ==== THIS MUST BE LEFT UNSET IN ALL OTHER SDKS ==== 2479 // ==== DO NOT USE THIS ==== 2480 LegacyTypeSystem bool `protobuf:"varint,5,opt,name=legacy_type_system,json=legacyTypeSystem,proto3" json:"legacy_type_system,omitempty"` 2481 } 2482 2483 func (x *PlanResourceChange_Response) Reset() { 2484 *x = PlanResourceChange_Response{} 2485 if protoimpl.UnsafeEnabled { 2486 mi := &file_tfplugin5_proto_msgTypes[45] 2487 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2488 ms.StoreMessageInfo(mi) 2489 } 2490 } 2491 2492 func (x *PlanResourceChange_Response) String() string { 2493 return protoimpl.X.MessageStringOf(x) 2494 } 2495 2496 func (*PlanResourceChange_Response) ProtoMessage() {} 2497 2498 func (x *PlanResourceChange_Response) ProtoReflect() protoreflect.Message { 2499 mi := &file_tfplugin5_proto_msgTypes[45] 2500 if protoimpl.UnsafeEnabled && x != nil { 2501 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2502 if ms.LoadMessageInfo() == nil { 2503 ms.StoreMessageInfo(mi) 2504 } 2505 return ms 2506 } 2507 return mi.MessageOf(x) 2508 } 2509 2510 // Deprecated: Use PlanResourceChange_Response.ProtoReflect.Descriptor instead. 2511 func (*PlanResourceChange_Response) Descriptor() ([]byte, []int) { 2512 return file_tfplugin5_proto_rawDescGZIP(), []int{13, 1} 2513 } 2514 2515 func (x *PlanResourceChange_Response) GetPlannedState() *DynamicValue { 2516 if x != nil { 2517 return x.PlannedState 2518 } 2519 return nil 2520 } 2521 2522 func (x *PlanResourceChange_Response) GetRequiresReplace() []*AttributePath { 2523 if x != nil { 2524 return x.RequiresReplace 2525 } 2526 return nil 2527 } 2528 2529 func (x *PlanResourceChange_Response) GetPlannedPrivate() []byte { 2530 if x != nil { 2531 return x.PlannedPrivate 2532 } 2533 return nil 2534 } 2535 2536 func (x *PlanResourceChange_Response) GetDiagnostics() []*Diagnostic { 2537 if x != nil { 2538 return x.Diagnostics 2539 } 2540 return nil 2541 } 2542 2543 func (x *PlanResourceChange_Response) GetLegacyTypeSystem() bool { 2544 if x != nil { 2545 return x.LegacyTypeSystem 2546 } 2547 return false 2548 } 2549 2550 type ApplyResourceChange_Request struct { 2551 state protoimpl.MessageState 2552 sizeCache protoimpl.SizeCache 2553 unknownFields protoimpl.UnknownFields 2554 2555 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 2556 PriorState *DynamicValue `protobuf:"bytes,2,opt,name=prior_state,json=priorState,proto3" json:"prior_state,omitempty"` 2557 PlannedState *DynamicValue `protobuf:"bytes,3,opt,name=planned_state,json=plannedState,proto3" json:"planned_state,omitempty"` 2558 Config *DynamicValue `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"` 2559 PlannedPrivate []byte `protobuf:"bytes,5,opt,name=planned_private,json=plannedPrivate,proto3" json:"planned_private,omitempty"` 2560 ProviderMeta *DynamicValue `protobuf:"bytes,6,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` 2561 } 2562 2563 func (x *ApplyResourceChange_Request) Reset() { 2564 *x = ApplyResourceChange_Request{} 2565 if protoimpl.UnsafeEnabled { 2566 mi := &file_tfplugin5_proto_msgTypes[46] 2567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2568 ms.StoreMessageInfo(mi) 2569 } 2570 } 2571 2572 func (x *ApplyResourceChange_Request) String() string { 2573 return protoimpl.X.MessageStringOf(x) 2574 } 2575 2576 func (*ApplyResourceChange_Request) ProtoMessage() {} 2577 2578 func (x *ApplyResourceChange_Request) ProtoReflect() protoreflect.Message { 2579 mi := &file_tfplugin5_proto_msgTypes[46] 2580 if protoimpl.UnsafeEnabled && x != nil { 2581 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2582 if ms.LoadMessageInfo() == nil { 2583 ms.StoreMessageInfo(mi) 2584 } 2585 return ms 2586 } 2587 return mi.MessageOf(x) 2588 } 2589 2590 // Deprecated: Use ApplyResourceChange_Request.ProtoReflect.Descriptor instead. 2591 func (*ApplyResourceChange_Request) Descriptor() ([]byte, []int) { 2592 return file_tfplugin5_proto_rawDescGZIP(), []int{14, 0} 2593 } 2594 2595 func (x *ApplyResourceChange_Request) GetTypeName() string { 2596 if x != nil { 2597 return x.TypeName 2598 } 2599 return "" 2600 } 2601 2602 func (x *ApplyResourceChange_Request) GetPriorState() *DynamicValue { 2603 if x != nil { 2604 return x.PriorState 2605 } 2606 return nil 2607 } 2608 2609 func (x *ApplyResourceChange_Request) GetPlannedState() *DynamicValue { 2610 if x != nil { 2611 return x.PlannedState 2612 } 2613 return nil 2614 } 2615 2616 func (x *ApplyResourceChange_Request) GetConfig() *DynamicValue { 2617 if x != nil { 2618 return x.Config 2619 } 2620 return nil 2621 } 2622 2623 func (x *ApplyResourceChange_Request) GetPlannedPrivate() []byte { 2624 if x != nil { 2625 return x.PlannedPrivate 2626 } 2627 return nil 2628 } 2629 2630 func (x *ApplyResourceChange_Request) GetProviderMeta() *DynamicValue { 2631 if x != nil { 2632 return x.ProviderMeta 2633 } 2634 return nil 2635 } 2636 2637 type ApplyResourceChange_Response struct { 2638 state protoimpl.MessageState 2639 sizeCache protoimpl.SizeCache 2640 unknownFields protoimpl.UnknownFields 2641 2642 NewState *DynamicValue `protobuf:"bytes,1,opt,name=new_state,json=newState,proto3" json:"new_state,omitempty"` 2643 Private []byte `protobuf:"bytes,2,opt,name=private,proto3" json:"private,omitempty"` 2644 Diagnostics []*Diagnostic `protobuf:"bytes,3,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 2645 // This may be set only by the helper/schema "SDK" in the main Terraform 2646 // repository, to request that Terraform Core >=0.12 permit additional 2647 // inconsistencies that can result from the legacy SDK type system 2648 // and its imprecise mapping to the >=0.12 type system. 2649 // The change in behavior implied by this flag makes sense only for the 2650 // specific details of the legacy SDK type system, and are not a general 2651 // mechanism to avoid proper type handling in providers. 2652 // 2653 // ==== DO NOT USE THIS ==== 2654 // ==== THIS MUST BE LEFT UNSET IN ALL OTHER SDKS ==== 2655 // ==== DO NOT USE THIS ==== 2656 LegacyTypeSystem bool `protobuf:"varint,4,opt,name=legacy_type_system,json=legacyTypeSystem,proto3" json:"legacy_type_system,omitempty"` 2657 } 2658 2659 func (x *ApplyResourceChange_Response) Reset() { 2660 *x = ApplyResourceChange_Response{} 2661 if protoimpl.UnsafeEnabled { 2662 mi := &file_tfplugin5_proto_msgTypes[47] 2663 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2664 ms.StoreMessageInfo(mi) 2665 } 2666 } 2667 2668 func (x *ApplyResourceChange_Response) String() string { 2669 return protoimpl.X.MessageStringOf(x) 2670 } 2671 2672 func (*ApplyResourceChange_Response) ProtoMessage() {} 2673 2674 func (x *ApplyResourceChange_Response) ProtoReflect() protoreflect.Message { 2675 mi := &file_tfplugin5_proto_msgTypes[47] 2676 if protoimpl.UnsafeEnabled && x != nil { 2677 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2678 if ms.LoadMessageInfo() == nil { 2679 ms.StoreMessageInfo(mi) 2680 } 2681 return ms 2682 } 2683 return mi.MessageOf(x) 2684 } 2685 2686 // Deprecated: Use ApplyResourceChange_Response.ProtoReflect.Descriptor instead. 2687 func (*ApplyResourceChange_Response) Descriptor() ([]byte, []int) { 2688 return file_tfplugin5_proto_rawDescGZIP(), []int{14, 1} 2689 } 2690 2691 func (x *ApplyResourceChange_Response) GetNewState() *DynamicValue { 2692 if x != nil { 2693 return x.NewState 2694 } 2695 return nil 2696 } 2697 2698 func (x *ApplyResourceChange_Response) GetPrivate() []byte { 2699 if x != nil { 2700 return x.Private 2701 } 2702 return nil 2703 } 2704 2705 func (x *ApplyResourceChange_Response) GetDiagnostics() []*Diagnostic { 2706 if x != nil { 2707 return x.Diagnostics 2708 } 2709 return nil 2710 } 2711 2712 func (x *ApplyResourceChange_Response) GetLegacyTypeSystem() bool { 2713 if x != nil { 2714 return x.LegacyTypeSystem 2715 } 2716 return false 2717 } 2718 2719 type ImportResourceState_Request struct { 2720 state protoimpl.MessageState 2721 sizeCache protoimpl.SizeCache 2722 unknownFields protoimpl.UnknownFields 2723 2724 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 2725 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 2726 } 2727 2728 func (x *ImportResourceState_Request) Reset() { 2729 *x = ImportResourceState_Request{} 2730 if protoimpl.UnsafeEnabled { 2731 mi := &file_tfplugin5_proto_msgTypes[48] 2732 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2733 ms.StoreMessageInfo(mi) 2734 } 2735 } 2736 2737 func (x *ImportResourceState_Request) String() string { 2738 return protoimpl.X.MessageStringOf(x) 2739 } 2740 2741 func (*ImportResourceState_Request) ProtoMessage() {} 2742 2743 func (x *ImportResourceState_Request) ProtoReflect() protoreflect.Message { 2744 mi := &file_tfplugin5_proto_msgTypes[48] 2745 if protoimpl.UnsafeEnabled && x != nil { 2746 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2747 if ms.LoadMessageInfo() == nil { 2748 ms.StoreMessageInfo(mi) 2749 } 2750 return ms 2751 } 2752 return mi.MessageOf(x) 2753 } 2754 2755 // Deprecated: Use ImportResourceState_Request.ProtoReflect.Descriptor instead. 2756 func (*ImportResourceState_Request) Descriptor() ([]byte, []int) { 2757 return file_tfplugin5_proto_rawDescGZIP(), []int{15, 0} 2758 } 2759 2760 func (x *ImportResourceState_Request) GetTypeName() string { 2761 if x != nil { 2762 return x.TypeName 2763 } 2764 return "" 2765 } 2766 2767 func (x *ImportResourceState_Request) GetId() string { 2768 if x != nil { 2769 return x.Id 2770 } 2771 return "" 2772 } 2773 2774 type ImportResourceState_ImportedResource struct { 2775 state protoimpl.MessageState 2776 sizeCache protoimpl.SizeCache 2777 unknownFields protoimpl.UnknownFields 2778 2779 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 2780 State *DynamicValue `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` 2781 Private []byte `protobuf:"bytes,3,opt,name=private,proto3" json:"private,omitempty"` 2782 } 2783 2784 func (x *ImportResourceState_ImportedResource) Reset() { 2785 *x = ImportResourceState_ImportedResource{} 2786 if protoimpl.UnsafeEnabled { 2787 mi := &file_tfplugin5_proto_msgTypes[49] 2788 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2789 ms.StoreMessageInfo(mi) 2790 } 2791 } 2792 2793 func (x *ImportResourceState_ImportedResource) String() string { 2794 return protoimpl.X.MessageStringOf(x) 2795 } 2796 2797 func (*ImportResourceState_ImportedResource) ProtoMessage() {} 2798 2799 func (x *ImportResourceState_ImportedResource) ProtoReflect() protoreflect.Message { 2800 mi := &file_tfplugin5_proto_msgTypes[49] 2801 if protoimpl.UnsafeEnabled && x != nil { 2802 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2803 if ms.LoadMessageInfo() == nil { 2804 ms.StoreMessageInfo(mi) 2805 } 2806 return ms 2807 } 2808 return mi.MessageOf(x) 2809 } 2810 2811 // Deprecated: Use ImportResourceState_ImportedResource.ProtoReflect.Descriptor instead. 2812 func (*ImportResourceState_ImportedResource) Descriptor() ([]byte, []int) { 2813 return file_tfplugin5_proto_rawDescGZIP(), []int{15, 1} 2814 } 2815 2816 func (x *ImportResourceState_ImportedResource) GetTypeName() string { 2817 if x != nil { 2818 return x.TypeName 2819 } 2820 return "" 2821 } 2822 2823 func (x *ImportResourceState_ImportedResource) GetState() *DynamicValue { 2824 if x != nil { 2825 return x.State 2826 } 2827 return nil 2828 } 2829 2830 func (x *ImportResourceState_ImportedResource) GetPrivate() []byte { 2831 if x != nil { 2832 return x.Private 2833 } 2834 return nil 2835 } 2836 2837 type ImportResourceState_Response struct { 2838 state protoimpl.MessageState 2839 sizeCache protoimpl.SizeCache 2840 unknownFields protoimpl.UnknownFields 2841 2842 ImportedResources []*ImportResourceState_ImportedResource `protobuf:"bytes,1,rep,name=imported_resources,json=importedResources,proto3" json:"imported_resources,omitempty"` 2843 Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 2844 } 2845 2846 func (x *ImportResourceState_Response) Reset() { 2847 *x = ImportResourceState_Response{} 2848 if protoimpl.UnsafeEnabled { 2849 mi := &file_tfplugin5_proto_msgTypes[50] 2850 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2851 ms.StoreMessageInfo(mi) 2852 } 2853 } 2854 2855 func (x *ImportResourceState_Response) String() string { 2856 return protoimpl.X.MessageStringOf(x) 2857 } 2858 2859 func (*ImportResourceState_Response) ProtoMessage() {} 2860 2861 func (x *ImportResourceState_Response) ProtoReflect() protoreflect.Message { 2862 mi := &file_tfplugin5_proto_msgTypes[50] 2863 if protoimpl.UnsafeEnabled && x != nil { 2864 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2865 if ms.LoadMessageInfo() == nil { 2866 ms.StoreMessageInfo(mi) 2867 } 2868 return ms 2869 } 2870 return mi.MessageOf(x) 2871 } 2872 2873 // Deprecated: Use ImportResourceState_Response.ProtoReflect.Descriptor instead. 2874 func (*ImportResourceState_Response) Descriptor() ([]byte, []int) { 2875 return file_tfplugin5_proto_rawDescGZIP(), []int{15, 2} 2876 } 2877 2878 func (x *ImportResourceState_Response) GetImportedResources() []*ImportResourceState_ImportedResource { 2879 if x != nil { 2880 return x.ImportedResources 2881 } 2882 return nil 2883 } 2884 2885 func (x *ImportResourceState_Response) GetDiagnostics() []*Diagnostic { 2886 if x != nil { 2887 return x.Diagnostics 2888 } 2889 return nil 2890 } 2891 2892 type ReadDataSource_Request struct { 2893 state protoimpl.MessageState 2894 sizeCache protoimpl.SizeCache 2895 unknownFields protoimpl.UnknownFields 2896 2897 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 2898 Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` 2899 ProviderMeta *DynamicValue `protobuf:"bytes,3,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` 2900 } 2901 2902 func (x *ReadDataSource_Request) Reset() { 2903 *x = ReadDataSource_Request{} 2904 if protoimpl.UnsafeEnabled { 2905 mi := &file_tfplugin5_proto_msgTypes[51] 2906 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2907 ms.StoreMessageInfo(mi) 2908 } 2909 } 2910 2911 func (x *ReadDataSource_Request) String() string { 2912 return protoimpl.X.MessageStringOf(x) 2913 } 2914 2915 func (*ReadDataSource_Request) ProtoMessage() {} 2916 2917 func (x *ReadDataSource_Request) ProtoReflect() protoreflect.Message { 2918 mi := &file_tfplugin5_proto_msgTypes[51] 2919 if protoimpl.UnsafeEnabled && x != nil { 2920 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2921 if ms.LoadMessageInfo() == nil { 2922 ms.StoreMessageInfo(mi) 2923 } 2924 return ms 2925 } 2926 return mi.MessageOf(x) 2927 } 2928 2929 // Deprecated: Use ReadDataSource_Request.ProtoReflect.Descriptor instead. 2930 func (*ReadDataSource_Request) Descriptor() ([]byte, []int) { 2931 return file_tfplugin5_proto_rawDescGZIP(), []int{16, 0} 2932 } 2933 2934 func (x *ReadDataSource_Request) GetTypeName() string { 2935 if x != nil { 2936 return x.TypeName 2937 } 2938 return "" 2939 } 2940 2941 func (x *ReadDataSource_Request) GetConfig() *DynamicValue { 2942 if x != nil { 2943 return x.Config 2944 } 2945 return nil 2946 } 2947 2948 func (x *ReadDataSource_Request) GetProviderMeta() *DynamicValue { 2949 if x != nil { 2950 return x.ProviderMeta 2951 } 2952 return nil 2953 } 2954 2955 type ReadDataSource_Response struct { 2956 state protoimpl.MessageState 2957 sizeCache protoimpl.SizeCache 2958 unknownFields protoimpl.UnknownFields 2959 2960 State *DynamicValue `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` 2961 Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 2962 } 2963 2964 func (x *ReadDataSource_Response) Reset() { 2965 *x = ReadDataSource_Response{} 2966 if protoimpl.UnsafeEnabled { 2967 mi := &file_tfplugin5_proto_msgTypes[52] 2968 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2969 ms.StoreMessageInfo(mi) 2970 } 2971 } 2972 2973 func (x *ReadDataSource_Response) String() string { 2974 return protoimpl.X.MessageStringOf(x) 2975 } 2976 2977 func (*ReadDataSource_Response) ProtoMessage() {} 2978 2979 func (x *ReadDataSource_Response) ProtoReflect() protoreflect.Message { 2980 mi := &file_tfplugin5_proto_msgTypes[52] 2981 if protoimpl.UnsafeEnabled && x != nil { 2982 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2983 if ms.LoadMessageInfo() == nil { 2984 ms.StoreMessageInfo(mi) 2985 } 2986 return ms 2987 } 2988 return mi.MessageOf(x) 2989 } 2990 2991 // Deprecated: Use ReadDataSource_Response.ProtoReflect.Descriptor instead. 2992 func (*ReadDataSource_Response) Descriptor() ([]byte, []int) { 2993 return file_tfplugin5_proto_rawDescGZIP(), []int{16, 1} 2994 } 2995 2996 func (x *ReadDataSource_Response) GetState() *DynamicValue { 2997 if x != nil { 2998 return x.State 2999 } 3000 return nil 3001 } 3002 3003 func (x *ReadDataSource_Response) GetDiagnostics() []*Diagnostic { 3004 if x != nil { 3005 return x.Diagnostics 3006 } 3007 return nil 3008 } 3009 3010 type GetProvisionerSchema_Request struct { 3011 state protoimpl.MessageState 3012 sizeCache protoimpl.SizeCache 3013 unknownFields protoimpl.UnknownFields 3014 } 3015 3016 func (x *GetProvisionerSchema_Request) Reset() { 3017 *x = GetProvisionerSchema_Request{} 3018 if protoimpl.UnsafeEnabled { 3019 mi := &file_tfplugin5_proto_msgTypes[53] 3020 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3021 ms.StoreMessageInfo(mi) 3022 } 3023 } 3024 3025 func (x *GetProvisionerSchema_Request) String() string { 3026 return protoimpl.X.MessageStringOf(x) 3027 } 3028 3029 func (*GetProvisionerSchema_Request) ProtoMessage() {} 3030 3031 func (x *GetProvisionerSchema_Request) ProtoReflect() protoreflect.Message { 3032 mi := &file_tfplugin5_proto_msgTypes[53] 3033 if protoimpl.UnsafeEnabled && x != nil { 3034 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3035 if ms.LoadMessageInfo() == nil { 3036 ms.StoreMessageInfo(mi) 3037 } 3038 return ms 3039 } 3040 return mi.MessageOf(x) 3041 } 3042 3043 // Deprecated: Use GetProvisionerSchema_Request.ProtoReflect.Descriptor instead. 3044 func (*GetProvisionerSchema_Request) Descriptor() ([]byte, []int) { 3045 return file_tfplugin5_proto_rawDescGZIP(), []int{17, 0} 3046 } 3047 3048 type GetProvisionerSchema_Response struct { 3049 state protoimpl.MessageState 3050 sizeCache protoimpl.SizeCache 3051 unknownFields protoimpl.UnknownFields 3052 3053 Provisioner *Schema `protobuf:"bytes,1,opt,name=provisioner,proto3" json:"provisioner,omitempty"` 3054 Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 3055 } 3056 3057 func (x *GetProvisionerSchema_Response) Reset() { 3058 *x = GetProvisionerSchema_Response{} 3059 if protoimpl.UnsafeEnabled { 3060 mi := &file_tfplugin5_proto_msgTypes[54] 3061 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3062 ms.StoreMessageInfo(mi) 3063 } 3064 } 3065 3066 func (x *GetProvisionerSchema_Response) String() string { 3067 return protoimpl.X.MessageStringOf(x) 3068 } 3069 3070 func (*GetProvisionerSchema_Response) ProtoMessage() {} 3071 3072 func (x *GetProvisionerSchema_Response) ProtoReflect() protoreflect.Message { 3073 mi := &file_tfplugin5_proto_msgTypes[54] 3074 if protoimpl.UnsafeEnabled && x != nil { 3075 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3076 if ms.LoadMessageInfo() == nil { 3077 ms.StoreMessageInfo(mi) 3078 } 3079 return ms 3080 } 3081 return mi.MessageOf(x) 3082 } 3083 3084 // Deprecated: Use GetProvisionerSchema_Response.ProtoReflect.Descriptor instead. 3085 func (*GetProvisionerSchema_Response) Descriptor() ([]byte, []int) { 3086 return file_tfplugin5_proto_rawDescGZIP(), []int{17, 1} 3087 } 3088 3089 func (x *GetProvisionerSchema_Response) GetProvisioner() *Schema { 3090 if x != nil { 3091 return x.Provisioner 3092 } 3093 return nil 3094 } 3095 3096 func (x *GetProvisionerSchema_Response) GetDiagnostics() []*Diagnostic { 3097 if x != nil { 3098 return x.Diagnostics 3099 } 3100 return nil 3101 } 3102 3103 type ValidateProvisionerConfig_Request struct { 3104 state protoimpl.MessageState 3105 sizeCache protoimpl.SizeCache 3106 unknownFields protoimpl.UnknownFields 3107 3108 Config *DynamicValue `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` 3109 } 3110 3111 func (x *ValidateProvisionerConfig_Request) Reset() { 3112 *x = ValidateProvisionerConfig_Request{} 3113 if protoimpl.UnsafeEnabled { 3114 mi := &file_tfplugin5_proto_msgTypes[55] 3115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3116 ms.StoreMessageInfo(mi) 3117 } 3118 } 3119 3120 func (x *ValidateProvisionerConfig_Request) String() string { 3121 return protoimpl.X.MessageStringOf(x) 3122 } 3123 3124 func (*ValidateProvisionerConfig_Request) ProtoMessage() {} 3125 3126 func (x *ValidateProvisionerConfig_Request) ProtoReflect() protoreflect.Message { 3127 mi := &file_tfplugin5_proto_msgTypes[55] 3128 if protoimpl.UnsafeEnabled && x != nil { 3129 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3130 if ms.LoadMessageInfo() == nil { 3131 ms.StoreMessageInfo(mi) 3132 } 3133 return ms 3134 } 3135 return mi.MessageOf(x) 3136 } 3137 3138 // Deprecated: Use ValidateProvisionerConfig_Request.ProtoReflect.Descriptor instead. 3139 func (*ValidateProvisionerConfig_Request) Descriptor() ([]byte, []int) { 3140 return file_tfplugin5_proto_rawDescGZIP(), []int{18, 0} 3141 } 3142 3143 func (x *ValidateProvisionerConfig_Request) GetConfig() *DynamicValue { 3144 if x != nil { 3145 return x.Config 3146 } 3147 return nil 3148 } 3149 3150 type ValidateProvisionerConfig_Response struct { 3151 state protoimpl.MessageState 3152 sizeCache protoimpl.SizeCache 3153 unknownFields protoimpl.UnknownFields 3154 3155 Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 3156 } 3157 3158 func (x *ValidateProvisionerConfig_Response) Reset() { 3159 *x = ValidateProvisionerConfig_Response{} 3160 if protoimpl.UnsafeEnabled { 3161 mi := &file_tfplugin5_proto_msgTypes[56] 3162 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3163 ms.StoreMessageInfo(mi) 3164 } 3165 } 3166 3167 func (x *ValidateProvisionerConfig_Response) String() string { 3168 return protoimpl.X.MessageStringOf(x) 3169 } 3170 3171 func (*ValidateProvisionerConfig_Response) ProtoMessage() {} 3172 3173 func (x *ValidateProvisionerConfig_Response) ProtoReflect() protoreflect.Message { 3174 mi := &file_tfplugin5_proto_msgTypes[56] 3175 if protoimpl.UnsafeEnabled && x != nil { 3176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3177 if ms.LoadMessageInfo() == nil { 3178 ms.StoreMessageInfo(mi) 3179 } 3180 return ms 3181 } 3182 return mi.MessageOf(x) 3183 } 3184 3185 // Deprecated: Use ValidateProvisionerConfig_Response.ProtoReflect.Descriptor instead. 3186 func (*ValidateProvisionerConfig_Response) Descriptor() ([]byte, []int) { 3187 return file_tfplugin5_proto_rawDescGZIP(), []int{18, 1} 3188 } 3189 3190 func (x *ValidateProvisionerConfig_Response) GetDiagnostics() []*Diagnostic { 3191 if x != nil { 3192 return x.Diagnostics 3193 } 3194 return nil 3195 } 3196 3197 type ProvisionResource_Request struct { 3198 state protoimpl.MessageState 3199 sizeCache protoimpl.SizeCache 3200 unknownFields protoimpl.UnknownFields 3201 3202 Config *DynamicValue `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` 3203 Connection *DynamicValue `protobuf:"bytes,2,opt,name=connection,proto3" json:"connection,omitempty"` 3204 } 3205 3206 func (x *ProvisionResource_Request) Reset() { 3207 *x = ProvisionResource_Request{} 3208 if protoimpl.UnsafeEnabled { 3209 mi := &file_tfplugin5_proto_msgTypes[57] 3210 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3211 ms.StoreMessageInfo(mi) 3212 } 3213 } 3214 3215 func (x *ProvisionResource_Request) String() string { 3216 return protoimpl.X.MessageStringOf(x) 3217 } 3218 3219 func (*ProvisionResource_Request) ProtoMessage() {} 3220 3221 func (x *ProvisionResource_Request) ProtoReflect() protoreflect.Message { 3222 mi := &file_tfplugin5_proto_msgTypes[57] 3223 if protoimpl.UnsafeEnabled && x != nil { 3224 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3225 if ms.LoadMessageInfo() == nil { 3226 ms.StoreMessageInfo(mi) 3227 } 3228 return ms 3229 } 3230 return mi.MessageOf(x) 3231 } 3232 3233 // Deprecated: Use ProvisionResource_Request.ProtoReflect.Descriptor instead. 3234 func (*ProvisionResource_Request) Descriptor() ([]byte, []int) { 3235 return file_tfplugin5_proto_rawDescGZIP(), []int{19, 0} 3236 } 3237 3238 func (x *ProvisionResource_Request) GetConfig() *DynamicValue { 3239 if x != nil { 3240 return x.Config 3241 } 3242 return nil 3243 } 3244 3245 func (x *ProvisionResource_Request) GetConnection() *DynamicValue { 3246 if x != nil { 3247 return x.Connection 3248 } 3249 return nil 3250 } 3251 3252 type ProvisionResource_Response struct { 3253 state protoimpl.MessageState 3254 sizeCache protoimpl.SizeCache 3255 unknownFields protoimpl.UnknownFields 3256 3257 Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` 3258 Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 3259 } 3260 3261 func (x *ProvisionResource_Response) Reset() { 3262 *x = ProvisionResource_Response{} 3263 if protoimpl.UnsafeEnabled { 3264 mi := &file_tfplugin5_proto_msgTypes[58] 3265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3266 ms.StoreMessageInfo(mi) 3267 } 3268 } 3269 3270 func (x *ProvisionResource_Response) String() string { 3271 return protoimpl.X.MessageStringOf(x) 3272 } 3273 3274 func (*ProvisionResource_Response) ProtoMessage() {} 3275 3276 func (x *ProvisionResource_Response) ProtoReflect() protoreflect.Message { 3277 mi := &file_tfplugin5_proto_msgTypes[58] 3278 if protoimpl.UnsafeEnabled && x != nil { 3279 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3280 if ms.LoadMessageInfo() == nil { 3281 ms.StoreMessageInfo(mi) 3282 } 3283 return ms 3284 } 3285 return mi.MessageOf(x) 3286 } 3287 3288 // Deprecated: Use ProvisionResource_Response.ProtoReflect.Descriptor instead. 3289 func (*ProvisionResource_Response) Descriptor() ([]byte, []int) { 3290 return file_tfplugin5_proto_rawDescGZIP(), []int{19, 1} 3291 } 3292 3293 func (x *ProvisionResource_Response) GetOutput() string { 3294 if x != nil { 3295 return x.Output 3296 } 3297 return "" 3298 } 3299 3300 func (x *ProvisionResource_Response) GetDiagnostics() []*Diagnostic { 3301 if x != nil { 3302 return x.Diagnostics 3303 } 3304 return nil 3305 } 3306 3307 var File_tfplugin5_proto protoreflect.FileDescriptor 3308 3309 var file_tfplugin5_proto_rawDesc = []byte{ 3310 0x0a, 0x0f, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 3311 0x6f, 0x12, 0x09, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x22, 0x3c, 0x0a, 0x0c, 3312 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 3313 0x6d, 0x73, 0x67, 0x70, 0x61, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 3314 0x73, 0x67, 0x70, 0x61, 0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x02, 3315 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6a, 0x73, 0x6f, 0x6e, 0x22, 0xe3, 0x01, 0x0a, 0x0a, 0x44, 3316 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x12, 0x3a, 0x0a, 0x08, 0x73, 0x65, 0x76, 3317 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x74, 0x66, 3318 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 3319 0x69, 0x63, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 3320 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 3321 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 3322 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 3323 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 3324 0x62, 0x75, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x66, 0x70, 3325 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 3326 0x50, 0x61, 0x74, 0x68, 0x52, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x22, 3327 0x2f, 0x0a, 0x08, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x0b, 0x0a, 0x07, 0x49, 3328 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 3329 0x52, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 3330 0x22, 0xdc, 0x01, 0x0a, 0x0d, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x50, 0x61, 3331 0x74, 0x68, 0x12, 0x33, 0x0a, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 3332 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x41, 0x74, 3333 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x2e, 0x53, 0x74, 0x65, 0x70, 3334 0x52, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x1a, 0x95, 0x01, 0x0a, 0x04, 0x53, 0x74, 0x65, 0x70, 3335 0x12, 0x27, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x6e, 0x61, 3336 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 3337 0x69, 0x62, 0x75, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x65, 0x6c, 0x65, 3338 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 3339 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 3340 0x4b, 0x65, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x28, 0x0a, 0x0f, 0x65, 0x6c, 0x65, 3341 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 3342 0x28, 0x03, 0x48, 0x00, 0x52, 0x0d, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 3343 0x49, 0x6e, 0x74, 0x42, 0x0a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 3344 0x33, 0x0a, 0x04, 0x53, 0x74, 0x6f, 0x70, 0x1a, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 3345 0x73, 0x74, 0x1a, 0x20, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 3346 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x45, 3347 0x72, 0x72, 0x6f, 0x72, 0x22, 0x96, 0x01, 0x0a, 0x08, 0x52, 0x61, 0x77, 0x53, 0x74, 0x61, 0x74, 3348 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 3349 0x04, 0x6a, 0x73, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x07, 0x66, 0x6c, 0x61, 0x74, 0x6d, 0x61, 0x70, 3350 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 3351 0x6e, 0x35, 0x2e, 0x52, 0x61, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x46, 0x6c, 0x61, 0x74, 3352 0x6d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x66, 0x6c, 0x61, 0x74, 0x6d, 0x61, 3353 0x70, 0x1a, 0x3a, 0x0a, 0x0c, 0x46, 0x6c, 0x61, 0x74, 0x6d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 3354 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 3355 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 3356 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcc, 0x07, 3357 0x0a, 0x06, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 3358 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 3359 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 3360 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x53, 0x63, 3361 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 3362 0x6b, 0x1a, 0xa2, 0x02, 0x0a, 0x05, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x76, 3363 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 3364 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 3365 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x66, 0x70, 0x6c, 3366 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x41, 0x74, 0x74, 3367 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 3368 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 3369 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 3370 0x69, 0x6e, 0x35, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 3371 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x79, 0x70, 3372 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 3373 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 3374 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x10, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 3375 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 3376 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 3377 0x67, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 3378 0x6f, 0x6e, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 3379 0x61, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 3380 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x1a, 0xa9, 0x02, 0x0a, 0x09, 0x41, 0x74, 0x74, 0x72, 0x69, 3381 0x62, 0x75, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 3382 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 3383 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 3384 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 3385 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 3386 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 3387 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 3388 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, 0x70, 3389 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 3390 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 3391 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 3392 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 3393 0x12, 0x40, 0x0a, 0x10, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 3394 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x74, 0x66, 0x70, 3395 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4b, 0x69, 0x6e, 3396 0x64, 0x52, 0x0f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x69, 3397 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 3398 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 3399 0x65, 0x64, 0x1a, 0xa7, 0x02, 0x0a, 0x0b, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f, 3400 0x63, 0x6b, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 3401 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 3402 0x2d, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 3403 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 3404 0x61, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x43, 3405 0x0a, 0x07, 0x6e, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 3406 0x29, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x53, 0x63, 0x68, 0x65, 3407 0x6d, 0x61, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x4e, 3408 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x07, 0x6e, 0x65, 0x73, 0x74, 3409 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 3410 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x73, 3411 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x05, 0x20, 3412 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x4d, 0x0a, 3413 0x0b, 0x4e, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 3414 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x49, 0x4e, 3415 0x47, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x02, 0x12, 3416 0x07, 0x0a, 0x03, 0x53, 0x45, 0x54, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x41, 0x50, 0x10, 3417 0x04, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x05, 0x22, 0xeb, 0x05, 0x0a, 3418 0x11, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 3419 0x6d, 0x61, 0x1a, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x91, 0x05, 3420 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x70, 0x72, 3421 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 3422 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 3423 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x65, 0x0a, 0x10, 0x72, 0x65, 0x73, 3424 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x02, 0x20, 3425 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 3426 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 3427 0x61, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 3428 0x72, 0x63, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 3429 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 3430 0x12, 0x6c, 0x0a, 0x13, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 3431 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 3432 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 3433 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x70, 3434 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 3435 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x64, 0x61, 0x74, 3436 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0x37, 3437 0x0a, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x04, 0x20, 3438 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 3439 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x52, 0x0b, 0x64, 0x69, 0x61, 0x67, 3440 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x36, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 3441 0x64, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 3442 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 3443 0x61, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x12, 3444 0x60, 0x0a, 0x13, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 3445 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 3446 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 3447 0x69, 0x64, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 3448 0x72, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x12, 0x73, 3449 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 3450 0x73, 0x1a, 0x55, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x63, 0x68, 3451 0x65, 0x6d, 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 3452 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x27, 0x0a, 0x05, 0x76, 3453 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x66, 0x70, 3454 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x05, 0x76, 3455 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x57, 0x0a, 0x16, 0x44, 0x61, 0x74, 0x61, 3456 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x45, 0x6e, 0x74, 3457 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 3458 0x03, 0x6b, 0x65, 0x79, 0x12, 0x27, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 3459 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 3460 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 3461 0x01, 0x1a, 0x37, 0x0a, 0x12, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x61, 0x70, 0x61, 0x62, 3462 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 3463 0x64, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70, 3464 0x6c, 0x61, 0x6e, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x22, 0xdb, 0x01, 0x0a, 0x15, 0x50, 3465 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 3466 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x3a, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 3467 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 3468 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 3469 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 3470 0x1a, 0x85, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 3471 0x0f, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 3472 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 3473 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 3474 0x0e, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 3475 0x37, 0x0a, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x02, 3476 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 3477 0x2e, 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x52, 0x0b, 0x64, 0x69, 0x61, 3478 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x22, 0x90, 0x02, 0x0a, 0x14, 0x55, 0x70, 0x67, 3479 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 3480 0x65, 0x1a, 0x72, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 3481 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 3482 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 3483 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 3484 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x09, 0x72, 0x61, 0x77, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 3485 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 3486 0x6e, 0x35, 0x2e, 0x52, 0x61, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x08, 0x72, 0x61, 0x77, 3487 0x53, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x83, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 3488 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0e, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x64, 0x5f, 0x73, 3489 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 3490 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 3491 0x6c, 0x75, 0x65, 0x52, 0x0d, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x64, 0x53, 0x74, 0x61, 3492 0x74, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 3493 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 3494 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x52, 0x0b, 3495 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x22, 0xba, 0x01, 0x0a, 0x1a, 3496 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 3497 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x57, 0x0a, 0x07, 0x52, 0x65, 3498 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 3499 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 3500 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 3501 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 3502 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x63, 0x6f, 0x6e, 3503 0x66, 0x69, 0x67, 0x1a, 0x43, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 3504 0x37, 0x0a, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x01, 3505 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 3506 0x2e, 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x52, 0x0b, 0x64, 0x69, 0x61, 3507 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x22, 0xb8, 0x01, 0x0a, 0x18, 0x56, 0x61, 0x6c, 3508 0x69, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 3509 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x57, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 3510 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 3511 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 3512 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 3513 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 3514 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x43, 3515 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x64, 0x69, 3516 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 3517 0x15, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x69, 0x61, 0x67, 3518 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x52, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 3519 0x69, 0x63, 0x73, 0x22, 0xb9, 0x01, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 3520 0x65, 0x1a, 0x67, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x11, 3521 0x74, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 3522 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 3523 0x72, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 3524 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 3525 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 3526 0x75, 0x65, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x43, 0x0a, 0x08, 0x52, 0x65, 3527 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 3528 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x66, 3529 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 3530 0x69, 0x63, 0x52, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x22, 3531 0xe3, 0x02, 0x0a, 0x0c, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 3532 0x1a, 0xbc, 0x01, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 3533 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 3534 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x63, 0x75, 0x72, 3535 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 3536 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 3537 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 3538 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 3539 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 3540 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x6d, 0x65, 3541 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 3542 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 3543 0x65, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x1a, 3544 0x93, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x09, 3545 0x6e, 0x65, 0x77, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 3546 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 3547 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x53, 0x74, 0x61, 3548 0x74, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 3549 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 3550 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x52, 0x0b, 3551 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 3552 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x72, 3553 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0xf2, 0x04, 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 3554 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x1a, 0xbb, 0x02, 0x0a, 3555 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 3556 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 3557 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x5f, 0x73, 3558 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 3559 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 3560 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 3561 0x45, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 3562 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 3563 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 3564 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x4e, 0x65, 3565 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 3566 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 3567 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 3568 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x69, 0x6f, 0x72, 3569 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 3570 0x70, 0x72, 0x69, 0x6f, 0x72, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 3571 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x06, 0x20, 3572 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 3573 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c, 0x70, 0x72, 3574 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x1a, 0x9d, 0x02, 0x0a, 0x08, 0x52, 3575 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x6e, 0x6e, 3576 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 3577 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 3578 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 3579 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x43, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 3580 0x73, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 3581 0x18, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x41, 0x74, 0x74, 0x72, 3582 0x69, 0x62, 0x75, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 3583 0x72, 0x65, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x6c, 3584 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 3585 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x50, 0x72, 0x69, 0x76, 3586 0x61, 0x74, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 3587 0x63, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 3588 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x52, 3589 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x2c, 0x0a, 0x12, 3590 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x73, 0x79, 0x73, 0x74, 3591 0x65, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 3592 0x54, 0x79, 0x70, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x22, 0x92, 0x04, 0x0a, 0x13, 0x41, 3593 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 3594 0x67, 0x65, 0x1a, 0xb6, 0x02, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 3595 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 3596 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x70, 3597 0x72, 0x69, 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 3598 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 3599 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x6f, 0x72, 3600 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 3601 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 3602 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 3603 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x53, 0x74, 3604 0x61, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 3605 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 3606 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x63, 0x6f, 3607 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 3608 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x70, 3609 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x3c, 0x0a, 3610 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x06, 3611 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 3612 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c, 0x70, 3613 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x1a, 0xc1, 0x01, 0x0a, 0x08, 3614 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 3615 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 3616 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 3617 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 3618 0x0a, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 3619 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x64, 0x69, 0x61, 0x67, 3620 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 3621 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 3622 0x73, 0x74, 0x69, 0x63, 0x52, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 3623 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 3624 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6c, 3625 0x65, 0x67, 0x61, 0x63, 0x79, 0x54, 0x79, 0x70, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x22, 3626 0xed, 0x02, 0x0a, 0x13, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 3627 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x36, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 3628 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 3629 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 3630 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x1a, 3631 0x78, 0x0a, 0x10, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 3632 0x72, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 3633 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 3634 0x12, 0x2d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 3635 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 3636 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 3637 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 3638 0x52, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x1a, 0xa3, 0x01, 0x0a, 0x08, 0x52, 0x65, 3639 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x12, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 3640 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 3641 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x49, 3642 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 3643 0x74, 0x65, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 3644 0x72, 0x63, 0x65, 0x52, 0x11, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 3645 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 3646 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x66, 3647 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 3648 0x69, 0x63, 0x52, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x22, 3649 0x9c, 0x02, 0x0a, 0x0e, 0x52, 0x65, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 3650 0x63, 0x65, 0x1a, 0x95, 0x01, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 3651 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 3652 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x63, 3653 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 3654 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 3655 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3c, 0x0a, 0x0d, 3656 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x03, 0x20, 3657 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 3658 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c, 0x70, 0x72, 3659 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x1a, 0x72, 0x0a, 0x08, 0x52, 0x65, 3660 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 3661 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 3662 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 3663 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 3664 0x74, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x66, 0x70, 3665 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 3666 0x63, 0x52, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x22, 0x9b, 3667 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 3668 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x1a, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 3669 0x73, 0x74, 0x1a, 0x78, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 3670 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 3671 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 3672 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 3673 0x6e, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 3674 0x63, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 3675 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x52, 3676 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x22, 0x9c, 0x01, 0x0a, 3677 0x19, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 3678 0x6f, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x3a, 0x0a, 0x07, 0x52, 0x65, 3679 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 3680 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 3681 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 3682 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x43, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 3683 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 3684 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 3685 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x52, 0x0b, 3686 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x22, 0xe5, 0x01, 0x0a, 0x11, 3687 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 3688 0x65, 0x1a, 0x73, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x06, 3689 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 3690 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 3691 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x37, 0x0a, 3692 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 3693 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x79, 3694 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 3695 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x5b, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 3696 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 3697 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x37, 0x0a, 0x0b, 0x64, 0x69, 3698 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 3699 0x15, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x44, 0x69, 0x61, 0x67, 3700 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x52, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 3701 0x69, 0x63, 0x73, 0x2a, 0x25, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4b, 0x69, 0x6e, 3702 0x64, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x4c, 0x41, 0x49, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 3703 0x4d, 0x41, 0x52, 0x4b, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x32, 0x97, 0x09, 0x0a, 0x08, 0x50, 3704 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x58, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, 0x63, 3705 0x68, 0x65, 0x6d, 0x61, 0x12, 0x24, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 3706 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 3707 0x6d, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x74, 0x66, 0x70, 3708 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 3709 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 3710 0x65, 0x12, 0x6c, 0x0a, 0x15, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x76, 3711 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x28, 0x2e, 0x74, 0x66, 0x70, 3712 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x50, 0x72, 3713 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x71, 3714 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 3715 0x2e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 3716 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 3717 0x7b, 0x0a, 0x1a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 3718 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2d, 0x2e, 3719 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 3720 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f, 3721 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x74, 3722 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 3723 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x6e, 3724 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x18, 3725 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 3726 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2b, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 3727 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 3728 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 3729 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 3730 0x35, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 3731 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 3732 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x14, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 3733 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x27, 0x2e, 0x74, 0x66, 3734 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 3735 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x52, 0x65, 0x71, 3736 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 3737 0x2e, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 3738 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 3739 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x12, 0x1c, 0x2e, 0x74, 0x66, 3740 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 3741 0x65, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x74, 0x66, 0x70, 0x6c, 3742 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x2e, 3743 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0c, 0x52, 0x65, 0x61, 0x64, 3744 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1f, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 3745 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 3746 0x65, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x74, 0x66, 0x70, 0x6c, 3747 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 3748 0x63, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x12, 0x50, 3749 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 3750 0x65, 0x12, 0x25, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x50, 0x6c, 3751 0x61, 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 3752 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 3753 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 3754 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 3755 0x12, 0x66, 0x0a, 0x13, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 3756 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x26, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 3757 0x69, 0x6e, 0x35, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 3758 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 3759 0x27, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x41, 0x70, 0x70, 0x6c, 3760 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 3761 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x13, 0x49, 0x6d, 0x70, 0x6f, 3762 0x72, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 3763 0x26, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 3764 0x72, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 3765 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 3766 0x69, 0x6e, 0x35, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 3767 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 3768 0x12, 0x57, 0x0a, 0x0e, 0x52, 0x65, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 3769 0x63, 0x65, 0x12, 0x21, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x52, 3770 0x65, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 3771 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 3772 0x35, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 3773 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x53, 0x74, 0x6f, 3774 0x70, 0x12, 0x17, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x53, 0x74, 3775 0x6f, 0x70, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x74, 0x66, 0x70, 3776 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x2e, 0x52, 0x65, 0x73, 0x70, 3777 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x86, 0x03, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 3778 0x6f, 0x6e, 0x65, 0x72, 0x12, 0x5e, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 3779 0x61, 0x12, 0x27, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x47, 0x65, 3780 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 3781 0x6d, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x74, 0x66, 0x70, 3782 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 3783 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x70, 3784 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x78, 0x0a, 0x19, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 3785 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 3786 0x67, 0x12, 0x2c, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x56, 0x61, 3787 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 3788 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 3789 0x2d, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x56, 0x61, 0x6c, 0x69, 3790 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x43, 3791 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 3792 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x75, 3793 0x72, 0x63, 0x65, 0x12, 0x24, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 3794 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 3795 0x65, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x74, 0x66, 0x70, 0x6c, 3796 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 3797 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 3798 0x30, 0x01, 0x12, 0x39, 0x0a, 0x04, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x17, 0x2e, 0x74, 0x66, 0x70, 3799 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x2e, 0x52, 0x65, 0x71, 0x75, 3800 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x35, 0x2e, 3801 0x53, 0x74, 0x6f, 0x70, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x33, 0x5a, 3802 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x61, 0x73, 0x68, 3803 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2f, 0x74, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 3804 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x66, 0x70, 0x6c, 0x75, 0x67, 0x69, 3805 0x6e, 0x35, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 3806 } 3807 3808 var ( 3809 file_tfplugin5_proto_rawDescOnce sync.Once 3810 file_tfplugin5_proto_rawDescData = file_tfplugin5_proto_rawDesc 3811 ) 3812 3813 func file_tfplugin5_proto_rawDescGZIP() []byte { 3814 file_tfplugin5_proto_rawDescOnce.Do(func() { 3815 file_tfplugin5_proto_rawDescData = protoimpl.X.CompressGZIP(file_tfplugin5_proto_rawDescData) 3816 }) 3817 return file_tfplugin5_proto_rawDescData 3818 } 3819 3820 var file_tfplugin5_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 3821 var file_tfplugin5_proto_msgTypes = make([]protoimpl.MessageInfo, 59) 3822 var file_tfplugin5_proto_goTypes = []interface{}{ 3823 (StringKind)(0), // 0: tfplugin5.StringKind 3824 (Diagnostic_Severity)(0), // 1: tfplugin5.Diagnostic.Severity 3825 (Schema_NestedBlock_NestingMode)(0), // 2: tfplugin5.Schema.NestedBlock.NestingMode 3826 (*DynamicValue)(nil), // 3: tfplugin5.DynamicValue 3827 (*Diagnostic)(nil), // 4: tfplugin5.Diagnostic 3828 (*AttributePath)(nil), // 5: tfplugin5.AttributePath 3829 (*Stop)(nil), // 6: tfplugin5.Stop 3830 (*RawState)(nil), // 7: tfplugin5.RawState 3831 (*Schema)(nil), // 8: tfplugin5.Schema 3832 (*GetProviderSchema)(nil), // 9: tfplugin5.GetProviderSchema 3833 (*PrepareProviderConfig)(nil), // 10: tfplugin5.PrepareProviderConfig 3834 (*UpgradeResourceState)(nil), // 11: tfplugin5.UpgradeResourceState 3835 (*ValidateResourceTypeConfig)(nil), // 12: tfplugin5.ValidateResourceTypeConfig 3836 (*ValidateDataSourceConfig)(nil), // 13: tfplugin5.ValidateDataSourceConfig 3837 (*Configure)(nil), // 14: tfplugin5.Configure 3838 (*ReadResource)(nil), // 15: tfplugin5.ReadResource 3839 (*PlanResourceChange)(nil), // 16: tfplugin5.PlanResourceChange 3840 (*ApplyResourceChange)(nil), // 17: tfplugin5.ApplyResourceChange 3841 (*ImportResourceState)(nil), // 18: tfplugin5.ImportResourceState 3842 (*ReadDataSource)(nil), // 19: tfplugin5.ReadDataSource 3843 (*GetProvisionerSchema)(nil), // 20: tfplugin5.GetProvisionerSchema 3844 (*ValidateProvisionerConfig)(nil), // 21: tfplugin5.ValidateProvisionerConfig 3845 (*ProvisionResource)(nil), // 22: tfplugin5.ProvisionResource 3846 (*AttributePath_Step)(nil), // 23: tfplugin5.AttributePath.Step 3847 (*Stop_Request)(nil), // 24: tfplugin5.Stop.Request 3848 (*Stop_Response)(nil), // 25: tfplugin5.Stop.Response 3849 nil, // 26: tfplugin5.RawState.FlatmapEntry 3850 (*Schema_Block)(nil), // 27: tfplugin5.Schema.Block 3851 (*Schema_Attribute)(nil), // 28: tfplugin5.Schema.Attribute 3852 (*Schema_NestedBlock)(nil), // 29: tfplugin5.Schema.NestedBlock 3853 (*GetProviderSchema_Request)(nil), // 30: tfplugin5.GetProviderSchema.Request 3854 (*GetProviderSchema_Response)(nil), // 31: tfplugin5.GetProviderSchema.Response 3855 (*GetProviderSchema_ServerCapabilities)(nil), // 32: tfplugin5.GetProviderSchema.ServerCapabilities 3856 nil, // 33: tfplugin5.GetProviderSchema.Response.ResourceSchemasEntry 3857 nil, // 34: tfplugin5.GetProviderSchema.Response.DataSourceSchemasEntry 3858 (*PrepareProviderConfig_Request)(nil), // 35: tfplugin5.PrepareProviderConfig.Request 3859 (*PrepareProviderConfig_Response)(nil), // 36: tfplugin5.PrepareProviderConfig.Response 3860 (*UpgradeResourceState_Request)(nil), // 37: tfplugin5.UpgradeResourceState.Request 3861 (*UpgradeResourceState_Response)(nil), // 38: tfplugin5.UpgradeResourceState.Response 3862 (*ValidateResourceTypeConfig_Request)(nil), // 39: tfplugin5.ValidateResourceTypeConfig.Request 3863 (*ValidateResourceTypeConfig_Response)(nil), // 40: tfplugin5.ValidateResourceTypeConfig.Response 3864 (*ValidateDataSourceConfig_Request)(nil), // 41: tfplugin5.ValidateDataSourceConfig.Request 3865 (*ValidateDataSourceConfig_Response)(nil), // 42: tfplugin5.ValidateDataSourceConfig.Response 3866 (*Configure_Request)(nil), // 43: tfplugin5.Configure.Request 3867 (*Configure_Response)(nil), // 44: tfplugin5.Configure.Response 3868 (*ReadResource_Request)(nil), // 45: tfplugin5.ReadResource.Request 3869 (*ReadResource_Response)(nil), // 46: tfplugin5.ReadResource.Response 3870 (*PlanResourceChange_Request)(nil), // 47: tfplugin5.PlanResourceChange.Request 3871 (*PlanResourceChange_Response)(nil), // 48: tfplugin5.PlanResourceChange.Response 3872 (*ApplyResourceChange_Request)(nil), // 49: tfplugin5.ApplyResourceChange.Request 3873 (*ApplyResourceChange_Response)(nil), // 50: tfplugin5.ApplyResourceChange.Response 3874 (*ImportResourceState_Request)(nil), // 51: tfplugin5.ImportResourceState.Request 3875 (*ImportResourceState_ImportedResource)(nil), // 52: tfplugin5.ImportResourceState.ImportedResource 3876 (*ImportResourceState_Response)(nil), // 53: tfplugin5.ImportResourceState.Response 3877 (*ReadDataSource_Request)(nil), // 54: tfplugin5.ReadDataSource.Request 3878 (*ReadDataSource_Response)(nil), // 55: tfplugin5.ReadDataSource.Response 3879 (*GetProvisionerSchema_Request)(nil), // 56: tfplugin5.GetProvisionerSchema.Request 3880 (*GetProvisionerSchema_Response)(nil), // 57: tfplugin5.GetProvisionerSchema.Response 3881 (*ValidateProvisionerConfig_Request)(nil), // 58: tfplugin5.ValidateProvisionerConfig.Request 3882 (*ValidateProvisionerConfig_Response)(nil), // 59: tfplugin5.ValidateProvisionerConfig.Response 3883 (*ProvisionResource_Request)(nil), // 60: tfplugin5.ProvisionResource.Request 3884 (*ProvisionResource_Response)(nil), // 61: tfplugin5.ProvisionResource.Response 3885 } 3886 var file_tfplugin5_proto_depIdxs = []int32{ 3887 1, // 0: tfplugin5.Diagnostic.severity:type_name -> tfplugin5.Diagnostic.Severity 3888 5, // 1: tfplugin5.Diagnostic.attribute:type_name -> tfplugin5.AttributePath 3889 23, // 2: tfplugin5.AttributePath.steps:type_name -> tfplugin5.AttributePath.Step 3890 26, // 3: tfplugin5.RawState.flatmap:type_name -> tfplugin5.RawState.FlatmapEntry 3891 27, // 4: tfplugin5.Schema.block:type_name -> tfplugin5.Schema.Block 3892 28, // 5: tfplugin5.Schema.Block.attributes:type_name -> tfplugin5.Schema.Attribute 3893 29, // 6: tfplugin5.Schema.Block.block_types:type_name -> tfplugin5.Schema.NestedBlock 3894 0, // 7: tfplugin5.Schema.Block.description_kind:type_name -> tfplugin5.StringKind 3895 0, // 8: tfplugin5.Schema.Attribute.description_kind:type_name -> tfplugin5.StringKind 3896 27, // 9: tfplugin5.Schema.NestedBlock.block:type_name -> tfplugin5.Schema.Block 3897 2, // 10: tfplugin5.Schema.NestedBlock.nesting:type_name -> tfplugin5.Schema.NestedBlock.NestingMode 3898 8, // 11: tfplugin5.GetProviderSchema.Response.provider:type_name -> tfplugin5.Schema 3899 33, // 12: tfplugin5.GetProviderSchema.Response.resource_schemas:type_name -> tfplugin5.GetProviderSchema.Response.ResourceSchemasEntry 3900 34, // 13: tfplugin5.GetProviderSchema.Response.data_source_schemas:type_name -> tfplugin5.GetProviderSchema.Response.DataSourceSchemasEntry 3901 4, // 14: tfplugin5.GetProviderSchema.Response.diagnostics:type_name -> tfplugin5.Diagnostic 3902 8, // 15: tfplugin5.GetProviderSchema.Response.provider_meta:type_name -> tfplugin5.Schema 3903 32, // 16: tfplugin5.GetProviderSchema.Response.server_capabilities:type_name -> tfplugin5.GetProviderSchema.ServerCapabilities 3904 8, // 17: tfplugin5.GetProviderSchema.Response.ResourceSchemasEntry.value:type_name -> tfplugin5.Schema 3905 8, // 18: tfplugin5.GetProviderSchema.Response.DataSourceSchemasEntry.value:type_name -> tfplugin5.Schema 3906 3, // 19: tfplugin5.PrepareProviderConfig.Request.config:type_name -> tfplugin5.DynamicValue 3907 3, // 20: tfplugin5.PrepareProviderConfig.Response.prepared_config:type_name -> tfplugin5.DynamicValue 3908 4, // 21: tfplugin5.PrepareProviderConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic 3909 7, // 22: tfplugin5.UpgradeResourceState.Request.raw_state:type_name -> tfplugin5.RawState 3910 3, // 23: tfplugin5.UpgradeResourceState.Response.upgraded_state:type_name -> tfplugin5.DynamicValue 3911 4, // 24: tfplugin5.UpgradeResourceState.Response.diagnostics:type_name -> tfplugin5.Diagnostic 3912 3, // 25: tfplugin5.ValidateResourceTypeConfig.Request.config:type_name -> tfplugin5.DynamicValue 3913 4, // 26: tfplugin5.ValidateResourceTypeConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic 3914 3, // 27: tfplugin5.ValidateDataSourceConfig.Request.config:type_name -> tfplugin5.DynamicValue 3915 4, // 28: tfplugin5.ValidateDataSourceConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic 3916 3, // 29: tfplugin5.Configure.Request.config:type_name -> tfplugin5.DynamicValue 3917 4, // 30: tfplugin5.Configure.Response.diagnostics:type_name -> tfplugin5.Diagnostic 3918 3, // 31: tfplugin5.ReadResource.Request.current_state:type_name -> tfplugin5.DynamicValue 3919 3, // 32: tfplugin5.ReadResource.Request.provider_meta:type_name -> tfplugin5.DynamicValue 3920 3, // 33: tfplugin5.ReadResource.Response.new_state:type_name -> tfplugin5.DynamicValue 3921 4, // 34: tfplugin5.ReadResource.Response.diagnostics:type_name -> tfplugin5.Diagnostic 3922 3, // 35: tfplugin5.PlanResourceChange.Request.prior_state:type_name -> tfplugin5.DynamicValue 3923 3, // 36: tfplugin5.PlanResourceChange.Request.proposed_new_state:type_name -> tfplugin5.DynamicValue 3924 3, // 37: tfplugin5.PlanResourceChange.Request.config:type_name -> tfplugin5.DynamicValue 3925 3, // 38: tfplugin5.PlanResourceChange.Request.provider_meta:type_name -> tfplugin5.DynamicValue 3926 3, // 39: tfplugin5.PlanResourceChange.Response.planned_state:type_name -> tfplugin5.DynamicValue 3927 5, // 40: tfplugin5.PlanResourceChange.Response.requires_replace:type_name -> tfplugin5.AttributePath 3928 4, // 41: tfplugin5.PlanResourceChange.Response.diagnostics:type_name -> tfplugin5.Diagnostic 3929 3, // 42: tfplugin5.ApplyResourceChange.Request.prior_state:type_name -> tfplugin5.DynamicValue 3930 3, // 43: tfplugin5.ApplyResourceChange.Request.planned_state:type_name -> tfplugin5.DynamicValue 3931 3, // 44: tfplugin5.ApplyResourceChange.Request.config:type_name -> tfplugin5.DynamicValue 3932 3, // 45: tfplugin5.ApplyResourceChange.Request.provider_meta:type_name -> tfplugin5.DynamicValue 3933 3, // 46: tfplugin5.ApplyResourceChange.Response.new_state:type_name -> tfplugin5.DynamicValue 3934 4, // 47: tfplugin5.ApplyResourceChange.Response.diagnostics:type_name -> tfplugin5.Diagnostic 3935 3, // 48: tfplugin5.ImportResourceState.ImportedResource.state:type_name -> tfplugin5.DynamicValue 3936 52, // 49: tfplugin5.ImportResourceState.Response.imported_resources:type_name -> tfplugin5.ImportResourceState.ImportedResource 3937 4, // 50: tfplugin5.ImportResourceState.Response.diagnostics:type_name -> tfplugin5.Diagnostic 3938 3, // 51: tfplugin5.ReadDataSource.Request.config:type_name -> tfplugin5.DynamicValue 3939 3, // 52: tfplugin5.ReadDataSource.Request.provider_meta:type_name -> tfplugin5.DynamicValue 3940 3, // 53: tfplugin5.ReadDataSource.Response.state:type_name -> tfplugin5.DynamicValue 3941 4, // 54: tfplugin5.ReadDataSource.Response.diagnostics:type_name -> tfplugin5.Diagnostic 3942 8, // 55: tfplugin5.GetProvisionerSchema.Response.provisioner:type_name -> tfplugin5.Schema 3943 4, // 56: tfplugin5.GetProvisionerSchema.Response.diagnostics:type_name -> tfplugin5.Diagnostic 3944 3, // 57: tfplugin5.ValidateProvisionerConfig.Request.config:type_name -> tfplugin5.DynamicValue 3945 4, // 58: tfplugin5.ValidateProvisionerConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic 3946 3, // 59: tfplugin5.ProvisionResource.Request.config:type_name -> tfplugin5.DynamicValue 3947 3, // 60: tfplugin5.ProvisionResource.Request.connection:type_name -> tfplugin5.DynamicValue 3948 4, // 61: tfplugin5.ProvisionResource.Response.diagnostics:type_name -> tfplugin5.Diagnostic 3949 30, // 62: tfplugin5.Provider.GetSchema:input_type -> tfplugin5.GetProviderSchema.Request 3950 35, // 63: tfplugin5.Provider.PrepareProviderConfig:input_type -> tfplugin5.PrepareProviderConfig.Request 3951 39, // 64: tfplugin5.Provider.ValidateResourceTypeConfig:input_type -> tfplugin5.ValidateResourceTypeConfig.Request 3952 41, // 65: tfplugin5.Provider.ValidateDataSourceConfig:input_type -> tfplugin5.ValidateDataSourceConfig.Request 3953 37, // 66: tfplugin5.Provider.UpgradeResourceState:input_type -> tfplugin5.UpgradeResourceState.Request 3954 43, // 67: tfplugin5.Provider.Configure:input_type -> tfplugin5.Configure.Request 3955 45, // 68: tfplugin5.Provider.ReadResource:input_type -> tfplugin5.ReadResource.Request 3956 47, // 69: tfplugin5.Provider.PlanResourceChange:input_type -> tfplugin5.PlanResourceChange.Request 3957 49, // 70: tfplugin5.Provider.ApplyResourceChange:input_type -> tfplugin5.ApplyResourceChange.Request 3958 51, // 71: tfplugin5.Provider.ImportResourceState:input_type -> tfplugin5.ImportResourceState.Request 3959 54, // 72: tfplugin5.Provider.ReadDataSource:input_type -> tfplugin5.ReadDataSource.Request 3960 24, // 73: tfplugin5.Provider.Stop:input_type -> tfplugin5.Stop.Request 3961 56, // 74: tfplugin5.Provisioner.GetSchema:input_type -> tfplugin5.GetProvisionerSchema.Request 3962 58, // 75: tfplugin5.Provisioner.ValidateProvisionerConfig:input_type -> tfplugin5.ValidateProvisionerConfig.Request 3963 60, // 76: tfplugin5.Provisioner.ProvisionResource:input_type -> tfplugin5.ProvisionResource.Request 3964 24, // 77: tfplugin5.Provisioner.Stop:input_type -> tfplugin5.Stop.Request 3965 31, // 78: tfplugin5.Provider.GetSchema:output_type -> tfplugin5.GetProviderSchema.Response 3966 36, // 79: tfplugin5.Provider.PrepareProviderConfig:output_type -> tfplugin5.PrepareProviderConfig.Response 3967 40, // 80: tfplugin5.Provider.ValidateResourceTypeConfig:output_type -> tfplugin5.ValidateResourceTypeConfig.Response 3968 42, // 81: tfplugin5.Provider.ValidateDataSourceConfig:output_type -> tfplugin5.ValidateDataSourceConfig.Response 3969 38, // 82: tfplugin5.Provider.UpgradeResourceState:output_type -> tfplugin5.UpgradeResourceState.Response 3970 44, // 83: tfplugin5.Provider.Configure:output_type -> tfplugin5.Configure.Response 3971 46, // 84: tfplugin5.Provider.ReadResource:output_type -> tfplugin5.ReadResource.Response 3972 48, // 85: tfplugin5.Provider.PlanResourceChange:output_type -> tfplugin5.PlanResourceChange.Response 3973 50, // 86: tfplugin5.Provider.ApplyResourceChange:output_type -> tfplugin5.ApplyResourceChange.Response 3974 53, // 87: tfplugin5.Provider.ImportResourceState:output_type -> tfplugin5.ImportResourceState.Response 3975 55, // 88: tfplugin5.Provider.ReadDataSource:output_type -> tfplugin5.ReadDataSource.Response 3976 25, // 89: tfplugin5.Provider.Stop:output_type -> tfplugin5.Stop.Response 3977 57, // 90: tfplugin5.Provisioner.GetSchema:output_type -> tfplugin5.GetProvisionerSchema.Response 3978 59, // 91: tfplugin5.Provisioner.ValidateProvisionerConfig:output_type -> tfplugin5.ValidateProvisionerConfig.Response 3979 61, // 92: tfplugin5.Provisioner.ProvisionResource:output_type -> tfplugin5.ProvisionResource.Response 3980 25, // 93: tfplugin5.Provisioner.Stop:output_type -> tfplugin5.Stop.Response 3981 78, // [78:94] is the sub-list for method output_type 3982 62, // [62:78] is the sub-list for method input_type 3983 62, // [62:62] is the sub-list for extension type_name 3984 62, // [62:62] is the sub-list for extension extendee 3985 0, // [0:62] is the sub-list for field type_name 3986 } 3987 3988 func init() { file_tfplugin5_proto_init() } 3989 func file_tfplugin5_proto_init() { 3990 if File_tfplugin5_proto != nil { 3991 return 3992 } 3993 if !protoimpl.UnsafeEnabled { 3994 file_tfplugin5_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 3995 switch v := v.(*DynamicValue); i { 3996 case 0: 3997 return &v.state 3998 case 1: 3999 return &v.sizeCache 4000 case 2: 4001 return &v.unknownFields 4002 default: 4003 return nil 4004 } 4005 } 4006 file_tfplugin5_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 4007 switch v := v.(*Diagnostic); i { 4008 case 0: 4009 return &v.state 4010 case 1: 4011 return &v.sizeCache 4012 case 2: 4013 return &v.unknownFields 4014 default: 4015 return nil 4016 } 4017 } 4018 file_tfplugin5_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 4019 switch v := v.(*AttributePath); i { 4020 case 0: 4021 return &v.state 4022 case 1: 4023 return &v.sizeCache 4024 case 2: 4025 return &v.unknownFields 4026 default: 4027 return nil 4028 } 4029 } 4030 file_tfplugin5_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 4031 switch v := v.(*Stop); i { 4032 case 0: 4033 return &v.state 4034 case 1: 4035 return &v.sizeCache 4036 case 2: 4037 return &v.unknownFields 4038 default: 4039 return nil 4040 } 4041 } 4042 file_tfplugin5_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 4043 switch v := v.(*RawState); i { 4044 case 0: 4045 return &v.state 4046 case 1: 4047 return &v.sizeCache 4048 case 2: 4049 return &v.unknownFields 4050 default: 4051 return nil 4052 } 4053 } 4054 file_tfplugin5_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 4055 switch v := v.(*Schema); i { 4056 case 0: 4057 return &v.state 4058 case 1: 4059 return &v.sizeCache 4060 case 2: 4061 return &v.unknownFields 4062 default: 4063 return nil 4064 } 4065 } 4066 file_tfplugin5_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 4067 switch v := v.(*GetProviderSchema); i { 4068 case 0: 4069 return &v.state 4070 case 1: 4071 return &v.sizeCache 4072 case 2: 4073 return &v.unknownFields 4074 default: 4075 return nil 4076 } 4077 } 4078 file_tfplugin5_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 4079 switch v := v.(*PrepareProviderConfig); i { 4080 case 0: 4081 return &v.state 4082 case 1: 4083 return &v.sizeCache 4084 case 2: 4085 return &v.unknownFields 4086 default: 4087 return nil 4088 } 4089 } 4090 file_tfplugin5_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 4091 switch v := v.(*UpgradeResourceState); i { 4092 case 0: 4093 return &v.state 4094 case 1: 4095 return &v.sizeCache 4096 case 2: 4097 return &v.unknownFields 4098 default: 4099 return nil 4100 } 4101 } 4102 file_tfplugin5_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 4103 switch v := v.(*ValidateResourceTypeConfig); i { 4104 case 0: 4105 return &v.state 4106 case 1: 4107 return &v.sizeCache 4108 case 2: 4109 return &v.unknownFields 4110 default: 4111 return nil 4112 } 4113 } 4114 file_tfplugin5_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 4115 switch v := v.(*ValidateDataSourceConfig); i { 4116 case 0: 4117 return &v.state 4118 case 1: 4119 return &v.sizeCache 4120 case 2: 4121 return &v.unknownFields 4122 default: 4123 return nil 4124 } 4125 } 4126 file_tfplugin5_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 4127 switch v := v.(*Configure); i { 4128 case 0: 4129 return &v.state 4130 case 1: 4131 return &v.sizeCache 4132 case 2: 4133 return &v.unknownFields 4134 default: 4135 return nil 4136 } 4137 } 4138 file_tfplugin5_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 4139 switch v := v.(*ReadResource); i { 4140 case 0: 4141 return &v.state 4142 case 1: 4143 return &v.sizeCache 4144 case 2: 4145 return &v.unknownFields 4146 default: 4147 return nil 4148 } 4149 } 4150 file_tfplugin5_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 4151 switch v := v.(*PlanResourceChange); i { 4152 case 0: 4153 return &v.state 4154 case 1: 4155 return &v.sizeCache 4156 case 2: 4157 return &v.unknownFields 4158 default: 4159 return nil 4160 } 4161 } 4162 file_tfplugin5_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 4163 switch v := v.(*ApplyResourceChange); i { 4164 case 0: 4165 return &v.state 4166 case 1: 4167 return &v.sizeCache 4168 case 2: 4169 return &v.unknownFields 4170 default: 4171 return nil 4172 } 4173 } 4174 file_tfplugin5_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 4175 switch v := v.(*ImportResourceState); i { 4176 case 0: 4177 return &v.state 4178 case 1: 4179 return &v.sizeCache 4180 case 2: 4181 return &v.unknownFields 4182 default: 4183 return nil 4184 } 4185 } 4186 file_tfplugin5_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 4187 switch v := v.(*ReadDataSource); i { 4188 case 0: 4189 return &v.state 4190 case 1: 4191 return &v.sizeCache 4192 case 2: 4193 return &v.unknownFields 4194 default: 4195 return nil 4196 } 4197 } 4198 file_tfplugin5_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 4199 switch v := v.(*GetProvisionerSchema); i { 4200 case 0: 4201 return &v.state 4202 case 1: 4203 return &v.sizeCache 4204 case 2: 4205 return &v.unknownFields 4206 default: 4207 return nil 4208 } 4209 } 4210 file_tfplugin5_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 4211 switch v := v.(*ValidateProvisionerConfig); i { 4212 case 0: 4213 return &v.state 4214 case 1: 4215 return &v.sizeCache 4216 case 2: 4217 return &v.unknownFields 4218 default: 4219 return nil 4220 } 4221 } 4222 file_tfplugin5_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 4223 switch v := v.(*ProvisionResource); i { 4224 case 0: 4225 return &v.state 4226 case 1: 4227 return &v.sizeCache 4228 case 2: 4229 return &v.unknownFields 4230 default: 4231 return nil 4232 } 4233 } 4234 file_tfplugin5_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 4235 switch v := v.(*AttributePath_Step); i { 4236 case 0: 4237 return &v.state 4238 case 1: 4239 return &v.sizeCache 4240 case 2: 4241 return &v.unknownFields 4242 default: 4243 return nil 4244 } 4245 } 4246 file_tfplugin5_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 4247 switch v := v.(*Stop_Request); i { 4248 case 0: 4249 return &v.state 4250 case 1: 4251 return &v.sizeCache 4252 case 2: 4253 return &v.unknownFields 4254 default: 4255 return nil 4256 } 4257 } 4258 file_tfplugin5_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { 4259 switch v := v.(*Stop_Response); i { 4260 case 0: 4261 return &v.state 4262 case 1: 4263 return &v.sizeCache 4264 case 2: 4265 return &v.unknownFields 4266 default: 4267 return nil 4268 } 4269 } 4270 file_tfplugin5_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { 4271 switch v := v.(*Schema_Block); i { 4272 case 0: 4273 return &v.state 4274 case 1: 4275 return &v.sizeCache 4276 case 2: 4277 return &v.unknownFields 4278 default: 4279 return nil 4280 } 4281 } 4282 file_tfplugin5_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { 4283 switch v := v.(*Schema_Attribute); i { 4284 case 0: 4285 return &v.state 4286 case 1: 4287 return &v.sizeCache 4288 case 2: 4289 return &v.unknownFields 4290 default: 4291 return nil 4292 } 4293 } 4294 file_tfplugin5_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { 4295 switch v := v.(*Schema_NestedBlock); i { 4296 case 0: 4297 return &v.state 4298 case 1: 4299 return &v.sizeCache 4300 case 2: 4301 return &v.unknownFields 4302 default: 4303 return nil 4304 } 4305 } 4306 file_tfplugin5_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { 4307 switch v := v.(*GetProviderSchema_Request); i { 4308 case 0: 4309 return &v.state 4310 case 1: 4311 return &v.sizeCache 4312 case 2: 4313 return &v.unknownFields 4314 default: 4315 return nil 4316 } 4317 } 4318 file_tfplugin5_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { 4319 switch v := v.(*GetProviderSchema_Response); i { 4320 case 0: 4321 return &v.state 4322 case 1: 4323 return &v.sizeCache 4324 case 2: 4325 return &v.unknownFields 4326 default: 4327 return nil 4328 } 4329 } 4330 file_tfplugin5_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { 4331 switch v := v.(*GetProviderSchema_ServerCapabilities); i { 4332 case 0: 4333 return &v.state 4334 case 1: 4335 return &v.sizeCache 4336 case 2: 4337 return &v.unknownFields 4338 default: 4339 return nil 4340 } 4341 } 4342 file_tfplugin5_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { 4343 switch v := v.(*PrepareProviderConfig_Request); i { 4344 case 0: 4345 return &v.state 4346 case 1: 4347 return &v.sizeCache 4348 case 2: 4349 return &v.unknownFields 4350 default: 4351 return nil 4352 } 4353 } 4354 file_tfplugin5_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { 4355 switch v := v.(*PrepareProviderConfig_Response); i { 4356 case 0: 4357 return &v.state 4358 case 1: 4359 return &v.sizeCache 4360 case 2: 4361 return &v.unknownFields 4362 default: 4363 return nil 4364 } 4365 } 4366 file_tfplugin5_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { 4367 switch v := v.(*UpgradeResourceState_Request); i { 4368 case 0: 4369 return &v.state 4370 case 1: 4371 return &v.sizeCache 4372 case 2: 4373 return &v.unknownFields 4374 default: 4375 return nil 4376 } 4377 } 4378 file_tfplugin5_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { 4379 switch v := v.(*UpgradeResourceState_Response); i { 4380 case 0: 4381 return &v.state 4382 case 1: 4383 return &v.sizeCache 4384 case 2: 4385 return &v.unknownFields 4386 default: 4387 return nil 4388 } 4389 } 4390 file_tfplugin5_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { 4391 switch v := v.(*ValidateResourceTypeConfig_Request); i { 4392 case 0: 4393 return &v.state 4394 case 1: 4395 return &v.sizeCache 4396 case 2: 4397 return &v.unknownFields 4398 default: 4399 return nil 4400 } 4401 } 4402 file_tfplugin5_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { 4403 switch v := v.(*ValidateResourceTypeConfig_Response); i { 4404 case 0: 4405 return &v.state 4406 case 1: 4407 return &v.sizeCache 4408 case 2: 4409 return &v.unknownFields 4410 default: 4411 return nil 4412 } 4413 } 4414 file_tfplugin5_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { 4415 switch v := v.(*ValidateDataSourceConfig_Request); i { 4416 case 0: 4417 return &v.state 4418 case 1: 4419 return &v.sizeCache 4420 case 2: 4421 return &v.unknownFields 4422 default: 4423 return nil 4424 } 4425 } 4426 file_tfplugin5_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { 4427 switch v := v.(*ValidateDataSourceConfig_Response); i { 4428 case 0: 4429 return &v.state 4430 case 1: 4431 return &v.sizeCache 4432 case 2: 4433 return &v.unknownFields 4434 default: 4435 return nil 4436 } 4437 } 4438 file_tfplugin5_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { 4439 switch v := v.(*Configure_Request); i { 4440 case 0: 4441 return &v.state 4442 case 1: 4443 return &v.sizeCache 4444 case 2: 4445 return &v.unknownFields 4446 default: 4447 return nil 4448 } 4449 } 4450 file_tfplugin5_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { 4451 switch v := v.(*Configure_Response); i { 4452 case 0: 4453 return &v.state 4454 case 1: 4455 return &v.sizeCache 4456 case 2: 4457 return &v.unknownFields 4458 default: 4459 return nil 4460 } 4461 } 4462 file_tfplugin5_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { 4463 switch v := v.(*ReadResource_Request); i { 4464 case 0: 4465 return &v.state 4466 case 1: 4467 return &v.sizeCache 4468 case 2: 4469 return &v.unknownFields 4470 default: 4471 return nil 4472 } 4473 } 4474 file_tfplugin5_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { 4475 switch v := v.(*ReadResource_Response); i { 4476 case 0: 4477 return &v.state 4478 case 1: 4479 return &v.sizeCache 4480 case 2: 4481 return &v.unknownFields 4482 default: 4483 return nil 4484 } 4485 } 4486 file_tfplugin5_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { 4487 switch v := v.(*PlanResourceChange_Request); i { 4488 case 0: 4489 return &v.state 4490 case 1: 4491 return &v.sizeCache 4492 case 2: 4493 return &v.unknownFields 4494 default: 4495 return nil 4496 } 4497 } 4498 file_tfplugin5_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { 4499 switch v := v.(*PlanResourceChange_Response); i { 4500 case 0: 4501 return &v.state 4502 case 1: 4503 return &v.sizeCache 4504 case 2: 4505 return &v.unknownFields 4506 default: 4507 return nil 4508 } 4509 } 4510 file_tfplugin5_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { 4511 switch v := v.(*ApplyResourceChange_Request); i { 4512 case 0: 4513 return &v.state 4514 case 1: 4515 return &v.sizeCache 4516 case 2: 4517 return &v.unknownFields 4518 default: 4519 return nil 4520 } 4521 } 4522 file_tfplugin5_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { 4523 switch v := v.(*ApplyResourceChange_Response); i { 4524 case 0: 4525 return &v.state 4526 case 1: 4527 return &v.sizeCache 4528 case 2: 4529 return &v.unknownFields 4530 default: 4531 return nil 4532 } 4533 } 4534 file_tfplugin5_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { 4535 switch v := v.(*ImportResourceState_Request); i { 4536 case 0: 4537 return &v.state 4538 case 1: 4539 return &v.sizeCache 4540 case 2: 4541 return &v.unknownFields 4542 default: 4543 return nil 4544 } 4545 } 4546 file_tfplugin5_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { 4547 switch v := v.(*ImportResourceState_ImportedResource); i { 4548 case 0: 4549 return &v.state 4550 case 1: 4551 return &v.sizeCache 4552 case 2: 4553 return &v.unknownFields 4554 default: 4555 return nil 4556 } 4557 } 4558 file_tfplugin5_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { 4559 switch v := v.(*ImportResourceState_Response); i { 4560 case 0: 4561 return &v.state 4562 case 1: 4563 return &v.sizeCache 4564 case 2: 4565 return &v.unknownFields 4566 default: 4567 return nil 4568 } 4569 } 4570 file_tfplugin5_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { 4571 switch v := v.(*ReadDataSource_Request); i { 4572 case 0: 4573 return &v.state 4574 case 1: 4575 return &v.sizeCache 4576 case 2: 4577 return &v.unknownFields 4578 default: 4579 return nil 4580 } 4581 } 4582 file_tfplugin5_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { 4583 switch v := v.(*ReadDataSource_Response); i { 4584 case 0: 4585 return &v.state 4586 case 1: 4587 return &v.sizeCache 4588 case 2: 4589 return &v.unknownFields 4590 default: 4591 return nil 4592 } 4593 } 4594 file_tfplugin5_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { 4595 switch v := v.(*GetProvisionerSchema_Request); i { 4596 case 0: 4597 return &v.state 4598 case 1: 4599 return &v.sizeCache 4600 case 2: 4601 return &v.unknownFields 4602 default: 4603 return nil 4604 } 4605 } 4606 file_tfplugin5_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { 4607 switch v := v.(*GetProvisionerSchema_Response); i { 4608 case 0: 4609 return &v.state 4610 case 1: 4611 return &v.sizeCache 4612 case 2: 4613 return &v.unknownFields 4614 default: 4615 return nil 4616 } 4617 } 4618 file_tfplugin5_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { 4619 switch v := v.(*ValidateProvisionerConfig_Request); i { 4620 case 0: 4621 return &v.state 4622 case 1: 4623 return &v.sizeCache 4624 case 2: 4625 return &v.unknownFields 4626 default: 4627 return nil 4628 } 4629 } 4630 file_tfplugin5_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { 4631 switch v := v.(*ValidateProvisionerConfig_Response); i { 4632 case 0: 4633 return &v.state 4634 case 1: 4635 return &v.sizeCache 4636 case 2: 4637 return &v.unknownFields 4638 default: 4639 return nil 4640 } 4641 } 4642 file_tfplugin5_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { 4643 switch v := v.(*ProvisionResource_Request); i { 4644 case 0: 4645 return &v.state 4646 case 1: 4647 return &v.sizeCache 4648 case 2: 4649 return &v.unknownFields 4650 default: 4651 return nil 4652 } 4653 } 4654 file_tfplugin5_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { 4655 switch v := v.(*ProvisionResource_Response); i { 4656 case 0: 4657 return &v.state 4658 case 1: 4659 return &v.sizeCache 4660 case 2: 4661 return &v.unknownFields 4662 default: 4663 return nil 4664 } 4665 } 4666 } 4667 file_tfplugin5_proto_msgTypes[20].OneofWrappers = []interface{}{ 4668 (*AttributePath_Step_AttributeName)(nil), 4669 (*AttributePath_Step_ElementKeyString)(nil), 4670 (*AttributePath_Step_ElementKeyInt)(nil), 4671 } 4672 type x struct{} 4673 out := protoimpl.TypeBuilder{ 4674 File: protoimpl.DescBuilder{ 4675 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 4676 RawDescriptor: file_tfplugin5_proto_rawDesc, 4677 NumEnums: 3, 4678 NumMessages: 59, 4679 NumExtensions: 0, 4680 NumServices: 2, 4681 }, 4682 GoTypes: file_tfplugin5_proto_goTypes, 4683 DependencyIndexes: file_tfplugin5_proto_depIdxs, 4684 EnumInfos: file_tfplugin5_proto_enumTypes, 4685 MessageInfos: file_tfplugin5_proto_msgTypes, 4686 }.Build() 4687 File_tfplugin5_proto = out.File 4688 file_tfplugin5_proto_rawDesc = nil 4689 file_tfplugin5_proto_goTypes = nil 4690 file_tfplugin5_proto_depIdxs = nil 4691 } 4692 4693 // Reference imports to suppress errors if they are not otherwise used. 4694 var _ context.Context 4695 var _ grpc.ClientConnInterface 4696 4697 // This is a compile-time assertion to ensure that this generated file 4698 // is compatible with the grpc package it is being compiled against. 4699 const _ = grpc.SupportPackageIsVersion6 4700 4701 // ProviderClient is the client API for Provider service. 4702 // 4703 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 4704 type ProviderClient interface { 4705 // ////// Information about what a provider supports/expects 4706 GetSchema(ctx context.Context, in *GetProviderSchema_Request, opts ...grpc.CallOption) (*GetProviderSchema_Response, error) 4707 PrepareProviderConfig(ctx context.Context, in *PrepareProviderConfig_Request, opts ...grpc.CallOption) (*PrepareProviderConfig_Response, error) 4708 ValidateResourceTypeConfig(ctx context.Context, in *ValidateResourceTypeConfig_Request, opts ...grpc.CallOption) (*ValidateResourceTypeConfig_Response, error) 4709 ValidateDataSourceConfig(ctx context.Context, in *ValidateDataSourceConfig_Request, opts ...grpc.CallOption) (*ValidateDataSourceConfig_Response, error) 4710 UpgradeResourceState(ctx context.Context, in *UpgradeResourceState_Request, opts ...grpc.CallOption) (*UpgradeResourceState_Response, error) 4711 // ////// One-time initialization, called before other functions below 4712 Configure(ctx context.Context, in *Configure_Request, opts ...grpc.CallOption) (*Configure_Response, error) 4713 // ////// Managed Resource Lifecycle 4714 ReadResource(ctx context.Context, in *ReadResource_Request, opts ...grpc.CallOption) (*ReadResource_Response, error) 4715 PlanResourceChange(ctx context.Context, in *PlanResourceChange_Request, opts ...grpc.CallOption) (*PlanResourceChange_Response, error) 4716 ApplyResourceChange(ctx context.Context, in *ApplyResourceChange_Request, opts ...grpc.CallOption) (*ApplyResourceChange_Response, error) 4717 ImportResourceState(ctx context.Context, in *ImportResourceState_Request, opts ...grpc.CallOption) (*ImportResourceState_Response, error) 4718 ReadDataSource(ctx context.Context, in *ReadDataSource_Request, opts ...grpc.CallOption) (*ReadDataSource_Response, error) 4719 // ////// Graceful Shutdown 4720 Stop(ctx context.Context, in *Stop_Request, opts ...grpc.CallOption) (*Stop_Response, error) 4721 } 4722 4723 type providerClient struct { 4724 cc grpc.ClientConnInterface 4725 } 4726 4727 func NewProviderClient(cc grpc.ClientConnInterface) ProviderClient { 4728 return &providerClient{cc} 4729 } 4730 4731 func (c *providerClient) GetSchema(ctx context.Context, in *GetProviderSchema_Request, opts ...grpc.CallOption) (*GetProviderSchema_Response, error) { 4732 out := new(GetProviderSchema_Response) 4733 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/GetSchema", in, out, opts...) 4734 if err != nil { 4735 return nil, err 4736 } 4737 return out, nil 4738 } 4739 4740 func (c *providerClient) PrepareProviderConfig(ctx context.Context, in *PrepareProviderConfig_Request, opts ...grpc.CallOption) (*PrepareProviderConfig_Response, error) { 4741 out := new(PrepareProviderConfig_Response) 4742 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/PrepareProviderConfig", in, out, opts...) 4743 if err != nil { 4744 return nil, err 4745 } 4746 return out, nil 4747 } 4748 4749 func (c *providerClient) ValidateResourceTypeConfig(ctx context.Context, in *ValidateResourceTypeConfig_Request, opts ...grpc.CallOption) (*ValidateResourceTypeConfig_Response, error) { 4750 out := new(ValidateResourceTypeConfig_Response) 4751 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ValidateResourceTypeConfig", in, out, opts...) 4752 if err != nil { 4753 return nil, err 4754 } 4755 return out, nil 4756 } 4757 4758 func (c *providerClient) ValidateDataSourceConfig(ctx context.Context, in *ValidateDataSourceConfig_Request, opts ...grpc.CallOption) (*ValidateDataSourceConfig_Response, error) { 4759 out := new(ValidateDataSourceConfig_Response) 4760 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ValidateDataSourceConfig", in, out, opts...) 4761 if err != nil { 4762 return nil, err 4763 } 4764 return out, nil 4765 } 4766 4767 func (c *providerClient) UpgradeResourceState(ctx context.Context, in *UpgradeResourceState_Request, opts ...grpc.CallOption) (*UpgradeResourceState_Response, error) { 4768 out := new(UpgradeResourceState_Response) 4769 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/UpgradeResourceState", in, out, opts...) 4770 if err != nil { 4771 return nil, err 4772 } 4773 return out, nil 4774 } 4775 4776 func (c *providerClient) Configure(ctx context.Context, in *Configure_Request, opts ...grpc.CallOption) (*Configure_Response, error) { 4777 out := new(Configure_Response) 4778 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/Configure", in, out, opts...) 4779 if err != nil { 4780 return nil, err 4781 } 4782 return out, nil 4783 } 4784 4785 func (c *providerClient) ReadResource(ctx context.Context, in *ReadResource_Request, opts ...grpc.CallOption) (*ReadResource_Response, error) { 4786 out := new(ReadResource_Response) 4787 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ReadResource", in, out, opts...) 4788 if err != nil { 4789 return nil, err 4790 } 4791 return out, nil 4792 } 4793 4794 func (c *providerClient) PlanResourceChange(ctx context.Context, in *PlanResourceChange_Request, opts ...grpc.CallOption) (*PlanResourceChange_Response, error) { 4795 out := new(PlanResourceChange_Response) 4796 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/PlanResourceChange", in, out, opts...) 4797 if err != nil { 4798 return nil, err 4799 } 4800 return out, nil 4801 } 4802 4803 func (c *providerClient) ApplyResourceChange(ctx context.Context, in *ApplyResourceChange_Request, opts ...grpc.CallOption) (*ApplyResourceChange_Response, error) { 4804 out := new(ApplyResourceChange_Response) 4805 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ApplyResourceChange", in, out, opts...) 4806 if err != nil { 4807 return nil, err 4808 } 4809 return out, nil 4810 } 4811 4812 func (c *providerClient) ImportResourceState(ctx context.Context, in *ImportResourceState_Request, opts ...grpc.CallOption) (*ImportResourceState_Response, error) { 4813 out := new(ImportResourceState_Response) 4814 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ImportResourceState", in, out, opts...) 4815 if err != nil { 4816 return nil, err 4817 } 4818 return out, nil 4819 } 4820 4821 func (c *providerClient) ReadDataSource(ctx context.Context, in *ReadDataSource_Request, opts ...grpc.CallOption) (*ReadDataSource_Response, error) { 4822 out := new(ReadDataSource_Response) 4823 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ReadDataSource", in, out, opts...) 4824 if err != nil { 4825 return nil, err 4826 } 4827 return out, nil 4828 } 4829 4830 func (c *providerClient) Stop(ctx context.Context, in *Stop_Request, opts ...grpc.CallOption) (*Stop_Response, error) { 4831 out := new(Stop_Response) 4832 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/Stop", in, out, opts...) 4833 if err != nil { 4834 return nil, err 4835 } 4836 return out, nil 4837 } 4838 4839 // ProviderServer is the server API for Provider service. 4840 type ProviderServer interface { 4841 // ////// Information about what a provider supports/expects 4842 GetSchema(context.Context, *GetProviderSchema_Request) (*GetProviderSchema_Response, error) 4843 PrepareProviderConfig(context.Context, *PrepareProviderConfig_Request) (*PrepareProviderConfig_Response, error) 4844 ValidateResourceTypeConfig(context.Context, *ValidateResourceTypeConfig_Request) (*ValidateResourceTypeConfig_Response, error) 4845 ValidateDataSourceConfig(context.Context, *ValidateDataSourceConfig_Request) (*ValidateDataSourceConfig_Response, error) 4846 UpgradeResourceState(context.Context, *UpgradeResourceState_Request) (*UpgradeResourceState_Response, error) 4847 // ////// One-time initialization, called before other functions below 4848 Configure(context.Context, *Configure_Request) (*Configure_Response, error) 4849 // ////// Managed Resource Lifecycle 4850 ReadResource(context.Context, *ReadResource_Request) (*ReadResource_Response, error) 4851 PlanResourceChange(context.Context, *PlanResourceChange_Request) (*PlanResourceChange_Response, error) 4852 ApplyResourceChange(context.Context, *ApplyResourceChange_Request) (*ApplyResourceChange_Response, error) 4853 ImportResourceState(context.Context, *ImportResourceState_Request) (*ImportResourceState_Response, error) 4854 ReadDataSource(context.Context, *ReadDataSource_Request) (*ReadDataSource_Response, error) 4855 // ////// Graceful Shutdown 4856 Stop(context.Context, *Stop_Request) (*Stop_Response, error) 4857 } 4858 4859 // UnimplementedProviderServer can be embedded to have forward compatible implementations. 4860 type UnimplementedProviderServer struct { 4861 } 4862 4863 func (*UnimplementedProviderServer) GetSchema(context.Context, *GetProviderSchema_Request) (*GetProviderSchema_Response, error) { 4864 return nil, status.Errorf(codes.Unimplemented, "method GetSchema not implemented") 4865 } 4866 func (*UnimplementedProviderServer) PrepareProviderConfig(context.Context, *PrepareProviderConfig_Request) (*PrepareProviderConfig_Response, error) { 4867 return nil, status.Errorf(codes.Unimplemented, "method PrepareProviderConfig not implemented") 4868 } 4869 func (*UnimplementedProviderServer) ValidateResourceTypeConfig(context.Context, *ValidateResourceTypeConfig_Request) (*ValidateResourceTypeConfig_Response, error) { 4870 return nil, status.Errorf(codes.Unimplemented, "method ValidateResourceTypeConfig not implemented") 4871 } 4872 func (*UnimplementedProviderServer) ValidateDataSourceConfig(context.Context, *ValidateDataSourceConfig_Request) (*ValidateDataSourceConfig_Response, error) { 4873 return nil, status.Errorf(codes.Unimplemented, "method ValidateDataSourceConfig not implemented") 4874 } 4875 func (*UnimplementedProviderServer) UpgradeResourceState(context.Context, *UpgradeResourceState_Request) (*UpgradeResourceState_Response, error) { 4876 return nil, status.Errorf(codes.Unimplemented, "method UpgradeResourceState not implemented") 4877 } 4878 func (*UnimplementedProviderServer) Configure(context.Context, *Configure_Request) (*Configure_Response, error) { 4879 return nil, status.Errorf(codes.Unimplemented, "method Configure not implemented") 4880 } 4881 func (*UnimplementedProviderServer) ReadResource(context.Context, *ReadResource_Request) (*ReadResource_Response, error) { 4882 return nil, status.Errorf(codes.Unimplemented, "method ReadResource not implemented") 4883 } 4884 func (*UnimplementedProviderServer) PlanResourceChange(context.Context, *PlanResourceChange_Request) (*PlanResourceChange_Response, error) { 4885 return nil, status.Errorf(codes.Unimplemented, "method PlanResourceChange not implemented") 4886 } 4887 func (*UnimplementedProviderServer) ApplyResourceChange(context.Context, *ApplyResourceChange_Request) (*ApplyResourceChange_Response, error) { 4888 return nil, status.Errorf(codes.Unimplemented, "method ApplyResourceChange not implemented") 4889 } 4890 func (*UnimplementedProviderServer) ImportResourceState(context.Context, *ImportResourceState_Request) (*ImportResourceState_Response, error) { 4891 return nil, status.Errorf(codes.Unimplemented, "method ImportResourceState not implemented") 4892 } 4893 func (*UnimplementedProviderServer) ReadDataSource(context.Context, *ReadDataSource_Request) (*ReadDataSource_Response, error) { 4894 return nil, status.Errorf(codes.Unimplemented, "method ReadDataSource not implemented") 4895 } 4896 func (*UnimplementedProviderServer) Stop(context.Context, *Stop_Request) (*Stop_Response, error) { 4897 return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") 4898 } 4899 4900 func RegisterProviderServer(s *grpc.Server, srv ProviderServer) { 4901 s.RegisterService(&_Provider_serviceDesc, srv) 4902 } 4903 4904 func _Provider_GetSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4905 in := new(GetProviderSchema_Request) 4906 if err := dec(in); err != nil { 4907 return nil, err 4908 } 4909 if interceptor == nil { 4910 return srv.(ProviderServer).GetSchema(ctx, in) 4911 } 4912 info := &grpc.UnaryServerInfo{ 4913 Server: srv, 4914 FullMethod: "/tfplugin5.Provider/GetSchema", 4915 } 4916 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4917 return srv.(ProviderServer).GetSchema(ctx, req.(*GetProviderSchema_Request)) 4918 } 4919 return interceptor(ctx, in, info, handler) 4920 } 4921 4922 func _Provider_PrepareProviderConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4923 in := new(PrepareProviderConfig_Request) 4924 if err := dec(in); err != nil { 4925 return nil, err 4926 } 4927 if interceptor == nil { 4928 return srv.(ProviderServer).PrepareProviderConfig(ctx, in) 4929 } 4930 info := &grpc.UnaryServerInfo{ 4931 Server: srv, 4932 FullMethod: "/tfplugin5.Provider/PrepareProviderConfig", 4933 } 4934 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4935 return srv.(ProviderServer).PrepareProviderConfig(ctx, req.(*PrepareProviderConfig_Request)) 4936 } 4937 return interceptor(ctx, in, info, handler) 4938 } 4939 4940 func _Provider_ValidateResourceTypeConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4941 in := new(ValidateResourceTypeConfig_Request) 4942 if err := dec(in); err != nil { 4943 return nil, err 4944 } 4945 if interceptor == nil { 4946 return srv.(ProviderServer).ValidateResourceTypeConfig(ctx, in) 4947 } 4948 info := &grpc.UnaryServerInfo{ 4949 Server: srv, 4950 FullMethod: "/tfplugin5.Provider/ValidateResourceTypeConfig", 4951 } 4952 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4953 return srv.(ProviderServer).ValidateResourceTypeConfig(ctx, req.(*ValidateResourceTypeConfig_Request)) 4954 } 4955 return interceptor(ctx, in, info, handler) 4956 } 4957 4958 func _Provider_ValidateDataSourceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4959 in := new(ValidateDataSourceConfig_Request) 4960 if err := dec(in); err != nil { 4961 return nil, err 4962 } 4963 if interceptor == nil { 4964 return srv.(ProviderServer).ValidateDataSourceConfig(ctx, in) 4965 } 4966 info := &grpc.UnaryServerInfo{ 4967 Server: srv, 4968 FullMethod: "/tfplugin5.Provider/ValidateDataSourceConfig", 4969 } 4970 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4971 return srv.(ProviderServer).ValidateDataSourceConfig(ctx, req.(*ValidateDataSourceConfig_Request)) 4972 } 4973 return interceptor(ctx, in, info, handler) 4974 } 4975 4976 func _Provider_UpgradeResourceState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4977 in := new(UpgradeResourceState_Request) 4978 if err := dec(in); err != nil { 4979 return nil, err 4980 } 4981 if interceptor == nil { 4982 return srv.(ProviderServer).UpgradeResourceState(ctx, in) 4983 } 4984 info := &grpc.UnaryServerInfo{ 4985 Server: srv, 4986 FullMethod: "/tfplugin5.Provider/UpgradeResourceState", 4987 } 4988 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4989 return srv.(ProviderServer).UpgradeResourceState(ctx, req.(*UpgradeResourceState_Request)) 4990 } 4991 return interceptor(ctx, in, info, handler) 4992 } 4993 4994 func _Provider_Configure_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4995 in := new(Configure_Request) 4996 if err := dec(in); err != nil { 4997 return nil, err 4998 } 4999 if interceptor == nil { 5000 return srv.(ProviderServer).Configure(ctx, in) 5001 } 5002 info := &grpc.UnaryServerInfo{ 5003 Server: srv, 5004 FullMethod: "/tfplugin5.Provider/Configure", 5005 } 5006 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5007 return srv.(ProviderServer).Configure(ctx, req.(*Configure_Request)) 5008 } 5009 return interceptor(ctx, in, info, handler) 5010 } 5011 5012 func _Provider_ReadResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5013 in := new(ReadResource_Request) 5014 if err := dec(in); err != nil { 5015 return nil, err 5016 } 5017 if interceptor == nil { 5018 return srv.(ProviderServer).ReadResource(ctx, in) 5019 } 5020 info := &grpc.UnaryServerInfo{ 5021 Server: srv, 5022 FullMethod: "/tfplugin5.Provider/ReadResource", 5023 } 5024 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5025 return srv.(ProviderServer).ReadResource(ctx, req.(*ReadResource_Request)) 5026 } 5027 return interceptor(ctx, in, info, handler) 5028 } 5029 5030 func _Provider_PlanResourceChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5031 in := new(PlanResourceChange_Request) 5032 if err := dec(in); err != nil { 5033 return nil, err 5034 } 5035 if interceptor == nil { 5036 return srv.(ProviderServer).PlanResourceChange(ctx, in) 5037 } 5038 info := &grpc.UnaryServerInfo{ 5039 Server: srv, 5040 FullMethod: "/tfplugin5.Provider/PlanResourceChange", 5041 } 5042 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5043 return srv.(ProviderServer).PlanResourceChange(ctx, req.(*PlanResourceChange_Request)) 5044 } 5045 return interceptor(ctx, in, info, handler) 5046 } 5047 5048 func _Provider_ApplyResourceChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5049 in := new(ApplyResourceChange_Request) 5050 if err := dec(in); err != nil { 5051 return nil, err 5052 } 5053 if interceptor == nil { 5054 return srv.(ProviderServer).ApplyResourceChange(ctx, in) 5055 } 5056 info := &grpc.UnaryServerInfo{ 5057 Server: srv, 5058 FullMethod: "/tfplugin5.Provider/ApplyResourceChange", 5059 } 5060 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5061 return srv.(ProviderServer).ApplyResourceChange(ctx, req.(*ApplyResourceChange_Request)) 5062 } 5063 return interceptor(ctx, in, info, handler) 5064 } 5065 5066 func _Provider_ImportResourceState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5067 in := new(ImportResourceState_Request) 5068 if err := dec(in); err != nil { 5069 return nil, err 5070 } 5071 if interceptor == nil { 5072 return srv.(ProviderServer).ImportResourceState(ctx, in) 5073 } 5074 info := &grpc.UnaryServerInfo{ 5075 Server: srv, 5076 FullMethod: "/tfplugin5.Provider/ImportResourceState", 5077 } 5078 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5079 return srv.(ProviderServer).ImportResourceState(ctx, req.(*ImportResourceState_Request)) 5080 } 5081 return interceptor(ctx, in, info, handler) 5082 } 5083 5084 func _Provider_ReadDataSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5085 in := new(ReadDataSource_Request) 5086 if err := dec(in); err != nil { 5087 return nil, err 5088 } 5089 if interceptor == nil { 5090 return srv.(ProviderServer).ReadDataSource(ctx, in) 5091 } 5092 info := &grpc.UnaryServerInfo{ 5093 Server: srv, 5094 FullMethod: "/tfplugin5.Provider/ReadDataSource", 5095 } 5096 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5097 return srv.(ProviderServer).ReadDataSource(ctx, req.(*ReadDataSource_Request)) 5098 } 5099 return interceptor(ctx, in, info, handler) 5100 } 5101 5102 func _Provider_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5103 in := new(Stop_Request) 5104 if err := dec(in); err != nil { 5105 return nil, err 5106 } 5107 if interceptor == nil { 5108 return srv.(ProviderServer).Stop(ctx, in) 5109 } 5110 info := &grpc.UnaryServerInfo{ 5111 Server: srv, 5112 FullMethod: "/tfplugin5.Provider/Stop", 5113 } 5114 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5115 return srv.(ProviderServer).Stop(ctx, req.(*Stop_Request)) 5116 } 5117 return interceptor(ctx, in, info, handler) 5118 } 5119 5120 var _Provider_serviceDesc = grpc.ServiceDesc{ 5121 ServiceName: "tfplugin5.Provider", 5122 HandlerType: (*ProviderServer)(nil), 5123 Methods: []grpc.MethodDesc{ 5124 { 5125 MethodName: "GetSchema", 5126 Handler: _Provider_GetSchema_Handler, 5127 }, 5128 { 5129 MethodName: "PrepareProviderConfig", 5130 Handler: _Provider_PrepareProviderConfig_Handler, 5131 }, 5132 { 5133 MethodName: "ValidateResourceTypeConfig", 5134 Handler: _Provider_ValidateResourceTypeConfig_Handler, 5135 }, 5136 { 5137 MethodName: "ValidateDataSourceConfig", 5138 Handler: _Provider_ValidateDataSourceConfig_Handler, 5139 }, 5140 { 5141 MethodName: "UpgradeResourceState", 5142 Handler: _Provider_UpgradeResourceState_Handler, 5143 }, 5144 { 5145 MethodName: "Configure", 5146 Handler: _Provider_Configure_Handler, 5147 }, 5148 { 5149 MethodName: "ReadResource", 5150 Handler: _Provider_ReadResource_Handler, 5151 }, 5152 { 5153 MethodName: "PlanResourceChange", 5154 Handler: _Provider_PlanResourceChange_Handler, 5155 }, 5156 { 5157 MethodName: "ApplyResourceChange", 5158 Handler: _Provider_ApplyResourceChange_Handler, 5159 }, 5160 { 5161 MethodName: "ImportResourceState", 5162 Handler: _Provider_ImportResourceState_Handler, 5163 }, 5164 { 5165 MethodName: "ReadDataSource", 5166 Handler: _Provider_ReadDataSource_Handler, 5167 }, 5168 { 5169 MethodName: "Stop", 5170 Handler: _Provider_Stop_Handler, 5171 }, 5172 }, 5173 Streams: []grpc.StreamDesc{}, 5174 Metadata: "tfplugin5.proto", 5175 } 5176 5177 // ProvisionerClient is the client API for Provisioner service. 5178 // 5179 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 5180 type ProvisionerClient interface { 5181 GetSchema(ctx context.Context, in *GetProvisionerSchema_Request, opts ...grpc.CallOption) (*GetProvisionerSchema_Response, error) 5182 ValidateProvisionerConfig(ctx context.Context, in *ValidateProvisionerConfig_Request, opts ...grpc.CallOption) (*ValidateProvisionerConfig_Response, error) 5183 ProvisionResource(ctx context.Context, in *ProvisionResource_Request, opts ...grpc.CallOption) (Provisioner_ProvisionResourceClient, error) 5184 Stop(ctx context.Context, in *Stop_Request, opts ...grpc.CallOption) (*Stop_Response, error) 5185 } 5186 5187 type provisionerClient struct { 5188 cc grpc.ClientConnInterface 5189 } 5190 5191 func NewProvisionerClient(cc grpc.ClientConnInterface) ProvisionerClient { 5192 return &provisionerClient{cc} 5193 } 5194 5195 func (c *provisionerClient) GetSchema(ctx context.Context, in *GetProvisionerSchema_Request, opts ...grpc.CallOption) (*GetProvisionerSchema_Response, error) { 5196 out := new(GetProvisionerSchema_Response) 5197 err := c.cc.Invoke(ctx, "/tfplugin5.Provisioner/GetSchema", in, out, opts...) 5198 if err != nil { 5199 return nil, err 5200 } 5201 return out, nil 5202 } 5203 5204 func (c *provisionerClient) ValidateProvisionerConfig(ctx context.Context, in *ValidateProvisionerConfig_Request, opts ...grpc.CallOption) (*ValidateProvisionerConfig_Response, error) { 5205 out := new(ValidateProvisionerConfig_Response) 5206 err := c.cc.Invoke(ctx, "/tfplugin5.Provisioner/ValidateProvisionerConfig", in, out, opts...) 5207 if err != nil { 5208 return nil, err 5209 } 5210 return out, nil 5211 } 5212 5213 func (c *provisionerClient) ProvisionResource(ctx context.Context, in *ProvisionResource_Request, opts ...grpc.CallOption) (Provisioner_ProvisionResourceClient, error) { 5214 stream, err := c.cc.NewStream(ctx, &_Provisioner_serviceDesc.Streams[0], "/tfplugin5.Provisioner/ProvisionResource", opts...) 5215 if err != nil { 5216 return nil, err 5217 } 5218 x := &provisionerProvisionResourceClient{stream} 5219 if err := x.ClientStream.SendMsg(in); err != nil { 5220 return nil, err 5221 } 5222 if err := x.ClientStream.CloseSend(); err != nil { 5223 return nil, err 5224 } 5225 return x, nil 5226 } 5227 5228 type Provisioner_ProvisionResourceClient interface { 5229 Recv() (*ProvisionResource_Response, error) 5230 grpc.ClientStream 5231 } 5232 5233 type provisionerProvisionResourceClient struct { 5234 grpc.ClientStream 5235 } 5236 5237 func (x *provisionerProvisionResourceClient) Recv() (*ProvisionResource_Response, error) { 5238 m := new(ProvisionResource_Response) 5239 if err := x.ClientStream.RecvMsg(m); err != nil { 5240 return nil, err 5241 } 5242 return m, nil 5243 } 5244 5245 func (c *provisionerClient) Stop(ctx context.Context, in *Stop_Request, opts ...grpc.CallOption) (*Stop_Response, error) { 5246 out := new(Stop_Response) 5247 err := c.cc.Invoke(ctx, "/tfplugin5.Provisioner/Stop", in, out, opts...) 5248 if err != nil { 5249 return nil, err 5250 } 5251 return out, nil 5252 } 5253 5254 // ProvisionerServer is the server API for Provisioner service. 5255 type ProvisionerServer interface { 5256 GetSchema(context.Context, *GetProvisionerSchema_Request) (*GetProvisionerSchema_Response, error) 5257 ValidateProvisionerConfig(context.Context, *ValidateProvisionerConfig_Request) (*ValidateProvisionerConfig_Response, error) 5258 ProvisionResource(*ProvisionResource_Request, Provisioner_ProvisionResourceServer) error 5259 Stop(context.Context, *Stop_Request) (*Stop_Response, error) 5260 } 5261 5262 // UnimplementedProvisionerServer can be embedded to have forward compatible implementations. 5263 type UnimplementedProvisionerServer struct { 5264 } 5265 5266 func (*UnimplementedProvisionerServer) GetSchema(context.Context, *GetProvisionerSchema_Request) (*GetProvisionerSchema_Response, error) { 5267 return nil, status.Errorf(codes.Unimplemented, "method GetSchema not implemented") 5268 } 5269 func (*UnimplementedProvisionerServer) ValidateProvisionerConfig(context.Context, *ValidateProvisionerConfig_Request) (*ValidateProvisionerConfig_Response, error) { 5270 return nil, status.Errorf(codes.Unimplemented, "method ValidateProvisionerConfig not implemented") 5271 } 5272 func (*UnimplementedProvisionerServer) ProvisionResource(*ProvisionResource_Request, Provisioner_ProvisionResourceServer) error { 5273 return status.Errorf(codes.Unimplemented, "method ProvisionResource not implemented") 5274 } 5275 func (*UnimplementedProvisionerServer) Stop(context.Context, *Stop_Request) (*Stop_Response, error) { 5276 return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") 5277 } 5278 5279 func RegisterProvisionerServer(s *grpc.Server, srv ProvisionerServer) { 5280 s.RegisterService(&_Provisioner_serviceDesc, srv) 5281 } 5282 5283 func _Provisioner_GetSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5284 in := new(GetProvisionerSchema_Request) 5285 if err := dec(in); err != nil { 5286 return nil, err 5287 } 5288 if interceptor == nil { 5289 return srv.(ProvisionerServer).GetSchema(ctx, in) 5290 } 5291 info := &grpc.UnaryServerInfo{ 5292 Server: srv, 5293 FullMethod: "/tfplugin5.Provisioner/GetSchema", 5294 } 5295 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5296 return srv.(ProvisionerServer).GetSchema(ctx, req.(*GetProvisionerSchema_Request)) 5297 } 5298 return interceptor(ctx, in, info, handler) 5299 } 5300 5301 func _Provisioner_ValidateProvisionerConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5302 in := new(ValidateProvisionerConfig_Request) 5303 if err := dec(in); err != nil { 5304 return nil, err 5305 } 5306 if interceptor == nil { 5307 return srv.(ProvisionerServer).ValidateProvisionerConfig(ctx, in) 5308 } 5309 info := &grpc.UnaryServerInfo{ 5310 Server: srv, 5311 FullMethod: "/tfplugin5.Provisioner/ValidateProvisionerConfig", 5312 } 5313 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5314 return srv.(ProvisionerServer).ValidateProvisionerConfig(ctx, req.(*ValidateProvisionerConfig_Request)) 5315 } 5316 return interceptor(ctx, in, info, handler) 5317 } 5318 5319 func _Provisioner_ProvisionResource_Handler(srv interface{}, stream grpc.ServerStream) error { 5320 m := new(ProvisionResource_Request) 5321 if err := stream.RecvMsg(m); err != nil { 5322 return err 5323 } 5324 return srv.(ProvisionerServer).ProvisionResource(m, &provisionerProvisionResourceServer{stream}) 5325 } 5326 5327 type Provisioner_ProvisionResourceServer interface { 5328 Send(*ProvisionResource_Response) error 5329 grpc.ServerStream 5330 } 5331 5332 type provisionerProvisionResourceServer struct { 5333 grpc.ServerStream 5334 } 5335 5336 func (x *provisionerProvisionResourceServer) Send(m *ProvisionResource_Response) error { 5337 return x.ServerStream.SendMsg(m) 5338 } 5339 5340 func _Provisioner_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5341 in := new(Stop_Request) 5342 if err := dec(in); err != nil { 5343 return nil, err 5344 } 5345 if interceptor == nil { 5346 return srv.(ProvisionerServer).Stop(ctx, in) 5347 } 5348 info := &grpc.UnaryServerInfo{ 5349 Server: srv, 5350 FullMethod: "/tfplugin5.Provisioner/Stop", 5351 } 5352 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5353 return srv.(ProvisionerServer).Stop(ctx, req.(*Stop_Request)) 5354 } 5355 return interceptor(ctx, in, info, handler) 5356 } 5357 5358 var _Provisioner_serviceDesc = grpc.ServiceDesc{ 5359 ServiceName: "tfplugin5.Provisioner", 5360 HandlerType: (*ProvisionerServer)(nil), 5361 Methods: []grpc.MethodDesc{ 5362 { 5363 MethodName: "GetSchema", 5364 Handler: _Provisioner_GetSchema_Handler, 5365 }, 5366 { 5367 MethodName: "ValidateProvisionerConfig", 5368 Handler: _Provisioner_ValidateProvisionerConfig_Handler, 5369 }, 5370 { 5371 MethodName: "Stop", 5372 Handler: _Provisioner_Stop_Handler, 5373 }, 5374 }, 5375 Streams: []grpc.StreamDesc{ 5376 { 5377 StreamName: "ProvisionResource", 5378 Handler: _Provisioner_ProvisionResource_Handler, 5379 ServerStreams: true, 5380 }, 5381 }, 5382 Metadata: "tfplugin5.proto", 5383 }