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

package dataproc

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud/api"
	operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	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 GetSubclusterRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the Yandex Data Processing cluster that the subcluster belongs to.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the subcluster to return.
	//
	// To get a subcluster ID make a [SubclusterService.List] request.
	SubclusterId  string `protobuf:"bytes,2,opt,name=subcluster_id,json=subclusterId,proto3" json:"subcluster_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetSubclusterRequest) ProtoMessage() {}

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

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

func (x *GetSubclusterRequest) GetSubclusterId() string {
	if x != nil {
		return x.SubclusterId
	}
	return ""
}

type ListSubclustersRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the Yandex Data Processing cluster to list subclusters in.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListSubclustersResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set `page_token` to the
	// [ListSubclustersResponse.next_page_token] returned by a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A filter expression that filters subclusters listed in the response.
	//
	// The expression must specify:
	// 1. The field name. Currently you can use filtering only on [Subcluster.name] field.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
	// Example of a filter: `name=dataproc123_subcluster456`.
	Filter        string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListSubclustersRequest) Reset() {
	*x = ListSubclustersRequest{}
	mi := &file_yandex_cloud_dataproc_v1_subcluster_service_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListSubclustersRequest) ProtoMessage() {}

func (x *ListSubclustersRequest) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_dataproc_v1_subcluster_service_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 ListSubclustersRequest.ProtoReflect.Descriptor instead.
func (*ListSubclustersRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDescGZIP(), []int{1}
}

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

func (x *ListSubclustersRequest) GetPageSize() int64 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListSubclustersRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

func (x *ListSubclustersRequest) GetFilter() string {
	if x != nil {
		return x.Filter
	}
	return ""
}

type ListSubclustersResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of subclusters in the specified cluster.
	Subclusters []*Subcluster `protobuf:"bytes,1,rep,name=subclusters,proto3" json:"subclusters,omitempty"`
	// Token for getting the next page of the list. If the number of results is greater than
	// the specified [ListSubclustersRequest.page_size], use `next_page_token` as the value
	// for the [ListSubclustersRequest.page_token] parameter in the next list request.
	//
	// Each subsequent page will have its own `next_page_token` to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListSubclustersResponse) Reset() {
	*x = ListSubclustersResponse{}
	mi := &file_yandex_cloud_dataproc_v1_subcluster_service_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListSubclustersResponse) ProtoMessage() {}

func (x *ListSubclustersResponse) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_dataproc_v1_subcluster_service_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 ListSubclustersResponse.ProtoReflect.Descriptor instead.
func (*ListSubclustersResponse) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDescGZIP(), []int{2}
}

func (x *ListSubclustersResponse) GetSubclusters() []*Subcluster {
	if x != nil {
		return x.Subclusters
	}
	return nil
}

func (x *ListSubclustersResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

type CreateSubclusterRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the Yandex Data Processing cluster to create a subcluster in.
	//
	// To get a cluster ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the subcluster. The name must be unique within the cluster. The name can't be
	// changed when the subcluster is created.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Role that is fulfilled by hosts of the subcluster.
	Role Role `protobuf:"varint,3,opt,name=role,proto3,enum=yandex.cloud.dataproc.v1.Role" json:"role,omitempty"`
	// Resources allocated for each host in the subcluster.
	Resources *Resources `protobuf:"bytes,4,opt,name=resources,proto3" json:"resources,omitempty"`
	// ID of the VPC subnet used for hosts in the subcluster.
	SubnetId string `protobuf:"bytes,5,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// Number of hosts in the subcluster.
	HostsCount int64 `protobuf:"varint,6,opt,name=hosts_count,json=hostsCount,proto3" json:"hosts_count,omitempty"`
	// Configuration for instance group based subclusters
	AutoscalingConfig *AutoscalingConfig `protobuf:"bytes,7,opt,name=autoscaling_config,json=autoscalingConfig,proto3" json:"autoscaling_config,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *CreateSubclusterRequest) Reset() {
	*x = CreateSubclusterRequest{}
	mi := &file_yandex_cloud_dataproc_v1_subcluster_service_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CreateSubclusterRequest) ProtoMessage() {}

func (x *CreateSubclusterRequest) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_dataproc_v1_subcluster_service_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 CreateSubclusterRequest.ProtoReflect.Descriptor instead.
func (*CreateSubclusterRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDescGZIP(), []int{3}
}

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

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

func (x *CreateSubclusterRequest) GetRole() Role {
	if x != nil {
		return x.Role
	}
	return Role_ROLE_UNSPECIFIED
}

func (x *CreateSubclusterRequest) GetResources() *Resources {
	if x != nil {
		return x.Resources
	}
	return nil
}

func (x *CreateSubclusterRequest) GetSubnetId() string {
	if x != nil {
		return x.SubnetId
	}
	return ""
}

func (x *CreateSubclusterRequest) GetHostsCount() int64 {
	if x != nil {
		return x.HostsCount
	}
	return 0
}

func (x *CreateSubclusterRequest) GetAutoscalingConfig() *AutoscalingConfig {
	if x != nil {
		return x.AutoscalingConfig
	}
	return nil
}

type CreateSubclusterMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the cluster that the subcluster is being added to.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the subcluster that is being created.
	SubclusterId  string `protobuf:"bytes,2,opt,name=subcluster_id,json=subclusterId,proto3" json:"subcluster_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateSubclusterMetadata) Reset() {
	*x = CreateSubclusterMetadata{}
	mi := &file_yandex_cloud_dataproc_v1_subcluster_service_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CreateSubclusterMetadata) ProtoMessage() {}

func (x *CreateSubclusterMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_dataproc_v1_subcluster_service_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 CreateSubclusterMetadata.ProtoReflect.Descriptor instead.
func (*CreateSubclusterMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDescGZIP(), []int{4}
}

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

func (x *CreateSubclusterMetadata) GetSubclusterId() string {
	if x != nil {
		return x.SubclusterId
	}
	return ""
}

type UpdateSubclusterRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the cluster to update a subcluster in.
	//
	// To get a cluster ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the subcluster to update.
	//
	// To get a subcluster ID, make a [SubclusterService.List] request.
	SubclusterId string `protobuf:"bytes,2,opt,name=subcluster_id,json=subclusterId,proto3" json:"subcluster_id,omitempty"`
	// Field mask that specifies which attributes of the subcluster should be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// New configuration of resources that should be allocated for each host in the subcluster.
	Resources *Resources `protobuf:"bytes,4,opt,name=resources,proto3" json:"resources,omitempty"`
	// New name for the subcluster. The name must be unique within the cluster.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// New number of hosts in the subcluster.
	HostsCount int64 `protobuf:"varint,6,opt,name=hosts_count,json=hostsCount,proto3" json:"hosts_count,omitempty"`
	// Timeout to gracefully decommission nodes. In seconds. Default value: 0
	DecommissionTimeout int64 `protobuf:"varint,7,opt,name=decommission_timeout,json=decommissionTimeout,proto3" json:"decommission_timeout,omitempty"`
	// Configuration for instance group based subclusters
	AutoscalingConfig *AutoscalingConfig `protobuf:"bytes,8,opt,name=autoscaling_config,json=autoscalingConfig,proto3" json:"autoscaling_config,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *UpdateSubclusterRequest) Reset() {
	*x = UpdateSubclusterRequest{}
	mi := &file_yandex_cloud_dataproc_v1_subcluster_service_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*UpdateSubclusterRequest) ProtoMessage() {}

func (x *UpdateSubclusterRequest) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_dataproc_v1_subcluster_service_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 UpdateSubclusterRequest.ProtoReflect.Descriptor instead.
func (*UpdateSubclusterRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDescGZIP(), []int{5}
}

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

func (x *UpdateSubclusterRequest) GetSubclusterId() string {
	if x != nil {
		return x.SubclusterId
	}
	return ""
}

func (x *UpdateSubclusterRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

func (x *UpdateSubclusterRequest) GetResources() *Resources {
	if x != nil {
		return x.Resources
	}
	return nil
}

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

func (x *UpdateSubclusterRequest) GetHostsCount() int64 {
	if x != nil {
		return x.HostsCount
	}
	return 0
}

func (x *UpdateSubclusterRequest) GetDecommissionTimeout() int64 {
	if x != nil {
		return x.DecommissionTimeout
	}
	return 0
}

func (x *UpdateSubclusterRequest) GetAutoscalingConfig() *AutoscalingConfig {
	if x != nil {
		return x.AutoscalingConfig
	}
	return nil
}

type UpdateSubclusterMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the cluster whose subcluster is being updated.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the subcluster that is being updated.
	SubclusterId  string `protobuf:"bytes,2,opt,name=subcluster_id,json=subclusterId,proto3" json:"subcluster_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateSubclusterMetadata) Reset() {
	*x = UpdateSubclusterMetadata{}
	mi := &file_yandex_cloud_dataproc_v1_subcluster_service_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*UpdateSubclusterMetadata) ProtoMessage() {}

func (x *UpdateSubclusterMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_dataproc_v1_subcluster_service_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 UpdateSubclusterMetadata.ProtoReflect.Descriptor instead.
func (*UpdateSubclusterMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDescGZIP(), []int{6}
}

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

func (x *UpdateSubclusterMetadata) GetSubclusterId() string {
	if x != nil {
		return x.SubclusterId
	}
	return ""
}

type DeleteSubclusterRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the cluster to remove a subcluster from.
	//
	// To get a cluster ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the subcluster to delete.
	SubclusterId string `protobuf:"bytes,2,opt,name=subcluster_id,json=subclusterId,proto3" json:"subcluster_id,omitempty"`
	// Timeout to gracefully decommission nodes. In seconds. Default value: 0
	DecommissionTimeout int64 `protobuf:"varint,3,opt,name=decommission_timeout,json=decommissionTimeout,proto3" json:"decommission_timeout,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

func (x *DeleteSubclusterRequest) Reset() {
	*x = DeleteSubclusterRequest{}
	mi := &file_yandex_cloud_dataproc_v1_subcluster_service_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DeleteSubclusterRequest) ProtoMessage() {}

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

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

func (x *DeleteSubclusterRequest) GetSubclusterId() string {
	if x != nil {
		return x.SubclusterId
	}
	return ""
}

func (x *DeleteSubclusterRequest) GetDecommissionTimeout() int64 {
	if x != nil {
		return x.DecommissionTimeout
	}
	return 0
}

type DeleteSubclusterMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the cluster whose subcluster is being deleted.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the subcluster that is being deleted.
	SubclusterId  string `protobuf:"bytes,2,opt,name=subcluster_id,json=subclusterId,proto3" json:"subcluster_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteSubclusterMetadata) Reset() {
	*x = DeleteSubclusterMetadata{}
	mi := &file_yandex_cloud_dataproc_v1_subcluster_service_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DeleteSubclusterMetadata) ProtoMessage() {}

func (x *DeleteSubclusterMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_dataproc_v1_subcluster_service_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 DeleteSubclusterMetadata.ProtoReflect.Descriptor instead.
func (*DeleteSubclusterMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDescGZIP(), []int{8}
}

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

func (x *DeleteSubclusterMetadata) GetSubclusterId() string {
	if x != nil {
		return x.SubclusterId
	}
	return ""
}

var File_yandex_cloud_dataproc_v1_subcluster_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDesc = "" +
	"\n" +
	"1yandex/cloud/dataproc/v1/subcluster_service.proto\x12\x18yandex.cloud.dataproc.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a&yandex/cloud/operation/operation.proto\x1a%yandex/cloud/dataproc/v1/common.proto\x1a)yandex/cloud/dataproc/v1/subcluster.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\"v\n" +
	"\x14GetSubclusterRequest\x12+\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\tclusterId\x121\n" +
	"\rsubcluster_id\x18\x02 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\fsubclusterId\"\xbc\x01\n" +
	"\x16ListSubclustersRequest\x12+\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\tclusterId\x12'\n" +
	"\tpage_size\x18\x02 \x01(\x03B\n" +
	"\xfa\xc71\x06<=1000R\bpageSize\x12(\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tB\t\x8a\xc81\x05<=100R\tpageToken\x12\"\n" +
	"\x06filter\x18\x04 \x01(\tB\n" +
	"\x8a\xc81\x06<=1000R\x06filter\"\x89\x01\n" +
	"\x17ListSubclustersResponse\x12F\n" +
	"\vsubclusters\x18\x01 \x03(\v2$.yandex.cloud.dataproc.v1.SubclusterR\vsubclusters\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\xb5\x03\n" +
	"\x17CreateSubclusterRequest\x12+\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\tclusterId\x125\n" +
	"\x04name\x18\x02 \x01(\tB!\xf2\xc71\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]R\x04name\x128\n" +
	"\x04role\x18\x03 \x01(\x0e2\x1e.yandex.cloud.dataproc.v1.RoleB\x04\xe8\xc71\x01R\x04role\x12G\n" +
	"\tresources\x18\x04 \x01(\v2#.yandex.cloud.dataproc.v1.ResourcesB\x04\xe8\xc71\x01R\tresources\x12)\n" +
	"\tsubnet_id\x18\x05 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bsubnetId\x12,\n" +
	"\vhosts_count\x18\x06 \x01(\x03B\v\xe8\xc71\x01\xfa\xc71\x03>=1R\n" +
	"hostsCount\x12Z\n" +
	"\x12autoscaling_config\x18\a \x01(\v2+.yandex.cloud.dataproc.v1.AutoscalingConfigR\x11autoscalingConfig\"r\n" +
	"\x18CreateSubclusterMetadata\x12'\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tB\b\x8a\xc81\x04<=50R\tclusterId\x12-\n" +
	"\rsubcluster_id\x18\x02 \x01(\tB\b\x8a\xc81\x04<=50R\fsubclusterId\"\xfa\x03\n" +
	"\x17UpdateSubclusterRequest\x12+\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\tclusterId\x121\n" +
	"\rsubcluster_id\x18\x02 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\fsubclusterId\x12;\n" +
	"\vupdate_mask\x18\x03 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" +
	"updateMask\x12A\n" +
	"\tresources\x18\x04 \x01(\v2#.yandex.cloud.dataproc.v1.ResourcesR\tresources\x125\n" +
	"\x04name\x18\x05 \x01(\tB!\xf2\xc71\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]R\x04name\x12,\n" +
	"\vhosts_count\x18\x06 \x01(\x03B\v\xe8\xc71\x01\xfa\xc71\x03>=1R\n" +
	"hostsCount\x12>\n" +
	"\x14decommission_timeout\x18\a \x01(\x03B\v\xfa\xc71\a0-86400R\x13decommissionTimeout\x12Z\n" +
	"\x12autoscaling_config\x18\b \x01(\v2+.yandex.cloud.dataproc.v1.AutoscalingConfigR\x11autoscalingConfig\"r\n" +
	"\x18UpdateSubclusterMetadata\x12'\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tB\b\x8a\xc81\x04<=50R\tclusterId\x12-\n" +
	"\rsubcluster_id\x18\x02 \x01(\tB\b\x8a\xc81\x04<=50R\fsubclusterId\"\xb9\x01\n" +
	"\x17DeleteSubclusterRequest\x12+\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\tclusterId\x121\n" +
	"\rsubcluster_id\x18\x02 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\fsubclusterId\x12>\n" +
	"\x14decommission_timeout\x18\x03 \x01(\x03B\v\xfa\xc71\a0-86400R\x13decommissionTimeout\"r\n" +
	"\x18DeleteSubclusterMetadata\x12'\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tB\b\x8a\xc81\x04<=50R\tclusterId\x12-\n" +
	"\rsubcluster_id\x18\x02 \x01(\tB\b\x8a\xc81\x04<=50R\fsubclusterId2\xd9\a\n" +
	"\x11SubclusterService\x12\xa3\x01\n" +
	"\x03Get\x12..yandex.cloud.dataproc.v1.GetSubclusterRequest\x1a$.yandex.cloud.dataproc.v1.Subcluster\"F\x82\xd3\xe4\x93\x02@\x12>/dataproc/v1/clusters/{cluster_id}/subclusters/{subcluster_id}\x12\xa3\x01\n" +
	"\x04List\x120.yandex.cloud.dataproc.v1.ListSubclustersRequest\x1a1.yandex.cloud.dataproc.v1.ListSubclustersResponse\"6\x82\xd3\xe4\x93\x020\x12./dataproc/v1/clusters/{cluster_id}/subclusters\x12\xc3\x01\n" +
	"\x06Create\x121.yandex.cloud.dataproc.v1.CreateSubclusterRequest\x1a!.yandex.cloud.operation.Operation\"c\xb2\xd2*&\n" +
	"\x18CreateSubclusterMetadata\x12\n" +
	"Subcluster\x82\xd3\xe4\x93\x023:\x01*\"./dataproc/v1/clusters/{cluster_id}/subclusters\x12\xd3\x01\n" +
	"\x06Update\x121.yandex.cloud.dataproc.v1.UpdateSubclusterRequest\x1a!.yandex.cloud.operation.Operation\"s\xb2\xd2*&\n" +
	"\x18UpdateSubclusterMetadata\x12\n" +
	"Subcluster\x82\xd3\xe4\x93\x02C:\x01*2>/dataproc/v1/clusters/{cluster_id}/subclusters/{subcluster_id}\x12\xdb\x01\n" +
	"\x06Delete\x121.yandex.cloud.dataproc.v1.DeleteSubclusterRequest\x1a!.yandex.cloud.operation.Operation\"{\xb2\xd2*1\n" +
	"\x18DeleteSubclusterMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02@*>/dataproc/v1/clusters/{cluster_id}/subclusters/{subcluster_id}Be\n" +
	"\x1cyandex.cloud.api.dataproc.v1ZEgithub.com/yandex-cloud/go-genproto/yandex/cloud/dataproc/v1;dataprocb\x06proto3"

var (
	file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDescData []byte
)

func file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDesc), len(file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDesc)))
	})
	return file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDescData
}

var file_yandex_cloud_dataproc_v1_subcluster_service_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_yandex_cloud_dataproc_v1_subcluster_service_proto_goTypes = []any{
	(*GetSubclusterRequest)(nil),     // 0: yandex.cloud.dataproc.v1.GetSubclusterRequest
	(*ListSubclustersRequest)(nil),   // 1: yandex.cloud.dataproc.v1.ListSubclustersRequest
	(*ListSubclustersResponse)(nil),  // 2: yandex.cloud.dataproc.v1.ListSubclustersResponse
	(*CreateSubclusterRequest)(nil),  // 3: yandex.cloud.dataproc.v1.CreateSubclusterRequest
	(*CreateSubclusterMetadata)(nil), // 4: yandex.cloud.dataproc.v1.CreateSubclusterMetadata
	(*UpdateSubclusterRequest)(nil),  // 5: yandex.cloud.dataproc.v1.UpdateSubclusterRequest
	(*UpdateSubclusterMetadata)(nil), // 6: yandex.cloud.dataproc.v1.UpdateSubclusterMetadata
	(*DeleteSubclusterRequest)(nil),  // 7: yandex.cloud.dataproc.v1.DeleteSubclusterRequest
	(*DeleteSubclusterMetadata)(nil), // 8: yandex.cloud.dataproc.v1.DeleteSubclusterMetadata
	(*Subcluster)(nil),               // 9: yandex.cloud.dataproc.v1.Subcluster
	(Role)(0),                        // 10: yandex.cloud.dataproc.v1.Role
	(*Resources)(nil),                // 11: yandex.cloud.dataproc.v1.Resources
	(*AutoscalingConfig)(nil),        // 12: yandex.cloud.dataproc.v1.AutoscalingConfig
	(*fieldmaskpb.FieldMask)(nil),    // 13: google.protobuf.FieldMask
	(*operation.Operation)(nil),      // 14: yandex.cloud.operation.Operation
}
var file_yandex_cloud_dataproc_v1_subcluster_service_proto_depIdxs = []int32{
	9,  // 0: yandex.cloud.dataproc.v1.ListSubclustersResponse.subclusters:type_name -> yandex.cloud.dataproc.v1.Subcluster
	10, // 1: yandex.cloud.dataproc.v1.CreateSubclusterRequest.role:type_name -> yandex.cloud.dataproc.v1.Role
	11, // 2: yandex.cloud.dataproc.v1.CreateSubclusterRequest.resources:type_name -> yandex.cloud.dataproc.v1.Resources
	12, // 3: yandex.cloud.dataproc.v1.CreateSubclusterRequest.autoscaling_config:type_name -> yandex.cloud.dataproc.v1.AutoscalingConfig
	13, // 4: yandex.cloud.dataproc.v1.UpdateSubclusterRequest.update_mask:type_name -> google.protobuf.FieldMask
	11, // 5: yandex.cloud.dataproc.v1.UpdateSubclusterRequest.resources:type_name -> yandex.cloud.dataproc.v1.Resources
	12, // 6: yandex.cloud.dataproc.v1.UpdateSubclusterRequest.autoscaling_config:type_name -> yandex.cloud.dataproc.v1.AutoscalingConfig
	0,  // 7: yandex.cloud.dataproc.v1.SubclusterService.Get:input_type -> yandex.cloud.dataproc.v1.GetSubclusterRequest
	1,  // 8: yandex.cloud.dataproc.v1.SubclusterService.List:input_type -> yandex.cloud.dataproc.v1.ListSubclustersRequest
	3,  // 9: yandex.cloud.dataproc.v1.SubclusterService.Create:input_type -> yandex.cloud.dataproc.v1.CreateSubclusterRequest
	5,  // 10: yandex.cloud.dataproc.v1.SubclusterService.Update:input_type -> yandex.cloud.dataproc.v1.UpdateSubclusterRequest
	7,  // 11: yandex.cloud.dataproc.v1.SubclusterService.Delete:input_type -> yandex.cloud.dataproc.v1.DeleteSubclusterRequest
	9,  // 12: yandex.cloud.dataproc.v1.SubclusterService.Get:output_type -> yandex.cloud.dataproc.v1.Subcluster
	2,  // 13: yandex.cloud.dataproc.v1.SubclusterService.List:output_type -> yandex.cloud.dataproc.v1.ListSubclustersResponse
	14, // 14: yandex.cloud.dataproc.v1.SubclusterService.Create:output_type -> yandex.cloud.operation.Operation
	14, // 15: yandex.cloud.dataproc.v1.SubclusterService.Update:output_type -> yandex.cloud.operation.Operation
	14, // 16: yandex.cloud.dataproc.v1.SubclusterService.Delete:output_type -> yandex.cloud.operation.Operation
	12, // [12:17] is the sub-list for method output_type
	7,  // [7:12] is the sub-list for method input_type
	7,  // [7:7] is the sub-list for extension type_name
	7,  // [7:7] is the sub-list for extension extendee
	0,  // [0:7] is the sub-list for field type_name
}

func init() { file_yandex_cloud_dataproc_v1_subcluster_service_proto_init() }
func file_yandex_cloud_dataproc_v1_subcluster_service_proto_init() {
	if File_yandex_cloud_dataproc_v1_subcluster_service_proto != nil {
		return
	}
	file_yandex_cloud_dataproc_v1_common_proto_init()
	file_yandex_cloud_dataproc_v1_subcluster_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDesc), len(file_yandex_cloud_dataproc_v1_subcluster_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   9,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_dataproc_v1_subcluster_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_dataproc_v1_subcluster_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_dataproc_v1_subcluster_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_dataproc_v1_subcluster_service_proto = out.File
	file_yandex_cloud_dataproc_v1_subcluster_service_proto_goTypes = nil
	file_yandex_cloud_dataproc_v1_subcluster_service_proto_depIdxs = nil
}
