1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/monitoring/dashboard/v1/dashboards_service.proto
3
4package dashboard
5
6import (
7	context "context"
8	fmt "fmt"
9	math "math"
10
11	proto "github.com/golang/protobuf/proto"
12	empty "github.com/golang/protobuf/ptypes/empty"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14	_ "google.golang.org/genproto/protobuf/field_mask"
15	grpc "google.golang.org/grpc"
16	codes "google.golang.org/grpc/codes"
17	status "google.golang.org/grpc/status"
18)
19
20// Reference imports to suppress errors if they are not otherwise used.
21var _ = proto.Marshal
22var _ = fmt.Errorf
23var _ = math.Inf
24
25// This is a compile-time assertion to ensure that this generated file
26// is compatible with the proto package it is being compiled against.
27// A compilation error at this line likely means your copy of the
28// proto package needs to be updated.
29const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
30
31// The `CreateDashboard` request.
32type CreateDashboardRequest struct {
33	// Required. The project on which to execute the request. The format is
34	// `"projects/{project_id_or_number}"`. The {project_id_or_number} must match
35	// the dashboard resource name.
36	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
37	// Required. The initial dashboard specification.
38	Dashboard            *Dashboard `protobuf:"bytes,2,opt,name=dashboard,proto3" json:"dashboard,omitempty"`
39	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
40	XXX_unrecognized     []byte     `json:"-"`
41	XXX_sizecache        int32      `json:"-"`
42}
43
44func (m *CreateDashboardRequest) Reset()         { *m = CreateDashboardRequest{} }
45func (m *CreateDashboardRequest) String() string { return proto.CompactTextString(m) }
46func (*CreateDashboardRequest) ProtoMessage()    {}
47func (*CreateDashboardRequest) Descriptor() ([]byte, []int) {
48	return fileDescriptor_a0142a102f8bfb49, []int{0}
49}
50
51func (m *CreateDashboardRequest) XXX_Unmarshal(b []byte) error {
52	return xxx_messageInfo_CreateDashboardRequest.Unmarshal(m, b)
53}
54func (m *CreateDashboardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
55	return xxx_messageInfo_CreateDashboardRequest.Marshal(b, m, deterministic)
56}
57func (m *CreateDashboardRequest) XXX_Merge(src proto.Message) {
58	xxx_messageInfo_CreateDashboardRequest.Merge(m, src)
59}
60func (m *CreateDashboardRequest) XXX_Size() int {
61	return xxx_messageInfo_CreateDashboardRequest.Size(m)
62}
63func (m *CreateDashboardRequest) XXX_DiscardUnknown() {
64	xxx_messageInfo_CreateDashboardRequest.DiscardUnknown(m)
65}
66
67var xxx_messageInfo_CreateDashboardRequest proto.InternalMessageInfo
68
69func (m *CreateDashboardRequest) GetParent() string {
70	if m != nil {
71		return m.Parent
72	}
73	return ""
74}
75
76func (m *CreateDashboardRequest) GetDashboard() *Dashboard {
77	if m != nil {
78		return m.Dashboard
79	}
80	return nil
81}
82
83// The `ListDashboards` request.
84type ListDashboardsRequest struct {
85	// Required. The scope of the dashboards to list. A project scope must be
86	// specified in the form of `"projects/{project_id_or_number}"`.
87	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
88	// A positive number that is the maximum number of results to return.
89	// If unspecified, a default of 1000 is used.
90	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
91	// If this field is not empty then it must contain the `nextPageToken` value
92	// returned by a previous call to this method.  Using this field causes the
93	// method to return additional results from the previous method call.
94	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
95	XXX_NoUnkeyedLiteral struct{} `json:"-"`
96	XXX_unrecognized     []byte   `json:"-"`
97	XXX_sizecache        int32    `json:"-"`
98}
99
100func (m *ListDashboardsRequest) Reset()         { *m = ListDashboardsRequest{} }
101func (m *ListDashboardsRequest) String() string { return proto.CompactTextString(m) }
102func (*ListDashboardsRequest) ProtoMessage()    {}
103func (*ListDashboardsRequest) Descriptor() ([]byte, []int) {
104	return fileDescriptor_a0142a102f8bfb49, []int{1}
105}
106
107func (m *ListDashboardsRequest) XXX_Unmarshal(b []byte) error {
108	return xxx_messageInfo_ListDashboardsRequest.Unmarshal(m, b)
109}
110func (m *ListDashboardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
111	return xxx_messageInfo_ListDashboardsRequest.Marshal(b, m, deterministic)
112}
113func (m *ListDashboardsRequest) XXX_Merge(src proto.Message) {
114	xxx_messageInfo_ListDashboardsRequest.Merge(m, src)
115}
116func (m *ListDashboardsRequest) XXX_Size() int {
117	return xxx_messageInfo_ListDashboardsRequest.Size(m)
118}
119func (m *ListDashboardsRequest) XXX_DiscardUnknown() {
120	xxx_messageInfo_ListDashboardsRequest.DiscardUnknown(m)
121}
122
123var xxx_messageInfo_ListDashboardsRequest proto.InternalMessageInfo
124
125func (m *ListDashboardsRequest) GetParent() string {
126	if m != nil {
127		return m.Parent
128	}
129	return ""
130}
131
132func (m *ListDashboardsRequest) GetPageSize() int32 {
133	if m != nil {
134		return m.PageSize
135	}
136	return 0
137}
138
139func (m *ListDashboardsRequest) GetPageToken() string {
140	if m != nil {
141		return m.PageToken
142	}
143	return ""
144}
145
146// The `ListDashboards` request.
147type ListDashboardsResponse struct {
148	// The list of requested dashboards.
149	Dashboards []*Dashboard `protobuf:"bytes,1,rep,name=dashboards,proto3" json:"dashboards,omitempty"`
150	// If there are more results than have been returned, then this field is set
151	// to a non-empty value.  To see the additional results,
152	// use that value as `pageToken` in the next call to this method.
153	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
154	XXX_NoUnkeyedLiteral struct{} `json:"-"`
155	XXX_unrecognized     []byte   `json:"-"`
156	XXX_sizecache        int32    `json:"-"`
157}
158
159func (m *ListDashboardsResponse) Reset()         { *m = ListDashboardsResponse{} }
160func (m *ListDashboardsResponse) String() string { return proto.CompactTextString(m) }
161func (*ListDashboardsResponse) ProtoMessage()    {}
162func (*ListDashboardsResponse) Descriptor() ([]byte, []int) {
163	return fileDescriptor_a0142a102f8bfb49, []int{2}
164}
165
166func (m *ListDashboardsResponse) XXX_Unmarshal(b []byte) error {
167	return xxx_messageInfo_ListDashboardsResponse.Unmarshal(m, b)
168}
169func (m *ListDashboardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
170	return xxx_messageInfo_ListDashboardsResponse.Marshal(b, m, deterministic)
171}
172func (m *ListDashboardsResponse) XXX_Merge(src proto.Message) {
173	xxx_messageInfo_ListDashboardsResponse.Merge(m, src)
174}
175func (m *ListDashboardsResponse) XXX_Size() int {
176	return xxx_messageInfo_ListDashboardsResponse.Size(m)
177}
178func (m *ListDashboardsResponse) XXX_DiscardUnknown() {
179	xxx_messageInfo_ListDashboardsResponse.DiscardUnknown(m)
180}
181
182var xxx_messageInfo_ListDashboardsResponse proto.InternalMessageInfo
183
184func (m *ListDashboardsResponse) GetDashboards() []*Dashboard {
185	if m != nil {
186		return m.Dashboards
187	}
188	return nil
189}
190
191func (m *ListDashboardsResponse) GetNextPageToken() string {
192	if m != nil {
193		return m.NextPageToken
194	}
195	return ""
196}
197
198// The `GetDashboard` request.
199type GetDashboardRequest struct {
200	// Required. The resource name of the Dashboard. The format is one of
201	// `"dashboards/{dashboard_id}"` (for system dashboards) or
202	// `"projects/{project_id_or_number}/dashboards/{dashboard_id}"`
203	// (for custom dashboards).
204	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
205	XXX_NoUnkeyedLiteral struct{} `json:"-"`
206	XXX_unrecognized     []byte   `json:"-"`
207	XXX_sizecache        int32    `json:"-"`
208}
209
210func (m *GetDashboardRequest) Reset()         { *m = GetDashboardRequest{} }
211func (m *GetDashboardRequest) String() string { return proto.CompactTextString(m) }
212func (*GetDashboardRequest) ProtoMessage()    {}
213func (*GetDashboardRequest) Descriptor() ([]byte, []int) {
214	return fileDescriptor_a0142a102f8bfb49, []int{3}
215}
216
217func (m *GetDashboardRequest) XXX_Unmarshal(b []byte) error {
218	return xxx_messageInfo_GetDashboardRequest.Unmarshal(m, b)
219}
220func (m *GetDashboardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
221	return xxx_messageInfo_GetDashboardRequest.Marshal(b, m, deterministic)
222}
223func (m *GetDashboardRequest) XXX_Merge(src proto.Message) {
224	xxx_messageInfo_GetDashboardRequest.Merge(m, src)
225}
226func (m *GetDashboardRequest) XXX_Size() int {
227	return xxx_messageInfo_GetDashboardRequest.Size(m)
228}
229func (m *GetDashboardRequest) XXX_DiscardUnknown() {
230	xxx_messageInfo_GetDashboardRequest.DiscardUnknown(m)
231}
232
233var xxx_messageInfo_GetDashboardRequest proto.InternalMessageInfo
234
235func (m *GetDashboardRequest) GetName() string {
236	if m != nil {
237		return m.Name
238	}
239	return ""
240}
241
242// The `DeleteDashboard` request.
243type DeleteDashboardRequest struct {
244	// Required. The resource name of the Dashboard. The format is
245	// `"projects/{project_id_or_number}/dashboards/{dashboard_id}"`.
246	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
247	XXX_NoUnkeyedLiteral struct{} `json:"-"`
248	XXX_unrecognized     []byte   `json:"-"`
249	XXX_sizecache        int32    `json:"-"`
250}
251
252func (m *DeleteDashboardRequest) Reset()         { *m = DeleteDashboardRequest{} }
253func (m *DeleteDashboardRequest) String() string { return proto.CompactTextString(m) }
254func (*DeleteDashboardRequest) ProtoMessage()    {}
255func (*DeleteDashboardRequest) Descriptor() ([]byte, []int) {
256	return fileDescriptor_a0142a102f8bfb49, []int{4}
257}
258
259func (m *DeleteDashboardRequest) XXX_Unmarshal(b []byte) error {
260	return xxx_messageInfo_DeleteDashboardRequest.Unmarshal(m, b)
261}
262func (m *DeleteDashboardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
263	return xxx_messageInfo_DeleteDashboardRequest.Marshal(b, m, deterministic)
264}
265func (m *DeleteDashboardRequest) XXX_Merge(src proto.Message) {
266	xxx_messageInfo_DeleteDashboardRequest.Merge(m, src)
267}
268func (m *DeleteDashboardRequest) XXX_Size() int {
269	return xxx_messageInfo_DeleteDashboardRequest.Size(m)
270}
271func (m *DeleteDashboardRequest) XXX_DiscardUnknown() {
272	xxx_messageInfo_DeleteDashboardRequest.DiscardUnknown(m)
273}
274
275var xxx_messageInfo_DeleteDashboardRequest proto.InternalMessageInfo
276
277func (m *DeleteDashboardRequest) GetName() string {
278	if m != nil {
279		return m.Name
280	}
281	return ""
282}
283
284// The `UpdateDashboard` request.
285type UpdateDashboardRequest struct {
286	// Required. The dashboard that will replace the existing dashboard.
287	Dashboard            *Dashboard `protobuf:"bytes,1,opt,name=dashboard,proto3" json:"dashboard,omitempty"`
288	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
289	XXX_unrecognized     []byte     `json:"-"`
290	XXX_sizecache        int32      `json:"-"`
291}
292
293func (m *UpdateDashboardRequest) Reset()         { *m = UpdateDashboardRequest{} }
294func (m *UpdateDashboardRequest) String() string { return proto.CompactTextString(m) }
295func (*UpdateDashboardRequest) ProtoMessage()    {}
296func (*UpdateDashboardRequest) Descriptor() ([]byte, []int) {
297	return fileDescriptor_a0142a102f8bfb49, []int{5}
298}
299
300func (m *UpdateDashboardRequest) XXX_Unmarshal(b []byte) error {
301	return xxx_messageInfo_UpdateDashboardRequest.Unmarshal(m, b)
302}
303func (m *UpdateDashboardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
304	return xxx_messageInfo_UpdateDashboardRequest.Marshal(b, m, deterministic)
305}
306func (m *UpdateDashboardRequest) XXX_Merge(src proto.Message) {
307	xxx_messageInfo_UpdateDashboardRequest.Merge(m, src)
308}
309func (m *UpdateDashboardRequest) XXX_Size() int {
310	return xxx_messageInfo_UpdateDashboardRequest.Size(m)
311}
312func (m *UpdateDashboardRequest) XXX_DiscardUnknown() {
313	xxx_messageInfo_UpdateDashboardRequest.DiscardUnknown(m)
314}
315
316var xxx_messageInfo_UpdateDashboardRequest proto.InternalMessageInfo
317
318func (m *UpdateDashboardRequest) GetDashboard() *Dashboard {
319	if m != nil {
320		return m.Dashboard
321	}
322	return nil
323}
324
325func init() {
326	proto.RegisterType((*CreateDashboardRequest)(nil), "google.monitoring.dashboard.v1.CreateDashboardRequest")
327	proto.RegisterType((*ListDashboardsRequest)(nil), "google.monitoring.dashboard.v1.ListDashboardsRequest")
328	proto.RegisterType((*ListDashboardsResponse)(nil), "google.monitoring.dashboard.v1.ListDashboardsResponse")
329	proto.RegisterType((*GetDashboardRequest)(nil), "google.monitoring.dashboard.v1.GetDashboardRequest")
330	proto.RegisterType((*DeleteDashboardRequest)(nil), "google.monitoring.dashboard.v1.DeleteDashboardRequest")
331	proto.RegisterType((*UpdateDashboardRequest)(nil), "google.monitoring.dashboard.v1.UpdateDashboardRequest")
332}
333
334func init() {
335	proto.RegisterFile("google/monitoring/dashboard/v1/dashboards_service.proto", fileDescriptor_a0142a102f8bfb49)
336}
337
338var fileDescriptor_a0142a102f8bfb49 = []byte{
339	// 703 bytes of a gzipped FileDescriptorProto
340	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xcb, 0x6e, 0xd3, 0x4c,
341	0x14, 0xc7, 0x35, 0xe9, 0xf7, 0x55, 0xed, 0x70, 0x89, 0x30, 0x22, 0x0d, 0x29, 0x97, 0xc8, 0x42,
342	0xa8, 0x44, 0xc5, 0xa3, 0xb4, 0x6a, 0x11, 0x46, 0x08, 0xf5, 0x82, 0x2a, 0xa4, 0x22, 0x55, 0x29,
343	0xb0, 0x60, 0x13, 0x4d, 0x92, 0x13, 0x67, 0x68, 0x3c, 0x63, 0x3c, 0x93, 0x04, 0x8a, 0xba, 0x81,
344	0x25, 0x62, 0xc5, 0x8e, 0x57, 0x60, 0x05, 0x12, 0x1b, 0x1e, 0x81, 0x25, 0xec, 0x58, 0xb1, 0x60,
345	0xc5, 0x53, 0x20, 0x5f, 0x62, 0xbb, 0xa9, 0x5b, 0x27, 0x62, 0xe9, 0x39, 0xff, 0x33, 0xe7, 0x37,
346	0xe7, 0xfc, 0x67, 0x8c, 0x6f, 0x59, 0x42, 0x58, 0x5d, 0x20, 0xb6, 0xe0, 0x4c, 0x09, 0x97, 0x71,
347	0x8b, 0xb4, 0xa8, 0xec, 0x34, 0x04, 0x75, 0x5b, 0xa4, 0x5f, 0x8d, 0x3f, 0x64, 0x5d, 0x82, 0xdb,
348	0x67, 0x4d, 0x30, 0x1c, 0x57, 0x28, 0xa1, 0x5d, 0x09, 0x12, 0x8d, 0x38, 0xd1, 0x88, 0xb4, 0x46,
349	0xbf, 0x5a, 0xba, 0x14, 0x6e, 0x4c, 0x1d, 0x46, 0x28, 0xe7, 0x42, 0x51, 0xc5, 0x04, 0x97, 0x41,
350	0x76, 0xe9, 0x6a, 0x22, 0xda, 0x66, 0xd0, 0x6d, 0xd5, 0x1b, 0xd0, 0xa1, 0x7d, 0x26, 0xdc, 0x50,
351	0x60, 0x8c, 0xcb, 0x15, 0xea, 0xe7, 0x43, 0xbd, 0xff, 0xd5, 0xe8, 0xb5, 0x09, 0xd8, 0x8e, 0x7a,
352	0x19, 0x06, 0xcb, 0xa3, 0xc1, 0xa0, 0xa4, 0x4d, 0xe5, 0x5e, 0xa8, 0x98, 0x4b, 0xf0, 0x34, 0xbb,
353	0x0c, 0xb8, 0x0a, 0x02, 0xfa, 0x1b, 0x84, 0x0b, 0x1b, 0x2e, 0x50, 0x05, 0x9b, 0xc3, 0x8a, 0x35,
354	0x78, 0xde, 0x03, 0xa9, 0xb4, 0x79, 0x3c, 0xed, 0x50, 0x17, 0xb8, 0x2a, 0xa2, 0x32, 0x5a, 0x98,
355	0x5d, 0x9f, 0xfa, 0xb5, 0x96, 0xab, 0x85, 0x4b, 0xda, 0x36, 0x9e, 0x8d, 0x10, 0x8b, 0xb9, 0x32,
356	0x5a, 0x38, 0xb5, 0x74, 0xc3, 0x38, 0xb9, 0x65, 0x46, 0x54, 0x21, 0xd8, 0x2a, 0xde, 0x40, 0x77,
357	0xf0, 0x85, 0x6d, 0x26, 0x55, 0x24, 0x90, 0x63, 0x31, 0xcc, 0xe3, 0x59, 0x87, 0x5a, 0x50, 0x97,
358	0x6c, 0x1f, 0x7c, 0x86, 0xff, 0x6b, 0x33, 0xde, 0xc2, 0x2e, 0xdb, 0x07, 0xed, 0x32, 0xc6, 0x7e,
359	0x50, 0x89, 0x3d, 0xe0, 0xc5, 0x29, 0x2f, 0xbb, 0xe6, 0xcb, 0x1f, 0x79, 0x0b, 0xfa, 0x5b, 0x84,
360	0x0b, 0xa3, 0x25, 0xa5, 0x23, 0xb8, 0x04, 0xed, 0x01, 0xc6, 0xb1, 0x2b, 0x8a, 0xa8, 0x3c, 0x35,
361	0xd1, 0xd9, 0x6a, 0x89, 0x64, 0xed, 0x3a, 0xce, 0x73, 0x78, 0xa1, 0xea, 0x09, 0x92, 0x9c, 0x4f,
362	0x72, 0xc6, 0x5b, 0xde, 0x89, 0x68, 0x0c, 0x7c, 0x7e, 0x0b, 0xd4, 0x91, 0x09, 0xcc, 0xe1, 0xff,
363	0x38, 0xb5, 0x21, 0x79, 0x76, 0x7f, 0x41, 0xaf, 0xe2, 0xc2, 0x26, 0x74, 0x21, 0x65, 0x68, 0xc7,
364	0xa6, 0xb4, 0x71, 0xe1, 0xb1, 0xd3, 0x4a, 0x9b, 0xf3, 0xa1, 0x51, 0xa2, 0x7f, 0x1c, 0xe5, 0xd2,
365	0xa7, 0x19, 0x7c, 0x2e, 0x6e, 0xea, 0x6e, 0x70, 0xa7, 0xb4, 0x8f, 0x08, 0xe7, 0x47, 0x6c, 0xa6,
366	0xad, 0x66, 0x15, 0x49, 0xf7, 0x65, 0x69, 0x7c, 0x38, 0x7d, 0xe5, 0xf5, 0x8f, 0xdf, 0xef, 0x73,
367	0x44, 0xd7, 0xbd, 0x2b, 0xf5, 0x2a, 0xb0, 0xcd, 0x5d, 0xc7, 0x15, 0xcf, 0xa0, 0xa9, 0x24, 0xa9,
368	0x1c, 0x24, 0xae, 0xbf, 0x19, 0x9f, 0xc1, 0xa3, 0x3d, 0x7b, 0xd8, 0x1c, 0xda, 0x4a, 0x56, 0xd1,
369	0x54, 0xff, 0x96, 0x56, 0x27, 0x4d, 0x0b, 0x3c, 0xa8, 0x57, 0x7c, 0xf0, 0x6b, 0xda, 0x18, 0xe0,
370	0xda, 0x07, 0x84, 0x4f, 0x27, 0xdd, 0xa3, 0x2d, 0x67, 0x15, 0x4d, 0xf1, 0xda, 0x24, 0x5d, 0x3d,
371	0x0c, 0xe7, 0xb9, 0x2b, 0x81, 0x96, 0x20, 0x23, 0x95, 0x03, 0xed, 0x1d, 0xc2, 0xf9, 0x11, 0xab,
372	0x66, 0x0f, 0x3e, 0xdd, 0xdb, 0xa5, 0xc2, 0x30, 0x6f, 0xf8, 0xce, 0x19, 0xf7, 0xbd, 0x47, 0x70,
373	0xc8, 0x53, 0x19, 0x87, 0xe7, 0x0b, 0xc2, 0xf9, 0x91, 0x7b, 0x90, 0xcd, 0x93, 0x7e, 0x71, 0x26,
374	0x69, 0xd9, 0x3d, 0x1f, 0xf1, 0xf6, 0xd2, 0xa2, 0x8f, 0x18, 0x8b, 0x4e, 0x84, 0x4d, 0x58, 0xb2,
375	0xf4, 0x13, 0x7d, 0x5b, 0xbb, 0x98, 0xa8, 0x13, 0x54, 0xa6, 0x0e, 0x93, 0x46, 0x53, 0xd8, 0xdf,
376	0xd7, 0xbe, 0xa2, 0x8e, 0x52, 0x8e, 0x34, 0x09, 0x19, 0x0c, 0x06, 0x23, 0x51, 0x42, 0x7b, 0xaa,
377	0x43, 0x9a, 0x5d, 0xd1, 0x6b, 0xdd, 0x74, 0xba, 0x54, 0xb5, 0x85, 0x6b, 0x2f, 0x66, 0xc9, 0xe3,
378	0x5a, 0x13, 0x48, 0x0d, 0x17, 0x68, 0x6b, 0x12, 0xfd, 0xc0, 0x65, 0x0a, 0xd6, 0x3f, 0x23, 0xac,
379	0x37, 0x85, 0x9d, 0xd1, 0xce, 0xf5, 0xc2, 0x91, 0x77, 0x65, 0xc7, 0x33, 0xc2, 0x0e, 0x7a, 0xba,
380	0x15, 0x66, 0x5a, 0xa2, 0x4b, 0xb9, 0x65, 0x08, 0xd7, 0x22, 0x16, 0x70, 0xdf, 0x26, 0x24, 0x26,
381	0x38, 0xee, 0x67, 0x7b, 0x27, 0xfa, 0xf8, 0x93, 0x5b, 0xd8, 0xf2, 0xe5, 0xa6, 0xb9, 0xe1, 0xb5,
382	0xcb, 0x34, 0x1f, 0x46, 0x29, 0xa6, 0x19, 0x95, 0x37, 0xcd, 0x27, 0xd5, 0xc6, 0xb4, 0xbf, 0xfd,
383	0xf2, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xba, 0xd6, 0xa4, 0x47, 0x62, 0x08, 0x00, 0x00,
384}
385
386// Reference imports to suppress errors if they are not otherwise used.
387var _ context.Context
388var _ grpc.ClientConnInterface
389
390// This is a compile-time assertion to ensure that this generated file
391// is compatible with the grpc package it is being compiled against.
392const _ = grpc.SupportPackageIsVersion6
393
394// DashboardsServiceClient is the client API for DashboardsService service.
395//
396// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
397type DashboardsServiceClient interface {
398	// Creates a new custom dashboard.
399	//
400	// This method requires the `monitoring.dashboards.create` permission
401	// on the specified project. For more information, see
402	// [Google Cloud IAM](https://cloud.google.com/iam).
403	CreateDashboard(ctx context.Context, in *CreateDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error)
404	// Lists the existing dashboards.
405	//
406	// This method requires the `monitoring.dashboards.list` permission
407	// on the specified project. For more information, see
408	// [Google Cloud IAM](https://cloud.google.com/iam).
409	ListDashboards(ctx context.Context, in *ListDashboardsRequest, opts ...grpc.CallOption) (*ListDashboardsResponse, error)
410	// Fetches a specific dashboard.
411	//
412	// This method requires the `monitoring.dashboards.get` permission
413	// on the specified dashboard. For more information, see
414	// [Google Cloud IAM](https://cloud.google.com/iam).
415	GetDashboard(ctx context.Context, in *GetDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error)
416	// Deletes an existing custom dashboard.
417	//
418	// This method requires the `monitoring.dashboards.delete` permission
419	// on the specified dashboard. For more information, see
420	// [Google Cloud IAM](https://cloud.google.com/iam).
421	DeleteDashboard(ctx context.Context, in *DeleteDashboardRequest, opts ...grpc.CallOption) (*empty.Empty, error)
422	// Replaces an existing custom dashboard with a new definition.
423	//
424	// This method requires the `monitoring.dashboards.update` permission
425	// on the specified dashboard. For more information, see
426	// [Google Cloud IAM](https://cloud.google.com/iam).
427	UpdateDashboard(ctx context.Context, in *UpdateDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error)
428}
429
430type dashboardsServiceClient struct {
431	cc grpc.ClientConnInterface
432}
433
434func NewDashboardsServiceClient(cc grpc.ClientConnInterface) DashboardsServiceClient {
435	return &dashboardsServiceClient{cc}
436}
437
438func (c *dashboardsServiceClient) CreateDashboard(ctx context.Context, in *CreateDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error) {
439	out := new(Dashboard)
440	err := c.cc.Invoke(ctx, "/google.monitoring.dashboard.v1.DashboardsService/CreateDashboard", in, out, opts...)
441	if err != nil {
442		return nil, err
443	}
444	return out, nil
445}
446
447func (c *dashboardsServiceClient) ListDashboards(ctx context.Context, in *ListDashboardsRequest, opts ...grpc.CallOption) (*ListDashboardsResponse, error) {
448	out := new(ListDashboardsResponse)
449	err := c.cc.Invoke(ctx, "/google.monitoring.dashboard.v1.DashboardsService/ListDashboards", in, out, opts...)
450	if err != nil {
451		return nil, err
452	}
453	return out, nil
454}
455
456func (c *dashboardsServiceClient) GetDashboard(ctx context.Context, in *GetDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error) {
457	out := new(Dashboard)
458	err := c.cc.Invoke(ctx, "/google.monitoring.dashboard.v1.DashboardsService/GetDashboard", in, out, opts...)
459	if err != nil {
460		return nil, err
461	}
462	return out, nil
463}
464
465func (c *dashboardsServiceClient) DeleteDashboard(ctx context.Context, in *DeleteDashboardRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
466	out := new(empty.Empty)
467	err := c.cc.Invoke(ctx, "/google.monitoring.dashboard.v1.DashboardsService/DeleteDashboard", in, out, opts...)
468	if err != nil {
469		return nil, err
470	}
471	return out, nil
472}
473
474func (c *dashboardsServiceClient) UpdateDashboard(ctx context.Context, in *UpdateDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error) {
475	out := new(Dashboard)
476	err := c.cc.Invoke(ctx, "/google.monitoring.dashboard.v1.DashboardsService/UpdateDashboard", in, out, opts...)
477	if err != nil {
478		return nil, err
479	}
480	return out, nil
481}
482
483// DashboardsServiceServer is the server API for DashboardsService service.
484type DashboardsServiceServer interface {
485	// Creates a new custom dashboard.
486	//
487	// This method requires the `monitoring.dashboards.create` permission
488	// on the specified project. For more information, see
489	// [Google Cloud IAM](https://cloud.google.com/iam).
490	CreateDashboard(context.Context, *CreateDashboardRequest) (*Dashboard, error)
491	// Lists the existing dashboards.
492	//
493	// This method requires the `monitoring.dashboards.list` permission
494	// on the specified project. For more information, see
495	// [Google Cloud IAM](https://cloud.google.com/iam).
496	ListDashboards(context.Context, *ListDashboardsRequest) (*ListDashboardsResponse, error)
497	// Fetches a specific dashboard.
498	//
499	// This method requires the `monitoring.dashboards.get` permission
500	// on the specified dashboard. For more information, see
501	// [Google Cloud IAM](https://cloud.google.com/iam).
502	GetDashboard(context.Context, *GetDashboardRequest) (*Dashboard, error)
503	// Deletes an existing custom dashboard.
504	//
505	// This method requires the `monitoring.dashboards.delete` permission
506	// on the specified dashboard. For more information, see
507	// [Google Cloud IAM](https://cloud.google.com/iam).
508	DeleteDashboard(context.Context, *DeleteDashboardRequest) (*empty.Empty, error)
509	// Replaces an existing custom dashboard with a new definition.
510	//
511	// This method requires the `monitoring.dashboards.update` permission
512	// on the specified dashboard. For more information, see
513	// [Google Cloud IAM](https://cloud.google.com/iam).
514	UpdateDashboard(context.Context, *UpdateDashboardRequest) (*Dashboard, error)
515}
516
517// UnimplementedDashboardsServiceServer can be embedded to have forward compatible implementations.
518type UnimplementedDashboardsServiceServer struct {
519}
520
521func (*UnimplementedDashboardsServiceServer) CreateDashboard(ctx context.Context, req *CreateDashboardRequest) (*Dashboard, error) {
522	return nil, status.Errorf(codes.Unimplemented, "method CreateDashboard not implemented")
523}
524func (*UnimplementedDashboardsServiceServer) ListDashboards(ctx context.Context, req *ListDashboardsRequest) (*ListDashboardsResponse, error) {
525	return nil, status.Errorf(codes.Unimplemented, "method ListDashboards not implemented")
526}
527func (*UnimplementedDashboardsServiceServer) GetDashboard(ctx context.Context, req *GetDashboardRequest) (*Dashboard, error) {
528	return nil, status.Errorf(codes.Unimplemented, "method GetDashboard not implemented")
529}
530func (*UnimplementedDashboardsServiceServer) DeleteDashboard(ctx context.Context, req *DeleteDashboardRequest) (*empty.Empty, error) {
531	return nil, status.Errorf(codes.Unimplemented, "method DeleteDashboard not implemented")
532}
533func (*UnimplementedDashboardsServiceServer) UpdateDashboard(ctx context.Context, req *UpdateDashboardRequest) (*Dashboard, error) {
534	return nil, status.Errorf(codes.Unimplemented, "method UpdateDashboard not implemented")
535}
536
537func RegisterDashboardsServiceServer(s *grpc.Server, srv DashboardsServiceServer) {
538	s.RegisterService(&_DashboardsService_serviceDesc, srv)
539}
540
541func _DashboardsService_CreateDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
542	in := new(CreateDashboardRequest)
543	if err := dec(in); err != nil {
544		return nil, err
545	}
546	if interceptor == nil {
547		return srv.(DashboardsServiceServer).CreateDashboard(ctx, in)
548	}
549	info := &grpc.UnaryServerInfo{
550		Server:     srv,
551		FullMethod: "/google.monitoring.dashboard.v1.DashboardsService/CreateDashboard",
552	}
553	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
554		return srv.(DashboardsServiceServer).CreateDashboard(ctx, req.(*CreateDashboardRequest))
555	}
556	return interceptor(ctx, in, info, handler)
557}
558
559func _DashboardsService_ListDashboards_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
560	in := new(ListDashboardsRequest)
561	if err := dec(in); err != nil {
562		return nil, err
563	}
564	if interceptor == nil {
565		return srv.(DashboardsServiceServer).ListDashboards(ctx, in)
566	}
567	info := &grpc.UnaryServerInfo{
568		Server:     srv,
569		FullMethod: "/google.monitoring.dashboard.v1.DashboardsService/ListDashboards",
570	}
571	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
572		return srv.(DashboardsServiceServer).ListDashboards(ctx, req.(*ListDashboardsRequest))
573	}
574	return interceptor(ctx, in, info, handler)
575}
576
577func _DashboardsService_GetDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
578	in := new(GetDashboardRequest)
579	if err := dec(in); err != nil {
580		return nil, err
581	}
582	if interceptor == nil {
583		return srv.(DashboardsServiceServer).GetDashboard(ctx, in)
584	}
585	info := &grpc.UnaryServerInfo{
586		Server:     srv,
587		FullMethod: "/google.monitoring.dashboard.v1.DashboardsService/GetDashboard",
588	}
589	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
590		return srv.(DashboardsServiceServer).GetDashboard(ctx, req.(*GetDashboardRequest))
591	}
592	return interceptor(ctx, in, info, handler)
593}
594
595func _DashboardsService_DeleteDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
596	in := new(DeleteDashboardRequest)
597	if err := dec(in); err != nil {
598		return nil, err
599	}
600	if interceptor == nil {
601		return srv.(DashboardsServiceServer).DeleteDashboard(ctx, in)
602	}
603	info := &grpc.UnaryServerInfo{
604		Server:     srv,
605		FullMethod: "/google.monitoring.dashboard.v1.DashboardsService/DeleteDashboard",
606	}
607	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
608		return srv.(DashboardsServiceServer).DeleteDashboard(ctx, req.(*DeleteDashboardRequest))
609	}
610	return interceptor(ctx, in, info, handler)
611}
612
613func _DashboardsService_UpdateDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
614	in := new(UpdateDashboardRequest)
615	if err := dec(in); err != nil {
616		return nil, err
617	}
618	if interceptor == nil {
619		return srv.(DashboardsServiceServer).UpdateDashboard(ctx, in)
620	}
621	info := &grpc.UnaryServerInfo{
622		Server:     srv,
623		FullMethod: "/google.monitoring.dashboard.v1.DashboardsService/UpdateDashboard",
624	}
625	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
626		return srv.(DashboardsServiceServer).UpdateDashboard(ctx, req.(*UpdateDashboardRequest))
627	}
628	return interceptor(ctx, in, info, handler)
629}
630
631var _DashboardsService_serviceDesc = grpc.ServiceDesc{
632	ServiceName: "google.monitoring.dashboard.v1.DashboardsService",
633	HandlerType: (*DashboardsServiceServer)(nil),
634	Methods: []grpc.MethodDesc{
635		{
636			MethodName: "CreateDashboard",
637			Handler:    _DashboardsService_CreateDashboard_Handler,
638		},
639		{
640			MethodName: "ListDashboards",
641			Handler:    _DashboardsService_ListDashboards_Handler,
642		},
643		{
644			MethodName: "GetDashboard",
645			Handler:    _DashboardsService_GetDashboard_Handler,
646		},
647		{
648			MethodName: "DeleteDashboard",
649			Handler:    _DashboardsService_DeleteDashboard_Handler,
650		},
651		{
652			MethodName: "UpdateDashboard",
653			Handler:    _DashboardsService_UpdateDashboard_Handler,
654		},
655	},
656	Streams:  []grpc.StreamDesc{},
657	Metadata: "google/monitoring/dashboard/v1/dashboards_service.proto",
658}
659