// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/monitoring/dashboard/v1/dashboard.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

// A Google Stackdriver dashboard. Dashboards define the content and layout
// of pages in the Stackdriver web application.
type Dashboard struct {
	// The resource name of the dashboard.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The mutable, human-readable name.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// `etag` is used for optimistic concurrency control as a way to help
	// prevent simultaneous updates of a policy from overwriting each other.
	// An `etag` is returned in the response to `GetDashboard`, and
	// users are expected to put that etag in the request to `UpdateDashboard` to
	// ensure that their change will be applied to the same version of the
	// Dashboard configuration. The field should not be passed during
	// dashboard creation.
	Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
	// A dashboard's root container element that defines the layout style.
	//
	// Types that are valid to be assigned to Layout:
	//	*Dashboard_GridLayout
	//	*Dashboard_RowLayout
	//	*Dashboard_ColumnLayout
	Layout               isDashboard_Layout `protobuf_oneof:"layout"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

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

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

var xxx_messageInfo_Dashboard proto.InternalMessageInfo

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

func (m *Dashboard) GetDisplayName() string {
	if m != nil {
		return m.DisplayName
	}
	return ""
}

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

type isDashboard_Layout interface {
	isDashboard_Layout()
}

type Dashboard_GridLayout struct {
	GridLayout *GridLayout `protobuf:"bytes,5,opt,name=grid_layout,json=gridLayout,proto3,oneof"`
}

type Dashboard_RowLayout struct {
	RowLayout *RowLayout `protobuf:"bytes,8,opt,name=row_layout,json=rowLayout,proto3,oneof"`
}

type Dashboard_ColumnLayout struct {
	ColumnLayout *ColumnLayout `protobuf:"bytes,9,opt,name=column_layout,json=columnLayout,proto3,oneof"`
}

func (*Dashboard_GridLayout) isDashboard_Layout() {}

func (*Dashboard_RowLayout) isDashboard_Layout() {}

func (*Dashboard_ColumnLayout) isDashboard_Layout() {}

func (m *Dashboard) GetLayout() isDashboard_Layout {
	if m != nil {
		return m.Layout
	}
	return nil
}

func (m *Dashboard) GetGridLayout() *GridLayout {
	if x, ok := m.GetLayout().(*Dashboard_GridLayout); ok {
		return x.GridLayout
	}
	return nil
}

func (m *Dashboard) GetRowLayout() *RowLayout {
	if x, ok := m.GetLayout().(*Dashboard_RowLayout); ok {
		return x.RowLayout
	}
	return nil
}

func (m *Dashboard) GetColumnLayout() *ColumnLayout {
	if x, ok := m.GetLayout().(*Dashboard_ColumnLayout); ok {
		return x.ColumnLayout
	}
	return nil
}

// XXX_OneofWrappers is for the internal use of the proto package.
func (*Dashboard) XXX_OneofWrappers() []interface{} {
	return []interface{}{
		(*Dashboard_GridLayout)(nil),
		(*Dashboard_RowLayout)(nil),
		(*Dashboard_ColumnLayout)(nil),
	}
}

func init() {
	proto.RegisterType((*Dashboard)(nil), "google.monitoring.dashboard.v1.Dashboard")
}

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

var fileDescriptor_0fd3ce5c99bdbe14 = []byte{
	// 294 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xc1, 0x4b, 0xc3, 0x30,
	0x14, 0xc6, 0xed, 0xa8, 0x63, 0x7d, 0x9d, 0x08, 0x39, 0x15, 0x0f, 0x32, 0x77, 0x9a, 0x32, 0x52,
	0xa6, 0x47, 0x6f, 0x55, 0x98, 0x88, 0xca, 0xa8, 0x37, 0x2f, 0x23, 0x6b, 0x4b, 0x0c, 0xb4, 0x79,
	0x25, 0xed, 0x36, 0x76, 0xf3, 0x4f, 0xf4, 0x4f, 0x92, 0x26, 0x6b, 0xea, 0x45, 0x7b, 0x7b, 0x5f,
	0xbe, 0xef, 0xfb, 0x25, 0xe4, 0x01, 0xe5, 0x88, 0x3c, 0xcf, 0xc2, 0x02, 0xa5, 0xa8, 0x51, 0x09,
	0xc9, 0xc3, 0x94, 0x55, 0x9f, 0x1b, 0x64, 0x2a, 0x0d, 0x77, 0x8b, 0x4e, 0xd0, 0x52, 0x61, 0x8d,
	0xe4, 0xd2, 0xe4, 0x69, 0x97, 0xa7, 0x5d, 0x64, 0xb7, 0xb8, 0x98, 0xf7, 0xf0, 0x72, 0x76, 0xc0,
	0x6d, 0x5d, 0x19, 0xda, 0xf4, 0x7b, 0x00, 0xde, 0x63, 0x6b, 0x13, 0x02, 0xae, 0x64, 0x45, 0x16,
	0x38, 0x13, 0x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