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