// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v3.21.12
// source: yandex/cloud/mdb/mongodb/v1/maintenance_service.proto

package mongodb

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud/api"
	v2 "github.com/yandex-cloud/go-genproto/yandex/cloud/maintenance/v2"
	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"
	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 RescheduleMaintenanceV2Metadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// One of the values: "IMMEDIATE", "NEXT_AVAILABLE_WINDOW", "SPECIFIC_TIME"
	RescheduleType v2.RescheduleMaintenanceRequest_Type `protobuf:"varint,1,opt,name=reschedule_type,json=rescheduleType,proto3,enum=yandex.cloud.maintenance.v2.RescheduleMaintenanceRequest_Type" json:"reschedule_type,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*RescheduleMaintenanceV2Metadata) ProtoMessage() {}

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

func (x *RescheduleMaintenanceV2Metadata) GetRescheduleType() v2.RescheduleMaintenanceRequest_Type {
	if x != nil {
		return x.RescheduleType
	}
	return v2.RescheduleMaintenanceRequest_Type(0)
}

var File_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_rawDesc = "" +
	"\n" +
	"5yandex/cloud/mdb/mongodb/v1/maintenance_service.proto\x12\x1byandex.cloud.mdb.mongodb.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a(yandex/cloud/maintenance/v2/common.proto\x1a&yandex/cloud/operation/operation.proto\"\x8a\x01\n" +
	"\x1fRescheduleMaintenanceV2Metadata\x12g\n" +
	"\x0freschedule_type\x18\x01 \x01(\x0e2>.yandex.cloud.maintenance.v2.RescheduleMaintenanceRequest.TypeR\x0erescheduleType2\xda\x04\n" +
	"\x12MaintenanceService\x12\x9d\x01\n" +
	"\x04List\x124.yandex.cloud.maintenance.v2.ListMaintenancesRequest\x1a5.yandex.cloud.maintenance.v2.ListMaintenancesResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /managed-mongodb/v1/maintenances\x12\x9e\x01\n" +
	"\x03Get\x122.yandex.cloud.maintenance.v2.GetMaintenanceRequest\x1a(.yandex.cloud.maintenance.v2.Maintenance\"9\x82\xd3\xe4\x93\x023\x121/managed-mongodb/v1/maintenances/{maintenance_id}\x12\x82\x02\n" +
	"\n" +
	"Reschedule\x129.yandex.cloud.maintenance.v2.RescheduleMaintenanceRequest\x1a!.yandex.cloud.operation.Operation\"\x95\x01\xb2\xd2*J\n" +
	"\x1fRescheduleMaintenanceV2Metadata\x12'yandex.cloud.maintenance.v2.Maintenance\x82\xd3\xe4\x93\x02A:\x01*\"</managed-mongodb/v1/maintenances/{maintenance_id}:rescheduleBj\n" +
	"\x1fyandex.cloud.api.mdb.mongodb.v1ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1;mongodbb\x06proto3"

var (
	file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_rawDescData []byte
)

func file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_rawDesc), len(file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_rawDesc)))
	})
	return file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_rawDescData
}

var file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_goTypes = []any{
	(*RescheduleMaintenanceV2Metadata)(nil),   // 0: yandex.cloud.mdb.mongodb.v1.RescheduleMaintenanceV2Metadata
	(v2.RescheduleMaintenanceRequest_Type)(0), // 1: yandex.cloud.maintenance.v2.RescheduleMaintenanceRequest.Type
	(*v2.ListMaintenancesRequest)(nil),        // 2: yandex.cloud.maintenance.v2.ListMaintenancesRequest
	(*v2.GetMaintenanceRequest)(nil),          // 3: yandex.cloud.maintenance.v2.GetMaintenanceRequest
	(*v2.RescheduleMaintenanceRequest)(nil),   // 4: yandex.cloud.maintenance.v2.RescheduleMaintenanceRequest
	(*v2.ListMaintenancesResponse)(nil),       // 5: yandex.cloud.maintenance.v2.ListMaintenancesResponse
	(*v2.Maintenance)(nil),                    // 6: yandex.cloud.maintenance.v2.Maintenance
	(*operation.Operation)(nil),               // 7: yandex.cloud.operation.Operation
}
var file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_depIdxs = []int32{
	1, // 0: yandex.cloud.mdb.mongodb.v1.RescheduleMaintenanceV2Metadata.reschedule_type:type_name -> yandex.cloud.maintenance.v2.RescheduleMaintenanceRequest.Type
	2, // 1: yandex.cloud.mdb.mongodb.v1.MaintenanceService.List:input_type -> yandex.cloud.maintenance.v2.ListMaintenancesRequest
	3, // 2: yandex.cloud.mdb.mongodb.v1.MaintenanceService.Get:input_type -> yandex.cloud.maintenance.v2.GetMaintenanceRequest
	4, // 3: yandex.cloud.mdb.mongodb.v1.MaintenanceService.Reschedule:input_type -> yandex.cloud.maintenance.v2.RescheduleMaintenanceRequest
	5, // 4: yandex.cloud.mdb.mongodb.v1.MaintenanceService.List:output_type -> yandex.cloud.maintenance.v2.ListMaintenancesResponse
	6, // 5: yandex.cloud.mdb.mongodb.v1.MaintenanceService.Get:output_type -> yandex.cloud.maintenance.v2.Maintenance
	7, // 6: yandex.cloud.mdb.mongodb.v1.MaintenanceService.Reschedule:output_type -> yandex.cloud.operation.Operation
	4, // [4:7] is the sub-list for method output_type
	1, // [1:4] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_init() }
func file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_init() {
	if File_yandex_cloud_mdb_mongodb_v1_maintenance_service_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_mdb_mongodb_v1_maintenance_service_proto_rawDesc), len(file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto = out.File
	file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_goTypes = nil
	file_yandex_cloud_mdb_mongodb_v1_maintenance_service_proto_depIdxs = nil
}
