github.com/hashicorp/terraform-plugin-sdk@v1.17.2/internal/tfplugin5/tfplugin5.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: tfplugin5.proto 3 4 package tfplugin5 5 6 import ( 7 context "context" 8 fmt "fmt" 9 proto "github.com/golang/protobuf/proto" 10 grpc "google.golang.org/grpc" 11 codes "google.golang.org/grpc/codes" 12 status "google.golang.org/grpc/status" 13 math "math" 14 ) 15 16 // Reference imports to suppress errors if they are not otherwise used. 17 var _ = proto.Marshal 18 var _ = fmt.Errorf 19 var _ = math.Inf 20 21 // This is a compile-time assertion to ensure that this generated file 22 // is compatible with the proto package it is being compiled against. 23 // A compilation error at this line likely means your copy of the 24 // proto package needs to be updated. 25 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 26 27 type StringKind int32 28 29 const ( 30 StringKind_PLAIN StringKind = 0 31 StringKind_MARKDOWN StringKind = 1 32 ) 33 34 var StringKind_name = map[int32]string{ 35 0: "PLAIN", 36 1: "MARKDOWN", 37 } 38 39 var StringKind_value = map[string]int32{ 40 "PLAIN": 0, 41 "MARKDOWN": 1, 42 } 43 44 func (x StringKind) String() string { 45 return proto.EnumName(StringKind_name, int32(x)) 46 } 47 48 func (StringKind) EnumDescriptor() ([]byte, []int) { 49 return fileDescriptor_17ae6090ff270234, []int{0} 50 } 51 52 type Diagnostic_Severity int32 53 54 const ( 55 Diagnostic_INVALID Diagnostic_Severity = 0 56 Diagnostic_ERROR Diagnostic_Severity = 1 57 Diagnostic_WARNING Diagnostic_Severity = 2 58 ) 59 60 var Diagnostic_Severity_name = map[int32]string{ 61 0: "INVALID", 62 1: "ERROR", 63 2: "WARNING", 64 } 65 66 var Diagnostic_Severity_value = map[string]int32{ 67 "INVALID": 0, 68 "ERROR": 1, 69 "WARNING": 2, 70 } 71 72 func (x Diagnostic_Severity) String() string { 73 return proto.EnumName(Diagnostic_Severity_name, int32(x)) 74 } 75 76 func (Diagnostic_Severity) EnumDescriptor() ([]byte, []int) { 77 return fileDescriptor_17ae6090ff270234, []int{1, 0} 78 } 79 80 type Schema_NestedBlock_NestingMode int32 81 82 const ( 83 Schema_NestedBlock_INVALID Schema_NestedBlock_NestingMode = 0 84 Schema_NestedBlock_SINGLE Schema_NestedBlock_NestingMode = 1 85 Schema_NestedBlock_LIST Schema_NestedBlock_NestingMode = 2 86 Schema_NestedBlock_SET Schema_NestedBlock_NestingMode = 3 87 Schema_NestedBlock_MAP Schema_NestedBlock_NestingMode = 4 88 Schema_NestedBlock_GROUP Schema_NestedBlock_NestingMode = 5 89 ) 90 91 var Schema_NestedBlock_NestingMode_name = map[int32]string{ 92 0: "INVALID", 93 1: "SINGLE", 94 2: "LIST", 95 3: "SET", 96 4: "MAP", 97 5: "GROUP", 98 } 99 100 var Schema_NestedBlock_NestingMode_value = map[string]int32{ 101 "INVALID": 0, 102 "SINGLE": 1, 103 "LIST": 2, 104 "SET": 3, 105 "MAP": 4, 106 "GROUP": 5, 107 } 108 109 func (x Schema_NestedBlock_NestingMode) String() string { 110 return proto.EnumName(Schema_NestedBlock_NestingMode_name, int32(x)) 111 } 112 113 func (Schema_NestedBlock_NestingMode) EnumDescriptor() ([]byte, []int) { 114 return fileDescriptor_17ae6090ff270234, []int{5, 2, 0} 115 } 116 117 // DynamicValue is an opaque encoding of terraform data, with the field name 118 // indicating the encoding scheme used. 119 type DynamicValue struct { 120 Msgpack []byte `protobuf:"bytes,1,opt,name=msgpack,proto3" json:"msgpack,omitempty"` 121 Json []byte `protobuf:"bytes,2,opt,name=json,proto3" json:"json,omitempty"` 122 XXX_NoUnkeyedLiteral struct{} `json:"-"` 123 XXX_unrecognized []byte `json:"-"` 124 XXX_sizecache int32 `json:"-"` 125 } 126 127 func (m *DynamicValue) Reset() { *m = DynamicValue{} } 128 func (m *DynamicValue) String() string { return proto.CompactTextString(m) } 129 func (*DynamicValue) ProtoMessage() {} 130 func (*DynamicValue) Descriptor() ([]byte, []int) { 131 return fileDescriptor_17ae6090ff270234, []int{0} 132 } 133 134 func (m *DynamicValue) XXX_Unmarshal(b []byte) error { 135 return xxx_messageInfo_DynamicValue.Unmarshal(m, b) 136 } 137 func (m *DynamicValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 138 return xxx_messageInfo_DynamicValue.Marshal(b, m, deterministic) 139 } 140 func (m *DynamicValue) XXX_Merge(src proto.Message) { 141 xxx_messageInfo_DynamicValue.Merge(m, src) 142 } 143 func (m *DynamicValue) XXX_Size() int { 144 return xxx_messageInfo_DynamicValue.Size(m) 145 } 146 func (m *DynamicValue) XXX_DiscardUnknown() { 147 xxx_messageInfo_DynamicValue.DiscardUnknown(m) 148 } 149 150 var xxx_messageInfo_DynamicValue proto.InternalMessageInfo 151 152 func (m *DynamicValue) GetMsgpack() []byte { 153 if m != nil { 154 return m.Msgpack 155 } 156 return nil 157 } 158 159 func (m *DynamicValue) GetJson() []byte { 160 if m != nil { 161 return m.Json 162 } 163 return nil 164 } 165 166 type Diagnostic struct { 167 Severity Diagnostic_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=tfplugin5.Diagnostic_Severity" json:"severity,omitempty"` 168 Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` 169 Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"` 170 Attribute *AttributePath `protobuf:"bytes,4,opt,name=attribute,proto3" json:"attribute,omitempty"` 171 XXX_NoUnkeyedLiteral struct{} `json:"-"` 172 XXX_unrecognized []byte `json:"-"` 173 XXX_sizecache int32 `json:"-"` 174 } 175 176 func (m *Diagnostic) Reset() { *m = Diagnostic{} } 177 func (m *Diagnostic) String() string { return proto.CompactTextString(m) } 178 func (*Diagnostic) ProtoMessage() {} 179 func (*Diagnostic) Descriptor() ([]byte, []int) { 180 return fileDescriptor_17ae6090ff270234, []int{1} 181 } 182 183 func (m *Diagnostic) XXX_Unmarshal(b []byte) error { 184 return xxx_messageInfo_Diagnostic.Unmarshal(m, b) 185 } 186 func (m *Diagnostic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 187 return xxx_messageInfo_Diagnostic.Marshal(b, m, deterministic) 188 } 189 func (m *Diagnostic) XXX_Merge(src proto.Message) { 190 xxx_messageInfo_Diagnostic.Merge(m, src) 191 } 192 func (m *Diagnostic) XXX_Size() int { 193 return xxx_messageInfo_Diagnostic.Size(m) 194 } 195 func (m *Diagnostic) XXX_DiscardUnknown() { 196 xxx_messageInfo_Diagnostic.DiscardUnknown(m) 197 } 198 199 var xxx_messageInfo_Diagnostic proto.InternalMessageInfo 200 201 func (m *Diagnostic) GetSeverity() Diagnostic_Severity { 202 if m != nil { 203 return m.Severity 204 } 205 return Diagnostic_INVALID 206 } 207 208 func (m *Diagnostic) GetSummary() string { 209 if m != nil { 210 return m.Summary 211 } 212 return "" 213 } 214 215 func (m *Diagnostic) GetDetail() string { 216 if m != nil { 217 return m.Detail 218 } 219 return "" 220 } 221 222 func (m *Diagnostic) GetAttribute() *AttributePath { 223 if m != nil { 224 return m.Attribute 225 } 226 return nil 227 } 228 229 type AttributePath struct { 230 Steps []*AttributePath_Step `protobuf:"bytes,1,rep,name=steps,proto3" json:"steps,omitempty"` 231 XXX_NoUnkeyedLiteral struct{} `json:"-"` 232 XXX_unrecognized []byte `json:"-"` 233 XXX_sizecache int32 `json:"-"` 234 } 235 236 func (m *AttributePath) Reset() { *m = AttributePath{} } 237 func (m *AttributePath) String() string { return proto.CompactTextString(m) } 238 func (*AttributePath) ProtoMessage() {} 239 func (*AttributePath) Descriptor() ([]byte, []int) { 240 return fileDescriptor_17ae6090ff270234, []int{2} 241 } 242 243 func (m *AttributePath) XXX_Unmarshal(b []byte) error { 244 return xxx_messageInfo_AttributePath.Unmarshal(m, b) 245 } 246 func (m *AttributePath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 247 return xxx_messageInfo_AttributePath.Marshal(b, m, deterministic) 248 } 249 func (m *AttributePath) XXX_Merge(src proto.Message) { 250 xxx_messageInfo_AttributePath.Merge(m, src) 251 } 252 func (m *AttributePath) XXX_Size() int { 253 return xxx_messageInfo_AttributePath.Size(m) 254 } 255 func (m *AttributePath) XXX_DiscardUnknown() { 256 xxx_messageInfo_AttributePath.DiscardUnknown(m) 257 } 258 259 var xxx_messageInfo_AttributePath proto.InternalMessageInfo 260 261 func (m *AttributePath) GetSteps() []*AttributePath_Step { 262 if m != nil { 263 return m.Steps 264 } 265 return nil 266 } 267 268 type AttributePath_Step struct { 269 // Types that are valid to be assigned to Selector: 270 // *AttributePath_Step_AttributeName 271 // *AttributePath_Step_ElementKeyString 272 // *AttributePath_Step_ElementKeyInt 273 Selector isAttributePath_Step_Selector `protobuf_oneof:"selector"` 274 XXX_NoUnkeyedLiteral struct{} `json:"-"` 275 XXX_unrecognized []byte `json:"-"` 276 XXX_sizecache int32 `json:"-"` 277 } 278 279 func (m *AttributePath_Step) Reset() { *m = AttributePath_Step{} } 280 func (m *AttributePath_Step) String() string { return proto.CompactTextString(m) } 281 func (*AttributePath_Step) ProtoMessage() {} 282 func (*AttributePath_Step) Descriptor() ([]byte, []int) { 283 return fileDescriptor_17ae6090ff270234, []int{2, 0} 284 } 285 286 func (m *AttributePath_Step) XXX_Unmarshal(b []byte) error { 287 return xxx_messageInfo_AttributePath_Step.Unmarshal(m, b) 288 } 289 func (m *AttributePath_Step) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 290 return xxx_messageInfo_AttributePath_Step.Marshal(b, m, deterministic) 291 } 292 func (m *AttributePath_Step) XXX_Merge(src proto.Message) { 293 xxx_messageInfo_AttributePath_Step.Merge(m, src) 294 } 295 func (m *AttributePath_Step) XXX_Size() int { 296 return xxx_messageInfo_AttributePath_Step.Size(m) 297 } 298 func (m *AttributePath_Step) XXX_DiscardUnknown() { 299 xxx_messageInfo_AttributePath_Step.DiscardUnknown(m) 300 } 301 302 var xxx_messageInfo_AttributePath_Step proto.InternalMessageInfo 303 304 type isAttributePath_Step_Selector interface { 305 isAttributePath_Step_Selector() 306 } 307 308 type AttributePath_Step_AttributeName struct { 309 AttributeName string `protobuf:"bytes,1,opt,name=attribute_name,json=attributeName,proto3,oneof"` 310 } 311 312 type AttributePath_Step_ElementKeyString struct { 313 ElementKeyString string `protobuf:"bytes,2,opt,name=element_key_string,json=elementKeyString,proto3,oneof"` 314 } 315 316 type AttributePath_Step_ElementKeyInt struct { 317 ElementKeyInt int64 `protobuf:"varint,3,opt,name=element_key_int,json=elementKeyInt,proto3,oneof"` 318 } 319 320 func (*AttributePath_Step_AttributeName) isAttributePath_Step_Selector() {} 321 322 func (*AttributePath_Step_ElementKeyString) isAttributePath_Step_Selector() {} 323 324 func (*AttributePath_Step_ElementKeyInt) isAttributePath_Step_Selector() {} 325 326 func (m *AttributePath_Step) GetSelector() isAttributePath_Step_Selector { 327 if m != nil { 328 return m.Selector 329 } 330 return nil 331 } 332 333 func (m *AttributePath_Step) GetAttributeName() string { 334 if x, ok := m.GetSelector().(*AttributePath_Step_AttributeName); ok { 335 return x.AttributeName 336 } 337 return "" 338 } 339 340 func (m *AttributePath_Step) GetElementKeyString() string { 341 if x, ok := m.GetSelector().(*AttributePath_Step_ElementKeyString); ok { 342 return x.ElementKeyString 343 } 344 return "" 345 } 346 347 func (m *AttributePath_Step) GetElementKeyInt() int64 { 348 if x, ok := m.GetSelector().(*AttributePath_Step_ElementKeyInt); ok { 349 return x.ElementKeyInt 350 } 351 return 0 352 } 353 354 // XXX_OneofWrappers is for the internal use of the proto package. 355 func (*AttributePath_Step) XXX_OneofWrappers() []interface{} { 356 return []interface{}{ 357 (*AttributePath_Step_AttributeName)(nil), 358 (*AttributePath_Step_ElementKeyString)(nil), 359 (*AttributePath_Step_ElementKeyInt)(nil), 360 } 361 } 362 363 type Stop struct { 364 XXX_NoUnkeyedLiteral struct{} `json:"-"` 365 XXX_unrecognized []byte `json:"-"` 366 XXX_sizecache int32 `json:"-"` 367 } 368 369 func (m *Stop) Reset() { *m = Stop{} } 370 func (m *Stop) String() string { return proto.CompactTextString(m) } 371 func (*Stop) ProtoMessage() {} 372 func (*Stop) Descriptor() ([]byte, []int) { 373 return fileDescriptor_17ae6090ff270234, []int{3} 374 } 375 376 func (m *Stop) XXX_Unmarshal(b []byte) error { 377 return xxx_messageInfo_Stop.Unmarshal(m, b) 378 } 379 func (m *Stop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 380 return xxx_messageInfo_Stop.Marshal(b, m, deterministic) 381 } 382 func (m *Stop) XXX_Merge(src proto.Message) { 383 xxx_messageInfo_Stop.Merge(m, src) 384 } 385 func (m *Stop) XXX_Size() int { 386 return xxx_messageInfo_Stop.Size(m) 387 } 388 func (m *Stop) XXX_DiscardUnknown() { 389 xxx_messageInfo_Stop.DiscardUnknown(m) 390 } 391 392 var xxx_messageInfo_Stop proto.InternalMessageInfo 393 394 type Stop_Request struct { 395 XXX_NoUnkeyedLiteral struct{} `json:"-"` 396 XXX_unrecognized []byte `json:"-"` 397 XXX_sizecache int32 `json:"-"` 398 } 399 400 func (m *Stop_Request) Reset() { *m = Stop_Request{} } 401 func (m *Stop_Request) String() string { return proto.CompactTextString(m) } 402 func (*Stop_Request) ProtoMessage() {} 403 func (*Stop_Request) Descriptor() ([]byte, []int) { 404 return fileDescriptor_17ae6090ff270234, []int{3, 0} 405 } 406 407 func (m *Stop_Request) XXX_Unmarshal(b []byte) error { 408 return xxx_messageInfo_Stop_Request.Unmarshal(m, b) 409 } 410 func (m *Stop_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 411 return xxx_messageInfo_Stop_Request.Marshal(b, m, deterministic) 412 } 413 func (m *Stop_Request) XXX_Merge(src proto.Message) { 414 xxx_messageInfo_Stop_Request.Merge(m, src) 415 } 416 func (m *Stop_Request) XXX_Size() int { 417 return xxx_messageInfo_Stop_Request.Size(m) 418 } 419 func (m *Stop_Request) XXX_DiscardUnknown() { 420 xxx_messageInfo_Stop_Request.DiscardUnknown(m) 421 } 422 423 var xxx_messageInfo_Stop_Request proto.InternalMessageInfo 424 425 type Stop_Response struct { 426 Error string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error,omitempty"` 427 XXX_NoUnkeyedLiteral struct{} `json:"-"` 428 XXX_unrecognized []byte `json:"-"` 429 XXX_sizecache int32 `json:"-"` 430 } 431 432 func (m *Stop_Response) Reset() { *m = Stop_Response{} } 433 func (m *Stop_Response) String() string { return proto.CompactTextString(m) } 434 func (*Stop_Response) ProtoMessage() {} 435 func (*Stop_Response) Descriptor() ([]byte, []int) { 436 return fileDescriptor_17ae6090ff270234, []int{3, 1} 437 } 438 439 func (m *Stop_Response) XXX_Unmarshal(b []byte) error { 440 return xxx_messageInfo_Stop_Response.Unmarshal(m, b) 441 } 442 func (m *Stop_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 443 return xxx_messageInfo_Stop_Response.Marshal(b, m, deterministic) 444 } 445 func (m *Stop_Response) XXX_Merge(src proto.Message) { 446 xxx_messageInfo_Stop_Response.Merge(m, src) 447 } 448 func (m *Stop_Response) XXX_Size() int { 449 return xxx_messageInfo_Stop_Response.Size(m) 450 } 451 func (m *Stop_Response) XXX_DiscardUnknown() { 452 xxx_messageInfo_Stop_Response.DiscardUnknown(m) 453 } 454 455 var xxx_messageInfo_Stop_Response proto.InternalMessageInfo 456 457 func (m *Stop_Response) GetError() string { 458 if m != nil { 459 return m.Error 460 } 461 return "" 462 } 463 464 // RawState holds the stored state for a resource to be upgraded by the 465 // provider. It can be in one of two formats, the current json encoded format 466 // in bytes, or the legacy flatmap format as a map of strings. 467 type RawState struct { 468 Json []byte `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"` 469 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"` 470 XXX_NoUnkeyedLiteral struct{} `json:"-"` 471 XXX_unrecognized []byte `json:"-"` 472 XXX_sizecache int32 `json:"-"` 473 } 474 475 func (m *RawState) Reset() { *m = RawState{} } 476 func (m *RawState) String() string { return proto.CompactTextString(m) } 477 func (*RawState) ProtoMessage() {} 478 func (*RawState) Descriptor() ([]byte, []int) { 479 return fileDescriptor_17ae6090ff270234, []int{4} 480 } 481 482 func (m *RawState) XXX_Unmarshal(b []byte) error { 483 return xxx_messageInfo_RawState.Unmarshal(m, b) 484 } 485 func (m *RawState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 486 return xxx_messageInfo_RawState.Marshal(b, m, deterministic) 487 } 488 func (m *RawState) XXX_Merge(src proto.Message) { 489 xxx_messageInfo_RawState.Merge(m, src) 490 } 491 func (m *RawState) XXX_Size() int { 492 return xxx_messageInfo_RawState.Size(m) 493 } 494 func (m *RawState) XXX_DiscardUnknown() { 495 xxx_messageInfo_RawState.DiscardUnknown(m) 496 } 497 498 var xxx_messageInfo_RawState proto.InternalMessageInfo 499 500 func (m *RawState) GetJson() []byte { 501 if m != nil { 502 return m.Json 503 } 504 return nil 505 } 506 507 func (m *RawState) GetFlatmap() map[string]string { 508 if m != nil { 509 return m.Flatmap 510 } 511 return nil 512 } 513 514 // Schema is the configuration schema for a Resource, Provider, or Provisioner. 515 type Schema struct { 516 // The version of the schema. 517 // Schemas are versioned, so that providers can upgrade a saved resource 518 // state when the schema is changed. 519 Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 520 // Block is the top level configuration block for this schema. 521 Block *Schema_Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` 522 XXX_NoUnkeyedLiteral struct{} `json:"-"` 523 XXX_unrecognized []byte `json:"-"` 524 XXX_sizecache int32 `json:"-"` 525 } 526 527 func (m *Schema) Reset() { *m = Schema{} } 528 func (m *Schema) String() string { return proto.CompactTextString(m) } 529 func (*Schema) ProtoMessage() {} 530 func (*Schema) Descriptor() ([]byte, []int) { 531 return fileDescriptor_17ae6090ff270234, []int{5} 532 } 533 534 func (m *Schema) XXX_Unmarshal(b []byte) error { 535 return xxx_messageInfo_Schema.Unmarshal(m, b) 536 } 537 func (m *Schema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 538 return xxx_messageInfo_Schema.Marshal(b, m, deterministic) 539 } 540 func (m *Schema) XXX_Merge(src proto.Message) { 541 xxx_messageInfo_Schema.Merge(m, src) 542 } 543 func (m *Schema) XXX_Size() int { 544 return xxx_messageInfo_Schema.Size(m) 545 } 546 func (m *Schema) XXX_DiscardUnknown() { 547 xxx_messageInfo_Schema.DiscardUnknown(m) 548 } 549 550 var xxx_messageInfo_Schema proto.InternalMessageInfo 551 552 func (m *Schema) GetVersion() int64 { 553 if m != nil { 554 return m.Version 555 } 556 return 0 557 } 558 559 func (m *Schema) GetBlock() *Schema_Block { 560 if m != nil { 561 return m.Block 562 } 563 return nil 564 } 565 566 type Schema_Block struct { 567 Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 568 Attributes []*Schema_Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"` 569 BlockTypes []*Schema_NestedBlock `protobuf:"bytes,3,rep,name=block_types,json=blockTypes,proto3" json:"block_types,omitempty"` 570 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` 571 DescriptionKind StringKind `protobuf:"varint,5,opt,name=description_kind,json=descriptionKind,proto3,enum=tfplugin5.StringKind" json:"description_kind,omitempty"` 572 Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"` 573 XXX_NoUnkeyedLiteral struct{} `json:"-"` 574 XXX_unrecognized []byte `json:"-"` 575 XXX_sizecache int32 `json:"-"` 576 } 577 578 func (m *Schema_Block) Reset() { *m = Schema_Block{} } 579 func (m *Schema_Block) String() string { return proto.CompactTextString(m) } 580 func (*Schema_Block) ProtoMessage() {} 581 func (*Schema_Block) Descriptor() ([]byte, []int) { 582 return fileDescriptor_17ae6090ff270234, []int{5, 0} 583 } 584 585 func (m *Schema_Block) XXX_Unmarshal(b []byte) error { 586 return xxx_messageInfo_Schema_Block.Unmarshal(m, b) 587 } 588 func (m *Schema_Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 589 return xxx_messageInfo_Schema_Block.Marshal(b, m, deterministic) 590 } 591 func (m *Schema_Block) XXX_Merge(src proto.Message) { 592 xxx_messageInfo_Schema_Block.Merge(m, src) 593 } 594 func (m *Schema_Block) XXX_Size() int { 595 return xxx_messageInfo_Schema_Block.Size(m) 596 } 597 func (m *Schema_Block) XXX_DiscardUnknown() { 598 xxx_messageInfo_Schema_Block.DiscardUnknown(m) 599 } 600 601 var xxx_messageInfo_Schema_Block proto.InternalMessageInfo 602 603 func (m *Schema_Block) GetVersion() int64 { 604 if m != nil { 605 return m.Version 606 } 607 return 0 608 } 609 610 func (m *Schema_Block) GetAttributes() []*Schema_Attribute { 611 if m != nil { 612 return m.Attributes 613 } 614 return nil 615 } 616 617 func (m *Schema_Block) GetBlockTypes() []*Schema_NestedBlock { 618 if m != nil { 619 return m.BlockTypes 620 } 621 return nil 622 } 623 624 func (m *Schema_Block) GetDescription() string { 625 if m != nil { 626 return m.Description 627 } 628 return "" 629 } 630 631 func (m *Schema_Block) GetDescriptionKind() StringKind { 632 if m != nil { 633 return m.DescriptionKind 634 } 635 return StringKind_PLAIN 636 } 637 638 func (m *Schema_Block) GetDeprecated() bool { 639 if m != nil { 640 return m.Deprecated 641 } 642 return false 643 } 644 645 type Schema_Attribute struct { 646 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 647 Type []byte `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` 648 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` 649 Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"` 650 Optional bool `protobuf:"varint,5,opt,name=optional,proto3" json:"optional,omitempty"` 651 Computed bool `protobuf:"varint,6,opt,name=computed,proto3" json:"computed,omitempty"` 652 Sensitive bool `protobuf:"varint,7,opt,name=sensitive,proto3" json:"sensitive,omitempty"` 653 DescriptionKind StringKind `protobuf:"varint,8,opt,name=description_kind,json=descriptionKind,proto3,enum=tfplugin5.StringKind" json:"description_kind,omitempty"` 654 Deprecated bool `protobuf:"varint,9,opt,name=deprecated,proto3" json:"deprecated,omitempty"` 655 XXX_NoUnkeyedLiteral struct{} `json:"-"` 656 XXX_unrecognized []byte `json:"-"` 657 XXX_sizecache int32 `json:"-"` 658 } 659 660 func (m *Schema_Attribute) Reset() { *m = Schema_Attribute{} } 661 func (m *Schema_Attribute) String() string { return proto.CompactTextString(m) } 662 func (*Schema_Attribute) ProtoMessage() {} 663 func (*Schema_Attribute) Descriptor() ([]byte, []int) { 664 return fileDescriptor_17ae6090ff270234, []int{5, 1} 665 } 666 667 func (m *Schema_Attribute) XXX_Unmarshal(b []byte) error { 668 return xxx_messageInfo_Schema_Attribute.Unmarshal(m, b) 669 } 670 func (m *Schema_Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 671 return xxx_messageInfo_Schema_Attribute.Marshal(b, m, deterministic) 672 } 673 func (m *Schema_Attribute) XXX_Merge(src proto.Message) { 674 xxx_messageInfo_Schema_Attribute.Merge(m, src) 675 } 676 func (m *Schema_Attribute) XXX_Size() int { 677 return xxx_messageInfo_Schema_Attribute.Size(m) 678 } 679 func (m *Schema_Attribute) XXX_DiscardUnknown() { 680 xxx_messageInfo_Schema_Attribute.DiscardUnknown(m) 681 } 682 683 var xxx_messageInfo_Schema_Attribute proto.InternalMessageInfo 684 685 func (m *Schema_Attribute) GetName() string { 686 if m != nil { 687 return m.Name 688 } 689 return "" 690 } 691 692 func (m *Schema_Attribute) GetType() []byte { 693 if m != nil { 694 return m.Type 695 } 696 return nil 697 } 698 699 func (m *Schema_Attribute) GetDescription() string { 700 if m != nil { 701 return m.Description 702 } 703 return "" 704 } 705 706 func (m *Schema_Attribute) GetRequired() bool { 707 if m != nil { 708 return m.Required 709 } 710 return false 711 } 712 713 func (m *Schema_Attribute) GetOptional() bool { 714 if m != nil { 715 return m.Optional 716 } 717 return false 718 } 719 720 func (m *Schema_Attribute) GetComputed() bool { 721 if m != nil { 722 return m.Computed 723 } 724 return false 725 } 726 727 func (m *Schema_Attribute) GetSensitive() bool { 728 if m != nil { 729 return m.Sensitive 730 } 731 return false 732 } 733 734 func (m *Schema_Attribute) GetDescriptionKind() StringKind { 735 if m != nil { 736 return m.DescriptionKind 737 } 738 return StringKind_PLAIN 739 } 740 741 func (m *Schema_Attribute) GetDeprecated() bool { 742 if m != nil { 743 return m.Deprecated 744 } 745 return false 746 } 747 748 type Schema_NestedBlock struct { 749 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 750 Block *Schema_Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` 751 Nesting Schema_NestedBlock_NestingMode `protobuf:"varint,3,opt,name=nesting,proto3,enum=tfplugin5.Schema_NestedBlock_NestingMode" json:"nesting,omitempty"` 752 MinItems int64 `protobuf:"varint,4,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"` 753 MaxItems int64 `protobuf:"varint,5,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"` 754 XXX_NoUnkeyedLiteral struct{} `json:"-"` 755 XXX_unrecognized []byte `json:"-"` 756 XXX_sizecache int32 `json:"-"` 757 } 758 759 func (m *Schema_NestedBlock) Reset() { *m = Schema_NestedBlock{} } 760 func (m *Schema_NestedBlock) String() string { return proto.CompactTextString(m) } 761 func (*Schema_NestedBlock) ProtoMessage() {} 762 func (*Schema_NestedBlock) Descriptor() ([]byte, []int) { 763 return fileDescriptor_17ae6090ff270234, []int{5, 2} 764 } 765 766 func (m *Schema_NestedBlock) XXX_Unmarshal(b []byte) error { 767 return xxx_messageInfo_Schema_NestedBlock.Unmarshal(m, b) 768 } 769 func (m *Schema_NestedBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 770 return xxx_messageInfo_Schema_NestedBlock.Marshal(b, m, deterministic) 771 } 772 func (m *Schema_NestedBlock) XXX_Merge(src proto.Message) { 773 xxx_messageInfo_Schema_NestedBlock.Merge(m, src) 774 } 775 func (m *Schema_NestedBlock) XXX_Size() int { 776 return xxx_messageInfo_Schema_NestedBlock.Size(m) 777 } 778 func (m *Schema_NestedBlock) XXX_DiscardUnknown() { 779 xxx_messageInfo_Schema_NestedBlock.DiscardUnknown(m) 780 } 781 782 var xxx_messageInfo_Schema_NestedBlock proto.InternalMessageInfo 783 784 func (m *Schema_NestedBlock) GetTypeName() string { 785 if m != nil { 786 return m.TypeName 787 } 788 return "" 789 } 790 791 func (m *Schema_NestedBlock) GetBlock() *Schema_Block { 792 if m != nil { 793 return m.Block 794 } 795 return nil 796 } 797 798 func (m *Schema_NestedBlock) GetNesting() Schema_NestedBlock_NestingMode { 799 if m != nil { 800 return m.Nesting 801 } 802 return Schema_NestedBlock_INVALID 803 } 804 805 func (m *Schema_NestedBlock) GetMinItems() int64 { 806 if m != nil { 807 return m.MinItems 808 } 809 return 0 810 } 811 812 func (m *Schema_NestedBlock) GetMaxItems() int64 { 813 if m != nil { 814 return m.MaxItems 815 } 816 return 0 817 } 818 819 type GetProviderSchema struct { 820 XXX_NoUnkeyedLiteral struct{} `json:"-"` 821 XXX_unrecognized []byte `json:"-"` 822 XXX_sizecache int32 `json:"-"` 823 } 824 825 func (m *GetProviderSchema) Reset() { *m = GetProviderSchema{} } 826 func (m *GetProviderSchema) String() string { return proto.CompactTextString(m) } 827 func (*GetProviderSchema) ProtoMessage() {} 828 func (*GetProviderSchema) Descriptor() ([]byte, []int) { 829 return fileDescriptor_17ae6090ff270234, []int{6} 830 } 831 832 func (m *GetProviderSchema) XXX_Unmarshal(b []byte) error { 833 return xxx_messageInfo_GetProviderSchema.Unmarshal(m, b) 834 } 835 func (m *GetProviderSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 836 return xxx_messageInfo_GetProviderSchema.Marshal(b, m, deterministic) 837 } 838 func (m *GetProviderSchema) XXX_Merge(src proto.Message) { 839 xxx_messageInfo_GetProviderSchema.Merge(m, src) 840 } 841 func (m *GetProviderSchema) XXX_Size() int { 842 return xxx_messageInfo_GetProviderSchema.Size(m) 843 } 844 func (m *GetProviderSchema) XXX_DiscardUnknown() { 845 xxx_messageInfo_GetProviderSchema.DiscardUnknown(m) 846 } 847 848 var xxx_messageInfo_GetProviderSchema proto.InternalMessageInfo 849 850 type GetProviderSchema_Request struct { 851 XXX_NoUnkeyedLiteral struct{} `json:"-"` 852 XXX_unrecognized []byte `json:"-"` 853 XXX_sizecache int32 `json:"-"` 854 } 855 856 func (m *GetProviderSchema_Request) Reset() { *m = GetProviderSchema_Request{} } 857 func (m *GetProviderSchema_Request) String() string { return proto.CompactTextString(m) } 858 func (*GetProviderSchema_Request) ProtoMessage() {} 859 func (*GetProviderSchema_Request) Descriptor() ([]byte, []int) { 860 return fileDescriptor_17ae6090ff270234, []int{6, 0} 861 } 862 863 func (m *GetProviderSchema_Request) XXX_Unmarshal(b []byte) error { 864 return xxx_messageInfo_GetProviderSchema_Request.Unmarshal(m, b) 865 } 866 func (m *GetProviderSchema_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 867 return xxx_messageInfo_GetProviderSchema_Request.Marshal(b, m, deterministic) 868 } 869 func (m *GetProviderSchema_Request) XXX_Merge(src proto.Message) { 870 xxx_messageInfo_GetProviderSchema_Request.Merge(m, src) 871 } 872 func (m *GetProviderSchema_Request) XXX_Size() int { 873 return xxx_messageInfo_GetProviderSchema_Request.Size(m) 874 } 875 func (m *GetProviderSchema_Request) XXX_DiscardUnknown() { 876 xxx_messageInfo_GetProviderSchema_Request.DiscardUnknown(m) 877 } 878 879 var xxx_messageInfo_GetProviderSchema_Request proto.InternalMessageInfo 880 881 type GetProviderSchema_Response struct { 882 Provider *Schema `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` 883 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"` 884 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"` 885 Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 886 ProviderMeta *Schema `protobuf:"bytes,5,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` 887 XXX_NoUnkeyedLiteral struct{} `json:"-"` 888 XXX_unrecognized []byte `json:"-"` 889 XXX_sizecache int32 `json:"-"` 890 } 891 892 func (m *GetProviderSchema_Response) Reset() { *m = GetProviderSchema_Response{} } 893 func (m *GetProviderSchema_Response) String() string { return proto.CompactTextString(m) } 894 func (*GetProviderSchema_Response) ProtoMessage() {} 895 func (*GetProviderSchema_Response) Descriptor() ([]byte, []int) { 896 return fileDescriptor_17ae6090ff270234, []int{6, 1} 897 } 898 899 func (m *GetProviderSchema_Response) XXX_Unmarshal(b []byte) error { 900 return xxx_messageInfo_GetProviderSchema_Response.Unmarshal(m, b) 901 } 902 func (m *GetProviderSchema_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 903 return xxx_messageInfo_GetProviderSchema_Response.Marshal(b, m, deterministic) 904 } 905 func (m *GetProviderSchema_Response) XXX_Merge(src proto.Message) { 906 xxx_messageInfo_GetProviderSchema_Response.Merge(m, src) 907 } 908 func (m *GetProviderSchema_Response) XXX_Size() int { 909 return xxx_messageInfo_GetProviderSchema_Response.Size(m) 910 } 911 func (m *GetProviderSchema_Response) XXX_DiscardUnknown() { 912 xxx_messageInfo_GetProviderSchema_Response.DiscardUnknown(m) 913 } 914 915 var xxx_messageInfo_GetProviderSchema_Response proto.InternalMessageInfo 916 917 func (m *GetProviderSchema_Response) GetProvider() *Schema { 918 if m != nil { 919 return m.Provider 920 } 921 return nil 922 } 923 924 func (m *GetProviderSchema_Response) GetResourceSchemas() map[string]*Schema { 925 if m != nil { 926 return m.ResourceSchemas 927 } 928 return nil 929 } 930 931 func (m *GetProviderSchema_Response) GetDataSourceSchemas() map[string]*Schema { 932 if m != nil { 933 return m.DataSourceSchemas 934 } 935 return nil 936 } 937 938 func (m *GetProviderSchema_Response) GetDiagnostics() []*Diagnostic { 939 if m != nil { 940 return m.Diagnostics 941 } 942 return nil 943 } 944 945 func (m *GetProviderSchema_Response) GetProviderMeta() *Schema { 946 if m != nil { 947 return m.ProviderMeta 948 } 949 return nil 950 } 951 952 type PrepareProviderConfig struct { 953 XXX_NoUnkeyedLiteral struct{} `json:"-"` 954 XXX_unrecognized []byte `json:"-"` 955 XXX_sizecache int32 `json:"-"` 956 } 957 958 func (m *PrepareProviderConfig) Reset() { *m = PrepareProviderConfig{} } 959 func (m *PrepareProviderConfig) String() string { return proto.CompactTextString(m) } 960 func (*PrepareProviderConfig) ProtoMessage() {} 961 func (*PrepareProviderConfig) Descriptor() ([]byte, []int) { 962 return fileDescriptor_17ae6090ff270234, []int{7} 963 } 964 965 func (m *PrepareProviderConfig) XXX_Unmarshal(b []byte) error { 966 return xxx_messageInfo_PrepareProviderConfig.Unmarshal(m, b) 967 } 968 func (m *PrepareProviderConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 969 return xxx_messageInfo_PrepareProviderConfig.Marshal(b, m, deterministic) 970 } 971 func (m *PrepareProviderConfig) XXX_Merge(src proto.Message) { 972 xxx_messageInfo_PrepareProviderConfig.Merge(m, src) 973 } 974 func (m *PrepareProviderConfig) XXX_Size() int { 975 return xxx_messageInfo_PrepareProviderConfig.Size(m) 976 } 977 func (m *PrepareProviderConfig) XXX_DiscardUnknown() { 978 xxx_messageInfo_PrepareProviderConfig.DiscardUnknown(m) 979 } 980 981 var xxx_messageInfo_PrepareProviderConfig proto.InternalMessageInfo 982 983 type PrepareProviderConfig_Request struct { 984 Config *DynamicValue `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` 985 XXX_NoUnkeyedLiteral struct{} `json:"-"` 986 XXX_unrecognized []byte `json:"-"` 987 XXX_sizecache int32 `json:"-"` 988 } 989 990 func (m *PrepareProviderConfig_Request) Reset() { *m = PrepareProviderConfig_Request{} } 991 func (m *PrepareProviderConfig_Request) String() string { return proto.CompactTextString(m) } 992 func (*PrepareProviderConfig_Request) ProtoMessage() {} 993 func (*PrepareProviderConfig_Request) Descriptor() ([]byte, []int) { 994 return fileDescriptor_17ae6090ff270234, []int{7, 0} 995 } 996 997 func (m *PrepareProviderConfig_Request) XXX_Unmarshal(b []byte) error { 998 return xxx_messageInfo_PrepareProviderConfig_Request.Unmarshal(m, b) 999 } 1000 func (m *PrepareProviderConfig_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1001 return xxx_messageInfo_PrepareProviderConfig_Request.Marshal(b, m, deterministic) 1002 } 1003 func (m *PrepareProviderConfig_Request) XXX_Merge(src proto.Message) { 1004 xxx_messageInfo_PrepareProviderConfig_Request.Merge(m, src) 1005 } 1006 func (m *PrepareProviderConfig_Request) XXX_Size() int { 1007 return xxx_messageInfo_PrepareProviderConfig_Request.Size(m) 1008 } 1009 func (m *PrepareProviderConfig_Request) XXX_DiscardUnknown() { 1010 xxx_messageInfo_PrepareProviderConfig_Request.DiscardUnknown(m) 1011 } 1012 1013 var xxx_messageInfo_PrepareProviderConfig_Request proto.InternalMessageInfo 1014 1015 func (m *PrepareProviderConfig_Request) GetConfig() *DynamicValue { 1016 if m != nil { 1017 return m.Config 1018 } 1019 return nil 1020 } 1021 1022 type PrepareProviderConfig_Response struct { 1023 PreparedConfig *DynamicValue `protobuf:"bytes,1,opt,name=prepared_config,json=preparedConfig,proto3" json:"prepared_config,omitempty"` 1024 Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 1025 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1026 XXX_unrecognized []byte `json:"-"` 1027 XXX_sizecache int32 `json:"-"` 1028 } 1029 1030 func (m *PrepareProviderConfig_Response) Reset() { *m = PrepareProviderConfig_Response{} } 1031 func (m *PrepareProviderConfig_Response) String() string { return proto.CompactTextString(m) } 1032 func (*PrepareProviderConfig_Response) ProtoMessage() {} 1033 func (*PrepareProviderConfig_Response) Descriptor() ([]byte, []int) { 1034 return fileDescriptor_17ae6090ff270234, []int{7, 1} 1035 } 1036 1037 func (m *PrepareProviderConfig_Response) XXX_Unmarshal(b []byte) error { 1038 return xxx_messageInfo_PrepareProviderConfig_Response.Unmarshal(m, b) 1039 } 1040 func (m *PrepareProviderConfig_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1041 return xxx_messageInfo_PrepareProviderConfig_Response.Marshal(b, m, deterministic) 1042 } 1043 func (m *PrepareProviderConfig_Response) XXX_Merge(src proto.Message) { 1044 xxx_messageInfo_PrepareProviderConfig_Response.Merge(m, src) 1045 } 1046 func (m *PrepareProviderConfig_Response) XXX_Size() int { 1047 return xxx_messageInfo_PrepareProviderConfig_Response.Size(m) 1048 } 1049 func (m *PrepareProviderConfig_Response) XXX_DiscardUnknown() { 1050 xxx_messageInfo_PrepareProviderConfig_Response.DiscardUnknown(m) 1051 } 1052 1053 var xxx_messageInfo_PrepareProviderConfig_Response proto.InternalMessageInfo 1054 1055 func (m *PrepareProviderConfig_Response) GetPreparedConfig() *DynamicValue { 1056 if m != nil { 1057 return m.PreparedConfig 1058 } 1059 return nil 1060 } 1061 1062 func (m *PrepareProviderConfig_Response) GetDiagnostics() []*Diagnostic { 1063 if m != nil { 1064 return m.Diagnostics 1065 } 1066 return nil 1067 } 1068 1069 type UpgradeResourceState struct { 1070 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1071 XXX_unrecognized []byte `json:"-"` 1072 XXX_sizecache int32 `json:"-"` 1073 } 1074 1075 func (m *UpgradeResourceState) Reset() { *m = UpgradeResourceState{} } 1076 func (m *UpgradeResourceState) String() string { return proto.CompactTextString(m) } 1077 func (*UpgradeResourceState) ProtoMessage() {} 1078 func (*UpgradeResourceState) Descriptor() ([]byte, []int) { 1079 return fileDescriptor_17ae6090ff270234, []int{8} 1080 } 1081 1082 func (m *UpgradeResourceState) XXX_Unmarshal(b []byte) error { 1083 return xxx_messageInfo_UpgradeResourceState.Unmarshal(m, b) 1084 } 1085 func (m *UpgradeResourceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1086 return xxx_messageInfo_UpgradeResourceState.Marshal(b, m, deterministic) 1087 } 1088 func (m *UpgradeResourceState) XXX_Merge(src proto.Message) { 1089 xxx_messageInfo_UpgradeResourceState.Merge(m, src) 1090 } 1091 func (m *UpgradeResourceState) XXX_Size() int { 1092 return xxx_messageInfo_UpgradeResourceState.Size(m) 1093 } 1094 func (m *UpgradeResourceState) XXX_DiscardUnknown() { 1095 xxx_messageInfo_UpgradeResourceState.DiscardUnknown(m) 1096 } 1097 1098 var xxx_messageInfo_UpgradeResourceState proto.InternalMessageInfo 1099 1100 type UpgradeResourceState_Request struct { 1101 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 1102 // version is the schema_version number recorded in the state file 1103 Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` 1104 // raw_state is the raw states as stored for the resource. Core does 1105 // not have access to the schema of prior_version, so it's the 1106 // provider's responsibility to interpret this value using the 1107 // appropriate older schema. The raw_state will be the json encoded 1108 // state, or a legacy flat-mapped format. 1109 RawState *RawState `protobuf:"bytes,3,opt,name=raw_state,json=rawState,proto3" json:"raw_state,omitempty"` 1110 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1111 XXX_unrecognized []byte `json:"-"` 1112 XXX_sizecache int32 `json:"-"` 1113 } 1114 1115 func (m *UpgradeResourceState_Request) Reset() { *m = UpgradeResourceState_Request{} } 1116 func (m *UpgradeResourceState_Request) String() string { return proto.CompactTextString(m) } 1117 func (*UpgradeResourceState_Request) ProtoMessage() {} 1118 func (*UpgradeResourceState_Request) Descriptor() ([]byte, []int) { 1119 return fileDescriptor_17ae6090ff270234, []int{8, 0} 1120 } 1121 1122 func (m *UpgradeResourceState_Request) XXX_Unmarshal(b []byte) error { 1123 return xxx_messageInfo_UpgradeResourceState_Request.Unmarshal(m, b) 1124 } 1125 func (m *UpgradeResourceState_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1126 return xxx_messageInfo_UpgradeResourceState_Request.Marshal(b, m, deterministic) 1127 } 1128 func (m *UpgradeResourceState_Request) XXX_Merge(src proto.Message) { 1129 xxx_messageInfo_UpgradeResourceState_Request.Merge(m, src) 1130 } 1131 func (m *UpgradeResourceState_Request) XXX_Size() int { 1132 return xxx_messageInfo_UpgradeResourceState_Request.Size(m) 1133 } 1134 func (m *UpgradeResourceState_Request) XXX_DiscardUnknown() { 1135 xxx_messageInfo_UpgradeResourceState_Request.DiscardUnknown(m) 1136 } 1137 1138 var xxx_messageInfo_UpgradeResourceState_Request proto.InternalMessageInfo 1139 1140 func (m *UpgradeResourceState_Request) GetTypeName() string { 1141 if m != nil { 1142 return m.TypeName 1143 } 1144 return "" 1145 } 1146 1147 func (m *UpgradeResourceState_Request) GetVersion() int64 { 1148 if m != nil { 1149 return m.Version 1150 } 1151 return 0 1152 } 1153 1154 func (m *UpgradeResourceState_Request) GetRawState() *RawState { 1155 if m != nil { 1156 return m.RawState 1157 } 1158 return nil 1159 } 1160 1161 type UpgradeResourceState_Response struct { 1162 // new_state is a msgpack-encoded data structure that, when interpreted with 1163 // the _current_ schema for this resource type, is functionally equivalent to 1164 // that which was given in prior_state_raw. 1165 UpgradedState *DynamicValue `protobuf:"bytes,1,opt,name=upgraded_state,json=upgradedState,proto3" json:"upgraded_state,omitempty"` 1166 // diagnostics describes any errors encountered during migration that could not 1167 // be safely resolved, and warnings about any possibly-risky assumptions made 1168 // in the upgrade process. 1169 Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 1170 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1171 XXX_unrecognized []byte `json:"-"` 1172 XXX_sizecache int32 `json:"-"` 1173 } 1174 1175 func (m *UpgradeResourceState_Response) Reset() { *m = UpgradeResourceState_Response{} } 1176 func (m *UpgradeResourceState_Response) String() string { return proto.CompactTextString(m) } 1177 func (*UpgradeResourceState_Response) ProtoMessage() {} 1178 func (*UpgradeResourceState_Response) Descriptor() ([]byte, []int) { 1179 return fileDescriptor_17ae6090ff270234, []int{8, 1} 1180 } 1181 1182 func (m *UpgradeResourceState_Response) XXX_Unmarshal(b []byte) error { 1183 return xxx_messageInfo_UpgradeResourceState_Response.Unmarshal(m, b) 1184 } 1185 func (m *UpgradeResourceState_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1186 return xxx_messageInfo_UpgradeResourceState_Response.Marshal(b, m, deterministic) 1187 } 1188 func (m *UpgradeResourceState_Response) XXX_Merge(src proto.Message) { 1189 xxx_messageInfo_UpgradeResourceState_Response.Merge(m, src) 1190 } 1191 func (m *UpgradeResourceState_Response) XXX_Size() int { 1192 return xxx_messageInfo_UpgradeResourceState_Response.Size(m) 1193 } 1194 func (m *UpgradeResourceState_Response) XXX_DiscardUnknown() { 1195 xxx_messageInfo_UpgradeResourceState_Response.DiscardUnknown(m) 1196 } 1197 1198 var xxx_messageInfo_UpgradeResourceState_Response proto.InternalMessageInfo 1199 1200 func (m *UpgradeResourceState_Response) GetUpgradedState() *DynamicValue { 1201 if m != nil { 1202 return m.UpgradedState 1203 } 1204 return nil 1205 } 1206 1207 func (m *UpgradeResourceState_Response) GetDiagnostics() []*Diagnostic { 1208 if m != nil { 1209 return m.Diagnostics 1210 } 1211 return nil 1212 } 1213 1214 type ValidateResourceTypeConfig struct { 1215 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1216 XXX_unrecognized []byte `json:"-"` 1217 XXX_sizecache int32 `json:"-"` 1218 } 1219 1220 func (m *ValidateResourceTypeConfig) Reset() { *m = ValidateResourceTypeConfig{} } 1221 func (m *ValidateResourceTypeConfig) String() string { return proto.CompactTextString(m) } 1222 func (*ValidateResourceTypeConfig) ProtoMessage() {} 1223 func (*ValidateResourceTypeConfig) Descriptor() ([]byte, []int) { 1224 return fileDescriptor_17ae6090ff270234, []int{9} 1225 } 1226 1227 func (m *ValidateResourceTypeConfig) XXX_Unmarshal(b []byte) error { 1228 return xxx_messageInfo_ValidateResourceTypeConfig.Unmarshal(m, b) 1229 } 1230 func (m *ValidateResourceTypeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1231 return xxx_messageInfo_ValidateResourceTypeConfig.Marshal(b, m, deterministic) 1232 } 1233 func (m *ValidateResourceTypeConfig) XXX_Merge(src proto.Message) { 1234 xxx_messageInfo_ValidateResourceTypeConfig.Merge(m, src) 1235 } 1236 func (m *ValidateResourceTypeConfig) XXX_Size() int { 1237 return xxx_messageInfo_ValidateResourceTypeConfig.Size(m) 1238 } 1239 func (m *ValidateResourceTypeConfig) XXX_DiscardUnknown() { 1240 xxx_messageInfo_ValidateResourceTypeConfig.DiscardUnknown(m) 1241 } 1242 1243 var xxx_messageInfo_ValidateResourceTypeConfig proto.InternalMessageInfo 1244 1245 type ValidateResourceTypeConfig_Request struct { 1246 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 1247 Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` 1248 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1249 XXX_unrecognized []byte `json:"-"` 1250 XXX_sizecache int32 `json:"-"` 1251 } 1252 1253 func (m *ValidateResourceTypeConfig_Request) Reset() { *m = ValidateResourceTypeConfig_Request{} } 1254 func (m *ValidateResourceTypeConfig_Request) String() string { return proto.CompactTextString(m) } 1255 func (*ValidateResourceTypeConfig_Request) ProtoMessage() {} 1256 func (*ValidateResourceTypeConfig_Request) Descriptor() ([]byte, []int) { 1257 return fileDescriptor_17ae6090ff270234, []int{9, 0} 1258 } 1259 1260 func (m *ValidateResourceTypeConfig_Request) XXX_Unmarshal(b []byte) error { 1261 return xxx_messageInfo_ValidateResourceTypeConfig_Request.Unmarshal(m, b) 1262 } 1263 func (m *ValidateResourceTypeConfig_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1264 return xxx_messageInfo_ValidateResourceTypeConfig_Request.Marshal(b, m, deterministic) 1265 } 1266 func (m *ValidateResourceTypeConfig_Request) XXX_Merge(src proto.Message) { 1267 xxx_messageInfo_ValidateResourceTypeConfig_Request.Merge(m, src) 1268 } 1269 func (m *ValidateResourceTypeConfig_Request) XXX_Size() int { 1270 return xxx_messageInfo_ValidateResourceTypeConfig_Request.Size(m) 1271 } 1272 func (m *ValidateResourceTypeConfig_Request) XXX_DiscardUnknown() { 1273 xxx_messageInfo_ValidateResourceTypeConfig_Request.DiscardUnknown(m) 1274 } 1275 1276 var xxx_messageInfo_ValidateResourceTypeConfig_Request proto.InternalMessageInfo 1277 1278 func (m *ValidateResourceTypeConfig_Request) GetTypeName() string { 1279 if m != nil { 1280 return m.TypeName 1281 } 1282 return "" 1283 } 1284 1285 func (m *ValidateResourceTypeConfig_Request) GetConfig() *DynamicValue { 1286 if m != nil { 1287 return m.Config 1288 } 1289 return nil 1290 } 1291 1292 type ValidateResourceTypeConfig_Response struct { 1293 Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 1294 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1295 XXX_unrecognized []byte `json:"-"` 1296 XXX_sizecache int32 `json:"-"` 1297 } 1298 1299 func (m *ValidateResourceTypeConfig_Response) Reset() { *m = ValidateResourceTypeConfig_Response{} } 1300 func (m *ValidateResourceTypeConfig_Response) String() string { return proto.CompactTextString(m) } 1301 func (*ValidateResourceTypeConfig_Response) ProtoMessage() {} 1302 func (*ValidateResourceTypeConfig_Response) Descriptor() ([]byte, []int) { 1303 return fileDescriptor_17ae6090ff270234, []int{9, 1} 1304 } 1305 1306 func (m *ValidateResourceTypeConfig_Response) XXX_Unmarshal(b []byte) error { 1307 return xxx_messageInfo_ValidateResourceTypeConfig_Response.Unmarshal(m, b) 1308 } 1309 func (m *ValidateResourceTypeConfig_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1310 return xxx_messageInfo_ValidateResourceTypeConfig_Response.Marshal(b, m, deterministic) 1311 } 1312 func (m *ValidateResourceTypeConfig_Response) XXX_Merge(src proto.Message) { 1313 xxx_messageInfo_ValidateResourceTypeConfig_Response.Merge(m, src) 1314 } 1315 func (m *ValidateResourceTypeConfig_Response) XXX_Size() int { 1316 return xxx_messageInfo_ValidateResourceTypeConfig_Response.Size(m) 1317 } 1318 func (m *ValidateResourceTypeConfig_Response) XXX_DiscardUnknown() { 1319 xxx_messageInfo_ValidateResourceTypeConfig_Response.DiscardUnknown(m) 1320 } 1321 1322 var xxx_messageInfo_ValidateResourceTypeConfig_Response proto.InternalMessageInfo 1323 1324 func (m *ValidateResourceTypeConfig_Response) GetDiagnostics() []*Diagnostic { 1325 if m != nil { 1326 return m.Diagnostics 1327 } 1328 return nil 1329 } 1330 1331 type ValidateDataSourceConfig struct { 1332 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1333 XXX_unrecognized []byte `json:"-"` 1334 XXX_sizecache int32 `json:"-"` 1335 } 1336 1337 func (m *ValidateDataSourceConfig) Reset() { *m = ValidateDataSourceConfig{} } 1338 func (m *ValidateDataSourceConfig) String() string { return proto.CompactTextString(m) } 1339 func (*ValidateDataSourceConfig) ProtoMessage() {} 1340 func (*ValidateDataSourceConfig) Descriptor() ([]byte, []int) { 1341 return fileDescriptor_17ae6090ff270234, []int{10} 1342 } 1343 1344 func (m *ValidateDataSourceConfig) XXX_Unmarshal(b []byte) error { 1345 return xxx_messageInfo_ValidateDataSourceConfig.Unmarshal(m, b) 1346 } 1347 func (m *ValidateDataSourceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1348 return xxx_messageInfo_ValidateDataSourceConfig.Marshal(b, m, deterministic) 1349 } 1350 func (m *ValidateDataSourceConfig) XXX_Merge(src proto.Message) { 1351 xxx_messageInfo_ValidateDataSourceConfig.Merge(m, src) 1352 } 1353 func (m *ValidateDataSourceConfig) XXX_Size() int { 1354 return xxx_messageInfo_ValidateDataSourceConfig.Size(m) 1355 } 1356 func (m *ValidateDataSourceConfig) XXX_DiscardUnknown() { 1357 xxx_messageInfo_ValidateDataSourceConfig.DiscardUnknown(m) 1358 } 1359 1360 var xxx_messageInfo_ValidateDataSourceConfig proto.InternalMessageInfo 1361 1362 type ValidateDataSourceConfig_Request struct { 1363 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 1364 Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` 1365 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1366 XXX_unrecognized []byte `json:"-"` 1367 XXX_sizecache int32 `json:"-"` 1368 } 1369 1370 func (m *ValidateDataSourceConfig_Request) Reset() { *m = ValidateDataSourceConfig_Request{} } 1371 func (m *ValidateDataSourceConfig_Request) String() string { return proto.CompactTextString(m) } 1372 func (*ValidateDataSourceConfig_Request) ProtoMessage() {} 1373 func (*ValidateDataSourceConfig_Request) Descriptor() ([]byte, []int) { 1374 return fileDescriptor_17ae6090ff270234, []int{10, 0} 1375 } 1376 1377 func (m *ValidateDataSourceConfig_Request) XXX_Unmarshal(b []byte) error { 1378 return xxx_messageInfo_ValidateDataSourceConfig_Request.Unmarshal(m, b) 1379 } 1380 func (m *ValidateDataSourceConfig_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1381 return xxx_messageInfo_ValidateDataSourceConfig_Request.Marshal(b, m, deterministic) 1382 } 1383 func (m *ValidateDataSourceConfig_Request) XXX_Merge(src proto.Message) { 1384 xxx_messageInfo_ValidateDataSourceConfig_Request.Merge(m, src) 1385 } 1386 func (m *ValidateDataSourceConfig_Request) XXX_Size() int { 1387 return xxx_messageInfo_ValidateDataSourceConfig_Request.Size(m) 1388 } 1389 func (m *ValidateDataSourceConfig_Request) XXX_DiscardUnknown() { 1390 xxx_messageInfo_ValidateDataSourceConfig_Request.DiscardUnknown(m) 1391 } 1392 1393 var xxx_messageInfo_ValidateDataSourceConfig_Request proto.InternalMessageInfo 1394 1395 func (m *ValidateDataSourceConfig_Request) GetTypeName() string { 1396 if m != nil { 1397 return m.TypeName 1398 } 1399 return "" 1400 } 1401 1402 func (m *ValidateDataSourceConfig_Request) GetConfig() *DynamicValue { 1403 if m != nil { 1404 return m.Config 1405 } 1406 return nil 1407 } 1408 1409 type ValidateDataSourceConfig_Response struct { 1410 Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 1411 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1412 XXX_unrecognized []byte `json:"-"` 1413 XXX_sizecache int32 `json:"-"` 1414 } 1415 1416 func (m *ValidateDataSourceConfig_Response) Reset() { *m = ValidateDataSourceConfig_Response{} } 1417 func (m *ValidateDataSourceConfig_Response) String() string { return proto.CompactTextString(m) } 1418 func (*ValidateDataSourceConfig_Response) ProtoMessage() {} 1419 func (*ValidateDataSourceConfig_Response) Descriptor() ([]byte, []int) { 1420 return fileDescriptor_17ae6090ff270234, []int{10, 1} 1421 } 1422 1423 func (m *ValidateDataSourceConfig_Response) XXX_Unmarshal(b []byte) error { 1424 return xxx_messageInfo_ValidateDataSourceConfig_Response.Unmarshal(m, b) 1425 } 1426 func (m *ValidateDataSourceConfig_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1427 return xxx_messageInfo_ValidateDataSourceConfig_Response.Marshal(b, m, deterministic) 1428 } 1429 func (m *ValidateDataSourceConfig_Response) XXX_Merge(src proto.Message) { 1430 xxx_messageInfo_ValidateDataSourceConfig_Response.Merge(m, src) 1431 } 1432 func (m *ValidateDataSourceConfig_Response) XXX_Size() int { 1433 return xxx_messageInfo_ValidateDataSourceConfig_Response.Size(m) 1434 } 1435 func (m *ValidateDataSourceConfig_Response) XXX_DiscardUnknown() { 1436 xxx_messageInfo_ValidateDataSourceConfig_Response.DiscardUnknown(m) 1437 } 1438 1439 var xxx_messageInfo_ValidateDataSourceConfig_Response proto.InternalMessageInfo 1440 1441 func (m *ValidateDataSourceConfig_Response) GetDiagnostics() []*Diagnostic { 1442 if m != nil { 1443 return m.Diagnostics 1444 } 1445 return nil 1446 } 1447 1448 type Configure struct { 1449 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1450 XXX_unrecognized []byte `json:"-"` 1451 XXX_sizecache int32 `json:"-"` 1452 } 1453 1454 func (m *Configure) Reset() { *m = Configure{} } 1455 func (m *Configure) String() string { return proto.CompactTextString(m) } 1456 func (*Configure) ProtoMessage() {} 1457 func (*Configure) Descriptor() ([]byte, []int) { 1458 return fileDescriptor_17ae6090ff270234, []int{11} 1459 } 1460 1461 func (m *Configure) XXX_Unmarshal(b []byte) error { 1462 return xxx_messageInfo_Configure.Unmarshal(m, b) 1463 } 1464 func (m *Configure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1465 return xxx_messageInfo_Configure.Marshal(b, m, deterministic) 1466 } 1467 func (m *Configure) XXX_Merge(src proto.Message) { 1468 xxx_messageInfo_Configure.Merge(m, src) 1469 } 1470 func (m *Configure) XXX_Size() int { 1471 return xxx_messageInfo_Configure.Size(m) 1472 } 1473 func (m *Configure) XXX_DiscardUnknown() { 1474 xxx_messageInfo_Configure.DiscardUnknown(m) 1475 } 1476 1477 var xxx_messageInfo_Configure proto.InternalMessageInfo 1478 1479 type Configure_Request struct { 1480 TerraformVersion string `protobuf:"bytes,1,opt,name=terraform_version,json=terraformVersion,proto3" json:"terraform_version,omitempty"` 1481 Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` 1482 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1483 XXX_unrecognized []byte `json:"-"` 1484 XXX_sizecache int32 `json:"-"` 1485 } 1486 1487 func (m *Configure_Request) Reset() { *m = Configure_Request{} } 1488 func (m *Configure_Request) String() string { return proto.CompactTextString(m) } 1489 func (*Configure_Request) ProtoMessage() {} 1490 func (*Configure_Request) Descriptor() ([]byte, []int) { 1491 return fileDescriptor_17ae6090ff270234, []int{11, 0} 1492 } 1493 1494 func (m *Configure_Request) XXX_Unmarshal(b []byte) error { 1495 return xxx_messageInfo_Configure_Request.Unmarshal(m, b) 1496 } 1497 func (m *Configure_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1498 return xxx_messageInfo_Configure_Request.Marshal(b, m, deterministic) 1499 } 1500 func (m *Configure_Request) XXX_Merge(src proto.Message) { 1501 xxx_messageInfo_Configure_Request.Merge(m, src) 1502 } 1503 func (m *Configure_Request) XXX_Size() int { 1504 return xxx_messageInfo_Configure_Request.Size(m) 1505 } 1506 func (m *Configure_Request) XXX_DiscardUnknown() { 1507 xxx_messageInfo_Configure_Request.DiscardUnknown(m) 1508 } 1509 1510 var xxx_messageInfo_Configure_Request proto.InternalMessageInfo 1511 1512 func (m *Configure_Request) GetTerraformVersion() string { 1513 if m != nil { 1514 return m.TerraformVersion 1515 } 1516 return "" 1517 } 1518 1519 func (m *Configure_Request) GetConfig() *DynamicValue { 1520 if m != nil { 1521 return m.Config 1522 } 1523 return nil 1524 } 1525 1526 type Configure_Response struct { 1527 Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 1528 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1529 XXX_unrecognized []byte `json:"-"` 1530 XXX_sizecache int32 `json:"-"` 1531 } 1532 1533 func (m *Configure_Response) Reset() { *m = Configure_Response{} } 1534 func (m *Configure_Response) String() string { return proto.CompactTextString(m) } 1535 func (*Configure_Response) ProtoMessage() {} 1536 func (*Configure_Response) Descriptor() ([]byte, []int) { 1537 return fileDescriptor_17ae6090ff270234, []int{11, 1} 1538 } 1539 1540 func (m *Configure_Response) XXX_Unmarshal(b []byte) error { 1541 return xxx_messageInfo_Configure_Response.Unmarshal(m, b) 1542 } 1543 func (m *Configure_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1544 return xxx_messageInfo_Configure_Response.Marshal(b, m, deterministic) 1545 } 1546 func (m *Configure_Response) XXX_Merge(src proto.Message) { 1547 xxx_messageInfo_Configure_Response.Merge(m, src) 1548 } 1549 func (m *Configure_Response) XXX_Size() int { 1550 return xxx_messageInfo_Configure_Response.Size(m) 1551 } 1552 func (m *Configure_Response) XXX_DiscardUnknown() { 1553 xxx_messageInfo_Configure_Response.DiscardUnknown(m) 1554 } 1555 1556 var xxx_messageInfo_Configure_Response proto.InternalMessageInfo 1557 1558 func (m *Configure_Response) GetDiagnostics() []*Diagnostic { 1559 if m != nil { 1560 return m.Diagnostics 1561 } 1562 return nil 1563 } 1564 1565 type ReadResource struct { 1566 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1567 XXX_unrecognized []byte `json:"-"` 1568 XXX_sizecache int32 `json:"-"` 1569 } 1570 1571 func (m *ReadResource) Reset() { *m = ReadResource{} } 1572 func (m *ReadResource) String() string { return proto.CompactTextString(m) } 1573 func (*ReadResource) ProtoMessage() {} 1574 func (*ReadResource) Descriptor() ([]byte, []int) { 1575 return fileDescriptor_17ae6090ff270234, []int{12} 1576 } 1577 1578 func (m *ReadResource) XXX_Unmarshal(b []byte) error { 1579 return xxx_messageInfo_ReadResource.Unmarshal(m, b) 1580 } 1581 func (m *ReadResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1582 return xxx_messageInfo_ReadResource.Marshal(b, m, deterministic) 1583 } 1584 func (m *ReadResource) XXX_Merge(src proto.Message) { 1585 xxx_messageInfo_ReadResource.Merge(m, src) 1586 } 1587 func (m *ReadResource) XXX_Size() int { 1588 return xxx_messageInfo_ReadResource.Size(m) 1589 } 1590 func (m *ReadResource) XXX_DiscardUnknown() { 1591 xxx_messageInfo_ReadResource.DiscardUnknown(m) 1592 } 1593 1594 var xxx_messageInfo_ReadResource proto.InternalMessageInfo 1595 1596 type ReadResource_Request struct { 1597 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 1598 CurrentState *DynamicValue `protobuf:"bytes,2,opt,name=current_state,json=currentState,proto3" json:"current_state,omitempty"` 1599 Private []byte `protobuf:"bytes,3,opt,name=private,proto3" json:"private,omitempty"` 1600 ProviderMeta *DynamicValue `protobuf:"bytes,4,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` 1601 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1602 XXX_unrecognized []byte `json:"-"` 1603 XXX_sizecache int32 `json:"-"` 1604 } 1605 1606 func (m *ReadResource_Request) Reset() { *m = ReadResource_Request{} } 1607 func (m *ReadResource_Request) String() string { return proto.CompactTextString(m) } 1608 func (*ReadResource_Request) ProtoMessage() {} 1609 func (*ReadResource_Request) Descriptor() ([]byte, []int) { 1610 return fileDescriptor_17ae6090ff270234, []int{12, 0} 1611 } 1612 1613 func (m *ReadResource_Request) XXX_Unmarshal(b []byte) error { 1614 return xxx_messageInfo_ReadResource_Request.Unmarshal(m, b) 1615 } 1616 func (m *ReadResource_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1617 return xxx_messageInfo_ReadResource_Request.Marshal(b, m, deterministic) 1618 } 1619 func (m *ReadResource_Request) XXX_Merge(src proto.Message) { 1620 xxx_messageInfo_ReadResource_Request.Merge(m, src) 1621 } 1622 func (m *ReadResource_Request) XXX_Size() int { 1623 return xxx_messageInfo_ReadResource_Request.Size(m) 1624 } 1625 func (m *ReadResource_Request) XXX_DiscardUnknown() { 1626 xxx_messageInfo_ReadResource_Request.DiscardUnknown(m) 1627 } 1628 1629 var xxx_messageInfo_ReadResource_Request proto.InternalMessageInfo 1630 1631 func (m *ReadResource_Request) GetTypeName() string { 1632 if m != nil { 1633 return m.TypeName 1634 } 1635 return "" 1636 } 1637 1638 func (m *ReadResource_Request) GetCurrentState() *DynamicValue { 1639 if m != nil { 1640 return m.CurrentState 1641 } 1642 return nil 1643 } 1644 1645 func (m *ReadResource_Request) GetPrivate() []byte { 1646 if m != nil { 1647 return m.Private 1648 } 1649 return nil 1650 } 1651 1652 func (m *ReadResource_Request) GetProviderMeta() *DynamicValue { 1653 if m != nil { 1654 return m.ProviderMeta 1655 } 1656 return nil 1657 } 1658 1659 type ReadResource_Response struct { 1660 NewState *DynamicValue `protobuf:"bytes,1,opt,name=new_state,json=newState,proto3" json:"new_state,omitempty"` 1661 Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 1662 Private []byte `protobuf:"bytes,3,opt,name=private,proto3" json:"private,omitempty"` 1663 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1664 XXX_unrecognized []byte `json:"-"` 1665 XXX_sizecache int32 `json:"-"` 1666 } 1667 1668 func (m *ReadResource_Response) Reset() { *m = ReadResource_Response{} } 1669 func (m *ReadResource_Response) String() string { return proto.CompactTextString(m) } 1670 func (*ReadResource_Response) ProtoMessage() {} 1671 func (*ReadResource_Response) Descriptor() ([]byte, []int) { 1672 return fileDescriptor_17ae6090ff270234, []int{12, 1} 1673 } 1674 1675 func (m *ReadResource_Response) XXX_Unmarshal(b []byte) error { 1676 return xxx_messageInfo_ReadResource_Response.Unmarshal(m, b) 1677 } 1678 func (m *ReadResource_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1679 return xxx_messageInfo_ReadResource_Response.Marshal(b, m, deterministic) 1680 } 1681 func (m *ReadResource_Response) XXX_Merge(src proto.Message) { 1682 xxx_messageInfo_ReadResource_Response.Merge(m, src) 1683 } 1684 func (m *ReadResource_Response) XXX_Size() int { 1685 return xxx_messageInfo_ReadResource_Response.Size(m) 1686 } 1687 func (m *ReadResource_Response) XXX_DiscardUnknown() { 1688 xxx_messageInfo_ReadResource_Response.DiscardUnknown(m) 1689 } 1690 1691 var xxx_messageInfo_ReadResource_Response proto.InternalMessageInfo 1692 1693 func (m *ReadResource_Response) GetNewState() *DynamicValue { 1694 if m != nil { 1695 return m.NewState 1696 } 1697 return nil 1698 } 1699 1700 func (m *ReadResource_Response) GetDiagnostics() []*Diagnostic { 1701 if m != nil { 1702 return m.Diagnostics 1703 } 1704 return nil 1705 } 1706 1707 func (m *ReadResource_Response) GetPrivate() []byte { 1708 if m != nil { 1709 return m.Private 1710 } 1711 return nil 1712 } 1713 1714 type PlanResourceChange struct { 1715 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1716 XXX_unrecognized []byte `json:"-"` 1717 XXX_sizecache int32 `json:"-"` 1718 } 1719 1720 func (m *PlanResourceChange) Reset() { *m = PlanResourceChange{} } 1721 func (m *PlanResourceChange) String() string { return proto.CompactTextString(m) } 1722 func (*PlanResourceChange) ProtoMessage() {} 1723 func (*PlanResourceChange) Descriptor() ([]byte, []int) { 1724 return fileDescriptor_17ae6090ff270234, []int{13} 1725 } 1726 1727 func (m *PlanResourceChange) XXX_Unmarshal(b []byte) error { 1728 return xxx_messageInfo_PlanResourceChange.Unmarshal(m, b) 1729 } 1730 func (m *PlanResourceChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1731 return xxx_messageInfo_PlanResourceChange.Marshal(b, m, deterministic) 1732 } 1733 func (m *PlanResourceChange) XXX_Merge(src proto.Message) { 1734 xxx_messageInfo_PlanResourceChange.Merge(m, src) 1735 } 1736 func (m *PlanResourceChange) XXX_Size() int { 1737 return xxx_messageInfo_PlanResourceChange.Size(m) 1738 } 1739 func (m *PlanResourceChange) XXX_DiscardUnknown() { 1740 xxx_messageInfo_PlanResourceChange.DiscardUnknown(m) 1741 } 1742 1743 var xxx_messageInfo_PlanResourceChange proto.InternalMessageInfo 1744 1745 type PlanResourceChange_Request struct { 1746 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 1747 PriorState *DynamicValue `protobuf:"bytes,2,opt,name=prior_state,json=priorState,proto3" json:"prior_state,omitempty"` 1748 ProposedNewState *DynamicValue `protobuf:"bytes,3,opt,name=proposed_new_state,json=proposedNewState,proto3" json:"proposed_new_state,omitempty"` 1749 Config *DynamicValue `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"` 1750 PriorPrivate []byte `protobuf:"bytes,5,opt,name=prior_private,json=priorPrivate,proto3" json:"prior_private,omitempty"` 1751 ProviderMeta *DynamicValue `protobuf:"bytes,6,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` 1752 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1753 XXX_unrecognized []byte `json:"-"` 1754 XXX_sizecache int32 `json:"-"` 1755 } 1756 1757 func (m *PlanResourceChange_Request) Reset() { *m = PlanResourceChange_Request{} } 1758 func (m *PlanResourceChange_Request) String() string { return proto.CompactTextString(m) } 1759 func (*PlanResourceChange_Request) ProtoMessage() {} 1760 func (*PlanResourceChange_Request) Descriptor() ([]byte, []int) { 1761 return fileDescriptor_17ae6090ff270234, []int{13, 0} 1762 } 1763 1764 func (m *PlanResourceChange_Request) XXX_Unmarshal(b []byte) error { 1765 return xxx_messageInfo_PlanResourceChange_Request.Unmarshal(m, b) 1766 } 1767 func (m *PlanResourceChange_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1768 return xxx_messageInfo_PlanResourceChange_Request.Marshal(b, m, deterministic) 1769 } 1770 func (m *PlanResourceChange_Request) XXX_Merge(src proto.Message) { 1771 xxx_messageInfo_PlanResourceChange_Request.Merge(m, src) 1772 } 1773 func (m *PlanResourceChange_Request) XXX_Size() int { 1774 return xxx_messageInfo_PlanResourceChange_Request.Size(m) 1775 } 1776 func (m *PlanResourceChange_Request) XXX_DiscardUnknown() { 1777 xxx_messageInfo_PlanResourceChange_Request.DiscardUnknown(m) 1778 } 1779 1780 var xxx_messageInfo_PlanResourceChange_Request proto.InternalMessageInfo 1781 1782 func (m *PlanResourceChange_Request) GetTypeName() string { 1783 if m != nil { 1784 return m.TypeName 1785 } 1786 return "" 1787 } 1788 1789 func (m *PlanResourceChange_Request) GetPriorState() *DynamicValue { 1790 if m != nil { 1791 return m.PriorState 1792 } 1793 return nil 1794 } 1795 1796 func (m *PlanResourceChange_Request) GetProposedNewState() *DynamicValue { 1797 if m != nil { 1798 return m.ProposedNewState 1799 } 1800 return nil 1801 } 1802 1803 func (m *PlanResourceChange_Request) GetConfig() *DynamicValue { 1804 if m != nil { 1805 return m.Config 1806 } 1807 return nil 1808 } 1809 1810 func (m *PlanResourceChange_Request) GetPriorPrivate() []byte { 1811 if m != nil { 1812 return m.PriorPrivate 1813 } 1814 return nil 1815 } 1816 1817 func (m *PlanResourceChange_Request) GetProviderMeta() *DynamicValue { 1818 if m != nil { 1819 return m.ProviderMeta 1820 } 1821 return nil 1822 } 1823 1824 type PlanResourceChange_Response struct { 1825 PlannedState *DynamicValue `protobuf:"bytes,1,opt,name=planned_state,json=plannedState,proto3" json:"planned_state,omitempty"` 1826 RequiresReplace []*AttributePath `protobuf:"bytes,2,rep,name=requires_replace,json=requiresReplace,proto3" json:"requires_replace,omitempty"` 1827 PlannedPrivate []byte `protobuf:"bytes,3,opt,name=planned_private,json=plannedPrivate,proto3" json:"planned_private,omitempty"` 1828 Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 1829 // This may be set only by the helper/schema "SDK" in the main Terraform 1830 // repository, to request that Terraform Core >=0.12 permit additional 1831 // inconsistencies that can result from the legacy SDK type system 1832 // and its imprecise mapping to the >=0.12 type system. 1833 // The change in behavior implied by this flag makes sense only for the 1834 // specific details of the legacy SDK type system, and are not a general 1835 // mechanism to avoid proper type handling in providers. 1836 // 1837 // ==== DO NOT USE THIS ==== 1838 // ==== THIS MUST BE LEFT UNSET IN ALL OTHER SDKS ==== 1839 // ==== DO NOT USE THIS ==== 1840 LegacyTypeSystem bool `protobuf:"varint,5,opt,name=legacy_type_system,json=legacyTypeSystem,proto3" json:"legacy_type_system,omitempty"` 1841 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1842 XXX_unrecognized []byte `json:"-"` 1843 XXX_sizecache int32 `json:"-"` 1844 } 1845 1846 func (m *PlanResourceChange_Response) Reset() { *m = PlanResourceChange_Response{} } 1847 func (m *PlanResourceChange_Response) String() string { return proto.CompactTextString(m) } 1848 func (*PlanResourceChange_Response) ProtoMessage() {} 1849 func (*PlanResourceChange_Response) Descriptor() ([]byte, []int) { 1850 return fileDescriptor_17ae6090ff270234, []int{13, 1} 1851 } 1852 1853 func (m *PlanResourceChange_Response) XXX_Unmarshal(b []byte) error { 1854 return xxx_messageInfo_PlanResourceChange_Response.Unmarshal(m, b) 1855 } 1856 func (m *PlanResourceChange_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1857 return xxx_messageInfo_PlanResourceChange_Response.Marshal(b, m, deterministic) 1858 } 1859 func (m *PlanResourceChange_Response) XXX_Merge(src proto.Message) { 1860 xxx_messageInfo_PlanResourceChange_Response.Merge(m, src) 1861 } 1862 func (m *PlanResourceChange_Response) XXX_Size() int { 1863 return xxx_messageInfo_PlanResourceChange_Response.Size(m) 1864 } 1865 func (m *PlanResourceChange_Response) XXX_DiscardUnknown() { 1866 xxx_messageInfo_PlanResourceChange_Response.DiscardUnknown(m) 1867 } 1868 1869 var xxx_messageInfo_PlanResourceChange_Response proto.InternalMessageInfo 1870 1871 func (m *PlanResourceChange_Response) GetPlannedState() *DynamicValue { 1872 if m != nil { 1873 return m.PlannedState 1874 } 1875 return nil 1876 } 1877 1878 func (m *PlanResourceChange_Response) GetRequiresReplace() []*AttributePath { 1879 if m != nil { 1880 return m.RequiresReplace 1881 } 1882 return nil 1883 } 1884 1885 func (m *PlanResourceChange_Response) GetPlannedPrivate() []byte { 1886 if m != nil { 1887 return m.PlannedPrivate 1888 } 1889 return nil 1890 } 1891 1892 func (m *PlanResourceChange_Response) GetDiagnostics() []*Diagnostic { 1893 if m != nil { 1894 return m.Diagnostics 1895 } 1896 return nil 1897 } 1898 1899 func (m *PlanResourceChange_Response) GetLegacyTypeSystem() bool { 1900 if m != nil { 1901 return m.LegacyTypeSystem 1902 } 1903 return false 1904 } 1905 1906 type ApplyResourceChange struct { 1907 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1908 XXX_unrecognized []byte `json:"-"` 1909 XXX_sizecache int32 `json:"-"` 1910 } 1911 1912 func (m *ApplyResourceChange) Reset() { *m = ApplyResourceChange{} } 1913 func (m *ApplyResourceChange) String() string { return proto.CompactTextString(m) } 1914 func (*ApplyResourceChange) ProtoMessage() {} 1915 func (*ApplyResourceChange) Descriptor() ([]byte, []int) { 1916 return fileDescriptor_17ae6090ff270234, []int{14} 1917 } 1918 1919 func (m *ApplyResourceChange) XXX_Unmarshal(b []byte) error { 1920 return xxx_messageInfo_ApplyResourceChange.Unmarshal(m, b) 1921 } 1922 func (m *ApplyResourceChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1923 return xxx_messageInfo_ApplyResourceChange.Marshal(b, m, deterministic) 1924 } 1925 func (m *ApplyResourceChange) XXX_Merge(src proto.Message) { 1926 xxx_messageInfo_ApplyResourceChange.Merge(m, src) 1927 } 1928 func (m *ApplyResourceChange) XXX_Size() int { 1929 return xxx_messageInfo_ApplyResourceChange.Size(m) 1930 } 1931 func (m *ApplyResourceChange) XXX_DiscardUnknown() { 1932 xxx_messageInfo_ApplyResourceChange.DiscardUnknown(m) 1933 } 1934 1935 var xxx_messageInfo_ApplyResourceChange proto.InternalMessageInfo 1936 1937 type ApplyResourceChange_Request struct { 1938 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 1939 PriorState *DynamicValue `protobuf:"bytes,2,opt,name=prior_state,json=priorState,proto3" json:"prior_state,omitempty"` 1940 PlannedState *DynamicValue `protobuf:"bytes,3,opt,name=planned_state,json=plannedState,proto3" json:"planned_state,omitempty"` 1941 Config *DynamicValue `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"` 1942 PlannedPrivate []byte `protobuf:"bytes,5,opt,name=planned_private,json=plannedPrivate,proto3" json:"planned_private,omitempty"` 1943 ProviderMeta *DynamicValue `protobuf:"bytes,6,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` 1944 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1945 XXX_unrecognized []byte `json:"-"` 1946 XXX_sizecache int32 `json:"-"` 1947 } 1948 1949 func (m *ApplyResourceChange_Request) Reset() { *m = ApplyResourceChange_Request{} } 1950 func (m *ApplyResourceChange_Request) String() string { return proto.CompactTextString(m) } 1951 func (*ApplyResourceChange_Request) ProtoMessage() {} 1952 func (*ApplyResourceChange_Request) Descriptor() ([]byte, []int) { 1953 return fileDescriptor_17ae6090ff270234, []int{14, 0} 1954 } 1955 1956 func (m *ApplyResourceChange_Request) XXX_Unmarshal(b []byte) error { 1957 return xxx_messageInfo_ApplyResourceChange_Request.Unmarshal(m, b) 1958 } 1959 func (m *ApplyResourceChange_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1960 return xxx_messageInfo_ApplyResourceChange_Request.Marshal(b, m, deterministic) 1961 } 1962 func (m *ApplyResourceChange_Request) XXX_Merge(src proto.Message) { 1963 xxx_messageInfo_ApplyResourceChange_Request.Merge(m, src) 1964 } 1965 func (m *ApplyResourceChange_Request) XXX_Size() int { 1966 return xxx_messageInfo_ApplyResourceChange_Request.Size(m) 1967 } 1968 func (m *ApplyResourceChange_Request) XXX_DiscardUnknown() { 1969 xxx_messageInfo_ApplyResourceChange_Request.DiscardUnknown(m) 1970 } 1971 1972 var xxx_messageInfo_ApplyResourceChange_Request proto.InternalMessageInfo 1973 1974 func (m *ApplyResourceChange_Request) GetTypeName() string { 1975 if m != nil { 1976 return m.TypeName 1977 } 1978 return "" 1979 } 1980 1981 func (m *ApplyResourceChange_Request) GetPriorState() *DynamicValue { 1982 if m != nil { 1983 return m.PriorState 1984 } 1985 return nil 1986 } 1987 1988 func (m *ApplyResourceChange_Request) GetPlannedState() *DynamicValue { 1989 if m != nil { 1990 return m.PlannedState 1991 } 1992 return nil 1993 } 1994 1995 func (m *ApplyResourceChange_Request) GetConfig() *DynamicValue { 1996 if m != nil { 1997 return m.Config 1998 } 1999 return nil 2000 } 2001 2002 func (m *ApplyResourceChange_Request) GetPlannedPrivate() []byte { 2003 if m != nil { 2004 return m.PlannedPrivate 2005 } 2006 return nil 2007 } 2008 2009 func (m *ApplyResourceChange_Request) GetProviderMeta() *DynamicValue { 2010 if m != nil { 2011 return m.ProviderMeta 2012 } 2013 return nil 2014 } 2015 2016 type ApplyResourceChange_Response struct { 2017 NewState *DynamicValue `protobuf:"bytes,1,opt,name=new_state,json=newState,proto3" json:"new_state,omitempty"` 2018 Private []byte `protobuf:"bytes,2,opt,name=private,proto3" json:"private,omitempty"` 2019 Diagnostics []*Diagnostic `protobuf:"bytes,3,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 2020 // This may be set only by the helper/schema "SDK" in the main Terraform 2021 // repository, to request that Terraform Core >=0.12 permit additional 2022 // inconsistencies that can result from the legacy SDK type system 2023 // and its imprecise mapping to the >=0.12 type system. 2024 // The change in behavior implied by this flag makes sense only for the 2025 // specific details of the legacy SDK type system, and are not a general 2026 // mechanism to avoid proper type handling in providers. 2027 // 2028 // ==== DO NOT USE THIS ==== 2029 // ==== THIS MUST BE LEFT UNSET IN ALL OTHER SDKS ==== 2030 // ==== DO NOT USE THIS ==== 2031 LegacyTypeSystem bool `protobuf:"varint,4,opt,name=legacy_type_system,json=legacyTypeSystem,proto3" json:"legacy_type_system,omitempty"` 2032 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2033 XXX_unrecognized []byte `json:"-"` 2034 XXX_sizecache int32 `json:"-"` 2035 } 2036 2037 func (m *ApplyResourceChange_Response) Reset() { *m = ApplyResourceChange_Response{} } 2038 func (m *ApplyResourceChange_Response) String() string { return proto.CompactTextString(m) } 2039 func (*ApplyResourceChange_Response) ProtoMessage() {} 2040 func (*ApplyResourceChange_Response) Descriptor() ([]byte, []int) { 2041 return fileDescriptor_17ae6090ff270234, []int{14, 1} 2042 } 2043 2044 func (m *ApplyResourceChange_Response) XXX_Unmarshal(b []byte) error { 2045 return xxx_messageInfo_ApplyResourceChange_Response.Unmarshal(m, b) 2046 } 2047 func (m *ApplyResourceChange_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2048 return xxx_messageInfo_ApplyResourceChange_Response.Marshal(b, m, deterministic) 2049 } 2050 func (m *ApplyResourceChange_Response) XXX_Merge(src proto.Message) { 2051 xxx_messageInfo_ApplyResourceChange_Response.Merge(m, src) 2052 } 2053 func (m *ApplyResourceChange_Response) XXX_Size() int { 2054 return xxx_messageInfo_ApplyResourceChange_Response.Size(m) 2055 } 2056 func (m *ApplyResourceChange_Response) XXX_DiscardUnknown() { 2057 xxx_messageInfo_ApplyResourceChange_Response.DiscardUnknown(m) 2058 } 2059 2060 var xxx_messageInfo_ApplyResourceChange_Response proto.InternalMessageInfo 2061 2062 func (m *ApplyResourceChange_Response) GetNewState() *DynamicValue { 2063 if m != nil { 2064 return m.NewState 2065 } 2066 return nil 2067 } 2068 2069 func (m *ApplyResourceChange_Response) GetPrivate() []byte { 2070 if m != nil { 2071 return m.Private 2072 } 2073 return nil 2074 } 2075 2076 func (m *ApplyResourceChange_Response) GetDiagnostics() []*Diagnostic { 2077 if m != nil { 2078 return m.Diagnostics 2079 } 2080 return nil 2081 } 2082 2083 func (m *ApplyResourceChange_Response) GetLegacyTypeSystem() bool { 2084 if m != nil { 2085 return m.LegacyTypeSystem 2086 } 2087 return false 2088 } 2089 2090 type ImportResourceState struct { 2091 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2092 XXX_unrecognized []byte `json:"-"` 2093 XXX_sizecache int32 `json:"-"` 2094 } 2095 2096 func (m *ImportResourceState) Reset() { *m = ImportResourceState{} } 2097 func (m *ImportResourceState) String() string { return proto.CompactTextString(m) } 2098 func (*ImportResourceState) ProtoMessage() {} 2099 func (*ImportResourceState) Descriptor() ([]byte, []int) { 2100 return fileDescriptor_17ae6090ff270234, []int{15} 2101 } 2102 2103 func (m *ImportResourceState) XXX_Unmarshal(b []byte) error { 2104 return xxx_messageInfo_ImportResourceState.Unmarshal(m, b) 2105 } 2106 func (m *ImportResourceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2107 return xxx_messageInfo_ImportResourceState.Marshal(b, m, deterministic) 2108 } 2109 func (m *ImportResourceState) XXX_Merge(src proto.Message) { 2110 xxx_messageInfo_ImportResourceState.Merge(m, src) 2111 } 2112 func (m *ImportResourceState) XXX_Size() int { 2113 return xxx_messageInfo_ImportResourceState.Size(m) 2114 } 2115 func (m *ImportResourceState) XXX_DiscardUnknown() { 2116 xxx_messageInfo_ImportResourceState.DiscardUnknown(m) 2117 } 2118 2119 var xxx_messageInfo_ImportResourceState proto.InternalMessageInfo 2120 2121 type ImportResourceState_Request struct { 2122 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 2123 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 2124 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2125 XXX_unrecognized []byte `json:"-"` 2126 XXX_sizecache int32 `json:"-"` 2127 } 2128 2129 func (m *ImportResourceState_Request) Reset() { *m = ImportResourceState_Request{} } 2130 func (m *ImportResourceState_Request) String() string { return proto.CompactTextString(m) } 2131 func (*ImportResourceState_Request) ProtoMessage() {} 2132 func (*ImportResourceState_Request) Descriptor() ([]byte, []int) { 2133 return fileDescriptor_17ae6090ff270234, []int{15, 0} 2134 } 2135 2136 func (m *ImportResourceState_Request) XXX_Unmarshal(b []byte) error { 2137 return xxx_messageInfo_ImportResourceState_Request.Unmarshal(m, b) 2138 } 2139 func (m *ImportResourceState_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2140 return xxx_messageInfo_ImportResourceState_Request.Marshal(b, m, deterministic) 2141 } 2142 func (m *ImportResourceState_Request) XXX_Merge(src proto.Message) { 2143 xxx_messageInfo_ImportResourceState_Request.Merge(m, src) 2144 } 2145 func (m *ImportResourceState_Request) XXX_Size() int { 2146 return xxx_messageInfo_ImportResourceState_Request.Size(m) 2147 } 2148 func (m *ImportResourceState_Request) XXX_DiscardUnknown() { 2149 xxx_messageInfo_ImportResourceState_Request.DiscardUnknown(m) 2150 } 2151 2152 var xxx_messageInfo_ImportResourceState_Request proto.InternalMessageInfo 2153 2154 func (m *ImportResourceState_Request) GetTypeName() string { 2155 if m != nil { 2156 return m.TypeName 2157 } 2158 return "" 2159 } 2160 2161 func (m *ImportResourceState_Request) GetId() string { 2162 if m != nil { 2163 return m.Id 2164 } 2165 return "" 2166 } 2167 2168 type ImportResourceState_ImportedResource struct { 2169 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 2170 State *DynamicValue `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` 2171 Private []byte `protobuf:"bytes,3,opt,name=private,proto3" json:"private,omitempty"` 2172 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2173 XXX_unrecognized []byte `json:"-"` 2174 XXX_sizecache int32 `json:"-"` 2175 } 2176 2177 func (m *ImportResourceState_ImportedResource) Reset() { *m = ImportResourceState_ImportedResource{} } 2178 func (m *ImportResourceState_ImportedResource) String() string { return proto.CompactTextString(m) } 2179 func (*ImportResourceState_ImportedResource) ProtoMessage() {} 2180 func (*ImportResourceState_ImportedResource) Descriptor() ([]byte, []int) { 2181 return fileDescriptor_17ae6090ff270234, []int{15, 1} 2182 } 2183 2184 func (m *ImportResourceState_ImportedResource) XXX_Unmarshal(b []byte) error { 2185 return xxx_messageInfo_ImportResourceState_ImportedResource.Unmarshal(m, b) 2186 } 2187 func (m *ImportResourceState_ImportedResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2188 return xxx_messageInfo_ImportResourceState_ImportedResource.Marshal(b, m, deterministic) 2189 } 2190 func (m *ImportResourceState_ImportedResource) XXX_Merge(src proto.Message) { 2191 xxx_messageInfo_ImportResourceState_ImportedResource.Merge(m, src) 2192 } 2193 func (m *ImportResourceState_ImportedResource) XXX_Size() int { 2194 return xxx_messageInfo_ImportResourceState_ImportedResource.Size(m) 2195 } 2196 func (m *ImportResourceState_ImportedResource) XXX_DiscardUnknown() { 2197 xxx_messageInfo_ImportResourceState_ImportedResource.DiscardUnknown(m) 2198 } 2199 2200 var xxx_messageInfo_ImportResourceState_ImportedResource proto.InternalMessageInfo 2201 2202 func (m *ImportResourceState_ImportedResource) GetTypeName() string { 2203 if m != nil { 2204 return m.TypeName 2205 } 2206 return "" 2207 } 2208 2209 func (m *ImportResourceState_ImportedResource) GetState() *DynamicValue { 2210 if m != nil { 2211 return m.State 2212 } 2213 return nil 2214 } 2215 2216 func (m *ImportResourceState_ImportedResource) GetPrivate() []byte { 2217 if m != nil { 2218 return m.Private 2219 } 2220 return nil 2221 } 2222 2223 type ImportResourceState_Response struct { 2224 ImportedResources []*ImportResourceState_ImportedResource `protobuf:"bytes,1,rep,name=imported_resources,json=importedResources,proto3" json:"imported_resources,omitempty"` 2225 Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 2226 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2227 XXX_unrecognized []byte `json:"-"` 2228 XXX_sizecache int32 `json:"-"` 2229 } 2230 2231 func (m *ImportResourceState_Response) Reset() { *m = ImportResourceState_Response{} } 2232 func (m *ImportResourceState_Response) String() string { return proto.CompactTextString(m) } 2233 func (*ImportResourceState_Response) ProtoMessage() {} 2234 func (*ImportResourceState_Response) Descriptor() ([]byte, []int) { 2235 return fileDescriptor_17ae6090ff270234, []int{15, 2} 2236 } 2237 2238 func (m *ImportResourceState_Response) XXX_Unmarshal(b []byte) error { 2239 return xxx_messageInfo_ImportResourceState_Response.Unmarshal(m, b) 2240 } 2241 func (m *ImportResourceState_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2242 return xxx_messageInfo_ImportResourceState_Response.Marshal(b, m, deterministic) 2243 } 2244 func (m *ImportResourceState_Response) XXX_Merge(src proto.Message) { 2245 xxx_messageInfo_ImportResourceState_Response.Merge(m, src) 2246 } 2247 func (m *ImportResourceState_Response) XXX_Size() int { 2248 return xxx_messageInfo_ImportResourceState_Response.Size(m) 2249 } 2250 func (m *ImportResourceState_Response) XXX_DiscardUnknown() { 2251 xxx_messageInfo_ImportResourceState_Response.DiscardUnknown(m) 2252 } 2253 2254 var xxx_messageInfo_ImportResourceState_Response proto.InternalMessageInfo 2255 2256 func (m *ImportResourceState_Response) GetImportedResources() []*ImportResourceState_ImportedResource { 2257 if m != nil { 2258 return m.ImportedResources 2259 } 2260 return nil 2261 } 2262 2263 func (m *ImportResourceState_Response) GetDiagnostics() []*Diagnostic { 2264 if m != nil { 2265 return m.Diagnostics 2266 } 2267 return nil 2268 } 2269 2270 type ReadDataSource struct { 2271 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2272 XXX_unrecognized []byte `json:"-"` 2273 XXX_sizecache int32 `json:"-"` 2274 } 2275 2276 func (m *ReadDataSource) Reset() { *m = ReadDataSource{} } 2277 func (m *ReadDataSource) String() string { return proto.CompactTextString(m) } 2278 func (*ReadDataSource) ProtoMessage() {} 2279 func (*ReadDataSource) Descriptor() ([]byte, []int) { 2280 return fileDescriptor_17ae6090ff270234, []int{16} 2281 } 2282 2283 func (m *ReadDataSource) XXX_Unmarshal(b []byte) error { 2284 return xxx_messageInfo_ReadDataSource.Unmarshal(m, b) 2285 } 2286 func (m *ReadDataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2287 return xxx_messageInfo_ReadDataSource.Marshal(b, m, deterministic) 2288 } 2289 func (m *ReadDataSource) XXX_Merge(src proto.Message) { 2290 xxx_messageInfo_ReadDataSource.Merge(m, src) 2291 } 2292 func (m *ReadDataSource) XXX_Size() int { 2293 return xxx_messageInfo_ReadDataSource.Size(m) 2294 } 2295 func (m *ReadDataSource) XXX_DiscardUnknown() { 2296 xxx_messageInfo_ReadDataSource.DiscardUnknown(m) 2297 } 2298 2299 var xxx_messageInfo_ReadDataSource proto.InternalMessageInfo 2300 2301 type ReadDataSource_Request struct { 2302 TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` 2303 Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` 2304 ProviderMeta *DynamicValue `protobuf:"bytes,3,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` 2305 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2306 XXX_unrecognized []byte `json:"-"` 2307 XXX_sizecache int32 `json:"-"` 2308 } 2309 2310 func (m *ReadDataSource_Request) Reset() { *m = ReadDataSource_Request{} } 2311 func (m *ReadDataSource_Request) String() string { return proto.CompactTextString(m) } 2312 func (*ReadDataSource_Request) ProtoMessage() {} 2313 func (*ReadDataSource_Request) Descriptor() ([]byte, []int) { 2314 return fileDescriptor_17ae6090ff270234, []int{16, 0} 2315 } 2316 2317 func (m *ReadDataSource_Request) XXX_Unmarshal(b []byte) error { 2318 return xxx_messageInfo_ReadDataSource_Request.Unmarshal(m, b) 2319 } 2320 func (m *ReadDataSource_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2321 return xxx_messageInfo_ReadDataSource_Request.Marshal(b, m, deterministic) 2322 } 2323 func (m *ReadDataSource_Request) XXX_Merge(src proto.Message) { 2324 xxx_messageInfo_ReadDataSource_Request.Merge(m, src) 2325 } 2326 func (m *ReadDataSource_Request) XXX_Size() int { 2327 return xxx_messageInfo_ReadDataSource_Request.Size(m) 2328 } 2329 func (m *ReadDataSource_Request) XXX_DiscardUnknown() { 2330 xxx_messageInfo_ReadDataSource_Request.DiscardUnknown(m) 2331 } 2332 2333 var xxx_messageInfo_ReadDataSource_Request proto.InternalMessageInfo 2334 2335 func (m *ReadDataSource_Request) GetTypeName() string { 2336 if m != nil { 2337 return m.TypeName 2338 } 2339 return "" 2340 } 2341 2342 func (m *ReadDataSource_Request) GetConfig() *DynamicValue { 2343 if m != nil { 2344 return m.Config 2345 } 2346 return nil 2347 } 2348 2349 func (m *ReadDataSource_Request) GetProviderMeta() *DynamicValue { 2350 if m != nil { 2351 return m.ProviderMeta 2352 } 2353 return nil 2354 } 2355 2356 type ReadDataSource_Response struct { 2357 State *DynamicValue `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` 2358 Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 2359 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2360 XXX_unrecognized []byte `json:"-"` 2361 XXX_sizecache int32 `json:"-"` 2362 } 2363 2364 func (m *ReadDataSource_Response) Reset() { *m = ReadDataSource_Response{} } 2365 func (m *ReadDataSource_Response) String() string { return proto.CompactTextString(m) } 2366 func (*ReadDataSource_Response) ProtoMessage() {} 2367 func (*ReadDataSource_Response) Descriptor() ([]byte, []int) { 2368 return fileDescriptor_17ae6090ff270234, []int{16, 1} 2369 } 2370 2371 func (m *ReadDataSource_Response) XXX_Unmarshal(b []byte) error { 2372 return xxx_messageInfo_ReadDataSource_Response.Unmarshal(m, b) 2373 } 2374 func (m *ReadDataSource_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2375 return xxx_messageInfo_ReadDataSource_Response.Marshal(b, m, deterministic) 2376 } 2377 func (m *ReadDataSource_Response) XXX_Merge(src proto.Message) { 2378 xxx_messageInfo_ReadDataSource_Response.Merge(m, src) 2379 } 2380 func (m *ReadDataSource_Response) XXX_Size() int { 2381 return xxx_messageInfo_ReadDataSource_Response.Size(m) 2382 } 2383 func (m *ReadDataSource_Response) XXX_DiscardUnknown() { 2384 xxx_messageInfo_ReadDataSource_Response.DiscardUnknown(m) 2385 } 2386 2387 var xxx_messageInfo_ReadDataSource_Response proto.InternalMessageInfo 2388 2389 func (m *ReadDataSource_Response) GetState() *DynamicValue { 2390 if m != nil { 2391 return m.State 2392 } 2393 return nil 2394 } 2395 2396 func (m *ReadDataSource_Response) GetDiagnostics() []*Diagnostic { 2397 if m != nil { 2398 return m.Diagnostics 2399 } 2400 return nil 2401 } 2402 2403 type GetProvisionerSchema struct { 2404 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2405 XXX_unrecognized []byte `json:"-"` 2406 XXX_sizecache int32 `json:"-"` 2407 } 2408 2409 func (m *GetProvisionerSchema) Reset() { *m = GetProvisionerSchema{} } 2410 func (m *GetProvisionerSchema) String() string { return proto.CompactTextString(m) } 2411 func (*GetProvisionerSchema) ProtoMessage() {} 2412 func (*GetProvisionerSchema) Descriptor() ([]byte, []int) { 2413 return fileDescriptor_17ae6090ff270234, []int{17} 2414 } 2415 2416 func (m *GetProvisionerSchema) XXX_Unmarshal(b []byte) error { 2417 return xxx_messageInfo_GetProvisionerSchema.Unmarshal(m, b) 2418 } 2419 func (m *GetProvisionerSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2420 return xxx_messageInfo_GetProvisionerSchema.Marshal(b, m, deterministic) 2421 } 2422 func (m *GetProvisionerSchema) XXX_Merge(src proto.Message) { 2423 xxx_messageInfo_GetProvisionerSchema.Merge(m, src) 2424 } 2425 func (m *GetProvisionerSchema) XXX_Size() int { 2426 return xxx_messageInfo_GetProvisionerSchema.Size(m) 2427 } 2428 func (m *GetProvisionerSchema) XXX_DiscardUnknown() { 2429 xxx_messageInfo_GetProvisionerSchema.DiscardUnknown(m) 2430 } 2431 2432 var xxx_messageInfo_GetProvisionerSchema proto.InternalMessageInfo 2433 2434 type GetProvisionerSchema_Request struct { 2435 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2436 XXX_unrecognized []byte `json:"-"` 2437 XXX_sizecache int32 `json:"-"` 2438 } 2439 2440 func (m *GetProvisionerSchema_Request) Reset() { *m = GetProvisionerSchema_Request{} } 2441 func (m *GetProvisionerSchema_Request) String() string { return proto.CompactTextString(m) } 2442 func (*GetProvisionerSchema_Request) ProtoMessage() {} 2443 func (*GetProvisionerSchema_Request) Descriptor() ([]byte, []int) { 2444 return fileDescriptor_17ae6090ff270234, []int{17, 0} 2445 } 2446 2447 func (m *GetProvisionerSchema_Request) XXX_Unmarshal(b []byte) error { 2448 return xxx_messageInfo_GetProvisionerSchema_Request.Unmarshal(m, b) 2449 } 2450 func (m *GetProvisionerSchema_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2451 return xxx_messageInfo_GetProvisionerSchema_Request.Marshal(b, m, deterministic) 2452 } 2453 func (m *GetProvisionerSchema_Request) XXX_Merge(src proto.Message) { 2454 xxx_messageInfo_GetProvisionerSchema_Request.Merge(m, src) 2455 } 2456 func (m *GetProvisionerSchema_Request) XXX_Size() int { 2457 return xxx_messageInfo_GetProvisionerSchema_Request.Size(m) 2458 } 2459 func (m *GetProvisionerSchema_Request) XXX_DiscardUnknown() { 2460 xxx_messageInfo_GetProvisionerSchema_Request.DiscardUnknown(m) 2461 } 2462 2463 var xxx_messageInfo_GetProvisionerSchema_Request proto.InternalMessageInfo 2464 2465 type GetProvisionerSchema_Response struct { 2466 Provisioner *Schema `protobuf:"bytes,1,opt,name=provisioner,proto3" json:"provisioner,omitempty"` 2467 Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 2468 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2469 XXX_unrecognized []byte `json:"-"` 2470 XXX_sizecache int32 `json:"-"` 2471 } 2472 2473 func (m *GetProvisionerSchema_Response) Reset() { *m = GetProvisionerSchema_Response{} } 2474 func (m *GetProvisionerSchema_Response) String() string { return proto.CompactTextString(m) } 2475 func (*GetProvisionerSchema_Response) ProtoMessage() {} 2476 func (*GetProvisionerSchema_Response) Descriptor() ([]byte, []int) { 2477 return fileDescriptor_17ae6090ff270234, []int{17, 1} 2478 } 2479 2480 func (m *GetProvisionerSchema_Response) XXX_Unmarshal(b []byte) error { 2481 return xxx_messageInfo_GetProvisionerSchema_Response.Unmarshal(m, b) 2482 } 2483 func (m *GetProvisionerSchema_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2484 return xxx_messageInfo_GetProvisionerSchema_Response.Marshal(b, m, deterministic) 2485 } 2486 func (m *GetProvisionerSchema_Response) XXX_Merge(src proto.Message) { 2487 xxx_messageInfo_GetProvisionerSchema_Response.Merge(m, src) 2488 } 2489 func (m *GetProvisionerSchema_Response) XXX_Size() int { 2490 return xxx_messageInfo_GetProvisionerSchema_Response.Size(m) 2491 } 2492 func (m *GetProvisionerSchema_Response) XXX_DiscardUnknown() { 2493 xxx_messageInfo_GetProvisionerSchema_Response.DiscardUnknown(m) 2494 } 2495 2496 var xxx_messageInfo_GetProvisionerSchema_Response proto.InternalMessageInfo 2497 2498 func (m *GetProvisionerSchema_Response) GetProvisioner() *Schema { 2499 if m != nil { 2500 return m.Provisioner 2501 } 2502 return nil 2503 } 2504 2505 func (m *GetProvisionerSchema_Response) GetDiagnostics() []*Diagnostic { 2506 if m != nil { 2507 return m.Diagnostics 2508 } 2509 return nil 2510 } 2511 2512 type ValidateProvisionerConfig struct { 2513 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2514 XXX_unrecognized []byte `json:"-"` 2515 XXX_sizecache int32 `json:"-"` 2516 } 2517 2518 func (m *ValidateProvisionerConfig) Reset() { *m = ValidateProvisionerConfig{} } 2519 func (m *ValidateProvisionerConfig) String() string { return proto.CompactTextString(m) } 2520 func (*ValidateProvisionerConfig) ProtoMessage() {} 2521 func (*ValidateProvisionerConfig) Descriptor() ([]byte, []int) { 2522 return fileDescriptor_17ae6090ff270234, []int{18} 2523 } 2524 2525 func (m *ValidateProvisionerConfig) XXX_Unmarshal(b []byte) error { 2526 return xxx_messageInfo_ValidateProvisionerConfig.Unmarshal(m, b) 2527 } 2528 func (m *ValidateProvisionerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2529 return xxx_messageInfo_ValidateProvisionerConfig.Marshal(b, m, deterministic) 2530 } 2531 func (m *ValidateProvisionerConfig) XXX_Merge(src proto.Message) { 2532 xxx_messageInfo_ValidateProvisionerConfig.Merge(m, src) 2533 } 2534 func (m *ValidateProvisionerConfig) XXX_Size() int { 2535 return xxx_messageInfo_ValidateProvisionerConfig.Size(m) 2536 } 2537 func (m *ValidateProvisionerConfig) XXX_DiscardUnknown() { 2538 xxx_messageInfo_ValidateProvisionerConfig.DiscardUnknown(m) 2539 } 2540 2541 var xxx_messageInfo_ValidateProvisionerConfig proto.InternalMessageInfo 2542 2543 type ValidateProvisionerConfig_Request struct { 2544 Config *DynamicValue `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` 2545 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2546 XXX_unrecognized []byte `json:"-"` 2547 XXX_sizecache int32 `json:"-"` 2548 } 2549 2550 func (m *ValidateProvisionerConfig_Request) Reset() { *m = ValidateProvisionerConfig_Request{} } 2551 func (m *ValidateProvisionerConfig_Request) String() string { return proto.CompactTextString(m) } 2552 func (*ValidateProvisionerConfig_Request) ProtoMessage() {} 2553 func (*ValidateProvisionerConfig_Request) Descriptor() ([]byte, []int) { 2554 return fileDescriptor_17ae6090ff270234, []int{18, 0} 2555 } 2556 2557 func (m *ValidateProvisionerConfig_Request) XXX_Unmarshal(b []byte) error { 2558 return xxx_messageInfo_ValidateProvisionerConfig_Request.Unmarshal(m, b) 2559 } 2560 func (m *ValidateProvisionerConfig_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2561 return xxx_messageInfo_ValidateProvisionerConfig_Request.Marshal(b, m, deterministic) 2562 } 2563 func (m *ValidateProvisionerConfig_Request) XXX_Merge(src proto.Message) { 2564 xxx_messageInfo_ValidateProvisionerConfig_Request.Merge(m, src) 2565 } 2566 func (m *ValidateProvisionerConfig_Request) XXX_Size() int { 2567 return xxx_messageInfo_ValidateProvisionerConfig_Request.Size(m) 2568 } 2569 func (m *ValidateProvisionerConfig_Request) XXX_DiscardUnknown() { 2570 xxx_messageInfo_ValidateProvisionerConfig_Request.DiscardUnknown(m) 2571 } 2572 2573 var xxx_messageInfo_ValidateProvisionerConfig_Request proto.InternalMessageInfo 2574 2575 func (m *ValidateProvisionerConfig_Request) GetConfig() *DynamicValue { 2576 if m != nil { 2577 return m.Config 2578 } 2579 return nil 2580 } 2581 2582 type ValidateProvisionerConfig_Response struct { 2583 Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 2584 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2585 XXX_unrecognized []byte `json:"-"` 2586 XXX_sizecache int32 `json:"-"` 2587 } 2588 2589 func (m *ValidateProvisionerConfig_Response) Reset() { *m = ValidateProvisionerConfig_Response{} } 2590 func (m *ValidateProvisionerConfig_Response) String() string { return proto.CompactTextString(m) } 2591 func (*ValidateProvisionerConfig_Response) ProtoMessage() {} 2592 func (*ValidateProvisionerConfig_Response) Descriptor() ([]byte, []int) { 2593 return fileDescriptor_17ae6090ff270234, []int{18, 1} 2594 } 2595 2596 func (m *ValidateProvisionerConfig_Response) XXX_Unmarshal(b []byte) error { 2597 return xxx_messageInfo_ValidateProvisionerConfig_Response.Unmarshal(m, b) 2598 } 2599 func (m *ValidateProvisionerConfig_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2600 return xxx_messageInfo_ValidateProvisionerConfig_Response.Marshal(b, m, deterministic) 2601 } 2602 func (m *ValidateProvisionerConfig_Response) XXX_Merge(src proto.Message) { 2603 xxx_messageInfo_ValidateProvisionerConfig_Response.Merge(m, src) 2604 } 2605 func (m *ValidateProvisionerConfig_Response) XXX_Size() int { 2606 return xxx_messageInfo_ValidateProvisionerConfig_Response.Size(m) 2607 } 2608 func (m *ValidateProvisionerConfig_Response) XXX_DiscardUnknown() { 2609 xxx_messageInfo_ValidateProvisionerConfig_Response.DiscardUnknown(m) 2610 } 2611 2612 var xxx_messageInfo_ValidateProvisionerConfig_Response proto.InternalMessageInfo 2613 2614 func (m *ValidateProvisionerConfig_Response) GetDiagnostics() []*Diagnostic { 2615 if m != nil { 2616 return m.Diagnostics 2617 } 2618 return nil 2619 } 2620 2621 type ProvisionResource struct { 2622 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2623 XXX_unrecognized []byte `json:"-"` 2624 XXX_sizecache int32 `json:"-"` 2625 } 2626 2627 func (m *ProvisionResource) Reset() { *m = ProvisionResource{} } 2628 func (m *ProvisionResource) String() string { return proto.CompactTextString(m) } 2629 func (*ProvisionResource) ProtoMessage() {} 2630 func (*ProvisionResource) Descriptor() ([]byte, []int) { 2631 return fileDescriptor_17ae6090ff270234, []int{19} 2632 } 2633 2634 func (m *ProvisionResource) XXX_Unmarshal(b []byte) error { 2635 return xxx_messageInfo_ProvisionResource.Unmarshal(m, b) 2636 } 2637 func (m *ProvisionResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2638 return xxx_messageInfo_ProvisionResource.Marshal(b, m, deterministic) 2639 } 2640 func (m *ProvisionResource) XXX_Merge(src proto.Message) { 2641 xxx_messageInfo_ProvisionResource.Merge(m, src) 2642 } 2643 func (m *ProvisionResource) XXX_Size() int { 2644 return xxx_messageInfo_ProvisionResource.Size(m) 2645 } 2646 func (m *ProvisionResource) XXX_DiscardUnknown() { 2647 xxx_messageInfo_ProvisionResource.DiscardUnknown(m) 2648 } 2649 2650 var xxx_messageInfo_ProvisionResource proto.InternalMessageInfo 2651 2652 type ProvisionResource_Request struct { 2653 Config *DynamicValue `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` 2654 Connection *DynamicValue `protobuf:"bytes,2,opt,name=connection,proto3" json:"connection,omitempty"` 2655 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2656 XXX_unrecognized []byte `json:"-"` 2657 XXX_sizecache int32 `json:"-"` 2658 } 2659 2660 func (m *ProvisionResource_Request) Reset() { *m = ProvisionResource_Request{} } 2661 func (m *ProvisionResource_Request) String() string { return proto.CompactTextString(m) } 2662 func (*ProvisionResource_Request) ProtoMessage() {} 2663 func (*ProvisionResource_Request) Descriptor() ([]byte, []int) { 2664 return fileDescriptor_17ae6090ff270234, []int{19, 0} 2665 } 2666 2667 func (m *ProvisionResource_Request) XXX_Unmarshal(b []byte) error { 2668 return xxx_messageInfo_ProvisionResource_Request.Unmarshal(m, b) 2669 } 2670 func (m *ProvisionResource_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2671 return xxx_messageInfo_ProvisionResource_Request.Marshal(b, m, deterministic) 2672 } 2673 func (m *ProvisionResource_Request) XXX_Merge(src proto.Message) { 2674 xxx_messageInfo_ProvisionResource_Request.Merge(m, src) 2675 } 2676 func (m *ProvisionResource_Request) XXX_Size() int { 2677 return xxx_messageInfo_ProvisionResource_Request.Size(m) 2678 } 2679 func (m *ProvisionResource_Request) XXX_DiscardUnknown() { 2680 xxx_messageInfo_ProvisionResource_Request.DiscardUnknown(m) 2681 } 2682 2683 var xxx_messageInfo_ProvisionResource_Request proto.InternalMessageInfo 2684 2685 func (m *ProvisionResource_Request) GetConfig() *DynamicValue { 2686 if m != nil { 2687 return m.Config 2688 } 2689 return nil 2690 } 2691 2692 func (m *ProvisionResource_Request) GetConnection() *DynamicValue { 2693 if m != nil { 2694 return m.Connection 2695 } 2696 return nil 2697 } 2698 2699 type ProvisionResource_Response struct { 2700 Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` 2701 Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` 2702 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2703 XXX_unrecognized []byte `json:"-"` 2704 XXX_sizecache int32 `json:"-"` 2705 } 2706 2707 func (m *ProvisionResource_Response) Reset() { *m = ProvisionResource_Response{} } 2708 func (m *ProvisionResource_Response) String() string { return proto.CompactTextString(m) } 2709 func (*ProvisionResource_Response) ProtoMessage() {} 2710 func (*ProvisionResource_Response) Descriptor() ([]byte, []int) { 2711 return fileDescriptor_17ae6090ff270234, []int{19, 1} 2712 } 2713 2714 func (m *ProvisionResource_Response) XXX_Unmarshal(b []byte) error { 2715 return xxx_messageInfo_ProvisionResource_Response.Unmarshal(m, b) 2716 } 2717 func (m *ProvisionResource_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2718 return xxx_messageInfo_ProvisionResource_Response.Marshal(b, m, deterministic) 2719 } 2720 func (m *ProvisionResource_Response) XXX_Merge(src proto.Message) { 2721 xxx_messageInfo_ProvisionResource_Response.Merge(m, src) 2722 } 2723 func (m *ProvisionResource_Response) XXX_Size() int { 2724 return xxx_messageInfo_ProvisionResource_Response.Size(m) 2725 } 2726 func (m *ProvisionResource_Response) XXX_DiscardUnknown() { 2727 xxx_messageInfo_ProvisionResource_Response.DiscardUnknown(m) 2728 } 2729 2730 var xxx_messageInfo_ProvisionResource_Response proto.InternalMessageInfo 2731 2732 func (m *ProvisionResource_Response) GetOutput() string { 2733 if m != nil { 2734 return m.Output 2735 } 2736 return "" 2737 } 2738 2739 func (m *ProvisionResource_Response) GetDiagnostics() []*Diagnostic { 2740 if m != nil { 2741 return m.Diagnostics 2742 } 2743 return nil 2744 } 2745 2746 func init() { 2747 proto.RegisterEnum("tfplugin5.StringKind", StringKind_name, StringKind_value) 2748 proto.RegisterEnum("tfplugin5.Diagnostic_Severity", Diagnostic_Severity_name, Diagnostic_Severity_value) 2749 proto.RegisterEnum("tfplugin5.Schema_NestedBlock_NestingMode", Schema_NestedBlock_NestingMode_name, Schema_NestedBlock_NestingMode_value) 2750 proto.RegisterType((*DynamicValue)(nil), "tfplugin5.DynamicValue") 2751 proto.RegisterType((*Diagnostic)(nil), "tfplugin5.Diagnostic") 2752 proto.RegisterType((*AttributePath)(nil), "tfplugin5.AttributePath") 2753 proto.RegisterType((*AttributePath_Step)(nil), "tfplugin5.AttributePath.Step") 2754 proto.RegisterType((*Stop)(nil), "tfplugin5.Stop") 2755 proto.RegisterType((*Stop_Request)(nil), "tfplugin5.Stop.Request") 2756 proto.RegisterType((*Stop_Response)(nil), "tfplugin5.Stop.Response") 2757 proto.RegisterType((*RawState)(nil), "tfplugin5.RawState") 2758 proto.RegisterMapType((map[string]string)(nil), "tfplugin5.RawState.FlatmapEntry") 2759 proto.RegisterType((*Schema)(nil), "tfplugin5.Schema") 2760 proto.RegisterType((*Schema_Block)(nil), "tfplugin5.Schema.Block") 2761 proto.RegisterType((*Schema_Attribute)(nil), "tfplugin5.Schema.Attribute") 2762 proto.RegisterType((*Schema_NestedBlock)(nil), "tfplugin5.Schema.NestedBlock") 2763 proto.RegisterType((*GetProviderSchema)(nil), "tfplugin5.GetProviderSchema") 2764 proto.RegisterType((*GetProviderSchema_Request)(nil), "tfplugin5.GetProviderSchema.Request") 2765 proto.RegisterType((*GetProviderSchema_Response)(nil), "tfplugin5.GetProviderSchema.Response") 2766 proto.RegisterMapType((map[string]*Schema)(nil), "tfplugin5.GetProviderSchema.Response.DataSourceSchemasEntry") 2767 proto.RegisterMapType((map[string]*Schema)(nil), "tfplugin5.GetProviderSchema.Response.ResourceSchemasEntry") 2768 proto.RegisterType((*PrepareProviderConfig)(nil), "tfplugin5.PrepareProviderConfig") 2769 proto.RegisterType((*PrepareProviderConfig_Request)(nil), "tfplugin5.PrepareProviderConfig.Request") 2770 proto.RegisterType((*PrepareProviderConfig_Response)(nil), "tfplugin5.PrepareProviderConfig.Response") 2771 proto.RegisterType((*UpgradeResourceState)(nil), "tfplugin5.UpgradeResourceState") 2772 proto.RegisterType((*UpgradeResourceState_Request)(nil), "tfplugin5.UpgradeResourceState.Request") 2773 proto.RegisterType((*UpgradeResourceState_Response)(nil), "tfplugin5.UpgradeResourceState.Response") 2774 proto.RegisterType((*ValidateResourceTypeConfig)(nil), "tfplugin5.ValidateResourceTypeConfig") 2775 proto.RegisterType((*ValidateResourceTypeConfig_Request)(nil), "tfplugin5.ValidateResourceTypeConfig.Request") 2776 proto.RegisterType((*ValidateResourceTypeConfig_Response)(nil), "tfplugin5.ValidateResourceTypeConfig.Response") 2777 proto.RegisterType((*ValidateDataSourceConfig)(nil), "tfplugin5.ValidateDataSourceConfig") 2778 proto.RegisterType((*ValidateDataSourceConfig_Request)(nil), "tfplugin5.ValidateDataSourceConfig.Request") 2779 proto.RegisterType((*ValidateDataSourceConfig_Response)(nil), "tfplugin5.ValidateDataSourceConfig.Response") 2780 proto.RegisterType((*Configure)(nil), "tfplugin5.Configure") 2781 proto.RegisterType((*Configure_Request)(nil), "tfplugin5.Configure.Request") 2782 proto.RegisterType((*Configure_Response)(nil), "tfplugin5.Configure.Response") 2783 proto.RegisterType((*ReadResource)(nil), "tfplugin5.ReadResource") 2784 proto.RegisterType((*ReadResource_Request)(nil), "tfplugin5.ReadResource.Request") 2785 proto.RegisterType((*ReadResource_Response)(nil), "tfplugin5.ReadResource.Response") 2786 proto.RegisterType((*PlanResourceChange)(nil), "tfplugin5.PlanResourceChange") 2787 proto.RegisterType((*PlanResourceChange_Request)(nil), "tfplugin5.PlanResourceChange.Request") 2788 proto.RegisterType((*PlanResourceChange_Response)(nil), "tfplugin5.PlanResourceChange.Response") 2789 proto.RegisterType((*ApplyResourceChange)(nil), "tfplugin5.ApplyResourceChange") 2790 proto.RegisterType((*ApplyResourceChange_Request)(nil), "tfplugin5.ApplyResourceChange.Request") 2791 proto.RegisterType((*ApplyResourceChange_Response)(nil), "tfplugin5.ApplyResourceChange.Response") 2792 proto.RegisterType((*ImportResourceState)(nil), "tfplugin5.ImportResourceState") 2793 proto.RegisterType((*ImportResourceState_Request)(nil), "tfplugin5.ImportResourceState.Request") 2794 proto.RegisterType((*ImportResourceState_ImportedResource)(nil), "tfplugin5.ImportResourceState.ImportedResource") 2795 proto.RegisterType((*ImportResourceState_Response)(nil), "tfplugin5.ImportResourceState.Response") 2796 proto.RegisterType((*ReadDataSource)(nil), "tfplugin5.ReadDataSource") 2797 proto.RegisterType((*ReadDataSource_Request)(nil), "tfplugin5.ReadDataSource.Request") 2798 proto.RegisterType((*ReadDataSource_Response)(nil), "tfplugin5.ReadDataSource.Response") 2799 proto.RegisterType((*GetProvisionerSchema)(nil), "tfplugin5.GetProvisionerSchema") 2800 proto.RegisterType((*GetProvisionerSchema_Request)(nil), "tfplugin5.GetProvisionerSchema.Request") 2801 proto.RegisterType((*GetProvisionerSchema_Response)(nil), "tfplugin5.GetProvisionerSchema.Response") 2802 proto.RegisterType((*ValidateProvisionerConfig)(nil), "tfplugin5.ValidateProvisionerConfig") 2803 proto.RegisterType((*ValidateProvisionerConfig_Request)(nil), "tfplugin5.ValidateProvisionerConfig.Request") 2804 proto.RegisterType((*ValidateProvisionerConfig_Response)(nil), "tfplugin5.ValidateProvisionerConfig.Response") 2805 proto.RegisterType((*ProvisionResource)(nil), "tfplugin5.ProvisionResource") 2806 proto.RegisterType((*ProvisionResource_Request)(nil), "tfplugin5.ProvisionResource.Request") 2807 proto.RegisterType((*ProvisionResource_Response)(nil), "tfplugin5.ProvisionResource.Response") 2808 } 2809 2810 func init() { 2811 proto.RegisterFile("tfplugin5.proto", fileDescriptor_17ae6090ff270234) 2812 } 2813 2814 var fileDescriptor_17ae6090ff270234 = []byte{ 2815 // 2010 bytes of a gzipped FileDescriptorProto 2816 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xcd, 0x6f, 0x23, 0x49, 2817 0x15, 0x9f, 0x6e, 0xdb, 0x89, 0xfd, 0xec, 0x49, 0x3a, 0x35, 0x1f, 0x98, 0xde, 0x0f, 0x82, 0x61, 2818 0x49, 0x96, 0xdd, 0xf1, 0xac, 0x32, 0x30, 0xbb, 0x84, 0xd1, 0x6a, 0xb3, 0x49, 0xc8, 0x44, 0x33, 2819 0xf1, 0x84, 0xf2, 0xcc, 0x04, 0x09, 0x69, 0xad, 0x1a, 0x77, 0xc5, 0xd3, 0xc4, 0xee, 0xee, 0xad, 2820 0x2e, 0x67, 0x62, 0x71, 0x44, 0x70, 0x46, 0xa0, 0x85, 0x03, 0x70, 0x81, 0x03, 0xe2, 0xc4, 0x0d, 2821 0xf1, 0x75, 0xe1, 0xce, 0x81, 0x3b, 0xdc, 0x56, 0x1c, 0xb9, 0xf0, 0x17, 0xa0, 0xaa, 0xae, 0xee, 2822 0x2e, 0xdb, 0xed, 0xa4, 0x93, 0xec, 0x0a, 0xed, 0xad, 0xeb, 0xbd, 0x5f, 0xbd, 0xf7, 0xea, 0xbd, 2823 0x5f, 0xbd, 0xaa, 0xb2, 0x61, 0x91, 0x1f, 0x06, 0xfd, 0x61, 0xcf, 0xf5, 0xbe, 0xde, 0x0c, 0x98, 2824 0xcf, 0x7d, 0x54, 0x49, 0x04, 0x8d, 0x7b, 0x50, 0xdb, 0x1a, 0x79, 0x64, 0xe0, 0x76, 0x9f, 0x92, 2825 0xfe, 0x90, 0xa2, 0x3a, 0xcc, 0x0f, 0xc2, 0x5e, 0x40, 0xba, 0x47, 0x75, 0x63, 0xd9, 0x58, 0xad, 2826 0xe1, 0x78, 0x88, 0x10, 0x14, 0xbf, 0x17, 0xfa, 0x5e, 0xdd, 0x94, 0x62, 0xf9, 0xdd, 0xf8, 0xd8, 2827 0x00, 0xd8, 0x72, 0x49, 0xcf, 0xf3, 0x43, 0xee, 0x76, 0xd1, 0x3a, 0x94, 0x43, 0x7a, 0x4c, 0x99, 2828 0xcb, 0x47, 0x72, 0xf6, 0xc2, 0xda, 0xab, 0xcd, 0xd4, 0x77, 0x0a, 0x6c, 0xb6, 0x15, 0x0a, 0x27, 2829 0x78, 0xe1, 0x38, 0x1c, 0x0e, 0x06, 0x84, 0x8d, 0xa4, 0x87, 0x0a, 0x8e, 0x87, 0xe8, 0x26, 0xcc, 2830 0x39, 0x94, 0x13, 0xb7, 0x5f, 0x2f, 0x48, 0x85, 0x1a, 0xa1, 0xbb, 0x50, 0x21, 0x9c, 0x33, 0xf7, 2831 0xd9, 0x90, 0xd3, 0x7a, 0x71, 0xd9, 0x58, 0xad, 0xae, 0xd5, 0x35, 0x77, 0x1b, 0xb1, 0x6e, 0x9f, 2832 0xf0, 0xe7, 0x38, 0x85, 0x36, 0x6e, 0x43, 0x39, 0xf6, 0x8f, 0xaa, 0x30, 0xbf, 0xdb, 0x7a, 0xba, 2833 0xf1, 0x70, 0x77, 0xcb, 0xba, 0x82, 0x2a, 0x50, 0xda, 0xc6, 0xf8, 0x11, 0xb6, 0x0c, 0x21, 0x3f, 2834 0xd8, 0xc0, 0xad, 0xdd, 0xd6, 0x8e, 0x65, 0x36, 0xfe, 0x65, 0xc0, 0xd5, 0x31, 0x6b, 0xe8, 0x0e, 2835 0x94, 0x42, 0x4e, 0x83, 0xb0, 0x6e, 0x2c, 0x17, 0x56, 0xab, 0x6b, 0xaf, 0xcc, 0x72, 0xdb, 0x6c, 2836 0x73, 0x1a, 0xe0, 0x08, 0x6b, 0x7f, 0x64, 0x40, 0x51, 0x8c, 0xd1, 0x0a, 0x2c, 0x24, 0xd1, 0x74, 2837 0x3c, 0x32, 0xa0, 0x32, 0x59, 0x95, 0xfb, 0x57, 0xf0, 0xd5, 0x44, 0xde, 0x22, 0x03, 0x8a, 0x9a, 2838 0x80, 0x68, 0x9f, 0x0e, 0xa8, 0xc7, 0x3b, 0x47, 0x74, 0xd4, 0x09, 0x39, 0x73, 0xbd, 0x5e, 0x94, 2839 0x9e, 0xfb, 0x57, 0xb0, 0xa5, 0x74, 0x0f, 0xe8, 0xa8, 0x2d, 0x35, 0x68, 0x15, 0x16, 0x75, 0xbc, 2840 0xeb, 0x71, 0x99, 0xb2, 0x82, 0xb0, 0x9c, 0x82, 0x77, 0x3d, 0xfe, 0x3e, 0x88, 0x4a, 0xf5, 0x69, 2841 0x97, 0xfb, 0xac, 0x71, 0x47, 0x84, 0xe5, 0x07, 0x76, 0x05, 0xe6, 0x31, 0xfd, 0x70, 0x48, 0x43, 2842 0x6e, 0x2f, 0x43, 0x19, 0xd3, 0x30, 0xf0, 0xbd, 0x90, 0xa2, 0xeb, 0x50, 0xda, 0x66, 0xcc, 0x67, 2843 0x51, 0x90, 0x38, 0x1a, 0x34, 0x7e, 0x66, 0x40, 0x19, 0x93, 0x17, 0x6d, 0x4e, 0x38, 0x4d, 0xa8, 2844 0x61, 0xa4, 0xd4, 0x40, 0xeb, 0x30, 0x7f, 0xd8, 0x27, 0x7c, 0x40, 0x82, 0xba, 0x29, 0x93, 0xb4, 2845 0xac, 0x25, 0x29, 0x9e, 0xd9, 0xfc, 0x56, 0x04, 0xd9, 0xf6, 0x38, 0x1b, 0xe1, 0x78, 0x82, 0xbd, 2846 0x0e, 0x35, 0x5d, 0x81, 0x2c, 0x28, 0x1c, 0xd1, 0x91, 0x0a, 0x40, 0x7c, 0x8a, 0xa0, 0x8e, 0x05, 2847 0x5f, 0x15, 0x57, 0xa2, 0xc1, 0xba, 0xf9, 0x8e, 0xd1, 0xf8, 0xfb, 0x3c, 0xcc, 0xb5, 0xbb, 0xcf, 2848 0xe9, 0x80, 0x08, 0x4a, 0x1d, 0x53, 0x16, 0xba, 0x2a, 0xb2, 0x02, 0x8e, 0x87, 0xe8, 0x16, 0x94, 2849 0x9e, 0xf5, 0xfd, 0xee, 0x91, 0x9c, 0x5e, 0x5d, 0xfb, 0x9c, 0x16, 0x5a, 0x34, 0xb7, 0xf9, 0xbe, 2850 0x50, 0xe3, 0x08, 0x65, 0xff, 0xda, 0x84, 0x92, 0x14, 0x9c, 0x62, 0xf2, 0x9b, 0x00, 0x49, 0xf1, 2851 0x42, 0xb5, 0xe4, 0x97, 0xa6, 0xed, 0x26, 0xf4, 0xc0, 0x1a, 0x1c, 0xbd, 0x0b, 0x55, 0xe9, 0xa9, 2852 0xc3, 0x47, 0x01, 0x0d, 0xeb, 0x85, 0x29, 0x56, 0xa9, 0xd9, 0x2d, 0x1a, 0x72, 0xea, 0x44, 0xb1, 2853 0x81, 0x9c, 0xf1, 0x58, 0x4c, 0x40, 0xcb, 0x50, 0x75, 0x68, 0xd8, 0x65, 0x6e, 0xc0, 0x45, 0x68, 2854 0x45, 0x99, 0x14, 0x5d, 0x84, 0xde, 0x03, 0x4b, 0x1b, 0x76, 0x8e, 0x5c, 0xcf, 0xa9, 0x97, 0xe4, 2855 0x16, 0xbd, 0xa1, 0xbb, 0x91, 0x3c, 0x7a, 0xe0, 0x7a, 0x0e, 0x5e, 0xd4, 0xe0, 0x42, 0x80, 0x5e, 2856 0x05, 0x70, 0x68, 0xc0, 0x68, 0x97, 0x70, 0xea, 0xd4, 0xe7, 0x96, 0x8d, 0xd5, 0x32, 0xd6, 0x24, 2857 0xf6, 0xef, 0x4c, 0xa8, 0x24, 0xab, 0x13, 0x94, 0x48, 0x99, 0x8d, 0xe5, 0xb7, 0x90, 0x89, 0xf5, 2858 0xc5, 0x1d, 0x44, 0x7c, 0x4f, 0x46, 0x5e, 0x98, 0x8e, 0xdc, 0x86, 0x32, 0xa3, 0x1f, 0x0e, 0x5d, 2859 0x46, 0x1d, 0xb9, 0xb0, 0x32, 0x4e, 0xc6, 0x42, 0xe7, 0x4b, 0x14, 0xe9, 0xcb, 0xd5, 0x94, 0x71, 2860 0x32, 0x16, 0xba, 0xae, 0x3f, 0x08, 0x86, 0x69, 0xb4, 0xc9, 0x18, 0xbd, 0x0c, 0x95, 0x90, 0x7a, 2861 0xa1, 0xcb, 0xdd, 0x63, 0x5a, 0x9f, 0x97, 0xca, 0x54, 0x90, 0x99, 0xab, 0xf2, 0x25, 0x72, 0x55, 2862 0x99, 0xca, 0xd5, 0x6f, 0x4d, 0xa8, 0x6a, 0xb5, 0x44, 0x2f, 0x41, 0x45, 0x64, 0x43, 0x6b, 0x06, 2863 0xb8, 0x2c, 0x04, 0xb2, 0x0b, 0x9c, 0x8f, 0xac, 0x68, 0x13, 0xe6, 0x3d, 0x1a, 0x72, 0xd1, 0x29, 2864 0x0a, 0x32, 0xe8, 0xd7, 0x4f, 0xe5, 0x91, 0xfc, 0x76, 0xbd, 0xde, 0x9e, 0xef, 0x50, 0x1c, 0xcf, 2865 0x14, 0x01, 0x0d, 0x5c, 0xaf, 0xe3, 0x72, 0x3a, 0x08, 0x65, 0xd6, 0x0b, 0xb8, 0x3c, 0x70, 0xbd, 2866 0x5d, 0x31, 0x96, 0x4a, 0x72, 0xa2, 0x94, 0x25, 0xa5, 0x24, 0x27, 0x52, 0xd9, 0xd8, 0x8b, 0x56, 2867 0xa6, 0x2c, 0x8e, 0x37, 0x58, 0x80, 0xb9, 0xf6, 0x6e, 0x6b, 0xe7, 0xe1, 0xb6, 0x65, 0xa0, 0x32, 2868 0x14, 0x1f, 0xee, 0xb6, 0x1f, 0x5b, 0x26, 0x9a, 0x87, 0x42, 0x7b, 0xfb, 0xb1, 0x55, 0x10, 0x1f, 2869 0x7b, 0x1b, 0xfb, 0x56, 0x51, 0x34, 0xe2, 0x1d, 0xfc, 0xe8, 0xc9, 0xbe, 0x55, 0x6a, 0xfc, 0xa3, 2870 0x08, 0x4b, 0x3b, 0x94, 0xef, 0x33, 0xff, 0xd8, 0x75, 0x28, 0x8b, 0xe2, 0xd7, 0x5b, 0xd5, 0xef, 2871 0x8b, 0x5a, 0xaf, 0xba, 0x05, 0xe5, 0x40, 0x21, 0x65, 0x1a, 0xab, 0x6b, 0x4b, 0x53, 0x8b, 0xc7, 2872 0x09, 0x04, 0x51, 0xb0, 0x18, 0x0d, 0xfd, 0x21, 0xeb, 0xd2, 0x4e, 0x28, 0x95, 0xf1, 0xce, 0x5d, 2873 0xd7, 0xa6, 0x4d, 0xb9, 0x6f, 0xc6, 0xfe, 0xc4, 0x87, 0x9c, 0x1d, 0xc9, 0xc3, 0xa8, 0x8d, 0x2d, 2874 0xb2, 0x71, 0x29, 0xea, 0xc3, 0x35, 0x87, 0x70, 0xd2, 0x99, 0xf0, 0x14, 0xed, 0xf2, 0x7b, 0xf9, 2875 0x3c, 0x6d, 0x11, 0x4e, 0xda, 0xd3, 0xbe, 0x96, 0x9c, 0x49, 0x39, 0x7a, 0x1b, 0xaa, 0x4e, 0x72, 2876 0xd2, 0x8a, 0xe2, 0x09, 0x2f, 0x37, 0x32, 0xcf, 0x61, 0xac, 0x23, 0xd1, 0x5d, 0xb8, 0x1a, 0x67, 2877 0xa6, 0x33, 0xa0, 0x9c, 0xc8, 0xd2, 0x66, 0x66, 0xb0, 0x16, 0xe3, 0xf6, 0x28, 0x27, 0xf6, 0x13, 2878 0xb8, 0x9e, 0x95, 0x87, 0x8c, 0xae, 0xbd, 0xa2, 0x77, 0xed, 0x4c, 0xcb, 0x69, 0x23, 0xb7, 0x0f, 2879 0xe0, 0x66, 0xf6, 0xa2, 0x2f, 0x69, 0xb8, 0xf1, 0x4f, 0x03, 0x6e, 0xec, 0x33, 0x1a, 0x10, 0x46, 2880 0xe3, 0x6c, 0x6f, 0xfa, 0xde, 0xa1, 0xdb, 0xb3, 0xd7, 0x13, 0x5a, 0xa1, 0xdb, 0x30, 0xd7, 0x95, 2881 0x42, 0xc5, 0x23, 0x7d, 0xd7, 0xe9, 0x17, 0x26, 0xac, 0x60, 0xf6, 0x0f, 0x0d, 0x8d, 0x87, 0xef, 2882 0xc1, 0x62, 0x10, 0x79, 0x70, 0x3a, 0xf9, 0xcc, 0x2c, 0xc4, 0xf8, 0x28, 0x94, 0xc9, 0x2a, 0x9a, 2883 0x79, 0xab, 0xd8, 0xf8, 0xb1, 0x09, 0xd7, 0x9f, 0x04, 0x3d, 0x46, 0x1c, 0x9a, 0x54, 0x45, 0x1c, 2884 0xb5, 0x36, 0x4b, 0x17, 0x77, 0x6a, 0xbb, 0xd1, 0x8e, 0x38, 0x73, 0xfc, 0x88, 0x7b, 0x0b, 0x2a, 2885 0x8c, 0xbc, 0xe8, 0x84, 0xc2, 0x9c, 0xec, 0x2d, 0xd5, 0xb5, 0x6b, 0x19, 0x87, 0x3a, 0x2e, 0x33, 2886 0xf5, 0x65, 0xff, 0x40, 0x4f, 0xca, 0xbb, 0xb0, 0x30, 0x8c, 0x02, 0x73, 0x94, 0x8d, 0x33, 0x72, 2887 0x72, 0x35, 0x86, 0x47, 0xb7, 0x8c, 0x0b, 0xa7, 0xe4, 0xcf, 0x06, 0xd8, 0x4f, 0x49, 0xdf, 0x75, 2888 0x44, 0x70, 0x2a, 0x27, 0xe2, 0xdc, 0x54, 0x55, 0x3f, 0xc8, 0x99, 0x98, 0x94, 0x12, 0x66, 0x3e, 2889 0x4a, 0x6c, 0x6a, 0x8b, 0x9f, 0x08, 0xde, 0xc8, 0x1d, 0xfc, 0x1f, 0x0d, 0xa8, 0xc7, 0xc1, 0xa7, 2890 0xfb, 0xe1, 0x33, 0x11, 0xfa, 0x9f, 0x0c, 0xa8, 0x44, 0x81, 0x0e, 0x19, 0xb5, 0x7b, 0x69, 0xac, 2891 0x6f, 0xc0, 0x12, 0xa7, 0x8c, 0x91, 0x43, 0x9f, 0x0d, 0x3a, 0xfa, 0x7d, 0xaa, 0x82, 0xad, 0x44, 2892 0xf1, 0x54, 0xb1, 0xee, 0xff, 0x13, 0xfb, 0xc7, 0x26, 0xd4, 0x30, 0x25, 0x4e, 0xcc, 0x17, 0xfb, 2893 0xaf, 0x46, 0xce, 0x5c, 0xdf, 0x83, 0xab, 0xdd, 0x21, 0x63, 0xe2, 0x12, 0x1e, 0xb1, 0xfc, 0x8c, 2894 0xb0, 0x6b, 0x0a, 0x1d, 0x91, 0xbc, 0x0e, 0xf3, 0x01, 0x73, 0x8f, 0xe3, 0x1d, 0x56, 0xc3, 0xf1, 2895 0x50, 0xd8, 0x1d, 0x6f, 0xcf, 0xc5, 0x33, 0xec, 0x8e, 0x35, 0xe9, 0x9f, 0xea, 0x3b, 0xf1, 0x6b, 2896 0x50, 0xf1, 0xe8, 0x8b, 0x7c, 0x9b, 0xb0, 0xec, 0xd1, 0x17, 0x97, 0xdb, 0x7f, 0xb3, 0xd7, 0xd4, 2897 0xf8, 0x6f, 0x11, 0xd0, 0x7e, 0x9f, 0x78, 0x71, 0x96, 0x37, 0x9f, 0x13, 0xaf, 0x47, 0xed, 0xbf, 2898 0x98, 0x39, 0x73, 0xfd, 0x0e, 0x54, 0x03, 0xe6, 0xfa, 0x2c, 0x5f, 0xa6, 0x41, 0x62, 0xa3, 0xc5, 2899 0x6c, 0x03, 0x0a, 0x98, 0x1f, 0xf8, 0x21, 0x75, 0x3a, 0x69, 0x2e, 0x0a, 0xa7, 0x1b, 0xb0, 0xe2, 2900 0x29, 0xad, 0x38, 0x27, 0x29, 0x39, 0x8b, 0xb9, 0xc8, 0x89, 0xbe, 0x24, 0xaa, 0x28, 0x22, 0x8e, 2901 0x33, 0x52, 0x92, 0x19, 0xa9, 0x49, 0xe1, 0xfe, 0xac, 0x52, 0xcf, 0x9d, 0xa7, 0xd4, 0xbf, 0x32, 2902 0xb5, 0x52, 0x0b, 0x53, 0x7d, 0xe2, 0x79, 0x79, 0x7b, 0x6e, 0x4d, 0xa1, 0xa3, 0xe5, 0x6d, 0x8a, 2903 0x0b, 0x92, 0xbc, 0x6b, 0x87, 0x1d, 0x46, 0x83, 0x3e, 0xe9, 0x52, 0x55, 0xf7, 0xd9, 0x2f, 0xed, 2904 0xc5, 0x78, 0x06, 0x8e, 0x26, 0xa0, 0x15, 0x58, 0x8c, 0x43, 0x18, 0xa7, 0xc1, 0x82, 0x12, 0xc7, 2905 0xcb, 0xbe, 0xf0, 0xcd, 0xe5, 0x4d, 0x40, 0x7d, 0xda, 0x23, 0xdd, 0x91, 0x7c, 0x3f, 0x75, 0xc2, 2906 0x51, 0xc8, 0xe9, 0x40, 0x3d, 0x08, 0xac, 0x48, 0x23, 0xfa, 0x7d, 0x5b, 0xca, 0x1b, 0x3f, 0x29, 2907 0xc2, 0xb5, 0x8d, 0x20, 0xe8, 0x8f, 0x26, 0x58, 0xf7, 0x87, 0x4f, 0x9f, 0x75, 0x53, 0xd5, 0x28, 2908 0x9c, 0xa7, 0x1a, 0xe7, 0x26, 0x5b, 0x46, 0xe6, 0x4b, 0x99, 0x99, 0xbf, 0x1c, 0xe1, 0xfe, 0x76, 2909 0xf9, 0xde, 0xa2, 0xb5, 0x08, 0x73, 0xbc, 0xed, 0x4d, 0x90, 0xa2, 0x70, 0x49, 0x52, 0x14, 0x67, 2910 0x90, 0xe2, 0x3f, 0x26, 0x5c, 0xdb, 0x1d, 0x04, 0x3e, 0xe3, 0xe3, 0xb7, 0xa6, 0xbb, 0x39, 0x39, 2911 0xb1, 0x00, 0xa6, 0xeb, 0xa8, 0x5f, 0x23, 0x4c, 0xd7, 0xb1, 0x4f, 0xc0, 0x8a, 0xcc, 0xd1, 0xe4, 2912 0x08, 0x39, 0xf3, 0x95, 0x97, 0x8b, 0x4e, 0x11, 0x6a, 0x76, 0x4f, 0xb5, 0x7f, 0xa3, 0x57, 0xe3, 2913 0x03, 0x40, 0xae, 0x0a, 0xa3, 0x13, 0x3f, 0x4b, 0xe2, 0x63, 0xf0, 0xb6, 0xe6, 0x22, 0x63, 0xe9, 2914 0xcd, 0xc9, 0xf8, 0xf1, 0x92, 0x3b, 0x21, 0x09, 0x2f, 0x7e, 0x27, 0xfb, 0xa5, 0x09, 0x0b, 0xe2, 2915 0x7c, 0x4d, 0xaf, 0x34, 0xf6, 0x47, 0xc6, 0xa7, 0x74, 0x9b, 0x99, 0xa6, 0x77, 0xe1, 0x3c, 0xf4, 2916 0x66, 0x63, 0x0f, 0xcc, 0x52, 0x2e, 0x66, 0xab, 0x2a, 0x5d, 0x38, 0x3d, 0xbf, 0x30, 0xe0, 0x7a, 2917 0xfc, 0x1a, 0x14, 0xb7, 0xa0, 0xac, 0x97, 0xef, 0x89, 0x16, 0xd7, 0x1d, 0xd1, 0x92, 0x12, 0xec, 2918 0xec, 0xb7, 0xaf, 0x8e, 0xba, 0x44, 0xf1, 0x0c, 0xf8, 0x7c, 0x7c, 0x27, 0xd5, 0x42, 0xfc, 0x04, 2919 0x5e, 0x51, 0x9f, 0xc8, 0xdd, 0xed, 0xdf, 0x06, 0x2c, 0x25, 0x61, 0x25, 0x17, 0xb8, 0xf0, 0xe2, 2920 0x61, 0xa1, 0xb7, 0x01, 0xba, 0xbe, 0xe7, 0xd1, 0x2e, 0x8f, 0x9f, 0x45, 0xa7, 0x35, 0xfc, 0x14, 2921 0x6a, 0x7f, 0x57, 0x5b, 0xcf, 0x4d, 0x98, 0xf3, 0x87, 0x3c, 0x18, 0x72, 0x45, 0x68, 0x35, 0xba, 2922 0x70, 0x19, 0xbe, 0xfa, 0x1a, 0x40, 0xfa, 0x23, 0x14, 0xaa, 0x40, 0x69, 0xff, 0xe1, 0xc6, 0x6e, 2923 0xcb, 0xba, 0x82, 0x6a, 0x50, 0xde, 0xdb, 0xc0, 0x0f, 0xb6, 0x1e, 0x1d, 0xb4, 0x2c, 0x63, 0xed, 2924 0xe7, 0x15, 0x28, 0xc7, 0x0f, 0x5d, 0xf4, 0x1d, 0xa8, 0xec, 0x50, 0xae, 0x7e, 0x20, 0xfd, 0xf2, 2925 0x19, 0xbf, 0x3d, 0x44, 0x3c, 0x7b, 0x2d, 0xd7, 0x2f, 0x14, 0xa8, 0x3f, 0xe3, 0x55, 0x8d, 0x56, 2926 0xb5, 0xf9, 0x99, 0x88, 0xc4, 0xd3, 0xeb, 0x39, 0x90, 0xca, 0xdb, 0xf7, 0x4f, 0x7b, 0xd2, 0xa1, 2927 0x5b, 0x9a, 0xa1, 0xd9, 0xb0, 0xc4, 0x6f, 0x33, 0x2f, 0x5c, 0x39, 0x1f, 0xce, 0x7e, 0x92, 0xa1, 2928 0x37, 0x32, 0x6c, 0x4d, 0x82, 0x12, 0xc7, 0x6f, 0xe6, 0x03, 0x2b, 0xb7, 0x6e, 0xf6, 0xcb, 0x1e, 2929 0xad, 0x68, 0x56, 0xb2, 0x00, 0x89, 0xbb, 0xd5, 0xb3, 0x81, 0xca, 0xd5, 0x7d, 0xed, 0xe5, 0x86, 2930 0x5e, 0xd6, 0xa6, 0x25, 0xd2, 0xc4, 0xe8, 0x2b, 0x33, 0xb4, 0xca, 0xd2, 0xb7, 0xc7, 0xdf, 0x51, 2931 0xe8, 0x0b, 0xfa, 0x2f, 0x06, 0x9a, 0x22, 0xb1, 0xb7, 0x3c, 0x1b, 0xa0, 0x4c, 0x76, 0xb3, 0x1e, 2932 0x0d, 0x48, 0xa7, 0xe9, 0xb4, 0x3a, 0x31, 0xff, 0x95, 0xb3, 0x60, 0xca, 0xc9, 0x61, 0xe6, 0x25, 2933 0x11, 0xe9, 0xd3, 0x33, 0xf4, 0x89, 0x9b, 0x95, 0x33, 0x71, 0xa9, 0x9f, 0x8c, 0xc3, 0x77, 0xcc, 2934 0x4f, 0xd6, 0xe1, 0x9c, 0xe5, 0x27, 0x1b, 0xa7, 0xfc, 0x1c, 0x4c, 0x9e, 0xb7, 0xe8, 0x8b, 0x13, 2935 0x89, 0x4e, 0x55, 0x89, 0xf5, 0xc6, 0x69, 0x10, 0x65, 0xf8, 0x1b, 0xd1, 0xdf, 0x47, 0x68, 0xec, 2936 0x77, 0x69, 0xee, 0x07, 0x89, 0x91, 0xfa, 0xb4, 0x22, 0x9a, 0xba, 0xf6, 0xa3, 0x02, 0x54, 0xb5, 2937 0xf3, 0x03, 0x7d, 0xa0, 0x37, 0xa7, 0x95, 0x8c, 0xb6, 0xa3, 0x1f, 0x85, 0x99, 0xac, 0x9e, 0x01, 2938 0x54, 0xa1, 0x9e, 0x9c, 0x72, 0x6c, 0xa1, 0xac, 0xbd, 0x38, 0x85, 0x4a, 0x9c, 0xde, 0xca, 0x89, 2939 0x56, 0x9e, 0x9f, 0x65, 0x9c, 0x48, 0x63, 0xed, 0x77, 0x4a, 0x9b, 0xd9, 0x7e, 0xb3, 0x50, 0x91, 2940 0x87, 0xb7, 0x8c, 0x4b, 0x14, 0xe2, 0xd9, 0x9c, 0xfc, 0x5f, 0xf8, 0xce, 0xff, 0x02, 0x00, 0x00, 2941 0xff, 0xff, 0xe3, 0x8e, 0xe1, 0x22, 0x2a, 0x1e, 0x00, 0x00, 2942 } 2943 2944 // Reference imports to suppress errors if they are not otherwise used. 2945 var _ context.Context 2946 var _ grpc.ClientConnInterface 2947 2948 // This is a compile-time assertion to ensure that this generated file 2949 // is compatible with the grpc package it is being compiled against. 2950 const _ = grpc.SupportPackageIsVersion6 2951 2952 // ProviderClient is the client API for Provider service. 2953 // 2954 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 2955 type ProviderClient interface { 2956 //////// Information about what a provider supports/expects 2957 GetSchema(ctx context.Context, in *GetProviderSchema_Request, opts ...grpc.CallOption) (*GetProviderSchema_Response, error) 2958 PrepareProviderConfig(ctx context.Context, in *PrepareProviderConfig_Request, opts ...grpc.CallOption) (*PrepareProviderConfig_Response, error) 2959 ValidateResourceTypeConfig(ctx context.Context, in *ValidateResourceTypeConfig_Request, opts ...grpc.CallOption) (*ValidateResourceTypeConfig_Response, error) 2960 ValidateDataSourceConfig(ctx context.Context, in *ValidateDataSourceConfig_Request, opts ...grpc.CallOption) (*ValidateDataSourceConfig_Response, error) 2961 UpgradeResourceState(ctx context.Context, in *UpgradeResourceState_Request, opts ...grpc.CallOption) (*UpgradeResourceState_Response, error) 2962 //////// One-time initialization, called before other functions below 2963 Configure(ctx context.Context, in *Configure_Request, opts ...grpc.CallOption) (*Configure_Response, error) 2964 //////// Managed Resource Lifecycle 2965 ReadResource(ctx context.Context, in *ReadResource_Request, opts ...grpc.CallOption) (*ReadResource_Response, error) 2966 PlanResourceChange(ctx context.Context, in *PlanResourceChange_Request, opts ...grpc.CallOption) (*PlanResourceChange_Response, error) 2967 ApplyResourceChange(ctx context.Context, in *ApplyResourceChange_Request, opts ...grpc.CallOption) (*ApplyResourceChange_Response, error) 2968 ImportResourceState(ctx context.Context, in *ImportResourceState_Request, opts ...grpc.CallOption) (*ImportResourceState_Response, error) 2969 ReadDataSource(ctx context.Context, in *ReadDataSource_Request, opts ...grpc.CallOption) (*ReadDataSource_Response, error) 2970 //////// Graceful Shutdown 2971 Stop(ctx context.Context, in *Stop_Request, opts ...grpc.CallOption) (*Stop_Response, error) 2972 } 2973 2974 type providerClient struct { 2975 cc grpc.ClientConnInterface 2976 } 2977 2978 func NewProviderClient(cc grpc.ClientConnInterface) ProviderClient { 2979 return &providerClient{cc} 2980 } 2981 2982 func (c *providerClient) GetSchema(ctx context.Context, in *GetProviderSchema_Request, opts ...grpc.CallOption) (*GetProviderSchema_Response, error) { 2983 out := new(GetProviderSchema_Response) 2984 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/GetSchema", in, out, opts...) 2985 if err != nil { 2986 return nil, err 2987 } 2988 return out, nil 2989 } 2990 2991 func (c *providerClient) PrepareProviderConfig(ctx context.Context, in *PrepareProviderConfig_Request, opts ...grpc.CallOption) (*PrepareProviderConfig_Response, error) { 2992 out := new(PrepareProviderConfig_Response) 2993 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/PrepareProviderConfig", in, out, opts...) 2994 if err != nil { 2995 return nil, err 2996 } 2997 return out, nil 2998 } 2999 3000 func (c *providerClient) ValidateResourceTypeConfig(ctx context.Context, in *ValidateResourceTypeConfig_Request, opts ...grpc.CallOption) (*ValidateResourceTypeConfig_Response, error) { 3001 out := new(ValidateResourceTypeConfig_Response) 3002 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ValidateResourceTypeConfig", in, out, opts...) 3003 if err != nil { 3004 return nil, err 3005 } 3006 return out, nil 3007 } 3008 3009 func (c *providerClient) ValidateDataSourceConfig(ctx context.Context, in *ValidateDataSourceConfig_Request, opts ...grpc.CallOption) (*ValidateDataSourceConfig_Response, error) { 3010 out := new(ValidateDataSourceConfig_Response) 3011 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ValidateDataSourceConfig", in, out, opts...) 3012 if err != nil { 3013 return nil, err 3014 } 3015 return out, nil 3016 } 3017 3018 func (c *providerClient) UpgradeResourceState(ctx context.Context, in *UpgradeResourceState_Request, opts ...grpc.CallOption) (*UpgradeResourceState_Response, error) { 3019 out := new(UpgradeResourceState_Response) 3020 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/UpgradeResourceState", in, out, opts...) 3021 if err != nil { 3022 return nil, err 3023 } 3024 return out, nil 3025 } 3026 3027 func (c *providerClient) Configure(ctx context.Context, in *Configure_Request, opts ...grpc.CallOption) (*Configure_Response, error) { 3028 out := new(Configure_Response) 3029 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/Configure", in, out, opts...) 3030 if err != nil { 3031 return nil, err 3032 } 3033 return out, nil 3034 } 3035 3036 func (c *providerClient) ReadResource(ctx context.Context, in *ReadResource_Request, opts ...grpc.CallOption) (*ReadResource_Response, error) { 3037 out := new(ReadResource_Response) 3038 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ReadResource", in, out, opts...) 3039 if err != nil { 3040 return nil, err 3041 } 3042 return out, nil 3043 } 3044 3045 func (c *providerClient) PlanResourceChange(ctx context.Context, in *PlanResourceChange_Request, opts ...grpc.CallOption) (*PlanResourceChange_Response, error) { 3046 out := new(PlanResourceChange_Response) 3047 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/PlanResourceChange", in, out, opts...) 3048 if err != nil { 3049 return nil, err 3050 } 3051 return out, nil 3052 } 3053 3054 func (c *providerClient) ApplyResourceChange(ctx context.Context, in *ApplyResourceChange_Request, opts ...grpc.CallOption) (*ApplyResourceChange_Response, error) { 3055 out := new(ApplyResourceChange_Response) 3056 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ApplyResourceChange", in, out, opts...) 3057 if err != nil { 3058 return nil, err 3059 } 3060 return out, nil 3061 } 3062 3063 func (c *providerClient) ImportResourceState(ctx context.Context, in *ImportResourceState_Request, opts ...grpc.CallOption) (*ImportResourceState_Response, error) { 3064 out := new(ImportResourceState_Response) 3065 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ImportResourceState", in, out, opts...) 3066 if err != nil { 3067 return nil, err 3068 } 3069 return out, nil 3070 } 3071 3072 func (c *providerClient) ReadDataSource(ctx context.Context, in *ReadDataSource_Request, opts ...grpc.CallOption) (*ReadDataSource_Response, error) { 3073 out := new(ReadDataSource_Response) 3074 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ReadDataSource", in, out, opts...) 3075 if err != nil { 3076 return nil, err 3077 } 3078 return out, nil 3079 } 3080 3081 func (c *providerClient) Stop(ctx context.Context, in *Stop_Request, opts ...grpc.CallOption) (*Stop_Response, error) { 3082 out := new(Stop_Response) 3083 err := c.cc.Invoke(ctx, "/tfplugin5.Provider/Stop", in, out, opts...) 3084 if err != nil { 3085 return nil, err 3086 } 3087 return out, nil 3088 } 3089 3090 // ProviderServer is the server API for Provider service. 3091 type ProviderServer interface { 3092 //////// Information about what a provider supports/expects 3093 GetSchema(context.Context, *GetProviderSchema_Request) (*GetProviderSchema_Response, error) 3094 PrepareProviderConfig(context.Context, *PrepareProviderConfig_Request) (*PrepareProviderConfig_Response, error) 3095 ValidateResourceTypeConfig(context.Context, *ValidateResourceTypeConfig_Request) (*ValidateResourceTypeConfig_Response, error) 3096 ValidateDataSourceConfig(context.Context, *ValidateDataSourceConfig_Request) (*ValidateDataSourceConfig_Response, error) 3097 UpgradeResourceState(context.Context, *UpgradeResourceState_Request) (*UpgradeResourceState_Response, error) 3098 //////// One-time initialization, called before other functions below 3099 Configure(context.Context, *Configure_Request) (*Configure_Response, error) 3100 //////// Managed Resource Lifecycle 3101 ReadResource(context.Context, *ReadResource_Request) (*ReadResource_Response, error) 3102 PlanResourceChange(context.Context, *PlanResourceChange_Request) (*PlanResourceChange_Response, error) 3103 ApplyResourceChange(context.Context, *ApplyResourceChange_Request) (*ApplyResourceChange_Response, error) 3104 ImportResourceState(context.Context, *ImportResourceState_Request) (*ImportResourceState_Response, error) 3105 ReadDataSource(context.Context, *ReadDataSource_Request) (*ReadDataSource_Response, error) 3106 //////// Graceful Shutdown 3107 Stop(context.Context, *Stop_Request) (*Stop_Response, error) 3108 } 3109 3110 // UnimplementedProviderServer can be embedded to have forward compatible implementations. 3111 type UnimplementedProviderServer struct { 3112 } 3113 3114 func (*UnimplementedProviderServer) GetSchema(ctx context.Context, req *GetProviderSchema_Request) (*GetProviderSchema_Response, error) { 3115 return nil, status.Errorf(codes.Unimplemented, "method GetSchema not implemented") 3116 } 3117 func (*UnimplementedProviderServer) PrepareProviderConfig(ctx context.Context, req *PrepareProviderConfig_Request) (*PrepareProviderConfig_Response, error) { 3118 return nil, status.Errorf(codes.Unimplemented, "method PrepareProviderConfig not implemented") 3119 } 3120 func (*UnimplementedProviderServer) ValidateResourceTypeConfig(ctx context.Context, req *ValidateResourceTypeConfig_Request) (*ValidateResourceTypeConfig_Response, error) { 3121 return nil, status.Errorf(codes.Unimplemented, "method ValidateResourceTypeConfig not implemented") 3122 } 3123 func (*UnimplementedProviderServer) ValidateDataSourceConfig(ctx context.Context, req *ValidateDataSourceConfig_Request) (*ValidateDataSourceConfig_Response, error) { 3124 return nil, status.Errorf(codes.Unimplemented, "method ValidateDataSourceConfig not implemented") 3125 } 3126 func (*UnimplementedProviderServer) UpgradeResourceState(ctx context.Context, req *UpgradeResourceState_Request) (*UpgradeResourceState_Response, error) { 3127 return nil, status.Errorf(codes.Unimplemented, "method UpgradeResourceState not implemented") 3128 } 3129 func (*UnimplementedProviderServer) Configure(ctx context.Context, req *Configure_Request) (*Configure_Response, error) { 3130 return nil, status.Errorf(codes.Unimplemented, "method Configure not implemented") 3131 } 3132 func (*UnimplementedProviderServer) ReadResource(ctx context.Context, req *ReadResource_Request) (*ReadResource_Response, error) { 3133 return nil, status.Errorf(codes.Unimplemented, "method ReadResource not implemented") 3134 } 3135 func (*UnimplementedProviderServer) PlanResourceChange(ctx context.Context, req *PlanResourceChange_Request) (*PlanResourceChange_Response, error) { 3136 return nil, status.Errorf(codes.Unimplemented, "method PlanResourceChange not implemented") 3137 } 3138 func (*UnimplementedProviderServer) ApplyResourceChange(ctx context.Context, req *ApplyResourceChange_Request) (*ApplyResourceChange_Response, error) { 3139 return nil, status.Errorf(codes.Unimplemented, "method ApplyResourceChange not implemented") 3140 } 3141 func (*UnimplementedProviderServer) ImportResourceState(ctx context.Context, req *ImportResourceState_Request) (*ImportResourceState_Response, error) { 3142 return nil, status.Errorf(codes.Unimplemented, "method ImportResourceState not implemented") 3143 } 3144 func (*UnimplementedProviderServer) ReadDataSource(ctx context.Context, req *ReadDataSource_Request) (*ReadDataSource_Response, error) { 3145 return nil, status.Errorf(codes.Unimplemented, "method ReadDataSource not implemented") 3146 } 3147 func (*UnimplementedProviderServer) Stop(ctx context.Context, req *Stop_Request) (*Stop_Response, error) { 3148 return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") 3149 } 3150 3151 func RegisterProviderServer(s *grpc.Server, srv ProviderServer) { 3152 s.RegisterService(&_Provider_serviceDesc, srv) 3153 } 3154 3155 func _Provider_GetSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3156 in := new(GetProviderSchema_Request) 3157 if err := dec(in); err != nil { 3158 return nil, err 3159 } 3160 if interceptor == nil { 3161 return srv.(ProviderServer).GetSchema(ctx, in) 3162 } 3163 info := &grpc.UnaryServerInfo{ 3164 Server: srv, 3165 FullMethod: "/tfplugin5.Provider/GetSchema", 3166 } 3167 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3168 return srv.(ProviderServer).GetSchema(ctx, req.(*GetProviderSchema_Request)) 3169 } 3170 return interceptor(ctx, in, info, handler) 3171 } 3172 3173 func _Provider_PrepareProviderConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3174 in := new(PrepareProviderConfig_Request) 3175 if err := dec(in); err != nil { 3176 return nil, err 3177 } 3178 if interceptor == nil { 3179 return srv.(ProviderServer).PrepareProviderConfig(ctx, in) 3180 } 3181 info := &grpc.UnaryServerInfo{ 3182 Server: srv, 3183 FullMethod: "/tfplugin5.Provider/PrepareProviderConfig", 3184 } 3185 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3186 return srv.(ProviderServer).PrepareProviderConfig(ctx, req.(*PrepareProviderConfig_Request)) 3187 } 3188 return interceptor(ctx, in, info, handler) 3189 } 3190 3191 func _Provider_ValidateResourceTypeConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3192 in := new(ValidateResourceTypeConfig_Request) 3193 if err := dec(in); err != nil { 3194 return nil, err 3195 } 3196 if interceptor == nil { 3197 return srv.(ProviderServer).ValidateResourceTypeConfig(ctx, in) 3198 } 3199 info := &grpc.UnaryServerInfo{ 3200 Server: srv, 3201 FullMethod: "/tfplugin5.Provider/ValidateResourceTypeConfig", 3202 } 3203 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3204 return srv.(ProviderServer).ValidateResourceTypeConfig(ctx, req.(*ValidateResourceTypeConfig_Request)) 3205 } 3206 return interceptor(ctx, in, info, handler) 3207 } 3208 3209 func _Provider_ValidateDataSourceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3210 in := new(ValidateDataSourceConfig_Request) 3211 if err := dec(in); err != nil { 3212 return nil, err 3213 } 3214 if interceptor == nil { 3215 return srv.(ProviderServer).ValidateDataSourceConfig(ctx, in) 3216 } 3217 info := &grpc.UnaryServerInfo{ 3218 Server: srv, 3219 FullMethod: "/tfplugin5.Provider/ValidateDataSourceConfig", 3220 } 3221 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3222 return srv.(ProviderServer).ValidateDataSourceConfig(ctx, req.(*ValidateDataSourceConfig_Request)) 3223 } 3224 return interceptor(ctx, in, info, handler) 3225 } 3226 3227 func _Provider_UpgradeResourceState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3228 in := new(UpgradeResourceState_Request) 3229 if err := dec(in); err != nil { 3230 return nil, err 3231 } 3232 if interceptor == nil { 3233 return srv.(ProviderServer).UpgradeResourceState(ctx, in) 3234 } 3235 info := &grpc.UnaryServerInfo{ 3236 Server: srv, 3237 FullMethod: "/tfplugin5.Provider/UpgradeResourceState", 3238 } 3239 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3240 return srv.(ProviderServer).UpgradeResourceState(ctx, req.(*UpgradeResourceState_Request)) 3241 } 3242 return interceptor(ctx, in, info, handler) 3243 } 3244 3245 func _Provider_Configure_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3246 in := new(Configure_Request) 3247 if err := dec(in); err != nil { 3248 return nil, err 3249 } 3250 if interceptor == nil { 3251 return srv.(ProviderServer).Configure(ctx, in) 3252 } 3253 info := &grpc.UnaryServerInfo{ 3254 Server: srv, 3255 FullMethod: "/tfplugin5.Provider/Configure", 3256 } 3257 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3258 return srv.(ProviderServer).Configure(ctx, req.(*Configure_Request)) 3259 } 3260 return interceptor(ctx, in, info, handler) 3261 } 3262 3263 func _Provider_ReadResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3264 in := new(ReadResource_Request) 3265 if err := dec(in); err != nil { 3266 return nil, err 3267 } 3268 if interceptor == nil { 3269 return srv.(ProviderServer).ReadResource(ctx, in) 3270 } 3271 info := &grpc.UnaryServerInfo{ 3272 Server: srv, 3273 FullMethod: "/tfplugin5.Provider/ReadResource", 3274 } 3275 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3276 return srv.(ProviderServer).ReadResource(ctx, req.(*ReadResource_Request)) 3277 } 3278 return interceptor(ctx, in, info, handler) 3279 } 3280 3281 func _Provider_PlanResourceChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3282 in := new(PlanResourceChange_Request) 3283 if err := dec(in); err != nil { 3284 return nil, err 3285 } 3286 if interceptor == nil { 3287 return srv.(ProviderServer).PlanResourceChange(ctx, in) 3288 } 3289 info := &grpc.UnaryServerInfo{ 3290 Server: srv, 3291 FullMethod: "/tfplugin5.Provider/PlanResourceChange", 3292 } 3293 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3294 return srv.(ProviderServer).PlanResourceChange(ctx, req.(*PlanResourceChange_Request)) 3295 } 3296 return interceptor(ctx, in, info, handler) 3297 } 3298 3299 func _Provider_ApplyResourceChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3300 in := new(ApplyResourceChange_Request) 3301 if err := dec(in); err != nil { 3302 return nil, err 3303 } 3304 if interceptor == nil { 3305 return srv.(ProviderServer).ApplyResourceChange(ctx, in) 3306 } 3307 info := &grpc.UnaryServerInfo{ 3308 Server: srv, 3309 FullMethod: "/tfplugin5.Provider/ApplyResourceChange", 3310 } 3311 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3312 return srv.(ProviderServer).ApplyResourceChange(ctx, req.(*ApplyResourceChange_Request)) 3313 } 3314 return interceptor(ctx, in, info, handler) 3315 } 3316 3317 func _Provider_ImportResourceState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3318 in := new(ImportResourceState_Request) 3319 if err := dec(in); err != nil { 3320 return nil, err 3321 } 3322 if interceptor == nil { 3323 return srv.(ProviderServer).ImportResourceState(ctx, in) 3324 } 3325 info := &grpc.UnaryServerInfo{ 3326 Server: srv, 3327 FullMethod: "/tfplugin5.Provider/ImportResourceState", 3328 } 3329 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3330 return srv.(ProviderServer).ImportResourceState(ctx, req.(*ImportResourceState_Request)) 3331 } 3332 return interceptor(ctx, in, info, handler) 3333 } 3334 3335 func _Provider_ReadDataSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3336 in := new(ReadDataSource_Request) 3337 if err := dec(in); err != nil { 3338 return nil, err 3339 } 3340 if interceptor == nil { 3341 return srv.(ProviderServer).ReadDataSource(ctx, in) 3342 } 3343 info := &grpc.UnaryServerInfo{ 3344 Server: srv, 3345 FullMethod: "/tfplugin5.Provider/ReadDataSource", 3346 } 3347 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3348 return srv.(ProviderServer).ReadDataSource(ctx, req.(*ReadDataSource_Request)) 3349 } 3350 return interceptor(ctx, in, info, handler) 3351 } 3352 3353 func _Provider_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3354 in := new(Stop_Request) 3355 if err := dec(in); err != nil { 3356 return nil, err 3357 } 3358 if interceptor == nil { 3359 return srv.(ProviderServer).Stop(ctx, in) 3360 } 3361 info := &grpc.UnaryServerInfo{ 3362 Server: srv, 3363 FullMethod: "/tfplugin5.Provider/Stop", 3364 } 3365 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3366 return srv.(ProviderServer).Stop(ctx, req.(*Stop_Request)) 3367 } 3368 return interceptor(ctx, in, info, handler) 3369 } 3370 3371 var _Provider_serviceDesc = grpc.ServiceDesc{ 3372 ServiceName: "tfplugin5.Provider", 3373 HandlerType: (*ProviderServer)(nil), 3374 Methods: []grpc.MethodDesc{ 3375 { 3376 MethodName: "GetSchema", 3377 Handler: _Provider_GetSchema_Handler, 3378 }, 3379 { 3380 MethodName: "PrepareProviderConfig", 3381 Handler: _Provider_PrepareProviderConfig_Handler, 3382 }, 3383 { 3384 MethodName: "ValidateResourceTypeConfig", 3385 Handler: _Provider_ValidateResourceTypeConfig_Handler, 3386 }, 3387 { 3388 MethodName: "ValidateDataSourceConfig", 3389 Handler: _Provider_ValidateDataSourceConfig_Handler, 3390 }, 3391 { 3392 MethodName: "UpgradeResourceState", 3393 Handler: _Provider_UpgradeResourceState_Handler, 3394 }, 3395 { 3396 MethodName: "Configure", 3397 Handler: _Provider_Configure_Handler, 3398 }, 3399 { 3400 MethodName: "ReadResource", 3401 Handler: _Provider_ReadResource_Handler, 3402 }, 3403 { 3404 MethodName: "PlanResourceChange", 3405 Handler: _Provider_PlanResourceChange_Handler, 3406 }, 3407 { 3408 MethodName: "ApplyResourceChange", 3409 Handler: _Provider_ApplyResourceChange_Handler, 3410 }, 3411 { 3412 MethodName: "ImportResourceState", 3413 Handler: _Provider_ImportResourceState_Handler, 3414 }, 3415 { 3416 MethodName: "ReadDataSource", 3417 Handler: _Provider_ReadDataSource_Handler, 3418 }, 3419 { 3420 MethodName: "Stop", 3421 Handler: _Provider_Stop_Handler, 3422 }, 3423 }, 3424 Streams: []grpc.StreamDesc{}, 3425 Metadata: "tfplugin5.proto", 3426 } 3427 3428 // ProvisionerClient is the client API for Provisioner service. 3429 // 3430 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 3431 type ProvisionerClient interface { 3432 GetSchema(ctx context.Context, in *GetProvisionerSchema_Request, opts ...grpc.CallOption) (*GetProvisionerSchema_Response, error) 3433 ValidateProvisionerConfig(ctx context.Context, in *ValidateProvisionerConfig_Request, opts ...grpc.CallOption) (*ValidateProvisionerConfig_Response, error) 3434 ProvisionResource(ctx context.Context, in *ProvisionResource_Request, opts ...grpc.CallOption) (Provisioner_ProvisionResourceClient, error) 3435 Stop(ctx context.Context, in *Stop_Request, opts ...grpc.CallOption) (*Stop_Response, error) 3436 } 3437 3438 type provisionerClient struct { 3439 cc grpc.ClientConnInterface 3440 } 3441 3442 func NewProvisionerClient(cc grpc.ClientConnInterface) ProvisionerClient { 3443 return &provisionerClient{cc} 3444 } 3445 3446 func (c *provisionerClient) GetSchema(ctx context.Context, in *GetProvisionerSchema_Request, opts ...grpc.CallOption) (*GetProvisionerSchema_Response, error) { 3447 out := new(GetProvisionerSchema_Response) 3448 err := c.cc.Invoke(ctx, "/tfplugin5.Provisioner/GetSchema", in, out, opts...) 3449 if err != nil { 3450 return nil, err 3451 } 3452 return out, nil 3453 } 3454 3455 func (c *provisionerClient) ValidateProvisionerConfig(ctx context.Context, in *ValidateProvisionerConfig_Request, opts ...grpc.CallOption) (*ValidateProvisionerConfig_Response, error) { 3456 out := new(ValidateProvisionerConfig_Response) 3457 err := c.cc.Invoke(ctx, "/tfplugin5.Provisioner/ValidateProvisionerConfig", in, out, opts...) 3458 if err != nil { 3459 return nil, err 3460 } 3461 return out, nil 3462 } 3463 3464 func (c *provisionerClient) ProvisionResource(ctx context.Context, in *ProvisionResource_Request, opts ...grpc.CallOption) (Provisioner_ProvisionResourceClient, error) { 3465 stream, err := c.cc.NewStream(ctx, &_Provisioner_serviceDesc.Streams[0], "/tfplugin5.Provisioner/ProvisionResource", opts...) 3466 if err != nil { 3467 return nil, err 3468 } 3469 x := &provisionerProvisionResourceClient{stream} 3470 if err := x.ClientStream.SendMsg(in); err != nil { 3471 return nil, err 3472 } 3473 if err := x.ClientStream.CloseSend(); err != nil { 3474 return nil, err 3475 } 3476 return x, nil 3477 } 3478 3479 type Provisioner_ProvisionResourceClient interface { 3480 Recv() (*ProvisionResource_Response, error) 3481 grpc.ClientStream 3482 } 3483 3484 type provisionerProvisionResourceClient struct { 3485 grpc.ClientStream 3486 } 3487 3488 func (x *provisionerProvisionResourceClient) Recv() (*ProvisionResource_Response, error) { 3489 m := new(ProvisionResource_Response) 3490 if err := x.ClientStream.RecvMsg(m); err != nil { 3491 return nil, err 3492 } 3493 return m, nil 3494 } 3495 3496 func (c *provisionerClient) Stop(ctx context.Context, in *Stop_Request, opts ...grpc.CallOption) (*Stop_Response, error) { 3497 out := new(Stop_Response) 3498 err := c.cc.Invoke(ctx, "/tfplugin5.Provisioner/Stop", in, out, opts...) 3499 if err != nil { 3500 return nil, err 3501 } 3502 return out, nil 3503 } 3504 3505 // ProvisionerServer is the server API for Provisioner service. 3506 type ProvisionerServer interface { 3507 GetSchema(context.Context, *GetProvisionerSchema_Request) (*GetProvisionerSchema_Response, error) 3508 ValidateProvisionerConfig(context.Context, *ValidateProvisionerConfig_Request) (*ValidateProvisionerConfig_Response, error) 3509 ProvisionResource(*ProvisionResource_Request, Provisioner_ProvisionResourceServer) error 3510 Stop(context.Context, *Stop_Request) (*Stop_Response, error) 3511 } 3512 3513 // UnimplementedProvisionerServer can be embedded to have forward compatible implementations. 3514 type UnimplementedProvisionerServer struct { 3515 } 3516 3517 func (*UnimplementedProvisionerServer) GetSchema(ctx context.Context, req *GetProvisionerSchema_Request) (*GetProvisionerSchema_Response, error) { 3518 return nil, status.Errorf(codes.Unimplemented, "method GetSchema not implemented") 3519 } 3520 func (*UnimplementedProvisionerServer) ValidateProvisionerConfig(ctx context.Context, req *ValidateProvisionerConfig_Request) (*ValidateProvisionerConfig_Response, error) { 3521 return nil, status.Errorf(codes.Unimplemented, "method ValidateProvisionerConfig not implemented") 3522 } 3523 func (*UnimplementedProvisionerServer) ProvisionResource(req *ProvisionResource_Request, srv Provisioner_ProvisionResourceServer) error { 3524 return status.Errorf(codes.Unimplemented, "method ProvisionResource not implemented") 3525 } 3526 func (*UnimplementedProvisionerServer) Stop(ctx context.Context, req *Stop_Request) (*Stop_Response, error) { 3527 return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") 3528 } 3529 3530 func RegisterProvisionerServer(s *grpc.Server, srv ProvisionerServer) { 3531 s.RegisterService(&_Provisioner_serviceDesc, srv) 3532 } 3533 3534 func _Provisioner_GetSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3535 in := new(GetProvisionerSchema_Request) 3536 if err := dec(in); err != nil { 3537 return nil, err 3538 } 3539 if interceptor == nil { 3540 return srv.(ProvisionerServer).GetSchema(ctx, in) 3541 } 3542 info := &grpc.UnaryServerInfo{ 3543 Server: srv, 3544 FullMethod: "/tfplugin5.Provisioner/GetSchema", 3545 } 3546 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3547 return srv.(ProvisionerServer).GetSchema(ctx, req.(*GetProvisionerSchema_Request)) 3548 } 3549 return interceptor(ctx, in, info, handler) 3550 } 3551 3552 func _Provisioner_ValidateProvisionerConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3553 in := new(ValidateProvisionerConfig_Request) 3554 if err := dec(in); err != nil { 3555 return nil, err 3556 } 3557 if interceptor == nil { 3558 return srv.(ProvisionerServer).ValidateProvisionerConfig(ctx, in) 3559 } 3560 info := &grpc.UnaryServerInfo{ 3561 Server: srv, 3562 FullMethod: "/tfplugin5.Provisioner/ValidateProvisionerConfig", 3563 } 3564 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3565 return srv.(ProvisionerServer).ValidateProvisionerConfig(ctx, req.(*ValidateProvisionerConfig_Request)) 3566 } 3567 return interceptor(ctx, in, info, handler) 3568 } 3569 3570 func _Provisioner_ProvisionResource_Handler(srv interface{}, stream grpc.ServerStream) error { 3571 m := new(ProvisionResource_Request) 3572 if err := stream.RecvMsg(m); err != nil { 3573 return err 3574 } 3575 return srv.(ProvisionerServer).ProvisionResource(m, &provisionerProvisionResourceServer{stream}) 3576 } 3577 3578 type Provisioner_ProvisionResourceServer interface { 3579 Send(*ProvisionResource_Response) error 3580 grpc.ServerStream 3581 } 3582 3583 type provisionerProvisionResourceServer struct { 3584 grpc.ServerStream 3585 } 3586 3587 func (x *provisionerProvisionResourceServer) Send(m *ProvisionResource_Response) error { 3588 return x.ServerStream.SendMsg(m) 3589 } 3590 3591 func _Provisioner_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3592 in := new(Stop_Request) 3593 if err := dec(in); err != nil { 3594 return nil, err 3595 } 3596 if interceptor == nil { 3597 return srv.(ProvisionerServer).Stop(ctx, in) 3598 } 3599 info := &grpc.UnaryServerInfo{ 3600 Server: srv, 3601 FullMethod: "/tfplugin5.Provisioner/Stop", 3602 } 3603 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3604 return srv.(ProvisionerServer).Stop(ctx, req.(*Stop_Request)) 3605 } 3606 return interceptor(ctx, in, info, handler) 3607 } 3608 3609 var _Provisioner_serviceDesc = grpc.ServiceDesc{ 3610 ServiceName: "tfplugin5.Provisioner", 3611 HandlerType: (*ProvisionerServer)(nil), 3612 Methods: []grpc.MethodDesc{ 3613 { 3614 MethodName: "GetSchema", 3615 Handler: _Provisioner_GetSchema_Handler, 3616 }, 3617 { 3618 MethodName: "ValidateProvisionerConfig", 3619 Handler: _Provisioner_ValidateProvisionerConfig_Handler, 3620 }, 3621 { 3622 MethodName: "Stop", 3623 Handler: _Provisioner_Stop_Handler, 3624 }, 3625 }, 3626 Streams: []grpc.StreamDesc{ 3627 { 3628 StreamName: "ProvisionResource", 3629 Handler: _Provisioner_ProvisionResource_Handler, 3630 ServerStreams: true, 3631 }, 3632 }, 3633 Metadata: "tfplugin5.proto", 3634 }