diff --git a/go.mod b/go.mod index 9cfb4233..bb188293 100644 --- a/go.mod +++ b/go.mod @@ -1,13 +1,13 @@ module github.com/hashicorp/terraform-plugin-go -go 1.24 +go 1.23.0 -toolchain go1.24.1 +toolchain go1.23.7 require ( github.com/google/go-cmp v0.7.0 github.com/hashicorp/go-hclog v1.6.3 - github.com/hashicorp/go-plugin v1.7.0 + github.com/hashicorp/go-plugin v1.6.3 github.com/hashicorp/go-uuid v1.0.3 github.com/hashicorp/terraform-plugin-log v0.9.0 github.com/hashicorp/terraform-registry-address v0.4.0 diff --git a/go.sum b/go.sum index e14748e2..10f9f7ce 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/bufbuild/protocompile v0.14.1 h1:iA73zAf/fyljNjQKwYzUHD6AD4R8KMasmwa/FBatYVw= -github.com/bufbuild/protocompile v0.14.1/go.mod h1:ppVdAIhbr2H8asPk6k4pY7t9zB1OU5DoEw9xY/FUi1c= +github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA= +github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -17,8 +17,8 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k= github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= -github.com/hashicorp/go-plugin v1.7.0 h1:YghfQH/0QmPNc/AZMTFE3ac8fipZyZECHdDPshfk+mA= -github.com/hashicorp/go-plugin v1.7.0/go.mod h1:BExt6KEaIYx804z8k4gRzRLEvxKVb+kn0NMcihqOqb8= +github.com/hashicorp/go-plugin v1.6.3 h1:xgHB+ZUSYeuJi96WtxEjzi23uh7YQpznjGh0U0UUrwg= +github.com/hashicorp/go-plugin v1.6.3/go.mod h1:MRobyh+Wc/nYy1V4KAXUiYfzxoYhs7V1mlH1Z7iY2h0= github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8= github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= @@ -29,8 +29,8 @@ github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S github.com/hashicorp/terraform-svchost v0.1.1/go.mod h1:mNsjQfZyf/Jhz35v6/0LWcv26+X7JPS+buii2c9/ctc= github.com/hashicorp/yamux v0.1.2 h1:XtB8kyFOyHXYVFnwT5C3+Bdo8gArse7j2AQ0DA0Uey8= github.com/hashicorp/yamux v0.1.2/go.mod h1:C+zze2n6e/7wshOZep2A70/aQU6QBRWJO/G6FT1wIns= -github.com/jhump/protoreflect v1.17.0 h1:qOEr613fac2lOuTgWN4tPAtLL7fUSbuJL5X5XumQh94= -github.com/jhump/protoreflect v1.17.0/go.mod h1:h9+vUUL38jiBzck8ck+6G/aeMX8Z4QUY/NiJPwPNi+8= +github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c= +github.com/jhump/protoreflect v1.15.1/go.mod h1:jD/2GMKKE6OqX8qTjhADU1e6DShO+gavG9e0Q693nKo= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= @@ -45,8 +45,9 @@ github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DV github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.7.2 h1:4jaiDzPyXQvSd7D0EjG45355tLlV3VOECpq10pLC+8s= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= +github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= +github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IUPn0Bjt8= github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok= github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= diff --git a/tfprotov5/action.go b/tfprotov5/action.go index 20106e7b..ec7e7caf 100644 --- a/tfprotov5/action.go +++ b/tfprotov5/action.go @@ -57,6 +57,30 @@ type ValidateActionConfigRequest struct { // from knowing the value at request time. Any attributes not directly // set in the configuration will be null. Config *DynamicValue + + // LinkedResources contains the configuration data of the managed resource types that are linked to this action. + // + // - If the action schema type is Unlinked, this field will be empty. + LinkedResources []*LinkedResourceConfig +} + +// LinkedResourceConfig represents linked resource config data used in the ValidateActionConfig RPC. +type LinkedResourceConfig struct { + // TypeName is the type of linked resource Terraform is validating. + TypeName string + + // Config is the configuration the user supplied for the linked resource. See + // the documentation on `DynamicValue` for more information about + // safely accessing the configuration. + // + // The configuration is represented as a tftypes.Object, with each + // attribute and nested block getting its own key and value. + // + // This configuration may contain unknown values if a user uses + // interpolation or other functionality that would prevent Terraform + // from knowing the value at request time. Any attributes not directly + // set in the configuration will be null. + Config *DynamicValue } // ValidateActionConfigResponse is the response from the provider about @@ -77,13 +101,6 @@ type PlanActionRequest struct { // LinkedResources contains the data of the managed resource types that are linked to this action. // // - If the action schema type is Unlinked, this field will be empty. - // - If the action schema type is Lifecycle, this field will contain a single linked resource. - // - If the action schema type is Linked, this field will be one or more linked resources, which - // will be in the same order as the linked resource schemas are defined in the action schema. - // - // For Lifecycle actions, the provider may only change computed-only attributes. - // - // For Linked actions, the provider may change any attributes as long as it adheres to the resource schema. LinkedResources []*ProposedLinkedResource // Config is the configuration the user supplied for the action. See @@ -128,9 +145,7 @@ type ProposedLinkedResource struct { type PlanActionResponse struct { // LinkedResources contains the provider modified data of the managed resource types that are linked to this action. // - // For Lifecycle actions, the provider may only change computed-only attributes. - // - // For Linked actions, the provider may change any attributes as long as it adheres to the resource schema. + // This field is not currently in-use, but future action schema types will use this field to plan modifications of state data for linked resources. LinkedResources []*PlannedLinkedResource // Diagnostics report errors or warnings related to plannning the action and calculating @@ -165,13 +180,6 @@ type InvokeActionRequest struct { // LinkedResources contains the data of the managed resource types that are linked to this action. // // - If the action schema type is Unlinked, this field will be empty. - // - If the action schema type is Lifecycle, this field will contain a single linked resource. - // - If the action schema type is Linked, this field will be one or more linked resources, which - // will be in the same order as the linked resource schemas are defined in the action schema. - // - // For Lifecycle actions, the provider may only change computed-only attributes. - // - // For Linked actions, the provider may change any attributes as long as it adheres to the resource schema. LinkedResources []*InvokeLinkedResource // Config is the configuration the user supplied for the action. See @@ -252,9 +260,7 @@ func (a ProgressInvokeActionEventType) isInvokeActionEventType() {} type CompletedInvokeActionEventType struct { // LinkedResources contains the provider modified data of the managed resource types that are linked to this action. // - // For Lifecycle actions, the provider may only change computed-only attributes. - // - // For Linked actions, the provider may change any attributes as long as it adheres to the resource schema. + // This field is not currently in-use, but future action schema types will use this field to modify state data for linked resources. LinkedResources []*NewLinkedResource // Diagnostics report errors or warnings related to invoking an action. diff --git a/tfprotov5/action_schema.go b/tfprotov5/action_schema.go index 688fb6b9..5581e8f5 100644 --- a/tfprotov5/action_schema.go +++ b/tfprotov5/action_schema.go @@ -10,10 +10,8 @@ type ActionSchema struct { Schema *Schema // Type defines how a practitioner can trigger an action, as well as what effect the action can have on the state - // of the linked managed resources. There are currently three different types of actions: + // of the linked managed resources. There is currently only one type of action supported: // - Unlinked actions are actions that cannot cause changes to resource states. - // - Lifecycle actions are actions that can cause changes to exactly one resource state. - // - Linked actions are actions that can cause changes to one or more resource states. Type ActionSchemaType } @@ -21,86 +19,17 @@ type ActionSchema struct { // functions as an enum, allowing us to use different strongly-typed action schema types // that contain additional, but different data, as a generic "action" type. // -// An action can only be one type (Unlinked, Lifecycle, or Linked), which are all statically defined in the protocol. +// An action can currently only be one type (Unlinked), which is statically defined in the protocol. Future action types +// will be added to the protocol first, then implemented in this package. type ActionSchemaType interface { isActionSchemaType() } var ( _ ActionSchemaType = UnlinkedActionSchemaType{} - _ ActionSchemaType = LifecycleActionSchemaType{} - _ ActionSchemaType = LinkedActionSchemaType{} ) // UnlinkedActionSchemaType represents an unlinked action, which cannot cause changes to resource states. type UnlinkedActionSchemaType struct{} func (a UnlinkedActionSchemaType) isActionSchemaType() {} - -// LifecycleActionSchemaType represents a lifecycle action, which can cause changes to exactly one resource state, -// which is the linked resource. -type LifecycleActionSchemaType struct { - // Executes defines when the lifecycle action must be executed in relation to the linked resource, either before - // or after the linked resource's plan/apply. - Executes LifecycleExecutionOrder - - // LinkedResource is the managed resource type that this action can make state changes to. - // This linked resource is currently restricted to be defined in the same provider as the action is defined. - LinkedResource *LinkedResourceSchema -} - -func (a LifecycleActionSchemaType) isActionSchemaType() {} - -const ( - // LifecycleExecutionOrderInvalid is used to indicate an invalid `LifecycleExecutionOrder`. - // Provider developers should not use it. - LifecycleExecutionOrderInvalid LifecycleExecutionOrder = 0 - - // LifecycleExecutionOrderBefore is used to indicate that the action must be invoked before it's - // linked resource's plan/apply. - LifecycleExecutionOrderBefore LifecycleExecutionOrder = 1 - - // LifecycleExecutionOrderAfter is used to indicate that the action must be invoked after it's - // linked resource's plan/apply. - LifecycleExecutionOrderAfter LifecycleExecutionOrder = 2 -) - -// LifecycleExecutionOrder is an enum that represents when an action is invoked relative to it's linked resource. -type LifecycleExecutionOrder int32 - -func (l LifecycleExecutionOrder) String() string { - switch l { - case 0: - return "INVALID" - case 1: - return "BEFORE" - case 2: - return "AFTER" - case 3: - } - return "UNKNOWN" -} - -// LinkedResourceSchema represents information about the schema of a linked resource, which is used by an action schema to describe to Terraform the -// resource types that an action is allowed to change the state of. Linked resources are currently restricted to be defined in the same provider -// as the action is defined. -// -// LinkedResourceSchema does not contain the entire schema definition of the linked resource, which must be obtained by the provider in order to -// decode the linked resource plan/state/identity protocol data during PlanAction and InvokeAction. -type LinkedResourceSchema struct { - // TypeName is the name of the managed resource which can have it's resource state changed by the action. The name should be prefixed with - // the provider shortname and an underscore. - TypeName string - - // Description is a human-readable description of the linked resource. - Description string -} - -// LinkedActionSchemaType represents a linked action, which can cause changes to one or more resource states. -type LinkedActionSchemaType struct { - // LinkedResources are the managed resource types that this action can make state changes to. - // These linked resources are currently restricted to be defined in the same provider as the action is defined. - LinkedResources []*LinkedResourceSchema -} - -func (a LinkedActionSchemaType) isActionSchemaType() {} diff --git a/tfprotov5/internal/fromproto/action.go b/tfprotov5/internal/fromproto/action.go index dd1d170b..eeba3573 100644 --- a/tfprotov5/internal/fromproto/action.go +++ b/tfprotov5/internal/fromproto/action.go @@ -14,9 +14,23 @@ func ValidateActionConfigRequest(in *tfplugin5.ValidateActionConfig_Request) *tf } return &tfprotov5.ValidateActionConfigRequest{ - ActionType: in.ActionType, - Config: DynamicValue(in.Config), + ActionType: in.ActionType, + Config: DynamicValue(in.Config), + LinkedResources: LinkedResourceConfigs(in.LinkedResources), + } +} + +func LinkedResourceConfigs(in []*tfplugin5.LinkedResourceConfig) []*tfprotov5.LinkedResourceConfig { + resp := make([]*tfprotov5.LinkedResourceConfig, 0, len(in)) + + for _, inLinkedResource := range in { + resp = append(resp, &tfprotov5.LinkedResourceConfig{ + TypeName: inLinkedResource.TypeName, + Config: DynamicValue(inLinkedResource.Config), + }) } + + return resp } func PlanActionRequest(in *tfplugin5.PlanAction_Request) *tfprotov5.PlanActionRequest { diff --git a/tfprotov5/internal/fromproto/actions_test.go b/tfprotov5/internal/fromproto/actions_test.go index d19028c7..245c5581 100644 --- a/tfprotov5/internal/fromproto/actions_test.go +++ b/tfprotov5/internal/fromproto/actions_test.go @@ -24,15 +24,18 @@ func TestValidateActionConfigRequest(t *testing.T) { expected: nil, }, "zero": { - in: &tfplugin5.ValidateActionConfig_Request{}, - expected: &tfprotov5.ValidateActionConfigRequest{}, + in: &tfplugin5.ValidateActionConfig_Request{}, + expected: &tfprotov5.ValidateActionConfigRequest{ + LinkedResources: []*tfprotov5.LinkedResourceConfig{}, + }, }, "Config": { in: &tfplugin5.ValidateActionConfig_Request{ Config: testTfplugin5DynamicValue(), }, expected: &tfprotov5.ValidateActionConfigRequest{ - Config: testTfprotov5DynamicValue(), + Config: testTfprotov5DynamicValue(), + LinkedResources: []*tfprotov5.LinkedResourceConfig{}, }, }, "ActionType": { @@ -40,7 +43,26 @@ func TestValidateActionConfigRequest(t *testing.T) { ActionType: "test", }, expected: &tfprotov5.ValidateActionConfigRequest{ - ActionType: "test", + ActionType: "test", + LinkedResources: []*tfprotov5.LinkedResourceConfig{}, + }, + }, + "LinkedResources": { + in: &tfplugin5.ValidateActionConfig_Request{ + LinkedResources: []*tfplugin5.LinkedResourceConfig{ + { + TypeName: "test_linked", + Config: testTfplugin5DynamicValue(), + }, + }, + }, + expected: &tfprotov5.ValidateActionConfigRequest{ + LinkedResources: []*tfprotov5.LinkedResourceConfig{ + { + TypeName: "test_linked", + Config: testTfprotov5DynamicValue(), + }, + }, }, }, } diff --git a/tfprotov5/internal/tfplugin5/tfplugin5.pb.go b/tfprotov5/internal/tfplugin5/tfplugin5.pb.go index 61112ef2..54940b73 100644 --- a/tfprotov5/internal/tfplugin5/tfplugin5.pb.go +++ b/tfprotov5/internal/tfplugin5/tfplugin5.pb.go @@ -197,55 +197,6 @@ func (Schema_NestedBlock_NestingMode) EnumDescriptor() ([]byte, []int) { return file_tfplugin5_proto_rawDescGZIP(), []int{6, 2, 0} } -type ActionSchema_Lifecycle_ExecutionOrder int32 - -const ( - ActionSchema_Lifecycle_INVALID ActionSchema_Lifecycle_ExecutionOrder = 0 - ActionSchema_Lifecycle_BEFORE ActionSchema_Lifecycle_ExecutionOrder = 1 - ActionSchema_Lifecycle_AFTER ActionSchema_Lifecycle_ExecutionOrder = 2 -) - -// Enum value maps for ActionSchema_Lifecycle_ExecutionOrder. -var ( - ActionSchema_Lifecycle_ExecutionOrder_name = map[int32]string{ - 0: "INVALID", - 1: "BEFORE", - 2: "AFTER", - } - ActionSchema_Lifecycle_ExecutionOrder_value = map[string]int32{ - "INVALID": 0, - "BEFORE": 1, - "AFTER": 2, - } -) - -func (x ActionSchema_Lifecycle_ExecutionOrder) Enum() *ActionSchema_Lifecycle_ExecutionOrder { - p := new(ActionSchema_Lifecycle_ExecutionOrder) - *p = x - return p -} - -func (x ActionSchema_Lifecycle_ExecutionOrder) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ActionSchema_Lifecycle_ExecutionOrder) Descriptor() protoreflect.EnumDescriptor { - return file_tfplugin5_proto_enumTypes[3].Descriptor() -} - -func (ActionSchema_Lifecycle_ExecutionOrder) Type() protoreflect.EnumType { - return &file_tfplugin5_proto_enumTypes[3] -} - -func (x ActionSchema_Lifecycle_ExecutionOrder) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ActionSchema_Lifecycle_ExecutionOrder.Descriptor instead. -func (ActionSchema_Lifecycle_ExecutionOrder) EnumDescriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{12, 2, 0} -} - // Reason is the reason for deferring the change. type Deferred_Reason int32 @@ -289,11 +240,11 @@ func (x Deferred_Reason) String() string { } func (Deferred_Reason) Descriptor() protoreflect.EnumDescriptor { - return file_tfplugin5_proto_enumTypes[4].Descriptor() + return file_tfplugin5_proto_enumTypes[3].Descriptor() } func (Deferred_Reason) Type() protoreflect.EnumType { - return &file_tfplugin5_proto_enumTypes[4] + return &file_tfplugin5_proto_enumTypes[3] } func (x Deferred_Reason) Number() protoreflect.EnumNumber { @@ -1035,8 +986,6 @@ type ActionSchema struct { // Types that are valid to be assigned to Type: // // *ActionSchema_Unlinked_ - // *ActionSchema_Lifecycle_ - // *ActionSchema_Linked_ Type isActionSchema_Type `protobuf_oneof:"type"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1095,24 +1044,6 @@ func (x *ActionSchema) GetUnlinked() *ActionSchema_Unlinked { return nil } -func (x *ActionSchema) GetLifecycle() *ActionSchema_Lifecycle { - if x != nil { - if x, ok := x.Type.(*ActionSchema_Lifecycle_); ok { - return x.Lifecycle - } - } - return nil -} - -func (x *ActionSchema) GetLinked() *ActionSchema_Linked { - if x != nil { - if x, ok := x.Type.(*ActionSchema_Linked_); ok { - return x.Linked - } - } - return nil -} - type isActionSchema_Type interface { isActionSchema_Type() } @@ -1121,20 +1052,8 @@ type ActionSchema_Unlinked_ struct { Unlinked *ActionSchema_Unlinked `protobuf:"bytes,2,opt,name=unlinked,proto3,oneof"` } -type ActionSchema_Lifecycle_ struct { - Lifecycle *ActionSchema_Lifecycle `protobuf:"bytes,3,opt,name=lifecycle,proto3,oneof"` -} - -type ActionSchema_Linked_ struct { - Linked *ActionSchema_Linked `protobuf:"bytes,4,opt,name=linked,proto3,oneof"` -} - func (*ActionSchema_Unlinked_) isActionSchema_Type() {} -func (*ActionSchema_Lifecycle_) isActionSchema_Type() {} - -func (*ActionSchema_Linked_) isActionSchema_Type() {} - // Deferred is a message that indicates that change is deferred for a reason. type Deferred struct { state protoimpl.MessageState `protogen:"open.v1"` @@ -2154,6 +2073,58 @@ func (*ValidateActionConfig) Descriptor() ([]byte, []int) { return file_tfplugin5_proto_rawDescGZIP(), []int{40} } +type LinkedResourceConfig struct { + state protoimpl.MessageState `protogen:"open.v1"` + TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` + Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *LinkedResourceConfig) Reset() { + *x = LinkedResourceConfig{} + mi := &file_tfplugin5_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *LinkedResourceConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LinkedResourceConfig) ProtoMessage() {} + +func (x *LinkedResourceConfig) ProtoReflect() protoreflect.Message { + mi := &file_tfplugin5_proto_msgTypes[41] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LinkedResourceConfig.ProtoReflect.Descriptor instead. +func (*LinkedResourceConfig) Descriptor() ([]byte, []int) { + return file_tfplugin5_proto_rawDescGZIP(), []int{41} +} + +func (x *LinkedResourceConfig) GetTypeName() string { + if x != nil { + return x.TypeName + } + return "" +} + +func (x *LinkedResourceConfig) GetConfig() *DynamicValue { + if x != nil { + return x.Config + } + return nil +} + type PlanAction struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields @@ -2162,7 +2133,7 @@ type PlanAction struct { func (x *PlanAction) Reset() { *x = PlanAction{} - mi := &file_tfplugin5_proto_msgTypes[41] + mi := &file_tfplugin5_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2174,7 +2145,7 @@ func (x *PlanAction) String() string { func (*PlanAction) ProtoMessage() {} func (x *PlanAction) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[41] + mi := &file_tfplugin5_proto_msgTypes[42] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2187,7 +2158,7 @@ func (x *PlanAction) ProtoReflect() protoreflect.Message { // Deprecated: Use PlanAction.ProtoReflect.Descriptor instead. func (*PlanAction) Descriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{41} + return file_tfplugin5_proto_rawDescGZIP(), []int{42} } type InvokeAction struct { @@ -2198,7 +2169,7 @@ type InvokeAction struct { func (x *InvokeAction) Reset() { *x = InvokeAction{} - mi := &file_tfplugin5_proto_msgTypes[42] + mi := &file_tfplugin5_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2210,7 +2181,7 @@ func (x *InvokeAction) String() string { func (*InvokeAction) ProtoMessage() {} func (x *InvokeAction) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[42] + mi := &file_tfplugin5_proto_msgTypes[43] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2223,7 +2194,7 @@ func (x *InvokeAction) ProtoReflect() protoreflect.Message { // Deprecated: Use InvokeAction.ProtoReflect.Descriptor instead. func (*InvokeAction) Descriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{42} + return file_tfplugin5_proto_rawDescGZIP(), []int{43} } type AttributePath_Step struct { @@ -2240,7 +2211,7 @@ type AttributePath_Step struct { func (x *AttributePath_Step) Reset() { *x = AttributePath_Step{} - mi := &file_tfplugin5_proto_msgTypes[43] + mi := &file_tfplugin5_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2252,7 +2223,7 @@ func (x *AttributePath_Step) String() string { func (*AttributePath_Step) ProtoMessage() {} func (x *AttributePath_Step) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[43] + mi := &file_tfplugin5_proto_msgTypes[44] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2336,7 +2307,7 @@ type Stop_Request struct { func (x *Stop_Request) Reset() { *x = Stop_Request{} - mi := &file_tfplugin5_proto_msgTypes[44] + mi := &file_tfplugin5_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2348,7 +2319,7 @@ func (x *Stop_Request) String() string { func (*Stop_Request) ProtoMessage() {} func (x *Stop_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[44] + mi := &file_tfplugin5_proto_msgTypes[45] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2373,7 +2344,7 @@ type Stop_Response struct { func (x *Stop_Response) Reset() { *x = Stop_Response{} - mi := &file_tfplugin5_proto_msgTypes[45] + mi := &file_tfplugin5_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2385,7 +2356,7 @@ func (x *Stop_Response) String() string { func (*Stop_Response) ProtoMessage() {} func (x *Stop_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[45] + mi := &file_tfplugin5_proto_msgTypes[46] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2422,7 +2393,7 @@ type Schema_Block struct { func (x *Schema_Block) Reset() { *x = Schema_Block{} - mi := &file_tfplugin5_proto_msgTypes[47] + mi := &file_tfplugin5_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2434,7 +2405,7 @@ func (x *Schema_Block) String() string { func (*Schema_Block) ProtoMessage() {} func (x *Schema_Block) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[47] + mi := &file_tfplugin5_proto_msgTypes[48] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2514,7 +2485,7 @@ type Schema_Attribute struct { func (x *Schema_Attribute) Reset() { *x = Schema_Attribute{} - mi := &file_tfplugin5_proto_msgTypes[48] + mi := &file_tfplugin5_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2526,7 +2497,7 @@ func (x *Schema_Attribute) String() string { func (*Schema_Attribute) ProtoMessage() {} func (x *Schema_Attribute) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[48] + mi := &file_tfplugin5_proto_msgTypes[49] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2625,7 +2596,7 @@ type Schema_NestedBlock struct { func (x *Schema_NestedBlock) Reset() { *x = Schema_NestedBlock{} - mi := &file_tfplugin5_proto_msgTypes[49] + mi := &file_tfplugin5_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2637,7 +2608,7 @@ func (x *Schema_NestedBlock) String() string { func (*Schema_NestedBlock) ProtoMessage() {} func (x *Schema_NestedBlock) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[49] + mi := &file_tfplugin5_proto_msgTypes[50] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2711,7 +2682,7 @@ type ResourceIdentitySchema_IdentityAttribute struct { func (x *ResourceIdentitySchema_IdentityAttribute) Reset() { *x = ResourceIdentitySchema_IdentityAttribute{} - mi := &file_tfplugin5_proto_msgTypes[50] + mi := &file_tfplugin5_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2723,7 +2694,7 @@ func (x *ResourceIdentitySchema_IdentityAttribute) String() string { func (*ResourceIdentitySchema_IdentityAttribute) ProtoMessage() {} func (x *ResourceIdentitySchema_IdentityAttribute) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[50] + mi := &file_tfplugin5_proto_msgTypes[51] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2799,7 +2770,7 @@ type Function_Parameter struct { func (x *Function_Parameter) Reset() { *x = Function_Parameter{} - mi := &file_tfplugin5_proto_msgTypes[51] + mi := &file_tfplugin5_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2811,7 +2782,7 @@ func (x *Function_Parameter) String() string { func (*Function_Parameter) ProtoMessage() {} func (x *Function_Parameter) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[51] + mi := &file_tfplugin5_proto_msgTypes[52] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2879,7 +2850,7 @@ type Function_Return struct { func (x *Function_Return) Reset() { *x = Function_Return{} - mi := &file_tfplugin5_proto_msgTypes[52] + mi := &file_tfplugin5_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2891,7 +2862,7 @@ func (x *Function_Return) String() string { func (*Function_Return) ProtoMessage() {} func (x *Function_Return) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[52] + mi := &file_tfplugin5_proto_msgTypes[53] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2914,58 +2885,6 @@ func (x *Function_Return) GetType() []byte { return nil } -type ActionSchema_LinkedResource struct { - state protoimpl.MessageState `protogen:"open.v1"` - TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ActionSchema_LinkedResource) Reset() { - *x = ActionSchema_LinkedResource{} - mi := &file_tfplugin5_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ActionSchema_LinkedResource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActionSchema_LinkedResource) ProtoMessage() {} - -func (x *ActionSchema_LinkedResource) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[53] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActionSchema_LinkedResource.ProtoReflect.Descriptor instead. -func (*ActionSchema_LinkedResource) Descriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{12, 0} -} - -func (x *ActionSchema_LinkedResource) GetTypeName() string { - if x != nil { - return x.TypeName - } - return "" -} - -func (x *ActionSchema_LinkedResource) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - type ActionSchema_Unlinked struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields @@ -2999,103 +2918,7 @@ func (x *ActionSchema_Unlinked) ProtoReflect() protoreflect.Message { // Deprecated: Use ActionSchema_Unlinked.ProtoReflect.Descriptor instead. func (*ActionSchema_Unlinked) Descriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{12, 1} -} - -type ActionSchema_Lifecycle struct { - state protoimpl.MessageState `protogen:"open.v1"` - Executes ActionSchema_Lifecycle_ExecutionOrder `protobuf:"varint,1,opt,name=executes,proto3,enum=tfplugin5.ActionSchema_Lifecycle_ExecutionOrder" json:"executes,omitempty"` // before or after the resource operation - LinkedResource *ActionSchema_LinkedResource `protobuf:"bytes,2,opt,name=linked_resource,json=linkedResource,proto3" json:"linked_resource,omitempty"` // the resource that is linked to the action - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ActionSchema_Lifecycle) Reset() { - *x = ActionSchema_Lifecycle{} - mi := &file_tfplugin5_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ActionSchema_Lifecycle) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActionSchema_Lifecycle) ProtoMessage() {} - -func (x *ActionSchema_Lifecycle) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[55] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActionSchema_Lifecycle.ProtoReflect.Descriptor instead. -func (*ActionSchema_Lifecycle) Descriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{12, 2} -} - -func (x *ActionSchema_Lifecycle) GetExecutes() ActionSchema_Lifecycle_ExecutionOrder { - if x != nil { - return x.Executes - } - return ActionSchema_Lifecycle_INVALID -} - -func (x *ActionSchema_Lifecycle) GetLinkedResource() *ActionSchema_LinkedResource { - if x != nil { - return x.LinkedResource - } - return nil -} - -type ActionSchema_Linked struct { - state protoimpl.MessageState `protogen:"open.v1"` - LinkedResources []*ActionSchema_LinkedResource `protobuf:"bytes,1,rep,name=linked_resources,json=linkedResources,proto3" json:"linked_resources,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ActionSchema_Linked) Reset() { - *x = ActionSchema_Linked{} - mi := &file_tfplugin5_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ActionSchema_Linked) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActionSchema_Linked) ProtoMessage() {} - -func (x *ActionSchema_Linked) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[56] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActionSchema_Linked.ProtoReflect.Descriptor instead. -func (*ActionSchema_Linked) Descriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{12, 3} -} - -func (x *ActionSchema_Linked) GetLinkedResources() []*ActionSchema_LinkedResource { - if x != nil { - return x.LinkedResources - } - return nil + return file_tfplugin5_proto_rawDescGZIP(), []int{12, 0} } type GetMetadata_Request struct { @@ -3106,7 +2929,7 @@ type GetMetadata_Request struct { func (x *GetMetadata_Request) Reset() { *x = GetMetadata_Request{} - mi := &file_tfplugin5_proto_msgTypes[57] + mi := &file_tfplugin5_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3118,7 +2941,7 @@ func (x *GetMetadata_Request) String() string { func (*GetMetadata_Request) ProtoMessage() {} func (x *GetMetadata_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[57] + mi := &file_tfplugin5_proto_msgTypes[55] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3144,15 +2967,14 @@ type GetMetadata_Response struct { Functions []*GetMetadata_FunctionMetadata `protobuf:"bytes,5,rep,name=functions,proto3" json:"functions,omitempty"` EphemeralResources []*GetMetadata_EphemeralResourceMetadata `protobuf:"bytes,6,rep,name=ephemeral_resources,json=ephemeralResources,proto3" json:"ephemeral_resources,omitempty"` ListResources []*GetMetadata_ListResourceMetadata `protobuf:"bytes,7,rep,name=list_resources,json=listResources,proto3" json:"list_resources,omitempty"` - // TODO: Field number 8 will be used by state stores - Actions []*GetMetadata_ActionMetadata `protobuf:"bytes,9,rep,name=actions,proto3" json:"actions,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Actions []*GetMetadata_ActionMetadata `protobuf:"bytes,9,rep,name=actions,proto3" json:"actions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetMetadata_Response) Reset() { *x = GetMetadata_Response{} - mi := &file_tfplugin5_proto_msgTypes[58] + mi := &file_tfplugin5_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3164,7 +2986,7 @@ func (x *GetMetadata_Response) String() string { func (*GetMetadata_Response) ProtoMessage() {} func (x *GetMetadata_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[58] + mi := &file_tfplugin5_proto_msgTypes[56] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3246,7 +3068,7 @@ type GetMetadata_FunctionMetadata struct { func (x *GetMetadata_FunctionMetadata) Reset() { *x = GetMetadata_FunctionMetadata{} - mi := &file_tfplugin5_proto_msgTypes[59] + mi := &file_tfplugin5_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3258,7 +3080,7 @@ func (x *GetMetadata_FunctionMetadata) String() string { func (*GetMetadata_FunctionMetadata) ProtoMessage() {} func (x *GetMetadata_FunctionMetadata) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[59] + mi := &file_tfplugin5_proto_msgTypes[57] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3290,7 +3112,7 @@ type GetMetadata_DataSourceMetadata struct { func (x *GetMetadata_DataSourceMetadata) Reset() { *x = GetMetadata_DataSourceMetadata{} - mi := &file_tfplugin5_proto_msgTypes[60] + mi := &file_tfplugin5_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3302,7 +3124,7 @@ func (x *GetMetadata_DataSourceMetadata) String() string { func (*GetMetadata_DataSourceMetadata) ProtoMessage() {} func (x *GetMetadata_DataSourceMetadata) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[60] + mi := &file_tfplugin5_proto_msgTypes[58] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3334,7 +3156,7 @@ type GetMetadata_ResourceMetadata struct { func (x *GetMetadata_ResourceMetadata) Reset() { *x = GetMetadata_ResourceMetadata{} - mi := &file_tfplugin5_proto_msgTypes[61] + mi := &file_tfplugin5_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3346,7 +3168,7 @@ func (x *GetMetadata_ResourceMetadata) String() string { func (*GetMetadata_ResourceMetadata) ProtoMessage() {} func (x *GetMetadata_ResourceMetadata) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[61] + mi := &file_tfplugin5_proto_msgTypes[59] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3378,7 +3200,7 @@ type GetMetadata_EphemeralResourceMetadata struct { func (x *GetMetadata_EphemeralResourceMetadata) Reset() { *x = GetMetadata_EphemeralResourceMetadata{} - mi := &file_tfplugin5_proto_msgTypes[62] + mi := &file_tfplugin5_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3390,7 +3212,7 @@ func (x *GetMetadata_EphemeralResourceMetadata) String() string { func (*GetMetadata_EphemeralResourceMetadata) ProtoMessage() {} func (x *GetMetadata_EphemeralResourceMetadata) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[62] + mi := &file_tfplugin5_proto_msgTypes[60] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3422,7 +3244,7 @@ type GetMetadata_ListResourceMetadata struct { func (x *GetMetadata_ListResourceMetadata) Reset() { *x = GetMetadata_ListResourceMetadata{} - mi := &file_tfplugin5_proto_msgTypes[63] + mi := &file_tfplugin5_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3434,7 +3256,7 @@ func (x *GetMetadata_ListResourceMetadata) String() string { func (*GetMetadata_ListResourceMetadata) ProtoMessage() {} func (x *GetMetadata_ListResourceMetadata) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[63] + mi := &file_tfplugin5_proto_msgTypes[61] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3466,7 +3288,7 @@ type GetMetadata_ActionMetadata struct { func (x *GetMetadata_ActionMetadata) Reset() { *x = GetMetadata_ActionMetadata{} - mi := &file_tfplugin5_proto_msgTypes[64] + mi := &file_tfplugin5_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3478,7 +3300,7 @@ func (x *GetMetadata_ActionMetadata) String() string { func (*GetMetadata_ActionMetadata) ProtoMessage() {} func (x *GetMetadata_ActionMetadata) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[64] + mi := &file_tfplugin5_proto_msgTypes[62] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3509,7 +3331,7 @@ type GetProviderSchema_Request struct { func (x *GetProviderSchema_Request) Reset() { *x = GetProviderSchema_Request{} - mi := &file_tfplugin5_proto_msgTypes[65] + mi := &file_tfplugin5_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3521,7 +3343,7 @@ func (x *GetProviderSchema_Request) String() string { func (*GetProviderSchema_Request) ProtoMessage() {} func (x *GetProviderSchema_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[65] + mi := &file_tfplugin5_proto_msgTypes[63] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3545,19 +3367,18 @@ type GetProviderSchema_Response struct { Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` ProviderMeta *Schema `protobuf:"bytes,5,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` ServerCapabilities *ServerCapabilities `protobuf:"bytes,6,opt,name=server_capabilities,json=serverCapabilities,proto3" json:"server_capabilities,omitempty"` - // functions is a mapping of function names to definitions. - Functions map[string]*Function `protobuf:"bytes,7,rep,name=functions,proto3" json:"functions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - EphemeralResourceSchemas map[string]*Schema `protobuf:"bytes,8,rep,name=ephemeral_resource_schemas,json=ephemeralResourceSchemas,proto3" json:"ephemeral_resource_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - ListResourceSchemas map[string]*Schema `protobuf:"bytes,9,rep,name=list_resource_schemas,json=listResourceSchemas,proto3" json:"list_resource_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // TODO: Field number 10 will be used by state stores - ActionSchemas map[string]*ActionSchema `protobuf:"bytes,11,rep,name=action_schemas,json=actionSchemas,proto3" json:"action_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + // functions is a mapping of function names to definitions. + Functions map[string]*Function `protobuf:"bytes,7,rep,name=functions,proto3" json:"functions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + EphemeralResourceSchemas map[string]*Schema `protobuf:"bytes,8,rep,name=ephemeral_resource_schemas,json=ephemeralResourceSchemas,proto3" json:"ephemeral_resource_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + ListResourceSchemas map[string]*Schema `protobuf:"bytes,9,rep,name=list_resource_schemas,json=listResourceSchemas,proto3" json:"list_resource_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + ActionSchemas map[string]*ActionSchema `protobuf:"bytes,11,rep,name=action_schemas,json=actionSchemas,proto3" json:"action_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetProviderSchema_Response) Reset() { *x = GetProviderSchema_Response{} - mi := &file_tfplugin5_proto_msgTypes[66] + mi := &file_tfplugin5_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3569,7 +3390,7 @@ func (x *GetProviderSchema_Response) String() string { func (*GetProviderSchema_Response) ProtoMessage() {} func (x *GetProviderSchema_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[66] + mi := &file_tfplugin5_proto_msgTypes[64] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3664,7 +3485,7 @@ type PrepareProviderConfig_Request struct { func (x *PrepareProviderConfig_Request) Reset() { *x = PrepareProviderConfig_Request{} - mi := &file_tfplugin5_proto_msgTypes[73] + mi := &file_tfplugin5_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3676,7 +3497,7 @@ func (x *PrepareProviderConfig_Request) String() string { func (*PrepareProviderConfig_Request) ProtoMessage() {} func (x *PrepareProviderConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[73] + mi := &file_tfplugin5_proto_msgTypes[71] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3709,7 +3530,7 @@ type PrepareProviderConfig_Response struct { func (x *PrepareProviderConfig_Response) Reset() { *x = PrepareProviderConfig_Response{} - mi := &file_tfplugin5_proto_msgTypes[74] + mi := &file_tfplugin5_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3721,7 +3542,7 @@ func (x *PrepareProviderConfig_Response) String() string { func (*PrepareProviderConfig_Response) ProtoMessage() {} func (x *PrepareProviderConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[74] + mi := &file_tfplugin5_proto_msgTypes[72] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3777,7 +3598,7 @@ type UpgradeResourceState_Request struct { func (x *UpgradeResourceState_Request) Reset() { *x = UpgradeResourceState_Request{} - mi := &file_tfplugin5_proto_msgTypes[75] + mi := &file_tfplugin5_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3789,7 +3610,7 @@ func (x *UpgradeResourceState_Request) String() string { func (*UpgradeResourceState_Request) ProtoMessage() {} func (x *UpgradeResourceState_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[75] + mi := &file_tfplugin5_proto_msgTypes[73] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3842,7 +3663,7 @@ type UpgradeResourceState_Response struct { func (x *UpgradeResourceState_Response) Reset() { *x = UpgradeResourceState_Response{} - mi := &file_tfplugin5_proto_msgTypes[76] + mi := &file_tfplugin5_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3854,7 +3675,7 @@ func (x *UpgradeResourceState_Response) String() string { func (*UpgradeResourceState_Response) ProtoMessage() {} func (x *UpgradeResourceState_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[76] + mi := &file_tfplugin5_proto_msgTypes[74] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3895,7 +3716,7 @@ type ValidateResourceTypeConfig_Request struct { func (x *ValidateResourceTypeConfig_Request) Reset() { *x = ValidateResourceTypeConfig_Request{} - mi := &file_tfplugin5_proto_msgTypes[77] + mi := &file_tfplugin5_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3907,7 +3728,7 @@ func (x *ValidateResourceTypeConfig_Request) String() string { func (*ValidateResourceTypeConfig_Request) ProtoMessage() {} func (x *ValidateResourceTypeConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[77] + mi := &file_tfplugin5_proto_msgTypes[75] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3953,7 +3774,7 @@ type ValidateResourceTypeConfig_Response struct { func (x *ValidateResourceTypeConfig_Response) Reset() { *x = ValidateResourceTypeConfig_Response{} - mi := &file_tfplugin5_proto_msgTypes[78] + mi := &file_tfplugin5_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3965,7 +3786,7 @@ func (x *ValidateResourceTypeConfig_Response) String() string { func (*ValidateResourceTypeConfig_Response) ProtoMessage() {} func (x *ValidateResourceTypeConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[78] + mi := &file_tfplugin5_proto_msgTypes[76] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3998,7 +3819,7 @@ type ValidateDataSourceConfig_Request struct { func (x *ValidateDataSourceConfig_Request) Reset() { *x = ValidateDataSourceConfig_Request{} - mi := &file_tfplugin5_proto_msgTypes[79] + mi := &file_tfplugin5_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4010,7 +3831,7 @@ func (x *ValidateDataSourceConfig_Request) String() string { func (*ValidateDataSourceConfig_Request) ProtoMessage() {} func (x *ValidateDataSourceConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[79] + mi := &file_tfplugin5_proto_msgTypes[77] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4049,7 +3870,7 @@ type ValidateDataSourceConfig_Response struct { func (x *ValidateDataSourceConfig_Response) Reset() { *x = ValidateDataSourceConfig_Response{} - mi := &file_tfplugin5_proto_msgTypes[80] + mi := &file_tfplugin5_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4061,7 +3882,7 @@ func (x *ValidateDataSourceConfig_Response) String() string { func (*ValidateDataSourceConfig_Response) ProtoMessage() {} func (x *ValidateDataSourceConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[80] + mi := &file_tfplugin5_proto_msgTypes[78] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4095,7 +3916,7 @@ type Configure_Request struct { func (x *Configure_Request) Reset() { *x = Configure_Request{} - mi := &file_tfplugin5_proto_msgTypes[81] + mi := &file_tfplugin5_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4107,7 +3928,7 @@ func (x *Configure_Request) String() string { func (*Configure_Request) ProtoMessage() {} func (x *Configure_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[81] + mi := &file_tfplugin5_proto_msgTypes[79] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4153,7 +3974,7 @@ type Configure_Response struct { func (x *Configure_Response) Reset() { *x = Configure_Response{} - mi := &file_tfplugin5_proto_msgTypes[82] + mi := &file_tfplugin5_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4165,7 +3986,7 @@ func (x *Configure_Response) String() string { func (*Configure_Response) ProtoMessage() {} func (x *Configure_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[82] + mi := &file_tfplugin5_proto_msgTypes[80] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4210,7 +4031,7 @@ type ReadResource_Request struct { func (x *ReadResource_Request) Reset() { *x = ReadResource_Request{} - mi := &file_tfplugin5_proto_msgTypes[83] + mi := &file_tfplugin5_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4222,7 +4043,7 @@ func (x *ReadResource_Request) String() string { func (*ReadResource_Request) ProtoMessage() {} func (x *ReadResource_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[83] + mi := &file_tfplugin5_proto_msgTypes[81] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4295,7 +4116,7 @@ type ReadResource_Response struct { func (x *ReadResource_Response) Reset() { *x = ReadResource_Response{} - mi := &file_tfplugin5_proto_msgTypes[84] + mi := &file_tfplugin5_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4307,7 +4128,7 @@ func (x *ReadResource_Response) String() string { func (*ReadResource_Response) ProtoMessage() {} func (x *ReadResource_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[84] + mi := &file_tfplugin5_proto_msgTypes[82] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4374,7 +4195,7 @@ type PlanResourceChange_Request struct { func (x *PlanResourceChange_Request) Reset() { *x = PlanResourceChange_Request{} - mi := &file_tfplugin5_proto_msgTypes[85] + mi := &file_tfplugin5_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4386,7 +4207,7 @@ func (x *PlanResourceChange_Request) String() string { func (*PlanResourceChange_Request) ProtoMessage() {} func (x *PlanResourceChange_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[85] + mi := &file_tfplugin5_proto_msgTypes[83] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4486,7 +4307,7 @@ type PlanResourceChange_Response struct { func (x *PlanResourceChange_Response) Reset() { *x = PlanResourceChange_Response{} - mi := &file_tfplugin5_proto_msgTypes[86] + mi := &file_tfplugin5_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4498,7 +4319,7 @@ func (x *PlanResourceChange_Response) String() string { func (*PlanResourceChange_Response) ProtoMessage() {} func (x *PlanResourceChange_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[86] + mi := &file_tfplugin5_proto_msgTypes[84] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4578,7 +4399,7 @@ type ApplyResourceChange_Request struct { func (x *ApplyResourceChange_Request) Reset() { *x = ApplyResourceChange_Request{} - mi := &file_tfplugin5_proto_msgTypes[87] + mi := &file_tfplugin5_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4590,7 +4411,7 @@ func (x *ApplyResourceChange_Request) String() string { func (*ApplyResourceChange_Request) ProtoMessage() {} func (x *ApplyResourceChange_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[87] + mi := &file_tfplugin5_proto_msgTypes[85] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4679,7 +4500,7 @@ type ApplyResourceChange_Response struct { func (x *ApplyResourceChange_Response) Reset() { *x = ApplyResourceChange_Response{} - mi := &file_tfplugin5_proto_msgTypes[88] + mi := &file_tfplugin5_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4691,7 +4512,7 @@ func (x *ApplyResourceChange_Response) String() string { func (*ApplyResourceChange_Response) ProtoMessage() {} func (x *ApplyResourceChange_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[88] + mi := &file_tfplugin5_proto_msgTypes[86] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4754,7 +4575,7 @@ type ImportResourceState_Request struct { func (x *ImportResourceState_Request) Reset() { *x = ImportResourceState_Request{} - mi := &file_tfplugin5_proto_msgTypes[89] + mi := &file_tfplugin5_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4766,7 +4587,7 @@ func (x *ImportResourceState_Request) String() string { func (*ImportResourceState_Request) ProtoMessage() {} func (x *ImportResourceState_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[89] + mi := &file_tfplugin5_proto_msgTypes[87] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4822,7 +4643,7 @@ type ImportResourceState_ImportedResource struct { func (x *ImportResourceState_ImportedResource) Reset() { *x = ImportResourceState_ImportedResource{} - mi := &file_tfplugin5_proto_msgTypes[90] + mi := &file_tfplugin5_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4834,7 +4655,7 @@ func (x *ImportResourceState_ImportedResource) String() string { func (*ImportResourceState_ImportedResource) ProtoMessage() {} func (x *ImportResourceState_ImportedResource) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[90] + mi := &file_tfplugin5_proto_msgTypes[88] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4891,7 +4712,7 @@ type ImportResourceState_Response struct { func (x *ImportResourceState_Response) Reset() { *x = ImportResourceState_Response{} - mi := &file_tfplugin5_proto_msgTypes[91] + mi := &file_tfplugin5_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4903,7 +4724,7 @@ func (x *ImportResourceState_Response) String() string { func (*ImportResourceState_Response) ProtoMessage() {} func (x *ImportResourceState_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[91] + mi := &file_tfplugin5_proto_msgTypes[89] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4970,7 +4791,7 @@ type MoveResourceState_Request struct { func (x *MoveResourceState_Request) Reset() { *x = MoveResourceState_Request{} - mi := &file_tfplugin5_proto_msgTypes[92] + mi := &file_tfplugin5_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4982,7 +4803,7 @@ func (x *MoveResourceState_Request) String() string { func (*MoveResourceState_Request) ProtoMessage() {} func (x *MoveResourceState_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[92] + mi := &file_tfplugin5_proto_msgTypes[90] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5069,7 +4890,7 @@ type MoveResourceState_Response struct { func (x *MoveResourceState_Response) Reset() { *x = MoveResourceState_Response{} - mi := &file_tfplugin5_proto_msgTypes[93] + mi := &file_tfplugin5_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5081,7 +4902,7 @@ func (x *MoveResourceState_Response) String() string { func (*MoveResourceState_Response) ProtoMessage() {} func (x *MoveResourceState_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[93] + mi := &file_tfplugin5_proto_msgTypes[91] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5137,7 +4958,7 @@ type ReadDataSource_Request struct { func (x *ReadDataSource_Request) Reset() { *x = ReadDataSource_Request{} - mi := &file_tfplugin5_proto_msgTypes[94] + mi := &file_tfplugin5_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5149,7 +4970,7 @@ func (x *ReadDataSource_Request) String() string { func (*ReadDataSource_Request) ProtoMessage() {} func (x *ReadDataSource_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[94] + mi := &file_tfplugin5_proto_msgTypes[92] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5206,7 +5027,7 @@ type ReadDataSource_Response struct { func (x *ReadDataSource_Response) Reset() { *x = ReadDataSource_Response{} - mi := &file_tfplugin5_proto_msgTypes[95] + mi := &file_tfplugin5_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5218,7 +5039,7 @@ func (x *ReadDataSource_Response) String() string { func (*ReadDataSource_Response) ProtoMessage() {} func (x *ReadDataSource_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[95] + mi := &file_tfplugin5_proto_msgTypes[93] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5263,7 +5084,7 @@ type GetProvisionerSchema_Request struct { func (x *GetProvisionerSchema_Request) Reset() { *x = GetProvisionerSchema_Request{} - mi := &file_tfplugin5_proto_msgTypes[96] + mi := &file_tfplugin5_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5275,7 +5096,7 @@ func (x *GetProvisionerSchema_Request) String() string { func (*GetProvisionerSchema_Request) ProtoMessage() {} func (x *GetProvisionerSchema_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[96] + mi := &file_tfplugin5_proto_msgTypes[94] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5301,7 +5122,7 @@ type GetProvisionerSchema_Response struct { func (x *GetProvisionerSchema_Response) Reset() { *x = GetProvisionerSchema_Response{} - mi := &file_tfplugin5_proto_msgTypes[97] + mi := &file_tfplugin5_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5313,7 +5134,7 @@ func (x *GetProvisionerSchema_Response) String() string { func (*GetProvisionerSchema_Response) ProtoMessage() {} func (x *GetProvisionerSchema_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[97] + mi := &file_tfplugin5_proto_msgTypes[95] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5352,7 +5173,7 @@ type ValidateProvisionerConfig_Request struct { func (x *ValidateProvisionerConfig_Request) Reset() { *x = ValidateProvisionerConfig_Request{} - mi := &file_tfplugin5_proto_msgTypes[98] + mi := &file_tfplugin5_proto_msgTypes[96] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5364,7 +5185,7 @@ func (x *ValidateProvisionerConfig_Request) String() string { func (*ValidateProvisionerConfig_Request) ProtoMessage() {} func (x *ValidateProvisionerConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[98] + mi := &file_tfplugin5_proto_msgTypes[96] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5396,7 +5217,7 @@ type ValidateProvisionerConfig_Response struct { func (x *ValidateProvisionerConfig_Response) Reset() { *x = ValidateProvisionerConfig_Response{} - mi := &file_tfplugin5_proto_msgTypes[99] + mi := &file_tfplugin5_proto_msgTypes[97] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5408,7 +5229,7 @@ func (x *ValidateProvisionerConfig_Response) String() string { func (*ValidateProvisionerConfig_Response) ProtoMessage() {} func (x *ValidateProvisionerConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[99] + mi := &file_tfplugin5_proto_msgTypes[97] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5441,7 +5262,7 @@ type ProvisionResource_Request struct { func (x *ProvisionResource_Request) Reset() { *x = ProvisionResource_Request{} - mi := &file_tfplugin5_proto_msgTypes[100] + mi := &file_tfplugin5_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5453,7 +5274,7 @@ func (x *ProvisionResource_Request) String() string { func (*ProvisionResource_Request) ProtoMessage() {} func (x *ProvisionResource_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[100] + mi := &file_tfplugin5_proto_msgTypes[98] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5493,7 +5314,7 @@ type ProvisionResource_Response struct { func (x *ProvisionResource_Response) Reset() { *x = ProvisionResource_Response{} - mi := &file_tfplugin5_proto_msgTypes[101] + mi := &file_tfplugin5_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5505,7 +5326,7 @@ func (x *ProvisionResource_Response) String() string { func (*ProvisionResource_Response) ProtoMessage() {} func (x *ProvisionResource_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[101] + mi := &file_tfplugin5_proto_msgTypes[99] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5543,7 +5364,7 @@ type GetFunctions_Request struct { func (x *GetFunctions_Request) Reset() { *x = GetFunctions_Request{} - mi := &file_tfplugin5_proto_msgTypes[102] + mi := &file_tfplugin5_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5555,7 +5376,7 @@ func (x *GetFunctions_Request) String() string { func (*GetFunctions_Request) ProtoMessage() {} func (x *GetFunctions_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[102] + mi := &file_tfplugin5_proto_msgTypes[100] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5583,7 +5404,7 @@ type GetFunctions_Response struct { func (x *GetFunctions_Response) Reset() { *x = GetFunctions_Response{} - mi := &file_tfplugin5_proto_msgTypes[103] + mi := &file_tfplugin5_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5595,7 +5416,7 @@ func (x *GetFunctions_Response) String() string { func (*GetFunctions_Response) ProtoMessage() {} func (x *GetFunctions_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[103] + mi := &file_tfplugin5_proto_msgTypes[101] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5637,7 +5458,7 @@ type CallFunction_Request struct { func (x *CallFunction_Request) Reset() { *x = CallFunction_Request{} - mi := &file_tfplugin5_proto_msgTypes[105] + mi := &file_tfplugin5_proto_msgTypes[103] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5649,7 +5470,7 @@ func (x *CallFunction_Request) String() string { func (*CallFunction_Request) ProtoMessage() {} func (x *CallFunction_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[105] + mi := &file_tfplugin5_proto_msgTypes[103] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5691,7 +5512,7 @@ type CallFunction_Response struct { func (x *CallFunction_Response) Reset() { *x = CallFunction_Response{} - mi := &file_tfplugin5_proto_msgTypes[106] + mi := &file_tfplugin5_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5703,7 +5524,7 @@ func (x *CallFunction_Response) String() string { func (*CallFunction_Response) ProtoMessage() {} func (x *CallFunction_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[106] + mi := &file_tfplugin5_proto_msgTypes[104] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5743,7 +5564,7 @@ type ValidateEphemeralResourceConfig_Request struct { func (x *ValidateEphemeralResourceConfig_Request) Reset() { *x = ValidateEphemeralResourceConfig_Request{} - mi := &file_tfplugin5_proto_msgTypes[107] + mi := &file_tfplugin5_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5755,7 +5576,7 @@ func (x *ValidateEphemeralResourceConfig_Request) String() string { func (*ValidateEphemeralResourceConfig_Request) ProtoMessage() {} func (x *ValidateEphemeralResourceConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[107] + mi := &file_tfplugin5_proto_msgTypes[105] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5794,7 +5615,7 @@ type ValidateEphemeralResourceConfig_Response struct { func (x *ValidateEphemeralResourceConfig_Response) Reset() { *x = ValidateEphemeralResourceConfig_Response{} - mi := &file_tfplugin5_proto_msgTypes[108] + mi := &file_tfplugin5_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5806,7 +5627,7 @@ func (x *ValidateEphemeralResourceConfig_Response) String() string { func (*ValidateEphemeralResourceConfig_Response) ProtoMessage() {} func (x *ValidateEphemeralResourceConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[108] + mi := &file_tfplugin5_proto_msgTypes[106] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5840,7 +5661,7 @@ type OpenEphemeralResource_Request struct { func (x *OpenEphemeralResource_Request) Reset() { *x = OpenEphemeralResource_Request{} - mi := &file_tfplugin5_proto_msgTypes[109] + mi := &file_tfplugin5_proto_msgTypes[107] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5852,7 +5673,7 @@ func (x *OpenEphemeralResource_Request) String() string { func (*OpenEphemeralResource_Request) ProtoMessage() {} func (x *OpenEphemeralResource_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[109] + mi := &file_tfplugin5_proto_msgTypes[107] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5904,7 +5725,7 @@ type OpenEphemeralResource_Response struct { func (x *OpenEphemeralResource_Response) Reset() { *x = OpenEphemeralResource_Response{} - mi := &file_tfplugin5_proto_msgTypes[110] + mi := &file_tfplugin5_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5916,7 +5737,7 @@ func (x *OpenEphemeralResource_Response) String() string { func (*OpenEphemeralResource_Response) ProtoMessage() {} func (x *OpenEphemeralResource_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[110] + mi := &file_tfplugin5_proto_msgTypes[108] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5977,7 +5798,7 @@ type RenewEphemeralResource_Request struct { func (x *RenewEphemeralResource_Request) Reset() { *x = RenewEphemeralResource_Request{} - mi := &file_tfplugin5_proto_msgTypes[111] + mi := &file_tfplugin5_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5989,7 +5810,7 @@ func (x *RenewEphemeralResource_Request) String() string { func (*RenewEphemeralResource_Request) ProtoMessage() {} func (x *RenewEphemeralResource_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[111] + mi := &file_tfplugin5_proto_msgTypes[109] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6030,7 +5851,7 @@ type RenewEphemeralResource_Response struct { func (x *RenewEphemeralResource_Response) Reset() { *x = RenewEphemeralResource_Response{} - mi := &file_tfplugin5_proto_msgTypes[112] + mi := &file_tfplugin5_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6042,7 +5863,7 @@ func (x *RenewEphemeralResource_Response) String() string { func (*RenewEphemeralResource_Response) ProtoMessage() {} func (x *RenewEphemeralResource_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[112] + mi := &file_tfplugin5_proto_msgTypes[110] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6089,7 +5910,7 @@ type CloseEphemeralResource_Request struct { func (x *CloseEphemeralResource_Request) Reset() { *x = CloseEphemeralResource_Request{} - mi := &file_tfplugin5_proto_msgTypes[113] + mi := &file_tfplugin5_proto_msgTypes[111] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6101,7 +5922,7 @@ func (x *CloseEphemeralResource_Request) String() string { func (*CloseEphemeralResource_Request) ProtoMessage() {} func (x *CloseEphemeralResource_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[113] + mi := &file_tfplugin5_proto_msgTypes[111] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6140,7 +5961,7 @@ type CloseEphemeralResource_Response struct { func (x *CloseEphemeralResource_Response) Reset() { *x = CloseEphemeralResource_Response{} - mi := &file_tfplugin5_proto_msgTypes[114] + mi := &file_tfplugin5_proto_msgTypes[112] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6152,7 +5973,7 @@ func (x *CloseEphemeralResource_Response) String() string { func (*CloseEphemeralResource_Response) ProtoMessage() {} func (x *CloseEphemeralResource_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[114] + mi := &file_tfplugin5_proto_msgTypes[112] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6183,7 +6004,7 @@ type GetResourceIdentitySchemas_Request struct { func (x *GetResourceIdentitySchemas_Request) Reset() { *x = GetResourceIdentitySchemas_Request{} - mi := &file_tfplugin5_proto_msgTypes[115] + mi := &file_tfplugin5_proto_msgTypes[113] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6195,7 +6016,7 @@ func (x *GetResourceIdentitySchemas_Request) String() string { func (*GetResourceIdentitySchemas_Request) ProtoMessage() {} func (x *GetResourceIdentitySchemas_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[115] + mi := &file_tfplugin5_proto_msgTypes[113] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6223,7 +6044,7 @@ type GetResourceIdentitySchemas_Response struct { func (x *GetResourceIdentitySchemas_Response) Reset() { *x = GetResourceIdentitySchemas_Response{} - mi := &file_tfplugin5_proto_msgTypes[116] + mi := &file_tfplugin5_proto_msgTypes[114] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6235,7 +6056,7 @@ func (x *GetResourceIdentitySchemas_Response) String() string { func (*GetResourceIdentitySchemas_Response) ProtoMessage() {} func (x *GetResourceIdentitySchemas_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[116] + mi := &file_tfplugin5_proto_msgTypes[114] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6282,7 +6103,7 @@ type UpgradeResourceIdentity_Request struct { func (x *UpgradeResourceIdentity_Request) Reset() { *x = UpgradeResourceIdentity_Request{} - mi := &file_tfplugin5_proto_msgTypes[118] + mi := &file_tfplugin5_proto_msgTypes[116] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6294,7 +6115,7 @@ func (x *UpgradeResourceIdentity_Request) String() string { func (*UpgradeResourceIdentity_Request) ProtoMessage() {} func (x *UpgradeResourceIdentity_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[118] + mi := &file_tfplugin5_proto_msgTypes[116] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6343,7 +6164,7 @@ type UpgradeResourceIdentity_Response struct { func (x *UpgradeResourceIdentity_Response) Reset() { *x = UpgradeResourceIdentity_Response{} - mi := &file_tfplugin5_proto_msgTypes[119] + mi := &file_tfplugin5_proto_msgTypes[117] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6355,7 +6176,7 @@ func (x *UpgradeResourceIdentity_Response) String() string { func (*UpgradeResourceIdentity_Response) ProtoMessage() {} func (x *UpgradeResourceIdentity_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[119] + mi := &file_tfplugin5_proto_msgTypes[117] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6403,7 +6224,7 @@ type ListResource_Request struct { func (x *ListResource_Request) Reset() { *x = ListResource_Request{} - mi := &file_tfplugin5_proto_msgTypes[120] + mi := &file_tfplugin5_proto_msgTypes[118] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6415,7 +6236,7 @@ func (x *ListResource_Request) String() string { func (*ListResource_Request) ProtoMessage() {} func (x *ListResource_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[120] + mi := &file_tfplugin5_proto_msgTypes[118] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6475,7 +6296,7 @@ type ListResource_Event struct { func (x *ListResource_Event) Reset() { *x = ListResource_Event{} - mi := &file_tfplugin5_proto_msgTypes[121] + mi := &file_tfplugin5_proto_msgTypes[119] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6487,7 +6308,7 @@ func (x *ListResource_Event) String() string { func (*ListResource_Event) ProtoMessage() {} func (x *ListResource_Event) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[121] + mi := &file_tfplugin5_proto_msgTypes[119] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6543,7 +6364,7 @@ type ValidateListResourceConfig_Request struct { func (x *ValidateListResourceConfig_Request) Reset() { *x = ValidateListResourceConfig_Request{} - mi := &file_tfplugin5_proto_msgTypes[122] + mi := &file_tfplugin5_proto_msgTypes[120] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6555,7 +6376,7 @@ func (x *ValidateListResourceConfig_Request) String() string { func (*ValidateListResourceConfig_Request) ProtoMessage() {} func (x *ValidateListResourceConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[122] + mi := &file_tfplugin5_proto_msgTypes[120] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6608,7 +6429,7 @@ type ValidateListResourceConfig_Response struct { func (x *ValidateListResourceConfig_Response) Reset() { *x = ValidateListResourceConfig_Response{} - mi := &file_tfplugin5_proto_msgTypes[123] + mi := &file_tfplugin5_proto_msgTypes[121] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6620,7 +6441,7 @@ func (x *ValidateListResourceConfig_Response) String() string { func (*ValidateListResourceConfig_Response) ProtoMessage() {} func (x *ValidateListResourceConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[123] + mi := &file_tfplugin5_proto_msgTypes[121] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6644,16 +6465,17 @@ func (x *ValidateListResourceConfig_Response) GetDiagnostics() []*Diagnostic { } type ValidateActionConfig_Request struct { - state protoimpl.MessageState `protogen:"open.v1"` - ActionType string `protobuf:"bytes,1,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"` - Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ActionType string `protobuf:"bytes,1,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"` + Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` + LinkedResources []*LinkedResourceConfig `protobuf:"bytes,3,rep,name=linked_resources,json=linkedResources,proto3" json:"linked_resources,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ValidateActionConfig_Request) Reset() { *x = ValidateActionConfig_Request{} - mi := &file_tfplugin5_proto_msgTypes[124] + mi := &file_tfplugin5_proto_msgTypes[122] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6665,7 +6487,7 @@ func (x *ValidateActionConfig_Request) String() string { func (*ValidateActionConfig_Request) ProtoMessage() {} func (x *ValidateActionConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[124] + mi := &file_tfplugin5_proto_msgTypes[122] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6695,6 +6517,13 @@ func (x *ValidateActionConfig_Request) GetConfig() *DynamicValue { return nil } +func (x *ValidateActionConfig_Request) GetLinkedResources() []*LinkedResourceConfig { + if x != nil { + return x.LinkedResources + } + return nil +} + type ValidateActionConfig_Response struct { state protoimpl.MessageState `protogen:"open.v1"` Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` @@ -6704,7 +6533,7 @@ type ValidateActionConfig_Response struct { func (x *ValidateActionConfig_Response) Reset() { *x = ValidateActionConfig_Response{} - mi := &file_tfplugin5_proto_msgTypes[125] + mi := &file_tfplugin5_proto_msgTypes[123] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6716,7 +6545,7 @@ func (x *ValidateActionConfig_Response) String() string { func (*ValidateActionConfig_Response) ProtoMessage() {} func (x *ValidateActionConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[125] + mi := &file_tfplugin5_proto_msgTypes[123] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6752,7 +6581,7 @@ type PlanAction_Request struct { func (x *PlanAction_Request) Reset() { *x = PlanAction_Request{} - mi := &file_tfplugin5_proto_msgTypes[126] + mi := &file_tfplugin5_proto_msgTypes[124] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6764,7 +6593,7 @@ func (x *PlanAction_Request) String() string { func (*PlanAction_Request) ProtoMessage() {} func (x *PlanAction_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[126] + mi := &file_tfplugin5_proto_msgTypes[124] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6777,7 +6606,7 @@ func (x *PlanAction_Request) ProtoReflect() protoreflect.Message { // Deprecated: Use PlanAction_Request.ProtoReflect.Descriptor instead. func (*PlanAction_Request) Descriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{41, 0} + return file_tfplugin5_proto_rawDescGZIP(), []int{42, 0} } func (x *PlanAction_Request) GetActionType() string { @@ -6821,7 +6650,7 @@ type PlanAction_Response struct { func (x *PlanAction_Response) Reset() { *x = PlanAction_Response{} - mi := &file_tfplugin5_proto_msgTypes[127] + mi := &file_tfplugin5_proto_msgTypes[125] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6833,7 +6662,7 @@ func (x *PlanAction_Response) String() string { func (*PlanAction_Response) ProtoMessage() {} func (x *PlanAction_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[127] + mi := &file_tfplugin5_proto_msgTypes[125] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6846,7 +6675,7 @@ func (x *PlanAction_Response) ProtoReflect() protoreflect.Message { // Deprecated: Use PlanAction_Response.ProtoReflect.Descriptor instead. func (*PlanAction_Response) Descriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{41, 1} + return file_tfplugin5_proto_rawDescGZIP(), []int{42, 1} } func (x *PlanAction_Response) GetLinkedResources() []*PlanAction_Response_LinkedResource { @@ -6884,7 +6713,7 @@ type PlanAction_Request_LinkedResource struct { func (x *PlanAction_Request_LinkedResource) Reset() { *x = PlanAction_Request_LinkedResource{} - mi := &file_tfplugin5_proto_msgTypes[128] + mi := &file_tfplugin5_proto_msgTypes[126] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6896,7 +6725,7 @@ func (x *PlanAction_Request_LinkedResource) String() string { func (*PlanAction_Request_LinkedResource) ProtoMessage() {} func (x *PlanAction_Request_LinkedResource) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[128] + mi := &file_tfplugin5_proto_msgTypes[126] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6909,7 +6738,7 @@ func (x *PlanAction_Request_LinkedResource) ProtoReflect() protoreflect.Message // Deprecated: Use PlanAction_Request_LinkedResource.ProtoReflect.Descriptor instead. func (*PlanAction_Request_LinkedResource) Descriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{41, 0, 0} + return file_tfplugin5_proto_rawDescGZIP(), []int{42, 0, 0} } func (x *PlanAction_Request_LinkedResource) GetPriorState() *DynamicValue { @@ -6950,7 +6779,7 @@ type PlanAction_Response_LinkedResource struct { func (x *PlanAction_Response_LinkedResource) Reset() { *x = PlanAction_Response_LinkedResource{} - mi := &file_tfplugin5_proto_msgTypes[129] + mi := &file_tfplugin5_proto_msgTypes[127] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6962,7 +6791,7 @@ func (x *PlanAction_Response_LinkedResource) String() string { func (*PlanAction_Response_LinkedResource) ProtoMessage() {} func (x *PlanAction_Response_LinkedResource) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[129] + mi := &file_tfplugin5_proto_msgTypes[127] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6975,7 +6804,7 @@ func (x *PlanAction_Response_LinkedResource) ProtoReflect() protoreflect.Message // Deprecated: Use PlanAction_Response_LinkedResource.ProtoReflect.Descriptor instead. func (*PlanAction_Response_LinkedResource) Descriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{41, 1, 0} + return file_tfplugin5_proto_rawDescGZIP(), []int{42, 1, 0} } func (x *PlanAction_Response_LinkedResource) GetPlannedState() *DynamicValue { @@ -7004,7 +6833,7 @@ type InvokeAction_Request struct { func (x *InvokeAction_Request) Reset() { *x = InvokeAction_Request{} - mi := &file_tfplugin5_proto_msgTypes[130] + mi := &file_tfplugin5_proto_msgTypes[128] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7016,7 +6845,7 @@ func (x *InvokeAction_Request) String() string { func (*InvokeAction_Request) ProtoMessage() {} func (x *InvokeAction_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[130] + mi := &file_tfplugin5_proto_msgTypes[128] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7029,7 +6858,7 @@ func (x *InvokeAction_Request) ProtoReflect() protoreflect.Message { // Deprecated: Use InvokeAction_Request.ProtoReflect.Descriptor instead. func (*InvokeAction_Request) Descriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{42, 0} + return file_tfplugin5_proto_rawDescGZIP(), []int{43, 0} } func (x *InvokeAction_Request) GetActionType() string { @@ -7066,7 +6895,7 @@ type InvokeAction_Event struct { func (x *InvokeAction_Event) Reset() { *x = InvokeAction_Event{} - mi := &file_tfplugin5_proto_msgTypes[131] + mi := &file_tfplugin5_proto_msgTypes[129] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7078,7 +6907,7 @@ func (x *InvokeAction_Event) String() string { func (*InvokeAction_Event) ProtoMessage() {} func (x *InvokeAction_Event) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[131] + mi := &file_tfplugin5_proto_msgTypes[129] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7091,7 +6920,7 @@ func (x *InvokeAction_Event) ProtoReflect() protoreflect.Message { // Deprecated: Use InvokeAction_Event.ProtoReflect.Descriptor instead. func (*InvokeAction_Event) Descriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{42, 1} + return file_tfplugin5_proto_rawDescGZIP(), []int{43, 1} } func (x *InvokeAction_Event) GetType() isInvokeAction_Event_Type { @@ -7149,7 +6978,7 @@ type InvokeAction_Request_LinkedResource struct { func (x *InvokeAction_Request_LinkedResource) Reset() { *x = InvokeAction_Request_LinkedResource{} - mi := &file_tfplugin5_proto_msgTypes[132] + mi := &file_tfplugin5_proto_msgTypes[130] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7161,7 +6990,7 @@ func (x *InvokeAction_Request_LinkedResource) String() string { func (*InvokeAction_Request_LinkedResource) ProtoMessage() {} func (x *InvokeAction_Request_LinkedResource) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[132] + mi := &file_tfplugin5_proto_msgTypes[130] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7174,7 +7003,7 @@ func (x *InvokeAction_Request_LinkedResource) ProtoReflect() protoreflect.Messag // Deprecated: Use InvokeAction_Request_LinkedResource.ProtoReflect.Descriptor instead. func (*InvokeAction_Request_LinkedResource) Descriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{42, 0, 0} + return file_tfplugin5_proto_rawDescGZIP(), []int{43, 0, 0} } func (x *InvokeAction_Request_LinkedResource) GetPriorState() *DynamicValue { @@ -7215,7 +7044,7 @@ type InvokeAction_Event_Progress struct { func (x *InvokeAction_Event_Progress) Reset() { *x = InvokeAction_Event_Progress{} - mi := &file_tfplugin5_proto_msgTypes[133] + mi := &file_tfplugin5_proto_msgTypes[131] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7227,7 +7056,7 @@ func (x *InvokeAction_Event_Progress) String() string { func (*InvokeAction_Event_Progress) ProtoMessage() {} func (x *InvokeAction_Event_Progress) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[133] + mi := &file_tfplugin5_proto_msgTypes[131] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7240,7 +7069,7 @@ func (x *InvokeAction_Event_Progress) ProtoReflect() protoreflect.Message { // Deprecated: Use InvokeAction_Event_Progress.ProtoReflect.Descriptor instead. func (*InvokeAction_Event_Progress) Descriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{42, 1, 0} + return file_tfplugin5_proto_rawDescGZIP(), []int{43, 1, 0} } func (x *InvokeAction_Event_Progress) GetMessage() string { @@ -7261,7 +7090,7 @@ type InvokeAction_Event_Completed struct { func (x *InvokeAction_Event_Completed) Reset() { *x = InvokeAction_Event_Completed{} - mi := &file_tfplugin5_proto_msgTypes[134] + mi := &file_tfplugin5_proto_msgTypes[132] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7273,7 +7102,7 @@ func (x *InvokeAction_Event_Completed) String() string { func (*InvokeAction_Event_Completed) ProtoMessage() {} func (x *InvokeAction_Event_Completed) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[134] + mi := &file_tfplugin5_proto_msgTypes[132] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7286,7 +7115,7 @@ func (x *InvokeAction_Event_Completed) ProtoReflect() protoreflect.Message { // Deprecated: Use InvokeAction_Event_Completed.ProtoReflect.Descriptor instead. func (*InvokeAction_Event_Completed) Descriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{42, 1, 1} + return file_tfplugin5_proto_rawDescGZIP(), []int{43, 1, 1} } func (x *InvokeAction_Event_Completed) GetLinkedResources() []*InvokeAction_Event_Completed_LinkedResource { @@ -7315,7 +7144,7 @@ type InvokeAction_Event_Completed_LinkedResource struct { func (x *InvokeAction_Event_Completed_LinkedResource) Reset() { *x = InvokeAction_Event_Completed_LinkedResource{} - mi := &file_tfplugin5_proto_msgTypes[135] + mi := &file_tfplugin5_proto_msgTypes[133] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7327,7 +7156,7 @@ func (x *InvokeAction_Event_Completed_LinkedResource) String() string { func (*InvokeAction_Event_Completed_LinkedResource) ProtoMessage() {} func (x *InvokeAction_Event_Completed_LinkedResource) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin5_proto_msgTypes[135] + mi := &file_tfplugin5_proto_msgTypes[133] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7340,7 +7169,7 @@ func (x *InvokeAction_Event_Completed_LinkedResource) ProtoReflect() protoreflec // Deprecated: Use InvokeAction_Event_Completed_LinkedResource.ProtoReflect.Descriptor instead. func (*InvokeAction_Event_Completed_LinkedResource) Descriptor() ([]byte, []int) { - return file_tfplugin5_proto_rawDescGZIP(), []int{42, 1, 1, 0} + return file_tfplugin5_proto_rawDescGZIP(), []int{43, 1, 1, 0} } func (x *InvokeAction_Event_Completed_LinkedResource) GetNewState() *DynamicValue { @@ -7484,27 +7313,12 @@ const file_tfplugin5_proto_rawDesc = "" + "\vdescription\x18\x05 \x01(\tR\vdescription\x12@\n" + "\x10description_kind\x18\x06 \x01(\x0e2\x15.tfplugin5.StringKindR\x0fdescriptionKind\x1a\x1c\n" + "\x06Return\x12\x12\n" + - "\x04type\x18\x01 \x01(\fR\x04type\"\x9b\x05\n" + + "\x04type\x18\x01 \x01(\fR\x04type\"\x8d\x01\n" + "\fActionSchema\x12)\n" + "\x06schema\x18\x01 \x01(\v2\x11.tfplugin5.SchemaR\x06schema\x12>\n" + - "\bunlinked\x18\x02 \x01(\v2 .tfplugin5.ActionSchema.UnlinkedH\x00R\bunlinked\x12A\n" + - "\tlifecycle\x18\x03 \x01(\v2!.tfplugin5.ActionSchema.LifecycleH\x00R\tlifecycle\x128\n" + - "\x06linked\x18\x04 \x01(\v2\x1e.tfplugin5.ActionSchema.LinkedH\x00R\x06linked\x1aO\n" + - "\x0eLinkedResource\x12\x1b\n" + - "\ttype_name\x18\x01 \x01(\tR\btypeName\x12 \n" + - "\vdescription\x18\x02 \x01(\tR\vdescription\x1a\n" + - "\n" + - "\bUnlinked\x1a\xe0\x01\n" + - "\tLifecycle\x12L\n" + - "\bexecutes\x18\x01 \x01(\x0e20.tfplugin5.ActionSchema.Lifecycle.ExecutionOrderR\bexecutes\x12O\n" + - "\x0flinked_resource\x18\x02 \x01(\v2&.tfplugin5.ActionSchema.LinkedResourceR\x0elinkedResource\"4\n" + - "\x0eExecutionOrder\x12\v\n" + - "\aINVALID\x10\x00\x12\n" + + "\bunlinked\x18\x02 \x01(\v2 .tfplugin5.ActionSchema.UnlinkedH\x00R\bunlinked\x1a\n" + "\n" + - "\x06BEFORE\x10\x01\x12\t\n" + - "\x05AFTER\x10\x02\x1a[\n" + - "\x06Linked\x12Q\n" + - "\x10linked_resources\x18\x01 \x03(\v2&.tfplugin5.ActionSchema.LinkedResourceR\x0flinkedResourcesB\x06\n" + + "\bUnlinkedB\x06\n" + "\x04type\"\xa2\x01\n" + "\bDeferred\x122\n" + "\x06reason\x18\x01 \x01(\x0e2\x1a.tfplugin5.Deferred.ReasonR\x06reason\"b\n" + @@ -7512,9 +7326,9 @@ const file_tfplugin5_proto_rawDesc = "" + "\aUNKNOWN\x10\x00\x12\x1b\n" + "\x17RESOURCE_CONFIG_UNKNOWN\x10\x01\x12\x1b\n" + "\x17PROVIDER_CONFIG_UNKNOWN\x10\x02\x12\x11\n" + - "\rABSENT_PREREQ\x10\x03\"\xac\a\n" + + "\rABSENT_PREREQ\x10\x03\"\xb2\a\n" + "\vGetMetadata\x1a\t\n" + - "\aRequest\x1a\xe7\x04\n" + + "\aRequest\x1a\xed\x04\n" + "\bResponse\x12N\n" + "\x13server_capabilities\x18\x01 \x01(\v2\x1d.tfplugin5.ServerCapabilitiesR\x12serverCapabilities\x127\n" + "\vdiagnostics\x18\x02 \x03(\v2\x15.tfplugin5.DiagnosticR\vdiagnostics\x12L\n" + @@ -7523,7 +7337,7 @@ const file_tfplugin5_proto_rawDesc = "" + "\tfunctions\x18\x05 \x03(\v2'.tfplugin5.GetMetadata.FunctionMetadataR\tfunctions\x12a\n" + "\x13ephemeral_resources\x18\x06 \x03(\v20.tfplugin5.GetMetadata.EphemeralResourceMetadataR\x12ephemeralResources\x12R\n" + "\x0elist_resources\x18\a \x03(\v2+.tfplugin5.GetMetadata.ListResourceMetadataR\rlistResources\x12?\n" + - "\aactions\x18\t \x03(\v2%.tfplugin5.GetMetadata.ActionMetadataR\aactions\x1a&\n" + + "\aactions\x18\t \x03(\v2%.tfplugin5.GetMetadata.ActionMetadataR\aactionsJ\x04\b\b\x10\t\x1a&\n" + "\x10FunctionMetadata\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x1a1\n" + "\x12DataSourceMetadata\x12\x1b\n" + @@ -7535,9 +7349,9 @@ const file_tfplugin5_proto_rawDesc = "" + "\x14ListResourceMetadata\x12\x1b\n" + "\ttype_name\x18\x01 \x01(\tR\btypeName\x1a-\n" + "\x0eActionMetadata\x12\x1b\n" + - "\ttype_name\x18\x01 \x01(\tR\btypeName\"\xb6\v\n" + + "\ttype_name\x18\x01 \x01(\tR\btypeName\"\xbc\v\n" + "\x11GetProviderSchema\x1a\t\n" + - "\aRequest\x1a\x95\v\n" + + "\aRequest\x1a\x9b\v\n" + "\bResponse\x12-\n" + "\bprovider\x18\x01 \x01(\v2\x11.tfplugin5.SchemaR\bprovider\x12e\n" + "\x10resource_schemas\x18\x02 \x03(\v2:.tfplugin5.GetProviderSchema.Response.ResourceSchemasEntryR\x0fresourceSchemas\x12l\n" + @@ -7566,7 +7380,8 @@ const file_tfplugin5_proto_rawDesc = "" + "\x05value\x18\x02 \x01(\v2\x11.tfplugin5.SchemaR\x05value:\x028\x01\x1aY\n" + "\x12ActionSchemasEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12-\n" + - "\x05value\x18\x02 \x01(\v2\x17.tfplugin5.ActionSchemaR\x05value:\x028\x01\"\xdb\x01\n" + + "\x05value\x18\x02 \x01(\v2\x17.tfplugin5.ActionSchemaR\x05value:\x028\x01J\x04\b\n" + + "\x10\v\"\xdb\x01\n" + "\x15PrepareProviderConfig\x1a:\n" + "\aRequest\x12/\n" + "\x06config\x18\x01 \x01(\v2\x17.tfplugin5.DynamicValueR\x06config\x1a\x85\x01\n" + @@ -7802,14 +7617,18 @@ const file_tfplugin5_proto_rawDesc = "" + "\x17include_resource_object\x18\x03 \x01(\v2\x17.tfplugin5.DynamicValueR\x15includeResourceObject\x12-\n" + "\x05limit\x18\x04 \x01(\v2\x17.tfplugin5.DynamicValueR\x05limit\x1aC\n" + "\bResponse\x127\n" + - "\vdiagnostics\x18\x01 \x03(\v2\x15.tfplugin5.DiagnosticR\vdiagnostics\"\xb8\x01\n" + - "\x14ValidateActionConfig\x1a[\n" + + "\vdiagnostics\x18\x01 \x03(\v2\x15.tfplugin5.DiagnosticR\vdiagnostics\"\x85\x02\n" + + "\x14ValidateActionConfig\x1a\xa7\x01\n" + "\aRequest\x12\x1f\n" + "\vaction_type\x18\x01 \x01(\tR\n" + "actionType\x12/\n" + - "\x06config\x18\x02 \x01(\v2\x17.tfplugin5.DynamicValueR\x06config\x1aC\n" + + "\x06config\x18\x02 \x01(\v2\x17.tfplugin5.DynamicValueR\x06config\x12J\n" + + "\x10linked_resources\x18\x03 \x03(\v2\x1f.tfplugin5.LinkedResourceConfigR\x0flinkedResources\x1aC\n" + "\bResponse\x127\n" + - "\vdiagnostics\x18\x01 \x03(\v2\x15.tfplugin5.DiagnosticR\vdiagnostics\"\x85\a\n" + + "\vdiagnostics\x18\x01 \x03(\v2\x15.tfplugin5.DiagnosticR\vdiagnostics\"d\n" + + "\x14LinkedResourceConfig\x12\x1b\n" + + "\ttype_name\x18\x01 \x01(\tR\btypeName\x12/\n" + + "\x06config\x18\x02 \x01(\v2\x17.tfplugin5.DynamicValueR\x06config\"\x85\a\n" + "\n" + "PlanAction\x1a\x88\x04\n" + "\aRequest\x12\x1f\n" + @@ -7907,55 +7726,55 @@ func file_tfplugin5_proto_rawDescGZIP() []byte { return file_tfplugin5_proto_rawDescData } -var file_tfplugin5_proto_enumTypes = make([]protoimpl.EnumInfo, 5) -var file_tfplugin5_proto_msgTypes = make([]protoimpl.MessageInfo, 136) +var file_tfplugin5_proto_enumTypes = make([]protoimpl.EnumInfo, 4) +var file_tfplugin5_proto_msgTypes = make([]protoimpl.MessageInfo, 134) var file_tfplugin5_proto_goTypes = []any{ (StringKind)(0), // 0: tfplugin5.StringKind (Diagnostic_Severity)(0), // 1: tfplugin5.Diagnostic.Severity (Schema_NestedBlock_NestingMode)(0), // 2: tfplugin5.Schema.NestedBlock.NestingMode - (ActionSchema_Lifecycle_ExecutionOrder)(0), // 3: tfplugin5.ActionSchema.Lifecycle.ExecutionOrder - (Deferred_Reason)(0), // 4: tfplugin5.Deferred.Reason - (*DynamicValue)(nil), // 5: tfplugin5.DynamicValue - (*Diagnostic)(nil), // 6: tfplugin5.Diagnostic - (*FunctionError)(nil), // 7: tfplugin5.FunctionError - (*AttributePath)(nil), // 8: tfplugin5.AttributePath - (*Stop)(nil), // 9: tfplugin5.Stop - (*RawState)(nil), // 10: tfplugin5.RawState - (*Schema)(nil), // 11: tfplugin5.Schema - (*ResourceIdentitySchema)(nil), // 12: tfplugin5.ResourceIdentitySchema - (*ResourceIdentityData)(nil), // 13: tfplugin5.ResourceIdentityData - (*ServerCapabilities)(nil), // 14: tfplugin5.ServerCapabilities - (*ClientCapabilities)(nil), // 15: tfplugin5.ClientCapabilities - (*Function)(nil), // 16: tfplugin5.Function - (*ActionSchema)(nil), // 17: tfplugin5.ActionSchema - (*Deferred)(nil), // 18: tfplugin5.Deferred - (*GetMetadata)(nil), // 19: tfplugin5.GetMetadata - (*GetProviderSchema)(nil), // 20: tfplugin5.GetProviderSchema - (*PrepareProviderConfig)(nil), // 21: tfplugin5.PrepareProviderConfig - (*UpgradeResourceState)(nil), // 22: tfplugin5.UpgradeResourceState - (*ValidateResourceTypeConfig)(nil), // 23: tfplugin5.ValidateResourceTypeConfig - (*ValidateDataSourceConfig)(nil), // 24: tfplugin5.ValidateDataSourceConfig - (*Configure)(nil), // 25: tfplugin5.Configure - (*ReadResource)(nil), // 26: tfplugin5.ReadResource - (*PlanResourceChange)(nil), // 27: tfplugin5.PlanResourceChange - (*ApplyResourceChange)(nil), // 28: tfplugin5.ApplyResourceChange - (*ImportResourceState)(nil), // 29: tfplugin5.ImportResourceState - (*MoveResourceState)(nil), // 30: tfplugin5.MoveResourceState - (*ReadDataSource)(nil), // 31: tfplugin5.ReadDataSource - (*GetProvisionerSchema)(nil), // 32: tfplugin5.GetProvisionerSchema - (*ValidateProvisionerConfig)(nil), // 33: tfplugin5.ValidateProvisionerConfig - (*ProvisionResource)(nil), // 34: tfplugin5.ProvisionResource - (*GetFunctions)(nil), // 35: tfplugin5.GetFunctions - (*CallFunction)(nil), // 36: tfplugin5.CallFunction - (*ValidateEphemeralResourceConfig)(nil), // 37: tfplugin5.ValidateEphemeralResourceConfig - (*OpenEphemeralResource)(nil), // 38: tfplugin5.OpenEphemeralResource - (*RenewEphemeralResource)(nil), // 39: tfplugin5.RenewEphemeralResource - (*CloseEphemeralResource)(nil), // 40: tfplugin5.CloseEphemeralResource - (*GetResourceIdentitySchemas)(nil), // 41: tfplugin5.GetResourceIdentitySchemas - (*UpgradeResourceIdentity)(nil), // 42: tfplugin5.UpgradeResourceIdentity - (*ListResource)(nil), // 43: tfplugin5.ListResource - (*ValidateListResourceConfig)(nil), // 44: tfplugin5.ValidateListResourceConfig - (*ValidateActionConfig)(nil), // 45: tfplugin5.ValidateActionConfig + (Deferred_Reason)(0), // 3: tfplugin5.Deferred.Reason + (*DynamicValue)(nil), // 4: tfplugin5.DynamicValue + (*Diagnostic)(nil), // 5: tfplugin5.Diagnostic + (*FunctionError)(nil), // 6: tfplugin5.FunctionError + (*AttributePath)(nil), // 7: tfplugin5.AttributePath + (*Stop)(nil), // 8: tfplugin5.Stop + (*RawState)(nil), // 9: tfplugin5.RawState + (*Schema)(nil), // 10: tfplugin5.Schema + (*ResourceIdentitySchema)(nil), // 11: tfplugin5.ResourceIdentitySchema + (*ResourceIdentityData)(nil), // 12: tfplugin5.ResourceIdentityData + (*ServerCapabilities)(nil), // 13: tfplugin5.ServerCapabilities + (*ClientCapabilities)(nil), // 14: tfplugin5.ClientCapabilities + (*Function)(nil), // 15: tfplugin5.Function + (*ActionSchema)(nil), // 16: tfplugin5.ActionSchema + (*Deferred)(nil), // 17: tfplugin5.Deferred + (*GetMetadata)(nil), // 18: tfplugin5.GetMetadata + (*GetProviderSchema)(nil), // 19: tfplugin5.GetProviderSchema + (*PrepareProviderConfig)(nil), // 20: tfplugin5.PrepareProviderConfig + (*UpgradeResourceState)(nil), // 21: tfplugin5.UpgradeResourceState + (*ValidateResourceTypeConfig)(nil), // 22: tfplugin5.ValidateResourceTypeConfig + (*ValidateDataSourceConfig)(nil), // 23: tfplugin5.ValidateDataSourceConfig + (*Configure)(nil), // 24: tfplugin5.Configure + (*ReadResource)(nil), // 25: tfplugin5.ReadResource + (*PlanResourceChange)(nil), // 26: tfplugin5.PlanResourceChange + (*ApplyResourceChange)(nil), // 27: tfplugin5.ApplyResourceChange + (*ImportResourceState)(nil), // 28: tfplugin5.ImportResourceState + (*MoveResourceState)(nil), // 29: tfplugin5.MoveResourceState + (*ReadDataSource)(nil), // 30: tfplugin5.ReadDataSource + (*GetProvisionerSchema)(nil), // 31: tfplugin5.GetProvisionerSchema + (*ValidateProvisionerConfig)(nil), // 32: tfplugin5.ValidateProvisionerConfig + (*ProvisionResource)(nil), // 33: tfplugin5.ProvisionResource + (*GetFunctions)(nil), // 34: tfplugin5.GetFunctions + (*CallFunction)(nil), // 35: tfplugin5.CallFunction + (*ValidateEphemeralResourceConfig)(nil), // 36: tfplugin5.ValidateEphemeralResourceConfig + (*OpenEphemeralResource)(nil), // 37: tfplugin5.OpenEphemeralResource + (*RenewEphemeralResource)(nil), // 38: tfplugin5.RenewEphemeralResource + (*CloseEphemeralResource)(nil), // 39: tfplugin5.CloseEphemeralResource + (*GetResourceIdentitySchemas)(nil), // 40: tfplugin5.GetResourceIdentitySchemas + (*UpgradeResourceIdentity)(nil), // 41: tfplugin5.UpgradeResourceIdentity + (*ListResource)(nil), // 42: tfplugin5.ListResource + (*ValidateListResourceConfig)(nil), // 43: tfplugin5.ValidateListResourceConfig + (*ValidateActionConfig)(nil), // 44: tfplugin5.ValidateActionConfig + (*LinkedResourceConfig)(nil), // 45: tfplugin5.LinkedResourceConfig (*PlanAction)(nil), // 46: tfplugin5.PlanAction (*InvokeAction)(nil), // 47: tfplugin5.InvokeAction (*AttributePath_Step)(nil), // 48: tfplugin5.AttributePath.Step @@ -7968,332 +7787,326 @@ var file_tfplugin5_proto_goTypes = []any{ (*ResourceIdentitySchema_IdentityAttribute)(nil), // 55: tfplugin5.ResourceIdentitySchema.IdentityAttribute (*Function_Parameter)(nil), // 56: tfplugin5.Function.Parameter (*Function_Return)(nil), // 57: tfplugin5.Function.Return - (*ActionSchema_LinkedResource)(nil), // 58: tfplugin5.ActionSchema.LinkedResource - (*ActionSchema_Unlinked)(nil), // 59: tfplugin5.ActionSchema.Unlinked - (*ActionSchema_Lifecycle)(nil), // 60: tfplugin5.ActionSchema.Lifecycle - (*ActionSchema_Linked)(nil), // 61: tfplugin5.ActionSchema.Linked - (*GetMetadata_Request)(nil), // 62: tfplugin5.GetMetadata.Request - (*GetMetadata_Response)(nil), // 63: tfplugin5.GetMetadata.Response - (*GetMetadata_FunctionMetadata)(nil), // 64: tfplugin5.GetMetadata.FunctionMetadata - (*GetMetadata_DataSourceMetadata)(nil), // 65: tfplugin5.GetMetadata.DataSourceMetadata - (*GetMetadata_ResourceMetadata)(nil), // 66: tfplugin5.GetMetadata.ResourceMetadata - (*GetMetadata_EphemeralResourceMetadata)(nil), // 67: tfplugin5.GetMetadata.EphemeralResourceMetadata - (*GetMetadata_ListResourceMetadata)(nil), // 68: tfplugin5.GetMetadata.ListResourceMetadata - (*GetMetadata_ActionMetadata)(nil), // 69: tfplugin5.GetMetadata.ActionMetadata - (*GetProviderSchema_Request)(nil), // 70: tfplugin5.GetProviderSchema.Request - (*GetProviderSchema_Response)(nil), // 71: tfplugin5.GetProviderSchema.Response - nil, // 72: tfplugin5.GetProviderSchema.Response.ResourceSchemasEntry - nil, // 73: tfplugin5.GetProviderSchema.Response.DataSourceSchemasEntry - nil, // 74: tfplugin5.GetProviderSchema.Response.FunctionsEntry - nil, // 75: tfplugin5.GetProviderSchema.Response.EphemeralResourceSchemasEntry - nil, // 76: tfplugin5.GetProviderSchema.Response.ListResourceSchemasEntry - nil, // 77: tfplugin5.GetProviderSchema.Response.ActionSchemasEntry - (*PrepareProviderConfig_Request)(nil), // 78: tfplugin5.PrepareProviderConfig.Request - (*PrepareProviderConfig_Response)(nil), // 79: tfplugin5.PrepareProviderConfig.Response - (*UpgradeResourceState_Request)(nil), // 80: tfplugin5.UpgradeResourceState.Request - (*UpgradeResourceState_Response)(nil), // 81: tfplugin5.UpgradeResourceState.Response - (*ValidateResourceTypeConfig_Request)(nil), // 82: tfplugin5.ValidateResourceTypeConfig.Request - (*ValidateResourceTypeConfig_Response)(nil), // 83: tfplugin5.ValidateResourceTypeConfig.Response - (*ValidateDataSourceConfig_Request)(nil), // 84: tfplugin5.ValidateDataSourceConfig.Request - (*ValidateDataSourceConfig_Response)(nil), // 85: tfplugin5.ValidateDataSourceConfig.Response - (*Configure_Request)(nil), // 86: tfplugin5.Configure.Request - (*Configure_Response)(nil), // 87: tfplugin5.Configure.Response - (*ReadResource_Request)(nil), // 88: tfplugin5.ReadResource.Request - (*ReadResource_Response)(nil), // 89: tfplugin5.ReadResource.Response - (*PlanResourceChange_Request)(nil), // 90: tfplugin5.PlanResourceChange.Request - (*PlanResourceChange_Response)(nil), // 91: tfplugin5.PlanResourceChange.Response - (*ApplyResourceChange_Request)(nil), // 92: tfplugin5.ApplyResourceChange.Request - (*ApplyResourceChange_Response)(nil), // 93: tfplugin5.ApplyResourceChange.Response - (*ImportResourceState_Request)(nil), // 94: tfplugin5.ImportResourceState.Request - (*ImportResourceState_ImportedResource)(nil), // 95: tfplugin5.ImportResourceState.ImportedResource - (*ImportResourceState_Response)(nil), // 96: tfplugin5.ImportResourceState.Response - (*MoveResourceState_Request)(nil), // 97: tfplugin5.MoveResourceState.Request - (*MoveResourceState_Response)(nil), // 98: tfplugin5.MoveResourceState.Response - (*ReadDataSource_Request)(nil), // 99: tfplugin5.ReadDataSource.Request - (*ReadDataSource_Response)(nil), // 100: tfplugin5.ReadDataSource.Response - (*GetProvisionerSchema_Request)(nil), // 101: tfplugin5.GetProvisionerSchema.Request - (*GetProvisionerSchema_Response)(nil), // 102: tfplugin5.GetProvisionerSchema.Response - (*ValidateProvisionerConfig_Request)(nil), // 103: tfplugin5.ValidateProvisionerConfig.Request - (*ValidateProvisionerConfig_Response)(nil), // 104: tfplugin5.ValidateProvisionerConfig.Response - (*ProvisionResource_Request)(nil), // 105: tfplugin5.ProvisionResource.Request - (*ProvisionResource_Response)(nil), // 106: tfplugin5.ProvisionResource.Response - (*GetFunctions_Request)(nil), // 107: tfplugin5.GetFunctions.Request - (*GetFunctions_Response)(nil), // 108: tfplugin5.GetFunctions.Response - nil, // 109: tfplugin5.GetFunctions.Response.FunctionsEntry - (*CallFunction_Request)(nil), // 110: tfplugin5.CallFunction.Request - (*CallFunction_Response)(nil), // 111: tfplugin5.CallFunction.Response - (*ValidateEphemeralResourceConfig_Request)(nil), // 112: tfplugin5.ValidateEphemeralResourceConfig.Request - (*ValidateEphemeralResourceConfig_Response)(nil), // 113: tfplugin5.ValidateEphemeralResourceConfig.Response - (*OpenEphemeralResource_Request)(nil), // 114: tfplugin5.OpenEphemeralResource.Request - (*OpenEphemeralResource_Response)(nil), // 115: tfplugin5.OpenEphemeralResource.Response - (*RenewEphemeralResource_Request)(nil), // 116: tfplugin5.RenewEphemeralResource.Request - (*RenewEphemeralResource_Response)(nil), // 117: tfplugin5.RenewEphemeralResource.Response - (*CloseEphemeralResource_Request)(nil), // 118: tfplugin5.CloseEphemeralResource.Request - (*CloseEphemeralResource_Response)(nil), // 119: tfplugin5.CloseEphemeralResource.Response - (*GetResourceIdentitySchemas_Request)(nil), // 120: tfplugin5.GetResourceIdentitySchemas.Request - (*GetResourceIdentitySchemas_Response)(nil), // 121: tfplugin5.GetResourceIdentitySchemas.Response - nil, // 122: tfplugin5.GetResourceIdentitySchemas.Response.IdentitySchemasEntry - (*UpgradeResourceIdentity_Request)(nil), // 123: tfplugin5.UpgradeResourceIdentity.Request - (*UpgradeResourceIdentity_Response)(nil), // 124: tfplugin5.UpgradeResourceIdentity.Response - (*ListResource_Request)(nil), // 125: tfplugin5.ListResource.Request - (*ListResource_Event)(nil), // 126: tfplugin5.ListResource.Event - (*ValidateListResourceConfig_Request)(nil), // 127: tfplugin5.ValidateListResourceConfig.Request - (*ValidateListResourceConfig_Response)(nil), // 128: tfplugin5.ValidateListResourceConfig.Response - (*ValidateActionConfig_Request)(nil), // 129: tfplugin5.ValidateActionConfig.Request - (*ValidateActionConfig_Response)(nil), // 130: tfplugin5.ValidateActionConfig.Response - (*PlanAction_Request)(nil), // 131: tfplugin5.PlanAction.Request - (*PlanAction_Response)(nil), // 132: tfplugin5.PlanAction.Response - (*PlanAction_Request_LinkedResource)(nil), // 133: tfplugin5.PlanAction.Request.LinkedResource - (*PlanAction_Response_LinkedResource)(nil), // 134: tfplugin5.PlanAction.Response.LinkedResource - (*InvokeAction_Request)(nil), // 135: tfplugin5.InvokeAction.Request - (*InvokeAction_Event)(nil), // 136: tfplugin5.InvokeAction.Event - (*InvokeAction_Request_LinkedResource)(nil), // 137: tfplugin5.InvokeAction.Request.LinkedResource - (*InvokeAction_Event_Progress)(nil), // 138: tfplugin5.InvokeAction.Event.Progress - (*InvokeAction_Event_Completed)(nil), // 139: tfplugin5.InvokeAction.Event.Completed - (*InvokeAction_Event_Completed_LinkedResource)(nil), // 140: tfplugin5.InvokeAction.Event.Completed.LinkedResource - (*timestamppb.Timestamp)(nil), // 141: google.protobuf.Timestamp + (*ActionSchema_Unlinked)(nil), // 58: tfplugin5.ActionSchema.Unlinked + (*GetMetadata_Request)(nil), // 59: tfplugin5.GetMetadata.Request + (*GetMetadata_Response)(nil), // 60: tfplugin5.GetMetadata.Response + (*GetMetadata_FunctionMetadata)(nil), // 61: tfplugin5.GetMetadata.FunctionMetadata + (*GetMetadata_DataSourceMetadata)(nil), // 62: tfplugin5.GetMetadata.DataSourceMetadata + (*GetMetadata_ResourceMetadata)(nil), // 63: tfplugin5.GetMetadata.ResourceMetadata + (*GetMetadata_EphemeralResourceMetadata)(nil), // 64: tfplugin5.GetMetadata.EphemeralResourceMetadata + (*GetMetadata_ListResourceMetadata)(nil), // 65: tfplugin5.GetMetadata.ListResourceMetadata + (*GetMetadata_ActionMetadata)(nil), // 66: tfplugin5.GetMetadata.ActionMetadata + (*GetProviderSchema_Request)(nil), // 67: tfplugin5.GetProviderSchema.Request + (*GetProviderSchema_Response)(nil), // 68: tfplugin5.GetProviderSchema.Response + nil, // 69: tfplugin5.GetProviderSchema.Response.ResourceSchemasEntry + nil, // 70: tfplugin5.GetProviderSchema.Response.DataSourceSchemasEntry + nil, // 71: tfplugin5.GetProviderSchema.Response.FunctionsEntry + nil, // 72: tfplugin5.GetProviderSchema.Response.EphemeralResourceSchemasEntry + nil, // 73: tfplugin5.GetProviderSchema.Response.ListResourceSchemasEntry + nil, // 74: tfplugin5.GetProviderSchema.Response.ActionSchemasEntry + (*PrepareProviderConfig_Request)(nil), // 75: tfplugin5.PrepareProviderConfig.Request + (*PrepareProviderConfig_Response)(nil), // 76: tfplugin5.PrepareProviderConfig.Response + (*UpgradeResourceState_Request)(nil), // 77: tfplugin5.UpgradeResourceState.Request + (*UpgradeResourceState_Response)(nil), // 78: tfplugin5.UpgradeResourceState.Response + (*ValidateResourceTypeConfig_Request)(nil), // 79: tfplugin5.ValidateResourceTypeConfig.Request + (*ValidateResourceTypeConfig_Response)(nil), // 80: tfplugin5.ValidateResourceTypeConfig.Response + (*ValidateDataSourceConfig_Request)(nil), // 81: tfplugin5.ValidateDataSourceConfig.Request + (*ValidateDataSourceConfig_Response)(nil), // 82: tfplugin5.ValidateDataSourceConfig.Response + (*Configure_Request)(nil), // 83: tfplugin5.Configure.Request + (*Configure_Response)(nil), // 84: tfplugin5.Configure.Response + (*ReadResource_Request)(nil), // 85: tfplugin5.ReadResource.Request + (*ReadResource_Response)(nil), // 86: tfplugin5.ReadResource.Response + (*PlanResourceChange_Request)(nil), // 87: tfplugin5.PlanResourceChange.Request + (*PlanResourceChange_Response)(nil), // 88: tfplugin5.PlanResourceChange.Response + (*ApplyResourceChange_Request)(nil), // 89: tfplugin5.ApplyResourceChange.Request + (*ApplyResourceChange_Response)(nil), // 90: tfplugin5.ApplyResourceChange.Response + (*ImportResourceState_Request)(nil), // 91: tfplugin5.ImportResourceState.Request + (*ImportResourceState_ImportedResource)(nil), // 92: tfplugin5.ImportResourceState.ImportedResource + (*ImportResourceState_Response)(nil), // 93: tfplugin5.ImportResourceState.Response + (*MoveResourceState_Request)(nil), // 94: tfplugin5.MoveResourceState.Request + (*MoveResourceState_Response)(nil), // 95: tfplugin5.MoveResourceState.Response + (*ReadDataSource_Request)(nil), // 96: tfplugin5.ReadDataSource.Request + (*ReadDataSource_Response)(nil), // 97: tfplugin5.ReadDataSource.Response + (*GetProvisionerSchema_Request)(nil), // 98: tfplugin5.GetProvisionerSchema.Request + (*GetProvisionerSchema_Response)(nil), // 99: tfplugin5.GetProvisionerSchema.Response + (*ValidateProvisionerConfig_Request)(nil), // 100: tfplugin5.ValidateProvisionerConfig.Request + (*ValidateProvisionerConfig_Response)(nil), // 101: tfplugin5.ValidateProvisionerConfig.Response + (*ProvisionResource_Request)(nil), // 102: tfplugin5.ProvisionResource.Request + (*ProvisionResource_Response)(nil), // 103: tfplugin5.ProvisionResource.Response + (*GetFunctions_Request)(nil), // 104: tfplugin5.GetFunctions.Request + (*GetFunctions_Response)(nil), // 105: tfplugin5.GetFunctions.Response + nil, // 106: tfplugin5.GetFunctions.Response.FunctionsEntry + (*CallFunction_Request)(nil), // 107: tfplugin5.CallFunction.Request + (*CallFunction_Response)(nil), // 108: tfplugin5.CallFunction.Response + (*ValidateEphemeralResourceConfig_Request)(nil), // 109: tfplugin5.ValidateEphemeralResourceConfig.Request + (*ValidateEphemeralResourceConfig_Response)(nil), // 110: tfplugin5.ValidateEphemeralResourceConfig.Response + (*OpenEphemeralResource_Request)(nil), // 111: tfplugin5.OpenEphemeralResource.Request + (*OpenEphemeralResource_Response)(nil), // 112: tfplugin5.OpenEphemeralResource.Response + (*RenewEphemeralResource_Request)(nil), // 113: tfplugin5.RenewEphemeralResource.Request + (*RenewEphemeralResource_Response)(nil), // 114: tfplugin5.RenewEphemeralResource.Response + (*CloseEphemeralResource_Request)(nil), // 115: tfplugin5.CloseEphemeralResource.Request + (*CloseEphemeralResource_Response)(nil), // 116: tfplugin5.CloseEphemeralResource.Response + (*GetResourceIdentitySchemas_Request)(nil), // 117: tfplugin5.GetResourceIdentitySchemas.Request + (*GetResourceIdentitySchemas_Response)(nil), // 118: tfplugin5.GetResourceIdentitySchemas.Response + nil, // 119: tfplugin5.GetResourceIdentitySchemas.Response.IdentitySchemasEntry + (*UpgradeResourceIdentity_Request)(nil), // 120: tfplugin5.UpgradeResourceIdentity.Request + (*UpgradeResourceIdentity_Response)(nil), // 121: tfplugin5.UpgradeResourceIdentity.Response + (*ListResource_Request)(nil), // 122: tfplugin5.ListResource.Request + (*ListResource_Event)(nil), // 123: tfplugin5.ListResource.Event + (*ValidateListResourceConfig_Request)(nil), // 124: tfplugin5.ValidateListResourceConfig.Request + (*ValidateListResourceConfig_Response)(nil), // 125: tfplugin5.ValidateListResourceConfig.Response + (*ValidateActionConfig_Request)(nil), // 126: tfplugin5.ValidateActionConfig.Request + (*ValidateActionConfig_Response)(nil), // 127: tfplugin5.ValidateActionConfig.Response + (*PlanAction_Request)(nil), // 128: tfplugin5.PlanAction.Request + (*PlanAction_Response)(nil), // 129: tfplugin5.PlanAction.Response + (*PlanAction_Request_LinkedResource)(nil), // 130: tfplugin5.PlanAction.Request.LinkedResource + (*PlanAction_Response_LinkedResource)(nil), // 131: tfplugin5.PlanAction.Response.LinkedResource + (*InvokeAction_Request)(nil), // 132: tfplugin5.InvokeAction.Request + (*InvokeAction_Event)(nil), // 133: tfplugin5.InvokeAction.Event + (*InvokeAction_Request_LinkedResource)(nil), // 134: tfplugin5.InvokeAction.Request.LinkedResource + (*InvokeAction_Event_Progress)(nil), // 135: tfplugin5.InvokeAction.Event.Progress + (*InvokeAction_Event_Completed)(nil), // 136: tfplugin5.InvokeAction.Event.Completed + (*InvokeAction_Event_Completed_LinkedResource)(nil), // 137: tfplugin5.InvokeAction.Event.Completed.LinkedResource + (*timestamppb.Timestamp)(nil), // 138: google.protobuf.Timestamp } var file_tfplugin5_proto_depIdxs = []int32{ 1, // 0: tfplugin5.Diagnostic.severity:type_name -> tfplugin5.Diagnostic.Severity - 8, // 1: tfplugin5.Diagnostic.attribute:type_name -> tfplugin5.AttributePath + 7, // 1: tfplugin5.Diagnostic.attribute:type_name -> tfplugin5.AttributePath 48, // 2: tfplugin5.AttributePath.steps:type_name -> tfplugin5.AttributePath.Step 51, // 3: tfplugin5.RawState.flatmap:type_name -> tfplugin5.RawState.FlatmapEntry 52, // 4: tfplugin5.Schema.block:type_name -> tfplugin5.Schema.Block 55, // 5: tfplugin5.ResourceIdentitySchema.identity_attributes:type_name -> tfplugin5.ResourceIdentitySchema.IdentityAttribute - 5, // 6: tfplugin5.ResourceIdentityData.identity_data:type_name -> tfplugin5.DynamicValue + 4, // 6: tfplugin5.ResourceIdentityData.identity_data:type_name -> tfplugin5.DynamicValue 56, // 7: tfplugin5.Function.parameters:type_name -> tfplugin5.Function.Parameter 56, // 8: tfplugin5.Function.variadic_parameter:type_name -> tfplugin5.Function.Parameter 57, // 9: tfplugin5.Function.return:type_name -> tfplugin5.Function.Return 0, // 10: tfplugin5.Function.description_kind:type_name -> tfplugin5.StringKind - 11, // 11: tfplugin5.ActionSchema.schema:type_name -> tfplugin5.Schema - 59, // 12: tfplugin5.ActionSchema.unlinked:type_name -> tfplugin5.ActionSchema.Unlinked - 60, // 13: tfplugin5.ActionSchema.lifecycle:type_name -> tfplugin5.ActionSchema.Lifecycle - 61, // 14: tfplugin5.ActionSchema.linked:type_name -> tfplugin5.ActionSchema.Linked - 4, // 15: tfplugin5.Deferred.reason:type_name -> tfplugin5.Deferred.Reason - 53, // 16: tfplugin5.Schema.Block.attributes:type_name -> tfplugin5.Schema.Attribute - 54, // 17: tfplugin5.Schema.Block.block_types:type_name -> tfplugin5.Schema.NestedBlock - 0, // 18: tfplugin5.Schema.Block.description_kind:type_name -> tfplugin5.StringKind - 0, // 19: tfplugin5.Schema.Attribute.description_kind:type_name -> tfplugin5.StringKind - 52, // 20: tfplugin5.Schema.NestedBlock.block:type_name -> tfplugin5.Schema.Block - 2, // 21: tfplugin5.Schema.NestedBlock.nesting:type_name -> tfplugin5.Schema.NestedBlock.NestingMode - 0, // 22: tfplugin5.Function.Parameter.description_kind:type_name -> tfplugin5.StringKind - 3, // 23: tfplugin5.ActionSchema.Lifecycle.executes:type_name -> tfplugin5.ActionSchema.Lifecycle.ExecutionOrder - 58, // 24: tfplugin5.ActionSchema.Lifecycle.linked_resource:type_name -> tfplugin5.ActionSchema.LinkedResource - 58, // 25: tfplugin5.ActionSchema.Linked.linked_resources:type_name -> tfplugin5.ActionSchema.LinkedResource - 14, // 26: tfplugin5.GetMetadata.Response.server_capabilities:type_name -> tfplugin5.ServerCapabilities - 6, // 27: tfplugin5.GetMetadata.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 65, // 28: tfplugin5.GetMetadata.Response.data_sources:type_name -> tfplugin5.GetMetadata.DataSourceMetadata - 66, // 29: tfplugin5.GetMetadata.Response.resources:type_name -> tfplugin5.GetMetadata.ResourceMetadata - 64, // 30: tfplugin5.GetMetadata.Response.functions:type_name -> tfplugin5.GetMetadata.FunctionMetadata - 67, // 31: tfplugin5.GetMetadata.Response.ephemeral_resources:type_name -> tfplugin5.GetMetadata.EphemeralResourceMetadata - 68, // 32: tfplugin5.GetMetadata.Response.list_resources:type_name -> tfplugin5.GetMetadata.ListResourceMetadata - 69, // 33: tfplugin5.GetMetadata.Response.actions:type_name -> tfplugin5.GetMetadata.ActionMetadata - 11, // 34: tfplugin5.GetProviderSchema.Response.provider:type_name -> tfplugin5.Schema - 72, // 35: tfplugin5.GetProviderSchema.Response.resource_schemas:type_name -> tfplugin5.GetProviderSchema.Response.ResourceSchemasEntry - 73, // 36: tfplugin5.GetProviderSchema.Response.data_source_schemas:type_name -> tfplugin5.GetProviderSchema.Response.DataSourceSchemasEntry - 6, // 37: tfplugin5.GetProviderSchema.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 11, // 38: tfplugin5.GetProviderSchema.Response.provider_meta:type_name -> tfplugin5.Schema - 14, // 39: tfplugin5.GetProviderSchema.Response.server_capabilities:type_name -> tfplugin5.ServerCapabilities - 74, // 40: tfplugin5.GetProviderSchema.Response.functions:type_name -> tfplugin5.GetProviderSchema.Response.FunctionsEntry - 75, // 41: tfplugin5.GetProviderSchema.Response.ephemeral_resource_schemas:type_name -> tfplugin5.GetProviderSchema.Response.EphemeralResourceSchemasEntry - 76, // 42: tfplugin5.GetProviderSchema.Response.list_resource_schemas:type_name -> tfplugin5.GetProviderSchema.Response.ListResourceSchemasEntry - 77, // 43: tfplugin5.GetProviderSchema.Response.action_schemas:type_name -> tfplugin5.GetProviderSchema.Response.ActionSchemasEntry - 11, // 44: tfplugin5.GetProviderSchema.Response.ResourceSchemasEntry.value:type_name -> tfplugin5.Schema - 11, // 45: tfplugin5.GetProviderSchema.Response.DataSourceSchemasEntry.value:type_name -> tfplugin5.Schema - 16, // 46: tfplugin5.GetProviderSchema.Response.FunctionsEntry.value:type_name -> tfplugin5.Function - 11, // 47: tfplugin5.GetProviderSchema.Response.EphemeralResourceSchemasEntry.value:type_name -> tfplugin5.Schema - 11, // 48: tfplugin5.GetProviderSchema.Response.ListResourceSchemasEntry.value:type_name -> tfplugin5.Schema - 17, // 49: tfplugin5.GetProviderSchema.Response.ActionSchemasEntry.value:type_name -> tfplugin5.ActionSchema - 5, // 50: tfplugin5.PrepareProviderConfig.Request.config:type_name -> tfplugin5.DynamicValue - 5, // 51: tfplugin5.PrepareProviderConfig.Response.prepared_config:type_name -> tfplugin5.DynamicValue - 6, // 52: tfplugin5.PrepareProviderConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 10, // 53: tfplugin5.UpgradeResourceState.Request.raw_state:type_name -> tfplugin5.RawState - 5, // 54: tfplugin5.UpgradeResourceState.Response.upgraded_state:type_name -> tfplugin5.DynamicValue - 6, // 55: tfplugin5.UpgradeResourceState.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 5, // 56: tfplugin5.ValidateResourceTypeConfig.Request.config:type_name -> tfplugin5.DynamicValue - 15, // 57: tfplugin5.ValidateResourceTypeConfig.Request.client_capabilities:type_name -> tfplugin5.ClientCapabilities - 6, // 58: tfplugin5.ValidateResourceTypeConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 5, // 59: tfplugin5.ValidateDataSourceConfig.Request.config:type_name -> tfplugin5.DynamicValue - 6, // 60: tfplugin5.ValidateDataSourceConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 5, // 61: tfplugin5.Configure.Request.config:type_name -> tfplugin5.DynamicValue - 15, // 62: tfplugin5.Configure.Request.client_capabilities:type_name -> tfplugin5.ClientCapabilities - 6, // 63: tfplugin5.Configure.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 5, // 64: tfplugin5.ReadResource.Request.current_state:type_name -> tfplugin5.DynamicValue - 5, // 65: tfplugin5.ReadResource.Request.provider_meta:type_name -> tfplugin5.DynamicValue - 15, // 66: tfplugin5.ReadResource.Request.client_capabilities:type_name -> tfplugin5.ClientCapabilities - 13, // 67: tfplugin5.ReadResource.Request.current_identity:type_name -> tfplugin5.ResourceIdentityData - 5, // 68: tfplugin5.ReadResource.Response.new_state:type_name -> tfplugin5.DynamicValue - 6, // 69: tfplugin5.ReadResource.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 18, // 70: tfplugin5.ReadResource.Response.deferred:type_name -> tfplugin5.Deferred - 13, // 71: tfplugin5.ReadResource.Response.new_identity:type_name -> tfplugin5.ResourceIdentityData - 5, // 72: tfplugin5.PlanResourceChange.Request.prior_state:type_name -> tfplugin5.DynamicValue - 5, // 73: tfplugin5.PlanResourceChange.Request.proposed_new_state:type_name -> tfplugin5.DynamicValue - 5, // 74: tfplugin5.PlanResourceChange.Request.config:type_name -> tfplugin5.DynamicValue - 5, // 75: tfplugin5.PlanResourceChange.Request.provider_meta:type_name -> tfplugin5.DynamicValue - 15, // 76: tfplugin5.PlanResourceChange.Request.client_capabilities:type_name -> tfplugin5.ClientCapabilities - 13, // 77: tfplugin5.PlanResourceChange.Request.prior_identity:type_name -> tfplugin5.ResourceIdentityData - 5, // 78: tfplugin5.PlanResourceChange.Response.planned_state:type_name -> tfplugin5.DynamicValue - 8, // 79: tfplugin5.PlanResourceChange.Response.requires_replace:type_name -> tfplugin5.AttributePath - 6, // 80: tfplugin5.PlanResourceChange.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 18, // 81: tfplugin5.PlanResourceChange.Response.deferred:type_name -> tfplugin5.Deferred - 13, // 82: tfplugin5.PlanResourceChange.Response.planned_identity:type_name -> tfplugin5.ResourceIdentityData - 5, // 83: tfplugin5.ApplyResourceChange.Request.prior_state:type_name -> tfplugin5.DynamicValue - 5, // 84: tfplugin5.ApplyResourceChange.Request.planned_state:type_name -> tfplugin5.DynamicValue - 5, // 85: tfplugin5.ApplyResourceChange.Request.config:type_name -> tfplugin5.DynamicValue - 5, // 86: tfplugin5.ApplyResourceChange.Request.provider_meta:type_name -> tfplugin5.DynamicValue - 13, // 87: tfplugin5.ApplyResourceChange.Request.planned_identity:type_name -> tfplugin5.ResourceIdentityData - 5, // 88: tfplugin5.ApplyResourceChange.Response.new_state:type_name -> tfplugin5.DynamicValue - 6, // 89: tfplugin5.ApplyResourceChange.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 13, // 90: tfplugin5.ApplyResourceChange.Response.new_identity:type_name -> tfplugin5.ResourceIdentityData - 15, // 91: tfplugin5.ImportResourceState.Request.client_capabilities:type_name -> tfplugin5.ClientCapabilities - 13, // 92: tfplugin5.ImportResourceState.Request.identity:type_name -> tfplugin5.ResourceIdentityData - 5, // 93: tfplugin5.ImportResourceState.ImportedResource.state:type_name -> tfplugin5.DynamicValue - 13, // 94: tfplugin5.ImportResourceState.ImportedResource.identity:type_name -> tfplugin5.ResourceIdentityData - 95, // 95: tfplugin5.ImportResourceState.Response.imported_resources:type_name -> tfplugin5.ImportResourceState.ImportedResource - 6, // 96: tfplugin5.ImportResourceState.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 18, // 97: tfplugin5.ImportResourceState.Response.deferred:type_name -> tfplugin5.Deferred - 10, // 98: tfplugin5.MoveResourceState.Request.source_state:type_name -> tfplugin5.RawState - 10, // 99: tfplugin5.MoveResourceState.Request.source_identity:type_name -> tfplugin5.RawState - 5, // 100: tfplugin5.MoveResourceState.Response.target_state:type_name -> tfplugin5.DynamicValue - 6, // 101: tfplugin5.MoveResourceState.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 13, // 102: tfplugin5.MoveResourceState.Response.target_identity:type_name -> tfplugin5.ResourceIdentityData - 5, // 103: tfplugin5.ReadDataSource.Request.config:type_name -> tfplugin5.DynamicValue - 5, // 104: tfplugin5.ReadDataSource.Request.provider_meta:type_name -> tfplugin5.DynamicValue - 15, // 105: tfplugin5.ReadDataSource.Request.client_capabilities:type_name -> tfplugin5.ClientCapabilities - 5, // 106: tfplugin5.ReadDataSource.Response.state:type_name -> tfplugin5.DynamicValue - 6, // 107: tfplugin5.ReadDataSource.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 18, // 108: tfplugin5.ReadDataSource.Response.deferred:type_name -> tfplugin5.Deferred - 11, // 109: tfplugin5.GetProvisionerSchema.Response.provisioner:type_name -> tfplugin5.Schema - 6, // 110: tfplugin5.GetProvisionerSchema.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 5, // 111: tfplugin5.ValidateProvisionerConfig.Request.config:type_name -> tfplugin5.DynamicValue - 6, // 112: tfplugin5.ValidateProvisionerConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 5, // 113: tfplugin5.ProvisionResource.Request.config:type_name -> tfplugin5.DynamicValue - 5, // 114: tfplugin5.ProvisionResource.Request.connection:type_name -> tfplugin5.DynamicValue - 6, // 115: tfplugin5.ProvisionResource.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 109, // 116: tfplugin5.GetFunctions.Response.functions:type_name -> tfplugin5.GetFunctions.Response.FunctionsEntry - 6, // 117: tfplugin5.GetFunctions.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 16, // 118: tfplugin5.GetFunctions.Response.FunctionsEntry.value:type_name -> tfplugin5.Function - 5, // 119: tfplugin5.CallFunction.Request.arguments:type_name -> tfplugin5.DynamicValue - 5, // 120: tfplugin5.CallFunction.Response.result:type_name -> tfplugin5.DynamicValue - 7, // 121: tfplugin5.CallFunction.Response.error:type_name -> tfplugin5.FunctionError - 5, // 122: tfplugin5.ValidateEphemeralResourceConfig.Request.config:type_name -> tfplugin5.DynamicValue - 6, // 123: tfplugin5.ValidateEphemeralResourceConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 5, // 124: tfplugin5.OpenEphemeralResource.Request.config:type_name -> tfplugin5.DynamicValue - 15, // 125: tfplugin5.OpenEphemeralResource.Request.client_capabilities:type_name -> tfplugin5.ClientCapabilities - 6, // 126: tfplugin5.OpenEphemeralResource.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 141, // 127: tfplugin5.OpenEphemeralResource.Response.renew_at:type_name -> google.protobuf.Timestamp - 5, // 128: tfplugin5.OpenEphemeralResource.Response.result:type_name -> tfplugin5.DynamicValue - 18, // 129: tfplugin5.OpenEphemeralResource.Response.deferred:type_name -> tfplugin5.Deferred - 6, // 130: tfplugin5.RenewEphemeralResource.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 141, // 131: tfplugin5.RenewEphemeralResource.Response.renew_at:type_name -> google.protobuf.Timestamp - 6, // 132: tfplugin5.CloseEphemeralResource.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 122, // 133: tfplugin5.GetResourceIdentitySchemas.Response.identity_schemas:type_name -> tfplugin5.GetResourceIdentitySchemas.Response.IdentitySchemasEntry - 6, // 134: tfplugin5.GetResourceIdentitySchemas.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 12, // 135: tfplugin5.GetResourceIdentitySchemas.Response.IdentitySchemasEntry.value:type_name -> tfplugin5.ResourceIdentitySchema - 10, // 136: tfplugin5.UpgradeResourceIdentity.Request.raw_identity:type_name -> tfplugin5.RawState - 13, // 137: tfplugin5.UpgradeResourceIdentity.Response.upgraded_identity:type_name -> tfplugin5.ResourceIdentityData - 6, // 138: tfplugin5.UpgradeResourceIdentity.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 5, // 139: tfplugin5.ListResource.Request.config:type_name -> tfplugin5.DynamicValue - 13, // 140: tfplugin5.ListResource.Event.identity:type_name -> tfplugin5.ResourceIdentityData - 5, // 141: tfplugin5.ListResource.Event.resource_object:type_name -> tfplugin5.DynamicValue - 6, // 142: tfplugin5.ListResource.Event.diagnostic:type_name -> tfplugin5.Diagnostic - 5, // 143: tfplugin5.ValidateListResourceConfig.Request.config:type_name -> tfplugin5.DynamicValue - 5, // 144: tfplugin5.ValidateListResourceConfig.Request.include_resource_object:type_name -> tfplugin5.DynamicValue - 5, // 145: tfplugin5.ValidateListResourceConfig.Request.limit:type_name -> tfplugin5.DynamicValue - 6, // 146: tfplugin5.ValidateListResourceConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 5, // 147: tfplugin5.ValidateActionConfig.Request.config:type_name -> tfplugin5.DynamicValue - 6, // 148: tfplugin5.ValidateActionConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 133, // 149: tfplugin5.PlanAction.Request.linked_resources:type_name -> tfplugin5.PlanAction.Request.LinkedResource - 5, // 150: tfplugin5.PlanAction.Request.config:type_name -> tfplugin5.DynamicValue - 15, // 151: tfplugin5.PlanAction.Request.client_capabilities:type_name -> tfplugin5.ClientCapabilities - 134, // 152: tfplugin5.PlanAction.Response.linked_resources:type_name -> tfplugin5.PlanAction.Response.LinkedResource - 6, // 153: tfplugin5.PlanAction.Response.diagnostics:type_name -> tfplugin5.Diagnostic - 18, // 154: tfplugin5.PlanAction.Response.deferred:type_name -> tfplugin5.Deferred - 5, // 155: tfplugin5.PlanAction.Request.LinkedResource.prior_state:type_name -> tfplugin5.DynamicValue - 5, // 156: tfplugin5.PlanAction.Request.LinkedResource.planned_state:type_name -> tfplugin5.DynamicValue - 5, // 157: tfplugin5.PlanAction.Request.LinkedResource.config:type_name -> tfplugin5.DynamicValue - 13, // 158: tfplugin5.PlanAction.Request.LinkedResource.prior_identity:type_name -> tfplugin5.ResourceIdentityData - 5, // 159: tfplugin5.PlanAction.Response.LinkedResource.planned_state:type_name -> tfplugin5.DynamicValue - 13, // 160: tfplugin5.PlanAction.Response.LinkedResource.planned_identity:type_name -> tfplugin5.ResourceIdentityData - 137, // 161: tfplugin5.InvokeAction.Request.linked_resources:type_name -> tfplugin5.InvokeAction.Request.LinkedResource - 5, // 162: tfplugin5.InvokeAction.Request.config:type_name -> tfplugin5.DynamicValue - 138, // 163: tfplugin5.InvokeAction.Event.progress:type_name -> tfplugin5.InvokeAction.Event.Progress - 139, // 164: tfplugin5.InvokeAction.Event.completed:type_name -> tfplugin5.InvokeAction.Event.Completed - 5, // 165: tfplugin5.InvokeAction.Request.LinkedResource.prior_state:type_name -> tfplugin5.DynamicValue - 5, // 166: tfplugin5.InvokeAction.Request.LinkedResource.planned_state:type_name -> tfplugin5.DynamicValue - 5, // 167: tfplugin5.InvokeAction.Request.LinkedResource.config:type_name -> tfplugin5.DynamicValue - 13, // 168: tfplugin5.InvokeAction.Request.LinkedResource.planned_identity:type_name -> tfplugin5.ResourceIdentityData - 140, // 169: tfplugin5.InvokeAction.Event.Completed.linked_resources:type_name -> tfplugin5.InvokeAction.Event.Completed.LinkedResource - 6, // 170: tfplugin5.InvokeAction.Event.Completed.diagnostics:type_name -> tfplugin5.Diagnostic - 5, // 171: tfplugin5.InvokeAction.Event.Completed.LinkedResource.new_state:type_name -> tfplugin5.DynamicValue - 13, // 172: tfplugin5.InvokeAction.Event.Completed.LinkedResource.new_identity:type_name -> tfplugin5.ResourceIdentityData - 62, // 173: tfplugin5.Provider.GetMetadata:input_type -> tfplugin5.GetMetadata.Request - 70, // 174: tfplugin5.Provider.GetSchema:input_type -> tfplugin5.GetProviderSchema.Request - 120, // 175: tfplugin5.Provider.GetResourceIdentitySchemas:input_type -> tfplugin5.GetResourceIdentitySchemas.Request - 78, // 176: tfplugin5.Provider.PrepareProviderConfig:input_type -> tfplugin5.PrepareProviderConfig.Request - 82, // 177: tfplugin5.Provider.ValidateResourceTypeConfig:input_type -> tfplugin5.ValidateResourceTypeConfig.Request - 84, // 178: tfplugin5.Provider.ValidateDataSourceConfig:input_type -> tfplugin5.ValidateDataSourceConfig.Request - 80, // 179: tfplugin5.Provider.UpgradeResourceState:input_type -> tfplugin5.UpgradeResourceState.Request - 123, // 180: tfplugin5.Provider.UpgradeResourceIdentity:input_type -> tfplugin5.UpgradeResourceIdentity.Request - 86, // 181: tfplugin5.Provider.Configure:input_type -> tfplugin5.Configure.Request - 88, // 182: tfplugin5.Provider.ReadResource:input_type -> tfplugin5.ReadResource.Request - 90, // 183: tfplugin5.Provider.PlanResourceChange:input_type -> tfplugin5.PlanResourceChange.Request - 92, // 184: tfplugin5.Provider.ApplyResourceChange:input_type -> tfplugin5.ApplyResourceChange.Request - 94, // 185: tfplugin5.Provider.ImportResourceState:input_type -> tfplugin5.ImportResourceState.Request - 97, // 186: tfplugin5.Provider.MoveResourceState:input_type -> tfplugin5.MoveResourceState.Request - 99, // 187: tfplugin5.Provider.ReadDataSource:input_type -> tfplugin5.ReadDataSource.Request - 112, // 188: tfplugin5.Provider.ValidateEphemeralResourceConfig:input_type -> tfplugin5.ValidateEphemeralResourceConfig.Request - 114, // 189: tfplugin5.Provider.OpenEphemeralResource:input_type -> tfplugin5.OpenEphemeralResource.Request - 116, // 190: tfplugin5.Provider.RenewEphemeralResource:input_type -> tfplugin5.RenewEphemeralResource.Request - 118, // 191: tfplugin5.Provider.CloseEphemeralResource:input_type -> tfplugin5.CloseEphemeralResource.Request - 125, // 192: tfplugin5.Provider.ListResource:input_type -> tfplugin5.ListResource.Request - 127, // 193: tfplugin5.Provider.ValidateListResourceConfig:input_type -> tfplugin5.ValidateListResourceConfig.Request - 107, // 194: tfplugin5.Provider.GetFunctions:input_type -> tfplugin5.GetFunctions.Request - 110, // 195: tfplugin5.Provider.CallFunction:input_type -> tfplugin5.CallFunction.Request - 129, // 196: tfplugin5.Provider.ValidateActionConfig:input_type -> tfplugin5.ValidateActionConfig.Request - 131, // 197: tfplugin5.Provider.PlanAction:input_type -> tfplugin5.PlanAction.Request - 135, // 198: tfplugin5.Provider.InvokeAction:input_type -> tfplugin5.InvokeAction.Request - 49, // 199: tfplugin5.Provider.Stop:input_type -> tfplugin5.Stop.Request - 101, // 200: tfplugin5.Provisioner.GetSchema:input_type -> tfplugin5.GetProvisionerSchema.Request - 103, // 201: tfplugin5.Provisioner.ValidateProvisionerConfig:input_type -> tfplugin5.ValidateProvisionerConfig.Request - 105, // 202: tfplugin5.Provisioner.ProvisionResource:input_type -> tfplugin5.ProvisionResource.Request - 49, // 203: tfplugin5.Provisioner.Stop:input_type -> tfplugin5.Stop.Request - 63, // 204: tfplugin5.Provider.GetMetadata:output_type -> tfplugin5.GetMetadata.Response - 71, // 205: tfplugin5.Provider.GetSchema:output_type -> tfplugin5.GetProviderSchema.Response - 121, // 206: tfplugin5.Provider.GetResourceIdentitySchemas:output_type -> tfplugin5.GetResourceIdentitySchemas.Response - 79, // 207: tfplugin5.Provider.PrepareProviderConfig:output_type -> tfplugin5.PrepareProviderConfig.Response - 83, // 208: tfplugin5.Provider.ValidateResourceTypeConfig:output_type -> tfplugin5.ValidateResourceTypeConfig.Response - 85, // 209: tfplugin5.Provider.ValidateDataSourceConfig:output_type -> tfplugin5.ValidateDataSourceConfig.Response - 81, // 210: tfplugin5.Provider.UpgradeResourceState:output_type -> tfplugin5.UpgradeResourceState.Response - 124, // 211: tfplugin5.Provider.UpgradeResourceIdentity:output_type -> tfplugin5.UpgradeResourceIdentity.Response - 87, // 212: tfplugin5.Provider.Configure:output_type -> tfplugin5.Configure.Response - 89, // 213: tfplugin5.Provider.ReadResource:output_type -> tfplugin5.ReadResource.Response - 91, // 214: tfplugin5.Provider.PlanResourceChange:output_type -> tfplugin5.PlanResourceChange.Response - 93, // 215: tfplugin5.Provider.ApplyResourceChange:output_type -> tfplugin5.ApplyResourceChange.Response - 96, // 216: tfplugin5.Provider.ImportResourceState:output_type -> tfplugin5.ImportResourceState.Response - 98, // 217: tfplugin5.Provider.MoveResourceState:output_type -> tfplugin5.MoveResourceState.Response - 100, // 218: tfplugin5.Provider.ReadDataSource:output_type -> tfplugin5.ReadDataSource.Response - 113, // 219: tfplugin5.Provider.ValidateEphemeralResourceConfig:output_type -> tfplugin5.ValidateEphemeralResourceConfig.Response - 115, // 220: tfplugin5.Provider.OpenEphemeralResource:output_type -> tfplugin5.OpenEphemeralResource.Response - 117, // 221: tfplugin5.Provider.RenewEphemeralResource:output_type -> tfplugin5.RenewEphemeralResource.Response - 119, // 222: tfplugin5.Provider.CloseEphemeralResource:output_type -> tfplugin5.CloseEphemeralResource.Response - 126, // 223: tfplugin5.Provider.ListResource:output_type -> tfplugin5.ListResource.Event - 128, // 224: tfplugin5.Provider.ValidateListResourceConfig:output_type -> tfplugin5.ValidateListResourceConfig.Response - 108, // 225: tfplugin5.Provider.GetFunctions:output_type -> tfplugin5.GetFunctions.Response - 111, // 226: tfplugin5.Provider.CallFunction:output_type -> tfplugin5.CallFunction.Response - 130, // 227: tfplugin5.Provider.ValidateActionConfig:output_type -> tfplugin5.ValidateActionConfig.Response - 132, // 228: tfplugin5.Provider.PlanAction:output_type -> tfplugin5.PlanAction.Response - 136, // 229: tfplugin5.Provider.InvokeAction:output_type -> tfplugin5.InvokeAction.Event - 50, // 230: tfplugin5.Provider.Stop:output_type -> tfplugin5.Stop.Response - 102, // 231: tfplugin5.Provisioner.GetSchema:output_type -> tfplugin5.GetProvisionerSchema.Response - 104, // 232: tfplugin5.Provisioner.ValidateProvisionerConfig:output_type -> tfplugin5.ValidateProvisionerConfig.Response - 106, // 233: tfplugin5.Provisioner.ProvisionResource:output_type -> tfplugin5.ProvisionResource.Response - 50, // 234: tfplugin5.Provisioner.Stop:output_type -> tfplugin5.Stop.Response - 204, // [204:235] is the sub-list for method output_type - 173, // [173:204] is the sub-list for method input_type - 173, // [173:173] is the sub-list for extension type_name - 173, // [173:173] is the sub-list for extension extendee - 0, // [0:173] is the sub-list for field type_name + 10, // 11: tfplugin5.ActionSchema.schema:type_name -> tfplugin5.Schema + 58, // 12: tfplugin5.ActionSchema.unlinked:type_name -> tfplugin5.ActionSchema.Unlinked + 3, // 13: tfplugin5.Deferred.reason:type_name -> tfplugin5.Deferred.Reason + 4, // 14: tfplugin5.LinkedResourceConfig.config:type_name -> tfplugin5.DynamicValue + 53, // 15: tfplugin5.Schema.Block.attributes:type_name -> tfplugin5.Schema.Attribute + 54, // 16: tfplugin5.Schema.Block.block_types:type_name -> tfplugin5.Schema.NestedBlock + 0, // 17: tfplugin5.Schema.Block.description_kind:type_name -> tfplugin5.StringKind + 0, // 18: tfplugin5.Schema.Attribute.description_kind:type_name -> tfplugin5.StringKind + 52, // 19: tfplugin5.Schema.NestedBlock.block:type_name -> tfplugin5.Schema.Block + 2, // 20: tfplugin5.Schema.NestedBlock.nesting:type_name -> tfplugin5.Schema.NestedBlock.NestingMode + 0, // 21: tfplugin5.Function.Parameter.description_kind:type_name -> tfplugin5.StringKind + 13, // 22: tfplugin5.GetMetadata.Response.server_capabilities:type_name -> tfplugin5.ServerCapabilities + 5, // 23: tfplugin5.GetMetadata.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 62, // 24: tfplugin5.GetMetadata.Response.data_sources:type_name -> tfplugin5.GetMetadata.DataSourceMetadata + 63, // 25: tfplugin5.GetMetadata.Response.resources:type_name -> tfplugin5.GetMetadata.ResourceMetadata + 61, // 26: tfplugin5.GetMetadata.Response.functions:type_name -> tfplugin5.GetMetadata.FunctionMetadata + 64, // 27: tfplugin5.GetMetadata.Response.ephemeral_resources:type_name -> tfplugin5.GetMetadata.EphemeralResourceMetadata + 65, // 28: tfplugin5.GetMetadata.Response.list_resources:type_name -> tfplugin5.GetMetadata.ListResourceMetadata + 66, // 29: tfplugin5.GetMetadata.Response.actions:type_name -> tfplugin5.GetMetadata.ActionMetadata + 10, // 30: tfplugin5.GetProviderSchema.Response.provider:type_name -> tfplugin5.Schema + 69, // 31: tfplugin5.GetProviderSchema.Response.resource_schemas:type_name -> tfplugin5.GetProviderSchema.Response.ResourceSchemasEntry + 70, // 32: tfplugin5.GetProviderSchema.Response.data_source_schemas:type_name -> tfplugin5.GetProviderSchema.Response.DataSourceSchemasEntry + 5, // 33: tfplugin5.GetProviderSchema.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 10, // 34: tfplugin5.GetProviderSchema.Response.provider_meta:type_name -> tfplugin5.Schema + 13, // 35: tfplugin5.GetProviderSchema.Response.server_capabilities:type_name -> tfplugin5.ServerCapabilities + 71, // 36: tfplugin5.GetProviderSchema.Response.functions:type_name -> tfplugin5.GetProviderSchema.Response.FunctionsEntry + 72, // 37: tfplugin5.GetProviderSchema.Response.ephemeral_resource_schemas:type_name -> tfplugin5.GetProviderSchema.Response.EphemeralResourceSchemasEntry + 73, // 38: tfplugin5.GetProviderSchema.Response.list_resource_schemas:type_name -> tfplugin5.GetProviderSchema.Response.ListResourceSchemasEntry + 74, // 39: tfplugin5.GetProviderSchema.Response.action_schemas:type_name -> tfplugin5.GetProviderSchema.Response.ActionSchemasEntry + 10, // 40: tfplugin5.GetProviderSchema.Response.ResourceSchemasEntry.value:type_name -> tfplugin5.Schema + 10, // 41: tfplugin5.GetProviderSchema.Response.DataSourceSchemasEntry.value:type_name -> tfplugin5.Schema + 15, // 42: tfplugin5.GetProviderSchema.Response.FunctionsEntry.value:type_name -> tfplugin5.Function + 10, // 43: tfplugin5.GetProviderSchema.Response.EphemeralResourceSchemasEntry.value:type_name -> tfplugin5.Schema + 10, // 44: tfplugin5.GetProviderSchema.Response.ListResourceSchemasEntry.value:type_name -> tfplugin5.Schema + 16, // 45: tfplugin5.GetProviderSchema.Response.ActionSchemasEntry.value:type_name -> tfplugin5.ActionSchema + 4, // 46: tfplugin5.PrepareProviderConfig.Request.config:type_name -> tfplugin5.DynamicValue + 4, // 47: tfplugin5.PrepareProviderConfig.Response.prepared_config:type_name -> tfplugin5.DynamicValue + 5, // 48: tfplugin5.PrepareProviderConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 9, // 49: tfplugin5.UpgradeResourceState.Request.raw_state:type_name -> tfplugin5.RawState + 4, // 50: tfplugin5.UpgradeResourceState.Response.upgraded_state:type_name -> tfplugin5.DynamicValue + 5, // 51: tfplugin5.UpgradeResourceState.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 4, // 52: tfplugin5.ValidateResourceTypeConfig.Request.config:type_name -> tfplugin5.DynamicValue + 14, // 53: tfplugin5.ValidateResourceTypeConfig.Request.client_capabilities:type_name -> tfplugin5.ClientCapabilities + 5, // 54: tfplugin5.ValidateResourceTypeConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 4, // 55: tfplugin5.ValidateDataSourceConfig.Request.config:type_name -> tfplugin5.DynamicValue + 5, // 56: tfplugin5.ValidateDataSourceConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 4, // 57: tfplugin5.Configure.Request.config:type_name -> tfplugin5.DynamicValue + 14, // 58: tfplugin5.Configure.Request.client_capabilities:type_name -> tfplugin5.ClientCapabilities + 5, // 59: tfplugin5.Configure.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 4, // 60: tfplugin5.ReadResource.Request.current_state:type_name -> tfplugin5.DynamicValue + 4, // 61: tfplugin5.ReadResource.Request.provider_meta:type_name -> tfplugin5.DynamicValue + 14, // 62: tfplugin5.ReadResource.Request.client_capabilities:type_name -> tfplugin5.ClientCapabilities + 12, // 63: tfplugin5.ReadResource.Request.current_identity:type_name -> tfplugin5.ResourceIdentityData + 4, // 64: tfplugin5.ReadResource.Response.new_state:type_name -> tfplugin5.DynamicValue + 5, // 65: tfplugin5.ReadResource.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 17, // 66: tfplugin5.ReadResource.Response.deferred:type_name -> tfplugin5.Deferred + 12, // 67: tfplugin5.ReadResource.Response.new_identity:type_name -> tfplugin5.ResourceIdentityData + 4, // 68: tfplugin5.PlanResourceChange.Request.prior_state:type_name -> tfplugin5.DynamicValue + 4, // 69: tfplugin5.PlanResourceChange.Request.proposed_new_state:type_name -> tfplugin5.DynamicValue + 4, // 70: tfplugin5.PlanResourceChange.Request.config:type_name -> tfplugin5.DynamicValue + 4, // 71: tfplugin5.PlanResourceChange.Request.provider_meta:type_name -> tfplugin5.DynamicValue + 14, // 72: tfplugin5.PlanResourceChange.Request.client_capabilities:type_name -> tfplugin5.ClientCapabilities + 12, // 73: tfplugin5.PlanResourceChange.Request.prior_identity:type_name -> tfplugin5.ResourceIdentityData + 4, // 74: tfplugin5.PlanResourceChange.Response.planned_state:type_name -> tfplugin5.DynamicValue + 7, // 75: tfplugin5.PlanResourceChange.Response.requires_replace:type_name -> tfplugin5.AttributePath + 5, // 76: tfplugin5.PlanResourceChange.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 17, // 77: tfplugin5.PlanResourceChange.Response.deferred:type_name -> tfplugin5.Deferred + 12, // 78: tfplugin5.PlanResourceChange.Response.planned_identity:type_name -> tfplugin5.ResourceIdentityData + 4, // 79: tfplugin5.ApplyResourceChange.Request.prior_state:type_name -> tfplugin5.DynamicValue + 4, // 80: tfplugin5.ApplyResourceChange.Request.planned_state:type_name -> tfplugin5.DynamicValue + 4, // 81: tfplugin5.ApplyResourceChange.Request.config:type_name -> tfplugin5.DynamicValue + 4, // 82: tfplugin5.ApplyResourceChange.Request.provider_meta:type_name -> tfplugin5.DynamicValue + 12, // 83: tfplugin5.ApplyResourceChange.Request.planned_identity:type_name -> tfplugin5.ResourceIdentityData + 4, // 84: tfplugin5.ApplyResourceChange.Response.new_state:type_name -> tfplugin5.DynamicValue + 5, // 85: tfplugin5.ApplyResourceChange.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 12, // 86: tfplugin5.ApplyResourceChange.Response.new_identity:type_name -> tfplugin5.ResourceIdentityData + 14, // 87: tfplugin5.ImportResourceState.Request.client_capabilities:type_name -> tfplugin5.ClientCapabilities + 12, // 88: tfplugin5.ImportResourceState.Request.identity:type_name -> tfplugin5.ResourceIdentityData + 4, // 89: tfplugin5.ImportResourceState.ImportedResource.state:type_name -> tfplugin5.DynamicValue + 12, // 90: tfplugin5.ImportResourceState.ImportedResource.identity:type_name -> tfplugin5.ResourceIdentityData + 92, // 91: tfplugin5.ImportResourceState.Response.imported_resources:type_name -> tfplugin5.ImportResourceState.ImportedResource + 5, // 92: tfplugin5.ImportResourceState.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 17, // 93: tfplugin5.ImportResourceState.Response.deferred:type_name -> tfplugin5.Deferred + 9, // 94: tfplugin5.MoveResourceState.Request.source_state:type_name -> tfplugin5.RawState + 9, // 95: tfplugin5.MoveResourceState.Request.source_identity:type_name -> tfplugin5.RawState + 4, // 96: tfplugin5.MoveResourceState.Response.target_state:type_name -> tfplugin5.DynamicValue + 5, // 97: tfplugin5.MoveResourceState.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 12, // 98: tfplugin5.MoveResourceState.Response.target_identity:type_name -> tfplugin5.ResourceIdentityData + 4, // 99: tfplugin5.ReadDataSource.Request.config:type_name -> tfplugin5.DynamicValue + 4, // 100: tfplugin5.ReadDataSource.Request.provider_meta:type_name -> tfplugin5.DynamicValue + 14, // 101: tfplugin5.ReadDataSource.Request.client_capabilities:type_name -> tfplugin5.ClientCapabilities + 4, // 102: tfplugin5.ReadDataSource.Response.state:type_name -> tfplugin5.DynamicValue + 5, // 103: tfplugin5.ReadDataSource.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 17, // 104: tfplugin5.ReadDataSource.Response.deferred:type_name -> tfplugin5.Deferred + 10, // 105: tfplugin5.GetProvisionerSchema.Response.provisioner:type_name -> tfplugin5.Schema + 5, // 106: tfplugin5.GetProvisionerSchema.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 4, // 107: tfplugin5.ValidateProvisionerConfig.Request.config:type_name -> tfplugin5.DynamicValue + 5, // 108: tfplugin5.ValidateProvisionerConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 4, // 109: tfplugin5.ProvisionResource.Request.config:type_name -> tfplugin5.DynamicValue + 4, // 110: tfplugin5.ProvisionResource.Request.connection:type_name -> tfplugin5.DynamicValue + 5, // 111: tfplugin5.ProvisionResource.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 106, // 112: tfplugin5.GetFunctions.Response.functions:type_name -> tfplugin5.GetFunctions.Response.FunctionsEntry + 5, // 113: tfplugin5.GetFunctions.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 15, // 114: tfplugin5.GetFunctions.Response.FunctionsEntry.value:type_name -> tfplugin5.Function + 4, // 115: tfplugin5.CallFunction.Request.arguments:type_name -> tfplugin5.DynamicValue + 4, // 116: tfplugin5.CallFunction.Response.result:type_name -> tfplugin5.DynamicValue + 6, // 117: tfplugin5.CallFunction.Response.error:type_name -> tfplugin5.FunctionError + 4, // 118: tfplugin5.ValidateEphemeralResourceConfig.Request.config:type_name -> tfplugin5.DynamicValue + 5, // 119: tfplugin5.ValidateEphemeralResourceConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 4, // 120: tfplugin5.OpenEphemeralResource.Request.config:type_name -> tfplugin5.DynamicValue + 14, // 121: tfplugin5.OpenEphemeralResource.Request.client_capabilities:type_name -> tfplugin5.ClientCapabilities + 5, // 122: tfplugin5.OpenEphemeralResource.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 138, // 123: tfplugin5.OpenEphemeralResource.Response.renew_at:type_name -> google.protobuf.Timestamp + 4, // 124: tfplugin5.OpenEphemeralResource.Response.result:type_name -> tfplugin5.DynamicValue + 17, // 125: tfplugin5.OpenEphemeralResource.Response.deferred:type_name -> tfplugin5.Deferred + 5, // 126: tfplugin5.RenewEphemeralResource.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 138, // 127: tfplugin5.RenewEphemeralResource.Response.renew_at:type_name -> google.protobuf.Timestamp + 5, // 128: tfplugin5.CloseEphemeralResource.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 119, // 129: tfplugin5.GetResourceIdentitySchemas.Response.identity_schemas:type_name -> tfplugin5.GetResourceIdentitySchemas.Response.IdentitySchemasEntry + 5, // 130: tfplugin5.GetResourceIdentitySchemas.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 11, // 131: tfplugin5.GetResourceIdentitySchemas.Response.IdentitySchemasEntry.value:type_name -> tfplugin5.ResourceIdentitySchema + 9, // 132: tfplugin5.UpgradeResourceIdentity.Request.raw_identity:type_name -> tfplugin5.RawState + 12, // 133: tfplugin5.UpgradeResourceIdentity.Response.upgraded_identity:type_name -> tfplugin5.ResourceIdentityData + 5, // 134: tfplugin5.UpgradeResourceIdentity.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 4, // 135: tfplugin5.ListResource.Request.config:type_name -> tfplugin5.DynamicValue + 12, // 136: tfplugin5.ListResource.Event.identity:type_name -> tfplugin5.ResourceIdentityData + 4, // 137: tfplugin5.ListResource.Event.resource_object:type_name -> tfplugin5.DynamicValue + 5, // 138: tfplugin5.ListResource.Event.diagnostic:type_name -> tfplugin5.Diagnostic + 4, // 139: tfplugin5.ValidateListResourceConfig.Request.config:type_name -> tfplugin5.DynamicValue + 4, // 140: tfplugin5.ValidateListResourceConfig.Request.include_resource_object:type_name -> tfplugin5.DynamicValue + 4, // 141: tfplugin5.ValidateListResourceConfig.Request.limit:type_name -> tfplugin5.DynamicValue + 5, // 142: tfplugin5.ValidateListResourceConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 4, // 143: tfplugin5.ValidateActionConfig.Request.config:type_name -> tfplugin5.DynamicValue + 45, // 144: tfplugin5.ValidateActionConfig.Request.linked_resources:type_name -> tfplugin5.LinkedResourceConfig + 5, // 145: tfplugin5.ValidateActionConfig.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 130, // 146: tfplugin5.PlanAction.Request.linked_resources:type_name -> tfplugin5.PlanAction.Request.LinkedResource + 4, // 147: tfplugin5.PlanAction.Request.config:type_name -> tfplugin5.DynamicValue + 14, // 148: tfplugin5.PlanAction.Request.client_capabilities:type_name -> tfplugin5.ClientCapabilities + 131, // 149: tfplugin5.PlanAction.Response.linked_resources:type_name -> tfplugin5.PlanAction.Response.LinkedResource + 5, // 150: tfplugin5.PlanAction.Response.diagnostics:type_name -> tfplugin5.Diagnostic + 17, // 151: tfplugin5.PlanAction.Response.deferred:type_name -> tfplugin5.Deferred + 4, // 152: tfplugin5.PlanAction.Request.LinkedResource.prior_state:type_name -> tfplugin5.DynamicValue + 4, // 153: tfplugin5.PlanAction.Request.LinkedResource.planned_state:type_name -> tfplugin5.DynamicValue + 4, // 154: tfplugin5.PlanAction.Request.LinkedResource.config:type_name -> tfplugin5.DynamicValue + 12, // 155: tfplugin5.PlanAction.Request.LinkedResource.prior_identity:type_name -> tfplugin5.ResourceIdentityData + 4, // 156: tfplugin5.PlanAction.Response.LinkedResource.planned_state:type_name -> tfplugin5.DynamicValue + 12, // 157: tfplugin5.PlanAction.Response.LinkedResource.planned_identity:type_name -> tfplugin5.ResourceIdentityData + 134, // 158: tfplugin5.InvokeAction.Request.linked_resources:type_name -> tfplugin5.InvokeAction.Request.LinkedResource + 4, // 159: tfplugin5.InvokeAction.Request.config:type_name -> tfplugin5.DynamicValue + 135, // 160: tfplugin5.InvokeAction.Event.progress:type_name -> tfplugin5.InvokeAction.Event.Progress + 136, // 161: tfplugin5.InvokeAction.Event.completed:type_name -> tfplugin5.InvokeAction.Event.Completed + 4, // 162: tfplugin5.InvokeAction.Request.LinkedResource.prior_state:type_name -> tfplugin5.DynamicValue + 4, // 163: tfplugin5.InvokeAction.Request.LinkedResource.planned_state:type_name -> tfplugin5.DynamicValue + 4, // 164: tfplugin5.InvokeAction.Request.LinkedResource.config:type_name -> tfplugin5.DynamicValue + 12, // 165: tfplugin5.InvokeAction.Request.LinkedResource.planned_identity:type_name -> tfplugin5.ResourceIdentityData + 137, // 166: tfplugin5.InvokeAction.Event.Completed.linked_resources:type_name -> tfplugin5.InvokeAction.Event.Completed.LinkedResource + 5, // 167: tfplugin5.InvokeAction.Event.Completed.diagnostics:type_name -> tfplugin5.Diagnostic + 4, // 168: tfplugin5.InvokeAction.Event.Completed.LinkedResource.new_state:type_name -> tfplugin5.DynamicValue + 12, // 169: tfplugin5.InvokeAction.Event.Completed.LinkedResource.new_identity:type_name -> tfplugin5.ResourceIdentityData + 59, // 170: tfplugin5.Provider.GetMetadata:input_type -> tfplugin5.GetMetadata.Request + 67, // 171: tfplugin5.Provider.GetSchema:input_type -> tfplugin5.GetProviderSchema.Request + 117, // 172: tfplugin5.Provider.GetResourceIdentitySchemas:input_type -> tfplugin5.GetResourceIdentitySchemas.Request + 75, // 173: tfplugin5.Provider.PrepareProviderConfig:input_type -> tfplugin5.PrepareProviderConfig.Request + 79, // 174: tfplugin5.Provider.ValidateResourceTypeConfig:input_type -> tfplugin5.ValidateResourceTypeConfig.Request + 81, // 175: tfplugin5.Provider.ValidateDataSourceConfig:input_type -> tfplugin5.ValidateDataSourceConfig.Request + 77, // 176: tfplugin5.Provider.UpgradeResourceState:input_type -> tfplugin5.UpgradeResourceState.Request + 120, // 177: tfplugin5.Provider.UpgradeResourceIdentity:input_type -> tfplugin5.UpgradeResourceIdentity.Request + 83, // 178: tfplugin5.Provider.Configure:input_type -> tfplugin5.Configure.Request + 85, // 179: tfplugin5.Provider.ReadResource:input_type -> tfplugin5.ReadResource.Request + 87, // 180: tfplugin5.Provider.PlanResourceChange:input_type -> tfplugin5.PlanResourceChange.Request + 89, // 181: tfplugin5.Provider.ApplyResourceChange:input_type -> tfplugin5.ApplyResourceChange.Request + 91, // 182: tfplugin5.Provider.ImportResourceState:input_type -> tfplugin5.ImportResourceState.Request + 94, // 183: tfplugin5.Provider.MoveResourceState:input_type -> tfplugin5.MoveResourceState.Request + 96, // 184: tfplugin5.Provider.ReadDataSource:input_type -> tfplugin5.ReadDataSource.Request + 109, // 185: tfplugin5.Provider.ValidateEphemeralResourceConfig:input_type -> tfplugin5.ValidateEphemeralResourceConfig.Request + 111, // 186: tfplugin5.Provider.OpenEphemeralResource:input_type -> tfplugin5.OpenEphemeralResource.Request + 113, // 187: tfplugin5.Provider.RenewEphemeralResource:input_type -> tfplugin5.RenewEphemeralResource.Request + 115, // 188: tfplugin5.Provider.CloseEphemeralResource:input_type -> tfplugin5.CloseEphemeralResource.Request + 122, // 189: tfplugin5.Provider.ListResource:input_type -> tfplugin5.ListResource.Request + 124, // 190: tfplugin5.Provider.ValidateListResourceConfig:input_type -> tfplugin5.ValidateListResourceConfig.Request + 104, // 191: tfplugin5.Provider.GetFunctions:input_type -> tfplugin5.GetFunctions.Request + 107, // 192: tfplugin5.Provider.CallFunction:input_type -> tfplugin5.CallFunction.Request + 126, // 193: tfplugin5.Provider.ValidateActionConfig:input_type -> tfplugin5.ValidateActionConfig.Request + 128, // 194: tfplugin5.Provider.PlanAction:input_type -> tfplugin5.PlanAction.Request + 132, // 195: tfplugin5.Provider.InvokeAction:input_type -> tfplugin5.InvokeAction.Request + 49, // 196: tfplugin5.Provider.Stop:input_type -> tfplugin5.Stop.Request + 98, // 197: tfplugin5.Provisioner.GetSchema:input_type -> tfplugin5.GetProvisionerSchema.Request + 100, // 198: tfplugin5.Provisioner.ValidateProvisionerConfig:input_type -> tfplugin5.ValidateProvisionerConfig.Request + 102, // 199: tfplugin5.Provisioner.ProvisionResource:input_type -> tfplugin5.ProvisionResource.Request + 49, // 200: tfplugin5.Provisioner.Stop:input_type -> tfplugin5.Stop.Request + 60, // 201: tfplugin5.Provider.GetMetadata:output_type -> tfplugin5.GetMetadata.Response + 68, // 202: tfplugin5.Provider.GetSchema:output_type -> tfplugin5.GetProviderSchema.Response + 118, // 203: tfplugin5.Provider.GetResourceIdentitySchemas:output_type -> tfplugin5.GetResourceIdentitySchemas.Response + 76, // 204: tfplugin5.Provider.PrepareProviderConfig:output_type -> tfplugin5.PrepareProviderConfig.Response + 80, // 205: tfplugin5.Provider.ValidateResourceTypeConfig:output_type -> tfplugin5.ValidateResourceTypeConfig.Response + 82, // 206: tfplugin5.Provider.ValidateDataSourceConfig:output_type -> tfplugin5.ValidateDataSourceConfig.Response + 78, // 207: tfplugin5.Provider.UpgradeResourceState:output_type -> tfplugin5.UpgradeResourceState.Response + 121, // 208: tfplugin5.Provider.UpgradeResourceIdentity:output_type -> tfplugin5.UpgradeResourceIdentity.Response + 84, // 209: tfplugin5.Provider.Configure:output_type -> tfplugin5.Configure.Response + 86, // 210: tfplugin5.Provider.ReadResource:output_type -> tfplugin5.ReadResource.Response + 88, // 211: tfplugin5.Provider.PlanResourceChange:output_type -> tfplugin5.PlanResourceChange.Response + 90, // 212: tfplugin5.Provider.ApplyResourceChange:output_type -> tfplugin5.ApplyResourceChange.Response + 93, // 213: tfplugin5.Provider.ImportResourceState:output_type -> tfplugin5.ImportResourceState.Response + 95, // 214: tfplugin5.Provider.MoveResourceState:output_type -> tfplugin5.MoveResourceState.Response + 97, // 215: tfplugin5.Provider.ReadDataSource:output_type -> tfplugin5.ReadDataSource.Response + 110, // 216: tfplugin5.Provider.ValidateEphemeralResourceConfig:output_type -> tfplugin5.ValidateEphemeralResourceConfig.Response + 112, // 217: tfplugin5.Provider.OpenEphemeralResource:output_type -> tfplugin5.OpenEphemeralResource.Response + 114, // 218: tfplugin5.Provider.RenewEphemeralResource:output_type -> tfplugin5.RenewEphemeralResource.Response + 116, // 219: tfplugin5.Provider.CloseEphemeralResource:output_type -> tfplugin5.CloseEphemeralResource.Response + 123, // 220: tfplugin5.Provider.ListResource:output_type -> tfplugin5.ListResource.Event + 125, // 221: tfplugin5.Provider.ValidateListResourceConfig:output_type -> tfplugin5.ValidateListResourceConfig.Response + 105, // 222: tfplugin5.Provider.GetFunctions:output_type -> tfplugin5.GetFunctions.Response + 108, // 223: tfplugin5.Provider.CallFunction:output_type -> tfplugin5.CallFunction.Response + 127, // 224: tfplugin5.Provider.ValidateActionConfig:output_type -> tfplugin5.ValidateActionConfig.Response + 129, // 225: tfplugin5.Provider.PlanAction:output_type -> tfplugin5.PlanAction.Response + 133, // 226: tfplugin5.Provider.InvokeAction:output_type -> tfplugin5.InvokeAction.Event + 50, // 227: tfplugin5.Provider.Stop:output_type -> tfplugin5.Stop.Response + 99, // 228: tfplugin5.Provisioner.GetSchema:output_type -> tfplugin5.GetProvisionerSchema.Response + 101, // 229: tfplugin5.Provisioner.ValidateProvisionerConfig:output_type -> tfplugin5.ValidateProvisionerConfig.Response + 103, // 230: tfplugin5.Provisioner.ProvisionResource:output_type -> tfplugin5.ProvisionResource.Response + 50, // 231: tfplugin5.Provisioner.Stop:output_type -> tfplugin5.Stop.Response + 201, // [201:232] is the sub-list for method output_type + 170, // [170:201] is the sub-list for method input_type + 170, // [170:170] is the sub-list for extension type_name + 170, // [170:170] is the sub-list for extension extendee + 0, // [0:170] is the sub-list for field type_name } func init() { file_tfplugin5_proto_init() } @@ -8304,20 +8117,18 @@ func file_tfplugin5_proto_init() { file_tfplugin5_proto_msgTypes[2].OneofWrappers = []any{} file_tfplugin5_proto_msgTypes[12].OneofWrappers = []any{ (*ActionSchema_Unlinked_)(nil), - (*ActionSchema_Lifecycle_)(nil), - (*ActionSchema_Linked_)(nil), } - file_tfplugin5_proto_msgTypes[43].OneofWrappers = []any{ + file_tfplugin5_proto_msgTypes[44].OneofWrappers = []any{ (*AttributePath_Step_AttributeName)(nil), (*AttributePath_Step_ElementKeyString)(nil), (*AttributePath_Step_ElementKeyInt)(nil), } + file_tfplugin5_proto_msgTypes[108].OneofWrappers = []any{} + file_tfplugin5_proto_msgTypes[109].OneofWrappers = []any{} file_tfplugin5_proto_msgTypes[110].OneofWrappers = []any{} file_tfplugin5_proto_msgTypes[111].OneofWrappers = []any{} - file_tfplugin5_proto_msgTypes[112].OneofWrappers = []any{} - file_tfplugin5_proto_msgTypes[113].OneofWrappers = []any{} - file_tfplugin5_proto_msgTypes[121].OneofWrappers = []any{} - file_tfplugin5_proto_msgTypes[131].OneofWrappers = []any{ + file_tfplugin5_proto_msgTypes[119].OneofWrappers = []any{} + file_tfplugin5_proto_msgTypes[129].OneofWrappers = []any{ (*InvokeAction_Event_Progress_)(nil), (*InvokeAction_Event_Completed_)(nil), } @@ -8326,8 +8137,8 @@ func file_tfplugin5_proto_init() { File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_tfplugin5_proto_rawDesc), len(file_tfplugin5_proto_rawDesc)), - NumEnums: 5, - NumMessages: 136, + NumEnums: 4, + NumMessages: 134, NumExtensions: 0, NumServices: 2, }, diff --git a/tfprotov5/internal/tfplugin5/tfplugin5.proto b/tfprotov5/internal/tfplugin5/tfplugin5.proto index ef89b5c5..f9705f3b 100644 --- a/tfprotov5/internal/tfplugin5/tfplugin5.proto +++ b/tfprotov5/internal/tfplugin5/tfplugin5.proto @@ -290,34 +290,12 @@ message Function { } message ActionSchema { - message LinkedResource { - string type_name = 1; - string description = 2; - } - message Unlinked {} - - message Lifecycle { - enum ExecutionOrder { - INVALID = 0; - BEFORE = 1; - AFTER = 2; - } - - ExecutionOrder executes = 1; // before or after the resource operation - LinkedResource linked_resource = 2; // the resource that is linked to the action - } - - message Linked { - repeated LinkedResource linked_resources = 1; - } Schema schema = 1; // of the action itself oneof type { Unlinked unlinked = 2; - Lifecycle lifecycle = 3; - Linked linked = 4; } } @@ -417,7 +395,7 @@ message GetMetadata { repeated FunctionMetadata functions = 5; repeated EphemeralResourceMetadata ephemeral_resources = 6; repeated ListResourceMetadata list_resources = 7; - // TODO: Field number 8 will be used by state stores + reserved 8; // Field number 8 is reserved for state stores, which are protocol v6 only. repeated ActionMetadata actions = 9; } @@ -462,7 +440,7 @@ message GetProviderSchema { map functions = 7; map ephemeral_resource_schemas = 8; map list_resource_schemas = 9; - // TODO: Field number 10 will be used by state stores + reserved 10; // Field number 10 is reserved for state stores, which are protocol v6 only. map action_schemas = 11; } } @@ -928,12 +906,18 @@ message ValidateActionConfig { message Request { string action_type = 1; DynamicValue config = 2; + repeated LinkedResourceConfig linked_resources = 3; } message Response { repeated Diagnostic diagnostics = 1; } } +message LinkedResourceConfig { + string type_name = 1; + DynamicValue config = 2; +} + message PlanAction { message Request { message LinkedResource { diff --git a/tfprotov5/internal/toproto/action_schema.go b/tfprotov5/internal/toproto/action_schema.go index 54fbd359..c6f1832f 100644 --- a/tfprotov5/internal/toproto/action_schema.go +++ b/tfprotov5/internal/toproto/action_schema.go @@ -19,24 +19,11 @@ func ActionSchema(in *tfprotov5.ActionSchema) *tfplugin5.ActionSchema { Schema: Schema(in.Schema), } - switch actionSchemaType := in.Type.(type) { + switch in.Type.(type) { case tfprotov5.UnlinkedActionSchemaType: resp.Type = &tfplugin5.ActionSchema_Unlinked_{ Unlinked: &tfplugin5.ActionSchema_Unlinked{}, } - case tfprotov5.LifecycleActionSchemaType: - resp.Type = &tfplugin5.ActionSchema_Lifecycle_{ - Lifecycle: &tfplugin5.ActionSchema_Lifecycle{ - Executes: tfplugin5.ActionSchema_Lifecycle_ExecutionOrder(actionSchemaType.Executes), - LinkedResource: LinkedResourceSchema(actionSchemaType.LinkedResource), - }, - } - case tfprotov5.LinkedActionSchemaType: - resp.Type = &tfplugin5.ActionSchema_Linked_{ - Linked: &tfplugin5.ActionSchema_Linked{ - LinkedResources: LinkedResourceSchemas(actionSchemaType.LinkedResources), - }, - } default: // It is not currently possible to create tfprotov5.ActionSchemaType // implementations outside the tfprotov5 package. If this panic was reached, @@ -47,23 +34,3 @@ func ActionSchema(in *tfprotov5.ActionSchema) *tfplugin5.ActionSchema { return resp } -func LinkedResourceSchemas(in []*tfprotov5.LinkedResourceSchema) []*tfplugin5.ActionSchema_LinkedResource { - resp := make([]*tfplugin5.ActionSchema_LinkedResource, 0, len(in)) - - for _, schema := range in { - resp = append(resp, LinkedResourceSchema(schema)) - } - - return resp -} - -func LinkedResourceSchema(in *tfprotov5.LinkedResourceSchema) *tfplugin5.ActionSchema_LinkedResource { - if in == nil { - return nil - } - - return &tfplugin5.ActionSchema_LinkedResource{ - TypeName: in.TypeName, - Description: in.Description, - } -} diff --git a/tfprotov5/internal/toproto/action_schema_test.go b/tfprotov5/internal/toproto/action_schema_test.go index ac4bffd6..447c76a4 100644 --- a/tfprotov5/internal/toproto/action_schema_test.go +++ b/tfprotov5/internal/toproto/action_schema_test.go @@ -63,87 +63,6 @@ func TestActionSchema(t *testing.T) { }, }, }, - "Type - LifecycleActionSchemaType - Executes - Before": { - in: &tfprotov5.ActionSchema{ - Type: tfprotov5.LifecycleActionSchemaType{ - Executes: tfprotov5.LifecycleExecutionOrderBefore, - }, - }, - expected: &tfplugin5.ActionSchema{ - Type: &tfplugin5.ActionSchema_Lifecycle_{ - Lifecycle: &tfplugin5.ActionSchema_Lifecycle{ - Executes: tfplugin5.ActionSchema_Lifecycle_BEFORE, - }, - }, - }, - }, - "Type - LifecycleActionSchemaType - Executes - After": { - in: &tfprotov5.ActionSchema{ - Type: tfprotov5.LifecycleActionSchemaType{ - Executes: tfprotov5.LifecycleExecutionOrderAfter, - }, - }, - expected: &tfplugin5.ActionSchema{ - Type: &tfplugin5.ActionSchema_Lifecycle_{ - Lifecycle: &tfplugin5.ActionSchema_Lifecycle{ - Executes: tfplugin5.ActionSchema_Lifecycle_AFTER, - }, - }, - }, - }, - "Type - LifecycleActionSchemaType - LinkedResource": { - in: &tfprotov5.ActionSchema{ - Type: tfprotov5.LifecycleActionSchemaType{ - LinkedResource: &tfprotov5.LinkedResourceSchema{ - TypeName: "test", - Description: "This is a test linked resource.", - }, - }, - }, - expected: &tfplugin5.ActionSchema{ - Type: &tfplugin5.ActionSchema_Lifecycle_{ - Lifecycle: &tfplugin5.ActionSchema_Lifecycle{ - Executes: tfplugin5.ActionSchema_Lifecycle_INVALID, - LinkedResource: &tfplugin5.ActionSchema_LinkedResource{ - TypeName: "test", - Description: "This is a test linked resource.", - }, - }, - }, - }, - }, - "Type - LinkedActionSchemaType - LinkedResources": { - in: &tfprotov5.ActionSchema{ - Type: tfprotov5.LinkedActionSchemaType{ - LinkedResources: []*tfprotov5.LinkedResourceSchema{ - { - TypeName: "test 1", - Description: "This is a test linked resource.", - }, - { - TypeName: "test 2", - Description: "This is also a test linked resource.", - }, - }, - }, - }, - expected: &tfplugin5.ActionSchema{ - Type: &tfplugin5.ActionSchema_Linked_{ - Linked: &tfplugin5.ActionSchema_Linked{ - LinkedResources: []*tfplugin5.ActionSchema_LinkedResource{ - { - TypeName: "test 1", - Description: "This is a test linked resource.", - }, - { - TypeName: "test 2", - Description: "This is also a test linked resource.", - }, - }, - }, - }, - }, - }, } for name, testCase := range testCases { @@ -160,11 +79,6 @@ func TestActionSchema(t *testing.T) { tfplugin5.ActionSchema{}, tfplugin5.ActionSchema_Unlinked{}, tfplugin5.ActionSchema_Unlinked_{}, - tfplugin5.ActionSchema_Lifecycle{}, - tfplugin5.ActionSchema_Lifecycle_{}, - tfplugin5.ActionSchema_Linked{}, - tfplugin5.ActionSchema_Linked_{}, - tfplugin5.ActionSchema_LinkedResource{}, tfplugin5.Schema{}, tfplugin5.Schema_Attribute{}, tfplugin5.Schema_Block{}, diff --git a/tfprotov6/action.go b/tfprotov6/action.go index 030329ba..ffc0fe9b 100644 --- a/tfprotov6/action.go +++ b/tfprotov6/action.go @@ -57,6 +57,30 @@ type ValidateActionConfigRequest struct { // from knowing the value at request time. Any attributes not directly // set in the configuration will be null. Config *DynamicValue + + // LinkedResources contains the configuration data of the managed resource types that are linked to this action. + // + // - If the action schema type is Unlinked, this field will be empty. + LinkedResources []*LinkedResourceConfig +} + +// LinkedResourceConfig represents linked resource config data used in the ValidateActionConfig RPC. +type LinkedResourceConfig struct { + // TypeName is the type of linked resource Terraform is validating. + TypeName string + + // Config is the configuration the user supplied for the linked resource. See + // the documentation on `DynamicValue` for more information about + // safely accessing the configuration. + // + // The configuration is represented as a tftypes.Object, with each + // attribute and nested block getting its own key and value. + // + // This configuration may contain unknown values if a user uses + // interpolation or other functionality that would prevent Terraform + // from knowing the value at request time. Any attributes not directly + // set in the configuration will be null. + Config *DynamicValue } // ValidateActionConfigResponse is the response from the provider about @@ -77,13 +101,6 @@ type PlanActionRequest struct { // LinkedResources contains the data of the managed resource types that are linked to this action. // // - If the action schema type is Unlinked, this field will be empty. - // - If the action schema type is Lifecycle, this field will contain a single linked resource. - // - If the action schema type is Linked, this field will be one or more linked resources, which - // will be in the same order as the linked resource schemas are defined in the action schema. - // - // For Lifecycle actions, the provider may only change computed-only attributes. - // - // For Linked actions, the provider may change any attributes as long as it adheres to the resource schema. LinkedResources []*ProposedLinkedResource // Config is the configuration the user supplied for the action. See @@ -128,9 +145,7 @@ type ProposedLinkedResource struct { type PlanActionResponse struct { // LinkedResources contains the provider modified data of the managed resource types that are linked to this action. // - // For Lifecycle actions, the provider may only change computed-only attributes. - // - // For Linked actions, the provider may change any attributes as long as it adheres to the resource schema. + // This field is not currently in-use, but future action schema types will use this field to plan modifications of state data for linked resources. LinkedResources []*PlannedLinkedResource // Diagnostics report errors or warnings related to plannning the action and calculating @@ -165,13 +180,6 @@ type InvokeActionRequest struct { // LinkedResources contains the data of the managed resource types that are linked to this action. // // - If the action schema type is Unlinked, this field will be empty. - // - If the action schema type is Lifecycle, this field will contain a single linked resource. - // - If the action schema type is Linked, this field will be one or more linked resources, which - // will be in the same order as the linked resource schemas are defined in the action schema. - // - // For Lifecycle actions, the provider may only change computed-only attributes. - // - // For Linked actions, the provider may change any attributes as long as it adheres to the resource schema. LinkedResources []*InvokeLinkedResource // Config is the configuration the user supplied for the action. See @@ -252,9 +260,7 @@ func (a ProgressInvokeActionEventType) isInvokeActionEventType() {} type CompletedInvokeActionEventType struct { // LinkedResources contains the provider modified data of the managed resource types that are linked to this action. // - // For Lifecycle actions, the provider may only change computed-only attributes. - // - // For Linked actions, the provider may change any attributes as long as it adheres to the resource schema. + // This field is not currently in-use, but future action schema types will use this field to modify state data for linked resources. LinkedResources []*NewLinkedResource // Diagnostics report errors or warnings related to invoking an action. diff --git a/tfprotov6/action_schema.go b/tfprotov6/action_schema.go index 8dafc6c3..51fd5b57 100644 --- a/tfprotov6/action_schema.go +++ b/tfprotov6/action_schema.go @@ -10,10 +10,8 @@ type ActionSchema struct { Schema *Schema // Type defines how a practitioner can trigger an action, as well as what effect the action can have on the state - // of the linked managed resources. There are currently three different types of actions: + // of the linked managed resources. There is currently only one type of action supported: // - Unlinked actions are actions that cannot cause changes to resource states. - // - Lifecycle actions are actions that can cause changes to exactly one resource state. - // - Linked actions are actions that can cause changes to one or more resource states. Type ActionSchemaType } @@ -21,86 +19,17 @@ type ActionSchema struct { // functions as an enum, allowing us to use different strongly-typed action schema types // that contain additional, but different data, as a generic "action" type. // -// An action can only be one type (Unlinked, Lifecycle, or Linked), which are all statically defined in the protocol. +// An action can currently only be one type (Unlinked), which is statically defined in the protocol. Future action types +// will be added to the protocol first, then implemented in this package. type ActionSchemaType interface { isActionSchemaType() } var ( _ ActionSchemaType = UnlinkedActionSchemaType{} - _ ActionSchemaType = LifecycleActionSchemaType{} - _ ActionSchemaType = LinkedActionSchemaType{} ) // UnlinkedActionSchemaType represents an unlinked action, which cannot cause changes to resource states. type UnlinkedActionSchemaType struct{} func (a UnlinkedActionSchemaType) isActionSchemaType() {} - -// LifecycleActionSchemaType represents a lifecycle action, which can cause changes to exactly one resource state, -// which is the linked resource. -type LifecycleActionSchemaType struct { - // Executes defines when the lifecycle action must be executed in relation to the linked resource, either before - // or after the linked resource's plan/apply. - Executes LifecycleExecutionOrder - - // LinkedResource is the managed resource type that this action can make state changes to. - // This linked resource is currently restricted to be defined in the same provider as the action is defined. - LinkedResource *LinkedResourceSchema -} - -func (a LifecycleActionSchemaType) isActionSchemaType() {} - -const ( - // LifecycleExecutionOrderInvalid is used to indicate an invalid `LifecycleExecutionOrder`. - // Provider developers should not use it. - LifecycleExecutionOrderInvalid LifecycleExecutionOrder = 0 - - // LifecycleExecutionOrderBefore is used to indicate that the action must be invoked before it's - // linked resource's plan/apply. - LifecycleExecutionOrderBefore LifecycleExecutionOrder = 1 - - // LifecycleExecutionOrderAfter is used to indicate that the action must be invoked after it's - // linked resource's plan/apply. - LifecycleExecutionOrderAfter LifecycleExecutionOrder = 2 -) - -// LifecycleExecutionOrder is an enum that represents when an action is invoked relative to it's linked resource. -type LifecycleExecutionOrder int32 - -func (l LifecycleExecutionOrder) String() string { - switch l { - case 0: - return "INVALID" - case 1: - return "BEFORE" - case 2: - return "AFTER" - case 3: - } - return "UNKNOWN" -} - -// LinkedResourceSchema represents information about the schema of a linked resource, which is used by an action schema to describe to Terraform the -// resource types that an action is allowed to change the state of. Linked resources are currently restricted to be defined in the same provider -// as the action is defined. -// -// LinkedResourceSchema does not contain the entire schema definition of the linked resource, which must be obtained by the provider in order to -// decode the linked resource plan/state/identity protocol data during PlanAction and InvokeAction. -type LinkedResourceSchema struct { - // TypeName is the name of the managed resource which can have it's resource state changed by the action. The name should be prefixed with - // the provider shortname and an underscore. - TypeName string - - // Description is a human-readable description of the linked resource. - Description string -} - -// LinkedActionSchemaType represents a linked action, which can cause changes to one or more resource states. -type LinkedActionSchemaType struct { - // LinkedResources are the managed resource types that this action can make state changes to. - // These linked resources are currently restricted to be defined in the same provider as the action is defined. - LinkedResources []*LinkedResourceSchema -} - -func (a LinkedActionSchemaType) isActionSchemaType() {} diff --git a/tfprotov6/internal/fromproto/action.go b/tfprotov6/internal/fromproto/action.go index 8cf170ae..59e63ece 100644 --- a/tfprotov6/internal/fromproto/action.go +++ b/tfprotov6/internal/fromproto/action.go @@ -14,9 +14,23 @@ func ValidateActionConfigRequest(in *tfplugin6.ValidateActionConfig_Request) *tf } return &tfprotov6.ValidateActionConfigRequest{ - ActionType: in.ActionType, - Config: DynamicValue(in.Config), + ActionType: in.ActionType, + Config: DynamicValue(in.Config), + LinkedResources: LinkedResourceConfigs(in.LinkedResources), + } +} + +func LinkedResourceConfigs(in []*tfplugin6.LinkedResourceConfig) []*tfprotov6.LinkedResourceConfig { + resp := make([]*tfprotov6.LinkedResourceConfig, 0, len(in)) + + for _, inLinkedResource := range in { + resp = append(resp, &tfprotov6.LinkedResourceConfig{ + TypeName: inLinkedResource.TypeName, + Config: DynamicValue(inLinkedResource.Config), + }) } + + return resp } func PlanActionRequest(in *tfplugin6.PlanAction_Request) *tfprotov6.PlanActionRequest { diff --git a/tfprotov6/internal/fromproto/actions_test.go b/tfprotov6/internal/fromproto/actions_test.go index 43527af8..5ef9f7c8 100644 --- a/tfprotov6/internal/fromproto/actions_test.go +++ b/tfprotov6/internal/fromproto/actions_test.go @@ -24,15 +24,18 @@ func TestValidateActionConfigRequest(t *testing.T) { expected: nil, }, "zero": { - in: &tfplugin6.ValidateActionConfig_Request{}, - expected: &tfprotov6.ValidateActionConfigRequest{}, + in: &tfplugin6.ValidateActionConfig_Request{}, + expected: &tfprotov6.ValidateActionConfigRequest{ + LinkedResources: []*tfprotov6.LinkedResourceConfig{}, + }, }, "Config": { in: &tfplugin6.ValidateActionConfig_Request{ Config: testTfplugin6DynamicValue(), }, expected: &tfprotov6.ValidateActionConfigRequest{ - Config: testTfprotov6DynamicValue(), + Config: testTfprotov6DynamicValue(), + LinkedResources: []*tfprotov6.LinkedResourceConfig{}, }, }, "ActionType": { @@ -40,7 +43,26 @@ func TestValidateActionConfigRequest(t *testing.T) { ActionType: "test", }, expected: &tfprotov6.ValidateActionConfigRequest{ - ActionType: "test", + ActionType: "test", + LinkedResources: []*tfprotov6.LinkedResourceConfig{}, + }, + }, + "LinkedResources": { + in: &tfplugin6.ValidateActionConfig_Request{ + LinkedResources: []*tfplugin6.LinkedResourceConfig{ + { + TypeName: "test_linked", + Config: testTfplugin6DynamicValue(), + }, + }, + }, + expected: &tfprotov6.ValidateActionConfigRequest{ + LinkedResources: []*tfprotov6.LinkedResourceConfig{ + { + TypeName: "test_linked", + Config: testTfprotov6DynamicValue(), + }, + }, }, }, } diff --git a/tfprotov6/internal/tfplugin6/tfplugin6.pb.go b/tfprotov6/internal/tfplugin6/tfplugin6.pb.go index aa81a2bb..1bb5dfa9 100644 --- a/tfprotov6/internal/tfplugin6/tfplugin6.pb.go +++ b/tfprotov6/internal/tfplugin6/tfplugin6.pb.go @@ -252,55 +252,6 @@ func (Schema_Object_NestingMode) EnumDescriptor() ([]byte, []int) { return file_tfplugin6_proto_rawDescGZIP(), []int{6, 3, 0} } -type ActionSchema_Lifecycle_ExecutionOrder int32 - -const ( - ActionSchema_Lifecycle_INVALID ActionSchema_Lifecycle_ExecutionOrder = 0 - ActionSchema_Lifecycle_BEFORE ActionSchema_Lifecycle_ExecutionOrder = 1 - ActionSchema_Lifecycle_AFTER ActionSchema_Lifecycle_ExecutionOrder = 2 -) - -// Enum value maps for ActionSchema_Lifecycle_ExecutionOrder. -var ( - ActionSchema_Lifecycle_ExecutionOrder_name = map[int32]string{ - 0: "INVALID", - 1: "BEFORE", - 2: "AFTER", - } - ActionSchema_Lifecycle_ExecutionOrder_value = map[string]int32{ - "INVALID": 0, - "BEFORE": 1, - "AFTER": 2, - } -) - -func (x ActionSchema_Lifecycle_ExecutionOrder) Enum() *ActionSchema_Lifecycle_ExecutionOrder { - p := new(ActionSchema_Lifecycle_ExecutionOrder) - *p = x - return p -} - -func (x ActionSchema_Lifecycle_ExecutionOrder) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ActionSchema_Lifecycle_ExecutionOrder) Descriptor() protoreflect.EnumDescriptor { - return file_tfplugin6_proto_enumTypes[4].Descriptor() -} - -func (ActionSchema_Lifecycle_ExecutionOrder) Type() protoreflect.EnumType { - return &file_tfplugin6_proto_enumTypes[4] -} - -func (x ActionSchema_Lifecycle_ExecutionOrder) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ActionSchema_Lifecycle_ExecutionOrder.Descriptor instead. -func (ActionSchema_Lifecycle_ExecutionOrder) EnumDescriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{10, 2, 0} -} - // Reason is the reason for deferring the change. type Deferred_Reason int32 @@ -344,11 +295,11 @@ func (x Deferred_Reason) String() string { } func (Deferred_Reason) Descriptor() protoreflect.EnumDescriptor { - return file_tfplugin6_proto_enumTypes[5].Descriptor() + return file_tfplugin6_proto_enumTypes[4].Descriptor() } func (Deferred_Reason) Type() protoreflect.EnumType { - return &file_tfplugin6_proto_enumTypes[5] + return &file_tfplugin6_proto_enumTypes[4] } func (x Deferred_Reason) Number() protoreflect.EnumNumber { @@ -958,8 +909,6 @@ type ActionSchema struct { // Types that are valid to be assigned to Type: // // *ActionSchema_Unlinked_ - // *ActionSchema_Lifecycle_ - // *ActionSchema_Linked_ Type isActionSchema_Type `protobuf_oneof:"type"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1018,24 +967,6 @@ func (x *ActionSchema) GetUnlinked() *ActionSchema_Unlinked { return nil } -func (x *ActionSchema) GetLifecycle() *ActionSchema_Lifecycle { - if x != nil { - if x, ok := x.Type.(*ActionSchema_Lifecycle_); ok { - return x.Lifecycle - } - } - return nil -} - -func (x *ActionSchema) GetLinked() *ActionSchema_Linked { - if x != nil { - if x, ok := x.Type.(*ActionSchema_Linked_); ok { - return x.Linked - } - } - return nil -} - type isActionSchema_Type interface { isActionSchema_Type() } @@ -1044,20 +975,8 @@ type ActionSchema_Unlinked_ struct { Unlinked *ActionSchema_Unlinked `protobuf:"bytes,2,opt,name=unlinked,proto3,oneof"` } -type ActionSchema_Lifecycle_ struct { - Lifecycle *ActionSchema_Lifecycle `protobuf:"bytes,3,opt,name=lifecycle,proto3,oneof"` -} - -type ActionSchema_Linked_ struct { - Linked *ActionSchema_Linked `protobuf:"bytes,4,opt,name=linked,proto3,oneof"` -} - func (*ActionSchema_Unlinked_) isActionSchema_Type() {} -func (*ActionSchema_Lifecycle_) isActionSchema_Type() {} - -func (*ActionSchema_Linked_) isActionSchema_Type() {} - // ServerCapabilities allows providers to communicate extra information // regarding supported protocol features. This is used to indicate // availability of certain forward-compatible changes which may be optional @@ -2101,6 +2020,58 @@ func (*ValidateActionConfig) Descriptor() ([]byte, []int) { return file_tfplugin6_proto_rawDescGZIP(), []int{37} } +type LinkedResourceConfig struct { + state protoimpl.MessageState `protogen:"open.v1"` + TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` + Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *LinkedResourceConfig) Reset() { + *x = LinkedResourceConfig{} + mi := &file_tfplugin6_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *LinkedResourceConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LinkedResourceConfig) ProtoMessage() {} + +func (x *LinkedResourceConfig) ProtoReflect() protoreflect.Message { + mi := &file_tfplugin6_proto_msgTypes[38] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LinkedResourceConfig.ProtoReflect.Descriptor instead. +func (*LinkedResourceConfig) Descriptor() ([]byte, []int) { + return file_tfplugin6_proto_rawDescGZIP(), []int{38} +} + +func (x *LinkedResourceConfig) GetTypeName() string { + if x != nil { + return x.TypeName + } + return "" +} + +func (x *LinkedResourceConfig) GetConfig() *DynamicValue { + if x != nil { + return x.Config + } + return nil +} + type PlanAction struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields @@ -2109,7 +2080,7 @@ type PlanAction struct { func (x *PlanAction) Reset() { *x = PlanAction{} - mi := &file_tfplugin6_proto_msgTypes[38] + mi := &file_tfplugin6_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2121,7 +2092,7 @@ func (x *PlanAction) String() string { func (*PlanAction) ProtoMessage() {} func (x *PlanAction) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[38] + mi := &file_tfplugin6_proto_msgTypes[39] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2134,7 +2105,7 @@ func (x *PlanAction) ProtoReflect() protoreflect.Message { // Deprecated: Use PlanAction.ProtoReflect.Descriptor instead. func (*PlanAction) Descriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{38} + return file_tfplugin6_proto_rawDescGZIP(), []int{39} } type InvokeAction struct { @@ -2145,7 +2116,7 @@ type InvokeAction struct { func (x *InvokeAction) Reset() { *x = InvokeAction{} - mi := &file_tfplugin6_proto_msgTypes[39] + mi := &file_tfplugin6_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2157,7 +2128,7 @@ func (x *InvokeAction) String() string { func (*InvokeAction) ProtoMessage() {} func (x *InvokeAction) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[39] + mi := &file_tfplugin6_proto_msgTypes[40] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2170,7 +2141,7 @@ func (x *InvokeAction) ProtoReflect() protoreflect.Message { // Deprecated: Use InvokeAction.ProtoReflect.Descriptor instead. func (*InvokeAction) Descriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{39} + return file_tfplugin6_proto_rawDescGZIP(), []int{40} } type AttributePath_Step struct { @@ -2187,7 +2158,7 @@ type AttributePath_Step struct { func (x *AttributePath_Step) Reset() { *x = AttributePath_Step{} - mi := &file_tfplugin6_proto_msgTypes[40] + mi := &file_tfplugin6_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2199,7 +2170,7 @@ func (x *AttributePath_Step) String() string { func (*AttributePath_Step) ProtoMessage() {} func (x *AttributePath_Step) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[40] + mi := &file_tfplugin6_proto_msgTypes[41] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2283,7 +2254,7 @@ type StopProvider_Request struct { func (x *StopProvider_Request) Reset() { *x = StopProvider_Request{} - mi := &file_tfplugin6_proto_msgTypes[41] + mi := &file_tfplugin6_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2295,7 +2266,7 @@ func (x *StopProvider_Request) String() string { func (*StopProvider_Request) ProtoMessage() {} func (x *StopProvider_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[41] + mi := &file_tfplugin6_proto_msgTypes[42] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2320,7 +2291,7 @@ type StopProvider_Response struct { func (x *StopProvider_Response) Reset() { *x = StopProvider_Response{} - mi := &file_tfplugin6_proto_msgTypes[42] + mi := &file_tfplugin6_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2332,7 +2303,7 @@ func (x *StopProvider_Response) String() string { func (*StopProvider_Response) ProtoMessage() {} func (x *StopProvider_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[42] + mi := &file_tfplugin6_proto_msgTypes[43] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2369,7 +2340,7 @@ type Schema_Block struct { func (x *Schema_Block) Reset() { *x = Schema_Block{} - mi := &file_tfplugin6_proto_msgTypes[44] + mi := &file_tfplugin6_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2381,7 +2352,7 @@ func (x *Schema_Block) String() string { func (*Schema_Block) ProtoMessage() {} func (x *Schema_Block) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[44] + mi := &file_tfplugin6_proto_msgTypes[45] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2462,7 +2433,7 @@ type Schema_Attribute struct { func (x *Schema_Attribute) Reset() { *x = Schema_Attribute{} - mi := &file_tfplugin6_proto_msgTypes[45] + mi := &file_tfplugin6_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2474,7 +2445,7 @@ func (x *Schema_Attribute) String() string { func (*Schema_Attribute) ProtoMessage() {} func (x *Schema_Attribute) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[45] + mi := &file_tfplugin6_proto_msgTypes[46] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2580,7 +2551,7 @@ type Schema_NestedBlock struct { func (x *Schema_NestedBlock) Reset() { *x = Schema_NestedBlock{} - mi := &file_tfplugin6_proto_msgTypes[46] + mi := &file_tfplugin6_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2592,7 +2563,7 @@ func (x *Schema_NestedBlock) String() string { func (*Schema_NestedBlock) ProtoMessage() {} func (x *Schema_NestedBlock) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[46] + mi := &file_tfplugin6_proto_msgTypes[47] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2660,7 +2631,7 @@ type Schema_Object struct { func (x *Schema_Object) Reset() { *x = Schema_Object{} - mi := &file_tfplugin6_proto_msgTypes[47] + mi := &file_tfplugin6_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2672,7 +2643,7 @@ func (x *Schema_Object) String() string { func (*Schema_Object) ProtoMessage() {} func (x *Schema_Object) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[47] + mi := &file_tfplugin6_proto_msgTypes[48] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2741,7 +2712,7 @@ type ResourceIdentitySchema_IdentityAttribute struct { func (x *ResourceIdentitySchema_IdentityAttribute) Reset() { *x = ResourceIdentitySchema_IdentityAttribute{} - mi := &file_tfplugin6_proto_msgTypes[48] + mi := &file_tfplugin6_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2753,7 +2724,7 @@ func (x *ResourceIdentitySchema_IdentityAttribute) String() string { func (*ResourceIdentitySchema_IdentityAttribute) ProtoMessage() {} func (x *ResourceIdentitySchema_IdentityAttribute) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[48] + mi := &file_tfplugin6_proto_msgTypes[49] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2829,7 +2800,7 @@ type Function_Parameter struct { func (x *Function_Parameter) Reset() { *x = Function_Parameter{} - mi := &file_tfplugin6_proto_msgTypes[49] + mi := &file_tfplugin6_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2841,7 +2812,7 @@ func (x *Function_Parameter) String() string { func (*Function_Parameter) ProtoMessage() {} func (x *Function_Parameter) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[49] + mi := &file_tfplugin6_proto_msgTypes[50] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2909,7 +2880,7 @@ type Function_Return struct { func (x *Function_Return) Reset() { *x = Function_Return{} - mi := &file_tfplugin6_proto_msgTypes[50] + mi := &file_tfplugin6_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2921,7 +2892,7 @@ func (x *Function_Return) String() string { func (*Function_Return) ProtoMessage() {} func (x *Function_Return) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[50] + mi := &file_tfplugin6_proto_msgTypes[51] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2944,58 +2915,6 @@ func (x *Function_Return) GetType() []byte { return nil } -type ActionSchema_LinkedResource struct { - state protoimpl.MessageState `protogen:"open.v1"` - TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ActionSchema_LinkedResource) Reset() { - *x = ActionSchema_LinkedResource{} - mi := &file_tfplugin6_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ActionSchema_LinkedResource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActionSchema_LinkedResource) ProtoMessage() {} - -func (x *ActionSchema_LinkedResource) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[51] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActionSchema_LinkedResource.ProtoReflect.Descriptor instead. -func (*ActionSchema_LinkedResource) Descriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{10, 0} -} - -func (x *ActionSchema_LinkedResource) GetTypeName() string { - if x != nil { - return x.TypeName - } - return "" -} - -func (x *ActionSchema_LinkedResource) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - type ActionSchema_Unlinked struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields @@ -3029,103 +2948,7 @@ func (x *ActionSchema_Unlinked) ProtoReflect() protoreflect.Message { // Deprecated: Use ActionSchema_Unlinked.ProtoReflect.Descriptor instead. func (*ActionSchema_Unlinked) Descriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{10, 1} -} - -type ActionSchema_Lifecycle struct { - state protoimpl.MessageState `protogen:"open.v1"` - Executes ActionSchema_Lifecycle_ExecutionOrder `protobuf:"varint,1,opt,name=executes,proto3,enum=tfplugin6.ActionSchema_Lifecycle_ExecutionOrder" json:"executes,omitempty"` // before or after the resource operation - LinkedResource *ActionSchema_LinkedResource `protobuf:"bytes,2,opt,name=linked_resource,json=linkedResource,proto3" json:"linked_resource,omitempty"` // the resource that is linked to the action - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ActionSchema_Lifecycle) Reset() { - *x = ActionSchema_Lifecycle{} - mi := &file_tfplugin6_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ActionSchema_Lifecycle) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActionSchema_Lifecycle) ProtoMessage() {} - -func (x *ActionSchema_Lifecycle) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[53] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActionSchema_Lifecycle.ProtoReflect.Descriptor instead. -func (*ActionSchema_Lifecycle) Descriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{10, 2} -} - -func (x *ActionSchema_Lifecycle) GetExecutes() ActionSchema_Lifecycle_ExecutionOrder { - if x != nil { - return x.Executes - } - return ActionSchema_Lifecycle_INVALID -} - -func (x *ActionSchema_Lifecycle) GetLinkedResource() *ActionSchema_LinkedResource { - if x != nil { - return x.LinkedResource - } - return nil -} - -type ActionSchema_Linked struct { - state protoimpl.MessageState `protogen:"open.v1"` - LinkedResources []*ActionSchema_LinkedResource `protobuf:"bytes,1,rep,name=linked_resources,json=linkedResources,proto3" json:"linked_resources,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ActionSchema_Linked) Reset() { - *x = ActionSchema_Linked{} - mi := &file_tfplugin6_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ActionSchema_Linked) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActionSchema_Linked) ProtoMessage() {} - -func (x *ActionSchema_Linked) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[54] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActionSchema_Linked.ProtoReflect.Descriptor instead. -func (*ActionSchema_Linked) Descriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{10, 3} -} - -func (x *ActionSchema_Linked) GetLinkedResources() []*ActionSchema_LinkedResource { - if x != nil { - return x.LinkedResources - } - return nil + return file_tfplugin6_proto_rawDescGZIP(), []int{10, 0} } type GetMetadata_Request struct { @@ -3136,7 +2959,7 @@ type GetMetadata_Request struct { func (x *GetMetadata_Request) Reset() { *x = GetMetadata_Request{} - mi := &file_tfplugin6_proto_msgTypes[55] + mi := &file_tfplugin6_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3148,7 +2971,7 @@ func (x *GetMetadata_Request) String() string { func (*GetMetadata_Request) ProtoMessage() {} func (x *GetMetadata_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[55] + mi := &file_tfplugin6_proto_msgTypes[53] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3174,15 +2997,14 @@ type GetMetadata_Response struct { Functions []*GetMetadata_FunctionMetadata `protobuf:"bytes,5,rep,name=functions,proto3" json:"functions,omitempty"` EphemeralResources []*GetMetadata_EphemeralResourceMetadata `protobuf:"bytes,6,rep,name=ephemeral_resources,json=ephemeralResources,proto3" json:"ephemeral_resources,omitempty"` ListResources []*GetMetadata_ListResourceMetadata `protobuf:"bytes,7,rep,name=list_resources,json=listResources,proto3" json:"list_resources,omitempty"` - // TODO: Field number 8 will be used by state stores - Actions []*GetMetadata_ActionMetadata `protobuf:"bytes,9,rep,name=actions,proto3" json:"actions,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Actions []*GetMetadata_ActionMetadata `protobuf:"bytes,9,rep,name=actions,proto3" json:"actions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetMetadata_Response) Reset() { *x = GetMetadata_Response{} - mi := &file_tfplugin6_proto_msgTypes[56] + mi := &file_tfplugin6_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3194,7 +3016,7 @@ func (x *GetMetadata_Response) String() string { func (*GetMetadata_Response) ProtoMessage() {} func (x *GetMetadata_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[56] + mi := &file_tfplugin6_proto_msgTypes[54] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3276,7 +3098,7 @@ type GetMetadata_FunctionMetadata struct { func (x *GetMetadata_FunctionMetadata) Reset() { *x = GetMetadata_FunctionMetadata{} - mi := &file_tfplugin6_proto_msgTypes[57] + mi := &file_tfplugin6_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3288,7 +3110,7 @@ func (x *GetMetadata_FunctionMetadata) String() string { func (*GetMetadata_FunctionMetadata) ProtoMessage() {} func (x *GetMetadata_FunctionMetadata) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[57] + mi := &file_tfplugin6_proto_msgTypes[55] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3320,7 +3142,7 @@ type GetMetadata_DataSourceMetadata struct { func (x *GetMetadata_DataSourceMetadata) Reset() { *x = GetMetadata_DataSourceMetadata{} - mi := &file_tfplugin6_proto_msgTypes[58] + mi := &file_tfplugin6_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3332,7 +3154,7 @@ func (x *GetMetadata_DataSourceMetadata) String() string { func (*GetMetadata_DataSourceMetadata) ProtoMessage() {} func (x *GetMetadata_DataSourceMetadata) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[58] + mi := &file_tfplugin6_proto_msgTypes[56] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3364,7 +3186,7 @@ type GetMetadata_ResourceMetadata struct { func (x *GetMetadata_ResourceMetadata) Reset() { *x = GetMetadata_ResourceMetadata{} - mi := &file_tfplugin6_proto_msgTypes[59] + mi := &file_tfplugin6_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3376,7 +3198,7 @@ func (x *GetMetadata_ResourceMetadata) String() string { func (*GetMetadata_ResourceMetadata) ProtoMessage() {} func (x *GetMetadata_ResourceMetadata) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[59] + mi := &file_tfplugin6_proto_msgTypes[57] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3408,7 +3230,7 @@ type GetMetadata_EphemeralResourceMetadata struct { func (x *GetMetadata_EphemeralResourceMetadata) Reset() { *x = GetMetadata_EphemeralResourceMetadata{} - mi := &file_tfplugin6_proto_msgTypes[60] + mi := &file_tfplugin6_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3420,7 +3242,7 @@ func (x *GetMetadata_EphemeralResourceMetadata) String() string { func (*GetMetadata_EphemeralResourceMetadata) ProtoMessage() {} func (x *GetMetadata_EphemeralResourceMetadata) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[60] + mi := &file_tfplugin6_proto_msgTypes[58] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3452,7 +3274,7 @@ type GetMetadata_ListResourceMetadata struct { func (x *GetMetadata_ListResourceMetadata) Reset() { *x = GetMetadata_ListResourceMetadata{} - mi := &file_tfplugin6_proto_msgTypes[61] + mi := &file_tfplugin6_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3464,7 +3286,7 @@ func (x *GetMetadata_ListResourceMetadata) String() string { func (*GetMetadata_ListResourceMetadata) ProtoMessage() {} func (x *GetMetadata_ListResourceMetadata) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[61] + mi := &file_tfplugin6_proto_msgTypes[59] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3496,7 +3318,7 @@ type GetMetadata_ActionMetadata struct { func (x *GetMetadata_ActionMetadata) Reset() { *x = GetMetadata_ActionMetadata{} - mi := &file_tfplugin6_proto_msgTypes[62] + mi := &file_tfplugin6_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3508,7 +3330,7 @@ func (x *GetMetadata_ActionMetadata) String() string { func (*GetMetadata_ActionMetadata) ProtoMessage() {} func (x *GetMetadata_ActionMetadata) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[62] + mi := &file_tfplugin6_proto_msgTypes[60] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3539,7 +3361,7 @@ type GetProviderSchema_Request struct { func (x *GetProviderSchema_Request) Reset() { *x = GetProviderSchema_Request{} - mi := &file_tfplugin6_proto_msgTypes[63] + mi := &file_tfplugin6_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3551,7 +3373,7 @@ func (x *GetProviderSchema_Request) String() string { func (*GetProviderSchema_Request) ProtoMessage() {} func (x *GetProviderSchema_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[63] + mi := &file_tfplugin6_proto_msgTypes[61] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3576,18 +3398,17 @@ type GetProviderSchema_Response struct { ProviderMeta *Schema `protobuf:"bytes,5,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"` ServerCapabilities *ServerCapabilities `protobuf:"bytes,6,opt,name=server_capabilities,json=serverCapabilities,proto3" json:"server_capabilities,omitempty"` // functions is a mapping of function names to definitions. - Functions map[string]*Function `protobuf:"bytes,7,rep,name=functions,proto3" json:"functions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - EphemeralResourceSchemas map[string]*Schema `protobuf:"bytes,8,rep,name=ephemeral_resource_schemas,json=ephemeralResourceSchemas,proto3" json:"ephemeral_resource_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - ListResourceSchemas map[string]*Schema `protobuf:"bytes,9,rep,name=list_resource_schemas,json=listResourceSchemas,proto3" json:"list_resource_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // TODO: Field number 10 will be used by state stores - ActionSchemas map[string]*ActionSchema `protobuf:"bytes,11,rep,name=action_schemas,json=actionSchemas,proto3" json:"action_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Functions map[string]*Function `protobuf:"bytes,7,rep,name=functions,proto3" json:"functions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + EphemeralResourceSchemas map[string]*Schema `protobuf:"bytes,8,rep,name=ephemeral_resource_schemas,json=ephemeralResourceSchemas,proto3" json:"ephemeral_resource_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + ListResourceSchemas map[string]*Schema `protobuf:"bytes,9,rep,name=list_resource_schemas,json=listResourceSchemas,proto3" json:"list_resource_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + ActionSchemas map[string]*ActionSchema `protobuf:"bytes,11,rep,name=action_schemas,json=actionSchemas,proto3" json:"action_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetProviderSchema_Response) Reset() { *x = GetProviderSchema_Response{} - mi := &file_tfplugin6_proto_msgTypes[64] + mi := &file_tfplugin6_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3599,7 +3420,7 @@ func (x *GetProviderSchema_Response) String() string { func (*GetProviderSchema_Response) ProtoMessage() {} func (x *GetProviderSchema_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[64] + mi := &file_tfplugin6_proto_msgTypes[62] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3694,7 +3515,7 @@ type ValidateProviderConfig_Request struct { func (x *ValidateProviderConfig_Request) Reset() { *x = ValidateProviderConfig_Request{} - mi := &file_tfplugin6_proto_msgTypes[71] + mi := &file_tfplugin6_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3706,7 +3527,7 @@ func (x *ValidateProviderConfig_Request) String() string { func (*ValidateProviderConfig_Request) ProtoMessage() {} func (x *ValidateProviderConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[71] + mi := &file_tfplugin6_proto_msgTypes[69] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3738,7 +3559,7 @@ type ValidateProviderConfig_Response struct { func (x *ValidateProviderConfig_Response) Reset() { *x = ValidateProviderConfig_Response{} - mi := &file_tfplugin6_proto_msgTypes[72] + mi := &file_tfplugin6_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3750,7 +3571,7 @@ func (x *ValidateProviderConfig_Response) String() string { func (*ValidateProviderConfig_Response) ProtoMessage() {} func (x *ValidateProviderConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[72] + mi := &file_tfplugin6_proto_msgTypes[70] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3799,7 +3620,7 @@ type UpgradeResourceState_Request struct { func (x *UpgradeResourceState_Request) Reset() { *x = UpgradeResourceState_Request{} - mi := &file_tfplugin6_proto_msgTypes[73] + mi := &file_tfplugin6_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3811,7 +3632,7 @@ func (x *UpgradeResourceState_Request) String() string { func (*UpgradeResourceState_Request) ProtoMessage() {} func (x *UpgradeResourceState_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[73] + mi := &file_tfplugin6_proto_msgTypes[71] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3864,7 +3685,7 @@ type UpgradeResourceState_Response struct { func (x *UpgradeResourceState_Response) Reset() { *x = UpgradeResourceState_Response{} - mi := &file_tfplugin6_proto_msgTypes[74] + mi := &file_tfplugin6_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3876,7 +3697,7 @@ func (x *UpgradeResourceState_Response) String() string { func (*UpgradeResourceState_Response) ProtoMessage() {} func (x *UpgradeResourceState_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[74] + mi := &file_tfplugin6_proto_msgTypes[72] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3917,7 +3738,7 @@ type ValidateResourceConfig_Request struct { func (x *ValidateResourceConfig_Request) Reset() { *x = ValidateResourceConfig_Request{} - mi := &file_tfplugin6_proto_msgTypes[75] + mi := &file_tfplugin6_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3929,7 +3750,7 @@ func (x *ValidateResourceConfig_Request) String() string { func (*ValidateResourceConfig_Request) ProtoMessage() {} func (x *ValidateResourceConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[75] + mi := &file_tfplugin6_proto_msgTypes[73] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3975,7 +3796,7 @@ type ValidateResourceConfig_Response struct { func (x *ValidateResourceConfig_Response) Reset() { *x = ValidateResourceConfig_Response{} - mi := &file_tfplugin6_proto_msgTypes[76] + mi := &file_tfplugin6_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3987,7 +3808,7 @@ func (x *ValidateResourceConfig_Response) String() string { func (*ValidateResourceConfig_Response) ProtoMessage() {} func (x *ValidateResourceConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[76] + mi := &file_tfplugin6_proto_msgTypes[74] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4020,7 +3841,7 @@ type ValidateDataResourceConfig_Request struct { func (x *ValidateDataResourceConfig_Request) Reset() { *x = ValidateDataResourceConfig_Request{} - mi := &file_tfplugin6_proto_msgTypes[77] + mi := &file_tfplugin6_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4032,7 +3853,7 @@ func (x *ValidateDataResourceConfig_Request) String() string { func (*ValidateDataResourceConfig_Request) ProtoMessage() {} func (x *ValidateDataResourceConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[77] + mi := &file_tfplugin6_proto_msgTypes[75] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4071,7 +3892,7 @@ type ValidateDataResourceConfig_Response struct { func (x *ValidateDataResourceConfig_Response) Reset() { *x = ValidateDataResourceConfig_Response{} - mi := &file_tfplugin6_proto_msgTypes[78] + mi := &file_tfplugin6_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4083,7 +3904,7 @@ func (x *ValidateDataResourceConfig_Response) String() string { func (*ValidateDataResourceConfig_Response) ProtoMessage() {} func (x *ValidateDataResourceConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[78] + mi := &file_tfplugin6_proto_msgTypes[76] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4117,7 +3938,7 @@ type ConfigureProvider_Request struct { func (x *ConfigureProvider_Request) Reset() { *x = ConfigureProvider_Request{} - mi := &file_tfplugin6_proto_msgTypes[79] + mi := &file_tfplugin6_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4129,7 +3950,7 @@ func (x *ConfigureProvider_Request) String() string { func (*ConfigureProvider_Request) ProtoMessage() {} func (x *ConfigureProvider_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[79] + mi := &file_tfplugin6_proto_msgTypes[77] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4175,7 +3996,7 @@ type ConfigureProvider_Response struct { func (x *ConfigureProvider_Response) Reset() { *x = ConfigureProvider_Response{} - mi := &file_tfplugin6_proto_msgTypes[80] + mi := &file_tfplugin6_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4187,7 +4008,7 @@ func (x *ConfigureProvider_Response) String() string { func (*ConfigureProvider_Response) ProtoMessage() {} func (x *ConfigureProvider_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[80] + mi := &file_tfplugin6_proto_msgTypes[78] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4232,7 +4053,7 @@ type ReadResource_Request struct { func (x *ReadResource_Request) Reset() { *x = ReadResource_Request{} - mi := &file_tfplugin6_proto_msgTypes[81] + mi := &file_tfplugin6_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4244,7 +4065,7 @@ func (x *ReadResource_Request) String() string { func (*ReadResource_Request) ProtoMessage() {} func (x *ReadResource_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[81] + mi := &file_tfplugin6_proto_msgTypes[79] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4317,7 +4138,7 @@ type ReadResource_Response struct { func (x *ReadResource_Response) Reset() { *x = ReadResource_Response{} - mi := &file_tfplugin6_proto_msgTypes[82] + mi := &file_tfplugin6_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4329,7 +4150,7 @@ func (x *ReadResource_Response) String() string { func (*ReadResource_Response) ProtoMessage() {} func (x *ReadResource_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[82] + mi := &file_tfplugin6_proto_msgTypes[80] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4396,7 +4217,7 @@ type PlanResourceChange_Request struct { func (x *PlanResourceChange_Request) Reset() { *x = PlanResourceChange_Request{} - mi := &file_tfplugin6_proto_msgTypes[83] + mi := &file_tfplugin6_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4408,7 +4229,7 @@ func (x *PlanResourceChange_Request) String() string { func (*PlanResourceChange_Request) ProtoMessage() {} func (x *PlanResourceChange_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[83] + mi := &file_tfplugin6_proto_msgTypes[81] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4508,7 +4329,7 @@ type PlanResourceChange_Response struct { func (x *PlanResourceChange_Response) Reset() { *x = PlanResourceChange_Response{} - mi := &file_tfplugin6_proto_msgTypes[84] + mi := &file_tfplugin6_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4520,7 +4341,7 @@ func (x *PlanResourceChange_Response) String() string { func (*PlanResourceChange_Response) ProtoMessage() {} func (x *PlanResourceChange_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[84] + mi := &file_tfplugin6_proto_msgTypes[82] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4600,7 +4421,7 @@ type ApplyResourceChange_Request struct { func (x *ApplyResourceChange_Request) Reset() { *x = ApplyResourceChange_Request{} - mi := &file_tfplugin6_proto_msgTypes[85] + mi := &file_tfplugin6_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4612,7 +4433,7 @@ func (x *ApplyResourceChange_Request) String() string { func (*ApplyResourceChange_Request) ProtoMessage() {} func (x *ApplyResourceChange_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[85] + mi := &file_tfplugin6_proto_msgTypes[83] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4701,7 +4522,7 @@ type ApplyResourceChange_Response struct { func (x *ApplyResourceChange_Response) Reset() { *x = ApplyResourceChange_Response{} - mi := &file_tfplugin6_proto_msgTypes[86] + mi := &file_tfplugin6_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4713,7 +4534,7 @@ func (x *ApplyResourceChange_Response) String() string { func (*ApplyResourceChange_Response) ProtoMessage() {} func (x *ApplyResourceChange_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[86] + mi := &file_tfplugin6_proto_msgTypes[84] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4776,7 +4597,7 @@ type ImportResourceState_Request struct { func (x *ImportResourceState_Request) Reset() { *x = ImportResourceState_Request{} - mi := &file_tfplugin6_proto_msgTypes[87] + mi := &file_tfplugin6_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4788,7 +4609,7 @@ func (x *ImportResourceState_Request) String() string { func (*ImportResourceState_Request) ProtoMessage() {} func (x *ImportResourceState_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[87] + mi := &file_tfplugin6_proto_msgTypes[85] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4844,7 +4665,7 @@ type ImportResourceState_ImportedResource struct { func (x *ImportResourceState_ImportedResource) Reset() { *x = ImportResourceState_ImportedResource{} - mi := &file_tfplugin6_proto_msgTypes[88] + mi := &file_tfplugin6_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4856,7 +4677,7 @@ func (x *ImportResourceState_ImportedResource) String() string { func (*ImportResourceState_ImportedResource) ProtoMessage() {} func (x *ImportResourceState_ImportedResource) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[88] + mi := &file_tfplugin6_proto_msgTypes[86] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4913,7 +4734,7 @@ type ImportResourceState_Response struct { func (x *ImportResourceState_Response) Reset() { *x = ImportResourceState_Response{} - mi := &file_tfplugin6_proto_msgTypes[89] + mi := &file_tfplugin6_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4925,7 +4746,7 @@ func (x *ImportResourceState_Response) String() string { func (*ImportResourceState_Response) ProtoMessage() {} func (x *ImportResourceState_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[89] + mi := &file_tfplugin6_proto_msgTypes[87] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4992,7 +4813,7 @@ type MoveResourceState_Request struct { func (x *MoveResourceState_Request) Reset() { *x = MoveResourceState_Request{} - mi := &file_tfplugin6_proto_msgTypes[90] + mi := &file_tfplugin6_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5004,7 +4825,7 @@ func (x *MoveResourceState_Request) String() string { func (*MoveResourceState_Request) ProtoMessage() {} func (x *MoveResourceState_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[90] + mi := &file_tfplugin6_proto_msgTypes[88] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5091,7 +4912,7 @@ type MoveResourceState_Response struct { func (x *MoveResourceState_Response) Reset() { *x = MoveResourceState_Response{} - mi := &file_tfplugin6_proto_msgTypes[91] + mi := &file_tfplugin6_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5103,7 +4924,7 @@ func (x *MoveResourceState_Response) String() string { func (*MoveResourceState_Response) ProtoMessage() {} func (x *MoveResourceState_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[91] + mi := &file_tfplugin6_proto_msgTypes[89] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5159,7 +4980,7 @@ type ReadDataSource_Request struct { func (x *ReadDataSource_Request) Reset() { *x = ReadDataSource_Request{} - mi := &file_tfplugin6_proto_msgTypes[92] + mi := &file_tfplugin6_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5171,7 +4992,7 @@ func (x *ReadDataSource_Request) String() string { func (*ReadDataSource_Request) ProtoMessage() {} func (x *ReadDataSource_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[92] + mi := &file_tfplugin6_proto_msgTypes[90] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5228,7 +5049,7 @@ type ReadDataSource_Response struct { func (x *ReadDataSource_Response) Reset() { *x = ReadDataSource_Response{} - mi := &file_tfplugin6_proto_msgTypes[93] + mi := &file_tfplugin6_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5240,7 +5061,7 @@ func (x *ReadDataSource_Response) String() string { func (*ReadDataSource_Response) ProtoMessage() {} func (x *ReadDataSource_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[93] + mi := &file_tfplugin6_proto_msgTypes[91] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5285,7 +5106,7 @@ type GetFunctions_Request struct { func (x *GetFunctions_Request) Reset() { *x = GetFunctions_Request{} - mi := &file_tfplugin6_proto_msgTypes[94] + mi := &file_tfplugin6_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5297,7 +5118,7 @@ func (x *GetFunctions_Request) String() string { func (*GetFunctions_Request) ProtoMessage() {} func (x *GetFunctions_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[94] + mi := &file_tfplugin6_proto_msgTypes[92] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5325,7 +5146,7 @@ type GetFunctions_Response struct { func (x *GetFunctions_Response) Reset() { *x = GetFunctions_Response{} - mi := &file_tfplugin6_proto_msgTypes[95] + mi := &file_tfplugin6_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5337,7 +5158,7 @@ func (x *GetFunctions_Response) String() string { func (*GetFunctions_Response) ProtoMessage() {} func (x *GetFunctions_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[95] + mi := &file_tfplugin6_proto_msgTypes[93] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5379,7 +5200,7 @@ type CallFunction_Request struct { func (x *CallFunction_Request) Reset() { *x = CallFunction_Request{} - mi := &file_tfplugin6_proto_msgTypes[97] + mi := &file_tfplugin6_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5391,7 +5212,7 @@ func (x *CallFunction_Request) String() string { func (*CallFunction_Request) ProtoMessage() {} func (x *CallFunction_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[97] + mi := &file_tfplugin6_proto_msgTypes[95] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5433,7 +5254,7 @@ type CallFunction_Response struct { func (x *CallFunction_Response) Reset() { *x = CallFunction_Response{} - mi := &file_tfplugin6_proto_msgTypes[98] + mi := &file_tfplugin6_proto_msgTypes[96] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5445,7 +5266,7 @@ func (x *CallFunction_Response) String() string { func (*CallFunction_Response) ProtoMessage() {} func (x *CallFunction_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[98] + mi := &file_tfplugin6_proto_msgTypes[96] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5485,7 +5306,7 @@ type ValidateEphemeralResourceConfig_Request struct { func (x *ValidateEphemeralResourceConfig_Request) Reset() { *x = ValidateEphemeralResourceConfig_Request{} - mi := &file_tfplugin6_proto_msgTypes[99] + mi := &file_tfplugin6_proto_msgTypes[97] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5497,7 +5318,7 @@ func (x *ValidateEphemeralResourceConfig_Request) String() string { func (*ValidateEphemeralResourceConfig_Request) ProtoMessage() {} func (x *ValidateEphemeralResourceConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[99] + mi := &file_tfplugin6_proto_msgTypes[97] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5536,7 +5357,7 @@ type ValidateEphemeralResourceConfig_Response struct { func (x *ValidateEphemeralResourceConfig_Response) Reset() { *x = ValidateEphemeralResourceConfig_Response{} - mi := &file_tfplugin6_proto_msgTypes[100] + mi := &file_tfplugin6_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5548,7 +5369,7 @@ func (x *ValidateEphemeralResourceConfig_Response) String() string { func (*ValidateEphemeralResourceConfig_Response) ProtoMessage() {} func (x *ValidateEphemeralResourceConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[100] + mi := &file_tfplugin6_proto_msgTypes[98] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5582,7 +5403,7 @@ type OpenEphemeralResource_Request struct { func (x *OpenEphemeralResource_Request) Reset() { *x = OpenEphemeralResource_Request{} - mi := &file_tfplugin6_proto_msgTypes[101] + mi := &file_tfplugin6_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5594,7 +5415,7 @@ func (x *OpenEphemeralResource_Request) String() string { func (*OpenEphemeralResource_Request) ProtoMessage() {} func (x *OpenEphemeralResource_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[101] + mi := &file_tfplugin6_proto_msgTypes[99] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5646,7 +5467,7 @@ type OpenEphemeralResource_Response struct { func (x *OpenEphemeralResource_Response) Reset() { *x = OpenEphemeralResource_Response{} - mi := &file_tfplugin6_proto_msgTypes[102] + mi := &file_tfplugin6_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5658,7 +5479,7 @@ func (x *OpenEphemeralResource_Response) String() string { func (*OpenEphemeralResource_Response) ProtoMessage() {} func (x *OpenEphemeralResource_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[102] + mi := &file_tfplugin6_proto_msgTypes[100] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5719,7 +5540,7 @@ type RenewEphemeralResource_Request struct { func (x *RenewEphemeralResource_Request) Reset() { *x = RenewEphemeralResource_Request{} - mi := &file_tfplugin6_proto_msgTypes[103] + mi := &file_tfplugin6_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5731,7 +5552,7 @@ func (x *RenewEphemeralResource_Request) String() string { func (*RenewEphemeralResource_Request) ProtoMessage() {} func (x *RenewEphemeralResource_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[103] + mi := &file_tfplugin6_proto_msgTypes[101] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5772,7 +5593,7 @@ type RenewEphemeralResource_Response struct { func (x *RenewEphemeralResource_Response) Reset() { *x = RenewEphemeralResource_Response{} - mi := &file_tfplugin6_proto_msgTypes[104] + mi := &file_tfplugin6_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5784,7 +5605,7 @@ func (x *RenewEphemeralResource_Response) String() string { func (*RenewEphemeralResource_Response) ProtoMessage() {} func (x *RenewEphemeralResource_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[104] + mi := &file_tfplugin6_proto_msgTypes[102] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5831,7 +5652,7 @@ type CloseEphemeralResource_Request struct { func (x *CloseEphemeralResource_Request) Reset() { *x = CloseEphemeralResource_Request{} - mi := &file_tfplugin6_proto_msgTypes[105] + mi := &file_tfplugin6_proto_msgTypes[103] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5843,7 +5664,7 @@ func (x *CloseEphemeralResource_Request) String() string { func (*CloseEphemeralResource_Request) ProtoMessage() {} func (x *CloseEphemeralResource_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[105] + mi := &file_tfplugin6_proto_msgTypes[103] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5882,7 +5703,7 @@ type CloseEphemeralResource_Response struct { func (x *CloseEphemeralResource_Response) Reset() { *x = CloseEphemeralResource_Response{} - mi := &file_tfplugin6_proto_msgTypes[106] + mi := &file_tfplugin6_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5894,7 +5715,7 @@ func (x *CloseEphemeralResource_Response) String() string { func (*CloseEphemeralResource_Response) ProtoMessage() {} func (x *CloseEphemeralResource_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[106] + mi := &file_tfplugin6_proto_msgTypes[104] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5925,7 +5746,7 @@ type GetResourceIdentitySchemas_Request struct { func (x *GetResourceIdentitySchemas_Request) Reset() { *x = GetResourceIdentitySchemas_Request{} - mi := &file_tfplugin6_proto_msgTypes[107] + mi := &file_tfplugin6_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5937,7 +5758,7 @@ func (x *GetResourceIdentitySchemas_Request) String() string { func (*GetResourceIdentitySchemas_Request) ProtoMessage() {} func (x *GetResourceIdentitySchemas_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[107] + mi := &file_tfplugin6_proto_msgTypes[105] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5965,7 +5786,7 @@ type GetResourceIdentitySchemas_Response struct { func (x *GetResourceIdentitySchemas_Response) Reset() { *x = GetResourceIdentitySchemas_Response{} - mi := &file_tfplugin6_proto_msgTypes[108] + mi := &file_tfplugin6_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5977,7 +5798,7 @@ func (x *GetResourceIdentitySchemas_Response) String() string { func (*GetResourceIdentitySchemas_Response) ProtoMessage() {} func (x *GetResourceIdentitySchemas_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[108] + mi := &file_tfplugin6_proto_msgTypes[106] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6024,7 +5845,7 @@ type UpgradeResourceIdentity_Request struct { func (x *UpgradeResourceIdentity_Request) Reset() { *x = UpgradeResourceIdentity_Request{} - mi := &file_tfplugin6_proto_msgTypes[110] + mi := &file_tfplugin6_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6036,7 +5857,7 @@ func (x *UpgradeResourceIdentity_Request) String() string { func (*UpgradeResourceIdentity_Request) ProtoMessage() {} func (x *UpgradeResourceIdentity_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[110] + mi := &file_tfplugin6_proto_msgTypes[108] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6085,7 +5906,7 @@ type UpgradeResourceIdentity_Response struct { func (x *UpgradeResourceIdentity_Response) Reset() { *x = UpgradeResourceIdentity_Response{} - mi := &file_tfplugin6_proto_msgTypes[111] + mi := &file_tfplugin6_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6097,7 +5918,7 @@ func (x *UpgradeResourceIdentity_Response) String() string { func (*UpgradeResourceIdentity_Response) ProtoMessage() {} func (x *UpgradeResourceIdentity_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[111] + mi := &file_tfplugin6_proto_msgTypes[109] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6145,7 +5966,7 @@ type ListResource_Request struct { func (x *ListResource_Request) Reset() { *x = ListResource_Request{} - mi := &file_tfplugin6_proto_msgTypes[112] + mi := &file_tfplugin6_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6157,7 +5978,7 @@ func (x *ListResource_Request) String() string { func (*ListResource_Request) ProtoMessage() {} func (x *ListResource_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[112] + mi := &file_tfplugin6_proto_msgTypes[110] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6217,7 +6038,7 @@ type ListResource_Event struct { func (x *ListResource_Event) Reset() { *x = ListResource_Event{} - mi := &file_tfplugin6_proto_msgTypes[113] + mi := &file_tfplugin6_proto_msgTypes[111] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6229,7 +6050,7 @@ func (x *ListResource_Event) String() string { func (*ListResource_Event) ProtoMessage() {} func (x *ListResource_Event) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[113] + mi := &file_tfplugin6_proto_msgTypes[111] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6285,7 +6106,7 @@ type ValidateListResourceConfig_Request struct { func (x *ValidateListResourceConfig_Request) Reset() { *x = ValidateListResourceConfig_Request{} - mi := &file_tfplugin6_proto_msgTypes[114] + mi := &file_tfplugin6_proto_msgTypes[112] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6297,7 +6118,7 @@ func (x *ValidateListResourceConfig_Request) String() string { func (*ValidateListResourceConfig_Request) ProtoMessage() {} func (x *ValidateListResourceConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[114] + mi := &file_tfplugin6_proto_msgTypes[112] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6350,7 +6171,7 @@ type ValidateListResourceConfig_Response struct { func (x *ValidateListResourceConfig_Response) Reset() { *x = ValidateListResourceConfig_Response{} - mi := &file_tfplugin6_proto_msgTypes[115] + mi := &file_tfplugin6_proto_msgTypes[113] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6362,7 +6183,7 @@ func (x *ValidateListResourceConfig_Response) String() string { func (*ValidateListResourceConfig_Response) ProtoMessage() {} func (x *ValidateListResourceConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[115] + mi := &file_tfplugin6_proto_msgTypes[113] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6386,16 +6207,17 @@ func (x *ValidateListResourceConfig_Response) GetDiagnostics() []*Diagnostic { } type ValidateActionConfig_Request struct { - state protoimpl.MessageState `protogen:"open.v1"` - ActionType string `protobuf:"bytes,1,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"` - Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ActionType string `protobuf:"bytes,1,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"` + Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` + LinkedResources []*LinkedResourceConfig `protobuf:"bytes,3,rep,name=linked_resources,json=linkedResources,proto3" json:"linked_resources,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ValidateActionConfig_Request) Reset() { *x = ValidateActionConfig_Request{} - mi := &file_tfplugin6_proto_msgTypes[116] + mi := &file_tfplugin6_proto_msgTypes[114] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6407,7 +6229,7 @@ func (x *ValidateActionConfig_Request) String() string { func (*ValidateActionConfig_Request) ProtoMessage() {} func (x *ValidateActionConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[116] + mi := &file_tfplugin6_proto_msgTypes[114] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6437,6 +6259,13 @@ func (x *ValidateActionConfig_Request) GetConfig() *DynamicValue { return nil } +func (x *ValidateActionConfig_Request) GetLinkedResources() []*LinkedResourceConfig { + if x != nil { + return x.LinkedResources + } + return nil +} + type ValidateActionConfig_Response struct { state protoimpl.MessageState `protogen:"open.v1"` Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` @@ -6446,7 +6275,7 @@ type ValidateActionConfig_Response struct { func (x *ValidateActionConfig_Response) Reset() { *x = ValidateActionConfig_Response{} - mi := &file_tfplugin6_proto_msgTypes[117] + mi := &file_tfplugin6_proto_msgTypes[115] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6458,7 +6287,7 @@ func (x *ValidateActionConfig_Response) String() string { func (*ValidateActionConfig_Response) ProtoMessage() {} func (x *ValidateActionConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[117] + mi := &file_tfplugin6_proto_msgTypes[115] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6494,7 +6323,7 @@ type PlanAction_Request struct { func (x *PlanAction_Request) Reset() { *x = PlanAction_Request{} - mi := &file_tfplugin6_proto_msgTypes[118] + mi := &file_tfplugin6_proto_msgTypes[116] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6506,7 +6335,7 @@ func (x *PlanAction_Request) String() string { func (*PlanAction_Request) ProtoMessage() {} func (x *PlanAction_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[118] + mi := &file_tfplugin6_proto_msgTypes[116] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6519,7 +6348,7 @@ func (x *PlanAction_Request) ProtoReflect() protoreflect.Message { // Deprecated: Use PlanAction_Request.ProtoReflect.Descriptor instead. func (*PlanAction_Request) Descriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{38, 0} + return file_tfplugin6_proto_rawDescGZIP(), []int{39, 0} } func (x *PlanAction_Request) GetActionType() string { @@ -6563,7 +6392,7 @@ type PlanAction_Response struct { func (x *PlanAction_Response) Reset() { *x = PlanAction_Response{} - mi := &file_tfplugin6_proto_msgTypes[119] + mi := &file_tfplugin6_proto_msgTypes[117] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6575,7 +6404,7 @@ func (x *PlanAction_Response) String() string { func (*PlanAction_Response) ProtoMessage() {} func (x *PlanAction_Response) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[119] + mi := &file_tfplugin6_proto_msgTypes[117] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6588,7 +6417,7 @@ func (x *PlanAction_Response) ProtoReflect() protoreflect.Message { // Deprecated: Use PlanAction_Response.ProtoReflect.Descriptor instead. func (*PlanAction_Response) Descriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{38, 1} + return file_tfplugin6_proto_rawDescGZIP(), []int{39, 1} } func (x *PlanAction_Response) GetLinkedResources() []*PlanAction_Response_LinkedResource { @@ -6626,7 +6455,7 @@ type PlanAction_Request_LinkedResource struct { func (x *PlanAction_Request_LinkedResource) Reset() { *x = PlanAction_Request_LinkedResource{} - mi := &file_tfplugin6_proto_msgTypes[120] + mi := &file_tfplugin6_proto_msgTypes[118] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6638,7 +6467,7 @@ func (x *PlanAction_Request_LinkedResource) String() string { func (*PlanAction_Request_LinkedResource) ProtoMessage() {} func (x *PlanAction_Request_LinkedResource) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[120] + mi := &file_tfplugin6_proto_msgTypes[118] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6651,7 +6480,7 @@ func (x *PlanAction_Request_LinkedResource) ProtoReflect() protoreflect.Message // Deprecated: Use PlanAction_Request_LinkedResource.ProtoReflect.Descriptor instead. func (*PlanAction_Request_LinkedResource) Descriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{38, 0, 0} + return file_tfplugin6_proto_rawDescGZIP(), []int{39, 0, 0} } func (x *PlanAction_Request_LinkedResource) GetPriorState() *DynamicValue { @@ -6692,7 +6521,7 @@ type PlanAction_Response_LinkedResource struct { func (x *PlanAction_Response_LinkedResource) Reset() { *x = PlanAction_Response_LinkedResource{} - mi := &file_tfplugin6_proto_msgTypes[121] + mi := &file_tfplugin6_proto_msgTypes[119] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6704,7 +6533,7 @@ func (x *PlanAction_Response_LinkedResource) String() string { func (*PlanAction_Response_LinkedResource) ProtoMessage() {} func (x *PlanAction_Response_LinkedResource) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[121] + mi := &file_tfplugin6_proto_msgTypes[119] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6717,7 +6546,7 @@ func (x *PlanAction_Response_LinkedResource) ProtoReflect() protoreflect.Message // Deprecated: Use PlanAction_Response_LinkedResource.ProtoReflect.Descriptor instead. func (*PlanAction_Response_LinkedResource) Descriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{38, 1, 0} + return file_tfplugin6_proto_rawDescGZIP(), []int{39, 1, 0} } func (x *PlanAction_Response_LinkedResource) GetPlannedState() *DynamicValue { @@ -6746,7 +6575,7 @@ type InvokeAction_Request struct { func (x *InvokeAction_Request) Reset() { *x = InvokeAction_Request{} - mi := &file_tfplugin6_proto_msgTypes[122] + mi := &file_tfplugin6_proto_msgTypes[120] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6758,7 +6587,7 @@ func (x *InvokeAction_Request) String() string { func (*InvokeAction_Request) ProtoMessage() {} func (x *InvokeAction_Request) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[122] + mi := &file_tfplugin6_proto_msgTypes[120] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6771,7 +6600,7 @@ func (x *InvokeAction_Request) ProtoReflect() protoreflect.Message { // Deprecated: Use InvokeAction_Request.ProtoReflect.Descriptor instead. func (*InvokeAction_Request) Descriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{39, 0} + return file_tfplugin6_proto_rawDescGZIP(), []int{40, 0} } func (x *InvokeAction_Request) GetActionType() string { @@ -6808,7 +6637,7 @@ type InvokeAction_Event struct { func (x *InvokeAction_Event) Reset() { *x = InvokeAction_Event{} - mi := &file_tfplugin6_proto_msgTypes[123] + mi := &file_tfplugin6_proto_msgTypes[121] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6820,7 +6649,7 @@ func (x *InvokeAction_Event) String() string { func (*InvokeAction_Event) ProtoMessage() {} func (x *InvokeAction_Event) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[123] + mi := &file_tfplugin6_proto_msgTypes[121] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6833,7 +6662,7 @@ func (x *InvokeAction_Event) ProtoReflect() protoreflect.Message { // Deprecated: Use InvokeAction_Event.ProtoReflect.Descriptor instead. func (*InvokeAction_Event) Descriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{39, 1} + return file_tfplugin6_proto_rawDescGZIP(), []int{40, 1} } func (x *InvokeAction_Event) GetType() isInvokeAction_Event_Type { @@ -6891,7 +6720,7 @@ type InvokeAction_Request_LinkedResource struct { func (x *InvokeAction_Request_LinkedResource) Reset() { *x = InvokeAction_Request_LinkedResource{} - mi := &file_tfplugin6_proto_msgTypes[124] + mi := &file_tfplugin6_proto_msgTypes[122] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6903,7 +6732,7 @@ func (x *InvokeAction_Request_LinkedResource) String() string { func (*InvokeAction_Request_LinkedResource) ProtoMessage() {} func (x *InvokeAction_Request_LinkedResource) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[124] + mi := &file_tfplugin6_proto_msgTypes[122] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6916,7 +6745,7 @@ func (x *InvokeAction_Request_LinkedResource) ProtoReflect() protoreflect.Messag // Deprecated: Use InvokeAction_Request_LinkedResource.ProtoReflect.Descriptor instead. func (*InvokeAction_Request_LinkedResource) Descriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{39, 0, 0} + return file_tfplugin6_proto_rawDescGZIP(), []int{40, 0, 0} } func (x *InvokeAction_Request_LinkedResource) GetPriorState() *DynamicValue { @@ -6957,7 +6786,7 @@ type InvokeAction_Event_Progress struct { func (x *InvokeAction_Event_Progress) Reset() { *x = InvokeAction_Event_Progress{} - mi := &file_tfplugin6_proto_msgTypes[125] + mi := &file_tfplugin6_proto_msgTypes[123] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6969,7 +6798,7 @@ func (x *InvokeAction_Event_Progress) String() string { func (*InvokeAction_Event_Progress) ProtoMessage() {} func (x *InvokeAction_Event_Progress) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[125] + mi := &file_tfplugin6_proto_msgTypes[123] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6982,7 +6811,7 @@ func (x *InvokeAction_Event_Progress) ProtoReflect() protoreflect.Message { // Deprecated: Use InvokeAction_Event_Progress.ProtoReflect.Descriptor instead. func (*InvokeAction_Event_Progress) Descriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{39, 1, 0} + return file_tfplugin6_proto_rawDescGZIP(), []int{40, 1, 0} } func (x *InvokeAction_Event_Progress) GetMessage() string { @@ -7003,7 +6832,7 @@ type InvokeAction_Event_Completed struct { func (x *InvokeAction_Event_Completed) Reset() { *x = InvokeAction_Event_Completed{} - mi := &file_tfplugin6_proto_msgTypes[126] + mi := &file_tfplugin6_proto_msgTypes[124] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7015,7 +6844,7 @@ func (x *InvokeAction_Event_Completed) String() string { func (*InvokeAction_Event_Completed) ProtoMessage() {} func (x *InvokeAction_Event_Completed) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[126] + mi := &file_tfplugin6_proto_msgTypes[124] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7028,7 +6857,7 @@ func (x *InvokeAction_Event_Completed) ProtoReflect() protoreflect.Message { // Deprecated: Use InvokeAction_Event_Completed.ProtoReflect.Descriptor instead. func (*InvokeAction_Event_Completed) Descriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{39, 1, 1} + return file_tfplugin6_proto_rawDescGZIP(), []int{40, 1, 1} } func (x *InvokeAction_Event_Completed) GetLinkedResources() []*InvokeAction_Event_Completed_LinkedResource { @@ -7057,7 +6886,7 @@ type InvokeAction_Event_Completed_LinkedResource struct { func (x *InvokeAction_Event_Completed_LinkedResource) Reset() { *x = InvokeAction_Event_Completed_LinkedResource{} - mi := &file_tfplugin6_proto_msgTypes[127] + mi := &file_tfplugin6_proto_msgTypes[125] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7069,7 +6898,7 @@ func (x *InvokeAction_Event_Completed_LinkedResource) String() string { func (*InvokeAction_Event_Completed_LinkedResource) ProtoMessage() {} func (x *InvokeAction_Event_Completed_LinkedResource) ProtoReflect() protoreflect.Message { - mi := &file_tfplugin6_proto_msgTypes[127] + mi := &file_tfplugin6_proto_msgTypes[125] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7082,7 +6911,7 @@ func (x *InvokeAction_Event_Completed_LinkedResource) ProtoReflect() protoreflec // Deprecated: Use InvokeAction_Event_Completed_LinkedResource.ProtoReflect.Descriptor instead. func (*InvokeAction_Event_Completed_LinkedResource) Descriptor() ([]byte, []int) { - return file_tfplugin6_proto_rawDescGZIP(), []int{39, 1, 1, 0} + return file_tfplugin6_proto_rawDescGZIP(), []int{40, 1, 1, 0} } func (x *InvokeAction_Event_Completed_LinkedResource) GetNewState() *DynamicValue { @@ -7236,27 +7065,12 @@ const file_tfplugin6_proto_rawDesc = "" + "\vdescription\x18\x05 \x01(\tR\vdescription\x12@\n" + "\x10description_kind\x18\x06 \x01(\x0e2\x15.tfplugin6.StringKindR\x0fdescriptionKind\x1a\x1c\n" + "\x06Return\x12\x12\n" + - "\x04type\x18\x01 \x01(\fR\x04type\"\x9b\x05\n" + + "\x04type\x18\x01 \x01(\fR\x04type\"\x8d\x01\n" + "\fActionSchema\x12)\n" + "\x06schema\x18\x01 \x01(\v2\x11.tfplugin6.SchemaR\x06schema\x12>\n" + - "\bunlinked\x18\x02 \x01(\v2 .tfplugin6.ActionSchema.UnlinkedH\x00R\bunlinked\x12A\n" + - "\tlifecycle\x18\x03 \x01(\v2!.tfplugin6.ActionSchema.LifecycleH\x00R\tlifecycle\x128\n" + - "\x06linked\x18\x04 \x01(\v2\x1e.tfplugin6.ActionSchema.LinkedH\x00R\x06linked\x1aO\n" + - "\x0eLinkedResource\x12\x1b\n" + - "\ttype_name\x18\x01 \x01(\tR\btypeName\x12 \n" + - "\vdescription\x18\x02 \x01(\tR\vdescription\x1a\n" + + "\bunlinked\x18\x02 \x01(\v2 .tfplugin6.ActionSchema.UnlinkedH\x00R\bunlinked\x1a\n" + "\n" + - "\bUnlinked\x1a\xe0\x01\n" + - "\tLifecycle\x12L\n" + - "\bexecutes\x18\x01 \x01(\x0e20.tfplugin6.ActionSchema.Lifecycle.ExecutionOrderR\bexecutes\x12O\n" + - "\x0flinked_resource\x18\x02 \x01(\v2&.tfplugin6.ActionSchema.LinkedResourceR\x0elinkedResource\"4\n" + - "\x0eExecutionOrder\x12\v\n" + - "\aINVALID\x10\x00\x12\n" + - "\n" + - "\x06BEFORE\x10\x01\x12\t\n" + - "\x05AFTER\x10\x02\x1a[\n" + - "\x06Linked\x12Q\n" + - "\x10linked_resources\x18\x01 \x03(\v2&.tfplugin6.ActionSchema.LinkedResourceR\x0flinkedResourcesB\x06\n" + + "\bUnlinkedB\x06\n" + "\x04type\"\xa8\x01\n" + "\x12ServerCapabilities\x12!\n" + "\fplan_destroy\x18\x01 \x01(\bR\vplanDestroy\x12?\n" + @@ -7271,9 +7085,9 @@ const file_tfplugin6_proto_rawDesc = "" + "\aUNKNOWN\x10\x00\x12\x1b\n" + "\x17RESOURCE_CONFIG_UNKNOWN\x10\x01\x12\x1b\n" + "\x17PROVIDER_CONFIG_UNKNOWN\x10\x02\x12\x11\n" + - "\rABSENT_PREREQ\x10\x03\"\xac\a\n" + + "\rABSENT_PREREQ\x10\x03\"\xb2\a\n" + "\vGetMetadata\x1a\t\n" + - "\aRequest\x1a\xe7\x04\n" + + "\aRequest\x1a\xed\x04\n" + "\bResponse\x12N\n" + "\x13server_capabilities\x18\x01 \x01(\v2\x1d.tfplugin6.ServerCapabilitiesR\x12serverCapabilities\x127\n" + "\vdiagnostics\x18\x02 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\x12L\n" + @@ -7282,7 +7096,7 @@ const file_tfplugin6_proto_rawDesc = "" + "\tfunctions\x18\x05 \x03(\v2'.tfplugin6.GetMetadata.FunctionMetadataR\tfunctions\x12a\n" + "\x13ephemeral_resources\x18\x06 \x03(\v20.tfplugin6.GetMetadata.EphemeralResourceMetadataR\x12ephemeralResources\x12R\n" + "\x0elist_resources\x18\a \x03(\v2+.tfplugin6.GetMetadata.ListResourceMetadataR\rlistResources\x12?\n" + - "\aactions\x18\t \x03(\v2%.tfplugin6.GetMetadata.ActionMetadataR\aactions\x1a&\n" + + "\aactions\x18\t \x03(\v2%.tfplugin6.GetMetadata.ActionMetadataR\aactionsJ\x04\b\b\x10\t\x1a&\n" + "\x10FunctionMetadata\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x1a1\n" + "\x12DataSourceMetadata\x12\x1b\n" + @@ -7294,9 +7108,9 @@ const file_tfplugin6_proto_rawDesc = "" + "\x14ListResourceMetadata\x12\x1b\n" + "\ttype_name\x18\x01 \x01(\tR\btypeName\x1a-\n" + "\x0eActionMetadata\x12\x1b\n" + - "\ttype_name\x18\x01 \x01(\tR\btypeName\"\xb6\v\n" + + "\ttype_name\x18\x01 \x01(\tR\btypeName\"\xbc\v\n" + "\x11GetProviderSchema\x1a\t\n" + - "\aRequest\x1a\x95\v\n" + + "\aRequest\x1a\x9b\v\n" + "\bResponse\x12-\n" + "\bprovider\x18\x01 \x01(\v2\x11.tfplugin6.SchemaR\bprovider\x12e\n" + "\x10resource_schemas\x18\x02 \x03(\v2:.tfplugin6.GetProviderSchema.Response.ResourceSchemasEntryR\x0fresourceSchemas\x12l\n" + @@ -7325,7 +7139,8 @@ const file_tfplugin6_proto_rawDesc = "" + "\x05value\x18\x02 \x01(\v2\x11.tfplugin6.SchemaR\x05value:\x028\x01\x1aY\n" + "\x12ActionSchemasEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12-\n" + - "\x05value\x18\x02 \x01(\v2\x17.tfplugin6.ActionSchemaR\x05value:\x028\x01\"\x99\x01\n" + + "\x05value\x18\x02 \x01(\v2\x17.tfplugin6.ActionSchemaR\x05value:\x028\x01J\x04\b\n" + + "\x10\v\"\x99\x01\n" + "\x16ValidateProviderConfig\x1a:\n" + "\aRequest\x12/\n" + "\x06config\x18\x01 \x01(\v2\x17.tfplugin6.DynamicValueR\x06config\x1aC\n" + @@ -7541,14 +7356,18 @@ const file_tfplugin6_proto_rawDesc = "" + "\x17include_resource_object\x18\x03 \x01(\v2\x17.tfplugin6.DynamicValueR\x15includeResourceObject\x12-\n" + "\x05limit\x18\x04 \x01(\v2\x17.tfplugin6.DynamicValueR\x05limit\x1aC\n" + "\bResponse\x127\n" + - "\vdiagnostics\x18\x01 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\"\xb8\x01\n" + - "\x14ValidateActionConfig\x1a[\n" + + "\vdiagnostics\x18\x01 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\"\x85\x02\n" + + "\x14ValidateActionConfig\x1a\xa7\x01\n" + "\aRequest\x12\x1f\n" + "\vaction_type\x18\x01 \x01(\tR\n" + "actionType\x12/\n" + - "\x06config\x18\x02 \x01(\v2\x17.tfplugin6.DynamicValueR\x06config\x1aC\n" + + "\x06config\x18\x02 \x01(\v2\x17.tfplugin6.DynamicValueR\x06config\x12J\n" + + "\x10linked_resources\x18\x03 \x03(\v2\x1f.tfplugin6.LinkedResourceConfigR\x0flinkedResources\x1aC\n" + "\bResponse\x127\n" + - "\vdiagnostics\x18\x01 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\"\x85\a\n" + + "\vdiagnostics\x18\x01 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\"d\n" + + "\x14LinkedResourceConfig\x12\x1b\n" + + "\ttype_name\x18\x01 \x01(\tR\btypeName\x12/\n" + + "\x06config\x18\x02 \x01(\v2\x17.tfplugin6.DynamicValueR\x06config\"\x85\a\n" + "\n" + "PlanAction\x1a\x88\x04\n" + "\aRequest\x12\x1f\n" + @@ -7641,53 +7460,53 @@ func file_tfplugin6_proto_rawDescGZIP() []byte { return file_tfplugin6_proto_rawDescData } -var file_tfplugin6_proto_enumTypes = make([]protoimpl.EnumInfo, 6) -var file_tfplugin6_proto_msgTypes = make([]protoimpl.MessageInfo, 128) +var file_tfplugin6_proto_enumTypes = make([]protoimpl.EnumInfo, 5) +var file_tfplugin6_proto_msgTypes = make([]protoimpl.MessageInfo, 126) var file_tfplugin6_proto_goTypes = []any{ (StringKind)(0), // 0: tfplugin6.StringKind (Diagnostic_Severity)(0), // 1: tfplugin6.Diagnostic.Severity (Schema_NestedBlock_NestingMode)(0), // 2: tfplugin6.Schema.NestedBlock.NestingMode (Schema_Object_NestingMode)(0), // 3: tfplugin6.Schema.Object.NestingMode - (ActionSchema_Lifecycle_ExecutionOrder)(0), // 4: tfplugin6.ActionSchema.Lifecycle.ExecutionOrder - (Deferred_Reason)(0), // 5: tfplugin6.Deferred.Reason - (*DynamicValue)(nil), // 6: tfplugin6.DynamicValue - (*Diagnostic)(nil), // 7: tfplugin6.Diagnostic - (*FunctionError)(nil), // 8: tfplugin6.FunctionError - (*AttributePath)(nil), // 9: tfplugin6.AttributePath - (*StopProvider)(nil), // 10: tfplugin6.StopProvider - (*RawState)(nil), // 11: tfplugin6.RawState - (*Schema)(nil), // 12: tfplugin6.Schema - (*ResourceIdentitySchema)(nil), // 13: tfplugin6.ResourceIdentitySchema - (*ResourceIdentityData)(nil), // 14: tfplugin6.ResourceIdentityData - (*Function)(nil), // 15: tfplugin6.Function - (*ActionSchema)(nil), // 16: tfplugin6.ActionSchema - (*ServerCapabilities)(nil), // 17: tfplugin6.ServerCapabilities - (*ClientCapabilities)(nil), // 18: tfplugin6.ClientCapabilities - (*Deferred)(nil), // 19: tfplugin6.Deferred - (*GetMetadata)(nil), // 20: tfplugin6.GetMetadata - (*GetProviderSchema)(nil), // 21: tfplugin6.GetProviderSchema - (*ValidateProviderConfig)(nil), // 22: tfplugin6.ValidateProviderConfig - (*UpgradeResourceState)(nil), // 23: tfplugin6.UpgradeResourceState - (*ValidateResourceConfig)(nil), // 24: tfplugin6.ValidateResourceConfig - (*ValidateDataResourceConfig)(nil), // 25: tfplugin6.ValidateDataResourceConfig - (*ConfigureProvider)(nil), // 26: tfplugin6.ConfigureProvider - (*ReadResource)(nil), // 27: tfplugin6.ReadResource - (*PlanResourceChange)(nil), // 28: tfplugin6.PlanResourceChange - (*ApplyResourceChange)(nil), // 29: tfplugin6.ApplyResourceChange - (*ImportResourceState)(nil), // 30: tfplugin6.ImportResourceState - (*MoveResourceState)(nil), // 31: tfplugin6.MoveResourceState - (*ReadDataSource)(nil), // 32: tfplugin6.ReadDataSource - (*GetFunctions)(nil), // 33: tfplugin6.GetFunctions - (*CallFunction)(nil), // 34: tfplugin6.CallFunction - (*ValidateEphemeralResourceConfig)(nil), // 35: tfplugin6.ValidateEphemeralResourceConfig - (*OpenEphemeralResource)(nil), // 36: tfplugin6.OpenEphemeralResource - (*RenewEphemeralResource)(nil), // 37: tfplugin6.RenewEphemeralResource - (*CloseEphemeralResource)(nil), // 38: tfplugin6.CloseEphemeralResource - (*GetResourceIdentitySchemas)(nil), // 39: tfplugin6.GetResourceIdentitySchemas - (*UpgradeResourceIdentity)(nil), // 40: tfplugin6.UpgradeResourceIdentity - (*ListResource)(nil), // 41: tfplugin6.ListResource - (*ValidateListResourceConfig)(nil), // 42: tfplugin6.ValidateListResourceConfig - (*ValidateActionConfig)(nil), // 43: tfplugin6.ValidateActionConfig + (Deferred_Reason)(0), // 4: tfplugin6.Deferred.Reason + (*DynamicValue)(nil), // 5: tfplugin6.DynamicValue + (*Diagnostic)(nil), // 6: tfplugin6.Diagnostic + (*FunctionError)(nil), // 7: tfplugin6.FunctionError + (*AttributePath)(nil), // 8: tfplugin6.AttributePath + (*StopProvider)(nil), // 9: tfplugin6.StopProvider + (*RawState)(nil), // 10: tfplugin6.RawState + (*Schema)(nil), // 11: tfplugin6.Schema + (*ResourceIdentitySchema)(nil), // 12: tfplugin6.ResourceIdentitySchema + (*ResourceIdentityData)(nil), // 13: tfplugin6.ResourceIdentityData + (*Function)(nil), // 14: tfplugin6.Function + (*ActionSchema)(nil), // 15: tfplugin6.ActionSchema + (*ServerCapabilities)(nil), // 16: tfplugin6.ServerCapabilities + (*ClientCapabilities)(nil), // 17: tfplugin6.ClientCapabilities + (*Deferred)(nil), // 18: tfplugin6.Deferred + (*GetMetadata)(nil), // 19: tfplugin6.GetMetadata + (*GetProviderSchema)(nil), // 20: tfplugin6.GetProviderSchema + (*ValidateProviderConfig)(nil), // 21: tfplugin6.ValidateProviderConfig + (*UpgradeResourceState)(nil), // 22: tfplugin6.UpgradeResourceState + (*ValidateResourceConfig)(nil), // 23: tfplugin6.ValidateResourceConfig + (*ValidateDataResourceConfig)(nil), // 24: tfplugin6.ValidateDataResourceConfig + (*ConfigureProvider)(nil), // 25: tfplugin6.ConfigureProvider + (*ReadResource)(nil), // 26: tfplugin6.ReadResource + (*PlanResourceChange)(nil), // 27: tfplugin6.PlanResourceChange + (*ApplyResourceChange)(nil), // 28: tfplugin6.ApplyResourceChange + (*ImportResourceState)(nil), // 29: tfplugin6.ImportResourceState + (*MoveResourceState)(nil), // 30: tfplugin6.MoveResourceState + (*ReadDataSource)(nil), // 31: tfplugin6.ReadDataSource + (*GetFunctions)(nil), // 32: tfplugin6.GetFunctions + (*CallFunction)(nil), // 33: tfplugin6.CallFunction + (*ValidateEphemeralResourceConfig)(nil), // 34: tfplugin6.ValidateEphemeralResourceConfig + (*OpenEphemeralResource)(nil), // 35: tfplugin6.OpenEphemeralResource + (*RenewEphemeralResource)(nil), // 36: tfplugin6.RenewEphemeralResource + (*CloseEphemeralResource)(nil), // 37: tfplugin6.CloseEphemeralResource + (*GetResourceIdentitySchemas)(nil), // 38: tfplugin6.GetResourceIdentitySchemas + (*UpgradeResourceIdentity)(nil), // 39: tfplugin6.UpgradeResourceIdentity + (*ListResource)(nil), // 40: tfplugin6.ListResource + (*ValidateListResourceConfig)(nil), // 41: tfplugin6.ValidateListResourceConfig + (*ValidateActionConfig)(nil), // 42: tfplugin6.ValidateActionConfig + (*LinkedResourceConfig)(nil), // 43: tfplugin6.LinkedResourceConfig (*PlanAction)(nil), // 44: tfplugin6.PlanAction (*InvokeAction)(nil), // 45: tfplugin6.InvokeAction (*AttributePath_Step)(nil), // 46: tfplugin6.AttributePath.Step @@ -7701,313 +7520,307 @@ var file_tfplugin6_proto_goTypes = []any{ (*ResourceIdentitySchema_IdentityAttribute)(nil), // 54: tfplugin6.ResourceIdentitySchema.IdentityAttribute (*Function_Parameter)(nil), // 55: tfplugin6.Function.Parameter (*Function_Return)(nil), // 56: tfplugin6.Function.Return - (*ActionSchema_LinkedResource)(nil), // 57: tfplugin6.ActionSchema.LinkedResource - (*ActionSchema_Unlinked)(nil), // 58: tfplugin6.ActionSchema.Unlinked - (*ActionSchema_Lifecycle)(nil), // 59: tfplugin6.ActionSchema.Lifecycle - (*ActionSchema_Linked)(nil), // 60: tfplugin6.ActionSchema.Linked - (*GetMetadata_Request)(nil), // 61: tfplugin6.GetMetadata.Request - (*GetMetadata_Response)(nil), // 62: tfplugin6.GetMetadata.Response - (*GetMetadata_FunctionMetadata)(nil), // 63: tfplugin6.GetMetadata.FunctionMetadata - (*GetMetadata_DataSourceMetadata)(nil), // 64: tfplugin6.GetMetadata.DataSourceMetadata - (*GetMetadata_ResourceMetadata)(nil), // 65: tfplugin6.GetMetadata.ResourceMetadata - (*GetMetadata_EphemeralResourceMetadata)(nil), // 66: tfplugin6.GetMetadata.EphemeralResourceMetadata - (*GetMetadata_ListResourceMetadata)(nil), // 67: tfplugin6.GetMetadata.ListResourceMetadata - (*GetMetadata_ActionMetadata)(nil), // 68: tfplugin6.GetMetadata.ActionMetadata - (*GetProviderSchema_Request)(nil), // 69: tfplugin6.GetProviderSchema.Request - (*GetProviderSchema_Response)(nil), // 70: tfplugin6.GetProviderSchema.Response - nil, // 71: tfplugin6.GetProviderSchema.Response.ResourceSchemasEntry - nil, // 72: tfplugin6.GetProviderSchema.Response.DataSourceSchemasEntry - nil, // 73: tfplugin6.GetProviderSchema.Response.FunctionsEntry - nil, // 74: tfplugin6.GetProviderSchema.Response.EphemeralResourceSchemasEntry - nil, // 75: tfplugin6.GetProviderSchema.Response.ListResourceSchemasEntry - nil, // 76: tfplugin6.GetProviderSchema.Response.ActionSchemasEntry - (*ValidateProviderConfig_Request)(nil), // 77: tfplugin6.ValidateProviderConfig.Request - (*ValidateProviderConfig_Response)(nil), // 78: tfplugin6.ValidateProviderConfig.Response - (*UpgradeResourceState_Request)(nil), // 79: tfplugin6.UpgradeResourceState.Request - (*UpgradeResourceState_Response)(nil), // 80: tfplugin6.UpgradeResourceState.Response - (*ValidateResourceConfig_Request)(nil), // 81: tfplugin6.ValidateResourceConfig.Request - (*ValidateResourceConfig_Response)(nil), // 82: tfplugin6.ValidateResourceConfig.Response - (*ValidateDataResourceConfig_Request)(nil), // 83: tfplugin6.ValidateDataResourceConfig.Request - (*ValidateDataResourceConfig_Response)(nil), // 84: tfplugin6.ValidateDataResourceConfig.Response - (*ConfigureProvider_Request)(nil), // 85: tfplugin6.ConfigureProvider.Request - (*ConfigureProvider_Response)(nil), // 86: tfplugin6.ConfigureProvider.Response - (*ReadResource_Request)(nil), // 87: tfplugin6.ReadResource.Request - (*ReadResource_Response)(nil), // 88: tfplugin6.ReadResource.Response - (*PlanResourceChange_Request)(nil), // 89: tfplugin6.PlanResourceChange.Request - (*PlanResourceChange_Response)(nil), // 90: tfplugin6.PlanResourceChange.Response - (*ApplyResourceChange_Request)(nil), // 91: tfplugin6.ApplyResourceChange.Request - (*ApplyResourceChange_Response)(nil), // 92: tfplugin6.ApplyResourceChange.Response - (*ImportResourceState_Request)(nil), // 93: tfplugin6.ImportResourceState.Request - (*ImportResourceState_ImportedResource)(nil), // 94: tfplugin6.ImportResourceState.ImportedResource - (*ImportResourceState_Response)(nil), // 95: tfplugin6.ImportResourceState.Response - (*MoveResourceState_Request)(nil), // 96: tfplugin6.MoveResourceState.Request - (*MoveResourceState_Response)(nil), // 97: tfplugin6.MoveResourceState.Response - (*ReadDataSource_Request)(nil), // 98: tfplugin6.ReadDataSource.Request - (*ReadDataSource_Response)(nil), // 99: tfplugin6.ReadDataSource.Response - (*GetFunctions_Request)(nil), // 100: tfplugin6.GetFunctions.Request - (*GetFunctions_Response)(nil), // 101: tfplugin6.GetFunctions.Response - nil, // 102: tfplugin6.GetFunctions.Response.FunctionsEntry - (*CallFunction_Request)(nil), // 103: tfplugin6.CallFunction.Request - (*CallFunction_Response)(nil), // 104: tfplugin6.CallFunction.Response - (*ValidateEphemeralResourceConfig_Request)(nil), // 105: tfplugin6.ValidateEphemeralResourceConfig.Request - (*ValidateEphemeralResourceConfig_Response)(nil), // 106: tfplugin6.ValidateEphemeralResourceConfig.Response - (*OpenEphemeralResource_Request)(nil), // 107: tfplugin6.OpenEphemeralResource.Request - (*OpenEphemeralResource_Response)(nil), // 108: tfplugin6.OpenEphemeralResource.Response - (*RenewEphemeralResource_Request)(nil), // 109: tfplugin6.RenewEphemeralResource.Request - (*RenewEphemeralResource_Response)(nil), // 110: tfplugin6.RenewEphemeralResource.Response - (*CloseEphemeralResource_Request)(nil), // 111: tfplugin6.CloseEphemeralResource.Request - (*CloseEphemeralResource_Response)(nil), // 112: tfplugin6.CloseEphemeralResource.Response - (*GetResourceIdentitySchemas_Request)(nil), // 113: tfplugin6.GetResourceIdentitySchemas.Request - (*GetResourceIdentitySchemas_Response)(nil), // 114: tfplugin6.GetResourceIdentitySchemas.Response - nil, // 115: tfplugin6.GetResourceIdentitySchemas.Response.IdentitySchemasEntry - (*UpgradeResourceIdentity_Request)(nil), // 116: tfplugin6.UpgradeResourceIdentity.Request - (*UpgradeResourceIdentity_Response)(nil), // 117: tfplugin6.UpgradeResourceIdentity.Response - (*ListResource_Request)(nil), // 118: tfplugin6.ListResource.Request - (*ListResource_Event)(nil), // 119: tfplugin6.ListResource.Event - (*ValidateListResourceConfig_Request)(nil), // 120: tfplugin6.ValidateListResourceConfig.Request - (*ValidateListResourceConfig_Response)(nil), // 121: tfplugin6.ValidateListResourceConfig.Response - (*ValidateActionConfig_Request)(nil), // 122: tfplugin6.ValidateActionConfig.Request - (*ValidateActionConfig_Response)(nil), // 123: tfplugin6.ValidateActionConfig.Response - (*PlanAction_Request)(nil), // 124: tfplugin6.PlanAction.Request - (*PlanAction_Response)(nil), // 125: tfplugin6.PlanAction.Response - (*PlanAction_Request_LinkedResource)(nil), // 126: tfplugin6.PlanAction.Request.LinkedResource - (*PlanAction_Response_LinkedResource)(nil), // 127: tfplugin6.PlanAction.Response.LinkedResource - (*InvokeAction_Request)(nil), // 128: tfplugin6.InvokeAction.Request - (*InvokeAction_Event)(nil), // 129: tfplugin6.InvokeAction.Event - (*InvokeAction_Request_LinkedResource)(nil), // 130: tfplugin6.InvokeAction.Request.LinkedResource - (*InvokeAction_Event_Progress)(nil), // 131: tfplugin6.InvokeAction.Event.Progress - (*InvokeAction_Event_Completed)(nil), // 132: tfplugin6.InvokeAction.Event.Completed - (*InvokeAction_Event_Completed_LinkedResource)(nil), // 133: tfplugin6.InvokeAction.Event.Completed.LinkedResource - (*timestamppb.Timestamp)(nil), // 134: google.protobuf.Timestamp + (*ActionSchema_Unlinked)(nil), // 57: tfplugin6.ActionSchema.Unlinked + (*GetMetadata_Request)(nil), // 58: tfplugin6.GetMetadata.Request + (*GetMetadata_Response)(nil), // 59: tfplugin6.GetMetadata.Response + (*GetMetadata_FunctionMetadata)(nil), // 60: tfplugin6.GetMetadata.FunctionMetadata + (*GetMetadata_DataSourceMetadata)(nil), // 61: tfplugin6.GetMetadata.DataSourceMetadata + (*GetMetadata_ResourceMetadata)(nil), // 62: tfplugin6.GetMetadata.ResourceMetadata + (*GetMetadata_EphemeralResourceMetadata)(nil), // 63: tfplugin6.GetMetadata.EphemeralResourceMetadata + (*GetMetadata_ListResourceMetadata)(nil), // 64: tfplugin6.GetMetadata.ListResourceMetadata + (*GetMetadata_ActionMetadata)(nil), // 65: tfplugin6.GetMetadata.ActionMetadata + (*GetProviderSchema_Request)(nil), // 66: tfplugin6.GetProviderSchema.Request + (*GetProviderSchema_Response)(nil), // 67: tfplugin6.GetProviderSchema.Response + nil, // 68: tfplugin6.GetProviderSchema.Response.ResourceSchemasEntry + nil, // 69: tfplugin6.GetProviderSchema.Response.DataSourceSchemasEntry + nil, // 70: tfplugin6.GetProviderSchema.Response.FunctionsEntry + nil, // 71: tfplugin6.GetProviderSchema.Response.EphemeralResourceSchemasEntry + nil, // 72: tfplugin6.GetProviderSchema.Response.ListResourceSchemasEntry + nil, // 73: tfplugin6.GetProviderSchema.Response.ActionSchemasEntry + (*ValidateProviderConfig_Request)(nil), // 74: tfplugin6.ValidateProviderConfig.Request + (*ValidateProviderConfig_Response)(nil), // 75: tfplugin6.ValidateProviderConfig.Response + (*UpgradeResourceState_Request)(nil), // 76: tfplugin6.UpgradeResourceState.Request + (*UpgradeResourceState_Response)(nil), // 77: tfplugin6.UpgradeResourceState.Response + (*ValidateResourceConfig_Request)(nil), // 78: tfplugin6.ValidateResourceConfig.Request + (*ValidateResourceConfig_Response)(nil), // 79: tfplugin6.ValidateResourceConfig.Response + (*ValidateDataResourceConfig_Request)(nil), // 80: tfplugin6.ValidateDataResourceConfig.Request + (*ValidateDataResourceConfig_Response)(nil), // 81: tfplugin6.ValidateDataResourceConfig.Response + (*ConfigureProvider_Request)(nil), // 82: tfplugin6.ConfigureProvider.Request + (*ConfigureProvider_Response)(nil), // 83: tfplugin6.ConfigureProvider.Response + (*ReadResource_Request)(nil), // 84: tfplugin6.ReadResource.Request + (*ReadResource_Response)(nil), // 85: tfplugin6.ReadResource.Response + (*PlanResourceChange_Request)(nil), // 86: tfplugin6.PlanResourceChange.Request + (*PlanResourceChange_Response)(nil), // 87: tfplugin6.PlanResourceChange.Response + (*ApplyResourceChange_Request)(nil), // 88: tfplugin6.ApplyResourceChange.Request + (*ApplyResourceChange_Response)(nil), // 89: tfplugin6.ApplyResourceChange.Response + (*ImportResourceState_Request)(nil), // 90: tfplugin6.ImportResourceState.Request + (*ImportResourceState_ImportedResource)(nil), // 91: tfplugin6.ImportResourceState.ImportedResource + (*ImportResourceState_Response)(nil), // 92: tfplugin6.ImportResourceState.Response + (*MoveResourceState_Request)(nil), // 93: tfplugin6.MoveResourceState.Request + (*MoveResourceState_Response)(nil), // 94: tfplugin6.MoveResourceState.Response + (*ReadDataSource_Request)(nil), // 95: tfplugin6.ReadDataSource.Request + (*ReadDataSource_Response)(nil), // 96: tfplugin6.ReadDataSource.Response + (*GetFunctions_Request)(nil), // 97: tfplugin6.GetFunctions.Request + (*GetFunctions_Response)(nil), // 98: tfplugin6.GetFunctions.Response + nil, // 99: tfplugin6.GetFunctions.Response.FunctionsEntry + (*CallFunction_Request)(nil), // 100: tfplugin6.CallFunction.Request + (*CallFunction_Response)(nil), // 101: tfplugin6.CallFunction.Response + (*ValidateEphemeralResourceConfig_Request)(nil), // 102: tfplugin6.ValidateEphemeralResourceConfig.Request + (*ValidateEphemeralResourceConfig_Response)(nil), // 103: tfplugin6.ValidateEphemeralResourceConfig.Response + (*OpenEphemeralResource_Request)(nil), // 104: tfplugin6.OpenEphemeralResource.Request + (*OpenEphemeralResource_Response)(nil), // 105: tfplugin6.OpenEphemeralResource.Response + (*RenewEphemeralResource_Request)(nil), // 106: tfplugin6.RenewEphemeralResource.Request + (*RenewEphemeralResource_Response)(nil), // 107: tfplugin6.RenewEphemeralResource.Response + (*CloseEphemeralResource_Request)(nil), // 108: tfplugin6.CloseEphemeralResource.Request + (*CloseEphemeralResource_Response)(nil), // 109: tfplugin6.CloseEphemeralResource.Response + (*GetResourceIdentitySchemas_Request)(nil), // 110: tfplugin6.GetResourceIdentitySchemas.Request + (*GetResourceIdentitySchemas_Response)(nil), // 111: tfplugin6.GetResourceIdentitySchemas.Response + nil, // 112: tfplugin6.GetResourceIdentitySchemas.Response.IdentitySchemasEntry + (*UpgradeResourceIdentity_Request)(nil), // 113: tfplugin6.UpgradeResourceIdentity.Request + (*UpgradeResourceIdentity_Response)(nil), // 114: tfplugin6.UpgradeResourceIdentity.Response + (*ListResource_Request)(nil), // 115: tfplugin6.ListResource.Request + (*ListResource_Event)(nil), // 116: tfplugin6.ListResource.Event + (*ValidateListResourceConfig_Request)(nil), // 117: tfplugin6.ValidateListResourceConfig.Request + (*ValidateListResourceConfig_Response)(nil), // 118: tfplugin6.ValidateListResourceConfig.Response + (*ValidateActionConfig_Request)(nil), // 119: tfplugin6.ValidateActionConfig.Request + (*ValidateActionConfig_Response)(nil), // 120: tfplugin6.ValidateActionConfig.Response + (*PlanAction_Request)(nil), // 121: tfplugin6.PlanAction.Request + (*PlanAction_Response)(nil), // 122: tfplugin6.PlanAction.Response + (*PlanAction_Request_LinkedResource)(nil), // 123: tfplugin6.PlanAction.Request.LinkedResource + (*PlanAction_Response_LinkedResource)(nil), // 124: tfplugin6.PlanAction.Response.LinkedResource + (*InvokeAction_Request)(nil), // 125: tfplugin6.InvokeAction.Request + (*InvokeAction_Event)(nil), // 126: tfplugin6.InvokeAction.Event + (*InvokeAction_Request_LinkedResource)(nil), // 127: tfplugin6.InvokeAction.Request.LinkedResource + (*InvokeAction_Event_Progress)(nil), // 128: tfplugin6.InvokeAction.Event.Progress + (*InvokeAction_Event_Completed)(nil), // 129: tfplugin6.InvokeAction.Event.Completed + (*InvokeAction_Event_Completed_LinkedResource)(nil), // 130: tfplugin6.InvokeAction.Event.Completed.LinkedResource + (*timestamppb.Timestamp)(nil), // 131: google.protobuf.Timestamp } var file_tfplugin6_proto_depIdxs = []int32{ 1, // 0: tfplugin6.Diagnostic.severity:type_name -> tfplugin6.Diagnostic.Severity - 9, // 1: tfplugin6.Diagnostic.attribute:type_name -> tfplugin6.AttributePath + 8, // 1: tfplugin6.Diagnostic.attribute:type_name -> tfplugin6.AttributePath 46, // 2: tfplugin6.AttributePath.steps:type_name -> tfplugin6.AttributePath.Step 49, // 3: tfplugin6.RawState.flatmap:type_name -> tfplugin6.RawState.FlatmapEntry 50, // 4: tfplugin6.Schema.block:type_name -> tfplugin6.Schema.Block 54, // 5: tfplugin6.ResourceIdentitySchema.identity_attributes:type_name -> tfplugin6.ResourceIdentitySchema.IdentityAttribute - 6, // 6: tfplugin6.ResourceIdentityData.identity_data:type_name -> tfplugin6.DynamicValue + 5, // 6: tfplugin6.ResourceIdentityData.identity_data:type_name -> tfplugin6.DynamicValue 55, // 7: tfplugin6.Function.parameters:type_name -> tfplugin6.Function.Parameter 55, // 8: tfplugin6.Function.variadic_parameter:type_name -> tfplugin6.Function.Parameter 56, // 9: tfplugin6.Function.return:type_name -> tfplugin6.Function.Return 0, // 10: tfplugin6.Function.description_kind:type_name -> tfplugin6.StringKind - 12, // 11: tfplugin6.ActionSchema.schema:type_name -> tfplugin6.Schema - 58, // 12: tfplugin6.ActionSchema.unlinked:type_name -> tfplugin6.ActionSchema.Unlinked - 59, // 13: tfplugin6.ActionSchema.lifecycle:type_name -> tfplugin6.ActionSchema.Lifecycle - 60, // 14: tfplugin6.ActionSchema.linked:type_name -> tfplugin6.ActionSchema.Linked - 5, // 15: tfplugin6.Deferred.reason:type_name -> tfplugin6.Deferred.Reason - 51, // 16: tfplugin6.Schema.Block.attributes:type_name -> tfplugin6.Schema.Attribute - 52, // 17: tfplugin6.Schema.Block.block_types:type_name -> tfplugin6.Schema.NestedBlock - 0, // 18: tfplugin6.Schema.Block.description_kind:type_name -> tfplugin6.StringKind - 53, // 19: tfplugin6.Schema.Attribute.nested_type:type_name -> tfplugin6.Schema.Object - 0, // 20: tfplugin6.Schema.Attribute.description_kind:type_name -> tfplugin6.StringKind - 50, // 21: tfplugin6.Schema.NestedBlock.block:type_name -> tfplugin6.Schema.Block - 2, // 22: tfplugin6.Schema.NestedBlock.nesting:type_name -> tfplugin6.Schema.NestedBlock.NestingMode - 51, // 23: tfplugin6.Schema.Object.attributes:type_name -> tfplugin6.Schema.Attribute - 3, // 24: tfplugin6.Schema.Object.nesting:type_name -> tfplugin6.Schema.Object.NestingMode - 0, // 25: tfplugin6.Function.Parameter.description_kind:type_name -> tfplugin6.StringKind - 4, // 26: tfplugin6.ActionSchema.Lifecycle.executes:type_name -> tfplugin6.ActionSchema.Lifecycle.ExecutionOrder - 57, // 27: tfplugin6.ActionSchema.Lifecycle.linked_resource:type_name -> tfplugin6.ActionSchema.LinkedResource - 57, // 28: tfplugin6.ActionSchema.Linked.linked_resources:type_name -> tfplugin6.ActionSchema.LinkedResource - 17, // 29: tfplugin6.GetMetadata.Response.server_capabilities:type_name -> tfplugin6.ServerCapabilities - 7, // 30: tfplugin6.GetMetadata.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 64, // 31: tfplugin6.GetMetadata.Response.data_sources:type_name -> tfplugin6.GetMetadata.DataSourceMetadata - 65, // 32: tfplugin6.GetMetadata.Response.resources:type_name -> tfplugin6.GetMetadata.ResourceMetadata - 63, // 33: tfplugin6.GetMetadata.Response.functions:type_name -> tfplugin6.GetMetadata.FunctionMetadata - 66, // 34: tfplugin6.GetMetadata.Response.ephemeral_resources:type_name -> tfplugin6.GetMetadata.EphemeralResourceMetadata - 67, // 35: tfplugin6.GetMetadata.Response.list_resources:type_name -> tfplugin6.GetMetadata.ListResourceMetadata - 68, // 36: tfplugin6.GetMetadata.Response.actions:type_name -> tfplugin6.GetMetadata.ActionMetadata - 12, // 37: tfplugin6.GetProviderSchema.Response.provider:type_name -> tfplugin6.Schema - 71, // 38: tfplugin6.GetProviderSchema.Response.resource_schemas:type_name -> tfplugin6.GetProviderSchema.Response.ResourceSchemasEntry - 72, // 39: tfplugin6.GetProviderSchema.Response.data_source_schemas:type_name -> tfplugin6.GetProviderSchema.Response.DataSourceSchemasEntry - 7, // 40: tfplugin6.GetProviderSchema.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 12, // 41: tfplugin6.GetProviderSchema.Response.provider_meta:type_name -> tfplugin6.Schema - 17, // 42: tfplugin6.GetProviderSchema.Response.server_capabilities:type_name -> tfplugin6.ServerCapabilities - 73, // 43: tfplugin6.GetProviderSchema.Response.functions:type_name -> tfplugin6.GetProviderSchema.Response.FunctionsEntry - 74, // 44: tfplugin6.GetProviderSchema.Response.ephemeral_resource_schemas:type_name -> tfplugin6.GetProviderSchema.Response.EphemeralResourceSchemasEntry - 75, // 45: tfplugin6.GetProviderSchema.Response.list_resource_schemas:type_name -> tfplugin6.GetProviderSchema.Response.ListResourceSchemasEntry - 76, // 46: tfplugin6.GetProviderSchema.Response.action_schemas:type_name -> tfplugin6.GetProviderSchema.Response.ActionSchemasEntry - 12, // 47: tfplugin6.GetProviderSchema.Response.ResourceSchemasEntry.value:type_name -> tfplugin6.Schema - 12, // 48: tfplugin6.GetProviderSchema.Response.DataSourceSchemasEntry.value:type_name -> tfplugin6.Schema - 15, // 49: tfplugin6.GetProviderSchema.Response.FunctionsEntry.value:type_name -> tfplugin6.Function - 12, // 50: tfplugin6.GetProviderSchema.Response.EphemeralResourceSchemasEntry.value:type_name -> tfplugin6.Schema - 12, // 51: tfplugin6.GetProviderSchema.Response.ListResourceSchemasEntry.value:type_name -> tfplugin6.Schema - 16, // 52: tfplugin6.GetProviderSchema.Response.ActionSchemasEntry.value:type_name -> tfplugin6.ActionSchema - 6, // 53: tfplugin6.ValidateProviderConfig.Request.config:type_name -> tfplugin6.DynamicValue - 7, // 54: tfplugin6.ValidateProviderConfig.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 11, // 55: tfplugin6.UpgradeResourceState.Request.raw_state:type_name -> tfplugin6.RawState - 6, // 56: tfplugin6.UpgradeResourceState.Response.upgraded_state:type_name -> tfplugin6.DynamicValue - 7, // 57: tfplugin6.UpgradeResourceState.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 6, // 58: tfplugin6.ValidateResourceConfig.Request.config:type_name -> tfplugin6.DynamicValue - 18, // 59: tfplugin6.ValidateResourceConfig.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities - 7, // 60: tfplugin6.ValidateResourceConfig.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 6, // 61: tfplugin6.ValidateDataResourceConfig.Request.config:type_name -> tfplugin6.DynamicValue - 7, // 62: tfplugin6.ValidateDataResourceConfig.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 6, // 63: tfplugin6.ConfigureProvider.Request.config:type_name -> tfplugin6.DynamicValue - 18, // 64: tfplugin6.ConfigureProvider.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities - 7, // 65: tfplugin6.ConfigureProvider.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 6, // 66: tfplugin6.ReadResource.Request.current_state:type_name -> tfplugin6.DynamicValue - 6, // 67: tfplugin6.ReadResource.Request.provider_meta:type_name -> tfplugin6.DynamicValue - 18, // 68: tfplugin6.ReadResource.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities - 14, // 69: tfplugin6.ReadResource.Request.current_identity:type_name -> tfplugin6.ResourceIdentityData - 6, // 70: tfplugin6.ReadResource.Response.new_state:type_name -> tfplugin6.DynamicValue - 7, // 71: tfplugin6.ReadResource.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 19, // 72: tfplugin6.ReadResource.Response.deferred:type_name -> tfplugin6.Deferred - 14, // 73: tfplugin6.ReadResource.Response.new_identity:type_name -> tfplugin6.ResourceIdentityData - 6, // 74: tfplugin6.PlanResourceChange.Request.prior_state:type_name -> tfplugin6.DynamicValue - 6, // 75: tfplugin6.PlanResourceChange.Request.proposed_new_state:type_name -> tfplugin6.DynamicValue - 6, // 76: tfplugin6.PlanResourceChange.Request.config:type_name -> tfplugin6.DynamicValue - 6, // 77: tfplugin6.PlanResourceChange.Request.provider_meta:type_name -> tfplugin6.DynamicValue - 18, // 78: tfplugin6.PlanResourceChange.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities - 14, // 79: tfplugin6.PlanResourceChange.Request.prior_identity:type_name -> tfplugin6.ResourceIdentityData - 6, // 80: tfplugin6.PlanResourceChange.Response.planned_state:type_name -> tfplugin6.DynamicValue - 9, // 81: tfplugin6.PlanResourceChange.Response.requires_replace:type_name -> tfplugin6.AttributePath - 7, // 82: tfplugin6.PlanResourceChange.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 19, // 83: tfplugin6.PlanResourceChange.Response.deferred:type_name -> tfplugin6.Deferred - 14, // 84: tfplugin6.PlanResourceChange.Response.planned_identity:type_name -> tfplugin6.ResourceIdentityData - 6, // 85: tfplugin6.ApplyResourceChange.Request.prior_state:type_name -> tfplugin6.DynamicValue - 6, // 86: tfplugin6.ApplyResourceChange.Request.planned_state:type_name -> tfplugin6.DynamicValue - 6, // 87: tfplugin6.ApplyResourceChange.Request.config:type_name -> tfplugin6.DynamicValue - 6, // 88: tfplugin6.ApplyResourceChange.Request.provider_meta:type_name -> tfplugin6.DynamicValue - 14, // 89: tfplugin6.ApplyResourceChange.Request.planned_identity:type_name -> tfplugin6.ResourceIdentityData - 6, // 90: tfplugin6.ApplyResourceChange.Response.new_state:type_name -> tfplugin6.DynamicValue - 7, // 91: tfplugin6.ApplyResourceChange.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 14, // 92: tfplugin6.ApplyResourceChange.Response.new_identity:type_name -> tfplugin6.ResourceIdentityData - 18, // 93: tfplugin6.ImportResourceState.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities - 14, // 94: tfplugin6.ImportResourceState.Request.identity:type_name -> tfplugin6.ResourceIdentityData - 6, // 95: tfplugin6.ImportResourceState.ImportedResource.state:type_name -> tfplugin6.DynamicValue - 14, // 96: tfplugin6.ImportResourceState.ImportedResource.identity:type_name -> tfplugin6.ResourceIdentityData - 94, // 97: tfplugin6.ImportResourceState.Response.imported_resources:type_name -> tfplugin6.ImportResourceState.ImportedResource - 7, // 98: tfplugin6.ImportResourceState.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 19, // 99: tfplugin6.ImportResourceState.Response.deferred:type_name -> tfplugin6.Deferred - 11, // 100: tfplugin6.MoveResourceState.Request.source_state:type_name -> tfplugin6.RawState - 11, // 101: tfplugin6.MoveResourceState.Request.source_identity:type_name -> tfplugin6.RawState - 6, // 102: tfplugin6.MoveResourceState.Response.target_state:type_name -> tfplugin6.DynamicValue - 7, // 103: tfplugin6.MoveResourceState.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 14, // 104: tfplugin6.MoveResourceState.Response.target_identity:type_name -> tfplugin6.ResourceIdentityData - 6, // 105: tfplugin6.ReadDataSource.Request.config:type_name -> tfplugin6.DynamicValue - 6, // 106: tfplugin6.ReadDataSource.Request.provider_meta:type_name -> tfplugin6.DynamicValue - 18, // 107: tfplugin6.ReadDataSource.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities - 6, // 108: tfplugin6.ReadDataSource.Response.state:type_name -> tfplugin6.DynamicValue - 7, // 109: tfplugin6.ReadDataSource.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 19, // 110: tfplugin6.ReadDataSource.Response.deferred:type_name -> tfplugin6.Deferred - 102, // 111: tfplugin6.GetFunctions.Response.functions:type_name -> tfplugin6.GetFunctions.Response.FunctionsEntry - 7, // 112: tfplugin6.GetFunctions.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 15, // 113: tfplugin6.GetFunctions.Response.FunctionsEntry.value:type_name -> tfplugin6.Function - 6, // 114: tfplugin6.CallFunction.Request.arguments:type_name -> tfplugin6.DynamicValue - 6, // 115: tfplugin6.CallFunction.Response.result:type_name -> tfplugin6.DynamicValue - 8, // 116: tfplugin6.CallFunction.Response.error:type_name -> tfplugin6.FunctionError - 6, // 117: tfplugin6.ValidateEphemeralResourceConfig.Request.config:type_name -> tfplugin6.DynamicValue - 7, // 118: tfplugin6.ValidateEphemeralResourceConfig.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 6, // 119: tfplugin6.OpenEphemeralResource.Request.config:type_name -> tfplugin6.DynamicValue - 18, // 120: tfplugin6.OpenEphemeralResource.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities - 7, // 121: tfplugin6.OpenEphemeralResource.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 134, // 122: tfplugin6.OpenEphemeralResource.Response.renew_at:type_name -> google.protobuf.Timestamp - 6, // 123: tfplugin6.OpenEphemeralResource.Response.result:type_name -> tfplugin6.DynamicValue - 19, // 124: tfplugin6.OpenEphemeralResource.Response.deferred:type_name -> tfplugin6.Deferred - 7, // 125: tfplugin6.RenewEphemeralResource.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 134, // 126: tfplugin6.RenewEphemeralResource.Response.renew_at:type_name -> google.protobuf.Timestamp - 7, // 127: tfplugin6.CloseEphemeralResource.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 115, // 128: tfplugin6.GetResourceIdentitySchemas.Response.identity_schemas:type_name -> tfplugin6.GetResourceIdentitySchemas.Response.IdentitySchemasEntry - 7, // 129: tfplugin6.GetResourceIdentitySchemas.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 13, // 130: tfplugin6.GetResourceIdentitySchemas.Response.IdentitySchemasEntry.value:type_name -> tfplugin6.ResourceIdentitySchema - 11, // 131: tfplugin6.UpgradeResourceIdentity.Request.raw_identity:type_name -> tfplugin6.RawState - 14, // 132: tfplugin6.UpgradeResourceIdentity.Response.upgraded_identity:type_name -> tfplugin6.ResourceIdentityData - 7, // 133: tfplugin6.UpgradeResourceIdentity.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 6, // 134: tfplugin6.ListResource.Request.config:type_name -> tfplugin6.DynamicValue - 14, // 135: tfplugin6.ListResource.Event.identity:type_name -> tfplugin6.ResourceIdentityData - 6, // 136: tfplugin6.ListResource.Event.resource_object:type_name -> tfplugin6.DynamicValue - 7, // 137: tfplugin6.ListResource.Event.diagnostic:type_name -> tfplugin6.Diagnostic - 6, // 138: tfplugin6.ValidateListResourceConfig.Request.config:type_name -> tfplugin6.DynamicValue - 6, // 139: tfplugin6.ValidateListResourceConfig.Request.include_resource_object:type_name -> tfplugin6.DynamicValue - 6, // 140: tfplugin6.ValidateListResourceConfig.Request.limit:type_name -> tfplugin6.DynamicValue - 7, // 141: tfplugin6.ValidateListResourceConfig.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 6, // 142: tfplugin6.ValidateActionConfig.Request.config:type_name -> tfplugin6.DynamicValue - 7, // 143: tfplugin6.ValidateActionConfig.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 126, // 144: tfplugin6.PlanAction.Request.linked_resources:type_name -> tfplugin6.PlanAction.Request.LinkedResource - 6, // 145: tfplugin6.PlanAction.Request.config:type_name -> tfplugin6.DynamicValue - 18, // 146: tfplugin6.PlanAction.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities - 127, // 147: tfplugin6.PlanAction.Response.linked_resources:type_name -> tfplugin6.PlanAction.Response.LinkedResource - 7, // 148: tfplugin6.PlanAction.Response.diagnostics:type_name -> tfplugin6.Diagnostic - 19, // 149: tfplugin6.PlanAction.Response.deferred:type_name -> tfplugin6.Deferred - 6, // 150: tfplugin6.PlanAction.Request.LinkedResource.prior_state:type_name -> tfplugin6.DynamicValue - 6, // 151: tfplugin6.PlanAction.Request.LinkedResource.planned_state:type_name -> tfplugin6.DynamicValue - 6, // 152: tfplugin6.PlanAction.Request.LinkedResource.config:type_name -> tfplugin6.DynamicValue - 14, // 153: tfplugin6.PlanAction.Request.LinkedResource.prior_identity:type_name -> tfplugin6.ResourceIdentityData - 6, // 154: tfplugin6.PlanAction.Response.LinkedResource.planned_state:type_name -> tfplugin6.DynamicValue - 14, // 155: tfplugin6.PlanAction.Response.LinkedResource.planned_identity:type_name -> tfplugin6.ResourceIdentityData - 130, // 156: tfplugin6.InvokeAction.Request.linked_resources:type_name -> tfplugin6.InvokeAction.Request.LinkedResource - 6, // 157: tfplugin6.InvokeAction.Request.config:type_name -> tfplugin6.DynamicValue - 131, // 158: tfplugin6.InvokeAction.Event.progress:type_name -> tfplugin6.InvokeAction.Event.Progress - 132, // 159: tfplugin6.InvokeAction.Event.completed:type_name -> tfplugin6.InvokeAction.Event.Completed - 6, // 160: tfplugin6.InvokeAction.Request.LinkedResource.prior_state:type_name -> tfplugin6.DynamicValue - 6, // 161: tfplugin6.InvokeAction.Request.LinkedResource.planned_state:type_name -> tfplugin6.DynamicValue - 6, // 162: tfplugin6.InvokeAction.Request.LinkedResource.config:type_name -> tfplugin6.DynamicValue - 14, // 163: tfplugin6.InvokeAction.Request.LinkedResource.planned_identity:type_name -> tfplugin6.ResourceIdentityData - 133, // 164: tfplugin6.InvokeAction.Event.Completed.linked_resources:type_name -> tfplugin6.InvokeAction.Event.Completed.LinkedResource - 7, // 165: tfplugin6.InvokeAction.Event.Completed.diagnostics:type_name -> tfplugin6.Diagnostic - 6, // 166: tfplugin6.InvokeAction.Event.Completed.LinkedResource.new_state:type_name -> tfplugin6.DynamicValue - 14, // 167: tfplugin6.InvokeAction.Event.Completed.LinkedResource.new_identity:type_name -> tfplugin6.ResourceIdentityData - 61, // 168: tfplugin6.Provider.GetMetadata:input_type -> tfplugin6.GetMetadata.Request - 69, // 169: tfplugin6.Provider.GetProviderSchema:input_type -> tfplugin6.GetProviderSchema.Request - 113, // 170: tfplugin6.Provider.GetResourceIdentitySchemas:input_type -> tfplugin6.GetResourceIdentitySchemas.Request - 77, // 171: tfplugin6.Provider.ValidateProviderConfig:input_type -> tfplugin6.ValidateProviderConfig.Request - 81, // 172: tfplugin6.Provider.ValidateResourceConfig:input_type -> tfplugin6.ValidateResourceConfig.Request - 83, // 173: tfplugin6.Provider.ValidateDataResourceConfig:input_type -> tfplugin6.ValidateDataResourceConfig.Request - 79, // 174: tfplugin6.Provider.UpgradeResourceState:input_type -> tfplugin6.UpgradeResourceState.Request - 116, // 175: tfplugin6.Provider.UpgradeResourceIdentity:input_type -> tfplugin6.UpgradeResourceIdentity.Request - 85, // 176: tfplugin6.Provider.ConfigureProvider:input_type -> tfplugin6.ConfigureProvider.Request - 87, // 177: tfplugin6.Provider.ReadResource:input_type -> tfplugin6.ReadResource.Request - 89, // 178: tfplugin6.Provider.PlanResourceChange:input_type -> tfplugin6.PlanResourceChange.Request - 91, // 179: tfplugin6.Provider.ApplyResourceChange:input_type -> tfplugin6.ApplyResourceChange.Request - 93, // 180: tfplugin6.Provider.ImportResourceState:input_type -> tfplugin6.ImportResourceState.Request - 96, // 181: tfplugin6.Provider.MoveResourceState:input_type -> tfplugin6.MoveResourceState.Request - 98, // 182: tfplugin6.Provider.ReadDataSource:input_type -> tfplugin6.ReadDataSource.Request - 105, // 183: tfplugin6.Provider.ValidateEphemeralResourceConfig:input_type -> tfplugin6.ValidateEphemeralResourceConfig.Request - 107, // 184: tfplugin6.Provider.OpenEphemeralResource:input_type -> tfplugin6.OpenEphemeralResource.Request - 109, // 185: tfplugin6.Provider.RenewEphemeralResource:input_type -> tfplugin6.RenewEphemeralResource.Request - 111, // 186: tfplugin6.Provider.CloseEphemeralResource:input_type -> tfplugin6.CloseEphemeralResource.Request - 118, // 187: tfplugin6.Provider.ListResource:input_type -> tfplugin6.ListResource.Request - 120, // 188: tfplugin6.Provider.ValidateListResourceConfig:input_type -> tfplugin6.ValidateListResourceConfig.Request - 100, // 189: tfplugin6.Provider.GetFunctions:input_type -> tfplugin6.GetFunctions.Request - 103, // 190: tfplugin6.Provider.CallFunction:input_type -> tfplugin6.CallFunction.Request - 122, // 191: tfplugin6.Provider.ValidateActionConfig:input_type -> tfplugin6.ValidateActionConfig.Request - 124, // 192: tfplugin6.Provider.PlanAction:input_type -> tfplugin6.PlanAction.Request - 128, // 193: tfplugin6.Provider.InvokeAction:input_type -> tfplugin6.InvokeAction.Request - 47, // 194: tfplugin6.Provider.StopProvider:input_type -> tfplugin6.StopProvider.Request - 62, // 195: tfplugin6.Provider.GetMetadata:output_type -> tfplugin6.GetMetadata.Response - 70, // 196: tfplugin6.Provider.GetProviderSchema:output_type -> tfplugin6.GetProviderSchema.Response - 114, // 197: tfplugin6.Provider.GetResourceIdentitySchemas:output_type -> tfplugin6.GetResourceIdentitySchemas.Response - 78, // 198: tfplugin6.Provider.ValidateProviderConfig:output_type -> tfplugin6.ValidateProviderConfig.Response - 82, // 199: tfplugin6.Provider.ValidateResourceConfig:output_type -> tfplugin6.ValidateResourceConfig.Response - 84, // 200: tfplugin6.Provider.ValidateDataResourceConfig:output_type -> tfplugin6.ValidateDataResourceConfig.Response - 80, // 201: tfplugin6.Provider.UpgradeResourceState:output_type -> tfplugin6.UpgradeResourceState.Response - 117, // 202: tfplugin6.Provider.UpgradeResourceIdentity:output_type -> tfplugin6.UpgradeResourceIdentity.Response - 86, // 203: tfplugin6.Provider.ConfigureProvider:output_type -> tfplugin6.ConfigureProvider.Response - 88, // 204: tfplugin6.Provider.ReadResource:output_type -> tfplugin6.ReadResource.Response - 90, // 205: tfplugin6.Provider.PlanResourceChange:output_type -> tfplugin6.PlanResourceChange.Response - 92, // 206: tfplugin6.Provider.ApplyResourceChange:output_type -> tfplugin6.ApplyResourceChange.Response - 95, // 207: tfplugin6.Provider.ImportResourceState:output_type -> tfplugin6.ImportResourceState.Response - 97, // 208: tfplugin6.Provider.MoveResourceState:output_type -> tfplugin6.MoveResourceState.Response - 99, // 209: tfplugin6.Provider.ReadDataSource:output_type -> tfplugin6.ReadDataSource.Response - 106, // 210: tfplugin6.Provider.ValidateEphemeralResourceConfig:output_type -> tfplugin6.ValidateEphemeralResourceConfig.Response - 108, // 211: tfplugin6.Provider.OpenEphemeralResource:output_type -> tfplugin6.OpenEphemeralResource.Response - 110, // 212: tfplugin6.Provider.RenewEphemeralResource:output_type -> tfplugin6.RenewEphemeralResource.Response - 112, // 213: tfplugin6.Provider.CloseEphemeralResource:output_type -> tfplugin6.CloseEphemeralResource.Response - 119, // 214: tfplugin6.Provider.ListResource:output_type -> tfplugin6.ListResource.Event - 121, // 215: tfplugin6.Provider.ValidateListResourceConfig:output_type -> tfplugin6.ValidateListResourceConfig.Response - 101, // 216: tfplugin6.Provider.GetFunctions:output_type -> tfplugin6.GetFunctions.Response - 104, // 217: tfplugin6.Provider.CallFunction:output_type -> tfplugin6.CallFunction.Response - 123, // 218: tfplugin6.Provider.ValidateActionConfig:output_type -> tfplugin6.ValidateActionConfig.Response - 125, // 219: tfplugin6.Provider.PlanAction:output_type -> tfplugin6.PlanAction.Response - 129, // 220: tfplugin6.Provider.InvokeAction:output_type -> tfplugin6.InvokeAction.Event - 48, // 221: tfplugin6.Provider.StopProvider:output_type -> tfplugin6.StopProvider.Response - 195, // [195:222] is the sub-list for method output_type - 168, // [168:195] is the sub-list for method input_type - 168, // [168:168] is the sub-list for extension type_name - 168, // [168:168] is the sub-list for extension extendee - 0, // [0:168] is the sub-list for field type_name + 11, // 11: tfplugin6.ActionSchema.schema:type_name -> tfplugin6.Schema + 57, // 12: tfplugin6.ActionSchema.unlinked:type_name -> tfplugin6.ActionSchema.Unlinked + 4, // 13: tfplugin6.Deferred.reason:type_name -> tfplugin6.Deferred.Reason + 5, // 14: tfplugin6.LinkedResourceConfig.config:type_name -> tfplugin6.DynamicValue + 51, // 15: tfplugin6.Schema.Block.attributes:type_name -> tfplugin6.Schema.Attribute + 52, // 16: tfplugin6.Schema.Block.block_types:type_name -> tfplugin6.Schema.NestedBlock + 0, // 17: tfplugin6.Schema.Block.description_kind:type_name -> tfplugin6.StringKind + 53, // 18: tfplugin6.Schema.Attribute.nested_type:type_name -> tfplugin6.Schema.Object + 0, // 19: tfplugin6.Schema.Attribute.description_kind:type_name -> tfplugin6.StringKind + 50, // 20: tfplugin6.Schema.NestedBlock.block:type_name -> tfplugin6.Schema.Block + 2, // 21: tfplugin6.Schema.NestedBlock.nesting:type_name -> tfplugin6.Schema.NestedBlock.NestingMode + 51, // 22: tfplugin6.Schema.Object.attributes:type_name -> tfplugin6.Schema.Attribute + 3, // 23: tfplugin6.Schema.Object.nesting:type_name -> tfplugin6.Schema.Object.NestingMode + 0, // 24: tfplugin6.Function.Parameter.description_kind:type_name -> tfplugin6.StringKind + 16, // 25: tfplugin6.GetMetadata.Response.server_capabilities:type_name -> tfplugin6.ServerCapabilities + 6, // 26: tfplugin6.GetMetadata.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 61, // 27: tfplugin6.GetMetadata.Response.data_sources:type_name -> tfplugin6.GetMetadata.DataSourceMetadata + 62, // 28: tfplugin6.GetMetadata.Response.resources:type_name -> tfplugin6.GetMetadata.ResourceMetadata + 60, // 29: tfplugin6.GetMetadata.Response.functions:type_name -> tfplugin6.GetMetadata.FunctionMetadata + 63, // 30: tfplugin6.GetMetadata.Response.ephemeral_resources:type_name -> tfplugin6.GetMetadata.EphemeralResourceMetadata + 64, // 31: tfplugin6.GetMetadata.Response.list_resources:type_name -> tfplugin6.GetMetadata.ListResourceMetadata + 65, // 32: tfplugin6.GetMetadata.Response.actions:type_name -> tfplugin6.GetMetadata.ActionMetadata + 11, // 33: tfplugin6.GetProviderSchema.Response.provider:type_name -> tfplugin6.Schema + 68, // 34: tfplugin6.GetProviderSchema.Response.resource_schemas:type_name -> tfplugin6.GetProviderSchema.Response.ResourceSchemasEntry + 69, // 35: tfplugin6.GetProviderSchema.Response.data_source_schemas:type_name -> tfplugin6.GetProviderSchema.Response.DataSourceSchemasEntry + 6, // 36: tfplugin6.GetProviderSchema.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 11, // 37: tfplugin6.GetProviderSchema.Response.provider_meta:type_name -> tfplugin6.Schema + 16, // 38: tfplugin6.GetProviderSchema.Response.server_capabilities:type_name -> tfplugin6.ServerCapabilities + 70, // 39: tfplugin6.GetProviderSchema.Response.functions:type_name -> tfplugin6.GetProviderSchema.Response.FunctionsEntry + 71, // 40: tfplugin6.GetProviderSchema.Response.ephemeral_resource_schemas:type_name -> tfplugin6.GetProviderSchema.Response.EphemeralResourceSchemasEntry + 72, // 41: tfplugin6.GetProviderSchema.Response.list_resource_schemas:type_name -> tfplugin6.GetProviderSchema.Response.ListResourceSchemasEntry + 73, // 42: tfplugin6.GetProviderSchema.Response.action_schemas:type_name -> tfplugin6.GetProviderSchema.Response.ActionSchemasEntry + 11, // 43: tfplugin6.GetProviderSchema.Response.ResourceSchemasEntry.value:type_name -> tfplugin6.Schema + 11, // 44: tfplugin6.GetProviderSchema.Response.DataSourceSchemasEntry.value:type_name -> tfplugin6.Schema + 14, // 45: tfplugin6.GetProviderSchema.Response.FunctionsEntry.value:type_name -> tfplugin6.Function + 11, // 46: tfplugin6.GetProviderSchema.Response.EphemeralResourceSchemasEntry.value:type_name -> tfplugin6.Schema + 11, // 47: tfplugin6.GetProviderSchema.Response.ListResourceSchemasEntry.value:type_name -> tfplugin6.Schema + 15, // 48: tfplugin6.GetProviderSchema.Response.ActionSchemasEntry.value:type_name -> tfplugin6.ActionSchema + 5, // 49: tfplugin6.ValidateProviderConfig.Request.config:type_name -> tfplugin6.DynamicValue + 6, // 50: tfplugin6.ValidateProviderConfig.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 10, // 51: tfplugin6.UpgradeResourceState.Request.raw_state:type_name -> tfplugin6.RawState + 5, // 52: tfplugin6.UpgradeResourceState.Response.upgraded_state:type_name -> tfplugin6.DynamicValue + 6, // 53: tfplugin6.UpgradeResourceState.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 5, // 54: tfplugin6.ValidateResourceConfig.Request.config:type_name -> tfplugin6.DynamicValue + 17, // 55: tfplugin6.ValidateResourceConfig.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities + 6, // 56: tfplugin6.ValidateResourceConfig.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 5, // 57: tfplugin6.ValidateDataResourceConfig.Request.config:type_name -> tfplugin6.DynamicValue + 6, // 58: tfplugin6.ValidateDataResourceConfig.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 5, // 59: tfplugin6.ConfigureProvider.Request.config:type_name -> tfplugin6.DynamicValue + 17, // 60: tfplugin6.ConfigureProvider.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities + 6, // 61: tfplugin6.ConfigureProvider.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 5, // 62: tfplugin6.ReadResource.Request.current_state:type_name -> tfplugin6.DynamicValue + 5, // 63: tfplugin6.ReadResource.Request.provider_meta:type_name -> tfplugin6.DynamicValue + 17, // 64: tfplugin6.ReadResource.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities + 13, // 65: tfplugin6.ReadResource.Request.current_identity:type_name -> tfplugin6.ResourceIdentityData + 5, // 66: tfplugin6.ReadResource.Response.new_state:type_name -> tfplugin6.DynamicValue + 6, // 67: tfplugin6.ReadResource.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 18, // 68: tfplugin6.ReadResource.Response.deferred:type_name -> tfplugin6.Deferred + 13, // 69: tfplugin6.ReadResource.Response.new_identity:type_name -> tfplugin6.ResourceIdentityData + 5, // 70: tfplugin6.PlanResourceChange.Request.prior_state:type_name -> tfplugin6.DynamicValue + 5, // 71: tfplugin6.PlanResourceChange.Request.proposed_new_state:type_name -> tfplugin6.DynamicValue + 5, // 72: tfplugin6.PlanResourceChange.Request.config:type_name -> tfplugin6.DynamicValue + 5, // 73: tfplugin6.PlanResourceChange.Request.provider_meta:type_name -> tfplugin6.DynamicValue + 17, // 74: tfplugin6.PlanResourceChange.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities + 13, // 75: tfplugin6.PlanResourceChange.Request.prior_identity:type_name -> tfplugin6.ResourceIdentityData + 5, // 76: tfplugin6.PlanResourceChange.Response.planned_state:type_name -> tfplugin6.DynamicValue + 8, // 77: tfplugin6.PlanResourceChange.Response.requires_replace:type_name -> tfplugin6.AttributePath + 6, // 78: tfplugin6.PlanResourceChange.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 18, // 79: tfplugin6.PlanResourceChange.Response.deferred:type_name -> tfplugin6.Deferred + 13, // 80: tfplugin6.PlanResourceChange.Response.planned_identity:type_name -> tfplugin6.ResourceIdentityData + 5, // 81: tfplugin6.ApplyResourceChange.Request.prior_state:type_name -> tfplugin6.DynamicValue + 5, // 82: tfplugin6.ApplyResourceChange.Request.planned_state:type_name -> tfplugin6.DynamicValue + 5, // 83: tfplugin6.ApplyResourceChange.Request.config:type_name -> tfplugin6.DynamicValue + 5, // 84: tfplugin6.ApplyResourceChange.Request.provider_meta:type_name -> tfplugin6.DynamicValue + 13, // 85: tfplugin6.ApplyResourceChange.Request.planned_identity:type_name -> tfplugin6.ResourceIdentityData + 5, // 86: tfplugin6.ApplyResourceChange.Response.new_state:type_name -> tfplugin6.DynamicValue + 6, // 87: tfplugin6.ApplyResourceChange.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 13, // 88: tfplugin6.ApplyResourceChange.Response.new_identity:type_name -> tfplugin6.ResourceIdentityData + 17, // 89: tfplugin6.ImportResourceState.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities + 13, // 90: tfplugin6.ImportResourceState.Request.identity:type_name -> tfplugin6.ResourceIdentityData + 5, // 91: tfplugin6.ImportResourceState.ImportedResource.state:type_name -> tfplugin6.DynamicValue + 13, // 92: tfplugin6.ImportResourceState.ImportedResource.identity:type_name -> tfplugin6.ResourceIdentityData + 91, // 93: tfplugin6.ImportResourceState.Response.imported_resources:type_name -> tfplugin6.ImportResourceState.ImportedResource + 6, // 94: tfplugin6.ImportResourceState.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 18, // 95: tfplugin6.ImportResourceState.Response.deferred:type_name -> tfplugin6.Deferred + 10, // 96: tfplugin6.MoveResourceState.Request.source_state:type_name -> tfplugin6.RawState + 10, // 97: tfplugin6.MoveResourceState.Request.source_identity:type_name -> tfplugin6.RawState + 5, // 98: tfplugin6.MoveResourceState.Response.target_state:type_name -> tfplugin6.DynamicValue + 6, // 99: tfplugin6.MoveResourceState.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 13, // 100: tfplugin6.MoveResourceState.Response.target_identity:type_name -> tfplugin6.ResourceIdentityData + 5, // 101: tfplugin6.ReadDataSource.Request.config:type_name -> tfplugin6.DynamicValue + 5, // 102: tfplugin6.ReadDataSource.Request.provider_meta:type_name -> tfplugin6.DynamicValue + 17, // 103: tfplugin6.ReadDataSource.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities + 5, // 104: tfplugin6.ReadDataSource.Response.state:type_name -> tfplugin6.DynamicValue + 6, // 105: tfplugin6.ReadDataSource.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 18, // 106: tfplugin6.ReadDataSource.Response.deferred:type_name -> tfplugin6.Deferred + 99, // 107: tfplugin6.GetFunctions.Response.functions:type_name -> tfplugin6.GetFunctions.Response.FunctionsEntry + 6, // 108: tfplugin6.GetFunctions.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 14, // 109: tfplugin6.GetFunctions.Response.FunctionsEntry.value:type_name -> tfplugin6.Function + 5, // 110: tfplugin6.CallFunction.Request.arguments:type_name -> tfplugin6.DynamicValue + 5, // 111: tfplugin6.CallFunction.Response.result:type_name -> tfplugin6.DynamicValue + 7, // 112: tfplugin6.CallFunction.Response.error:type_name -> tfplugin6.FunctionError + 5, // 113: tfplugin6.ValidateEphemeralResourceConfig.Request.config:type_name -> tfplugin6.DynamicValue + 6, // 114: tfplugin6.ValidateEphemeralResourceConfig.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 5, // 115: tfplugin6.OpenEphemeralResource.Request.config:type_name -> tfplugin6.DynamicValue + 17, // 116: tfplugin6.OpenEphemeralResource.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities + 6, // 117: tfplugin6.OpenEphemeralResource.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 131, // 118: tfplugin6.OpenEphemeralResource.Response.renew_at:type_name -> google.protobuf.Timestamp + 5, // 119: tfplugin6.OpenEphemeralResource.Response.result:type_name -> tfplugin6.DynamicValue + 18, // 120: tfplugin6.OpenEphemeralResource.Response.deferred:type_name -> tfplugin6.Deferred + 6, // 121: tfplugin6.RenewEphemeralResource.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 131, // 122: tfplugin6.RenewEphemeralResource.Response.renew_at:type_name -> google.protobuf.Timestamp + 6, // 123: tfplugin6.CloseEphemeralResource.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 112, // 124: tfplugin6.GetResourceIdentitySchemas.Response.identity_schemas:type_name -> tfplugin6.GetResourceIdentitySchemas.Response.IdentitySchemasEntry + 6, // 125: tfplugin6.GetResourceIdentitySchemas.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 12, // 126: tfplugin6.GetResourceIdentitySchemas.Response.IdentitySchemasEntry.value:type_name -> tfplugin6.ResourceIdentitySchema + 10, // 127: tfplugin6.UpgradeResourceIdentity.Request.raw_identity:type_name -> tfplugin6.RawState + 13, // 128: tfplugin6.UpgradeResourceIdentity.Response.upgraded_identity:type_name -> tfplugin6.ResourceIdentityData + 6, // 129: tfplugin6.UpgradeResourceIdentity.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 5, // 130: tfplugin6.ListResource.Request.config:type_name -> tfplugin6.DynamicValue + 13, // 131: tfplugin6.ListResource.Event.identity:type_name -> tfplugin6.ResourceIdentityData + 5, // 132: tfplugin6.ListResource.Event.resource_object:type_name -> tfplugin6.DynamicValue + 6, // 133: tfplugin6.ListResource.Event.diagnostic:type_name -> tfplugin6.Diagnostic + 5, // 134: tfplugin6.ValidateListResourceConfig.Request.config:type_name -> tfplugin6.DynamicValue + 5, // 135: tfplugin6.ValidateListResourceConfig.Request.include_resource_object:type_name -> tfplugin6.DynamicValue + 5, // 136: tfplugin6.ValidateListResourceConfig.Request.limit:type_name -> tfplugin6.DynamicValue + 6, // 137: tfplugin6.ValidateListResourceConfig.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 5, // 138: tfplugin6.ValidateActionConfig.Request.config:type_name -> tfplugin6.DynamicValue + 43, // 139: tfplugin6.ValidateActionConfig.Request.linked_resources:type_name -> tfplugin6.LinkedResourceConfig + 6, // 140: tfplugin6.ValidateActionConfig.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 123, // 141: tfplugin6.PlanAction.Request.linked_resources:type_name -> tfplugin6.PlanAction.Request.LinkedResource + 5, // 142: tfplugin6.PlanAction.Request.config:type_name -> tfplugin6.DynamicValue + 17, // 143: tfplugin6.PlanAction.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities + 124, // 144: tfplugin6.PlanAction.Response.linked_resources:type_name -> tfplugin6.PlanAction.Response.LinkedResource + 6, // 145: tfplugin6.PlanAction.Response.diagnostics:type_name -> tfplugin6.Diagnostic + 18, // 146: tfplugin6.PlanAction.Response.deferred:type_name -> tfplugin6.Deferred + 5, // 147: tfplugin6.PlanAction.Request.LinkedResource.prior_state:type_name -> tfplugin6.DynamicValue + 5, // 148: tfplugin6.PlanAction.Request.LinkedResource.planned_state:type_name -> tfplugin6.DynamicValue + 5, // 149: tfplugin6.PlanAction.Request.LinkedResource.config:type_name -> tfplugin6.DynamicValue + 13, // 150: tfplugin6.PlanAction.Request.LinkedResource.prior_identity:type_name -> tfplugin6.ResourceIdentityData + 5, // 151: tfplugin6.PlanAction.Response.LinkedResource.planned_state:type_name -> tfplugin6.DynamicValue + 13, // 152: tfplugin6.PlanAction.Response.LinkedResource.planned_identity:type_name -> tfplugin6.ResourceIdentityData + 127, // 153: tfplugin6.InvokeAction.Request.linked_resources:type_name -> tfplugin6.InvokeAction.Request.LinkedResource + 5, // 154: tfplugin6.InvokeAction.Request.config:type_name -> tfplugin6.DynamicValue + 128, // 155: tfplugin6.InvokeAction.Event.progress:type_name -> tfplugin6.InvokeAction.Event.Progress + 129, // 156: tfplugin6.InvokeAction.Event.completed:type_name -> tfplugin6.InvokeAction.Event.Completed + 5, // 157: tfplugin6.InvokeAction.Request.LinkedResource.prior_state:type_name -> tfplugin6.DynamicValue + 5, // 158: tfplugin6.InvokeAction.Request.LinkedResource.planned_state:type_name -> tfplugin6.DynamicValue + 5, // 159: tfplugin6.InvokeAction.Request.LinkedResource.config:type_name -> tfplugin6.DynamicValue + 13, // 160: tfplugin6.InvokeAction.Request.LinkedResource.planned_identity:type_name -> tfplugin6.ResourceIdentityData + 130, // 161: tfplugin6.InvokeAction.Event.Completed.linked_resources:type_name -> tfplugin6.InvokeAction.Event.Completed.LinkedResource + 6, // 162: tfplugin6.InvokeAction.Event.Completed.diagnostics:type_name -> tfplugin6.Diagnostic + 5, // 163: tfplugin6.InvokeAction.Event.Completed.LinkedResource.new_state:type_name -> tfplugin6.DynamicValue + 13, // 164: tfplugin6.InvokeAction.Event.Completed.LinkedResource.new_identity:type_name -> tfplugin6.ResourceIdentityData + 58, // 165: tfplugin6.Provider.GetMetadata:input_type -> tfplugin6.GetMetadata.Request + 66, // 166: tfplugin6.Provider.GetProviderSchema:input_type -> tfplugin6.GetProviderSchema.Request + 110, // 167: tfplugin6.Provider.GetResourceIdentitySchemas:input_type -> tfplugin6.GetResourceIdentitySchemas.Request + 74, // 168: tfplugin6.Provider.ValidateProviderConfig:input_type -> tfplugin6.ValidateProviderConfig.Request + 78, // 169: tfplugin6.Provider.ValidateResourceConfig:input_type -> tfplugin6.ValidateResourceConfig.Request + 80, // 170: tfplugin6.Provider.ValidateDataResourceConfig:input_type -> tfplugin6.ValidateDataResourceConfig.Request + 76, // 171: tfplugin6.Provider.UpgradeResourceState:input_type -> tfplugin6.UpgradeResourceState.Request + 113, // 172: tfplugin6.Provider.UpgradeResourceIdentity:input_type -> tfplugin6.UpgradeResourceIdentity.Request + 82, // 173: tfplugin6.Provider.ConfigureProvider:input_type -> tfplugin6.ConfigureProvider.Request + 84, // 174: tfplugin6.Provider.ReadResource:input_type -> tfplugin6.ReadResource.Request + 86, // 175: tfplugin6.Provider.PlanResourceChange:input_type -> tfplugin6.PlanResourceChange.Request + 88, // 176: tfplugin6.Provider.ApplyResourceChange:input_type -> tfplugin6.ApplyResourceChange.Request + 90, // 177: tfplugin6.Provider.ImportResourceState:input_type -> tfplugin6.ImportResourceState.Request + 93, // 178: tfplugin6.Provider.MoveResourceState:input_type -> tfplugin6.MoveResourceState.Request + 95, // 179: tfplugin6.Provider.ReadDataSource:input_type -> tfplugin6.ReadDataSource.Request + 102, // 180: tfplugin6.Provider.ValidateEphemeralResourceConfig:input_type -> tfplugin6.ValidateEphemeralResourceConfig.Request + 104, // 181: tfplugin6.Provider.OpenEphemeralResource:input_type -> tfplugin6.OpenEphemeralResource.Request + 106, // 182: tfplugin6.Provider.RenewEphemeralResource:input_type -> tfplugin6.RenewEphemeralResource.Request + 108, // 183: tfplugin6.Provider.CloseEphemeralResource:input_type -> tfplugin6.CloseEphemeralResource.Request + 115, // 184: tfplugin6.Provider.ListResource:input_type -> tfplugin6.ListResource.Request + 117, // 185: tfplugin6.Provider.ValidateListResourceConfig:input_type -> tfplugin6.ValidateListResourceConfig.Request + 97, // 186: tfplugin6.Provider.GetFunctions:input_type -> tfplugin6.GetFunctions.Request + 100, // 187: tfplugin6.Provider.CallFunction:input_type -> tfplugin6.CallFunction.Request + 119, // 188: tfplugin6.Provider.ValidateActionConfig:input_type -> tfplugin6.ValidateActionConfig.Request + 121, // 189: tfplugin6.Provider.PlanAction:input_type -> tfplugin6.PlanAction.Request + 125, // 190: tfplugin6.Provider.InvokeAction:input_type -> tfplugin6.InvokeAction.Request + 47, // 191: tfplugin6.Provider.StopProvider:input_type -> tfplugin6.StopProvider.Request + 59, // 192: tfplugin6.Provider.GetMetadata:output_type -> tfplugin6.GetMetadata.Response + 67, // 193: tfplugin6.Provider.GetProviderSchema:output_type -> tfplugin6.GetProviderSchema.Response + 111, // 194: tfplugin6.Provider.GetResourceIdentitySchemas:output_type -> tfplugin6.GetResourceIdentitySchemas.Response + 75, // 195: tfplugin6.Provider.ValidateProviderConfig:output_type -> tfplugin6.ValidateProviderConfig.Response + 79, // 196: tfplugin6.Provider.ValidateResourceConfig:output_type -> tfplugin6.ValidateResourceConfig.Response + 81, // 197: tfplugin6.Provider.ValidateDataResourceConfig:output_type -> tfplugin6.ValidateDataResourceConfig.Response + 77, // 198: tfplugin6.Provider.UpgradeResourceState:output_type -> tfplugin6.UpgradeResourceState.Response + 114, // 199: tfplugin6.Provider.UpgradeResourceIdentity:output_type -> tfplugin6.UpgradeResourceIdentity.Response + 83, // 200: tfplugin6.Provider.ConfigureProvider:output_type -> tfplugin6.ConfigureProvider.Response + 85, // 201: tfplugin6.Provider.ReadResource:output_type -> tfplugin6.ReadResource.Response + 87, // 202: tfplugin6.Provider.PlanResourceChange:output_type -> tfplugin6.PlanResourceChange.Response + 89, // 203: tfplugin6.Provider.ApplyResourceChange:output_type -> tfplugin6.ApplyResourceChange.Response + 92, // 204: tfplugin6.Provider.ImportResourceState:output_type -> tfplugin6.ImportResourceState.Response + 94, // 205: tfplugin6.Provider.MoveResourceState:output_type -> tfplugin6.MoveResourceState.Response + 96, // 206: tfplugin6.Provider.ReadDataSource:output_type -> tfplugin6.ReadDataSource.Response + 103, // 207: tfplugin6.Provider.ValidateEphemeralResourceConfig:output_type -> tfplugin6.ValidateEphemeralResourceConfig.Response + 105, // 208: tfplugin6.Provider.OpenEphemeralResource:output_type -> tfplugin6.OpenEphemeralResource.Response + 107, // 209: tfplugin6.Provider.RenewEphemeralResource:output_type -> tfplugin6.RenewEphemeralResource.Response + 109, // 210: tfplugin6.Provider.CloseEphemeralResource:output_type -> tfplugin6.CloseEphemeralResource.Response + 116, // 211: tfplugin6.Provider.ListResource:output_type -> tfplugin6.ListResource.Event + 118, // 212: tfplugin6.Provider.ValidateListResourceConfig:output_type -> tfplugin6.ValidateListResourceConfig.Response + 98, // 213: tfplugin6.Provider.GetFunctions:output_type -> tfplugin6.GetFunctions.Response + 101, // 214: tfplugin6.Provider.CallFunction:output_type -> tfplugin6.CallFunction.Response + 120, // 215: tfplugin6.Provider.ValidateActionConfig:output_type -> tfplugin6.ValidateActionConfig.Response + 122, // 216: tfplugin6.Provider.PlanAction:output_type -> tfplugin6.PlanAction.Response + 126, // 217: tfplugin6.Provider.InvokeAction:output_type -> tfplugin6.InvokeAction.Event + 48, // 218: tfplugin6.Provider.StopProvider:output_type -> tfplugin6.StopProvider.Response + 192, // [192:219] is the sub-list for method output_type + 165, // [165:192] is the sub-list for method input_type + 165, // [165:165] is the sub-list for extension type_name + 165, // [165:165] is the sub-list for extension extendee + 0, // [0:165] is the sub-list for field type_name } func init() { file_tfplugin6_proto_init() } @@ -8018,20 +7831,18 @@ func file_tfplugin6_proto_init() { file_tfplugin6_proto_msgTypes[2].OneofWrappers = []any{} file_tfplugin6_proto_msgTypes[10].OneofWrappers = []any{ (*ActionSchema_Unlinked_)(nil), - (*ActionSchema_Lifecycle_)(nil), - (*ActionSchema_Linked_)(nil), } - file_tfplugin6_proto_msgTypes[40].OneofWrappers = []any{ + file_tfplugin6_proto_msgTypes[41].OneofWrappers = []any{ (*AttributePath_Step_AttributeName)(nil), (*AttributePath_Step_ElementKeyString)(nil), (*AttributePath_Step_ElementKeyInt)(nil), } + file_tfplugin6_proto_msgTypes[100].OneofWrappers = []any{} + file_tfplugin6_proto_msgTypes[101].OneofWrappers = []any{} file_tfplugin6_proto_msgTypes[102].OneofWrappers = []any{} file_tfplugin6_proto_msgTypes[103].OneofWrappers = []any{} - file_tfplugin6_proto_msgTypes[104].OneofWrappers = []any{} - file_tfplugin6_proto_msgTypes[105].OneofWrappers = []any{} - file_tfplugin6_proto_msgTypes[113].OneofWrappers = []any{} - file_tfplugin6_proto_msgTypes[123].OneofWrappers = []any{ + file_tfplugin6_proto_msgTypes[111].OneofWrappers = []any{} + file_tfplugin6_proto_msgTypes[121].OneofWrappers = []any{ (*InvokeAction_Event_Progress_)(nil), (*InvokeAction_Event_Completed_)(nil), } @@ -8040,8 +7851,8 @@ func file_tfplugin6_proto_init() { File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_tfplugin6_proto_rawDesc), len(file_tfplugin6_proto_rawDesc)), - NumEnums: 6, - NumMessages: 128, + NumEnums: 5, + NumMessages: 126, NumExtensions: 0, NumServices: 1, }, diff --git a/tfprotov6/internal/tfplugin6/tfplugin6.proto b/tfprotov6/internal/tfplugin6/tfplugin6.proto index 0bb2a24e..696da917 100644 --- a/tfprotov6/internal/tfplugin6/tfplugin6.proto +++ b/tfprotov6/internal/tfplugin6/tfplugin6.proto @@ -277,34 +277,12 @@ message Function { } message ActionSchema { - message LinkedResource { - string type_name = 1; - string description = 2; - } - message Unlinked {} - - message Lifecycle { - enum ExecutionOrder { - INVALID = 0; - BEFORE = 1; - AFTER = 2; - } - - ExecutionOrder executes = 1; // before or after the resource operation - LinkedResource linked_resource = 2; // the resource that is linked to the action - } - - message Linked { - repeated LinkedResource linked_resources = 1; - } Schema schema = 1; // of the action itself oneof type { Unlinked unlinked = 2; - Lifecycle lifecycle = 3; - Linked linked = 4; } } @@ -437,7 +415,7 @@ message GetMetadata { repeated FunctionMetadata functions = 5; repeated EphemeralResourceMetadata ephemeral_resources = 6; repeated ListResourceMetadata list_resources = 7; - // TODO: Field number 8 will be used by state stores + reserved 8; // TODO: Field number 8 will be used by state stores repeated ActionMetadata actions = 9; } @@ -482,7 +460,7 @@ message GetProviderSchema { map functions = 7; map ephemeral_resource_schemas = 8; map list_resource_schemas = 9; - // TODO: Field number 10 will be used by state stores + reserved 10; // TODO: Field number 10 will be used by state stores map action_schemas = 11; } } @@ -911,12 +889,18 @@ message ValidateActionConfig { message Request { string action_type = 1; DynamicValue config = 2; + repeated LinkedResourceConfig linked_resources = 3; } message Response { repeated Diagnostic diagnostics = 1; } } +message LinkedResourceConfig { + string type_name = 1; + DynamicValue config = 2; +} + message PlanAction { message Request { message LinkedResource { diff --git a/tfprotov6/internal/toproto/action_schema.go b/tfprotov6/internal/toproto/action_schema.go index bd1c5dfb..246db981 100644 --- a/tfprotov6/internal/toproto/action_schema.go +++ b/tfprotov6/internal/toproto/action_schema.go @@ -19,24 +19,11 @@ func ActionSchema(in *tfprotov6.ActionSchema) *tfplugin6.ActionSchema { Schema: Schema(in.Schema), } - switch actionSchemaType := in.Type.(type) { + switch in.Type.(type) { case tfprotov6.UnlinkedActionSchemaType: resp.Type = &tfplugin6.ActionSchema_Unlinked_{ Unlinked: &tfplugin6.ActionSchema_Unlinked{}, } - case tfprotov6.LifecycleActionSchemaType: - resp.Type = &tfplugin6.ActionSchema_Lifecycle_{ - Lifecycle: &tfplugin6.ActionSchema_Lifecycle{ - Executes: tfplugin6.ActionSchema_Lifecycle_ExecutionOrder(actionSchemaType.Executes), - LinkedResource: LinkedResourceSchema(actionSchemaType.LinkedResource), - }, - } - case tfprotov6.LinkedActionSchemaType: - resp.Type = &tfplugin6.ActionSchema_Linked_{ - Linked: &tfplugin6.ActionSchema_Linked{ - LinkedResources: LinkedResourceSchemas(actionSchemaType.LinkedResources), - }, - } default: // It is not currently possible to create tfprotov6.ActionSchemaType // implementations outside the tfprotov6 package. If this panic was reached, @@ -47,23 +34,3 @@ func ActionSchema(in *tfprotov6.ActionSchema) *tfplugin6.ActionSchema { return resp } -func LinkedResourceSchemas(in []*tfprotov6.LinkedResourceSchema) []*tfplugin6.ActionSchema_LinkedResource { - resp := make([]*tfplugin6.ActionSchema_LinkedResource, 0, len(in)) - - for _, schema := range in { - resp = append(resp, LinkedResourceSchema(schema)) - } - - return resp -} - -func LinkedResourceSchema(in *tfprotov6.LinkedResourceSchema) *tfplugin6.ActionSchema_LinkedResource { - if in == nil { - return nil - } - - return &tfplugin6.ActionSchema_LinkedResource{ - TypeName: in.TypeName, - Description: in.Description, - } -} diff --git a/tfprotov6/internal/toproto/action_schema_test.go b/tfprotov6/internal/toproto/action_schema_test.go index 70bdffb0..4224dd1b 100644 --- a/tfprotov6/internal/toproto/action_schema_test.go +++ b/tfprotov6/internal/toproto/action_schema_test.go @@ -63,87 +63,6 @@ func TestActionSchema(t *testing.T) { }, }, }, - "Type - LifecycleActionSchemaType - Executes - Before": { - in: &tfprotov6.ActionSchema{ - Type: tfprotov6.LifecycleActionSchemaType{ - Executes: tfprotov6.LifecycleExecutionOrderBefore, - }, - }, - expected: &tfplugin6.ActionSchema{ - Type: &tfplugin6.ActionSchema_Lifecycle_{ - Lifecycle: &tfplugin6.ActionSchema_Lifecycle{ - Executes: tfplugin6.ActionSchema_Lifecycle_BEFORE, - }, - }, - }, - }, - "Type - LifecycleActionSchemaType - Executes - After": { - in: &tfprotov6.ActionSchema{ - Type: tfprotov6.LifecycleActionSchemaType{ - Executes: tfprotov6.LifecycleExecutionOrderAfter, - }, - }, - expected: &tfplugin6.ActionSchema{ - Type: &tfplugin6.ActionSchema_Lifecycle_{ - Lifecycle: &tfplugin6.ActionSchema_Lifecycle{ - Executes: tfplugin6.ActionSchema_Lifecycle_AFTER, - }, - }, - }, - }, - "Type - LifecycleActionSchemaType - LinkedResource": { - in: &tfprotov6.ActionSchema{ - Type: tfprotov6.LifecycleActionSchemaType{ - LinkedResource: &tfprotov6.LinkedResourceSchema{ - TypeName: "test", - Description: "This is a test linked resource.", - }, - }, - }, - expected: &tfplugin6.ActionSchema{ - Type: &tfplugin6.ActionSchema_Lifecycle_{ - Lifecycle: &tfplugin6.ActionSchema_Lifecycle{ - Executes: tfplugin6.ActionSchema_Lifecycle_INVALID, - LinkedResource: &tfplugin6.ActionSchema_LinkedResource{ - TypeName: "test", - Description: "This is a test linked resource.", - }, - }, - }, - }, - }, - "Type - LinkedActionSchemaType - LinkedResources": { - in: &tfprotov6.ActionSchema{ - Type: tfprotov6.LinkedActionSchemaType{ - LinkedResources: []*tfprotov6.LinkedResourceSchema{ - { - TypeName: "test 1", - Description: "This is a test linked resource.", - }, - { - TypeName: "test 2", - Description: "This is also a test linked resource.", - }, - }, - }, - }, - expected: &tfplugin6.ActionSchema{ - Type: &tfplugin6.ActionSchema_Linked_{ - Linked: &tfplugin6.ActionSchema_Linked{ - LinkedResources: []*tfplugin6.ActionSchema_LinkedResource{ - { - TypeName: "test 1", - Description: "This is a test linked resource.", - }, - { - TypeName: "test 2", - Description: "This is also a test linked resource.", - }, - }, - }, - }, - }, - }, } for name, testCase := range testCases { @@ -160,11 +79,6 @@ func TestActionSchema(t *testing.T) { tfplugin6.ActionSchema{}, tfplugin6.ActionSchema_Unlinked{}, tfplugin6.ActionSchema_Unlinked_{}, - tfplugin6.ActionSchema_Lifecycle{}, - tfplugin6.ActionSchema_Lifecycle_{}, - tfplugin6.ActionSchema_Linked{}, - tfplugin6.ActionSchema_Linked_{}, - tfplugin6.ActionSchema_LinkedResource{}, tfplugin6.Schema{}, tfplugin6.Schema_Attribute{}, tfplugin6.Schema_Block{},