1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/cloud/irm/v1alpha2/incidents_service.proto 3 4package irm 5 6import ( 7 context "context" 8 fmt "fmt" 9 math "math" 10 11 proto "github.com/golang/protobuf/proto" 12 empty "github.com/golang/protobuf/ptypes/empty" 13 _ "github.com/golang/protobuf/ptypes/timestamp" 14 _ "google.golang.org/genproto/googleapis/api/annotations" 15 field_mask "google.golang.org/genproto/protobuf/field_mask" 16 grpc "google.golang.org/grpc" 17 codes "google.golang.org/grpc/codes" 18 status "google.golang.org/grpc/status" 19) 20 21// Reference imports to suppress errors if they are not otherwise used. 22var _ = proto.Marshal 23var _ = fmt.Errorf 24var _ = math.Inf 25 26// This is a compile-time assertion to ensure that this generated file 27// is compatible with the proto package it is being compiled against. 28// A compilation error at this line likely means your copy of the 29// proto package needs to be updated. 30const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 31 32// Request for the CreateIncident method. 33type CreateIncidentRequest struct { 34 // Required. The incident to create. 35 Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` 36 // Required. The resource name of the hosting Stackdriver project which the incident 37 // belongs to. 38 // The name is of the form `projects/{project_id_or_number}` 39 // . 40 Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` 41 XXX_NoUnkeyedLiteral struct{} `json:"-"` 42 XXX_unrecognized []byte `json:"-"` 43 XXX_sizecache int32 `json:"-"` 44} 45 46func (m *CreateIncidentRequest) Reset() { *m = CreateIncidentRequest{} } 47func (m *CreateIncidentRequest) String() string { return proto.CompactTextString(m) } 48func (*CreateIncidentRequest) ProtoMessage() {} 49func (*CreateIncidentRequest) Descriptor() ([]byte, []int) { 50 return fileDescriptor_701d4f44dccb3929, []int{0} 51} 52 53func (m *CreateIncidentRequest) XXX_Unmarshal(b []byte) error { 54 return xxx_messageInfo_CreateIncidentRequest.Unmarshal(m, b) 55} 56func (m *CreateIncidentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 57 return xxx_messageInfo_CreateIncidentRequest.Marshal(b, m, deterministic) 58} 59func (m *CreateIncidentRequest) XXX_Merge(src proto.Message) { 60 xxx_messageInfo_CreateIncidentRequest.Merge(m, src) 61} 62func (m *CreateIncidentRequest) XXX_Size() int { 63 return xxx_messageInfo_CreateIncidentRequest.Size(m) 64} 65func (m *CreateIncidentRequest) XXX_DiscardUnknown() { 66 xxx_messageInfo_CreateIncidentRequest.DiscardUnknown(m) 67} 68 69var xxx_messageInfo_CreateIncidentRequest proto.InternalMessageInfo 70 71func (m *CreateIncidentRequest) GetIncident() *Incident { 72 if m != nil { 73 return m.Incident 74 } 75 return nil 76} 77 78func (m *CreateIncidentRequest) GetParent() string { 79 if m != nil { 80 return m.Parent 81 } 82 return "" 83} 84 85// Request for the GetIncident method. 86type GetIncidentRequest struct { 87 // Required. Resource name of the incident, for example, 88 // "projects/{project_id_or_number}/incidents/{incident_id}". 89 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 90 XXX_NoUnkeyedLiteral struct{} `json:"-"` 91 XXX_unrecognized []byte `json:"-"` 92 XXX_sizecache int32 `json:"-"` 93} 94 95func (m *GetIncidentRequest) Reset() { *m = GetIncidentRequest{} } 96func (m *GetIncidentRequest) String() string { return proto.CompactTextString(m) } 97func (*GetIncidentRequest) ProtoMessage() {} 98func (*GetIncidentRequest) Descriptor() ([]byte, []int) { 99 return fileDescriptor_701d4f44dccb3929, []int{1} 100} 101 102func (m *GetIncidentRequest) XXX_Unmarshal(b []byte) error { 103 return xxx_messageInfo_GetIncidentRequest.Unmarshal(m, b) 104} 105func (m *GetIncidentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 106 return xxx_messageInfo_GetIncidentRequest.Marshal(b, m, deterministic) 107} 108func (m *GetIncidentRequest) XXX_Merge(src proto.Message) { 109 xxx_messageInfo_GetIncidentRequest.Merge(m, src) 110} 111func (m *GetIncidentRequest) XXX_Size() int { 112 return xxx_messageInfo_GetIncidentRequest.Size(m) 113} 114func (m *GetIncidentRequest) XXX_DiscardUnknown() { 115 xxx_messageInfo_GetIncidentRequest.DiscardUnknown(m) 116} 117 118var xxx_messageInfo_GetIncidentRequest proto.InternalMessageInfo 119 120func (m *GetIncidentRequest) GetName() string { 121 if m != nil { 122 return m.Name 123 } 124 return "" 125} 126 127// Request for the UpdateIncident method. 128type UpdateIncidentRequest struct { 129 // Required. The incident to update with the new values. 130 Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` 131 // List of fields that should be updated. 132 UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 133 XXX_NoUnkeyedLiteral struct{} `json:"-"` 134 XXX_unrecognized []byte `json:"-"` 135 XXX_sizecache int32 `json:"-"` 136} 137 138func (m *UpdateIncidentRequest) Reset() { *m = UpdateIncidentRequest{} } 139func (m *UpdateIncidentRequest) String() string { return proto.CompactTextString(m) } 140func (*UpdateIncidentRequest) ProtoMessage() {} 141func (*UpdateIncidentRequest) Descriptor() ([]byte, []int) { 142 return fileDescriptor_701d4f44dccb3929, []int{2} 143} 144 145func (m *UpdateIncidentRequest) XXX_Unmarshal(b []byte) error { 146 return xxx_messageInfo_UpdateIncidentRequest.Unmarshal(m, b) 147} 148func (m *UpdateIncidentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 149 return xxx_messageInfo_UpdateIncidentRequest.Marshal(b, m, deterministic) 150} 151func (m *UpdateIncidentRequest) XXX_Merge(src proto.Message) { 152 xxx_messageInfo_UpdateIncidentRequest.Merge(m, src) 153} 154func (m *UpdateIncidentRequest) XXX_Size() int { 155 return xxx_messageInfo_UpdateIncidentRequest.Size(m) 156} 157func (m *UpdateIncidentRequest) XXX_DiscardUnknown() { 158 xxx_messageInfo_UpdateIncidentRequest.DiscardUnknown(m) 159} 160 161var xxx_messageInfo_UpdateIncidentRequest proto.InternalMessageInfo 162 163func (m *UpdateIncidentRequest) GetIncident() *Incident { 164 if m != nil { 165 return m.Incident 166 } 167 return nil 168} 169 170func (m *UpdateIncidentRequest) GetUpdateMask() *field_mask.FieldMask { 171 if m != nil { 172 return m.UpdateMask 173 } 174 return nil 175} 176 177// Request for the SearchSimilarIncidents method. 178type SearchSimilarIncidentsRequest struct { 179 // Required. Resource name of the incident or signal, for example, 180 // "projects/{project_id_or_number}/incidents/{incident_id}". 181 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 182 // Number of similar incidents to return. 183 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 184 // Page token from an earlier query, as returned in 'next_page_token'. 185 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 186 XXX_NoUnkeyedLiteral struct{} `json:"-"` 187 XXX_unrecognized []byte `json:"-"` 188 XXX_sizecache int32 `json:"-"` 189} 190 191func (m *SearchSimilarIncidentsRequest) Reset() { *m = SearchSimilarIncidentsRequest{} } 192func (m *SearchSimilarIncidentsRequest) String() string { return proto.CompactTextString(m) } 193func (*SearchSimilarIncidentsRequest) ProtoMessage() {} 194func (*SearchSimilarIncidentsRequest) Descriptor() ([]byte, []int) { 195 return fileDescriptor_701d4f44dccb3929, []int{3} 196} 197 198func (m *SearchSimilarIncidentsRequest) XXX_Unmarshal(b []byte) error { 199 return xxx_messageInfo_SearchSimilarIncidentsRequest.Unmarshal(m, b) 200} 201func (m *SearchSimilarIncidentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 202 return xxx_messageInfo_SearchSimilarIncidentsRequest.Marshal(b, m, deterministic) 203} 204func (m *SearchSimilarIncidentsRequest) XXX_Merge(src proto.Message) { 205 xxx_messageInfo_SearchSimilarIncidentsRequest.Merge(m, src) 206} 207func (m *SearchSimilarIncidentsRequest) XXX_Size() int { 208 return xxx_messageInfo_SearchSimilarIncidentsRequest.Size(m) 209} 210func (m *SearchSimilarIncidentsRequest) XXX_DiscardUnknown() { 211 xxx_messageInfo_SearchSimilarIncidentsRequest.DiscardUnknown(m) 212} 213 214var xxx_messageInfo_SearchSimilarIncidentsRequest proto.InternalMessageInfo 215 216func (m *SearchSimilarIncidentsRequest) GetName() string { 217 if m != nil { 218 return m.Name 219 } 220 return "" 221} 222 223func (m *SearchSimilarIncidentsRequest) GetPageSize() int32 { 224 if m != nil { 225 return m.PageSize 226 } 227 return 0 228} 229 230func (m *SearchSimilarIncidentsRequest) GetPageToken() string { 231 if m != nil { 232 return m.PageToken 233 } 234 return "" 235} 236 237// Response for the SearchSimilarIncidents method. 238type SearchSimilarIncidentsResponse struct { 239 // The search results, ordered by descending relevance. 240 Results []*SearchSimilarIncidentsResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` 241 // Page token to fetch the next set of similar incidents. 242 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 243 XXX_NoUnkeyedLiteral struct{} `json:"-"` 244 XXX_unrecognized []byte `json:"-"` 245 XXX_sizecache int32 `json:"-"` 246} 247 248func (m *SearchSimilarIncidentsResponse) Reset() { *m = SearchSimilarIncidentsResponse{} } 249func (m *SearchSimilarIncidentsResponse) String() string { return proto.CompactTextString(m) } 250func (*SearchSimilarIncidentsResponse) ProtoMessage() {} 251func (*SearchSimilarIncidentsResponse) Descriptor() ([]byte, []int) { 252 return fileDescriptor_701d4f44dccb3929, []int{4} 253} 254 255func (m *SearchSimilarIncidentsResponse) XXX_Unmarshal(b []byte) error { 256 return xxx_messageInfo_SearchSimilarIncidentsResponse.Unmarshal(m, b) 257} 258func (m *SearchSimilarIncidentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 259 return xxx_messageInfo_SearchSimilarIncidentsResponse.Marshal(b, m, deterministic) 260} 261func (m *SearchSimilarIncidentsResponse) XXX_Merge(src proto.Message) { 262 xxx_messageInfo_SearchSimilarIncidentsResponse.Merge(m, src) 263} 264func (m *SearchSimilarIncidentsResponse) XXX_Size() int { 265 return xxx_messageInfo_SearchSimilarIncidentsResponse.Size(m) 266} 267func (m *SearchSimilarIncidentsResponse) XXX_DiscardUnknown() { 268 xxx_messageInfo_SearchSimilarIncidentsResponse.DiscardUnknown(m) 269} 270 271var xxx_messageInfo_SearchSimilarIncidentsResponse proto.InternalMessageInfo 272 273func (m *SearchSimilarIncidentsResponse) GetResults() []*SearchSimilarIncidentsResponse_Result { 274 if m != nil { 275 return m.Results 276 } 277 return nil 278} 279 280func (m *SearchSimilarIncidentsResponse) GetNextPageToken() string { 281 if m != nil { 282 return m.NextPageToken 283 } 284 return "" 285} 286 287// A single search result, i.e. an incident with (potentially) additional 288// information. 289type SearchSimilarIncidentsResponse_Result struct { 290 // An incident that is "similar" to the incident or signal specified in the 291 // request. 292 Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` 293 XXX_NoUnkeyedLiteral struct{} `json:"-"` 294 XXX_unrecognized []byte `json:"-"` 295 XXX_sizecache int32 `json:"-"` 296} 297 298func (m *SearchSimilarIncidentsResponse_Result) Reset() { *m = SearchSimilarIncidentsResponse_Result{} } 299func (m *SearchSimilarIncidentsResponse_Result) String() string { return proto.CompactTextString(m) } 300func (*SearchSimilarIncidentsResponse_Result) ProtoMessage() {} 301func (*SearchSimilarIncidentsResponse_Result) Descriptor() ([]byte, []int) { 302 return fileDescriptor_701d4f44dccb3929, []int{4, 0} 303} 304 305func (m *SearchSimilarIncidentsResponse_Result) XXX_Unmarshal(b []byte) error { 306 return xxx_messageInfo_SearchSimilarIncidentsResponse_Result.Unmarshal(m, b) 307} 308func (m *SearchSimilarIncidentsResponse_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 309 return xxx_messageInfo_SearchSimilarIncidentsResponse_Result.Marshal(b, m, deterministic) 310} 311func (m *SearchSimilarIncidentsResponse_Result) XXX_Merge(src proto.Message) { 312 xxx_messageInfo_SearchSimilarIncidentsResponse_Result.Merge(m, src) 313} 314func (m *SearchSimilarIncidentsResponse_Result) XXX_Size() int { 315 return xxx_messageInfo_SearchSimilarIncidentsResponse_Result.Size(m) 316} 317func (m *SearchSimilarIncidentsResponse_Result) XXX_DiscardUnknown() { 318 xxx_messageInfo_SearchSimilarIncidentsResponse_Result.DiscardUnknown(m) 319} 320 321var xxx_messageInfo_SearchSimilarIncidentsResponse_Result proto.InternalMessageInfo 322 323func (m *SearchSimilarIncidentsResponse_Result) GetIncident() *Incident { 324 if m != nil { 325 return m.Incident 326 } 327 return nil 328} 329 330// Request for the CreateAnnotation method. 331type CreateAnnotationRequest struct { 332 // Required. Resource name of the incident, for example, 333 // "projects/{project_id_or_number}/incidents/{incident_id}". 334 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 335 // Required. Only annotation.content is an input argument. 336 Annotation *Annotation `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"` 337 XXX_NoUnkeyedLiteral struct{} `json:"-"` 338 XXX_unrecognized []byte `json:"-"` 339 XXX_sizecache int32 `json:"-"` 340} 341 342func (m *CreateAnnotationRequest) Reset() { *m = CreateAnnotationRequest{} } 343func (m *CreateAnnotationRequest) String() string { return proto.CompactTextString(m) } 344func (*CreateAnnotationRequest) ProtoMessage() {} 345func (*CreateAnnotationRequest) Descriptor() ([]byte, []int) { 346 return fileDescriptor_701d4f44dccb3929, []int{5} 347} 348 349func (m *CreateAnnotationRequest) XXX_Unmarshal(b []byte) error { 350 return xxx_messageInfo_CreateAnnotationRequest.Unmarshal(m, b) 351} 352func (m *CreateAnnotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 353 return xxx_messageInfo_CreateAnnotationRequest.Marshal(b, m, deterministic) 354} 355func (m *CreateAnnotationRequest) XXX_Merge(src proto.Message) { 356 xxx_messageInfo_CreateAnnotationRequest.Merge(m, src) 357} 358func (m *CreateAnnotationRequest) XXX_Size() int { 359 return xxx_messageInfo_CreateAnnotationRequest.Size(m) 360} 361func (m *CreateAnnotationRequest) XXX_DiscardUnknown() { 362 xxx_messageInfo_CreateAnnotationRequest.DiscardUnknown(m) 363} 364 365var xxx_messageInfo_CreateAnnotationRequest proto.InternalMessageInfo 366 367func (m *CreateAnnotationRequest) GetParent() string { 368 if m != nil { 369 return m.Parent 370 } 371 return "" 372} 373 374func (m *CreateAnnotationRequest) GetAnnotation() *Annotation { 375 if m != nil { 376 return m.Annotation 377 } 378 return nil 379} 380 381// Request for the ListAnnotations method. 382type ListAnnotationsRequest struct { 383 // Required. Resource name of the incident, for example, 384 // "projects/{project_id_or_number}/incidents/{incident_id}". 385 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 386 // Number of annotations to return. 387 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 388 // Page token from an earlier query, as returned in `next_page_token`. 389 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 390 XXX_NoUnkeyedLiteral struct{} `json:"-"` 391 XXX_unrecognized []byte `json:"-"` 392 XXX_sizecache int32 `json:"-"` 393} 394 395func (m *ListAnnotationsRequest) Reset() { *m = ListAnnotationsRequest{} } 396func (m *ListAnnotationsRequest) String() string { return proto.CompactTextString(m) } 397func (*ListAnnotationsRequest) ProtoMessage() {} 398func (*ListAnnotationsRequest) Descriptor() ([]byte, []int) { 399 return fileDescriptor_701d4f44dccb3929, []int{6} 400} 401 402func (m *ListAnnotationsRequest) XXX_Unmarshal(b []byte) error { 403 return xxx_messageInfo_ListAnnotationsRequest.Unmarshal(m, b) 404} 405func (m *ListAnnotationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 406 return xxx_messageInfo_ListAnnotationsRequest.Marshal(b, m, deterministic) 407} 408func (m *ListAnnotationsRequest) XXX_Merge(src proto.Message) { 409 xxx_messageInfo_ListAnnotationsRequest.Merge(m, src) 410} 411func (m *ListAnnotationsRequest) XXX_Size() int { 412 return xxx_messageInfo_ListAnnotationsRequest.Size(m) 413} 414func (m *ListAnnotationsRequest) XXX_DiscardUnknown() { 415 xxx_messageInfo_ListAnnotationsRequest.DiscardUnknown(m) 416} 417 418var xxx_messageInfo_ListAnnotationsRequest proto.InternalMessageInfo 419 420func (m *ListAnnotationsRequest) GetParent() string { 421 if m != nil { 422 return m.Parent 423 } 424 return "" 425} 426 427func (m *ListAnnotationsRequest) GetPageSize() int32 { 428 if m != nil { 429 return m.PageSize 430 } 431 return 0 432} 433 434func (m *ListAnnotationsRequest) GetPageToken() string { 435 if m != nil { 436 return m.PageToken 437 } 438 return "" 439} 440 441// Response for the ListAnnotations method. 442type ListAnnotationsResponse struct { 443 // List of annotations. 444 Annotations []*Annotation `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` 445 // Page token to fetch the next set of annotations. 446 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 447 XXX_NoUnkeyedLiteral struct{} `json:"-"` 448 XXX_unrecognized []byte `json:"-"` 449 XXX_sizecache int32 `json:"-"` 450} 451 452func (m *ListAnnotationsResponse) Reset() { *m = ListAnnotationsResponse{} } 453func (m *ListAnnotationsResponse) String() string { return proto.CompactTextString(m) } 454func (*ListAnnotationsResponse) ProtoMessage() {} 455func (*ListAnnotationsResponse) Descriptor() ([]byte, []int) { 456 return fileDescriptor_701d4f44dccb3929, []int{7} 457} 458 459func (m *ListAnnotationsResponse) XXX_Unmarshal(b []byte) error { 460 return xxx_messageInfo_ListAnnotationsResponse.Unmarshal(m, b) 461} 462func (m *ListAnnotationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 463 return xxx_messageInfo_ListAnnotationsResponse.Marshal(b, m, deterministic) 464} 465func (m *ListAnnotationsResponse) XXX_Merge(src proto.Message) { 466 xxx_messageInfo_ListAnnotationsResponse.Merge(m, src) 467} 468func (m *ListAnnotationsResponse) XXX_Size() int { 469 return xxx_messageInfo_ListAnnotationsResponse.Size(m) 470} 471func (m *ListAnnotationsResponse) XXX_DiscardUnknown() { 472 xxx_messageInfo_ListAnnotationsResponse.DiscardUnknown(m) 473} 474 475var xxx_messageInfo_ListAnnotationsResponse proto.InternalMessageInfo 476 477func (m *ListAnnotationsResponse) GetAnnotations() []*Annotation { 478 if m != nil { 479 return m.Annotations 480 } 481 return nil 482} 483 484func (m *ListAnnotationsResponse) GetNextPageToken() string { 485 if m != nil { 486 return m.NextPageToken 487 } 488 return "" 489} 490 491// Request for the CreateTag method. 492type CreateTagRequest struct { 493 // Required. Resource name of the incident, for example, 494 // "projects/{project_id_or_number}/incidents/{incident_id}". 495 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 496 // Required. Tag to create. Only tag.display_name is an input argument. 497 Tag *Tag `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` 498 XXX_NoUnkeyedLiteral struct{} `json:"-"` 499 XXX_unrecognized []byte `json:"-"` 500 XXX_sizecache int32 `json:"-"` 501} 502 503func (m *CreateTagRequest) Reset() { *m = CreateTagRequest{} } 504func (m *CreateTagRequest) String() string { return proto.CompactTextString(m) } 505func (*CreateTagRequest) ProtoMessage() {} 506func (*CreateTagRequest) Descriptor() ([]byte, []int) { 507 return fileDescriptor_701d4f44dccb3929, []int{8} 508} 509 510func (m *CreateTagRequest) XXX_Unmarshal(b []byte) error { 511 return xxx_messageInfo_CreateTagRequest.Unmarshal(m, b) 512} 513func (m *CreateTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 514 return xxx_messageInfo_CreateTagRequest.Marshal(b, m, deterministic) 515} 516func (m *CreateTagRequest) XXX_Merge(src proto.Message) { 517 xxx_messageInfo_CreateTagRequest.Merge(m, src) 518} 519func (m *CreateTagRequest) XXX_Size() int { 520 return xxx_messageInfo_CreateTagRequest.Size(m) 521} 522func (m *CreateTagRequest) XXX_DiscardUnknown() { 523 xxx_messageInfo_CreateTagRequest.DiscardUnknown(m) 524} 525 526var xxx_messageInfo_CreateTagRequest proto.InternalMessageInfo 527 528func (m *CreateTagRequest) GetParent() string { 529 if m != nil { 530 return m.Parent 531 } 532 return "" 533} 534 535func (m *CreateTagRequest) GetTag() *Tag { 536 if m != nil { 537 return m.Tag 538 } 539 return nil 540} 541 542// Request for the DeleteTag method. 543type DeleteTagRequest struct { 544 // Required. Resource name of the tag. 545 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 546 XXX_NoUnkeyedLiteral struct{} `json:"-"` 547 XXX_unrecognized []byte `json:"-"` 548 XXX_sizecache int32 `json:"-"` 549} 550 551func (m *DeleteTagRequest) Reset() { *m = DeleteTagRequest{} } 552func (m *DeleteTagRequest) String() string { return proto.CompactTextString(m) } 553func (*DeleteTagRequest) ProtoMessage() {} 554func (*DeleteTagRequest) Descriptor() ([]byte, []int) { 555 return fileDescriptor_701d4f44dccb3929, []int{9} 556} 557 558func (m *DeleteTagRequest) XXX_Unmarshal(b []byte) error { 559 return xxx_messageInfo_DeleteTagRequest.Unmarshal(m, b) 560} 561func (m *DeleteTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 562 return xxx_messageInfo_DeleteTagRequest.Marshal(b, m, deterministic) 563} 564func (m *DeleteTagRequest) XXX_Merge(src proto.Message) { 565 xxx_messageInfo_DeleteTagRequest.Merge(m, src) 566} 567func (m *DeleteTagRequest) XXX_Size() int { 568 return xxx_messageInfo_DeleteTagRequest.Size(m) 569} 570func (m *DeleteTagRequest) XXX_DiscardUnknown() { 571 xxx_messageInfo_DeleteTagRequest.DiscardUnknown(m) 572} 573 574var xxx_messageInfo_DeleteTagRequest proto.InternalMessageInfo 575 576func (m *DeleteTagRequest) GetName() string { 577 if m != nil { 578 return m.Name 579 } 580 return "" 581} 582 583// Request for the ListTagsForIncident method. 584type ListTagsRequest struct { 585 // Required. Resource name of the incident, for example, 586 // "projects/{project_id_or_number}/incidents/{incident_id}". 587 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 588 // Number of tags to return. 589 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 590 // Page token from an earlier query, as returned in `next_page_token`. 591 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 592 XXX_NoUnkeyedLiteral struct{} `json:"-"` 593 XXX_unrecognized []byte `json:"-"` 594 XXX_sizecache int32 `json:"-"` 595} 596 597func (m *ListTagsRequest) Reset() { *m = ListTagsRequest{} } 598func (m *ListTagsRequest) String() string { return proto.CompactTextString(m) } 599func (*ListTagsRequest) ProtoMessage() {} 600func (*ListTagsRequest) Descriptor() ([]byte, []int) { 601 return fileDescriptor_701d4f44dccb3929, []int{10} 602} 603 604func (m *ListTagsRequest) XXX_Unmarshal(b []byte) error { 605 return xxx_messageInfo_ListTagsRequest.Unmarshal(m, b) 606} 607func (m *ListTagsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 608 return xxx_messageInfo_ListTagsRequest.Marshal(b, m, deterministic) 609} 610func (m *ListTagsRequest) XXX_Merge(src proto.Message) { 611 xxx_messageInfo_ListTagsRequest.Merge(m, src) 612} 613func (m *ListTagsRequest) XXX_Size() int { 614 return xxx_messageInfo_ListTagsRequest.Size(m) 615} 616func (m *ListTagsRequest) XXX_DiscardUnknown() { 617 xxx_messageInfo_ListTagsRequest.DiscardUnknown(m) 618} 619 620var xxx_messageInfo_ListTagsRequest proto.InternalMessageInfo 621 622func (m *ListTagsRequest) GetParent() string { 623 if m != nil { 624 return m.Parent 625 } 626 return "" 627} 628 629func (m *ListTagsRequest) GetPageSize() int32 { 630 if m != nil { 631 return m.PageSize 632 } 633 return 0 634} 635 636func (m *ListTagsRequest) GetPageToken() string { 637 if m != nil { 638 return m.PageToken 639 } 640 return "" 641} 642 643// Response for the ListTagsForIncident method. 644type ListTagsResponse struct { 645 // Tags. 646 Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` 647 // Page token to fetch the next set of tags. 648 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 649 XXX_NoUnkeyedLiteral struct{} `json:"-"` 650 XXX_unrecognized []byte `json:"-"` 651 XXX_sizecache int32 `json:"-"` 652} 653 654func (m *ListTagsResponse) Reset() { *m = ListTagsResponse{} } 655func (m *ListTagsResponse) String() string { return proto.CompactTextString(m) } 656func (*ListTagsResponse) ProtoMessage() {} 657func (*ListTagsResponse) Descriptor() ([]byte, []int) { 658 return fileDescriptor_701d4f44dccb3929, []int{11} 659} 660 661func (m *ListTagsResponse) XXX_Unmarshal(b []byte) error { 662 return xxx_messageInfo_ListTagsResponse.Unmarshal(m, b) 663} 664func (m *ListTagsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 665 return xxx_messageInfo_ListTagsResponse.Marshal(b, m, deterministic) 666} 667func (m *ListTagsResponse) XXX_Merge(src proto.Message) { 668 xxx_messageInfo_ListTagsResponse.Merge(m, src) 669} 670func (m *ListTagsResponse) XXX_Size() int { 671 return xxx_messageInfo_ListTagsResponse.Size(m) 672} 673func (m *ListTagsResponse) XXX_DiscardUnknown() { 674 xxx_messageInfo_ListTagsResponse.DiscardUnknown(m) 675} 676 677var xxx_messageInfo_ListTagsResponse proto.InternalMessageInfo 678 679func (m *ListTagsResponse) GetTags() []*Tag { 680 if m != nil { 681 return m.Tags 682 } 683 return nil 684} 685 686func (m *ListTagsResponse) GetNextPageToken() string { 687 if m != nil { 688 return m.NextPageToken 689 } 690 return "" 691} 692 693// Request for the CreateSignal method. 694type CreateSignalRequest struct { 695 // Required. The resource name of the hosting Stackdriver project which requested 696 // signal belongs to. 697 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 698 // Required. The signal to create. 699 Signal *Signal `protobuf:"bytes,2,opt,name=signal,proto3" json:"signal,omitempty"` 700 XXX_NoUnkeyedLiteral struct{} `json:"-"` 701 XXX_unrecognized []byte `json:"-"` 702 XXX_sizecache int32 `json:"-"` 703} 704 705func (m *CreateSignalRequest) Reset() { *m = CreateSignalRequest{} } 706func (m *CreateSignalRequest) String() string { return proto.CompactTextString(m) } 707func (*CreateSignalRequest) ProtoMessage() {} 708func (*CreateSignalRequest) Descriptor() ([]byte, []int) { 709 return fileDescriptor_701d4f44dccb3929, []int{12} 710} 711 712func (m *CreateSignalRequest) XXX_Unmarshal(b []byte) error { 713 return xxx_messageInfo_CreateSignalRequest.Unmarshal(m, b) 714} 715func (m *CreateSignalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 716 return xxx_messageInfo_CreateSignalRequest.Marshal(b, m, deterministic) 717} 718func (m *CreateSignalRequest) XXX_Merge(src proto.Message) { 719 xxx_messageInfo_CreateSignalRequest.Merge(m, src) 720} 721func (m *CreateSignalRequest) XXX_Size() int { 722 return xxx_messageInfo_CreateSignalRequest.Size(m) 723} 724func (m *CreateSignalRequest) XXX_DiscardUnknown() { 725 xxx_messageInfo_CreateSignalRequest.DiscardUnknown(m) 726} 727 728var xxx_messageInfo_CreateSignalRequest proto.InternalMessageInfo 729 730func (m *CreateSignalRequest) GetParent() string { 731 if m != nil { 732 return m.Parent 733 } 734 return "" 735} 736 737func (m *CreateSignalRequest) GetSignal() *Signal { 738 if m != nil { 739 return m.Signal 740 } 741 return nil 742} 743 744// Request for the SearchSignals method. 745type SearchSignalsRequest struct { 746 // Required. The resource name of the hosting Stackdriver project which requested 747 // incidents belong to. 748 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 749 // An expression that defines which signals to return. 750 // 751 // Search atoms can be used to match certain specific fields. Otherwise, 752 // plain text will match text fields in the signal. 753 // 754 // Search atoms: 755 // 756 // * `start` - (timestamp) The time the signal was created. 757 // * `title` - The title of the signal. 758 // * `signal_state` - `open` or `closed`. State of the signal. 759 // (e.g., `signal_state:open`) 760 // 761 // Timestamp formats: 762 // 763 // * yyyy-MM-dd - an absolute date, treated as a calendar-day-wide window. 764 // In other words, the "<" operator will match dates before that date, the 765 // ">" operator will match dates after that date, and the ":" operator will 766 // match the entire day. 767 // * yyyy-MM-ddTHH:mm - Same as above, but with minute resolution. 768 // * yyyy-MM-ddTHH:mm:ss - Same as above, but with second resolution. 769 // * Nd (e.g. 7d) - a relative number of days ago, treated as a moment in time 770 // (as opposed to a day-wide span) a multiple of 24 hours ago (as opposed to 771 // calendar days). In the case of daylight savings time, it will apply the 772 // current timezone to both ends of the range. Note that exact matching 773 // (e.g. `start:7d`) is unlikely to be useful because that would only match 774 // signals created precisely at a particular instant in time. 775 // 776 // The absolute timestamp formats (everything starting with a year) can 777 // optionally be followed with a UTC offset in +/-hh:mm format. Also, the 'T' 778 // separating dates and times can optionally be replaced with a space. Note 779 // that any timestamp containing a space or colon will need to be quoted. 780 // 781 // Examples: 782 // 783 // * `foo` - matches signals containing the word "foo" 784 // * `"foo bar"` - matches signals containing the phrase "foo bar" 785 // * `foo bar` or `foo AND bar` - matches signals containing the words 786 // "foo" and "bar" 787 // * `foo -bar` or `foo AND NOT bar` - matches signals containing the 788 // word 789 // "foo" but not the word "bar" 790 // * `foo OR bar` - matches signals containing the word "foo" or the 791 // word "bar" 792 // * `start>2018-11-28` - matches signals which started after November 793 // 11, 2018. 794 // * `start<=2018-11-28` - matches signals which started on or before 795 // November 11, 2018. 796 // * `start:2018-11-28` - matches signals which started on November 11, 797 // 2018. 798 // * `start>"2018-11-28 01:02:03+04:00"` - matches signals which started 799 // after November 11, 2018 at 1:02:03 AM according to the UTC+04 time 800 // zone. 801 // * `start>7d` - matches signals which started after the point in time 802 // 7*24 hours ago 803 // * `start>180d` - similar to 7d, but likely to cross the daylight savings 804 // time boundary, so the end time will be 1 hour different from "now." 805 // * `foo AND start>90d AND stage<resolved` - unresolved signals from 806 // the past 90 days containing the word "foo" 807 Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` 808 // Maximum number of `signals` to return in the response. 809 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 810 // Page token from an earlier query, as returned in `next_page_token`. All 811 // field values except for page_size and page_token should be the same as the 812 // original query (may return an error or unexpected data otherwise). 813 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 814 XXX_NoUnkeyedLiteral struct{} `json:"-"` 815 XXX_unrecognized []byte `json:"-"` 816 XXX_sizecache int32 `json:"-"` 817} 818 819func (m *SearchSignalsRequest) Reset() { *m = SearchSignalsRequest{} } 820func (m *SearchSignalsRequest) String() string { return proto.CompactTextString(m) } 821func (*SearchSignalsRequest) ProtoMessage() {} 822func (*SearchSignalsRequest) Descriptor() ([]byte, []int) { 823 return fileDescriptor_701d4f44dccb3929, []int{13} 824} 825 826func (m *SearchSignalsRequest) XXX_Unmarshal(b []byte) error { 827 return xxx_messageInfo_SearchSignalsRequest.Unmarshal(m, b) 828} 829func (m *SearchSignalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 830 return xxx_messageInfo_SearchSignalsRequest.Marshal(b, m, deterministic) 831} 832func (m *SearchSignalsRequest) XXX_Merge(src proto.Message) { 833 xxx_messageInfo_SearchSignalsRequest.Merge(m, src) 834} 835func (m *SearchSignalsRequest) XXX_Size() int { 836 return xxx_messageInfo_SearchSignalsRequest.Size(m) 837} 838func (m *SearchSignalsRequest) XXX_DiscardUnknown() { 839 xxx_messageInfo_SearchSignalsRequest.DiscardUnknown(m) 840} 841 842var xxx_messageInfo_SearchSignalsRequest proto.InternalMessageInfo 843 844func (m *SearchSignalsRequest) GetParent() string { 845 if m != nil { 846 return m.Parent 847 } 848 return "" 849} 850 851func (m *SearchSignalsRequest) GetQuery() string { 852 if m != nil { 853 return m.Query 854 } 855 return "" 856} 857 858func (m *SearchSignalsRequest) GetPageSize() int32 { 859 if m != nil { 860 return m.PageSize 861 } 862 return 0 863} 864 865func (m *SearchSignalsRequest) GetPageToken() string { 866 if m != nil { 867 return m.PageToken 868 } 869 return "" 870} 871 872// Response for the SearchSignals method. 873type SearchSignalsResponse struct { 874 // Signals that matched the query in the request. 875 Signals []*Signal `protobuf:"bytes,1,rep,name=signals,proto3" json:"signals,omitempty"` 876 // Page token to fetch the next set of signals. 877 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 878 XXX_NoUnkeyedLiteral struct{} `json:"-"` 879 XXX_unrecognized []byte `json:"-"` 880 XXX_sizecache int32 `json:"-"` 881} 882 883func (m *SearchSignalsResponse) Reset() { *m = SearchSignalsResponse{} } 884func (m *SearchSignalsResponse) String() string { return proto.CompactTextString(m) } 885func (*SearchSignalsResponse) ProtoMessage() {} 886func (*SearchSignalsResponse) Descriptor() ([]byte, []int) { 887 return fileDescriptor_701d4f44dccb3929, []int{14} 888} 889 890func (m *SearchSignalsResponse) XXX_Unmarshal(b []byte) error { 891 return xxx_messageInfo_SearchSignalsResponse.Unmarshal(m, b) 892} 893func (m *SearchSignalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 894 return xxx_messageInfo_SearchSignalsResponse.Marshal(b, m, deterministic) 895} 896func (m *SearchSignalsResponse) XXX_Merge(src proto.Message) { 897 xxx_messageInfo_SearchSignalsResponse.Merge(m, src) 898} 899func (m *SearchSignalsResponse) XXX_Size() int { 900 return xxx_messageInfo_SearchSignalsResponse.Size(m) 901} 902func (m *SearchSignalsResponse) XXX_DiscardUnknown() { 903 xxx_messageInfo_SearchSignalsResponse.DiscardUnknown(m) 904} 905 906var xxx_messageInfo_SearchSignalsResponse proto.InternalMessageInfo 907 908func (m *SearchSignalsResponse) GetSignals() []*Signal { 909 if m != nil { 910 return m.Signals 911 } 912 return nil 913} 914 915func (m *SearchSignalsResponse) GetNextPageToken() string { 916 if m != nil { 917 return m.NextPageToken 918 } 919 return "" 920} 921 922// Request for the GetSignal method. 923type GetSignalRequest struct { 924 // Required. Resource name of the Signal resource, for example, 925 // "projects/{project_id_or_number}/signals/{signal_id}". 926 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 927 XXX_NoUnkeyedLiteral struct{} `json:"-"` 928 XXX_unrecognized []byte `json:"-"` 929 XXX_sizecache int32 `json:"-"` 930} 931 932func (m *GetSignalRequest) Reset() { *m = GetSignalRequest{} } 933func (m *GetSignalRequest) String() string { return proto.CompactTextString(m) } 934func (*GetSignalRequest) ProtoMessage() {} 935func (*GetSignalRequest) Descriptor() ([]byte, []int) { 936 return fileDescriptor_701d4f44dccb3929, []int{15} 937} 938 939func (m *GetSignalRequest) XXX_Unmarshal(b []byte) error { 940 return xxx_messageInfo_GetSignalRequest.Unmarshal(m, b) 941} 942func (m *GetSignalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 943 return xxx_messageInfo_GetSignalRequest.Marshal(b, m, deterministic) 944} 945func (m *GetSignalRequest) XXX_Merge(src proto.Message) { 946 xxx_messageInfo_GetSignalRequest.Merge(m, src) 947} 948func (m *GetSignalRequest) XXX_Size() int { 949 return xxx_messageInfo_GetSignalRequest.Size(m) 950} 951func (m *GetSignalRequest) XXX_DiscardUnknown() { 952 xxx_messageInfo_GetSignalRequest.DiscardUnknown(m) 953} 954 955var xxx_messageInfo_GetSignalRequest proto.InternalMessageInfo 956 957func (m *GetSignalRequest) GetName() string { 958 if m != nil { 959 return m.Name 960 } 961 return "" 962} 963 964// Request for the LookupSignal method. 965type LookupSignalRequest struct { 966 // The ID to use for lookup. 967 // 968 // Types that are valid to be assigned to AlternateId: 969 // *LookupSignalRequest_CsccFinding 970 // *LookupSignalRequest_StackdriverNotificationId 971 AlternateId isLookupSignalRequest_AlternateId `protobuf_oneof:"alternate_id"` 972 XXX_NoUnkeyedLiteral struct{} `json:"-"` 973 XXX_unrecognized []byte `json:"-"` 974 XXX_sizecache int32 `json:"-"` 975} 976 977func (m *LookupSignalRequest) Reset() { *m = LookupSignalRequest{} } 978func (m *LookupSignalRequest) String() string { return proto.CompactTextString(m) } 979func (*LookupSignalRequest) ProtoMessage() {} 980func (*LookupSignalRequest) Descriptor() ([]byte, []int) { 981 return fileDescriptor_701d4f44dccb3929, []int{16} 982} 983 984func (m *LookupSignalRequest) XXX_Unmarshal(b []byte) error { 985 return xxx_messageInfo_LookupSignalRequest.Unmarshal(m, b) 986} 987func (m *LookupSignalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 988 return xxx_messageInfo_LookupSignalRequest.Marshal(b, m, deterministic) 989} 990func (m *LookupSignalRequest) XXX_Merge(src proto.Message) { 991 xxx_messageInfo_LookupSignalRequest.Merge(m, src) 992} 993func (m *LookupSignalRequest) XXX_Size() int { 994 return xxx_messageInfo_LookupSignalRequest.Size(m) 995} 996func (m *LookupSignalRequest) XXX_DiscardUnknown() { 997 xxx_messageInfo_LookupSignalRequest.DiscardUnknown(m) 998} 999 1000var xxx_messageInfo_LookupSignalRequest proto.InternalMessageInfo 1001 1002type isLookupSignalRequest_AlternateId interface { 1003 isLookupSignalRequest_AlternateId() 1004} 1005 1006type LookupSignalRequest_CsccFinding struct { 1007 CsccFinding string `protobuf:"bytes,2,opt,name=cscc_finding,json=csccFinding,proto3,oneof"` 1008} 1009 1010type LookupSignalRequest_StackdriverNotificationId struct { 1011 StackdriverNotificationId string `protobuf:"bytes,3,opt,name=stackdriver_notification_id,json=stackdriverNotificationId,proto3,oneof"` 1012} 1013 1014func (*LookupSignalRequest_CsccFinding) isLookupSignalRequest_AlternateId() {} 1015 1016func (*LookupSignalRequest_StackdriverNotificationId) isLookupSignalRequest_AlternateId() {} 1017 1018func (m *LookupSignalRequest) GetAlternateId() isLookupSignalRequest_AlternateId { 1019 if m != nil { 1020 return m.AlternateId 1021 } 1022 return nil 1023} 1024 1025func (m *LookupSignalRequest) GetCsccFinding() string { 1026 if x, ok := m.GetAlternateId().(*LookupSignalRequest_CsccFinding); ok { 1027 return x.CsccFinding 1028 } 1029 return "" 1030} 1031 1032func (m *LookupSignalRequest) GetStackdriverNotificationId() string { 1033 if x, ok := m.GetAlternateId().(*LookupSignalRequest_StackdriverNotificationId); ok { 1034 return x.StackdriverNotificationId 1035 } 1036 return "" 1037} 1038 1039// XXX_OneofWrappers is for the internal use of the proto package. 1040func (*LookupSignalRequest) XXX_OneofWrappers() []interface{} { 1041 return []interface{}{ 1042 (*LookupSignalRequest_CsccFinding)(nil), 1043 (*LookupSignalRequest_StackdriverNotificationId)(nil), 1044 } 1045} 1046 1047// Request for the UpdateSignal method. 1048type UpdateSignalRequest struct { 1049 // Required. The signal to update with the new values. 1050 Signal *Signal `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,omitempty"` 1051 // List of fields that should be updated. 1052 UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 1053 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1054 XXX_unrecognized []byte `json:"-"` 1055 XXX_sizecache int32 `json:"-"` 1056} 1057 1058func (m *UpdateSignalRequest) Reset() { *m = UpdateSignalRequest{} } 1059func (m *UpdateSignalRequest) String() string { return proto.CompactTextString(m) } 1060func (*UpdateSignalRequest) ProtoMessage() {} 1061func (*UpdateSignalRequest) Descriptor() ([]byte, []int) { 1062 return fileDescriptor_701d4f44dccb3929, []int{17} 1063} 1064 1065func (m *UpdateSignalRequest) XXX_Unmarshal(b []byte) error { 1066 return xxx_messageInfo_UpdateSignalRequest.Unmarshal(m, b) 1067} 1068func (m *UpdateSignalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1069 return xxx_messageInfo_UpdateSignalRequest.Marshal(b, m, deterministic) 1070} 1071func (m *UpdateSignalRequest) XXX_Merge(src proto.Message) { 1072 xxx_messageInfo_UpdateSignalRequest.Merge(m, src) 1073} 1074func (m *UpdateSignalRequest) XXX_Size() int { 1075 return xxx_messageInfo_UpdateSignalRequest.Size(m) 1076} 1077func (m *UpdateSignalRequest) XXX_DiscardUnknown() { 1078 xxx_messageInfo_UpdateSignalRequest.DiscardUnknown(m) 1079} 1080 1081var xxx_messageInfo_UpdateSignalRequest proto.InternalMessageInfo 1082 1083func (m *UpdateSignalRequest) GetSignal() *Signal { 1084 if m != nil { 1085 return m.Signal 1086 } 1087 return nil 1088} 1089 1090func (m *UpdateSignalRequest) GetUpdateMask() *field_mask.FieldMask { 1091 if m != nil { 1092 return m.UpdateMask 1093 } 1094 return nil 1095} 1096 1097// Request for the SearchIncidents method. 1098type SearchIncidentsRequest struct { 1099 // Required. The resource name of the hosting Stackdriver project which requested 1100 // incidents belong to. 1101 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1102 // An expression that defines which incidents to return. 1103 // 1104 // Search atoms can be used to match certain specific fields. Otherwise, 1105 // plain text will match text fields in the incident. 1106 // 1107 // Search atoms: 1108 // * `start` - (timestamp) The time the incident started. 1109 // * `stage` - The stage of the incident, one of detected, triaged, mitigated, 1110 // resolved, documented, or duplicate (which correspond to values in the 1111 // Incident.Stage enum). These are ordered, so `stage<resolved` is 1112 // equivalent to `stage:detected OR stage:triaged OR stage:mitigated`. 1113 // * `severity` - (Incident.Severity) The severity of the incident. 1114 // + Supports matching on a specific severity (for example, 1115 // `severity:major`) or on a range (for example, `severity>medium`, 1116 // `severity<=minor`, etc.). 1117 // 1118 // Timestamp formats: 1119 // * yyyy-MM-dd - an absolute date, treated as a calendar-day-wide window. 1120 // In other words, the "<" operator will match dates before that date, the 1121 // ">" operator will match dates after that date, and the ":" or "=" 1122 // operators will match the entire day. 1123 // * Nd (for example, 7d) - a relative number of days ago, treated as a moment 1124 // in time (as opposed to a day-wide span). A multiple of 24 hours ago (as 1125 // opposed to calendar days). In the case of daylight savings time, it will 1126 // apply the current timezone to both ends of the range. Note that exact 1127 // matching (for example, `start:7d`) is unlikely to be useful because that 1128 // would only match incidents created precisely at a particular instant in 1129 // time. 1130 // 1131 // Examples: 1132 // 1133 // * `foo` - matches incidents containing the word "foo" 1134 // * `"foo bar"` - matches incidents containing the phrase "foo bar" 1135 // * `foo bar` or `foo AND bar` - matches incidents containing the words "foo" 1136 // and "bar" 1137 // * `foo -bar` or `foo AND NOT bar` - matches incidents containing the word 1138 // "foo" but not the word "bar" 1139 // * `foo OR bar` - matches incidents containing the word "foo" or the word 1140 // "bar" 1141 // * `start>2018-11-28` - matches incidents which started after November 11, 1142 // 2018. 1143 // * `start<=2018-11-28` - matches incidents which started on or before 1144 // November 11, 2018. 1145 // * `start:2018-11-28` - matches incidents which started on November 11, 1146 // 2018. 1147 // * `start>7d` - matches incidents which started after the point in time 7*24 1148 // hours ago 1149 // * `start>180d` - similar to 7d, but likely to cross the daylight savings 1150 // time boundary, so the end time will be 1 hour different from "now." 1151 // * `foo AND start>90d AND stage<resolved` - unresolved incidents from the 1152 // past 90 days containing the word "foo" 1153 Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` 1154 // Number of incidents to return. 1155 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 1156 // Page token from an earlier query, as returned in `next_page_token`. 1157 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 1158 // The time zone name. It should be an IANA TZ name, such as 1159 // "America/Los_Angeles". For more information, 1160 // see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. 1161 // If no time zone is specified, the default is UTC. 1162 TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` 1163 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1164 XXX_unrecognized []byte `json:"-"` 1165 XXX_sizecache int32 `json:"-"` 1166} 1167 1168func (m *SearchIncidentsRequest) Reset() { *m = SearchIncidentsRequest{} } 1169func (m *SearchIncidentsRequest) String() string { return proto.CompactTextString(m) } 1170func (*SearchIncidentsRequest) ProtoMessage() {} 1171func (*SearchIncidentsRequest) Descriptor() ([]byte, []int) { 1172 return fileDescriptor_701d4f44dccb3929, []int{18} 1173} 1174 1175func (m *SearchIncidentsRequest) XXX_Unmarshal(b []byte) error { 1176 return xxx_messageInfo_SearchIncidentsRequest.Unmarshal(m, b) 1177} 1178func (m *SearchIncidentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1179 return xxx_messageInfo_SearchIncidentsRequest.Marshal(b, m, deterministic) 1180} 1181func (m *SearchIncidentsRequest) XXX_Merge(src proto.Message) { 1182 xxx_messageInfo_SearchIncidentsRequest.Merge(m, src) 1183} 1184func (m *SearchIncidentsRequest) XXX_Size() int { 1185 return xxx_messageInfo_SearchIncidentsRequest.Size(m) 1186} 1187func (m *SearchIncidentsRequest) XXX_DiscardUnknown() { 1188 xxx_messageInfo_SearchIncidentsRequest.DiscardUnknown(m) 1189} 1190 1191var xxx_messageInfo_SearchIncidentsRequest proto.InternalMessageInfo 1192 1193func (m *SearchIncidentsRequest) GetParent() string { 1194 if m != nil { 1195 return m.Parent 1196 } 1197 return "" 1198} 1199 1200func (m *SearchIncidentsRequest) GetQuery() string { 1201 if m != nil { 1202 return m.Query 1203 } 1204 return "" 1205} 1206 1207func (m *SearchIncidentsRequest) GetPageSize() int32 { 1208 if m != nil { 1209 return m.PageSize 1210 } 1211 return 0 1212} 1213 1214func (m *SearchIncidentsRequest) GetPageToken() string { 1215 if m != nil { 1216 return m.PageToken 1217 } 1218 return "" 1219} 1220 1221func (m *SearchIncidentsRequest) GetTimeZone() string { 1222 if m != nil { 1223 return m.TimeZone 1224 } 1225 return "" 1226} 1227 1228// Response for the SearchIncidents method. 1229type SearchIncidentsResponse struct { 1230 // Incidents. 1231 Incidents []*Incident `protobuf:"bytes,1,rep,name=incidents,proto3" json:"incidents,omitempty"` 1232 // Page token to fetch the next set of incidents. 1233 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 1234 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1235 XXX_unrecognized []byte `json:"-"` 1236 XXX_sizecache int32 `json:"-"` 1237} 1238 1239func (m *SearchIncidentsResponse) Reset() { *m = SearchIncidentsResponse{} } 1240func (m *SearchIncidentsResponse) String() string { return proto.CompactTextString(m) } 1241func (*SearchIncidentsResponse) ProtoMessage() {} 1242func (*SearchIncidentsResponse) Descriptor() ([]byte, []int) { 1243 return fileDescriptor_701d4f44dccb3929, []int{19} 1244} 1245 1246func (m *SearchIncidentsResponse) XXX_Unmarshal(b []byte) error { 1247 return xxx_messageInfo_SearchIncidentsResponse.Unmarshal(m, b) 1248} 1249func (m *SearchIncidentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1250 return xxx_messageInfo_SearchIncidentsResponse.Marshal(b, m, deterministic) 1251} 1252func (m *SearchIncidentsResponse) XXX_Merge(src proto.Message) { 1253 xxx_messageInfo_SearchIncidentsResponse.Merge(m, src) 1254} 1255func (m *SearchIncidentsResponse) XXX_Size() int { 1256 return xxx_messageInfo_SearchIncidentsResponse.Size(m) 1257} 1258func (m *SearchIncidentsResponse) XXX_DiscardUnknown() { 1259 xxx_messageInfo_SearchIncidentsResponse.DiscardUnknown(m) 1260} 1261 1262var xxx_messageInfo_SearchIncidentsResponse proto.InternalMessageInfo 1263 1264func (m *SearchIncidentsResponse) GetIncidents() []*Incident { 1265 if m != nil { 1266 return m.Incidents 1267 } 1268 return nil 1269} 1270 1271func (m *SearchIncidentsResponse) GetNextPageToken() string { 1272 if m != nil { 1273 return m.NextPageToken 1274 } 1275 return "" 1276} 1277 1278// Request to escalate an incident. 1279type EscalateIncidentRequest struct { 1280 // Required. The incident to escalate with the new values. 1281 Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` 1282 // List of fields that should be updated. 1283 UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 1284 // Subscriptions to add or update. Existing subscriptions with the same 1285 // channel and address as a subscription in the list will be updated. 1286 Subscriptions []*Subscription `protobuf:"bytes,3,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` 1287 // Tags to add. Tags identical to existing tags will be ignored. 1288 Tags []*Tag `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` 1289 // Roles to add or update. Existing roles with the same type (and title, for 1290 // TYPE_OTHER roles) will be updated. 1291 Roles []*IncidentRoleAssignment `protobuf:"bytes,5,rep,name=roles,proto3" json:"roles,omitempty"` 1292 // Artifacts to add. All artifacts are added without checking for duplicates. 1293 Artifacts []*Artifact `protobuf:"bytes,6,rep,name=artifacts,proto3" json:"artifacts,omitempty"` 1294 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1295 XXX_unrecognized []byte `json:"-"` 1296 XXX_sizecache int32 `json:"-"` 1297} 1298 1299func (m *EscalateIncidentRequest) Reset() { *m = EscalateIncidentRequest{} } 1300func (m *EscalateIncidentRequest) String() string { return proto.CompactTextString(m) } 1301func (*EscalateIncidentRequest) ProtoMessage() {} 1302func (*EscalateIncidentRequest) Descriptor() ([]byte, []int) { 1303 return fileDescriptor_701d4f44dccb3929, []int{20} 1304} 1305 1306func (m *EscalateIncidentRequest) XXX_Unmarshal(b []byte) error { 1307 return xxx_messageInfo_EscalateIncidentRequest.Unmarshal(m, b) 1308} 1309func (m *EscalateIncidentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1310 return xxx_messageInfo_EscalateIncidentRequest.Marshal(b, m, deterministic) 1311} 1312func (m *EscalateIncidentRequest) XXX_Merge(src proto.Message) { 1313 xxx_messageInfo_EscalateIncidentRequest.Merge(m, src) 1314} 1315func (m *EscalateIncidentRequest) XXX_Size() int { 1316 return xxx_messageInfo_EscalateIncidentRequest.Size(m) 1317} 1318func (m *EscalateIncidentRequest) XXX_DiscardUnknown() { 1319 xxx_messageInfo_EscalateIncidentRequest.DiscardUnknown(m) 1320} 1321 1322var xxx_messageInfo_EscalateIncidentRequest proto.InternalMessageInfo 1323 1324func (m *EscalateIncidentRequest) GetIncident() *Incident { 1325 if m != nil { 1326 return m.Incident 1327 } 1328 return nil 1329} 1330 1331func (m *EscalateIncidentRequest) GetUpdateMask() *field_mask.FieldMask { 1332 if m != nil { 1333 return m.UpdateMask 1334 } 1335 return nil 1336} 1337 1338func (m *EscalateIncidentRequest) GetSubscriptions() []*Subscription { 1339 if m != nil { 1340 return m.Subscriptions 1341 } 1342 return nil 1343} 1344 1345func (m *EscalateIncidentRequest) GetTags() []*Tag { 1346 if m != nil { 1347 return m.Tags 1348 } 1349 return nil 1350} 1351 1352func (m *EscalateIncidentRequest) GetRoles() []*IncidentRoleAssignment { 1353 if m != nil { 1354 return m.Roles 1355 } 1356 return nil 1357} 1358 1359func (m *EscalateIncidentRequest) GetArtifacts() []*Artifact { 1360 if m != nil { 1361 return m.Artifacts 1362 } 1363 return nil 1364} 1365 1366// Response for EscalateIncident. 1367type EscalateIncidentResponse struct { 1368 // The escalated incident. 1369 Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` 1370 // New or modified subscriptions. 1371 Subscriptions []*Subscription `protobuf:"bytes,2,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` 1372 // New or modified tags. 1373 Tags []*Tag `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` 1374 // New or modified roles. 1375 Roles []*IncidentRole `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` 1376 // New or modified artifacts. 1377 Artifacts []*Artifact `protobuf:"bytes,5,rep,name=artifacts,proto3" json:"artifacts,omitempty"` 1378 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1379 XXX_unrecognized []byte `json:"-"` 1380 XXX_sizecache int32 `json:"-"` 1381} 1382 1383func (m *EscalateIncidentResponse) Reset() { *m = EscalateIncidentResponse{} } 1384func (m *EscalateIncidentResponse) String() string { return proto.CompactTextString(m) } 1385func (*EscalateIncidentResponse) ProtoMessage() {} 1386func (*EscalateIncidentResponse) Descriptor() ([]byte, []int) { 1387 return fileDescriptor_701d4f44dccb3929, []int{21} 1388} 1389 1390func (m *EscalateIncidentResponse) XXX_Unmarshal(b []byte) error { 1391 return xxx_messageInfo_EscalateIncidentResponse.Unmarshal(m, b) 1392} 1393func (m *EscalateIncidentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1394 return xxx_messageInfo_EscalateIncidentResponse.Marshal(b, m, deterministic) 1395} 1396func (m *EscalateIncidentResponse) XXX_Merge(src proto.Message) { 1397 xxx_messageInfo_EscalateIncidentResponse.Merge(m, src) 1398} 1399func (m *EscalateIncidentResponse) XXX_Size() int { 1400 return xxx_messageInfo_EscalateIncidentResponse.Size(m) 1401} 1402func (m *EscalateIncidentResponse) XXX_DiscardUnknown() { 1403 xxx_messageInfo_EscalateIncidentResponse.DiscardUnknown(m) 1404} 1405 1406var xxx_messageInfo_EscalateIncidentResponse proto.InternalMessageInfo 1407 1408func (m *EscalateIncidentResponse) GetIncident() *Incident { 1409 if m != nil { 1410 return m.Incident 1411 } 1412 return nil 1413} 1414 1415func (m *EscalateIncidentResponse) GetSubscriptions() []*Subscription { 1416 if m != nil { 1417 return m.Subscriptions 1418 } 1419 return nil 1420} 1421 1422func (m *EscalateIncidentResponse) GetTags() []*Tag { 1423 if m != nil { 1424 return m.Tags 1425 } 1426 return nil 1427} 1428 1429func (m *EscalateIncidentResponse) GetRoles() []*IncidentRole { 1430 if m != nil { 1431 return m.Roles 1432 } 1433 return nil 1434} 1435 1436func (m *EscalateIncidentResponse) GetArtifacts() []*Artifact { 1437 if m != nil { 1438 return m.Artifacts 1439 } 1440 return nil 1441} 1442 1443// Request for the CreateArtifact method. 1444type CreateArtifactRequest struct { 1445 // Required. Resource name of the incident, for example, 1446 // "projects/{project_id_or_number}/incidents/{incident_id}". 1447 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1448 // Required. The artifact to create. 1449 Artifact *Artifact `protobuf:"bytes,2,opt,name=artifact,proto3" json:"artifact,omitempty"` 1450 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1451 XXX_unrecognized []byte `json:"-"` 1452 XXX_sizecache int32 `json:"-"` 1453} 1454 1455func (m *CreateArtifactRequest) Reset() { *m = CreateArtifactRequest{} } 1456func (m *CreateArtifactRequest) String() string { return proto.CompactTextString(m) } 1457func (*CreateArtifactRequest) ProtoMessage() {} 1458func (*CreateArtifactRequest) Descriptor() ([]byte, []int) { 1459 return fileDescriptor_701d4f44dccb3929, []int{22} 1460} 1461 1462func (m *CreateArtifactRequest) XXX_Unmarshal(b []byte) error { 1463 return xxx_messageInfo_CreateArtifactRequest.Unmarshal(m, b) 1464} 1465func (m *CreateArtifactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1466 return xxx_messageInfo_CreateArtifactRequest.Marshal(b, m, deterministic) 1467} 1468func (m *CreateArtifactRequest) XXX_Merge(src proto.Message) { 1469 xxx_messageInfo_CreateArtifactRequest.Merge(m, src) 1470} 1471func (m *CreateArtifactRequest) XXX_Size() int { 1472 return xxx_messageInfo_CreateArtifactRequest.Size(m) 1473} 1474func (m *CreateArtifactRequest) XXX_DiscardUnknown() { 1475 xxx_messageInfo_CreateArtifactRequest.DiscardUnknown(m) 1476} 1477 1478var xxx_messageInfo_CreateArtifactRequest proto.InternalMessageInfo 1479 1480func (m *CreateArtifactRequest) GetParent() string { 1481 if m != nil { 1482 return m.Parent 1483 } 1484 return "" 1485} 1486 1487func (m *CreateArtifactRequest) GetArtifact() *Artifact { 1488 if m != nil { 1489 return m.Artifact 1490 } 1491 return nil 1492} 1493 1494// Request for the ListArtifacts method. 1495type ListArtifactsRequest struct { 1496 // Required. Resource name of the incident, for example, 1497 // "projects/{project_id_or_number}/incidents/{incident_id}". 1498 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1499 // Number of artifacts to return. 1500 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 1501 // Page token from an earlier query, as returned in `next_page_token`. 1502 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 1503 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1504 XXX_unrecognized []byte `json:"-"` 1505 XXX_sizecache int32 `json:"-"` 1506} 1507 1508func (m *ListArtifactsRequest) Reset() { *m = ListArtifactsRequest{} } 1509func (m *ListArtifactsRequest) String() string { return proto.CompactTextString(m) } 1510func (*ListArtifactsRequest) ProtoMessage() {} 1511func (*ListArtifactsRequest) Descriptor() ([]byte, []int) { 1512 return fileDescriptor_701d4f44dccb3929, []int{23} 1513} 1514 1515func (m *ListArtifactsRequest) XXX_Unmarshal(b []byte) error { 1516 return xxx_messageInfo_ListArtifactsRequest.Unmarshal(m, b) 1517} 1518func (m *ListArtifactsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1519 return xxx_messageInfo_ListArtifactsRequest.Marshal(b, m, deterministic) 1520} 1521func (m *ListArtifactsRequest) XXX_Merge(src proto.Message) { 1522 xxx_messageInfo_ListArtifactsRequest.Merge(m, src) 1523} 1524func (m *ListArtifactsRequest) XXX_Size() int { 1525 return xxx_messageInfo_ListArtifactsRequest.Size(m) 1526} 1527func (m *ListArtifactsRequest) XXX_DiscardUnknown() { 1528 xxx_messageInfo_ListArtifactsRequest.DiscardUnknown(m) 1529} 1530 1531var xxx_messageInfo_ListArtifactsRequest proto.InternalMessageInfo 1532 1533func (m *ListArtifactsRequest) GetParent() string { 1534 if m != nil { 1535 return m.Parent 1536 } 1537 return "" 1538} 1539 1540func (m *ListArtifactsRequest) GetPageSize() int32 { 1541 if m != nil { 1542 return m.PageSize 1543 } 1544 return 0 1545} 1546 1547func (m *ListArtifactsRequest) GetPageToken() string { 1548 if m != nil { 1549 return m.PageToken 1550 } 1551 return "" 1552} 1553 1554// Response for the ListArtifacts method. 1555type ListArtifactsResponse struct { 1556 // List of artifacts. 1557 Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"` 1558 // Page token to fetch the next set of artifacts. 1559 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 1560 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1561 XXX_unrecognized []byte `json:"-"` 1562 XXX_sizecache int32 `json:"-"` 1563} 1564 1565func (m *ListArtifactsResponse) Reset() { *m = ListArtifactsResponse{} } 1566func (m *ListArtifactsResponse) String() string { return proto.CompactTextString(m) } 1567func (*ListArtifactsResponse) ProtoMessage() {} 1568func (*ListArtifactsResponse) Descriptor() ([]byte, []int) { 1569 return fileDescriptor_701d4f44dccb3929, []int{24} 1570} 1571 1572func (m *ListArtifactsResponse) XXX_Unmarshal(b []byte) error { 1573 return xxx_messageInfo_ListArtifactsResponse.Unmarshal(m, b) 1574} 1575func (m *ListArtifactsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1576 return xxx_messageInfo_ListArtifactsResponse.Marshal(b, m, deterministic) 1577} 1578func (m *ListArtifactsResponse) XXX_Merge(src proto.Message) { 1579 xxx_messageInfo_ListArtifactsResponse.Merge(m, src) 1580} 1581func (m *ListArtifactsResponse) XXX_Size() int { 1582 return xxx_messageInfo_ListArtifactsResponse.Size(m) 1583} 1584func (m *ListArtifactsResponse) XXX_DiscardUnknown() { 1585 xxx_messageInfo_ListArtifactsResponse.DiscardUnknown(m) 1586} 1587 1588var xxx_messageInfo_ListArtifactsResponse proto.InternalMessageInfo 1589 1590func (m *ListArtifactsResponse) GetArtifacts() []*Artifact { 1591 if m != nil { 1592 return m.Artifacts 1593 } 1594 return nil 1595} 1596 1597func (m *ListArtifactsResponse) GetNextPageToken() string { 1598 if m != nil { 1599 return m.NextPageToken 1600 } 1601 return "" 1602} 1603 1604// Request for the UpdateArtifact method. 1605type UpdateArtifactRequest struct { 1606 // Required. The artifact to update with the new values. 1607 Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"` 1608 // List of fields that should be updated. 1609 UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 1610 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1611 XXX_unrecognized []byte `json:"-"` 1612 XXX_sizecache int32 `json:"-"` 1613} 1614 1615func (m *UpdateArtifactRequest) Reset() { *m = UpdateArtifactRequest{} } 1616func (m *UpdateArtifactRequest) String() string { return proto.CompactTextString(m) } 1617func (*UpdateArtifactRequest) ProtoMessage() {} 1618func (*UpdateArtifactRequest) Descriptor() ([]byte, []int) { 1619 return fileDescriptor_701d4f44dccb3929, []int{25} 1620} 1621 1622func (m *UpdateArtifactRequest) XXX_Unmarshal(b []byte) error { 1623 return xxx_messageInfo_UpdateArtifactRequest.Unmarshal(m, b) 1624} 1625func (m *UpdateArtifactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1626 return xxx_messageInfo_UpdateArtifactRequest.Marshal(b, m, deterministic) 1627} 1628func (m *UpdateArtifactRequest) XXX_Merge(src proto.Message) { 1629 xxx_messageInfo_UpdateArtifactRequest.Merge(m, src) 1630} 1631func (m *UpdateArtifactRequest) XXX_Size() int { 1632 return xxx_messageInfo_UpdateArtifactRequest.Size(m) 1633} 1634func (m *UpdateArtifactRequest) XXX_DiscardUnknown() { 1635 xxx_messageInfo_UpdateArtifactRequest.DiscardUnknown(m) 1636} 1637 1638var xxx_messageInfo_UpdateArtifactRequest proto.InternalMessageInfo 1639 1640func (m *UpdateArtifactRequest) GetArtifact() *Artifact { 1641 if m != nil { 1642 return m.Artifact 1643 } 1644 return nil 1645} 1646 1647func (m *UpdateArtifactRequest) GetUpdateMask() *field_mask.FieldMask { 1648 if m != nil { 1649 return m.UpdateMask 1650 } 1651 return nil 1652} 1653 1654// Request for deleting an artifact. 1655type DeleteArtifactRequest struct { 1656 // Required. Resource name of the artifact. 1657 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1658 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1659 XXX_unrecognized []byte `json:"-"` 1660 XXX_sizecache int32 `json:"-"` 1661} 1662 1663func (m *DeleteArtifactRequest) Reset() { *m = DeleteArtifactRequest{} } 1664func (m *DeleteArtifactRequest) String() string { return proto.CompactTextString(m) } 1665func (*DeleteArtifactRequest) ProtoMessage() {} 1666func (*DeleteArtifactRequest) Descriptor() ([]byte, []int) { 1667 return fileDescriptor_701d4f44dccb3929, []int{26} 1668} 1669 1670func (m *DeleteArtifactRequest) XXX_Unmarshal(b []byte) error { 1671 return xxx_messageInfo_DeleteArtifactRequest.Unmarshal(m, b) 1672} 1673func (m *DeleteArtifactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1674 return xxx_messageInfo_DeleteArtifactRequest.Marshal(b, m, deterministic) 1675} 1676func (m *DeleteArtifactRequest) XXX_Merge(src proto.Message) { 1677 xxx_messageInfo_DeleteArtifactRequest.Merge(m, src) 1678} 1679func (m *DeleteArtifactRequest) XXX_Size() int { 1680 return xxx_messageInfo_DeleteArtifactRequest.Size(m) 1681} 1682func (m *DeleteArtifactRequest) XXX_DiscardUnknown() { 1683 xxx_messageInfo_DeleteArtifactRequest.DiscardUnknown(m) 1684} 1685 1686var xxx_messageInfo_DeleteArtifactRequest proto.InternalMessageInfo 1687 1688func (m *DeleteArtifactRequest) GetName() string { 1689 if m != nil { 1690 return m.Name 1691 } 1692 return "" 1693} 1694 1695// SendShiftHandoff and PreviewShiftHandoff RPC request. 1696type SendShiftHandoffRequest struct { 1697 // Required. The resource name of the Stackdriver project that the handoff is being sent 1698 // from. for example, `projects/{project_id_or_number}` 1699 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1700 // Required. Email addresses of the recipients of the handoff, for example, 1701 // "user@example.com". Must contain at least one entry. 1702 Recipients []string `protobuf:"bytes,2,rep,name=recipients,proto3" json:"recipients,omitempty"` 1703 // Optional. Email addresses that should be CC'd on the handoff. 1704 Cc []string `protobuf:"bytes,3,rep,name=cc,proto3" json:"cc,omitempty"` 1705 // Required. The subject of the email. 1706 Subject string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"` 1707 // Content type string, for example, 'text/plain' or 'text/html'. 1708 NotesContentType string `protobuf:"bytes,5,opt,name=notes_content_type,json=notesContentType,proto3" json:"notes_content_type,omitempty"` 1709 // Optional. Additional notes to be included in the handoff. 1710 NotesContent string `protobuf:"bytes,6,opt,name=notes_content,json=notesContent,proto3" json:"notes_content,omitempty"` 1711 // Optional. The set of incidents that should be included in the handoff. 1712 Incidents []*SendShiftHandoffRequest_Incident `protobuf:"bytes,7,rep,name=incidents,proto3" json:"incidents,omitempty"` 1713 // If set to true a ShiftHandoffResponse will be returned but the handoff 1714 // will not actually be sent. 1715 PreviewOnly bool `protobuf:"varint,8,opt,name=preview_only,json=previewOnly,proto3" json:"preview_only,omitempty"` 1716 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1717 XXX_unrecognized []byte `json:"-"` 1718 XXX_sizecache int32 `json:"-"` 1719} 1720 1721func (m *SendShiftHandoffRequest) Reset() { *m = SendShiftHandoffRequest{} } 1722func (m *SendShiftHandoffRequest) String() string { return proto.CompactTextString(m) } 1723func (*SendShiftHandoffRequest) ProtoMessage() {} 1724func (*SendShiftHandoffRequest) Descriptor() ([]byte, []int) { 1725 return fileDescriptor_701d4f44dccb3929, []int{27} 1726} 1727 1728func (m *SendShiftHandoffRequest) XXX_Unmarshal(b []byte) error { 1729 return xxx_messageInfo_SendShiftHandoffRequest.Unmarshal(m, b) 1730} 1731func (m *SendShiftHandoffRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1732 return xxx_messageInfo_SendShiftHandoffRequest.Marshal(b, m, deterministic) 1733} 1734func (m *SendShiftHandoffRequest) XXX_Merge(src proto.Message) { 1735 xxx_messageInfo_SendShiftHandoffRequest.Merge(m, src) 1736} 1737func (m *SendShiftHandoffRequest) XXX_Size() int { 1738 return xxx_messageInfo_SendShiftHandoffRequest.Size(m) 1739} 1740func (m *SendShiftHandoffRequest) XXX_DiscardUnknown() { 1741 xxx_messageInfo_SendShiftHandoffRequest.DiscardUnknown(m) 1742} 1743 1744var xxx_messageInfo_SendShiftHandoffRequest proto.InternalMessageInfo 1745 1746func (m *SendShiftHandoffRequest) GetParent() string { 1747 if m != nil { 1748 return m.Parent 1749 } 1750 return "" 1751} 1752 1753func (m *SendShiftHandoffRequest) GetRecipients() []string { 1754 if m != nil { 1755 return m.Recipients 1756 } 1757 return nil 1758} 1759 1760func (m *SendShiftHandoffRequest) GetCc() []string { 1761 if m != nil { 1762 return m.Cc 1763 } 1764 return nil 1765} 1766 1767func (m *SendShiftHandoffRequest) GetSubject() string { 1768 if m != nil { 1769 return m.Subject 1770 } 1771 return "" 1772} 1773 1774func (m *SendShiftHandoffRequest) GetNotesContentType() string { 1775 if m != nil { 1776 return m.NotesContentType 1777 } 1778 return "" 1779} 1780 1781func (m *SendShiftHandoffRequest) GetNotesContent() string { 1782 if m != nil { 1783 return m.NotesContent 1784 } 1785 return "" 1786} 1787 1788func (m *SendShiftHandoffRequest) GetIncidents() []*SendShiftHandoffRequest_Incident { 1789 if m != nil { 1790 return m.Incidents 1791 } 1792 return nil 1793} 1794 1795func (m *SendShiftHandoffRequest) GetPreviewOnly() bool { 1796 if m != nil { 1797 return m.PreviewOnly 1798 } 1799 return false 1800} 1801 1802// Describes an incident for inclusion in the handoff. 1803// This is wrapped in a message to provide flexibility for potentially 1804// attaching additional data to each incident in the future. 1805type SendShiftHandoffRequest_Incident struct { 1806 // Resource name of the incident, for example, 1807 // "projects/{project_id_or_number}/incidents/{incident_id}". 1808 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1809 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1810 XXX_unrecognized []byte `json:"-"` 1811 XXX_sizecache int32 `json:"-"` 1812} 1813 1814func (m *SendShiftHandoffRequest_Incident) Reset() { *m = SendShiftHandoffRequest_Incident{} } 1815func (m *SendShiftHandoffRequest_Incident) String() string { return proto.CompactTextString(m) } 1816func (*SendShiftHandoffRequest_Incident) ProtoMessage() {} 1817func (*SendShiftHandoffRequest_Incident) Descriptor() ([]byte, []int) { 1818 return fileDescriptor_701d4f44dccb3929, []int{27, 0} 1819} 1820 1821func (m *SendShiftHandoffRequest_Incident) XXX_Unmarshal(b []byte) error { 1822 return xxx_messageInfo_SendShiftHandoffRequest_Incident.Unmarshal(m, b) 1823} 1824func (m *SendShiftHandoffRequest_Incident) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1825 return xxx_messageInfo_SendShiftHandoffRequest_Incident.Marshal(b, m, deterministic) 1826} 1827func (m *SendShiftHandoffRequest_Incident) XXX_Merge(src proto.Message) { 1828 xxx_messageInfo_SendShiftHandoffRequest_Incident.Merge(m, src) 1829} 1830func (m *SendShiftHandoffRequest_Incident) XXX_Size() int { 1831 return xxx_messageInfo_SendShiftHandoffRequest_Incident.Size(m) 1832} 1833func (m *SendShiftHandoffRequest_Incident) XXX_DiscardUnknown() { 1834 xxx_messageInfo_SendShiftHandoffRequest_Incident.DiscardUnknown(m) 1835} 1836 1837var xxx_messageInfo_SendShiftHandoffRequest_Incident proto.InternalMessageInfo 1838 1839func (m *SendShiftHandoffRequest_Incident) GetName() string { 1840 if m != nil { 1841 return m.Name 1842 } 1843 return "" 1844} 1845 1846// SendShiftHandoff and PreviewShiftHandoff RPC response. 1847type SendShiftHandoffResponse struct { 1848 // Content type string, for example, 'text/plain' or 'text/html'. 1849 ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` 1850 // The contents of the handoff that was sent or would have been sent (if the 1851 // request was preview_only). 1852 // This will typically contain a full HTML document. 1853 Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` 1854 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1855 XXX_unrecognized []byte `json:"-"` 1856 XXX_sizecache int32 `json:"-"` 1857} 1858 1859func (m *SendShiftHandoffResponse) Reset() { *m = SendShiftHandoffResponse{} } 1860func (m *SendShiftHandoffResponse) String() string { return proto.CompactTextString(m) } 1861func (*SendShiftHandoffResponse) ProtoMessage() {} 1862func (*SendShiftHandoffResponse) Descriptor() ([]byte, []int) { 1863 return fileDescriptor_701d4f44dccb3929, []int{28} 1864} 1865 1866func (m *SendShiftHandoffResponse) XXX_Unmarshal(b []byte) error { 1867 return xxx_messageInfo_SendShiftHandoffResponse.Unmarshal(m, b) 1868} 1869func (m *SendShiftHandoffResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1870 return xxx_messageInfo_SendShiftHandoffResponse.Marshal(b, m, deterministic) 1871} 1872func (m *SendShiftHandoffResponse) XXX_Merge(src proto.Message) { 1873 xxx_messageInfo_SendShiftHandoffResponse.Merge(m, src) 1874} 1875func (m *SendShiftHandoffResponse) XXX_Size() int { 1876 return xxx_messageInfo_SendShiftHandoffResponse.Size(m) 1877} 1878func (m *SendShiftHandoffResponse) XXX_DiscardUnknown() { 1879 xxx_messageInfo_SendShiftHandoffResponse.DiscardUnknown(m) 1880} 1881 1882var xxx_messageInfo_SendShiftHandoffResponse proto.InternalMessageInfo 1883 1884func (m *SendShiftHandoffResponse) GetContentType() string { 1885 if m != nil { 1886 return m.ContentType 1887 } 1888 return "" 1889} 1890 1891func (m *SendShiftHandoffResponse) GetContent() string { 1892 if m != nil { 1893 return m.Content 1894 } 1895 return "" 1896} 1897 1898// Request for the CreateSubscription method. 1899type CreateSubscriptionRequest struct { 1900 // Required. Resource name of the incident, for example, 1901 // "projects/{project_id_or_number}/incidents/{incident_id}". 1902 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1903 // Required. The subscription to create. 1904 Subscription *Subscription `protobuf:"bytes,2,opt,name=subscription,proto3" json:"subscription,omitempty"` 1905 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1906 XXX_unrecognized []byte `json:"-"` 1907 XXX_sizecache int32 `json:"-"` 1908} 1909 1910func (m *CreateSubscriptionRequest) Reset() { *m = CreateSubscriptionRequest{} } 1911func (m *CreateSubscriptionRequest) String() string { return proto.CompactTextString(m) } 1912func (*CreateSubscriptionRequest) ProtoMessage() {} 1913func (*CreateSubscriptionRequest) Descriptor() ([]byte, []int) { 1914 return fileDescriptor_701d4f44dccb3929, []int{29} 1915} 1916 1917func (m *CreateSubscriptionRequest) XXX_Unmarshal(b []byte) error { 1918 return xxx_messageInfo_CreateSubscriptionRequest.Unmarshal(m, b) 1919} 1920func (m *CreateSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1921 return xxx_messageInfo_CreateSubscriptionRequest.Marshal(b, m, deterministic) 1922} 1923func (m *CreateSubscriptionRequest) XXX_Merge(src proto.Message) { 1924 xxx_messageInfo_CreateSubscriptionRequest.Merge(m, src) 1925} 1926func (m *CreateSubscriptionRequest) XXX_Size() int { 1927 return xxx_messageInfo_CreateSubscriptionRequest.Size(m) 1928} 1929func (m *CreateSubscriptionRequest) XXX_DiscardUnknown() { 1930 xxx_messageInfo_CreateSubscriptionRequest.DiscardUnknown(m) 1931} 1932 1933var xxx_messageInfo_CreateSubscriptionRequest proto.InternalMessageInfo 1934 1935func (m *CreateSubscriptionRequest) GetParent() string { 1936 if m != nil { 1937 return m.Parent 1938 } 1939 return "" 1940} 1941 1942func (m *CreateSubscriptionRequest) GetSubscription() *Subscription { 1943 if m != nil { 1944 return m.Subscription 1945 } 1946 return nil 1947} 1948 1949// Request for the UpdateSubscription method. 1950type UpdateSubscriptionRequest struct { 1951 // Required. The subscription to update, with new values. 1952 Subscription *Subscription `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` 1953 // List of fields that should be updated. 1954 UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 1955 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1956 XXX_unrecognized []byte `json:"-"` 1957 XXX_sizecache int32 `json:"-"` 1958} 1959 1960func (m *UpdateSubscriptionRequest) Reset() { *m = UpdateSubscriptionRequest{} } 1961func (m *UpdateSubscriptionRequest) String() string { return proto.CompactTextString(m) } 1962func (*UpdateSubscriptionRequest) ProtoMessage() {} 1963func (*UpdateSubscriptionRequest) Descriptor() ([]byte, []int) { 1964 return fileDescriptor_701d4f44dccb3929, []int{30} 1965} 1966 1967func (m *UpdateSubscriptionRequest) XXX_Unmarshal(b []byte) error { 1968 return xxx_messageInfo_UpdateSubscriptionRequest.Unmarshal(m, b) 1969} 1970func (m *UpdateSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1971 return xxx_messageInfo_UpdateSubscriptionRequest.Marshal(b, m, deterministic) 1972} 1973func (m *UpdateSubscriptionRequest) XXX_Merge(src proto.Message) { 1974 xxx_messageInfo_UpdateSubscriptionRequest.Merge(m, src) 1975} 1976func (m *UpdateSubscriptionRequest) XXX_Size() int { 1977 return xxx_messageInfo_UpdateSubscriptionRequest.Size(m) 1978} 1979func (m *UpdateSubscriptionRequest) XXX_DiscardUnknown() { 1980 xxx_messageInfo_UpdateSubscriptionRequest.DiscardUnknown(m) 1981} 1982 1983var xxx_messageInfo_UpdateSubscriptionRequest proto.InternalMessageInfo 1984 1985func (m *UpdateSubscriptionRequest) GetSubscription() *Subscription { 1986 if m != nil { 1987 return m.Subscription 1988 } 1989 return nil 1990} 1991 1992func (m *UpdateSubscriptionRequest) GetUpdateMask() *field_mask.FieldMask { 1993 if m != nil { 1994 return m.UpdateMask 1995 } 1996 return nil 1997} 1998 1999// Request for the ListSubscriptions method. 2000type ListSubscriptionsRequest struct { 2001 // Required. Resource name of the incident, for example, 2002 // "projects/{project_id_or_number}/incidents/{incident_id}". 2003 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 2004 // Number of subscriptions to return. 2005 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 2006 // Page token from an earlier query, as returned in `next_page_token`. 2007 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 2008 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2009 XXX_unrecognized []byte `json:"-"` 2010 XXX_sizecache int32 `json:"-"` 2011} 2012 2013func (m *ListSubscriptionsRequest) Reset() { *m = ListSubscriptionsRequest{} } 2014func (m *ListSubscriptionsRequest) String() string { return proto.CompactTextString(m) } 2015func (*ListSubscriptionsRequest) ProtoMessage() {} 2016func (*ListSubscriptionsRequest) Descriptor() ([]byte, []int) { 2017 return fileDescriptor_701d4f44dccb3929, []int{31} 2018} 2019 2020func (m *ListSubscriptionsRequest) XXX_Unmarshal(b []byte) error { 2021 return xxx_messageInfo_ListSubscriptionsRequest.Unmarshal(m, b) 2022} 2023func (m *ListSubscriptionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2024 return xxx_messageInfo_ListSubscriptionsRequest.Marshal(b, m, deterministic) 2025} 2026func (m *ListSubscriptionsRequest) XXX_Merge(src proto.Message) { 2027 xxx_messageInfo_ListSubscriptionsRequest.Merge(m, src) 2028} 2029func (m *ListSubscriptionsRequest) XXX_Size() int { 2030 return xxx_messageInfo_ListSubscriptionsRequest.Size(m) 2031} 2032func (m *ListSubscriptionsRequest) XXX_DiscardUnknown() { 2033 xxx_messageInfo_ListSubscriptionsRequest.DiscardUnknown(m) 2034} 2035 2036var xxx_messageInfo_ListSubscriptionsRequest proto.InternalMessageInfo 2037 2038func (m *ListSubscriptionsRequest) GetParent() string { 2039 if m != nil { 2040 return m.Parent 2041 } 2042 return "" 2043} 2044 2045func (m *ListSubscriptionsRequest) GetPageSize() int32 { 2046 if m != nil { 2047 return m.PageSize 2048 } 2049 return 0 2050} 2051 2052func (m *ListSubscriptionsRequest) GetPageToken() string { 2053 if m != nil { 2054 return m.PageToken 2055 } 2056 return "" 2057} 2058 2059// Response for the ListSubscriptions method. 2060type ListSubscriptionsResponse struct { 2061 // List of subscriptions. 2062 Subscriptions []*Subscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` 2063 // Page token to fetch the next set of subscriptions. 2064 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 2065 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2066 XXX_unrecognized []byte `json:"-"` 2067 XXX_sizecache int32 `json:"-"` 2068} 2069 2070func (m *ListSubscriptionsResponse) Reset() { *m = ListSubscriptionsResponse{} } 2071func (m *ListSubscriptionsResponse) String() string { return proto.CompactTextString(m) } 2072func (*ListSubscriptionsResponse) ProtoMessage() {} 2073func (*ListSubscriptionsResponse) Descriptor() ([]byte, []int) { 2074 return fileDescriptor_701d4f44dccb3929, []int{32} 2075} 2076 2077func (m *ListSubscriptionsResponse) XXX_Unmarshal(b []byte) error { 2078 return xxx_messageInfo_ListSubscriptionsResponse.Unmarshal(m, b) 2079} 2080func (m *ListSubscriptionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2081 return xxx_messageInfo_ListSubscriptionsResponse.Marshal(b, m, deterministic) 2082} 2083func (m *ListSubscriptionsResponse) XXX_Merge(src proto.Message) { 2084 xxx_messageInfo_ListSubscriptionsResponse.Merge(m, src) 2085} 2086func (m *ListSubscriptionsResponse) XXX_Size() int { 2087 return xxx_messageInfo_ListSubscriptionsResponse.Size(m) 2088} 2089func (m *ListSubscriptionsResponse) XXX_DiscardUnknown() { 2090 xxx_messageInfo_ListSubscriptionsResponse.DiscardUnknown(m) 2091} 2092 2093var xxx_messageInfo_ListSubscriptionsResponse proto.InternalMessageInfo 2094 2095func (m *ListSubscriptionsResponse) GetSubscriptions() []*Subscription { 2096 if m != nil { 2097 return m.Subscriptions 2098 } 2099 return nil 2100} 2101 2102func (m *ListSubscriptionsResponse) GetNextPageToken() string { 2103 if m != nil { 2104 return m.NextPageToken 2105 } 2106 return "" 2107} 2108 2109// Request for deleting a subscription. 2110type DeleteSubscriptionRequest struct { 2111 // Required. Resource name of the subscription. 2112 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2113 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2114 XXX_unrecognized []byte `json:"-"` 2115 XXX_sizecache int32 `json:"-"` 2116} 2117 2118func (m *DeleteSubscriptionRequest) Reset() { *m = DeleteSubscriptionRequest{} } 2119func (m *DeleteSubscriptionRequest) String() string { return proto.CompactTextString(m) } 2120func (*DeleteSubscriptionRequest) ProtoMessage() {} 2121func (*DeleteSubscriptionRequest) Descriptor() ([]byte, []int) { 2122 return fileDescriptor_701d4f44dccb3929, []int{33} 2123} 2124 2125func (m *DeleteSubscriptionRequest) XXX_Unmarshal(b []byte) error { 2126 return xxx_messageInfo_DeleteSubscriptionRequest.Unmarshal(m, b) 2127} 2128func (m *DeleteSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2129 return xxx_messageInfo_DeleteSubscriptionRequest.Marshal(b, m, deterministic) 2130} 2131func (m *DeleteSubscriptionRequest) XXX_Merge(src proto.Message) { 2132 xxx_messageInfo_DeleteSubscriptionRequest.Merge(m, src) 2133} 2134func (m *DeleteSubscriptionRequest) XXX_Size() int { 2135 return xxx_messageInfo_DeleteSubscriptionRequest.Size(m) 2136} 2137func (m *DeleteSubscriptionRequest) XXX_DiscardUnknown() { 2138 xxx_messageInfo_DeleteSubscriptionRequest.DiscardUnknown(m) 2139} 2140 2141var xxx_messageInfo_DeleteSubscriptionRequest proto.InternalMessageInfo 2142 2143func (m *DeleteSubscriptionRequest) GetName() string { 2144 if m != nil { 2145 return m.Name 2146 } 2147 return "" 2148} 2149 2150// Request for creating a role assignment. 2151type CreateIncidentRoleAssignmentRequest struct { 2152 // Required. Resource name of the incident, for example, 2153 // "projects/{project_id_or_number}/incidents/{incident_id}". 2154 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 2155 // Required. Role assignment to create. 2156 IncidentRoleAssignment *IncidentRoleAssignment `protobuf:"bytes,2,opt,name=incident_role_assignment,json=incidentRoleAssignment,proto3" json:"incident_role_assignment,omitempty"` 2157 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2158 XXX_unrecognized []byte `json:"-"` 2159 XXX_sizecache int32 `json:"-"` 2160} 2161 2162func (m *CreateIncidentRoleAssignmentRequest) Reset() { *m = CreateIncidentRoleAssignmentRequest{} } 2163func (m *CreateIncidentRoleAssignmentRequest) String() string { return proto.CompactTextString(m) } 2164func (*CreateIncidentRoleAssignmentRequest) ProtoMessage() {} 2165func (*CreateIncidentRoleAssignmentRequest) Descriptor() ([]byte, []int) { 2166 return fileDescriptor_701d4f44dccb3929, []int{34} 2167} 2168 2169func (m *CreateIncidentRoleAssignmentRequest) XXX_Unmarshal(b []byte) error { 2170 return xxx_messageInfo_CreateIncidentRoleAssignmentRequest.Unmarshal(m, b) 2171} 2172func (m *CreateIncidentRoleAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2173 return xxx_messageInfo_CreateIncidentRoleAssignmentRequest.Marshal(b, m, deterministic) 2174} 2175func (m *CreateIncidentRoleAssignmentRequest) XXX_Merge(src proto.Message) { 2176 xxx_messageInfo_CreateIncidentRoleAssignmentRequest.Merge(m, src) 2177} 2178func (m *CreateIncidentRoleAssignmentRequest) XXX_Size() int { 2179 return xxx_messageInfo_CreateIncidentRoleAssignmentRequest.Size(m) 2180} 2181func (m *CreateIncidentRoleAssignmentRequest) XXX_DiscardUnknown() { 2182 xxx_messageInfo_CreateIncidentRoleAssignmentRequest.DiscardUnknown(m) 2183} 2184 2185var xxx_messageInfo_CreateIncidentRoleAssignmentRequest proto.InternalMessageInfo 2186 2187func (m *CreateIncidentRoleAssignmentRequest) GetParent() string { 2188 if m != nil { 2189 return m.Parent 2190 } 2191 return "" 2192} 2193 2194func (m *CreateIncidentRoleAssignmentRequest) GetIncidentRoleAssignment() *IncidentRoleAssignment { 2195 if m != nil { 2196 return m.IncidentRoleAssignment 2197 } 2198 return nil 2199} 2200 2201// Request for deleting a role assignment. 2202type DeleteIncidentRoleAssignmentRequest struct { 2203 // Required. Resource name of the role assignment. 2204 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2205 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2206 XXX_unrecognized []byte `json:"-"` 2207 XXX_sizecache int32 `json:"-"` 2208} 2209 2210func (m *DeleteIncidentRoleAssignmentRequest) Reset() { *m = DeleteIncidentRoleAssignmentRequest{} } 2211func (m *DeleteIncidentRoleAssignmentRequest) String() string { return proto.CompactTextString(m) } 2212func (*DeleteIncidentRoleAssignmentRequest) ProtoMessage() {} 2213func (*DeleteIncidentRoleAssignmentRequest) Descriptor() ([]byte, []int) { 2214 return fileDescriptor_701d4f44dccb3929, []int{35} 2215} 2216 2217func (m *DeleteIncidentRoleAssignmentRequest) XXX_Unmarshal(b []byte) error { 2218 return xxx_messageInfo_DeleteIncidentRoleAssignmentRequest.Unmarshal(m, b) 2219} 2220func (m *DeleteIncidentRoleAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2221 return xxx_messageInfo_DeleteIncidentRoleAssignmentRequest.Marshal(b, m, deterministic) 2222} 2223func (m *DeleteIncidentRoleAssignmentRequest) XXX_Merge(src proto.Message) { 2224 xxx_messageInfo_DeleteIncidentRoleAssignmentRequest.Merge(m, src) 2225} 2226func (m *DeleteIncidentRoleAssignmentRequest) XXX_Size() int { 2227 return xxx_messageInfo_DeleteIncidentRoleAssignmentRequest.Size(m) 2228} 2229func (m *DeleteIncidentRoleAssignmentRequest) XXX_DiscardUnknown() { 2230 xxx_messageInfo_DeleteIncidentRoleAssignmentRequest.DiscardUnknown(m) 2231} 2232 2233var xxx_messageInfo_DeleteIncidentRoleAssignmentRequest proto.InternalMessageInfo 2234 2235func (m *DeleteIncidentRoleAssignmentRequest) GetName() string { 2236 if m != nil { 2237 return m.Name 2238 } 2239 return "" 2240} 2241 2242// Request to list role assignments of an incident. 2243type ListIncidentRoleAssignmentsRequest struct { 2244 // Required. Resource name of the incident, for example, 2245 // "projects/{project_id_or_number}/incidents/{incident_id}". 2246 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 2247 // Number of assignments to return. 2248 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 2249 // Page token from an earlier query, as returned in `next_page_token`. 2250 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 2251 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2252 XXX_unrecognized []byte `json:"-"` 2253 XXX_sizecache int32 `json:"-"` 2254} 2255 2256func (m *ListIncidentRoleAssignmentsRequest) Reset() { *m = ListIncidentRoleAssignmentsRequest{} } 2257func (m *ListIncidentRoleAssignmentsRequest) String() string { return proto.CompactTextString(m) } 2258func (*ListIncidentRoleAssignmentsRequest) ProtoMessage() {} 2259func (*ListIncidentRoleAssignmentsRequest) Descriptor() ([]byte, []int) { 2260 return fileDescriptor_701d4f44dccb3929, []int{36} 2261} 2262 2263func (m *ListIncidentRoleAssignmentsRequest) XXX_Unmarshal(b []byte) error { 2264 return xxx_messageInfo_ListIncidentRoleAssignmentsRequest.Unmarshal(m, b) 2265} 2266func (m *ListIncidentRoleAssignmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2267 return xxx_messageInfo_ListIncidentRoleAssignmentsRequest.Marshal(b, m, deterministic) 2268} 2269func (m *ListIncidentRoleAssignmentsRequest) XXX_Merge(src proto.Message) { 2270 xxx_messageInfo_ListIncidentRoleAssignmentsRequest.Merge(m, src) 2271} 2272func (m *ListIncidentRoleAssignmentsRequest) XXX_Size() int { 2273 return xxx_messageInfo_ListIncidentRoleAssignmentsRequest.Size(m) 2274} 2275func (m *ListIncidentRoleAssignmentsRequest) XXX_DiscardUnknown() { 2276 xxx_messageInfo_ListIncidentRoleAssignmentsRequest.DiscardUnknown(m) 2277} 2278 2279var xxx_messageInfo_ListIncidentRoleAssignmentsRequest proto.InternalMessageInfo 2280 2281func (m *ListIncidentRoleAssignmentsRequest) GetParent() string { 2282 if m != nil { 2283 return m.Parent 2284 } 2285 return "" 2286} 2287 2288func (m *ListIncidentRoleAssignmentsRequest) GetPageSize() int32 { 2289 if m != nil { 2290 return m.PageSize 2291 } 2292 return 0 2293} 2294 2295func (m *ListIncidentRoleAssignmentsRequest) GetPageToken() string { 2296 if m != nil { 2297 return m.PageToken 2298 } 2299 return "" 2300} 2301 2302// Response for the ListIncidentRoleAssignments method. 2303type ListIncidentRoleAssignmentsResponse struct { 2304 // List of assignments. 2305 IncidentRoleAssignments []*IncidentRoleAssignment `protobuf:"bytes,1,rep,name=incident_role_assignments,json=incidentRoleAssignments,proto3" json:"incident_role_assignments,omitempty"` 2306 // Page token to fetch the next set of assignments. 2307 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 2308 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2309 XXX_unrecognized []byte `json:"-"` 2310 XXX_sizecache int32 `json:"-"` 2311} 2312 2313func (m *ListIncidentRoleAssignmentsResponse) Reset() { *m = ListIncidentRoleAssignmentsResponse{} } 2314func (m *ListIncidentRoleAssignmentsResponse) String() string { return proto.CompactTextString(m) } 2315func (*ListIncidentRoleAssignmentsResponse) ProtoMessage() {} 2316func (*ListIncidentRoleAssignmentsResponse) Descriptor() ([]byte, []int) { 2317 return fileDescriptor_701d4f44dccb3929, []int{37} 2318} 2319 2320func (m *ListIncidentRoleAssignmentsResponse) XXX_Unmarshal(b []byte) error { 2321 return xxx_messageInfo_ListIncidentRoleAssignmentsResponse.Unmarshal(m, b) 2322} 2323func (m *ListIncidentRoleAssignmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2324 return xxx_messageInfo_ListIncidentRoleAssignmentsResponse.Marshal(b, m, deterministic) 2325} 2326func (m *ListIncidentRoleAssignmentsResponse) XXX_Merge(src proto.Message) { 2327 xxx_messageInfo_ListIncidentRoleAssignmentsResponse.Merge(m, src) 2328} 2329func (m *ListIncidentRoleAssignmentsResponse) XXX_Size() int { 2330 return xxx_messageInfo_ListIncidentRoleAssignmentsResponse.Size(m) 2331} 2332func (m *ListIncidentRoleAssignmentsResponse) XXX_DiscardUnknown() { 2333 xxx_messageInfo_ListIncidentRoleAssignmentsResponse.DiscardUnknown(m) 2334} 2335 2336var xxx_messageInfo_ListIncidentRoleAssignmentsResponse proto.InternalMessageInfo 2337 2338func (m *ListIncidentRoleAssignmentsResponse) GetIncidentRoleAssignments() []*IncidentRoleAssignment { 2339 if m != nil { 2340 return m.IncidentRoleAssignments 2341 } 2342 return nil 2343} 2344 2345func (m *ListIncidentRoleAssignmentsResponse) GetNextPageToken() string { 2346 if m != nil { 2347 return m.NextPageToken 2348 } 2349 return "" 2350} 2351 2352// Request to start a role handover. 2353type RequestIncidentRoleHandoverRequest struct { 2354 // Required. Resource name of the role assignment. 2355 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2356 // Required. The proposed assignee. 2357 NewAssignee *User `protobuf:"bytes,2,opt,name=new_assignee,json=newAssignee,proto3" json:"new_assignee,omitempty"` 2358 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2359 XXX_unrecognized []byte `json:"-"` 2360 XXX_sizecache int32 `json:"-"` 2361} 2362 2363func (m *RequestIncidentRoleHandoverRequest) Reset() { *m = RequestIncidentRoleHandoverRequest{} } 2364func (m *RequestIncidentRoleHandoverRequest) String() string { return proto.CompactTextString(m) } 2365func (*RequestIncidentRoleHandoverRequest) ProtoMessage() {} 2366func (*RequestIncidentRoleHandoverRequest) Descriptor() ([]byte, []int) { 2367 return fileDescriptor_701d4f44dccb3929, []int{38} 2368} 2369 2370func (m *RequestIncidentRoleHandoverRequest) XXX_Unmarshal(b []byte) error { 2371 return xxx_messageInfo_RequestIncidentRoleHandoverRequest.Unmarshal(m, b) 2372} 2373func (m *RequestIncidentRoleHandoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2374 return xxx_messageInfo_RequestIncidentRoleHandoverRequest.Marshal(b, m, deterministic) 2375} 2376func (m *RequestIncidentRoleHandoverRequest) XXX_Merge(src proto.Message) { 2377 xxx_messageInfo_RequestIncidentRoleHandoverRequest.Merge(m, src) 2378} 2379func (m *RequestIncidentRoleHandoverRequest) XXX_Size() int { 2380 return xxx_messageInfo_RequestIncidentRoleHandoverRequest.Size(m) 2381} 2382func (m *RequestIncidentRoleHandoverRequest) XXX_DiscardUnknown() { 2383 xxx_messageInfo_RequestIncidentRoleHandoverRequest.DiscardUnknown(m) 2384} 2385 2386var xxx_messageInfo_RequestIncidentRoleHandoverRequest proto.InternalMessageInfo 2387 2388func (m *RequestIncidentRoleHandoverRequest) GetName() string { 2389 if m != nil { 2390 return m.Name 2391 } 2392 return "" 2393} 2394 2395func (m *RequestIncidentRoleHandoverRequest) GetNewAssignee() *User { 2396 if m != nil { 2397 return m.NewAssignee 2398 } 2399 return nil 2400} 2401 2402// Request to confirm a role handover. 2403type ConfirmIncidentRoleHandoverRequest struct { 2404 // Required. Resource name of the role assignment. 2405 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2406 // Required. The proposed assignee, who will now be the assignee. This should be the 2407 // current user; otherwise ForceRoleHandover should be called. 2408 NewAssignee *User `protobuf:"bytes,2,opt,name=new_assignee,json=newAssignee,proto3" json:"new_assignee,omitempty"` 2409 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2410 XXX_unrecognized []byte `json:"-"` 2411 XXX_sizecache int32 `json:"-"` 2412} 2413 2414func (m *ConfirmIncidentRoleHandoverRequest) Reset() { *m = ConfirmIncidentRoleHandoverRequest{} } 2415func (m *ConfirmIncidentRoleHandoverRequest) String() string { return proto.CompactTextString(m) } 2416func (*ConfirmIncidentRoleHandoverRequest) ProtoMessage() {} 2417func (*ConfirmIncidentRoleHandoverRequest) Descriptor() ([]byte, []int) { 2418 return fileDescriptor_701d4f44dccb3929, []int{39} 2419} 2420 2421func (m *ConfirmIncidentRoleHandoverRequest) XXX_Unmarshal(b []byte) error { 2422 return xxx_messageInfo_ConfirmIncidentRoleHandoverRequest.Unmarshal(m, b) 2423} 2424func (m *ConfirmIncidentRoleHandoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2425 return xxx_messageInfo_ConfirmIncidentRoleHandoverRequest.Marshal(b, m, deterministic) 2426} 2427func (m *ConfirmIncidentRoleHandoverRequest) XXX_Merge(src proto.Message) { 2428 xxx_messageInfo_ConfirmIncidentRoleHandoverRequest.Merge(m, src) 2429} 2430func (m *ConfirmIncidentRoleHandoverRequest) XXX_Size() int { 2431 return xxx_messageInfo_ConfirmIncidentRoleHandoverRequest.Size(m) 2432} 2433func (m *ConfirmIncidentRoleHandoverRequest) XXX_DiscardUnknown() { 2434 xxx_messageInfo_ConfirmIncidentRoleHandoverRequest.DiscardUnknown(m) 2435} 2436 2437var xxx_messageInfo_ConfirmIncidentRoleHandoverRequest proto.InternalMessageInfo 2438 2439func (m *ConfirmIncidentRoleHandoverRequest) GetName() string { 2440 if m != nil { 2441 return m.Name 2442 } 2443 return "" 2444} 2445 2446func (m *ConfirmIncidentRoleHandoverRequest) GetNewAssignee() *User { 2447 if m != nil { 2448 return m.NewAssignee 2449 } 2450 return nil 2451} 2452 2453// Request to force a role handover. 2454type ForceIncidentRoleHandoverRequest struct { 2455 // Required. Resource name of the role assignment. 2456 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2457 // Required. The proposed assignee, who will now be the assignee. This should not be 2458 // the current user; otherwise ConfirmRoleHandover should be called. 2459 NewAssignee *User `protobuf:"bytes,2,opt,name=new_assignee,json=newAssignee,proto3" json:"new_assignee,omitempty"` 2460 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2461 XXX_unrecognized []byte `json:"-"` 2462 XXX_sizecache int32 `json:"-"` 2463} 2464 2465func (m *ForceIncidentRoleHandoverRequest) Reset() { *m = ForceIncidentRoleHandoverRequest{} } 2466func (m *ForceIncidentRoleHandoverRequest) String() string { return proto.CompactTextString(m) } 2467func (*ForceIncidentRoleHandoverRequest) ProtoMessage() {} 2468func (*ForceIncidentRoleHandoverRequest) Descriptor() ([]byte, []int) { 2469 return fileDescriptor_701d4f44dccb3929, []int{40} 2470} 2471 2472func (m *ForceIncidentRoleHandoverRequest) XXX_Unmarshal(b []byte) error { 2473 return xxx_messageInfo_ForceIncidentRoleHandoverRequest.Unmarshal(m, b) 2474} 2475func (m *ForceIncidentRoleHandoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2476 return xxx_messageInfo_ForceIncidentRoleHandoverRequest.Marshal(b, m, deterministic) 2477} 2478func (m *ForceIncidentRoleHandoverRequest) XXX_Merge(src proto.Message) { 2479 xxx_messageInfo_ForceIncidentRoleHandoverRequest.Merge(m, src) 2480} 2481func (m *ForceIncidentRoleHandoverRequest) XXX_Size() int { 2482 return xxx_messageInfo_ForceIncidentRoleHandoverRequest.Size(m) 2483} 2484func (m *ForceIncidentRoleHandoverRequest) XXX_DiscardUnknown() { 2485 xxx_messageInfo_ForceIncidentRoleHandoverRequest.DiscardUnknown(m) 2486} 2487 2488var xxx_messageInfo_ForceIncidentRoleHandoverRequest proto.InternalMessageInfo 2489 2490func (m *ForceIncidentRoleHandoverRequest) GetName() string { 2491 if m != nil { 2492 return m.Name 2493 } 2494 return "" 2495} 2496 2497func (m *ForceIncidentRoleHandoverRequest) GetNewAssignee() *User { 2498 if m != nil { 2499 return m.NewAssignee 2500 } 2501 return nil 2502} 2503 2504// Request to cancel a role handover. 2505type CancelIncidentRoleHandoverRequest struct { 2506 // Required. Resource name of the role assignment. 2507 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2508 // Required. Person who was proposed as the next assignee (i.e. 2509 // IncidentRoleAssignment.proposed_assignee) and whose proposal is being 2510 // cancelled. 2511 NewAssignee *User `protobuf:"bytes,2,opt,name=new_assignee,json=newAssignee,proto3" json:"new_assignee,omitempty"` 2512 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2513 XXX_unrecognized []byte `json:"-"` 2514 XXX_sizecache int32 `json:"-"` 2515} 2516 2517func (m *CancelIncidentRoleHandoverRequest) Reset() { *m = CancelIncidentRoleHandoverRequest{} } 2518func (m *CancelIncidentRoleHandoverRequest) String() string { return proto.CompactTextString(m) } 2519func (*CancelIncidentRoleHandoverRequest) ProtoMessage() {} 2520func (*CancelIncidentRoleHandoverRequest) Descriptor() ([]byte, []int) { 2521 return fileDescriptor_701d4f44dccb3929, []int{41} 2522} 2523 2524func (m *CancelIncidentRoleHandoverRequest) XXX_Unmarshal(b []byte) error { 2525 return xxx_messageInfo_CancelIncidentRoleHandoverRequest.Unmarshal(m, b) 2526} 2527func (m *CancelIncidentRoleHandoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2528 return xxx_messageInfo_CancelIncidentRoleHandoverRequest.Marshal(b, m, deterministic) 2529} 2530func (m *CancelIncidentRoleHandoverRequest) XXX_Merge(src proto.Message) { 2531 xxx_messageInfo_CancelIncidentRoleHandoverRequest.Merge(m, src) 2532} 2533func (m *CancelIncidentRoleHandoverRequest) XXX_Size() int { 2534 return xxx_messageInfo_CancelIncidentRoleHandoverRequest.Size(m) 2535} 2536func (m *CancelIncidentRoleHandoverRequest) XXX_DiscardUnknown() { 2537 xxx_messageInfo_CancelIncidentRoleHandoverRequest.DiscardUnknown(m) 2538} 2539 2540var xxx_messageInfo_CancelIncidentRoleHandoverRequest proto.InternalMessageInfo 2541 2542func (m *CancelIncidentRoleHandoverRequest) GetName() string { 2543 if m != nil { 2544 return m.Name 2545 } 2546 return "" 2547} 2548 2549func (m *CancelIncidentRoleHandoverRequest) GetNewAssignee() *User { 2550 if m != nil { 2551 return m.NewAssignee 2552 } 2553 return nil 2554} 2555 2556func init() { 2557 proto.RegisterType((*CreateIncidentRequest)(nil), "google.cloud.irm.v1alpha2.CreateIncidentRequest") 2558 proto.RegisterType((*GetIncidentRequest)(nil), "google.cloud.irm.v1alpha2.GetIncidentRequest") 2559 proto.RegisterType((*UpdateIncidentRequest)(nil), "google.cloud.irm.v1alpha2.UpdateIncidentRequest") 2560 proto.RegisterType((*SearchSimilarIncidentsRequest)(nil), "google.cloud.irm.v1alpha2.SearchSimilarIncidentsRequest") 2561 proto.RegisterType((*SearchSimilarIncidentsResponse)(nil), "google.cloud.irm.v1alpha2.SearchSimilarIncidentsResponse") 2562 proto.RegisterType((*SearchSimilarIncidentsResponse_Result)(nil), "google.cloud.irm.v1alpha2.SearchSimilarIncidentsResponse.Result") 2563 proto.RegisterType((*CreateAnnotationRequest)(nil), "google.cloud.irm.v1alpha2.CreateAnnotationRequest") 2564 proto.RegisterType((*ListAnnotationsRequest)(nil), "google.cloud.irm.v1alpha2.ListAnnotationsRequest") 2565 proto.RegisterType((*ListAnnotationsResponse)(nil), "google.cloud.irm.v1alpha2.ListAnnotationsResponse") 2566 proto.RegisterType((*CreateTagRequest)(nil), "google.cloud.irm.v1alpha2.CreateTagRequest") 2567 proto.RegisterType((*DeleteTagRequest)(nil), "google.cloud.irm.v1alpha2.DeleteTagRequest") 2568 proto.RegisterType((*ListTagsRequest)(nil), "google.cloud.irm.v1alpha2.ListTagsRequest") 2569 proto.RegisterType((*ListTagsResponse)(nil), "google.cloud.irm.v1alpha2.ListTagsResponse") 2570 proto.RegisterType((*CreateSignalRequest)(nil), "google.cloud.irm.v1alpha2.CreateSignalRequest") 2571 proto.RegisterType((*SearchSignalsRequest)(nil), "google.cloud.irm.v1alpha2.SearchSignalsRequest") 2572 proto.RegisterType((*SearchSignalsResponse)(nil), "google.cloud.irm.v1alpha2.SearchSignalsResponse") 2573 proto.RegisterType((*GetSignalRequest)(nil), "google.cloud.irm.v1alpha2.GetSignalRequest") 2574 proto.RegisterType((*LookupSignalRequest)(nil), "google.cloud.irm.v1alpha2.LookupSignalRequest") 2575 proto.RegisterType((*UpdateSignalRequest)(nil), "google.cloud.irm.v1alpha2.UpdateSignalRequest") 2576 proto.RegisterType((*SearchIncidentsRequest)(nil), "google.cloud.irm.v1alpha2.SearchIncidentsRequest") 2577 proto.RegisterType((*SearchIncidentsResponse)(nil), "google.cloud.irm.v1alpha2.SearchIncidentsResponse") 2578 proto.RegisterType((*EscalateIncidentRequest)(nil), "google.cloud.irm.v1alpha2.EscalateIncidentRequest") 2579 proto.RegisterType((*EscalateIncidentResponse)(nil), "google.cloud.irm.v1alpha2.EscalateIncidentResponse") 2580 proto.RegisterType((*CreateArtifactRequest)(nil), "google.cloud.irm.v1alpha2.CreateArtifactRequest") 2581 proto.RegisterType((*ListArtifactsRequest)(nil), "google.cloud.irm.v1alpha2.ListArtifactsRequest") 2582 proto.RegisterType((*ListArtifactsResponse)(nil), "google.cloud.irm.v1alpha2.ListArtifactsResponse") 2583 proto.RegisterType((*UpdateArtifactRequest)(nil), "google.cloud.irm.v1alpha2.UpdateArtifactRequest") 2584 proto.RegisterType((*DeleteArtifactRequest)(nil), "google.cloud.irm.v1alpha2.DeleteArtifactRequest") 2585 proto.RegisterType((*SendShiftHandoffRequest)(nil), "google.cloud.irm.v1alpha2.SendShiftHandoffRequest") 2586 proto.RegisterType((*SendShiftHandoffRequest_Incident)(nil), "google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident") 2587 proto.RegisterType((*SendShiftHandoffResponse)(nil), "google.cloud.irm.v1alpha2.SendShiftHandoffResponse") 2588 proto.RegisterType((*CreateSubscriptionRequest)(nil), "google.cloud.irm.v1alpha2.CreateSubscriptionRequest") 2589 proto.RegisterType((*UpdateSubscriptionRequest)(nil), "google.cloud.irm.v1alpha2.UpdateSubscriptionRequest") 2590 proto.RegisterType((*ListSubscriptionsRequest)(nil), "google.cloud.irm.v1alpha2.ListSubscriptionsRequest") 2591 proto.RegisterType((*ListSubscriptionsResponse)(nil), "google.cloud.irm.v1alpha2.ListSubscriptionsResponse") 2592 proto.RegisterType((*DeleteSubscriptionRequest)(nil), "google.cloud.irm.v1alpha2.DeleteSubscriptionRequest") 2593 proto.RegisterType((*CreateIncidentRoleAssignmentRequest)(nil), "google.cloud.irm.v1alpha2.CreateIncidentRoleAssignmentRequest") 2594 proto.RegisterType((*DeleteIncidentRoleAssignmentRequest)(nil), "google.cloud.irm.v1alpha2.DeleteIncidentRoleAssignmentRequest") 2595 proto.RegisterType((*ListIncidentRoleAssignmentsRequest)(nil), "google.cloud.irm.v1alpha2.ListIncidentRoleAssignmentsRequest") 2596 proto.RegisterType((*ListIncidentRoleAssignmentsResponse)(nil), "google.cloud.irm.v1alpha2.ListIncidentRoleAssignmentsResponse") 2597 proto.RegisterType((*RequestIncidentRoleHandoverRequest)(nil), "google.cloud.irm.v1alpha2.RequestIncidentRoleHandoverRequest") 2598 proto.RegisterType((*ConfirmIncidentRoleHandoverRequest)(nil), "google.cloud.irm.v1alpha2.ConfirmIncidentRoleHandoverRequest") 2599 proto.RegisterType((*ForceIncidentRoleHandoverRequest)(nil), "google.cloud.irm.v1alpha2.ForceIncidentRoleHandoverRequest") 2600 proto.RegisterType((*CancelIncidentRoleHandoverRequest)(nil), "google.cloud.irm.v1alpha2.CancelIncidentRoleHandoverRequest") 2601} 2602 2603func init() { 2604 proto.RegisterFile("google/cloud/irm/v1alpha2/incidents_service.proto", fileDescriptor_701d4f44dccb3929) 2605} 2606 2607var fileDescriptor_701d4f44dccb3929 = []byte{ 2608 // 2827 bytes of a gzipped FileDescriptorProto 2609 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5b, 0x4f, 0x6c, 0x1c, 0x57, 2610 0x19, 0xef, 0xb3, 0x63, 0xc7, 0xfe, 0x6c, 0xc7, 0xee, 0x4b, 0x62, 0xaf, 0xd7, 0x4d, 0x63, 0x8f, 2611 0x55, 0x92, 0x3a, 0xee, 0x6e, 0xb2, 0x8e, 0x1b, 0x62, 0x27, 0x69, 0xc7, 0x76, 0x6c, 0xa7, 0x6d, 2612 0xda, 0xb0, 0x76, 0x55, 0x88, 0x44, 0x57, 0x93, 0xd9, 0xb7, 0xeb, 0x21, 0xbb, 0x33, 0xdb, 0x99, 2613 0x59, 0x1b, 0x17, 0x7a, 0x29, 0x15, 0x87, 0x0a, 0xa9, 0xea, 0x9f, 0x0b, 0x95, 0xe0, 0x50, 0x71, 2614 0x40, 0xe1, 0x06, 0x45, 0x80, 0xc4, 0x01, 0x38, 0x01, 0x42, 0x1c, 0xa0, 0x07, 0xb4, 0xe2, 0x90, 2615 0x03, 0x07, 0xc4, 0x85, 0x03, 0x12, 0x02, 0x4e, 0x68, 0xde, 0x7b, 0xb3, 0xf3, 0x66, 0x77, 0xf6, 2616 0xed, 0xec, 0xda, 0x51, 0xd2, 0x5b, 0x76, 0xe6, 0x7d, 0xef, 0xfd, 0xbe, 0xef, 0xf7, 0xfd, 0x79, 2617 0xf3, 0x7d, 0x31, 0x5c, 0x28, 0x5a, 0x56, 0xb1, 0x44, 0xd2, 0x7a, 0xc9, 0xaa, 0xe6, 0xd3, 0x86, 2618 0x5d, 0x4e, 0xef, 0x5e, 0xd0, 0x4a, 0x95, 0x1d, 0x2d, 0x93, 0x36, 0x4c, 0xdd, 0xc8, 0x13, 0xd3, 2619 0x75, 0x72, 0x0e, 0xb1, 0x77, 0x0d, 0x9d, 0xa4, 0x2a, 0xb6, 0xe5, 0x5a, 0x78, 0x92, 0x89, 0xa4, 2620 0xa8, 0x48, 0xca, 0xb0, 0xcb, 0x29, 0x5f, 0x24, 0xf9, 0x04, 0xdf, 0x4d, 0xab, 0x18, 0x69, 0xcd, 2621 0x34, 0x2d, 0x57, 0x73, 0x0d, 0xcb, 0x74, 0x98, 0x60, 0x72, 0x42, 0x78, 0xab, 0x97, 0x0c, 0x62, 2622 0xba, 0xfc, 0xc5, 0x69, 0xe1, 0x45, 0xc1, 0x20, 0xa5, 0x7c, 0xee, 0x0e, 0xd9, 0xd1, 0x76, 0x0d, 2623 0xcb, 0xe6, 0x0b, 0x26, 0x85, 0x05, 0x36, 0x71, 0xac, 0xaa, 0xed, 0xa3, 0x49, 0x3e, 0x1d, 0x43, 2624 0x01, 0xbe, 0x74, 0x8a, 0x2f, 0xa5, 0xbf, 0xee, 0x54, 0x0b, 0x69, 0x52, 0xae, 0xb8, 0xfb, 0xfc, 2625 0xe5, 0x74, 0xe3, 0x4b, 0x06, 0xa4, 0xac, 0x39, 0x77, 0x1b, 0x50, 0xd6, 0x57, 0xb8, 0x46, 0x99, 2626 0x38, 0xae, 0x56, 0xae, 0xb0, 0x05, 0xca, 0x3d, 0x04, 0x27, 0x57, 0x6d, 0xa2, 0xb9, 0xe4, 0x06, 2627 0x3f, 0x39, 0x4b, 0xde, 0xa8, 0x12, 0xc7, 0xc5, 0x6b, 0x30, 0xe0, 0x83, 0x49, 0xa0, 0x69, 0x74, 2628 0x76, 0x28, 0x33, 0x9b, 0x6a, 0x69, 0xc5, 0x94, 0x2f, 0xbd, 0xd2, 0x7b, 0x5f, 0xed, 0xc9, 0xd6, 2629 0x25, 0xf1, 0x8b, 0xd0, 0x5f, 0xd1, 0x6c, 0x6f, 0x8f, 0x9e, 0x69, 0x74, 0x76, 0x70, 0x65, 0xe1, 2630 0xbe, 0xda, 0xf3, 0x3f, 0xf5, 0x19, 0x38, 0x47, 0xf7, 0xf0, 0xed, 0x52, 0xd6, 0x4c, 0xad, 0x48, 2631 0x6c, 0xbe, 0xbf, 0x56, 0x31, 0x9c, 0x94, 0x6e, 0x95, 0xd3, 0xb7, 0x6c, 0xeb, 0x6b, 0x44, 0x77, 2632 0xb3, 0x7c, 0x0b, 0xe5, 0x26, 0xe0, 0x0d, 0xe2, 0x36, 0x02, 0xbd, 0x04, 0x47, 0x4c, 0xad, 0x4c, 2633 0x28, 0xc8, 0xc1, 0x95, 0x59, 0x7a, 0xc0, 0x29, 0x98, 0xf2, 0xe0, 0x35, 0xec, 0x57, 0x97, 0xa4, 2634 0x02, 0xca, 0xc7, 0x08, 0x4e, 0xbe, 0x5a, 0xc9, 0x3f, 0x30, 0xdd, 0x97, 0x61, 0xa8, 0x4a, 0xb7, 2635 0xa7, 0x8c, 0x50, 0x03, 0x0c, 0x65, 0x92, 0xfe, 0x46, 0x3e, 0x25, 0xa9, 0x75, 0x8f, 0xb4, 0x9b, 2636 0x9a, 0x73, 0x37, 0x0b, 0x6c, 0xb9, 0xf7, 0x6f, 0xe5, 0x23, 0x04, 0xa7, 0xb6, 0x88, 0x66, 0xeb, 2637 0x3b, 0x5b, 0x46, 0xd9, 0x28, 0x69, 0xb6, 0x7f, 0x8a, 0x73, 0x50, 0xbd, 0xf1, 0x14, 0x0c, 0x56, 2638 0xb4, 0x22, 0xc9, 0x39, 0xc6, 0x9b, 0x84, 0xa2, 0xea, 0xcb, 0x0e, 0x78, 0x0f, 0xb6, 0x8c, 0x37, 2639 0x09, 0x3e, 0x05, 0x40, 0x5f, 0xba, 0xd6, 0x5d, 0x62, 0x26, 0x7a, 0xbd, 0xbd, 0xb3, 0x74, 0xf9, 2640 0xb6, 0xf7, 0x40, 0xf9, 0x27, 0x82, 0x27, 0x5b, 0xc1, 0x72, 0x2a, 0x96, 0xe9, 0x10, 0x7c, 0x1b, 2641 0x8e, 0xda, 0xc4, 0xa9, 0x96, 0x5c, 0x27, 0x81, 0xa6, 0x7b, 0xcf, 0x0e, 0x65, 0x9e, 0x97, 0xd8, 2642 0x4e, 0xbe, 0x57, 0x2a, 0x4b, 0x37, 0xca, 0xfa, 0x1b, 0xe2, 0x2f, 0xc0, 0xa8, 0x49, 0xbe, 0xee, 2643 0xe6, 0x04, 0x88, 0xd4, 0xaf, 0xb2, 0x23, 0xde, 0xe3, 0x5b, 0x3e, 0xcc, 0xe4, 0x0d, 0xe8, 0x67, 2644 0xa2, 0xf8, 0xb9, 0xae, 0xa8, 0x0c, 0x58, 0x54, 0x3e, 0x41, 0x30, 0xc1, 0x22, 0x44, 0xad, 0x67, 2645 0x07, 0x9f, 0x82, 0xe5, 0xba, 0x77, 0x77, 0x40, 0x02, 0x17, 0xc1, 0x2f, 0x00, 0x04, 0xf9, 0x86, 2646 0x7b, 0xc7, 0x53, 0x12, 0x6c, 0xc1, 0xf1, 0xcc, 0xd1, 0x04, 0x69, 0xe5, 0x7d, 0x04, 0xe3, 0x2f, 2647 0x19, 0x8e, 0x1b, 0xac, 0x71, 0x0e, 0x05, 0xe3, 0x41, 0x5c, 0xe5, 0x5d, 0x04, 0x13, 0x4d, 0x98, 2648 0xb8, 0x8f, 0x6c, 0xc0, 0x90, 0x90, 0x6b, 0xb9, 0x9f, 0xc4, 0x53, 0x3e, 0x2b, 0x4a, 0xc6, 0x75, 2649 0x08, 0xe5, 0xdb, 0x08, 0xc6, 0x18, 0x8b, 0xdb, 0x5a, 0xf1, 0x50, 0x4c, 0xb3, 0x08, 0xbd, 0xae, 2650 0x56, 0xe4, 0xbc, 0x3d, 0x29, 0x81, 0xbe, 0xad, 0x15, 0x19, 0x61, 0xde, 0x7a, 0x65, 0x1d, 0xc6, 2651 0xd6, 0x48, 0x89, 0x84, 0x70, 0x64, 0x42, 0x91, 0xfc, 0x24, 0x45, 0x91, 0x80, 0xf1, 0x08, 0x14, 2652 0x9e, 0x10, 0x4b, 0x5e, 0xef, 0x22, 0x18, 0xf5, 0xac, 0xbb, 0xad, 0x15, 0x1f, 0x3e, 0xd5, 0x26, 2653 0x8c, 0x05, 0x58, 0x38, 0xc5, 0x19, 0x38, 0xe2, 0x6a, 0x45, 0x9f, 0xdb, 0x36, 0x06, 0xca, 0xd2, 2654 0xb5, 0xb1, 0xd9, 0xfc, 0x04, 0xc1, 0x71, 0xc6, 0xe6, 0x96, 0x51, 0x34, 0xb5, 0x92, 0x6f, 0x80, 2655 0x17, 0x1b, 0x0c, 0x70, 0x90, 0x6a, 0x83, 0xaf, 0x41, 0xbf, 0x43, 0x77, 0xe7, 0x1c, 0xcf, 0xc8, 2656 0xd2, 0x18, 0x5d, 0xc8, 0x68, 0xe6, 0x52, 0xca, 0x4f, 0x11, 0x9c, 0xf0, 0xd3, 0x9b, 0xf7, 0xc0, 2657 0x79, 0x20, 0x28, 0x4f, 0x40, 0xdf, 0x1b, 0x55, 0x62, 0xef, 0x73, 0x43, 0xb1, 0x1f, 0x61, 0x32, 2658 0x7b, 0xa5, 0x64, 0x1e, 0x69, 0x24, 0xf3, 0x9b, 0x70, 0xb2, 0x01, 0x36, 0x67, 0x74, 0x19, 0x8e, 2659 0x32, 0xd5, 0x7c, 0x52, 0xdb, 0x5b, 0x24, 0xeb, 0x4b, 0xc4, 0xa6, 0xf6, 0x06, 0x8c, 0x6d, 0x10, 2660 0x37, 0x4c, 0xeb, 0x62, 0x28, 0x3e, 0x66, 0xa8, 0xb9, 0xa6, 0x60, 0x32, 0xc2, 0xab, 0xb9, 0x1c, 2661 0x0b, 0x91, 0xef, 0x20, 0x38, 0xfe, 0x92, 0x65, 0xdd, 0xad, 0x56, 0xc2, 0xdb, 0xcd, 0xc2, 0xb0, 2662 0xee, 0xe8, 0x7a, 0xae, 0x60, 0x98, 0x79, 0xc3, 0x64, 0x21, 0x3c, 0xb8, 0xf9, 0x58, 0x76, 0xc8, 2663 0x7b, 0xba, 0xce, 0x1e, 0xe2, 0xe7, 0x61, 0xca, 0x71, 0x35, 0xfd, 0x6e, 0xde, 0x36, 0x76, 0x89, 2664 0x9d, 0x33, 0x2d, 0xd7, 0x28, 0x18, 0x3a, 0xcd, 0x3a, 0x39, 0x23, 0xcf, 0x42, 0x60, 0xf3, 0xb1, 2665 0xec, 0xa4, 0xb0, 0xe8, 0x65, 0x61, 0xcd, 0x8d, 0xfc, 0xca, 0x31, 0x18, 0xd6, 0x4a, 0x2e, 0xb1, 2666 0x4d, 0xef, 0x06, 0x60, 0xe4, 0x95, 0x0f, 0x10, 0x1c, 0x67, 0xd7, 0x8d, 0x30, 0x9c, 0xc0, 0xcf, 2667 0x50, 0x37, 0x7e, 0x76, 0xb0, 0x6b, 0xc6, 0x67, 0x08, 0xc6, 0x19, 0xdb, 0x4d, 0xf7, 0x8b, 0x47, 2668 0xdb, 0x4d, 0x3d, 0x59, 0xef, 0x32, 0x9b, 0x7b, 0xd3, 0x32, 0x49, 0xa2, 0x8f, 0xbe, 0x1d, 0xf0, 2669 0x1e, 0xdc, 0xb6, 0x4c, 0xa2, 0xbc, 0x83, 0x60, 0xa2, 0x49, 0x2d, 0xee, 0xc6, 0x2a, 0x0c, 0xd6, 2670 0x6f, 0xd9, 0xdc, 0x91, 0x63, 0x5d, 0x09, 0x02, 0xa9, 0xd8, 0xce, 0xfc, 0xa3, 0x5e, 0x98, 0xb8, 2671 0xee, 0xe8, 0x5a, 0xe9, 0x91, 0xbc, 0x63, 0xe2, 0x9b, 0x30, 0xe2, 0x54, 0xef, 0x38, 0xba, 0x6d, 2672 0x54, 0x58, 0x1d, 0xee, 0xa5, 0xd6, 0x38, 0x23, 0x73, 0x40, 0x61, 0x7d, 0x36, 0x2c, 0x5d, 0xcf, 2673 0xf8, 0x47, 0x3a, 0xc8, 0xf8, 0x1b, 0xd0, 0x67, 0x5b, 0x25, 0xe2, 0x24, 0xfa, 0xa8, 0xd0, 0x85, 2674 0x38, 0x44, 0x58, 0x25, 0xa2, 0x3a, 0x9e, 0xf3, 0x97, 0xbd, 0x5f, 0x4c, 0xde, 0x63, 0x55, 0xb3, 2675 0x5d, 0xa3, 0xa0, 0xe9, 0xae, 0x93, 0xe8, 0x6f, 0xcb, 0xaa, 0xca, 0xd7, 0x66, 0x03, 0x29, 0xe5, 2676 0x7e, 0x0f, 0x24, 0x9a, 0xd9, 0xe2, 0x5e, 0x73, 0xd0, 0x7b, 0x64, 0xb3, 0xb1, 0x7b, 0x0e, 0xc5, 2677 0xd8, 0xbd, 0x1d, 0x18, 0xfb, 0xaa, 0x6f, 0xec, 0x23, 0x6d, 0x8f, 0x16, 0x8d, 0x1d, 0x69, 0xe2, 2678 0xbe, 0xae, 0x4c, 0xfc, 0x71, 0xfd, 0x73, 0xb3, 0xfe, 0xf6, 0x30, 0xee, 0x2e, 0x6b, 0x30, 0xe0, 2679 0x9f, 0xc1, 0x43, 0x20, 0x0e, 0x30, 0x1e, 0x4b, 0xbe, 0xa4, 0xf2, 0x1e, 0x82, 0x13, 0xf4, 0xc2, 2680 0xea, 0xc3, 0x7d, 0xe8, 0xf7, 0xaa, 0xb7, 0x11, 0x9c, 0x6c, 0x40, 0x14, 0x24, 0xb1, 0x80, 0x0b, 2681 0xd4, 0x0d, 0x17, 0xb1, 0x93, 0x58, 0xf0, 0x99, 0xdc, 0xc8, 0x99, 0x68, 0x76, 0xd4, 0xad, 0xd9, 2682 0x0f, 0x56, 0xbf, 0x6e, 0xc1, 0x49, 0x76, 0x9d, 0x6e, 0xc4, 0x16, 0xff, 0xeb, 0xb8, 0x2e, 0xc9, 2683 0x6e, 0x0d, 0x7f, 0xed, 0xf5, 0x4a, 0x87, 0x99, 0xdf, 0xda, 0x31, 0x0a, 0xee, 0xa6, 0x66, 0xe6, 2684 0xad, 0x42, 0xe1, 0x81, 0x94, 0xc4, 0x59, 0x00, 0x9b, 0xe8, 0x46, 0xc5, 0xa0, 0x85, 0xc8, 0xcb, 2685 0x06, 0x83, 0xfc, 0xc3, 0x2e, 0x78, 0x8c, 0x8f, 0x43, 0x8f, 0xae, 0xd3, 0x20, 0xa7, 0x2f, 0x51, 2686 0xb6, 0x47, 0xd7, 0xf1, 0x29, 0x38, 0xea, 0x54, 0xef, 0x78, 0x9b, 0xb1, 0xb2, 0xc8, 0xc4, 0xfc, 2687 0x67, 0x78, 0x1e, 0xb0, 0x69, 0xb9, 0xc4, 0xc9, 0xe9, 0x96, 0xe9, 0x12, 0xd3, 0xcd, 0xb9, 0xfb, 2688 0x15, 0xbf, 0x44, 0x8e, 0xd1, 0x37, 0xab, 0xec, 0xc5, 0xf6, 0x7e, 0x85, 0xe0, 0xb3, 0x30, 0x12, 2689 0x5a, 0x9d, 0xe8, 0xf7, 0xb7, 0x44, 0xd9, 0x61, 0x71, 0x35, 0x7e, 0x5d, 0x2c, 0x9c, 0x47, 0xa9, 2690 0xcf, 0x2d, 0x4b, 0x3f, 0xed, 0x23, 0x8d, 0x18, 0x2a, 0x65, 0x48, 0xac, 0xaa, 0x33, 0x30, 0x5c, 2691 0xb1, 0xc9, 0xae, 0x41, 0xf6, 0x72, 0x96, 0x59, 0xda, 0x4f, 0x0c, 0x4c, 0xa3, 0xb3, 0x03, 0xd9, 2692 0x21, 0xfe, 0xec, 0x15, 0xb3, 0xb4, 0x9f, 0x7c, 0x1e, 0x06, 0x7c, 0x71, 0x7c, 0x31, 0xc4, 0xf0, 2693 0x74, 0xcc, 0xa6, 0xcf, 0x6b, 0x90, 0x68, 0x06, 0xc6, 0x83, 0x6a, 0x06, 0x86, 0x43, 0x26, 0xa3, 2694 0x3b, 0x67, 0x87, 0x74, 0xc1, 0x5a, 0x09, 0x38, 0xea, 0xdb, 0x89, 0x05, 0x8b, 0xff, 0x53, 0xb9, 2695 0x87, 0x60, 0x92, 0x7f, 0x93, 0x88, 0x69, 0xfb, 0x30, 0x52, 0xc8, 0x2d, 0x18, 0x16, 0x93, 0x3f, 2696 0x0f, 0x91, 0xb8, 0x95, 0x83, 0x79, 0x47, 0x68, 0x07, 0x0a, 0x96, 0xdf, 0x45, 0x23, 0xc0, 0x36, 2697 0x9e, 0x87, 0x0e, 0x7a, 0xde, 0xc1, 0x62, 0xfc, 0x43, 0x04, 0x09, 0x2f, 0x0b, 0x8a, 0x87, 0x3c, 2698 0xfc, 0xdc, 0xfc, 0x01, 0x82, 0xc9, 0x08, 0x54, 0xdc, 0x95, 0x9a, 0xaa, 0x3d, 0x3a, 0x50, 0xb5, 2699 0x8f, 0x9b, 0xab, 0xbf, 0x0c, 0x93, 0x2c, 0x1d, 0x46, 0xfb, 0xa0, 0x18, 0x30, 0x67, 0xa8, 0xa1, 2700 0x66, 0xe0, 0x74, 0xd4, 0x67, 0x94, 0x28, 0xcd, 0xe2, 0xe6, 0x33, 0x04, 0xb3, 0x0d, 0x8d, 0xe2, 2701 0xf0, 0x3d, 0xec, 0x30, 0xf8, 0xa8, 0x40, 0xc2, 0x4f, 0x07, 0x39, 0xef, 0xce, 0x91, 0xd3, 0xea, 2702 0xfb, 0x73, 0x9f, 0xe9, 0xfc, 0x82, 0xc8, 0xdc, 0x71, 0xdc, 0x88, 0x7c, 0xa9, 0xbc, 0x0e, 0xb3, 2703 0xcc, 0x60, 0x72, 0xad, 0xba, 0xee, 0x31, 0x7f, 0x0f, 0x81, 0xe2, 0x79, 0x49, 0xf4, 0xf6, 0x0f, 2704 0xdf, 0x8b, 0x7f, 0x89, 0x60, 0x56, 0x8a, 0x8f, 0xfb, 0x73, 0x19, 0x26, 0x5b, 0x31, 0xe3, 0xfb, 2705 0x76, 0x17, 0x77, 0xf7, 0x89, 0x68, 0x56, 0x3a, 0x6a, 0xeb, 0x29, 0xdc, 0x86, 0xe2, 0x11, 0x34, 2706 0xb1, 0xef, 0x12, 0xdb, 0x37, 0xef, 0x44, 0x88, 0x3e, 0xea, 0x10, 0xac, 0x15, 0xbe, 0x01, 0xc3, 2707 0x26, 0xd9, 0xe3, 0xca, 0x10, 0xc2, 0x9d, 0xec, 0xb4, 0x44, 0x93, 0x57, 0x1d, 0x62, 0xb3, 0x1d, 2708 0x86, 0x4c, 0xb2, 0xa7, 0x72, 0x41, 0xe5, 0x53, 0x04, 0xca, 0xaa, 0x65, 0x16, 0x0c, 0xbb, 0x2c, 2709 0x03, 0x72, 0x3d, 0x04, 0xe4, 0x02, 0x65, 0xf9, 0x1c, 0x3c, 0x2d, 0x63, 0x39, 0x6c, 0xb1, 0x43, 2710 0x86, 0xfd, 0x63, 0x04, 0xd3, 0xeb, 0x96, 0xad, 0x93, 0xcf, 0x13, 0xe8, 0x9f, 0x20, 0x98, 0x59, 2711 0xd5, 0x4c, 0x9d, 0x94, 0x3e, 0x47, 0xa8, 0x33, 0xbf, 0xc8, 0xc0, 0xa8, 0x7f, 0xd2, 0x16, 0x1b, 2712 0x4e, 0xe2, 0x4f, 0x11, 0x1c, 0x0b, 0x27, 0x55, 0x7c, 0x5e, 0xb2, 0x73, 0xe4, 0xa0, 0x2e, 0x19, 2713 0xe7, 0x3b, 0x54, 0x79, 0xb1, 0xa6, 0x8e, 0xfa, 0xc1, 0x36, 0xcf, 0xf2, 0xc6, 0xdb, 0x7f, 0xfe, 2714 0xdb, 0x87, 0x3d, 0x0b, 0xca, 0x99, 0x60, 0xf8, 0xf8, 0x0d, 0xf6, 0xe2, 0x6a, 0x85, 0xdd, 0x54, 2715 0x9d, 0xf4, 0xdc, 0x5b, 0xc1, 0x40, 0x72, 0x29, 0xf8, 0x94, 0xfd, 0x2e, 0x82, 0x21, 0x61, 0x10, 2716 0x87, 0x9f, 0x91, 0x20, 0x68, 0x1e, 0xd8, 0xc5, 0x03, 0xfc, 0x6c, 0x4d, 0xa5, 0x04, 0x50, 0x94, 2717 0x4f, 0x63, 0x11, 0xa5, 0xf7, 0x58, 0xc0, 0x18, 0x40, 0x4c, 0xcf, 0xbd, 0x85, 0x7f, 0x87, 0x60, 2718 0xb4, 0xa1, 0xf3, 0x83, 0x2f, 0xb4, 0x1d, 0x40, 0x35, 0x36, 0xbf, 0x92, 0x99, 0x4e, 0x44, 0x58, 2719 0x8e, 0x54, 0x5e, 0xa9, 0xa9, 0xe3, 0xcc, 0x82, 0xf3, 0xb4, 0xbd, 0x35, 0x5f, 0xef, 0x4f, 0x51, 2720 0x25, 0xce, 0xe3, 0x54, 0x5c, 0x53, 0x3b, 0xf4, 0x04, 0xfc, 0x1b, 0x04, 0xc7, 0xc2, 0x03, 0x4a, 2721 0xa9, 0x7b, 0x44, 0xce, 0x32, 0xe3, 0x59, 0xfb, 0x2b, 0x35, 0xf5, 0x44, 0xdd, 0x3d, 0x84, 0x9b, 2722 0x1a, 0x05, 0x7e, 0x25, 0x73, 0x5e, 0x00, 0xee, 0x2f, 0x4b, 0xc9, 0x68, 0x10, 0x9c, 0xe5, 0xa3, 2723 0x1e, 0xbf, 0xc3, 0xd8, 0x38, 0xe5, 0xc3, 0x5f, 0xec, 0x62, 0x30, 0xc8, 0x94, 0xba, 0xdc, 0xf5, 2724 0x48, 0x51, 0x79, 0x07, 0x89, 0x9e, 0xb5, 0x87, 0x17, 0x63, 0x7a, 0x16, 0x27, 0x85, 0xef, 0x7b, 2725 0xfb, 0x1a, 0xbe, 0x22, 0x11, 0xe4, 0x5d, 0xef, 0x26, 0xb1, 0x40, 0xf7, 0x3f, 0xd4, 0x07, 0x52, 2726 0xc1, 0x68, 0x0b, 0x67, 0xda, 0x06, 0x7f, 0xd3, 0x0c, 0x32, 0x19, 0x6f, 0x6a, 0xa6, 0x7c, 0xb5, 2727 0xa6, 0x3e, 0xce, 0x9d, 0x33, 0x98, 0x9f, 0x51, 0x13, 0xac, 0x2a, 0x8b, 0x32, 0xbf, 0x0c, 0x19, 2728 0x41, 0xfc, 0x1f, 0x12, 0x4b, 0xc2, 0x00, 0x12, 0xff, 0x8a, 0x8f, 0xa3, 0x84, 0x61, 0x9f, 0x34, 2729 0xec, 0xa2, 0x87, 0x95, 0xd2, 0xb0, 0x6b, 0x31, 0x4b, 0x54, 0xd6, 0x6b, 0x6a, 0xbf, 0x90, 0xd1, 2730 0x2e, 0xe1, 0xee, 0xd4, 0xc1, 0x9f, 0x20, 0x18, 0xac, 0x8f, 0x08, 0xf1, 0xb9, 0xb6, 0x54, 0x04, 2731 0x03, 0xbc, 0x64, 0x9b, 0xf6, 0x9b, 0xb2, 0x59, 0x53, 0x81, 0x1b, 0xdf, 0xd5, 0x8a, 0x14, 0xe6, 2732 0xa2, 0x92, 0x8a, 0x0f, 0xd3, 0xd5, 0x8a, 0xce, 0x52, 0xaf, 0xab, 0x15, 0xf1, 0x7b, 0x08, 0x06, 2733 0xeb, 0xf3, 0x43, 0x29, 0xc8, 0xc6, 0x29, 0x63, 0x72, 0xbc, 0xe9, 0x73, 0xeb, 0x7a, 0xb9, 0xe2, 2734 0xee, 0x2b, 0x57, 0xc5, 0x78, 0x38, 0x3f, 0x97, 0x8a, 0x17, 0x0f, 0x14, 0x93, 0x97, 0x70, 0x7f, 2735 0x80, 0x60, 0xc0, 0x1f, 0xfe, 0xe1, 0xb9, 0x36, 0xfc, 0x09, 0xd3, 0xca, 0xe4, 0xb9, 0x58, 0x6b, 2736 0x39, 0xc9, 0xcf, 0x85, 0x49, 0x6e, 0x93, 0x4b, 0x9b, 0xad, 0x87, 0x7f, 0x88, 0x60, 0x58, 0x1c, 2737 0x19, 0xe2, 0x54, 0x5b, 0x82, 0x43, 0x63, 0x9a, 0x64, 0xfb, 0xb1, 0x8c, 0x72, 0xbd, 0xa6, 0x8e, 2738 0x70, 0x9a, 0x59, 0x02, 0xa0, 0x58, 0xd3, 0xca, 0x53, 0xf2, 0xbc, 0xcf, 0x93, 0xc5, 0x92, 0x3f, 2739 0xd0, 0xf9, 0x19, 0x82, 0x91, 0xd0, 0x04, 0x0e, 0xa7, 0x63, 0xa4, 0x3b, 0x71, 0xc4, 0x98, 0x3c, 2740 0x1f, 0x5f, 0x80, 0x1b, 0x78, 0xb5, 0xa6, 0x0e, 0x8b, 0xc5, 0x8b, 0x42, 0x4f, 0xe1, 0xf9, 0x78, 2741 0xd0, 0x79, 0xc1, 0xfa, 0x16, 0x82, 0x61, 0x71, 0xe2, 0x26, 0x35, 0x72, 0xc4, 0x68, 0x2e, 0x8e, 2742 0x91, 0xa7, 0x29, 0xb2, 0x24, 0x4e, 0x04, 0xc8, 0x7c, 0x14, 0x25, 0xba, 0x23, 0x7e, 0x1f, 0xc1, 2743 0x60, 0x7d, 0x86, 0x28, 0x8d, 0x91, 0xc6, 0x49, 0x63, 0x9c, 0xf3, 0x2f, 0x8a, 0xe1, 0x72, 0x06, 2744 0x3f, 0x15, 0xab, 0x0a, 0x78, 0x37, 0xbd, 0x61, 0x71, 0xf8, 0x27, 0xb5, 0x4c, 0xc4, 0x94, 0x30, 2745 0x0e, 0xb2, 0x2f, 0xd5, 0x54, 0xcc, 0x8e, 0x6c, 0x2a, 0xe1, 0xcf, 0x66, 0x44, 0x22, 0xd9, 0xa2, 2746 0x94, 0xa4, 0x68, 0xf9, 0xae, 0xf8, 0x6b, 0x04, 0x63, 0x8d, 0x23, 0x11, 0x69, 0x95, 0x6a, 0x31, 2747 0xed, 0x4a, 0x2e, 0x74, 0x24, 0xc3, 0x7d, 0x72, 0x8d, 0x62, 0xbf, 0xa6, 0x5c, 0xee, 0xf8, 0xfa, 2748 0x41, 0xf8, 0x96, 0x4b, 0x68, 0xce, 0x2b, 0x4d, 0xc7, 0xc2, 0x33, 0x87, 0x18, 0x97, 0xec, 0x86, 2749 0x76, 0x72, 0x32, 0x4e, 0x63, 0x5b, 0x79, 0xad, 0xa6, 0x8e, 0xfa, 0x35, 0x96, 0x3f, 0xa3, 0x1a, 2750 0x3c, 0xa7, 0x2c, 0x74, 0x50, 0x92, 0xfc, 0x06, 0xfd, 0x52, 0xd0, 0x22, 0xff, 0x39, 0x82, 0x91, 2751 0xd0, 0x1c, 0x40, 0x9a, 0x11, 0xa2, 0x66, 0x18, 0xd2, 0x8c, 0x10, 0x39, 0x62, 0x50, 0xd6, 0xc2, 2752 0x29, 0x77, 0x11, 0x77, 0xa3, 0x04, 0xfe, 0x63, 0xfd, 0x0e, 0x1b, 0xcb, 0xfa, 0x91, 0x83, 0x86, 2753 0x78, 0xd6, 0x27, 0x35, 0xf5, 0x84, 0x7f, 0x6e, 0x53, 0x00, 0x6c, 0x66, 0xc4, 0xeb, 0x9a, 0xbf, 2754 0x4c, 0xe6, 0x44, 0x81, 0x0e, 0xf4, 0x3e, 0x5b, 0xe7, 0xe2, 0xfb, 0x08, 0x8e, 0x85, 0x47, 0x0e, 2755 0x52, 0x85, 0x22, 0xa7, 0x13, 0x2d, 0x6b, 0xf1, 0x8a, 0x98, 0x5c, 0x16, 0xe7, 0x16, 0x62, 0xd6, 2756 0x62, 0x11, 0xaa, 0x57, 0x3e, 0xc6, 0x1a, 0x5b, 0xdc, 0x38, 0xd3, 0x79, 0xa3, 0x5e, 0x1a, 0xb3, 2757 0xad, 0x7a, 0xe8, 0xca, 0x12, 0x85, 0x7e, 0x51, 0x49, 0xb7, 0x29, 0x1c, 0x82, 0xec, 0x92, 0x43, 2758 0xcc, 0xbc, 0x17, 0xa9, 0x7f, 0x41, 0x80, 0x9b, 0x5b, 0xe8, 0xf8, 0x62, 0xfb, 0x4a, 0xdd, 0xdc, 2759 0xed, 0x4c, 0xc6, 0x6d, 0xb5, 0x2a, 0x7a, 0x4d, 0x3d, 0xee, 0x57, 0x6d, 0xe1, 0x39, 0xd5, 0x63, 2760 0x43, 0xb9, 0x14, 0xdf, 0xe9, 0x43, 0x2d, 0xdb, 0xa5, 0x70, 0x03, 0xfc, 0x1f, 0x08, 0x70, 0x73, 2761 0xc3, 0x5d, 0xaa, 0x5a, 0xcb, 0xfe, 0x7c, 0x7c, 0xd5, 0xaa, 0x35, 0x35, 0x21, 0xc2, 0x68, 0x0a, 2762 0x8b, 0xed, 0xcc, 0x9a, 0x58, 0x17, 0x84, 0xa5, 0xd2, 0xd0, 0x08, 0x69, 0xea, 0x85, 0x47, 0x58, 2763 0xd9, 0xdf, 0x22, 0x78, 0xbc, 0xa9, 0x35, 0x8e, 0x17, 0xda, 0x64, 0xa0, 0xa8, 0xf6, 0x7e, 0xf2, 2764 0x62, 0x67, 0x42, 0xdc, 0x09, 0x37, 0xc3, 0xa9, 0xeb, 0x32, 0xee, 0x96, 0x45, 0x7c, 0x0f, 0x01, 2765 0x6e, 0xee, 0xa8, 0x4b, 0x79, 0x6b, 0xd9, 0x80, 0x6f, 0x19, 0xf5, 0xeb, 0x62, 0xd4, 0x5f, 0x9e, 2766 0xbb, 0x14, 0x33, 0xea, 0x1b, 0x59, 0xc0, 0xff, 0x45, 0xf0, 0x84, 0xac, 0x47, 0x8f, 0xaf, 0xc5, 2767 0x6f, 0x2e, 0x45, 0xb5, 0xc1, 0x93, 0x9d, 0xb7, 0x78, 0x95, 0x42, 0x4d, 0x3d, 0xcd, 0xa3, 0xab, 2768 0x55, 0x03, 0x39, 0xa2, 0xca, 0xb7, 0xe1, 0xc8, 0x0e, 0xb7, 0x8b, 0x79, 0x95, 0x7f, 0x42, 0xd6, 2769 0xc9, 0x97, 0xea, 0x1e, 0x63, 0x04, 0xd0, 0x92, 0xbc, 0x4d, 0x91, 0xbc, 0xe5, 0xb9, 0xcb, 0x31, 2770 0xc9, 0x6b, 0x50, 0xc1, 0xa3, 0xef, 0xef, 0x08, 0xa6, 0x24, 0xbd, 0x78, 0x7c, 0xb5, 0x4d, 0x2c, 2771 0xc8, 0x67, 0x0c, 0xc9, 0x6b, 0xdd, 0x8a, 0xf3, 0xa0, 0x7a, 0x21, 0x1c, 0x54, 0xcb, 0xb8, 0x7b, 2772 0xc2, 0x3c, 0x4f, 0x9d, 0x92, 0xf4, 0xed, 0xa5, 0xaa, 0xb6, 0xef, 0xf7, 0x77, 0xe3, 0xa7, 0x3b, 2773 0x35, 0xf5, 0x71, 0x8f, 0xaf, 0x79, 0xb1, 0xdb, 0x4b, 0x15, 0x7d, 0x59, 0xb9, 0xd1, 0x35, 0xa7, 2774 0x4b, 0x36, 0x43, 0xe4, 0x03, 0xf4, 0x3c, 0xd5, 0xd3, 0x5d, 0x32, 0x2a, 0x90, 0xea, 0xde, 0x7e, 2775 0xc4, 0xf0, 0x08, 0xe9, 0xae, 0x33, 0xb0, 0xa2, 0xee, 0xff, 0x42, 0x30, 0xd9, 0x72, 0xde, 0x80, 2776 0x65, 0xff, 0x9b, 0xa0, 0xdd, 0x94, 0xa2, 0xcb, 0xdc, 0xd4, 0x42, 0xef, 0x97, 0x94, 0x8d, 0xee, 2777 0xf5, 0x2e, 0x78, 0x50, 0x45, 0xad, 0xff, 0x8d, 0x20, 0xd9, 0x7a, 0x60, 0x81, 0xaf, 0xc8, 0x08, 2778 0x6f, 0x37, 0xe7, 0xe8, 0x46, 0xef, 0x62, 0x4b, 0xbd, 0x6f, 0x2a, 0x9b, 0x07, 0xe0, 0x9b, 0x62, 2779 0x15, 0x14, 0x4f, 0xae, 0xff, 0x5e, 0xc5, 0xcd, 0x03, 0x97, 0x3f, 0xa9, 0xa9, 0x1d, 0xd7, 0xad, 2780 0x38, 0x4b, 0xe9, 0xf4, 0xde, 0xde, 0x5e, 0xe3, 0x34, 0x46, 0xab, 0xba, 0x3b, 0xec, 0x2f, 0xa3, 2781 0x9e, 0xa9, 0x94, 0x34, 0xb7, 0x60, 0xd9, 0xe5, 0x95, 0x1d, 0x98, 0xd5, 0x2d, 0x7f, 0x1b, 0xaa, 2782 0xa2, 0xff, 0xe7, 0x5d, 0x75, 0x55, 0xb5, 0x8a, 0x71, 0x0b, 0xdd, 0xbe, 0xc2, 0x97, 0x14, 0xad, 2783 0x92, 0x66, 0x16, 0x53, 0x96, 0x5d, 0x4c, 0x17, 0x89, 0x49, 0x33, 0x76, 0x3a, 0x38, 0x27, 0xe2, 2784 0x0f, 0xaf, 0x96, 0x0d, 0xbb, 0xfc, 0x1f, 0x84, 0xee, 0xf4, 0xd3, 0xb5, 0x0b, 0xff, 0x0f, 0x00, 2785 0x00, 0xff, 0xff, 0xed, 0x2d, 0xc3, 0xe8, 0x64, 0x36, 0x00, 0x00, 2786} 2787 2788// Reference imports to suppress errors if they are not otherwise used. 2789var _ context.Context 2790var _ grpc.ClientConnInterface 2791 2792// This is a compile-time assertion to ensure that this generated file 2793// is compatible with the grpc package it is being compiled against. 2794const _ = grpc.SupportPackageIsVersion6 2795 2796// IncidentServiceClient is the client API for IncidentService service. 2797// 2798// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 2799type IncidentServiceClient interface { 2800 // Creates a new incident. 2801 CreateIncident(ctx context.Context, in *CreateIncidentRequest, opts ...grpc.CallOption) (*Incident, error) 2802 // Returns an incident by name. 2803 GetIncident(ctx context.Context, in *GetIncidentRequest, opts ...grpc.CallOption) (*Incident, error) 2804 // Returns a list of incidents. 2805 // Incidents are ordered by start time, with the most recent incidents first. 2806 SearchIncidents(ctx context.Context, in *SearchIncidentsRequest, opts ...grpc.CallOption) (*SearchIncidentsResponse, error) 2807 // Updates an existing incident. 2808 UpdateIncident(ctx context.Context, in *UpdateIncidentRequest, opts ...grpc.CallOption) (*Incident, error) 2809 // Returns a list of incidents that are "similar" to the specified incident 2810 // or signal. This functionality is provided on a best-effort basis and the 2811 // definition of "similar" is subject to change. 2812 SearchSimilarIncidents(ctx context.Context, in *SearchSimilarIncidentsRequest, opts ...grpc.CallOption) (*SearchSimilarIncidentsResponse, error) 2813 // Creates an annotation on an existing incident. Only 'text/plain' and 2814 // 'text/markdown' annotations can be created via this method. 2815 CreateAnnotation(ctx context.Context, in *CreateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) 2816 // Lists annotations that are part of an incident. No assumptions should be 2817 // made on the content-type of the annotation returned. 2818 ListAnnotations(ctx context.Context, in *ListAnnotationsRequest, opts ...grpc.CallOption) (*ListAnnotationsResponse, error) 2819 // Creates a tag on an existing incident. 2820 CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error) 2821 // Deletes an existing tag. 2822 DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*empty.Empty, error) 2823 // Lists tags that are part of an incident. 2824 ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error) 2825 // Creates a new signal. 2826 CreateSignal(ctx context.Context, in *CreateSignalRequest, opts ...grpc.CallOption) (*Signal, error) 2827 // Lists signals that are part of an incident. 2828 // Signals are returned in reverse chronological order. 2829 // Note that search should not be relied on for critical functionality. It 2830 // has lower availability guarantees and might fail to return valid results. 2831 // Returned results might include stale or extraneous entries. 2832 SearchSignals(ctx context.Context, in *SearchSignalsRequest, opts ...grpc.CallOption) (*SearchSignalsResponse, error) 2833 // Finds a signal by other unique IDs. 2834 LookupSignal(ctx context.Context, in *LookupSignalRequest, opts ...grpc.CallOption) (*Signal, error) 2835 // Returns a signal by name. 2836 GetSignal(ctx context.Context, in *GetSignalRequest, opts ...grpc.CallOption) (*Signal, error) 2837 // Updates an existing signal (for example, to assign/unassign it to an 2838 // incident). 2839 UpdateSignal(ctx context.Context, in *UpdateSignalRequest, opts ...grpc.CallOption) (*Signal, error) 2840 // Escalates an incident. 2841 EscalateIncident(ctx context.Context, in *EscalateIncidentRequest, opts ...grpc.CallOption) (*EscalateIncidentResponse, error) 2842 // Creates a new artifact. 2843 CreateArtifact(ctx context.Context, in *CreateArtifactRequest, opts ...grpc.CallOption) (*Artifact, error) 2844 // Returns a list of artifacts for an incident. 2845 ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error) 2846 // Updates an existing artifact. 2847 UpdateArtifact(ctx context.Context, in *UpdateArtifactRequest, opts ...grpc.CallOption) (*Artifact, error) 2848 // Deletes an existing artifact. 2849 DeleteArtifact(ctx context.Context, in *DeleteArtifactRequest, opts ...grpc.CallOption) (*empty.Empty, error) 2850 // Sends a summary of the shift for oncall handoff. 2851 SendShiftHandoff(ctx context.Context, in *SendShiftHandoffRequest, opts ...grpc.CallOption) (*SendShiftHandoffResponse, error) 2852 // Creates a new subscription. 2853 // This will fail if: 2854 // a. there are too many (50) subscriptions in the incident already 2855 // b. a subscription using the given channel already exists 2856 CreateSubscription(ctx context.Context, in *CreateSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) 2857 // Updates a subscription. 2858 UpdateSubscription(ctx context.Context, in *UpdateSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) 2859 // Returns a list of subscriptions for an incident. 2860 ListSubscriptions(ctx context.Context, in *ListSubscriptionsRequest, opts ...grpc.CallOption) (*ListSubscriptionsResponse, error) 2861 // Deletes an existing subscription. 2862 DeleteSubscription(ctx context.Context, in *DeleteSubscriptionRequest, opts ...grpc.CallOption) (*empty.Empty, error) 2863 // Creates a role assignment on an existing incident. Normally, the user field 2864 // will be set when assigning a role to oneself, and the next field will be 2865 // set when proposing another user as the assignee. Setting the next field 2866 // directly to a user other than oneself is equivalent to proposing and 2867 // force-assigning the role to the user. 2868 CreateIncidentRoleAssignment(ctx context.Context, in *CreateIncidentRoleAssignmentRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) 2869 // Deletes an existing role assignment. 2870 DeleteIncidentRoleAssignment(ctx context.Context, in *DeleteIncidentRoleAssignmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) 2871 // Lists role assignments that are part of an incident. 2872 ListIncidentRoleAssignments(ctx context.Context, in *ListIncidentRoleAssignmentsRequest, opts ...grpc.CallOption) (*ListIncidentRoleAssignmentsResponse, error) 2873 // Starts a role handover. The proposed assignee will receive an email 2874 // notifying them of the assignment. This will fail if a role handover is 2875 // already pending. 2876 // Handover to an oncall ladder is not permitted. Use 2877 // CreateIncidentRoleAssignment instead. 2878 RequestIncidentRoleHandover(ctx context.Context, in *RequestIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) 2879 // Confirms a role handover. This will fail if the 'proposed_assignee' field 2880 // of the IncidentRoleAssignment is not equal to the 'new_assignee' field of 2881 // the request. If the caller is not the new_assignee, 2882 // ForceIncidentRoleHandover should be used instead. 2883 ConfirmIncidentRoleHandover(ctx context.Context, in *ConfirmIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) 2884 // Forces a role handover. This will fail if the 'proposed_assignee' field of 2885 // the IncidentRoleAssignment is not equal to the 'new_assignee' field of the 2886 // request. If the caller is the new_assignee, ConfirmIncidentRoleHandover 2887 // should be used instead. 2888 ForceIncidentRoleHandover(ctx context.Context, in *ForceIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) 2889 // Cancels a role handover. This will fail if the 'proposed_assignee' field of 2890 // the IncidentRoleAssignment is not equal to the 'new_assignee' field of the 2891 // request. 2892 CancelIncidentRoleHandover(ctx context.Context, in *CancelIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) 2893} 2894 2895type incidentServiceClient struct { 2896 cc grpc.ClientConnInterface 2897} 2898 2899func NewIncidentServiceClient(cc grpc.ClientConnInterface) IncidentServiceClient { 2900 return &incidentServiceClient{cc} 2901} 2902 2903func (c *incidentServiceClient) CreateIncident(ctx context.Context, in *CreateIncidentRequest, opts ...grpc.CallOption) (*Incident, error) { 2904 out := new(Incident) 2905 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/CreateIncident", in, out, opts...) 2906 if err != nil { 2907 return nil, err 2908 } 2909 return out, nil 2910} 2911 2912func (c *incidentServiceClient) GetIncident(ctx context.Context, in *GetIncidentRequest, opts ...grpc.CallOption) (*Incident, error) { 2913 out := new(Incident) 2914 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/GetIncident", in, out, opts...) 2915 if err != nil { 2916 return nil, err 2917 } 2918 return out, nil 2919} 2920 2921func (c *incidentServiceClient) SearchIncidents(ctx context.Context, in *SearchIncidentsRequest, opts ...grpc.CallOption) (*SearchIncidentsResponse, error) { 2922 out := new(SearchIncidentsResponse) 2923 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/SearchIncidents", in, out, opts...) 2924 if err != nil { 2925 return nil, err 2926 } 2927 return out, nil 2928} 2929 2930func (c *incidentServiceClient) UpdateIncident(ctx context.Context, in *UpdateIncidentRequest, opts ...grpc.CallOption) (*Incident, error) { 2931 out := new(Incident) 2932 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/UpdateIncident", in, out, opts...) 2933 if err != nil { 2934 return nil, err 2935 } 2936 return out, nil 2937} 2938 2939func (c *incidentServiceClient) SearchSimilarIncidents(ctx context.Context, in *SearchSimilarIncidentsRequest, opts ...grpc.CallOption) (*SearchSimilarIncidentsResponse, error) { 2940 out := new(SearchSimilarIncidentsResponse) 2941 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/SearchSimilarIncidents", in, out, opts...) 2942 if err != nil { 2943 return nil, err 2944 } 2945 return out, nil 2946} 2947 2948func (c *incidentServiceClient) CreateAnnotation(ctx context.Context, in *CreateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) { 2949 out := new(Annotation) 2950 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/CreateAnnotation", in, out, opts...) 2951 if err != nil { 2952 return nil, err 2953 } 2954 return out, nil 2955} 2956 2957func (c *incidentServiceClient) ListAnnotations(ctx context.Context, in *ListAnnotationsRequest, opts ...grpc.CallOption) (*ListAnnotationsResponse, error) { 2958 out := new(ListAnnotationsResponse) 2959 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/ListAnnotations", in, out, opts...) 2960 if err != nil { 2961 return nil, err 2962 } 2963 return out, nil 2964} 2965 2966func (c *incidentServiceClient) CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error) { 2967 out := new(Tag) 2968 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/CreateTag", in, out, opts...) 2969 if err != nil { 2970 return nil, err 2971 } 2972 return out, nil 2973} 2974 2975func (c *incidentServiceClient) DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 2976 out := new(empty.Empty) 2977 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/DeleteTag", in, out, opts...) 2978 if err != nil { 2979 return nil, err 2980 } 2981 return out, nil 2982} 2983 2984func (c *incidentServiceClient) ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error) { 2985 out := new(ListTagsResponse) 2986 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/ListTags", in, out, opts...) 2987 if err != nil { 2988 return nil, err 2989 } 2990 return out, nil 2991} 2992 2993func (c *incidentServiceClient) CreateSignal(ctx context.Context, in *CreateSignalRequest, opts ...grpc.CallOption) (*Signal, error) { 2994 out := new(Signal) 2995 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/CreateSignal", in, out, opts...) 2996 if err != nil { 2997 return nil, err 2998 } 2999 return out, nil 3000} 3001 3002func (c *incidentServiceClient) SearchSignals(ctx context.Context, in *SearchSignalsRequest, opts ...grpc.CallOption) (*SearchSignalsResponse, error) { 3003 out := new(SearchSignalsResponse) 3004 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/SearchSignals", in, out, opts...) 3005 if err != nil { 3006 return nil, err 3007 } 3008 return out, nil 3009} 3010 3011func (c *incidentServiceClient) LookupSignal(ctx context.Context, in *LookupSignalRequest, opts ...grpc.CallOption) (*Signal, error) { 3012 out := new(Signal) 3013 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/LookupSignal", in, out, opts...) 3014 if err != nil { 3015 return nil, err 3016 } 3017 return out, nil 3018} 3019 3020func (c *incidentServiceClient) GetSignal(ctx context.Context, in *GetSignalRequest, opts ...grpc.CallOption) (*Signal, error) { 3021 out := new(Signal) 3022 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/GetSignal", in, out, opts...) 3023 if err != nil { 3024 return nil, err 3025 } 3026 return out, nil 3027} 3028 3029func (c *incidentServiceClient) UpdateSignal(ctx context.Context, in *UpdateSignalRequest, opts ...grpc.CallOption) (*Signal, error) { 3030 out := new(Signal) 3031 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/UpdateSignal", in, out, opts...) 3032 if err != nil { 3033 return nil, err 3034 } 3035 return out, nil 3036} 3037 3038func (c *incidentServiceClient) EscalateIncident(ctx context.Context, in *EscalateIncidentRequest, opts ...grpc.CallOption) (*EscalateIncidentResponse, error) { 3039 out := new(EscalateIncidentResponse) 3040 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/EscalateIncident", in, out, opts...) 3041 if err != nil { 3042 return nil, err 3043 } 3044 return out, nil 3045} 3046 3047func (c *incidentServiceClient) CreateArtifact(ctx context.Context, in *CreateArtifactRequest, opts ...grpc.CallOption) (*Artifact, error) { 3048 out := new(Artifact) 3049 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/CreateArtifact", in, out, opts...) 3050 if err != nil { 3051 return nil, err 3052 } 3053 return out, nil 3054} 3055 3056func (c *incidentServiceClient) ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error) { 3057 out := new(ListArtifactsResponse) 3058 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/ListArtifacts", in, out, opts...) 3059 if err != nil { 3060 return nil, err 3061 } 3062 return out, nil 3063} 3064 3065func (c *incidentServiceClient) UpdateArtifact(ctx context.Context, in *UpdateArtifactRequest, opts ...grpc.CallOption) (*Artifact, error) { 3066 out := new(Artifact) 3067 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/UpdateArtifact", in, out, opts...) 3068 if err != nil { 3069 return nil, err 3070 } 3071 return out, nil 3072} 3073 3074func (c *incidentServiceClient) DeleteArtifact(ctx context.Context, in *DeleteArtifactRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 3075 out := new(empty.Empty) 3076 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/DeleteArtifact", in, out, opts...) 3077 if err != nil { 3078 return nil, err 3079 } 3080 return out, nil 3081} 3082 3083func (c *incidentServiceClient) SendShiftHandoff(ctx context.Context, in *SendShiftHandoffRequest, opts ...grpc.CallOption) (*SendShiftHandoffResponse, error) { 3084 out := new(SendShiftHandoffResponse) 3085 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/SendShiftHandoff", in, out, opts...) 3086 if err != nil { 3087 return nil, err 3088 } 3089 return out, nil 3090} 3091 3092func (c *incidentServiceClient) CreateSubscription(ctx context.Context, in *CreateSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) { 3093 out := new(Subscription) 3094 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/CreateSubscription", in, out, opts...) 3095 if err != nil { 3096 return nil, err 3097 } 3098 return out, nil 3099} 3100 3101func (c *incidentServiceClient) UpdateSubscription(ctx context.Context, in *UpdateSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) { 3102 out := new(Subscription) 3103 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/UpdateSubscription", in, out, opts...) 3104 if err != nil { 3105 return nil, err 3106 } 3107 return out, nil 3108} 3109 3110func (c *incidentServiceClient) ListSubscriptions(ctx context.Context, in *ListSubscriptionsRequest, opts ...grpc.CallOption) (*ListSubscriptionsResponse, error) { 3111 out := new(ListSubscriptionsResponse) 3112 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/ListSubscriptions", in, out, opts...) 3113 if err != nil { 3114 return nil, err 3115 } 3116 return out, nil 3117} 3118 3119func (c *incidentServiceClient) DeleteSubscription(ctx context.Context, in *DeleteSubscriptionRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 3120 out := new(empty.Empty) 3121 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/DeleteSubscription", in, out, opts...) 3122 if err != nil { 3123 return nil, err 3124 } 3125 return out, nil 3126} 3127 3128func (c *incidentServiceClient) CreateIncidentRoleAssignment(ctx context.Context, in *CreateIncidentRoleAssignmentRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) { 3129 out := new(IncidentRoleAssignment) 3130 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/CreateIncidentRoleAssignment", in, out, opts...) 3131 if err != nil { 3132 return nil, err 3133 } 3134 return out, nil 3135} 3136 3137func (c *incidentServiceClient) DeleteIncidentRoleAssignment(ctx context.Context, in *DeleteIncidentRoleAssignmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 3138 out := new(empty.Empty) 3139 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/DeleteIncidentRoleAssignment", in, out, opts...) 3140 if err != nil { 3141 return nil, err 3142 } 3143 return out, nil 3144} 3145 3146func (c *incidentServiceClient) ListIncidentRoleAssignments(ctx context.Context, in *ListIncidentRoleAssignmentsRequest, opts ...grpc.CallOption) (*ListIncidentRoleAssignmentsResponse, error) { 3147 out := new(ListIncidentRoleAssignmentsResponse) 3148 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/ListIncidentRoleAssignments", in, out, opts...) 3149 if err != nil { 3150 return nil, err 3151 } 3152 return out, nil 3153} 3154 3155func (c *incidentServiceClient) RequestIncidentRoleHandover(ctx context.Context, in *RequestIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) { 3156 out := new(IncidentRoleAssignment) 3157 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/RequestIncidentRoleHandover", in, out, opts...) 3158 if err != nil { 3159 return nil, err 3160 } 3161 return out, nil 3162} 3163 3164func (c *incidentServiceClient) ConfirmIncidentRoleHandover(ctx context.Context, in *ConfirmIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) { 3165 out := new(IncidentRoleAssignment) 3166 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/ConfirmIncidentRoleHandover", in, out, opts...) 3167 if err != nil { 3168 return nil, err 3169 } 3170 return out, nil 3171} 3172 3173func (c *incidentServiceClient) ForceIncidentRoleHandover(ctx context.Context, in *ForceIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) { 3174 out := new(IncidentRoleAssignment) 3175 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/ForceIncidentRoleHandover", in, out, opts...) 3176 if err != nil { 3177 return nil, err 3178 } 3179 return out, nil 3180} 3181 3182func (c *incidentServiceClient) CancelIncidentRoleHandover(ctx context.Context, in *CancelIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) { 3183 out := new(IncidentRoleAssignment) 3184 err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/CancelIncidentRoleHandover", in, out, opts...) 3185 if err != nil { 3186 return nil, err 3187 } 3188 return out, nil 3189} 3190 3191// IncidentServiceServer is the server API for IncidentService service. 3192type IncidentServiceServer interface { 3193 // Creates a new incident. 3194 CreateIncident(context.Context, *CreateIncidentRequest) (*Incident, error) 3195 // Returns an incident by name. 3196 GetIncident(context.Context, *GetIncidentRequest) (*Incident, error) 3197 // Returns a list of incidents. 3198 // Incidents are ordered by start time, with the most recent incidents first. 3199 SearchIncidents(context.Context, *SearchIncidentsRequest) (*SearchIncidentsResponse, error) 3200 // Updates an existing incident. 3201 UpdateIncident(context.Context, *UpdateIncidentRequest) (*Incident, error) 3202 // Returns a list of incidents that are "similar" to the specified incident 3203 // or signal. This functionality is provided on a best-effort basis and the 3204 // definition of "similar" is subject to change. 3205 SearchSimilarIncidents(context.Context, *SearchSimilarIncidentsRequest) (*SearchSimilarIncidentsResponse, error) 3206 // Creates an annotation on an existing incident. Only 'text/plain' and 3207 // 'text/markdown' annotations can be created via this method. 3208 CreateAnnotation(context.Context, *CreateAnnotationRequest) (*Annotation, error) 3209 // Lists annotations that are part of an incident. No assumptions should be 3210 // made on the content-type of the annotation returned. 3211 ListAnnotations(context.Context, *ListAnnotationsRequest) (*ListAnnotationsResponse, error) 3212 // Creates a tag on an existing incident. 3213 CreateTag(context.Context, *CreateTagRequest) (*Tag, error) 3214 // Deletes an existing tag. 3215 DeleteTag(context.Context, *DeleteTagRequest) (*empty.Empty, error) 3216 // Lists tags that are part of an incident. 3217 ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error) 3218 // Creates a new signal. 3219 CreateSignal(context.Context, *CreateSignalRequest) (*Signal, error) 3220 // Lists signals that are part of an incident. 3221 // Signals are returned in reverse chronological order. 3222 // Note that search should not be relied on for critical functionality. It 3223 // has lower availability guarantees and might fail to return valid results. 3224 // Returned results might include stale or extraneous entries. 3225 SearchSignals(context.Context, *SearchSignalsRequest) (*SearchSignalsResponse, error) 3226 // Finds a signal by other unique IDs. 3227 LookupSignal(context.Context, *LookupSignalRequest) (*Signal, error) 3228 // Returns a signal by name. 3229 GetSignal(context.Context, *GetSignalRequest) (*Signal, error) 3230 // Updates an existing signal (for example, to assign/unassign it to an 3231 // incident). 3232 UpdateSignal(context.Context, *UpdateSignalRequest) (*Signal, error) 3233 // Escalates an incident. 3234 EscalateIncident(context.Context, *EscalateIncidentRequest) (*EscalateIncidentResponse, error) 3235 // Creates a new artifact. 3236 CreateArtifact(context.Context, *CreateArtifactRequest) (*Artifact, error) 3237 // Returns a list of artifacts for an incident. 3238 ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error) 3239 // Updates an existing artifact. 3240 UpdateArtifact(context.Context, *UpdateArtifactRequest) (*Artifact, error) 3241 // Deletes an existing artifact. 3242 DeleteArtifact(context.Context, *DeleteArtifactRequest) (*empty.Empty, error) 3243 // Sends a summary of the shift for oncall handoff. 3244 SendShiftHandoff(context.Context, *SendShiftHandoffRequest) (*SendShiftHandoffResponse, error) 3245 // Creates a new subscription. 3246 // This will fail if: 3247 // a. there are too many (50) subscriptions in the incident already 3248 // b. a subscription using the given channel already exists 3249 CreateSubscription(context.Context, *CreateSubscriptionRequest) (*Subscription, error) 3250 // Updates a subscription. 3251 UpdateSubscription(context.Context, *UpdateSubscriptionRequest) (*Subscription, error) 3252 // Returns a list of subscriptions for an incident. 3253 ListSubscriptions(context.Context, *ListSubscriptionsRequest) (*ListSubscriptionsResponse, error) 3254 // Deletes an existing subscription. 3255 DeleteSubscription(context.Context, *DeleteSubscriptionRequest) (*empty.Empty, error) 3256 // Creates a role assignment on an existing incident. Normally, the user field 3257 // will be set when assigning a role to oneself, and the next field will be 3258 // set when proposing another user as the assignee. Setting the next field 3259 // directly to a user other than oneself is equivalent to proposing and 3260 // force-assigning the role to the user. 3261 CreateIncidentRoleAssignment(context.Context, *CreateIncidentRoleAssignmentRequest) (*IncidentRoleAssignment, error) 3262 // Deletes an existing role assignment. 3263 DeleteIncidentRoleAssignment(context.Context, *DeleteIncidentRoleAssignmentRequest) (*empty.Empty, error) 3264 // Lists role assignments that are part of an incident. 3265 ListIncidentRoleAssignments(context.Context, *ListIncidentRoleAssignmentsRequest) (*ListIncidentRoleAssignmentsResponse, error) 3266 // Starts a role handover. The proposed assignee will receive an email 3267 // notifying them of the assignment. This will fail if a role handover is 3268 // already pending. 3269 // Handover to an oncall ladder is not permitted. Use 3270 // CreateIncidentRoleAssignment instead. 3271 RequestIncidentRoleHandover(context.Context, *RequestIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) 3272 // Confirms a role handover. This will fail if the 'proposed_assignee' field 3273 // of the IncidentRoleAssignment is not equal to the 'new_assignee' field of 3274 // the request. If the caller is not the new_assignee, 3275 // ForceIncidentRoleHandover should be used instead. 3276 ConfirmIncidentRoleHandover(context.Context, *ConfirmIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) 3277 // Forces a role handover. This will fail if the 'proposed_assignee' field of 3278 // the IncidentRoleAssignment is not equal to the 'new_assignee' field of the 3279 // request. If the caller is the new_assignee, ConfirmIncidentRoleHandover 3280 // should be used instead. 3281 ForceIncidentRoleHandover(context.Context, *ForceIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) 3282 // Cancels a role handover. This will fail if the 'proposed_assignee' field of 3283 // the IncidentRoleAssignment is not equal to the 'new_assignee' field of the 3284 // request. 3285 CancelIncidentRoleHandover(context.Context, *CancelIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) 3286} 3287 3288// UnimplementedIncidentServiceServer can be embedded to have forward compatible implementations. 3289type UnimplementedIncidentServiceServer struct { 3290} 3291 3292func (*UnimplementedIncidentServiceServer) CreateIncident(ctx context.Context, req *CreateIncidentRequest) (*Incident, error) { 3293 return nil, status.Errorf(codes.Unimplemented, "method CreateIncident not implemented") 3294} 3295func (*UnimplementedIncidentServiceServer) GetIncident(ctx context.Context, req *GetIncidentRequest) (*Incident, error) { 3296 return nil, status.Errorf(codes.Unimplemented, "method GetIncident not implemented") 3297} 3298func (*UnimplementedIncidentServiceServer) SearchIncidents(ctx context.Context, req *SearchIncidentsRequest) (*SearchIncidentsResponse, error) { 3299 return nil, status.Errorf(codes.Unimplemented, "method SearchIncidents not implemented") 3300} 3301func (*UnimplementedIncidentServiceServer) UpdateIncident(ctx context.Context, req *UpdateIncidentRequest) (*Incident, error) { 3302 return nil, status.Errorf(codes.Unimplemented, "method UpdateIncident not implemented") 3303} 3304func (*UnimplementedIncidentServiceServer) SearchSimilarIncidents(ctx context.Context, req *SearchSimilarIncidentsRequest) (*SearchSimilarIncidentsResponse, error) { 3305 return nil, status.Errorf(codes.Unimplemented, "method SearchSimilarIncidents not implemented") 3306} 3307func (*UnimplementedIncidentServiceServer) CreateAnnotation(ctx context.Context, req *CreateAnnotationRequest) (*Annotation, error) { 3308 return nil, status.Errorf(codes.Unimplemented, "method CreateAnnotation not implemented") 3309} 3310func (*UnimplementedIncidentServiceServer) ListAnnotations(ctx context.Context, req *ListAnnotationsRequest) (*ListAnnotationsResponse, error) { 3311 return nil, status.Errorf(codes.Unimplemented, "method ListAnnotations not implemented") 3312} 3313func (*UnimplementedIncidentServiceServer) CreateTag(ctx context.Context, req *CreateTagRequest) (*Tag, error) { 3314 return nil, status.Errorf(codes.Unimplemented, "method CreateTag not implemented") 3315} 3316func (*UnimplementedIncidentServiceServer) DeleteTag(ctx context.Context, req *DeleteTagRequest) (*empty.Empty, error) { 3317 return nil, status.Errorf(codes.Unimplemented, "method DeleteTag not implemented") 3318} 3319func (*UnimplementedIncidentServiceServer) ListTags(ctx context.Context, req *ListTagsRequest) (*ListTagsResponse, error) { 3320 return nil, status.Errorf(codes.Unimplemented, "method ListTags not implemented") 3321} 3322func (*UnimplementedIncidentServiceServer) CreateSignal(ctx context.Context, req *CreateSignalRequest) (*Signal, error) { 3323 return nil, status.Errorf(codes.Unimplemented, "method CreateSignal not implemented") 3324} 3325func (*UnimplementedIncidentServiceServer) SearchSignals(ctx context.Context, req *SearchSignalsRequest) (*SearchSignalsResponse, error) { 3326 return nil, status.Errorf(codes.Unimplemented, "method SearchSignals not implemented") 3327} 3328func (*UnimplementedIncidentServiceServer) LookupSignal(ctx context.Context, req *LookupSignalRequest) (*Signal, error) { 3329 return nil, status.Errorf(codes.Unimplemented, "method LookupSignal not implemented") 3330} 3331func (*UnimplementedIncidentServiceServer) GetSignal(ctx context.Context, req *GetSignalRequest) (*Signal, error) { 3332 return nil, status.Errorf(codes.Unimplemented, "method GetSignal not implemented") 3333} 3334func (*UnimplementedIncidentServiceServer) UpdateSignal(ctx context.Context, req *UpdateSignalRequest) (*Signal, error) { 3335 return nil, status.Errorf(codes.Unimplemented, "method UpdateSignal not implemented") 3336} 3337func (*UnimplementedIncidentServiceServer) EscalateIncident(ctx context.Context, req *EscalateIncidentRequest) (*EscalateIncidentResponse, error) { 3338 return nil, status.Errorf(codes.Unimplemented, "method EscalateIncident not implemented") 3339} 3340func (*UnimplementedIncidentServiceServer) CreateArtifact(ctx context.Context, req *CreateArtifactRequest) (*Artifact, error) { 3341 return nil, status.Errorf(codes.Unimplemented, "method CreateArtifact not implemented") 3342} 3343func (*UnimplementedIncidentServiceServer) ListArtifacts(ctx context.Context, req *ListArtifactsRequest) (*ListArtifactsResponse, error) { 3344 return nil, status.Errorf(codes.Unimplemented, "method ListArtifacts not implemented") 3345} 3346func (*UnimplementedIncidentServiceServer) UpdateArtifact(ctx context.Context, req *UpdateArtifactRequest) (*Artifact, error) { 3347 return nil, status.Errorf(codes.Unimplemented, "method UpdateArtifact not implemented") 3348} 3349func (*UnimplementedIncidentServiceServer) DeleteArtifact(ctx context.Context, req *DeleteArtifactRequest) (*empty.Empty, error) { 3350 return nil, status.Errorf(codes.Unimplemented, "method DeleteArtifact not implemented") 3351} 3352func (*UnimplementedIncidentServiceServer) SendShiftHandoff(ctx context.Context, req *SendShiftHandoffRequest) (*SendShiftHandoffResponse, error) { 3353 return nil, status.Errorf(codes.Unimplemented, "method SendShiftHandoff not implemented") 3354} 3355func (*UnimplementedIncidentServiceServer) CreateSubscription(ctx context.Context, req *CreateSubscriptionRequest) (*Subscription, error) { 3356 return nil, status.Errorf(codes.Unimplemented, "method CreateSubscription not implemented") 3357} 3358func (*UnimplementedIncidentServiceServer) UpdateSubscription(ctx context.Context, req *UpdateSubscriptionRequest) (*Subscription, error) { 3359 return nil, status.Errorf(codes.Unimplemented, "method UpdateSubscription not implemented") 3360} 3361func (*UnimplementedIncidentServiceServer) ListSubscriptions(ctx context.Context, req *ListSubscriptionsRequest) (*ListSubscriptionsResponse, error) { 3362 return nil, status.Errorf(codes.Unimplemented, "method ListSubscriptions not implemented") 3363} 3364func (*UnimplementedIncidentServiceServer) DeleteSubscription(ctx context.Context, req *DeleteSubscriptionRequest) (*empty.Empty, error) { 3365 return nil, status.Errorf(codes.Unimplemented, "method DeleteSubscription not implemented") 3366} 3367func (*UnimplementedIncidentServiceServer) CreateIncidentRoleAssignment(ctx context.Context, req *CreateIncidentRoleAssignmentRequest) (*IncidentRoleAssignment, error) { 3368 return nil, status.Errorf(codes.Unimplemented, "method CreateIncidentRoleAssignment not implemented") 3369} 3370func (*UnimplementedIncidentServiceServer) DeleteIncidentRoleAssignment(ctx context.Context, req *DeleteIncidentRoleAssignmentRequest) (*empty.Empty, error) { 3371 return nil, status.Errorf(codes.Unimplemented, "method DeleteIncidentRoleAssignment not implemented") 3372} 3373func (*UnimplementedIncidentServiceServer) ListIncidentRoleAssignments(ctx context.Context, req *ListIncidentRoleAssignmentsRequest) (*ListIncidentRoleAssignmentsResponse, error) { 3374 return nil, status.Errorf(codes.Unimplemented, "method ListIncidentRoleAssignments not implemented") 3375} 3376func (*UnimplementedIncidentServiceServer) RequestIncidentRoleHandover(ctx context.Context, req *RequestIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) { 3377 return nil, status.Errorf(codes.Unimplemented, "method RequestIncidentRoleHandover not implemented") 3378} 3379func (*UnimplementedIncidentServiceServer) ConfirmIncidentRoleHandover(ctx context.Context, req *ConfirmIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) { 3380 return nil, status.Errorf(codes.Unimplemented, "method ConfirmIncidentRoleHandover not implemented") 3381} 3382func (*UnimplementedIncidentServiceServer) ForceIncidentRoleHandover(ctx context.Context, req *ForceIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) { 3383 return nil, status.Errorf(codes.Unimplemented, "method ForceIncidentRoleHandover not implemented") 3384} 3385func (*UnimplementedIncidentServiceServer) CancelIncidentRoleHandover(ctx context.Context, req *CancelIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) { 3386 return nil, status.Errorf(codes.Unimplemented, "method CancelIncidentRoleHandover not implemented") 3387} 3388 3389func RegisterIncidentServiceServer(s *grpc.Server, srv IncidentServiceServer) { 3390 s.RegisterService(&_IncidentService_serviceDesc, srv) 3391} 3392 3393func _IncidentService_CreateIncident_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3394 in := new(CreateIncidentRequest) 3395 if err := dec(in); err != nil { 3396 return nil, err 3397 } 3398 if interceptor == nil { 3399 return srv.(IncidentServiceServer).CreateIncident(ctx, in) 3400 } 3401 info := &grpc.UnaryServerInfo{ 3402 Server: srv, 3403 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/CreateIncident", 3404 } 3405 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3406 return srv.(IncidentServiceServer).CreateIncident(ctx, req.(*CreateIncidentRequest)) 3407 } 3408 return interceptor(ctx, in, info, handler) 3409} 3410 3411func _IncidentService_GetIncident_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3412 in := new(GetIncidentRequest) 3413 if err := dec(in); err != nil { 3414 return nil, err 3415 } 3416 if interceptor == nil { 3417 return srv.(IncidentServiceServer).GetIncident(ctx, in) 3418 } 3419 info := &grpc.UnaryServerInfo{ 3420 Server: srv, 3421 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/GetIncident", 3422 } 3423 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3424 return srv.(IncidentServiceServer).GetIncident(ctx, req.(*GetIncidentRequest)) 3425 } 3426 return interceptor(ctx, in, info, handler) 3427} 3428 3429func _IncidentService_SearchIncidents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3430 in := new(SearchIncidentsRequest) 3431 if err := dec(in); err != nil { 3432 return nil, err 3433 } 3434 if interceptor == nil { 3435 return srv.(IncidentServiceServer).SearchIncidents(ctx, in) 3436 } 3437 info := &grpc.UnaryServerInfo{ 3438 Server: srv, 3439 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/SearchIncidents", 3440 } 3441 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3442 return srv.(IncidentServiceServer).SearchIncidents(ctx, req.(*SearchIncidentsRequest)) 3443 } 3444 return interceptor(ctx, in, info, handler) 3445} 3446 3447func _IncidentService_UpdateIncident_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3448 in := new(UpdateIncidentRequest) 3449 if err := dec(in); err != nil { 3450 return nil, err 3451 } 3452 if interceptor == nil { 3453 return srv.(IncidentServiceServer).UpdateIncident(ctx, in) 3454 } 3455 info := &grpc.UnaryServerInfo{ 3456 Server: srv, 3457 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/UpdateIncident", 3458 } 3459 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3460 return srv.(IncidentServiceServer).UpdateIncident(ctx, req.(*UpdateIncidentRequest)) 3461 } 3462 return interceptor(ctx, in, info, handler) 3463} 3464 3465func _IncidentService_SearchSimilarIncidents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3466 in := new(SearchSimilarIncidentsRequest) 3467 if err := dec(in); err != nil { 3468 return nil, err 3469 } 3470 if interceptor == nil { 3471 return srv.(IncidentServiceServer).SearchSimilarIncidents(ctx, in) 3472 } 3473 info := &grpc.UnaryServerInfo{ 3474 Server: srv, 3475 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/SearchSimilarIncidents", 3476 } 3477 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3478 return srv.(IncidentServiceServer).SearchSimilarIncidents(ctx, req.(*SearchSimilarIncidentsRequest)) 3479 } 3480 return interceptor(ctx, in, info, handler) 3481} 3482 3483func _IncidentService_CreateAnnotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3484 in := new(CreateAnnotationRequest) 3485 if err := dec(in); err != nil { 3486 return nil, err 3487 } 3488 if interceptor == nil { 3489 return srv.(IncidentServiceServer).CreateAnnotation(ctx, in) 3490 } 3491 info := &grpc.UnaryServerInfo{ 3492 Server: srv, 3493 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/CreateAnnotation", 3494 } 3495 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3496 return srv.(IncidentServiceServer).CreateAnnotation(ctx, req.(*CreateAnnotationRequest)) 3497 } 3498 return interceptor(ctx, in, info, handler) 3499} 3500 3501func _IncidentService_ListAnnotations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3502 in := new(ListAnnotationsRequest) 3503 if err := dec(in); err != nil { 3504 return nil, err 3505 } 3506 if interceptor == nil { 3507 return srv.(IncidentServiceServer).ListAnnotations(ctx, in) 3508 } 3509 info := &grpc.UnaryServerInfo{ 3510 Server: srv, 3511 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/ListAnnotations", 3512 } 3513 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3514 return srv.(IncidentServiceServer).ListAnnotations(ctx, req.(*ListAnnotationsRequest)) 3515 } 3516 return interceptor(ctx, in, info, handler) 3517} 3518 3519func _IncidentService_CreateTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3520 in := new(CreateTagRequest) 3521 if err := dec(in); err != nil { 3522 return nil, err 3523 } 3524 if interceptor == nil { 3525 return srv.(IncidentServiceServer).CreateTag(ctx, in) 3526 } 3527 info := &grpc.UnaryServerInfo{ 3528 Server: srv, 3529 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/CreateTag", 3530 } 3531 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3532 return srv.(IncidentServiceServer).CreateTag(ctx, req.(*CreateTagRequest)) 3533 } 3534 return interceptor(ctx, in, info, handler) 3535} 3536 3537func _IncidentService_DeleteTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3538 in := new(DeleteTagRequest) 3539 if err := dec(in); err != nil { 3540 return nil, err 3541 } 3542 if interceptor == nil { 3543 return srv.(IncidentServiceServer).DeleteTag(ctx, in) 3544 } 3545 info := &grpc.UnaryServerInfo{ 3546 Server: srv, 3547 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/DeleteTag", 3548 } 3549 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3550 return srv.(IncidentServiceServer).DeleteTag(ctx, req.(*DeleteTagRequest)) 3551 } 3552 return interceptor(ctx, in, info, handler) 3553} 3554 3555func _IncidentService_ListTags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3556 in := new(ListTagsRequest) 3557 if err := dec(in); err != nil { 3558 return nil, err 3559 } 3560 if interceptor == nil { 3561 return srv.(IncidentServiceServer).ListTags(ctx, in) 3562 } 3563 info := &grpc.UnaryServerInfo{ 3564 Server: srv, 3565 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/ListTags", 3566 } 3567 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3568 return srv.(IncidentServiceServer).ListTags(ctx, req.(*ListTagsRequest)) 3569 } 3570 return interceptor(ctx, in, info, handler) 3571} 3572 3573func _IncidentService_CreateSignal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3574 in := new(CreateSignalRequest) 3575 if err := dec(in); err != nil { 3576 return nil, err 3577 } 3578 if interceptor == nil { 3579 return srv.(IncidentServiceServer).CreateSignal(ctx, in) 3580 } 3581 info := &grpc.UnaryServerInfo{ 3582 Server: srv, 3583 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/CreateSignal", 3584 } 3585 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3586 return srv.(IncidentServiceServer).CreateSignal(ctx, req.(*CreateSignalRequest)) 3587 } 3588 return interceptor(ctx, in, info, handler) 3589} 3590 3591func _IncidentService_SearchSignals_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3592 in := new(SearchSignalsRequest) 3593 if err := dec(in); err != nil { 3594 return nil, err 3595 } 3596 if interceptor == nil { 3597 return srv.(IncidentServiceServer).SearchSignals(ctx, in) 3598 } 3599 info := &grpc.UnaryServerInfo{ 3600 Server: srv, 3601 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/SearchSignals", 3602 } 3603 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3604 return srv.(IncidentServiceServer).SearchSignals(ctx, req.(*SearchSignalsRequest)) 3605 } 3606 return interceptor(ctx, in, info, handler) 3607} 3608 3609func _IncidentService_LookupSignal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3610 in := new(LookupSignalRequest) 3611 if err := dec(in); err != nil { 3612 return nil, err 3613 } 3614 if interceptor == nil { 3615 return srv.(IncidentServiceServer).LookupSignal(ctx, in) 3616 } 3617 info := &grpc.UnaryServerInfo{ 3618 Server: srv, 3619 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/LookupSignal", 3620 } 3621 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3622 return srv.(IncidentServiceServer).LookupSignal(ctx, req.(*LookupSignalRequest)) 3623 } 3624 return interceptor(ctx, in, info, handler) 3625} 3626 3627func _IncidentService_GetSignal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3628 in := new(GetSignalRequest) 3629 if err := dec(in); err != nil { 3630 return nil, err 3631 } 3632 if interceptor == nil { 3633 return srv.(IncidentServiceServer).GetSignal(ctx, in) 3634 } 3635 info := &grpc.UnaryServerInfo{ 3636 Server: srv, 3637 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/GetSignal", 3638 } 3639 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3640 return srv.(IncidentServiceServer).GetSignal(ctx, req.(*GetSignalRequest)) 3641 } 3642 return interceptor(ctx, in, info, handler) 3643} 3644 3645func _IncidentService_UpdateSignal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3646 in := new(UpdateSignalRequest) 3647 if err := dec(in); err != nil { 3648 return nil, err 3649 } 3650 if interceptor == nil { 3651 return srv.(IncidentServiceServer).UpdateSignal(ctx, in) 3652 } 3653 info := &grpc.UnaryServerInfo{ 3654 Server: srv, 3655 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/UpdateSignal", 3656 } 3657 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3658 return srv.(IncidentServiceServer).UpdateSignal(ctx, req.(*UpdateSignalRequest)) 3659 } 3660 return interceptor(ctx, in, info, handler) 3661} 3662 3663func _IncidentService_EscalateIncident_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3664 in := new(EscalateIncidentRequest) 3665 if err := dec(in); err != nil { 3666 return nil, err 3667 } 3668 if interceptor == nil { 3669 return srv.(IncidentServiceServer).EscalateIncident(ctx, in) 3670 } 3671 info := &grpc.UnaryServerInfo{ 3672 Server: srv, 3673 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/EscalateIncident", 3674 } 3675 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3676 return srv.(IncidentServiceServer).EscalateIncident(ctx, req.(*EscalateIncidentRequest)) 3677 } 3678 return interceptor(ctx, in, info, handler) 3679} 3680 3681func _IncidentService_CreateArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3682 in := new(CreateArtifactRequest) 3683 if err := dec(in); err != nil { 3684 return nil, err 3685 } 3686 if interceptor == nil { 3687 return srv.(IncidentServiceServer).CreateArtifact(ctx, in) 3688 } 3689 info := &grpc.UnaryServerInfo{ 3690 Server: srv, 3691 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/CreateArtifact", 3692 } 3693 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3694 return srv.(IncidentServiceServer).CreateArtifact(ctx, req.(*CreateArtifactRequest)) 3695 } 3696 return interceptor(ctx, in, info, handler) 3697} 3698 3699func _IncidentService_ListArtifacts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3700 in := new(ListArtifactsRequest) 3701 if err := dec(in); err != nil { 3702 return nil, err 3703 } 3704 if interceptor == nil { 3705 return srv.(IncidentServiceServer).ListArtifacts(ctx, in) 3706 } 3707 info := &grpc.UnaryServerInfo{ 3708 Server: srv, 3709 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/ListArtifacts", 3710 } 3711 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3712 return srv.(IncidentServiceServer).ListArtifacts(ctx, req.(*ListArtifactsRequest)) 3713 } 3714 return interceptor(ctx, in, info, handler) 3715} 3716 3717func _IncidentService_UpdateArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3718 in := new(UpdateArtifactRequest) 3719 if err := dec(in); err != nil { 3720 return nil, err 3721 } 3722 if interceptor == nil { 3723 return srv.(IncidentServiceServer).UpdateArtifact(ctx, in) 3724 } 3725 info := &grpc.UnaryServerInfo{ 3726 Server: srv, 3727 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/UpdateArtifact", 3728 } 3729 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3730 return srv.(IncidentServiceServer).UpdateArtifact(ctx, req.(*UpdateArtifactRequest)) 3731 } 3732 return interceptor(ctx, in, info, handler) 3733} 3734 3735func _IncidentService_DeleteArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3736 in := new(DeleteArtifactRequest) 3737 if err := dec(in); err != nil { 3738 return nil, err 3739 } 3740 if interceptor == nil { 3741 return srv.(IncidentServiceServer).DeleteArtifact(ctx, in) 3742 } 3743 info := &grpc.UnaryServerInfo{ 3744 Server: srv, 3745 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/DeleteArtifact", 3746 } 3747 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3748 return srv.(IncidentServiceServer).DeleteArtifact(ctx, req.(*DeleteArtifactRequest)) 3749 } 3750 return interceptor(ctx, in, info, handler) 3751} 3752 3753func _IncidentService_SendShiftHandoff_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3754 in := new(SendShiftHandoffRequest) 3755 if err := dec(in); err != nil { 3756 return nil, err 3757 } 3758 if interceptor == nil { 3759 return srv.(IncidentServiceServer).SendShiftHandoff(ctx, in) 3760 } 3761 info := &grpc.UnaryServerInfo{ 3762 Server: srv, 3763 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/SendShiftHandoff", 3764 } 3765 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3766 return srv.(IncidentServiceServer).SendShiftHandoff(ctx, req.(*SendShiftHandoffRequest)) 3767 } 3768 return interceptor(ctx, in, info, handler) 3769} 3770 3771func _IncidentService_CreateSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3772 in := new(CreateSubscriptionRequest) 3773 if err := dec(in); err != nil { 3774 return nil, err 3775 } 3776 if interceptor == nil { 3777 return srv.(IncidentServiceServer).CreateSubscription(ctx, in) 3778 } 3779 info := &grpc.UnaryServerInfo{ 3780 Server: srv, 3781 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/CreateSubscription", 3782 } 3783 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3784 return srv.(IncidentServiceServer).CreateSubscription(ctx, req.(*CreateSubscriptionRequest)) 3785 } 3786 return interceptor(ctx, in, info, handler) 3787} 3788 3789func _IncidentService_UpdateSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3790 in := new(UpdateSubscriptionRequest) 3791 if err := dec(in); err != nil { 3792 return nil, err 3793 } 3794 if interceptor == nil { 3795 return srv.(IncidentServiceServer).UpdateSubscription(ctx, in) 3796 } 3797 info := &grpc.UnaryServerInfo{ 3798 Server: srv, 3799 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/UpdateSubscription", 3800 } 3801 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3802 return srv.(IncidentServiceServer).UpdateSubscription(ctx, req.(*UpdateSubscriptionRequest)) 3803 } 3804 return interceptor(ctx, in, info, handler) 3805} 3806 3807func _IncidentService_ListSubscriptions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3808 in := new(ListSubscriptionsRequest) 3809 if err := dec(in); err != nil { 3810 return nil, err 3811 } 3812 if interceptor == nil { 3813 return srv.(IncidentServiceServer).ListSubscriptions(ctx, in) 3814 } 3815 info := &grpc.UnaryServerInfo{ 3816 Server: srv, 3817 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/ListSubscriptions", 3818 } 3819 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3820 return srv.(IncidentServiceServer).ListSubscriptions(ctx, req.(*ListSubscriptionsRequest)) 3821 } 3822 return interceptor(ctx, in, info, handler) 3823} 3824 3825func _IncidentService_DeleteSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3826 in := new(DeleteSubscriptionRequest) 3827 if err := dec(in); err != nil { 3828 return nil, err 3829 } 3830 if interceptor == nil { 3831 return srv.(IncidentServiceServer).DeleteSubscription(ctx, in) 3832 } 3833 info := &grpc.UnaryServerInfo{ 3834 Server: srv, 3835 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/DeleteSubscription", 3836 } 3837 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3838 return srv.(IncidentServiceServer).DeleteSubscription(ctx, req.(*DeleteSubscriptionRequest)) 3839 } 3840 return interceptor(ctx, in, info, handler) 3841} 3842 3843func _IncidentService_CreateIncidentRoleAssignment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3844 in := new(CreateIncidentRoleAssignmentRequest) 3845 if err := dec(in); err != nil { 3846 return nil, err 3847 } 3848 if interceptor == nil { 3849 return srv.(IncidentServiceServer).CreateIncidentRoleAssignment(ctx, in) 3850 } 3851 info := &grpc.UnaryServerInfo{ 3852 Server: srv, 3853 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/CreateIncidentRoleAssignment", 3854 } 3855 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3856 return srv.(IncidentServiceServer).CreateIncidentRoleAssignment(ctx, req.(*CreateIncidentRoleAssignmentRequest)) 3857 } 3858 return interceptor(ctx, in, info, handler) 3859} 3860 3861func _IncidentService_DeleteIncidentRoleAssignment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3862 in := new(DeleteIncidentRoleAssignmentRequest) 3863 if err := dec(in); err != nil { 3864 return nil, err 3865 } 3866 if interceptor == nil { 3867 return srv.(IncidentServiceServer).DeleteIncidentRoleAssignment(ctx, in) 3868 } 3869 info := &grpc.UnaryServerInfo{ 3870 Server: srv, 3871 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/DeleteIncidentRoleAssignment", 3872 } 3873 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3874 return srv.(IncidentServiceServer).DeleteIncidentRoleAssignment(ctx, req.(*DeleteIncidentRoleAssignmentRequest)) 3875 } 3876 return interceptor(ctx, in, info, handler) 3877} 3878 3879func _IncidentService_ListIncidentRoleAssignments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3880 in := new(ListIncidentRoleAssignmentsRequest) 3881 if err := dec(in); err != nil { 3882 return nil, err 3883 } 3884 if interceptor == nil { 3885 return srv.(IncidentServiceServer).ListIncidentRoleAssignments(ctx, in) 3886 } 3887 info := &grpc.UnaryServerInfo{ 3888 Server: srv, 3889 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/ListIncidentRoleAssignments", 3890 } 3891 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3892 return srv.(IncidentServiceServer).ListIncidentRoleAssignments(ctx, req.(*ListIncidentRoleAssignmentsRequest)) 3893 } 3894 return interceptor(ctx, in, info, handler) 3895} 3896 3897func _IncidentService_RequestIncidentRoleHandover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3898 in := new(RequestIncidentRoleHandoverRequest) 3899 if err := dec(in); err != nil { 3900 return nil, err 3901 } 3902 if interceptor == nil { 3903 return srv.(IncidentServiceServer).RequestIncidentRoleHandover(ctx, in) 3904 } 3905 info := &grpc.UnaryServerInfo{ 3906 Server: srv, 3907 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/RequestIncidentRoleHandover", 3908 } 3909 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3910 return srv.(IncidentServiceServer).RequestIncidentRoleHandover(ctx, req.(*RequestIncidentRoleHandoverRequest)) 3911 } 3912 return interceptor(ctx, in, info, handler) 3913} 3914 3915func _IncidentService_ConfirmIncidentRoleHandover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3916 in := new(ConfirmIncidentRoleHandoverRequest) 3917 if err := dec(in); err != nil { 3918 return nil, err 3919 } 3920 if interceptor == nil { 3921 return srv.(IncidentServiceServer).ConfirmIncidentRoleHandover(ctx, in) 3922 } 3923 info := &grpc.UnaryServerInfo{ 3924 Server: srv, 3925 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/ConfirmIncidentRoleHandover", 3926 } 3927 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3928 return srv.(IncidentServiceServer).ConfirmIncidentRoleHandover(ctx, req.(*ConfirmIncidentRoleHandoverRequest)) 3929 } 3930 return interceptor(ctx, in, info, handler) 3931} 3932 3933func _IncidentService_ForceIncidentRoleHandover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3934 in := new(ForceIncidentRoleHandoverRequest) 3935 if err := dec(in); err != nil { 3936 return nil, err 3937 } 3938 if interceptor == nil { 3939 return srv.(IncidentServiceServer).ForceIncidentRoleHandover(ctx, in) 3940 } 3941 info := &grpc.UnaryServerInfo{ 3942 Server: srv, 3943 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/ForceIncidentRoleHandover", 3944 } 3945 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3946 return srv.(IncidentServiceServer).ForceIncidentRoleHandover(ctx, req.(*ForceIncidentRoleHandoverRequest)) 3947 } 3948 return interceptor(ctx, in, info, handler) 3949} 3950 3951func _IncidentService_CancelIncidentRoleHandover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3952 in := new(CancelIncidentRoleHandoverRequest) 3953 if err := dec(in); err != nil { 3954 return nil, err 3955 } 3956 if interceptor == nil { 3957 return srv.(IncidentServiceServer).CancelIncidentRoleHandover(ctx, in) 3958 } 3959 info := &grpc.UnaryServerInfo{ 3960 Server: srv, 3961 FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/CancelIncidentRoleHandover", 3962 } 3963 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3964 return srv.(IncidentServiceServer).CancelIncidentRoleHandover(ctx, req.(*CancelIncidentRoleHandoverRequest)) 3965 } 3966 return interceptor(ctx, in, info, handler) 3967} 3968 3969var _IncidentService_serviceDesc = grpc.ServiceDesc{ 3970 ServiceName: "google.cloud.irm.v1alpha2.IncidentService", 3971 HandlerType: (*IncidentServiceServer)(nil), 3972 Methods: []grpc.MethodDesc{ 3973 { 3974 MethodName: "CreateIncident", 3975 Handler: _IncidentService_CreateIncident_Handler, 3976 }, 3977 { 3978 MethodName: "GetIncident", 3979 Handler: _IncidentService_GetIncident_Handler, 3980 }, 3981 { 3982 MethodName: "SearchIncidents", 3983 Handler: _IncidentService_SearchIncidents_Handler, 3984 }, 3985 { 3986 MethodName: "UpdateIncident", 3987 Handler: _IncidentService_UpdateIncident_Handler, 3988 }, 3989 { 3990 MethodName: "SearchSimilarIncidents", 3991 Handler: _IncidentService_SearchSimilarIncidents_Handler, 3992 }, 3993 { 3994 MethodName: "CreateAnnotation", 3995 Handler: _IncidentService_CreateAnnotation_Handler, 3996 }, 3997 { 3998 MethodName: "ListAnnotations", 3999 Handler: _IncidentService_ListAnnotations_Handler, 4000 }, 4001 { 4002 MethodName: "CreateTag", 4003 Handler: _IncidentService_CreateTag_Handler, 4004 }, 4005 { 4006 MethodName: "DeleteTag", 4007 Handler: _IncidentService_DeleteTag_Handler, 4008 }, 4009 { 4010 MethodName: "ListTags", 4011 Handler: _IncidentService_ListTags_Handler, 4012 }, 4013 { 4014 MethodName: "CreateSignal", 4015 Handler: _IncidentService_CreateSignal_Handler, 4016 }, 4017 { 4018 MethodName: "SearchSignals", 4019 Handler: _IncidentService_SearchSignals_Handler, 4020 }, 4021 { 4022 MethodName: "LookupSignal", 4023 Handler: _IncidentService_LookupSignal_Handler, 4024 }, 4025 { 4026 MethodName: "GetSignal", 4027 Handler: _IncidentService_GetSignal_Handler, 4028 }, 4029 { 4030 MethodName: "UpdateSignal", 4031 Handler: _IncidentService_UpdateSignal_Handler, 4032 }, 4033 { 4034 MethodName: "EscalateIncident", 4035 Handler: _IncidentService_EscalateIncident_Handler, 4036 }, 4037 { 4038 MethodName: "CreateArtifact", 4039 Handler: _IncidentService_CreateArtifact_Handler, 4040 }, 4041 { 4042 MethodName: "ListArtifacts", 4043 Handler: _IncidentService_ListArtifacts_Handler, 4044 }, 4045 { 4046 MethodName: "UpdateArtifact", 4047 Handler: _IncidentService_UpdateArtifact_Handler, 4048 }, 4049 { 4050 MethodName: "DeleteArtifact", 4051 Handler: _IncidentService_DeleteArtifact_Handler, 4052 }, 4053 { 4054 MethodName: "SendShiftHandoff", 4055 Handler: _IncidentService_SendShiftHandoff_Handler, 4056 }, 4057 { 4058 MethodName: "CreateSubscription", 4059 Handler: _IncidentService_CreateSubscription_Handler, 4060 }, 4061 { 4062 MethodName: "UpdateSubscription", 4063 Handler: _IncidentService_UpdateSubscription_Handler, 4064 }, 4065 { 4066 MethodName: "ListSubscriptions", 4067 Handler: _IncidentService_ListSubscriptions_Handler, 4068 }, 4069 { 4070 MethodName: "DeleteSubscription", 4071 Handler: _IncidentService_DeleteSubscription_Handler, 4072 }, 4073 { 4074 MethodName: "CreateIncidentRoleAssignment", 4075 Handler: _IncidentService_CreateIncidentRoleAssignment_Handler, 4076 }, 4077 { 4078 MethodName: "DeleteIncidentRoleAssignment", 4079 Handler: _IncidentService_DeleteIncidentRoleAssignment_Handler, 4080 }, 4081 { 4082 MethodName: "ListIncidentRoleAssignments", 4083 Handler: _IncidentService_ListIncidentRoleAssignments_Handler, 4084 }, 4085 { 4086 MethodName: "RequestIncidentRoleHandover", 4087 Handler: _IncidentService_RequestIncidentRoleHandover_Handler, 4088 }, 4089 { 4090 MethodName: "ConfirmIncidentRoleHandover", 4091 Handler: _IncidentService_ConfirmIncidentRoleHandover_Handler, 4092 }, 4093 { 4094 MethodName: "ForceIncidentRoleHandover", 4095 Handler: _IncidentService_ForceIncidentRoleHandover_Handler, 4096 }, 4097 { 4098 MethodName: "CancelIncidentRoleHandover", 4099 Handler: _IncidentService_CancelIncidentRoleHandover_Handler, 4100 }, 4101 }, 4102 Streams: []grpc.StreamDesc{}, 4103 Metadata: "google/cloud/irm/v1alpha2/incidents_service.proto", 4104} 4105