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