// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/k8s/marketplace/v1/helm_release.proto

package k8s_marketplace

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 HelmRelease_Status int32

const (
	HelmRelease_STATUS_UNSPECIFIED HelmRelease_Status = 0
	// Helm release status is unknown
	HelmRelease_UNKNOWN HelmRelease_Status = 1
	// Helm release deployed.
	HelmRelease_DEPLOYED HelmRelease_Status = 2
	// Helm release uninstalled.
	HelmRelease_UNINSTALLED HelmRelease_Status = 3
	// Helm release superseded.
	HelmRelease_SUPERSEDED HelmRelease_Status = 4
	// Helm release installation failed.
	HelmRelease_FAILED HelmRelease_Status = 5
	// Helm release is being uninstalled.
	HelmRelease_UNINSTALLING HelmRelease_Status = 6
	// Helm release is to be installed.
	HelmRelease_PENDING_INSTALL HelmRelease_Status = 7
	// Helm release is to be updated.
	HelmRelease_PENDING_UPGRADE HelmRelease_Status = 8
	// Helm release is to be rolled back.
	HelmRelease_PENDING_ROLLBACK HelmRelease_Status = 9
)

// Enum value maps for HelmRelease_Status.
var (
	HelmRelease_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "UNKNOWN",
		2: "DEPLOYED",
		3: "UNINSTALLED",
		4: "SUPERSEDED",
		5: "FAILED",
		6: "UNINSTALLING",
		7: "PENDING_INSTALL",
		8: "PENDING_UPGRADE",
		9: "PENDING_ROLLBACK",
	}
	HelmRelease_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"UNKNOWN":            1,
		"DEPLOYED":           2,
		"UNINSTALLED":        3,
		"SUPERSEDED":         4,
		"FAILED":             5,
		"UNINSTALLING":       6,
		"PENDING_INSTALL":    7,
		"PENDING_UPGRADE":    8,
		"PENDING_ROLLBACK":   9,
	}
)

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

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

func (HelmRelease_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_enumTypes[0].Descriptor()
}

func (HelmRelease_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_enumTypes[0]
}

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

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

// A Helm Release.
type HelmRelease struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of a helm release.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the Kubernetes cluster.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the application.
	AppName string `protobuf:"bytes,3,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"`
	// Namespace of the application.
	AppNamespace string `protobuf:"bytes,4,opt,name=app_namespace,json=appNamespace,proto3" json:"app_namespace,omitempty"`
	// Kubernetes marketplace product id.
	ProductId string `protobuf:"bytes,5,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// Kubernetes marketplace product name.
	ProductName string `protobuf:"bytes,6,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"`
	// Kubernetes marketplace product version.
	ProductVersion string `protobuf:"bytes,10,opt,name=product_version,json=productVersion,proto3" json:"product_version,omitempty"`
	// Status of a helm release.
	Status HelmRelease_Status `protobuf:"varint,7,opt,name=status,proto3,enum=yandex.cloud.k8s.marketplace.v1.HelmRelease_Status" json:"status,omitempty"`
	// Creation timestamp.
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*HelmRelease) ProtoMessage() {}

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

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

func (x *HelmRelease) GetClusterId() string {
	if x != nil {
		return x.ClusterId
	}
	return ""
}

func (x *HelmRelease) GetAppName() string {
	if x != nil {
		return x.AppName
	}
	return ""
}

func (x *HelmRelease) GetAppNamespace() string {
	if x != nil {
		return x.AppNamespace
	}
	return ""
}

func (x *HelmRelease) GetProductId() string {
	if x != nil {
		return x.ProductId
	}
	return ""
}

func (x *HelmRelease) GetProductName() string {
	if x != nil {
		return x.ProductName
	}
	return ""
}

func (x *HelmRelease) GetProductVersion() string {
	if x != nil {
		return x.ProductVersion
	}
	return ""
}

func (x *HelmRelease) GetStatus() HelmRelease_Status {
	if x != nil {
		return x.Status
	}
	return HelmRelease_STATUS_UNSPECIFIED
}

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

var File_yandex_cloud_k8s_marketplace_v1_helm_release_proto protoreflect.FileDescriptor

const file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_rawDesc = "" +
	"\n" +
	"2yandex/cloud/k8s/marketplace/v1/helm_release.proto\x12\x1fyandex.cloud.k8s.marketplace.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb2\x04\n" +
	"\vHelmRelease\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
	"\n" +
	"cluster_id\x18\x02 \x01(\tR\tclusterId\x12\x19\n" +
	"\bapp_name\x18\x03 \x01(\tR\aappName\x12#\n" +
	"\rapp_namespace\x18\x04 \x01(\tR\fappNamespace\x12\x1d\n" +
	"\n" +
	"product_id\x18\x05 \x01(\tR\tproductId\x12!\n" +
	"\fproduct_name\x18\x06 \x01(\tR\vproductName\x12'\n" +
	"\x0fproduct_version\x18\n" +
	" \x01(\tR\x0eproductVersion\x12K\n" +
	"\x06status\x18\a \x01(\x0e23.yandex.cloud.k8s.marketplace.v1.HelmRelease.StatusR\x06status\x129\n" +
	"\n" +
	"created_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\"\xba\x01\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\v\n" +
	"\aUNKNOWN\x10\x01\x12\f\n" +
	"\bDEPLOYED\x10\x02\x12\x0f\n" +
	"\vUNINSTALLED\x10\x03\x12\x0e\n" +
	"\n" +
	"SUPERSEDED\x10\x04\x12\n" +
	"\n" +
	"\x06FAILED\x10\x05\x12\x10\n" +
	"\fUNINSTALLING\x10\x06\x12\x13\n" +
	"\x0fPENDING_INSTALL\x10\a\x12\x13\n" +
	"\x0fPENDING_UPGRADE\x10\b\x12\x14\n" +
	"\x10PENDING_ROLLBACK\x10\tJ\x04\b\t\x10\n" +
	"Bz\n" +
	"#yandex.cloud.api.k8s.marketplace.v1ZSgithub.com/yandex-cloud/go-genproto/yandex/cloud/k8s/marketplace/v1;k8s_marketplaceb\x06proto3"

var (
	file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_rawDescOnce sync.Once
	file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_rawDescData []byte
)

func file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_rawDescGZIP() []byte {
	file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_rawDesc), len(file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_rawDesc)))
	})
	return file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_rawDescData
}

var file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_goTypes = []any{
	(HelmRelease_Status)(0),       // 0: yandex.cloud.k8s.marketplace.v1.HelmRelease.Status
	(*HelmRelease)(nil),           // 1: yandex.cloud.k8s.marketplace.v1.HelmRelease
	(*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp
}
var file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_depIdxs = []int32{
	0, // 0: yandex.cloud.k8s.marketplace.v1.HelmRelease.status:type_name -> yandex.cloud.k8s.marketplace.v1.HelmRelease.Status
	2, // 1: yandex.cloud.k8s.marketplace.v1.HelmRelease.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_k8s_marketplace_v1_helm_release_proto_init() }
func file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_init() {
	if File_yandex_cloud_k8s_marketplace_v1_helm_release_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_k8s_marketplace_v1_helm_release_proto_rawDesc), len(file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_msgTypes,
	}.Build()
	File_yandex_cloud_k8s_marketplace_v1_helm_release_proto = out.File
	file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_goTypes = nil
	file_yandex_cloud_k8s_marketplace_v1_helm_release_proto_depIdxs = nil
}
