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