// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/monitoring/dashboard/v1/text.proto

package dashboard

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

// The format type of the text content.
type Text_Format int32

const (
	// Format is unspecified. Defaults to MARKDOWN.
	Text_FORMAT_UNSPECIFIED Text_Format = 0
	// The text contains Markdown formatting.
	Text_MARKDOWN Text_Format = 1
	// The text contains no special formatting.
	Text_RAW Text_Format = 2
)

var Text_Format_name = map[int32]string{
	0: "FORMAT_UNSPECIFIED",
	1: "MARKDOWN",
	2: "RAW",
}

var Text_Format_value = map[string]int32{
	"FORMAT_UNSPECIFIED": 0,
	"MARKDOWN":           1,
	"RAW":                2,
}

func (x Text_Format) String() string {
	return proto.EnumName(Text_Format_name, int32(x))
}

func (Text_Format) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_8da82840ad79b13d, []int{0, 0}
}

// A widget that displays textual content.
type Text struct {
	// The text content to be displayed.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// How the text content is formatted.
	Format               Text_Format `protobuf:"varint,2,opt,name=format,proto3,enum=google.monitoring.dashboard.v1.Text_Format" json:"format,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (m *Text) Reset()         { *m = Text{} }
func (m *Text) String() string { return proto.CompactTextString(m) }
func (*Text) ProtoMessage()    {}
func (*Text) Descriptor() ([]byte, []int) {
	return fileDescriptor_8da82840ad79b13d, []int{0}
}

func (m *Text) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Text.Unmarshal(m, b)
}
func (m *Text) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Text.Marshal(b, m, deterministic)
}
func (m *Text) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Text.Merge(m, src)
}
func (m *Text) XXX_Size() int {
	return xxx_messageInfo_Text.Size(m)
}
func (m *Text) XXX_DiscardUnknown() {
	xxx_messageInfo_Text.DiscardUnknown(m)
}

var xxx_messageInfo_Text proto.InternalMessageInfo

func (m *Text) GetContent() string {
	if m != nil {
		return m.Content
	}
	return ""
}

func (m *Text) GetFormat() Text_Format {
	if m != nil {
		return m.Format
	}
	return Text_FORMAT_UNSPECIFIED
}

func init() {
	proto.RegisterEnum("google.monitoring.dashboard.v1.Text_Format", Text_Format_name, Text_Format_value)
	proto.RegisterType((*Text)(nil), "google.monitoring.dashboard.v1.Text")
}

func init() {
	proto.RegisterFile("google/monitoring/dashboard/v1/text.proto", fileDescriptor_8da82840ad79b13d)
}

var fileDescriptor_8da82840ad79b13d = []byte{
	// 250 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4c, 0xcf, 0xcf, 0x4f,
	0xcf, 0x49, 0xd5, 0xcf, 0xcd, 0xcf, 0xcb, 0x2c, 0xc9, 0x2f, 0xca, 0xcc, 0x4b, 0xd7, 0x4f, 0x49,
	0x2c, 0xce, 0x48, 0xca, 0x4f, 0x2c, 0x4a, 0xd1, 0x2f, 0x33, 0xd4, 0x2f, 0x49, 0xad, 0x28, 0xd1,
	0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x83, 0x28, 0xd5, 0x43, 0x28, 0xd5, 0x83, 0x2b, 0xd5,
	0x2b, 0x33, 0x54, 0x9a, 0xc7, 0xc8, 0xc5, 0x12, 0x92, 0x5a, 0x51, 0x22, 0x24, 0xc1, 0xc5, 0x9e,
	0x9c, 0x9f, 0x57, 0x92, 0x9a, 0x57, 0x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