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

package monitoring

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

// Title size.
type TitleWidget_TitleSize int32

const (
	TitleWidget_TITLE_SIZE_UNSPECIFIED TitleWidget_TitleSize = 0
	// Extra small size.
	TitleWidget_TITLE_SIZE_XS TitleWidget_TitleSize = 1
	// Small size.
	TitleWidget_TITLE_SIZE_S TitleWidget_TitleSize = 2
	// Middle size.
	TitleWidget_TITLE_SIZE_M TitleWidget_TitleSize = 3
	// Large size.
	TitleWidget_TITLE_SIZE_L TitleWidget_TitleSize = 4
)

// Enum value maps for TitleWidget_TitleSize.
var (
	TitleWidget_TitleSize_name = map[int32]string{
		0: "TITLE_SIZE_UNSPECIFIED",
		1: "TITLE_SIZE_XS",
		2: "TITLE_SIZE_S",
		3: "TITLE_SIZE_M",
		4: "TITLE_SIZE_L",
	}
	TitleWidget_TitleSize_value = map[string]int32{
		"TITLE_SIZE_UNSPECIFIED": 0,
		"TITLE_SIZE_XS":          1,
		"TITLE_SIZE_S":           2,
		"TITLE_SIZE_M":           3,
		"TITLE_SIZE_L":           4,
	}
)

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

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

func (TitleWidget_TitleSize) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_monitoring_v3_title_widget_proto_enumTypes[0].Descriptor()
}

func (TitleWidget_TitleSize) Type() protoreflect.EnumType {
	return &file_yandex_cloud_monitoring_v3_title_widget_proto_enumTypes[0]
}

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

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

// Title widget.
type TitleWidget struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Title text.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// Title size.
	Size          TitleWidget_TitleSize `protobuf:"varint,2,opt,name=size,proto3,enum=yandex.cloud.monitoring.v3.TitleWidget_TitleSize" json:"size,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*TitleWidget) ProtoMessage() {}

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

func (x *TitleWidget) GetText() string {
	if x != nil {
		return x.Text
	}
	return ""
}

func (x *TitleWidget) GetSize() TitleWidget_TitleSize {
	if x != nil {
		return x.Size
	}
	return TitleWidget_TITLE_SIZE_UNSPECIFIED
}

var File_yandex_cloud_monitoring_v3_title_widget_proto protoreflect.FileDescriptor

const file_yandex_cloud_monitoring_v3_title_widget_proto_rawDesc = "" +
	"\n" +
	"-yandex/cloud/monitoring/v3/title_widget.proto\x12\x1ayandex.cloud.monitoring.v3\"\xda\x01\n" +
	"\vTitleWidget\x12\x12\n" +
	"\x04text\x18\x01 \x01(\tR\x04text\x12E\n" +
	"\x04size\x18\x02 \x01(\x0e21.yandex.cloud.monitoring.v3.TitleWidget.TitleSizeR\x04size\"p\n" +
	"\tTitleSize\x12\x1a\n" +
	"\x16TITLE_SIZE_UNSPECIFIED\x10\x00\x12\x11\n" +
	"\rTITLE_SIZE_XS\x10\x01\x12\x10\n" +
	"\fTITLE_SIZE_S\x10\x02\x12\x10\n" +
	"\fTITLE_SIZE_M\x10\x03\x12\x10\n" +
	"\fTITLE_SIZE_L\x10\x04Bk\n" +
	"\x1eyandex.cloud.api.monitoring.v3ZIgithub.com/yandex-cloud/go-genproto/yandex/cloud/monitoring/v3;monitoringb\x06proto3"

var (
	file_yandex_cloud_monitoring_v3_title_widget_proto_rawDescOnce sync.Once
	file_yandex_cloud_monitoring_v3_title_widget_proto_rawDescData []byte
)

func file_yandex_cloud_monitoring_v3_title_widget_proto_rawDescGZIP() []byte {
	file_yandex_cloud_monitoring_v3_title_widget_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_monitoring_v3_title_widget_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_monitoring_v3_title_widget_proto_rawDesc), len(file_yandex_cloud_monitoring_v3_title_widget_proto_rawDesc)))
	})
	return file_yandex_cloud_monitoring_v3_title_widget_proto_rawDescData
}

var file_yandex_cloud_monitoring_v3_title_widget_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_monitoring_v3_title_widget_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_yandex_cloud_monitoring_v3_title_widget_proto_goTypes = []any{
	(TitleWidget_TitleSize)(0), // 0: yandex.cloud.monitoring.v3.TitleWidget.TitleSize
	(*TitleWidget)(nil),        // 1: yandex.cloud.monitoring.v3.TitleWidget
}
var file_yandex_cloud_monitoring_v3_title_widget_proto_depIdxs = []int32{
	0, // 0: yandex.cloud.monitoring.v3.TitleWidget.size:type_name -> yandex.cloud.monitoring.v3.TitleWidget.TitleSize
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] 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_monitoring_v3_title_widget_proto_init() }
func file_yandex_cloud_monitoring_v3_title_widget_proto_init() {
	if File_yandex_cloud_monitoring_v3_title_widget_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_monitoring_v3_title_widget_proto_rawDesc), len(file_yandex_cloud_monitoring_v3_title_widget_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_monitoring_v3_title_widget_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_monitoring_v3_title_widget_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_monitoring_v3_title_widget_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_monitoring_v3_title_widget_proto_msgTypes,
	}.Build()
	File_yandex_cloud_monitoring_v3_title_widget_proto = out.File
	file_yandex_cloud_monitoring_v3_title_widget_proto_goTypes = nil
	file_yandex_cloud_monitoring_v3_title_widget_proto_depIdxs = nil
}
