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