github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/client/v1/policy/policy_service.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/alerting/proto/v1/policy_service.proto 3 // DO NOT EDIT!!! 4 5 package policy_client 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 policy "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/policy" 21 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 22 view "github.com/cloudwan/goten-sdk/types/view" 23 watch_type "github.com/cloudwan/goten-sdk/types/watch_type" 24 emptypb "google.golang.org/protobuf/types/known/emptypb" 25 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 26 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 27 ) 28 29 // Reference imports to suppress errors if they are not otherwise used. 30 var ( 31 _ = fmt.Errorf 32 _ = reflect.Method{} 33 _ = sync.Once{} 34 35 _ = protojson.MarshalOptions{} 36 _ = proto.MarshalOptions{} 37 _ = preflect.Value{} 38 _ = protoimpl.DescBuilder{} 39 ) 40 41 // make sure we're using proto imports 42 var ( 43 _ = &policy.Policy{} 44 _ = &iam_project.Project{} 45 _ = &emptypb.Empty{} 46 _ = &fieldmaskpb.FieldMask{} 47 _ = ×tamppb.Timestamp{} 48 _ = view.View(0) 49 _ = watch_type.WatchType(0) 50 ) 51 52 const ( 53 // Verify that this generated code is sufficiently up-to-date. 54 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 55 // Verify that runtime/protoimpl is sufficiently up-to-date. 56 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 57 ) 58 59 // A request message of the GetPolicy method. 60 type GetPolicyRequest struct { 61 state protoimpl.MessageState 62 sizeCache protoimpl.SizeCache 63 unknownFields protoimpl.UnknownFields 64 // Name of ntt.alerting.v1.Policy 65 Name *policy.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 66 // A list of extra fields to be obtained for each response item on top of 67 // fields defined by request field view 68 FieldMask *policy.Policy_FieldMask `protobuf:"bytes,3,opt,customtype=Policy_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 69 // View defines list of standard response fields present in response items. 70 // Additional fields can be amended by request field field_mask 71 View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty"` 72 } 73 74 func (m *GetPolicyRequest) Reset() { 75 *m = GetPolicyRequest{} 76 if protoimpl.UnsafeEnabled { 77 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[0] 78 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 79 ms.StoreMessageInfo(mi) 80 } 81 } 82 83 func (m *GetPolicyRequest) String() string { 84 return protoimpl.X.MessageStringOf(m) 85 } 86 87 func (*GetPolicyRequest) ProtoMessage() {} 88 89 func (m *GetPolicyRequest) ProtoReflect() preflect.Message { 90 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[0] 91 if protoimpl.UnsafeEnabled && m != nil { 92 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 93 if ms.LoadMessageInfo() == nil { 94 ms.StoreMessageInfo(mi) 95 } 96 return ms 97 } 98 return mi.MessageOf(m) 99 } 100 101 func (*GetPolicyRequest) GotenMessage() {} 102 103 // Deprecated, Use GetPolicyRequest.ProtoReflect.Descriptor instead. 104 func (*GetPolicyRequest) Descriptor() ([]byte, []int) { 105 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{0} 106 } 107 108 func (m *GetPolicyRequest) Unmarshal(b []byte) error { 109 return proto.Unmarshal(b, m) 110 } 111 112 func (m *GetPolicyRequest) Marshal() ([]byte, error) { 113 return proto.Marshal(m) 114 } 115 116 func (m *GetPolicyRequest) MarshalJSON() ([]byte, error) { 117 return protojson.MarshalOptions{}.Marshal(m) 118 } 119 120 func (m *GetPolicyRequest) UnmarshalJSON(data []byte) error { 121 return protojson.Unmarshal(data, m) 122 } 123 124 func (m *GetPolicyRequest) GetName() *policy.Name { 125 if m != nil { 126 return m.Name 127 } 128 return nil 129 } 130 131 func (m *GetPolicyRequest) GetFieldMask() *policy.Policy_FieldMask { 132 if m != nil { 133 return m.FieldMask 134 } 135 return nil 136 } 137 138 func (m *GetPolicyRequest) GetView() view.View { 139 if m != nil { 140 return m.View 141 } 142 return view.View_UNSPECIFIED 143 } 144 145 func (m *GetPolicyRequest) SetName(fv *policy.Name) { 146 if m == nil { 147 panic(fmt.Errorf("can't set %s on nil %s", "Name", "GetPolicyRequest")) 148 } 149 m.Name = fv 150 } 151 152 func (m *GetPolicyRequest) SetFieldMask(fv *policy.Policy_FieldMask) { 153 if m == nil { 154 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "GetPolicyRequest")) 155 } 156 m.FieldMask = fv 157 } 158 159 func (m *GetPolicyRequest) SetView(fv view.View) { 160 if m == nil { 161 panic(fmt.Errorf("can't set %s on nil %s", "View", "GetPolicyRequest")) 162 } 163 m.View = fv 164 } 165 166 // A request message of the BatchGetPolicies method. 167 type BatchGetPoliciesRequest struct { 168 state protoimpl.MessageState 169 sizeCache protoimpl.SizeCache 170 unknownFields protoimpl.UnknownFields 171 // Names of Policies 172 Names []*policy.Name `protobuf:"bytes,2,rep,customtype=Name,name=names,proto3" json:"names,omitempty"` 173 // A list of extra fields to be obtained for each response item on top of 174 // fields defined by request field view 175 FieldMask *policy.Policy_FieldMask `protobuf:"bytes,3,opt,customtype=Policy_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 176 // View defines list of standard response fields present in response items. 177 // Additional fields can be amended by request field field_mask 178 View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty"` 179 } 180 181 func (m *BatchGetPoliciesRequest) Reset() { 182 *m = BatchGetPoliciesRequest{} 183 if protoimpl.UnsafeEnabled { 184 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[1] 185 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 186 ms.StoreMessageInfo(mi) 187 } 188 } 189 190 func (m *BatchGetPoliciesRequest) String() string { 191 return protoimpl.X.MessageStringOf(m) 192 } 193 194 func (*BatchGetPoliciesRequest) ProtoMessage() {} 195 196 func (m *BatchGetPoliciesRequest) ProtoReflect() preflect.Message { 197 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[1] 198 if protoimpl.UnsafeEnabled && m != nil { 199 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 200 if ms.LoadMessageInfo() == nil { 201 ms.StoreMessageInfo(mi) 202 } 203 return ms 204 } 205 return mi.MessageOf(m) 206 } 207 208 func (*BatchGetPoliciesRequest) GotenMessage() {} 209 210 // Deprecated, Use BatchGetPoliciesRequest.ProtoReflect.Descriptor instead. 211 func (*BatchGetPoliciesRequest) Descriptor() ([]byte, []int) { 212 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{1} 213 } 214 215 func (m *BatchGetPoliciesRequest) Unmarshal(b []byte) error { 216 return proto.Unmarshal(b, m) 217 } 218 219 func (m *BatchGetPoliciesRequest) Marshal() ([]byte, error) { 220 return proto.Marshal(m) 221 } 222 223 func (m *BatchGetPoliciesRequest) MarshalJSON() ([]byte, error) { 224 return protojson.MarshalOptions{}.Marshal(m) 225 } 226 227 func (m *BatchGetPoliciesRequest) UnmarshalJSON(data []byte) error { 228 return protojson.Unmarshal(data, m) 229 } 230 231 func (m *BatchGetPoliciesRequest) GetNames() []*policy.Name { 232 if m != nil { 233 return m.Names 234 } 235 return nil 236 } 237 238 func (m *BatchGetPoliciesRequest) GetFieldMask() *policy.Policy_FieldMask { 239 if m != nil { 240 return m.FieldMask 241 } 242 return nil 243 } 244 245 func (m *BatchGetPoliciesRequest) GetView() view.View { 246 if m != nil { 247 return m.View 248 } 249 return view.View_UNSPECIFIED 250 } 251 252 func (m *BatchGetPoliciesRequest) SetNames(fv []*policy.Name) { 253 if m == nil { 254 panic(fmt.Errorf("can't set %s on nil %s", "Names", "BatchGetPoliciesRequest")) 255 } 256 m.Names = fv 257 } 258 259 func (m *BatchGetPoliciesRequest) SetFieldMask(fv *policy.Policy_FieldMask) { 260 if m == nil { 261 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "BatchGetPoliciesRequest")) 262 } 263 m.FieldMask = fv 264 } 265 266 func (m *BatchGetPoliciesRequest) SetView(fv view.View) { 267 if m == nil { 268 panic(fmt.Errorf("can't set %s on nil %s", "View", "BatchGetPoliciesRequest")) 269 } 270 m.View = fv 271 } 272 273 // A response message of the BatchGetPolicies method. 274 type BatchGetPoliciesResponse struct { 275 state protoimpl.MessageState 276 sizeCache protoimpl.SizeCache 277 unknownFields protoimpl.UnknownFields 278 // found Policies 279 Policies []*policy.Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` 280 // list of not found Policies 281 Missing []*policy.Name `protobuf:"bytes,2,rep,customtype=Name,name=missing,proto3" json:"missing,omitempty"` 282 } 283 284 func (m *BatchGetPoliciesResponse) Reset() { 285 *m = BatchGetPoliciesResponse{} 286 if protoimpl.UnsafeEnabled { 287 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[2] 288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 289 ms.StoreMessageInfo(mi) 290 } 291 } 292 293 func (m *BatchGetPoliciesResponse) String() string { 294 return protoimpl.X.MessageStringOf(m) 295 } 296 297 func (*BatchGetPoliciesResponse) ProtoMessage() {} 298 299 func (m *BatchGetPoliciesResponse) ProtoReflect() preflect.Message { 300 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[2] 301 if protoimpl.UnsafeEnabled && m != nil { 302 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 303 if ms.LoadMessageInfo() == nil { 304 ms.StoreMessageInfo(mi) 305 } 306 return ms 307 } 308 return mi.MessageOf(m) 309 } 310 311 func (*BatchGetPoliciesResponse) GotenMessage() {} 312 313 // Deprecated, Use BatchGetPoliciesResponse.ProtoReflect.Descriptor instead. 314 func (*BatchGetPoliciesResponse) Descriptor() ([]byte, []int) { 315 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{2} 316 } 317 318 func (m *BatchGetPoliciesResponse) Unmarshal(b []byte) error { 319 return proto.Unmarshal(b, m) 320 } 321 322 func (m *BatchGetPoliciesResponse) Marshal() ([]byte, error) { 323 return proto.Marshal(m) 324 } 325 326 func (m *BatchGetPoliciesResponse) MarshalJSON() ([]byte, error) { 327 return protojson.MarshalOptions{}.Marshal(m) 328 } 329 330 func (m *BatchGetPoliciesResponse) UnmarshalJSON(data []byte) error { 331 return protojson.Unmarshal(data, m) 332 } 333 334 func (m *BatchGetPoliciesResponse) GetPolicies() []*policy.Policy { 335 if m != nil { 336 return m.Policies 337 } 338 return nil 339 } 340 341 func (m *BatchGetPoliciesResponse) GetMissing() []*policy.Name { 342 if m != nil { 343 return m.Missing 344 } 345 return nil 346 } 347 348 func (m *BatchGetPoliciesResponse) SetPolicies(fv []*policy.Policy) { 349 if m == nil { 350 panic(fmt.Errorf("can't set %s on nil %s", "Policies", "BatchGetPoliciesResponse")) 351 } 352 m.Policies = fv 353 } 354 355 func (m *BatchGetPoliciesResponse) SetMissing(fv []*policy.Name) { 356 if m == nil { 357 panic(fmt.Errorf("can't set %s on nil %s", "Missing", "BatchGetPoliciesResponse")) 358 } 359 m.Missing = fv 360 } 361 362 // A request message of the ListPolicies method. 363 type ListPoliciesRequest struct { 364 state protoimpl.MessageState 365 sizeCache protoimpl.SizeCache 366 unknownFields protoimpl.UnknownFields 367 // Parent name of ntt.alerting.v1.Policy 368 Parent *policy.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty"` 369 // Requested page size. Server may return fewer Policies than requested. 370 // If unspecified, server will pick an appropriate default. 371 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 372 // A token identifying a page of results the server should return. 373 // Typically, this is the value of 374 // ListPoliciesResponse.next_page_token. 375 PageToken *policy.PagerCursor `protobuf:"bytes,3,opt,customtype=PagerCursor,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 376 // Order By - 377 // https://cloud.google.com/apis/design/design_patterns#list_pagination list 378 // of field path with order directive, either 'asc' or 'desc'. If direction is 379 // not provided, 'asc' is assumed. e.g. "state.nested_field asc, 380 // state.something.else desc, theme" 381 OrderBy *policy.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` 382 // Filter - filter results by field criteria. Simplified SQL-like syntax with 383 // following operators: 384 // <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS 385 // [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels 386 // CONTAINS "severity:important" OR (state.last_error_time > 387 // "2018-11-15T10:00:00Z" AND state.status = "ERROR")' 388 Filter *policy.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty"` 389 // A list of extra fields to be obtained for each response item on top of 390 // fields defined by request field view 391 FieldMask *policy.Policy_FieldMask `protobuf:"bytes,6,opt,customtype=Policy_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 392 // View defines list of standard response fields present in response items. 393 // Additional fields can be amended by request field field_mask 394 View view.View `protobuf:"varint,7,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty"` 395 // Indicates if list response should contain total count and offset (fields 396 // current_offset and total_results_count). 397 IncludePagingInfo bool `protobuf:"varint,8,opt,name=include_paging_info,json=includePagingInfo,proto3" json:"include_paging_info,omitempty"` 398 } 399 400 func (m *ListPoliciesRequest) Reset() { 401 *m = ListPoliciesRequest{} 402 if protoimpl.UnsafeEnabled { 403 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[3] 404 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 405 ms.StoreMessageInfo(mi) 406 } 407 } 408 409 func (m *ListPoliciesRequest) String() string { 410 return protoimpl.X.MessageStringOf(m) 411 } 412 413 func (*ListPoliciesRequest) ProtoMessage() {} 414 415 func (m *ListPoliciesRequest) ProtoReflect() preflect.Message { 416 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[3] 417 if protoimpl.UnsafeEnabled && m != nil { 418 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 419 if ms.LoadMessageInfo() == nil { 420 ms.StoreMessageInfo(mi) 421 } 422 return ms 423 } 424 return mi.MessageOf(m) 425 } 426 427 func (*ListPoliciesRequest) GotenMessage() {} 428 429 // Deprecated, Use ListPoliciesRequest.ProtoReflect.Descriptor instead. 430 func (*ListPoliciesRequest) Descriptor() ([]byte, []int) { 431 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{3} 432 } 433 434 func (m *ListPoliciesRequest) Unmarshal(b []byte) error { 435 return proto.Unmarshal(b, m) 436 } 437 438 func (m *ListPoliciesRequest) Marshal() ([]byte, error) { 439 return proto.Marshal(m) 440 } 441 442 func (m *ListPoliciesRequest) MarshalJSON() ([]byte, error) { 443 return protojson.MarshalOptions{}.Marshal(m) 444 } 445 446 func (m *ListPoliciesRequest) UnmarshalJSON(data []byte) error { 447 return protojson.Unmarshal(data, m) 448 } 449 450 func (m *ListPoliciesRequest) GetParent() *policy.ParentName { 451 if m != nil { 452 return m.Parent 453 } 454 return nil 455 } 456 457 func (m *ListPoliciesRequest) GetPageSize() int32 { 458 if m != nil { 459 return m.PageSize 460 } 461 return int32(0) 462 } 463 464 func (m *ListPoliciesRequest) GetPageToken() *policy.PagerCursor { 465 if m != nil { 466 return m.PageToken 467 } 468 return nil 469 } 470 471 func (m *ListPoliciesRequest) GetOrderBy() *policy.OrderBy { 472 if m != nil { 473 return m.OrderBy 474 } 475 return nil 476 } 477 478 func (m *ListPoliciesRequest) GetFilter() *policy.Filter { 479 if m != nil { 480 return m.Filter 481 } 482 return nil 483 } 484 485 func (m *ListPoliciesRequest) GetFieldMask() *policy.Policy_FieldMask { 486 if m != nil { 487 return m.FieldMask 488 } 489 return nil 490 } 491 492 func (m *ListPoliciesRequest) GetView() view.View { 493 if m != nil { 494 return m.View 495 } 496 return view.View_UNSPECIFIED 497 } 498 499 func (m *ListPoliciesRequest) GetIncludePagingInfo() bool { 500 if m != nil { 501 return m.IncludePagingInfo 502 } 503 return false 504 } 505 506 func (m *ListPoliciesRequest) SetParent(fv *policy.ParentName) { 507 if m == nil { 508 panic(fmt.Errorf("can't set %s on nil %s", "Parent", "ListPoliciesRequest")) 509 } 510 m.Parent = fv 511 } 512 513 func (m *ListPoliciesRequest) SetPageSize(fv int32) { 514 if m == nil { 515 panic(fmt.Errorf("can't set %s on nil %s", "PageSize", "ListPoliciesRequest")) 516 } 517 m.PageSize = fv 518 } 519 520 func (m *ListPoliciesRequest) SetPageToken(fv *policy.PagerCursor) { 521 if m == nil { 522 panic(fmt.Errorf("can't set %s on nil %s", "PageToken", "ListPoliciesRequest")) 523 } 524 m.PageToken = fv 525 } 526 527 func (m *ListPoliciesRequest) SetOrderBy(fv *policy.OrderBy) { 528 if m == nil { 529 panic(fmt.Errorf("can't set %s on nil %s", "OrderBy", "ListPoliciesRequest")) 530 } 531 m.OrderBy = fv 532 } 533 534 func (m *ListPoliciesRequest) SetFilter(fv *policy.Filter) { 535 if m == nil { 536 panic(fmt.Errorf("can't set %s on nil %s", "Filter", "ListPoliciesRequest")) 537 } 538 m.Filter = fv 539 } 540 541 func (m *ListPoliciesRequest) SetFieldMask(fv *policy.Policy_FieldMask) { 542 if m == nil { 543 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "ListPoliciesRequest")) 544 } 545 m.FieldMask = fv 546 } 547 548 func (m *ListPoliciesRequest) SetView(fv view.View) { 549 if m == nil { 550 panic(fmt.Errorf("can't set %s on nil %s", "View", "ListPoliciesRequest")) 551 } 552 m.View = fv 553 } 554 555 func (m *ListPoliciesRequest) SetIncludePagingInfo(fv bool) { 556 if m == nil { 557 panic(fmt.Errorf("can't set %s on nil %s", "IncludePagingInfo", "ListPoliciesRequest")) 558 } 559 m.IncludePagingInfo = fv 560 } 561 562 // A response message of the ListPolicies method. 563 type ListPoliciesResponse struct { 564 state protoimpl.MessageState 565 sizeCache protoimpl.SizeCache 566 unknownFields protoimpl.UnknownFields 567 // The list of Policies 568 Policies []*policy.Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` 569 // A token to retrieve previous page of results. 570 // 571 // Pass this value in the ListPoliciesRequest.page_token. 572 PrevPageToken *policy.PagerCursor `protobuf:"bytes,3,opt,customtype=PagerCursor,name=prev_page_token,json=prevPageToken,proto3" json:"prev_page_token,omitempty"` 573 // A token to retrieve next page of results. 574 // 575 // Pass this value in the ListPoliciesRequest.page_token. 576 NextPageToken *policy.PagerCursor `protobuf:"bytes,4,opt,customtype=PagerCursor,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 577 // Current offset from the first page or 0 if no page tokens were given, 578 // paging info was not requested or there was an error while trying to get 579 // it). Page index can be computed from offset and limit provided in a 580 // request. 581 CurrentOffset int32 `protobuf:"varint,5,opt,name=current_offset,json=currentOffset,proto3" json:"current_offset,omitempty"` 582 // Number of total Policies across all pages or 0, if there are no items, 583 // paging info was not requested or there was an error while trying to get it. 584 TotalResultsCount int32 `protobuf:"varint,6,opt,name=total_results_count,json=totalResultsCount,proto3" json:"total_results_count,omitempty"` 585 } 586 587 func (m *ListPoliciesResponse) Reset() { 588 *m = ListPoliciesResponse{} 589 if protoimpl.UnsafeEnabled { 590 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[4] 591 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 592 ms.StoreMessageInfo(mi) 593 } 594 } 595 596 func (m *ListPoliciesResponse) String() string { 597 return protoimpl.X.MessageStringOf(m) 598 } 599 600 func (*ListPoliciesResponse) ProtoMessage() {} 601 602 func (m *ListPoliciesResponse) ProtoReflect() preflect.Message { 603 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[4] 604 if protoimpl.UnsafeEnabled && m != nil { 605 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 606 if ms.LoadMessageInfo() == nil { 607 ms.StoreMessageInfo(mi) 608 } 609 return ms 610 } 611 return mi.MessageOf(m) 612 } 613 614 func (*ListPoliciesResponse) GotenMessage() {} 615 616 // Deprecated, Use ListPoliciesResponse.ProtoReflect.Descriptor instead. 617 func (*ListPoliciesResponse) Descriptor() ([]byte, []int) { 618 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{4} 619 } 620 621 func (m *ListPoliciesResponse) Unmarshal(b []byte) error { 622 return proto.Unmarshal(b, m) 623 } 624 625 func (m *ListPoliciesResponse) Marshal() ([]byte, error) { 626 return proto.Marshal(m) 627 } 628 629 func (m *ListPoliciesResponse) MarshalJSON() ([]byte, error) { 630 return protojson.MarshalOptions{}.Marshal(m) 631 } 632 633 func (m *ListPoliciesResponse) UnmarshalJSON(data []byte) error { 634 return protojson.Unmarshal(data, m) 635 } 636 637 func (m *ListPoliciesResponse) GetPolicies() []*policy.Policy { 638 if m != nil { 639 return m.Policies 640 } 641 return nil 642 } 643 644 func (m *ListPoliciesResponse) GetPrevPageToken() *policy.PagerCursor { 645 if m != nil { 646 return m.PrevPageToken 647 } 648 return nil 649 } 650 651 func (m *ListPoliciesResponse) GetNextPageToken() *policy.PagerCursor { 652 if m != nil { 653 return m.NextPageToken 654 } 655 return nil 656 } 657 658 func (m *ListPoliciesResponse) GetCurrentOffset() int32 { 659 if m != nil { 660 return m.CurrentOffset 661 } 662 return int32(0) 663 } 664 665 func (m *ListPoliciesResponse) GetTotalResultsCount() int32 { 666 if m != nil { 667 return m.TotalResultsCount 668 } 669 return int32(0) 670 } 671 672 func (m *ListPoliciesResponse) SetPolicies(fv []*policy.Policy) { 673 if m == nil { 674 panic(fmt.Errorf("can't set %s on nil %s", "Policies", "ListPoliciesResponse")) 675 } 676 m.Policies = fv 677 } 678 679 func (m *ListPoliciesResponse) SetPrevPageToken(fv *policy.PagerCursor) { 680 if m == nil { 681 panic(fmt.Errorf("can't set %s on nil %s", "PrevPageToken", "ListPoliciesResponse")) 682 } 683 m.PrevPageToken = fv 684 } 685 686 func (m *ListPoliciesResponse) SetNextPageToken(fv *policy.PagerCursor) { 687 if m == nil { 688 panic(fmt.Errorf("can't set %s on nil %s", "NextPageToken", "ListPoliciesResponse")) 689 } 690 m.NextPageToken = fv 691 } 692 693 func (m *ListPoliciesResponse) SetCurrentOffset(fv int32) { 694 if m == nil { 695 panic(fmt.Errorf("can't set %s on nil %s", "CurrentOffset", "ListPoliciesResponse")) 696 } 697 m.CurrentOffset = fv 698 } 699 700 func (m *ListPoliciesResponse) SetTotalResultsCount(fv int32) { 701 if m == nil { 702 panic(fmt.Errorf("can't set %s on nil %s", "TotalResultsCount", "ListPoliciesResponse")) 703 } 704 m.TotalResultsCount = fv 705 } 706 707 // A request message of the WatchPolicy method. 708 type WatchPolicyRequest struct { 709 state protoimpl.MessageState 710 sizeCache protoimpl.SizeCache 711 unknownFields protoimpl.UnknownFields 712 // Name of ntt.alerting.v1.Policy 713 Name *policy.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 714 // A list of extra fields to be obtained for each response item on top of 715 // fields defined by request field view 716 FieldMask *policy.Policy_FieldMask `protobuf:"bytes,2,opt,customtype=Policy_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 717 // View defines list of standard response fields present in response items. 718 // Additional fields can be amended by request field field_mask 719 View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty"` 720 } 721 722 func (m *WatchPolicyRequest) Reset() { 723 *m = WatchPolicyRequest{} 724 if protoimpl.UnsafeEnabled { 725 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[5] 726 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 727 ms.StoreMessageInfo(mi) 728 } 729 } 730 731 func (m *WatchPolicyRequest) String() string { 732 return protoimpl.X.MessageStringOf(m) 733 } 734 735 func (*WatchPolicyRequest) ProtoMessage() {} 736 737 func (m *WatchPolicyRequest) ProtoReflect() preflect.Message { 738 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[5] 739 if protoimpl.UnsafeEnabled && m != nil { 740 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 741 if ms.LoadMessageInfo() == nil { 742 ms.StoreMessageInfo(mi) 743 } 744 return ms 745 } 746 return mi.MessageOf(m) 747 } 748 749 func (*WatchPolicyRequest) GotenMessage() {} 750 751 // Deprecated, Use WatchPolicyRequest.ProtoReflect.Descriptor instead. 752 func (*WatchPolicyRequest) Descriptor() ([]byte, []int) { 753 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{5} 754 } 755 756 func (m *WatchPolicyRequest) Unmarshal(b []byte) error { 757 return proto.Unmarshal(b, m) 758 } 759 760 func (m *WatchPolicyRequest) Marshal() ([]byte, error) { 761 return proto.Marshal(m) 762 } 763 764 func (m *WatchPolicyRequest) MarshalJSON() ([]byte, error) { 765 return protojson.MarshalOptions{}.Marshal(m) 766 } 767 768 func (m *WatchPolicyRequest) UnmarshalJSON(data []byte) error { 769 return protojson.Unmarshal(data, m) 770 } 771 772 func (m *WatchPolicyRequest) GetName() *policy.Name { 773 if m != nil { 774 return m.Name 775 } 776 return nil 777 } 778 779 func (m *WatchPolicyRequest) GetFieldMask() *policy.Policy_FieldMask { 780 if m != nil { 781 return m.FieldMask 782 } 783 return nil 784 } 785 786 func (m *WatchPolicyRequest) GetView() view.View { 787 if m != nil { 788 return m.View 789 } 790 return view.View_UNSPECIFIED 791 } 792 793 func (m *WatchPolicyRequest) SetName(fv *policy.Name) { 794 if m == nil { 795 panic(fmt.Errorf("can't set %s on nil %s", "Name", "WatchPolicyRequest")) 796 } 797 m.Name = fv 798 } 799 800 func (m *WatchPolicyRequest) SetFieldMask(fv *policy.Policy_FieldMask) { 801 if m == nil { 802 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "WatchPolicyRequest")) 803 } 804 m.FieldMask = fv 805 } 806 807 func (m *WatchPolicyRequest) SetView(fv view.View) { 808 if m == nil { 809 panic(fmt.Errorf("can't set %s on nil %s", "View", "WatchPolicyRequest")) 810 } 811 m.View = fv 812 } 813 814 // A response message of the WatchPolicy method. 815 type WatchPolicyResponse struct { 816 state protoimpl.MessageState 817 sizeCache protoimpl.SizeCache 818 unknownFields protoimpl.UnknownFields 819 Change *policy.PolicyChange `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty"` 820 } 821 822 func (m *WatchPolicyResponse) Reset() { 823 *m = WatchPolicyResponse{} 824 if protoimpl.UnsafeEnabled { 825 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[6] 826 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 827 ms.StoreMessageInfo(mi) 828 } 829 } 830 831 func (m *WatchPolicyResponse) String() string { 832 return protoimpl.X.MessageStringOf(m) 833 } 834 835 func (*WatchPolicyResponse) ProtoMessage() {} 836 837 func (m *WatchPolicyResponse) ProtoReflect() preflect.Message { 838 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[6] 839 if protoimpl.UnsafeEnabled && m != nil { 840 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 841 if ms.LoadMessageInfo() == nil { 842 ms.StoreMessageInfo(mi) 843 } 844 return ms 845 } 846 return mi.MessageOf(m) 847 } 848 849 func (*WatchPolicyResponse) GotenMessage() {} 850 851 // Deprecated, Use WatchPolicyResponse.ProtoReflect.Descriptor instead. 852 func (*WatchPolicyResponse) Descriptor() ([]byte, []int) { 853 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{6} 854 } 855 856 func (m *WatchPolicyResponse) Unmarshal(b []byte) error { 857 return proto.Unmarshal(b, m) 858 } 859 860 func (m *WatchPolicyResponse) Marshal() ([]byte, error) { 861 return proto.Marshal(m) 862 } 863 864 func (m *WatchPolicyResponse) MarshalJSON() ([]byte, error) { 865 return protojson.MarshalOptions{}.Marshal(m) 866 } 867 868 func (m *WatchPolicyResponse) UnmarshalJSON(data []byte) error { 869 return protojson.Unmarshal(data, m) 870 } 871 872 func (m *WatchPolicyResponse) GetChange() *policy.PolicyChange { 873 if m != nil { 874 return m.Change 875 } 876 return nil 877 } 878 879 func (m *WatchPolicyResponse) SetChange(fv *policy.PolicyChange) { 880 if m == nil { 881 panic(fmt.Errorf("can't set %s on nil %s", "Change", "WatchPolicyResponse")) 882 } 883 m.Change = fv 884 } 885 886 // A request message of the WatchPolicies method. 887 type WatchPoliciesRequest struct { 888 state protoimpl.MessageState 889 sizeCache protoimpl.SizeCache 890 unknownFields protoimpl.UnknownFields 891 // Type of a watch. Identifies how server stream data to a client, which 892 // fields in a request are allowed and which fields in response are relevant. 893 Type watch_type.WatchType `protobuf:"varint,9,opt,name=type,proto3,enum=goten.types.WatchType" json:"type,omitempty"` 894 // Parent name of ntt.alerting.v1.Policy 895 Parent *policy.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty"` 896 // Requested page size. Server may return fewer Policies than requested. 897 // If unspecified, server will pick an appropriate default. 898 // Can be populated only for stateful watch type. 899 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 900 // A token identifying a page of results the server should return. 901 // Can be populated only for stateful watch type. 902 PageToken *policy.PagerCursor `protobuf:"bytes,3,opt,customtype=PagerCursor,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 903 // Order By - 904 // https://cloud.google.com/apis/design/design_patterns#list_pagination Can be 905 // populated only for stateful watch type. 906 OrderBy *policy.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` 907 // A token identifying watch resume point from previous session. 908 // Can be populated only for stateless watch type. 909 ResumeToken string `protobuf:"bytes,10,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"` 910 // Point in the time from which we want to start getting updates. This field 911 // can be populated only for stateless watch type and if resume token is not 912 // known yet. If specified, initial snapshot will NOT be provided. It is 913 // assumed client can obtain it using separate means. Watch responses will 914 // contain resume tokens which should be used to resume broken connection. 915 StartingTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=starting_time,json=startingTime,proto3" json:"starting_time,omitempty"` 916 // Filter - filter results by field criteria. Simplified SQL-like syntax with 917 // following operators: 918 // <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS 919 // [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels 920 // CONTAINS "severity:important" OR (state.last_error_time > 921 // "2018-11-15T10:00:00Z" AND state.status = "ERROR")' 922 Filter *policy.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty"` 923 // A list of extra fields to be obtained for each response item on top of 924 // fields defined by request field view Changes to Policy that don't affect 925 // any of masked fields won't be sent back. 926 FieldMask *policy.Policy_FieldMask `protobuf:"bytes,6,opt,customtype=Policy_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 927 // View defines list of standard response fields present in response items. 928 // Additional fields can be amended by request field field_mask Changes to 929 // Policy that don't affect any of masked fields won't be sent back. 930 View view.View `protobuf:"varint,8,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty"` 931 // Maximum amount of changes in each response message. Query result response 932 // is divided on the server side into chunks with size of a specified amount 933 // to limit memory footprint of each message. Responses will hold information 934 // whether more elements will continue for the actual change. If unspecified, 935 // server will pick an appropriate default. 936 MaxChunkSize int32 `protobuf:"varint,11,opt,name=max_chunk_size,json=maxChunkSize,proto3" json:"max_chunk_size,omitempty"` 937 } 938 939 func (m *WatchPoliciesRequest) Reset() { 940 *m = WatchPoliciesRequest{} 941 if protoimpl.UnsafeEnabled { 942 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[7] 943 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 944 ms.StoreMessageInfo(mi) 945 } 946 } 947 948 func (m *WatchPoliciesRequest) String() string { 949 return protoimpl.X.MessageStringOf(m) 950 } 951 952 func (*WatchPoliciesRequest) ProtoMessage() {} 953 954 func (m *WatchPoliciesRequest) ProtoReflect() preflect.Message { 955 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[7] 956 if protoimpl.UnsafeEnabled && m != nil { 957 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 958 if ms.LoadMessageInfo() == nil { 959 ms.StoreMessageInfo(mi) 960 } 961 return ms 962 } 963 return mi.MessageOf(m) 964 } 965 966 func (*WatchPoliciesRequest) GotenMessage() {} 967 968 // Deprecated, Use WatchPoliciesRequest.ProtoReflect.Descriptor instead. 969 func (*WatchPoliciesRequest) Descriptor() ([]byte, []int) { 970 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{7} 971 } 972 973 func (m *WatchPoliciesRequest) Unmarshal(b []byte) error { 974 return proto.Unmarshal(b, m) 975 } 976 977 func (m *WatchPoliciesRequest) Marshal() ([]byte, error) { 978 return proto.Marshal(m) 979 } 980 981 func (m *WatchPoliciesRequest) MarshalJSON() ([]byte, error) { 982 return protojson.MarshalOptions{}.Marshal(m) 983 } 984 985 func (m *WatchPoliciesRequest) UnmarshalJSON(data []byte) error { 986 return protojson.Unmarshal(data, m) 987 } 988 989 func (m *WatchPoliciesRequest) GetType() watch_type.WatchType { 990 if m != nil { 991 return m.Type 992 } 993 return watch_type.WatchType_STATEFUL 994 } 995 996 func (m *WatchPoliciesRequest) GetParent() *policy.ParentName { 997 if m != nil { 998 return m.Parent 999 } 1000 return nil 1001 } 1002 1003 func (m *WatchPoliciesRequest) GetPageSize() int32 { 1004 if m != nil { 1005 return m.PageSize 1006 } 1007 return int32(0) 1008 } 1009 1010 func (m *WatchPoliciesRequest) GetPageToken() *policy.PagerCursor { 1011 if m != nil { 1012 return m.PageToken 1013 } 1014 return nil 1015 } 1016 1017 func (m *WatchPoliciesRequest) GetOrderBy() *policy.OrderBy { 1018 if m != nil { 1019 return m.OrderBy 1020 } 1021 return nil 1022 } 1023 1024 func (m *WatchPoliciesRequest) GetResumeToken() string { 1025 if m != nil { 1026 return m.ResumeToken 1027 } 1028 return "" 1029 } 1030 1031 func (m *WatchPoliciesRequest) GetStartingTime() *timestamppb.Timestamp { 1032 if m != nil { 1033 return m.StartingTime 1034 } 1035 return nil 1036 } 1037 1038 func (m *WatchPoliciesRequest) GetFilter() *policy.Filter { 1039 if m != nil { 1040 return m.Filter 1041 } 1042 return nil 1043 } 1044 1045 func (m *WatchPoliciesRequest) GetFieldMask() *policy.Policy_FieldMask { 1046 if m != nil { 1047 return m.FieldMask 1048 } 1049 return nil 1050 } 1051 1052 func (m *WatchPoliciesRequest) GetView() view.View { 1053 if m != nil { 1054 return m.View 1055 } 1056 return view.View_UNSPECIFIED 1057 } 1058 1059 func (m *WatchPoliciesRequest) GetMaxChunkSize() int32 { 1060 if m != nil { 1061 return m.MaxChunkSize 1062 } 1063 return int32(0) 1064 } 1065 1066 func (m *WatchPoliciesRequest) SetType(fv watch_type.WatchType) { 1067 if m == nil { 1068 panic(fmt.Errorf("can't set %s on nil %s", "Type", "WatchPoliciesRequest")) 1069 } 1070 m.Type = fv 1071 } 1072 1073 func (m *WatchPoliciesRequest) SetParent(fv *policy.ParentName) { 1074 if m == nil { 1075 panic(fmt.Errorf("can't set %s on nil %s", "Parent", "WatchPoliciesRequest")) 1076 } 1077 m.Parent = fv 1078 } 1079 1080 func (m *WatchPoliciesRequest) SetPageSize(fv int32) { 1081 if m == nil { 1082 panic(fmt.Errorf("can't set %s on nil %s", "PageSize", "WatchPoliciesRequest")) 1083 } 1084 m.PageSize = fv 1085 } 1086 1087 func (m *WatchPoliciesRequest) SetPageToken(fv *policy.PagerCursor) { 1088 if m == nil { 1089 panic(fmt.Errorf("can't set %s on nil %s", "PageToken", "WatchPoliciesRequest")) 1090 } 1091 m.PageToken = fv 1092 } 1093 1094 func (m *WatchPoliciesRequest) SetOrderBy(fv *policy.OrderBy) { 1095 if m == nil { 1096 panic(fmt.Errorf("can't set %s on nil %s", "OrderBy", "WatchPoliciesRequest")) 1097 } 1098 m.OrderBy = fv 1099 } 1100 1101 func (m *WatchPoliciesRequest) SetResumeToken(fv string) { 1102 if m == nil { 1103 panic(fmt.Errorf("can't set %s on nil %s", "ResumeToken", "WatchPoliciesRequest")) 1104 } 1105 m.ResumeToken = fv 1106 } 1107 1108 func (m *WatchPoliciesRequest) SetStartingTime(fv *timestamppb.Timestamp) { 1109 if m == nil { 1110 panic(fmt.Errorf("can't set %s on nil %s", "StartingTime", "WatchPoliciesRequest")) 1111 } 1112 m.StartingTime = fv 1113 } 1114 1115 func (m *WatchPoliciesRequest) SetFilter(fv *policy.Filter) { 1116 if m == nil { 1117 panic(fmt.Errorf("can't set %s on nil %s", "Filter", "WatchPoliciesRequest")) 1118 } 1119 m.Filter = fv 1120 } 1121 1122 func (m *WatchPoliciesRequest) SetFieldMask(fv *policy.Policy_FieldMask) { 1123 if m == nil { 1124 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "WatchPoliciesRequest")) 1125 } 1126 m.FieldMask = fv 1127 } 1128 1129 func (m *WatchPoliciesRequest) SetView(fv view.View) { 1130 if m == nil { 1131 panic(fmt.Errorf("can't set %s on nil %s", "View", "WatchPoliciesRequest")) 1132 } 1133 m.View = fv 1134 } 1135 1136 func (m *WatchPoliciesRequest) SetMaxChunkSize(fv int32) { 1137 if m == nil { 1138 panic(fmt.Errorf("can't set %s on nil %s", "MaxChunkSize", "WatchPoliciesRequest")) 1139 } 1140 m.MaxChunkSize = fv 1141 } 1142 1143 // A response message of the WatchPolicies method. 1144 type WatchPoliciesResponse struct { 1145 state protoimpl.MessageState 1146 sizeCache protoimpl.SizeCache 1147 unknownFields protoimpl.UnknownFields 1148 // Changes of Policies 1149 PolicyChanges []*policy.PolicyChange `protobuf:"bytes,2,rep,name=policy_changes,json=policyChanges,proto3" json:"policy_changes,omitempty"` 1150 // If request specified max_chunk_size (or this limit was enforced if 1151 // stateless watch has been chosen), then responses with "full changeset" will 1152 // be divided into chunks. Client should keep receiving messages and, once 1153 // is_current has value true, combine this recent message with all previous 1154 // ones where is_current is false. If this is the first is_current in a whole 1155 // watch stream, then it means that client should have, at this moment, 1156 // contain snapshot of the current situation (or more accurately, snapshot of 1157 // situation at the moment of request). All Policies will be of type 1158 // Added/Current (depending on watch_type specified in the request). Further 1159 // responses will be incremental - however messages may still be chunked and 1160 // is_current logic still applies. is_current is always true for stateful 1161 // watch if max_chunk_size was left to 0. 1162 IsCurrent bool `protobuf:"varint,4,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty"` 1163 // When present, PageTokens used for page navigation should be updated. 1164 // Present only if is_current is true (last chunk). 1165 PageTokenChange *WatchPoliciesResponse_PageTokenChange `protobuf:"bytes,3,opt,name=page_token_change,json=pageTokenChange,proto3" json:"page_token_change,omitempty"` 1166 // Token that can be used if current connection drops and client needs to 1167 // reconnect. Populated only for stateless watch type. Present only if 1168 // is_current is true (last chunk). 1169 ResumeToken string `protobuf:"bytes,5,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"` 1170 // Server may occasionally send information how many resources should client 1171 // have in its state so far (response message without any changes, but with 1172 // snapshot_size field specified). If client has different value than the one 1173 // sent by the server, then it should be treated by a client as an error and 1174 // should reconnect. If value is smaller then 0, then client should ignore 1175 // this field as unpopulated. This field should be checked only for stateless 1176 // watch. In stateful those kind of errors are handled by the server side. 1177 // Will be never sent together with is_current, is_soft_reset and 1178 // is_hard_reset flags. 1179 SnapshotSize int64 `protobuf:"varint,6,opt,name=snapshot_size,json=snapshotSize,proto3" json:"snapshot_size,omitempty"` 1180 // In case of internal issue server may send response message with this flag. 1181 // It indicates that client should drop all changes from recent responses 1182 // where is_current is false only! If last message had is_current set to true, 1183 // client should do nothing and process normally. Resume token received before 1184 // is still valid. This field should be checked only for stateless watch. In 1185 // stateful those kind of errors are handled by the server side. Will never be 1186 // sent along with is_current, is_hard_reset or snapshot_size. 1187 IsSoftReset bool `protobuf:"varint,7,opt,name=is_soft_reset,json=isSoftReset,proto3" json:"is_soft_reset,omitempty"` 1188 // In case of internal issue server may send response message with this flag. 1189 // After receiving, client should clear whole state (drop all changes received 1190 // so far) as server will send new snapshot (Policies will contains changes of 1191 // type Current only). Any resume tokens should be discarded as well. This 1192 // field should be checked only for stateless watch. In stateful those kind of 1193 // errors are handled by the server side. Will never be sent along with 1194 // is_current, is_soft_reset or snapshot_size. 1195 IsHardReset bool `protobuf:"varint,8,opt,name=is_hard_reset,json=isHardReset,proto3" json:"is_hard_reset,omitempty"` 1196 } 1197 1198 func (m *WatchPoliciesResponse) Reset() { 1199 *m = WatchPoliciesResponse{} 1200 if protoimpl.UnsafeEnabled { 1201 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[8] 1202 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1203 ms.StoreMessageInfo(mi) 1204 } 1205 } 1206 1207 func (m *WatchPoliciesResponse) String() string { 1208 return protoimpl.X.MessageStringOf(m) 1209 } 1210 1211 func (*WatchPoliciesResponse) ProtoMessage() {} 1212 1213 func (m *WatchPoliciesResponse) ProtoReflect() preflect.Message { 1214 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[8] 1215 if protoimpl.UnsafeEnabled && m != nil { 1216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1217 if ms.LoadMessageInfo() == nil { 1218 ms.StoreMessageInfo(mi) 1219 } 1220 return ms 1221 } 1222 return mi.MessageOf(m) 1223 } 1224 1225 func (*WatchPoliciesResponse) GotenMessage() {} 1226 1227 // Deprecated, Use WatchPoliciesResponse.ProtoReflect.Descriptor instead. 1228 func (*WatchPoliciesResponse) Descriptor() ([]byte, []int) { 1229 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{8} 1230 } 1231 1232 func (m *WatchPoliciesResponse) Unmarshal(b []byte) error { 1233 return proto.Unmarshal(b, m) 1234 } 1235 1236 func (m *WatchPoliciesResponse) Marshal() ([]byte, error) { 1237 return proto.Marshal(m) 1238 } 1239 1240 func (m *WatchPoliciesResponse) MarshalJSON() ([]byte, error) { 1241 return protojson.MarshalOptions{}.Marshal(m) 1242 } 1243 1244 func (m *WatchPoliciesResponse) UnmarshalJSON(data []byte) error { 1245 return protojson.Unmarshal(data, m) 1246 } 1247 1248 func (m *WatchPoliciesResponse) GetPolicyChanges() []*policy.PolicyChange { 1249 if m != nil { 1250 return m.PolicyChanges 1251 } 1252 return nil 1253 } 1254 1255 func (m *WatchPoliciesResponse) GetIsCurrent() bool { 1256 if m != nil { 1257 return m.IsCurrent 1258 } 1259 return false 1260 } 1261 1262 func (m *WatchPoliciesResponse) GetPageTokenChange() *WatchPoliciesResponse_PageTokenChange { 1263 if m != nil { 1264 return m.PageTokenChange 1265 } 1266 return nil 1267 } 1268 1269 func (m *WatchPoliciesResponse) GetResumeToken() string { 1270 if m != nil { 1271 return m.ResumeToken 1272 } 1273 return "" 1274 } 1275 1276 func (m *WatchPoliciesResponse) GetSnapshotSize() int64 { 1277 if m != nil { 1278 return m.SnapshotSize 1279 } 1280 return int64(0) 1281 } 1282 1283 func (m *WatchPoliciesResponse) GetIsSoftReset() bool { 1284 if m != nil { 1285 return m.IsSoftReset 1286 } 1287 return false 1288 } 1289 1290 func (m *WatchPoliciesResponse) GetIsHardReset() bool { 1291 if m != nil { 1292 return m.IsHardReset 1293 } 1294 return false 1295 } 1296 1297 func (m *WatchPoliciesResponse) SetPolicyChanges(fv []*policy.PolicyChange) { 1298 if m == nil { 1299 panic(fmt.Errorf("can't set %s on nil %s", "PolicyChanges", "WatchPoliciesResponse")) 1300 } 1301 m.PolicyChanges = fv 1302 } 1303 1304 func (m *WatchPoliciesResponse) SetIsCurrent(fv bool) { 1305 if m == nil { 1306 panic(fmt.Errorf("can't set %s on nil %s", "IsCurrent", "WatchPoliciesResponse")) 1307 } 1308 m.IsCurrent = fv 1309 } 1310 1311 func (m *WatchPoliciesResponse) SetPageTokenChange(fv *WatchPoliciesResponse_PageTokenChange) { 1312 if m == nil { 1313 panic(fmt.Errorf("can't set %s on nil %s", "PageTokenChange", "WatchPoliciesResponse")) 1314 } 1315 m.PageTokenChange = fv 1316 } 1317 1318 func (m *WatchPoliciesResponse) SetResumeToken(fv string) { 1319 if m == nil { 1320 panic(fmt.Errorf("can't set %s on nil %s", "ResumeToken", "WatchPoliciesResponse")) 1321 } 1322 m.ResumeToken = fv 1323 } 1324 1325 func (m *WatchPoliciesResponse) SetSnapshotSize(fv int64) { 1326 if m == nil { 1327 panic(fmt.Errorf("can't set %s on nil %s", "SnapshotSize", "WatchPoliciesResponse")) 1328 } 1329 m.SnapshotSize = fv 1330 } 1331 1332 func (m *WatchPoliciesResponse) SetIsSoftReset(fv bool) { 1333 if m == nil { 1334 panic(fmt.Errorf("can't set %s on nil %s", "IsSoftReset", "WatchPoliciesResponse")) 1335 } 1336 m.IsSoftReset = fv 1337 } 1338 1339 func (m *WatchPoliciesResponse) SetIsHardReset(fv bool) { 1340 if m == nil { 1341 panic(fmt.Errorf("can't set %s on nil %s", "IsHardReset", "WatchPoliciesResponse")) 1342 } 1343 m.IsHardReset = fv 1344 } 1345 1346 // A request message of the CreatePolicy method. 1347 type CreatePolicyRequest struct { 1348 state protoimpl.MessageState 1349 sizeCache protoimpl.SizeCache 1350 unknownFields protoimpl.UnknownFields 1351 // Parent name of ntt.alerting.v1.Policy 1352 Parent *policy.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty"` 1353 // Policy resource body 1354 Policy *policy.Policy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"` 1355 // Optional masking applied to response object to reduce message response 1356 // size. 1357 ResponseMask *CreatePolicyRequest_ResponseMask `protobuf:"bytes,3,opt,name=response_mask,json=responseMask,proto3" json:"response_mask,omitempty"` 1358 } 1359 1360 func (m *CreatePolicyRequest) Reset() { 1361 *m = CreatePolicyRequest{} 1362 if protoimpl.UnsafeEnabled { 1363 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[9] 1364 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1365 ms.StoreMessageInfo(mi) 1366 } 1367 } 1368 1369 func (m *CreatePolicyRequest) String() string { 1370 return protoimpl.X.MessageStringOf(m) 1371 } 1372 1373 func (*CreatePolicyRequest) ProtoMessage() {} 1374 1375 func (m *CreatePolicyRequest) ProtoReflect() preflect.Message { 1376 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[9] 1377 if protoimpl.UnsafeEnabled && m != nil { 1378 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1379 if ms.LoadMessageInfo() == nil { 1380 ms.StoreMessageInfo(mi) 1381 } 1382 return ms 1383 } 1384 return mi.MessageOf(m) 1385 } 1386 1387 func (*CreatePolicyRequest) GotenMessage() {} 1388 1389 // Deprecated, Use CreatePolicyRequest.ProtoReflect.Descriptor instead. 1390 func (*CreatePolicyRequest) Descriptor() ([]byte, []int) { 1391 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{9} 1392 } 1393 1394 func (m *CreatePolicyRequest) Unmarshal(b []byte) error { 1395 return proto.Unmarshal(b, m) 1396 } 1397 1398 func (m *CreatePolicyRequest) Marshal() ([]byte, error) { 1399 return proto.Marshal(m) 1400 } 1401 1402 func (m *CreatePolicyRequest) MarshalJSON() ([]byte, error) { 1403 return protojson.MarshalOptions{}.Marshal(m) 1404 } 1405 1406 func (m *CreatePolicyRequest) UnmarshalJSON(data []byte) error { 1407 return protojson.Unmarshal(data, m) 1408 } 1409 1410 func (m *CreatePolicyRequest) GetParent() *policy.ParentName { 1411 if m != nil { 1412 return m.Parent 1413 } 1414 return nil 1415 } 1416 1417 func (m *CreatePolicyRequest) GetPolicy() *policy.Policy { 1418 if m != nil { 1419 return m.Policy 1420 } 1421 return nil 1422 } 1423 1424 func (m *CreatePolicyRequest) GetResponseMask() *CreatePolicyRequest_ResponseMask { 1425 if m != nil { 1426 return m.ResponseMask 1427 } 1428 return nil 1429 } 1430 1431 func (m *CreatePolicyRequest) SetParent(fv *policy.ParentName) { 1432 if m == nil { 1433 panic(fmt.Errorf("can't set %s on nil %s", "Parent", "CreatePolicyRequest")) 1434 } 1435 m.Parent = fv 1436 } 1437 1438 func (m *CreatePolicyRequest) SetPolicy(fv *policy.Policy) { 1439 if m == nil { 1440 panic(fmt.Errorf("can't set %s on nil %s", "Policy", "CreatePolicyRequest")) 1441 } 1442 m.Policy = fv 1443 } 1444 1445 func (m *CreatePolicyRequest) SetResponseMask(fv *CreatePolicyRequest_ResponseMask) { 1446 if m == nil { 1447 panic(fmt.Errorf("can't set %s on nil %s", "ResponseMask", "CreatePolicyRequest")) 1448 } 1449 m.ResponseMask = fv 1450 } 1451 1452 // A request message of the UpdatePolicy method. 1453 type UpdatePolicyRequest struct { 1454 state protoimpl.MessageState 1455 sizeCache protoimpl.SizeCache 1456 unknownFields protoimpl.UnknownFields 1457 // Policy resource body 1458 Policy *policy.Policy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"` 1459 // FieldMask applied to request - change will be applied only for fields in 1460 // the mask 1461 UpdateMask *policy.Policy_FieldMask `protobuf:"bytes,3,opt,customtype=Policy_FieldMask,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 1462 // Conditional update applied to request if update should be executed only for 1463 // specific resource state. If this field is populated, then server will fetch 1464 // existing resource, compare with the one stored in the cas field (after 1465 // applying field mask) and proceed with update only and only if they match. 1466 // Otherwise RPC error Aborted will be returned. 1467 Cas *UpdatePolicyRequest_CAS `protobuf:"bytes,4,opt,name=cas,proto3" json:"cas,omitempty"` 1468 // If set to true, and the resource is not found, 1469 // a new resource will be created. In this situation, 1470 // 'field_mask' is ignored. 1471 // 1472 // https://google.aip.dev/134#create-or-update 1473 AllowMissing bool `protobuf:"varint,5,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` 1474 // reduce message response size. 1475 ResponseMask *UpdatePolicyRequest_ResponseMask `protobuf:"bytes,6,opt,name=response_mask,json=responseMask,proto3" json:"response_mask,omitempty"` 1476 } 1477 1478 func (m *UpdatePolicyRequest) Reset() { 1479 *m = UpdatePolicyRequest{} 1480 if protoimpl.UnsafeEnabled { 1481 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[10] 1482 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1483 ms.StoreMessageInfo(mi) 1484 } 1485 } 1486 1487 func (m *UpdatePolicyRequest) String() string { 1488 return protoimpl.X.MessageStringOf(m) 1489 } 1490 1491 func (*UpdatePolicyRequest) ProtoMessage() {} 1492 1493 func (m *UpdatePolicyRequest) ProtoReflect() preflect.Message { 1494 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[10] 1495 if protoimpl.UnsafeEnabled && m != nil { 1496 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1497 if ms.LoadMessageInfo() == nil { 1498 ms.StoreMessageInfo(mi) 1499 } 1500 return ms 1501 } 1502 return mi.MessageOf(m) 1503 } 1504 1505 func (*UpdatePolicyRequest) GotenMessage() {} 1506 1507 // Deprecated, Use UpdatePolicyRequest.ProtoReflect.Descriptor instead. 1508 func (*UpdatePolicyRequest) Descriptor() ([]byte, []int) { 1509 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{10} 1510 } 1511 1512 func (m *UpdatePolicyRequest) Unmarshal(b []byte) error { 1513 return proto.Unmarshal(b, m) 1514 } 1515 1516 func (m *UpdatePolicyRequest) Marshal() ([]byte, error) { 1517 return proto.Marshal(m) 1518 } 1519 1520 func (m *UpdatePolicyRequest) MarshalJSON() ([]byte, error) { 1521 return protojson.MarshalOptions{}.Marshal(m) 1522 } 1523 1524 func (m *UpdatePolicyRequest) UnmarshalJSON(data []byte) error { 1525 return protojson.Unmarshal(data, m) 1526 } 1527 1528 func (m *UpdatePolicyRequest) GetPolicy() *policy.Policy { 1529 if m != nil { 1530 return m.Policy 1531 } 1532 return nil 1533 } 1534 1535 func (m *UpdatePolicyRequest) GetUpdateMask() *policy.Policy_FieldMask { 1536 if m != nil { 1537 return m.UpdateMask 1538 } 1539 return nil 1540 } 1541 1542 func (m *UpdatePolicyRequest) GetCas() *UpdatePolicyRequest_CAS { 1543 if m != nil { 1544 return m.Cas 1545 } 1546 return nil 1547 } 1548 1549 func (m *UpdatePolicyRequest) GetAllowMissing() bool { 1550 if m != nil { 1551 return m.AllowMissing 1552 } 1553 return false 1554 } 1555 1556 func (m *UpdatePolicyRequest) GetResponseMask() *UpdatePolicyRequest_ResponseMask { 1557 if m != nil { 1558 return m.ResponseMask 1559 } 1560 return nil 1561 } 1562 1563 func (m *UpdatePolicyRequest) SetPolicy(fv *policy.Policy) { 1564 if m == nil { 1565 panic(fmt.Errorf("can't set %s on nil %s", "Policy", "UpdatePolicyRequest")) 1566 } 1567 m.Policy = fv 1568 } 1569 1570 func (m *UpdatePolicyRequest) SetUpdateMask(fv *policy.Policy_FieldMask) { 1571 if m == nil { 1572 panic(fmt.Errorf("can't set %s on nil %s", "UpdateMask", "UpdatePolicyRequest")) 1573 } 1574 m.UpdateMask = fv 1575 } 1576 1577 func (m *UpdatePolicyRequest) SetCas(fv *UpdatePolicyRequest_CAS) { 1578 if m == nil { 1579 panic(fmt.Errorf("can't set %s on nil %s", "Cas", "UpdatePolicyRequest")) 1580 } 1581 m.Cas = fv 1582 } 1583 1584 func (m *UpdatePolicyRequest) SetAllowMissing(fv bool) { 1585 if m == nil { 1586 panic(fmt.Errorf("can't set %s on nil %s", "AllowMissing", "UpdatePolicyRequest")) 1587 } 1588 m.AllowMissing = fv 1589 } 1590 1591 func (m *UpdatePolicyRequest) SetResponseMask(fv *UpdatePolicyRequest_ResponseMask) { 1592 if m == nil { 1593 panic(fmt.Errorf("can't set %s on nil %s", "ResponseMask", "UpdatePolicyRequest")) 1594 } 1595 m.ResponseMask = fv 1596 } 1597 1598 // A request message of the DeletePolicy method. 1599 type DeletePolicyRequest struct { 1600 state protoimpl.MessageState 1601 sizeCache protoimpl.SizeCache 1602 unknownFields protoimpl.UnknownFields 1603 // Name of ntt.alerting.v1.Policy 1604 Name *policy.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 1605 // If set to true, and the resource is not found, method will be successful 1606 // and will not return NotFound error. 1607 AllowMissing bool `protobuf:"varint,2,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` 1608 } 1609 1610 func (m *DeletePolicyRequest) Reset() { 1611 *m = DeletePolicyRequest{} 1612 if protoimpl.UnsafeEnabled { 1613 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[11] 1614 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1615 ms.StoreMessageInfo(mi) 1616 } 1617 } 1618 1619 func (m *DeletePolicyRequest) String() string { 1620 return protoimpl.X.MessageStringOf(m) 1621 } 1622 1623 func (*DeletePolicyRequest) ProtoMessage() {} 1624 1625 func (m *DeletePolicyRequest) ProtoReflect() preflect.Message { 1626 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[11] 1627 if protoimpl.UnsafeEnabled && m != nil { 1628 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1629 if ms.LoadMessageInfo() == nil { 1630 ms.StoreMessageInfo(mi) 1631 } 1632 return ms 1633 } 1634 return mi.MessageOf(m) 1635 } 1636 1637 func (*DeletePolicyRequest) GotenMessage() {} 1638 1639 // Deprecated, Use DeletePolicyRequest.ProtoReflect.Descriptor instead. 1640 func (*DeletePolicyRequest) Descriptor() ([]byte, []int) { 1641 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{11} 1642 } 1643 1644 func (m *DeletePolicyRequest) Unmarshal(b []byte) error { 1645 return proto.Unmarshal(b, m) 1646 } 1647 1648 func (m *DeletePolicyRequest) Marshal() ([]byte, error) { 1649 return proto.Marshal(m) 1650 } 1651 1652 func (m *DeletePolicyRequest) MarshalJSON() ([]byte, error) { 1653 return protojson.MarshalOptions{}.Marshal(m) 1654 } 1655 1656 func (m *DeletePolicyRequest) UnmarshalJSON(data []byte) error { 1657 return protojson.Unmarshal(data, m) 1658 } 1659 1660 func (m *DeletePolicyRequest) GetName() *policy.Name { 1661 if m != nil { 1662 return m.Name 1663 } 1664 return nil 1665 } 1666 1667 func (m *DeletePolicyRequest) GetAllowMissing() bool { 1668 if m != nil { 1669 return m.AllowMissing 1670 } 1671 return false 1672 } 1673 1674 func (m *DeletePolicyRequest) SetName(fv *policy.Name) { 1675 if m == nil { 1676 panic(fmt.Errorf("can't set %s on nil %s", "Name", "DeletePolicyRequest")) 1677 } 1678 m.Name = fv 1679 } 1680 1681 func (m *DeletePolicyRequest) SetAllowMissing(fv bool) { 1682 if m == nil { 1683 panic(fmt.Errorf("can't set %s on nil %s", "AllowMissing", "DeletePolicyRequest")) 1684 } 1685 m.AllowMissing = fv 1686 } 1687 1688 // A request message of the SearchPolicies method. 1689 type SearchPoliciesRequest struct { 1690 state protoimpl.MessageState 1691 sizeCache protoimpl.SizeCache 1692 unknownFields protoimpl.UnknownFields 1693 // Parent name of ntt.alerting.v1.Policy 1694 Parent *policy.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty"` 1695 // Requested page size. Server may return fewer Policies than requested. 1696 // If unspecified, server will pick an appropriate default. 1697 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 1698 // A token identifying a page of results the server should return. 1699 // Typically, this is the value of 1700 // SearchPoliciesResponse.next_page_token. 1701 PageToken *policy.PagerCursor `protobuf:"bytes,3,opt,customtype=PagerCursor,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 1702 // Order By - 1703 // https://cloud.google.com/apis/design/design_patterns#list_pagination list 1704 // of field path with order directive, either 'asc' or 'desc'. If direction is 1705 // not provided, 'asc' is assumed. e.g. "state.nested_field asc, 1706 // state.something.else desc, theme" 1707 OrderBy *policy.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` 1708 // Filter - filter results by field criteria. Simplified SQL-like syntax with 1709 // following operators: 1710 // <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS 1711 // [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels 1712 // CONTAINS "severity:important" OR (state.last_error_time > 1713 // "2018-11-15T10:00:00Z" AND state.status = "ERROR")' 1714 Filter *policy.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty"` 1715 // A list of extra fields to be obtained for each response item on top of 1716 // fields defined by request field view 1717 FieldMask *policy.Policy_FieldMask `protobuf:"bytes,6,opt,customtype=Policy_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 1718 // View defines list of standard response fields present in response items. 1719 // Additional fields can be amended by request field field_mask 1720 View view.View `protobuf:"varint,7,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty"` 1721 // Optional search phrase used to further filter results. 1722 Phrase string `protobuf:"bytes,8,opt,name=phrase,proto3" json:"phrase,omitempty"` 1723 } 1724 1725 func (m *SearchPoliciesRequest) Reset() { 1726 *m = SearchPoliciesRequest{} 1727 if protoimpl.UnsafeEnabled { 1728 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[12] 1729 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1730 ms.StoreMessageInfo(mi) 1731 } 1732 } 1733 1734 func (m *SearchPoliciesRequest) String() string { 1735 return protoimpl.X.MessageStringOf(m) 1736 } 1737 1738 func (*SearchPoliciesRequest) ProtoMessage() {} 1739 1740 func (m *SearchPoliciesRequest) ProtoReflect() preflect.Message { 1741 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[12] 1742 if protoimpl.UnsafeEnabled && m != nil { 1743 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1744 if ms.LoadMessageInfo() == nil { 1745 ms.StoreMessageInfo(mi) 1746 } 1747 return ms 1748 } 1749 return mi.MessageOf(m) 1750 } 1751 1752 func (*SearchPoliciesRequest) GotenMessage() {} 1753 1754 // Deprecated, Use SearchPoliciesRequest.ProtoReflect.Descriptor instead. 1755 func (*SearchPoliciesRequest) Descriptor() ([]byte, []int) { 1756 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{12} 1757 } 1758 1759 func (m *SearchPoliciesRequest) Unmarshal(b []byte) error { 1760 return proto.Unmarshal(b, m) 1761 } 1762 1763 func (m *SearchPoliciesRequest) Marshal() ([]byte, error) { 1764 return proto.Marshal(m) 1765 } 1766 1767 func (m *SearchPoliciesRequest) MarshalJSON() ([]byte, error) { 1768 return protojson.MarshalOptions{}.Marshal(m) 1769 } 1770 1771 func (m *SearchPoliciesRequest) UnmarshalJSON(data []byte) error { 1772 return protojson.Unmarshal(data, m) 1773 } 1774 1775 func (m *SearchPoliciesRequest) GetParent() *policy.ParentName { 1776 if m != nil { 1777 return m.Parent 1778 } 1779 return nil 1780 } 1781 1782 func (m *SearchPoliciesRequest) GetPageSize() int32 { 1783 if m != nil { 1784 return m.PageSize 1785 } 1786 return int32(0) 1787 } 1788 1789 func (m *SearchPoliciesRequest) GetPageToken() *policy.PagerCursor { 1790 if m != nil { 1791 return m.PageToken 1792 } 1793 return nil 1794 } 1795 1796 func (m *SearchPoliciesRequest) GetOrderBy() *policy.OrderBy { 1797 if m != nil { 1798 return m.OrderBy 1799 } 1800 return nil 1801 } 1802 1803 func (m *SearchPoliciesRequest) GetFilter() *policy.Filter { 1804 if m != nil { 1805 return m.Filter 1806 } 1807 return nil 1808 } 1809 1810 func (m *SearchPoliciesRequest) GetFieldMask() *policy.Policy_FieldMask { 1811 if m != nil { 1812 return m.FieldMask 1813 } 1814 return nil 1815 } 1816 1817 func (m *SearchPoliciesRequest) GetView() view.View { 1818 if m != nil { 1819 return m.View 1820 } 1821 return view.View_UNSPECIFIED 1822 } 1823 1824 func (m *SearchPoliciesRequest) GetPhrase() string { 1825 if m != nil { 1826 return m.Phrase 1827 } 1828 return "" 1829 } 1830 1831 func (m *SearchPoliciesRequest) SetParent(fv *policy.ParentName) { 1832 if m == nil { 1833 panic(fmt.Errorf("can't set %s on nil %s", "Parent", "SearchPoliciesRequest")) 1834 } 1835 m.Parent = fv 1836 } 1837 1838 func (m *SearchPoliciesRequest) SetPageSize(fv int32) { 1839 if m == nil { 1840 panic(fmt.Errorf("can't set %s on nil %s", "PageSize", "SearchPoliciesRequest")) 1841 } 1842 m.PageSize = fv 1843 } 1844 1845 func (m *SearchPoliciesRequest) SetPageToken(fv *policy.PagerCursor) { 1846 if m == nil { 1847 panic(fmt.Errorf("can't set %s on nil %s", "PageToken", "SearchPoliciesRequest")) 1848 } 1849 m.PageToken = fv 1850 } 1851 1852 func (m *SearchPoliciesRequest) SetOrderBy(fv *policy.OrderBy) { 1853 if m == nil { 1854 panic(fmt.Errorf("can't set %s on nil %s", "OrderBy", "SearchPoliciesRequest")) 1855 } 1856 m.OrderBy = fv 1857 } 1858 1859 func (m *SearchPoliciesRequest) SetFilter(fv *policy.Filter) { 1860 if m == nil { 1861 panic(fmt.Errorf("can't set %s on nil %s", "Filter", "SearchPoliciesRequest")) 1862 } 1863 m.Filter = fv 1864 } 1865 1866 func (m *SearchPoliciesRequest) SetFieldMask(fv *policy.Policy_FieldMask) { 1867 if m == nil { 1868 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "SearchPoliciesRequest")) 1869 } 1870 m.FieldMask = fv 1871 } 1872 1873 func (m *SearchPoliciesRequest) SetView(fv view.View) { 1874 if m == nil { 1875 panic(fmt.Errorf("can't set %s on nil %s", "View", "SearchPoliciesRequest")) 1876 } 1877 m.View = fv 1878 } 1879 1880 func (m *SearchPoliciesRequest) SetPhrase(fv string) { 1881 if m == nil { 1882 panic(fmt.Errorf("can't set %s on nil %s", "Phrase", "SearchPoliciesRequest")) 1883 } 1884 m.Phrase = fv 1885 } 1886 1887 // A response message of the SearchPolicies method. 1888 type SearchPoliciesResponse struct { 1889 state protoimpl.MessageState 1890 sizeCache protoimpl.SizeCache 1891 unknownFields protoimpl.UnknownFields 1892 // The list of Policies 1893 Policies []*policy.Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` 1894 // A token to retrieve previous page of results. 1895 // 1896 // Pass this value in the SearchPoliciesRequest.page_token. 1897 PrevPageToken *policy.PagerCursor `protobuf:"bytes,3,opt,customtype=PagerCursor,name=prev_page_token,json=prevPageToken,proto3" json:"prev_page_token,omitempty"` 1898 // A token to retrieve next page of results. 1899 // 1900 // Pass this value in the SearchPoliciesRequest.page_token. 1901 NextPageToken *policy.PagerCursor `protobuf:"bytes,4,opt,customtype=PagerCursor,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 1902 // Current offset from the first page (0 if no page tokens were given). Page 1903 // index can be computed from offset and limit provided in a request 1904 CurrentOffset int32 `protobuf:"varint,5,opt,name=current_offset,json=currentOffset,proto3" json:"current_offset,omitempty"` 1905 // Number of total Policies across all pages. 1906 TotalResultsCount int32 `protobuf:"varint,6,opt,name=total_results_count,json=totalResultsCount,proto3" json:"total_results_count,omitempty"` 1907 } 1908 1909 func (m *SearchPoliciesResponse) Reset() { 1910 *m = SearchPoliciesResponse{} 1911 if protoimpl.UnsafeEnabled { 1912 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[13] 1913 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1914 ms.StoreMessageInfo(mi) 1915 } 1916 } 1917 1918 func (m *SearchPoliciesResponse) String() string { 1919 return protoimpl.X.MessageStringOf(m) 1920 } 1921 1922 func (*SearchPoliciesResponse) ProtoMessage() {} 1923 1924 func (m *SearchPoliciesResponse) ProtoReflect() preflect.Message { 1925 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[13] 1926 if protoimpl.UnsafeEnabled && m != nil { 1927 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1928 if ms.LoadMessageInfo() == nil { 1929 ms.StoreMessageInfo(mi) 1930 } 1931 return ms 1932 } 1933 return mi.MessageOf(m) 1934 } 1935 1936 func (*SearchPoliciesResponse) GotenMessage() {} 1937 1938 // Deprecated, Use SearchPoliciesResponse.ProtoReflect.Descriptor instead. 1939 func (*SearchPoliciesResponse) Descriptor() ([]byte, []int) { 1940 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{13} 1941 } 1942 1943 func (m *SearchPoliciesResponse) Unmarshal(b []byte) error { 1944 return proto.Unmarshal(b, m) 1945 } 1946 1947 func (m *SearchPoliciesResponse) Marshal() ([]byte, error) { 1948 return proto.Marshal(m) 1949 } 1950 1951 func (m *SearchPoliciesResponse) MarshalJSON() ([]byte, error) { 1952 return protojson.MarshalOptions{}.Marshal(m) 1953 } 1954 1955 func (m *SearchPoliciesResponse) UnmarshalJSON(data []byte) error { 1956 return protojson.Unmarshal(data, m) 1957 } 1958 1959 func (m *SearchPoliciesResponse) GetPolicies() []*policy.Policy { 1960 if m != nil { 1961 return m.Policies 1962 } 1963 return nil 1964 } 1965 1966 func (m *SearchPoliciesResponse) GetPrevPageToken() *policy.PagerCursor { 1967 if m != nil { 1968 return m.PrevPageToken 1969 } 1970 return nil 1971 } 1972 1973 func (m *SearchPoliciesResponse) GetNextPageToken() *policy.PagerCursor { 1974 if m != nil { 1975 return m.NextPageToken 1976 } 1977 return nil 1978 } 1979 1980 func (m *SearchPoliciesResponse) GetCurrentOffset() int32 { 1981 if m != nil { 1982 return m.CurrentOffset 1983 } 1984 return int32(0) 1985 } 1986 1987 func (m *SearchPoliciesResponse) GetTotalResultsCount() int32 { 1988 if m != nil { 1989 return m.TotalResultsCount 1990 } 1991 return int32(0) 1992 } 1993 1994 func (m *SearchPoliciesResponse) SetPolicies(fv []*policy.Policy) { 1995 if m == nil { 1996 panic(fmt.Errorf("can't set %s on nil %s", "Policies", "SearchPoliciesResponse")) 1997 } 1998 m.Policies = fv 1999 } 2000 2001 func (m *SearchPoliciesResponse) SetPrevPageToken(fv *policy.PagerCursor) { 2002 if m == nil { 2003 panic(fmt.Errorf("can't set %s on nil %s", "PrevPageToken", "SearchPoliciesResponse")) 2004 } 2005 m.PrevPageToken = fv 2006 } 2007 2008 func (m *SearchPoliciesResponse) SetNextPageToken(fv *policy.PagerCursor) { 2009 if m == nil { 2010 panic(fmt.Errorf("can't set %s on nil %s", "NextPageToken", "SearchPoliciesResponse")) 2011 } 2012 m.NextPageToken = fv 2013 } 2014 2015 func (m *SearchPoliciesResponse) SetCurrentOffset(fv int32) { 2016 if m == nil { 2017 panic(fmt.Errorf("can't set %s on nil %s", "CurrentOffset", "SearchPoliciesResponse")) 2018 } 2019 m.CurrentOffset = fv 2020 } 2021 2022 func (m *SearchPoliciesResponse) SetTotalResultsCount(fv int32) { 2023 if m == nil { 2024 panic(fmt.Errorf("can't set %s on nil %s", "TotalResultsCount", "SearchPoliciesResponse")) 2025 } 2026 m.TotalResultsCount = fv 2027 } 2028 2029 type WatchPoliciesResponse_PageTokenChange struct { 2030 state protoimpl.MessageState 2031 sizeCache protoimpl.SizeCache 2032 unknownFields protoimpl.UnknownFields 2033 // New token to retrieve previous page of results. 2034 PrevPageToken *policy.PagerCursor `protobuf:"bytes,1,opt,customtype=PagerCursor,name=prev_page_token,json=prevPageToken,proto3" json:"prev_page_token,omitempty"` 2035 // New token to retrieve next page of results. 2036 NextPageToken *policy.PagerCursor `protobuf:"bytes,2,opt,customtype=PagerCursor,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 2037 } 2038 2039 func (m *WatchPoliciesResponse_PageTokenChange) Reset() { 2040 *m = WatchPoliciesResponse_PageTokenChange{} 2041 if protoimpl.UnsafeEnabled { 2042 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[14] 2043 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2044 ms.StoreMessageInfo(mi) 2045 } 2046 } 2047 2048 func (m *WatchPoliciesResponse_PageTokenChange) String() string { 2049 return protoimpl.X.MessageStringOf(m) 2050 } 2051 2052 func (*WatchPoliciesResponse_PageTokenChange) ProtoMessage() {} 2053 2054 func (m *WatchPoliciesResponse_PageTokenChange) ProtoReflect() preflect.Message { 2055 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[14] 2056 if protoimpl.UnsafeEnabled && m != nil { 2057 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2058 if ms.LoadMessageInfo() == nil { 2059 ms.StoreMessageInfo(mi) 2060 } 2061 return ms 2062 } 2063 return mi.MessageOf(m) 2064 } 2065 2066 func (*WatchPoliciesResponse_PageTokenChange) GotenMessage() {} 2067 2068 // Deprecated, Use WatchPoliciesResponse_PageTokenChange.ProtoReflect.Descriptor instead. 2069 func (*WatchPoliciesResponse_PageTokenChange) Descriptor() ([]byte, []int) { 2070 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{8, 0} 2071 } 2072 2073 func (m *WatchPoliciesResponse_PageTokenChange) Unmarshal(b []byte) error { 2074 return proto.Unmarshal(b, m) 2075 } 2076 2077 func (m *WatchPoliciesResponse_PageTokenChange) Marshal() ([]byte, error) { 2078 return proto.Marshal(m) 2079 } 2080 2081 func (m *WatchPoliciesResponse_PageTokenChange) MarshalJSON() ([]byte, error) { 2082 return protojson.MarshalOptions{}.Marshal(m) 2083 } 2084 2085 func (m *WatchPoliciesResponse_PageTokenChange) UnmarshalJSON(data []byte) error { 2086 return protojson.Unmarshal(data, m) 2087 } 2088 2089 func (m *WatchPoliciesResponse_PageTokenChange) GetPrevPageToken() *policy.PagerCursor { 2090 if m != nil { 2091 return m.PrevPageToken 2092 } 2093 return nil 2094 } 2095 2096 func (m *WatchPoliciesResponse_PageTokenChange) GetNextPageToken() *policy.PagerCursor { 2097 if m != nil { 2098 return m.NextPageToken 2099 } 2100 return nil 2101 } 2102 2103 func (m *WatchPoliciesResponse_PageTokenChange) SetPrevPageToken(fv *policy.PagerCursor) { 2104 if m == nil { 2105 panic(fmt.Errorf("can't set %s on nil %s", "PrevPageToken", "WatchPoliciesResponse_PageTokenChange")) 2106 } 2107 m.PrevPageToken = fv 2108 } 2109 2110 func (m *WatchPoliciesResponse_PageTokenChange) SetNextPageToken(fv *policy.PagerCursor) { 2111 if m == nil { 2112 panic(fmt.Errorf("can't set %s on nil %s", "NextPageToken", "WatchPoliciesResponse_PageTokenChange")) 2113 } 2114 m.NextPageToken = fv 2115 } 2116 2117 // ResponseMask allows client to reduce response message size. 2118 type CreatePolicyRequest_ResponseMask struct { 2119 state protoimpl.MessageState 2120 sizeCache protoimpl.SizeCache 2121 unknownFields protoimpl.UnknownFields 2122 // Types that are valid to be assigned to Masking: 2123 // *CreatePolicyRequest_ResponseMask_SkipEntireResponseBody 2124 // *CreatePolicyRequest_ResponseMask_BodyMask 2125 Masking isCreatePolicyRequest_ResponseMask_Masking `protobuf_oneof:"masking"` 2126 } 2127 2128 func (m *CreatePolicyRequest_ResponseMask) Reset() { 2129 *m = CreatePolicyRequest_ResponseMask{} 2130 if protoimpl.UnsafeEnabled { 2131 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[15] 2132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2133 ms.StoreMessageInfo(mi) 2134 } 2135 } 2136 2137 func (m *CreatePolicyRequest_ResponseMask) String() string { 2138 return protoimpl.X.MessageStringOf(m) 2139 } 2140 2141 func (*CreatePolicyRequest_ResponseMask) ProtoMessage() {} 2142 2143 func (m *CreatePolicyRequest_ResponseMask) ProtoReflect() preflect.Message { 2144 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[15] 2145 if protoimpl.UnsafeEnabled && m != nil { 2146 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2147 if ms.LoadMessageInfo() == nil { 2148 ms.StoreMessageInfo(mi) 2149 } 2150 return ms 2151 } 2152 return mi.MessageOf(m) 2153 } 2154 2155 func (*CreatePolicyRequest_ResponseMask) GotenMessage() {} 2156 2157 // Deprecated, Use CreatePolicyRequest_ResponseMask.ProtoReflect.Descriptor instead. 2158 func (*CreatePolicyRequest_ResponseMask) Descriptor() ([]byte, []int) { 2159 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{9, 0} 2160 } 2161 2162 func (m *CreatePolicyRequest_ResponseMask) Unmarshal(b []byte) error { 2163 return proto.Unmarshal(b, m) 2164 } 2165 2166 func (m *CreatePolicyRequest_ResponseMask) Marshal() ([]byte, error) { 2167 return proto.Marshal(m) 2168 } 2169 2170 func (m *CreatePolicyRequest_ResponseMask) MarshalJSON() ([]byte, error) { 2171 return protojson.MarshalOptions{}.Marshal(m) 2172 } 2173 2174 func (m *CreatePolicyRequest_ResponseMask) UnmarshalJSON(data []byte) error { 2175 return protojson.Unmarshal(data, m) 2176 } 2177 2178 type isCreatePolicyRequest_ResponseMask_Masking interface { 2179 isCreatePolicyRequest_ResponseMask_Masking() 2180 } 2181 2182 type CreatePolicyRequest_ResponseMask_SkipEntireResponseBody struct { 2183 // If this flag has value true, then response will contain just empty 2184 // resource without any fields populated. 2185 SkipEntireResponseBody bool `protobuf:"varint,1,opt,name=skip_entire_response_body,json=skipEntireResponseBody,proto3,oneof"` 2186 } 2187 type CreatePolicyRequest_ResponseMask_BodyMask struct { 2188 // If this field is populated, then resource in response will contain only 2189 // specific fields. 2190 BodyMask *policy.Policy_FieldMask `protobuf:"bytes,2,opt,customtype=Policy_FieldMask,name=body_mask,json=bodyMask,proto3,oneof"` 2191 } 2192 2193 func (*CreatePolicyRequest_ResponseMask_SkipEntireResponseBody) isCreatePolicyRequest_ResponseMask_Masking() { 2194 } 2195 func (*CreatePolicyRequest_ResponseMask_BodyMask) isCreatePolicyRequest_ResponseMask_Masking() {} 2196 func (m *CreatePolicyRequest_ResponseMask) GetMasking() isCreatePolicyRequest_ResponseMask_Masking { 2197 if m != nil { 2198 return m.Masking 2199 } 2200 return nil 2201 } 2202 func (m *CreatePolicyRequest_ResponseMask) GetSkipEntireResponseBody() bool { 2203 if x, ok := m.GetMasking().(*CreatePolicyRequest_ResponseMask_SkipEntireResponseBody); ok { 2204 return x.SkipEntireResponseBody 2205 } 2206 return false 2207 } 2208 func (m *CreatePolicyRequest_ResponseMask) GetBodyMask() *policy.Policy_FieldMask { 2209 if x, ok := m.GetMasking().(*CreatePolicyRequest_ResponseMask_BodyMask); ok { 2210 return x.BodyMask 2211 } 2212 return nil 2213 } 2214 func (m *CreatePolicyRequest_ResponseMask) SetMasking(ofv isCreatePolicyRequest_ResponseMask_Masking) { 2215 if m == nil { 2216 panic(fmt.Errorf("can't set %s on nil %s", "isCreatePolicyRequest_ResponseMask_Masking", "CreatePolicyRequest_ResponseMask")) 2217 } 2218 m.Masking = ofv 2219 } 2220 func (m *CreatePolicyRequest_ResponseMask) SetSkipEntireResponseBody(fv bool) { 2221 m.SetMasking(&CreatePolicyRequest_ResponseMask_SkipEntireResponseBody{SkipEntireResponseBody: fv}) 2222 } 2223 func (m *CreatePolicyRequest_ResponseMask) SetBodyMask(fv *policy.Policy_FieldMask) { 2224 m.SetMasking(&CreatePolicyRequest_ResponseMask_BodyMask{BodyMask: fv}) 2225 } 2226 2227 // CAS - Compare and Swap. This object is used if user wants to make update 2228 // conditional based upon previous resource version. 2229 type UpdatePolicyRequest_CAS struct { 2230 state protoimpl.MessageState 2231 sizeCache protoimpl.SizeCache 2232 unknownFields protoimpl.UnknownFields 2233 // Conditional desired state of a resource before update. 2234 ConditionalState *policy.Policy `protobuf:"bytes,1,opt,name=conditional_state,json=conditionalState,proto3" json:"conditional_state,omitempty"` 2235 // Field paths from conditional state of resource server should check and 2236 // compare. 2237 FieldMask *policy.Policy_FieldMask `protobuf:"bytes,2,opt,customtype=Policy_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 2238 } 2239 2240 func (m *UpdatePolicyRequest_CAS) Reset() { 2241 *m = UpdatePolicyRequest_CAS{} 2242 if protoimpl.UnsafeEnabled { 2243 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[16] 2244 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2245 ms.StoreMessageInfo(mi) 2246 } 2247 } 2248 2249 func (m *UpdatePolicyRequest_CAS) String() string { 2250 return protoimpl.X.MessageStringOf(m) 2251 } 2252 2253 func (*UpdatePolicyRequest_CAS) ProtoMessage() {} 2254 2255 func (m *UpdatePolicyRequest_CAS) ProtoReflect() preflect.Message { 2256 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[16] 2257 if protoimpl.UnsafeEnabled && m != nil { 2258 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2259 if ms.LoadMessageInfo() == nil { 2260 ms.StoreMessageInfo(mi) 2261 } 2262 return ms 2263 } 2264 return mi.MessageOf(m) 2265 } 2266 2267 func (*UpdatePolicyRequest_CAS) GotenMessage() {} 2268 2269 // Deprecated, Use UpdatePolicyRequest_CAS.ProtoReflect.Descriptor instead. 2270 func (*UpdatePolicyRequest_CAS) Descriptor() ([]byte, []int) { 2271 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{10, 0} 2272 } 2273 2274 func (m *UpdatePolicyRequest_CAS) Unmarshal(b []byte) error { 2275 return proto.Unmarshal(b, m) 2276 } 2277 2278 func (m *UpdatePolicyRequest_CAS) Marshal() ([]byte, error) { 2279 return proto.Marshal(m) 2280 } 2281 2282 func (m *UpdatePolicyRequest_CAS) MarshalJSON() ([]byte, error) { 2283 return protojson.MarshalOptions{}.Marshal(m) 2284 } 2285 2286 func (m *UpdatePolicyRequest_CAS) UnmarshalJSON(data []byte) error { 2287 return protojson.Unmarshal(data, m) 2288 } 2289 2290 func (m *UpdatePolicyRequest_CAS) GetConditionalState() *policy.Policy { 2291 if m != nil { 2292 return m.ConditionalState 2293 } 2294 return nil 2295 } 2296 2297 func (m *UpdatePolicyRequest_CAS) GetFieldMask() *policy.Policy_FieldMask { 2298 if m != nil { 2299 return m.FieldMask 2300 } 2301 return nil 2302 } 2303 2304 func (m *UpdatePolicyRequest_CAS) SetConditionalState(fv *policy.Policy) { 2305 if m == nil { 2306 panic(fmt.Errorf("can't set %s on nil %s", "ConditionalState", "UpdatePolicyRequest_CAS")) 2307 } 2308 m.ConditionalState = fv 2309 } 2310 2311 func (m *UpdatePolicyRequest_CAS) SetFieldMask(fv *policy.Policy_FieldMask) { 2312 if m == nil { 2313 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "UpdatePolicyRequest_CAS")) 2314 } 2315 m.FieldMask = fv 2316 } 2317 2318 // ResponseMask allows client to reduce response message size. 2319 type UpdatePolicyRequest_ResponseMask struct { 2320 state protoimpl.MessageState 2321 sizeCache protoimpl.SizeCache 2322 unknownFields protoimpl.UnknownFields 2323 // Types that are valid to be assigned to Masking: 2324 // *UpdatePolicyRequest_ResponseMask_SkipEntireResponseBody 2325 // *UpdatePolicyRequest_ResponseMask_UpdatedFieldsOnly 2326 // *UpdatePolicyRequest_ResponseMask_BodyMask 2327 Masking isUpdatePolicyRequest_ResponseMask_Masking `protobuf_oneof:"masking"` 2328 } 2329 2330 func (m *UpdatePolicyRequest_ResponseMask) Reset() { 2331 *m = UpdatePolicyRequest_ResponseMask{} 2332 if protoimpl.UnsafeEnabled { 2333 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[17] 2334 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2335 ms.StoreMessageInfo(mi) 2336 } 2337 } 2338 2339 func (m *UpdatePolicyRequest_ResponseMask) String() string { 2340 return protoimpl.X.MessageStringOf(m) 2341 } 2342 2343 func (*UpdatePolicyRequest_ResponseMask) ProtoMessage() {} 2344 2345 func (m *UpdatePolicyRequest_ResponseMask) ProtoReflect() preflect.Message { 2346 mi := &edgelq_alerting_proto_v1_policy_service_proto_msgTypes[17] 2347 if protoimpl.UnsafeEnabled && m != nil { 2348 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2349 if ms.LoadMessageInfo() == nil { 2350 ms.StoreMessageInfo(mi) 2351 } 2352 return ms 2353 } 2354 return mi.MessageOf(m) 2355 } 2356 2357 func (*UpdatePolicyRequest_ResponseMask) GotenMessage() {} 2358 2359 // Deprecated, Use UpdatePolicyRequest_ResponseMask.ProtoReflect.Descriptor instead. 2360 func (*UpdatePolicyRequest_ResponseMask) Descriptor() ([]byte, []int) { 2361 return edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP(), []int{10, 1} 2362 } 2363 2364 func (m *UpdatePolicyRequest_ResponseMask) Unmarshal(b []byte) error { 2365 return proto.Unmarshal(b, m) 2366 } 2367 2368 func (m *UpdatePolicyRequest_ResponseMask) Marshal() ([]byte, error) { 2369 return proto.Marshal(m) 2370 } 2371 2372 func (m *UpdatePolicyRequest_ResponseMask) MarshalJSON() ([]byte, error) { 2373 return protojson.MarshalOptions{}.Marshal(m) 2374 } 2375 2376 func (m *UpdatePolicyRequest_ResponseMask) UnmarshalJSON(data []byte) error { 2377 return protojson.Unmarshal(data, m) 2378 } 2379 2380 type isUpdatePolicyRequest_ResponseMask_Masking interface { 2381 isUpdatePolicyRequest_ResponseMask_Masking() 2382 } 2383 2384 type UpdatePolicyRequest_ResponseMask_SkipEntireResponseBody struct { 2385 // If this flag has value true, then response will contain just empty 2386 // resource without any fields populated. Field body_mask is ignored if 2387 // set. 2388 SkipEntireResponseBody bool `protobuf:"varint,1,opt,name=skip_entire_response_body,json=skipEntireResponseBody,proto3,oneof"` 2389 } 2390 type UpdatePolicyRequest_ResponseMask_UpdatedFieldsOnly struct { 2391 // Include all fields that were actually updated during processing. Note 2392 // this may be larger than update mask if some fields were computed 2393 // additionally. Name is added as well. 2394 UpdatedFieldsOnly bool `protobuf:"varint,2,opt,name=updated_fields_only,json=updatedFieldsOnly,proto3,oneof"` 2395 } 2396 type UpdatePolicyRequest_ResponseMask_BodyMask struct { 2397 // If this field is populated, then resource in response will contain only 2398 // specific fields. If skip_entire_response_body is true, this field is 2399 // ignored. 2400 BodyMask *policy.Policy_FieldMask `protobuf:"bytes,3,opt,customtype=Policy_FieldMask,name=body_mask,json=bodyMask,proto3,oneof"` 2401 } 2402 2403 func (*UpdatePolicyRequest_ResponseMask_SkipEntireResponseBody) isUpdatePolicyRequest_ResponseMask_Masking() { 2404 } 2405 func (*UpdatePolicyRequest_ResponseMask_UpdatedFieldsOnly) isUpdatePolicyRequest_ResponseMask_Masking() { 2406 } 2407 func (*UpdatePolicyRequest_ResponseMask_BodyMask) isUpdatePolicyRequest_ResponseMask_Masking() {} 2408 func (m *UpdatePolicyRequest_ResponseMask) GetMasking() isUpdatePolicyRequest_ResponseMask_Masking { 2409 if m != nil { 2410 return m.Masking 2411 } 2412 return nil 2413 } 2414 func (m *UpdatePolicyRequest_ResponseMask) GetSkipEntireResponseBody() bool { 2415 if x, ok := m.GetMasking().(*UpdatePolicyRequest_ResponseMask_SkipEntireResponseBody); ok { 2416 return x.SkipEntireResponseBody 2417 } 2418 return false 2419 } 2420 func (m *UpdatePolicyRequest_ResponseMask) GetUpdatedFieldsOnly() bool { 2421 if x, ok := m.GetMasking().(*UpdatePolicyRequest_ResponseMask_UpdatedFieldsOnly); ok { 2422 return x.UpdatedFieldsOnly 2423 } 2424 return false 2425 } 2426 func (m *UpdatePolicyRequest_ResponseMask) GetBodyMask() *policy.Policy_FieldMask { 2427 if x, ok := m.GetMasking().(*UpdatePolicyRequest_ResponseMask_BodyMask); ok { 2428 return x.BodyMask 2429 } 2430 return nil 2431 } 2432 func (m *UpdatePolicyRequest_ResponseMask) SetMasking(ofv isUpdatePolicyRequest_ResponseMask_Masking) { 2433 if m == nil { 2434 panic(fmt.Errorf("can't set %s on nil %s", "isUpdatePolicyRequest_ResponseMask_Masking", "UpdatePolicyRequest_ResponseMask")) 2435 } 2436 m.Masking = ofv 2437 } 2438 func (m *UpdatePolicyRequest_ResponseMask) SetSkipEntireResponseBody(fv bool) { 2439 m.SetMasking(&UpdatePolicyRequest_ResponseMask_SkipEntireResponseBody{SkipEntireResponseBody: fv}) 2440 } 2441 func (m *UpdatePolicyRequest_ResponseMask) SetUpdatedFieldsOnly(fv bool) { 2442 m.SetMasking(&UpdatePolicyRequest_ResponseMask_UpdatedFieldsOnly{UpdatedFieldsOnly: fv}) 2443 } 2444 func (m *UpdatePolicyRequest_ResponseMask) SetBodyMask(fv *policy.Policy_FieldMask) { 2445 m.SetMasking(&UpdatePolicyRequest_ResponseMask_BodyMask{BodyMask: fv}) 2446 } 2447 2448 var edgelq_alerting_proto_v1_policy_service_proto preflect.FileDescriptor 2449 2450 var edgelq_alerting_proto_v1_policy_service_proto_rawDesc = []byte{ 2451 0x0a, 0x2d, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 2452 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 2453 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 2454 0x0f, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 2455 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 2456 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 2457 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 2458 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 2459 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 2460 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 2461 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 2462 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 2463 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 2464 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 2465 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 2466 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 2467 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x63, 0x6c, 0x69, 0x2e, 2468 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 2469 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 2470 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 2471 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 2472 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 2473 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 2474 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 2475 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 2476 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 2477 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 2478 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 2479 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x69, 0x65, 0x77, 0x2e, 2480 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 2481 0x65, 0x73, 0x2f, 0x77, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 2482 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 2483 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 2484 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x65, 0x64, 0x67, 0x65, 2485 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 2486 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x63, 0x68, 0x61, 0x6e, 2487 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 2488 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 2489 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 2490 0x0a, 0x0a, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 2491 0x65, 0x12, 0x49, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 2492 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 2493 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 2494 0x6b, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x32, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 2495 0x79, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x25, 0x0a, 0x04, 2496 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 2497 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 2498 0x69, 0x65, 0x77, 0x22, 0xb7, 0x01, 0x0a, 0x17, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 2499 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 2500 0x24, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x0e, 2501 0xb2, 0xda, 0x21, 0x0a, 0x0a, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x05, 2502 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x49, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 2503 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 2504 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 2505 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x32, 0x08, 0x0a, 0x06, 0x50, 2506 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 2507 0x12, 0x25, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 2508 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x69, 0x65, 2509 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x79, 0x0a, 2510 0x18, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 2511 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x08, 0x70, 0x6f, 0x6c, 2512 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x74, 2513 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 2514 0x6c, 0x69, 0x63, 0x79, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x28, 2515 0x0a, 0x07, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 2516 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x0a, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 2517 0x07, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x88, 0x03, 0x0a, 0x13, 0x4c, 0x69, 0x73, 2518 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 2519 0x12, 0x26, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 2520 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x3a, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 2521 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 2522 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x08, 0xca, 0xc6, 0x27, 2523 0x04, 0x12, 0x02, 0x2a, 0x00, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 2524 0x2d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 2525 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x22, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 2526 0x69, 0x63, 0x79, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x29, 2527 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 2528 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x2a, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 2529 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x26, 0x0a, 0x06, 0x66, 0x69, 0x6c, 2530 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x1a, 2531 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 2532 0x72, 0x12, 0x49, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 2533 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 2534 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 2535 0x6b, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x32, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 2536 0x79, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x25, 0x0a, 0x04, 2537 0x76, 0x69, 0x65, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 2538 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 2539 0x69, 0x65, 0x77, 0x12, 0x2e, 0x0a, 0x13, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x70, 2540 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 2541 0x52, 0x11, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x49, 2542 0x6e, 0x66, 0x6f, 0x22, 0x92, 0x02, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6f, 0x6c, 0x69, 2543 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x08, 2544 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 2545 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 2546 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 2547 0x73, 0x12, 0x36, 0x0a, 0x0f, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 2548 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 2549 0x22, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0d, 0x70, 0x72, 0x65, 0x76, 2550 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x36, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 2551 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 2552 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x22, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 2553 0x63, 0x79, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 2554 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x66, 0x66, 2555 0x73, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 2556 0x6e, 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x74, 0x6f, 0x74, 0x61, 2557 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 2558 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x75, 2559 0x6c, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xaa, 0x01, 0x0a, 0x12, 0x57, 0x61, 0x74, 2560 0x63, 0x68, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 2561 0x22, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 2562 0xda, 0x21, 0x0a, 0x0a, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 2563 0x61, 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 2564 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 2565 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 2566 0x61, 0x73, 0x6b, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x32, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 2567 0x69, 0x63, 0x79, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x25, 2568 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x67, 2569 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x52, 2570 0x04, 0x76, 0x69, 0x65, 0x77, 0x22, 0x4c, 0x0a, 0x13, 0x57, 0x61, 0x74, 0x63, 0x68, 0x50, 0x6f, 2571 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 2572 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6e, 2573 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 2574 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x06, 0x63, 0x68, 0x61, 2575 0x6e, 0x67, 0x65, 0x22, 0x9d, 0x04, 0x0a, 0x14, 0x57, 0x61, 0x74, 0x63, 0x68, 0x50, 0x6f, 0x6c, 2576 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x04, 2577 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x74, 2578 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 2579 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 2580 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x3a, 0x08, 2581 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 2582 0x12, 0x25, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 2583 0x01, 0x28, 0x05, 0x42, 0x08, 0xca, 0xc6, 0x27, 0x04, 0x12, 0x02, 0x2a, 0x00, 0x52, 0x08, 0x70, 2584 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 2585 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 2586 0x0a, 0x22, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x09, 0x70, 0x61, 0x67, 2587 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x29, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 2588 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x2a, 0x08, 2589 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 2590 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 2591 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x54, 2592 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 2593 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 2594 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 2595 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 2596 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 2597 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x1a, 0x08, 0x0a, 0x06, 0x50, 2598 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x49, 0x0a, 2599 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 2600 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 2601 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x0e, 0xb2, 2602 0xda, 0x21, 0x0a, 0x32, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x09, 0x66, 2603 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x25, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 2604 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 2605 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x12, 2606 0x32, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 2607 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x42, 0x0c, 0xca, 0xc6, 0x27, 0x08, 0x12, 0x06, 0x1a, 2608 0x02, 0x08, 0x64, 0x2a, 0x00, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x53, 2609 0x69, 0x7a, 0x65, 0x22, 0xf4, 0x03, 0x0a, 0x15, 0x57, 0x61, 0x74, 0x63, 0x68, 0x50, 0x6f, 0x6c, 2610 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 2611 0x0e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 2612 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 2613 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x68, 2614 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0d, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x68, 0x61, 0x6e, 2615 0x67, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 2616 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x43, 0x75, 0x72, 0x72, 0x65, 2617 0x6e, 0x74, 0x12, 0x62, 0x0a, 0x11, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 2618 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 2619 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 2620 0x57, 0x61, 0x74, 0x63, 0x68, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 2621 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 2622 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0f, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 2623 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 2624 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 2625 0x73, 0x75, 0x6d, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x6e, 0x61, 2626 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 2627 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 2628 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x73, 0x6f, 0x66, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18, 2629 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x53, 0x6f, 0x66, 0x74, 0x52, 0x65, 0x73, 2630 0x65, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x72, 0x65, 2631 0x73, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x48, 0x61, 0x72, 2632 0x64, 0x52, 0x65, 0x73, 0x65, 0x74, 0x1a, 0x81, 0x01, 0x0a, 0x0f, 0x50, 0x61, 0x67, 0x65, 0x54, 2633 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x0f, 0x70, 0x72, 2634 0x65, 0x76, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 2635 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x22, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 2636 0x69, 0x63, 0x79, 0x52, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 2637 0x65, 0x6e, 0x12, 0x36, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 2638 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 2639 0x0a, 0x22, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0d, 0x6e, 0x65, 0x78, 2640 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xf8, 0x02, 0x0a, 0x13, 0x43, 2641 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 2642 0x73, 0x74, 0x12, 0x26, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 2643 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x3a, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 2644 0x63, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x70, 0x6f, 2645 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x74, 0x74, 2646 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 2647 0x69, 0x63, 0x79, 0x42, 0x0c, 0xc8, 0xd5, 0x22, 0x01, 0xca, 0xc6, 0x27, 0x04, 0x62, 0x02, 0x08, 2648 0x01, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x56, 0x0a, 0x0d, 0x72, 0x65, 0x73, 2649 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 2650 0x32, 0x31, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 2651 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 2652 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 2653 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x61, 0x73, 2654 0x6b, 0x1a, 0xa1, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x61, 2655 0x73, 0x6b, 0x12, 0x3b, 0x0a, 0x19, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x72, 2656 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x18, 2657 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x16, 0x73, 0x6b, 0x69, 0x70, 0x45, 0x6e, 0x74, 2658 0x69, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x12, 2659 0x49, 0x0a, 0x09, 0x62, 0x6f, 0x64, 0x79, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 2660 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 2661 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x0e, 2662 0xb2, 0xda, 0x21, 0x0a, 0x32, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x48, 0x00, 2663 0x52, 0x08, 0x62, 0x6f, 0x64, 0x79, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x61, 2664 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x22, 0xd3, 0x05, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 2665 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 2666 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 2667 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 2668 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x0c, 0xc8, 0xd5, 0x22, 0x01, 0xca, 0xc6, 0x27, 0x04, 2669 0x62, 0x02, 0x08, 0x01, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4b, 0x0a, 0x0b, 2670 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 2671 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 2672 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x0e, 0xb2, 2673 0xda, 0x21, 0x0a, 0x32, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0a, 0x75, 2674 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x3a, 0x0a, 0x03, 0x63, 0x61, 0x73, 2675 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 2676 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 2677 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x41, 0x53, 2678 0x52, 0x03, 0x63, 0x61, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 2679 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 2680 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x12, 0x56, 0x0a, 0x0d, 0x72, 0x65, 2681 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 2682 0x0b, 0x32, 0x31, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 2683 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 2684 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 2685 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x61, 2686 0x73, 0x6b, 0x1a, 0xa0, 0x01, 0x0a, 0x03, 0x43, 0x41, 0x53, 0x12, 0x4e, 0x0a, 0x11, 0x63, 0x6f, 2687 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 2688 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 2689 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x08, 2690 0xca, 0xc6, 0x27, 0x04, 0x62, 0x02, 0x10, 0x01, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 2691 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x49, 0x0a, 0x0a, 0x66, 0x69, 2692 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 2693 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 2694 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 2695 0x32, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 2696 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x1a, 0xd3, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 2697 0x73, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x3b, 0x0a, 0x19, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x65, 2698 0x6e, 0x74, 0x69, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x62, 2699 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x16, 0x73, 0x6b, 0x69, 2700 0x70, 0x45, 0x6e, 0x74, 0x69, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 2701 0x6f, 0x64, 0x79, 0x12, 0x30, 0x0a, 0x13, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 2702 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 2703 0x48, 0x00, 0x52, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 2704 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x49, 0x0a, 0x09, 0x62, 0x6f, 0x64, 0x79, 0x5f, 0x6d, 0x61, 2705 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 2706 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 2707 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x32, 0x08, 0x0a, 0x06, 0x50, 0x6f, 2708 0x6c, 0x69, 0x63, 0x79, 0x48, 0x00, 0x52, 0x08, 0x62, 0x6f, 0x64, 0x79, 0x4d, 0x61, 0x73, 0x6b, 2709 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x22, 0x5e, 0x0a, 0x13, 0x44, 2710 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 2711 0x73, 0x74, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 2712 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x0a, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 2713 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 2714 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 2715 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xf2, 0x02, 0x0a, 0x15, 2716 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 2717 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 2718 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x3a, 0x08, 0x0a, 0x06, 0x50, 2719 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 2720 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 2721 0x42, 0x08, 0xca, 0xc6, 0x27, 0x04, 0x12, 0x02, 0x2a, 0x00, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 2722 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 2723 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x22, 0x08, 2724 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 2725 0x6b, 0x65, 0x6e, 0x12, 0x29, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 2726 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x2a, 0x08, 0x0a, 0x06, 0x50, 2727 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x26, 2728 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 2729 0xb2, 0xda, 0x21, 0x0a, 0x1a, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 2730 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 2731 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 2732 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 2733 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x32, 0x08, 0x0a, 0x06, 2734 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 2735 0x6b, 0x12, 0x25, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 2736 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x69, 2737 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x68, 0x72, 0x61, 2738 0x73, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 2739 0x22, 0x94, 0x02, 0x0a, 0x16, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x6f, 0x6c, 0x69, 0x63, 2740 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x08, 0x70, 2741 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 2742 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 2743 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 2744 0x12, 0x36, 0x0a, 0x0f, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 2745 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x22, 2746 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x50, 2747 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x36, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 2748 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 2749 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x22, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 2750 0x79, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 2751 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x66, 0x66, 0x73, 2752 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 2753 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, 2754 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 2755 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 2756 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xd1, 0x0d, 0x0a, 0x0d, 0x50, 0x6f, 0x6c, 0x69, 2757 0x63, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9c, 0x01, 0x0a, 0x09, 0x47, 0x65, 2758 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x21, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 2759 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x6c, 2760 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6e, 0x74, 0x74, 2761 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 2762 0x69, 0x63, 0x79, 0x22, 0x53, 0x82, 0xdb, 0x21, 0x1d, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 2763 0x79, 0x12, 0x03, 0x67, 0x65, 0x74, 0x2a, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0x06, 2764 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xa2, 0xdc, 0x21, 0x02, 0x08, 0x01, 0x82, 0xd3, 0xe4, 0x93, 2765 0x02, 0x22, 0x12, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 2766 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 2767 0x73, 0x2f, 0x2a, 0x7d, 0x8a, 0xcc, 0x26, 0x00, 0x12, 0xbd, 0x01, 0x0a, 0x10, 0x42, 0x61, 0x74, 2768 0x63, 0x68, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 2769 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 2770 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 2771 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 2772 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 2773 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 2774 0x73, 0x65, 0x22, 0x54, 0x82, 0xdb, 0x21, 0x29, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 2775 0x12, 0x08, 0x62, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x20, 0x01, 0x2a, 0x07, 0x0a, 0x05, 2776 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x32, 0x0a, 0x12, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 2777 0x73, 0xa2, 0xdc, 0x21, 0x02, 0x08, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 2778 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 2779 0x68, 0x47, 0x65, 0x74, 0x8a, 0xcc, 0x26, 0x00, 0x12, 0xbb, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 2780 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 2781 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 2782 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 2783 0x25, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 2784 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 2785 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5e, 0x82, 0xdb, 0x21, 0x28, 0x0a, 0x06, 0x50, 0x6f, 2786 0x6c, 0x69, 0x63, 0x79, 0x12, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x2a, 0x08, 2787 0x1a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x32, 0x0a, 0x12, 0x08, 0x70, 0x6f, 0x6c, 0x69, 2788 0x63, 0x69, 0x65, 0x73, 0xa2, 0xdc, 0x21, 0x02, 0x08, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 2789 0x12, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 2790 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 2791 0x65, 0x73, 0x8a, 0xcc, 0x26, 0x00, 0x12, 0xb9, 0x01, 0x0a, 0x0b, 0x57, 0x61, 0x74, 0x63, 0x68, 2792 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x23, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 2793 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x50, 0x6f, 2794 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6e, 0x74, 2795 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 2796 0x74, 0x63, 0x68, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 2797 0x65, 0x22, 0x5d, 0x82, 0xdb, 0x21, 0x21, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 2798 0x05, 0x77, 0x61, 0x74, 0x63, 0x68, 0x2a, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0x08, 2799 0x12, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0xa2, 0xdc, 0x21, 0x02, 0x08, 0x01, 0x82, 0xd3, 2800 0xe4, 0x93, 0x02, 0x28, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 2801 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 2802 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x77, 0x61, 0x74, 0x63, 0x68, 0x8a, 0xcc, 0x26, 0x00, 2803 0x30, 0x01, 0x12, 0xcd, 0x01, 0x0a, 0x0d, 0x57, 0x61, 0x74, 0x63, 0x68, 0x50, 0x6f, 0x6c, 0x69, 2804 0x63, 0x69, 0x65, 0x73, 0x12, 0x25, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 2805 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x50, 0x6f, 0x6c, 0x69, 2806 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6e, 0x74, 2807 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 2808 0x74, 0x63, 0x68, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 2809 0x6e, 0x73, 0x65, 0x22, 0x6b, 0x82, 0xdb, 0x21, 0x2f, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 2810 0x79, 0x12, 0x05, 0x77, 0x61, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x2a, 0x08, 0x1a, 0x06, 2811 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x32, 0x10, 0x12, 0x0e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 2812 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0xa2, 0xdc, 0x21, 0x02, 0x08, 0x01, 0x82, 0xd3, 2813 0xe4, 0x93, 0x02, 0x28, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 2814 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x6f, 2815 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x3a, 0x77, 0x61, 0x74, 0x63, 0x68, 0x8a, 0xcc, 0x26, 0x00, 2816 0x30, 0x01, 0x12, 0xbb, 0x01, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 2817 0x69, 0x63, 0x79, 0x12, 0x24, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 2818 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 2819 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 2820 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 2821 0x63, 0x79, 0x22, 0x6c, 0x82, 0xdb, 0x21, 0x2c, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 2822 0x12, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x01, 0x2a, 0x10, 0x12, 0x06, 0x70, 0x6f, 2823 0x6c, 0x69, 0x63, 0x79, 0x1a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x32, 0x06, 0x0a, 0x04, 2824 0x6e, 0x61, 0x6d, 0x65, 0xa2, 0xdc, 0x21, 0x02, 0x10, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 2825 0x3a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 2826 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 2827 0x7d, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x8a, 0xcc, 0x26, 0x02, 0x10, 0x01, 2828 0x12, 0xb8, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 2829 0x79, 0x12, 0x24, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 2830 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 2831 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 2832 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 2833 0x22, 0x69, 0x82, 0xdb, 0x21, 0x22, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x06, 2834 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2a, 0x08, 0x12, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 2835 0x32, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xa2, 0xdc, 0x21, 0x02, 0x10, 0x01, 0x82, 0xd3, 2836 0xe4, 0x93, 0x02, 0x31, 0x3a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x1a, 0x27, 0x2f, 0x76, 2837 0x31, 0x2f, 0x7b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 2838 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 2839 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x8a, 0xcc, 0x26, 0x02, 0x10, 0x01, 0x12, 0x9e, 0x01, 0x0a, 0x0c, 2840 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x24, 0x2e, 0x6e, 2841 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 2842 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 2843 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 2844 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x50, 0x82, 0xdb, 0x21, 0x18, 2845 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 2846 0x2a, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xa2, 0xdc, 0x21, 0x02, 0x10, 0x01, 0x82, 0xd3, 2847 0xe4, 0x93, 0x02, 0x22, 0x2a, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 2848 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 2849 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x8a, 0xcc, 0x26, 0x02, 0x10, 0x01, 0x12, 0xca, 0x01, 0x0a, 2850 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 2851 0x26, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 2852 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 2853 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 2854 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 2855 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 2856 0x22, 0x67, 0x82, 0xdb, 0x21, 0x2a, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x06, 2857 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x2a, 0x08, 0x1a, 0x06, 0x70, 0x61, 2858 0x72, 0x65, 0x6e, 0x74, 0x32, 0x0a, 0x12, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 2859 0xa2, 0xdc, 0x21, 0x02, 0x08, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, 0x76, 2860 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 2861 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x3a, 0x73, 2862 0x65, 0x61, 0x72, 0x63, 0x68, 0x8a, 0xcc, 0x26, 0x00, 0x1a, 0x30, 0xca, 0x41, 0x13, 0x61, 0x6c, 2863 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 2864 0x6d, 0xd2, 0x41, 0x17, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x69, 0x73, 2865 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x42, 0x8a, 0x02, 0xe8, 0xde, 2866 0x21, 0x00, 0x82, 0xff, 0xd0, 0x02, 0x45, 0x0a, 0x0d, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 2867 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 2868 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 2869 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x65, 0x72, 0x76, 2870 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x8a, 0xff, 0xd0, 0x02, 2871 0x45, 0x0a, 0x0d, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 2872 0x12, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 2873 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 2874 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 2875 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 2876 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x12, 2877 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 2878 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 2879 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 2880 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 2881 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x3b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 2882 0x79, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 2883 } 2884 2885 var ( 2886 edgelq_alerting_proto_v1_policy_service_proto_rawDescOnce sync.Once 2887 edgelq_alerting_proto_v1_policy_service_proto_rawDescData = edgelq_alerting_proto_v1_policy_service_proto_rawDesc 2888 ) 2889 2890 func edgelq_alerting_proto_v1_policy_service_proto_rawDescGZIP() []byte { 2891 edgelq_alerting_proto_v1_policy_service_proto_rawDescOnce.Do(func() { 2892 edgelq_alerting_proto_v1_policy_service_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_alerting_proto_v1_policy_service_proto_rawDescData) 2893 }) 2894 return edgelq_alerting_proto_v1_policy_service_proto_rawDescData 2895 } 2896 2897 var edgelq_alerting_proto_v1_policy_service_proto_msgTypes = make([]protoimpl.MessageInfo, 18) 2898 var edgelq_alerting_proto_v1_policy_service_proto_goTypes = []interface{}{ 2899 (*GetPolicyRequest)(nil), // 0: ntt.alerting.v1.GetPolicyRequest 2900 (*BatchGetPoliciesRequest)(nil), // 1: ntt.alerting.v1.BatchGetPoliciesRequest 2901 (*BatchGetPoliciesResponse)(nil), // 2: ntt.alerting.v1.BatchGetPoliciesResponse 2902 (*ListPoliciesRequest)(nil), // 3: ntt.alerting.v1.ListPoliciesRequest 2903 (*ListPoliciesResponse)(nil), // 4: ntt.alerting.v1.ListPoliciesResponse 2904 (*WatchPolicyRequest)(nil), // 5: ntt.alerting.v1.WatchPolicyRequest 2905 (*WatchPolicyResponse)(nil), // 6: ntt.alerting.v1.WatchPolicyResponse 2906 (*WatchPoliciesRequest)(nil), // 7: ntt.alerting.v1.WatchPoliciesRequest 2907 (*WatchPoliciesResponse)(nil), // 8: ntt.alerting.v1.WatchPoliciesResponse 2908 (*CreatePolicyRequest)(nil), // 9: ntt.alerting.v1.CreatePolicyRequest 2909 (*UpdatePolicyRequest)(nil), // 10: ntt.alerting.v1.UpdatePolicyRequest 2910 (*DeletePolicyRequest)(nil), // 11: ntt.alerting.v1.DeletePolicyRequest 2911 (*SearchPoliciesRequest)(nil), // 12: ntt.alerting.v1.SearchPoliciesRequest 2912 (*SearchPoliciesResponse)(nil), // 13: ntt.alerting.v1.SearchPoliciesResponse 2913 (*WatchPoliciesResponse_PageTokenChange)(nil), // 14: ntt.alerting.v1.WatchPoliciesResponse.PageTokenChange 2914 (*CreatePolicyRequest_ResponseMask)(nil), // 15: ntt.alerting.v1.CreatePolicyRequest.ResponseMask 2915 (*UpdatePolicyRequest_CAS)(nil), // 16: ntt.alerting.v1.UpdatePolicyRequest.CAS 2916 (*UpdatePolicyRequest_ResponseMask)(nil), // 17: ntt.alerting.v1.UpdatePolicyRequest.ResponseMask 2917 (*policy.Policy_FieldMask)(nil), // 18: ntt.alerting.v1.Policy_FieldMask 2918 (view.View)(0), // 19: goten.types.View 2919 (*policy.Policy)(nil), // 20: ntt.alerting.v1.Policy 2920 (*policy.PolicyChange)(nil), // 21: ntt.alerting.v1.PolicyChange 2921 (watch_type.WatchType)(0), // 22: goten.types.WatchType 2922 (*timestamppb.Timestamp)(nil), // 23: google.protobuf.Timestamp 2923 (*emptypb.Empty)(nil), // 24: google.protobuf.Empty 2924 } 2925 var edgelq_alerting_proto_v1_policy_service_proto_depIdxs = []int32{ 2926 18, // 0: ntt.alerting.v1.GetPolicyRequest.field_mask:type_name -> ntt.alerting.v1.Policy_FieldMask 2927 19, // 1: ntt.alerting.v1.GetPolicyRequest.view:type_name -> goten.types.View 2928 18, // 2: ntt.alerting.v1.BatchGetPoliciesRequest.field_mask:type_name -> ntt.alerting.v1.Policy_FieldMask 2929 19, // 3: ntt.alerting.v1.BatchGetPoliciesRequest.view:type_name -> goten.types.View 2930 20, // 4: ntt.alerting.v1.BatchGetPoliciesResponse.policies:type_name -> ntt.alerting.v1.Policy 2931 18, // 5: ntt.alerting.v1.ListPoliciesRequest.field_mask:type_name -> ntt.alerting.v1.Policy_FieldMask 2932 19, // 6: ntt.alerting.v1.ListPoliciesRequest.view:type_name -> goten.types.View 2933 20, // 7: ntt.alerting.v1.ListPoliciesResponse.policies:type_name -> ntt.alerting.v1.Policy 2934 18, // 8: ntt.alerting.v1.WatchPolicyRequest.field_mask:type_name -> ntt.alerting.v1.Policy_FieldMask 2935 19, // 9: ntt.alerting.v1.WatchPolicyRequest.view:type_name -> goten.types.View 2936 21, // 10: ntt.alerting.v1.WatchPolicyResponse.change:type_name -> ntt.alerting.v1.PolicyChange 2937 22, // 11: ntt.alerting.v1.WatchPoliciesRequest.type:type_name -> goten.types.WatchType 2938 23, // 12: ntt.alerting.v1.WatchPoliciesRequest.starting_time:type_name -> google.protobuf.Timestamp 2939 18, // 13: ntt.alerting.v1.WatchPoliciesRequest.field_mask:type_name -> ntt.alerting.v1.Policy_FieldMask 2940 19, // 14: ntt.alerting.v1.WatchPoliciesRequest.view:type_name -> goten.types.View 2941 21, // 15: ntt.alerting.v1.WatchPoliciesResponse.policy_changes:type_name -> ntt.alerting.v1.PolicyChange 2942 14, // 16: ntt.alerting.v1.WatchPoliciesResponse.page_token_change:type_name -> ntt.alerting.v1.WatchPoliciesResponse.PageTokenChange 2943 20, // 17: ntt.alerting.v1.CreatePolicyRequest.policy:type_name -> ntt.alerting.v1.Policy 2944 15, // 18: ntt.alerting.v1.CreatePolicyRequest.response_mask:type_name -> ntt.alerting.v1.CreatePolicyRequest.ResponseMask 2945 20, // 19: ntt.alerting.v1.UpdatePolicyRequest.policy:type_name -> ntt.alerting.v1.Policy 2946 18, // 20: ntt.alerting.v1.UpdatePolicyRequest.update_mask:type_name -> ntt.alerting.v1.Policy_FieldMask 2947 16, // 21: ntt.alerting.v1.UpdatePolicyRequest.cas:type_name -> ntt.alerting.v1.UpdatePolicyRequest.CAS 2948 17, // 22: ntt.alerting.v1.UpdatePolicyRequest.response_mask:type_name -> ntt.alerting.v1.UpdatePolicyRequest.ResponseMask 2949 18, // 23: ntt.alerting.v1.SearchPoliciesRequest.field_mask:type_name -> ntt.alerting.v1.Policy_FieldMask 2950 19, // 24: ntt.alerting.v1.SearchPoliciesRequest.view:type_name -> goten.types.View 2951 20, // 25: ntt.alerting.v1.SearchPoliciesResponse.policies:type_name -> ntt.alerting.v1.Policy 2952 18, // 26: ntt.alerting.v1.CreatePolicyRequest.ResponseMask.body_mask:type_name -> ntt.alerting.v1.Policy_FieldMask 2953 20, // 27: ntt.alerting.v1.UpdatePolicyRequest.CAS.conditional_state:type_name -> ntt.alerting.v1.Policy 2954 18, // 28: ntt.alerting.v1.UpdatePolicyRequest.CAS.field_mask:type_name -> ntt.alerting.v1.Policy_FieldMask 2955 18, // 29: ntt.alerting.v1.UpdatePolicyRequest.ResponseMask.body_mask:type_name -> ntt.alerting.v1.Policy_FieldMask 2956 0, // 30: ntt.alerting.v1.PolicyService.GetPolicy:input_type -> ntt.alerting.v1.GetPolicyRequest 2957 1, // 31: ntt.alerting.v1.PolicyService.BatchGetPolicies:input_type -> ntt.alerting.v1.BatchGetPoliciesRequest 2958 3, // 32: ntt.alerting.v1.PolicyService.ListPolicies:input_type -> ntt.alerting.v1.ListPoliciesRequest 2959 5, // 33: ntt.alerting.v1.PolicyService.WatchPolicy:input_type -> ntt.alerting.v1.WatchPolicyRequest 2960 7, // 34: ntt.alerting.v1.PolicyService.WatchPolicies:input_type -> ntt.alerting.v1.WatchPoliciesRequest 2961 9, // 35: ntt.alerting.v1.PolicyService.CreatePolicy:input_type -> ntt.alerting.v1.CreatePolicyRequest 2962 10, // 36: ntt.alerting.v1.PolicyService.UpdatePolicy:input_type -> ntt.alerting.v1.UpdatePolicyRequest 2963 11, // 37: ntt.alerting.v1.PolicyService.DeletePolicy:input_type -> ntt.alerting.v1.DeletePolicyRequest 2964 12, // 38: ntt.alerting.v1.PolicyService.SearchPolicies:input_type -> ntt.alerting.v1.SearchPoliciesRequest 2965 20, // 39: ntt.alerting.v1.PolicyService.GetPolicy:output_type -> ntt.alerting.v1.Policy 2966 2, // 40: ntt.alerting.v1.PolicyService.BatchGetPolicies:output_type -> ntt.alerting.v1.BatchGetPoliciesResponse 2967 4, // 41: ntt.alerting.v1.PolicyService.ListPolicies:output_type -> ntt.alerting.v1.ListPoliciesResponse 2968 6, // 42: ntt.alerting.v1.PolicyService.WatchPolicy:output_type -> ntt.alerting.v1.WatchPolicyResponse 2969 8, // 43: ntt.alerting.v1.PolicyService.WatchPolicies:output_type -> ntt.alerting.v1.WatchPoliciesResponse 2970 20, // 44: ntt.alerting.v1.PolicyService.CreatePolicy:output_type -> ntt.alerting.v1.Policy 2971 20, // 45: ntt.alerting.v1.PolicyService.UpdatePolicy:output_type -> ntt.alerting.v1.Policy 2972 24, // 46: ntt.alerting.v1.PolicyService.DeletePolicy:output_type -> google.protobuf.Empty 2973 13, // 47: ntt.alerting.v1.PolicyService.SearchPolicies:output_type -> ntt.alerting.v1.SearchPoliciesResponse 2974 39, // [39:48] is the sub-list for method output_type 2975 30, // [30:39] is the sub-list for method input_type 2976 30, // [30:30] is the sub-list for extension type_name 2977 30, // [30:30] is the sub-list for extension extendee 2978 0, // [0:30] is the sub-list for field type_name 2979 } 2980 2981 func init() { edgelq_alerting_proto_v1_policy_service_proto_init() } 2982 func edgelq_alerting_proto_v1_policy_service_proto_init() { 2983 if edgelq_alerting_proto_v1_policy_service_proto != nil { 2984 return 2985 } 2986 if !protoimpl.UnsafeEnabled { 2987 2988 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 2989 switch v := v.(*GetPolicyRequest); i { 2990 case 0: 2991 return &v.state 2992 case 1: 2993 return &v.sizeCache 2994 case 2: 2995 return &v.unknownFields 2996 default: 2997 return nil 2998 } 2999 } 3000 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 3001 switch v := v.(*BatchGetPoliciesRequest); i { 3002 case 0: 3003 return &v.state 3004 case 1: 3005 return &v.sizeCache 3006 case 2: 3007 return &v.unknownFields 3008 default: 3009 return nil 3010 } 3011 } 3012 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 3013 switch v := v.(*BatchGetPoliciesResponse); i { 3014 case 0: 3015 return &v.state 3016 case 1: 3017 return &v.sizeCache 3018 case 2: 3019 return &v.unknownFields 3020 default: 3021 return nil 3022 } 3023 } 3024 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 3025 switch v := v.(*ListPoliciesRequest); i { 3026 case 0: 3027 return &v.state 3028 case 1: 3029 return &v.sizeCache 3030 case 2: 3031 return &v.unknownFields 3032 default: 3033 return nil 3034 } 3035 } 3036 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 3037 switch v := v.(*ListPoliciesResponse); i { 3038 case 0: 3039 return &v.state 3040 case 1: 3041 return &v.sizeCache 3042 case 2: 3043 return &v.unknownFields 3044 default: 3045 return nil 3046 } 3047 } 3048 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 3049 switch v := v.(*WatchPolicyRequest); i { 3050 case 0: 3051 return &v.state 3052 case 1: 3053 return &v.sizeCache 3054 case 2: 3055 return &v.unknownFields 3056 default: 3057 return nil 3058 } 3059 } 3060 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 3061 switch v := v.(*WatchPolicyResponse); i { 3062 case 0: 3063 return &v.state 3064 case 1: 3065 return &v.sizeCache 3066 case 2: 3067 return &v.unknownFields 3068 default: 3069 return nil 3070 } 3071 } 3072 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 3073 switch v := v.(*WatchPoliciesRequest); i { 3074 case 0: 3075 return &v.state 3076 case 1: 3077 return &v.sizeCache 3078 case 2: 3079 return &v.unknownFields 3080 default: 3081 return nil 3082 } 3083 } 3084 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 3085 switch v := v.(*WatchPoliciesResponse); i { 3086 case 0: 3087 return &v.state 3088 case 1: 3089 return &v.sizeCache 3090 case 2: 3091 return &v.unknownFields 3092 default: 3093 return nil 3094 } 3095 } 3096 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 3097 switch v := v.(*CreatePolicyRequest); i { 3098 case 0: 3099 return &v.state 3100 case 1: 3101 return &v.sizeCache 3102 case 2: 3103 return &v.unknownFields 3104 default: 3105 return nil 3106 } 3107 } 3108 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 3109 switch v := v.(*UpdatePolicyRequest); i { 3110 case 0: 3111 return &v.state 3112 case 1: 3113 return &v.sizeCache 3114 case 2: 3115 return &v.unknownFields 3116 default: 3117 return nil 3118 } 3119 } 3120 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 3121 switch v := v.(*DeletePolicyRequest); i { 3122 case 0: 3123 return &v.state 3124 case 1: 3125 return &v.sizeCache 3126 case 2: 3127 return &v.unknownFields 3128 default: 3129 return nil 3130 } 3131 } 3132 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 3133 switch v := v.(*SearchPoliciesRequest); i { 3134 case 0: 3135 return &v.state 3136 case 1: 3137 return &v.sizeCache 3138 case 2: 3139 return &v.unknownFields 3140 default: 3141 return nil 3142 } 3143 } 3144 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 3145 switch v := v.(*SearchPoliciesResponse); i { 3146 case 0: 3147 return &v.state 3148 case 1: 3149 return &v.sizeCache 3150 case 2: 3151 return &v.unknownFields 3152 default: 3153 return nil 3154 } 3155 } 3156 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 3157 switch v := v.(*WatchPoliciesResponse_PageTokenChange); i { 3158 case 0: 3159 return &v.state 3160 case 1: 3161 return &v.sizeCache 3162 case 2: 3163 return &v.unknownFields 3164 default: 3165 return nil 3166 } 3167 } 3168 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 3169 switch v := v.(*CreatePolicyRequest_ResponseMask); i { 3170 case 0: 3171 return &v.state 3172 case 1: 3173 return &v.sizeCache 3174 case 2: 3175 return &v.unknownFields 3176 default: 3177 return nil 3178 } 3179 } 3180 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 3181 switch v := v.(*UpdatePolicyRequest_CAS); i { 3182 case 0: 3183 return &v.state 3184 case 1: 3185 return &v.sizeCache 3186 case 2: 3187 return &v.unknownFields 3188 default: 3189 return nil 3190 } 3191 } 3192 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 3193 switch v := v.(*UpdatePolicyRequest_ResponseMask); i { 3194 case 0: 3195 return &v.state 3196 case 1: 3197 return &v.sizeCache 3198 case 2: 3199 return &v.unknownFields 3200 default: 3201 return nil 3202 } 3203 } 3204 } 3205 3206 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[15].OneofWrappers = []interface{}{ 3207 (*CreatePolicyRequest_ResponseMask_SkipEntireResponseBody)(nil), 3208 (*CreatePolicyRequest_ResponseMask_BodyMask)(nil), 3209 } 3210 edgelq_alerting_proto_v1_policy_service_proto_msgTypes[17].OneofWrappers = []interface{}{ 3211 (*UpdatePolicyRequest_ResponseMask_SkipEntireResponseBody)(nil), 3212 (*UpdatePolicyRequest_ResponseMask_UpdatedFieldsOnly)(nil), 3213 (*UpdatePolicyRequest_ResponseMask_BodyMask)(nil), 3214 } 3215 type x struct{} 3216 out := protoimpl.TypeBuilder{ 3217 File: protoimpl.DescBuilder{ 3218 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 3219 RawDescriptor: edgelq_alerting_proto_v1_policy_service_proto_rawDesc, 3220 NumEnums: 0, 3221 NumMessages: 18, 3222 NumExtensions: 0, 3223 NumServices: 1, 3224 }, 3225 GoTypes: edgelq_alerting_proto_v1_policy_service_proto_goTypes, 3226 DependencyIndexes: edgelq_alerting_proto_v1_policy_service_proto_depIdxs, 3227 MessageInfos: edgelq_alerting_proto_v1_policy_service_proto_msgTypes, 3228 }.Build() 3229 edgelq_alerting_proto_v1_policy_service_proto = out.File 3230 edgelq_alerting_proto_v1_policy_service_proto_rawDesc = nil 3231 edgelq_alerting_proto_v1_policy_service_proto_goTypes = nil 3232 edgelq_alerting_proto_v1_policy_service_proto_depIdxs = nil 3233 }