// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/baremetal/v1alpha/private_cloud_connection.proto

package baremetal

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)
)

// Private cloud connection status.
type PrivateCloudConnection_Status int32

const (
	// Unspecified private cloud connection status.
	PrivateCloudConnection_STATUS_UNSPECIFIED PrivateCloudConnection_Status = 0
	// Private cloud connection is waiting for network resources to be allocated.
	PrivateCloudConnection_CREATING PrivateCloudConnection_Status = 1
	// Private cloud connection is ready to use.
	PrivateCloudConnection_READY PrivateCloudConnection_Status = 2
	// Private cloud connection encountered a problem and cannot operate.
	PrivateCloudConnection_ERROR PrivateCloudConnection_Status = 3
	// Private cloud connection is being deleted.
	PrivateCloudConnection_DELETING PrivateCloudConnection_Status = 4
	// Private cloud connection is being updated.
	PrivateCloudConnection_UPDATING PrivateCloudConnection_Status = 5
)

// Enum value maps for PrivateCloudConnection_Status.
var (
	PrivateCloudConnection_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "CREATING",
		2: "READY",
		3: "ERROR",
		4: "DELETING",
		5: "UPDATING",
	}
	PrivateCloudConnection_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"CREATING":           1,
		"READY":              2,
		"ERROR":              3,
		"DELETING":           4,
		"UPDATING":           5,
	}
)

func (x PrivateCloudConnection_Status) Enum() *PrivateCloudConnection_Status {
	p := new(PrivateCloudConnection_Status)
	*p = x
	return p
}

func (x PrivateCloudConnection_Status) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (PrivateCloudConnection_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_enumTypes[0].Descriptor()
}

func (PrivateCloudConnection_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_enumTypes[0]
}

func (x PrivateCloudConnection_Status) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use PrivateCloudConnection_Status.Descriptor instead.
func (PrivateCloudConnection_Status) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_rawDescGZIP(), []int{0, 0}
}

// A Private cloud connection resource.
type PrivateCloudConnection struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the private cloud connection.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the private cloud connection belongs to.
	FolderId string `protobuf:"bytes,4,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// ID of the cloud that the private cloud connection belongs to.
	CloudId string `protobuf:"bytes,5,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"`
	// ID of Cloud Router Routing Instance.
	RoutingInstanceId string `protobuf:"bytes,6,opt,name=routing_instance_id,json=routingInstanceId,proto3" json:"routing_instance_id,omitempty"`
	// ID of VRF that is connected to routing Instance.
	VrfId string `protobuf:"bytes,7,opt,name=vrf_id,json=vrfId,proto3" json:"vrf_id,omitempty"`
	// Status of the private cloud connection.
	Status PrivateCloudConnection_Status `protobuf:"varint,8,opt,name=status,proto3,enum=yandex.cloud.baremetal.v1alpha.PrivateCloudConnection_Status" json:"status,omitempty"`
	// Name of the private cloud connection.
	Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"`
	// Creation timestamp.
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,100,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PrivateCloudConnection) Reset() {
	*x = PrivateCloudConnection{}
	mi := &file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PrivateCloudConnection) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PrivateCloudConnection) ProtoMessage() {}

func (x *PrivateCloudConnection) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_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 PrivateCloudConnection.ProtoReflect.Descriptor instead.
func (*PrivateCloudConnection) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_rawDescGZIP(), []int{0}
}

func (x *PrivateCloudConnection) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *PrivateCloudConnection) GetFolderId() string {
	if x != nil {
		return x.FolderId
	}
	return ""
}

func (x *PrivateCloudConnection) GetCloudId() string {
	if x != nil {
		return x.CloudId
	}
	return ""
}

func (x *PrivateCloudConnection) GetRoutingInstanceId() string {
	if x != nil {
		return x.RoutingInstanceId
	}
	return ""
}

func (x *PrivateCloudConnection) GetVrfId() string {
	if x != nil {
		return x.VrfId
	}
	return ""
}

func (x *PrivateCloudConnection) GetStatus() PrivateCloudConnection_Status {
	if x != nil {
		return x.Status
	}
	return PrivateCloudConnection_STATUS_UNSPECIFIED
}

func (x *PrivateCloudConnection) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *PrivateCloudConnection) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

var File_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto protoreflect.FileDescriptor

const file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_rawDesc = "" +
	"\n" +
	"=yandex/cloud/baremetal/v1alpha/private_cloud_connection.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc8\x03\n" +
	"\x16PrivateCloudConnection\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" +
	"\tfolder_id\x18\x04 \x01(\tR\bfolderId\x12\x19\n" +
	"\bcloud_id\x18\x05 \x01(\tR\acloudId\x12.\n" +
	"\x13routing_instance_id\x18\x06 \x01(\tR\x11routingInstanceId\x12\x15\n" +
	"\x06vrf_id\x18\a \x01(\tR\x05vrfId\x12U\n" +
	"\x06status\x18\b \x01(\x0e2=.yandex.cloud.baremetal.v1alpha.PrivateCloudConnection.StatusR\x06status\x12\x12\n" +
	"\x04name\x18\t \x01(\tR\x04name\x129\n" +
	"\n" +
	"created_at\x18d \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\"`\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\f\n" +
	"\bCREATING\x10\x01\x12\t\n" +
	"\x05READY\x10\x02\x12\t\n" +
	"\x05ERROR\x10\x03\x12\f\n" +
	"\bDELETING\x10\x04\x12\f\n" +
	"\bUPDATING\x10\x05J\x04\b\x02\x10\x03J\x04\b\x03\x10\x04J\x04\b\n" +
	"\x10dJ\x05\be\x10\xc9\x01Br\n" +
	"\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3"

var (
	file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_rawDescOnce sync.Once
	file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_rawDescData []byte
)

func file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_rawDescGZIP() []byte {
	file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_rawDesc), len(file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_rawDesc)))
	})
	return file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_rawDescData
}

var file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_goTypes = []any{
	(PrivateCloudConnection_Status)(0), // 0: yandex.cloud.baremetal.v1alpha.PrivateCloudConnection.Status
	(*PrivateCloudConnection)(nil),     // 1: yandex.cloud.baremetal.v1alpha.PrivateCloudConnection
	(*timestamppb.Timestamp)(nil),      // 2: google.protobuf.Timestamp
}
var file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_depIdxs = []int32{
	0, // 0: yandex.cloud.baremetal.v1alpha.PrivateCloudConnection.status:type_name -> yandex.cloud.baremetal.v1alpha.PrivateCloudConnection.Status
	2, // 1: yandex.cloud.baremetal.v1alpha.PrivateCloudConnection.created_at:type_name -> google.protobuf.Timestamp
	2, // [2:2] is the sub-list for method output_type
	2, // [2:2] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_init() }
func file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_init() {
	if File_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_rawDesc), len(file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_msgTypes,
	}.Build()
	File_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto = out.File
	file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_goTypes = nil
	file_yandex_cloud_baremetal_v1alpha_private_cloud_connection_proto_depIdxs = nil
}
