// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/cloud/irm/v1alpha2/incidents_service.proto package irm // import "google.golang.org/genproto/googleapis/cloud/irm/v1alpha2" import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import empty "github.com/golang/protobuf/ptypes/empty" import _ "github.com/golang/protobuf/ptypes/timestamp" import _ "google.golang.org/genproto/googleapis/api/annotations" import field_mask "google.golang.org/genproto/protobuf/field_mask" import ( context "golang.org/x/net/context" grpc "google.golang.org/grpc" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // Request for the CreateIncident method. type CreateIncidentRequest struct { // The incident to create. Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` // 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *CreateIncidentRequest) Reset() { *m = CreateIncidentRequest{} } func (m *CreateIncidentRequest) String() string { return proto.CompactTextString(m) } func (*CreateIncidentRequest) ProtoMessage() {} func (*CreateIncidentRequest) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{0} } func (m *CreateIncidentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateIncidentRequest.Unmarshal(m, b) } func (m *CreateIncidentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateIncidentRequest.Marshal(b, m, deterministic) } func (dst *CreateIncidentRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_CreateIncidentRequest.Merge(dst, src) } func (m *CreateIncidentRequest) XXX_Size() int { return xxx_messageInfo_CreateIncidentRequest.Size(m) } func (m *CreateIncidentRequest) XXX_DiscardUnknown() { xxx_messageInfo_CreateIncidentRequest.DiscardUnknown(m) } var xxx_messageInfo_CreateIncidentRequest proto.InternalMessageInfo func (m *CreateIncidentRequest) GetIncident() *Incident { if m != nil { return m.Incident } return nil } func (m *CreateIncidentRequest) GetParent() string { if m != nil { return m.Parent } return "" } // Request for the GetIncident method. type GetIncidentRequest struct { // Resource name of the incident, for example, // "projects/{project_id}/incidents/{incident_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetIncidentRequest) Reset() { *m = GetIncidentRequest{} } func (m *GetIncidentRequest) String() string { return proto.CompactTextString(m) } func (*GetIncidentRequest) ProtoMessage() {} func (*GetIncidentRequest) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{1} } func (m *GetIncidentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetIncidentRequest.Unmarshal(m, b) } func (m *GetIncidentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetIncidentRequest.Marshal(b, m, deterministic) } func (dst *GetIncidentRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetIncidentRequest.Merge(dst, src) } func (m *GetIncidentRequest) XXX_Size() int { return xxx_messageInfo_GetIncidentRequest.Size(m) } func (m *GetIncidentRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetIncidentRequest.DiscardUnknown(m) } var xxx_messageInfo_GetIncidentRequest proto.InternalMessageInfo func (m *GetIncidentRequest) GetName() string { if m != nil { return m.Name } return "" } // Request for the UpdateIncident method. type UpdateIncidentRequest struct { // 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *UpdateIncidentRequest) Reset() { *m = UpdateIncidentRequest{} } func (m *UpdateIncidentRequest) String() string { return proto.CompactTextString(m) } func (*UpdateIncidentRequest) ProtoMessage() {} func (*UpdateIncidentRequest) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{2} } func (m *UpdateIncidentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateIncidentRequest.Unmarshal(m, b) } func (m *UpdateIncidentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateIncidentRequest.Marshal(b, m, deterministic) } func (dst *UpdateIncidentRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_UpdateIncidentRequest.Merge(dst, src) } func (m *UpdateIncidentRequest) XXX_Size() int { return xxx_messageInfo_UpdateIncidentRequest.Size(m) } func (m *UpdateIncidentRequest) XXX_DiscardUnknown() { xxx_messageInfo_UpdateIncidentRequest.DiscardUnknown(m) } var xxx_messageInfo_UpdateIncidentRequest proto.InternalMessageInfo func (m *UpdateIncidentRequest) GetIncident() *Incident { if m != nil { return m.Incident } return nil } func (m *UpdateIncidentRequest) GetUpdateMask() *field_mask.FieldMask { if m != nil { return m.UpdateMask } return nil } // Request for the SearchSimilarIncidents method. type SearchSimilarIncidentsRequest struct { // Resource name of the incident or signal, for example, // "projects/{project_id}/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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *SearchSimilarIncidentsRequest) Reset() { *m = SearchSimilarIncidentsRequest{} } func (m *SearchSimilarIncidentsRequest) String() string { return proto.CompactTextString(m) } func (*SearchSimilarIncidentsRequest) ProtoMessage() {} func (*SearchSimilarIncidentsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{3} } func (m *SearchSimilarIncidentsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchSimilarIncidentsRequest.Unmarshal(m, b) } func (m *SearchSimilarIncidentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SearchSimilarIncidentsRequest.Marshal(b, m, deterministic) } func (dst *SearchSimilarIncidentsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_SearchSimilarIncidentsRequest.Merge(dst, src) } func (m *SearchSimilarIncidentsRequest) XXX_Size() int { return xxx_messageInfo_SearchSimilarIncidentsRequest.Size(m) } func (m *SearchSimilarIncidentsRequest) XXX_DiscardUnknown() { xxx_messageInfo_SearchSimilarIncidentsRequest.DiscardUnknown(m) } var xxx_messageInfo_SearchSimilarIncidentsRequest proto.InternalMessageInfo func (m *SearchSimilarIncidentsRequest) GetName() string { if m != nil { return m.Name } return "" } func (m *SearchSimilarIncidentsRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } func (m *SearchSimilarIncidentsRequest) GetPageToken() string { if m != nil { return m.PageToken } return "" } // Response for the SearchSimilarIncidents method. type SearchSimilarIncidentsResponse struct { // 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *SearchSimilarIncidentsResponse) Reset() { *m = SearchSimilarIncidentsResponse{} } func (m *SearchSimilarIncidentsResponse) String() string { return proto.CompactTextString(m) } func (*SearchSimilarIncidentsResponse) ProtoMessage() {} func (*SearchSimilarIncidentsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{4} } func (m *SearchSimilarIncidentsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchSimilarIncidentsResponse.Unmarshal(m, b) } func (m *SearchSimilarIncidentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SearchSimilarIncidentsResponse.Marshal(b, m, deterministic) } func (dst *SearchSimilarIncidentsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_SearchSimilarIncidentsResponse.Merge(dst, src) } func (m *SearchSimilarIncidentsResponse) XXX_Size() int { return xxx_messageInfo_SearchSimilarIncidentsResponse.Size(m) } func (m *SearchSimilarIncidentsResponse) XXX_DiscardUnknown() { xxx_messageInfo_SearchSimilarIncidentsResponse.DiscardUnknown(m) } var xxx_messageInfo_SearchSimilarIncidentsResponse proto.InternalMessageInfo func (m *SearchSimilarIncidentsResponse) GetResults() []*SearchSimilarIncidentsResponse_Result { if m != nil { return m.Results } return nil } func (m *SearchSimilarIncidentsResponse) GetNextPageToken() string { if m != nil { return m.NextPageToken } return "" } // A single search result, i.e. an incident with (potentially) additional // information. type SearchSimilarIncidentsResponse_Result struct { // An incident that is "similar" to the incident or signal specified in the // request. Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *SearchSimilarIncidentsResponse_Result) Reset() { *m = SearchSimilarIncidentsResponse_Result{} } func (m *SearchSimilarIncidentsResponse_Result) String() string { return proto.CompactTextString(m) } func (*SearchSimilarIncidentsResponse_Result) ProtoMessage() {} func (*SearchSimilarIncidentsResponse_Result) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{4, 0} } func (m *SearchSimilarIncidentsResponse_Result) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchSimilarIncidentsResponse_Result.Unmarshal(m, b) } func (m *SearchSimilarIncidentsResponse_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SearchSimilarIncidentsResponse_Result.Marshal(b, m, deterministic) } func (dst *SearchSimilarIncidentsResponse_Result) XXX_Merge(src proto.Message) { xxx_messageInfo_SearchSimilarIncidentsResponse_Result.Merge(dst, src) } func (m *SearchSimilarIncidentsResponse_Result) XXX_Size() int { return xxx_messageInfo_SearchSimilarIncidentsResponse_Result.Size(m) } func (m *SearchSimilarIncidentsResponse_Result) XXX_DiscardUnknown() { xxx_messageInfo_SearchSimilarIncidentsResponse_Result.DiscardUnknown(m) } var xxx_messageInfo_SearchSimilarIncidentsResponse_Result proto.InternalMessageInfo func (m *SearchSimilarIncidentsResponse_Result) GetIncident() *Incident { if m != nil { return m.Incident } return nil } // Request for the CreateAnnotation method. type CreateAnnotationRequest struct { // Resource name of the incident, for example, // "projects/{project_id}/incidents/{incident_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Only annotation.content is an input argument. Annotation *Annotation `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *CreateAnnotationRequest) Reset() { *m = CreateAnnotationRequest{} } func (m *CreateAnnotationRequest) String() string { return proto.CompactTextString(m) } func (*CreateAnnotationRequest) ProtoMessage() {} func (*CreateAnnotationRequest) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{5} } func (m *CreateAnnotationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateAnnotationRequest.Unmarshal(m, b) } func (m *CreateAnnotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateAnnotationRequest.Marshal(b, m, deterministic) } func (dst *CreateAnnotationRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_CreateAnnotationRequest.Merge(dst, src) } func (m *CreateAnnotationRequest) XXX_Size() int { return xxx_messageInfo_CreateAnnotationRequest.Size(m) } func (m *CreateAnnotationRequest) XXX_DiscardUnknown() { xxx_messageInfo_CreateAnnotationRequest.DiscardUnknown(m) } var xxx_messageInfo_CreateAnnotationRequest proto.InternalMessageInfo func (m *CreateAnnotationRequest) GetParent() string { if m != nil { return m.Parent } return "" } func (m *CreateAnnotationRequest) GetAnnotation() *Annotation { if m != nil { return m.Annotation } return nil } // Request for the ListAnnotations method. type ListAnnotationsRequest struct { // Resource name of the incident, for example, // "projects/{project_id}/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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListAnnotationsRequest) Reset() { *m = ListAnnotationsRequest{} } func (m *ListAnnotationsRequest) String() string { return proto.CompactTextString(m) } func (*ListAnnotationsRequest) ProtoMessage() {} func (*ListAnnotationsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{6} } func (m *ListAnnotationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListAnnotationsRequest.Unmarshal(m, b) } func (m *ListAnnotationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListAnnotationsRequest.Marshal(b, m, deterministic) } func (dst *ListAnnotationsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ListAnnotationsRequest.Merge(dst, src) } func (m *ListAnnotationsRequest) XXX_Size() int { return xxx_messageInfo_ListAnnotationsRequest.Size(m) } func (m *ListAnnotationsRequest) XXX_DiscardUnknown() { xxx_messageInfo_ListAnnotationsRequest.DiscardUnknown(m) } var xxx_messageInfo_ListAnnotationsRequest proto.InternalMessageInfo func (m *ListAnnotationsRequest) GetParent() string { if m != nil { return m.Parent } return "" } func (m *ListAnnotationsRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } func (m *ListAnnotationsRequest) GetPageToken() string { if m != nil { return m.PageToken } return "" } // Response for the ListAnnotations method. type ListAnnotationsResponse struct { // 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListAnnotationsResponse) Reset() { *m = ListAnnotationsResponse{} } func (m *ListAnnotationsResponse) String() string { return proto.CompactTextString(m) } func (*ListAnnotationsResponse) ProtoMessage() {} func (*ListAnnotationsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{7} } func (m *ListAnnotationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListAnnotationsResponse.Unmarshal(m, b) } func (m *ListAnnotationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListAnnotationsResponse.Marshal(b, m, deterministic) } func (dst *ListAnnotationsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ListAnnotationsResponse.Merge(dst, src) } func (m *ListAnnotationsResponse) XXX_Size() int { return xxx_messageInfo_ListAnnotationsResponse.Size(m) } func (m *ListAnnotationsResponse) XXX_DiscardUnknown() { xxx_messageInfo_ListAnnotationsResponse.DiscardUnknown(m) } var xxx_messageInfo_ListAnnotationsResponse proto.InternalMessageInfo func (m *ListAnnotationsResponse) GetAnnotations() []*Annotation { if m != nil { return m.Annotations } return nil } func (m *ListAnnotationsResponse) GetNextPageToken() string { if m != nil { return m.NextPageToken } return "" } // Request for the CreateTag method. type CreateTagRequest struct { // Resource name of the incident, for example, // "projects/{project_id}/incidents/{incident_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Tag to create. Only tag.display_name is an input argument. Tag *Tag `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *CreateTagRequest) Reset() { *m = CreateTagRequest{} } func (m *CreateTagRequest) String() string { return proto.CompactTextString(m) } func (*CreateTagRequest) ProtoMessage() {} func (*CreateTagRequest) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{8} } func (m *CreateTagRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateTagRequest.Unmarshal(m, b) } func (m *CreateTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateTagRequest.Marshal(b, m, deterministic) } func (dst *CreateTagRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_CreateTagRequest.Merge(dst, src) } func (m *CreateTagRequest) XXX_Size() int { return xxx_messageInfo_CreateTagRequest.Size(m) } func (m *CreateTagRequest) XXX_DiscardUnknown() { xxx_messageInfo_CreateTagRequest.DiscardUnknown(m) } var xxx_messageInfo_CreateTagRequest proto.InternalMessageInfo func (m *CreateTagRequest) GetParent() string { if m != nil { return m.Parent } return "" } func (m *CreateTagRequest) GetTag() *Tag { if m != nil { return m.Tag } return nil } // Request for the DeleteTag method. type DeleteTagRequest struct { // Resource name of the tag. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DeleteTagRequest) Reset() { *m = DeleteTagRequest{} } func (m *DeleteTagRequest) String() string { return proto.CompactTextString(m) } func (*DeleteTagRequest) ProtoMessage() {} func (*DeleteTagRequest) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{9} } func (m *DeleteTagRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteTagRequest.Unmarshal(m, b) } func (m *DeleteTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteTagRequest.Marshal(b, m, deterministic) } func (dst *DeleteTagRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_DeleteTagRequest.Merge(dst, src) } func (m *DeleteTagRequest) XXX_Size() int { return xxx_messageInfo_DeleteTagRequest.Size(m) } func (m *DeleteTagRequest) XXX_DiscardUnknown() { xxx_messageInfo_DeleteTagRequest.DiscardUnknown(m) } var xxx_messageInfo_DeleteTagRequest proto.InternalMessageInfo func (m *DeleteTagRequest) GetName() string { if m != nil { return m.Name } return "" } // Request for the ListTagsForIncident method. type ListTagsRequest struct { // Resource name of the incident, for example, // "projects/{project_id}/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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListTagsRequest) Reset() { *m = ListTagsRequest{} } func (m *ListTagsRequest) String() string { return proto.CompactTextString(m) } func (*ListTagsRequest) ProtoMessage() {} func (*ListTagsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{10} } func (m *ListTagsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTagsRequest.Unmarshal(m, b) } func (m *ListTagsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListTagsRequest.Marshal(b, m, deterministic) } func (dst *ListTagsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ListTagsRequest.Merge(dst, src) } func (m *ListTagsRequest) XXX_Size() int { return xxx_messageInfo_ListTagsRequest.Size(m) } func (m *ListTagsRequest) XXX_DiscardUnknown() { xxx_messageInfo_ListTagsRequest.DiscardUnknown(m) } var xxx_messageInfo_ListTagsRequest proto.InternalMessageInfo func (m *ListTagsRequest) GetParent() string { if m != nil { return m.Parent } return "" } func (m *ListTagsRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } func (m *ListTagsRequest) GetPageToken() string { if m != nil { return m.PageToken } return "" } // Response for the ListTagsForIncident method. type ListTagsResponse struct { // 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListTagsResponse) Reset() { *m = ListTagsResponse{} } func (m *ListTagsResponse) String() string { return proto.CompactTextString(m) } func (*ListTagsResponse) ProtoMessage() {} func (*ListTagsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{11} } func (m *ListTagsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTagsResponse.Unmarshal(m, b) } func (m *ListTagsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListTagsResponse.Marshal(b, m, deterministic) } func (dst *ListTagsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ListTagsResponse.Merge(dst, src) } func (m *ListTagsResponse) XXX_Size() int { return xxx_messageInfo_ListTagsResponse.Size(m) } func (m *ListTagsResponse) XXX_DiscardUnknown() { xxx_messageInfo_ListTagsResponse.DiscardUnknown(m) } var xxx_messageInfo_ListTagsResponse proto.InternalMessageInfo func (m *ListTagsResponse) GetTags() []*Tag { if m != nil { return m.Tags } return nil } func (m *ListTagsResponse) GetNextPageToken() string { if m != nil { return m.NextPageToken } return "" } // Request for the CreateSignal method. type CreateSignalRequest struct { // 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"` // The signal to create. Signal *Signal `protobuf:"bytes,2,opt,name=signal,proto3" json:"signal,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *CreateSignalRequest) Reset() { *m = CreateSignalRequest{} } func (m *CreateSignalRequest) String() string { return proto.CompactTextString(m) } func (*CreateSignalRequest) ProtoMessage() {} func (*CreateSignalRequest) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{12} } func (m *CreateSignalRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateSignalRequest.Unmarshal(m, b) } func (m *CreateSignalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateSignalRequest.Marshal(b, m, deterministic) } func (dst *CreateSignalRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_CreateSignalRequest.Merge(dst, src) } func (m *CreateSignalRequest) XXX_Size() int { return xxx_messageInfo_CreateSignalRequest.Size(m) } func (m *CreateSignalRequest) XXX_DiscardUnknown() { xxx_messageInfo_CreateSignalRequest.DiscardUnknown(m) } var xxx_messageInfo_CreateSignalRequest proto.InternalMessageInfo func (m *CreateSignalRequest) GetParent() string { if m != nil { return m.Parent } return "" } func (m *CreateSignalRequest) GetSignal() *Signal { if m != nil { return m.Signal } return nil } // Request for the SearchSignals method. type SearchSignalsRequest struct { // 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"` // Query to specify which signals should be returned. Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // Maximum number of `signals` to return in the response. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token from an earlier query, as returned in `next_page_token`. All // field values except for page_size and page_token should be the same as the // original query (may return an error or unexpected data otherwise). PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *SearchSignalsRequest) Reset() { *m = SearchSignalsRequest{} } func (m *SearchSignalsRequest) String() string { return proto.CompactTextString(m) } func (*SearchSignalsRequest) ProtoMessage() {} func (*SearchSignalsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{13} } func (m *SearchSignalsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchSignalsRequest.Unmarshal(m, b) } func (m *SearchSignalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SearchSignalsRequest.Marshal(b, m, deterministic) } func (dst *SearchSignalsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_SearchSignalsRequest.Merge(dst, src) } func (m *SearchSignalsRequest) XXX_Size() int { return xxx_messageInfo_SearchSignalsRequest.Size(m) } func (m *SearchSignalsRequest) XXX_DiscardUnknown() { xxx_messageInfo_SearchSignalsRequest.DiscardUnknown(m) } var xxx_messageInfo_SearchSignalsRequest proto.InternalMessageInfo func (m *SearchSignalsRequest) GetParent() string { if m != nil { return m.Parent } return "" } func (m *SearchSignalsRequest) GetQuery() string { if m != nil { return m.Query } return "" } func (m *SearchSignalsRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } func (m *SearchSignalsRequest) GetPageToken() string { if m != nil { return m.PageToken } return "" } // Response for the SearchSignals method. type SearchSignalsResponse struct { // Signals that matched the query in the request. Signals []*Signal `protobuf:"bytes,1,rep,name=signals,proto3" json:"signals,omitempty"` // Page token to fetch the next set of signals. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *SearchSignalsResponse) Reset() { *m = SearchSignalsResponse{} } func (m *SearchSignalsResponse) String() string { return proto.CompactTextString(m) } func (*SearchSignalsResponse) ProtoMessage() {} func (*SearchSignalsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{14} } func (m *SearchSignalsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchSignalsResponse.Unmarshal(m, b) } func (m *SearchSignalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SearchSignalsResponse.Marshal(b, m, deterministic) } func (dst *SearchSignalsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_SearchSignalsResponse.Merge(dst, src) } func (m *SearchSignalsResponse) XXX_Size() int { return xxx_messageInfo_SearchSignalsResponse.Size(m) } func (m *SearchSignalsResponse) XXX_DiscardUnknown() { xxx_messageInfo_SearchSignalsResponse.DiscardUnknown(m) } var xxx_messageInfo_SearchSignalsResponse proto.InternalMessageInfo func (m *SearchSignalsResponse) GetSignals() []*Signal { if m != nil { return m.Signals } return nil } func (m *SearchSignalsResponse) GetNextPageToken() string { if m != nil { return m.NextPageToken } return "" } // Request for the GetSignal method. type GetSignalRequest struct { // Resource name of the Signal resource, for example, // "projects/{project_id}/signals/{signal_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetSignalRequest) Reset() { *m = GetSignalRequest{} } func (m *GetSignalRequest) String() string { return proto.CompactTextString(m) } func (*GetSignalRequest) ProtoMessage() {} func (*GetSignalRequest) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{15} } func (m *GetSignalRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSignalRequest.Unmarshal(m, b) } func (m *GetSignalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetSignalRequest.Marshal(b, m, deterministic) } func (dst *GetSignalRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetSignalRequest.Merge(dst, src) } func (m *GetSignalRequest) XXX_Size() int { return xxx_messageInfo_GetSignalRequest.Size(m) } func (m *GetSignalRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetSignalRequest.DiscardUnknown(m) } var xxx_messageInfo_GetSignalRequest proto.InternalMessageInfo func (m *GetSignalRequest) GetName() string { if m != nil { return m.Name } return "" } // Request for the UpdateSignal method. type UpdateSignalRequest struct { // The signal to update with the new values. Signal *Signal `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *UpdateSignalRequest) Reset() { *m = UpdateSignalRequest{} } func (m *UpdateSignalRequest) String() string { return proto.CompactTextString(m) } func (*UpdateSignalRequest) ProtoMessage() {} func (*UpdateSignalRequest) Descriptor() ([]byte, []int) { return fileDescriptor_incidents_service_a19cef89fc9d533c, []int{16} } func (m *UpdateSignalRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateSignalRequest.Unmarshal(m, b) } func (m *UpdateSignalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateSignalRequest.Marshal(b, m, deterministic) } func (dst *UpdateSignalRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_UpdateSignalRequest.Merge(dst, src) } func (m *UpdateSignalRequest) XXX_Size() int { return xxx_messageInfo_UpdateSignalRequest.Size(m) } func (m *UpdateSignalRequest) XXX_DiscardUnknown() { xxx_messageInfo_UpdateSignalRequest.DiscardUnknown(m) } var xxx_messageInfo_UpdateSignalRequest proto.InternalMessageInfo func (m *UpdateSignalRequest) GetSignal() *Signal { if m != nil { return m.Signal } return nil } func (m *UpdateSignalRequest) GetUpdateMask() *field_mask.FieldMask { if m != nil { return m.UpdateMask } return nil } // Request for the SearchIncidents method. type SearchIncidentsRequest struct { // 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 incidents to return. // // Search atoms can be used to match certain specific fields. Otherwise, // plain text will match text fields in the incident. // // Search atoms: // * `start` - (timestamp) The time the incident started. // * `stage` - The stage of the incident, one of detected, triaged, mitigated, // resolved, documented, or duplicate (which correspond to values in the // Incident.Stage enum). These are ordered, so `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