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