| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: api/api_proto/features.proto |
| |
| package monorail |
| |
| import prpc "go.chromium.org/luci/grpc/prpc" |
| |
| import ( |
| context "context" |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| grpc "google.golang.org/grpc" |
| codes "google.golang.org/grpc/codes" |
| status "google.golang.org/grpc/status" |
| math "math" |
| ) |
| |
| // 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.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // Next available tag: 3 |
| type ListHotlistsByUserRequest struct { |
| User *UserRef `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListHotlistsByUserRequest) Reset() { *m = ListHotlistsByUserRequest{} } |
| func (m *ListHotlistsByUserRequest) String() string { return proto.CompactTextString(m) } |
| func (*ListHotlistsByUserRequest) ProtoMessage() {} |
| func (*ListHotlistsByUserRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{0} |
| } |
| |
| func (m *ListHotlistsByUserRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListHotlistsByUserRequest.Unmarshal(m, b) |
| } |
| func (m *ListHotlistsByUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListHotlistsByUserRequest.Marshal(b, m, deterministic) |
| } |
| func (m *ListHotlistsByUserRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListHotlistsByUserRequest.Merge(m, src) |
| } |
| func (m *ListHotlistsByUserRequest) XXX_Size() int { |
| return xxx_messageInfo_ListHotlistsByUserRequest.Size(m) |
| } |
| func (m *ListHotlistsByUserRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListHotlistsByUserRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListHotlistsByUserRequest proto.InternalMessageInfo |
| |
| func (m *ListHotlistsByUserRequest) GetUser() *UserRef { |
| if m != nil { |
| return m.User |
| } |
| return nil |
| } |
| |
| // Next available tag: 2 |
| type ListHotlistsByUserResponse struct { |
| Hotlists []*Hotlist `protobuf:"bytes,1,rep,name=hotlists,proto3" json:"hotlists,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListHotlistsByUserResponse) Reset() { *m = ListHotlistsByUserResponse{} } |
| func (m *ListHotlistsByUserResponse) String() string { return proto.CompactTextString(m) } |
| func (*ListHotlistsByUserResponse) ProtoMessage() {} |
| func (*ListHotlistsByUserResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{1} |
| } |
| |
| func (m *ListHotlistsByUserResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListHotlistsByUserResponse.Unmarshal(m, b) |
| } |
| func (m *ListHotlistsByUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListHotlistsByUserResponse.Marshal(b, m, deterministic) |
| } |
| func (m *ListHotlistsByUserResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListHotlistsByUserResponse.Merge(m, src) |
| } |
| func (m *ListHotlistsByUserResponse) XXX_Size() int { |
| return xxx_messageInfo_ListHotlistsByUserResponse.Size(m) |
| } |
| func (m *ListHotlistsByUserResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListHotlistsByUserResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListHotlistsByUserResponse proto.InternalMessageInfo |
| |
| func (m *ListHotlistsByUserResponse) GetHotlists() []*Hotlist { |
| if m != nil { |
| return m.Hotlists |
| } |
| return nil |
| } |
| |
| // Next available tag: 3 |
| type ListHotlistsByIssueRequest struct { |
| Issue *IssueRef `protobuf:"bytes,2,opt,name=issue,proto3" json:"issue,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListHotlistsByIssueRequest) Reset() { *m = ListHotlistsByIssueRequest{} } |
| func (m *ListHotlistsByIssueRequest) String() string { return proto.CompactTextString(m) } |
| func (*ListHotlistsByIssueRequest) ProtoMessage() {} |
| func (*ListHotlistsByIssueRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{2} |
| } |
| |
| func (m *ListHotlistsByIssueRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListHotlistsByIssueRequest.Unmarshal(m, b) |
| } |
| func (m *ListHotlistsByIssueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListHotlistsByIssueRequest.Marshal(b, m, deterministic) |
| } |
| func (m *ListHotlistsByIssueRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListHotlistsByIssueRequest.Merge(m, src) |
| } |
| func (m *ListHotlistsByIssueRequest) XXX_Size() int { |
| return xxx_messageInfo_ListHotlistsByIssueRequest.Size(m) |
| } |
| func (m *ListHotlistsByIssueRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListHotlistsByIssueRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListHotlistsByIssueRequest proto.InternalMessageInfo |
| |
| func (m *ListHotlistsByIssueRequest) GetIssue() *IssueRef { |
| if m != nil { |
| return m.Issue |
| } |
| return nil |
| } |
| |
| // Next available tag: 2 |
| type ListHotlistsByIssueResponse struct { |
| Hotlists []*Hotlist `protobuf:"bytes,1,rep,name=hotlists,proto3" json:"hotlists,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListHotlistsByIssueResponse) Reset() { *m = ListHotlistsByIssueResponse{} } |
| func (m *ListHotlistsByIssueResponse) String() string { return proto.CompactTextString(m) } |
| func (*ListHotlistsByIssueResponse) ProtoMessage() {} |
| func (*ListHotlistsByIssueResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{3} |
| } |
| |
| func (m *ListHotlistsByIssueResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListHotlistsByIssueResponse.Unmarshal(m, b) |
| } |
| func (m *ListHotlistsByIssueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListHotlistsByIssueResponse.Marshal(b, m, deterministic) |
| } |
| func (m *ListHotlistsByIssueResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListHotlistsByIssueResponse.Merge(m, src) |
| } |
| func (m *ListHotlistsByIssueResponse) XXX_Size() int { |
| return xxx_messageInfo_ListHotlistsByIssueResponse.Size(m) |
| } |
| func (m *ListHotlistsByIssueResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListHotlistsByIssueResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListHotlistsByIssueResponse proto.InternalMessageInfo |
| |
| func (m *ListHotlistsByIssueResponse) GetHotlists() []*Hotlist { |
| if m != nil { |
| return m.Hotlists |
| } |
| return nil |
| } |
| |
| // Next available tag: 2 |
| type ListRecentlyVisitedHotlistsRequest struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListRecentlyVisitedHotlistsRequest) Reset() { *m = ListRecentlyVisitedHotlistsRequest{} } |
| func (m *ListRecentlyVisitedHotlistsRequest) String() string { return proto.CompactTextString(m) } |
| func (*ListRecentlyVisitedHotlistsRequest) ProtoMessage() {} |
| func (*ListRecentlyVisitedHotlistsRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{4} |
| } |
| |
| func (m *ListRecentlyVisitedHotlistsRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListRecentlyVisitedHotlistsRequest.Unmarshal(m, b) |
| } |
| func (m *ListRecentlyVisitedHotlistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListRecentlyVisitedHotlistsRequest.Marshal(b, m, deterministic) |
| } |
| func (m *ListRecentlyVisitedHotlistsRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListRecentlyVisitedHotlistsRequest.Merge(m, src) |
| } |
| func (m *ListRecentlyVisitedHotlistsRequest) XXX_Size() int { |
| return xxx_messageInfo_ListRecentlyVisitedHotlistsRequest.Size(m) |
| } |
| func (m *ListRecentlyVisitedHotlistsRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListRecentlyVisitedHotlistsRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListRecentlyVisitedHotlistsRequest proto.InternalMessageInfo |
| |
| // Next available tag: 2 |
| type ListRecentlyVisitedHotlistsResponse struct { |
| Hotlists []*Hotlist `protobuf:"bytes,1,rep,name=hotlists,proto3" json:"hotlists,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListRecentlyVisitedHotlistsResponse) Reset() { *m = ListRecentlyVisitedHotlistsResponse{} } |
| func (m *ListRecentlyVisitedHotlistsResponse) String() string { return proto.CompactTextString(m) } |
| func (*ListRecentlyVisitedHotlistsResponse) ProtoMessage() {} |
| func (*ListRecentlyVisitedHotlistsResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{5} |
| } |
| |
| func (m *ListRecentlyVisitedHotlistsResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListRecentlyVisitedHotlistsResponse.Unmarshal(m, b) |
| } |
| func (m *ListRecentlyVisitedHotlistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListRecentlyVisitedHotlistsResponse.Marshal(b, m, deterministic) |
| } |
| func (m *ListRecentlyVisitedHotlistsResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListRecentlyVisitedHotlistsResponse.Merge(m, src) |
| } |
| func (m *ListRecentlyVisitedHotlistsResponse) XXX_Size() int { |
| return xxx_messageInfo_ListRecentlyVisitedHotlistsResponse.Size(m) |
| } |
| func (m *ListRecentlyVisitedHotlistsResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListRecentlyVisitedHotlistsResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListRecentlyVisitedHotlistsResponse proto.InternalMessageInfo |
| |
| func (m *ListRecentlyVisitedHotlistsResponse) GetHotlists() []*Hotlist { |
| if m != nil { |
| return m.Hotlists |
| } |
| return nil |
| } |
| |
| // Next available tag: 2 |
| type ListStarredHotlistsRequest struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListStarredHotlistsRequest) Reset() { *m = ListStarredHotlistsRequest{} } |
| func (m *ListStarredHotlistsRequest) String() string { return proto.CompactTextString(m) } |
| func (*ListStarredHotlistsRequest) ProtoMessage() {} |
| func (*ListStarredHotlistsRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{6} |
| } |
| |
| func (m *ListStarredHotlistsRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListStarredHotlistsRequest.Unmarshal(m, b) |
| } |
| func (m *ListStarredHotlistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListStarredHotlistsRequest.Marshal(b, m, deterministic) |
| } |
| func (m *ListStarredHotlistsRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListStarredHotlistsRequest.Merge(m, src) |
| } |
| func (m *ListStarredHotlistsRequest) XXX_Size() int { |
| return xxx_messageInfo_ListStarredHotlistsRequest.Size(m) |
| } |
| func (m *ListStarredHotlistsRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListStarredHotlistsRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListStarredHotlistsRequest proto.InternalMessageInfo |
| |
| // Next available tag: 2 |
| type ListStarredHotlistsResponse struct { |
| Hotlists []*Hotlist `protobuf:"bytes,1,rep,name=hotlists,proto3" json:"hotlists,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListStarredHotlistsResponse) Reset() { *m = ListStarredHotlistsResponse{} } |
| func (m *ListStarredHotlistsResponse) String() string { return proto.CompactTextString(m) } |
| func (*ListStarredHotlistsResponse) ProtoMessage() {} |
| func (*ListStarredHotlistsResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{7} |
| } |
| |
| func (m *ListStarredHotlistsResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListStarredHotlistsResponse.Unmarshal(m, b) |
| } |
| func (m *ListStarredHotlistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListStarredHotlistsResponse.Marshal(b, m, deterministic) |
| } |
| func (m *ListStarredHotlistsResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListStarredHotlistsResponse.Merge(m, src) |
| } |
| func (m *ListStarredHotlistsResponse) XXX_Size() int { |
| return xxx_messageInfo_ListStarredHotlistsResponse.Size(m) |
| } |
| func (m *ListStarredHotlistsResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListStarredHotlistsResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListStarredHotlistsResponse proto.InternalMessageInfo |
| |
| func (m *ListStarredHotlistsResponse) GetHotlists() []*Hotlist { |
| if m != nil { |
| return m.Hotlists |
| } |
| return nil |
| } |
| |
| // Next available tag: 3 |
| type GetHotlistStarCountRequest struct { |
| HotlistRef *HotlistRef `protobuf:"bytes,2,opt,name=hotlist_ref,json=hotlistRef,proto3" json:"hotlist_ref,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetHotlistStarCountRequest) Reset() { *m = GetHotlistStarCountRequest{} } |
| func (m *GetHotlistStarCountRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetHotlistStarCountRequest) ProtoMessage() {} |
| func (*GetHotlistStarCountRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{8} |
| } |
| |
| func (m *GetHotlistStarCountRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetHotlistStarCountRequest.Unmarshal(m, b) |
| } |
| func (m *GetHotlistStarCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetHotlistStarCountRequest.Marshal(b, m, deterministic) |
| } |
| func (m *GetHotlistStarCountRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetHotlistStarCountRequest.Merge(m, src) |
| } |
| func (m *GetHotlistStarCountRequest) XXX_Size() int { |
| return xxx_messageInfo_GetHotlistStarCountRequest.Size(m) |
| } |
| func (m *GetHotlistStarCountRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetHotlistStarCountRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetHotlistStarCountRequest proto.InternalMessageInfo |
| |
| func (m *GetHotlistStarCountRequest) GetHotlistRef() *HotlistRef { |
| if m != nil { |
| return m.HotlistRef |
| } |
| return nil |
| } |
| |
| // Next available tag: 2 |
| type GetHotlistStarCountResponse struct { |
| StarCount uint32 `protobuf:"varint,1,opt,name=star_count,json=starCount,proto3" json:"star_count,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetHotlistStarCountResponse) Reset() { *m = GetHotlistStarCountResponse{} } |
| func (m *GetHotlistStarCountResponse) String() string { return proto.CompactTextString(m) } |
| func (*GetHotlistStarCountResponse) ProtoMessage() {} |
| func (*GetHotlistStarCountResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{9} |
| } |
| |
| func (m *GetHotlistStarCountResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetHotlistStarCountResponse.Unmarshal(m, b) |
| } |
| func (m *GetHotlistStarCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetHotlistStarCountResponse.Marshal(b, m, deterministic) |
| } |
| func (m *GetHotlistStarCountResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetHotlistStarCountResponse.Merge(m, src) |
| } |
| func (m *GetHotlistStarCountResponse) XXX_Size() int { |
| return xxx_messageInfo_GetHotlistStarCountResponse.Size(m) |
| } |
| func (m *GetHotlistStarCountResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetHotlistStarCountResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetHotlistStarCountResponse proto.InternalMessageInfo |
| |
| func (m *GetHotlistStarCountResponse) GetStarCount() uint32 { |
| if m != nil { |
| return m.StarCount |
| } |
| return 0 |
| } |
| |
| // Next available tag: 4 |
| type StarHotlistRequest struct { |
| HotlistRef *HotlistRef `protobuf:"bytes,2,opt,name=hotlist_ref,json=hotlistRef,proto3" json:"hotlist_ref,omitempty"` |
| Starred bool `protobuf:"varint,3,opt,name=starred,proto3" json:"starred,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *StarHotlistRequest) Reset() { *m = StarHotlistRequest{} } |
| func (m *StarHotlistRequest) String() string { return proto.CompactTextString(m) } |
| func (*StarHotlistRequest) ProtoMessage() {} |
| func (*StarHotlistRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{10} |
| } |
| |
| func (m *StarHotlistRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_StarHotlistRequest.Unmarshal(m, b) |
| } |
| func (m *StarHotlistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_StarHotlistRequest.Marshal(b, m, deterministic) |
| } |
| func (m *StarHotlistRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_StarHotlistRequest.Merge(m, src) |
| } |
| func (m *StarHotlistRequest) XXX_Size() int { |
| return xxx_messageInfo_StarHotlistRequest.Size(m) |
| } |
| func (m *StarHotlistRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_StarHotlistRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_StarHotlistRequest proto.InternalMessageInfo |
| |
| func (m *StarHotlistRequest) GetHotlistRef() *HotlistRef { |
| if m != nil { |
| return m.HotlistRef |
| } |
| return nil |
| } |
| |
| func (m *StarHotlistRequest) GetStarred() bool { |
| if m != nil { |
| return m.Starred |
| } |
| return false |
| } |
| |
| // Next available tag: 2 |
| type StarHotlistResponse struct { |
| StarCount uint32 `protobuf:"varint,1,opt,name=star_count,json=starCount,proto3" json:"star_count,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *StarHotlistResponse) Reset() { *m = StarHotlistResponse{} } |
| func (m *StarHotlistResponse) String() string { return proto.CompactTextString(m) } |
| func (*StarHotlistResponse) ProtoMessage() {} |
| func (*StarHotlistResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{11} |
| } |
| |
| func (m *StarHotlistResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_StarHotlistResponse.Unmarshal(m, b) |
| } |
| func (m *StarHotlistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_StarHotlistResponse.Marshal(b, m, deterministic) |
| } |
| func (m *StarHotlistResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_StarHotlistResponse.Merge(m, src) |
| } |
| func (m *StarHotlistResponse) XXX_Size() int { |
| return xxx_messageInfo_StarHotlistResponse.Size(m) |
| } |
| func (m *StarHotlistResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_StarHotlistResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_StarHotlistResponse proto.InternalMessageInfo |
| |
| func (m *StarHotlistResponse) GetStarCount() uint32 { |
| if m != nil { |
| return m.StarCount |
| } |
| return 0 |
| } |
| |
| // Next available tag: 2 |
| type GetHotlistRequest struct { |
| HotlistRef *HotlistRef `protobuf:"bytes,1,opt,name=hotlist_ref,json=hotlistRef,proto3" json:"hotlist_ref,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetHotlistRequest) Reset() { *m = GetHotlistRequest{} } |
| func (m *GetHotlistRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetHotlistRequest) ProtoMessage() {} |
| func (*GetHotlistRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{12} |
| } |
| |
| func (m *GetHotlistRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetHotlistRequest.Unmarshal(m, b) |
| } |
| func (m *GetHotlistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetHotlistRequest.Marshal(b, m, deterministic) |
| } |
| func (m *GetHotlistRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetHotlistRequest.Merge(m, src) |
| } |
| func (m *GetHotlistRequest) XXX_Size() int { |
| return xxx_messageInfo_GetHotlistRequest.Size(m) |
| } |
| func (m *GetHotlistRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetHotlistRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetHotlistRequest proto.InternalMessageInfo |
| |
| func (m *GetHotlistRequest) GetHotlistRef() *HotlistRef { |
| if m != nil { |
| return m.HotlistRef |
| } |
| return nil |
| } |
| |
| // Next available tag: 2 |
| type GetHotlistResponse struct { |
| Hotlist *Hotlist `protobuf:"bytes,1,opt,name=hotlist,proto3" json:"hotlist,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetHotlistResponse) Reset() { *m = GetHotlistResponse{} } |
| func (m *GetHotlistResponse) String() string { return proto.CompactTextString(m) } |
| func (*GetHotlistResponse) ProtoMessage() {} |
| func (*GetHotlistResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{13} |
| } |
| |
| func (m *GetHotlistResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetHotlistResponse.Unmarshal(m, b) |
| } |
| func (m *GetHotlistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetHotlistResponse.Marshal(b, m, deterministic) |
| } |
| func (m *GetHotlistResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetHotlistResponse.Merge(m, src) |
| } |
| func (m *GetHotlistResponse) XXX_Size() int { |
| return xxx_messageInfo_GetHotlistResponse.Size(m) |
| } |
| func (m *GetHotlistResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetHotlistResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetHotlistResponse proto.InternalMessageInfo |
| |
| func (m *GetHotlistResponse) GetHotlist() *Hotlist { |
| if m != nil { |
| return m.Hotlist |
| } |
| return nil |
| } |
| |
| // Next available tag: 7 |
| type ListHotlistItemsRequest struct { |
| HotlistRef *HotlistRef `protobuf:"bytes,2,opt,name=hotlist_ref,json=hotlistRef,proto3" json:"hotlist_ref,omitempty"` |
| Pagination *Pagination `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` |
| Can uint32 `protobuf:"varint,4,opt,name=can,proto3" json:"can,omitempty"` |
| SortSpec string `protobuf:"bytes,5,opt,name=sort_spec,json=sortSpec,proto3" json:"sort_spec,omitempty"` |
| GroupBySpec string `protobuf:"bytes,6,opt,name=group_by_spec,json=groupBySpec,proto3" json:"group_by_spec,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListHotlistItemsRequest) Reset() { *m = ListHotlistItemsRequest{} } |
| func (m *ListHotlistItemsRequest) String() string { return proto.CompactTextString(m) } |
| func (*ListHotlistItemsRequest) ProtoMessage() {} |
| func (*ListHotlistItemsRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{14} |
| } |
| |
| func (m *ListHotlistItemsRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListHotlistItemsRequest.Unmarshal(m, b) |
| } |
| func (m *ListHotlistItemsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListHotlistItemsRequest.Marshal(b, m, deterministic) |
| } |
| func (m *ListHotlistItemsRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListHotlistItemsRequest.Merge(m, src) |
| } |
| func (m *ListHotlistItemsRequest) XXX_Size() int { |
| return xxx_messageInfo_ListHotlistItemsRequest.Size(m) |
| } |
| func (m *ListHotlistItemsRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListHotlistItemsRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListHotlistItemsRequest proto.InternalMessageInfo |
| |
| func (m *ListHotlistItemsRequest) GetHotlistRef() *HotlistRef { |
| if m != nil { |
| return m.HotlistRef |
| } |
| return nil |
| } |
| |
| func (m *ListHotlistItemsRequest) GetPagination() *Pagination { |
| if m != nil { |
| return m.Pagination |
| } |
| return nil |
| } |
| |
| func (m *ListHotlistItemsRequest) GetCan() uint32 { |
| if m != nil { |
| return m.Can |
| } |
| return 0 |
| } |
| |
| func (m *ListHotlistItemsRequest) GetSortSpec() string { |
| if m != nil { |
| return m.SortSpec |
| } |
| return "" |
| } |
| |
| func (m *ListHotlistItemsRequest) GetGroupBySpec() string { |
| if m != nil { |
| return m.GroupBySpec |
| } |
| return "" |
| } |
| |
| // Next available tag: 2 |
| type ListHotlistItemsResponse struct { |
| Items []*HotlistItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListHotlistItemsResponse) Reset() { *m = ListHotlistItemsResponse{} } |
| func (m *ListHotlistItemsResponse) String() string { return proto.CompactTextString(m) } |
| func (*ListHotlistItemsResponse) ProtoMessage() {} |
| func (*ListHotlistItemsResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{15} |
| } |
| |
| func (m *ListHotlistItemsResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListHotlistItemsResponse.Unmarshal(m, b) |
| } |
| func (m *ListHotlistItemsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListHotlistItemsResponse.Marshal(b, m, deterministic) |
| } |
| func (m *ListHotlistItemsResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListHotlistItemsResponse.Merge(m, src) |
| } |
| func (m *ListHotlistItemsResponse) XXX_Size() int { |
| return xxx_messageInfo_ListHotlistItemsResponse.Size(m) |
| } |
| func (m *ListHotlistItemsResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListHotlistItemsResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListHotlistItemsResponse proto.InternalMessageInfo |
| |
| func (m *ListHotlistItemsResponse) GetItems() []*HotlistItem { |
| if m != nil { |
| return m.Items |
| } |
| return nil |
| } |
| |
| // Next available tag: 7 |
| type CreateHotlistRequest struct { |
| Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| Summary string `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"` |
| Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` |
| EditorRefs []*UserRef `protobuf:"bytes,5,rep,name=editor_refs,json=editorRefs,proto3" json:"editor_refs,omitempty"` |
| IssueRefs []*IssueRef `protobuf:"bytes,6,rep,name=issue_refs,json=issueRefs,proto3" json:"issue_refs,omitempty"` |
| IsPrivate bool `protobuf:"varint,7,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CreateHotlistRequest) Reset() { *m = CreateHotlistRequest{} } |
| func (m *CreateHotlistRequest) String() string { return proto.CompactTextString(m) } |
| func (*CreateHotlistRequest) ProtoMessage() {} |
| func (*CreateHotlistRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{16} |
| } |
| |
| func (m *CreateHotlistRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CreateHotlistRequest.Unmarshal(m, b) |
| } |
| func (m *CreateHotlistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CreateHotlistRequest.Marshal(b, m, deterministic) |
| } |
| func (m *CreateHotlistRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CreateHotlistRequest.Merge(m, src) |
| } |
| func (m *CreateHotlistRequest) XXX_Size() int { |
| return xxx_messageInfo_CreateHotlistRequest.Size(m) |
| } |
| func (m *CreateHotlistRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_CreateHotlistRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CreateHotlistRequest proto.InternalMessageInfo |
| |
| func (m *CreateHotlistRequest) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *CreateHotlistRequest) GetSummary() string { |
| if m != nil { |
| return m.Summary |
| } |
| return "" |
| } |
| |
| func (m *CreateHotlistRequest) GetDescription() string { |
| if m != nil { |
| return m.Description |
| } |
| return "" |
| } |
| |
| func (m *CreateHotlistRequest) GetEditorRefs() []*UserRef { |
| if m != nil { |
| return m.EditorRefs |
| } |
| return nil |
| } |
| |
| func (m *CreateHotlistRequest) GetIssueRefs() []*IssueRef { |
| if m != nil { |
| return m.IssueRefs |
| } |
| return nil |
| } |
| |
| func (m *CreateHotlistRequest) GetIsPrivate() bool { |
| if m != nil { |
| return m.IsPrivate |
| } |
| return false |
| } |
| |
| // Next available tag: 1 |
| type CreateHotlistResponse struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CreateHotlistResponse) Reset() { *m = CreateHotlistResponse{} } |
| func (m *CreateHotlistResponse) String() string { return proto.CompactTextString(m) } |
| func (*CreateHotlistResponse) ProtoMessage() {} |
| func (*CreateHotlistResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{17} |
| } |
| |
| func (m *CreateHotlistResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CreateHotlistResponse.Unmarshal(m, b) |
| } |
| func (m *CreateHotlistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CreateHotlistResponse.Marshal(b, m, deterministic) |
| } |
| func (m *CreateHotlistResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CreateHotlistResponse.Merge(m, src) |
| } |
| func (m *CreateHotlistResponse) XXX_Size() int { |
| return xxx_messageInfo_CreateHotlistResponse.Size(m) |
| } |
| func (m *CreateHotlistResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_CreateHotlistResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CreateHotlistResponse proto.InternalMessageInfo |
| |
| // Next available tag: 3 |
| type CheckHotlistNameRequest struct { |
| Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CheckHotlistNameRequest) Reset() { *m = CheckHotlistNameRequest{} } |
| func (m *CheckHotlistNameRequest) String() string { return proto.CompactTextString(m) } |
| func (*CheckHotlistNameRequest) ProtoMessage() {} |
| func (*CheckHotlistNameRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{18} |
| } |
| |
| func (m *CheckHotlistNameRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CheckHotlistNameRequest.Unmarshal(m, b) |
| } |
| func (m *CheckHotlistNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CheckHotlistNameRequest.Marshal(b, m, deterministic) |
| } |
| func (m *CheckHotlistNameRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CheckHotlistNameRequest.Merge(m, src) |
| } |
| func (m *CheckHotlistNameRequest) XXX_Size() int { |
| return xxx_messageInfo_CheckHotlistNameRequest.Size(m) |
| } |
| func (m *CheckHotlistNameRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_CheckHotlistNameRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CheckHotlistNameRequest proto.InternalMessageInfo |
| |
| func (m *CheckHotlistNameRequest) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| // Next available tag: 1 |
| type CheckHotlistNameResponse struct { |
| Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CheckHotlistNameResponse) Reset() { *m = CheckHotlistNameResponse{} } |
| func (m *CheckHotlistNameResponse) String() string { return proto.CompactTextString(m) } |
| func (*CheckHotlistNameResponse) ProtoMessage() {} |
| func (*CheckHotlistNameResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{19} |
| } |
| |
| func (m *CheckHotlistNameResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CheckHotlistNameResponse.Unmarshal(m, b) |
| } |
| func (m *CheckHotlistNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CheckHotlistNameResponse.Marshal(b, m, deterministic) |
| } |
| func (m *CheckHotlistNameResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CheckHotlistNameResponse.Merge(m, src) |
| } |
| func (m *CheckHotlistNameResponse) XXX_Size() int { |
| return xxx_messageInfo_CheckHotlistNameResponse.Size(m) |
| } |
| func (m *CheckHotlistNameResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_CheckHotlistNameResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CheckHotlistNameResponse proto.InternalMessageInfo |
| |
| func (m *CheckHotlistNameResponse) GetError() string { |
| if m != nil { |
| return m.Error |
| } |
| return "" |
| } |
| |
| // Next available tag: 4 |
| type RemoveIssuesFromHotlistsRequest struct { |
| HotlistRefs []*HotlistRef `protobuf:"bytes,2,rep,name=hotlist_refs,json=hotlistRefs,proto3" json:"hotlist_refs,omitempty"` |
| IssueRefs []*IssueRef `protobuf:"bytes,3,rep,name=issue_refs,json=issueRefs,proto3" json:"issue_refs,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *RemoveIssuesFromHotlistsRequest) Reset() { *m = RemoveIssuesFromHotlistsRequest{} } |
| func (m *RemoveIssuesFromHotlistsRequest) String() string { return proto.CompactTextString(m) } |
| func (*RemoveIssuesFromHotlistsRequest) ProtoMessage() {} |
| func (*RemoveIssuesFromHotlistsRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{20} |
| } |
| |
| func (m *RemoveIssuesFromHotlistsRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_RemoveIssuesFromHotlistsRequest.Unmarshal(m, b) |
| } |
| func (m *RemoveIssuesFromHotlistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_RemoveIssuesFromHotlistsRequest.Marshal(b, m, deterministic) |
| } |
| func (m *RemoveIssuesFromHotlistsRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_RemoveIssuesFromHotlistsRequest.Merge(m, src) |
| } |
| func (m *RemoveIssuesFromHotlistsRequest) XXX_Size() int { |
| return xxx_messageInfo_RemoveIssuesFromHotlistsRequest.Size(m) |
| } |
| func (m *RemoveIssuesFromHotlistsRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_RemoveIssuesFromHotlistsRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_RemoveIssuesFromHotlistsRequest proto.InternalMessageInfo |
| |
| func (m *RemoveIssuesFromHotlistsRequest) GetHotlistRefs() []*HotlistRef { |
| if m != nil { |
| return m.HotlistRefs |
| } |
| return nil |
| } |
| |
| func (m *RemoveIssuesFromHotlistsRequest) GetIssueRefs() []*IssueRef { |
| if m != nil { |
| return m.IssueRefs |
| } |
| return nil |
| } |
| |
| // Next available tag: 1 |
| type RemoveIssuesFromHotlistsResponse struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *RemoveIssuesFromHotlistsResponse) Reset() { *m = RemoveIssuesFromHotlistsResponse{} } |
| func (m *RemoveIssuesFromHotlistsResponse) String() string { return proto.CompactTextString(m) } |
| func (*RemoveIssuesFromHotlistsResponse) ProtoMessage() {} |
| func (*RemoveIssuesFromHotlistsResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{21} |
| } |
| |
| func (m *RemoveIssuesFromHotlistsResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_RemoveIssuesFromHotlistsResponse.Unmarshal(m, b) |
| } |
| func (m *RemoveIssuesFromHotlistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_RemoveIssuesFromHotlistsResponse.Marshal(b, m, deterministic) |
| } |
| func (m *RemoveIssuesFromHotlistsResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_RemoveIssuesFromHotlistsResponse.Merge(m, src) |
| } |
| func (m *RemoveIssuesFromHotlistsResponse) XXX_Size() int { |
| return xxx_messageInfo_RemoveIssuesFromHotlistsResponse.Size(m) |
| } |
| func (m *RemoveIssuesFromHotlistsResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_RemoveIssuesFromHotlistsResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_RemoveIssuesFromHotlistsResponse proto.InternalMessageInfo |
| |
| // Next available tag: 5 |
| type AddIssuesToHotlistsRequest struct { |
| HotlistRefs []*HotlistRef `protobuf:"bytes,2,rep,name=hotlist_refs,json=hotlistRefs,proto3" json:"hotlist_refs,omitempty"` |
| IssueRefs []*IssueRef `protobuf:"bytes,3,rep,name=issue_refs,json=issueRefs,proto3" json:"issue_refs,omitempty"` |
| Note string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *AddIssuesToHotlistsRequest) Reset() { *m = AddIssuesToHotlistsRequest{} } |
| func (m *AddIssuesToHotlistsRequest) String() string { return proto.CompactTextString(m) } |
| func (*AddIssuesToHotlistsRequest) ProtoMessage() {} |
| func (*AddIssuesToHotlistsRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{22} |
| } |
| |
| func (m *AddIssuesToHotlistsRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_AddIssuesToHotlistsRequest.Unmarshal(m, b) |
| } |
| func (m *AddIssuesToHotlistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_AddIssuesToHotlistsRequest.Marshal(b, m, deterministic) |
| } |
| func (m *AddIssuesToHotlistsRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_AddIssuesToHotlistsRequest.Merge(m, src) |
| } |
| func (m *AddIssuesToHotlistsRequest) XXX_Size() int { |
| return xxx_messageInfo_AddIssuesToHotlistsRequest.Size(m) |
| } |
| func (m *AddIssuesToHotlistsRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_AddIssuesToHotlistsRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_AddIssuesToHotlistsRequest proto.InternalMessageInfo |
| |
| func (m *AddIssuesToHotlistsRequest) GetHotlistRefs() []*HotlistRef { |
| if m != nil { |
| return m.HotlistRefs |
| } |
| return nil |
| } |
| |
| func (m *AddIssuesToHotlistsRequest) GetIssueRefs() []*IssueRef { |
| if m != nil { |
| return m.IssueRefs |
| } |
| return nil |
| } |
| |
| func (m *AddIssuesToHotlistsRequest) GetNote() string { |
| if m != nil { |
| return m.Note |
| } |
| return "" |
| } |
| |
| // Next available tag: 1 |
| type AddIssuesToHotlistsResponse struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *AddIssuesToHotlistsResponse) Reset() { *m = AddIssuesToHotlistsResponse{} } |
| func (m *AddIssuesToHotlistsResponse) String() string { return proto.CompactTextString(m) } |
| func (*AddIssuesToHotlistsResponse) ProtoMessage() {} |
| func (*AddIssuesToHotlistsResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{23} |
| } |
| |
| func (m *AddIssuesToHotlistsResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_AddIssuesToHotlistsResponse.Unmarshal(m, b) |
| } |
| func (m *AddIssuesToHotlistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_AddIssuesToHotlistsResponse.Marshal(b, m, deterministic) |
| } |
| func (m *AddIssuesToHotlistsResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_AddIssuesToHotlistsResponse.Merge(m, src) |
| } |
| func (m *AddIssuesToHotlistsResponse) XXX_Size() int { |
| return xxx_messageInfo_AddIssuesToHotlistsResponse.Size(m) |
| } |
| func (m *AddIssuesToHotlistsResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_AddIssuesToHotlistsResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_AddIssuesToHotlistsResponse proto.InternalMessageInfo |
| |
| // Next available tag: 5 |
| type RerankHotlistIssuesRequest struct { |
| HotlistRef *HotlistRef `protobuf:"bytes,1,opt,name=hotlist_ref,json=hotlistRef,proto3" json:"hotlist_ref,omitempty"` |
| MovedRefs []*IssueRef `protobuf:"bytes,2,rep,name=moved_refs,json=movedRefs,proto3" json:"moved_refs,omitempty"` |
| TargetRef *IssueRef `protobuf:"bytes,3,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"` |
| SplitAbove bool `protobuf:"varint,4,opt,name=split_above,json=splitAbove,proto3" json:"split_above,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *RerankHotlistIssuesRequest) Reset() { *m = RerankHotlistIssuesRequest{} } |
| func (m *RerankHotlistIssuesRequest) String() string { return proto.CompactTextString(m) } |
| func (*RerankHotlistIssuesRequest) ProtoMessage() {} |
| func (*RerankHotlistIssuesRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{24} |
| } |
| |
| func (m *RerankHotlistIssuesRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_RerankHotlistIssuesRequest.Unmarshal(m, b) |
| } |
| func (m *RerankHotlistIssuesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_RerankHotlistIssuesRequest.Marshal(b, m, deterministic) |
| } |
| func (m *RerankHotlistIssuesRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_RerankHotlistIssuesRequest.Merge(m, src) |
| } |
| func (m *RerankHotlistIssuesRequest) XXX_Size() int { |
| return xxx_messageInfo_RerankHotlistIssuesRequest.Size(m) |
| } |
| func (m *RerankHotlistIssuesRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_RerankHotlistIssuesRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_RerankHotlistIssuesRequest proto.InternalMessageInfo |
| |
| func (m *RerankHotlistIssuesRequest) GetHotlistRef() *HotlistRef { |
| if m != nil { |
| return m.HotlistRef |
| } |
| return nil |
| } |
| |
| func (m *RerankHotlistIssuesRequest) GetMovedRefs() []*IssueRef { |
| if m != nil { |
| return m.MovedRefs |
| } |
| return nil |
| } |
| |
| func (m *RerankHotlistIssuesRequest) GetTargetRef() *IssueRef { |
| if m != nil { |
| return m.TargetRef |
| } |
| return nil |
| } |
| |
| func (m *RerankHotlistIssuesRequest) GetSplitAbove() bool { |
| if m != nil { |
| return m.SplitAbove |
| } |
| return false |
| } |
| |
| // Next available tag: 1 |
| type RerankHotlistIssuesResponse struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *RerankHotlistIssuesResponse) Reset() { *m = RerankHotlistIssuesResponse{} } |
| func (m *RerankHotlistIssuesResponse) String() string { return proto.CompactTextString(m) } |
| func (*RerankHotlistIssuesResponse) ProtoMessage() {} |
| func (*RerankHotlistIssuesResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{25} |
| } |
| |
| func (m *RerankHotlistIssuesResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_RerankHotlistIssuesResponse.Unmarshal(m, b) |
| } |
| func (m *RerankHotlistIssuesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_RerankHotlistIssuesResponse.Marshal(b, m, deterministic) |
| } |
| func (m *RerankHotlistIssuesResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_RerankHotlistIssuesResponse.Merge(m, src) |
| } |
| func (m *RerankHotlistIssuesResponse) XXX_Size() int { |
| return xxx_messageInfo_RerankHotlistIssuesResponse.Size(m) |
| } |
| func (m *RerankHotlistIssuesResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_RerankHotlistIssuesResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_RerankHotlistIssuesResponse proto.InternalMessageInfo |
| |
| // Next available tag: 5 |
| type UpdateHotlistIssueNoteRequest struct { |
| HotlistRef *HotlistRef `protobuf:"bytes,2,opt,name=hotlist_ref,json=hotlistRef,proto3" json:"hotlist_ref,omitempty"` |
| IssueRef *IssueRef `protobuf:"bytes,3,opt,name=issue_ref,json=issueRef,proto3" json:"issue_ref,omitempty"` |
| Note string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *UpdateHotlistIssueNoteRequest) Reset() { *m = UpdateHotlistIssueNoteRequest{} } |
| func (m *UpdateHotlistIssueNoteRequest) String() string { return proto.CompactTextString(m) } |
| func (*UpdateHotlistIssueNoteRequest) ProtoMessage() {} |
| func (*UpdateHotlistIssueNoteRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{26} |
| } |
| |
| func (m *UpdateHotlistIssueNoteRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_UpdateHotlistIssueNoteRequest.Unmarshal(m, b) |
| } |
| func (m *UpdateHotlistIssueNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_UpdateHotlistIssueNoteRequest.Marshal(b, m, deterministic) |
| } |
| func (m *UpdateHotlistIssueNoteRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_UpdateHotlistIssueNoteRequest.Merge(m, src) |
| } |
| func (m *UpdateHotlistIssueNoteRequest) XXX_Size() int { |
| return xxx_messageInfo_UpdateHotlistIssueNoteRequest.Size(m) |
| } |
| func (m *UpdateHotlistIssueNoteRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_UpdateHotlistIssueNoteRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_UpdateHotlistIssueNoteRequest proto.InternalMessageInfo |
| |
| func (m *UpdateHotlistIssueNoteRequest) GetHotlistRef() *HotlistRef { |
| if m != nil { |
| return m.HotlistRef |
| } |
| return nil |
| } |
| |
| func (m *UpdateHotlistIssueNoteRequest) GetIssueRef() *IssueRef { |
| if m != nil { |
| return m.IssueRef |
| } |
| return nil |
| } |
| |
| func (m *UpdateHotlistIssueNoteRequest) GetNote() string { |
| if m != nil { |
| return m.Note |
| } |
| return "" |
| } |
| |
| // Next available tag: 1 |
| type UpdateHotlistIssueNoteResponse struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *UpdateHotlistIssueNoteResponse) Reset() { *m = UpdateHotlistIssueNoteResponse{} } |
| func (m *UpdateHotlistIssueNoteResponse) String() string { return proto.CompactTextString(m) } |
| func (*UpdateHotlistIssueNoteResponse) ProtoMessage() {} |
| func (*UpdateHotlistIssueNoteResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{27} |
| } |
| |
| func (m *UpdateHotlistIssueNoteResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_UpdateHotlistIssueNoteResponse.Unmarshal(m, b) |
| } |
| func (m *UpdateHotlistIssueNoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_UpdateHotlistIssueNoteResponse.Marshal(b, m, deterministic) |
| } |
| func (m *UpdateHotlistIssueNoteResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_UpdateHotlistIssueNoteResponse.Merge(m, src) |
| } |
| func (m *UpdateHotlistIssueNoteResponse) XXX_Size() int { |
| return xxx_messageInfo_UpdateHotlistIssueNoteResponse.Size(m) |
| } |
| func (m *UpdateHotlistIssueNoteResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_UpdateHotlistIssueNoteResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_UpdateHotlistIssueNoteResponse proto.InternalMessageInfo |
| |
| // Next available tag: 2 |
| type DeleteHotlistRequest struct { |
| HotlistRef *HotlistRef `protobuf:"bytes,1,opt,name=hotlist_ref,json=hotlistRef,proto3" json:"hotlist_ref,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DeleteHotlistRequest) Reset() { *m = DeleteHotlistRequest{} } |
| func (m *DeleteHotlistRequest) String() string { return proto.CompactTextString(m) } |
| func (*DeleteHotlistRequest) ProtoMessage() {} |
| func (*DeleteHotlistRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{28} |
| } |
| |
| func (m *DeleteHotlistRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DeleteHotlistRequest.Unmarshal(m, b) |
| } |
| func (m *DeleteHotlistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DeleteHotlistRequest.Marshal(b, m, deterministic) |
| } |
| func (m *DeleteHotlistRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DeleteHotlistRequest.Merge(m, src) |
| } |
| func (m *DeleteHotlistRequest) XXX_Size() int { |
| return xxx_messageInfo_DeleteHotlistRequest.Size(m) |
| } |
| func (m *DeleteHotlistRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_DeleteHotlistRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DeleteHotlistRequest proto.InternalMessageInfo |
| |
| func (m *DeleteHotlistRequest) GetHotlistRef() *HotlistRef { |
| if m != nil { |
| return m.HotlistRef |
| } |
| return nil |
| } |
| |
| // Next available tag: 1 |
| type DeleteHotlistResponse struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DeleteHotlistResponse) Reset() { *m = DeleteHotlistResponse{} } |
| func (m *DeleteHotlistResponse) String() string { return proto.CompactTextString(m) } |
| func (*DeleteHotlistResponse) ProtoMessage() {} |
| func (*DeleteHotlistResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{29} |
| } |
| |
| func (m *DeleteHotlistResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DeleteHotlistResponse.Unmarshal(m, b) |
| } |
| func (m *DeleteHotlistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DeleteHotlistResponse.Marshal(b, m, deterministic) |
| } |
| func (m *DeleteHotlistResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DeleteHotlistResponse.Merge(m, src) |
| } |
| func (m *DeleteHotlistResponse) XXX_Size() int { |
| return xxx_messageInfo_DeleteHotlistResponse.Size(m) |
| } |
| func (m *DeleteHotlistResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_DeleteHotlistResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DeleteHotlistResponse proto.InternalMessageInfo |
| |
| // Next available tag: 4 |
| type PredictComponentRequest struct { |
| Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` |
| ProjectName string `protobuf:"bytes,3,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *PredictComponentRequest) Reset() { *m = PredictComponentRequest{} } |
| func (m *PredictComponentRequest) String() string { return proto.CompactTextString(m) } |
| func (*PredictComponentRequest) ProtoMessage() {} |
| func (*PredictComponentRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{30} |
| } |
| |
| func (m *PredictComponentRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PredictComponentRequest.Unmarshal(m, b) |
| } |
| func (m *PredictComponentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PredictComponentRequest.Marshal(b, m, deterministic) |
| } |
| func (m *PredictComponentRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PredictComponentRequest.Merge(m, src) |
| } |
| func (m *PredictComponentRequest) XXX_Size() int { |
| return xxx_messageInfo_PredictComponentRequest.Size(m) |
| } |
| func (m *PredictComponentRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_PredictComponentRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PredictComponentRequest proto.InternalMessageInfo |
| |
| func (m *PredictComponentRequest) GetText() string { |
| if m != nil { |
| return m.Text |
| } |
| return "" |
| } |
| |
| func (m *PredictComponentRequest) GetProjectName() string { |
| if m != nil { |
| return m.ProjectName |
| } |
| return "" |
| } |
| |
| // Next available tag: 2 |
| type PredictComponentResponse struct { |
| ComponentRef *ComponentRef `protobuf:"bytes,1,opt,name=component_ref,json=componentRef,proto3" json:"component_ref,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *PredictComponentResponse) Reset() { *m = PredictComponentResponse{} } |
| func (m *PredictComponentResponse) String() string { return proto.CompactTextString(m) } |
| func (*PredictComponentResponse) ProtoMessage() {} |
| func (*PredictComponentResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_25454cf49fe83cc0, []int{31} |
| } |
| |
| func (m *PredictComponentResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PredictComponentResponse.Unmarshal(m, b) |
| } |
| func (m *PredictComponentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PredictComponentResponse.Marshal(b, m, deterministic) |
| } |
| func (m *PredictComponentResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PredictComponentResponse.Merge(m, src) |
| } |
| func (m *PredictComponentResponse) XXX_Size() int { |
| return xxx_messageInfo_PredictComponentResponse.Size(m) |
| } |
| func (m *PredictComponentResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_PredictComponentResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PredictComponentResponse proto.InternalMessageInfo |
| |
| func (m *PredictComponentResponse) GetComponentRef() *ComponentRef { |
| if m != nil { |
| return m.ComponentRef |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*ListHotlistsByUserRequest)(nil), "monorail.ListHotlistsByUserRequest") |
| proto.RegisterType((*ListHotlistsByUserResponse)(nil), "monorail.ListHotlistsByUserResponse") |
| proto.RegisterType((*ListHotlistsByIssueRequest)(nil), "monorail.ListHotlistsByIssueRequest") |
| proto.RegisterType((*ListHotlistsByIssueResponse)(nil), "monorail.ListHotlistsByIssueResponse") |
| proto.RegisterType((*ListRecentlyVisitedHotlistsRequest)(nil), "monorail.ListRecentlyVisitedHotlistsRequest") |
| proto.RegisterType((*ListRecentlyVisitedHotlistsResponse)(nil), "monorail.ListRecentlyVisitedHotlistsResponse") |
| proto.RegisterType((*ListStarredHotlistsRequest)(nil), "monorail.ListStarredHotlistsRequest") |
| proto.RegisterType((*ListStarredHotlistsResponse)(nil), "monorail.ListStarredHotlistsResponse") |
| proto.RegisterType((*GetHotlistStarCountRequest)(nil), "monorail.GetHotlistStarCountRequest") |
| proto.RegisterType((*GetHotlistStarCountResponse)(nil), "monorail.GetHotlistStarCountResponse") |
| proto.RegisterType((*StarHotlistRequest)(nil), "monorail.StarHotlistRequest") |
| proto.RegisterType((*StarHotlistResponse)(nil), "monorail.StarHotlistResponse") |
| proto.RegisterType((*GetHotlistRequest)(nil), "monorail.GetHotlistRequest") |
| proto.RegisterType((*GetHotlistResponse)(nil), "monorail.GetHotlistResponse") |
| proto.RegisterType((*ListHotlistItemsRequest)(nil), "monorail.ListHotlistItemsRequest") |
| proto.RegisterType((*ListHotlistItemsResponse)(nil), "monorail.ListHotlistItemsResponse") |
| proto.RegisterType((*CreateHotlistRequest)(nil), "monorail.CreateHotlistRequest") |
| proto.RegisterType((*CreateHotlistResponse)(nil), "monorail.CreateHotlistResponse") |
| proto.RegisterType((*CheckHotlistNameRequest)(nil), "monorail.CheckHotlistNameRequest") |
| proto.RegisterType((*CheckHotlistNameResponse)(nil), "monorail.CheckHotlistNameResponse") |
| proto.RegisterType((*RemoveIssuesFromHotlistsRequest)(nil), "monorail.RemoveIssuesFromHotlistsRequest") |
| proto.RegisterType((*RemoveIssuesFromHotlistsResponse)(nil), "monorail.RemoveIssuesFromHotlistsResponse") |
| proto.RegisterType((*AddIssuesToHotlistsRequest)(nil), "monorail.AddIssuesToHotlistsRequest") |
| proto.RegisterType((*AddIssuesToHotlistsResponse)(nil), "monorail.AddIssuesToHotlistsResponse") |
| proto.RegisterType((*RerankHotlistIssuesRequest)(nil), "monorail.RerankHotlistIssuesRequest") |
| proto.RegisterType((*RerankHotlistIssuesResponse)(nil), "monorail.RerankHotlistIssuesResponse") |
| proto.RegisterType((*UpdateHotlistIssueNoteRequest)(nil), "monorail.UpdateHotlistIssueNoteRequest") |
| proto.RegisterType((*UpdateHotlistIssueNoteResponse)(nil), "monorail.UpdateHotlistIssueNoteResponse") |
| proto.RegisterType((*DeleteHotlistRequest)(nil), "monorail.DeleteHotlistRequest") |
| proto.RegisterType((*DeleteHotlistResponse)(nil), "monorail.DeleteHotlistResponse") |
| proto.RegisterType((*PredictComponentRequest)(nil), "monorail.PredictComponentRequest") |
| proto.RegisterType((*PredictComponentResponse)(nil), "monorail.PredictComponentResponse") |
| } |
| |
| func init() { |
| proto.RegisterFile("api/api_proto/features.proto", fileDescriptor_25454cf49fe83cc0) |
| } |
| |
| var fileDescriptor_25454cf49fe83cc0 = []byte{ |
| // 1174 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xdd, 0x52, 0x1c, 0x45, |
| 0x14, 0x66, 0xc2, 0xdf, 0xee, 0x59, 0xa8, 0x4a, 0x3a, 0x10, 0xc6, 0x01, 0xc2, 0xa6, 0x43, 0xca, |
| 0xf5, 0x07, 0x50, 0x8c, 0xe5, 0x85, 0xde, 0x00, 0x16, 0x11, 0xc5, 0x14, 0x35, 0x24, 0x7a, 0xe1, |
| 0xc5, 0xd6, 0x30, 0xdb, 0x0b, 0xa3, 0xcc, 0xf4, 0xd8, 0xdd, 0x4b, 0x49, 0x95, 0xaf, 0xe0, 0x13, |
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 0xcc, 0x51, 0x05, 0x56, 0x9e, 0x11, 0x76, 0x81, 0x55, 0x4c, 0x24, 0xbb, 0xc0, 0xaa, 0x46, 0x0c, |
| 0x9e, 0x3a, 0x9b, 0x53, 0xff, 0x65, 0x7c, 0xf6, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd2, 0x97, |
| 0xfd, 0x6e, 0x37, 0x11, 0x00, 0x00, |
| } |
| |
| // 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 |
| |
| // FeaturesClient is the client API for Features service. |
| // |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| type FeaturesClient interface { |
| ListHotlistsByUser(ctx context.Context, in *ListHotlistsByUserRequest, opts ...grpc.CallOption) (*ListHotlistsByUserResponse, error) |
| ListHotlistsByIssue(ctx context.Context, in *ListHotlistsByIssueRequest, opts ...grpc.CallOption) (*ListHotlistsByIssueResponse, error) |
| ListRecentlyVisitedHotlists(ctx context.Context, in *ListRecentlyVisitedHotlistsRequest, opts ...grpc.CallOption) (*ListRecentlyVisitedHotlistsResponse, error) |
| ListStarredHotlists(ctx context.Context, in *ListStarredHotlistsRequest, opts ...grpc.CallOption) (*ListStarredHotlistsResponse, error) |
| GetHotlistStarCount(ctx context.Context, in *GetHotlistStarCountRequest, opts ...grpc.CallOption) (*GetHotlistStarCountResponse, error) |
| StarHotlist(ctx context.Context, in *StarHotlistRequest, opts ...grpc.CallOption) (*StarHotlistResponse, error) |
| GetHotlist(ctx context.Context, in *GetHotlistRequest, opts ...grpc.CallOption) (*GetHotlistResponse, error) |
| ListHotlistItems(ctx context.Context, in *ListHotlistItemsRequest, opts ...grpc.CallOption) (*ListHotlistItemsResponse, error) |
| CreateHotlist(ctx context.Context, in *CreateHotlistRequest, opts ...grpc.CallOption) (*CreateHotlistResponse, error) |
| CheckHotlistName(ctx context.Context, in *CheckHotlistNameRequest, opts ...grpc.CallOption) (*CheckHotlistNameResponse, error) |
| RemoveIssuesFromHotlists(ctx context.Context, in *RemoveIssuesFromHotlistsRequest, opts ...grpc.CallOption) (*RemoveIssuesFromHotlistsResponse, error) |
| AddIssuesToHotlists(ctx context.Context, in *AddIssuesToHotlistsRequest, opts ...grpc.CallOption) (*AddIssuesToHotlistsResponse, error) |
| RerankHotlistIssues(ctx context.Context, in *RerankHotlistIssuesRequest, opts ...grpc.CallOption) (*RerankHotlistIssuesResponse, error) |
| UpdateHotlistIssueNote(ctx context.Context, in *UpdateHotlistIssueNoteRequest, opts ...grpc.CallOption) (*UpdateHotlistIssueNoteResponse, error) |
| DeleteHotlist(ctx context.Context, in *DeleteHotlistRequest, opts ...grpc.CallOption) (*DeleteHotlistResponse, error) |
| PredictComponent(ctx context.Context, in *PredictComponentRequest, opts ...grpc.CallOption) (*PredictComponentResponse, error) |
| } |
| type featuresPRPCClient struct { |
| client *prpc.Client |
| } |
| |
| func NewFeaturesPRPCClient(client *prpc.Client) FeaturesClient { |
| return &featuresPRPCClient{client} |
| } |
| |
| func (c *featuresPRPCClient) ListHotlistsByUser(ctx context.Context, in *ListHotlistsByUserRequest, opts ...grpc.CallOption) (*ListHotlistsByUserResponse, error) { |
| out := new(ListHotlistsByUserResponse) |
| err := c.client.Call(ctx, "monorail.Features", "ListHotlistsByUser", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresPRPCClient) ListHotlistsByIssue(ctx context.Context, in *ListHotlistsByIssueRequest, opts ...grpc.CallOption) (*ListHotlistsByIssueResponse, error) { |
| out := new(ListHotlistsByIssueResponse) |
| err := c.client.Call(ctx, "monorail.Features", "ListHotlistsByIssue", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresPRPCClient) ListRecentlyVisitedHotlists(ctx context.Context, in *ListRecentlyVisitedHotlistsRequest, opts ...grpc.CallOption) (*ListRecentlyVisitedHotlistsResponse, error) { |
| out := new(ListRecentlyVisitedHotlistsResponse) |
| err := c.client.Call(ctx, "monorail.Features", "ListRecentlyVisitedHotlists", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresPRPCClient) ListStarredHotlists(ctx context.Context, in *ListStarredHotlistsRequest, opts ...grpc.CallOption) (*ListStarredHotlistsResponse, error) { |
| out := new(ListStarredHotlistsResponse) |
| err := c.client.Call(ctx, "monorail.Features", "ListStarredHotlists", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresPRPCClient) GetHotlistStarCount(ctx context.Context, in *GetHotlistStarCountRequest, opts ...grpc.CallOption) (*GetHotlistStarCountResponse, error) { |
| out := new(GetHotlistStarCountResponse) |
| err := c.client.Call(ctx, "monorail.Features", "GetHotlistStarCount", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresPRPCClient) StarHotlist(ctx context.Context, in *StarHotlistRequest, opts ...grpc.CallOption) (*StarHotlistResponse, error) { |
| out := new(StarHotlistResponse) |
| err := c.client.Call(ctx, "monorail.Features", "StarHotlist", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresPRPCClient) GetHotlist(ctx context.Context, in *GetHotlistRequest, opts ...grpc.CallOption) (*GetHotlistResponse, error) { |
| out := new(GetHotlistResponse) |
| err := c.client.Call(ctx, "monorail.Features", "GetHotlist", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresPRPCClient) ListHotlistItems(ctx context.Context, in *ListHotlistItemsRequest, opts ...grpc.CallOption) (*ListHotlistItemsResponse, error) { |
| out := new(ListHotlistItemsResponse) |
| err := c.client.Call(ctx, "monorail.Features", "ListHotlistItems", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresPRPCClient) CreateHotlist(ctx context.Context, in *CreateHotlistRequest, opts ...grpc.CallOption) (*CreateHotlistResponse, error) { |
| out := new(CreateHotlistResponse) |
| err := c.client.Call(ctx, "monorail.Features", "CreateHotlist", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresPRPCClient) CheckHotlistName(ctx context.Context, in *CheckHotlistNameRequest, opts ...grpc.CallOption) (*CheckHotlistNameResponse, error) { |
| out := new(CheckHotlistNameResponse) |
| err := c.client.Call(ctx, "monorail.Features", "CheckHotlistName", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresPRPCClient) RemoveIssuesFromHotlists(ctx context.Context, in *RemoveIssuesFromHotlistsRequest, opts ...grpc.CallOption) (*RemoveIssuesFromHotlistsResponse, error) { |
| out := new(RemoveIssuesFromHotlistsResponse) |
| err := c.client.Call(ctx, "monorail.Features", "RemoveIssuesFromHotlists", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresPRPCClient) AddIssuesToHotlists(ctx context.Context, in *AddIssuesToHotlistsRequest, opts ...grpc.CallOption) (*AddIssuesToHotlistsResponse, error) { |
| out := new(AddIssuesToHotlistsResponse) |
| err := c.client.Call(ctx, "monorail.Features", "AddIssuesToHotlists", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresPRPCClient) RerankHotlistIssues(ctx context.Context, in *RerankHotlistIssuesRequest, opts ...grpc.CallOption) (*RerankHotlistIssuesResponse, error) { |
| out := new(RerankHotlistIssuesResponse) |
| err := c.client.Call(ctx, "monorail.Features", "RerankHotlistIssues", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresPRPCClient) UpdateHotlistIssueNote(ctx context.Context, in *UpdateHotlistIssueNoteRequest, opts ...grpc.CallOption) (*UpdateHotlistIssueNoteResponse, error) { |
| out := new(UpdateHotlistIssueNoteResponse) |
| err := c.client.Call(ctx, "monorail.Features", "UpdateHotlistIssueNote", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresPRPCClient) DeleteHotlist(ctx context.Context, in *DeleteHotlistRequest, opts ...grpc.CallOption) (*DeleteHotlistResponse, error) { |
| out := new(DeleteHotlistResponse) |
| err := c.client.Call(ctx, "monorail.Features", "DeleteHotlist", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresPRPCClient) PredictComponent(ctx context.Context, in *PredictComponentRequest, opts ...grpc.CallOption) (*PredictComponentResponse, error) { |
| out := new(PredictComponentResponse) |
| err := c.client.Call(ctx, "monorail.Features", "PredictComponent", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| type featuresClient struct { |
| cc grpc.ClientConnInterface |
| } |
| |
| func NewFeaturesClient(cc grpc.ClientConnInterface) FeaturesClient { |
| return &featuresClient{cc} |
| } |
| |
| func (c *featuresClient) ListHotlistsByUser(ctx context.Context, in *ListHotlistsByUserRequest, opts ...grpc.CallOption) (*ListHotlistsByUserResponse, error) { |
| out := new(ListHotlistsByUserResponse) |
| err := c.cc.Invoke(ctx, "/monorail.Features/ListHotlistsByUser", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresClient) ListHotlistsByIssue(ctx context.Context, in *ListHotlistsByIssueRequest, opts ...grpc.CallOption) (*ListHotlistsByIssueResponse, error) { |
| out := new(ListHotlistsByIssueResponse) |
| err := c.cc.Invoke(ctx, "/monorail.Features/ListHotlistsByIssue", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresClient) ListRecentlyVisitedHotlists(ctx context.Context, in *ListRecentlyVisitedHotlistsRequest, opts ...grpc.CallOption) (*ListRecentlyVisitedHotlistsResponse, error) { |
| out := new(ListRecentlyVisitedHotlistsResponse) |
| err := c.cc.Invoke(ctx, "/monorail.Features/ListRecentlyVisitedHotlists", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresClient) ListStarredHotlists(ctx context.Context, in *ListStarredHotlistsRequest, opts ...grpc.CallOption) (*ListStarredHotlistsResponse, error) { |
| out := new(ListStarredHotlistsResponse) |
| err := c.cc.Invoke(ctx, "/monorail.Features/ListStarredHotlists", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresClient) GetHotlistStarCount(ctx context.Context, in *GetHotlistStarCountRequest, opts ...grpc.CallOption) (*GetHotlistStarCountResponse, error) { |
| out := new(GetHotlistStarCountResponse) |
| err := c.cc.Invoke(ctx, "/monorail.Features/GetHotlistStarCount", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresClient) StarHotlist(ctx context.Context, in *StarHotlistRequest, opts ...grpc.CallOption) (*StarHotlistResponse, error) { |
| out := new(StarHotlistResponse) |
| err := c.cc.Invoke(ctx, "/monorail.Features/StarHotlist", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresClient) GetHotlist(ctx context.Context, in *GetHotlistRequest, opts ...grpc.CallOption) (*GetHotlistResponse, error) { |
| out := new(GetHotlistResponse) |
| err := c.cc.Invoke(ctx, "/monorail.Features/GetHotlist", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresClient) ListHotlistItems(ctx context.Context, in *ListHotlistItemsRequest, opts ...grpc.CallOption) (*ListHotlistItemsResponse, error) { |
| out := new(ListHotlistItemsResponse) |
| err := c.cc.Invoke(ctx, "/monorail.Features/ListHotlistItems", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresClient) CreateHotlist(ctx context.Context, in *CreateHotlistRequest, opts ...grpc.CallOption) (*CreateHotlistResponse, error) { |
| out := new(CreateHotlistResponse) |
| err := c.cc.Invoke(ctx, "/monorail.Features/CreateHotlist", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresClient) CheckHotlistName(ctx context.Context, in *CheckHotlistNameRequest, opts ...grpc.CallOption) (*CheckHotlistNameResponse, error) { |
| out := new(CheckHotlistNameResponse) |
| err := c.cc.Invoke(ctx, "/monorail.Features/CheckHotlistName", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresClient) RemoveIssuesFromHotlists(ctx context.Context, in *RemoveIssuesFromHotlistsRequest, opts ...grpc.CallOption) (*RemoveIssuesFromHotlistsResponse, error) { |
| out := new(RemoveIssuesFromHotlistsResponse) |
| err := c.cc.Invoke(ctx, "/monorail.Features/RemoveIssuesFromHotlists", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresClient) AddIssuesToHotlists(ctx context.Context, in *AddIssuesToHotlistsRequest, opts ...grpc.CallOption) (*AddIssuesToHotlistsResponse, error) { |
| out := new(AddIssuesToHotlistsResponse) |
| err := c.cc.Invoke(ctx, "/monorail.Features/AddIssuesToHotlists", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresClient) RerankHotlistIssues(ctx context.Context, in *RerankHotlistIssuesRequest, opts ...grpc.CallOption) (*RerankHotlistIssuesResponse, error) { |
| out := new(RerankHotlistIssuesResponse) |
| err := c.cc.Invoke(ctx, "/monorail.Features/RerankHotlistIssues", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresClient) UpdateHotlistIssueNote(ctx context.Context, in *UpdateHotlistIssueNoteRequest, opts ...grpc.CallOption) (*UpdateHotlistIssueNoteResponse, error) { |
| out := new(UpdateHotlistIssueNoteResponse) |
| err := c.cc.Invoke(ctx, "/monorail.Features/UpdateHotlistIssueNote", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresClient) DeleteHotlist(ctx context.Context, in *DeleteHotlistRequest, opts ...grpc.CallOption) (*DeleteHotlistResponse, error) { |
| out := new(DeleteHotlistResponse) |
| err := c.cc.Invoke(ctx, "/monorail.Features/DeleteHotlist", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *featuresClient) PredictComponent(ctx context.Context, in *PredictComponentRequest, opts ...grpc.CallOption) (*PredictComponentResponse, error) { |
| out := new(PredictComponentResponse) |
| err := c.cc.Invoke(ctx, "/monorail.Features/PredictComponent", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| // FeaturesServer is the server API for Features service. |
| type FeaturesServer interface { |
| ListHotlistsByUser(context.Context, *ListHotlistsByUserRequest) (*ListHotlistsByUserResponse, error) |
| ListHotlistsByIssue(context.Context, *ListHotlistsByIssueRequest) (*ListHotlistsByIssueResponse, error) |
| ListRecentlyVisitedHotlists(context.Context, *ListRecentlyVisitedHotlistsRequest) (*ListRecentlyVisitedHotlistsResponse, error) |
| ListStarredHotlists(context.Context, *ListStarredHotlistsRequest) (*ListStarredHotlistsResponse, error) |
| GetHotlistStarCount(context.Context, *GetHotlistStarCountRequest) (*GetHotlistStarCountResponse, error) |
| StarHotlist(context.Context, *StarHotlistRequest) (*StarHotlistResponse, error) |
| GetHotlist(context.Context, *GetHotlistRequest) (*GetHotlistResponse, error) |
| ListHotlistItems(context.Context, *ListHotlistItemsRequest) (*ListHotlistItemsResponse, error) |
| CreateHotlist(context.Context, *CreateHotlistRequest) (*CreateHotlistResponse, error) |
| CheckHotlistName(context.Context, *CheckHotlistNameRequest) (*CheckHotlistNameResponse, error) |
| RemoveIssuesFromHotlists(context.Context, *RemoveIssuesFromHotlistsRequest) (*RemoveIssuesFromHotlistsResponse, error) |
| AddIssuesToHotlists(context.Context, *AddIssuesToHotlistsRequest) (*AddIssuesToHotlistsResponse, error) |
| RerankHotlistIssues(context.Context, *RerankHotlistIssuesRequest) (*RerankHotlistIssuesResponse, error) |
| UpdateHotlistIssueNote(context.Context, *UpdateHotlistIssueNoteRequest) (*UpdateHotlistIssueNoteResponse, error) |
| DeleteHotlist(context.Context, *DeleteHotlistRequest) (*DeleteHotlistResponse, error) |
| PredictComponent(context.Context, *PredictComponentRequest) (*PredictComponentResponse, error) |
| } |
| |
| // UnimplementedFeaturesServer can be embedded to have forward compatible implementations. |
| type UnimplementedFeaturesServer struct { |
| } |
| |
| func (*UnimplementedFeaturesServer) ListHotlistsByUser(ctx context.Context, req *ListHotlistsByUserRequest) (*ListHotlistsByUserResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method ListHotlistsByUser not implemented") |
| } |
| func (*UnimplementedFeaturesServer) ListHotlistsByIssue(ctx context.Context, req *ListHotlistsByIssueRequest) (*ListHotlistsByIssueResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method ListHotlistsByIssue not implemented") |
| } |
| func (*UnimplementedFeaturesServer) ListRecentlyVisitedHotlists(ctx context.Context, req *ListRecentlyVisitedHotlistsRequest) (*ListRecentlyVisitedHotlistsResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method ListRecentlyVisitedHotlists not implemented") |
| } |
| func (*UnimplementedFeaturesServer) ListStarredHotlists(ctx context.Context, req *ListStarredHotlistsRequest) (*ListStarredHotlistsResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method ListStarredHotlists not implemented") |
| } |
| func (*UnimplementedFeaturesServer) GetHotlistStarCount(ctx context.Context, req *GetHotlistStarCountRequest) (*GetHotlistStarCountResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method GetHotlistStarCount not implemented") |
| } |
| func (*UnimplementedFeaturesServer) StarHotlist(ctx context.Context, req *StarHotlistRequest) (*StarHotlistResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method StarHotlist not implemented") |
| } |
| func (*UnimplementedFeaturesServer) GetHotlist(ctx context.Context, req *GetHotlistRequest) (*GetHotlistResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method GetHotlist not implemented") |
| } |
| func (*UnimplementedFeaturesServer) ListHotlistItems(ctx context.Context, req *ListHotlistItemsRequest) (*ListHotlistItemsResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method ListHotlistItems not implemented") |
| } |
| func (*UnimplementedFeaturesServer) CreateHotlist(ctx context.Context, req *CreateHotlistRequest) (*CreateHotlistResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method CreateHotlist not implemented") |
| } |
| func (*UnimplementedFeaturesServer) CheckHotlistName(ctx context.Context, req *CheckHotlistNameRequest) (*CheckHotlistNameResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method CheckHotlistName not implemented") |
| } |
| func (*UnimplementedFeaturesServer) RemoveIssuesFromHotlists(ctx context.Context, req *RemoveIssuesFromHotlistsRequest) (*RemoveIssuesFromHotlistsResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method RemoveIssuesFromHotlists not implemented") |
| } |
| func (*UnimplementedFeaturesServer) AddIssuesToHotlists(ctx context.Context, req *AddIssuesToHotlistsRequest) (*AddIssuesToHotlistsResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method AddIssuesToHotlists not implemented") |
| } |
| func (*UnimplementedFeaturesServer) RerankHotlistIssues(ctx context.Context, req *RerankHotlistIssuesRequest) (*RerankHotlistIssuesResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method RerankHotlistIssues not implemented") |
| } |
| func (*UnimplementedFeaturesServer) UpdateHotlistIssueNote(ctx context.Context, req *UpdateHotlistIssueNoteRequest) (*UpdateHotlistIssueNoteResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method UpdateHotlistIssueNote not implemented") |
| } |
| func (*UnimplementedFeaturesServer) DeleteHotlist(ctx context.Context, req *DeleteHotlistRequest) (*DeleteHotlistResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method DeleteHotlist not implemented") |
| } |
| func (*UnimplementedFeaturesServer) PredictComponent(ctx context.Context, req *PredictComponentRequest) (*PredictComponentResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method PredictComponent not implemented") |
| } |
| |
| func RegisterFeaturesServer(s prpc.Registrar, srv FeaturesServer) { |
| s.RegisterService(&_Features_serviceDesc, srv) |
| } |
| |
| func _Features_ListHotlistsByUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(ListHotlistsByUserRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(FeaturesServer).ListHotlistsByUser(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/monorail.Features/ListHotlistsByUser", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(FeaturesServer).ListHotlistsByUser(ctx, req.(*ListHotlistsByUserRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Features_ListHotlistsByIssue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(ListHotlistsByIssueRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(FeaturesServer).ListHotlistsByIssue(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/monorail.Features/ListHotlistsByIssue", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(FeaturesServer).ListHotlistsByIssue(ctx, req.(*ListHotlistsByIssueRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Features_ListRecentlyVisitedHotlists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(ListRecentlyVisitedHotlistsRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(FeaturesServer).ListRecentlyVisitedHotlists(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/monorail.Features/ListRecentlyVisitedHotlists", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(FeaturesServer).ListRecentlyVisitedHotlists(ctx, req.(*ListRecentlyVisitedHotlistsRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Features_ListStarredHotlists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(ListStarredHotlistsRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(FeaturesServer).ListStarredHotlists(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/monorail.Features/ListStarredHotlists", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(FeaturesServer).ListStarredHotlists(ctx, req.(*ListStarredHotlistsRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Features_GetHotlistStarCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(GetHotlistStarCountRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(FeaturesServer).GetHotlistStarCount(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/monorail.Features/GetHotlistStarCount", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(FeaturesServer).GetHotlistStarCount(ctx, req.(*GetHotlistStarCountRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Features_StarHotlist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(StarHotlistRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(FeaturesServer).StarHotlist(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/monorail.Features/StarHotlist", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(FeaturesServer).StarHotlist(ctx, req.(*StarHotlistRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Features_GetHotlist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(GetHotlistRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(FeaturesServer).GetHotlist(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/monorail.Features/GetHotlist", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(FeaturesServer).GetHotlist(ctx, req.(*GetHotlistRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Features_ListHotlistItems_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(ListHotlistItemsRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(FeaturesServer).ListHotlistItems(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/monorail.Features/ListHotlistItems", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(FeaturesServer).ListHotlistItems(ctx, req.(*ListHotlistItemsRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Features_CreateHotlist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(CreateHotlistRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(FeaturesServer).CreateHotlist(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/monorail.Features/CreateHotlist", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(FeaturesServer).CreateHotlist(ctx, req.(*CreateHotlistRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Features_CheckHotlistName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(CheckHotlistNameRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(FeaturesServer).CheckHotlistName(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/monorail.Features/CheckHotlistName", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(FeaturesServer).CheckHotlistName(ctx, req.(*CheckHotlistNameRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Features_RemoveIssuesFromHotlists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(RemoveIssuesFromHotlistsRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(FeaturesServer).RemoveIssuesFromHotlists(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/monorail.Features/RemoveIssuesFromHotlists", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(FeaturesServer).RemoveIssuesFromHotlists(ctx, req.(*RemoveIssuesFromHotlistsRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Features_AddIssuesToHotlists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(AddIssuesToHotlistsRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(FeaturesServer).AddIssuesToHotlists(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/monorail.Features/AddIssuesToHotlists", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(FeaturesServer).AddIssuesToHotlists(ctx, req.(*AddIssuesToHotlistsRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Features_RerankHotlistIssues_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(RerankHotlistIssuesRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(FeaturesServer).RerankHotlistIssues(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/monorail.Features/RerankHotlistIssues", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(FeaturesServer).RerankHotlistIssues(ctx, req.(*RerankHotlistIssuesRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Features_UpdateHotlistIssueNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(UpdateHotlistIssueNoteRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(FeaturesServer).UpdateHotlistIssueNote(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/monorail.Features/UpdateHotlistIssueNote", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(FeaturesServer).UpdateHotlistIssueNote(ctx, req.(*UpdateHotlistIssueNoteRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Features_DeleteHotlist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(DeleteHotlistRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(FeaturesServer).DeleteHotlist(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/monorail.Features/DeleteHotlist", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(FeaturesServer).DeleteHotlist(ctx, req.(*DeleteHotlistRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Features_PredictComponent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(PredictComponentRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(FeaturesServer).PredictComponent(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/monorail.Features/PredictComponent", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(FeaturesServer).PredictComponent(ctx, req.(*PredictComponentRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| var _Features_serviceDesc = grpc.ServiceDesc{ |
| ServiceName: "monorail.Features", |
| HandlerType: (*FeaturesServer)(nil), |
| Methods: []grpc.MethodDesc{ |
| { |
| MethodName: "ListHotlistsByUser", |
| Handler: _Features_ListHotlistsByUser_Handler, |
| }, |
| { |
| MethodName: "ListHotlistsByIssue", |
| Handler: _Features_ListHotlistsByIssue_Handler, |
| }, |
| { |
| MethodName: "ListRecentlyVisitedHotlists", |
| Handler: _Features_ListRecentlyVisitedHotlists_Handler, |
| }, |
| { |
| MethodName: "ListStarredHotlists", |
| Handler: _Features_ListStarredHotlists_Handler, |
| }, |
| { |
| MethodName: "GetHotlistStarCount", |
| Handler: _Features_GetHotlistStarCount_Handler, |
| }, |
| { |
| MethodName: "StarHotlist", |
| Handler: _Features_StarHotlist_Handler, |
| }, |
| { |
| MethodName: "GetHotlist", |
| Handler: _Features_GetHotlist_Handler, |
| }, |
| { |
| MethodName: "ListHotlistItems", |
| Handler: _Features_ListHotlistItems_Handler, |
| }, |
| { |
| MethodName: "CreateHotlist", |
| Handler: _Features_CreateHotlist_Handler, |
| }, |
| { |
| MethodName: "CheckHotlistName", |
| Handler: _Features_CheckHotlistName_Handler, |
| }, |
| { |
| MethodName: "RemoveIssuesFromHotlists", |
| Handler: _Features_RemoveIssuesFromHotlists_Handler, |
| }, |
| { |
| MethodName: "AddIssuesToHotlists", |
| Handler: _Features_AddIssuesToHotlists_Handler, |
| }, |
| { |
| MethodName: "RerankHotlistIssues", |
| Handler: _Features_RerankHotlistIssues_Handler, |
| }, |
| { |
| MethodName: "UpdateHotlistIssueNote", |
| Handler: _Features_UpdateHotlistIssueNote_Handler, |
| }, |
| { |
| MethodName: "DeleteHotlist", |
| Handler: _Features_DeleteHotlist_Handler, |
| }, |
| { |
| MethodName: "PredictComponent", |
| Handler: _Features_PredictComponent_Handler, |
| }, |
| }, |
| Streams: []grpc.StreamDesc{}, |
| Metadata: "api/api_proto/features.proto", |
| } |