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