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

package operationlog

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 HostEntity struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Fqdn          string                 `protobuf:"bytes,1,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
	Action        string                 `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	StartedAt     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*HostEntity) ProtoMessage() {}

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

func (x *HostEntity) GetFqdn() string {
	if x != nil {
		return x.Fqdn
	}
	return ""
}

func (x *HostEntity) GetAction() string {
	if x != nil {
		return x.Action
	}
	return ""
}

func (x *HostEntity) GetStartedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.StartedAt
	}
	return nil
}

type ClusterEntity struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ClusterId     string                 `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	Action        string                 `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	StartedAt     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	Hosts         []*HostEntity          `protobuf:"bytes,4,rep,name=hosts,proto3" json:"hosts,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ClusterEntity) ProtoMessage() {}

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

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

func (x *ClusterEntity) GetAction() string {
	if x != nil {
		return x.Action
	}
	return ""
}

func (x *ClusterEntity) GetStartedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.StartedAt
	}
	return nil
}

func (x *ClusterEntity) GetHosts() []*HostEntity {
	if x != nil {
		return x.Hosts
	}
	return nil
}

type OperationLog struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Entities      []*ClusterEntity       `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*OperationLog) ProtoMessage() {}

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

func (x *OperationLog) GetEntities() []*ClusterEntity {
	if x != nil {
		return x.Entities
	}
	return nil
}

var File_yandex_cloud_mdb_operationlog_v1_operation_log_proto protoreflect.FileDescriptor

const file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_rawDesc = "" +
	"\n" +
	"4yandex/cloud/mdb/operationlog/v1/operation_log.proto\x12 yandex.cloud.mdb.operationlog.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"s\n" +
	"\n" +
	"HostEntity\x12\x12\n" +
	"\x04fqdn\x18\x01 \x01(\tR\x04fqdn\x12\x16\n" +
	"\x06action\x18\x02 \x01(\tR\x06action\x129\n" +
	"\n" +
	"started_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tstartedAt\"\xc5\x01\n" +
	"\rClusterEntity\x12\x1d\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tR\tclusterId\x12\x16\n" +
	"\x06action\x18\x02 \x01(\tR\x06action\x129\n" +
	"\n" +
	"started_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tstartedAt\x12B\n" +
	"\x05hosts\x18\x04 \x03(\v2,.yandex.cloud.mdb.operationlog.v1.HostEntityR\x05hosts\"[\n" +
	"\fOperationLog\x12K\n" +
	"\bentities\x18\x01 \x03(\v2/.yandex.cloud.mdb.operationlog.v1.ClusterEntityR\bentitiesBy\n" +
	"$yandex.cloud.api.mdb.operationlog.v1ZQgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/operationlog/v1;operationlogb\x06proto3"

var (
	file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_rawDescOnce sync.Once
	file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_rawDescData []byte
)

func file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_rawDescGZIP() []byte {
	file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_rawDesc), len(file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_rawDesc)))
	})
	return file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_rawDescData
}

var file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_goTypes = []any{
	(*HostEntity)(nil),            // 0: yandex.cloud.mdb.operationlog.v1.HostEntity
	(*ClusterEntity)(nil),         // 1: yandex.cloud.mdb.operationlog.v1.ClusterEntity
	(*OperationLog)(nil),          // 2: yandex.cloud.mdb.operationlog.v1.OperationLog
	(*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp
}
var file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_depIdxs = []int32{
	3, // 0: yandex.cloud.mdb.operationlog.v1.HostEntity.started_at:type_name -> google.protobuf.Timestamp
	3, // 1: yandex.cloud.mdb.operationlog.v1.ClusterEntity.started_at:type_name -> google.protobuf.Timestamp
	0, // 2: yandex.cloud.mdb.operationlog.v1.ClusterEntity.hosts:type_name -> yandex.cloud.mdb.operationlog.v1.HostEntity
	1, // 3: yandex.cloud.mdb.operationlog.v1.OperationLog.entities:type_name -> yandex.cloud.mdb.operationlog.v1.ClusterEntity
	4, // [4:4] is the sub-list for method output_type
	4, // [4:4] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] is the sub-list for field type_name
}

func init() { file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_init() }
func file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_init() {
	if File_yandex_cloud_mdb_operationlog_v1_operation_log_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_operationlog_v1_operation_log_proto_rawDesc), len(file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_msgTypes,
	}.Build()
	File_yandex_cloud_mdb_operationlog_v1_operation_log_proto = out.File
	file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_goTypes = nil
	file_yandex_cloud_mdb_operationlog_v1_operation_log_proto_depIdxs = nil
}
