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/v3/alert_service.proto 20 21package monitoring 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 fieldmaskpb "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 protocol for the `CreateAlertPolicy` request. 46type CreateAlertPolicyRequest struct { 47 state protoimpl.MessageState 48 sizeCache protoimpl.SizeCache 49 unknownFields protoimpl.UnknownFields 50 51 // Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in 52 // which to create the alerting policy. The format is: 53 // 54 // projects/[PROJECT_ID_OR_NUMBER] 55 // 56 // Note that this field names the parent container in which the alerting 57 // policy will be written, not the name of the created policy. |name| must be 58 // a host project of a workspace, otherwise INVALID_ARGUMENT error will 59 // return. The alerting policy that is returned will have a name that contains 60 // a normalized representation of this name as a prefix but adds a suffix of 61 // the form `/alertPolicies/[ALERT_POLICY_ID]`, identifying the policy in the 62 // container. 63 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 64 // Required. The requested alerting policy. You should omit the `name` field in this 65 // policy. The name will be returned in the new policy, including 66 // a new `[ALERT_POLICY_ID]` value. 67 AlertPolicy *AlertPolicy `protobuf:"bytes,2,opt,name=alert_policy,json=alertPolicy,proto3" json:"alert_policy,omitempty"` 68} 69 70func (x *CreateAlertPolicyRequest) Reset() { 71 *x = CreateAlertPolicyRequest{} 72 if protoimpl.UnsafeEnabled { 73 mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[0] 74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 75 ms.StoreMessageInfo(mi) 76 } 77} 78 79func (x *CreateAlertPolicyRequest) String() string { 80 return protoimpl.X.MessageStringOf(x) 81} 82 83func (*CreateAlertPolicyRequest) ProtoMessage() {} 84 85func (x *CreateAlertPolicyRequest) ProtoReflect() protoreflect.Message { 86 mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[0] 87 if protoimpl.UnsafeEnabled && x != nil { 88 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 89 if ms.LoadMessageInfo() == nil { 90 ms.StoreMessageInfo(mi) 91 } 92 return ms 93 } 94 return mi.MessageOf(x) 95} 96 97// Deprecated: Use CreateAlertPolicyRequest.ProtoReflect.Descriptor instead. 98func (*CreateAlertPolicyRequest) Descriptor() ([]byte, []int) { 99 return file_google_monitoring_v3_alert_service_proto_rawDescGZIP(), []int{0} 100} 101 102func (x *CreateAlertPolicyRequest) GetName() string { 103 if x != nil { 104 return x.Name 105 } 106 return "" 107} 108 109func (x *CreateAlertPolicyRequest) GetAlertPolicy() *AlertPolicy { 110 if x != nil { 111 return x.AlertPolicy 112 } 113 return nil 114} 115 116// The protocol for the `GetAlertPolicy` request. 117type GetAlertPolicyRequest struct { 118 state protoimpl.MessageState 119 sizeCache protoimpl.SizeCache 120 unknownFields protoimpl.UnknownFields 121 122 // Required. The alerting policy to retrieve. The format is: 123 // 124 // projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] 125 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 126} 127 128func (x *GetAlertPolicyRequest) Reset() { 129 *x = GetAlertPolicyRequest{} 130 if protoimpl.UnsafeEnabled { 131 mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[1] 132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 133 ms.StoreMessageInfo(mi) 134 } 135} 136 137func (x *GetAlertPolicyRequest) String() string { 138 return protoimpl.X.MessageStringOf(x) 139} 140 141func (*GetAlertPolicyRequest) ProtoMessage() {} 142 143func (x *GetAlertPolicyRequest) ProtoReflect() protoreflect.Message { 144 mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[1] 145 if protoimpl.UnsafeEnabled && x != nil { 146 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 147 if ms.LoadMessageInfo() == nil { 148 ms.StoreMessageInfo(mi) 149 } 150 return ms 151 } 152 return mi.MessageOf(x) 153} 154 155// Deprecated: Use GetAlertPolicyRequest.ProtoReflect.Descriptor instead. 156func (*GetAlertPolicyRequest) Descriptor() ([]byte, []int) { 157 return file_google_monitoring_v3_alert_service_proto_rawDescGZIP(), []int{1} 158} 159 160func (x *GetAlertPolicyRequest) GetName() string { 161 if x != nil { 162 return x.Name 163 } 164 return "" 165} 166 167// The protocol for the `ListAlertPolicies` request. 168type ListAlertPoliciesRequest struct { 169 state protoimpl.MessageState 170 sizeCache protoimpl.SizeCache 171 unknownFields protoimpl.UnknownFields 172 173 // Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) 174 // whose alert policies are to be listed. The format is: 175 // 176 // projects/[PROJECT_ID_OR_NUMBER] 177 // 178 // Note that this field names the parent container in which the alerting 179 // policies to be listed are stored. To retrieve a single alerting policy 180 // by name, use the 181 // [GetAlertPolicy][google.monitoring.v3.AlertPolicyService.GetAlertPolicy] 182 // operation, instead. 183 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` 184 // If provided, this field specifies the criteria that must be met by 185 // alert policies to be included in the response. 186 // 187 // For more details, see [sorting and 188 // filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering). 189 Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` 190 // A comma-separated list of fields by which to sort the result. Supports 191 // the same set of field references as the `filter` field. Entries can be 192 // prefixed with a minus sign to sort by the field in descending order. 193 // 194 // For more details, see [sorting and 195 // filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering). 196 OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` 197 // The maximum number of results to return in a single response. 198 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 199 // If this field is not empty then it must contain the `nextPageToken` value 200 // returned by a previous call to this method. Using this field causes the 201 // method to return more results from the previous method call. 202 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 203} 204 205func (x *ListAlertPoliciesRequest) Reset() { 206 *x = ListAlertPoliciesRequest{} 207 if protoimpl.UnsafeEnabled { 208 mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[2] 209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 210 ms.StoreMessageInfo(mi) 211 } 212} 213 214func (x *ListAlertPoliciesRequest) String() string { 215 return protoimpl.X.MessageStringOf(x) 216} 217 218func (*ListAlertPoliciesRequest) ProtoMessage() {} 219 220func (x *ListAlertPoliciesRequest) ProtoReflect() protoreflect.Message { 221 mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[2] 222 if protoimpl.UnsafeEnabled && x != nil { 223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 224 if ms.LoadMessageInfo() == nil { 225 ms.StoreMessageInfo(mi) 226 } 227 return ms 228 } 229 return mi.MessageOf(x) 230} 231 232// Deprecated: Use ListAlertPoliciesRequest.ProtoReflect.Descriptor instead. 233func (*ListAlertPoliciesRequest) Descriptor() ([]byte, []int) { 234 return file_google_monitoring_v3_alert_service_proto_rawDescGZIP(), []int{2} 235} 236 237func (x *ListAlertPoliciesRequest) GetName() string { 238 if x != nil { 239 return x.Name 240 } 241 return "" 242} 243 244func (x *ListAlertPoliciesRequest) GetFilter() string { 245 if x != nil { 246 return x.Filter 247 } 248 return "" 249} 250 251func (x *ListAlertPoliciesRequest) GetOrderBy() string { 252 if x != nil { 253 return x.OrderBy 254 } 255 return "" 256} 257 258func (x *ListAlertPoliciesRequest) GetPageSize() int32 { 259 if x != nil { 260 return x.PageSize 261 } 262 return 0 263} 264 265func (x *ListAlertPoliciesRequest) GetPageToken() string { 266 if x != nil { 267 return x.PageToken 268 } 269 return "" 270} 271 272// The protocol for the `ListAlertPolicies` response. 273type ListAlertPoliciesResponse struct { 274 state protoimpl.MessageState 275 sizeCache protoimpl.SizeCache 276 unknownFields protoimpl.UnknownFields 277 278 // The returned alert policies. 279 AlertPolicies []*AlertPolicy `protobuf:"bytes,3,rep,name=alert_policies,json=alertPolicies,proto3" json:"alert_policies,omitempty"` 280 // If there might be more results than were returned, then this field is set 281 // to a non-empty value. To see the additional results, 282 // use that value as `page_token` in the next call to this method. 283 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 284 // The total number of alert policies in all pages. This number is only an 285 // estimate, and may change in subsequent pages. https://aip.dev/158 286 TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` 287} 288 289func (x *ListAlertPoliciesResponse) Reset() { 290 *x = ListAlertPoliciesResponse{} 291 if protoimpl.UnsafeEnabled { 292 mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[3] 293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 294 ms.StoreMessageInfo(mi) 295 } 296} 297 298func (x *ListAlertPoliciesResponse) String() string { 299 return protoimpl.X.MessageStringOf(x) 300} 301 302func (*ListAlertPoliciesResponse) ProtoMessage() {} 303 304func (x *ListAlertPoliciesResponse) ProtoReflect() protoreflect.Message { 305 mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[3] 306 if protoimpl.UnsafeEnabled && x != nil { 307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 308 if ms.LoadMessageInfo() == nil { 309 ms.StoreMessageInfo(mi) 310 } 311 return ms 312 } 313 return mi.MessageOf(x) 314} 315 316// Deprecated: Use ListAlertPoliciesResponse.ProtoReflect.Descriptor instead. 317func (*ListAlertPoliciesResponse) Descriptor() ([]byte, []int) { 318 return file_google_monitoring_v3_alert_service_proto_rawDescGZIP(), []int{3} 319} 320 321func (x *ListAlertPoliciesResponse) GetAlertPolicies() []*AlertPolicy { 322 if x != nil { 323 return x.AlertPolicies 324 } 325 return nil 326} 327 328func (x *ListAlertPoliciesResponse) GetNextPageToken() string { 329 if x != nil { 330 return x.NextPageToken 331 } 332 return "" 333} 334 335func (x *ListAlertPoliciesResponse) GetTotalSize() int32 { 336 if x != nil { 337 return x.TotalSize 338 } 339 return 0 340} 341 342// The protocol for the `UpdateAlertPolicy` request. 343type UpdateAlertPolicyRequest struct { 344 state protoimpl.MessageState 345 sizeCache protoimpl.SizeCache 346 unknownFields protoimpl.UnknownFields 347 348 // Optional. A list of alerting policy field names. If this field is not 349 // empty, each listed field in the existing alerting policy is set to the 350 // value of the corresponding field in the supplied policy (`alert_policy`), 351 // or to the field's default value if the field is not in the supplied 352 // alerting policy. Fields not listed retain their previous value. 353 // 354 // Examples of valid field masks include `display_name`, `documentation`, 355 // `documentation.content`, `documentation.mime_type`, `user_labels`, 356 // `user_label.nameofkey`, `enabled`, `conditions`, `combiner`, etc. 357 // 358 // If this field is empty, then the supplied alerting policy replaces the 359 // existing policy. It is the same as deleting the existing policy and 360 // adding the supplied policy, except for the following: 361 // 362 // + The new policy will have the same `[ALERT_POLICY_ID]` as the former 363 // policy. This gives you continuity with the former policy in your 364 // notifications and incidents. 365 // + Conditions in the new policy will keep their former `[CONDITION_ID]` if 366 // the supplied condition includes the `name` field with that 367 // `[CONDITION_ID]`. If the supplied condition omits the `name` field, 368 // then a new `[CONDITION_ID]` is created. 369 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 370 // Required. The updated alerting policy or the updated values for the 371 // fields listed in `update_mask`. 372 // If `update_mask` is not empty, any fields in this policy that are 373 // not in `update_mask` are ignored. 374 AlertPolicy *AlertPolicy `protobuf:"bytes,3,opt,name=alert_policy,json=alertPolicy,proto3" json:"alert_policy,omitempty"` 375} 376 377func (x *UpdateAlertPolicyRequest) Reset() { 378 *x = UpdateAlertPolicyRequest{} 379 if protoimpl.UnsafeEnabled { 380 mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[4] 381 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 382 ms.StoreMessageInfo(mi) 383 } 384} 385 386func (x *UpdateAlertPolicyRequest) String() string { 387 return protoimpl.X.MessageStringOf(x) 388} 389 390func (*UpdateAlertPolicyRequest) ProtoMessage() {} 391 392func (x *UpdateAlertPolicyRequest) ProtoReflect() protoreflect.Message { 393 mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[4] 394 if protoimpl.UnsafeEnabled && x != nil { 395 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 396 if ms.LoadMessageInfo() == nil { 397 ms.StoreMessageInfo(mi) 398 } 399 return ms 400 } 401 return mi.MessageOf(x) 402} 403 404// Deprecated: Use UpdateAlertPolicyRequest.ProtoReflect.Descriptor instead. 405func (*UpdateAlertPolicyRequest) Descriptor() ([]byte, []int) { 406 return file_google_monitoring_v3_alert_service_proto_rawDescGZIP(), []int{4} 407} 408 409func (x *UpdateAlertPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 410 if x != nil { 411 return x.UpdateMask 412 } 413 return nil 414} 415 416func (x *UpdateAlertPolicyRequest) GetAlertPolicy() *AlertPolicy { 417 if x != nil { 418 return x.AlertPolicy 419 } 420 return nil 421} 422 423// The protocol for the `DeleteAlertPolicy` request. 424type DeleteAlertPolicyRequest struct { 425 state protoimpl.MessageState 426 sizeCache protoimpl.SizeCache 427 unknownFields protoimpl.UnknownFields 428 429 // Required. The alerting policy to delete. The format is: 430 // 431 // projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] 432 // 433 // For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy]. 434 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 435} 436 437func (x *DeleteAlertPolicyRequest) Reset() { 438 *x = DeleteAlertPolicyRequest{} 439 if protoimpl.UnsafeEnabled { 440 mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[5] 441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 442 ms.StoreMessageInfo(mi) 443 } 444} 445 446func (x *DeleteAlertPolicyRequest) String() string { 447 return protoimpl.X.MessageStringOf(x) 448} 449 450func (*DeleteAlertPolicyRequest) ProtoMessage() {} 451 452func (x *DeleteAlertPolicyRequest) ProtoReflect() protoreflect.Message { 453 mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[5] 454 if protoimpl.UnsafeEnabled && x != nil { 455 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 456 if ms.LoadMessageInfo() == nil { 457 ms.StoreMessageInfo(mi) 458 } 459 return ms 460 } 461 return mi.MessageOf(x) 462} 463 464// Deprecated: Use DeleteAlertPolicyRequest.ProtoReflect.Descriptor instead. 465func (*DeleteAlertPolicyRequest) Descriptor() ([]byte, []int) { 466 return file_google_monitoring_v3_alert_service_proto_rawDescGZIP(), []int{5} 467} 468 469func (x *DeleteAlertPolicyRequest) GetName() string { 470 if x != nil { 471 return x.Name 472 } 473 return "" 474} 475 476var File_google_monitoring_v3_alert_service_proto protoreflect.FileDescriptor 477 478var file_google_monitoring_v3_alert_service_proto_rawDesc = []byte{ 479 0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 480 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x65, 0x72, 481 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x67, 0x6f, 0x6f, 0x67, 482 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 483 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 484 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 485 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 486 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 487 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 488 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 489 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 490 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 491 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x2e, 492 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 493 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 494 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 495 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 496 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x01, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 497 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 498 0x74, 0x12, 0x41, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 499 0x2d, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x27, 0x12, 0x25, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 500 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 501 0x6f, 0x6d, 0x2f, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 502 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x6f, 503 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 504 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 505 0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 506 0x41, 0x02, 0x52, 0x0b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 507 0x5a, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 508 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 509 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2d, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x27, 0x0a, 0x25, 510 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 511 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 512 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xcc, 0x01, 0x0a, 0x18, 513 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 514 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 515 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2d, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x27, 0x12, 0x25, 516 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 517 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 518 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 519 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 520 0x74, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 521 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x1b, 522 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 523 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 524 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 525 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xac, 0x01, 0x0a, 0x19, 0x4c, 526 0x69, 0x73, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 527 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0e, 0x61, 0x6c, 0x65, 0x72, 528 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 529 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 530 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 531 0x69, 0x63, 0x79, 0x52, 0x0d, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 532 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 533 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 534 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 535 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 536 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, 0xa2, 0x01, 0x0a, 0x18, 0x55, 0x70, 537 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 538 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 539 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 540 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 541 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 542 0x61, 0x73, 0x6b, 0x12, 0x49, 0x0a, 0x0c, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 543 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 544 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 545 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 546 0x02, 0x52, 0x0b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x5d, 547 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 548 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x04, 0x6e, 0x61, 549 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2d, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x27, 550 0x0a, 0x25, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 551 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x6c, 0x65, 0x72, 552 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0x9e, 0x08, 553 0x0a, 0x12, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x72, 554 0x76, 0x69, 0x63, 0x65, 0x12, 0xa8, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x65, 555 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 556 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 557 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 558 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 559 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 560 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 561 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x82, 0xd3, 0xe4, 562 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 563 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 564 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 565 0x96, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 566 0x63, 0x79, 0x12, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 567 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 568 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 569 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 570 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 571 0x63, 0x79, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x76, 0x33, 0x2f, 572 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 573 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2a, 574 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xb5, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 575 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2e, 576 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 577 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 578 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 579 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 580 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 581 0x79, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x23, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 582 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 583 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x3a, 0x0c, 584 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0xda, 0x41, 0x11, 0x6e, 585 0x61, 0x6d, 0x65, 0x2c, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 586 0x12, 0x91, 0x01, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 587 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 588 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x65, 589 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 590 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 591 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x34, 592 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x2a, 0x25, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 593 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x6c, 0x65, 594 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 595 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xcb, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 596 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 597 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 598 0x33, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 599 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 600 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 601 0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x63, 0x82, 602 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x32, 0x32, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x61, 0x6c, 0x65, 0x72, 603 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 604 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 605 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x0c, 0x61, 0x6c, 0x65, 0x72, 0x74, 606 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0xda, 0x41, 0x18, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 607 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2c, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 608 0x63, 0x79, 0x1a, 0xa9, 0x01, 0xca, 0x41, 0x19, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 609 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 610 0x6d, 0xd2, 0x41, 0x89, 0x01, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 611 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 612 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 613 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 614 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 615 0x75, 0x74, 0x68, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2c, 0x68, 616 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 617 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x6d, 618 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x72, 0x65, 0x61, 0x64, 0x42, 0xc9, 619 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 620 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x42, 0x11, 0x41, 0x6c, 0x65, 621 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 622 0x5a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 623 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 624 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 625 0x6e, 0x67, 0x2f, 0x76, 0x33, 0x3b, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 626 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 627 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x1a, 628 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4d, 0x6f, 0x6e, 629 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x33, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 630 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4d, 0x6f, 0x6e, 0x69, 631 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 632 0x6f, 0x33, 633} 634 635var ( 636 file_google_monitoring_v3_alert_service_proto_rawDescOnce sync.Once 637 file_google_monitoring_v3_alert_service_proto_rawDescData = file_google_monitoring_v3_alert_service_proto_rawDesc 638) 639 640func file_google_monitoring_v3_alert_service_proto_rawDescGZIP() []byte { 641 file_google_monitoring_v3_alert_service_proto_rawDescOnce.Do(func() { 642 file_google_monitoring_v3_alert_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_v3_alert_service_proto_rawDescData) 643 }) 644 return file_google_monitoring_v3_alert_service_proto_rawDescData 645} 646 647var file_google_monitoring_v3_alert_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 648var file_google_monitoring_v3_alert_service_proto_goTypes = []interface{}{ 649 (*CreateAlertPolicyRequest)(nil), // 0: google.monitoring.v3.CreateAlertPolicyRequest 650 (*GetAlertPolicyRequest)(nil), // 1: google.monitoring.v3.GetAlertPolicyRequest 651 (*ListAlertPoliciesRequest)(nil), // 2: google.monitoring.v3.ListAlertPoliciesRequest 652 (*ListAlertPoliciesResponse)(nil), // 3: google.monitoring.v3.ListAlertPoliciesResponse 653 (*UpdateAlertPolicyRequest)(nil), // 4: google.monitoring.v3.UpdateAlertPolicyRequest 654 (*DeleteAlertPolicyRequest)(nil), // 5: google.monitoring.v3.DeleteAlertPolicyRequest 655 (*AlertPolicy)(nil), // 6: google.monitoring.v3.AlertPolicy 656 (*fieldmaskpb.FieldMask)(nil), // 7: google.protobuf.FieldMask 657 (*emptypb.Empty)(nil), // 8: google.protobuf.Empty 658} 659var file_google_monitoring_v3_alert_service_proto_depIdxs = []int32{ 660 6, // 0: google.monitoring.v3.CreateAlertPolicyRequest.alert_policy:type_name -> google.monitoring.v3.AlertPolicy 661 6, // 1: google.monitoring.v3.ListAlertPoliciesResponse.alert_policies:type_name -> google.monitoring.v3.AlertPolicy 662 7, // 2: google.monitoring.v3.UpdateAlertPolicyRequest.update_mask:type_name -> google.protobuf.FieldMask 663 6, // 3: google.monitoring.v3.UpdateAlertPolicyRequest.alert_policy:type_name -> google.monitoring.v3.AlertPolicy 664 2, // 4: google.monitoring.v3.AlertPolicyService.ListAlertPolicies:input_type -> google.monitoring.v3.ListAlertPoliciesRequest 665 1, // 5: google.monitoring.v3.AlertPolicyService.GetAlertPolicy:input_type -> google.monitoring.v3.GetAlertPolicyRequest 666 0, // 6: google.monitoring.v3.AlertPolicyService.CreateAlertPolicy:input_type -> google.monitoring.v3.CreateAlertPolicyRequest 667 5, // 7: google.monitoring.v3.AlertPolicyService.DeleteAlertPolicy:input_type -> google.monitoring.v3.DeleteAlertPolicyRequest 668 4, // 8: google.monitoring.v3.AlertPolicyService.UpdateAlertPolicy:input_type -> google.monitoring.v3.UpdateAlertPolicyRequest 669 3, // 9: google.monitoring.v3.AlertPolicyService.ListAlertPolicies:output_type -> google.monitoring.v3.ListAlertPoliciesResponse 670 6, // 10: google.monitoring.v3.AlertPolicyService.GetAlertPolicy:output_type -> google.monitoring.v3.AlertPolicy 671 6, // 11: google.monitoring.v3.AlertPolicyService.CreateAlertPolicy:output_type -> google.monitoring.v3.AlertPolicy 672 8, // 12: google.monitoring.v3.AlertPolicyService.DeleteAlertPolicy:output_type -> google.protobuf.Empty 673 6, // 13: google.monitoring.v3.AlertPolicyService.UpdateAlertPolicy:output_type -> google.monitoring.v3.AlertPolicy 674 9, // [9:14] is the sub-list for method output_type 675 4, // [4:9] is the sub-list for method input_type 676 4, // [4:4] is the sub-list for extension type_name 677 4, // [4:4] is the sub-list for extension extendee 678 0, // [0:4] is the sub-list for field type_name 679} 680 681func init() { file_google_monitoring_v3_alert_service_proto_init() } 682func file_google_monitoring_v3_alert_service_proto_init() { 683 if File_google_monitoring_v3_alert_service_proto != nil { 684 return 685 } 686 file_google_monitoring_v3_alert_proto_init() 687 if !protoimpl.UnsafeEnabled { 688 file_google_monitoring_v3_alert_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 689 switch v := v.(*CreateAlertPolicyRequest); i { 690 case 0: 691 return &v.state 692 case 1: 693 return &v.sizeCache 694 case 2: 695 return &v.unknownFields 696 default: 697 return nil 698 } 699 } 700 file_google_monitoring_v3_alert_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 701 switch v := v.(*GetAlertPolicyRequest); i { 702 case 0: 703 return &v.state 704 case 1: 705 return &v.sizeCache 706 case 2: 707 return &v.unknownFields 708 default: 709 return nil 710 } 711 } 712 file_google_monitoring_v3_alert_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 713 switch v := v.(*ListAlertPoliciesRequest); i { 714 case 0: 715 return &v.state 716 case 1: 717 return &v.sizeCache 718 case 2: 719 return &v.unknownFields 720 default: 721 return nil 722 } 723 } 724 file_google_monitoring_v3_alert_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 725 switch v := v.(*ListAlertPoliciesResponse); i { 726 case 0: 727 return &v.state 728 case 1: 729 return &v.sizeCache 730 case 2: 731 return &v.unknownFields 732 default: 733 return nil 734 } 735 } 736 file_google_monitoring_v3_alert_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 737 switch v := v.(*UpdateAlertPolicyRequest); i { 738 case 0: 739 return &v.state 740 case 1: 741 return &v.sizeCache 742 case 2: 743 return &v.unknownFields 744 default: 745 return nil 746 } 747 } 748 file_google_monitoring_v3_alert_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 749 switch v := v.(*DeleteAlertPolicyRequest); i { 750 case 0: 751 return &v.state 752 case 1: 753 return &v.sizeCache 754 case 2: 755 return &v.unknownFields 756 default: 757 return nil 758 } 759 } 760 } 761 type x struct{} 762 out := protoimpl.TypeBuilder{ 763 File: protoimpl.DescBuilder{ 764 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 765 RawDescriptor: file_google_monitoring_v3_alert_service_proto_rawDesc, 766 NumEnums: 0, 767 NumMessages: 6, 768 NumExtensions: 0, 769 NumServices: 1, 770 }, 771 GoTypes: file_google_monitoring_v3_alert_service_proto_goTypes, 772 DependencyIndexes: file_google_monitoring_v3_alert_service_proto_depIdxs, 773 MessageInfos: file_google_monitoring_v3_alert_service_proto_msgTypes, 774 }.Build() 775 File_google_monitoring_v3_alert_service_proto = out.File 776 file_google_monitoring_v3_alert_service_proto_rawDesc = nil 777 file_google_monitoring_v3_alert_service_proto_goTypes = nil 778 file_google_monitoring_v3_alert_service_proto_depIdxs = nil 779} 780 781// Reference imports to suppress errors if they are not otherwise used. 782var _ context.Context 783var _ grpc.ClientConnInterface 784 785// This is a compile-time assertion to ensure that this generated file 786// is compatible with the grpc package it is being compiled against. 787const _ = grpc.SupportPackageIsVersion6 788 789// AlertPolicyServiceClient is the client API for AlertPolicyService service. 790// 791// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 792type AlertPolicyServiceClient interface { 793 // Lists the existing alerting policies for the workspace. 794 ListAlertPolicies(ctx context.Context, in *ListAlertPoliciesRequest, opts ...grpc.CallOption) (*ListAlertPoliciesResponse, error) 795 // Gets a single alerting policy. 796 GetAlertPolicy(ctx context.Context, in *GetAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) 797 // Creates a new alerting policy. 798 CreateAlertPolicy(ctx context.Context, in *CreateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) 799 // Deletes an alerting policy. 800 DeleteAlertPolicy(ctx context.Context, in *DeleteAlertPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 801 // Updates an alerting policy. You can either replace the entire policy with 802 // a new one or replace only certain fields in the current alerting policy by 803 // specifying the fields to be updated via `updateMask`. Returns the 804 // updated alerting policy. 805 UpdateAlertPolicy(ctx context.Context, in *UpdateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) 806} 807 808type alertPolicyServiceClient struct { 809 cc grpc.ClientConnInterface 810} 811 812func NewAlertPolicyServiceClient(cc grpc.ClientConnInterface) AlertPolicyServiceClient { 813 return &alertPolicyServiceClient{cc} 814} 815 816func (c *alertPolicyServiceClient) ListAlertPolicies(ctx context.Context, in *ListAlertPoliciesRequest, opts ...grpc.CallOption) (*ListAlertPoliciesResponse, error) { 817 out := new(ListAlertPoliciesResponse) 818 err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/ListAlertPolicies", in, out, opts...) 819 if err != nil { 820 return nil, err 821 } 822 return out, nil 823} 824 825func (c *alertPolicyServiceClient) GetAlertPolicy(ctx context.Context, in *GetAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) { 826 out := new(AlertPolicy) 827 err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/GetAlertPolicy", in, out, opts...) 828 if err != nil { 829 return nil, err 830 } 831 return out, nil 832} 833 834func (c *alertPolicyServiceClient) CreateAlertPolicy(ctx context.Context, in *CreateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) { 835 out := new(AlertPolicy) 836 err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/CreateAlertPolicy", in, out, opts...) 837 if err != nil { 838 return nil, err 839 } 840 return out, nil 841} 842 843func (c *alertPolicyServiceClient) DeleteAlertPolicy(ctx context.Context, in *DeleteAlertPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 844 out := new(emptypb.Empty) 845 err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/DeleteAlertPolicy", in, out, opts...) 846 if err != nil { 847 return nil, err 848 } 849 return out, nil 850} 851 852func (c *alertPolicyServiceClient) UpdateAlertPolicy(ctx context.Context, in *UpdateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) { 853 out := new(AlertPolicy) 854 err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/UpdateAlertPolicy", in, out, opts...) 855 if err != nil { 856 return nil, err 857 } 858 return out, nil 859} 860 861// AlertPolicyServiceServer is the server API for AlertPolicyService service. 862type AlertPolicyServiceServer interface { 863 // Lists the existing alerting policies for the workspace. 864 ListAlertPolicies(context.Context, *ListAlertPoliciesRequest) (*ListAlertPoliciesResponse, error) 865 // Gets a single alerting policy. 866 GetAlertPolicy(context.Context, *GetAlertPolicyRequest) (*AlertPolicy, error) 867 // Creates a new alerting policy. 868 CreateAlertPolicy(context.Context, *CreateAlertPolicyRequest) (*AlertPolicy, error) 869 // Deletes an alerting policy. 870 DeleteAlertPolicy(context.Context, *DeleteAlertPolicyRequest) (*emptypb.Empty, error) 871 // Updates an alerting policy. You can either replace the entire policy with 872 // a new one or replace only certain fields in the current alerting policy by 873 // specifying the fields to be updated via `updateMask`. Returns the 874 // updated alerting policy. 875 UpdateAlertPolicy(context.Context, *UpdateAlertPolicyRequest) (*AlertPolicy, error) 876} 877 878// UnimplementedAlertPolicyServiceServer can be embedded to have forward compatible implementations. 879type UnimplementedAlertPolicyServiceServer struct { 880} 881 882func (*UnimplementedAlertPolicyServiceServer) ListAlertPolicies(context.Context, *ListAlertPoliciesRequest) (*ListAlertPoliciesResponse, error) { 883 return nil, status.Errorf(codes.Unimplemented, "method ListAlertPolicies not implemented") 884} 885func (*UnimplementedAlertPolicyServiceServer) GetAlertPolicy(context.Context, *GetAlertPolicyRequest) (*AlertPolicy, error) { 886 return nil, status.Errorf(codes.Unimplemented, "method GetAlertPolicy not implemented") 887} 888func (*UnimplementedAlertPolicyServiceServer) CreateAlertPolicy(context.Context, *CreateAlertPolicyRequest) (*AlertPolicy, error) { 889 return nil, status.Errorf(codes.Unimplemented, "method CreateAlertPolicy not implemented") 890} 891func (*UnimplementedAlertPolicyServiceServer) DeleteAlertPolicy(context.Context, *DeleteAlertPolicyRequest) (*emptypb.Empty, error) { 892 return nil, status.Errorf(codes.Unimplemented, "method DeleteAlertPolicy not implemented") 893} 894func (*UnimplementedAlertPolicyServiceServer) UpdateAlertPolicy(context.Context, *UpdateAlertPolicyRequest) (*AlertPolicy, error) { 895 return nil, status.Errorf(codes.Unimplemented, "method UpdateAlertPolicy not implemented") 896} 897 898func RegisterAlertPolicyServiceServer(s *grpc.Server, srv AlertPolicyServiceServer) { 899 s.RegisterService(&_AlertPolicyService_serviceDesc, srv) 900} 901 902func _AlertPolicyService_ListAlertPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 903 in := new(ListAlertPoliciesRequest) 904 if err := dec(in); err != nil { 905 return nil, err 906 } 907 if interceptor == nil { 908 return srv.(AlertPolicyServiceServer).ListAlertPolicies(ctx, in) 909 } 910 info := &grpc.UnaryServerInfo{ 911 Server: srv, 912 FullMethod: "/google.monitoring.v3.AlertPolicyService/ListAlertPolicies", 913 } 914 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 915 return srv.(AlertPolicyServiceServer).ListAlertPolicies(ctx, req.(*ListAlertPoliciesRequest)) 916 } 917 return interceptor(ctx, in, info, handler) 918} 919 920func _AlertPolicyService_GetAlertPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 921 in := new(GetAlertPolicyRequest) 922 if err := dec(in); err != nil { 923 return nil, err 924 } 925 if interceptor == nil { 926 return srv.(AlertPolicyServiceServer).GetAlertPolicy(ctx, in) 927 } 928 info := &grpc.UnaryServerInfo{ 929 Server: srv, 930 FullMethod: "/google.monitoring.v3.AlertPolicyService/GetAlertPolicy", 931 } 932 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 933 return srv.(AlertPolicyServiceServer).GetAlertPolicy(ctx, req.(*GetAlertPolicyRequest)) 934 } 935 return interceptor(ctx, in, info, handler) 936} 937 938func _AlertPolicyService_CreateAlertPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 939 in := new(CreateAlertPolicyRequest) 940 if err := dec(in); err != nil { 941 return nil, err 942 } 943 if interceptor == nil { 944 return srv.(AlertPolicyServiceServer).CreateAlertPolicy(ctx, in) 945 } 946 info := &grpc.UnaryServerInfo{ 947 Server: srv, 948 FullMethod: "/google.monitoring.v3.AlertPolicyService/CreateAlertPolicy", 949 } 950 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 951 return srv.(AlertPolicyServiceServer).CreateAlertPolicy(ctx, req.(*CreateAlertPolicyRequest)) 952 } 953 return interceptor(ctx, in, info, handler) 954} 955 956func _AlertPolicyService_DeleteAlertPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 957 in := new(DeleteAlertPolicyRequest) 958 if err := dec(in); err != nil { 959 return nil, err 960 } 961 if interceptor == nil { 962 return srv.(AlertPolicyServiceServer).DeleteAlertPolicy(ctx, in) 963 } 964 info := &grpc.UnaryServerInfo{ 965 Server: srv, 966 FullMethod: "/google.monitoring.v3.AlertPolicyService/DeleteAlertPolicy", 967 } 968 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 969 return srv.(AlertPolicyServiceServer).DeleteAlertPolicy(ctx, req.(*DeleteAlertPolicyRequest)) 970 } 971 return interceptor(ctx, in, info, handler) 972} 973 974func _AlertPolicyService_UpdateAlertPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 975 in := new(UpdateAlertPolicyRequest) 976 if err := dec(in); err != nil { 977 return nil, err 978 } 979 if interceptor == nil { 980 return srv.(AlertPolicyServiceServer).UpdateAlertPolicy(ctx, in) 981 } 982 info := &grpc.UnaryServerInfo{ 983 Server: srv, 984 FullMethod: "/google.monitoring.v3.AlertPolicyService/UpdateAlertPolicy", 985 } 986 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 987 return srv.(AlertPolicyServiceServer).UpdateAlertPolicy(ctx, req.(*UpdateAlertPolicyRequest)) 988 } 989 return interceptor(ctx, in, info, handler) 990} 991 992var _AlertPolicyService_serviceDesc = grpc.ServiceDesc{ 993 ServiceName: "google.monitoring.v3.AlertPolicyService", 994 HandlerType: (*AlertPolicyServiceServer)(nil), 995 Methods: []grpc.MethodDesc{ 996 { 997 MethodName: "ListAlertPolicies", 998 Handler: _AlertPolicyService_ListAlertPolicies_Handler, 999 }, 1000 { 1001 MethodName: "GetAlertPolicy", 1002 Handler: _AlertPolicyService_GetAlertPolicy_Handler, 1003 }, 1004 { 1005 MethodName: "CreateAlertPolicy", 1006 Handler: _AlertPolicyService_CreateAlertPolicy_Handler, 1007 }, 1008 { 1009 MethodName: "DeleteAlertPolicy", 1010 Handler: _AlertPolicyService_DeleteAlertPolicy_Handler, 1011 }, 1012 { 1013 MethodName: "UpdateAlertPolicy", 1014 Handler: _AlertPolicyService_UpdateAlertPolicy_Handler, 1015 }, 1016 }, 1017 Streams: []grpc.StreamDesc{}, 1018 Metadata: "google/monitoring/v3/alert_service.proto", 1019} 1020