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