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

package monitoring

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

// Dashboard resource.
type Dashboard struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Dashboard ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Container id
	//
	// Types that are valid to be assigned to Container:
	//
	//	*Dashboard_FolderId
	Container isDashboard_Container `protobuf_oneof:"container"`
	// Creation timestamp.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Modification timestamp.
	ModifiedAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"`
	// ID of the user who created the dashboard.
	CreatedBy string `protobuf:"bytes,22,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// ID of the user who modified the dashboard.
	ModifiedBy string `protobuf:"bytes,23,opt,name=modified_by,json=modifiedBy,proto3" json:"modified_by,omitempty"`
	// Dashboard name.
	Name string `protobuf:"bytes,24,opt,name=name,proto3" json:"name,omitempty"`
	// Dashboard description.
	Description string `protobuf:"bytes,25,opt,name=description,proto3" json:"description,omitempty"`
	// Resource labels as `key:value` pairs.
	Labels map[string]string `protobuf:"bytes,26,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Dashboard title.
	Title string `protobuf:"bytes,27,opt,name=title,proto3" json:"title,omitempty"`
	// List of dashboard widgets.
	Widgets []*Widget `protobuf:"bytes,28,rep,name=widgets,proto3" json:"widgets,omitempty"`
	// Dashboard parametrization.
	Parametrization *Parametrization `protobuf:"bytes,29,opt,name=parametrization,proto3" json:"parametrization,omitempty"`
	// Dashboard etag.
	Etag string `protobuf:"bytes,30,opt,name=etag,proto3" json:"etag,omitempty"`
	// Entity that controls dashboard
	// Must match the regular expression "[\w \-]{1,100}"
	ManagedBy string `protobuf:"bytes,32,opt,name=managed_by,json=managedBy,proto3" json:"managed_by,omitempty"`
	// Information about entity that controls dashboard
	// Must be valid URI
	ManagedLink string `protobuf:"bytes,33,opt,name=managed_link,json=managedLink,proto3" json:"managed_link,omitempty"`
	// Refresh and time window settings
	Timeline *Timeline `protobuf:"bytes,34,opt,name=timeline,proto3" json:"timeline,omitempty"`
	// Dashboard links
	Links         []*LinkItem `protobuf:"bytes,35,rep,name=links,proto3" json:"links,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Dashboard) ProtoMessage() {}

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

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

func (x *Dashboard) GetContainer() isDashboard_Container {
	if x != nil {
		return x.Container
	}
	return nil
}

func (x *Dashboard) GetFolderId() string {
	if x != nil {
		if x, ok := x.Container.(*Dashboard_FolderId); ok {
			return x.FolderId
		}
	}
	return ""
}

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

func (x *Dashboard) GetModifiedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.ModifiedAt
	}
	return nil
}

func (x *Dashboard) GetCreatedBy() string {
	if x != nil {
		return x.CreatedBy
	}
	return ""
}

func (x *Dashboard) GetModifiedBy() string {
	if x != nil {
		return x.ModifiedBy
	}
	return ""
}

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

func (x *Dashboard) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *Dashboard) GetLabels() map[string]string {
	if x != nil {
		return x.Labels
	}
	return nil
}

func (x *Dashboard) GetTitle() string {
	if x != nil {
		return x.Title
	}
	return ""
}

func (x *Dashboard) GetWidgets() []*Widget {
	if x != nil {
		return x.Widgets
	}
	return nil
}

func (x *Dashboard) GetParametrization() *Parametrization {
	if x != nil {
		return x.Parametrization
	}
	return nil
}

func (x *Dashboard) GetEtag() string {
	if x != nil {
		return x.Etag
	}
	return ""
}

func (x *Dashboard) GetManagedBy() string {
	if x != nil {
		return x.ManagedBy
	}
	return ""
}

func (x *Dashboard) GetManagedLink() string {
	if x != nil {
		return x.ManagedLink
	}
	return ""
}

func (x *Dashboard) GetTimeline() *Timeline {
	if x != nil {
		return x.Timeline
	}
	return nil
}

func (x *Dashboard) GetLinks() []*LinkItem {
	if x != nil {
		return x.Links
	}
	return nil
}

type isDashboard_Container interface {
	isDashboard_Container()
}

type Dashboard_FolderId struct {
	// Folder ID.
	FolderId string `protobuf:"bytes,3,opt,name=folder_id,json=folderId,proto3,oneof"`
}

func (*Dashboard_FolderId) isDashboard_Container() {}

var File_yandex_cloud_monitoring_v3_dashboard_proto protoreflect.FileDescriptor

const file_yandex_cloud_monitoring_v3_dashboard_proto_rawDesc = "" +
	"\n" +
	"*yandex/cloud/monitoring/v3/dashboard.proto\x12\x1ayandex.cloud.monitoring.v3\x1a\x1fgoogle/protobuf/timestamp.proto\x1a0yandex/cloud/monitoring/v3/parametrization.proto\x1a'yandex/cloud/monitoring/v3/widget.proto\x1a)yandex/cloud/monitoring/v3/timeline.proto\x1a*yandex/cloud/monitoring/v3/link_item.proto\"\xcc\x06\n" +
	"\tDashboard\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
	"\tfolder_id\x18\x03 \x01(\tH\x00R\bfolderId\x129\n" +
	"\n" +
	"created_at\x18\x14 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12;\n" +
	"\vmodified_at\x18\x15 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
	"modifiedAt\x12\x1d\n" +
	"\n" +
	"created_by\x18\x16 \x01(\tR\tcreatedBy\x12\x1f\n" +
	"\vmodified_by\x18\x17 \x01(\tR\n" +
	"modifiedBy\x12\x12\n" +
	"\x04name\x18\x18 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x19 \x01(\tR\vdescription\x12I\n" +
	"\x06labels\x18\x1a \x03(\v21.yandex.cloud.monitoring.v3.Dashboard.LabelsEntryR\x06labels\x12\x14\n" +
	"\x05title\x18\x1b \x01(\tR\x05title\x12<\n" +
	"\awidgets\x18\x1c \x03(\v2\".yandex.cloud.monitoring.v3.WidgetR\awidgets\x12U\n" +
	"\x0fparametrization\x18\x1d \x01(\v2+.yandex.cloud.monitoring.v3.ParametrizationR\x0fparametrization\x12\x12\n" +
	"\x04etag\x18\x1e \x01(\tR\x04etag\x12\x1d\n" +
	"\n" +
	"managed_by\x18  \x01(\tR\tmanagedBy\x12!\n" +
	"\fmanaged_link\x18! \x01(\tR\vmanagedLink\x12@\n" +
	"\btimeline\x18\" \x01(\v2$.yandex.cloud.monitoring.v3.TimelineR\btimeline\x12:\n" +
	"\x05links\x18# \x03(\v2$.yandex.cloud.monitoring.v3.LinkItemR\x05links\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\v\n" +
	"\tcontainerJ\x04\b\x04\x10\x14J\x04\b\x02\x10\x03J\x04\b\x1f\x10 Bk\n" +
	"\x1eyandex.cloud.api.monitoring.v3ZIgithub.com/yandex-cloud/go-genproto/yandex/cloud/monitoring/v3;monitoringb\x06proto3"

var (
	file_yandex_cloud_monitoring_v3_dashboard_proto_rawDescOnce sync.Once
	file_yandex_cloud_monitoring_v3_dashboard_proto_rawDescData []byte
)

func file_yandex_cloud_monitoring_v3_dashboard_proto_rawDescGZIP() []byte {
	file_yandex_cloud_monitoring_v3_dashboard_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_monitoring_v3_dashboard_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_monitoring_v3_dashboard_proto_rawDesc), len(file_yandex_cloud_monitoring_v3_dashboard_proto_rawDesc)))
	})
	return file_yandex_cloud_monitoring_v3_dashboard_proto_rawDescData
}

var file_yandex_cloud_monitoring_v3_dashboard_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_yandex_cloud_monitoring_v3_dashboard_proto_goTypes = []any{
	(*Dashboard)(nil),             // 0: yandex.cloud.monitoring.v3.Dashboard
	nil,                           // 1: yandex.cloud.monitoring.v3.Dashboard.LabelsEntry
	(*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp
	(*Widget)(nil),                // 3: yandex.cloud.monitoring.v3.Widget
	(*Parametrization)(nil),       // 4: yandex.cloud.monitoring.v3.Parametrization
	(*Timeline)(nil),              // 5: yandex.cloud.monitoring.v3.Timeline
	(*LinkItem)(nil),              // 6: yandex.cloud.monitoring.v3.LinkItem
}
var file_yandex_cloud_monitoring_v3_dashboard_proto_depIdxs = []int32{
	2, // 0: yandex.cloud.monitoring.v3.Dashboard.created_at:type_name -> google.protobuf.Timestamp
	2, // 1: yandex.cloud.monitoring.v3.Dashboard.modified_at:type_name -> google.protobuf.Timestamp
	1, // 2: yandex.cloud.monitoring.v3.Dashboard.labels:type_name -> yandex.cloud.monitoring.v3.Dashboard.LabelsEntry
	3, // 3: yandex.cloud.monitoring.v3.Dashboard.widgets:type_name -> yandex.cloud.monitoring.v3.Widget
	4, // 4: yandex.cloud.monitoring.v3.Dashboard.parametrization:type_name -> yandex.cloud.monitoring.v3.Parametrization
	5, // 5: yandex.cloud.monitoring.v3.Dashboard.timeline:type_name -> yandex.cloud.monitoring.v3.Timeline
	6, // 6: yandex.cloud.monitoring.v3.Dashboard.links:type_name -> yandex.cloud.monitoring.v3.LinkItem
	7, // [7:7] is the sub-list for method output_type
	7, // [7:7] 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_monitoring_v3_dashboard_proto_init() }
func file_yandex_cloud_monitoring_v3_dashboard_proto_init() {
	if File_yandex_cloud_monitoring_v3_dashboard_proto != nil {
		return
	}
	file_yandex_cloud_monitoring_v3_parametrization_proto_init()
	file_yandex_cloud_monitoring_v3_widget_proto_init()
	file_yandex_cloud_monitoring_v3_timeline_proto_init()
	file_yandex_cloud_monitoring_v3_link_item_proto_init()
	file_yandex_cloud_monitoring_v3_dashboard_proto_msgTypes[0].OneofWrappers = []any{
		(*Dashboard_FolderId)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_monitoring_v3_dashboard_proto_rawDesc), len(file_yandex_cloud_monitoring_v3_dashboard_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_monitoring_v3_dashboard_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_monitoring_v3_dashboard_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_monitoring_v3_dashboard_proto_msgTypes,
	}.Build()
	File_yandex_cloud_monitoring_v3_dashboard_proto = out.File
	file_yandex_cloud_monitoring_v3_dashboard_proto_goTypes = nil
	file_yandex_cloud_monitoring_v3_dashboard_proto_depIdxs = nil
}
