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	// 679 bytes of a gzipped FileDescriptorProto
340	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x3d, 0x6f, 0x13, 0x4d,
341	0x10, 0xc7, 0xb5, 0xce, 0xf3, 0x44, 0xc9, 0xf2, 0x62, 0xb1, 0x08, 0xc7, 0x38, 0xbc, 0x58, 0x27,
342	0x84, 0x82, 0x15, 0x6e, 0x95, 0x44, 0x09, 0x22, 0x08, 0xa1, 0x84, 0xa0, 0x08, 0x29, 0x45, 0xe4,
343	0x40, 0x43, 0x63, 0xad, 0xed, 0xf1, 0x79, 0xc9, 0xdd, 0xee, 0x71, 0xbb, 0xb6, 0x21, 0x28, 0x0d,
344	0x14, 0x14, 0x88, 0x8a, 0x8e, 0xaf, 0x40, 0x45, 0x41, 0xc3, 0x47, 0xa0, 0x84, 0x8e, 0x8a, 0x82,
345	0x0f, 0x82, 0xee, 0xc5, 0xbe, 0x8b, 0x73, 0xc9, 0xf9, 0x44, 0x79, 0x3b, 0xff, 0xd9, 0xf9, 0xed,
346	0xce, 0x7f, 0xf6, 0xf0, 0x1d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, 0xe6, 0xf1, 0xac, 0xcb, 0x2c, 0x68, 0x28,
358	0x7e, 0x00, 0x01, 0xc3, 0xff, 0xf5, 0x19, 0x7f, 0x61, 0x8f, 0x1f, 0x00, 0xb9, 0x8a, 0x71, 0x10,
359	0xd4, 0x72, 0x1f, 0x44, 0x79, 0xca, 0xcf, 0xae, 0x07, 0xf2, 0x27, 0xfe, 0x82, 0xf1, 0x1e, 0xe1,
360	0xd2, 0x78, 0x49, 0xe5, 0x4a, 0xa1, 0x80, 0x3c, 0xc6, 0x38, 0x76, 0x45, 0x19, 0x55, 0xa7, 0x72,
361	0x9d, 0xad, 0x9e, 0x48, 0x26, 0x37, 0x71, 0x51, 0xc0, 0x4b, 0xdd, 0x48, 0x90, 0x14, 0x02, 0x92,
362	0x73, 0xfe, 0xf2, 0xee, 0x88, 0xc6, 0xc4, 0x17, 0xb7, 0x41, 0x1f, 0xeb, 0xc0, 0x1c, 0xfe, 0x4f,
363	0x30, 0x07, 0x92, 0x67, 0x0f, 0x16, 0x8c, 0x25, 0x5c, 0xda, 0x02, 0x1b, 0x52, 0x9a, 0x76, 0x62,
364	0x4a, 0x07, 0x97, 0x9e, 0xba, 0xed, 0xb4, 0x3e, 0x1f, 0x69, 0x25, 0xfa, 0xc7, 0x56, 0x2e, 0x7f,
365	0x99, 0xc1, 0x17, 0xe2, 0x4b, 0xdd, 0x0b, 0x67, 0x8a, 0x7c, 0x46, 0xb8, 0x38, 0x66, 0x33, 0xb2,
366	0x96, 0x55, 0x24, 0xdd, 0x97, 0x95, 0xc9, 0xe1, 0x8c, 0xd5, 0x37, 0x3f, 0xff, 0x7c, 0x2c, 0x50,
367	0xc3, 0xf0, 0x47, 0xea, 0x75, 0x68, 0x9b, 0xfb, 0xae, 0x27, 0x9f, 0x43, 0x4b, 0x2b, 0x5a, 0x3b,
368	0x4c, 0x8c, 0xff, 0x7a, 0x7c, 0x06, 0x9f, 0xf6, 0xfc, 0x51, 0x73, 0x90, 0xd5, 0xac, 0xa2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 0xa4, 0xcd, 0x84, 0x65, 0x4a, 0xcf, 0xa2, 0x16, 0x88, 0xc0, 0x26, 0x34, 0x26, 0x38, 0xe9,
381	0x67, 0x7b, 0x6f, 0xf4, 0xd1, 0x9c, 0x0e, 0x72, 0x56, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0xb4,
382	0x9b, 0xce, 0x1d, 0x37, 0x08, 0x00, 0x00,
383}
384
385// Reference imports to suppress errors if they are not otherwise used.
386var _ context.Context
387var _ grpc.ClientConn
388
389// This is a compile-time assertion to ensure that this generated file
390// is compatible with the grpc package it is being compiled against.
391const _ = grpc.SupportPackageIsVersion4
392
393// DashboardsServiceClient is the client API for DashboardsService service.
394//
395// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
396type DashboardsServiceClient interface {
397	// Creates a new custom dashboard.
398	//
399	// This method requires the `monitoring.dashboards.create` permission
400	// on the specified project. For more information, see
401	// [Google Cloud IAM](https://cloud.google.com/iam).
402	CreateDashboard(ctx context.Context, in *CreateDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error)
403	// Lists the existing dashboards.
404	//
405	// This method requires the `monitoring.dashboards.list` permission
406	// on the specified project. For more information, see
407	// [Google Cloud IAM](https://cloud.google.com/iam).
408	ListDashboards(ctx context.Context, in *ListDashboardsRequest, opts ...grpc.CallOption) (*ListDashboardsResponse, error)
409	// Fetches a specific dashboard.
410	//
411	// This method requires the `monitoring.dashboards.get` permission
412	// on the specified dashboard. For more information, see
413	// [Google Cloud IAM](https://cloud.google.com/iam).
414	GetDashboard(ctx context.Context, in *GetDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error)
415	// Deletes an existing custom dashboard.
416	//
417	// This method requires the `monitoring.dashboards.delete` permission
418	// on the specified dashboard. For more information, see
419	// [Google Cloud IAM](https://cloud.google.com/iam).
420	DeleteDashboard(ctx context.Context, in *DeleteDashboardRequest, opts ...grpc.CallOption) (*empty.Empty, error)
421	// Replaces an existing custom dashboard with a new definition.
422	//
423	// This method requires the `monitoring.dashboards.update` permission
424	// on the specified dashboard. For more information, see
425	// [Google Cloud IAM](https://cloud.google.com/iam).
426	UpdateDashboard(ctx context.Context, in *UpdateDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error)
427}
428
429type dashboardsServiceClient struct {
430	cc *grpc.ClientConn
431}
432
433func NewDashboardsServiceClient(cc *grpc.ClientConn) DashboardsServiceClient {
434	return &dashboardsServiceClient{cc}
435}
436
437func (c *dashboardsServiceClient) CreateDashboard(ctx context.Context, in *CreateDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error) {
438	out := new(Dashboard)
439	err := c.cc.Invoke(ctx, "/google.monitoring.dashboard.v1.DashboardsService/CreateDashboard", in, out, opts...)
440	if err != nil {
441		return nil, err
442	}
443	return out, nil
444}
445
446func (c *dashboardsServiceClient) ListDashboards(ctx context.Context, in *ListDashboardsRequest, opts ...grpc.CallOption) (*ListDashboardsResponse, error) {
447	out := new(ListDashboardsResponse)
448	err := c.cc.Invoke(ctx, "/google.monitoring.dashboard.v1.DashboardsService/ListDashboards", in, out, opts...)
449	if err != nil {
450		return nil, err
451	}
452	return out, nil
453}
454
455func (c *dashboardsServiceClient) GetDashboard(ctx context.Context, in *GetDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error) {
456	out := new(Dashboard)
457	err := c.cc.Invoke(ctx, "/google.monitoring.dashboard.v1.DashboardsService/GetDashboard", in, out, opts...)
458	if err != nil {
459		return nil, err
460	}
461	return out, nil
462}
463
464func (c *dashboardsServiceClient) DeleteDashboard(ctx context.Context, in *DeleteDashboardRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
465	out := new(empty.Empty)
466	err := c.cc.Invoke(ctx, "/google.monitoring.dashboard.v1.DashboardsService/DeleteDashboard", in, out, opts...)
467	if err != nil {
468		return nil, err
469	}
470	return out, nil
471}
472
473func (c *dashboardsServiceClient) UpdateDashboard(ctx context.Context, in *UpdateDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error) {
474	out := new(Dashboard)
475	err := c.cc.Invoke(ctx, "/google.monitoring.dashboard.v1.DashboardsService/UpdateDashboard", in, out, opts...)
476	if err != nil {
477		return nil, err
478	}
479	return out, nil
480}
481
482// DashboardsServiceServer is the server API for DashboardsService service.
483type DashboardsServiceServer interface {
484	// Creates a new custom dashboard.
485	//
486	// This method requires the `monitoring.dashboards.create` permission
487	// on the specified project. For more information, see
488	// [Google Cloud IAM](https://cloud.google.com/iam).
489	CreateDashboard(context.Context, *CreateDashboardRequest) (*Dashboard, error)
490	// Lists the existing dashboards.
491	//
492	// This method requires the `monitoring.dashboards.list` permission
493	// on the specified project. For more information, see
494	// [Google Cloud IAM](https://cloud.google.com/iam).
495	ListDashboards(context.Context, *ListDashboardsRequest) (*ListDashboardsResponse, error)
496	// Fetches a specific dashboard.
497	//
498	// This method requires the `monitoring.dashboards.get` permission
499	// on the specified dashboard. For more information, see
500	// [Google Cloud IAM](https://cloud.google.com/iam).
501	GetDashboard(context.Context, *GetDashboardRequest) (*Dashboard, error)
502	// Deletes an existing custom dashboard.
503	//
504	// This method requires the `monitoring.dashboards.delete` permission
505	// on the specified dashboard. For more information, see
506	// [Google Cloud IAM](https://cloud.google.com/iam).
507	DeleteDashboard(context.Context, *DeleteDashboardRequest) (*empty.Empty, error)
508	// Replaces an existing custom dashboard with a new definition.
509	//
510	// This method requires the `monitoring.dashboards.update` permission
511	// on the specified dashboard. For more information, see
512	// [Google Cloud IAM](https://cloud.google.com/iam).
513	UpdateDashboard(context.Context, *UpdateDashboardRequest) (*Dashboard, error)
514}
515
516// UnimplementedDashboardsServiceServer can be embedded to have forward compatible implementations.
517type UnimplementedDashboardsServiceServer struct {
518}
519
520func (*UnimplementedDashboardsServiceServer) CreateDashboard(ctx context.Context, req *CreateDashboardRequest) (*Dashboard, error) {
521	return nil, status.Errorf(codes.Unimplemented, "method CreateDashboard not implemented")
522}
523func (*UnimplementedDashboardsServiceServer) ListDashboards(ctx context.Context, req *ListDashboardsRequest) (*ListDashboardsResponse, error) {
524	return nil, status.Errorf(codes.Unimplemented, "method ListDashboards not implemented")
525}
526func (*UnimplementedDashboardsServiceServer) GetDashboard(ctx context.Context, req *GetDashboardRequest) (*Dashboard, error) {
527	return nil, status.Errorf(codes.Unimplemented, "method GetDashboard not implemented")
528}
529func (*UnimplementedDashboardsServiceServer) DeleteDashboard(ctx context.Context, req *DeleteDashboardRequest) (*empty.Empty, error) {
530	return nil, status.Errorf(codes.Unimplemented, "method DeleteDashboard not implemented")
531}
532func (*UnimplementedDashboardsServiceServer) UpdateDashboard(ctx context.Context, req *UpdateDashboardRequest) (*Dashboard, error) {
533	return nil, status.Errorf(codes.Unimplemented, "method UpdateDashboard not implemented")
534}
535
536func RegisterDashboardsServiceServer(s *grpc.Server, srv DashboardsServiceServer) {
537	s.RegisterService(&_DashboardsService_serviceDesc, srv)
538}
539
540func _DashboardsService_CreateDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
541	in := new(CreateDashboardRequest)
542	if err := dec(in); err != nil {
543		return nil, err
544	}
545	if interceptor == nil {
546		return srv.(DashboardsServiceServer).CreateDashboard(ctx, in)
547	}
548	info := &grpc.UnaryServerInfo{
549		Server:     srv,
550		FullMethod: "/google.monitoring.dashboard.v1.DashboardsService/CreateDashboard",
551	}
552	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
553		return srv.(DashboardsServiceServer).CreateDashboard(ctx, req.(*CreateDashboardRequest))
554	}
555	return interceptor(ctx, in, info, handler)
556}
557
558func _DashboardsService_ListDashboards_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
559	in := new(ListDashboardsRequest)
560	if err := dec(in); err != nil {
561		return nil, err
562	}
563	if interceptor == nil {
564		return srv.(DashboardsServiceServer).ListDashboards(ctx, in)
565	}
566	info := &grpc.UnaryServerInfo{
567		Server:     srv,
568		FullMethod: "/google.monitoring.dashboard.v1.DashboardsService/ListDashboards",
569	}
570	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
571		return srv.(DashboardsServiceServer).ListDashboards(ctx, req.(*ListDashboardsRequest))
572	}
573	return interceptor(ctx, in, info, handler)
574}
575
576func _DashboardsService_GetDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
577	in := new(GetDashboardRequest)
578	if err := dec(in); err != nil {
579		return nil, err
580	}
581	if interceptor == nil {
582		return srv.(DashboardsServiceServer).GetDashboard(ctx, in)
583	}
584	info := &grpc.UnaryServerInfo{
585		Server:     srv,
586		FullMethod: "/google.monitoring.dashboard.v1.DashboardsService/GetDashboard",
587	}
588	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
589		return srv.(DashboardsServiceServer).GetDashboard(ctx, req.(*GetDashboardRequest))
590	}
591	return interceptor(ctx, in, info, handler)
592}
593
594func _DashboardsService_DeleteDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
595	in := new(DeleteDashboardRequest)
596	if err := dec(in); err != nil {
597		return nil, err
598	}
599	if interceptor == nil {
600		return srv.(DashboardsServiceServer).DeleteDashboard(ctx, in)
601	}
602	info := &grpc.UnaryServerInfo{
603		Server:     srv,
604		FullMethod: "/google.monitoring.dashboard.v1.DashboardsService/DeleteDashboard",
605	}
606	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
607		return srv.(DashboardsServiceServer).DeleteDashboard(ctx, req.(*DeleteDashboardRequest))
608	}
609	return interceptor(ctx, in, info, handler)
610}
611
612func _DashboardsService_UpdateDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
613	in := new(UpdateDashboardRequest)
614	if err := dec(in); err != nil {
615		return nil, err
616	}
617	if interceptor == nil {
618		return srv.(DashboardsServiceServer).UpdateDashboard(ctx, in)
619	}
620	info := &grpc.UnaryServerInfo{
621		Server:     srv,
622		FullMethod: "/google.monitoring.dashboard.v1.DashboardsService/UpdateDashboard",
623	}
624	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
625		return srv.(DashboardsServiceServer).UpdateDashboard(ctx, req.(*UpdateDashboardRequest))
626	}
627	return interceptor(ctx, in, info, handler)
628}
629
630var _DashboardsService_serviceDesc = grpc.ServiceDesc{
631	ServiceName: "google.monitoring.dashboard.v1.DashboardsService",
632	HandlerType: (*DashboardsServiceServer)(nil),
633	Methods: []grpc.MethodDesc{
634		{
635			MethodName: "CreateDashboard",
636			Handler:    _DashboardsService_CreateDashboard_Handler,
637		},
638		{
639			MethodName: "ListDashboards",
640			Handler:    _DashboardsService_ListDashboards_Handler,
641		},
642		{
643			MethodName: "GetDashboard",
644			Handler:    _DashboardsService_GetDashboard_Handler,
645		},
646		{
647			MethodName: "DeleteDashboard",
648			Handler:    _DashboardsService_DeleteDashboard_Handler,
649		},
650		{
651			MethodName: "UpdateDashboard",
652			Handler:    _DashboardsService_UpdateDashboard_Handler,
653		},
654	},
655	Streams:  []grpc.StreamDesc{},
656	Metadata: "google/monitoring/dashboard/v1/dashboards_service.proto",
657}
658