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