1// Copyright 2021 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.26.0 18// protoc v3.12.2 19// source: google/monitoring/dashboard/v1/dashboards_service.proto 20 21package dashboard 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 grpc "google.golang.org/grpc" 30 codes "google.golang.org/grpc/codes" 31 status "google.golang.org/grpc/status" 32 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 33 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 34 emptypb "google.golang.org/protobuf/types/known/emptypb" 35 _ "google.golang.org/protobuf/types/known/fieldmaskpb" 36) 37 38const ( 39 // Verify that this generated code is sufficiently up-to-date. 40 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 41 // Verify that runtime/protoimpl is sufficiently up-to-date. 42 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 43) 44 45// The `CreateDashboard` request. 46type CreateDashboardRequest struct { 47 state protoimpl.MessageState 48 sizeCache protoimpl.SizeCache 49 unknownFields protoimpl.UnknownFields 50 51 // Required. The project on which to execute the request. The format is: 52 // 53 // projects/[PROJECT_ID_OR_NUMBER] 54 // 55 // The `[PROJECT_ID_OR_NUMBER]` must match the dashboard resource name. 56 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 57 // Required. The initial dashboard specification. 58 Dashboard *Dashboard `protobuf:"bytes,2,opt,name=dashboard,proto3" json:"dashboard,omitempty"` 59} 60 61func (x *CreateDashboardRequest) Reset() { 62 *x = CreateDashboardRequest{} 63 if protoimpl.UnsafeEnabled { 64 mi := &file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[0] 65 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 66 ms.StoreMessageInfo(mi) 67 } 68} 69 70func (x *CreateDashboardRequest) String() string { 71 return protoimpl.X.MessageStringOf(x) 72} 73 74func (*CreateDashboardRequest) ProtoMessage() {} 75 76func (x *CreateDashboardRequest) ProtoReflect() protoreflect.Message { 77 mi := &file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[0] 78 if protoimpl.UnsafeEnabled && x != nil { 79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 80 if ms.LoadMessageInfo() == nil { 81 ms.StoreMessageInfo(mi) 82 } 83 return ms 84 } 85 return mi.MessageOf(x) 86} 87 88// Deprecated: Use CreateDashboardRequest.ProtoReflect.Descriptor instead. 89func (*CreateDashboardRequest) Descriptor() ([]byte, []int) { 90 return file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDescGZIP(), []int{0} 91} 92 93func (x *CreateDashboardRequest) GetParent() string { 94 if x != nil { 95 return x.Parent 96 } 97 return "" 98} 99 100func (x *CreateDashboardRequest) GetDashboard() *Dashboard { 101 if x != nil { 102 return x.Dashboard 103 } 104 return nil 105} 106 107// The `ListDashboards` request. 108type ListDashboardsRequest struct { 109 state protoimpl.MessageState 110 sizeCache protoimpl.SizeCache 111 unknownFields protoimpl.UnknownFields 112 113 // Required. The scope of the dashboards to list. The format is: 114 // 115 // projects/[PROJECT_ID_OR_NUMBER] 116 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 117 // A positive number that is the maximum number of results to return. 118 // If unspecified, a default of 1000 is used. 119 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 120 // If this field is not empty then it must contain the `nextPageToken` value 121 // returned by a previous call to this method. Using this field causes the 122 // method to return additional results from the previous method call. 123 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 124} 125 126func (x *ListDashboardsRequest) Reset() { 127 *x = ListDashboardsRequest{} 128 if protoimpl.UnsafeEnabled { 129 mi := &file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[1] 130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 131 ms.StoreMessageInfo(mi) 132 } 133} 134 135func (x *ListDashboardsRequest) String() string { 136 return protoimpl.X.MessageStringOf(x) 137} 138 139func (*ListDashboardsRequest) ProtoMessage() {} 140 141func (x *ListDashboardsRequest) ProtoReflect() protoreflect.Message { 142 mi := &file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[1] 143 if protoimpl.UnsafeEnabled && x != nil { 144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 145 if ms.LoadMessageInfo() == nil { 146 ms.StoreMessageInfo(mi) 147 } 148 return ms 149 } 150 return mi.MessageOf(x) 151} 152 153// Deprecated: Use ListDashboardsRequest.ProtoReflect.Descriptor instead. 154func (*ListDashboardsRequest) Descriptor() ([]byte, []int) { 155 return file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDescGZIP(), []int{1} 156} 157 158func (x *ListDashboardsRequest) GetParent() string { 159 if x != nil { 160 return x.Parent 161 } 162 return "" 163} 164 165func (x *ListDashboardsRequest) GetPageSize() int32 { 166 if x != nil { 167 return x.PageSize 168 } 169 return 0 170} 171 172func (x *ListDashboardsRequest) GetPageToken() string { 173 if x != nil { 174 return x.PageToken 175 } 176 return "" 177} 178 179// The `ListDashboards` request. 180type ListDashboardsResponse struct { 181 state protoimpl.MessageState 182 sizeCache protoimpl.SizeCache 183 unknownFields protoimpl.UnknownFields 184 185 // The list of requested dashboards. 186 Dashboards []*Dashboard `protobuf:"bytes,1,rep,name=dashboards,proto3" json:"dashboards,omitempty"` 187 // If there are more results than have been returned, then this field is set 188 // to a non-empty value. To see the additional results, 189 // use that value as `page_token` in the next call to this method. 190 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 191} 192 193func (x *ListDashboardsResponse) Reset() { 194 *x = ListDashboardsResponse{} 195 if protoimpl.UnsafeEnabled { 196 mi := &file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[2] 197 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 198 ms.StoreMessageInfo(mi) 199 } 200} 201 202func (x *ListDashboardsResponse) String() string { 203 return protoimpl.X.MessageStringOf(x) 204} 205 206func (*ListDashboardsResponse) ProtoMessage() {} 207 208func (x *ListDashboardsResponse) ProtoReflect() protoreflect.Message { 209 mi := &file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[2] 210 if protoimpl.UnsafeEnabled && x != nil { 211 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 212 if ms.LoadMessageInfo() == nil { 213 ms.StoreMessageInfo(mi) 214 } 215 return ms 216 } 217 return mi.MessageOf(x) 218} 219 220// Deprecated: Use ListDashboardsResponse.ProtoReflect.Descriptor instead. 221func (*ListDashboardsResponse) Descriptor() ([]byte, []int) { 222 return file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDescGZIP(), []int{2} 223} 224 225func (x *ListDashboardsResponse) GetDashboards() []*Dashboard { 226 if x != nil { 227 return x.Dashboards 228 } 229 return nil 230} 231 232func (x *ListDashboardsResponse) GetNextPageToken() string { 233 if x != nil { 234 return x.NextPageToken 235 } 236 return "" 237} 238 239// The `GetDashboard` request. 240type GetDashboardRequest struct { 241 state protoimpl.MessageState 242 sizeCache protoimpl.SizeCache 243 unknownFields protoimpl.UnknownFields 244 245 // Required. The resource name of the Dashboard. The format is one of: 246 // 247 // - `dashboards/[DASHBOARD_ID]` (for system dashboards) 248 // - `projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID]` 249 // (for custom dashboards). 250 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 251} 252 253func (x *GetDashboardRequest) Reset() { 254 *x = GetDashboardRequest{} 255 if protoimpl.UnsafeEnabled { 256 mi := &file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[3] 257 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 258 ms.StoreMessageInfo(mi) 259 } 260} 261 262func (x *GetDashboardRequest) String() string { 263 return protoimpl.X.MessageStringOf(x) 264} 265 266func (*GetDashboardRequest) ProtoMessage() {} 267 268func (x *GetDashboardRequest) ProtoReflect() protoreflect.Message { 269 mi := &file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[3] 270 if protoimpl.UnsafeEnabled && x != nil { 271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 272 if ms.LoadMessageInfo() == nil { 273 ms.StoreMessageInfo(mi) 274 } 275 return ms 276 } 277 return mi.MessageOf(x) 278} 279 280// Deprecated: Use GetDashboardRequest.ProtoReflect.Descriptor instead. 281func (*GetDashboardRequest) Descriptor() ([]byte, []int) { 282 return file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDescGZIP(), []int{3} 283} 284 285func (x *GetDashboardRequest) GetName() string { 286 if x != nil { 287 return x.Name 288 } 289 return "" 290} 291 292// The `DeleteDashboard` request. 293type DeleteDashboardRequest struct { 294 state protoimpl.MessageState 295 sizeCache protoimpl.SizeCache 296 unknownFields protoimpl.UnknownFields 297 298 // Required. The resource name of the Dashboard. The format is: 299 // 300 // projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] 301 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 302} 303 304func (x *DeleteDashboardRequest) Reset() { 305 *x = DeleteDashboardRequest{} 306 if protoimpl.UnsafeEnabled { 307 mi := &file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[4] 308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 309 ms.StoreMessageInfo(mi) 310 } 311} 312 313func (x *DeleteDashboardRequest) String() string { 314 return protoimpl.X.MessageStringOf(x) 315} 316 317func (*DeleteDashboardRequest) ProtoMessage() {} 318 319func (x *DeleteDashboardRequest) ProtoReflect() protoreflect.Message { 320 mi := &file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[4] 321 if protoimpl.UnsafeEnabled && x != nil { 322 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 323 if ms.LoadMessageInfo() == nil { 324 ms.StoreMessageInfo(mi) 325 } 326 return ms 327 } 328 return mi.MessageOf(x) 329} 330 331// Deprecated: Use DeleteDashboardRequest.ProtoReflect.Descriptor instead. 332func (*DeleteDashboardRequest) Descriptor() ([]byte, []int) { 333 return file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDescGZIP(), []int{4} 334} 335 336func (x *DeleteDashboardRequest) GetName() string { 337 if x != nil { 338 return x.Name 339 } 340 return "" 341} 342 343// The `UpdateDashboard` request. 344type UpdateDashboardRequest struct { 345 state protoimpl.MessageState 346 sizeCache protoimpl.SizeCache 347 unknownFields protoimpl.UnknownFields 348 349 // Required. The dashboard that will replace the existing dashboard. 350 Dashboard *Dashboard `protobuf:"bytes,1,opt,name=dashboard,proto3" json:"dashboard,omitempty"` 351} 352 353func (x *UpdateDashboardRequest) Reset() { 354 *x = UpdateDashboardRequest{} 355 if protoimpl.UnsafeEnabled { 356 mi := &file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[5] 357 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 358 ms.StoreMessageInfo(mi) 359 } 360} 361 362func (x *UpdateDashboardRequest) String() string { 363 return protoimpl.X.MessageStringOf(x) 364} 365 366func (*UpdateDashboardRequest) ProtoMessage() {} 367 368func (x *UpdateDashboardRequest) ProtoReflect() protoreflect.Message { 369 mi := &file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[5] 370 if protoimpl.UnsafeEnabled && x != nil { 371 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 372 if ms.LoadMessageInfo() == nil { 373 ms.StoreMessageInfo(mi) 374 } 375 return ms 376 } 377 return mi.MessageOf(x) 378} 379 380// Deprecated: Use UpdateDashboardRequest.ProtoReflect.Descriptor instead. 381func (*UpdateDashboardRequest) Descriptor() ([]byte, []int) { 382 return file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDescGZIP(), []int{5} 383} 384 385func (x *UpdateDashboardRequest) GetDashboard() *Dashboard { 386 if x != nil { 387 return x.Dashboard 388 } 389 return nil 390} 391 392var File_google_monitoring_dashboard_v1_dashboards_service_proto protoreflect.FileDescriptor 393 394var file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDesc = []byte{ 395 0x0a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 396 0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x76, 0x31, 397 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 398 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 399 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 400 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 401 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 402 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 403 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 404 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 405 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 406 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 407 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 408 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 409 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 410 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 411 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 412 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 413 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 414 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x01, 0x0a, 0x16, 415 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 416 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 417 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 418 0x65, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x09, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 419 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 420 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 421 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 422 0x64, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 423 0x64, 0x22, 0xa0, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 424 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x06, 0x70, 425 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 426 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 427 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 428 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 429 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 430 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 431 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 432 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 433 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x8b, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x73, 434 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 435 0x49, 0x0a, 0x0a, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 436 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 437 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 438 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x0a, 439 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 440 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 441 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 442 0x65, 0x6e, 0x22, 0x56, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 443 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 444 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 445 0x23, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 446 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x73, 0x68, 0x62, 447 0x6f, 0x61, 0x72, 0x64, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x59, 0x0a, 0x16, 0x44, 0x65, 448 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 449 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 450 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x6d, 0x6f, 0x6e, 0x69, 451 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 452 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 453 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x66, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 454 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 455 0x4c, 0x0a, 0x09, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 456 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 457 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 458 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x42, 0x03, 0xe0, 459 0x41, 0x02, 0x52, 0x09, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x32, 0xb1, 0x08, 460 0x0a, 0x11, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x53, 0x65, 0x72, 0x76, 461 0x69, 0x63, 0x65, 0x12, 0xab, 0x01, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 462 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 463 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 464 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 465 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 466 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 467 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 468 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 469 0x02, 0x2f, 0x22, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 470 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x73, 0x68, 471 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x3a, 0x09, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 472 0x64, 0x12, 0xab, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 473 0x61, 0x72, 0x64, 0x73, 0x12, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 474 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 475 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 476 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x6f, 477 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 478 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 479 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 480 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, 481 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 482 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x12, 483 0x9a, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 484 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 485 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 486 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 487 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 488 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 489 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 490 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 491 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 492 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x8d, 0x01, 0x0a, 493 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 494 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 495 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 496 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 497 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 498 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 499 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x2a, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 500 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 501 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb5, 0x01, 0x0a, 502 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 503 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 504 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 505 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 506 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 507 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 508 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 509 0x61, 0x72, 0x64, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x32, 0x2c, 0x2f, 0x76, 0x31, 510 0x2f, 0x7b, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 511 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x73, 0x68, 512 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x09, 0x64, 0x61, 0x73, 0x68, 0x62, 513 0x6f, 0x61, 0x72, 0x64, 0x1a, 0xda, 0x01, 0xca, 0x41, 0x19, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 514 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 515 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0xba, 0x01, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 516 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 517 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 518 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 519 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 520 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 521 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 522 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 523 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x72, 0x65, 0x61, 0x64, 524 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 525 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 526 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x77, 0x72, 0x69, 0x74, 527 0x65, 0x42, 0xd9, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 528 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 529 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x42, 0x16, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 530 0x61, 0x72, 0x64, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 531 0x50, 0x01, 0x5a, 0x47, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 532 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 533 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 534 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x76, 535 0x31, 0x3b, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0xca, 0x02, 0x24, 0x47, 0x6f, 536 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 537 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x5c, 538 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 539 0x75, 0x64, 0x3a, 0x3a, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 540 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 541 0x72, 0x6f, 0x74, 0x6f, 0x33, 542} 543 544var ( 545 file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDescOnce sync.Once 546 file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDescData = file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDesc 547) 548 549func file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDescGZIP() []byte { 550 file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDescOnce.Do(func() { 551 file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDescData) 552 }) 553 return file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDescData 554} 555 556var file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 557var file_google_monitoring_dashboard_v1_dashboards_service_proto_goTypes = []interface{}{ 558 (*CreateDashboardRequest)(nil), // 0: google.monitoring.dashboard.v1.CreateDashboardRequest 559 (*ListDashboardsRequest)(nil), // 1: google.monitoring.dashboard.v1.ListDashboardsRequest 560 (*ListDashboardsResponse)(nil), // 2: google.monitoring.dashboard.v1.ListDashboardsResponse 561 (*GetDashboardRequest)(nil), // 3: google.monitoring.dashboard.v1.GetDashboardRequest 562 (*DeleteDashboardRequest)(nil), // 4: google.monitoring.dashboard.v1.DeleteDashboardRequest 563 (*UpdateDashboardRequest)(nil), // 5: google.monitoring.dashboard.v1.UpdateDashboardRequest 564 (*Dashboard)(nil), // 6: google.monitoring.dashboard.v1.Dashboard 565 (*emptypb.Empty)(nil), // 7: google.protobuf.Empty 566} 567var file_google_monitoring_dashboard_v1_dashboards_service_proto_depIdxs = []int32{ 568 6, // 0: google.monitoring.dashboard.v1.CreateDashboardRequest.dashboard:type_name -> google.monitoring.dashboard.v1.Dashboard 569 6, // 1: google.monitoring.dashboard.v1.ListDashboardsResponse.dashboards:type_name -> google.monitoring.dashboard.v1.Dashboard 570 6, // 2: google.monitoring.dashboard.v1.UpdateDashboardRequest.dashboard:type_name -> google.monitoring.dashboard.v1.Dashboard 571 0, // 3: google.monitoring.dashboard.v1.DashboardsService.CreateDashboard:input_type -> google.monitoring.dashboard.v1.CreateDashboardRequest 572 1, // 4: google.monitoring.dashboard.v1.DashboardsService.ListDashboards:input_type -> google.monitoring.dashboard.v1.ListDashboardsRequest 573 3, // 5: google.monitoring.dashboard.v1.DashboardsService.GetDashboard:input_type -> google.monitoring.dashboard.v1.GetDashboardRequest 574 4, // 6: google.monitoring.dashboard.v1.DashboardsService.DeleteDashboard:input_type -> google.monitoring.dashboard.v1.DeleteDashboardRequest 575 5, // 7: google.monitoring.dashboard.v1.DashboardsService.UpdateDashboard:input_type -> google.monitoring.dashboard.v1.UpdateDashboardRequest 576 6, // 8: google.monitoring.dashboard.v1.DashboardsService.CreateDashboard:output_type -> google.monitoring.dashboard.v1.Dashboard 577 2, // 9: google.monitoring.dashboard.v1.DashboardsService.ListDashboards:output_type -> google.monitoring.dashboard.v1.ListDashboardsResponse 578 6, // 10: google.monitoring.dashboard.v1.DashboardsService.GetDashboard:output_type -> google.monitoring.dashboard.v1.Dashboard 579 7, // 11: google.monitoring.dashboard.v1.DashboardsService.DeleteDashboard:output_type -> google.protobuf.Empty 580 6, // 12: google.monitoring.dashboard.v1.DashboardsService.UpdateDashboard:output_type -> google.monitoring.dashboard.v1.Dashboard 581 8, // [8:13] is the sub-list for method output_type 582 3, // [3:8] is the sub-list for method input_type 583 3, // [3:3] is the sub-list for extension type_name 584 3, // [3:3] is the sub-list for extension extendee 585 0, // [0:3] is the sub-list for field type_name 586} 587 588func init() { file_google_monitoring_dashboard_v1_dashboards_service_proto_init() } 589func file_google_monitoring_dashboard_v1_dashboards_service_proto_init() { 590 if File_google_monitoring_dashboard_v1_dashboards_service_proto != nil { 591 return 592 } 593 file_google_monitoring_dashboard_v1_dashboard_proto_init() 594 if !protoimpl.UnsafeEnabled { 595 file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 596 switch v := v.(*CreateDashboardRequest); i { 597 case 0: 598 return &v.state 599 case 1: 600 return &v.sizeCache 601 case 2: 602 return &v.unknownFields 603 default: 604 return nil 605 } 606 } 607 file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 608 switch v := v.(*ListDashboardsRequest); i { 609 case 0: 610 return &v.state 611 case 1: 612 return &v.sizeCache 613 case 2: 614 return &v.unknownFields 615 default: 616 return nil 617 } 618 } 619 file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 620 switch v := v.(*ListDashboardsResponse); i { 621 case 0: 622 return &v.state 623 case 1: 624 return &v.sizeCache 625 case 2: 626 return &v.unknownFields 627 default: 628 return nil 629 } 630 } 631 file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 632 switch v := v.(*GetDashboardRequest); i { 633 case 0: 634 return &v.state 635 case 1: 636 return &v.sizeCache 637 case 2: 638 return &v.unknownFields 639 default: 640 return nil 641 } 642 } 643 file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 644 switch v := v.(*DeleteDashboardRequest); i { 645 case 0: 646 return &v.state 647 case 1: 648 return &v.sizeCache 649 case 2: 650 return &v.unknownFields 651 default: 652 return nil 653 } 654 } 655 file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 656 switch v := v.(*UpdateDashboardRequest); i { 657 case 0: 658 return &v.state 659 case 1: 660 return &v.sizeCache 661 case 2: 662 return &v.unknownFields 663 default: 664 return nil 665 } 666 } 667 } 668 type x struct{} 669 out := protoimpl.TypeBuilder{ 670 File: protoimpl.DescBuilder{ 671 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 672 RawDescriptor: file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDesc, 673 NumEnums: 0, 674 NumMessages: 6, 675 NumExtensions: 0, 676 NumServices: 1, 677 }, 678 GoTypes: file_google_monitoring_dashboard_v1_dashboards_service_proto_goTypes, 679 DependencyIndexes: file_google_monitoring_dashboard_v1_dashboards_service_proto_depIdxs, 680 MessageInfos: file_google_monitoring_dashboard_v1_dashboards_service_proto_msgTypes, 681 }.Build() 682 File_google_monitoring_dashboard_v1_dashboards_service_proto = out.File 683 file_google_monitoring_dashboard_v1_dashboards_service_proto_rawDesc = nil 684 file_google_monitoring_dashboard_v1_dashboards_service_proto_goTypes = nil 685 file_google_monitoring_dashboard_v1_dashboards_service_proto_depIdxs = nil 686} 687 688// Reference imports to suppress errors if they are not otherwise used. 689var _ context.Context 690var _ grpc.ClientConnInterface 691 692// This is a compile-time assertion to ensure that this generated file 693// is compatible with the grpc package it is being compiled against. 694const _ = grpc.SupportPackageIsVersion6 695 696// DashboardsServiceClient is the client API for DashboardsService service. 697// 698// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 699type DashboardsServiceClient interface { 700 // Creates a new custom dashboard. For examples on how you can use this API to 701 // create dashboards, see [Managing dashboards by 702 // API](https://cloud.google.com/monitoring/dashboards/api-dashboard). This method requires the 703 // `monitoring.dashboards.create` permission on the specified project. For 704 // more information about permissions, see [Cloud Identity and Access 705 // Management](https://cloud.google.com/iam). 706 CreateDashboard(ctx context.Context, in *CreateDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error) 707 // Lists the existing dashboards. 708 // 709 // This method requires the `monitoring.dashboards.list` permission 710 // on the specified project. For more information, see 711 // [Cloud Identity and Access Management](https://cloud.google.com/iam). 712 ListDashboards(ctx context.Context, in *ListDashboardsRequest, opts ...grpc.CallOption) (*ListDashboardsResponse, error) 713 // Fetches a specific dashboard. 714 // 715 // This method requires the `monitoring.dashboards.get` permission 716 // on the specified dashboard. For more information, see 717 // [Cloud Identity and Access Management](https://cloud.google.com/iam). 718 GetDashboard(ctx context.Context, in *GetDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error) 719 // Deletes an existing custom dashboard. 720 // 721 // This method requires the `monitoring.dashboards.delete` permission 722 // on the specified dashboard. For more information, see 723 // [Cloud Identity and Access Management](https://cloud.google.com/iam). 724 DeleteDashboard(ctx context.Context, in *DeleteDashboardRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 725 // Replaces an existing custom dashboard with a new definition. 726 // 727 // This method requires the `monitoring.dashboards.update` permission 728 // on the specified dashboard. For more information, see 729 // [Cloud Identity and Access Management](https://cloud.google.com/iam). 730 UpdateDashboard(ctx context.Context, in *UpdateDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error) 731} 732 733type dashboardsServiceClient struct { 734 cc grpc.ClientConnInterface 735} 736 737func NewDashboardsServiceClient(cc grpc.ClientConnInterface) DashboardsServiceClient { 738 return &dashboardsServiceClient{cc} 739} 740 741func (c *dashboardsServiceClient) CreateDashboard(ctx context.Context, in *CreateDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error) { 742 out := new(Dashboard) 743 err := c.cc.Invoke(ctx, "/google.monitoring.dashboard.v1.DashboardsService/CreateDashboard", in, out, opts...) 744 if err != nil { 745 return nil, err 746 } 747 return out, nil 748} 749 750func (c *dashboardsServiceClient) ListDashboards(ctx context.Context, in *ListDashboardsRequest, opts ...grpc.CallOption) (*ListDashboardsResponse, error) { 751 out := new(ListDashboardsResponse) 752 err := c.cc.Invoke(ctx, "/google.monitoring.dashboard.v1.DashboardsService/ListDashboards", in, out, opts...) 753 if err != nil { 754 return nil, err 755 } 756 return out, nil 757} 758 759func (c *dashboardsServiceClient) GetDashboard(ctx context.Context, in *GetDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error) { 760 out := new(Dashboard) 761 err := c.cc.Invoke(ctx, "/google.monitoring.dashboard.v1.DashboardsService/GetDashboard", in, out, opts...) 762 if err != nil { 763 return nil, err 764 } 765 return out, nil 766} 767 768func (c *dashboardsServiceClient) DeleteDashboard(ctx context.Context, in *DeleteDashboardRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 769 out := new(emptypb.Empty) 770 err := c.cc.Invoke(ctx, "/google.monitoring.dashboard.v1.DashboardsService/DeleteDashboard", in, out, opts...) 771 if err != nil { 772 return nil, err 773 } 774 return out, nil 775} 776 777func (c *dashboardsServiceClient) UpdateDashboard(ctx context.Context, in *UpdateDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error) { 778 out := new(Dashboard) 779 err := c.cc.Invoke(ctx, "/google.monitoring.dashboard.v1.DashboardsService/UpdateDashboard", in, out, opts...) 780 if err != nil { 781 return nil, err 782 } 783 return out, nil 784} 785 786// DashboardsServiceServer is the server API for DashboardsService service. 787type DashboardsServiceServer interface { 788 // Creates a new custom dashboard. For examples on how you can use this API to 789 // create dashboards, see [Managing dashboards by 790 // API](https://cloud.google.com/monitoring/dashboards/api-dashboard). This method requires the 791 // `monitoring.dashboards.create` permission on the specified project. For 792 // more information about permissions, see [Cloud Identity and Access 793 // Management](https://cloud.google.com/iam). 794 CreateDashboard(context.Context, *CreateDashboardRequest) (*Dashboard, error) 795 // Lists the existing dashboards. 796 // 797 // This method requires the `monitoring.dashboards.list` permission 798 // on the specified project. For more information, see 799 // [Cloud Identity and Access Management](https://cloud.google.com/iam). 800 ListDashboards(context.Context, *ListDashboardsRequest) (*ListDashboardsResponse, error) 801 // Fetches a specific dashboard. 802 // 803 // This method requires the `monitoring.dashboards.get` permission 804 // on the specified dashboard. For more information, see 805 // [Cloud Identity and Access Management](https://cloud.google.com/iam). 806 GetDashboard(context.Context, *GetDashboardRequest) (*Dashboard, error) 807 // Deletes an existing custom dashboard. 808 // 809 // This method requires the `monitoring.dashboards.delete` permission 810 // on the specified dashboard. For more information, see 811 // [Cloud Identity and Access Management](https://cloud.google.com/iam). 812 DeleteDashboard(context.Context, *DeleteDashboardRequest) (*emptypb.Empty, error) 813 // Replaces an existing custom dashboard with a new definition. 814 // 815 // This method requires the `monitoring.dashboards.update` permission 816 // on the specified dashboard. For more information, see 817 // [Cloud Identity and Access Management](https://cloud.google.com/iam). 818 UpdateDashboard(context.Context, *UpdateDashboardRequest) (*Dashboard, error) 819} 820 821// UnimplementedDashboardsServiceServer can be embedded to have forward compatible implementations. 822type UnimplementedDashboardsServiceServer struct { 823} 824 825func (*UnimplementedDashboardsServiceServer) CreateDashboard(context.Context, *CreateDashboardRequest) (*Dashboard, error) { 826 return nil, status.Errorf(codes.Unimplemented, "method CreateDashboard not implemented") 827} 828func (*UnimplementedDashboardsServiceServer) ListDashboards(context.Context, *ListDashboardsRequest) (*ListDashboardsResponse, error) { 829 return nil, status.Errorf(codes.Unimplemented, "method ListDashboards not implemented") 830} 831func (*UnimplementedDashboardsServiceServer) GetDashboard(context.Context, *GetDashboardRequest) (*Dashboard, error) { 832 return nil, status.Errorf(codes.Unimplemented, "method GetDashboard not implemented") 833} 834func (*UnimplementedDashboardsServiceServer) DeleteDashboard(context.Context, *DeleteDashboardRequest) (*emptypb.Empty, error) { 835 return nil, status.Errorf(codes.Unimplemented, "method DeleteDashboard not implemented") 836} 837func (*UnimplementedDashboardsServiceServer) UpdateDashboard(context.Context, *UpdateDashboardRequest) (*Dashboard, error) { 838 return nil, status.Errorf(codes.Unimplemented, "method UpdateDashboard not implemented") 839} 840 841func RegisterDashboardsServiceServer(s *grpc.Server, srv DashboardsServiceServer) { 842 s.RegisterService(&_DashboardsService_serviceDesc, srv) 843} 844 845func _DashboardsService_CreateDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 846 in := new(CreateDashboardRequest) 847 if err := dec(in); err != nil { 848 return nil, err 849 } 850 if interceptor == nil { 851 return srv.(DashboardsServiceServer).CreateDashboard(ctx, in) 852 } 853 info := &grpc.UnaryServerInfo{ 854 Server: srv, 855 FullMethod: "/google.monitoring.dashboard.v1.DashboardsService/CreateDashboard", 856 } 857 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 858 return srv.(DashboardsServiceServer).CreateDashboard(ctx, req.(*CreateDashboardRequest)) 859 } 860 return interceptor(ctx, in, info, handler) 861} 862 863func _DashboardsService_ListDashboards_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 864 in := new(ListDashboardsRequest) 865 if err := dec(in); err != nil { 866 return nil, err 867 } 868 if interceptor == nil { 869 return srv.(DashboardsServiceServer).ListDashboards(ctx, in) 870 } 871 info := &grpc.UnaryServerInfo{ 872 Server: srv, 873 FullMethod: "/google.monitoring.dashboard.v1.DashboardsService/ListDashboards", 874 } 875 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 876 return srv.(DashboardsServiceServer).ListDashboards(ctx, req.(*ListDashboardsRequest)) 877 } 878 return interceptor(ctx, in, info, handler) 879} 880 881func _DashboardsService_GetDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 882 in := new(GetDashboardRequest) 883 if err := dec(in); err != nil { 884 return nil, err 885 } 886 if interceptor == nil { 887 return srv.(DashboardsServiceServer).GetDashboard(ctx, in) 888 } 889 info := &grpc.UnaryServerInfo{ 890 Server: srv, 891 FullMethod: "/google.monitoring.dashboard.v1.DashboardsService/GetDashboard", 892 } 893 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 894 return srv.(DashboardsServiceServer).GetDashboard(ctx, req.(*GetDashboardRequest)) 895 } 896 return interceptor(ctx, in, info, handler) 897} 898 899func _DashboardsService_DeleteDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 900 in := new(DeleteDashboardRequest) 901 if err := dec(in); err != nil { 902 return nil, err 903 } 904 if interceptor == nil { 905 return srv.(DashboardsServiceServer).DeleteDashboard(ctx, in) 906 } 907 info := &grpc.UnaryServerInfo{ 908 Server: srv, 909 FullMethod: "/google.monitoring.dashboard.v1.DashboardsService/DeleteDashboard", 910 } 911 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 912 return srv.(DashboardsServiceServer).DeleteDashboard(ctx, req.(*DeleteDashboardRequest)) 913 } 914 return interceptor(ctx, in, info, handler) 915} 916 917func _DashboardsService_UpdateDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 918 in := new(UpdateDashboardRequest) 919 if err := dec(in); err != nil { 920 return nil, err 921 } 922 if interceptor == nil { 923 return srv.(DashboardsServiceServer).UpdateDashboard(ctx, in) 924 } 925 info := &grpc.UnaryServerInfo{ 926 Server: srv, 927 FullMethod: "/google.monitoring.dashboard.v1.DashboardsService/UpdateDashboard", 928 } 929 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 930 return srv.(DashboardsServiceServer).UpdateDashboard(ctx, req.(*UpdateDashboardRequest)) 931 } 932 return interceptor(ctx, in, info, handler) 933} 934 935var _DashboardsService_serviceDesc = grpc.ServiceDesc{ 936 ServiceName: "google.monitoring.dashboard.v1.DashboardsService", 937 HandlerType: (*DashboardsServiceServer)(nil), 938 Methods: []grpc.MethodDesc{ 939 { 940 MethodName: "CreateDashboard", 941 Handler: _DashboardsService_CreateDashboard_Handler, 942 }, 943 { 944 MethodName: "ListDashboards", 945 Handler: _DashboardsService_ListDashboards_Handler, 946 }, 947 { 948 MethodName: "GetDashboard", 949 Handler: _DashboardsService_GetDashboard_Handler, 950 }, 951 { 952 MethodName: "DeleteDashboard", 953 Handler: _DashboardsService_DeleteDashboard_Handler, 954 }, 955 { 956 MethodName: "UpdateDashboard", 957 Handler: _DashboardsService_UpdateDashboard_Handler, 958 }, 959 }, 960 Streams: []grpc.StreamDesc{}, 961 Metadata: "google/monitoring/dashboard/v1/dashboards_service.proto", 962} 963