github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/internal/tfplugin5/tfplugin5.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: tfplugin5.proto 3 4 package tfplugin5 5 6 import ( 7 context "context" 8 fmt "fmt" 9 proto "github.com/golang/protobuf/proto" 10 grpc "google.golang.org/grpc" 11 codes "google.golang.org/grpc/codes" 12 status "google.golang.org/grpc/status" 13 math "math" 14 ) 15 16 // Reference imports to suppress errors if they are not otherwise used. 17 var _ = proto.Marshal 18 var _ = fmt.Errorf 19 var _ = math.Inf 20 21 // This is a compile-time assertion to ensure that this generated file 22 // is compatible with the proto package it is being compiled against. 23 // A compilation error at this line likely means your copy of the 24 // proto package needs to be updated. 25 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 26 27 type Diagnostic_Severity int32 28 29 const ( 30 Diagnostic_INVALID Diagnostic_Severity = 0 31 Diagnostic_ERROR Diagnostic_Severity = 1 32 Diagnostic_WARNING Diagnostic_Severity = 2 33 ) 34 35 var Diagnostic_Severity_name = map[int32]string{ 36 0: "INVALID", 37 1: "ERROR", 38 2: "WARNING", 39 } 40 41 var Diagnostic_Severity_value = map[string]int32{ 42 "INVALID": 0, 43 "ERROR": 1, 44 "WARNING": 2, 45 } 46 47 func (x Diagnostic_Severity) String() string { 48 return proto.EnumName(Diagnostic_Severity_name, int32(x)) 49 } 50 51 func (Diagnostic_Severity) EnumDescriptor() ([]byte, []int) { 52 return fileDescriptor_17ae6090ff270234, []int{1, 0} 53 } 54 55 type Schema_NestedBlock_NestingMode int32 56 57 const ( 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 66 var 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 75 var 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 84 func (x Schema_NestedBlock_NestingMode) String() string { 85 return proto.EnumName(Schema_NestedBlock_NestingMode_name, int32(x)) 86 } 87 88 func (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. 94 type 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 102 func (m *DynamicValue) Reset() { *m = DynamicValue{} } 103 func (m *DynamicValue) String() string { return proto.CompactTextString(m) } 104 func (*DynamicValue) ProtoMessage() {} 105 func (*DynamicValue) Descriptor() ([]byte, []int) { 106 return fileDescriptor_17ae6090ff270234, []int{0} 107 } 108 109 func (m *DynamicValue) XXX_Unmarshal(b []byte) error { 110 return xxx_messageInfo_DynamicValue.Unmarshal(m, b) 111 } 112 func (m *DynamicValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 113 return xxx_messageInfo_DynamicValue.Marshal(b, m, deterministic) 114 } 115 func (m *DynamicValue) XXX_Merge(src proto.Message) { 116 xxx_messageInfo_DynamicValue.Merge(m, src) 117 } 118 func (m *DynamicValue) XXX_Size() int { 119 return xxx_messageInfo_DynamicValue.Size(m) 120 } 121 func (m *DynamicValue) XXX_DiscardUnknown() { 122 xxx_messageInfo_DynamicValue.DiscardUnknown(m) 123 } 124 125 var xxx_messageInfo_DynamicValue proto.InternalMessageInfo 126 127 func (m *DynamicValue) GetMsgpack() []byte { 128 if m != nil { 129 return m.Msgpack 130 } 131 return nil 132 } 133 134 func (m *DynamicValue) GetJson() []byte { 135 if m != nil { 136 return m.Json 137 } 138 return nil 139 } 140 141 type 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 151 func (m *Diagnostic) Reset() { *m = Diagnostic{} } 152 func (m *Diagnostic) String() string { return proto.CompactTextString(m) } 153 func (*Diagnostic) ProtoMessage() {} 154 func (*Diagnostic) Descriptor() ([]byte, []int) { 155 return fileDescriptor_17ae6090ff270234, []int{1} 156 } 157 158 func (m *Diagnostic) XXX_Unmarshal(b []byte) error { 159 return xxx_messageInfo_Diagnostic.Unmarshal(m, b) 160 } 161 func (m *Diagnostic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 162 return xxx_messageInfo_Diagnostic.Marshal(b, m, deterministic) 163 } 164 func (m *Diagnostic) XXX_Merge(src proto.Message) { 165 xxx_messageInfo_Diagnostic.Merge(m, src) 166 } 167 func (m *Diagnostic) XXX_Size() int { 168 return xxx_messageInfo_Diagnostic.Size(m) 169 } 170 func (m *Diagnostic) XXX_DiscardUnknown() { 171 xxx_messageInfo_Diagnostic.DiscardUnknown(m) 172 } 173 174 var xxx_messageInfo_Diagnostic proto.InternalMessageInfo 175 176 func (m *Diagnostic) GetSeverity() Diagnostic_Severity { 177 if m != nil { 178 return m.Severity 179 } 180 return Diagnostic_INVALID 181 } 182 183 func (m *Diagnostic) GetSummary() string { 184 if m != nil { 185 return m.Summary 186 } 187 return "" 188 } 189 190 func (m *Diagnostic) GetDetail() string { 191 if m != nil { 192 return m.Detail 193 } 194 return "" 195 } 196 197 func (m *Diagnostic) GetAttribute() *AttributePath { 198 if m != nil { 199 return m.Attribute 200 } 201 return nil 202 } 203 204 type 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 211 func (m *AttributePath) Reset() { *m = AttributePath{} } 212 func (m *AttributePath) String() string { return proto.CompactTextString(m) } 213 func (*AttributePath) ProtoMessage() {} 214 func (*AttributePath) Descriptor() ([]byte, []int) { 215 return fileDescriptor_17ae6090ff270234, []int{2} 216 } 217 218 func (m *AttributePath) XXX_Unmarshal(b []byte) error { 219 return xxx_messageInfo_AttributePath.Unmarshal(m, b) 220 } 221 func (m *AttributePath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 222 return xxx_messageInfo_AttributePath.Marshal(b, m, deterministic) 223 } 224 func (m *AttributePath) XXX_Merge(src proto.Message) { 225 xxx_messageInfo_AttributePath.Merge(m, src) 226 } 227 func (m *AttributePath) XXX_Size() int { 228 return xxx_messageInfo_AttributePath.Size(m) 229 } 230 func (m *AttributePath) XXX_DiscardUnknown() { 231 xxx_messageInfo_AttributePath.DiscardUnknown(m) 232 } 233 234 var xxx_messageInfo_AttributePath proto.InternalMessageInfo 235 236 func (m *AttributePath) GetSteps() []*AttributePath_Step { 237 if m != nil { 238 return m.Steps 239 } 240 return nil 241 } 242 243 type 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 254 func (m *AttributePath_Step) Reset() { *m = AttributePath_Step{} } 255 func (m *AttributePath_Step) String() string { return proto.CompactTextString(m) } 256 func (*AttributePath_Step) ProtoMessage() {} 257 func (*AttributePath_Step) Descriptor() ([]byte, []int) { 258 return fileDescriptor_17ae6090ff270234, []int{2, 0} 259 } 260 261 func (m *AttributePath_Step) XXX_Unmarshal(b []byte) error { 262 return xxx_messageInfo_AttributePath_Step.Unmarshal(m, b) 263 } 264 func (m *AttributePath_Step) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 265 return xxx_messageInfo_AttributePath_Step.Marshal(b, m, deterministic) 266 } 267 func (m *AttributePath_Step) XXX_Merge(src proto.Message) { 268 xxx_messageInfo_AttributePath_Step.Merge(m, src) 269 } 270 func (m *AttributePath_Step) XXX_Size() int { 271 return xxx_messageInfo_AttributePath_Step.Size(m) 272 } 273 func (m *AttributePath_Step) XXX_DiscardUnknown() { 274 xxx_messageInfo_AttributePath_Step.DiscardUnknown(m) 275 } 276 277 var xxx_messageInfo_AttributePath_Step proto.InternalMessageInfo 278 279 type isAttributePath_Step_Selector interface { 280 isAttributePath_Step_Selector() 281 } 282 283 type AttributePath_Step_AttributeName struct { 284 AttributeName string `protobuf:"bytes,1,opt,name=attribute_name,json=attributeName,proto3,oneof"` 285 } 286 287 type AttributePath_Step_ElementKeyString struct { 288 ElementKeyString string `protobuf:"bytes,2,opt,name=element_key_string,json=elementKeyString,proto3,oneof"` 289 } 290 291 type AttributePath_Step_ElementKeyInt struct { 292 ElementKeyInt int64 `protobuf:"varint,3,opt,name=element_key_int,json=elementKeyInt,proto3,oneof"` 293 } 294 295 func (*AttributePath_Step_AttributeName) isAttributePath_Step_Selector() {} 296 297 func (*AttributePath_Step_ElementKeyString) isAttributePath_Step_Selector() {} 298 299 func (*AttributePath_Step_ElementKeyInt) isAttributePath_Step_Selector() {} 300 301 func (m *AttributePath_Step) GetSelector() isAttributePath_Step_Selector { 302 if m != nil { 303 return m.Selector 304 } 305 return nil 306 } 307 308 func (m *AttributePath_Step) GetAttributeName() string { 309 if x, ok := m.GetSelector().(*AttributePath_Step_AttributeName); ok { 310 return x.AttributeName 311 } 312 return "" 313 } 314 315 func (m *AttributePath_Step) GetElementKeyString() string { 316 if x, ok := m.GetSelector().(*AttributePath_Step_ElementKeyString); ok { 317 return x.ElementKeyString 318 } 319 return "" 320 } 321 322 func (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. 330 func (*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 338 type Stop struct { 339 XXX_NoUnkeyedLiteral struct{} `json:"-"` 340 XXX_unrecognized []byte `json:"-"` 341 XXX_sizecache int32 `json:"-"` 342 } 343 344 func (m *Stop) Reset() { *m = Stop{} } 345 func (m *Stop) String() string { return proto.CompactTextString(m) } 346 func (*Stop) ProtoMessage() {} 347 func (*Stop) Descriptor() ([]byte, []int) { 348 return fileDescriptor_17ae6090ff270234, []int{3} 349 } 350 351 func (m *Stop) XXX_Unmarshal(b []byte) error { 352 return xxx_messageInfo_Stop.Unmarshal(m, b) 353 } 354 func (m *Stop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 355 return xxx_messageInfo_Stop.Marshal(b, m, deterministic) 356 } 357 func (m *Stop) XXX_Merge(src proto.Message) { 358 xxx_messageInfo_Stop.Merge(m, src) 359 } 360 func (m *Stop) XXX_Size() int { 361 return xxx_messageInfo_Stop.Size(m) 362 } 363 func (m *Stop) XXX_DiscardUnknown() { 364 xxx_messageInfo_Stop.DiscardUnknown(m) 365 } 366 367 var xxx_messageInfo_Stop proto.InternalMessageInfo 368 369 type Stop_Request struct { 370 XXX_NoUnkeyedLiteral struct{} `json:"-"` 371 XXX_unrecognized []byte `json:"-"` 372 XXX_sizecache int32 `json:"-"` 373 } 374 375 func (m *Stop_Request) Reset() { *m = Stop_Request{} } 376 func (m *Stop_Request) String() string { return proto.CompactTextString(m) } 377 func (*Stop_Request) ProtoMessage() {} 378 func (*Stop_Request) Descriptor() ([]byte, []int) { 379 return fileDescriptor_17ae6090ff270234, []int{3, 0} 380 } 381 382 func (m *Stop_Request) XXX_Unmarshal(b []byte) error { 383 return xxx_messageInfo_Stop_Request.Unmarshal(m, b) 384 } 385 func (m *Stop_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 386 return xxx_messageInfo_Stop_Request.Marshal(b, m, deterministic) 387 } 388 func (m *Stop_Request) XXX_Merge(src proto.Message) { 389 xxx_messageInfo_Stop_Request.Merge(m, src) 390 } 391 func (m *Stop_Request) XXX_Size() int { 392 return xxx_messageInfo_Stop_Request.Size(m) 393 } 394 func (m *Stop_Request) XXX_DiscardUnknown() { 395 xxx_messageInfo_Stop_Request.DiscardUnknown(m) 396 } 397 398 var xxx_messageInfo_Stop_Request proto.InternalMessageInfo 399 400 type 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 407 func (m *Stop_Response) Reset() { *m = Stop_Response{} } 408 func (m *Stop_Response) String() string { return proto.CompactTextString(m) } 409 func (*Stop_Response) ProtoMessage() {} 410 func (*Stop_Response) Descriptor() ([]byte, []int) { 411 return fileDescriptor_17ae6090ff270234, []int{3, 1} 412 } 413 414 func (m *Stop_Response) XXX_Unmarshal(b []byte) error { 415 return xxx_messageInfo_Stop_Response.Unmarshal(m, b) 416 } 417 func (m *Stop_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 418 return xxx_messageInfo_Stop_Response.Marshal(b, m, deterministic) 419 } 420 func (m *Stop_Response) XXX_Merge(src proto.Message) { 421 xxx_messageInfo_Stop_Response.Merge(m, src) 422 } 423 func (m *Stop_Response) XXX_Size() int { 424 return xxx_messageInfo_Stop_Response.Size(m) 425 } 426 func (m *Stop_Response) XXX_DiscardUnknown() { 427 xxx_messageInfo_Stop_Response.DiscardUnknown(m) 428 } 429 430 var xxx_messageInfo_Stop_Response proto.InternalMessageInfo 431 432 func (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. 442 type 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 450 func (m *RawState) Reset() { *m = RawState{} } 451 func (m *RawState) String() string { return proto.CompactTextString(m) } 452 func (*RawState) ProtoMessage() {} 453 func (*RawState) Descriptor() ([]byte, []int) { 454 return fileDescriptor_17ae6090ff270234, []int{4} 455 } 456 457 func (m *RawState) XXX_Unmarshal(b []byte) error { 458 return xxx_messageInfo_RawState.Unmarshal(m, b) 459 } 460 func (m *RawState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 461 return xxx_messageInfo_RawState.Marshal(b, m, deterministic) 462 } 463 func (m *RawState) XXX_Merge(src proto.Message) { 464 xxx_messageInfo_RawState.Merge(m, src) 465 } 466 func (m *RawState) XXX_Size() int { 467 return xxx_messageInfo_RawState.Size(m) 468 } 469 func (m *RawState) XXX_DiscardUnknown() { 470 xxx_messageInfo_RawState.DiscardUnknown(m) 471 } 472 473 var xxx_messageInfo_RawState proto.InternalMessageInfo 474 475 func (m *RawState) GetJson() []byte { 476 if m != nil { 477 return m.Json 478 } 479 return nil 480 } 481 482 func (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. 490 type 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 502 func (m *Schema) Reset() { *m = Schema{} } 503 func (m *Schema) String() string { return proto.CompactTextString(m) } 504 func (*Schema) ProtoMessage() {} 505 func (*Schema) Descriptor() ([]byte, []int) { 506 return fileDescriptor_17ae6090ff270234, []int{5} 507 } 508 509 func (m *Schema) XXX_Unmarshal(b []byte) error { 510 return xxx_messageInfo_Schema.Unmarshal(m, b) 511 } 512 func (m *Schema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 513 return xxx_messageInfo_Schema.Marshal(b, m, deterministic) 514 } 515 func (m *Schema) XXX_Merge(src proto.Message) { 516 xxx_messageInfo_Schema.Merge(m, src) 517 } 518 func (m *Schema) XXX_Size() int { 519 return xxx_messageInfo_Schema.Size(m) 520 } 521 func (m *Schema) XXX_DiscardUnknown() { 522 xxx_messageInfo_Schema.DiscardUnknown(m) 523 } 524 525 var xxx_messageInfo_Schema proto.InternalMessageInfo 526 527 func (m *Schema) GetVersion() int64 { 528 if m != nil { 529 return m.Version 530 } 531 return 0 532 } 533 534 func (m *Schema) GetBlock() *Schema_Block { 535 if m != nil { 536 return m.Block 537 } 538 return nil 539 } 540 541 type 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 550 func (m *Schema_Block) Reset() { *m = Schema_Block{} } 551 func (m *Schema_Block) String() string { return proto.CompactTextString(m) } 552 func (*Schema_Block) ProtoMessage() {} 553 func (*Schema_Block) Descriptor() ([]byte, []int) { 554 return fileDescriptor_17ae6090ff270234, []int{5, 0} 555 } 556 557 func (m *Schema_Block) XXX_Unmarshal(b []byte) error { 558 return xxx_messageInfo_Schema_Block.Unmarshal(m, b) 559 } 560 func (m *Schema_Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 561 return xxx_messageInfo_Schema_Block.Marshal(b, m, deterministic) 562 } 563 func (m *Schema_Block) XXX_Merge(src proto.Message) { 564 xxx_messageInfo_Schema_Block.Merge(m, src) 565 } 566 func (m *Schema_Block) XXX_Size() int { 567 return xxx_messageInfo_Schema_Block.Size(m) 568 } 569 func (m *Schema_Block) XXX_DiscardUnknown() { 570 xxx_messageInfo_Schema_Block.DiscardUnknown(m) 571 } 572 573 var xxx_messageInfo_Schema_Block proto.InternalMessageInfo 574 575 func (m *Schema_Block) GetVersion() int64 { 576 if m != nil { 577 return m.Version 578 } 579 return 0 580 } 581 582 func (m *Schema_Block) GetAttributes() []*Schema_Attribute { 583 if m != nil { 584 return m.Attributes 585 } 586 return nil 587 } 588 589 func (m *Schema_Block) GetBlockTypes() []*Schema_NestedBlock { 590 if m != nil { 591 return m.BlockTypes 592 } 593 return nil 594 } 595 596 type 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 609 func (m *Schema_Attribute) Reset() { *m = Schema_Attribute{} } 610 func (m *Schema_Attribute) String() string { return proto.CompactTextString(m) } 611 func (*Schema_Attribute) ProtoMessage() {} 612 func (*Schema_Attribute) Descriptor() ([]byte, []int) { 613 return fileDescriptor_17ae6090ff270234, []int{5, 1} 614 } 615 616 func (m *Schema_Attribute) XXX_Unmarshal(b []byte) error { 617 return xxx_messageInfo_Schema_Attribute.Unmarshal(m, b) 618 } 619 func (m *Schema_Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 620 return xxx_messageInfo_Schema_Attribute.Marshal(b, m, deterministic) 621 } 622 func (m *Schema_Attribute) XXX_Merge(src proto.Message) { 623 xxx_messageInfo_Schema_Attribute.Merge(m, src) 624 } 625 func (m *Schema_Attribute) XXX_Size() int { 626 return xxx_messageInfo_Schema_Attribute.Size(m) 627 } 628 func (m *Schema_Attribute) XXX_DiscardUnknown() { 629 xxx_messageInfo_Schema_Attribute.DiscardUnknown(m) 630 } 631 632 var xxx_messageInfo_Schema_Attribute proto.InternalMessageInfo 633 634 func (m *Schema_Attribute) GetName() string { 635 if m != nil { 636 return m.Name 637 } 638 return "" 639 } 640 641 func (m *Schema_Attribute) GetType() []byte { 642 if m != nil { 643 return m.Type 644 } 645 return nil 646 } 647 648 func (m *Schema_Attribute) GetDescription() string { 649 if m != nil { 650 return m.Description 651 } 652 return "" 653 } 654 655 func (m *Schema_Attribute) GetRequired() bool { 656 if m != nil { 657 return m.Required 658 } 659 return false 660 } 661 662 func (m *Schema_Attribute) GetOptional() bool { 663 if m != nil { 664 return m.Optional 665 } 666 return false 667 } 668 669 func (m *Schema_Attribute) GetComputed() bool { 670 if m != nil { 671 return m.Computed 672 } 673 return false 674 } 675 676 func (m *Schema_Attribute) GetSensitive() bool { 677 if m != nil { 678 return m.Sensitive 679 } 680 return false 681 } 682 683 type 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 694 func (m *Schema_NestedBlock) Reset() { *m = Schema_NestedBlock{} } 695 func (m *Schema_NestedBlock) String() string { return proto.CompactTextString(m) } 696 func (*Schema_NestedBlock) ProtoMessage() {} 697 func (*Schema_NestedBlock) Descriptor() ([]byte, []int) { 698 return fileDescriptor_17ae6090ff270234, []int{5, 2} 699 } 700 701 func (m *Schema_NestedBlock) XXX_Unmarshal(b []byte) error { 702 return xxx_messageInfo_Schema_NestedBlock.Unmarshal(m, b) 703 } 704 func (m *Schema_NestedBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 705 return xxx_messageInfo_Schema_NestedBlock.Marshal(b, m, deterministic) 706 } 707 func (m *Schema_NestedBlock) XXX_Merge(src proto.Message) { 708 xxx_messageInfo_Schema_NestedBlock.Merge(m, src) 709 } 710 func (m *Schema_NestedBlock) XXX_Size() int { 711 return xxx_messageInfo_Schema_NestedBlock.Size(m) 712 } 713 func (m *Schema_NestedBlock) XXX_DiscardUnknown() { 714 xxx_messageInfo_Schema_NestedBlock.DiscardUnknown(m) 715 } 716 717 var xxx_messageInfo_Schema_NestedBlock proto.InternalMessageInfo 718 719 func (m *Schema_NestedBlock) GetTypeName() string { 720 if m != nil { 721 return m.TypeName 722 } 723 return "" 724 } 725 726 func (m *Schema_NestedBlock) GetBlock() *Schema_Block { 727 if m != nil { 728 return m.Block 729 } 730 return nil 731 } 732 733 func (m *Schema_NestedBlock) GetNesting() Schema_NestedBlock_NestingMode { 734 if m != nil { 735 return m.Nesting 736 } 737 return Schema_NestedBlock_INVALID 738 } 739 740 func (m *Schema_NestedBlock) GetMinItems() int64 { 741 if m != nil { 742 return m.MinItems 743 } 744 return 0 745 } 746 747 func (m *Schema_NestedBlock) GetMaxItems() int64 { 748 if m != nil { 749 return m.MaxItems 750 } 751 return 0 752 } 753 754 type GetProviderSchema struct { 755 XXX_NoUnkeyedLiteral struct{} `json:"-"` 756 XXX_unrecognized []byte `json:"-"` 757 XXX_sizecache int32 `json:"-"` 758 } 759 760 func (m *GetProviderSchema) Reset() { *m = GetProviderSchema{} } 761 func (m *GetProviderSchema) String() string { return proto.CompactTextString(m) } 762 func (*GetProviderSchema) ProtoMessage() {} 763 func (*GetProviderSchema) Descriptor() ([]byte, []int) { 764 return fileDescriptor_17ae6090ff270234, []int{6} 765 } 766 767 func (m *GetProviderSchema) XXX_Unmarshal(b []byte) error { 768 return xxx_messageInfo_GetProviderSchema.Unmarshal(m, b) 769 } 770 func (m *GetProviderSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 771 return xxx_messageInfo_GetProviderSchema.Marshal(b, m, deterministic) 772 } 773 func (m *GetProviderSchema) XXX_Merge(src proto.Message) { 774 xxx_messageInfo_GetProviderSchema.Merge(m, src) 775 } 776 func (m *GetProviderSchema) XXX_Size() int { 777 return xxx_messageInfo_GetProviderSchema.Size(m) 778 } 779 func (m *GetProviderSchema) XXX_DiscardUnknown() { 780 xxx_messageInfo_GetProviderSchema.DiscardUnknown(m) 781 } 782 783 var xxx_messageInfo_GetProviderSchema proto.InternalMessageInfo 784 785 type GetProviderSchema_Request struct { 786 XXX_NoUnkeyedLiteral struct{} `json:"-"` 787 XXX_unrecognized []byte `json:"-"` 788 XXX_sizecache int32 `json:"-"` 789 } 790 791 func (m *GetProviderSchema_Request) Reset() { *m = GetProviderSchema_Request{} } 792 func (m *GetProviderSchema_Request) String() string { return proto.CompactTextString(m) } 793 func (*GetProviderSchema_Request) ProtoMessage() {} 794 func (*GetProviderSchema_Request) Descriptor() ([]byte, []int) { 795 return fileDescriptor_17ae6090ff270234, []int{6, 0} 796 } 797 798 func (m *GetProviderSchema_Request) XXX_Unmarshal(b []byte) error { 799 return xxx_messageInfo_GetProviderSchema_Request.Unmarshal(m, b) 800 } 801 func (m *GetProviderSchema_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 802 return xxx_messageInfo_GetProviderSchema_Request.Marshal(b, m, deterministic) 803 } 804 func (m *GetProviderSchema_Request) XXX_Merge(src proto.Message) { 805 xxx_messageInfo_GetProviderSchema_Request.Merge(m, src) 806 } 807 func (m *GetProviderSchema_Request) XXX_Size() int { 808 return xxx_messageInfo_GetProviderSchema_Request.Size(m) 809 } 810 func (m *GetProviderSchema_Request) XXX_DiscardUnknown() { 811 xxx_messageInfo_GetProviderSchema_Request.DiscardUnknown(m) 812 } 813 814 var xxx_messageInfo_GetProviderSchema_Request proto.InternalMessageInfo 815 816 type 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 826 func (m *GetProviderSchema_Response) Reset() { *m = GetProviderSchema_Response{} } 827 func (m *GetProviderSchema_Response) String() string { return proto.CompactTextString(m) } 828 func (*GetProviderSchema_Response) ProtoMessage() {} 829 func (*GetProviderSchema_Response) Descriptor() ([]byte, []int) { 830 return fileDescriptor_17ae6090ff270234, []int{6, 1} 831 } 832 833 func (m *GetProviderSchema_Response) XXX_Unmarshal(b []byte) error { 834 return xxx_messageInfo_GetProviderSchema_Response.Unmarshal(m, b) 835 } 836 func (m *GetProviderSchema_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 837 return xxx_messageInfo_GetProviderSchema_Response.Marshal(b, m, deterministic) 838 } 839 func (m *GetProviderSchema_Response) XXX_Merge(src proto.Message) { 840 xxx_messageInfo_GetProviderSchema_Response.Merge(m, src) 841 } 842 func (m *GetProviderSchema_Response) XXX_Size() int { 843 return xxx_messageInfo_GetProviderSchema_Response.Size(m) 844 } 845 func (m *GetProviderSchema_Response) XXX_DiscardUnknown() { 846 xxx_messageInfo_GetProviderSchema_Response.DiscardUnknown(m) 847 } 848 849 var xxx_messageInfo_GetProviderSchema_Response proto.InternalMessageInfo 850 851 func (m *GetProviderSchema_Response) GetProvider() *Schema { 852 if m != nil { 853 return m.Provider 854 } 855 return nil 856 } 857 858 func (m *GetProviderSchema_Response) GetResourceSchemas() map[string]*Schema { 859 if m != nil { 860 return m.ResourceSchemas 861 } 862 return nil 863 } 864 865 func (m *GetProviderSchema_Response) GetDataSourceSchemas() map[string]*Schema { 866 if m != nil { 867 return m.DataSourceSchemas 868 } 869 return nil 870 } 871 872 func (m *GetProviderSchema_Response) GetDiagnostics() []*Diagnostic { 873 if m != nil { 874 return m.Diagnostics 875 } 876 return nil 877 } 878 879 type PrepareProviderConfig struct { 880 XXX_NoUnkeyedLiteral struct{} `json:"-"` 881 XXX_unrecognized []byte `json:"-"` 882 XXX_sizecache int32 `json:"-"` 883 } 884 885 func (m *PrepareProviderConfig) Reset() { *m = PrepareProviderConfig{} } 886 func (m *PrepareProviderConfig) String() string { return proto.CompactTextString(m) } 887 func (*PrepareProviderConfig) ProtoMessage() {} 888 func (*PrepareProviderConfig) Descriptor() ([]byte, []int) { 889 return fileDescriptor_17ae6090ff270234, []int{7} 890 } 891 892 func (m *PrepareProviderConfig) XXX_Unmarshal(b []byte) error { 893 return xxx_messageInfo_PrepareProviderConfig.Unmarshal(m, b) 894 } 895 func (m *PrepareProviderConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 896 return xxx_messageInfo_PrepareProviderConfig.Marshal(b, m, deterministic) 897 } 898 func (m *PrepareProviderConfig) XXX_Merge(src proto.Message) { 899 xxx_messageInfo_PrepareProviderConfig.Merge(m, src) 900 } 901 func (m *PrepareProviderConfig) XXX_Size() int { 902 return xxx_messageInfo_PrepareProviderConfig.Size(m) 903 } 904 func (m *PrepareProviderConfig) XXX_DiscardUnknown() { 905 xxx_messageInfo_PrepareProviderConfig.DiscardUnknown(m) 906 } 907 908 var xxx_messageInfo_PrepareProviderConfig proto.InternalMessageInfo 909 910 type 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 917 func (m *PrepareProviderConfig_Request) Reset() { *m = PrepareProviderConfig_Request{} } 918 func (m *PrepareProviderConfig_Request) String() string { return proto.CompactTextString(m) } 919 func (*PrepareProviderConfig_Request) ProtoMessage() {} 920 func (*PrepareProviderConfig_Request) Descriptor() ([]byte, []int) { 921 return fileDescriptor_17ae6090ff270234, []int{7, 0} 922 } 923 924 func (m *PrepareProviderConfig_Request) XXX_Unmarshal(b []byte) error { 925 return xxx_messageInfo_PrepareProviderConfig_Request.Unmarshal(m, b) 926 } 927 func (m *PrepareProviderConfig_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 928 return xxx_messageInfo_PrepareProviderConfig_Request.Marshal(b, m, deterministic) 929 } 930 func (m *PrepareProviderConfig_Request) XXX_Merge(src proto.Message) { 931 xxx_messageInfo_PrepareProviderConfig_Request.Merge(m, src) 932 } 933 func (m *PrepareProviderConfig_Request) XXX_Size() int { 934 return xxx_messageInfo_PrepareProviderConfig_Request.Size(m) 935 } 936 func (m *PrepareProviderConfig_Request) XXX_DiscardUnknown() { 937 xxx_messageInfo_PrepareProviderConfig_Request.DiscardUnknown(m) 938 } 939 940 var xxx_messageInfo_PrepareProviderConfig_Request proto.InternalMessageInfo 941 942 func (m *PrepareProviderConfig_Request) GetConfig() *DynamicValue { 943 if m != nil { 944 return m.Config 945 } 946 return nil 947 } 948 949 type 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 957 func (m *PrepareProviderConfig_Response) Reset() { *m = PrepareProviderConfig_Response{} } 958 func (m *PrepareProviderConfig_Response) String() string { return proto.CompactTextString(m) } 959 func (*PrepareProviderConfig_Response) ProtoMessage() {} 960 func (*PrepareProviderConfig_Response) Descriptor() ([]byte, []int) { 961 return fileDescriptor_17ae6090ff270234, []int{7, 1} 962 } 963 964 func (m *PrepareProviderConfig_Response) XXX_Unmarshal(b []byte) error { 965 return xxx_messageInfo_PrepareProviderConfig_Response.Unmarshal(m, b) 966 } 967 func (m *PrepareProviderConfig_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 968 return xxx_messageInfo_PrepareProviderConfig_Response.Marshal(b, m, deterministic) 969 } 970 func (m *PrepareProviderConfig_Response) XXX_Merge(src proto.Message) { 971 xxx_messageInfo_PrepareProviderConfig_Response.Merge(m, src) 972 } 973 func (m *PrepareProviderConfig_Response) XXX_Size() int { 974 return xxx_messageInfo_PrepareProviderConfig_Response.Size(m) 975 } 976 func (m *PrepareProviderConfig_Response) XXX_DiscardUnknown() { 977 xxx_messageInfo_PrepareProviderConfig_Response.DiscardUnknown(m) 978 } 979 980 var xxx_messageInfo_PrepareProviderConfig_Response proto.InternalMessageInfo 981 982 func (m *PrepareProviderConfig_Response) GetPreparedConfig() *DynamicValue { 983 if m != nil { 984 return m.PreparedConfig 985 } 986 return nil 987 } 988 989 func (m *PrepareProviderConfig_Response) GetDiagnostics() []*Diagnostic { 990 if m != nil { 991 return m.Diagnostics 992 } 993 return nil 994 } 995 996 type UpgradeResourceState struct { 997 XXX_NoUnkeyedLiteral struct{} `json:"-"` 998 XXX_unrecognized []byte `json:"-"` 999 XXX_sizecache int32 `json:"-"` 1000 } 1001 1002 func (m *UpgradeResourceState) Reset() { *m = UpgradeResourceState{} } 1003 func (m *UpgradeResourceState) String() string { return proto.CompactTextString(m) } 1004 func (*UpgradeResourceState) ProtoMessage() {} 1005 func (*UpgradeResourceState) Descriptor() ([]byte, []int) { 1006 return fileDescriptor_17ae6090ff270234, []int{8} 1007 } 1008 1009 func (m *UpgradeResourceState) XXX_Unmarshal(b []byte) error { 1010 return xxx_messageInfo_UpgradeResourceState.Unmarshal(m, b) 1011 } 1012 func (m *UpgradeResourceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1013 return xxx_messageInfo_UpgradeResourceState.Marshal(b, m, deterministic) 1014 } 1015 func (m *UpgradeResourceState) XXX_Merge(src proto.Message) { 1016 xxx_messageInfo_UpgradeResourceState.Merge(m, src) 1017 } 1018 func (m *UpgradeResourceState) XXX_Size() int { 1019 return xxx_messageInfo_UpgradeResourceState.Size(m) 1020 } 1021 func (m *UpgradeResourceState) XXX_DiscardUnknown() { 1022 xxx_messageInfo_UpgradeResourceState.DiscardUnknown(m) 1023 } 1024 1025 var xxx_messageInfo_UpgradeResourceState proto.InternalMessageInfo 1026 1027 type 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 1042 func (m *UpgradeResourceState_Request) Reset() { *m = UpgradeResourceState_Request{} } 1043 func (m *UpgradeResourceState_Request) String() string { return proto.CompactTextString(m) } 1044 func (*UpgradeResourceState_Request) ProtoMessage() {} 1045 func (*UpgradeResourceState_Request) Descriptor() ([]byte, []int) { 1046 return fileDescriptor_17ae6090ff270234, []int{8, 0} 1047 } 1048 1049 func (m *UpgradeResourceState_Request) XXX_Unmarshal(b []byte) error { 1050 return xxx_messageInfo_UpgradeResourceState_Request.Unmarshal(m, b) 1051 } 1052 func (m *UpgradeResourceState_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1053 return xxx_messageInfo_UpgradeResourceState_Request.Marshal(b, m, deterministic) 1054 } 1055 func (m *UpgradeResourceState_Request) XXX_Merge(src proto.Message) { 1056 xxx_messageInfo_UpgradeResourceState_Request.Merge(m, src) 1057 } 1058 func (m *UpgradeResourceState_Request) XXX_Size() int { 1059 return xxx_messageInfo_UpgradeResourceState_Request.Size(m) 1060 } 1061 func (m *UpgradeResourceState_Request) XXX_DiscardUnknown() { 1062 xxx_messageInfo_UpgradeResourceState_Request.DiscardUnknown(m) 1063 } 1064 1065 var xxx_messageInfo_UpgradeResourceState_Request proto.InternalMessageInfo 1066 1067 func (m *UpgradeResourceState_Request) GetTypeName() string { 1068 if m != nil { 1069 return m.TypeName 1070 } 1071 return "" 1072 } 1073 1074 func (m *UpgradeResourceState_Request) GetVersion() int64 { 1075 if m != nil { 1076 return m.Version 1077 } 1078 return 0 1079 } 1080 1081 func (m *UpgradeResourceState_Request) GetRawState() *RawState { 1082 if m != nil { 1083 return m.RawState 1084 } 1085 return nil 1086 } 1087 1088 type 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 1102 func (m *UpgradeResourceState_Response) Reset() { *m = UpgradeResourceState_Response{} } 1103 func (m *UpgradeResourceState_Response) String() string { return proto.CompactTextString(m) } 1104 func (*UpgradeResourceState_Response) ProtoMessage() {} 1105 func (*UpgradeResourceState_Response) Descriptor() ([]byte, []int) { 1106 return fileDescriptor_17ae6090ff270234, []int{8, 1} 1107 } 1108 1109 func (m *UpgradeResourceState_Response) XXX_Unmarshal(b []byte) error { 1110 return xxx_messageInfo_UpgradeResourceState_Response.Unmarshal(m, b) 1111 } 1112 func (m *UpgradeResourceState_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1113 return xxx_messageInfo_UpgradeResourceState_Response.Marshal(b, m, deterministic) 1114 } 1115 func (m *UpgradeResourceState_Response) XXX_Merge(src proto.Message) { 1116 xxx_messageInfo_UpgradeResourceState_Response.Merge(m, src) 1117 } 1118 func (m *UpgradeResourceState_Response) XXX_Size() int { 1119 return xxx_messageInfo_UpgradeResourceState_Response.Size(m) 1120 } 1121 func (m *UpgradeResourceState_Response) XXX_DiscardUnknown() { 1122 xxx_messageInfo_UpgradeResourceState_Response.DiscardUnknown(m) 1123 } 1124 1125 var xxx_messageInfo_UpgradeResourceState_Response proto.InternalMessageInfo 1126 1127 func (m *UpgradeResourceState_Response) GetUpgradedState() *DynamicValue { 1128 if m != nil { 1129 return m.UpgradedState 1130 } 1131 return nil 1132 } 1133 1134 func (m *UpgradeResourceState_Response) GetDiagnostics() []*Diagnostic { 1135 if m != nil { 1136 return m.Diagnostics 1137 } 1138 return nil 1139 } 1140 1141 type ValidateResourceTypeConfig struct { 1142 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1143 XXX_unrecognized []byte `json:"-"` 1144 XXX_sizecache int32 `json:"-"` 1145 } 1146 1147 func (m *ValidateResourceTypeConfig) Reset() { *m = ValidateResourceTypeConfig{} } 1148 func (m *ValidateResourceTypeConfig) String() string { return proto.CompactTextString(m) } 1149 func (*ValidateResourceTypeConfig) ProtoMessage() {} 1150 func (*ValidateResourceTypeConfig) Descriptor() ([]byte, []int) { 1151 return fileDescriptor_17ae6090ff270234, []int{9} 1152 } 1153 1154 func (m *ValidateResourceTypeConfig) XXX_Unmarshal(b []byte) error { 1155 return xxx_messageInfo_ValidateResourceTypeConfig.Unmarshal(m, b) 1156 } 1157 func (m *ValidateResourceTypeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1158 return xxx_messageInfo_ValidateResourceTypeConfig.Marshal(b, m, deterministic) 1159 } 1160 func (m *ValidateResourceTypeConfig) XXX_Merge(src proto.Message) { 1161 xxx_messageInfo_ValidateResourceTypeConfig.Merge(m, src) 1162 } 1163 func (m *ValidateResourceTypeConfig) XXX_Size() int { 1164 return xxx_messageInfo_ValidateResourceTypeConfig.Size(m) 1165 } 1166 func (m *ValidateResourceTypeConfig) XXX_DiscardUnknown() { 1167 xxx_messageInfo_ValidateResourceTypeConfig.DiscardUnknown(m) 1168 } 1169 1170 var xxx_messageInfo_ValidateResourceTypeConfig proto.InternalMessageInfo 1171 1172 type 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 1180 func (m *ValidateResourceTypeConfig_Request) Reset() { *m = ValidateResourceTypeConfig_Request{} } 1181 func (m *ValidateResourceTypeConfig_Request) String() string { return proto.CompactTextString(m) } 1182 func (*ValidateResourceTypeConfig_Request) ProtoMessage() {} 1183 func (*ValidateResourceTypeConfig_Request) Descriptor() ([]byte, []int) { 1184 return fileDescriptor_17ae6090ff270234, []int{9, 0} 1185 } 1186 1187 func (m *ValidateResourceTypeConfig_Request) XXX_Unmarshal(b []byte) error { 1188 return xxx_messageInfo_ValidateResourceTypeConfig_Request.Unmarshal(m, b) 1189 } 1190 func (m *ValidateResourceTypeConfig_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1191 return xxx_messageInfo_ValidateResourceTypeConfig_Request.Marshal(b, m, deterministic) 1192 } 1193 func (m *ValidateResourceTypeConfig_Request) XXX_Merge(src proto.Message) { 1194 xxx_messageInfo_ValidateResourceTypeConfig_Request.Merge(m, src) 1195 } 1196 func (m *ValidateResourceTypeConfig_Request) XXX_Size() int { 1197 return xxx_messageInfo_ValidateResourceTypeConfig_Request.Size(m) 1198 } 1199 func (m *ValidateResourceTypeConfig_Request) XXX_DiscardUnknown() { 1200 xxx_messageInfo_ValidateResourceTypeConfig_Request.DiscardUnknown(m) 1201 } 1202 1203 var xxx_messageInfo_ValidateResourceTypeConfig_Request proto.InternalMessageInfo 1204 1205 func (m *ValidateResourceTypeConfig_Request) GetTypeName() string { 1206 if m != nil { 1207 return m.TypeName 1208 } 1209 return "" 1210 } 1211 1212 func (m *ValidateResourceTypeConfig_Request) GetConfig() *DynamicValue { 1213 if m != nil { 1214 return m.Config 1215 } 1216 return nil 1217 } 1218 1219 type 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 1226 func (m *ValidateResourceTypeConfig_Response) Reset() { *m = ValidateResourceTypeConfig_Response{} } 1227 func (m *ValidateResourceTypeConfig_Response) String() string { return proto.CompactTextString(m) } 1228 func (*ValidateResourceTypeConfig_Response) ProtoMessage() {} 1229 func (*ValidateResourceTypeConfig_Response) Descriptor() ([]byte, []int) { 1230 return fileDescriptor_17ae6090ff270234, []int{9, 1} 1231 } 1232 1233 func (m *ValidateResourceTypeConfig_Response) XXX_Unmarshal(b []byte) error { 1234 return xxx_messageInfo_ValidateResourceTypeConfig_Response.Unmarshal(m, b) 1235 } 1236 func (m *ValidateResourceTypeConfig_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1237 return xxx_messageInfo_ValidateResourceTypeConfig_Response.Marshal(b, m, deterministic) 1238 } 1239 func (m *ValidateResourceTypeConfig_Response) XXX_Merge(src proto.Message) { 1240 xxx_messageInfo_ValidateResourceTypeConfig_Response.Merge(m, src) 1241 } 1242 func (m *ValidateResourceTypeConfig_Response) XXX_Size() int { 1243 return xxx_messageInfo_ValidateResourceTypeConfig_Response.Size(m) 1244 } 1245 func (m *ValidateResourceTypeConfig_Response) XXX_DiscardUnknown() { 1246 xxx_messageInfo_ValidateResourceTypeConfig_Response.DiscardUnknown(m) 1247 } 1248 1249 var xxx_messageInfo_ValidateResourceTypeConfig_Response proto.InternalMessageInfo 1250 1251 func (m *ValidateResourceTypeConfig_Response) GetDiagnostics() []*Diagnostic { 1252 if m != nil { 1253 return m.Diagnostics 1254 } 1255 return nil 1256 } 1257 1258 type ValidateDataSourceConfig struct { 1259 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1260 XXX_unrecognized []byte `json:"-"` 1261 XXX_sizecache int32 `json:"-"` 1262 } 1263 1264 func (m *ValidateDataSourceConfig) Reset() { *m = ValidateDataSourceConfig{} } 1265 func (m *ValidateDataSourceConfig) String() string { return proto.CompactTextString(m) } 1266 func (*ValidateDataSourceConfig) ProtoMessage() {} 1267 func (*ValidateDataSourceConfig) Descriptor() ([]byte, []int) { 1268 return fileDescriptor_17ae6090ff270234, []int{10} 1269 } 1270 1271 func (m *ValidateDataSourceConfig) XXX_Unmarshal(b []byte) error { 1272 return xxx_messageInfo_ValidateDataSourceConfig.Unmarshal(m, b) 1273 } 1274 func (m *ValidateDataSourceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1275 return xxx_messageInfo_ValidateDataSourceConfig.Marshal(b, m, deterministic) 1276 } 1277 func (m *ValidateDataSourceConfig) XXX_Merge(src proto.Message) { 1278 xxx_messageInfo_ValidateDataSourceConfig.Merge(m, src) 1279 } 1280 func (m *ValidateDataSourceConfig) XXX_Size() int { 1281 return xxx_messageInfo_ValidateDataSourceConfig.Size(m) 1282 } 1283 func (m *ValidateDataSourceConfig) XXX_DiscardUnknown() { 1284 xxx_messageInfo_ValidateDataSourceConfig.DiscardUnknown(m) 1285 } 1286 1287 var xxx_messageInfo_ValidateDataSourceConfig proto.InternalMessageInfo 1288 1289 type 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 1297 func (m *ValidateDataSourceConfig_Request) Reset() { *m = ValidateDataSourceConfig_Request{} } 1298 func (m *ValidateDataSourceConfig_Request) String() string { return proto.CompactTextString(m) } 1299 func (*ValidateDataSourceConfig_Request) ProtoMessage() {} 1300 func (*ValidateDataSourceConfig_Request) Descriptor() ([]byte, []int) { 1301 return fileDescriptor_17ae6090ff270234, []int{10, 0} 1302 } 1303 1304 func (m *ValidateDataSourceConfig_Request) XXX_Unmarshal(b []byte) error { 1305 return xxx_messageInfo_ValidateDataSourceConfig_Request.Unmarshal(m, b) 1306 } 1307 func (m *ValidateDataSourceConfig_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1308 return xxx_messageInfo_ValidateDataSourceConfig_Request.Marshal(b, m, deterministic) 1309 } 1310 func (m *ValidateDataSourceConfig_Request) XXX_Merge(src proto.Message) { 1311 xxx_messageInfo_ValidateDataSourceConfig_Request.Merge(m, src) 1312 } 1313 func (m *ValidateDataSourceConfig_Request) XXX_Size() int { 1314 return xxx_messageInfo_ValidateDataSourceConfig_Request.Size(m) 1315 } 1316 func (m *ValidateDataSourceConfig_Request) XXX_DiscardUnknown() { 1317 xxx_messageInfo_ValidateDataSourceConfig_Request.DiscardUnknown(m) 1318 } 1319 1320 var xxx_messageInfo_ValidateDataSourceConfig_Request proto.InternalMessageInfo 1321 1322 func (m *ValidateDataSourceConfig_Request) GetTypeName() string { 1323 if m != nil { 1324 return m.TypeName 1325 } 1326 return "" 1327 } 1328 1329 func (m *ValidateDataSourceConfig_Request) GetConfig() *DynamicValue { 1330 if m != nil { 1331 return m.Config 1332 } 1333 return nil 1334 } 1335 1336 type 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 1343 func (m *ValidateDataSourceConfig_Response) Reset() { *m = ValidateDataSourceConfig_Response{} } 1344 func (m *ValidateDataSourceConfig_Response) String() string { return proto.CompactTextString(m) } 1345 func (*ValidateDataSourceConfig_Response) ProtoMessage() {} 1346 func (*ValidateDataSourceConfig_Response) Descriptor() ([]byte, []int) { 1347 return fileDescriptor_17ae6090ff270234, []int{10, 1} 1348 } 1349 1350 func (m *ValidateDataSourceConfig_Response) XXX_Unmarshal(b []byte) error { 1351 return xxx_messageInfo_ValidateDataSourceConfig_Response.Unmarshal(m, b) 1352 } 1353 func (m *ValidateDataSourceConfig_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1354 return xxx_messageInfo_ValidateDataSourceConfig_Response.Marshal(b, m, deterministic) 1355 } 1356 func (m *ValidateDataSourceConfig_Response) XXX_Merge(src proto.Message) { 1357 xxx_messageInfo_ValidateDataSourceConfig_Response.Merge(m, src) 1358 } 1359 func (m *ValidateDataSourceConfig_Response) XXX_Size() int { 1360 return xxx_messageInfo_ValidateDataSourceConfig_Response.Size(m) 1361 } 1362 func (m *ValidateDataSourceConfig_Response) XXX_DiscardUnknown() { 1363 xxx_messageInfo_ValidateDataSourceConfig_Response.DiscardUnknown(m) 1364 } 1365 1366 var xxx_messageInfo_ValidateDataSourceConfig_Response proto.InternalMessageInfo 1367 1368 func (m *ValidateDataSourceConfig_Response) GetDiagnostics() []*Diagnostic { 1369 if m != nil { 1370 return m.Diagnostics 1371 } 1372 return nil 1373 } 1374 1375 type Configure struct { 1376 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1377 XXX_unrecognized []byte `json:"-"` 1378 XXX_sizecache int32 `json:"-"` 1379 } 1380 1381 func (m *Configure) Reset() { *m = Configure{} } 1382 func (m *Configure) String() string { return proto.CompactTextString(m) } 1383 func (*Configure) ProtoMessage() {} 1384 func (*Configure) Descriptor() ([]byte, []int) { 1385 return fileDescriptor_17ae6090ff270234, []int{11} 1386 } 1387 1388 func (m *Configure) XXX_Unmarshal(b []byte) error { 1389 return xxx_messageInfo_Configure.Unmarshal(m, b) 1390 } 1391 func (m *Configure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1392 return xxx_messageInfo_Configure.Marshal(b, m, deterministic) 1393 } 1394 func (m *Configure) XXX_Merge(src proto.Message) { 1395 xxx_messageInfo_Configure.Merge(m, src) 1396 } 1397 func (m *Configure) XXX_Size() int { 1398 return xxx_messageInfo_Configure.Size(m) 1399 } 1400 func (m *Configure) XXX_DiscardUnknown() { 1401 xxx_messageInfo_Configure.DiscardUnknown(m) 1402 } 1403 1404 var xxx_messageInfo_Configure proto.InternalMessageInfo 1405 1406 type 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 1414 func (m *Configure_Request) Reset() { *m = Configure_Request{} } 1415 func (m *Configure_Request) String() string { return proto.CompactTextString(m) } 1416 func (*Configure_Request) ProtoMessage() {} 1417 func (*Configure_Request) Descriptor() ([]byte, []int) { 1418 return fileDescriptor_17ae6090ff270234, []int{11, 0} 1419 } 1420 1421 func (m *Configure_Request) XXX_Unmarshal(b []byte) error { 1422 return xxx_messageInfo_Configure_Request.Unmarshal(m, b) 1423 } 1424 func (m *Configure_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1425 return xxx_messageInfo_Configure_Request.Marshal(b, m, deterministic) 1426 } 1427 func (m *Configure_Request) XXX_Merge(src proto.Message) { 1428 xxx_messageInfo_Configure_Request.Merge(m, src) 1429 } 1430 func (m *Configure_Request) XXX_Size() int { 1431 return xxx_messageInfo_Configure_Request.Size(m) 1432 } 1433 func (m *Configure_Request) XXX_DiscardUnknown() { 1434 xxx_messageInfo_Configure_Request.DiscardUnknown(m) 1435 } 1436 1437 var xxx_messageInfo_Configure_Request proto.InternalMessageInfo 1438 1439 func (m *Configure_Request) GetTerraformVersion() string { 1440 if m != nil { 1441 return m.TerraformVersion 1442 } 1443 return "" 1444 } 1445 1446 func (m *Configure_Request) GetConfig() *DynamicValue { 1447 if m != nil { 1448 return m.Config 1449 } 1450 return nil 1451 } 1452 1453 type 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 1460 func (m *Configure_Response) Reset() { *m = Configure_Response{} } 1461 func (m *Configure_Response) String() string { return proto.CompactTextString(m) } 1462 func (*Configure_Response) ProtoMessage() {} 1463 func (*Configure_Response) Descriptor() ([]byte, []int) { 1464 return fileDescriptor_17ae6090ff270234, []int{11, 1} 1465 } 1466 1467 func (m *Configure_Response) XXX_Unmarshal(b []byte) error { 1468 return xxx_messageInfo_Configure_Response.Unmarshal(m, b) 1469 } 1470 func (m *Configure_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1471 return xxx_messageInfo_Configure_Response.Marshal(b, m, deterministic) 1472 } 1473 func (m *Configure_Response) XXX_Merge(src proto.Message) { 1474 xxx_messageInfo_Configure_Response.Merge(m, src) 1475 } 1476 func (m *Configure_Response) XXX_Size() int { 1477 return xxx_messageInfo_Configure_Response.Size(m) 1478 } 1479 func (m *Configure_Response) XXX_DiscardUnknown() { 1480 xxx_messageInfo_Configure_Response.DiscardUnknown(m) 1481 } 1482 1483 var xxx_messageInfo_Configure_Response proto.InternalMessageInfo 1484 1485 func (m *Configure_Response) GetDiagnostics() []*Diagnostic { 1486 if m != nil { 1487 return m.Diagnostics 1488 } 1489 return nil 1490 } 1491 1492 type ReadResource struct { 1493 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1494 XXX_unrecognized []byte `json:"-"` 1495 XXX_sizecache int32 `json:"-"` 1496 } 1497 1498 func (m *ReadResource) Reset() { *m = ReadResource{} } 1499 func (m *ReadResource) String() string { return proto.CompactTextString(m) } 1500 func (*ReadResource) ProtoMessage() {} 1501 func (*ReadResource) Descriptor() ([]byte, []int) { 1502 return fileDescriptor_17ae6090ff270234, []int{12} 1503 } 1504 1505 func (m *ReadResource) XXX_Unmarshal(b []byte) error { 1506 return xxx_messageInfo_ReadResource.Unmarshal(m, b) 1507 } 1508 func (m *ReadResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1509 return xxx_messageInfo_ReadResource.Marshal(b, m, deterministic) 1510 } 1511 func (m *ReadResource) XXX_Merge(src proto.Message) { 1512 xxx_messageInfo_ReadResource.Merge(m, src) 1513 } 1514 func (m *ReadResource) XXX_Size() int { 1515 return xxx_messageInfo_ReadResource.Size(m) 1516 } 1517 func (m *ReadResource) XXX_DiscardUnknown() { 1518 xxx_messageInfo_ReadResource.DiscardUnknown(m) 1519 } 1520 1521 var xxx_messageInfo_ReadResource proto.InternalMessageInfo 1522 1523 type 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 1532 func (m *ReadResource_Request) Reset() { *m = ReadResource_Request{} } 1533 func (m *ReadResource_Request) String() string { return proto.CompactTextString(m) } 1534 func (*ReadResource_Request) ProtoMessage() {} 1535 func (*ReadResource_Request) Descriptor() ([]byte, []int) { 1536 return fileDescriptor_17ae6090ff270234, []int{12, 0} 1537 } 1538 1539 func (m *ReadResource_Request) XXX_Unmarshal(b []byte) error { 1540 return xxx_messageInfo_ReadResource_Request.Unmarshal(m, b) 1541 } 1542 func (m *ReadResource_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1543 return xxx_messageInfo_ReadResource_Request.Marshal(b, m, deterministic) 1544 } 1545 func (m *ReadResource_Request) XXX_Merge(src proto.Message) { 1546 xxx_messageInfo_ReadResource_Request.Merge(m, src) 1547 } 1548 func (m *ReadResource_Request) XXX_Size() int { 1549 return xxx_messageInfo_ReadResource_Request.Size(m) 1550 } 1551 func (m *ReadResource_Request) XXX_DiscardUnknown() { 1552 xxx_messageInfo_ReadResource_Request.DiscardUnknown(m) 1553 } 1554 1555 var xxx_messageInfo_ReadResource_Request proto.InternalMessageInfo 1556 1557 func (m *ReadResource_Request) GetTypeName() string { 1558 if m != nil { 1559 return m.TypeName 1560 } 1561 return "" 1562 } 1563 1564 func (m *ReadResource_Request) GetCurrentState() *DynamicValue { 1565 if m != nil { 1566 return m.CurrentState 1567 } 1568 return nil 1569 } 1570 1571 func (m *ReadResource_Request) GetPrivate() []byte { 1572 if m != nil { 1573 return m.Private 1574 } 1575 return nil 1576 } 1577 1578 type 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 1587 func (m *ReadResource_Response) Reset() { *m = ReadResource_Response{} } 1588 func (m *ReadResource_Response) String() string { return proto.CompactTextString(m) } 1589 func (*ReadResource_Response) ProtoMessage() {} 1590 func (*ReadResource_Response) Descriptor() ([]byte, []int) { 1591 return fileDescriptor_17ae6090ff270234, []int{12, 1} 1592 } 1593 1594 func (m *ReadResource_Response) XXX_Unmarshal(b []byte) error { 1595 return xxx_messageInfo_ReadResource_Response.Unmarshal(m, b) 1596 } 1597 func (m *ReadResource_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1598 return xxx_messageInfo_ReadResource_Response.Marshal(b, m, deterministic) 1599 } 1600 func (m *ReadResource_Response) XXX_Merge(src proto.Message) { 1601 xxx_messageInfo_ReadResource_Response.Merge(m, src) 1602 } 1603 func (m *ReadResource_Response) XXX_Size() int { 1604 return xxx_messageInfo_ReadResource_Response.Size(m) 1605 } 1606 func (m *ReadResource_Response) XXX_DiscardUnknown() { 1607 xxx_messageInfo_ReadResource_Response.DiscardUnknown(m) 1608 } 1609 1610 var xxx_messageInfo_ReadResource_Response proto.InternalMessageInfo 1611 1612 func (m *ReadResource_Response) GetNewState() *DynamicValue { 1613 if m != nil { 1614 return m.NewState 1615 } 1616 return nil 1617 } 1618 1619 func (m *ReadResource_Response) GetDiagnostics() []*Diagnostic { 1620 if m != nil { 1621 return m.Diagnostics 1622 } 1623 return nil 1624 } 1625 1626 func (m *ReadResource_Response) GetPrivate() []byte { 1627 if m != nil { 1628 return m.Private 1629 } 1630 return nil 1631 } 1632 1633 type PlanResourceChange struct { 1634 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1635 XXX_unrecognized []byte `json:"-"` 1636 XXX_sizecache int32 `json:"-"` 1637 } 1638 1639 func (m *PlanResourceChange) Reset() { *m = PlanResourceChange{} } 1640 func (m *PlanResourceChange) String() string { return proto.CompactTextString(m) } 1641 func (*PlanResourceChange) ProtoMessage() {} 1642 func (*PlanResourceChange) Descriptor() ([]byte, []int) { 1643 return fileDescriptor_17ae6090ff270234, []int{13} 1644 } 1645 1646 func (m *PlanResourceChange) XXX_Unmarshal(b []byte) error { 1647 return xxx_messageInfo_PlanResourceChange.Unmarshal(m, b) 1648 } 1649 func (m *PlanResourceChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1650 return xxx_messageInfo_PlanResourceChange.Marshal(b, m, deterministic) 1651 } 1652 func (m *PlanResourceChange) XXX_Merge(src proto.Message) { 1653 xxx_messageInfo_PlanResourceChange.Merge(m, src) 1654 } 1655 func (m *PlanResourceChange) XXX_Size() int { 1656 return xxx_messageInfo_PlanResourceChange.Size(m) 1657 } 1658 func (m *PlanResourceChange) XXX_DiscardUnknown() { 1659 xxx_messageInfo_PlanResourceChange.DiscardUnknown(m) 1660 } 1661 1662 var xxx_messageInfo_PlanResourceChange proto.InternalMessageInfo 1663 1664 type 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 1675 func (m *PlanResourceChange_Request) Reset() { *m = PlanResourceChange_Request{} } 1676 func (m *PlanResourceChange_Request) String() string { return proto.CompactTextString(m) } 1677 func (*PlanResourceChange_Request) ProtoMessage() {} 1678 func (*PlanResourceChange_Request) Descriptor() ([]byte, []int) { 1679 return fileDescriptor_17ae6090ff270234, []int{13, 0} 1680 } 1681 1682 func (m *PlanResourceChange_Request) XXX_Unmarshal(b []byte) error { 1683 return xxx_messageInfo_PlanResourceChange_Request.Unmarshal(m, b) 1684 } 1685 func (m *PlanResourceChange_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1686 return xxx_messageInfo_PlanResourceChange_Request.Marshal(b, m, deterministic) 1687 } 1688 func (m *PlanResourceChange_Request) XXX_Merge(src proto.Message) { 1689 xxx_messageInfo_PlanResourceChange_Request.Merge(m, src) 1690 } 1691 func (m *PlanResourceChange_Request) XXX_Size() int { 1692 return xxx_messageInfo_PlanResourceChange_Request.Size(m) 1693 } 1694 func (m *PlanResourceChange_Request) XXX_DiscardUnknown() { 1695 xxx_messageInfo_PlanResourceChange_Request.DiscardUnknown(m) 1696 } 1697 1698 var xxx_messageInfo_PlanResourceChange_Request proto.InternalMessageInfo 1699 1700 func (m *PlanResourceChange_Request) GetTypeName() string { 1701 if m != nil { 1702 return m.TypeName 1703 } 1704 return "" 1705 } 1706 1707 func (m *PlanResourceChange_Request) GetPriorState() *DynamicValue { 1708 if m != nil { 1709 return m.PriorState 1710 } 1711 return nil 1712 } 1713 1714 func (m *PlanResourceChange_Request) GetProposedNewState() *DynamicValue { 1715 if m != nil { 1716 return m.ProposedNewState 1717 } 1718 return nil 1719 } 1720 1721 func (m *PlanResourceChange_Request) GetConfig() *DynamicValue { 1722 if m != nil { 1723 return m.Config 1724 } 1725 return nil 1726 } 1727 1728 func (m *PlanResourceChange_Request) GetPriorPrivate() []byte { 1729 if m != nil { 1730 return m.PriorPrivate 1731 } 1732 return nil 1733 } 1734 1735 type 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 1757 func (m *PlanResourceChange_Response) Reset() { *m = PlanResourceChange_Response{} } 1758 func (m *PlanResourceChange_Response) String() string { return proto.CompactTextString(m) } 1759 func (*PlanResourceChange_Response) ProtoMessage() {} 1760 func (*PlanResourceChange_Response) Descriptor() ([]byte, []int) { 1761 return fileDescriptor_17ae6090ff270234, []int{13, 1} 1762 } 1763 1764 func (m *PlanResourceChange_Response) XXX_Unmarshal(b []byte) error { 1765 return xxx_messageInfo_PlanResourceChange_Response.Unmarshal(m, b) 1766 } 1767 func (m *PlanResourceChange_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1768 return xxx_messageInfo_PlanResourceChange_Response.Marshal(b, m, deterministic) 1769 } 1770 func (m *PlanResourceChange_Response) XXX_Merge(src proto.Message) { 1771 xxx_messageInfo_PlanResourceChange_Response.Merge(m, src) 1772 } 1773 func (m *PlanResourceChange_Response) XXX_Size() int { 1774 return xxx_messageInfo_PlanResourceChange_Response.Size(m) 1775 } 1776 func (m *PlanResourceChange_Response) XXX_DiscardUnknown() { 1777 xxx_messageInfo_PlanResourceChange_Response.DiscardUnknown(m) 1778 } 1779 1780 var xxx_messageInfo_PlanResourceChange_Response proto.InternalMessageInfo 1781 1782 func (m *PlanResourceChange_Response) GetPlannedState() *DynamicValue { 1783 if m != nil { 1784 return m.PlannedState 1785 } 1786 return nil 1787 } 1788 1789 func (m *PlanResourceChange_Response) GetRequiresReplace() []*AttributePath { 1790 if m != nil { 1791 return m.RequiresReplace 1792 } 1793 return nil 1794 } 1795 1796 func (m *PlanResourceChange_Response) GetPlannedPrivate() []byte { 1797 if m != nil { 1798 return m.PlannedPrivate 1799 } 1800 return nil 1801 } 1802 1803 func (m *PlanResourceChange_Response) GetDiagnostics() []*Diagnostic { 1804 if m != nil { 1805 return m.Diagnostics 1806 } 1807 return nil 1808 } 1809 1810 func (m *PlanResourceChange_Response) GetLegacyTypeSystem() bool { 1811 if m != nil { 1812 return m.LegacyTypeSystem 1813 } 1814 return false 1815 } 1816 1817 type ApplyResourceChange struct { 1818 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1819 XXX_unrecognized []byte `json:"-"` 1820 XXX_sizecache int32 `json:"-"` 1821 } 1822 1823 func (m *ApplyResourceChange) Reset() { *m = ApplyResourceChange{} } 1824 func (m *ApplyResourceChange) String() string { return proto.CompactTextString(m) } 1825 func (*ApplyResourceChange) ProtoMessage() {} 1826 func (*ApplyResourceChange) Descriptor() ([]byte, []int) { 1827 return fileDescriptor_17ae6090ff270234, []int{14} 1828 } 1829 1830 func (m *ApplyResourceChange) XXX_Unmarshal(b []byte) error { 1831 return xxx_messageInfo_ApplyResourceChange.Unmarshal(m, b) 1832 } 1833 func (m *ApplyResourceChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1834 return xxx_messageInfo_ApplyResourceChange.Marshal(b, m, deterministic) 1835 } 1836 func (m *ApplyResourceChange) XXX_Merge(src proto.Message) { 1837 xxx_messageInfo_ApplyResourceChange.Merge(m, src) 1838 } 1839 func (m *ApplyResourceChange) XXX_Size() int { 1840 return xxx_messageInfo_ApplyResourceChange.Size(m) 1841 } 1842 func (m *ApplyResourceChange) XXX_DiscardUnknown() { 1843 xxx_messageInfo_ApplyResourceChange.DiscardUnknown(m) 1844 } 1845 1846 var xxx_messageInfo_ApplyResourceChange proto.InternalMessageInfo 1847 1848 type 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 1859 func (m *ApplyResourceChange_Request) Reset() { *m = ApplyResourceChange_Request{} } 1860 func (m *ApplyResourceChange_Request) String() string { return proto.CompactTextString(m) } 1861 func (*ApplyResourceChange_Request) ProtoMessage() {} 1862 func (*ApplyResourceChange_Request) Descriptor() ([]byte, []int) { 1863 return fileDescriptor_17ae6090ff270234, []int{14, 0} 1864 } 1865 1866 func (m *ApplyResourceChange_Request) XXX_Unmarshal(b []byte) error { 1867 return xxx_messageInfo_ApplyResourceChange_Request.Unmarshal(m, b) 1868 } 1869 func (m *ApplyResourceChange_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1870 return xxx_messageInfo_ApplyResourceChange_Request.Marshal(b, m, deterministic) 1871 } 1872 func (m *ApplyResourceChange_Request) XXX_Merge(src proto.Message) { 1873 xxx_messageInfo_ApplyResourceChange_Request.Merge(m, src) 1874 } 1875 func (m *ApplyResourceChange_Request) XXX_Size() int { 1876 return xxx_messageInfo_ApplyResourceChange_Request.Size(m) 1877 } 1878 func (m *ApplyResourceChange_Request) XXX_DiscardUnknown() { 1879 xxx_messageInfo_ApplyResourceChange_Request.DiscardUnknown(m) 1880 } 1881 1882 var xxx_messageInfo_ApplyResourceChange_Request proto.InternalMessageInfo 1883 1884 func (m *ApplyResourceChange_Request) GetTypeName() string { 1885 if m != nil { 1886 return m.TypeName 1887 } 1888 return "" 1889 } 1890 1891 func (m *ApplyResourceChange_Request) GetPriorState() *DynamicValue { 1892 if m != nil { 1893 return m.PriorState 1894 } 1895 return nil 1896 } 1897 1898 func (m *ApplyResourceChange_Request) GetPlannedState() *DynamicValue { 1899 if m != nil { 1900 return m.PlannedState 1901 } 1902 return nil 1903 } 1904 1905 func (m *ApplyResourceChange_Request) GetConfig() *DynamicValue { 1906 if m != nil { 1907 return m.Config 1908 } 1909 return nil 1910 } 1911 1912 func (m *ApplyResourceChange_Request) GetPlannedPrivate() []byte { 1913 if m != nil { 1914 return m.PlannedPrivate 1915 } 1916 return nil 1917 } 1918 1919 type 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 1940 func (m *ApplyResourceChange_Response) Reset() { *m = ApplyResourceChange_Response{} } 1941 func (m *ApplyResourceChange_Response) String() string { return proto.CompactTextString(m) } 1942 func (*ApplyResourceChange_Response) ProtoMessage() {} 1943 func (*ApplyResourceChange_Response) Descriptor() ([]byte, []int) { 1944 return fileDescriptor_17ae6090ff270234, []int{14, 1} 1945 } 1946 1947 func (m *ApplyResourceChange_Response) XXX_Unmarshal(b []byte) error { 1948 return xxx_messageInfo_ApplyResourceChange_Response.Unmarshal(m, b) 1949 } 1950 func (m *ApplyResourceChange_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1951 return xxx_messageInfo_ApplyResourceChange_Response.Marshal(b, m, deterministic) 1952 } 1953 func (m *ApplyResourceChange_Response) XXX_Merge(src proto.Message) { 1954 xxx_messageInfo_ApplyResourceChange_Response.Merge(m, src) 1955 } 1956 func (m *ApplyResourceChange_Response) XXX_Size() int { 1957 return xxx_messageInfo_ApplyResourceChange_Response.Size(m) 1958 } 1959 func (m *ApplyResourceChange_Response) XXX_DiscardUnknown() { 1960 xxx_messageInfo_ApplyResourceChange_Response.DiscardUnknown(m) 1961 } 1962 1963 var xxx_messageInfo_ApplyResourceChange_Response proto.InternalMessageInfo 1964 1965 func (m *ApplyResourceChange_Response) GetNewState() *DynamicValue { 1966 if m != nil { 1967 return m.NewState 1968 } 1969 return nil 1970 } 1971 1972 func (m *ApplyResourceChange_Response) GetPrivate() []byte { 1973 if m != nil { 1974 return m.Private 1975 } 1976 return nil 1977 } 1978 1979 func (m *ApplyResourceChange_Response) GetDiagnostics() []*Diagnostic { 1980 if m != nil { 1981 return m.Diagnostics 1982 } 1983 return nil 1984 } 1985 1986 func (m *ApplyResourceChange_Response) GetLegacyTypeSystem() bool { 1987 if m != nil { 1988 return m.LegacyTypeSystem 1989 } 1990 return false 1991 } 1992 1993 type ImportResourceState struct { 1994 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1995 XXX_unrecognized []byte `json:"-"` 1996 XXX_sizecache int32 `json:"-"` 1997 } 1998 1999 func (m *ImportResourceState) Reset() { *m = ImportResourceState{} } 2000 func (m *ImportResourceState) String() string { return proto.CompactTextString(m) } 2001 func (*ImportResourceState) ProtoMessage() {} 2002 func (*ImportResourceState) Descriptor() ([]byte, []int) { 2003 return fileDescriptor_17ae6090ff270234, []int{15} 2004 } 2005 2006 func (m *ImportResourceState) XXX_Unmarshal(b []byte) error { 2007 return xxx_messageInfo_ImportResourceState.Unmarshal(m, b) 2008 } 2009 func (m *ImportResourceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2010 return xxx_messageInfo_ImportResourceState.Marshal(b, m, deterministic) 2011 } 2012 func (m *ImportResourceState) XXX_Merge(src proto.Message) { 2013 xxx_messageInfo_ImportResourceState.Merge(m, src) 2014 } 2015 func (m *ImportResourceState) XXX_Size() int { 2016 return xxx_messageInfo_ImportResourceState.Size(m) 2017 } 2018 func (m *ImportResourceState) XXX_DiscardUnknown() { 2019 xxx_messageInfo_ImportResourceState.DiscardUnknown(m) 2020 } 2021 2022 var xxx_messageInfo_ImportResourceState proto.InternalMessageInfo 2023 2024 type 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 2032 func (m *ImportResourceState_Request) Reset() { *m = ImportResourceState_Request{} } 2033 func (m *ImportResourceState_Request) String() string { return proto.CompactTextString(m) } 2034 func (*ImportResourceState_Request) ProtoMessage() {} 2035 func (*ImportResourceState_Request) Descriptor() ([]byte, []int) { 2036 return fileDescriptor_17ae6090ff270234, []int{15, 0} 2037 } 2038 2039 func (m *ImportResourceState_Request) XXX_Unmarshal(b []byte) error { 2040 return xxx_messageInfo_ImportResourceState_Request.Unmarshal(m, b) 2041 } 2042 func (m *ImportResourceState_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2043 return xxx_messageInfo_ImportResourceState_Request.Marshal(b, m, deterministic) 2044 } 2045 func (m *ImportResourceState_Request) XXX_Merge(src proto.Message) { 2046 xxx_messageInfo_ImportResourceState_Request.Merge(m, src) 2047 } 2048 func (m *ImportResourceState_Request) XXX_Size() int { 2049 return xxx_messageInfo_ImportResourceState_Request.Size(m) 2050 } 2051 func (m *ImportResourceState_Request) XXX_DiscardUnknown() { 2052 xxx_messageInfo_ImportResourceState_Request.DiscardUnknown(m) 2053 } 2054 2055 var xxx_messageInfo_ImportResourceState_Request proto.InternalMessageInfo 2056 2057 func (m *ImportResourceState_Request) GetTypeName() string { 2058 if m != nil { 2059 return m.TypeName 2060 } 2061 return "" 2062 } 2063 2064 func (m *ImportResourceState_Request) GetId() string { 2065 if m != nil { 2066 return m.Id 2067 } 2068 return "" 2069 } 2070 2071 type 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 2080 func (m *ImportResourceState_ImportedResource) Reset() { *m = ImportResourceState_ImportedResource{} } 2081 func (m *ImportResourceState_ImportedResource) String() string { return proto.CompactTextString(m) } 2082 func (*ImportResourceState_ImportedResource) ProtoMessage() {} 2083 func (*ImportResourceState_ImportedResource) Descriptor() ([]byte, []int) { 2084 return fileDescriptor_17ae6090ff270234, []int{15, 1} 2085 } 2086 2087 func (m *ImportResourceState_ImportedResource) XXX_Unmarshal(b []byte) error { 2088 return xxx_messageInfo_ImportResourceState_ImportedResource.Unmarshal(m, b) 2089 } 2090 func (m *ImportResourceState_ImportedResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2091 return xxx_messageInfo_ImportResourceState_ImportedResource.Marshal(b, m, deterministic) 2092 } 2093 func (m *ImportResourceState_ImportedResource) XXX_Merge(src proto.Message) { 2094 xxx_messageInfo_ImportResourceState_ImportedResource.Merge(m, src) 2095 } 2096 func (m *ImportResourceState_ImportedResource) XXX_Size() int { 2097 return xxx_messageInfo_ImportResourceState_ImportedResource.Size(m) 2098 } 2099 func (m *ImportResourceState_ImportedResource) XXX_DiscardUnknown() { 2100 xxx_messageInfo_ImportResourceState_ImportedResource.DiscardUnknown(m) 2101 } 2102 2103 var xxx_messageInfo_ImportResourceState_ImportedResource proto.InternalMessageInfo 2104 2105 func (m *ImportResourceState_ImportedResource) GetTypeName() string { 2106 if m != nil { 2107 return m.TypeName 2108 } 2109 return "" 2110 } 2111 2112 func (m *ImportResourceState_ImportedResource) GetState() *DynamicValue { 2113 if m != nil { 2114 return m.State 2115 } 2116 return nil 2117 } 2118 2119 func (m *ImportResourceState_ImportedResource) GetPrivate() []byte { 2120 if m != nil { 2121 return m.Private 2122 } 2123 return nil 2124 } 2125 2126 type 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 2134 func (m *ImportResourceState_Response) Reset() { *m = ImportResourceState_Response{} } 2135 func (m *ImportResourceState_Response) String() string { return proto.CompactTextString(m) } 2136 func (*ImportResourceState_Response) ProtoMessage() {} 2137 func (*ImportResourceState_Response) Descriptor() ([]byte, []int) { 2138 return fileDescriptor_17ae6090ff270234, []int{15, 2} 2139 } 2140 2141 func (m *ImportResourceState_Response) XXX_Unmarshal(b []byte) error { 2142 return xxx_messageInfo_ImportResourceState_Response.Unmarshal(m, b) 2143 } 2144 func (m *ImportResourceState_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2145 return xxx_messageInfo_ImportResourceState_Response.Marshal(b, m, deterministic) 2146 } 2147 func (m *ImportResourceState_Response) XXX_Merge(src proto.Message) { 2148 xxx_messageInfo_ImportResourceState_Response.Merge(m, src) 2149 } 2150 func (m *ImportResourceState_Response) XXX_Size() int { 2151 return xxx_messageInfo_ImportResourceState_Response.Size(m) 2152 } 2153 func (m *ImportResourceState_Response) XXX_DiscardUnknown() { 2154 xxx_messageInfo_ImportResourceState_Response.DiscardUnknown(m) 2155 } 2156 2157 var xxx_messageInfo_ImportResourceState_Response proto.InternalMessageInfo 2158 2159 func (m *ImportResourceState_Response) GetImportedResources() []*ImportResourceState_ImportedResource { 2160 if m != nil { 2161 return m.ImportedResources 2162 } 2163 return nil 2164 } 2165 2166 func (m *ImportResourceState_Response) GetDiagnostics() []*Diagnostic { 2167 if m != nil { 2168 return m.Diagnostics 2169 } 2170 return nil 2171 } 2172 2173 type ReadDataSource struct { 2174 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2175 XXX_unrecognized []byte `json:"-"` 2176 XXX_sizecache int32 `json:"-"` 2177 } 2178 2179 func (m *ReadDataSource) Reset() { *m = ReadDataSource{} } 2180 func (m *ReadDataSource) String() string { return proto.CompactTextString(m) } 2181 func (*ReadDataSource) ProtoMessage() {} 2182 func (*ReadDataSource) Descriptor() ([]byte, []int) { 2183 return fileDescriptor_17ae6090ff270234, []int{16} 2184 } 2185 2186 func (m *ReadDataSource) XXX_Unmarshal(b []byte) error { 2187 return xxx_messageInfo_ReadDataSource.Unmarshal(m, b) 2188 } 2189 func (m *ReadDataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2190 return xxx_messageInfo_ReadDataSource.Marshal(b, m, deterministic) 2191 } 2192 func (m *ReadDataSource) XXX_Merge(src proto.Message) { 2193 xxx_messageInfo_ReadDataSource.Merge(m, src) 2194 } 2195 func (m *ReadDataSource) XXX_Size() int { 2196 return xxx_messageInfo_ReadDataSource.Size(m) 2197 } 2198 func (m *ReadDataSource) XXX_DiscardUnknown() { 2199 xxx_messageInfo_ReadDataSource.DiscardUnknown(m) 2200 } 2201 2202 var xxx_messageInfo_ReadDataSource proto.InternalMessageInfo 2203 2204 type 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 2212 func (m *ReadDataSource_Request) Reset() { *m = ReadDataSource_Request{} } 2213 func (m *ReadDataSource_Request) String() string { return proto.CompactTextString(m) } 2214 func (*ReadDataSource_Request) ProtoMessage() {} 2215 func (*ReadDataSource_Request) Descriptor() ([]byte, []int) { 2216 return fileDescriptor_17ae6090ff270234, []int{16, 0} 2217 } 2218 2219 func (m *ReadDataSource_Request) XXX_Unmarshal(b []byte) error { 2220 return xxx_messageInfo_ReadDataSource_Request.Unmarshal(m, b) 2221 } 2222 func (m *ReadDataSource_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2223 return xxx_messageInfo_ReadDataSource_Request.Marshal(b, m, deterministic) 2224 } 2225 func (m *ReadDataSource_Request) XXX_Merge(src proto.Message) { 2226 xxx_messageInfo_ReadDataSource_Request.Merge(m, src) 2227 } 2228 func (m *ReadDataSource_Request) XXX_Size() int { 2229 return xxx_messageInfo_ReadDataSource_Request.Size(m) 2230 } 2231 func (m *ReadDataSource_Request) XXX_DiscardUnknown() { 2232 xxx_messageInfo_ReadDataSource_Request.DiscardUnknown(m) 2233 } 2234 2235 var xxx_messageInfo_ReadDataSource_Request proto.InternalMessageInfo 2236 2237 func (m *ReadDataSource_Request) GetTypeName() string { 2238 if m != nil { 2239 return m.TypeName 2240 } 2241 return "" 2242 } 2243 2244 func (m *ReadDataSource_Request) GetConfig() *DynamicValue { 2245 if m != nil { 2246 return m.Config 2247 } 2248 return nil 2249 } 2250 2251 type 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 2259 func (m *ReadDataSource_Response) Reset() { *m = ReadDataSource_Response{} } 2260 func (m *ReadDataSource_Response) String() string { return proto.CompactTextString(m) } 2261 func (*ReadDataSource_Response) ProtoMessage() {} 2262 func (*ReadDataSource_Response) Descriptor() ([]byte, []int) { 2263 return fileDescriptor_17ae6090ff270234, []int{16, 1} 2264 } 2265 2266 func (m *ReadDataSource_Response) XXX_Unmarshal(b []byte) error { 2267 return xxx_messageInfo_ReadDataSource_Response.Unmarshal(m, b) 2268 } 2269 func (m *ReadDataSource_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2270 return xxx_messageInfo_ReadDataSource_Response.Marshal(b, m, deterministic) 2271 } 2272 func (m *ReadDataSource_Response) XXX_Merge(src proto.Message) { 2273 xxx_messageInfo_ReadDataSource_Response.Merge(m, src) 2274 } 2275 func (m *ReadDataSource_Response) XXX_Size() int { 2276 return xxx_messageInfo_ReadDataSource_Response.Size(m) 2277 } 2278 func (m *ReadDataSource_Response) XXX_DiscardUnknown() { 2279 xxx_messageInfo_ReadDataSource_Response.DiscardUnknown(m) 2280 } 2281 2282 var xxx_messageInfo_ReadDataSource_Response proto.InternalMessageInfo 2283 2284 func (m *ReadDataSource_Response) GetState() *DynamicValue { 2285 if m != nil { 2286 return m.State 2287 } 2288 return nil 2289 } 2290 2291 func (m *ReadDataSource_Response) GetDiagnostics() []*Diagnostic { 2292 if m != nil { 2293 return m.Diagnostics 2294 } 2295 return nil 2296 } 2297 2298 type GetProvisionerSchema struct { 2299 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2300 XXX_unrecognized []byte `json:"-"` 2301 XXX_sizecache int32 `json:"-"` 2302 } 2303 2304 func (m *GetProvisionerSchema) Reset() { *m = GetProvisionerSchema{} } 2305 func (m *GetProvisionerSchema) String() string { return proto.CompactTextString(m) } 2306 func (*GetProvisionerSchema) ProtoMessage() {} 2307 func (*GetProvisionerSchema) Descriptor() ([]byte, []int) { 2308 return fileDescriptor_17ae6090ff270234, []int{17} 2309 } 2310 2311 func (m *GetProvisionerSchema) XXX_Unmarshal(b []byte) error { 2312 return xxx_messageInfo_GetProvisionerSchema.Unmarshal(m, b) 2313 } 2314 func (m *GetProvisionerSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2315 return xxx_messageInfo_GetProvisionerSchema.Marshal(b, m, deterministic) 2316 } 2317 func (m *GetProvisionerSchema) XXX_Merge(src proto.Message) { 2318 xxx_messageInfo_GetProvisionerSchema.Merge(m, src) 2319 } 2320 func (m *GetProvisionerSchema) XXX_Size() int { 2321 return xxx_messageInfo_GetProvisionerSchema.Size(m) 2322 } 2323 func (m *GetProvisionerSchema) XXX_DiscardUnknown() { 2324 xxx_messageInfo_GetProvisionerSchema.DiscardUnknown(m) 2325 } 2326 2327 var xxx_messageInfo_GetProvisionerSchema proto.InternalMessageInfo 2328 2329 type GetProvisionerSchema_Request struct { 2330 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2331 XXX_unrecognized []byte `json:"-"` 2332 XXX_sizecache int32 `json:"-"` 2333 } 2334 2335 func (m *GetProvisionerSchema_Request) Reset() { *m = GetProvisionerSchema_Request{} } 2336 func (m *GetProvisionerSchema_Request) String() string { return proto.CompactTextString(m) } 2337 func (*GetProvisionerSchema_Request) ProtoMessage() {} 2338 func (*GetProvisionerSchema_Request) Descriptor() ([]byte, []int) { 2339 return fileDescriptor_17ae6090ff270234, []int{17, 0} 2340 } 2341 2342 func (m *GetProvisionerSchema_Request) XXX_Unmarshal(b []byte) error { 2343 return xxx_messageInfo_GetProvisionerSchema_Request.Unmarshal(m, b) 2344 } 2345 func (m *GetProvisionerSchema_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2346 return xxx_messageInfo_GetProvisionerSchema_Request.Marshal(b, m, deterministic) 2347 } 2348 func (m *GetProvisionerSchema_Request) XXX_Merge(src proto.Message) { 2349 xxx_messageInfo_GetProvisionerSchema_Request.Merge(m, src) 2350 } 2351 func (m *GetProvisionerSchema_Request) XXX_Size() int { 2352 return xxx_messageInfo_GetProvisionerSchema_Request.Size(m) 2353 } 2354 func (m *GetProvisionerSchema_Request) XXX_DiscardUnknown() { 2355 xxx_messageInfo_GetProvisionerSchema_Request.DiscardUnknown(m) 2356 } 2357 2358 var xxx_messageInfo_GetProvisionerSchema_Request proto.InternalMessageInfo 2359 2360 type 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 2368 func (m *GetProvisionerSchema_Response) Reset() { *m = GetProvisionerSchema_Response{} } 2369 func (m *GetProvisionerSchema_Response) String() string { return proto.CompactTextString(m) } 2370 func (*GetProvisionerSchema_Response) ProtoMessage() {} 2371 func (*GetProvisionerSchema_Response) Descriptor() ([]byte, []int) { 2372 return fileDescriptor_17ae6090ff270234, []int{17, 1} 2373 } 2374 2375 func (m *GetProvisionerSchema_Response) XXX_Unmarshal(b []byte) error { 2376 return xxx_messageInfo_GetProvisionerSchema_Response.Unmarshal(m, b) 2377 } 2378 func (m *GetProvisionerSchema_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2379 return xxx_messageInfo_GetProvisionerSchema_Response.Marshal(b, m, deterministic) 2380 } 2381 func (m *GetProvisionerSchema_Response) XXX_Merge(src proto.Message) { 2382 xxx_messageInfo_GetProvisionerSchema_Response.Merge(m, src) 2383 } 2384 func (m *GetProvisionerSchema_Response) XXX_Size() int { 2385 return xxx_messageInfo_GetProvisionerSchema_Response.Size(m) 2386 } 2387 func (m *GetProvisionerSchema_Response) XXX_DiscardUnknown() { 2388 xxx_messageInfo_GetProvisionerSchema_Response.DiscardUnknown(m) 2389 } 2390 2391 var xxx_messageInfo_GetProvisionerSchema_Response proto.InternalMessageInfo 2392 2393 func (m *GetProvisionerSchema_Response) GetProvisioner() *Schema { 2394 if m != nil { 2395 return m.Provisioner 2396 } 2397 return nil 2398 } 2399 2400 func (m *GetProvisionerSchema_Response) GetDiagnostics() []*Diagnostic { 2401 if m != nil { 2402 return m.Diagnostics 2403 } 2404 return nil 2405 } 2406 2407 type ValidateProvisionerConfig struct { 2408 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2409 XXX_unrecognized []byte `json:"-"` 2410 XXX_sizecache int32 `json:"-"` 2411 } 2412 2413 func (m *ValidateProvisionerConfig) Reset() { *m = ValidateProvisionerConfig{} } 2414 func (m *ValidateProvisionerConfig) String() string { return proto.CompactTextString(m) } 2415 func (*ValidateProvisionerConfig) ProtoMessage() {} 2416 func (*ValidateProvisionerConfig) Descriptor() ([]byte, []int) { 2417 return fileDescriptor_17ae6090ff270234, []int{18} 2418 } 2419 2420 func (m *ValidateProvisionerConfig) XXX_Unmarshal(b []byte) error { 2421 return xxx_messageInfo_ValidateProvisionerConfig.Unmarshal(m, b) 2422 } 2423 func (m *ValidateProvisionerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2424 return xxx_messageInfo_ValidateProvisionerConfig.Marshal(b, m, deterministic) 2425 } 2426 func (m *ValidateProvisionerConfig) XXX_Merge(src proto.Message) { 2427 xxx_messageInfo_ValidateProvisionerConfig.Merge(m, src) 2428 } 2429 func (m *ValidateProvisionerConfig) XXX_Size() int { 2430 return xxx_messageInfo_ValidateProvisionerConfig.Size(m) 2431 } 2432 func (m *ValidateProvisionerConfig) XXX_DiscardUnknown() { 2433 xxx_messageInfo_ValidateProvisionerConfig.DiscardUnknown(m) 2434 } 2435 2436 var xxx_messageInfo_ValidateProvisionerConfig proto.InternalMessageInfo 2437 2438 type 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 2445 func (m *ValidateProvisionerConfig_Request) Reset() { *m = ValidateProvisionerConfig_Request{} } 2446 func (m *ValidateProvisionerConfig_Request) String() string { return proto.CompactTextString(m) } 2447 func (*ValidateProvisionerConfig_Request) ProtoMessage() {} 2448 func (*ValidateProvisionerConfig_Request) Descriptor() ([]byte, []int) { 2449 return fileDescriptor_17ae6090ff270234, []int{18, 0} 2450 } 2451 2452 func (m *ValidateProvisionerConfig_Request) XXX_Unmarshal(b []byte) error { 2453 return xxx_messageInfo_ValidateProvisionerConfig_Request.Unmarshal(m, b) 2454 } 2455 func (m *ValidateProvisionerConfig_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2456 return xxx_messageInfo_ValidateProvisionerConfig_Request.Marshal(b, m, deterministic) 2457 } 2458 func (m *ValidateProvisionerConfig_Request) XXX_Merge(src proto.Message) { 2459 xxx_messageInfo_ValidateProvisionerConfig_Request.Merge(m, src) 2460 } 2461 func (m *ValidateProvisionerConfig_Request) XXX_Size() int { 2462 return xxx_messageInfo_ValidateProvisionerConfig_Request.Size(m) 2463 } 2464 func (m *ValidateProvisionerConfig_Request) XXX_DiscardUnknown() { 2465 xxx_messageInfo_ValidateProvisionerConfig_Request.DiscardUnknown(m) 2466 } 2467 2468 var xxx_messageInfo_ValidateProvisionerConfig_Request proto.InternalMessageInfo 2469 2470 func (m *ValidateProvisionerConfig_Request) GetConfig() *DynamicValue { 2471 if m != nil { 2472 return m.Config 2473 } 2474 return nil 2475 } 2476 2477 type 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 2484 func (m *ValidateProvisionerConfig_Response) Reset() { *m = ValidateProvisionerConfig_Response{} } 2485 func (m *ValidateProvisionerConfig_Response) String() string { return proto.CompactTextString(m) } 2486 func (*ValidateProvisionerConfig_Response) ProtoMessage() {} 2487 func (*ValidateProvisionerConfig_Response) Descriptor() ([]byte, []int) { 2488 return fileDescriptor_17ae6090ff270234, []int{18, 1} 2489 } 2490 2491 func (m *ValidateProvisionerConfig_Response) XXX_Unmarshal(b []byte) error { 2492 return xxx_messageInfo_ValidateProvisionerConfig_Response.Unmarshal(m, b) 2493 } 2494 func (m *ValidateProvisionerConfig_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2495 return xxx_messageInfo_ValidateProvisionerConfig_Response.Marshal(b, m, deterministic) 2496 } 2497 func (m *ValidateProvisionerConfig_Response) XXX_Merge(src proto.Message) { 2498 xxx_messageInfo_ValidateProvisionerConfig_Response.Merge(m, src) 2499 } 2500 func (m *ValidateProvisionerConfig_Response) XXX_Size() int { 2501 return xxx_messageInfo_ValidateProvisionerConfig_Response.Size(m) 2502 } 2503 func (m *ValidateProvisionerConfig_Response) XXX_DiscardUnknown() { 2504 xxx_messageInfo_ValidateProvisionerConfig_Response.DiscardUnknown(m) 2505 } 2506 2507 var xxx_messageInfo_ValidateProvisionerConfig_Response proto.InternalMessageInfo 2508 2509 func (m *ValidateProvisionerConfig_Response) GetDiagnostics() []*Diagnostic { 2510 if m != nil { 2511 return m.Diagnostics 2512 } 2513 return nil 2514 } 2515 2516 type ProvisionResource struct { 2517 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2518 XXX_unrecognized []byte `json:"-"` 2519 XXX_sizecache int32 `json:"-"` 2520 } 2521 2522 func (m *ProvisionResource) Reset() { *m = ProvisionResource{} } 2523 func (m *ProvisionResource) String() string { return proto.CompactTextString(m) } 2524 func (*ProvisionResource) ProtoMessage() {} 2525 func (*ProvisionResource) Descriptor() ([]byte, []int) { 2526 return fileDescriptor_17ae6090ff270234, []int{19} 2527 } 2528 2529 func (m *ProvisionResource) XXX_Unmarshal(b []byte) error { 2530 return xxx_messageInfo_ProvisionResource.Unmarshal(m, b) 2531 } 2532 func (m *ProvisionResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2533 return xxx_messageInfo_ProvisionResource.Marshal(b, m, deterministic) 2534 } 2535 func (m *ProvisionResource) XXX_Merge(src proto.Message) { 2536 xxx_messageInfo_ProvisionResource.Merge(m, src) 2537 } 2538 func (m *ProvisionResource) XXX_Size() int { 2539 return xxx_messageInfo_ProvisionResource.Size(m) 2540 } 2541 func (m *ProvisionResource) XXX_DiscardUnknown() { 2542 xxx_messageInfo_ProvisionResource.DiscardUnknown(m) 2543 } 2544 2545 var xxx_messageInfo_ProvisionResource proto.InternalMessageInfo 2546 2547 type 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 2555 func (m *ProvisionResource_Request) Reset() { *m = ProvisionResource_Request{} } 2556 func (m *ProvisionResource_Request) String() string { return proto.CompactTextString(m) } 2557 func (*ProvisionResource_Request) ProtoMessage() {} 2558 func (*ProvisionResource_Request) Descriptor() ([]byte, []int) { 2559 return fileDescriptor_17ae6090ff270234, []int{19, 0} 2560 } 2561 2562 func (m *ProvisionResource_Request) XXX_Unmarshal(b []byte) error { 2563 return xxx_messageInfo_ProvisionResource_Request.Unmarshal(m, b) 2564 } 2565 func (m *ProvisionResource_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2566 return xxx_messageInfo_ProvisionResource_Request.Marshal(b, m, deterministic) 2567 } 2568 func (m *ProvisionResource_Request) XXX_Merge(src proto.Message) { 2569 xxx_messageInfo_ProvisionResource_Request.Merge(m, src) 2570 } 2571 func (m *ProvisionResource_Request) XXX_Size() int { 2572 return xxx_messageInfo_ProvisionResource_Request.Size(m) 2573 } 2574 func (m *ProvisionResource_Request) XXX_DiscardUnknown() { 2575 xxx_messageInfo_ProvisionResource_Request.DiscardUnknown(m) 2576 } 2577 2578 var xxx_messageInfo_ProvisionResource_Request proto.InternalMessageInfo 2579 2580 func (m *ProvisionResource_Request) GetConfig() *DynamicValue { 2581 if m != nil { 2582 return m.Config 2583 } 2584 return nil 2585 } 2586 2587 func (m *ProvisionResource_Request) GetConnection() *DynamicValue { 2588 if m != nil { 2589 return m.Connection 2590 } 2591 return nil 2592 } 2593 2594 type 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 2602 func (m *ProvisionResource_Response) Reset() { *m = ProvisionResource_Response{} } 2603 func (m *ProvisionResource_Response) String() string { return proto.CompactTextString(m) } 2604 func (*ProvisionResource_Response) ProtoMessage() {} 2605 func (*ProvisionResource_Response) Descriptor() ([]byte, []int) { 2606 return fileDescriptor_17ae6090ff270234, []int{19, 1} 2607 } 2608 2609 func (m *ProvisionResource_Response) XXX_Unmarshal(b []byte) error { 2610 return xxx_messageInfo_ProvisionResource_Response.Unmarshal(m, b) 2611 } 2612 func (m *ProvisionResource_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2613 return xxx_messageInfo_ProvisionResource_Response.Marshal(b, m, deterministic) 2614 } 2615 func (m *ProvisionResource_Response) XXX_Merge(src proto.Message) { 2616 xxx_messageInfo_ProvisionResource_Response.Merge(m, src) 2617 } 2618 func (m *ProvisionResource_Response) XXX_Size() int { 2619 return xxx_messageInfo_ProvisionResource_Response.Size(m) 2620 } 2621 func (m *ProvisionResource_Response) XXX_DiscardUnknown() { 2622 xxx_messageInfo_ProvisionResource_Response.DiscardUnknown(m) 2623 } 2624 2625 var xxx_messageInfo_ProvisionResource_Response proto.InternalMessageInfo 2626 2627 func (m *ProvisionResource_Response) GetOutput() string { 2628 if m != nil { 2629 return m.Output 2630 } 2631 return "" 2632 } 2633 2634 func (m *ProvisionResource_Response) GetDiagnostics() []*Diagnostic { 2635 if m != nil { 2636 return m.Diagnostics 2637 } 2638 return nil 2639 } 2640 2641 func 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 2704 func init() { proto.RegisterFile("tfplugin5.proto", fileDescriptor_17ae6090ff270234) } 2705 2706 var 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. 2829 var _ context.Context 2830 var _ 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. 2834 const _ = 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. 2839 type 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 2858 type providerClient struct { 2859 cc *grpc.ClientConn 2860 } 2861 2862 func NewProviderClient(cc *grpc.ClientConn) ProviderClient { 2863 return &providerClient{cc} 2864 } 2865 2866 func (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 2875 func (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 2884 func (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 2893 func (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 2902 func (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 2911 func (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 2920 func (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 2929 func (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 2938 func (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 2947 func (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 2956 func (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 2965 func (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. 2975 type 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. 2995 type UnimplementedProviderServer struct { 2996 } 2997 2998 func (*UnimplementedProviderServer) GetSchema(ctx context.Context, req *GetProviderSchema_Request) (*GetProviderSchema_Response, error) { 2999 return nil, status.Errorf(codes.Unimplemented, "method GetSchema not implemented") 3000 } 3001 func (*UnimplementedProviderServer) PrepareProviderConfig(ctx context.Context, req *PrepareProviderConfig_Request) (*PrepareProviderConfig_Response, error) { 3002 return nil, status.Errorf(codes.Unimplemented, "method PrepareProviderConfig not implemented") 3003 } 3004 func (*UnimplementedProviderServer) ValidateResourceTypeConfig(ctx context.Context, req *ValidateResourceTypeConfig_Request) (*ValidateResourceTypeConfig_Response, error) { 3005 return nil, status.Errorf(codes.Unimplemented, "method ValidateResourceTypeConfig not implemented") 3006 } 3007 func (*UnimplementedProviderServer) ValidateDataSourceConfig(ctx context.Context, req *ValidateDataSourceConfig_Request) (*ValidateDataSourceConfig_Response, error) { 3008 return nil, status.Errorf(codes.Unimplemented, "method ValidateDataSourceConfig not implemented") 3009 } 3010 func (*UnimplementedProviderServer) UpgradeResourceState(ctx context.Context, req *UpgradeResourceState_Request) (*UpgradeResourceState_Response, error) { 3011 return nil, status.Errorf(codes.Unimplemented, "method UpgradeResourceState not implemented") 3012 } 3013 func (*UnimplementedProviderServer) Configure(ctx context.Context, req *Configure_Request) (*Configure_Response, error) { 3014 return nil, status.Errorf(codes.Unimplemented, "method Configure not implemented") 3015 } 3016 func (*UnimplementedProviderServer) ReadResource(ctx context.Context, req *ReadResource_Request) (*ReadResource_Response, error) { 3017 return nil, status.Errorf(codes.Unimplemented, "method ReadResource not implemented") 3018 } 3019 func (*UnimplementedProviderServer) PlanResourceChange(ctx context.Context, req *PlanResourceChange_Request) (*PlanResourceChange_Response, error) { 3020 return nil, status.Errorf(codes.Unimplemented, "method PlanResourceChange not implemented") 3021 } 3022 func (*UnimplementedProviderServer) ApplyResourceChange(ctx context.Context, req *ApplyResourceChange_Request) (*ApplyResourceChange_Response, error) { 3023 return nil, status.Errorf(codes.Unimplemented, "method ApplyResourceChange not implemented") 3024 } 3025 func (*UnimplementedProviderServer) ImportResourceState(ctx context.Context, req *ImportResourceState_Request) (*ImportResourceState_Response, error) { 3026 return nil, status.Errorf(codes.Unimplemented, "method ImportResourceState not implemented") 3027 } 3028 func (*UnimplementedProviderServer) ReadDataSource(ctx context.Context, req *ReadDataSource_Request) (*ReadDataSource_Response, error) { 3029 return nil, status.Errorf(codes.Unimplemented, "method ReadDataSource not implemented") 3030 } 3031 func (*UnimplementedProviderServer) Stop(ctx context.Context, req *Stop_Request) (*Stop_Response, error) { 3032 return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") 3033 } 3034 3035 func RegisterProviderServer(s *grpc.Server, srv ProviderServer) { 3036 s.RegisterService(&_Provider_serviceDesc, srv) 3037 } 3038 3039 func _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 3057 func _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 3075 func _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 3093 func _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 3111 func _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 3129 func _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 3147 func _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 3165 func _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 3183 func _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 3201 func _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 3219 func _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 3237 func _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 3255 var _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. 3315 type 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 3322 type provisionerClient struct { 3323 cc *grpc.ClientConn 3324 } 3325 3326 func NewProvisionerClient(cc *grpc.ClientConn) ProvisionerClient { 3327 return &provisionerClient{cc} 3328 } 3329 3330 func (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 3339 func (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 3348 func (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 3363 type Provisioner_ProvisionResourceClient interface { 3364 Recv() (*ProvisionResource_Response, error) 3365 grpc.ClientStream 3366 } 3367 3368 type provisionerProvisionResourceClient struct { 3369 grpc.ClientStream 3370 } 3371 3372 func (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 3380 func (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. 3390 type 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. 3398 type UnimplementedProvisionerServer struct { 3399 } 3400 3401 func (*UnimplementedProvisionerServer) GetSchema(ctx context.Context, req *GetProvisionerSchema_Request) (*GetProvisionerSchema_Response, error) { 3402 return nil, status.Errorf(codes.Unimplemented, "method GetSchema not implemented") 3403 } 3404 func (*UnimplementedProvisionerServer) ValidateProvisionerConfig(ctx context.Context, req *ValidateProvisionerConfig_Request) (*ValidateProvisionerConfig_Response, error) { 3405 return nil, status.Errorf(codes.Unimplemented, "method ValidateProvisionerConfig not implemented") 3406 } 3407 func (*UnimplementedProvisionerServer) ProvisionResource(req *ProvisionResource_Request, srv Provisioner_ProvisionResourceServer) error { 3408 return status.Errorf(codes.Unimplemented, "method ProvisionResource not implemented") 3409 } 3410 func (*UnimplementedProvisionerServer) Stop(ctx context.Context, req *Stop_Request) (*Stop_Response, error) { 3411 return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") 3412 } 3413 3414 func RegisterProvisionerServer(s *grpc.Server, srv ProvisionerServer) { 3415 s.RegisterService(&_Provisioner_serviceDesc, srv) 3416 } 3417 3418 func _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 3436 func _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 3454 func _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 3462 type Provisioner_ProvisionResourceServer interface { 3463 Send(*ProvisionResource_Response) error 3464 grpc.ServerStream 3465 } 3466 3467 type provisionerProvisionResourceServer struct { 3468 grpc.ServerStream 3469 } 3470 3471 func (x *provisionerProvisionResourceServer) Send(m *ProvisionResource_Response) error { 3472 return x.ServerStream.SendMsg(m) 3473 } 3474 3475 func _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 3493 var _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 }