Files
opentf/internal/tfplugin6/tfplugin6.pb.go
Martin Atkins 27e6565701 Use the latest protobuf tools and libraries throughout
Previously we were using a mixture of old and new, with our code generation
using the plugin from the old github.com/golang/protobuf library but
our callers using the modern google.golang.org/protobuf . We were also
using pretty ancient version of protoc.

This brings us up to the current latest releases and consistently using
the new Go protobuf library. There have been some notable changes to these
tools in the meantime:

Previously the protoc-gen-go plugin handled grpc by having its own
additional level of Go-specific "plugins" of which the gRPC codegen was
an example.

Now the protobuf generator and the gRPC generator are separate plugins
handled directly by protoc, which means the command line arguments are
a different shape and the gRPC stubs get generated in a separate file
from the main protobuf messages, rather than all being in one .pb.go file
as before.The results are otherwise similar, though.

The grpc codegen now also defaults to requiring that implementations embed
the generated "unimplemented" server, which is an implementation of each
service where the methods just immediately return the "unimplemented"
error. This is not super important for us because we maintain the generated
interfaces and their implementations together in the same repository
anyway, but adding the "unimplemented" server embeds was not a big change
and so seems better to follow the prevailing convention.

Using these new versions means that we could in principle now switch to
using protobuf edition 2024 and the new "sealed" style for Go code
generation, but this commit does not include any such changes and focuses
only on getting things upgraded with as few other changes as possible. We
can discuss using different codegen style later and deal with that in
separate commits.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-08 07:43:40 -07:00

6223 lines
213 KiB
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
// Terraform Plugin RPC protocol version 6.9
//
// This file defines version 6.9 of the RPC protocol. To implement a plugin
// against this protocol, copy this definition into your own codebase and
// use protoc to generate stubs for your target language.
//
// This file will not be updated. Any minor versions of protocol 6 to follow
// should copy this file and modify the copy while maintaining backwards
// compatibility. Breaking changes, if any are required, will come
// in a subsequent major version with its own separate proto definition.
//
// Note that only the proto files included in a release tag of Terraform are
// official protocol releases. Proto files taken from other commits may include
// incomplete changes or features that did not make it into a final release.
// In all reasonable cases, plugin developers should take the proto file from
// the tag of the most recent release of Terraform, and not from the main
// branch or any other development branch.
//
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.10
// protoc v6.32.1
// source: tfplugin6.proto
package tfplugin6
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type StringKind int32
const (
StringKind_PLAIN StringKind = 0
StringKind_MARKDOWN StringKind = 1
)
// Enum value maps for StringKind.
var (
StringKind_name = map[int32]string{
0: "PLAIN",
1: "MARKDOWN",
}
StringKind_value = map[string]int32{
"PLAIN": 0,
"MARKDOWN": 1,
}
)
func (x StringKind) Enum() *StringKind {
p := new(StringKind)
*p = x
return p
}
func (x StringKind) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (StringKind) Descriptor() protoreflect.EnumDescriptor {
return file_tfplugin6_proto_enumTypes[0].Descriptor()
}
func (StringKind) Type() protoreflect.EnumType {
return &file_tfplugin6_proto_enumTypes[0]
}
func (x StringKind) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use StringKind.Descriptor instead.
func (StringKind) EnumDescriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{0}
}
type Diagnostic_Severity int32
const (
Diagnostic_INVALID Diagnostic_Severity = 0
Diagnostic_ERROR Diagnostic_Severity = 1
Diagnostic_WARNING Diagnostic_Severity = 2
)
// Enum value maps for Diagnostic_Severity.
var (
Diagnostic_Severity_name = map[int32]string{
0: "INVALID",
1: "ERROR",
2: "WARNING",
}
Diagnostic_Severity_value = map[string]int32{
"INVALID": 0,
"ERROR": 1,
"WARNING": 2,
}
)
func (x Diagnostic_Severity) Enum() *Diagnostic_Severity {
p := new(Diagnostic_Severity)
*p = x
return p
}
func (x Diagnostic_Severity) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Diagnostic_Severity) Descriptor() protoreflect.EnumDescriptor {
return file_tfplugin6_proto_enumTypes[1].Descriptor()
}
func (Diagnostic_Severity) Type() protoreflect.EnumType {
return &file_tfplugin6_proto_enumTypes[1]
}
func (x Diagnostic_Severity) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Diagnostic_Severity.Descriptor instead.
func (Diagnostic_Severity) EnumDescriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{1, 0}
}
type Schema_NestedBlock_NestingMode int32
const (
Schema_NestedBlock_INVALID Schema_NestedBlock_NestingMode = 0
Schema_NestedBlock_SINGLE Schema_NestedBlock_NestingMode = 1
Schema_NestedBlock_LIST Schema_NestedBlock_NestingMode = 2
Schema_NestedBlock_SET Schema_NestedBlock_NestingMode = 3
Schema_NestedBlock_MAP Schema_NestedBlock_NestingMode = 4
Schema_NestedBlock_GROUP Schema_NestedBlock_NestingMode = 5
)
// Enum value maps for Schema_NestedBlock_NestingMode.
var (
Schema_NestedBlock_NestingMode_name = map[int32]string{
0: "INVALID",
1: "SINGLE",
2: "LIST",
3: "SET",
4: "MAP",
5: "GROUP",
}
Schema_NestedBlock_NestingMode_value = map[string]int32{
"INVALID": 0,
"SINGLE": 1,
"LIST": 2,
"SET": 3,
"MAP": 4,
"GROUP": 5,
}
)
func (x Schema_NestedBlock_NestingMode) Enum() *Schema_NestedBlock_NestingMode {
p := new(Schema_NestedBlock_NestingMode)
*p = x
return p
}
func (x Schema_NestedBlock_NestingMode) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Schema_NestedBlock_NestingMode) Descriptor() protoreflect.EnumDescriptor {
return file_tfplugin6_proto_enumTypes[2].Descriptor()
}
func (Schema_NestedBlock_NestingMode) Type() protoreflect.EnumType {
return &file_tfplugin6_proto_enumTypes[2]
}
func (x Schema_NestedBlock_NestingMode) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Schema_NestedBlock_NestingMode.Descriptor instead.
func (Schema_NestedBlock_NestingMode) EnumDescriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{6, 2, 0}
}
type Schema_Object_NestingMode int32
const (
Schema_Object_INVALID Schema_Object_NestingMode = 0
Schema_Object_SINGLE Schema_Object_NestingMode = 1
Schema_Object_LIST Schema_Object_NestingMode = 2
Schema_Object_SET Schema_Object_NestingMode = 3
Schema_Object_MAP Schema_Object_NestingMode = 4
)
// Enum value maps for Schema_Object_NestingMode.
var (
Schema_Object_NestingMode_name = map[int32]string{
0: "INVALID",
1: "SINGLE",
2: "LIST",
3: "SET",
4: "MAP",
}
Schema_Object_NestingMode_value = map[string]int32{
"INVALID": 0,
"SINGLE": 1,
"LIST": 2,
"SET": 3,
"MAP": 4,
}
)
func (x Schema_Object_NestingMode) Enum() *Schema_Object_NestingMode {
p := new(Schema_Object_NestingMode)
*p = x
return p
}
func (x Schema_Object_NestingMode) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Schema_Object_NestingMode) Descriptor() protoreflect.EnumDescriptor {
return file_tfplugin6_proto_enumTypes[3].Descriptor()
}
func (Schema_Object_NestingMode) Type() protoreflect.EnumType {
return &file_tfplugin6_proto_enumTypes[3]
}
func (x Schema_Object_NestingMode) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Schema_Object_NestingMode.Descriptor instead.
func (Schema_Object_NestingMode) EnumDescriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{6, 3, 0}
}
// Reason is the reason for deferring the change.
type Deferred_Reason int32
const (
// UNKNOWN is the default value, and should not be used.
Deferred_UNKNOWN Deferred_Reason = 0
// RESOURCE_CONFIG_UNKNOWN is used when the config is partially unknown and the real
// values need to be known before the change can be planned.
Deferred_RESOURCE_CONFIG_UNKNOWN Deferred_Reason = 1
// PROVIDER_CONFIG_UNKNOWN is used when parts of the provider configuration
// are unknown, e.g. the provider configuration is only known after the apply is done.
Deferred_PROVIDER_CONFIG_UNKNOWN Deferred_Reason = 2
// ABSENT_PREREQ is used when a hard dependency has not been satisfied.
Deferred_ABSENT_PREREQ Deferred_Reason = 3
)
// Enum value maps for Deferred_Reason.
var (
Deferred_Reason_name = map[int32]string{
0: "UNKNOWN",
1: "RESOURCE_CONFIG_UNKNOWN",
2: "PROVIDER_CONFIG_UNKNOWN",
3: "ABSENT_PREREQ",
}
Deferred_Reason_value = map[string]int32{
"UNKNOWN": 0,
"RESOURCE_CONFIG_UNKNOWN": 1,
"PROVIDER_CONFIG_UNKNOWN": 2,
"ABSENT_PREREQ": 3,
}
)
func (x Deferred_Reason) Enum() *Deferred_Reason {
p := new(Deferred_Reason)
*p = x
return p
}
func (x Deferred_Reason) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Deferred_Reason) Descriptor() protoreflect.EnumDescriptor {
return file_tfplugin6_proto_enumTypes[4].Descriptor()
}
func (Deferred_Reason) Type() protoreflect.EnumType {
return &file_tfplugin6_proto_enumTypes[4]
}
func (x Deferred_Reason) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Deferred_Reason.Descriptor instead.
func (Deferred_Reason) EnumDescriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{12, 0}
}
// DynamicValue is an opaque encoding of terraform data, with the field name
// indicating the encoding scheme used.
type DynamicValue struct {
state protoimpl.MessageState `protogen:"open.v1"`
Msgpack []byte `protobuf:"bytes,1,opt,name=msgpack,proto3" json:"msgpack,omitempty"`
Json []byte `protobuf:"bytes,2,opt,name=json,proto3" json:"json,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DynamicValue) Reset() {
*x = DynamicValue{}
mi := &file_tfplugin6_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DynamicValue) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DynamicValue) ProtoMessage() {}
func (x *DynamicValue) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[0]
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 DynamicValue.ProtoReflect.Descriptor instead.
func (*DynamicValue) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{0}
}
func (x *DynamicValue) GetMsgpack() []byte {
if x != nil {
return x.Msgpack
}
return nil
}
func (x *DynamicValue) GetJson() []byte {
if x != nil {
return x.Json
}
return nil
}
type Diagnostic struct {
state protoimpl.MessageState `protogen:"open.v1"`
Severity Diagnostic_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=tfplugin6.Diagnostic_Severity" json:"severity,omitempty"`
Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
Attribute *AttributePath `protobuf:"bytes,4,opt,name=attribute,proto3" json:"attribute,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Diagnostic) Reset() {
*x = Diagnostic{}
mi := &file_tfplugin6_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Diagnostic) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Diagnostic) ProtoMessage() {}
func (x *Diagnostic) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[1]
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 Diagnostic.ProtoReflect.Descriptor instead.
func (*Diagnostic) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{1}
}
func (x *Diagnostic) GetSeverity() Diagnostic_Severity {
if x != nil {
return x.Severity
}
return Diagnostic_INVALID
}
func (x *Diagnostic) GetSummary() string {
if x != nil {
return x.Summary
}
return ""
}
func (x *Diagnostic) GetDetail() string {
if x != nil {
return x.Detail
}
return ""
}
func (x *Diagnostic) GetAttribute() *AttributePath {
if x != nil {
return x.Attribute
}
return nil
}
type FunctionError struct {
state protoimpl.MessageState `protogen:"open.v1"`
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// The optional function_argument records the index position of the
// argument which caused the error.
FunctionArgument *int64 `protobuf:"varint,2,opt,name=function_argument,json=functionArgument,proto3,oneof" json:"function_argument,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FunctionError) Reset() {
*x = FunctionError{}
mi := &file_tfplugin6_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *FunctionError) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FunctionError) ProtoMessage() {}
func (x *FunctionError) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[2]
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 FunctionError.ProtoReflect.Descriptor instead.
func (*FunctionError) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{2}
}
func (x *FunctionError) GetText() string {
if x != nil {
return x.Text
}
return ""
}
func (x *FunctionError) GetFunctionArgument() int64 {
if x != nil && x.FunctionArgument != nil {
return *x.FunctionArgument
}
return 0
}
type AttributePath struct {
state protoimpl.MessageState `protogen:"open.v1"`
Steps []*AttributePath_Step `protobuf:"bytes,1,rep,name=steps,proto3" json:"steps,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AttributePath) Reset() {
*x = AttributePath{}
mi := &file_tfplugin6_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AttributePath) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AttributePath) ProtoMessage() {}
func (x *AttributePath) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[3]
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 AttributePath.ProtoReflect.Descriptor instead.
func (*AttributePath) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{3}
}
func (x *AttributePath) GetSteps() []*AttributePath_Step {
if x != nil {
return x.Steps
}
return nil
}
type StopProvider struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StopProvider) Reset() {
*x = StopProvider{}
mi := &file_tfplugin6_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StopProvider) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StopProvider) ProtoMessage() {}
func (x *StopProvider) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[4]
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 StopProvider.ProtoReflect.Descriptor instead.
func (*StopProvider) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{4}
}
// RawState holds the stored state for a resource to be upgraded by the
// provider. It can be in one of two formats, the current json encoded format
// in bytes, or the legacy flatmap format as a map of strings.
type RawState struct {
state protoimpl.MessageState `protogen:"open.v1"`
Json []byte `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"`
Flatmap map[string]string `protobuf:"bytes,2,rep,name=flatmap,proto3" json:"flatmap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RawState) Reset() {
*x = RawState{}
mi := &file_tfplugin6_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RawState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RawState) ProtoMessage() {}
func (x *RawState) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[5]
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 RawState.ProtoReflect.Descriptor instead.
func (*RawState) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{5}
}
func (x *RawState) GetJson() []byte {
if x != nil {
return x.Json
}
return nil
}
func (x *RawState) GetFlatmap() map[string]string {
if x != nil {
return x.Flatmap
}
return nil
}
// Schema is the configuration schema for a Resource or Provider.
type Schema struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The version of the schema.
// Schemas are versioned, so that providers can upgrade a saved resource
// state when the schema is changed.
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Block is the top level configuration block for this schema.
Block *Schema_Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Schema) Reset() {
*x = Schema{}
mi := &file_tfplugin6_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Schema) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Schema) ProtoMessage() {}
func (x *Schema) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[6]
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 Schema.ProtoReflect.Descriptor instead.
func (*Schema) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{6}
}
func (x *Schema) GetVersion() int64 {
if x != nil {
return x.Version
}
return 0
}
func (x *Schema) GetBlock() *Schema_Block {
if x != nil {
return x.Block
}
return nil
}
// ResourceIdentitySchema represents the structure and types of data used to identify
// a managed resource type. Effectively, resource identity is a versioned object
// that can be used to compare resources, whether already managed and/or being
// discovered.
type ResourceIdentitySchema struct {
state protoimpl.MessageState `protogen:"open.v1"`
// version is the identity version and separate from the Schema version.
// Any time the structure or format of identity_attributes changes, this version
// should be incremented. Versioning implicitly starts at 0 and by convention
// should be incremented by 1 each change.
//
// When comparing identity_attributes data, differing versions should always be treated
// as inequal.
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// identity_attributes are the individual value definitions which define identity data
// for a managed resource type. This information is used to decode DynamicValue of
// identity data.
//
// These attributes are intended for permanent identity data and must be wholly
// representative of all data necessary to compare two managed resource instances
// with no other data. This generally should include account, endpoint, location,
// and automatically generated identifiers. For some resources, this may include
// configuration-based data, such as a required name which must be unique.
IdentityAttributes []*ResourceIdentitySchema_IdentityAttribute `protobuf:"bytes,2,rep,name=identity_attributes,json=identityAttributes,proto3" json:"identity_attributes,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ResourceIdentitySchema) Reset() {
*x = ResourceIdentitySchema{}
mi := &file_tfplugin6_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ResourceIdentitySchema) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourceIdentitySchema) ProtoMessage() {}
func (x *ResourceIdentitySchema) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[7]
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 ResourceIdentitySchema.ProtoReflect.Descriptor instead.
func (*ResourceIdentitySchema) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{7}
}
func (x *ResourceIdentitySchema) GetVersion() int64 {
if x != nil {
return x.Version
}
return 0
}
func (x *ResourceIdentitySchema) GetIdentityAttributes() []*ResourceIdentitySchema_IdentityAttribute {
if x != nil {
return x.IdentityAttributes
}
return nil
}
// ResourceIdentityData is a separate message for better extensibility
type ResourceIdentityData struct {
state protoimpl.MessageState `protogen:"open.v1"`
// identity_data is the resource identity data for the given definition. It should
// be decoded using the identity schema.
//
// This data is considered permanent for the identity version and suitable for
// longer-term storage.
IdentityData *DynamicValue `protobuf:"bytes,1,opt,name=identity_data,json=identityData,proto3" json:"identity_data,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ResourceIdentityData) Reset() {
*x = ResourceIdentityData{}
mi := &file_tfplugin6_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ResourceIdentityData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourceIdentityData) ProtoMessage() {}
func (x *ResourceIdentityData) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[8]
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 ResourceIdentityData.ProtoReflect.Descriptor instead.
func (*ResourceIdentityData) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{8}
}
func (x *ResourceIdentityData) GetIdentityData() *DynamicValue {
if x != nil {
return x.IdentityData
}
return nil
}
type Function struct {
state protoimpl.MessageState `protogen:"open.v1"`
// parameters is the ordered list of positional function parameters.
Parameters []*Function_Parameter `protobuf:"bytes,1,rep,name=parameters,proto3" json:"parameters,omitempty"`
// variadic_parameter is an optional final parameter which accepts
// zero or more argument values, in which Terraform will send an
// ordered list of the parameter type.
VariadicParameter *Function_Parameter `protobuf:"bytes,2,opt,name=variadic_parameter,json=variadicParameter,proto3" json:"variadic_parameter,omitempty"`
// return is the function result.
Return *Function_Return `protobuf:"bytes,3,opt,name=return,proto3" json:"return,omitempty"`
// summary is the human-readable shortened documentation for the function.
Summary string `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"`
// description is human-readable documentation for the function.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// description_kind is the formatting of the description.
DescriptionKind StringKind `protobuf:"varint,6,opt,name=description_kind,json=descriptionKind,proto3,enum=tfplugin6.StringKind" json:"description_kind,omitempty"`
// deprecation_message is human-readable documentation if the
// function is deprecated.
DeprecationMessage string `protobuf:"bytes,7,opt,name=deprecation_message,json=deprecationMessage,proto3" json:"deprecation_message,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Function) Reset() {
*x = Function{}
mi := &file_tfplugin6_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Function) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Function) ProtoMessage() {}
func (x *Function) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[9]
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 Function.ProtoReflect.Descriptor instead.
func (*Function) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{9}
}
func (x *Function) GetParameters() []*Function_Parameter {
if x != nil {
return x.Parameters
}
return nil
}
func (x *Function) GetVariadicParameter() *Function_Parameter {
if x != nil {
return x.VariadicParameter
}
return nil
}
func (x *Function) GetReturn() *Function_Return {
if x != nil {
return x.Return
}
return nil
}
func (x *Function) GetSummary() string {
if x != nil {
return x.Summary
}
return ""
}
func (x *Function) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *Function) GetDescriptionKind() StringKind {
if x != nil {
return x.DescriptionKind
}
return StringKind_PLAIN
}
func (x *Function) GetDeprecationMessage() string {
if x != nil {
return x.DeprecationMessage
}
return ""
}
// 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
// in a major protocol version, but cannot be tested for directly.
type ServerCapabilities struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The plan_destroy capability signals that a provider expects a call
// to PlanResourceChange when a resource is going to be destroyed.
PlanDestroy bool `protobuf:"varint,1,opt,name=plan_destroy,json=planDestroy,proto3" json:"plan_destroy,omitempty"`
// The get_provider_schema_optional capability indicates that this
// provider does not require calling GetProviderSchema to operate
// normally, and the caller can used a cached copy of the provider's
// schema.
GetProviderSchemaOptional bool `protobuf:"varint,2,opt,name=get_provider_schema_optional,json=getProviderSchemaOptional,proto3" json:"get_provider_schema_optional,omitempty"`
// The move_resource_state capability signals that a provider supports the
// MoveResourceState RPC.
MoveResourceState bool `protobuf:"varint,3,opt,name=move_resource_state,json=moveResourceState,proto3" json:"move_resource_state,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ServerCapabilities) Reset() {
*x = ServerCapabilities{}
mi := &file_tfplugin6_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ServerCapabilities) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ServerCapabilities) ProtoMessage() {}
func (x *ServerCapabilities) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[10]
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 ServerCapabilities.ProtoReflect.Descriptor instead.
func (*ServerCapabilities) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{10}
}
func (x *ServerCapabilities) GetPlanDestroy() bool {
if x != nil {
return x.PlanDestroy
}
return false
}
func (x *ServerCapabilities) GetGetProviderSchemaOptional() bool {
if x != nil {
return x.GetProviderSchemaOptional
}
return false
}
func (x *ServerCapabilities) GetMoveResourceState() bool {
if x != nil {
return x.MoveResourceState
}
return false
}
// ClientCapabilities allows Terraform to publish information regarding
// supported protocol features. This is used to indicate availability of
// certain forward-compatible changes which may be optional in a major
// protocol version, but cannot be tested for directly.
type ClientCapabilities struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The deferral_allowed capability signals that the client is able to
// handle deferred responses from the provider.
DeferralAllowed bool `protobuf:"varint,1,opt,name=deferral_allowed,json=deferralAllowed,proto3" json:"deferral_allowed,omitempty"`
// The write_only_attributes_allowed capability signals that the client
// is able to handle write_only attributes for managed resources.
WriteOnlyAttributesAllowed bool `protobuf:"varint,2,opt,name=write_only_attributes_allowed,json=writeOnlyAttributesAllowed,proto3" json:"write_only_attributes_allowed,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClientCapabilities) Reset() {
*x = ClientCapabilities{}
mi := &file_tfplugin6_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClientCapabilities) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClientCapabilities) ProtoMessage() {}
func (x *ClientCapabilities) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[11]
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 ClientCapabilities.ProtoReflect.Descriptor instead.
func (*ClientCapabilities) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{11}
}
func (x *ClientCapabilities) GetDeferralAllowed() bool {
if x != nil {
return x.DeferralAllowed
}
return false
}
func (x *ClientCapabilities) GetWriteOnlyAttributesAllowed() bool {
if x != nil {
return x.WriteOnlyAttributesAllowed
}
return false
}
// Deferred is a message that indicates that change is deferred for a reason.
type Deferred struct {
state protoimpl.MessageState `protogen:"open.v1"`
// reason is the reason for deferring the change.
Reason Deferred_Reason `protobuf:"varint,1,opt,name=reason,proto3,enum=tfplugin6.Deferred_Reason" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Deferred) Reset() {
*x = Deferred{}
mi := &file_tfplugin6_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Deferred) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Deferred) ProtoMessage() {}
func (x *Deferred) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[12]
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 Deferred.ProtoReflect.Descriptor instead.
func (*Deferred) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{12}
}
func (x *Deferred) GetReason() Deferred_Reason {
if x != nil {
return x.Reason
}
return Deferred_UNKNOWN
}
type GetMetadata struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMetadata) Reset() {
*x = GetMetadata{}
mi := &file_tfplugin6_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMetadata) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMetadata) ProtoMessage() {}
func (x *GetMetadata) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[13]
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 GetMetadata.ProtoReflect.Descriptor instead.
func (*GetMetadata) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{13}
}
type GetProviderSchema struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetProviderSchema) Reset() {
*x = GetProviderSchema{}
mi := &file_tfplugin6_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetProviderSchema) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetProviderSchema) ProtoMessage() {}
func (x *GetProviderSchema) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[14]
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 GetProviderSchema.ProtoReflect.Descriptor instead.
func (*GetProviderSchema) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{14}
}
type ValidateProviderConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ValidateProviderConfig) Reset() {
*x = ValidateProviderConfig{}
mi := &file_tfplugin6_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ValidateProviderConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ValidateProviderConfig) ProtoMessage() {}
func (x *ValidateProviderConfig) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[15]
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 ValidateProviderConfig.ProtoReflect.Descriptor instead.
func (*ValidateProviderConfig) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{15}
}
type UpgradeResourceState struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpgradeResourceState) Reset() {
*x = UpgradeResourceState{}
mi := &file_tfplugin6_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpgradeResourceState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpgradeResourceState) ProtoMessage() {}
func (x *UpgradeResourceState) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[16]
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 UpgradeResourceState.ProtoReflect.Descriptor instead.
func (*UpgradeResourceState) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{16}
}
type ValidateResourceConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ValidateResourceConfig) Reset() {
*x = ValidateResourceConfig{}
mi := &file_tfplugin6_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ValidateResourceConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ValidateResourceConfig) ProtoMessage() {}
func (x *ValidateResourceConfig) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[17]
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 ValidateResourceConfig.ProtoReflect.Descriptor instead.
func (*ValidateResourceConfig) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{17}
}
type ValidateDataResourceConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ValidateDataResourceConfig) Reset() {
*x = ValidateDataResourceConfig{}
mi := &file_tfplugin6_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ValidateDataResourceConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ValidateDataResourceConfig) ProtoMessage() {}
func (x *ValidateDataResourceConfig) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[18]
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 ValidateDataResourceConfig.ProtoReflect.Descriptor instead.
func (*ValidateDataResourceConfig) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{18}
}
type ConfigureProvider struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConfigureProvider) Reset() {
*x = ConfigureProvider{}
mi := &file_tfplugin6_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConfigureProvider) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConfigureProvider) ProtoMessage() {}
func (x *ConfigureProvider) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[19]
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 ConfigureProvider.ProtoReflect.Descriptor instead.
func (*ConfigureProvider) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{19}
}
type ReadResource struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReadResource) Reset() {
*x = ReadResource{}
mi := &file_tfplugin6_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReadResource) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReadResource) ProtoMessage() {}
func (x *ReadResource) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[20]
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 ReadResource.ProtoReflect.Descriptor instead.
func (*ReadResource) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{20}
}
type PlanResourceChange struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PlanResourceChange) Reset() {
*x = PlanResourceChange{}
mi := &file_tfplugin6_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PlanResourceChange) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PlanResourceChange) ProtoMessage() {}
func (x *PlanResourceChange) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[21]
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 PlanResourceChange.ProtoReflect.Descriptor instead.
func (*PlanResourceChange) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{21}
}
type ApplyResourceChange struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ApplyResourceChange) Reset() {
*x = ApplyResourceChange{}
mi := &file_tfplugin6_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ApplyResourceChange) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ApplyResourceChange) ProtoMessage() {}
func (x *ApplyResourceChange) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[22]
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 ApplyResourceChange.ProtoReflect.Descriptor instead.
func (*ApplyResourceChange) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{22}
}
type ImportResourceState struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ImportResourceState) Reset() {
*x = ImportResourceState{}
mi := &file_tfplugin6_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ImportResourceState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ImportResourceState) ProtoMessage() {}
func (x *ImportResourceState) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[23]
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 ImportResourceState.ProtoReflect.Descriptor instead.
func (*ImportResourceState) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{23}
}
type MoveResourceState struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MoveResourceState) Reset() {
*x = MoveResourceState{}
mi := &file_tfplugin6_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MoveResourceState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MoveResourceState) ProtoMessage() {}
func (x *MoveResourceState) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[24]
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 MoveResourceState.ProtoReflect.Descriptor instead.
func (*MoveResourceState) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{24}
}
type ReadDataSource struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReadDataSource) Reset() {
*x = ReadDataSource{}
mi := &file_tfplugin6_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReadDataSource) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReadDataSource) ProtoMessage() {}
func (x *ReadDataSource) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[25]
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 ReadDataSource.ProtoReflect.Descriptor instead.
func (*ReadDataSource) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{25}
}
type GetFunctions struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetFunctions) Reset() {
*x = GetFunctions{}
mi := &file_tfplugin6_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetFunctions) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetFunctions) ProtoMessage() {}
func (x *GetFunctions) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[26]
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 GetFunctions.ProtoReflect.Descriptor instead.
func (*GetFunctions) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{26}
}
type CallFunction struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CallFunction) Reset() {
*x = CallFunction{}
mi := &file_tfplugin6_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallFunction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallFunction) ProtoMessage() {}
func (x *CallFunction) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[27]
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 CallFunction.ProtoReflect.Descriptor instead.
func (*CallFunction) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{27}
}
type ValidateEphemeralResourceConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ValidateEphemeralResourceConfig) Reset() {
*x = ValidateEphemeralResourceConfig{}
mi := &file_tfplugin6_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ValidateEphemeralResourceConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ValidateEphemeralResourceConfig) ProtoMessage() {}
func (x *ValidateEphemeralResourceConfig) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[28]
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 ValidateEphemeralResourceConfig.ProtoReflect.Descriptor instead.
func (*ValidateEphemeralResourceConfig) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{28}
}
type OpenEphemeralResource struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OpenEphemeralResource) Reset() {
*x = OpenEphemeralResource{}
mi := &file_tfplugin6_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OpenEphemeralResource) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OpenEphemeralResource) ProtoMessage() {}
func (x *OpenEphemeralResource) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[29]
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 OpenEphemeralResource.ProtoReflect.Descriptor instead.
func (*OpenEphemeralResource) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{29}
}
type RenewEphemeralResource struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RenewEphemeralResource) Reset() {
*x = RenewEphemeralResource{}
mi := &file_tfplugin6_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RenewEphemeralResource) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RenewEphemeralResource) ProtoMessage() {}
func (x *RenewEphemeralResource) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[30]
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 RenewEphemeralResource.ProtoReflect.Descriptor instead.
func (*RenewEphemeralResource) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{30}
}
type CloseEphemeralResource struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CloseEphemeralResource) Reset() {
*x = CloseEphemeralResource{}
mi := &file_tfplugin6_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CloseEphemeralResource) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CloseEphemeralResource) ProtoMessage() {}
func (x *CloseEphemeralResource) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[31]
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 CloseEphemeralResource.ProtoReflect.Descriptor instead.
func (*CloseEphemeralResource) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{31}
}
// Returns resource identity schemas for all resources
type GetResourceIdentitySchemas struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetResourceIdentitySchemas) Reset() {
*x = GetResourceIdentitySchemas{}
mi := &file_tfplugin6_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetResourceIdentitySchemas) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetResourceIdentitySchemas) ProtoMessage() {}
func (x *GetResourceIdentitySchemas) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[32]
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 GetResourceIdentitySchemas.ProtoReflect.Descriptor instead.
func (*GetResourceIdentitySchemas) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{32}
}
type UpgradeResourceIdentity struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpgradeResourceIdentity) Reset() {
*x = UpgradeResourceIdentity{}
mi := &file_tfplugin6_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpgradeResourceIdentity) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpgradeResourceIdentity) ProtoMessage() {}
func (x *UpgradeResourceIdentity) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[33]
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 UpgradeResourceIdentity.ProtoReflect.Descriptor instead.
func (*UpgradeResourceIdentity) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{33}
}
type AttributePath_Step struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Selector:
//
// *AttributePath_Step_AttributeName
// *AttributePath_Step_ElementKeyString
// *AttributePath_Step_ElementKeyInt
Selector isAttributePath_Step_Selector `protobuf_oneof:"selector"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AttributePath_Step) Reset() {
*x = AttributePath_Step{}
mi := &file_tfplugin6_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AttributePath_Step) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AttributePath_Step) ProtoMessage() {}
func (x *AttributePath_Step) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[34]
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 AttributePath_Step.ProtoReflect.Descriptor instead.
func (*AttributePath_Step) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{3, 0}
}
func (x *AttributePath_Step) GetSelector() isAttributePath_Step_Selector {
if x != nil {
return x.Selector
}
return nil
}
func (x *AttributePath_Step) GetAttributeName() string {
if x != nil {
if x, ok := x.Selector.(*AttributePath_Step_AttributeName); ok {
return x.AttributeName
}
}
return ""
}
func (x *AttributePath_Step) GetElementKeyString() string {
if x != nil {
if x, ok := x.Selector.(*AttributePath_Step_ElementKeyString); ok {
return x.ElementKeyString
}
}
return ""
}
func (x *AttributePath_Step) GetElementKeyInt() int64 {
if x != nil {
if x, ok := x.Selector.(*AttributePath_Step_ElementKeyInt); ok {
return x.ElementKeyInt
}
}
return 0
}
type isAttributePath_Step_Selector interface {
isAttributePath_Step_Selector()
}
type AttributePath_Step_AttributeName struct {
// Set "attribute_name" to represent looking up an attribute
// in the current object value.
AttributeName string `protobuf:"bytes,1,opt,name=attribute_name,json=attributeName,proto3,oneof"`
}
type AttributePath_Step_ElementKeyString struct {
// Set "element_key_*" to represent looking up an element in
// an indexable collection type.
ElementKeyString string `protobuf:"bytes,2,opt,name=element_key_string,json=elementKeyString,proto3,oneof"`
}
type AttributePath_Step_ElementKeyInt struct {
ElementKeyInt int64 `protobuf:"varint,3,opt,name=element_key_int,json=elementKeyInt,proto3,oneof"`
}
func (*AttributePath_Step_AttributeName) isAttributePath_Step_Selector() {}
func (*AttributePath_Step_ElementKeyString) isAttributePath_Step_Selector() {}
func (*AttributePath_Step_ElementKeyInt) isAttributePath_Step_Selector() {}
type StopProvider_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StopProvider_Request) Reset() {
*x = StopProvider_Request{}
mi := &file_tfplugin6_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StopProvider_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StopProvider_Request) ProtoMessage() {}
func (x *StopProvider_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[35]
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 StopProvider_Request.ProtoReflect.Descriptor instead.
func (*StopProvider_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{4, 0}
}
type StopProvider_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
Error string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StopProvider_Response) Reset() {
*x = StopProvider_Response{}
mi := &file_tfplugin6_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StopProvider_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StopProvider_Response) ProtoMessage() {}
func (x *StopProvider_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[36]
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 StopProvider_Response.ProtoReflect.Descriptor instead.
func (*StopProvider_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{4, 1}
}
func (x *StopProvider_Response) GetError() string {
if x != nil {
return x.Error
}
return ""
}
type Schema_Block struct {
state protoimpl.MessageState `protogen:"open.v1"`
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Attributes []*Schema_Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
BlockTypes []*Schema_NestedBlock `protobuf:"bytes,3,rep,name=block_types,json=blockTypes,proto3" json:"block_types,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
DescriptionKind StringKind `protobuf:"varint,5,opt,name=description_kind,json=descriptionKind,proto3,enum=tfplugin6.StringKind" json:"description_kind,omitempty"`
Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Schema_Block) Reset() {
*x = Schema_Block{}
mi := &file_tfplugin6_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Schema_Block) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Schema_Block) ProtoMessage() {}
func (x *Schema_Block) 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 Schema_Block.ProtoReflect.Descriptor instead.
func (*Schema_Block) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{6, 0}
}
func (x *Schema_Block) GetVersion() int64 {
if x != nil {
return x.Version
}
return 0
}
func (x *Schema_Block) GetAttributes() []*Schema_Attribute {
if x != nil {
return x.Attributes
}
return nil
}
func (x *Schema_Block) GetBlockTypes() []*Schema_NestedBlock {
if x != nil {
return x.BlockTypes
}
return nil
}
func (x *Schema_Block) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *Schema_Block) GetDescriptionKind() StringKind {
if x != nil {
return x.DescriptionKind
}
return StringKind_PLAIN
}
func (x *Schema_Block) GetDeprecated() bool {
if x != nil {
return x.Deprecated
}
return false
}
type Schema_Attribute struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Type []byte `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
NestedType *Schema_Object `protobuf:"bytes,10,opt,name=nested_type,json=nestedType,proto3" json:"nested_type,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"`
Optional bool `protobuf:"varint,5,opt,name=optional,proto3" json:"optional,omitempty"`
Computed bool `protobuf:"varint,6,opt,name=computed,proto3" json:"computed,omitempty"`
Sensitive bool `protobuf:"varint,7,opt,name=sensitive,proto3" json:"sensitive,omitempty"`
DescriptionKind StringKind `protobuf:"varint,8,opt,name=description_kind,json=descriptionKind,proto3,enum=tfplugin6.StringKind" json:"description_kind,omitempty"`
Deprecated bool `protobuf:"varint,9,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
// write_only indicates that the attribute value will be provided via
// configuration and must be omitted from state. write_only must be
// combined with optional or required, and is only valid for managed
// resource schemas.
WriteOnly bool `protobuf:"varint,11,opt,name=write_only,json=writeOnly,proto3" json:"write_only,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Schema_Attribute) Reset() {
*x = Schema_Attribute{}
mi := &file_tfplugin6_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Schema_Attribute) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Schema_Attribute) ProtoMessage() {}
func (x *Schema_Attribute) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[39]
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 Schema_Attribute.ProtoReflect.Descriptor instead.
func (*Schema_Attribute) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{6, 1}
}
func (x *Schema_Attribute) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Schema_Attribute) GetType() []byte {
if x != nil {
return x.Type
}
return nil
}
func (x *Schema_Attribute) GetNestedType() *Schema_Object {
if x != nil {
return x.NestedType
}
return nil
}
func (x *Schema_Attribute) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *Schema_Attribute) GetRequired() bool {
if x != nil {
return x.Required
}
return false
}
func (x *Schema_Attribute) GetOptional() bool {
if x != nil {
return x.Optional
}
return false
}
func (x *Schema_Attribute) GetComputed() bool {
if x != nil {
return x.Computed
}
return false
}
func (x *Schema_Attribute) GetSensitive() bool {
if x != nil {
return x.Sensitive
}
return false
}
func (x *Schema_Attribute) GetDescriptionKind() StringKind {
if x != nil {
return x.DescriptionKind
}
return StringKind_PLAIN
}
func (x *Schema_Attribute) GetDeprecated() bool {
if x != nil {
return x.Deprecated
}
return false
}
func (x *Schema_Attribute) GetWriteOnly() bool {
if x != nil {
return x.WriteOnly
}
return false
}
type Schema_NestedBlock struct {
state protoimpl.MessageState `protogen:"open.v1"`
TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
Block *Schema_Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
Nesting Schema_NestedBlock_NestingMode `protobuf:"varint,3,opt,name=nesting,proto3,enum=tfplugin6.Schema_NestedBlock_NestingMode" json:"nesting,omitempty"`
MinItems int64 `protobuf:"varint,4,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"`
MaxItems int64 `protobuf:"varint,5,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Schema_NestedBlock) Reset() {
*x = Schema_NestedBlock{}
mi := &file_tfplugin6_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Schema_NestedBlock) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Schema_NestedBlock) ProtoMessage() {}
func (x *Schema_NestedBlock) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[40]
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 Schema_NestedBlock.ProtoReflect.Descriptor instead.
func (*Schema_NestedBlock) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{6, 2}
}
func (x *Schema_NestedBlock) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
func (x *Schema_NestedBlock) GetBlock() *Schema_Block {
if x != nil {
return x.Block
}
return nil
}
func (x *Schema_NestedBlock) GetNesting() Schema_NestedBlock_NestingMode {
if x != nil {
return x.Nesting
}
return Schema_NestedBlock_INVALID
}
func (x *Schema_NestedBlock) GetMinItems() int64 {
if x != nil {
return x.MinItems
}
return 0
}
func (x *Schema_NestedBlock) GetMaxItems() int64 {
if x != nil {
return x.MaxItems
}
return 0
}
type Schema_Object struct {
state protoimpl.MessageState `protogen:"open.v1"`
Attributes []*Schema_Attribute `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"`
Nesting Schema_Object_NestingMode `protobuf:"varint,3,opt,name=nesting,proto3,enum=tfplugin6.Schema_Object_NestingMode" json:"nesting,omitempty"`
// MinItems and MaxItems were never used in the protocol, and have no
// effect on validation.
//
// Deprecated: Marked as deprecated in tfplugin6.proto.
MinItems int64 `protobuf:"varint,4,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"`
// Deprecated: Marked as deprecated in tfplugin6.proto.
MaxItems int64 `protobuf:"varint,5,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Schema_Object) Reset() {
*x = Schema_Object{}
mi := &file_tfplugin6_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Schema_Object) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Schema_Object) ProtoMessage() {}
func (x *Schema_Object) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_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 Schema_Object.ProtoReflect.Descriptor instead.
func (*Schema_Object) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{6, 3}
}
func (x *Schema_Object) GetAttributes() []*Schema_Attribute {
if x != nil {
return x.Attributes
}
return nil
}
func (x *Schema_Object) GetNesting() Schema_Object_NestingMode {
if x != nil {
return x.Nesting
}
return Schema_Object_INVALID
}
// Deprecated: Marked as deprecated in tfplugin6.proto.
func (x *Schema_Object) GetMinItems() int64 {
if x != nil {
return x.MinItems
}
return 0
}
// Deprecated: Marked as deprecated in tfplugin6.proto.
func (x *Schema_Object) GetMaxItems() int64 {
if x != nil {
return x.MaxItems
}
return 0
}
// IdentityAttribute represents one value of data within resource identity.
// These are always used in resource identity comparisons.
type ResourceIdentitySchema_IdentityAttribute struct {
state protoimpl.MessageState `protogen:"open.v1"`
// name is the identity attribute name
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// type is the identity attribute type
Type []byte `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// required_for_import when enabled signifies that this attribute must be
// defined for ImportResourceState to complete successfully
RequiredForImport bool `protobuf:"varint,3,opt,name=required_for_import,json=requiredForImport,proto3" json:"required_for_import,omitempty"`
// optional_for_import when enabled signifies that this attribute is not
// required for ImportResourceState, because it can be supplied by the
// provider. It is still possible to supply this attribute during import.
OptionalForImport bool `protobuf:"varint,4,opt,name=optional_for_import,json=optionalForImport,proto3" json:"optional_for_import,omitempty"`
// description is a human-readable description of the attribute in Markdown
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ResourceIdentitySchema_IdentityAttribute) Reset() {
*x = ResourceIdentitySchema_IdentityAttribute{}
mi := &file_tfplugin6_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ResourceIdentitySchema_IdentityAttribute) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourceIdentitySchema_IdentityAttribute) ProtoMessage() {}
func (x *ResourceIdentitySchema_IdentityAttribute) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[42]
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 ResourceIdentitySchema_IdentityAttribute.ProtoReflect.Descriptor instead.
func (*ResourceIdentitySchema_IdentityAttribute) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{7, 0}
}
func (x *ResourceIdentitySchema_IdentityAttribute) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *ResourceIdentitySchema_IdentityAttribute) GetType() []byte {
if x != nil {
return x.Type
}
return nil
}
func (x *ResourceIdentitySchema_IdentityAttribute) GetRequiredForImport() bool {
if x != nil {
return x.RequiredForImport
}
return false
}
func (x *ResourceIdentitySchema_IdentityAttribute) GetOptionalForImport() bool {
if x != nil {
return x.OptionalForImport
}
return false
}
func (x *ResourceIdentitySchema_IdentityAttribute) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
type Function_Parameter struct {
state protoimpl.MessageState `protogen:"open.v1"`
// name is the human-readable display name for the parameter.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// type is the type constraint for the parameter.
Type []byte `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// allow_null_value when enabled denotes that a null argument value can
// be passed to the provider. When disabled, Terraform returns an error
// if the argument value is null.
AllowNullValue bool `protobuf:"varint,3,opt,name=allow_null_value,json=allowNullValue,proto3" json:"allow_null_value,omitempty"`
// allow_unknown_values when enabled denotes that only wholly known
// argument values will be passed to the provider. When disabled,
// Terraform skips the function call entirely and assumes an unknown
// value result from the function.
AllowUnknownValues bool `protobuf:"varint,4,opt,name=allow_unknown_values,json=allowUnknownValues,proto3" json:"allow_unknown_values,omitempty"`
// description is human-readable documentation for the parameter.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// description_kind is the formatting of the description.
DescriptionKind StringKind `protobuf:"varint,6,opt,name=description_kind,json=descriptionKind,proto3,enum=tfplugin6.StringKind" json:"description_kind,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Function_Parameter) Reset() {
*x = Function_Parameter{}
mi := &file_tfplugin6_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Function_Parameter) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Function_Parameter) ProtoMessage() {}
func (x *Function_Parameter) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[43]
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 Function_Parameter.ProtoReflect.Descriptor instead.
func (*Function_Parameter) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{9, 0}
}
func (x *Function_Parameter) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Function_Parameter) GetType() []byte {
if x != nil {
return x.Type
}
return nil
}
func (x *Function_Parameter) GetAllowNullValue() bool {
if x != nil {
return x.AllowNullValue
}
return false
}
func (x *Function_Parameter) GetAllowUnknownValues() bool {
if x != nil {
return x.AllowUnknownValues
}
return false
}
func (x *Function_Parameter) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *Function_Parameter) GetDescriptionKind() StringKind {
if x != nil {
return x.DescriptionKind
}
return StringKind_PLAIN
}
type Function_Return struct {
state protoimpl.MessageState `protogen:"open.v1"`
// type is the type constraint for the function result.
Type []byte `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Function_Return) Reset() {
*x = Function_Return{}
mi := &file_tfplugin6_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Function_Return) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Function_Return) ProtoMessage() {}
func (x *Function_Return) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[44]
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 Function_Return.ProtoReflect.Descriptor instead.
func (*Function_Return) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{9, 1}
}
func (x *Function_Return) GetType() []byte {
if x != nil {
return x.Type
}
return nil
}
type GetMetadata_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMetadata_Request) Reset() {
*x = GetMetadata_Request{}
mi := &file_tfplugin6_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMetadata_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMetadata_Request) ProtoMessage() {}
func (x *GetMetadata_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[45]
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 GetMetadata_Request.ProtoReflect.Descriptor instead.
func (*GetMetadata_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{13, 0}
}
type GetMetadata_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
ServerCapabilities *ServerCapabilities `protobuf:"bytes,1,opt,name=server_capabilities,json=serverCapabilities,proto3" json:"server_capabilities,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
DataSources []*GetMetadata_DataSourceMetadata `protobuf:"bytes,3,rep,name=data_sources,json=dataSources,proto3" json:"data_sources,omitempty"`
Resources []*GetMetadata_ResourceMetadata `protobuf:"bytes,4,rep,name=resources,proto3" json:"resources,omitempty"`
// functions returns metadata for any functions.
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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMetadata_Response) Reset() {
*x = GetMetadata_Response{}
mi := &file_tfplugin6_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMetadata_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMetadata_Response) ProtoMessage() {}
func (x *GetMetadata_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[46]
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 GetMetadata_Response.ProtoReflect.Descriptor instead.
func (*GetMetadata_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{13, 1}
}
func (x *GetMetadata_Response) GetServerCapabilities() *ServerCapabilities {
if x != nil {
return x.ServerCapabilities
}
return nil
}
func (x *GetMetadata_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
func (x *GetMetadata_Response) GetDataSources() []*GetMetadata_DataSourceMetadata {
if x != nil {
return x.DataSources
}
return nil
}
func (x *GetMetadata_Response) GetResources() []*GetMetadata_ResourceMetadata {
if x != nil {
return x.Resources
}
return nil
}
func (x *GetMetadata_Response) GetFunctions() []*GetMetadata_FunctionMetadata {
if x != nil {
return x.Functions
}
return nil
}
func (x *GetMetadata_Response) GetEphemeralResources() []*GetMetadata_EphemeralResourceMetadata {
if x != nil {
return x.EphemeralResources
}
return nil
}
type GetMetadata_FunctionMetadata struct {
state protoimpl.MessageState `protogen:"open.v1"`
// name is the function name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMetadata_FunctionMetadata) Reset() {
*x = GetMetadata_FunctionMetadata{}
mi := &file_tfplugin6_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMetadata_FunctionMetadata) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMetadata_FunctionMetadata) ProtoMessage() {}
func (x *GetMetadata_FunctionMetadata) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[47]
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 GetMetadata_FunctionMetadata.ProtoReflect.Descriptor instead.
func (*GetMetadata_FunctionMetadata) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{13, 2}
}
func (x *GetMetadata_FunctionMetadata) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type GetMetadata_DataSourceMetadata struct {
state protoimpl.MessageState `protogen:"open.v1"`
TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMetadata_DataSourceMetadata) Reset() {
*x = GetMetadata_DataSourceMetadata{}
mi := &file_tfplugin6_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMetadata_DataSourceMetadata) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMetadata_DataSourceMetadata) ProtoMessage() {}
func (x *GetMetadata_DataSourceMetadata) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[48]
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 GetMetadata_DataSourceMetadata.ProtoReflect.Descriptor instead.
func (*GetMetadata_DataSourceMetadata) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{13, 3}
}
func (x *GetMetadata_DataSourceMetadata) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
type GetMetadata_ResourceMetadata struct {
state protoimpl.MessageState `protogen:"open.v1"`
TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMetadata_ResourceMetadata) Reset() {
*x = GetMetadata_ResourceMetadata{}
mi := &file_tfplugin6_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMetadata_ResourceMetadata) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMetadata_ResourceMetadata) ProtoMessage() {}
func (x *GetMetadata_ResourceMetadata) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[49]
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 GetMetadata_ResourceMetadata.ProtoReflect.Descriptor instead.
func (*GetMetadata_ResourceMetadata) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{13, 4}
}
func (x *GetMetadata_ResourceMetadata) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
type GetMetadata_EphemeralResourceMetadata struct {
state protoimpl.MessageState `protogen:"open.v1"`
TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMetadata_EphemeralResourceMetadata) Reset() {
*x = GetMetadata_EphemeralResourceMetadata{}
mi := &file_tfplugin6_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMetadata_EphemeralResourceMetadata) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMetadata_EphemeralResourceMetadata) ProtoMessage() {}
func (x *GetMetadata_EphemeralResourceMetadata) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[50]
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 GetMetadata_EphemeralResourceMetadata.ProtoReflect.Descriptor instead.
func (*GetMetadata_EphemeralResourceMetadata) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{13, 5}
}
func (x *GetMetadata_EphemeralResourceMetadata) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
type GetProviderSchema_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetProviderSchema_Request) Reset() {
*x = GetProviderSchema_Request{}
mi := &file_tfplugin6_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetProviderSchema_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetProviderSchema_Request) ProtoMessage() {}
func (x *GetProviderSchema_Request) 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 GetProviderSchema_Request.ProtoReflect.Descriptor instead.
func (*GetProviderSchema_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{14, 0}
}
type GetProviderSchema_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
Provider *Schema `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
ResourceSchemas map[string]*Schema `protobuf:"bytes,2,rep,name=resource_schemas,json=resourceSchemas,proto3" json:"resource_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
DataSourceSchemas map[string]*Schema `protobuf:"bytes,3,rep,name=data_source_schemas,json=dataSourceSchemas,proto3" json:"data_source_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetProviderSchema_Response) Reset() {
*x = GetProviderSchema_Response{}
mi := &file_tfplugin6_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetProviderSchema_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetProviderSchema_Response) ProtoMessage() {}
func (x *GetProviderSchema_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[52]
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 GetProviderSchema_Response.ProtoReflect.Descriptor instead.
func (*GetProviderSchema_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{14, 1}
}
func (x *GetProviderSchema_Response) GetProvider() *Schema {
if x != nil {
return x.Provider
}
return nil
}
func (x *GetProviderSchema_Response) GetResourceSchemas() map[string]*Schema {
if x != nil {
return x.ResourceSchemas
}
return nil
}
func (x *GetProviderSchema_Response) GetDataSourceSchemas() map[string]*Schema {
if x != nil {
return x.DataSourceSchemas
}
return nil
}
func (x *GetProviderSchema_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
func (x *GetProviderSchema_Response) GetProviderMeta() *Schema {
if x != nil {
return x.ProviderMeta
}
return nil
}
func (x *GetProviderSchema_Response) GetServerCapabilities() *ServerCapabilities {
if x != nil {
return x.ServerCapabilities
}
return nil
}
func (x *GetProviderSchema_Response) GetFunctions() map[string]*Function {
if x != nil {
return x.Functions
}
return nil
}
func (x *GetProviderSchema_Response) GetEphemeralResourceSchemas() map[string]*Schema {
if x != nil {
return x.EphemeralResourceSchemas
}
return nil
}
type ValidateProviderConfig_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
Config *DynamicValue `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ValidateProviderConfig_Request) Reset() {
*x = ValidateProviderConfig_Request{}
mi := &file_tfplugin6_proto_msgTypes[57]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ValidateProviderConfig_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ValidateProviderConfig_Request) ProtoMessage() {}
func (x *ValidateProviderConfig_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[57]
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 ValidateProviderConfig_Request.ProtoReflect.Descriptor instead.
func (*ValidateProviderConfig_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{15, 0}
}
func (x *ValidateProviderConfig_Request) GetConfig() *DynamicValue {
if x != nil {
return x.Config
}
return nil
}
type ValidateProviderConfig_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ValidateProviderConfig_Response) Reset() {
*x = ValidateProviderConfig_Response{}
mi := &file_tfplugin6_proto_msgTypes[58]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ValidateProviderConfig_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ValidateProviderConfig_Response) ProtoMessage() {}
func (x *ValidateProviderConfig_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[58]
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 ValidateProviderConfig_Response.ProtoReflect.Descriptor instead.
func (*ValidateProviderConfig_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{15, 1}
}
func (x *ValidateProviderConfig_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
// Request is the message that is sent to the provider during the
// UpgradeResourceState RPC.
//
// This message intentionally does not include configuration data as any
// configuration-based or configuration-conditional changes should occur
// during the PlanResourceChange RPC. Additionally, the configuration is
// not guaranteed to exist (in the case of resource destruction), be wholly
// known, nor match the given prior state, which could lead to unexpected
// provider behaviors for practitioners.
type UpgradeResourceState_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
// version is the schema_version number recorded in the state file
Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
// raw_state is the raw states as stored for the resource. Core does
// not have access to the schema of prior_version, so it's the
// provider's responsibility to interpret this value using the
// appropriate older schema. The raw_state will be the json encoded
// state, or a legacy flat-mapped format.
RawState *RawState `protobuf:"bytes,3,opt,name=raw_state,json=rawState,proto3" json:"raw_state,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpgradeResourceState_Request) Reset() {
*x = UpgradeResourceState_Request{}
mi := &file_tfplugin6_proto_msgTypes[59]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpgradeResourceState_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpgradeResourceState_Request) ProtoMessage() {}
func (x *UpgradeResourceState_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[59]
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 UpgradeResourceState_Request.ProtoReflect.Descriptor instead.
func (*UpgradeResourceState_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{16, 0}
}
func (x *UpgradeResourceState_Request) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
func (x *UpgradeResourceState_Request) GetVersion() int64 {
if x != nil {
return x.Version
}
return 0
}
func (x *UpgradeResourceState_Request) GetRawState() *RawState {
if x != nil {
return x.RawState
}
return nil
}
type UpgradeResourceState_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
// new_state is a msgpack-encoded data structure that, when interpreted with
// the _current_ schema for this resource type, is functionally equivalent to
// that which was given in prior_state_raw.
UpgradedState *DynamicValue `protobuf:"bytes,1,opt,name=upgraded_state,json=upgradedState,proto3" json:"upgraded_state,omitempty"`
// diagnostics describes any errors encountered during migration that could not
// be safely resolved, and warnings about any possibly-risky assumptions made
// in the upgrade process.
Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpgradeResourceState_Response) Reset() {
*x = UpgradeResourceState_Response{}
mi := &file_tfplugin6_proto_msgTypes[60]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpgradeResourceState_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpgradeResourceState_Response) ProtoMessage() {}
func (x *UpgradeResourceState_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[60]
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 UpgradeResourceState_Response.ProtoReflect.Descriptor instead.
func (*UpgradeResourceState_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{16, 1}
}
func (x *UpgradeResourceState_Response) GetUpgradedState() *DynamicValue {
if x != nil {
return x.UpgradedState
}
return nil
}
func (x *UpgradeResourceState_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
type ValidateResourceConfig_Request 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"`
ClientCapabilities *ClientCapabilities `protobuf:"bytes,3,opt,name=client_capabilities,json=clientCapabilities,proto3" json:"client_capabilities,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ValidateResourceConfig_Request) Reset() {
*x = ValidateResourceConfig_Request{}
mi := &file_tfplugin6_proto_msgTypes[61]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ValidateResourceConfig_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ValidateResourceConfig_Request) ProtoMessage() {}
func (x *ValidateResourceConfig_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[61]
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 ValidateResourceConfig_Request.ProtoReflect.Descriptor instead.
func (*ValidateResourceConfig_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{17, 0}
}
func (x *ValidateResourceConfig_Request) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
func (x *ValidateResourceConfig_Request) GetConfig() *DynamicValue {
if x != nil {
return x.Config
}
return nil
}
func (x *ValidateResourceConfig_Request) GetClientCapabilities() *ClientCapabilities {
if x != nil {
return x.ClientCapabilities
}
return nil
}
type ValidateResourceConfig_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ValidateResourceConfig_Response) Reset() {
*x = ValidateResourceConfig_Response{}
mi := &file_tfplugin6_proto_msgTypes[62]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ValidateResourceConfig_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ValidateResourceConfig_Response) ProtoMessage() {}
func (x *ValidateResourceConfig_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[62]
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 ValidateResourceConfig_Response.ProtoReflect.Descriptor instead.
func (*ValidateResourceConfig_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{17, 1}
}
func (x *ValidateResourceConfig_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
type ValidateDataResourceConfig_Request 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 *ValidateDataResourceConfig_Request) Reset() {
*x = ValidateDataResourceConfig_Request{}
mi := &file_tfplugin6_proto_msgTypes[63]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ValidateDataResourceConfig_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ValidateDataResourceConfig_Request) ProtoMessage() {}
func (x *ValidateDataResourceConfig_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[63]
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 ValidateDataResourceConfig_Request.ProtoReflect.Descriptor instead.
func (*ValidateDataResourceConfig_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{18, 0}
}
func (x *ValidateDataResourceConfig_Request) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
func (x *ValidateDataResourceConfig_Request) GetConfig() *DynamicValue {
if x != nil {
return x.Config
}
return nil
}
type ValidateDataResourceConfig_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ValidateDataResourceConfig_Response) Reset() {
*x = ValidateDataResourceConfig_Response{}
mi := &file_tfplugin6_proto_msgTypes[64]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ValidateDataResourceConfig_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ValidateDataResourceConfig_Response) ProtoMessage() {}
func (x *ValidateDataResourceConfig_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[64]
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 ValidateDataResourceConfig_Response.ProtoReflect.Descriptor instead.
func (*ValidateDataResourceConfig_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{18, 1}
}
func (x *ValidateDataResourceConfig_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
type ConfigureProvider_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
TerraformVersion string `protobuf:"bytes,1,opt,name=terraform_version,json=terraformVersion,proto3" json:"terraform_version,omitempty"`
Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
ClientCapabilities *ClientCapabilities `protobuf:"bytes,3,opt,name=client_capabilities,json=clientCapabilities,proto3" json:"client_capabilities,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConfigureProvider_Request) Reset() {
*x = ConfigureProvider_Request{}
mi := &file_tfplugin6_proto_msgTypes[65]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConfigureProvider_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConfigureProvider_Request) ProtoMessage() {}
func (x *ConfigureProvider_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[65]
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 ConfigureProvider_Request.ProtoReflect.Descriptor instead.
func (*ConfigureProvider_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{19, 0}
}
func (x *ConfigureProvider_Request) GetTerraformVersion() string {
if x != nil {
return x.TerraformVersion
}
return ""
}
func (x *ConfigureProvider_Request) GetConfig() *DynamicValue {
if x != nil {
return x.Config
}
return nil
}
func (x *ConfigureProvider_Request) GetClientCapabilities() *ClientCapabilities {
if x != nil {
return x.ClientCapabilities
}
return nil
}
type ConfigureProvider_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConfigureProvider_Response) Reset() {
*x = ConfigureProvider_Response{}
mi := &file_tfplugin6_proto_msgTypes[66]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConfigureProvider_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConfigureProvider_Response) ProtoMessage() {}
func (x *ConfigureProvider_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[66]
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 ConfigureProvider_Response.ProtoReflect.Descriptor instead.
func (*ConfigureProvider_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{19, 1}
}
func (x *ConfigureProvider_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
// Request is the message that is sent to the provider during the
// ReadResource RPC.
//
// This message intentionally does not include configuration data as any
// configuration-based or configuration-conditional changes should occur
// during the PlanResourceChange RPC. Additionally, the configuration is
// not guaranteed to be wholly known nor match the given prior state, which
// could lead to unexpected provider behaviors for practitioners.
type ReadResource_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
CurrentState *DynamicValue `protobuf:"bytes,2,opt,name=current_state,json=currentState,proto3" json:"current_state,omitempty"`
Private []byte `protobuf:"bytes,3,opt,name=private,proto3" json:"private,omitempty"`
ProviderMeta *DynamicValue `protobuf:"bytes,4,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"`
ClientCapabilities *ClientCapabilities `protobuf:"bytes,5,opt,name=client_capabilities,json=clientCapabilities,proto3" json:"client_capabilities,omitempty"`
CurrentIdentity *ResourceIdentityData `protobuf:"bytes,6,opt,name=current_identity,json=currentIdentity,proto3" json:"current_identity,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReadResource_Request) Reset() {
*x = ReadResource_Request{}
mi := &file_tfplugin6_proto_msgTypes[67]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReadResource_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReadResource_Request) ProtoMessage() {}
func (x *ReadResource_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[67]
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 ReadResource_Request.ProtoReflect.Descriptor instead.
func (*ReadResource_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{20, 0}
}
func (x *ReadResource_Request) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
func (x *ReadResource_Request) GetCurrentState() *DynamicValue {
if x != nil {
return x.CurrentState
}
return nil
}
func (x *ReadResource_Request) GetPrivate() []byte {
if x != nil {
return x.Private
}
return nil
}
func (x *ReadResource_Request) GetProviderMeta() *DynamicValue {
if x != nil {
return x.ProviderMeta
}
return nil
}
func (x *ReadResource_Request) GetClientCapabilities() *ClientCapabilities {
if x != nil {
return x.ClientCapabilities
}
return nil
}
func (x *ReadResource_Request) GetCurrentIdentity() *ResourceIdentityData {
if x != nil {
return x.CurrentIdentity
}
return nil
}
type ReadResource_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
NewState *DynamicValue `protobuf:"bytes,1,opt,name=new_state,json=newState,proto3" json:"new_state,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
Private []byte `protobuf:"bytes,3,opt,name=private,proto3" json:"private,omitempty"`
// deferred is set if the provider is deferring the change. If set the caller
// needs to handle the deferral.
Deferred *Deferred `protobuf:"bytes,4,opt,name=deferred,proto3" json:"deferred,omitempty"`
NewIdentity *ResourceIdentityData `protobuf:"bytes,5,opt,name=new_identity,json=newIdentity,proto3" json:"new_identity,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReadResource_Response) Reset() {
*x = ReadResource_Response{}
mi := &file_tfplugin6_proto_msgTypes[68]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReadResource_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReadResource_Response) ProtoMessage() {}
func (x *ReadResource_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[68]
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 ReadResource_Response.ProtoReflect.Descriptor instead.
func (*ReadResource_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{20, 1}
}
func (x *ReadResource_Response) GetNewState() *DynamicValue {
if x != nil {
return x.NewState
}
return nil
}
func (x *ReadResource_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
func (x *ReadResource_Response) GetPrivate() []byte {
if x != nil {
return x.Private
}
return nil
}
func (x *ReadResource_Response) GetDeferred() *Deferred {
if x != nil {
return x.Deferred
}
return nil
}
func (x *ReadResource_Response) GetNewIdentity() *ResourceIdentityData {
if x != nil {
return x.NewIdentity
}
return nil
}
type PlanResourceChange_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
PriorState *DynamicValue `protobuf:"bytes,2,opt,name=prior_state,json=priorState,proto3" json:"prior_state,omitempty"`
ProposedNewState *DynamicValue `protobuf:"bytes,3,opt,name=proposed_new_state,json=proposedNewState,proto3" json:"proposed_new_state,omitempty"`
Config *DynamicValue `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
PriorPrivate []byte `protobuf:"bytes,5,opt,name=prior_private,json=priorPrivate,proto3" json:"prior_private,omitempty"`
ProviderMeta *DynamicValue `protobuf:"bytes,6,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"`
ClientCapabilities *ClientCapabilities `protobuf:"bytes,7,opt,name=client_capabilities,json=clientCapabilities,proto3" json:"client_capabilities,omitempty"`
PriorIdentity *ResourceIdentityData `protobuf:"bytes,8,opt,name=prior_identity,json=priorIdentity,proto3" json:"prior_identity,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PlanResourceChange_Request) Reset() {
*x = PlanResourceChange_Request{}
mi := &file_tfplugin6_proto_msgTypes[69]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PlanResourceChange_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PlanResourceChange_Request) ProtoMessage() {}
func (x *PlanResourceChange_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[69]
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 PlanResourceChange_Request.ProtoReflect.Descriptor instead.
func (*PlanResourceChange_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{21, 0}
}
func (x *PlanResourceChange_Request) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
func (x *PlanResourceChange_Request) GetPriorState() *DynamicValue {
if x != nil {
return x.PriorState
}
return nil
}
func (x *PlanResourceChange_Request) GetProposedNewState() *DynamicValue {
if x != nil {
return x.ProposedNewState
}
return nil
}
func (x *PlanResourceChange_Request) GetConfig() *DynamicValue {
if x != nil {
return x.Config
}
return nil
}
func (x *PlanResourceChange_Request) GetPriorPrivate() []byte {
if x != nil {
return x.PriorPrivate
}
return nil
}
func (x *PlanResourceChange_Request) GetProviderMeta() *DynamicValue {
if x != nil {
return x.ProviderMeta
}
return nil
}
func (x *PlanResourceChange_Request) GetClientCapabilities() *ClientCapabilities {
if x != nil {
return x.ClientCapabilities
}
return nil
}
func (x *PlanResourceChange_Request) GetPriorIdentity() *ResourceIdentityData {
if x != nil {
return x.PriorIdentity
}
return nil
}
type PlanResourceChange_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
PlannedState *DynamicValue `protobuf:"bytes,1,opt,name=planned_state,json=plannedState,proto3" json:"planned_state,omitempty"`
RequiresReplace []*AttributePath `protobuf:"bytes,2,rep,name=requires_replace,json=requiresReplace,proto3" json:"requires_replace,omitempty"`
PlannedPrivate []byte `protobuf:"bytes,3,opt,name=planned_private,json=plannedPrivate,proto3" json:"planned_private,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// This may be set only by the helper/schema "SDK" in the main Terraform
// repository, to request that Terraform Core >=0.12 permit additional
// inconsistencies that can result from the legacy SDK type system
// and its imprecise mapping to the >=0.12 type system.
// The change in behavior implied by this flag makes sense only for the
// specific details of the legacy SDK type system, and are not a general
// mechanism to avoid proper type handling in providers.
//
// ==== DO NOT USE THIS ====
// ==== THIS MUST BE LEFT UNSET IN ALL OTHER SDKS ====
// ==== DO NOT USE THIS ====
LegacyTypeSystem bool `protobuf:"varint,5,opt,name=legacy_type_system,json=legacyTypeSystem,proto3" json:"legacy_type_system,omitempty"`
// deferred is set if the provider is deferring the change. If set the caller
// needs to handle the deferral.
Deferred *Deferred `protobuf:"bytes,6,opt,name=deferred,proto3" json:"deferred,omitempty"`
PlannedIdentity *ResourceIdentityData `protobuf:"bytes,7,opt,name=planned_identity,json=plannedIdentity,proto3" json:"planned_identity,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PlanResourceChange_Response) Reset() {
*x = PlanResourceChange_Response{}
mi := &file_tfplugin6_proto_msgTypes[70]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PlanResourceChange_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PlanResourceChange_Response) ProtoMessage() {}
func (x *PlanResourceChange_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[70]
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 PlanResourceChange_Response.ProtoReflect.Descriptor instead.
func (*PlanResourceChange_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{21, 1}
}
func (x *PlanResourceChange_Response) GetPlannedState() *DynamicValue {
if x != nil {
return x.PlannedState
}
return nil
}
func (x *PlanResourceChange_Response) GetRequiresReplace() []*AttributePath {
if x != nil {
return x.RequiresReplace
}
return nil
}
func (x *PlanResourceChange_Response) GetPlannedPrivate() []byte {
if x != nil {
return x.PlannedPrivate
}
return nil
}
func (x *PlanResourceChange_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
func (x *PlanResourceChange_Response) GetLegacyTypeSystem() bool {
if x != nil {
return x.LegacyTypeSystem
}
return false
}
func (x *PlanResourceChange_Response) GetDeferred() *Deferred {
if x != nil {
return x.Deferred
}
return nil
}
func (x *PlanResourceChange_Response) GetPlannedIdentity() *ResourceIdentityData {
if x != nil {
return x.PlannedIdentity
}
return nil
}
type ApplyResourceChange_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
PriorState *DynamicValue `protobuf:"bytes,2,opt,name=prior_state,json=priorState,proto3" json:"prior_state,omitempty"`
PlannedState *DynamicValue `protobuf:"bytes,3,opt,name=planned_state,json=plannedState,proto3" json:"planned_state,omitempty"`
Config *DynamicValue `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
PlannedPrivate []byte `protobuf:"bytes,5,opt,name=planned_private,json=plannedPrivate,proto3" json:"planned_private,omitempty"`
ProviderMeta *DynamicValue `protobuf:"bytes,6,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"`
PlannedIdentity *ResourceIdentityData `protobuf:"bytes,7,opt,name=planned_identity,json=plannedIdentity,proto3" json:"planned_identity,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ApplyResourceChange_Request) Reset() {
*x = ApplyResourceChange_Request{}
mi := &file_tfplugin6_proto_msgTypes[71]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ApplyResourceChange_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ApplyResourceChange_Request) ProtoMessage() {}
func (x *ApplyResourceChange_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[71]
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 ApplyResourceChange_Request.ProtoReflect.Descriptor instead.
func (*ApplyResourceChange_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{22, 0}
}
func (x *ApplyResourceChange_Request) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
func (x *ApplyResourceChange_Request) GetPriorState() *DynamicValue {
if x != nil {
return x.PriorState
}
return nil
}
func (x *ApplyResourceChange_Request) GetPlannedState() *DynamicValue {
if x != nil {
return x.PlannedState
}
return nil
}
func (x *ApplyResourceChange_Request) GetConfig() *DynamicValue {
if x != nil {
return x.Config
}
return nil
}
func (x *ApplyResourceChange_Request) GetPlannedPrivate() []byte {
if x != nil {
return x.PlannedPrivate
}
return nil
}
func (x *ApplyResourceChange_Request) GetProviderMeta() *DynamicValue {
if x != nil {
return x.ProviderMeta
}
return nil
}
func (x *ApplyResourceChange_Request) GetPlannedIdentity() *ResourceIdentityData {
if x != nil {
return x.PlannedIdentity
}
return nil
}
type ApplyResourceChange_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
NewState *DynamicValue `protobuf:"bytes,1,opt,name=new_state,json=newState,proto3" json:"new_state,omitempty"`
Private []byte `protobuf:"bytes,2,opt,name=private,proto3" json:"private,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,3,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// This may be set only by the helper/schema "SDK" in the main Terraform
// repository, to request that Terraform Core >=0.12 permit additional
// inconsistencies that can result from the legacy SDK type system
// and its imprecise mapping to the >=0.12 type system.
// The change in behavior implied by this flag makes sense only for the
// specific details of the legacy SDK type system, and are not a general
// mechanism to avoid proper type handling in providers.
//
// ==== DO NOT USE THIS ====
// ==== THIS MUST BE LEFT UNSET IN ALL OTHER SDKS ====
// ==== DO NOT USE THIS ====
LegacyTypeSystem bool `protobuf:"varint,4,opt,name=legacy_type_system,json=legacyTypeSystem,proto3" json:"legacy_type_system,omitempty"`
NewIdentity *ResourceIdentityData `protobuf:"bytes,5,opt,name=new_identity,json=newIdentity,proto3" json:"new_identity,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ApplyResourceChange_Response) Reset() {
*x = ApplyResourceChange_Response{}
mi := &file_tfplugin6_proto_msgTypes[72]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ApplyResourceChange_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ApplyResourceChange_Response) ProtoMessage() {}
func (x *ApplyResourceChange_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[72]
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 ApplyResourceChange_Response.ProtoReflect.Descriptor instead.
func (*ApplyResourceChange_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{22, 1}
}
func (x *ApplyResourceChange_Response) GetNewState() *DynamicValue {
if x != nil {
return x.NewState
}
return nil
}
func (x *ApplyResourceChange_Response) GetPrivate() []byte {
if x != nil {
return x.Private
}
return nil
}
func (x *ApplyResourceChange_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
func (x *ApplyResourceChange_Response) GetLegacyTypeSystem() bool {
if x != nil {
return x.LegacyTypeSystem
}
return false
}
func (x *ApplyResourceChange_Response) GetNewIdentity() *ResourceIdentityData {
if x != nil {
return x.NewIdentity
}
return nil
}
type ImportResourceState_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
ClientCapabilities *ClientCapabilities `protobuf:"bytes,3,opt,name=client_capabilities,json=clientCapabilities,proto3" json:"client_capabilities,omitempty"`
Identity *ResourceIdentityData `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ImportResourceState_Request) Reset() {
*x = ImportResourceState_Request{}
mi := &file_tfplugin6_proto_msgTypes[73]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ImportResourceState_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ImportResourceState_Request) ProtoMessage() {}
func (x *ImportResourceState_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[73]
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 ImportResourceState_Request.ProtoReflect.Descriptor instead.
func (*ImportResourceState_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{23, 0}
}
func (x *ImportResourceState_Request) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
func (x *ImportResourceState_Request) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *ImportResourceState_Request) GetClientCapabilities() *ClientCapabilities {
if x != nil {
return x.ClientCapabilities
}
return nil
}
func (x *ImportResourceState_Request) GetIdentity() *ResourceIdentityData {
if x != nil {
return x.Identity
}
return nil
}
type ImportResourceState_ImportedResource struct {
state protoimpl.MessageState `protogen:"open.v1"`
TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
State *DynamicValue `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
Private []byte `protobuf:"bytes,3,opt,name=private,proto3" json:"private,omitempty"`
Identity *ResourceIdentityData `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ImportResourceState_ImportedResource) Reset() {
*x = ImportResourceState_ImportedResource{}
mi := &file_tfplugin6_proto_msgTypes[74]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ImportResourceState_ImportedResource) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ImportResourceState_ImportedResource) ProtoMessage() {}
func (x *ImportResourceState_ImportedResource) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[74]
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 ImportResourceState_ImportedResource.ProtoReflect.Descriptor instead.
func (*ImportResourceState_ImportedResource) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{23, 1}
}
func (x *ImportResourceState_ImportedResource) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
func (x *ImportResourceState_ImportedResource) GetState() *DynamicValue {
if x != nil {
return x.State
}
return nil
}
func (x *ImportResourceState_ImportedResource) GetPrivate() []byte {
if x != nil {
return x.Private
}
return nil
}
func (x *ImportResourceState_ImportedResource) GetIdentity() *ResourceIdentityData {
if x != nil {
return x.Identity
}
return nil
}
type ImportResourceState_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
ImportedResources []*ImportResourceState_ImportedResource `protobuf:"bytes,1,rep,name=imported_resources,json=importedResources,proto3" json:"imported_resources,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// deferred is set if the provider is deferring the change. If set the caller
// needs to handle the deferral.
Deferred *Deferred `protobuf:"bytes,3,opt,name=deferred,proto3" json:"deferred,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ImportResourceState_Response) Reset() {
*x = ImportResourceState_Response{}
mi := &file_tfplugin6_proto_msgTypes[75]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ImportResourceState_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ImportResourceState_Response) ProtoMessage() {}
func (x *ImportResourceState_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[75]
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 ImportResourceState_Response.ProtoReflect.Descriptor instead.
func (*ImportResourceState_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{23, 2}
}
func (x *ImportResourceState_Response) GetImportedResources() []*ImportResourceState_ImportedResource {
if x != nil {
return x.ImportedResources
}
return nil
}
func (x *ImportResourceState_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
func (x *ImportResourceState_Response) GetDeferred() *Deferred {
if x != nil {
return x.Deferred
}
return nil
}
type MoveResourceState_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The address of the provider the resource is being moved from.
SourceProviderAddress string `protobuf:"bytes,1,opt,name=source_provider_address,json=sourceProviderAddress,proto3" json:"source_provider_address,omitempty"`
// The resource type that the resource is being moved from.
SourceTypeName string `protobuf:"bytes,2,opt,name=source_type_name,json=sourceTypeName,proto3" json:"source_type_name,omitempty"`
// The schema version of the resource type that the resource is being
// moved from.
SourceSchemaVersion int64 `protobuf:"varint,3,opt,name=source_schema_version,json=sourceSchemaVersion,proto3" json:"source_schema_version,omitempty"`
// The raw state of the resource being moved. Only the json field is
// populated, as there should be no legacy providers using the flatmap
// format that support newly introduced RPCs.
SourceState *RawState `protobuf:"bytes,4,opt,name=source_state,json=sourceState,proto3" json:"source_state,omitempty"`
// The resource type that the resource is being moved to.
TargetTypeName string `protobuf:"bytes,5,opt,name=target_type_name,json=targetTypeName,proto3" json:"target_type_name,omitempty"`
// The private state of the resource being moved.
SourcePrivate []byte `protobuf:"bytes,6,opt,name=source_private,json=sourcePrivate,proto3" json:"source_private,omitempty"`
// The raw identity of the resource being moved. Only the json field is
// populated, as there should be no legacy providers using the flatmap
// format that support newly introduced RPCs.
SourceIdentity *RawState `protobuf:"bytes,7,opt,name=source_identity,json=sourceIdentity,proto3" json:"source_identity,omitempty"`
// The identity schema version of the resource type that the resource
// is being moved from.
SourceIdentitySchemaVersion int64 `protobuf:"varint,8,opt,name=source_identity_schema_version,json=sourceIdentitySchemaVersion,proto3" json:"source_identity_schema_version,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MoveResourceState_Request) Reset() {
*x = MoveResourceState_Request{}
mi := &file_tfplugin6_proto_msgTypes[76]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MoveResourceState_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MoveResourceState_Request) ProtoMessage() {}
func (x *MoveResourceState_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[76]
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 MoveResourceState_Request.ProtoReflect.Descriptor instead.
func (*MoveResourceState_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{24, 0}
}
func (x *MoveResourceState_Request) GetSourceProviderAddress() string {
if x != nil {
return x.SourceProviderAddress
}
return ""
}
func (x *MoveResourceState_Request) GetSourceTypeName() string {
if x != nil {
return x.SourceTypeName
}
return ""
}
func (x *MoveResourceState_Request) GetSourceSchemaVersion() int64 {
if x != nil {
return x.SourceSchemaVersion
}
return 0
}
func (x *MoveResourceState_Request) GetSourceState() *RawState {
if x != nil {
return x.SourceState
}
return nil
}
func (x *MoveResourceState_Request) GetTargetTypeName() string {
if x != nil {
return x.TargetTypeName
}
return ""
}
func (x *MoveResourceState_Request) GetSourcePrivate() []byte {
if x != nil {
return x.SourcePrivate
}
return nil
}
func (x *MoveResourceState_Request) GetSourceIdentity() *RawState {
if x != nil {
return x.SourceIdentity
}
return nil
}
func (x *MoveResourceState_Request) GetSourceIdentitySchemaVersion() int64 {
if x != nil {
return x.SourceIdentitySchemaVersion
}
return 0
}
type MoveResourceState_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The state of the resource after it has been moved.
TargetState *DynamicValue `protobuf:"bytes,1,opt,name=target_state,json=targetState,proto3" json:"target_state,omitempty"`
// Any diagnostics that occurred during the move.
Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// The private state of the resource after it has been moved.
TargetPrivate []byte `protobuf:"bytes,3,opt,name=target_private,json=targetPrivate,proto3" json:"target_private,omitempty"`
TargetIdentity *ResourceIdentityData `protobuf:"bytes,4,opt,name=target_identity,json=targetIdentity,proto3" json:"target_identity,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MoveResourceState_Response) Reset() {
*x = MoveResourceState_Response{}
mi := &file_tfplugin6_proto_msgTypes[77]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MoveResourceState_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MoveResourceState_Response) ProtoMessage() {}
func (x *MoveResourceState_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[77]
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 MoveResourceState_Response.ProtoReflect.Descriptor instead.
func (*MoveResourceState_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{24, 1}
}
func (x *MoveResourceState_Response) GetTargetState() *DynamicValue {
if x != nil {
return x.TargetState
}
return nil
}
func (x *MoveResourceState_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
func (x *MoveResourceState_Response) GetTargetPrivate() []byte {
if x != nil {
return x.TargetPrivate
}
return nil
}
func (x *MoveResourceState_Response) GetTargetIdentity() *ResourceIdentityData {
if x != nil {
return x.TargetIdentity
}
return nil
}
type ReadDataSource_Request 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"`
ProviderMeta *DynamicValue `protobuf:"bytes,3,opt,name=provider_meta,json=providerMeta,proto3" json:"provider_meta,omitempty"`
ClientCapabilities *ClientCapabilities `protobuf:"bytes,4,opt,name=client_capabilities,json=clientCapabilities,proto3" json:"client_capabilities,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReadDataSource_Request) Reset() {
*x = ReadDataSource_Request{}
mi := &file_tfplugin6_proto_msgTypes[78]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReadDataSource_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReadDataSource_Request) ProtoMessage() {}
func (x *ReadDataSource_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[78]
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 ReadDataSource_Request.ProtoReflect.Descriptor instead.
func (*ReadDataSource_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{25, 0}
}
func (x *ReadDataSource_Request) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
func (x *ReadDataSource_Request) GetConfig() *DynamicValue {
if x != nil {
return x.Config
}
return nil
}
func (x *ReadDataSource_Request) GetProviderMeta() *DynamicValue {
if x != nil {
return x.ProviderMeta
}
return nil
}
func (x *ReadDataSource_Request) GetClientCapabilities() *ClientCapabilities {
if x != nil {
return x.ClientCapabilities
}
return nil
}
type ReadDataSource_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
State *DynamicValue `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// deferred is set if the provider is deferring the change. If set the caller
// needs to handle the deferral.
Deferred *Deferred `protobuf:"bytes,3,opt,name=deferred,proto3" json:"deferred,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReadDataSource_Response) Reset() {
*x = ReadDataSource_Response{}
mi := &file_tfplugin6_proto_msgTypes[79]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReadDataSource_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReadDataSource_Response) ProtoMessage() {}
func (x *ReadDataSource_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[79]
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 ReadDataSource_Response.ProtoReflect.Descriptor instead.
func (*ReadDataSource_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{25, 1}
}
func (x *ReadDataSource_Response) GetState() *DynamicValue {
if x != nil {
return x.State
}
return nil
}
func (x *ReadDataSource_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
func (x *ReadDataSource_Response) GetDeferred() *Deferred {
if x != nil {
return x.Deferred
}
return nil
}
type GetFunctions_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetFunctions_Request) Reset() {
*x = GetFunctions_Request{}
mi := &file_tfplugin6_proto_msgTypes[80]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetFunctions_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetFunctions_Request) ProtoMessage() {}
func (x *GetFunctions_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[80]
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 GetFunctions_Request.ProtoReflect.Descriptor instead.
func (*GetFunctions_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{26, 0}
}
type GetFunctions_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
// functions is a mapping of function names to definitions.
Functions map[string]*Function `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// diagnostics is any warnings or errors.
Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetFunctions_Response) Reset() {
*x = GetFunctions_Response{}
mi := &file_tfplugin6_proto_msgTypes[81]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetFunctions_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetFunctions_Response) ProtoMessage() {}
func (x *GetFunctions_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[81]
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 GetFunctions_Response.ProtoReflect.Descriptor instead.
func (*GetFunctions_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{26, 1}
}
func (x *GetFunctions_Response) GetFunctions() map[string]*Function {
if x != nil {
return x.Functions
}
return nil
}
func (x *GetFunctions_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
type CallFunction_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
// name is the name of the function being called.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// arguments is the data of each function argument value.
Arguments []*DynamicValue `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CallFunction_Request) Reset() {
*x = CallFunction_Request{}
mi := &file_tfplugin6_proto_msgTypes[83]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallFunction_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallFunction_Request) ProtoMessage() {}
func (x *CallFunction_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[83]
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 CallFunction_Request.ProtoReflect.Descriptor instead.
func (*CallFunction_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{27, 0}
}
func (x *CallFunction_Request) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CallFunction_Request) GetArguments() []*DynamicValue {
if x != nil {
return x.Arguments
}
return nil
}
type CallFunction_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
// result is result value after running the function logic.
Result *DynamicValue `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
// error is any error from the function logic.
Error *FunctionError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CallFunction_Response) Reset() {
*x = CallFunction_Response{}
mi := &file_tfplugin6_proto_msgTypes[84]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallFunction_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallFunction_Response) ProtoMessage() {}
func (x *CallFunction_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[84]
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 CallFunction_Response.ProtoReflect.Descriptor instead.
func (*CallFunction_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{27, 1}
}
func (x *CallFunction_Response) GetResult() *DynamicValue {
if x != nil {
return x.Result
}
return nil
}
func (x *CallFunction_Response) GetError() *FunctionError {
if x != nil {
return x.Error
}
return nil
}
type ValidateEphemeralResourceConfig_Request 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 *ValidateEphemeralResourceConfig_Request) Reset() {
*x = ValidateEphemeralResourceConfig_Request{}
mi := &file_tfplugin6_proto_msgTypes[85]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ValidateEphemeralResourceConfig_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ValidateEphemeralResourceConfig_Request) ProtoMessage() {}
func (x *ValidateEphemeralResourceConfig_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[85]
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 ValidateEphemeralResourceConfig_Request.ProtoReflect.Descriptor instead.
func (*ValidateEphemeralResourceConfig_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{28, 0}
}
func (x *ValidateEphemeralResourceConfig_Request) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
func (x *ValidateEphemeralResourceConfig_Request) GetConfig() *DynamicValue {
if x != nil {
return x.Config
}
return nil
}
type ValidateEphemeralResourceConfig_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ValidateEphemeralResourceConfig_Response) Reset() {
*x = ValidateEphemeralResourceConfig_Response{}
mi := &file_tfplugin6_proto_msgTypes[86]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ValidateEphemeralResourceConfig_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ValidateEphemeralResourceConfig_Response) ProtoMessage() {}
func (x *ValidateEphemeralResourceConfig_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[86]
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 ValidateEphemeralResourceConfig_Response.ProtoReflect.Descriptor instead.
func (*ValidateEphemeralResourceConfig_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{28, 1}
}
func (x *ValidateEphemeralResourceConfig_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
type OpenEphemeralResource_Request 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"`
ClientCapabilities *ClientCapabilities `protobuf:"bytes,3,opt,name=client_capabilities,json=clientCapabilities,proto3" json:"client_capabilities,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OpenEphemeralResource_Request) Reset() {
*x = OpenEphemeralResource_Request{}
mi := &file_tfplugin6_proto_msgTypes[87]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OpenEphemeralResource_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OpenEphemeralResource_Request) ProtoMessage() {}
func (x *OpenEphemeralResource_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[87]
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 OpenEphemeralResource_Request.ProtoReflect.Descriptor instead.
func (*OpenEphemeralResource_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{29, 0}
}
func (x *OpenEphemeralResource_Request) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
func (x *OpenEphemeralResource_Request) GetConfig() *DynamicValue {
if x != nil {
return x.Config
}
return nil
}
func (x *OpenEphemeralResource_Request) GetClientCapabilities() *ClientCapabilities {
if x != nil {
return x.ClientCapabilities
}
return nil
}
type OpenEphemeralResource_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
RenewAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=renew_at,json=renewAt,proto3,oneof" json:"renew_at,omitempty"`
Result *DynamicValue `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
Private []byte `protobuf:"bytes,4,opt,name=private,proto3,oneof" json:"private,omitempty"`
// deferred is set if the provider is deferring the change. If set the caller
// needs to handle the deferral.
Deferred *Deferred `protobuf:"bytes,5,opt,name=deferred,proto3" json:"deferred,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OpenEphemeralResource_Response) Reset() {
*x = OpenEphemeralResource_Response{}
mi := &file_tfplugin6_proto_msgTypes[88]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OpenEphemeralResource_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OpenEphemeralResource_Response) ProtoMessage() {}
func (x *OpenEphemeralResource_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[88]
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 OpenEphemeralResource_Response.ProtoReflect.Descriptor instead.
func (*OpenEphemeralResource_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{29, 1}
}
func (x *OpenEphemeralResource_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
func (x *OpenEphemeralResource_Response) GetRenewAt() *timestamppb.Timestamp {
if x != nil {
return x.RenewAt
}
return nil
}
func (x *OpenEphemeralResource_Response) GetResult() *DynamicValue {
if x != nil {
return x.Result
}
return nil
}
func (x *OpenEphemeralResource_Response) GetPrivate() []byte {
if x != nil {
return x.Private
}
return nil
}
func (x *OpenEphemeralResource_Response) GetDeferred() *Deferred {
if x != nil {
return x.Deferred
}
return nil
}
type RenewEphemeralResource_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
Private []byte `protobuf:"bytes,2,opt,name=private,proto3,oneof" json:"private,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RenewEphemeralResource_Request) Reset() {
*x = RenewEphemeralResource_Request{}
mi := &file_tfplugin6_proto_msgTypes[89]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RenewEphemeralResource_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RenewEphemeralResource_Request) ProtoMessage() {}
func (x *RenewEphemeralResource_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[89]
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 RenewEphemeralResource_Request.ProtoReflect.Descriptor instead.
func (*RenewEphemeralResource_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{30, 0}
}
func (x *RenewEphemeralResource_Request) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
func (x *RenewEphemeralResource_Request) GetPrivate() []byte {
if x != nil {
return x.Private
}
return nil
}
type RenewEphemeralResource_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
RenewAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=renew_at,json=renewAt,proto3,oneof" json:"renew_at,omitempty"`
Private []byte `protobuf:"bytes,3,opt,name=private,proto3,oneof" json:"private,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RenewEphemeralResource_Response) Reset() {
*x = RenewEphemeralResource_Response{}
mi := &file_tfplugin6_proto_msgTypes[90]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RenewEphemeralResource_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RenewEphemeralResource_Response) ProtoMessage() {}
func (x *RenewEphemeralResource_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[90]
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 RenewEphemeralResource_Response.ProtoReflect.Descriptor instead.
func (*RenewEphemeralResource_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{30, 1}
}
func (x *RenewEphemeralResource_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
func (x *RenewEphemeralResource_Response) GetRenewAt() *timestamppb.Timestamp {
if x != nil {
return x.RenewAt
}
return nil
}
func (x *RenewEphemeralResource_Response) GetPrivate() []byte {
if x != nil {
return x.Private
}
return nil
}
type CloseEphemeralResource_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
Private []byte `protobuf:"bytes,2,opt,name=private,proto3,oneof" json:"private,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CloseEphemeralResource_Request) Reset() {
*x = CloseEphemeralResource_Request{}
mi := &file_tfplugin6_proto_msgTypes[91]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CloseEphemeralResource_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CloseEphemeralResource_Request) ProtoMessage() {}
func (x *CloseEphemeralResource_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[91]
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 CloseEphemeralResource_Request.ProtoReflect.Descriptor instead.
func (*CloseEphemeralResource_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{31, 0}
}
func (x *CloseEphemeralResource_Request) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
func (x *CloseEphemeralResource_Request) GetPrivate() []byte {
if x != nil {
return x.Private
}
return nil
}
type CloseEphemeralResource_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CloseEphemeralResource_Response) Reset() {
*x = CloseEphemeralResource_Response{}
mi := &file_tfplugin6_proto_msgTypes[92]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CloseEphemeralResource_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CloseEphemeralResource_Response) ProtoMessage() {}
func (x *CloseEphemeralResource_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[92]
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 CloseEphemeralResource_Response.ProtoReflect.Descriptor instead.
func (*CloseEphemeralResource_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{31, 1}
}
func (x *CloseEphemeralResource_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
type GetResourceIdentitySchemas_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetResourceIdentitySchemas_Request) Reset() {
*x = GetResourceIdentitySchemas_Request{}
mi := &file_tfplugin6_proto_msgTypes[93]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetResourceIdentitySchemas_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetResourceIdentitySchemas_Request) ProtoMessage() {}
func (x *GetResourceIdentitySchemas_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[93]
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 GetResourceIdentitySchemas_Request.ProtoReflect.Descriptor instead.
func (*GetResourceIdentitySchemas_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{32, 0}
}
type GetResourceIdentitySchemas_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
// identity_schemas is a mapping of resource type names to their identity schemas.
IdentitySchemas map[string]*ResourceIdentitySchema `protobuf:"bytes,1,rep,name=identity_schemas,json=identitySchemas,proto3" json:"identity_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// diagnostics is the collection of warning and error diagnostics for this request.
Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetResourceIdentitySchemas_Response) Reset() {
*x = GetResourceIdentitySchemas_Response{}
mi := &file_tfplugin6_proto_msgTypes[94]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetResourceIdentitySchemas_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetResourceIdentitySchemas_Response) ProtoMessage() {}
func (x *GetResourceIdentitySchemas_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[94]
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 GetResourceIdentitySchemas_Response.ProtoReflect.Descriptor instead.
func (*GetResourceIdentitySchemas_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{32, 1}
}
func (x *GetResourceIdentitySchemas_Response) GetIdentitySchemas() map[string]*ResourceIdentitySchema {
if x != nil {
return x.IdentitySchemas
}
return nil
}
func (x *GetResourceIdentitySchemas_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
type UpgradeResourceIdentity_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
// type_name is the managed resource type name
TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
// version is the version of the resource identity data to upgrade
Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
// raw_identity is the raw identity as stored for the resource. Core does
// not have access to the identity schema of prior_version, so it's the
// provider's responsibility to interpret this value using the
// appropriate older schema. The raw_identity will be json encoded.
RawIdentity *RawState `protobuf:"bytes,3,opt,name=raw_identity,json=rawIdentity,proto3" json:"raw_identity,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpgradeResourceIdentity_Request) Reset() {
*x = UpgradeResourceIdentity_Request{}
mi := &file_tfplugin6_proto_msgTypes[96]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpgradeResourceIdentity_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpgradeResourceIdentity_Request) ProtoMessage() {}
func (x *UpgradeResourceIdentity_Request) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[96]
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 UpgradeResourceIdentity_Request.ProtoReflect.Descriptor instead.
func (*UpgradeResourceIdentity_Request) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{33, 0}
}
func (x *UpgradeResourceIdentity_Request) GetTypeName() string {
if x != nil {
return x.TypeName
}
return ""
}
func (x *UpgradeResourceIdentity_Request) GetVersion() int64 {
if x != nil {
return x.Version
}
return 0
}
func (x *UpgradeResourceIdentity_Request) GetRawIdentity() *RawState {
if x != nil {
return x.RawIdentity
}
return nil
}
type UpgradeResourceIdentity_Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
// upgraded_identity returns the upgraded resource identity data
UpgradedIdentity *ResourceIdentityData `protobuf:"bytes,1,opt,name=upgraded_identity,json=upgradedIdentity,proto3" json:"upgraded_identity,omitempty"`
// diagnostics is the collection of warning and error diagnostics for this request
Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpgradeResourceIdentity_Response) Reset() {
*x = UpgradeResourceIdentity_Response{}
mi := &file_tfplugin6_proto_msgTypes[97]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpgradeResourceIdentity_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpgradeResourceIdentity_Response) ProtoMessage() {}
func (x *UpgradeResourceIdentity_Response) ProtoReflect() protoreflect.Message {
mi := &file_tfplugin6_proto_msgTypes[97]
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 UpgradeResourceIdentity_Response.ProtoReflect.Descriptor instead.
func (*UpgradeResourceIdentity_Response) Descriptor() ([]byte, []int) {
return file_tfplugin6_proto_rawDescGZIP(), []int{33, 1}
}
func (x *UpgradeResourceIdentity_Response) GetUpgradedIdentity() *ResourceIdentityData {
if x != nil {
return x.UpgradedIdentity
}
return nil
}
func (x *UpgradeResourceIdentity_Response) GetDiagnostics() []*Diagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
var File_tfplugin6_proto protoreflect.FileDescriptor
const file_tfplugin6_proto_rawDesc = "" +
"\n" +
"\x0ftfplugin6.proto\x12\ttfplugin6\x1a\x1fgoogle/protobuf/timestamp.proto\"<\n" +
"\fDynamicValue\x12\x18\n" +
"\amsgpack\x18\x01 \x01(\fR\amsgpack\x12\x12\n" +
"\x04json\x18\x02 \x01(\fR\x04json\"\xe3\x01\n" +
"\n" +
"Diagnostic\x12:\n" +
"\bseverity\x18\x01 \x01(\x0e2\x1e.tfplugin6.Diagnostic.SeverityR\bseverity\x12\x18\n" +
"\asummary\x18\x02 \x01(\tR\asummary\x12\x16\n" +
"\x06detail\x18\x03 \x01(\tR\x06detail\x126\n" +
"\tattribute\x18\x04 \x01(\v2\x18.tfplugin6.AttributePathR\tattribute\"/\n" +
"\bSeverity\x12\v\n" +
"\aINVALID\x10\x00\x12\t\n" +
"\x05ERROR\x10\x01\x12\v\n" +
"\aWARNING\x10\x02\"k\n" +
"\rFunctionError\x12\x12\n" +
"\x04text\x18\x01 \x01(\tR\x04text\x120\n" +
"\x11function_argument\x18\x02 \x01(\x03H\x00R\x10functionArgument\x88\x01\x01B\x14\n" +
"\x12_function_argument\"\xdc\x01\n" +
"\rAttributePath\x123\n" +
"\x05steps\x18\x01 \x03(\v2\x1d.tfplugin6.AttributePath.StepR\x05steps\x1a\x95\x01\n" +
"\x04Step\x12'\n" +
"\x0eattribute_name\x18\x01 \x01(\tH\x00R\rattributeName\x12.\n" +
"\x12element_key_string\x18\x02 \x01(\tH\x00R\x10elementKeyString\x12(\n" +
"\x0felement_key_int\x18\x03 \x01(\x03H\x00R\relementKeyIntB\n" +
"\n" +
"\bselector\";\n" +
"\fStopProvider\x1a\t\n" +
"\aRequest\x1a \n" +
"\bResponse\x12\x14\n" +
"\x05Error\x18\x01 \x01(\tR\x05Error\"\x96\x01\n" +
"\bRawState\x12\x12\n" +
"\x04json\x18\x01 \x01(\fR\x04json\x12:\n" +
"\aflatmap\x18\x02 \x03(\v2 .tfplugin6.RawState.FlatmapEntryR\aflatmap\x1a:\n" +
"\fFlatmapEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xb4\n" +
"\n" +
"\x06Schema\x12\x18\n" +
"\aversion\x18\x01 \x01(\x03R\aversion\x12-\n" +
"\x05block\x18\x02 \x01(\v2\x17.tfplugin6.Schema.BlockR\x05block\x1a\xa2\x02\n" +
"\x05Block\x12\x18\n" +
"\aversion\x18\x01 \x01(\x03R\aversion\x12;\n" +
"\n" +
"attributes\x18\x02 \x03(\v2\x1b.tfplugin6.Schema.AttributeR\n" +
"attributes\x12>\n" +
"\vblock_types\x18\x03 \x03(\v2\x1d.tfplugin6.Schema.NestedBlockR\n" +
"blockTypes\x12 \n" +
"\vdescription\x18\x04 \x01(\tR\vdescription\x12@\n" +
"\x10description_kind\x18\x05 \x01(\x0e2\x15.tfplugin6.StringKindR\x0fdescriptionKind\x12\x1e\n" +
"\n" +
"deprecated\x18\x06 \x01(\bR\n" +
"deprecated\x1a\x83\x03\n" +
"\tAttribute\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
"\x04type\x18\x02 \x01(\fR\x04type\x129\n" +
"\vnested_type\x18\n" +
" \x01(\v2\x18.tfplugin6.Schema.ObjectR\n" +
"nestedType\x12 \n" +
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x1a\n" +
"\brequired\x18\x04 \x01(\bR\brequired\x12\x1a\n" +
"\boptional\x18\x05 \x01(\bR\boptional\x12\x1a\n" +
"\bcomputed\x18\x06 \x01(\bR\bcomputed\x12\x1c\n" +
"\tsensitive\x18\a \x01(\bR\tsensitive\x12@\n" +
"\x10description_kind\x18\b \x01(\x0e2\x15.tfplugin6.StringKindR\x0fdescriptionKind\x12\x1e\n" +
"\n" +
"deprecated\x18\t \x01(\bR\n" +
"deprecated\x12\x1d\n" +
"\n" +
"write_only\x18\v \x01(\bR\twriteOnly\x1a\xa7\x02\n" +
"\vNestedBlock\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x12-\n" +
"\x05block\x18\x02 \x01(\v2\x17.tfplugin6.Schema.BlockR\x05block\x12C\n" +
"\anesting\x18\x03 \x01(\x0e2).tfplugin6.Schema.NestedBlock.NestingModeR\anesting\x12\x1b\n" +
"\tmin_items\x18\x04 \x01(\x03R\bminItems\x12\x1b\n" +
"\tmax_items\x18\x05 \x01(\x03R\bmaxItems\"M\n" +
"\vNestingMode\x12\v\n" +
"\aINVALID\x10\x00\x12\n" +
"\n" +
"\x06SINGLE\x10\x01\x12\b\n" +
"\x04LIST\x10\x02\x12\a\n" +
"\x03SET\x10\x03\x12\a\n" +
"\x03MAP\x10\x04\x12\t\n" +
"\x05GROUP\x10\x05\x1a\x8b\x02\n" +
"\x06Object\x12;\n" +
"\n" +
"attributes\x18\x01 \x03(\v2\x1b.tfplugin6.Schema.AttributeR\n" +
"attributes\x12>\n" +
"\anesting\x18\x03 \x01(\x0e2$.tfplugin6.Schema.Object.NestingModeR\anesting\x12\x1f\n" +
"\tmin_items\x18\x04 \x01(\x03B\x02\x18\x01R\bminItems\x12\x1f\n" +
"\tmax_items\x18\x05 \x01(\x03B\x02\x18\x01R\bmaxItems\"B\n" +
"\vNestingMode\x12\v\n" +
"\aINVALID\x10\x00\x12\n" +
"\n" +
"\x06SINGLE\x10\x01\x12\b\n" +
"\x04LIST\x10\x02\x12\a\n" +
"\x03SET\x10\x03\x12\a\n" +
"\x03MAP\x10\x04\"\xd8\x02\n" +
"\x16ResourceIdentitySchema\x12\x18\n" +
"\aversion\x18\x01 \x01(\x03R\aversion\x12d\n" +
"\x13identity_attributes\x18\x02 \x03(\v23.tfplugin6.ResourceIdentitySchema.IdentityAttributeR\x12identityAttributes\x1a\xbd\x01\n" +
"\x11IdentityAttribute\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
"\x04type\x18\x02 \x01(\fR\x04type\x12.\n" +
"\x13required_for_import\x18\x03 \x01(\bR\x11requiredForImport\x12.\n" +
"\x13optional_for_import\x18\x04 \x01(\bR\x11optionalForImport\x12 \n" +
"\vdescription\x18\x05 \x01(\tR\vdescription\"T\n" +
"\x14ResourceIdentityData\x12<\n" +
"\ridentity_data\x18\x01 \x01(\v2\x17.tfplugin6.DynamicValueR\fidentityData\"\x8e\x05\n" +
"\bFunction\x12=\n" +
"\n" +
"parameters\x18\x01 \x03(\v2\x1d.tfplugin6.Function.ParameterR\n" +
"parameters\x12L\n" +
"\x12variadic_parameter\x18\x02 \x01(\v2\x1d.tfplugin6.Function.ParameterR\x11variadicParameter\x122\n" +
"\x06return\x18\x03 \x01(\v2\x1a.tfplugin6.Function.ReturnR\x06return\x12\x18\n" +
"\asummary\x18\x04 \x01(\tR\asummary\x12 \n" +
"\vdescription\x18\x05 \x01(\tR\vdescription\x12@\n" +
"\x10description_kind\x18\x06 \x01(\x0e2\x15.tfplugin6.StringKindR\x0fdescriptionKind\x12/\n" +
"\x13deprecation_message\x18\a \x01(\tR\x12deprecationMessage\x1a\xf3\x01\n" +
"\tParameter\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
"\x04type\x18\x02 \x01(\fR\x04type\x12(\n" +
"\x10allow_null_value\x18\x03 \x01(\bR\x0eallowNullValue\x120\n" +
"\x14allow_unknown_values\x18\x04 \x01(\bR\x12allowUnknownValues\x12 \n" +
"\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\"\xa8\x01\n" +
"\x12ServerCapabilities\x12!\n" +
"\fplan_destroy\x18\x01 \x01(\bR\vplanDestroy\x12?\n" +
"\x1cget_provider_schema_optional\x18\x02 \x01(\bR\x19getProviderSchemaOptional\x12.\n" +
"\x13move_resource_state\x18\x03 \x01(\bR\x11moveResourceState\"\x82\x01\n" +
"\x12ClientCapabilities\x12)\n" +
"\x10deferral_allowed\x18\x01 \x01(\bR\x0fdeferralAllowed\x12A\n" +
"\x1dwrite_only_attributes_allowed\x18\x02 \x01(\bR\x1awriteOnlyAttributesAllowed\"\xa2\x01\n" +
"\bDeferred\x122\n" +
"\x06reason\x18\x01 \x01(\x0e2\x1a.tfplugin6.Deferred.ReasonR\x06reason\"b\n" +
"\x06Reason\x12\v\n" +
"\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\"\xb3\x05\n" +
"\vGetMetadata\x1a\t\n" +
"\aRequest\x1a\xd2\x03\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" +
"\fdata_sources\x18\x03 \x03(\v2).tfplugin6.GetMetadata.DataSourceMetadataR\vdataSources\x12E\n" +
"\tresources\x18\x04 \x03(\v2'.tfplugin6.GetMetadata.ResourceMetadataR\tresources\x12E\n" +
"\tfunctions\x18\x05 \x03(\v2'.tfplugin6.GetMetadata.FunctionMetadataR\tfunctions\x12a\n" +
"\x13ephemeral_resources\x18\x06 \x03(\v20.tfplugin6.GetMetadata.EphemeralResourceMetadataR\x12ephemeralResources\x1a&\n" +
"\x10FunctionMetadata\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x1a1\n" +
"\x12DataSourceMetadata\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x1a/\n" +
"\x10ResourceMetadata\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x1a8\n" +
"\x19EphemeralResourceMetadata\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\"\xab\b\n" +
"\x11GetProviderSchema\x1a\t\n" +
"\aRequest\x1a\x8a\b\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" +
"\x13data_source_schemas\x18\x03 \x03(\v2<.tfplugin6.GetProviderSchema.Response.DataSourceSchemasEntryR\x11dataSourceSchemas\x127\n" +
"\vdiagnostics\x18\x04 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\x126\n" +
"\rprovider_meta\x18\x05 \x01(\v2\x11.tfplugin6.SchemaR\fproviderMeta\x12N\n" +
"\x13server_capabilities\x18\x06 \x01(\v2\x1d.tfplugin6.ServerCapabilitiesR\x12serverCapabilities\x12R\n" +
"\tfunctions\x18\a \x03(\v24.tfplugin6.GetProviderSchema.Response.FunctionsEntryR\tfunctions\x12\x81\x01\n" +
"\x1aephemeral_resource_schemas\x18\b \x03(\v2C.tfplugin6.GetProviderSchema.Response.EphemeralResourceSchemasEntryR\x18ephemeralResourceSchemas\x1aU\n" +
"\x14ResourceSchemasEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12'\n" +
"\x05value\x18\x02 \x01(\v2\x11.tfplugin6.SchemaR\x05value:\x028\x01\x1aW\n" +
"\x16DataSourceSchemasEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12'\n" +
"\x05value\x18\x02 \x01(\v2\x11.tfplugin6.SchemaR\x05value:\x028\x01\x1aQ\n" +
"\x0eFunctionsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12)\n" +
"\x05value\x18\x02 \x01(\v2\x13.tfplugin6.FunctionR\x05value:\x028\x01\x1a^\n" +
"\x1dEphemeralResourceSchemasEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12'\n" +
"\x05value\x18\x02 \x01(\v2\x11.tfplugin6.SchemaR\x05value:\x028\x01\"\x99\x01\n" +
"\x16ValidateProviderConfig\x1a:\n" +
"\aRequest\x12/\n" +
"\x06config\x18\x01 \x01(\v2\x17.tfplugin6.DynamicValueR\x06config\x1aC\n" +
"\bResponse\x127\n" +
"\vdiagnostics\x18\x02 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\"\x90\x02\n" +
"\x14UpgradeResourceState\x1ar\n" +
"\aRequest\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x12\x18\n" +
"\aversion\x18\x02 \x01(\x03R\aversion\x120\n" +
"\traw_state\x18\x03 \x01(\v2\x13.tfplugin6.RawStateR\brawState\x1a\x83\x01\n" +
"\bResponse\x12>\n" +
"\x0eupgraded_state\x18\x01 \x01(\v2\x17.tfplugin6.DynamicValueR\rupgradedState\x127\n" +
"\vdiagnostics\x18\x02 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\"\x87\x02\n" +
"\x16ValidateResourceConfig\x1a\xa7\x01\n" +
"\aRequest\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x12/\n" +
"\x06config\x18\x02 \x01(\v2\x17.tfplugin6.DynamicValueR\x06config\x12N\n" +
"\x13client_capabilities\x18\x03 \x01(\v2\x1d.tfplugin6.ClientCapabilitiesR\x12clientCapabilities\x1aC\n" +
"\bResponse\x127\n" +
"\vdiagnostics\x18\x01 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\"\xba\x01\n" +
"\x1aValidateDataResourceConfig\x1aW\n" +
"\aRequest\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x12/\n" +
"\x06config\x18\x02 \x01(\v2\x17.tfplugin6.DynamicValueR\x06config\x1aC\n" +
"\bResponse\x127\n" +
"\vdiagnostics\x18\x01 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\"\x92\x02\n" +
"\x11ConfigureProvider\x1a\xb7\x01\n" +
"\aRequest\x12+\n" +
"\x11terraform_version\x18\x01 \x01(\tR\x10terraformVersion\x12/\n" +
"\x06config\x18\x02 \x01(\v2\x17.tfplugin6.DynamicValueR\x06config\x12N\n" +
"\x13client_capabilities\x18\x03 \x01(\v2\x1d.tfplugin6.ClientCapabilitiesR\x12clientCapabilities\x1aC\n" +
"\bResponse\x127\n" +
"\vdiagnostics\x18\x01 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\"\xf4\x04\n" +
"\fReadResource\x1a\xd8\x02\n" +
"\aRequest\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x12<\n" +
"\rcurrent_state\x18\x02 \x01(\v2\x17.tfplugin6.DynamicValueR\fcurrentState\x12\x18\n" +
"\aprivate\x18\x03 \x01(\fR\aprivate\x12<\n" +
"\rprovider_meta\x18\x04 \x01(\v2\x17.tfplugin6.DynamicValueR\fproviderMeta\x12N\n" +
"\x13client_capabilities\x18\x05 \x01(\v2\x1d.tfplugin6.ClientCapabilitiesR\x12clientCapabilities\x12J\n" +
"\x10current_identity\x18\x06 \x01(\v2\x1f.tfplugin6.ResourceIdentityDataR\x0fcurrentIdentity\x1a\x88\x02\n" +
"\bResponse\x124\n" +
"\tnew_state\x18\x01 \x01(\v2\x17.tfplugin6.DynamicValueR\bnewState\x127\n" +
"\vdiagnostics\x18\x02 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\x12\x18\n" +
"\aprivate\x18\x03 \x01(\fR\aprivate\x12/\n" +
"\bdeferred\x18\x04 \x01(\v2\x13.tfplugin6.DeferredR\bdeferred\x12B\n" +
"\fnew_identity\x18\x05 \x01(\v2\x1f.tfplugin6.ResourceIdentityDataR\vnewIdentity\"\x87\a\n" +
"\x12PlanResourceChange\x1a\xd3\x03\n" +
"\aRequest\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x128\n" +
"\vprior_state\x18\x02 \x01(\v2\x17.tfplugin6.DynamicValueR\n" +
"priorState\x12E\n" +
"\x12proposed_new_state\x18\x03 \x01(\v2\x17.tfplugin6.DynamicValueR\x10proposedNewState\x12/\n" +
"\x06config\x18\x04 \x01(\v2\x17.tfplugin6.DynamicValueR\x06config\x12#\n" +
"\rprior_private\x18\x05 \x01(\fR\fpriorPrivate\x12<\n" +
"\rprovider_meta\x18\x06 \x01(\v2\x17.tfplugin6.DynamicValueR\fproviderMeta\x12N\n" +
"\x13client_capabilities\x18\a \x01(\v2\x1d.tfplugin6.ClientCapabilitiesR\x12clientCapabilities\x12F\n" +
"\x0eprior_identity\x18\b \x01(\v2\x1f.tfplugin6.ResourceIdentityDataR\rpriorIdentity\x1a\x9a\x03\n" +
"\bResponse\x12<\n" +
"\rplanned_state\x18\x01 \x01(\v2\x17.tfplugin6.DynamicValueR\fplannedState\x12C\n" +
"\x10requires_replace\x18\x02 \x03(\v2\x18.tfplugin6.AttributePathR\x0frequiresReplace\x12'\n" +
"\x0fplanned_private\x18\x03 \x01(\fR\x0eplannedPrivate\x127\n" +
"\vdiagnostics\x18\x04 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\x12,\n" +
"\x12legacy_type_system\x18\x05 \x01(\bR\x10legacyTypeSystem\x12/\n" +
"\bdeferred\x18\x06 \x01(\v2\x13.tfplugin6.DeferredR\bdeferred\x12J\n" +
"\x10planned_identity\x18\a \x01(\v2\x1f.tfplugin6.ResourceIdentityDataR\x0fplannedIdentity\"\xa2\x05\n" +
"\x13ApplyResourceChange\x1a\x82\x03\n" +
"\aRequest\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x128\n" +
"\vprior_state\x18\x02 \x01(\v2\x17.tfplugin6.DynamicValueR\n" +
"priorState\x12<\n" +
"\rplanned_state\x18\x03 \x01(\v2\x17.tfplugin6.DynamicValueR\fplannedState\x12/\n" +
"\x06config\x18\x04 \x01(\v2\x17.tfplugin6.DynamicValueR\x06config\x12'\n" +
"\x0fplanned_private\x18\x05 \x01(\fR\x0eplannedPrivate\x12<\n" +
"\rprovider_meta\x18\x06 \x01(\v2\x17.tfplugin6.DynamicValueR\fproviderMeta\x12J\n" +
"\x10planned_identity\x18\a \x01(\v2\x1f.tfplugin6.ResourceIdentityDataR\x0fplannedIdentity\x1a\x85\x02\n" +
"\bResponse\x124\n" +
"\tnew_state\x18\x01 \x01(\v2\x17.tfplugin6.DynamicValueR\bnewState\x12\x18\n" +
"\aprivate\x18\x02 \x01(\fR\aprivate\x127\n" +
"\vdiagnostics\x18\x03 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\x12,\n" +
"\x12legacy_type_system\x18\x04 \x01(\bR\x10legacyTypeSystem\x12B\n" +
"\fnew_identity\x18\x05 \x01(\v2\x1f.tfplugin6.ResourceIdentityDataR\vnewIdentity\"\xea\x04\n" +
"\x13ImportResourceState\x1a\xc3\x01\n" +
"\aRequest\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x12\x0e\n" +
"\x02id\x18\x02 \x01(\tR\x02id\x12N\n" +
"\x13client_capabilities\x18\x03 \x01(\v2\x1d.tfplugin6.ClientCapabilitiesR\x12clientCapabilities\x12;\n" +
"\bidentity\x18\x04 \x01(\v2\x1f.tfplugin6.ResourceIdentityDataR\bidentity\x1a\xb5\x01\n" +
"\x10ImportedResource\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x12-\n" +
"\x05state\x18\x02 \x01(\v2\x17.tfplugin6.DynamicValueR\x05state\x12\x18\n" +
"\aprivate\x18\x03 \x01(\fR\aprivate\x12;\n" +
"\bidentity\x18\x04 \x01(\v2\x1f.tfplugin6.ResourceIdentityDataR\bidentity\x1a\xd4\x01\n" +
"\bResponse\x12^\n" +
"\x12imported_resources\x18\x01 \x03(\v2/.tfplugin6.ImportResourceState.ImportedResourceR\x11importedResources\x127\n" +
"\vdiagnostics\x18\x02 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\x12/\n" +
"\bdeferred\x18\x03 \x01(\v2\x13.tfplugin6.DeferredR\bdeferred\"\xb4\x05\n" +
"\x11MoveResourceState\x1a\xab\x03\n" +
"\aRequest\x126\n" +
"\x17source_provider_address\x18\x01 \x01(\tR\x15sourceProviderAddress\x12(\n" +
"\x10source_type_name\x18\x02 \x01(\tR\x0esourceTypeName\x122\n" +
"\x15source_schema_version\x18\x03 \x01(\x03R\x13sourceSchemaVersion\x126\n" +
"\fsource_state\x18\x04 \x01(\v2\x13.tfplugin6.RawStateR\vsourceState\x12(\n" +
"\x10target_type_name\x18\x05 \x01(\tR\x0etargetTypeName\x12%\n" +
"\x0esource_private\x18\x06 \x01(\fR\rsourcePrivate\x12<\n" +
"\x0fsource_identity\x18\a \x01(\v2\x13.tfplugin6.RawStateR\x0esourceIdentity\x12C\n" +
"\x1esource_identity_schema_version\x18\b \x01(\x03R\x1bsourceIdentitySchemaVersion\x1a\xf0\x01\n" +
"\bResponse\x12:\n" +
"\ftarget_state\x18\x01 \x01(\v2\x17.tfplugin6.DynamicValueR\vtargetState\x127\n" +
"\vdiagnostics\x18\x02 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\x12%\n" +
"\x0etarget_private\x18\x03 \x01(\fR\rtargetPrivate\x12H\n" +
"\x0ftarget_identity\x18\x04 \x01(\v2\x1f.tfplugin6.ResourceIdentityDataR\x0etargetIdentity\"\x9e\x03\n" +
"\x0eReadDataSource\x1a\xe5\x01\n" +
"\aRequest\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x12/\n" +
"\x06config\x18\x02 \x01(\v2\x17.tfplugin6.DynamicValueR\x06config\x12<\n" +
"\rprovider_meta\x18\x03 \x01(\v2\x17.tfplugin6.DynamicValueR\fproviderMeta\x12N\n" +
"\x13client_capabilities\x18\x04 \x01(\v2\x1d.tfplugin6.ClientCapabilitiesR\x12clientCapabilities\x1a\xa3\x01\n" +
"\bResponse\x12-\n" +
"\x05state\x18\x01 \x01(\v2\x17.tfplugin6.DynamicValueR\x05state\x127\n" +
"\vdiagnostics\x18\x02 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\x12/\n" +
"\bdeferred\x18\x03 \x01(\v2\x13.tfplugin6.DeferredR\bdeferred\"\x81\x02\n" +
"\fGetFunctions\x1a\t\n" +
"\aRequest\x1a\xe5\x01\n" +
"\bResponse\x12M\n" +
"\tfunctions\x18\x01 \x03(\v2/.tfplugin6.GetFunctions.Response.FunctionsEntryR\tfunctions\x127\n" +
"\vdiagnostics\x18\x02 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\x1aQ\n" +
"\x0eFunctionsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12)\n" +
"\x05value\x18\x02 \x01(\v2\x13.tfplugin6.FunctionR\x05value:\x028\x01\"\xd1\x01\n" +
"\fCallFunction\x1aT\n" +
"\aRequest\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x125\n" +
"\targuments\x18\x02 \x03(\v2\x17.tfplugin6.DynamicValueR\targuments\x1ak\n" +
"\bResponse\x12/\n" +
"\x06result\x18\x01 \x01(\v2\x17.tfplugin6.DynamicValueR\x06result\x12.\n" +
"\x05error\x18\x02 \x01(\v2\x18.tfplugin6.FunctionErrorR\x05error\"\xbf\x01\n" +
"\x1fValidateEphemeralResourceConfig\x1aW\n" +
"\aRequest\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x12/\n" +
"\x06config\x18\x02 \x01(\v2\x17.tfplugin6.DynamicValueR\x06config\x1aC\n" +
"\bResponse\x127\n" +
"\vdiagnostics\x18\x01 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\"\xdd\x03\n" +
"\x15OpenEphemeralResource\x1a\xa7\x01\n" +
"\aRequest\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x12/\n" +
"\x06config\x18\x02 \x01(\v2\x17.tfplugin6.DynamicValueR\x06config\x12N\n" +
"\x13client_capabilities\x18\x03 \x01(\v2\x1d.tfplugin6.ClientCapabilitiesR\x12clientCapabilities\x1a\x99\x02\n" +
"\bResponse\x127\n" +
"\vdiagnostics\x18\x01 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\x12:\n" +
"\brenew_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampH\x00R\arenewAt\x88\x01\x01\x12/\n" +
"\x06result\x18\x03 \x01(\v2\x17.tfplugin6.DynamicValueR\x06result\x12\x1d\n" +
"\aprivate\x18\x04 \x01(\fH\x01R\aprivate\x88\x01\x01\x12/\n" +
"\bdeferred\x18\x05 \x01(\v2\x13.tfplugin6.DeferredR\bdeferredB\v\n" +
"\t_renew_atB\n" +
"\n" +
"\b_private\"\xa5\x02\n" +
"\x16RenewEphemeralResource\x1aQ\n" +
"\aRequest\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x12\x1d\n" +
"\aprivate\x18\x02 \x01(\fH\x00R\aprivate\x88\x01\x01B\n" +
"\n" +
"\b_private\x1a\xb7\x01\n" +
"\bResponse\x127\n" +
"\vdiagnostics\x18\x01 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\x12:\n" +
"\brenew_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampH\x00R\arenewAt\x88\x01\x01\x12\x1d\n" +
"\aprivate\x18\x03 \x01(\fH\x01R\aprivate\x88\x01\x01B\v\n" +
"\t_renew_atB\n" +
"\n" +
"\b_private\"\xb0\x01\n" +
"\x16CloseEphemeralResource\x1aQ\n" +
"\aRequest\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x12\x1d\n" +
"\aprivate\x18\x02 \x01(\fH\x00R\aprivate\x88\x01\x01B\n" +
"\n" +
"\b_private\x1aC\n" +
"\bResponse\x127\n" +
"\vdiagnostics\x18\x01 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\"\xc4\x02\n" +
"\x1aGetResourceIdentitySchemas\x1a\t\n" +
"\aRequest\x1a\x9a\x02\n" +
"\bResponse\x12n\n" +
"\x10identity_schemas\x18\x01 \x03(\v2C.tfplugin6.GetResourceIdentitySchemas.Response.IdentitySchemasEntryR\x0fidentitySchemas\x127\n" +
"\vdiagnostics\x18\x02 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics\x1ae\n" +
"\x14IdentitySchemasEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x127\n" +
"\x05value\x18\x02 \x01(\v2!.tfplugin6.ResourceIdentitySchemaR\x05value:\x028\x01\"\xa7\x02\n" +
"\x17UpgradeResourceIdentity\x1ax\n" +
"\aRequest\x12\x1b\n" +
"\ttype_name\x18\x01 \x01(\tR\btypeName\x12\x18\n" +
"\aversion\x18\x02 \x01(\x03R\aversion\x126\n" +
"\fraw_identity\x18\x03 \x01(\v2\x13.tfplugin6.RawStateR\vrawIdentity\x1a\x91\x01\n" +
"\bResponse\x12L\n" +
"\x11upgraded_identity\x18\x01 \x01(\v2\x1f.tfplugin6.ResourceIdentityDataR\x10upgradedIdentity\x127\n" +
"\vdiagnostics\x18\x02 \x03(\v2\x15.tfplugin6.DiagnosticR\vdiagnostics*%\n" +
"\n" +
"StringKind\x12\t\n" +
"\x05PLAIN\x10\x00\x12\f\n" +
"\bMARKDOWN\x10\x012\xf2\x11\n" +
"\bProvider\x12N\n" +
"\vGetMetadata\x12\x1e.tfplugin6.GetMetadata.Request\x1a\x1f.tfplugin6.GetMetadata.Response\x12`\n" +
"\x11GetProviderSchema\x12$.tfplugin6.GetProviderSchema.Request\x1a%.tfplugin6.GetProviderSchema.Response\x12{\n" +
"\x1aGetResourceIdentitySchemas\x12-.tfplugin6.GetResourceIdentitySchemas.Request\x1a..tfplugin6.GetResourceIdentitySchemas.Response\x12o\n" +
"\x16ValidateProviderConfig\x12).tfplugin6.ValidateProviderConfig.Request\x1a*.tfplugin6.ValidateProviderConfig.Response\x12o\n" +
"\x16ValidateResourceConfig\x12).tfplugin6.ValidateResourceConfig.Request\x1a*.tfplugin6.ValidateResourceConfig.Response\x12{\n" +
"\x1aValidateDataResourceConfig\x12-.tfplugin6.ValidateDataResourceConfig.Request\x1a..tfplugin6.ValidateDataResourceConfig.Response\x12i\n" +
"\x14UpgradeResourceState\x12'.tfplugin6.UpgradeResourceState.Request\x1a(.tfplugin6.UpgradeResourceState.Response\x12r\n" +
"\x17UpgradeResourceIdentity\x12*.tfplugin6.UpgradeResourceIdentity.Request\x1a+.tfplugin6.UpgradeResourceIdentity.Response\x12`\n" +
"\x11ConfigureProvider\x12$.tfplugin6.ConfigureProvider.Request\x1a%.tfplugin6.ConfigureProvider.Response\x12Q\n" +
"\fReadResource\x12\x1f.tfplugin6.ReadResource.Request\x1a .tfplugin6.ReadResource.Response\x12c\n" +
"\x12PlanResourceChange\x12%.tfplugin6.PlanResourceChange.Request\x1a&.tfplugin6.PlanResourceChange.Response\x12f\n" +
"\x13ApplyResourceChange\x12&.tfplugin6.ApplyResourceChange.Request\x1a'.tfplugin6.ApplyResourceChange.Response\x12f\n" +
"\x13ImportResourceState\x12&.tfplugin6.ImportResourceState.Request\x1a'.tfplugin6.ImportResourceState.Response\x12`\n" +
"\x11MoveResourceState\x12$.tfplugin6.MoveResourceState.Request\x1a%.tfplugin6.MoveResourceState.Response\x12W\n" +
"\x0eReadDataSource\x12!.tfplugin6.ReadDataSource.Request\x1a\".tfplugin6.ReadDataSource.Response\x12\x8a\x01\n" +
"\x1fValidateEphemeralResourceConfig\x122.tfplugin6.ValidateEphemeralResourceConfig.Request\x1a3.tfplugin6.ValidateEphemeralResourceConfig.Response\x12l\n" +
"\x15OpenEphemeralResource\x12(.tfplugin6.OpenEphemeralResource.Request\x1a).tfplugin6.OpenEphemeralResource.Response\x12o\n" +
"\x16RenewEphemeralResource\x12).tfplugin6.RenewEphemeralResource.Request\x1a*.tfplugin6.RenewEphemeralResource.Response\x12o\n" +
"\x16CloseEphemeralResource\x12).tfplugin6.CloseEphemeralResource.Request\x1a*.tfplugin6.CloseEphemeralResource.Response\x12Q\n" +
"\fGetFunctions\x12\x1f.tfplugin6.GetFunctions.Request\x1a .tfplugin6.GetFunctions.Response\x12Q\n" +
"\fCallFunction\x12\x1f.tfplugin6.CallFunction.Request\x1a .tfplugin6.CallFunction.Response\x12Q\n" +
"\fStopProvider\x12\x1f.tfplugin6.StopProvider.Request\x1a .tfplugin6.StopProvider.ResponseB1Z/github.com/opentofu/opentofu/internal/tfplugin6b\x06proto3"
var (
file_tfplugin6_proto_rawDescOnce sync.Once
file_tfplugin6_proto_rawDescData []byte
)
func file_tfplugin6_proto_rawDescGZIP() []byte {
file_tfplugin6_proto_rawDescOnce.Do(func() {
file_tfplugin6_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_tfplugin6_proto_rawDesc), len(file_tfplugin6_proto_rawDesc)))
})
return file_tfplugin6_proto_rawDescData
}
var file_tfplugin6_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
var file_tfplugin6_proto_msgTypes = make([]protoimpl.MessageInfo, 98)
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
(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
(*ServerCapabilities)(nil), // 15: tfplugin6.ServerCapabilities
(*ClientCapabilities)(nil), // 16: tfplugin6.ClientCapabilities
(*Deferred)(nil), // 17: tfplugin6.Deferred
(*GetMetadata)(nil), // 18: tfplugin6.GetMetadata
(*GetProviderSchema)(nil), // 19: tfplugin6.GetProviderSchema
(*ValidateProviderConfig)(nil), // 20: tfplugin6.ValidateProviderConfig
(*UpgradeResourceState)(nil), // 21: tfplugin6.UpgradeResourceState
(*ValidateResourceConfig)(nil), // 22: tfplugin6.ValidateResourceConfig
(*ValidateDataResourceConfig)(nil), // 23: tfplugin6.ValidateDataResourceConfig
(*ConfigureProvider)(nil), // 24: tfplugin6.ConfigureProvider
(*ReadResource)(nil), // 25: tfplugin6.ReadResource
(*PlanResourceChange)(nil), // 26: tfplugin6.PlanResourceChange
(*ApplyResourceChange)(nil), // 27: tfplugin6.ApplyResourceChange
(*ImportResourceState)(nil), // 28: tfplugin6.ImportResourceState
(*MoveResourceState)(nil), // 29: tfplugin6.MoveResourceState
(*ReadDataSource)(nil), // 30: tfplugin6.ReadDataSource
(*GetFunctions)(nil), // 31: tfplugin6.GetFunctions
(*CallFunction)(nil), // 32: tfplugin6.CallFunction
(*ValidateEphemeralResourceConfig)(nil), // 33: tfplugin6.ValidateEphemeralResourceConfig
(*OpenEphemeralResource)(nil), // 34: tfplugin6.OpenEphemeralResource
(*RenewEphemeralResource)(nil), // 35: tfplugin6.RenewEphemeralResource
(*CloseEphemeralResource)(nil), // 36: tfplugin6.CloseEphemeralResource
(*GetResourceIdentitySchemas)(nil), // 37: tfplugin6.GetResourceIdentitySchemas
(*UpgradeResourceIdentity)(nil), // 38: tfplugin6.UpgradeResourceIdentity
(*AttributePath_Step)(nil), // 39: tfplugin6.AttributePath.Step
(*StopProvider_Request)(nil), // 40: tfplugin6.StopProvider.Request
(*StopProvider_Response)(nil), // 41: tfplugin6.StopProvider.Response
nil, // 42: tfplugin6.RawState.FlatmapEntry
(*Schema_Block)(nil), // 43: tfplugin6.Schema.Block
(*Schema_Attribute)(nil), // 44: tfplugin6.Schema.Attribute
(*Schema_NestedBlock)(nil), // 45: tfplugin6.Schema.NestedBlock
(*Schema_Object)(nil), // 46: tfplugin6.Schema.Object
(*ResourceIdentitySchema_IdentityAttribute)(nil), // 47: tfplugin6.ResourceIdentitySchema.IdentityAttribute
(*Function_Parameter)(nil), // 48: tfplugin6.Function.Parameter
(*Function_Return)(nil), // 49: tfplugin6.Function.Return
(*GetMetadata_Request)(nil), // 50: tfplugin6.GetMetadata.Request
(*GetMetadata_Response)(nil), // 51: tfplugin6.GetMetadata.Response
(*GetMetadata_FunctionMetadata)(nil), // 52: tfplugin6.GetMetadata.FunctionMetadata
(*GetMetadata_DataSourceMetadata)(nil), // 53: tfplugin6.GetMetadata.DataSourceMetadata
(*GetMetadata_ResourceMetadata)(nil), // 54: tfplugin6.GetMetadata.ResourceMetadata
(*GetMetadata_EphemeralResourceMetadata)(nil), // 55: tfplugin6.GetMetadata.EphemeralResourceMetadata
(*GetProviderSchema_Request)(nil), // 56: tfplugin6.GetProviderSchema.Request
(*GetProviderSchema_Response)(nil), // 57: tfplugin6.GetProviderSchema.Response
nil, // 58: tfplugin6.GetProviderSchema.Response.ResourceSchemasEntry
nil, // 59: tfplugin6.GetProviderSchema.Response.DataSourceSchemasEntry
nil, // 60: tfplugin6.GetProviderSchema.Response.FunctionsEntry
nil, // 61: tfplugin6.GetProviderSchema.Response.EphemeralResourceSchemasEntry
(*ValidateProviderConfig_Request)(nil), // 62: tfplugin6.ValidateProviderConfig.Request
(*ValidateProviderConfig_Response)(nil), // 63: tfplugin6.ValidateProviderConfig.Response
(*UpgradeResourceState_Request)(nil), // 64: tfplugin6.UpgradeResourceState.Request
(*UpgradeResourceState_Response)(nil), // 65: tfplugin6.UpgradeResourceState.Response
(*ValidateResourceConfig_Request)(nil), // 66: tfplugin6.ValidateResourceConfig.Request
(*ValidateResourceConfig_Response)(nil), // 67: tfplugin6.ValidateResourceConfig.Response
(*ValidateDataResourceConfig_Request)(nil), // 68: tfplugin6.ValidateDataResourceConfig.Request
(*ValidateDataResourceConfig_Response)(nil), // 69: tfplugin6.ValidateDataResourceConfig.Response
(*ConfigureProvider_Request)(nil), // 70: tfplugin6.ConfigureProvider.Request
(*ConfigureProvider_Response)(nil), // 71: tfplugin6.ConfigureProvider.Response
(*ReadResource_Request)(nil), // 72: tfplugin6.ReadResource.Request
(*ReadResource_Response)(nil), // 73: tfplugin6.ReadResource.Response
(*PlanResourceChange_Request)(nil), // 74: tfplugin6.PlanResourceChange.Request
(*PlanResourceChange_Response)(nil), // 75: tfplugin6.PlanResourceChange.Response
(*ApplyResourceChange_Request)(nil), // 76: tfplugin6.ApplyResourceChange.Request
(*ApplyResourceChange_Response)(nil), // 77: tfplugin6.ApplyResourceChange.Response
(*ImportResourceState_Request)(nil), // 78: tfplugin6.ImportResourceState.Request
(*ImportResourceState_ImportedResource)(nil), // 79: tfplugin6.ImportResourceState.ImportedResource
(*ImportResourceState_Response)(nil), // 80: tfplugin6.ImportResourceState.Response
(*MoveResourceState_Request)(nil), // 81: tfplugin6.MoveResourceState.Request
(*MoveResourceState_Response)(nil), // 82: tfplugin6.MoveResourceState.Response
(*ReadDataSource_Request)(nil), // 83: tfplugin6.ReadDataSource.Request
(*ReadDataSource_Response)(nil), // 84: tfplugin6.ReadDataSource.Response
(*GetFunctions_Request)(nil), // 85: tfplugin6.GetFunctions.Request
(*GetFunctions_Response)(nil), // 86: tfplugin6.GetFunctions.Response
nil, // 87: tfplugin6.GetFunctions.Response.FunctionsEntry
(*CallFunction_Request)(nil), // 88: tfplugin6.CallFunction.Request
(*CallFunction_Response)(nil), // 89: tfplugin6.CallFunction.Response
(*ValidateEphemeralResourceConfig_Request)(nil), // 90: tfplugin6.ValidateEphemeralResourceConfig.Request
(*ValidateEphemeralResourceConfig_Response)(nil), // 91: tfplugin6.ValidateEphemeralResourceConfig.Response
(*OpenEphemeralResource_Request)(nil), // 92: tfplugin6.OpenEphemeralResource.Request
(*OpenEphemeralResource_Response)(nil), // 93: tfplugin6.OpenEphemeralResource.Response
(*RenewEphemeralResource_Request)(nil), // 94: tfplugin6.RenewEphemeralResource.Request
(*RenewEphemeralResource_Response)(nil), // 95: tfplugin6.RenewEphemeralResource.Response
(*CloseEphemeralResource_Request)(nil), // 96: tfplugin6.CloseEphemeralResource.Request
(*CloseEphemeralResource_Response)(nil), // 97: tfplugin6.CloseEphemeralResource.Response
(*GetResourceIdentitySchemas_Request)(nil), // 98: tfplugin6.GetResourceIdentitySchemas.Request
(*GetResourceIdentitySchemas_Response)(nil), // 99: tfplugin6.GetResourceIdentitySchemas.Response
nil, // 100: tfplugin6.GetResourceIdentitySchemas.Response.IdentitySchemasEntry
(*UpgradeResourceIdentity_Request)(nil), // 101: tfplugin6.UpgradeResourceIdentity.Request
(*UpgradeResourceIdentity_Response)(nil), // 102: tfplugin6.UpgradeResourceIdentity.Response
(*timestamppb.Timestamp)(nil), // 103: google.protobuf.Timestamp
}
var file_tfplugin6_proto_depIdxs = []int32{
1, // 0: tfplugin6.Diagnostic.severity:type_name -> tfplugin6.Diagnostic.Severity
8, // 1: tfplugin6.Diagnostic.attribute:type_name -> tfplugin6.AttributePath
39, // 2: tfplugin6.AttributePath.steps:type_name -> tfplugin6.AttributePath.Step
42, // 3: tfplugin6.RawState.flatmap:type_name -> tfplugin6.RawState.FlatmapEntry
43, // 4: tfplugin6.Schema.block:type_name -> tfplugin6.Schema.Block
47, // 5: tfplugin6.ResourceIdentitySchema.identity_attributes:type_name -> tfplugin6.ResourceIdentitySchema.IdentityAttribute
5, // 6: tfplugin6.ResourceIdentityData.identity_data:type_name -> tfplugin6.DynamicValue
48, // 7: tfplugin6.Function.parameters:type_name -> tfplugin6.Function.Parameter
48, // 8: tfplugin6.Function.variadic_parameter:type_name -> tfplugin6.Function.Parameter
49, // 9: tfplugin6.Function.return:type_name -> tfplugin6.Function.Return
0, // 10: tfplugin6.Function.description_kind:type_name -> tfplugin6.StringKind
4, // 11: tfplugin6.Deferred.reason:type_name -> tfplugin6.Deferred.Reason
44, // 12: tfplugin6.Schema.Block.attributes:type_name -> tfplugin6.Schema.Attribute
45, // 13: tfplugin6.Schema.Block.block_types:type_name -> tfplugin6.Schema.NestedBlock
0, // 14: tfplugin6.Schema.Block.description_kind:type_name -> tfplugin6.StringKind
46, // 15: tfplugin6.Schema.Attribute.nested_type:type_name -> tfplugin6.Schema.Object
0, // 16: tfplugin6.Schema.Attribute.description_kind:type_name -> tfplugin6.StringKind
43, // 17: tfplugin6.Schema.NestedBlock.block:type_name -> tfplugin6.Schema.Block
2, // 18: tfplugin6.Schema.NestedBlock.nesting:type_name -> tfplugin6.Schema.NestedBlock.NestingMode
44, // 19: tfplugin6.Schema.Object.attributes:type_name -> tfplugin6.Schema.Attribute
3, // 20: tfplugin6.Schema.Object.nesting:type_name -> tfplugin6.Schema.Object.NestingMode
0, // 21: tfplugin6.Function.Parameter.description_kind:type_name -> tfplugin6.StringKind
15, // 22: tfplugin6.GetMetadata.Response.server_capabilities:type_name -> tfplugin6.ServerCapabilities
6, // 23: tfplugin6.GetMetadata.Response.diagnostics:type_name -> tfplugin6.Diagnostic
53, // 24: tfplugin6.GetMetadata.Response.data_sources:type_name -> tfplugin6.GetMetadata.DataSourceMetadata
54, // 25: tfplugin6.GetMetadata.Response.resources:type_name -> tfplugin6.GetMetadata.ResourceMetadata
52, // 26: tfplugin6.GetMetadata.Response.functions:type_name -> tfplugin6.GetMetadata.FunctionMetadata
55, // 27: tfplugin6.GetMetadata.Response.ephemeral_resources:type_name -> tfplugin6.GetMetadata.EphemeralResourceMetadata
11, // 28: tfplugin6.GetProviderSchema.Response.provider:type_name -> tfplugin6.Schema
58, // 29: tfplugin6.GetProviderSchema.Response.resource_schemas:type_name -> tfplugin6.GetProviderSchema.Response.ResourceSchemasEntry
59, // 30: tfplugin6.GetProviderSchema.Response.data_source_schemas:type_name -> tfplugin6.GetProviderSchema.Response.DataSourceSchemasEntry
6, // 31: tfplugin6.GetProviderSchema.Response.diagnostics:type_name -> tfplugin6.Diagnostic
11, // 32: tfplugin6.GetProviderSchema.Response.provider_meta:type_name -> tfplugin6.Schema
15, // 33: tfplugin6.GetProviderSchema.Response.server_capabilities:type_name -> tfplugin6.ServerCapabilities
60, // 34: tfplugin6.GetProviderSchema.Response.functions:type_name -> tfplugin6.GetProviderSchema.Response.FunctionsEntry
61, // 35: tfplugin6.GetProviderSchema.Response.ephemeral_resource_schemas:type_name -> tfplugin6.GetProviderSchema.Response.EphemeralResourceSchemasEntry
11, // 36: tfplugin6.GetProviderSchema.Response.ResourceSchemasEntry.value:type_name -> tfplugin6.Schema
11, // 37: tfplugin6.GetProviderSchema.Response.DataSourceSchemasEntry.value:type_name -> tfplugin6.Schema
14, // 38: tfplugin6.GetProviderSchema.Response.FunctionsEntry.value:type_name -> tfplugin6.Function
11, // 39: tfplugin6.GetProviderSchema.Response.EphemeralResourceSchemasEntry.value:type_name -> tfplugin6.Schema
5, // 40: tfplugin6.ValidateProviderConfig.Request.config:type_name -> tfplugin6.DynamicValue
6, // 41: tfplugin6.ValidateProviderConfig.Response.diagnostics:type_name -> tfplugin6.Diagnostic
10, // 42: tfplugin6.UpgradeResourceState.Request.raw_state:type_name -> tfplugin6.RawState
5, // 43: tfplugin6.UpgradeResourceState.Response.upgraded_state:type_name -> tfplugin6.DynamicValue
6, // 44: tfplugin6.UpgradeResourceState.Response.diagnostics:type_name -> tfplugin6.Diagnostic
5, // 45: tfplugin6.ValidateResourceConfig.Request.config:type_name -> tfplugin6.DynamicValue
16, // 46: tfplugin6.ValidateResourceConfig.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities
6, // 47: tfplugin6.ValidateResourceConfig.Response.diagnostics:type_name -> tfplugin6.Diagnostic
5, // 48: tfplugin6.ValidateDataResourceConfig.Request.config:type_name -> tfplugin6.DynamicValue
6, // 49: tfplugin6.ValidateDataResourceConfig.Response.diagnostics:type_name -> tfplugin6.Diagnostic
5, // 50: tfplugin6.ConfigureProvider.Request.config:type_name -> tfplugin6.DynamicValue
16, // 51: tfplugin6.ConfigureProvider.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities
6, // 52: tfplugin6.ConfigureProvider.Response.diagnostics:type_name -> tfplugin6.Diagnostic
5, // 53: tfplugin6.ReadResource.Request.current_state:type_name -> tfplugin6.DynamicValue
5, // 54: tfplugin6.ReadResource.Request.provider_meta:type_name -> tfplugin6.DynamicValue
16, // 55: tfplugin6.ReadResource.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities
13, // 56: tfplugin6.ReadResource.Request.current_identity:type_name -> tfplugin6.ResourceIdentityData
5, // 57: tfplugin6.ReadResource.Response.new_state:type_name -> tfplugin6.DynamicValue
6, // 58: tfplugin6.ReadResource.Response.diagnostics:type_name -> tfplugin6.Diagnostic
17, // 59: tfplugin6.ReadResource.Response.deferred:type_name -> tfplugin6.Deferred
13, // 60: tfplugin6.ReadResource.Response.new_identity:type_name -> tfplugin6.ResourceIdentityData
5, // 61: tfplugin6.PlanResourceChange.Request.prior_state:type_name -> tfplugin6.DynamicValue
5, // 62: tfplugin6.PlanResourceChange.Request.proposed_new_state:type_name -> tfplugin6.DynamicValue
5, // 63: tfplugin6.PlanResourceChange.Request.config:type_name -> tfplugin6.DynamicValue
5, // 64: tfplugin6.PlanResourceChange.Request.provider_meta:type_name -> tfplugin6.DynamicValue
16, // 65: tfplugin6.PlanResourceChange.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities
13, // 66: tfplugin6.PlanResourceChange.Request.prior_identity:type_name -> tfplugin6.ResourceIdentityData
5, // 67: tfplugin6.PlanResourceChange.Response.planned_state:type_name -> tfplugin6.DynamicValue
8, // 68: tfplugin6.PlanResourceChange.Response.requires_replace:type_name -> tfplugin6.AttributePath
6, // 69: tfplugin6.PlanResourceChange.Response.diagnostics:type_name -> tfplugin6.Diagnostic
17, // 70: tfplugin6.PlanResourceChange.Response.deferred:type_name -> tfplugin6.Deferred
13, // 71: tfplugin6.PlanResourceChange.Response.planned_identity:type_name -> tfplugin6.ResourceIdentityData
5, // 72: tfplugin6.ApplyResourceChange.Request.prior_state:type_name -> tfplugin6.DynamicValue
5, // 73: tfplugin6.ApplyResourceChange.Request.planned_state:type_name -> tfplugin6.DynamicValue
5, // 74: tfplugin6.ApplyResourceChange.Request.config:type_name -> tfplugin6.DynamicValue
5, // 75: tfplugin6.ApplyResourceChange.Request.provider_meta:type_name -> tfplugin6.DynamicValue
13, // 76: tfplugin6.ApplyResourceChange.Request.planned_identity:type_name -> tfplugin6.ResourceIdentityData
5, // 77: tfplugin6.ApplyResourceChange.Response.new_state:type_name -> tfplugin6.DynamicValue
6, // 78: tfplugin6.ApplyResourceChange.Response.diagnostics:type_name -> tfplugin6.Diagnostic
13, // 79: tfplugin6.ApplyResourceChange.Response.new_identity:type_name -> tfplugin6.ResourceIdentityData
16, // 80: tfplugin6.ImportResourceState.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities
13, // 81: tfplugin6.ImportResourceState.Request.identity:type_name -> tfplugin6.ResourceIdentityData
5, // 82: tfplugin6.ImportResourceState.ImportedResource.state:type_name -> tfplugin6.DynamicValue
13, // 83: tfplugin6.ImportResourceState.ImportedResource.identity:type_name -> tfplugin6.ResourceIdentityData
79, // 84: tfplugin6.ImportResourceState.Response.imported_resources:type_name -> tfplugin6.ImportResourceState.ImportedResource
6, // 85: tfplugin6.ImportResourceState.Response.diagnostics:type_name -> tfplugin6.Diagnostic
17, // 86: tfplugin6.ImportResourceState.Response.deferred:type_name -> tfplugin6.Deferred
10, // 87: tfplugin6.MoveResourceState.Request.source_state:type_name -> tfplugin6.RawState
10, // 88: tfplugin6.MoveResourceState.Request.source_identity:type_name -> tfplugin6.RawState
5, // 89: tfplugin6.MoveResourceState.Response.target_state:type_name -> tfplugin6.DynamicValue
6, // 90: tfplugin6.MoveResourceState.Response.diagnostics:type_name -> tfplugin6.Diagnostic
13, // 91: tfplugin6.MoveResourceState.Response.target_identity:type_name -> tfplugin6.ResourceIdentityData
5, // 92: tfplugin6.ReadDataSource.Request.config:type_name -> tfplugin6.DynamicValue
5, // 93: tfplugin6.ReadDataSource.Request.provider_meta:type_name -> tfplugin6.DynamicValue
16, // 94: tfplugin6.ReadDataSource.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities
5, // 95: tfplugin6.ReadDataSource.Response.state:type_name -> tfplugin6.DynamicValue
6, // 96: tfplugin6.ReadDataSource.Response.diagnostics:type_name -> tfplugin6.Diagnostic
17, // 97: tfplugin6.ReadDataSource.Response.deferred:type_name -> tfplugin6.Deferred
87, // 98: tfplugin6.GetFunctions.Response.functions:type_name -> tfplugin6.GetFunctions.Response.FunctionsEntry
6, // 99: tfplugin6.GetFunctions.Response.diagnostics:type_name -> tfplugin6.Diagnostic
14, // 100: tfplugin6.GetFunctions.Response.FunctionsEntry.value:type_name -> tfplugin6.Function
5, // 101: tfplugin6.CallFunction.Request.arguments:type_name -> tfplugin6.DynamicValue
5, // 102: tfplugin6.CallFunction.Response.result:type_name -> tfplugin6.DynamicValue
7, // 103: tfplugin6.CallFunction.Response.error:type_name -> tfplugin6.FunctionError
5, // 104: tfplugin6.ValidateEphemeralResourceConfig.Request.config:type_name -> tfplugin6.DynamicValue
6, // 105: tfplugin6.ValidateEphemeralResourceConfig.Response.diagnostics:type_name -> tfplugin6.Diagnostic
5, // 106: tfplugin6.OpenEphemeralResource.Request.config:type_name -> tfplugin6.DynamicValue
16, // 107: tfplugin6.OpenEphemeralResource.Request.client_capabilities:type_name -> tfplugin6.ClientCapabilities
6, // 108: tfplugin6.OpenEphemeralResource.Response.diagnostics:type_name -> tfplugin6.Diagnostic
103, // 109: tfplugin6.OpenEphemeralResource.Response.renew_at:type_name -> google.protobuf.Timestamp
5, // 110: tfplugin6.OpenEphemeralResource.Response.result:type_name -> tfplugin6.DynamicValue
17, // 111: tfplugin6.OpenEphemeralResource.Response.deferred:type_name -> tfplugin6.Deferred
6, // 112: tfplugin6.RenewEphemeralResource.Response.diagnostics:type_name -> tfplugin6.Diagnostic
103, // 113: tfplugin6.RenewEphemeralResource.Response.renew_at:type_name -> google.protobuf.Timestamp
6, // 114: tfplugin6.CloseEphemeralResource.Response.diagnostics:type_name -> tfplugin6.Diagnostic
100, // 115: tfplugin6.GetResourceIdentitySchemas.Response.identity_schemas:type_name -> tfplugin6.GetResourceIdentitySchemas.Response.IdentitySchemasEntry
6, // 116: tfplugin6.GetResourceIdentitySchemas.Response.diagnostics:type_name -> tfplugin6.Diagnostic
12, // 117: tfplugin6.GetResourceIdentitySchemas.Response.IdentitySchemasEntry.value:type_name -> tfplugin6.ResourceIdentitySchema
10, // 118: tfplugin6.UpgradeResourceIdentity.Request.raw_identity:type_name -> tfplugin6.RawState
13, // 119: tfplugin6.UpgradeResourceIdentity.Response.upgraded_identity:type_name -> tfplugin6.ResourceIdentityData
6, // 120: tfplugin6.UpgradeResourceIdentity.Response.diagnostics:type_name -> tfplugin6.Diagnostic
50, // 121: tfplugin6.Provider.GetMetadata:input_type -> tfplugin6.GetMetadata.Request
56, // 122: tfplugin6.Provider.GetProviderSchema:input_type -> tfplugin6.GetProviderSchema.Request
98, // 123: tfplugin6.Provider.GetResourceIdentitySchemas:input_type -> tfplugin6.GetResourceIdentitySchemas.Request
62, // 124: tfplugin6.Provider.ValidateProviderConfig:input_type -> tfplugin6.ValidateProviderConfig.Request
66, // 125: tfplugin6.Provider.ValidateResourceConfig:input_type -> tfplugin6.ValidateResourceConfig.Request
68, // 126: tfplugin6.Provider.ValidateDataResourceConfig:input_type -> tfplugin6.ValidateDataResourceConfig.Request
64, // 127: tfplugin6.Provider.UpgradeResourceState:input_type -> tfplugin6.UpgradeResourceState.Request
101, // 128: tfplugin6.Provider.UpgradeResourceIdentity:input_type -> tfplugin6.UpgradeResourceIdentity.Request
70, // 129: tfplugin6.Provider.ConfigureProvider:input_type -> tfplugin6.ConfigureProvider.Request
72, // 130: tfplugin6.Provider.ReadResource:input_type -> tfplugin6.ReadResource.Request
74, // 131: tfplugin6.Provider.PlanResourceChange:input_type -> tfplugin6.PlanResourceChange.Request
76, // 132: tfplugin6.Provider.ApplyResourceChange:input_type -> tfplugin6.ApplyResourceChange.Request
78, // 133: tfplugin6.Provider.ImportResourceState:input_type -> tfplugin6.ImportResourceState.Request
81, // 134: tfplugin6.Provider.MoveResourceState:input_type -> tfplugin6.MoveResourceState.Request
83, // 135: tfplugin6.Provider.ReadDataSource:input_type -> tfplugin6.ReadDataSource.Request
90, // 136: tfplugin6.Provider.ValidateEphemeralResourceConfig:input_type -> tfplugin6.ValidateEphemeralResourceConfig.Request
92, // 137: tfplugin6.Provider.OpenEphemeralResource:input_type -> tfplugin6.OpenEphemeralResource.Request
94, // 138: tfplugin6.Provider.RenewEphemeralResource:input_type -> tfplugin6.RenewEphemeralResource.Request
96, // 139: tfplugin6.Provider.CloseEphemeralResource:input_type -> tfplugin6.CloseEphemeralResource.Request
85, // 140: tfplugin6.Provider.GetFunctions:input_type -> tfplugin6.GetFunctions.Request
88, // 141: tfplugin6.Provider.CallFunction:input_type -> tfplugin6.CallFunction.Request
40, // 142: tfplugin6.Provider.StopProvider:input_type -> tfplugin6.StopProvider.Request
51, // 143: tfplugin6.Provider.GetMetadata:output_type -> tfplugin6.GetMetadata.Response
57, // 144: tfplugin6.Provider.GetProviderSchema:output_type -> tfplugin6.GetProviderSchema.Response
99, // 145: tfplugin6.Provider.GetResourceIdentitySchemas:output_type -> tfplugin6.GetResourceIdentitySchemas.Response
63, // 146: tfplugin6.Provider.ValidateProviderConfig:output_type -> tfplugin6.ValidateProviderConfig.Response
67, // 147: tfplugin6.Provider.ValidateResourceConfig:output_type -> tfplugin6.ValidateResourceConfig.Response
69, // 148: tfplugin6.Provider.ValidateDataResourceConfig:output_type -> tfplugin6.ValidateDataResourceConfig.Response
65, // 149: tfplugin6.Provider.UpgradeResourceState:output_type -> tfplugin6.UpgradeResourceState.Response
102, // 150: tfplugin6.Provider.UpgradeResourceIdentity:output_type -> tfplugin6.UpgradeResourceIdentity.Response
71, // 151: tfplugin6.Provider.ConfigureProvider:output_type -> tfplugin6.ConfigureProvider.Response
73, // 152: tfplugin6.Provider.ReadResource:output_type -> tfplugin6.ReadResource.Response
75, // 153: tfplugin6.Provider.PlanResourceChange:output_type -> tfplugin6.PlanResourceChange.Response
77, // 154: tfplugin6.Provider.ApplyResourceChange:output_type -> tfplugin6.ApplyResourceChange.Response
80, // 155: tfplugin6.Provider.ImportResourceState:output_type -> tfplugin6.ImportResourceState.Response
82, // 156: tfplugin6.Provider.MoveResourceState:output_type -> tfplugin6.MoveResourceState.Response
84, // 157: tfplugin6.Provider.ReadDataSource:output_type -> tfplugin6.ReadDataSource.Response
91, // 158: tfplugin6.Provider.ValidateEphemeralResourceConfig:output_type -> tfplugin6.ValidateEphemeralResourceConfig.Response
93, // 159: tfplugin6.Provider.OpenEphemeralResource:output_type -> tfplugin6.OpenEphemeralResource.Response
95, // 160: tfplugin6.Provider.RenewEphemeralResource:output_type -> tfplugin6.RenewEphemeralResource.Response
97, // 161: tfplugin6.Provider.CloseEphemeralResource:output_type -> tfplugin6.CloseEphemeralResource.Response
86, // 162: tfplugin6.Provider.GetFunctions:output_type -> tfplugin6.GetFunctions.Response
89, // 163: tfplugin6.Provider.CallFunction:output_type -> tfplugin6.CallFunction.Response
41, // 164: tfplugin6.Provider.StopProvider:output_type -> tfplugin6.StopProvider.Response
143, // [143:165] is the sub-list for method output_type
121, // [121:143] is the sub-list for method input_type
121, // [121:121] is the sub-list for extension type_name
121, // [121:121] is the sub-list for extension extendee
0, // [0:121] is the sub-list for field type_name
}
func init() { file_tfplugin6_proto_init() }
func file_tfplugin6_proto_init() {
if File_tfplugin6_proto != nil {
return
}
file_tfplugin6_proto_msgTypes[2].OneofWrappers = []any{}
file_tfplugin6_proto_msgTypes[34].OneofWrappers = []any{
(*AttributePath_Step_AttributeName)(nil),
(*AttributePath_Step_ElementKeyString)(nil),
(*AttributePath_Step_ElementKeyInt)(nil),
}
file_tfplugin6_proto_msgTypes[88].OneofWrappers = []any{}
file_tfplugin6_proto_msgTypes[89].OneofWrappers = []any{}
file_tfplugin6_proto_msgTypes[90].OneofWrappers = []any{}
file_tfplugin6_proto_msgTypes[91].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_tfplugin6_proto_rawDesc), len(file_tfplugin6_proto_rawDesc)),
NumEnums: 5,
NumMessages: 98,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_tfplugin6_proto_goTypes,
DependencyIndexes: file_tfplugin6_proto_depIdxs,
EnumInfos: file_tfplugin6_proto_enumTypes,
MessageInfos: file_tfplugin6_proto_msgTypes,
}.Build()
File_tfplugin6_proto = out.File
file_tfplugin6_proto_goTypes = nil
file_tfplugin6_proto_depIdxs = nil
}