// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.12.3 // source: google/cloud/irm/v1alpha2/incidents_service.proto package irm import ( context "context" reflect "reflect" sync "sync" proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" _ "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // This is a compile-time assertion that a sufficiently up-to-date version // of the legacy proto package is being used. const _ = proto.ProtoPackageIsVersion4 // Request for the CreateIncident method. type CreateIncidentRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The incident to create. Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` // Required. The resource name of the hosting Stackdriver project which the incident // belongs to. // The name is of the form `projects/{project_id_or_number}` // . Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` } func (x *CreateIncidentRequest) Reset() { *x = CreateIncidentRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateIncidentRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateIncidentRequest) ProtoMessage() {} func (x *CreateIncidentRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateIncidentRequest.ProtoReflect.Descriptor instead. func (*CreateIncidentRequest) Descriptor() ([]byte, []int) { return file_google_cloud_irm_v1alpha2_incidents_service_proto_rawDescGZIP(), []int{0} } func (x *CreateIncidentRequest) GetIncident() *Incident { if x != nil { return x.Incident } return nil } func (x *CreateIncidentRequest) GetParent() string { if x != nil { return x.Parent } return "" } // Request for the GetIncident method. type GetIncidentRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } func (x *GetIncidentRequest) Reset() { *x = GetIncidentRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetIncidentRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetIncidentRequest) ProtoMessage() {} func (x *GetIncidentRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetIncidentRequest.ProtoReflect.Descriptor instead. func (*GetIncidentRequest) Descriptor() ([]byte, []int) { return file_google_cloud_irm_v1alpha2_incidents_service_proto_rawDescGZIP(), []int{1} } func (x *GetIncidentRequest) GetName() string { if x != nil { return x.Name } return "" } // Request for the UpdateIncident method. type UpdateIncidentRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The incident to update with the new values. Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` // List of fields that should be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` } func (x *UpdateIncidentRequest) Reset() { *x = UpdateIncidentRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateIncidentRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateIncidentRequest) ProtoMessage() {} func (x *UpdateIncidentRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateIncidentRequest.ProtoReflect.Descriptor instead. func (*UpdateIncidentRequest) Descriptor() ([]byte, []int) { return file_google_cloud_irm_v1alpha2_incidents_service_proto_rawDescGZIP(), []int{2} } func (x *UpdateIncidentRequest) GetIncident() *Incident { if x != nil { return x.Incident } return nil } func (x *UpdateIncidentRequest) GetUpdateMask() *field_mask.FieldMask { if x != nil { return x.UpdateMask } return nil } // Request for the SearchSimilarIncidents method. type SearchSimilarIncidentsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. Resource name of the incident or signal, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Number of similar incidents to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token from an earlier query, as returned in 'next_page_token'. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } func (x *SearchSimilarIncidentsRequest) Reset() { *x = SearchSimilarIncidentsRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SearchSimilarIncidentsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchSimilarIncidentsRequest) ProtoMessage() {} func (x *SearchSimilarIncidentsRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SearchSimilarIncidentsRequest.ProtoReflect.Descriptor instead. func (*SearchSimilarIncidentsRequest) Descriptor() ([]byte, []int) { return file_google_cloud_irm_v1alpha2_incidents_service_proto_rawDescGZIP(), []int{3} } func (x *SearchSimilarIncidentsRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *SearchSimilarIncidentsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *SearchSimilarIncidentsRequest) GetPageToken() string { if x != nil { return x.PageToken } return "" } // Response for the SearchSimilarIncidents method. type SearchSimilarIncidentsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The search results, ordered by descending relevance. Results []*SearchSimilarIncidentsResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // Page token to fetch the next set of similar incidents. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } func (x *SearchSimilarIncidentsResponse) Reset() { *x = SearchSimilarIncidentsResponse{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SearchSimilarIncidentsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchSimilarIncidentsResponse) ProtoMessage() {} func (x *SearchSimilarIncidentsResponse) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SearchSimilarIncidentsResponse.ProtoReflect.Descriptor instead. func (*SearchSimilarIncidentsResponse) Descriptor() ([]byte, []int) { return file_google_cloud_irm_v1alpha2_incidents_service_proto_rawDescGZIP(), []int{4} } func (x *SearchSimilarIncidentsResponse) GetResults() []*SearchSimilarIncidentsResponse_Result { if x != nil { return x.Results } return nil } func (x *SearchSimilarIncidentsResponse) GetNextPageToken() string { if x != nil { return x.NextPageToken } return "" } // Request for the CreateAnnotation method. type CreateAnnotationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Only annotation.content is an input argument. Annotation *Annotation `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"` } func (x *CreateAnnotationRequest) Reset() { *x = CreateAnnotationRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateAnnotationRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateAnnotationRequest) ProtoMessage() {} func (x *CreateAnnotationRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateAnnotationRequest.ProtoReflect.Descriptor instead. func (*CreateAnnotationRequest) Descriptor() ([]byte, []int) { return file_google_cloud_irm_v1alpha2_incidents_service_proto_rawDescGZIP(), []int{5} } func (x *CreateAnnotationRequest) GetParent() string { if x != nil { return x.Parent } return "" } func (x *CreateAnnotationRequest) GetAnnotation() *Annotation { if x != nil { return x.Annotation } return nil } // Request for the ListAnnotations method. type ListAnnotationsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Number of annotations to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token from an earlier query, as returned in `next_page_token`. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } func (x *ListAnnotationsRequest) Reset() { *x = ListAnnotationsRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListAnnotationsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListAnnotationsRequest) ProtoMessage() {} func (x *ListAnnotationsRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListAnnotationsRequest.ProtoReflect.Descriptor instead. func (*ListAnnotationsRequest) Descriptor() ([]byte, []int) { return file_google_cloud_irm_v1alpha2_incidents_service_proto_rawDescGZIP(), []int{6} } func (x *ListAnnotationsRequest) GetParent() string { if x != nil { return x.Parent } return "" } func (x *ListAnnotationsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *ListAnnotationsRequest) GetPageToken() string { if x != nil { return x.PageToken } return "" } // Response for the ListAnnotations method. type ListAnnotationsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // List of annotations. Annotations []*Annotation `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` // Page token to fetch the next set of annotations. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } func (x *ListAnnotationsResponse) Reset() { *x = ListAnnotationsResponse{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListAnnotationsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListAnnotationsResponse) ProtoMessage() {} func (x *ListAnnotationsResponse) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListAnnotationsResponse.ProtoReflect.Descriptor instead. func (*ListAnnotationsResponse) Descriptor() ([]byte, []int) { return file_google_cloud_irm_v1alpha2_incidents_service_proto_rawDescGZIP(), []int{7} } func (x *ListAnnotationsResponse) GetAnnotations() []*Annotation { if x != nil { return x.Annotations } return nil } func (x *ListAnnotationsResponse) GetNextPageToken() string { if x != nil { return x.NextPageToken } return "" } // Request for the CreateTag method. type CreateTagRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Tag to create. Only tag.display_name is an input argument. Tag *Tag `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` } func (x *CreateTagRequest) Reset() { *x = CreateTagRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateTagRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateTagRequest) ProtoMessage() {} func (x *CreateTagRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead. func (*CreateTagRequest) Descriptor() ([]byte, []int) { return file_google_cloud_irm_v1alpha2_incidents_service_proto_rawDescGZIP(), []int{8} } func (x *CreateTagRequest) GetParent() string { if x != nil { return x.Parent } return "" } func (x *CreateTagRequest) GetTag() *Tag { if x != nil { return x.Tag } return nil } // Request for the DeleteTag method. type DeleteTagRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. Resource name of the tag. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } func (x *DeleteTagRequest) Reset() { *x = DeleteTagRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteTagRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteTagRequest) ProtoMessage() {} func (x *DeleteTagRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead. func (*DeleteTagRequest) Descriptor() ([]byte, []int) { return file_google_cloud_irm_v1alpha2_incidents_service_proto_rawDescGZIP(), []int{9} } func (x *DeleteTagRequest) GetName() string { if x != nil { return x.Name } return "" } // Request for the ListTagsForIncident method. type ListTagsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Number of tags to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token from an earlier query, as returned in `next_page_token`. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } func (x *ListTagsRequest) Reset() { *x = ListTagsRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListTagsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListTagsRequest) ProtoMessage() {} func (x *ListTagsRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead. func (*ListTagsRequest) Descriptor() ([]byte, []int) { return file_google_cloud_irm_v1alpha2_incidents_service_proto_rawDescGZIP(), []int{10} } func (x *ListTagsRequest) GetParent() string { if x != nil { return x.Parent } return "" } func (x *ListTagsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *ListTagsRequest) GetPageToken() string { if x != nil { return x.PageToken } return "" } // Response for the ListTagsForIncident method. type ListTagsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Tags. Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // Page token to fetch the next set of tags. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } func (x *ListTagsResponse) Reset() { *x = ListTagsResponse{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListTagsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListTagsResponse) ProtoMessage() {} func (x *ListTagsResponse) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead. func (*ListTagsResponse) Descriptor() ([]byte, []int) { return file_google_cloud_irm_v1alpha2_incidents_service_proto_rawDescGZIP(), []int{11} } func (x *ListTagsResponse) GetTags() []*Tag { if x != nil { return x.Tags } return nil } func (x *ListTagsResponse) GetNextPageToken() string { if x != nil { return x.NextPageToken } return "" } // Request for the CreateSignal method. type CreateSignalRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The resource name of the hosting Stackdriver project which requested // signal belongs to. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The signal to create. Signal *Signal `protobuf:"bytes,2,opt,name=signal,proto3" json:"signal,omitempty"` } func (x *CreateSignalRequest) Reset() { *x = CreateSignalRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateSignalRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateSignalRequest) ProtoMessage() {} func (x *CreateSignalRequest) ProtoReflect() protoreflect.Message { mi := &file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateSignalRequest.ProtoReflect.Descriptor instead. func (*CreateSignalRequest) Descriptor() ([]byte, []int) { return file_google_cloud_irm_v1alpha2_incidents_service_proto_rawDescGZIP(), []int{12} } func (x *CreateSignalRequest) GetParent() string { if x != nil { return x.Parent } return "" } func (x *CreateSignalRequest) GetSignal() *Signal { if x != nil { return x.Signal } return nil } // Request for the SearchSignals method. type SearchSignalsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The resource name of the hosting Stackdriver project which requested // incidents belong to. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // An expression that defines which signals to return. // // Search atoms can be used to match certain specific fields. Otherwise, // plain text will match text fields in the signal. // // Search atoms: // // * `start` - (timestamp) The time the signal was created. // * `title` - The title of the signal. // * `signal_state` - `open` or `closed`. State of the signal. // (e.g., `signal_state:open`) // // Timestamp formats: // // * yyyy-MM-dd - an absolute date, treated as a calendar-day-wide window. // In other words, the "<" operator will match dates before that date, the // ">" operator will match dates after that date, and the ":" operator will // match the entire day. // * yyyy-MM-ddTHH:mm - Same as above, but with minute resolution. // * yyyy-MM-ddTHH:mm:ss - Same as above, but with second resolution. // * Nd (e.g. 7d) - a relative number of days ago, treated as a moment in time // (as opposed to a day-wide span) a multiple of 24 hours ago (as opposed to // calendar days). In the case of daylight savings time, it will apply the // current timezone to both ends of the range. Note that exact matching // (e.g. `start:7d`) is unlikely to be useful because that would only match // signals created precisely at a particular instant in time. // // The absolute timestamp formats (everything starting with a year) can // optionally be followed with a UTC offset in +/-hh:mm format. Also, the 'T' // separating dates and times can optionally be replaced with a space. Note // that any timestamp containing a space or colon will need to be quoted. // // Examples: // // * `foo` - matches signals containing the word "foo" // * `"foo bar"` - matches signals containing the phrase "foo bar" // * `foo bar` or `foo AND bar` - matches signals containing the words // "foo" and "bar" // * `foo -bar` or `foo AND NOT bar` - matches signals containing the // word // "foo" but not the word "bar" // * `foo OR bar` - matches signals containing the word "foo" or the // word "bar" // * `start>2018-11-28` - matches signals which started after November // 11, 2018. // * `start<=2018-11-28` - matches signals which started on or before // November 11, 2018. // * `start:2018-11-28` - matches signals which started on November 11, // 2018. // * `start>"2018-11-28 01:02:03+04:00"` - matches signals which started // after November 11, 2018 at 1:02:03 AM according to the UTC+04 time // zone. // * `start>7d` - matches signals which started after the point in time // 7*24 hours ago // * `start>180d` - similar to 7d, but likely to cross the daylight savings // time boundary, so the end time will be 1 hour different from "now." // * `foo AND start>90d AND stagemedium`, // `severity<=minor`, etc.). // // Timestamp formats: // * yyyy-MM-dd - an absolute date, treated as a calendar-day-wide window. // In other words, the "<" operator will match dates before that date, the // ">" operator will match dates after that date, and the ":" or "=" // operators will match the entire day. // * Nd (for example, 7d) - a relative number of days ago, treated as a moment // in time (as opposed to a day-wide span). A multiple of 24 hours ago (as // opposed to calendar days). In the case of daylight savings time, it will // apply the current timezone to both ends of the range. Note that exact // matching (for example, `start:7d`) is unlikely to be useful because that // would only match incidents created precisely at a particular instant in // time. // // Examples: // // * `foo` - matches incidents containing the word "foo" // * `"foo bar"` - matches incidents containing the phrase "foo bar" // * `foo bar` or `foo AND bar` - matches incidents containing the words "foo" // and "bar" // * `foo -bar` or `foo AND NOT bar` - matches incidents containing the word // "foo" but not the word "bar" // * `foo OR bar` - matches incidents containing the word "foo" or the word // "bar" // * `start>2018-11-28` - matches incidents which started after November 11, // 2018. // * `start<=2018-11-28` - matches incidents which started on or before // November 11, 2018. // * `start:2018-11-28` - matches incidents which started on November 11, // 2018. // * `start>7d` - matches incidents which started after the point in time 7*24 // hours ago // * `start>180d` - similar to 7d, but likely to cross the daylight savings // time boundary, so the end time will be 1 hour different from "now." // * `foo AND start>90d AND stage google.cloud.irm.v1alpha2.Incident 44, // 1: google.cloud.irm.v1alpha2.UpdateIncidentRequest.incident:type_name -> google.cloud.irm.v1alpha2.Incident 45, // 2: google.cloud.irm.v1alpha2.UpdateIncidentRequest.update_mask:type_name -> google.protobuf.FieldMask 42, // 3: google.cloud.irm.v1alpha2.SearchSimilarIncidentsResponse.results:type_name -> google.cloud.irm.v1alpha2.SearchSimilarIncidentsResponse.Result 46, // 4: google.cloud.irm.v1alpha2.CreateAnnotationRequest.annotation:type_name -> google.cloud.irm.v1alpha2.Annotation 46, // 5: google.cloud.irm.v1alpha2.ListAnnotationsResponse.annotations:type_name -> google.cloud.irm.v1alpha2.Annotation 47, // 6: google.cloud.irm.v1alpha2.CreateTagRequest.tag:type_name -> google.cloud.irm.v1alpha2.Tag 47, // 7: google.cloud.irm.v1alpha2.ListTagsResponse.tags:type_name -> google.cloud.irm.v1alpha2.Tag 48, // 8: google.cloud.irm.v1alpha2.CreateSignalRequest.signal:type_name -> google.cloud.irm.v1alpha2.Signal 48, // 9: google.cloud.irm.v1alpha2.SearchSignalsResponse.signals:type_name -> google.cloud.irm.v1alpha2.Signal 48, // 10: google.cloud.irm.v1alpha2.UpdateSignalRequest.signal:type_name -> google.cloud.irm.v1alpha2.Signal 45, // 11: google.cloud.irm.v1alpha2.UpdateSignalRequest.update_mask:type_name -> google.protobuf.FieldMask 44, // 12: google.cloud.irm.v1alpha2.SearchIncidentsResponse.incidents:type_name -> google.cloud.irm.v1alpha2.Incident 44, // 13: google.cloud.irm.v1alpha2.EscalateIncidentRequest.incident:type_name -> google.cloud.irm.v1alpha2.Incident 45, // 14: google.cloud.irm.v1alpha2.EscalateIncidentRequest.update_mask:type_name -> google.protobuf.FieldMask 49, // 15: google.cloud.irm.v1alpha2.EscalateIncidentRequest.subscriptions:type_name -> google.cloud.irm.v1alpha2.Subscription 47, // 16: google.cloud.irm.v1alpha2.EscalateIncidentRequest.tags:type_name -> google.cloud.irm.v1alpha2.Tag 50, // 17: google.cloud.irm.v1alpha2.EscalateIncidentRequest.roles:type_name -> google.cloud.irm.v1alpha2.IncidentRoleAssignment 51, // 18: google.cloud.irm.v1alpha2.EscalateIncidentRequest.artifacts:type_name -> google.cloud.irm.v1alpha2.Artifact 44, // 19: google.cloud.irm.v1alpha2.EscalateIncidentResponse.incident:type_name -> google.cloud.irm.v1alpha2.Incident 49, // 20: google.cloud.irm.v1alpha2.EscalateIncidentResponse.subscriptions:type_name -> google.cloud.irm.v1alpha2.Subscription 47, // 21: google.cloud.irm.v1alpha2.EscalateIncidentResponse.tags:type_name -> google.cloud.irm.v1alpha2.Tag 52, // 22: google.cloud.irm.v1alpha2.EscalateIncidentResponse.roles:type_name -> google.cloud.irm.v1alpha2.IncidentRole 51, // 23: google.cloud.irm.v1alpha2.EscalateIncidentResponse.artifacts:type_name -> google.cloud.irm.v1alpha2.Artifact 51, // 24: google.cloud.irm.v1alpha2.CreateArtifactRequest.artifact:type_name -> google.cloud.irm.v1alpha2.Artifact 51, // 25: google.cloud.irm.v1alpha2.ListArtifactsResponse.artifacts:type_name -> google.cloud.irm.v1alpha2.Artifact 51, // 26: google.cloud.irm.v1alpha2.UpdateArtifactRequest.artifact:type_name -> google.cloud.irm.v1alpha2.Artifact 45, // 27: google.cloud.irm.v1alpha2.UpdateArtifactRequest.update_mask:type_name -> google.protobuf.FieldMask 43, // 28: google.cloud.irm.v1alpha2.SendShiftHandoffRequest.incidents:type_name -> google.cloud.irm.v1alpha2.SendShiftHandoffRequest.Incident 49, // 29: google.cloud.irm.v1alpha2.CreateSubscriptionRequest.subscription:type_name -> google.cloud.irm.v1alpha2.Subscription 49, // 30: google.cloud.irm.v1alpha2.UpdateSubscriptionRequest.subscription:type_name -> google.cloud.irm.v1alpha2.Subscription 45, // 31: google.cloud.irm.v1alpha2.UpdateSubscriptionRequest.update_mask:type_name -> google.protobuf.FieldMask 49, // 32: google.cloud.irm.v1alpha2.ListSubscriptionsResponse.subscriptions:type_name -> google.cloud.irm.v1alpha2.Subscription 50, // 33: google.cloud.irm.v1alpha2.CreateIncidentRoleAssignmentRequest.incident_role_assignment:type_name -> google.cloud.irm.v1alpha2.IncidentRoleAssignment 50, // 34: google.cloud.irm.v1alpha2.ListIncidentRoleAssignmentsResponse.incident_role_assignments:type_name -> google.cloud.irm.v1alpha2.IncidentRoleAssignment 53, // 35: google.cloud.irm.v1alpha2.RequestIncidentRoleHandoverRequest.new_assignee:type_name -> google.cloud.irm.v1alpha2.User 53, // 36: google.cloud.irm.v1alpha2.ConfirmIncidentRoleHandoverRequest.new_assignee:type_name -> google.cloud.irm.v1alpha2.User 53, // 37: google.cloud.irm.v1alpha2.ForceIncidentRoleHandoverRequest.new_assignee:type_name -> google.cloud.irm.v1alpha2.User 53, // 38: google.cloud.irm.v1alpha2.CancelIncidentRoleHandoverRequest.new_assignee:type_name -> google.cloud.irm.v1alpha2.User 44, // 39: google.cloud.irm.v1alpha2.SearchSimilarIncidentsResponse.Result.incident:type_name -> google.cloud.irm.v1alpha2.Incident 0, // 40: google.cloud.irm.v1alpha2.IncidentService.CreateIncident:input_type -> google.cloud.irm.v1alpha2.CreateIncidentRequest 1, // 41: google.cloud.irm.v1alpha2.IncidentService.GetIncident:input_type -> google.cloud.irm.v1alpha2.GetIncidentRequest 18, // 42: google.cloud.irm.v1alpha2.IncidentService.SearchIncidents:input_type -> google.cloud.irm.v1alpha2.SearchIncidentsRequest 2, // 43: google.cloud.irm.v1alpha2.IncidentService.UpdateIncident:input_type -> google.cloud.irm.v1alpha2.UpdateIncidentRequest 3, // 44: google.cloud.irm.v1alpha2.IncidentService.SearchSimilarIncidents:input_type -> google.cloud.irm.v1alpha2.SearchSimilarIncidentsRequest 5, // 45: google.cloud.irm.v1alpha2.IncidentService.CreateAnnotation:input_type -> google.cloud.irm.v1alpha2.CreateAnnotationRequest 6, // 46: google.cloud.irm.v1alpha2.IncidentService.ListAnnotations:input_type -> google.cloud.irm.v1alpha2.ListAnnotationsRequest 8, // 47: google.cloud.irm.v1alpha2.IncidentService.CreateTag:input_type -> google.cloud.irm.v1alpha2.CreateTagRequest 9, // 48: google.cloud.irm.v1alpha2.IncidentService.DeleteTag:input_type -> google.cloud.irm.v1alpha2.DeleteTagRequest 10, // 49: google.cloud.irm.v1alpha2.IncidentService.ListTags:input_type -> google.cloud.irm.v1alpha2.ListTagsRequest 12, // 50: google.cloud.irm.v1alpha2.IncidentService.CreateSignal:input_type -> google.cloud.irm.v1alpha2.CreateSignalRequest 13, // 51: google.cloud.irm.v1alpha2.IncidentService.SearchSignals:input_type -> google.cloud.irm.v1alpha2.SearchSignalsRequest 16, // 52: google.cloud.irm.v1alpha2.IncidentService.LookupSignal:input_type -> google.cloud.irm.v1alpha2.LookupSignalRequest 15, // 53: google.cloud.irm.v1alpha2.IncidentService.GetSignal:input_type -> google.cloud.irm.v1alpha2.GetSignalRequest 17, // 54: google.cloud.irm.v1alpha2.IncidentService.UpdateSignal:input_type -> google.cloud.irm.v1alpha2.UpdateSignalRequest 20, // 55: google.cloud.irm.v1alpha2.IncidentService.EscalateIncident:input_type -> google.cloud.irm.v1alpha2.EscalateIncidentRequest 22, // 56: google.cloud.irm.v1alpha2.IncidentService.CreateArtifact:input_type -> google.cloud.irm.v1alpha2.CreateArtifactRequest 23, // 57: google.cloud.irm.v1alpha2.IncidentService.ListArtifacts:input_type -> google.cloud.irm.v1alpha2.ListArtifactsRequest 25, // 58: google.cloud.irm.v1alpha2.IncidentService.UpdateArtifact:input_type -> google.cloud.irm.v1alpha2.UpdateArtifactRequest 26, // 59: google.cloud.irm.v1alpha2.IncidentService.DeleteArtifact:input_type -> google.cloud.irm.v1alpha2.DeleteArtifactRequest 27, // 60: google.cloud.irm.v1alpha2.IncidentService.SendShiftHandoff:input_type -> google.cloud.irm.v1alpha2.SendShiftHandoffRequest 29, // 61: google.cloud.irm.v1alpha2.IncidentService.CreateSubscription:input_type -> google.cloud.irm.v1alpha2.CreateSubscriptionRequest 30, // 62: google.cloud.irm.v1alpha2.IncidentService.UpdateSubscription:input_type -> google.cloud.irm.v1alpha2.UpdateSubscriptionRequest 31, // 63: google.cloud.irm.v1alpha2.IncidentService.ListSubscriptions:input_type -> google.cloud.irm.v1alpha2.ListSubscriptionsRequest 33, // 64: google.cloud.irm.v1alpha2.IncidentService.DeleteSubscription:input_type -> google.cloud.irm.v1alpha2.DeleteSubscriptionRequest 34, // 65: google.cloud.irm.v1alpha2.IncidentService.CreateIncidentRoleAssignment:input_type -> google.cloud.irm.v1alpha2.CreateIncidentRoleAssignmentRequest 35, // 66: google.cloud.irm.v1alpha2.IncidentService.DeleteIncidentRoleAssignment:input_type -> google.cloud.irm.v1alpha2.DeleteIncidentRoleAssignmentRequest 36, // 67: google.cloud.irm.v1alpha2.IncidentService.ListIncidentRoleAssignments:input_type -> google.cloud.irm.v1alpha2.ListIncidentRoleAssignmentsRequest 38, // 68: google.cloud.irm.v1alpha2.IncidentService.RequestIncidentRoleHandover:input_type -> google.cloud.irm.v1alpha2.RequestIncidentRoleHandoverRequest 39, // 69: google.cloud.irm.v1alpha2.IncidentService.ConfirmIncidentRoleHandover:input_type -> google.cloud.irm.v1alpha2.ConfirmIncidentRoleHandoverRequest 40, // 70: google.cloud.irm.v1alpha2.IncidentService.ForceIncidentRoleHandover:input_type -> google.cloud.irm.v1alpha2.ForceIncidentRoleHandoverRequest 41, // 71: google.cloud.irm.v1alpha2.IncidentService.CancelIncidentRoleHandover:input_type -> google.cloud.irm.v1alpha2.CancelIncidentRoleHandoverRequest 44, // 72: google.cloud.irm.v1alpha2.IncidentService.CreateIncident:output_type -> google.cloud.irm.v1alpha2.Incident 44, // 73: google.cloud.irm.v1alpha2.IncidentService.GetIncident:output_type -> google.cloud.irm.v1alpha2.Incident 19, // 74: google.cloud.irm.v1alpha2.IncidentService.SearchIncidents:output_type -> google.cloud.irm.v1alpha2.SearchIncidentsResponse 44, // 75: google.cloud.irm.v1alpha2.IncidentService.UpdateIncident:output_type -> google.cloud.irm.v1alpha2.Incident 4, // 76: google.cloud.irm.v1alpha2.IncidentService.SearchSimilarIncidents:output_type -> google.cloud.irm.v1alpha2.SearchSimilarIncidentsResponse 46, // 77: google.cloud.irm.v1alpha2.IncidentService.CreateAnnotation:output_type -> google.cloud.irm.v1alpha2.Annotation 7, // 78: google.cloud.irm.v1alpha2.IncidentService.ListAnnotations:output_type -> google.cloud.irm.v1alpha2.ListAnnotationsResponse 47, // 79: google.cloud.irm.v1alpha2.IncidentService.CreateTag:output_type -> google.cloud.irm.v1alpha2.Tag 54, // 80: google.cloud.irm.v1alpha2.IncidentService.DeleteTag:output_type -> google.protobuf.Empty 11, // 81: google.cloud.irm.v1alpha2.IncidentService.ListTags:output_type -> google.cloud.irm.v1alpha2.ListTagsResponse 48, // 82: google.cloud.irm.v1alpha2.IncidentService.CreateSignal:output_type -> google.cloud.irm.v1alpha2.Signal 14, // 83: google.cloud.irm.v1alpha2.IncidentService.SearchSignals:output_type -> google.cloud.irm.v1alpha2.SearchSignalsResponse 48, // 84: google.cloud.irm.v1alpha2.IncidentService.LookupSignal:output_type -> google.cloud.irm.v1alpha2.Signal 48, // 85: google.cloud.irm.v1alpha2.IncidentService.GetSignal:output_type -> google.cloud.irm.v1alpha2.Signal 48, // 86: google.cloud.irm.v1alpha2.IncidentService.UpdateSignal:output_type -> google.cloud.irm.v1alpha2.Signal 21, // 87: google.cloud.irm.v1alpha2.IncidentService.EscalateIncident:output_type -> google.cloud.irm.v1alpha2.EscalateIncidentResponse 51, // 88: google.cloud.irm.v1alpha2.IncidentService.CreateArtifact:output_type -> google.cloud.irm.v1alpha2.Artifact 24, // 89: google.cloud.irm.v1alpha2.IncidentService.ListArtifacts:output_type -> google.cloud.irm.v1alpha2.ListArtifactsResponse 51, // 90: google.cloud.irm.v1alpha2.IncidentService.UpdateArtifact:output_type -> google.cloud.irm.v1alpha2.Artifact 54, // 91: google.cloud.irm.v1alpha2.IncidentService.DeleteArtifact:output_type -> google.protobuf.Empty 28, // 92: google.cloud.irm.v1alpha2.IncidentService.SendShiftHandoff:output_type -> google.cloud.irm.v1alpha2.SendShiftHandoffResponse 49, // 93: google.cloud.irm.v1alpha2.IncidentService.CreateSubscription:output_type -> google.cloud.irm.v1alpha2.Subscription 49, // 94: google.cloud.irm.v1alpha2.IncidentService.UpdateSubscription:output_type -> google.cloud.irm.v1alpha2.Subscription 32, // 95: google.cloud.irm.v1alpha2.IncidentService.ListSubscriptions:output_type -> google.cloud.irm.v1alpha2.ListSubscriptionsResponse 54, // 96: google.cloud.irm.v1alpha2.IncidentService.DeleteSubscription:output_type -> google.protobuf.Empty 50, // 97: google.cloud.irm.v1alpha2.IncidentService.CreateIncidentRoleAssignment:output_type -> google.cloud.irm.v1alpha2.IncidentRoleAssignment 54, // 98: google.cloud.irm.v1alpha2.IncidentService.DeleteIncidentRoleAssignment:output_type -> google.protobuf.Empty 37, // 99: google.cloud.irm.v1alpha2.IncidentService.ListIncidentRoleAssignments:output_type -> google.cloud.irm.v1alpha2.ListIncidentRoleAssignmentsResponse 50, // 100: google.cloud.irm.v1alpha2.IncidentService.RequestIncidentRoleHandover:output_type -> google.cloud.irm.v1alpha2.IncidentRoleAssignment 50, // 101: google.cloud.irm.v1alpha2.IncidentService.ConfirmIncidentRoleHandover:output_type -> google.cloud.irm.v1alpha2.IncidentRoleAssignment 50, // 102: google.cloud.irm.v1alpha2.IncidentService.ForceIncidentRoleHandover:output_type -> google.cloud.irm.v1alpha2.IncidentRoleAssignment 50, // 103: google.cloud.irm.v1alpha2.IncidentService.CancelIncidentRoleHandover:output_type -> google.cloud.irm.v1alpha2.IncidentRoleAssignment 72, // [72:104] is the sub-list for method output_type 40, // [40:72] is the sub-list for method input_type 40, // [40:40] is the sub-list for extension type_name 40, // [40:40] is the sub-list for extension extendee 0, // [0:40] is the sub-list for field type_name } func init() { file_google_cloud_irm_v1alpha2_incidents_service_proto_init() } func file_google_cloud_irm_v1alpha2_incidents_service_proto_init() { if File_google_cloud_irm_v1alpha2_incidents_service_proto != nil { return } file_google_cloud_irm_v1alpha2_incidents_proto_init() if !protoimpl.UnsafeEnabled { file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateIncidentRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetIncidentRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateIncidentRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SearchSimilarIncidentsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SearchSimilarIncidentsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateAnnotationRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListAnnotationsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListAnnotationsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateTagRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteTagRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListTagsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListTagsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateSignalRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SearchSignalsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SearchSignalsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetSignalRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LookupSignalRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateSignalRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SearchIncidentsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SearchIncidentsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EscalateIncidentRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EscalateIncidentResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateArtifactRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListArtifactsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListArtifactsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateArtifactRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteArtifactRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendShiftHandoffRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendShiftHandoffResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateSubscriptionRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateSubscriptionRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListSubscriptionsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListSubscriptionsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteSubscriptionRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateIncidentRoleAssignmentRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteIncidentRoleAssignmentRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListIncidentRoleAssignmentsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListIncidentRoleAssignmentsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RequestIncidentRoleHandoverRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConfirmIncidentRoleHandoverRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ForceIncidentRoleHandoverRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CancelIncidentRoleHandoverRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SearchSimilarIncidentsResponse_Result); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendShiftHandoffRequest_Incident); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes[16].OneofWrappers = []interface{}{ (*LookupSignalRequest_CsccFinding)(nil), (*LookupSignalRequest_StackdriverNotificationId)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_google_cloud_irm_v1alpha2_incidents_service_proto_rawDesc, NumEnums: 0, NumMessages: 44, NumExtensions: 0, NumServices: 1, }, GoTypes: file_google_cloud_irm_v1alpha2_incidents_service_proto_goTypes, DependencyIndexes: file_google_cloud_irm_v1alpha2_incidents_service_proto_depIdxs, MessageInfos: file_google_cloud_irm_v1alpha2_incidents_service_proto_msgTypes, }.Build() File_google_cloud_irm_v1alpha2_incidents_service_proto = out.File file_google_cloud_irm_v1alpha2_incidents_service_proto_rawDesc = nil file_google_cloud_irm_v1alpha2_incidents_service_proto_goTypes = nil file_google_cloud_irm_v1alpha2_incidents_service_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // IncidentServiceClient is the client API for IncidentService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type IncidentServiceClient interface { // Creates a new incident. CreateIncident(ctx context.Context, in *CreateIncidentRequest, opts ...grpc.CallOption) (*Incident, error) // Returns an incident by name. GetIncident(ctx context.Context, in *GetIncidentRequest, opts ...grpc.CallOption) (*Incident, error) // Returns a list of incidents. // Incidents are ordered by start time, with the most recent incidents first. SearchIncidents(ctx context.Context, in *SearchIncidentsRequest, opts ...grpc.CallOption) (*SearchIncidentsResponse, error) // Updates an existing incident. UpdateIncident(ctx context.Context, in *UpdateIncidentRequest, opts ...grpc.CallOption) (*Incident, error) // Returns a list of incidents that are "similar" to the specified incident // or signal. This functionality is provided on a best-effort basis and the // definition of "similar" is subject to change. SearchSimilarIncidents(ctx context.Context, in *SearchSimilarIncidentsRequest, opts ...grpc.CallOption) (*SearchSimilarIncidentsResponse, error) // Creates an annotation on an existing incident. Only 'text/plain' and // 'text/markdown' annotations can be created via this method. CreateAnnotation(ctx context.Context, in *CreateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) // Lists annotations that are part of an incident. No assumptions should be // made on the content-type of the annotation returned. ListAnnotations(ctx context.Context, in *ListAnnotationsRequest, opts ...grpc.CallOption) (*ListAnnotationsResponse, error) // Creates a tag on an existing incident. CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error) // Deletes an existing tag. DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists tags that are part of an incident. ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error) // Creates a new signal. CreateSignal(ctx context.Context, in *CreateSignalRequest, opts ...grpc.CallOption) (*Signal, error) // Lists signals that are part of an incident. // Signals are returned in reverse chronological order. // Note that search should not be relied on for critical functionality. It // has lower availability guarantees and might fail to return valid results. // Returned results might include stale or extraneous entries. SearchSignals(ctx context.Context, in *SearchSignalsRequest, opts ...grpc.CallOption) (*SearchSignalsResponse, error) // Finds a signal by other unique IDs. LookupSignal(ctx context.Context, in *LookupSignalRequest, opts ...grpc.CallOption) (*Signal, error) // Returns a signal by name. GetSignal(ctx context.Context, in *GetSignalRequest, opts ...grpc.CallOption) (*Signal, error) // Updates an existing signal (for example, to assign/unassign it to an // incident). UpdateSignal(ctx context.Context, in *UpdateSignalRequest, opts ...grpc.CallOption) (*Signal, error) // Escalates an incident. EscalateIncident(ctx context.Context, in *EscalateIncidentRequest, opts ...grpc.CallOption) (*EscalateIncidentResponse, error) // Creates a new artifact. CreateArtifact(ctx context.Context, in *CreateArtifactRequest, opts ...grpc.CallOption) (*Artifact, error) // Returns a list of artifacts for an incident. ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error) // Updates an existing artifact. UpdateArtifact(ctx context.Context, in *UpdateArtifactRequest, opts ...grpc.CallOption) (*Artifact, error) // Deletes an existing artifact. DeleteArtifact(ctx context.Context, in *DeleteArtifactRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Sends a summary of the shift for oncall handoff. SendShiftHandoff(ctx context.Context, in *SendShiftHandoffRequest, opts ...grpc.CallOption) (*SendShiftHandoffResponse, error) // Creates a new subscription. // This will fail if: // a. there are too many (50) subscriptions in the incident already // b. a subscription using the given channel already exists CreateSubscription(ctx context.Context, in *CreateSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) // Updates a subscription. UpdateSubscription(ctx context.Context, in *UpdateSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) // Returns a list of subscriptions for an incident. ListSubscriptions(ctx context.Context, in *ListSubscriptionsRequest, opts ...grpc.CallOption) (*ListSubscriptionsResponse, error) // Deletes an existing subscription. DeleteSubscription(ctx context.Context, in *DeleteSubscriptionRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a role assignment on an existing incident. Normally, the user field // will be set when assigning a role to oneself, and the next field will be // set when proposing another user as the assignee. Setting the next field // directly to a user other than oneself is equivalent to proposing and // force-assigning the role to the user. CreateIncidentRoleAssignment(ctx context.Context, in *CreateIncidentRoleAssignmentRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) // Deletes an existing role assignment. DeleteIncidentRoleAssignment(ctx context.Context, in *DeleteIncidentRoleAssignmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists role assignments that are part of an incident. ListIncidentRoleAssignments(ctx context.Context, in *ListIncidentRoleAssignmentsRequest, opts ...grpc.CallOption) (*ListIncidentRoleAssignmentsResponse, error) // Starts a role handover. The proposed assignee will receive an email // notifying them of the assignment. This will fail if a role handover is // already pending. // Handover to an oncall ladder is not permitted. Use // CreateIncidentRoleAssignment instead. RequestIncidentRoleHandover(ctx context.Context, in *RequestIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) // Confirms a role handover. This will fail if the 'proposed_assignee' field // of the IncidentRoleAssignment is not equal to the 'new_assignee' field of // the request. If the caller is not the new_assignee, // ForceIncidentRoleHandover should be used instead. ConfirmIncidentRoleHandover(ctx context.Context, in *ConfirmIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) // Forces a role handover. This will fail if the 'proposed_assignee' field of // the IncidentRoleAssignment is not equal to the 'new_assignee' field of the // request. If the caller is the new_assignee, ConfirmIncidentRoleHandover // should be used instead. ForceIncidentRoleHandover(ctx context.Context, in *ForceIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) // Cancels a role handover. This will fail if the 'proposed_assignee' field of // the IncidentRoleAssignment is not equal to the 'new_assignee' field of the // request. CancelIncidentRoleHandover(ctx context.Context, in *CancelIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) } type incidentServiceClient struct { cc grpc.ClientConnInterface } func NewIncidentServiceClient(cc grpc.ClientConnInterface) IncidentServiceClient { return &incidentServiceClient{cc} } func (c *incidentServiceClient) CreateIncident(ctx context.Context, in *CreateIncidentRequest, opts ...grpc.CallOption) (*Incident, error) { out := new(Incident) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/CreateIncident", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) GetIncident(ctx context.Context, in *GetIncidentRequest, opts ...grpc.CallOption) (*Incident, error) { out := new(Incident) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/GetIncident", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) SearchIncidents(ctx context.Context, in *SearchIncidentsRequest, opts ...grpc.CallOption) (*SearchIncidentsResponse, error) { out := new(SearchIncidentsResponse) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/SearchIncidents", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) UpdateIncident(ctx context.Context, in *UpdateIncidentRequest, opts ...grpc.CallOption) (*Incident, error) { out := new(Incident) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/UpdateIncident", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) SearchSimilarIncidents(ctx context.Context, in *SearchSimilarIncidentsRequest, opts ...grpc.CallOption) (*SearchSimilarIncidentsResponse, error) { out := new(SearchSimilarIncidentsResponse) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/SearchSimilarIncidents", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) CreateAnnotation(ctx context.Context, in *CreateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) { out := new(Annotation) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/CreateAnnotation", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) ListAnnotations(ctx context.Context, in *ListAnnotationsRequest, opts ...grpc.CallOption) (*ListAnnotationsResponse, error) { out := new(ListAnnotationsResponse) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/ListAnnotations", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error) { out := new(Tag) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/CreateTag", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*empty.Empty, error) { out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/DeleteTag", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error) { out := new(ListTagsResponse) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/ListTags", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) CreateSignal(ctx context.Context, in *CreateSignalRequest, opts ...grpc.CallOption) (*Signal, error) { out := new(Signal) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/CreateSignal", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) SearchSignals(ctx context.Context, in *SearchSignalsRequest, opts ...grpc.CallOption) (*SearchSignalsResponse, error) { out := new(SearchSignalsResponse) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/SearchSignals", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) LookupSignal(ctx context.Context, in *LookupSignalRequest, opts ...grpc.CallOption) (*Signal, error) { out := new(Signal) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/LookupSignal", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) GetSignal(ctx context.Context, in *GetSignalRequest, opts ...grpc.CallOption) (*Signal, error) { out := new(Signal) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/GetSignal", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) UpdateSignal(ctx context.Context, in *UpdateSignalRequest, opts ...grpc.CallOption) (*Signal, error) { out := new(Signal) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/UpdateSignal", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) EscalateIncident(ctx context.Context, in *EscalateIncidentRequest, opts ...grpc.CallOption) (*EscalateIncidentResponse, error) { out := new(EscalateIncidentResponse) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/EscalateIncident", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) CreateArtifact(ctx context.Context, in *CreateArtifactRequest, opts ...grpc.CallOption) (*Artifact, error) { out := new(Artifact) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/CreateArtifact", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error) { out := new(ListArtifactsResponse) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/ListArtifacts", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) UpdateArtifact(ctx context.Context, in *UpdateArtifactRequest, opts ...grpc.CallOption) (*Artifact, error) { out := new(Artifact) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/UpdateArtifact", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) DeleteArtifact(ctx context.Context, in *DeleteArtifactRequest, opts ...grpc.CallOption) (*empty.Empty, error) { out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/DeleteArtifact", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) SendShiftHandoff(ctx context.Context, in *SendShiftHandoffRequest, opts ...grpc.CallOption) (*SendShiftHandoffResponse, error) { out := new(SendShiftHandoffResponse) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/SendShiftHandoff", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) CreateSubscription(ctx context.Context, in *CreateSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) { out := new(Subscription) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/CreateSubscription", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) UpdateSubscription(ctx context.Context, in *UpdateSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) { out := new(Subscription) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/UpdateSubscription", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) ListSubscriptions(ctx context.Context, in *ListSubscriptionsRequest, opts ...grpc.CallOption) (*ListSubscriptionsResponse, error) { out := new(ListSubscriptionsResponse) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/ListSubscriptions", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) DeleteSubscription(ctx context.Context, in *DeleteSubscriptionRequest, opts ...grpc.CallOption) (*empty.Empty, error) { out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/DeleteSubscription", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) CreateIncidentRoleAssignment(ctx context.Context, in *CreateIncidentRoleAssignmentRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) { out := new(IncidentRoleAssignment) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/CreateIncidentRoleAssignment", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) DeleteIncidentRoleAssignment(ctx context.Context, in *DeleteIncidentRoleAssignmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { out := new(empty.Empty) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/DeleteIncidentRoleAssignment", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) ListIncidentRoleAssignments(ctx context.Context, in *ListIncidentRoleAssignmentsRequest, opts ...grpc.CallOption) (*ListIncidentRoleAssignmentsResponse, error) { out := new(ListIncidentRoleAssignmentsResponse) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/ListIncidentRoleAssignments", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) RequestIncidentRoleHandover(ctx context.Context, in *RequestIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) { out := new(IncidentRoleAssignment) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/RequestIncidentRoleHandover", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) ConfirmIncidentRoleHandover(ctx context.Context, in *ConfirmIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) { out := new(IncidentRoleAssignment) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/ConfirmIncidentRoleHandover", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) ForceIncidentRoleHandover(ctx context.Context, in *ForceIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) { out := new(IncidentRoleAssignment) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/ForceIncidentRoleHandover", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *incidentServiceClient) CancelIncidentRoleHandover(ctx context.Context, in *CancelIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) { out := new(IncidentRoleAssignment) err := c.cc.Invoke(ctx, "/google.cloud.irm.v1alpha2.IncidentService/CancelIncidentRoleHandover", in, out, opts...) if err != nil { return nil, err } return out, nil } // IncidentServiceServer is the server API for IncidentService service. type IncidentServiceServer interface { // Creates a new incident. CreateIncident(context.Context, *CreateIncidentRequest) (*Incident, error) // Returns an incident by name. GetIncident(context.Context, *GetIncidentRequest) (*Incident, error) // Returns a list of incidents. // Incidents are ordered by start time, with the most recent incidents first. SearchIncidents(context.Context, *SearchIncidentsRequest) (*SearchIncidentsResponse, error) // Updates an existing incident. UpdateIncident(context.Context, *UpdateIncidentRequest) (*Incident, error) // Returns a list of incidents that are "similar" to the specified incident // or signal. This functionality is provided on a best-effort basis and the // definition of "similar" is subject to change. SearchSimilarIncidents(context.Context, *SearchSimilarIncidentsRequest) (*SearchSimilarIncidentsResponse, error) // Creates an annotation on an existing incident. Only 'text/plain' and // 'text/markdown' annotations can be created via this method. CreateAnnotation(context.Context, *CreateAnnotationRequest) (*Annotation, error) // Lists annotations that are part of an incident. No assumptions should be // made on the content-type of the annotation returned. ListAnnotations(context.Context, *ListAnnotationsRequest) (*ListAnnotationsResponse, error) // Creates a tag on an existing incident. CreateTag(context.Context, *CreateTagRequest) (*Tag, error) // Deletes an existing tag. DeleteTag(context.Context, *DeleteTagRequest) (*empty.Empty, error) // Lists tags that are part of an incident. ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error) // Creates a new signal. CreateSignal(context.Context, *CreateSignalRequest) (*Signal, error) // Lists signals that are part of an incident. // Signals are returned in reverse chronological order. // Note that search should not be relied on for critical functionality. It // has lower availability guarantees and might fail to return valid results. // Returned results might include stale or extraneous entries. SearchSignals(context.Context, *SearchSignalsRequest) (*SearchSignalsResponse, error) // Finds a signal by other unique IDs. LookupSignal(context.Context, *LookupSignalRequest) (*Signal, error) // Returns a signal by name. GetSignal(context.Context, *GetSignalRequest) (*Signal, error) // Updates an existing signal (for example, to assign/unassign it to an // incident). UpdateSignal(context.Context, *UpdateSignalRequest) (*Signal, error) // Escalates an incident. EscalateIncident(context.Context, *EscalateIncidentRequest) (*EscalateIncidentResponse, error) // Creates a new artifact. CreateArtifact(context.Context, *CreateArtifactRequest) (*Artifact, error) // Returns a list of artifacts for an incident. ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error) // Updates an existing artifact. UpdateArtifact(context.Context, *UpdateArtifactRequest) (*Artifact, error) // Deletes an existing artifact. DeleteArtifact(context.Context, *DeleteArtifactRequest) (*empty.Empty, error) // Sends a summary of the shift for oncall handoff. SendShiftHandoff(context.Context, *SendShiftHandoffRequest) (*SendShiftHandoffResponse, error) // Creates a new subscription. // This will fail if: // a. there are too many (50) subscriptions in the incident already // b. a subscription using the given channel already exists CreateSubscription(context.Context, *CreateSubscriptionRequest) (*Subscription, error) // Updates a subscription. UpdateSubscription(context.Context, *UpdateSubscriptionRequest) (*Subscription, error) // Returns a list of subscriptions for an incident. ListSubscriptions(context.Context, *ListSubscriptionsRequest) (*ListSubscriptionsResponse, error) // Deletes an existing subscription. DeleteSubscription(context.Context, *DeleteSubscriptionRequest) (*empty.Empty, error) // Creates a role assignment on an existing incident. Normally, the user field // will be set when assigning a role to oneself, and the next field will be // set when proposing another user as the assignee. Setting the next field // directly to a user other than oneself is equivalent to proposing and // force-assigning the role to the user. CreateIncidentRoleAssignment(context.Context, *CreateIncidentRoleAssignmentRequest) (*IncidentRoleAssignment, error) // Deletes an existing role assignment. DeleteIncidentRoleAssignment(context.Context, *DeleteIncidentRoleAssignmentRequest) (*empty.Empty, error) // Lists role assignments that are part of an incident. ListIncidentRoleAssignments(context.Context, *ListIncidentRoleAssignmentsRequest) (*ListIncidentRoleAssignmentsResponse, error) // Starts a role handover. The proposed assignee will receive an email // notifying them of the assignment. This will fail if a role handover is // already pending. // Handover to an oncall ladder is not permitted. Use // CreateIncidentRoleAssignment instead. RequestIncidentRoleHandover(context.Context, *RequestIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) // Confirms a role handover. This will fail if the 'proposed_assignee' field // of the IncidentRoleAssignment is not equal to the 'new_assignee' field of // the request. If the caller is not the new_assignee, // ForceIncidentRoleHandover should be used instead. ConfirmIncidentRoleHandover(context.Context, *ConfirmIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) // Forces a role handover. This will fail if the 'proposed_assignee' field of // the IncidentRoleAssignment is not equal to the 'new_assignee' field of the // request. If the caller is the new_assignee, ConfirmIncidentRoleHandover // should be used instead. ForceIncidentRoleHandover(context.Context, *ForceIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) // Cancels a role handover. This will fail if the 'proposed_assignee' field of // the IncidentRoleAssignment is not equal to the 'new_assignee' field of the // request. CancelIncidentRoleHandover(context.Context, *CancelIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) } // UnimplementedIncidentServiceServer can be embedded to have forward compatible implementations. type UnimplementedIncidentServiceServer struct { } func (*UnimplementedIncidentServiceServer) CreateIncident(context.Context, *CreateIncidentRequest) (*Incident, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateIncident not implemented") } func (*UnimplementedIncidentServiceServer) GetIncident(context.Context, *GetIncidentRequest) (*Incident, error) { return nil, status.Errorf(codes.Unimplemented, "method GetIncident not implemented") } func (*UnimplementedIncidentServiceServer) SearchIncidents(context.Context, *SearchIncidentsRequest) (*SearchIncidentsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SearchIncidents not implemented") } func (*UnimplementedIncidentServiceServer) UpdateIncident(context.Context, *UpdateIncidentRequest) (*Incident, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateIncident not implemented") } func (*UnimplementedIncidentServiceServer) SearchSimilarIncidents(context.Context, *SearchSimilarIncidentsRequest) (*SearchSimilarIncidentsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SearchSimilarIncidents not implemented") } func (*UnimplementedIncidentServiceServer) CreateAnnotation(context.Context, *CreateAnnotationRequest) (*Annotation, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateAnnotation not implemented") } func (*UnimplementedIncidentServiceServer) ListAnnotations(context.Context, *ListAnnotationsRequest) (*ListAnnotationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListAnnotations not implemented") } func (*UnimplementedIncidentServiceServer) CreateTag(context.Context, *CreateTagRequest) (*Tag, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateTag not implemented") } func (*UnimplementedIncidentServiceServer) DeleteTag(context.Context, *DeleteTagRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteTag not implemented") } func (*UnimplementedIncidentServiceServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListTags not implemented") } func (*UnimplementedIncidentServiceServer) CreateSignal(context.Context, *CreateSignalRequest) (*Signal, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateSignal not implemented") } func (*UnimplementedIncidentServiceServer) SearchSignals(context.Context, *SearchSignalsRequest) (*SearchSignalsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SearchSignals not implemented") } func (*UnimplementedIncidentServiceServer) LookupSignal(context.Context, *LookupSignalRequest) (*Signal, error) { return nil, status.Errorf(codes.Unimplemented, "method LookupSignal not implemented") } func (*UnimplementedIncidentServiceServer) GetSignal(context.Context, *GetSignalRequest) (*Signal, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSignal not implemented") } func (*UnimplementedIncidentServiceServer) UpdateSignal(context.Context, *UpdateSignalRequest) (*Signal, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSignal not implemented") } func (*UnimplementedIncidentServiceServer) EscalateIncident(context.Context, *EscalateIncidentRequest) (*EscalateIncidentResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method EscalateIncident not implemented") } func (*UnimplementedIncidentServiceServer) CreateArtifact(context.Context, *CreateArtifactRequest) (*Artifact, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateArtifact not implemented") } func (*UnimplementedIncidentServiceServer) ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListArtifacts not implemented") } func (*UnimplementedIncidentServiceServer) UpdateArtifact(context.Context, *UpdateArtifactRequest) (*Artifact, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateArtifact not implemented") } func (*UnimplementedIncidentServiceServer) DeleteArtifact(context.Context, *DeleteArtifactRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteArtifact not implemented") } func (*UnimplementedIncidentServiceServer) SendShiftHandoff(context.Context, *SendShiftHandoffRequest) (*SendShiftHandoffResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SendShiftHandoff not implemented") } func (*UnimplementedIncidentServiceServer) CreateSubscription(context.Context, *CreateSubscriptionRequest) (*Subscription, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateSubscription not implemented") } func (*UnimplementedIncidentServiceServer) UpdateSubscription(context.Context, *UpdateSubscriptionRequest) (*Subscription, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSubscription not implemented") } func (*UnimplementedIncidentServiceServer) ListSubscriptions(context.Context, *ListSubscriptionsRequest) (*ListSubscriptionsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListSubscriptions not implemented") } func (*UnimplementedIncidentServiceServer) DeleteSubscription(context.Context, *DeleteSubscriptionRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteSubscription not implemented") } func (*UnimplementedIncidentServiceServer) CreateIncidentRoleAssignment(context.Context, *CreateIncidentRoleAssignmentRequest) (*IncidentRoleAssignment, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateIncidentRoleAssignment not implemented") } func (*UnimplementedIncidentServiceServer) DeleteIncidentRoleAssignment(context.Context, *DeleteIncidentRoleAssignmentRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteIncidentRoleAssignment not implemented") } func (*UnimplementedIncidentServiceServer) ListIncidentRoleAssignments(context.Context, *ListIncidentRoleAssignmentsRequest) (*ListIncidentRoleAssignmentsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListIncidentRoleAssignments not implemented") } func (*UnimplementedIncidentServiceServer) RequestIncidentRoleHandover(context.Context, *RequestIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) { return nil, status.Errorf(codes.Unimplemented, "method RequestIncidentRoleHandover not implemented") } func (*UnimplementedIncidentServiceServer) ConfirmIncidentRoleHandover(context.Context, *ConfirmIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) { return nil, status.Errorf(codes.Unimplemented, "method ConfirmIncidentRoleHandover not implemented") } func (*UnimplementedIncidentServiceServer) ForceIncidentRoleHandover(context.Context, *ForceIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) { return nil, status.Errorf(codes.Unimplemented, "method ForceIncidentRoleHandover not implemented") } func (*UnimplementedIncidentServiceServer) CancelIncidentRoleHandover(context.Context, *CancelIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) { return nil, status.Errorf(codes.Unimplemented, "method CancelIncidentRoleHandover not implemented") } func RegisterIncidentServiceServer(s *grpc.Server, srv IncidentServiceServer) { s.RegisterService(&_IncidentService_serviceDesc, srv) } func _IncidentService_CreateIncident_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateIncidentRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).CreateIncident(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/CreateIncident", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).CreateIncident(ctx, req.(*CreateIncidentRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_GetIncident_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetIncidentRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).GetIncident(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/GetIncident", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).GetIncident(ctx, req.(*GetIncidentRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_SearchIncidents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SearchIncidentsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).SearchIncidents(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/SearchIncidents", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).SearchIncidents(ctx, req.(*SearchIncidentsRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_UpdateIncident_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateIncidentRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).UpdateIncident(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/UpdateIncident", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).UpdateIncident(ctx, req.(*UpdateIncidentRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_SearchSimilarIncidents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SearchSimilarIncidentsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).SearchSimilarIncidents(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/SearchSimilarIncidents", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).SearchSimilarIncidents(ctx, req.(*SearchSimilarIncidentsRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_CreateAnnotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateAnnotationRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).CreateAnnotation(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/CreateAnnotation", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).CreateAnnotation(ctx, req.(*CreateAnnotationRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_ListAnnotations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ListAnnotationsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).ListAnnotations(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/ListAnnotations", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).ListAnnotations(ctx, req.(*ListAnnotationsRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_CreateTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateTagRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).CreateTag(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/CreateTag", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).CreateTag(ctx, req.(*CreateTagRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_DeleteTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteTagRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).DeleteTag(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/DeleteTag", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).DeleteTag(ctx, req.(*DeleteTagRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_ListTags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ListTagsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).ListTags(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/ListTags", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).ListTags(ctx, req.(*ListTagsRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_CreateSignal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateSignalRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).CreateSignal(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/CreateSignal", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).CreateSignal(ctx, req.(*CreateSignalRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_SearchSignals_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SearchSignalsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).SearchSignals(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/SearchSignals", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).SearchSignals(ctx, req.(*SearchSignalsRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_LookupSignal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(LookupSignalRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).LookupSignal(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/LookupSignal", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).LookupSignal(ctx, req.(*LookupSignalRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_GetSignal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetSignalRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).GetSignal(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/GetSignal", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).GetSignal(ctx, req.(*GetSignalRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_UpdateSignal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateSignalRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).UpdateSignal(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/UpdateSignal", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).UpdateSignal(ctx, req.(*UpdateSignalRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_EscalateIncident_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(EscalateIncidentRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).EscalateIncident(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/EscalateIncident", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).EscalateIncident(ctx, req.(*EscalateIncidentRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_CreateArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateArtifactRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).CreateArtifact(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/CreateArtifact", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).CreateArtifact(ctx, req.(*CreateArtifactRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_ListArtifacts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ListArtifactsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).ListArtifacts(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/ListArtifacts", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).ListArtifacts(ctx, req.(*ListArtifactsRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_UpdateArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateArtifactRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).UpdateArtifact(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/UpdateArtifact", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).UpdateArtifact(ctx, req.(*UpdateArtifactRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_DeleteArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteArtifactRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).DeleteArtifact(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/DeleteArtifact", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).DeleteArtifact(ctx, req.(*DeleteArtifactRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_SendShiftHandoff_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SendShiftHandoffRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).SendShiftHandoff(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/SendShiftHandoff", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).SendShiftHandoff(ctx, req.(*SendShiftHandoffRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_CreateSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateSubscriptionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).CreateSubscription(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/CreateSubscription", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).CreateSubscription(ctx, req.(*CreateSubscriptionRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_UpdateSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateSubscriptionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).UpdateSubscription(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/UpdateSubscription", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).UpdateSubscription(ctx, req.(*UpdateSubscriptionRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_ListSubscriptions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ListSubscriptionsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).ListSubscriptions(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/ListSubscriptions", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).ListSubscriptions(ctx, req.(*ListSubscriptionsRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_DeleteSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteSubscriptionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).DeleteSubscription(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/DeleteSubscription", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).DeleteSubscription(ctx, req.(*DeleteSubscriptionRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_CreateIncidentRoleAssignment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateIncidentRoleAssignmentRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).CreateIncidentRoleAssignment(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/CreateIncidentRoleAssignment", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).CreateIncidentRoleAssignment(ctx, req.(*CreateIncidentRoleAssignmentRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_DeleteIncidentRoleAssignment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteIncidentRoleAssignmentRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).DeleteIncidentRoleAssignment(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/DeleteIncidentRoleAssignment", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).DeleteIncidentRoleAssignment(ctx, req.(*DeleteIncidentRoleAssignmentRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_ListIncidentRoleAssignments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ListIncidentRoleAssignmentsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).ListIncidentRoleAssignments(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/ListIncidentRoleAssignments", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).ListIncidentRoleAssignments(ctx, req.(*ListIncidentRoleAssignmentsRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_RequestIncidentRoleHandover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(RequestIncidentRoleHandoverRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).RequestIncidentRoleHandover(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/RequestIncidentRoleHandover", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).RequestIncidentRoleHandover(ctx, req.(*RequestIncidentRoleHandoverRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_ConfirmIncidentRoleHandover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ConfirmIncidentRoleHandoverRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).ConfirmIncidentRoleHandover(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/ConfirmIncidentRoleHandover", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).ConfirmIncidentRoleHandover(ctx, req.(*ConfirmIncidentRoleHandoverRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_ForceIncidentRoleHandover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ForceIncidentRoleHandoverRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).ForceIncidentRoleHandover(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/ForceIncidentRoleHandover", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).ForceIncidentRoleHandover(ctx, req.(*ForceIncidentRoleHandoverRequest)) } return interceptor(ctx, in, info, handler) } func _IncidentService_CancelIncidentRoleHandover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CancelIncidentRoleHandoverRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(IncidentServiceServer).CancelIncidentRoleHandover(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.cloud.irm.v1alpha2.IncidentService/CancelIncidentRoleHandover", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(IncidentServiceServer).CancelIncidentRoleHandover(ctx, req.(*CancelIncidentRoleHandoverRequest)) } return interceptor(ctx, in, info, handler) } var _IncidentService_serviceDesc = grpc.ServiceDesc{ ServiceName: "google.cloud.irm.v1alpha2.IncidentService", HandlerType: (*IncidentServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateIncident", Handler: _IncidentService_CreateIncident_Handler, }, { MethodName: "GetIncident", Handler: _IncidentService_GetIncident_Handler, }, { MethodName: "SearchIncidents", Handler: _IncidentService_SearchIncidents_Handler, }, { MethodName: "UpdateIncident", Handler: _IncidentService_UpdateIncident_Handler, }, { MethodName: "SearchSimilarIncidents", Handler: _IncidentService_SearchSimilarIncidents_Handler, }, { MethodName: "CreateAnnotation", Handler: _IncidentService_CreateAnnotation_Handler, }, { MethodName: "ListAnnotations", Handler: _IncidentService_ListAnnotations_Handler, }, { MethodName: "CreateTag", Handler: _IncidentService_CreateTag_Handler, }, { MethodName: "DeleteTag", Handler: _IncidentService_DeleteTag_Handler, }, { MethodName: "ListTags", Handler: _IncidentService_ListTags_Handler, }, { MethodName: "CreateSignal", Handler: _IncidentService_CreateSignal_Handler, }, { MethodName: "SearchSignals", Handler: _IncidentService_SearchSignals_Handler, }, { MethodName: "LookupSignal", Handler: _IncidentService_LookupSignal_Handler, }, { MethodName: "GetSignal", Handler: _IncidentService_GetSignal_Handler, }, { MethodName: "UpdateSignal", Handler: _IncidentService_UpdateSignal_Handler, }, { MethodName: "EscalateIncident", Handler: _IncidentService_EscalateIncident_Handler, }, { MethodName: "CreateArtifact", Handler: _IncidentService_CreateArtifact_Handler, }, { MethodName: "ListArtifacts", Handler: _IncidentService_ListArtifacts_Handler, }, { MethodName: "UpdateArtifact", Handler: _IncidentService_UpdateArtifact_Handler, }, { MethodName: "DeleteArtifact", Handler: _IncidentService_DeleteArtifact_Handler, }, { MethodName: "SendShiftHandoff", Handler: _IncidentService_SendShiftHandoff_Handler, }, { MethodName: "CreateSubscription", Handler: _IncidentService_CreateSubscription_Handler, }, { MethodName: "UpdateSubscription", Handler: _IncidentService_UpdateSubscription_Handler, }, { MethodName: "ListSubscriptions", Handler: _IncidentService_ListSubscriptions_Handler, }, { MethodName: "DeleteSubscription", Handler: _IncidentService_DeleteSubscription_Handler, }, { MethodName: "CreateIncidentRoleAssignment", Handler: _IncidentService_CreateIncidentRoleAssignment_Handler, }, { MethodName: "DeleteIncidentRoleAssignment", Handler: _IncidentService_DeleteIncidentRoleAssignment_Handler, }, { MethodName: "ListIncidentRoleAssignments", Handler: _IncidentService_ListIncidentRoleAssignments_Handler, }, { MethodName: "RequestIncidentRoleHandover", Handler: _IncidentService_RequestIncidentRoleHandover_Handler, }, { MethodName: "ConfirmIncidentRoleHandover", Handler: _IncidentService_ConfirmIncidentRoleHandover_Handler, }, { MethodName: "ForceIncidentRoleHandover", Handler: _IncidentService_ForceIncidentRoleHandover_Handler, }, { MethodName: "CancelIncidentRoleHandover", Handler: _IncidentService_CancelIncidentRoleHandover_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/cloud/irm/v1alpha2/incidents_service.proto", }