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