go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/analysis/internal/bugs/monorail/api_proto/hotlists.pb.go (about)

     1  // Copyright 2020 The Chromium Authors
     2  // Use of this source code is governed by a BSD-style license that can be
     3  // found in the LICENSE file.
     4  
     5  // Code generated by protoc-gen-go. DO NOT EDIT.
     6  // versions:
     7  // 	protoc-gen-go v1.31.0
     8  // 	protoc        v3.21.7
     9  // source: go.chromium.org/luci/analysis/internal/bugs/monorail/api_proto/hotlists.proto
    10  
    11  package api_proto
    12  
    13  import prpc "go.chromium.org/luci/grpc/prpc"
    14  
    15  import (
    16  	context "context"
    17  	_ "google.golang.org/genproto/googleapis/api/annotations"
    18  	grpc "google.golang.org/grpc"
    19  	codes "google.golang.org/grpc/codes"
    20  	status "google.golang.org/grpc/status"
    21  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    22  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    23  	emptypb "google.golang.org/protobuf/types/known/emptypb"
    24  	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
    25  	reflect "reflect"
    26  	sync "sync"
    27  )
    28  
    29  const (
    30  	// Verify that this generated code is sufficiently up-to-date.
    31  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    32  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    33  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    34  )
    35  
    36  // Request message for CreateHotlist method.
    37  // Next available tag: 2
    38  type CreateHotlistRequest struct {
    39  	state         protoimpl.MessageState
    40  	sizeCache     protoimpl.SizeCache
    41  	unknownFields protoimpl.UnknownFields
    42  
    43  	// The hotlist to create.
    44  	// `hotlist.owner` must be empty. The owner of the new hotlist will be
    45  	// set to the requester.
    46  	Hotlist *Hotlist `protobuf:"bytes,1,opt,name=hotlist,proto3" json:"hotlist,omitempty"`
    47  }
    48  
    49  func (x *CreateHotlistRequest) Reset() {
    50  	*x = CreateHotlistRequest{}
    51  	if protoimpl.UnsafeEnabled {
    52  		mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[0]
    53  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    54  		ms.StoreMessageInfo(mi)
    55  	}
    56  }
    57  
    58  func (x *CreateHotlistRequest) String() string {
    59  	return protoimpl.X.MessageStringOf(x)
    60  }
    61  
    62  func (*CreateHotlistRequest) ProtoMessage() {}
    63  
    64  func (x *CreateHotlistRequest) ProtoReflect() protoreflect.Message {
    65  	mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[0]
    66  	if protoimpl.UnsafeEnabled && x != nil {
    67  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    68  		if ms.LoadMessageInfo() == nil {
    69  			ms.StoreMessageInfo(mi)
    70  		}
    71  		return ms
    72  	}
    73  	return mi.MessageOf(x)
    74  }
    75  
    76  // Deprecated: Use CreateHotlistRequest.ProtoReflect.Descriptor instead.
    77  func (*CreateHotlistRequest) Descriptor() ([]byte, []int) {
    78  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescGZIP(), []int{0}
    79  }
    80  
    81  func (x *CreateHotlistRequest) GetHotlist() *Hotlist {
    82  	if x != nil {
    83  		return x.Hotlist
    84  	}
    85  	return nil
    86  }
    87  
    88  // Request message for GetHotlist method.
    89  // Next available tag: 2
    90  type GetHotlistRequest struct {
    91  	state         protoimpl.MessageState
    92  	sizeCache     protoimpl.SizeCache
    93  	unknownFields protoimpl.UnknownFields
    94  
    95  	// The name of the hotlist to retrieve.
    96  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    97  }
    98  
    99  func (x *GetHotlistRequest) Reset() {
   100  	*x = GetHotlistRequest{}
   101  	if protoimpl.UnsafeEnabled {
   102  		mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[1]
   103  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   104  		ms.StoreMessageInfo(mi)
   105  	}
   106  }
   107  
   108  func (x *GetHotlistRequest) String() string {
   109  	return protoimpl.X.MessageStringOf(x)
   110  }
   111  
   112  func (*GetHotlistRequest) ProtoMessage() {}
   113  
   114  func (x *GetHotlistRequest) ProtoReflect() protoreflect.Message {
   115  	mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[1]
   116  	if protoimpl.UnsafeEnabled && x != nil {
   117  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   118  		if ms.LoadMessageInfo() == nil {
   119  			ms.StoreMessageInfo(mi)
   120  		}
   121  		return ms
   122  	}
   123  	return mi.MessageOf(x)
   124  }
   125  
   126  // Deprecated: Use GetHotlistRequest.ProtoReflect.Descriptor instead.
   127  func (*GetHotlistRequest) Descriptor() ([]byte, []int) {
   128  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescGZIP(), []int{1}
   129  }
   130  
   131  func (x *GetHotlistRequest) GetName() string {
   132  	if x != nil {
   133  		return x.Name
   134  	}
   135  	return ""
   136  }
   137  
   138  // Request message for UpdateHotlist method.
   139  // Next available tag: 2
   140  type UpdateHotlistRequest struct {
   141  	state         protoimpl.MessageState
   142  	sizeCache     protoimpl.SizeCache
   143  	unknownFields protoimpl.UnknownFields
   144  
   145  	// The hotlist's `name` field is used to identify the hotlist to be updated.
   146  	Hotlist *Hotlist `protobuf:"bytes,1,opt,name=hotlist,proto3" json:"hotlist,omitempty"`
   147  	// The list of fields to be updated.
   148  	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
   149  }
   150  
   151  func (x *UpdateHotlistRequest) Reset() {
   152  	*x = UpdateHotlistRequest{}
   153  	if protoimpl.UnsafeEnabled {
   154  		mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[2]
   155  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   156  		ms.StoreMessageInfo(mi)
   157  	}
   158  }
   159  
   160  func (x *UpdateHotlistRequest) String() string {
   161  	return protoimpl.X.MessageStringOf(x)
   162  }
   163  
   164  func (*UpdateHotlistRequest) ProtoMessage() {}
   165  
   166  func (x *UpdateHotlistRequest) ProtoReflect() protoreflect.Message {
   167  	mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[2]
   168  	if protoimpl.UnsafeEnabled && x != nil {
   169  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   170  		if ms.LoadMessageInfo() == nil {
   171  			ms.StoreMessageInfo(mi)
   172  		}
   173  		return ms
   174  	}
   175  	return mi.MessageOf(x)
   176  }
   177  
   178  // Deprecated: Use UpdateHotlistRequest.ProtoReflect.Descriptor instead.
   179  func (*UpdateHotlistRequest) Descriptor() ([]byte, []int) {
   180  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescGZIP(), []int{2}
   181  }
   182  
   183  func (x *UpdateHotlistRequest) GetHotlist() *Hotlist {
   184  	if x != nil {
   185  		return x.Hotlist
   186  	}
   187  	return nil
   188  }
   189  
   190  func (x *UpdateHotlistRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
   191  	if x != nil {
   192  		return x.UpdateMask
   193  	}
   194  	return nil
   195  }
   196  
   197  // Request message for ListHotlistItems method.
   198  // Next available tag: 5
   199  type ListHotlistItemsRequest struct {
   200  	state         protoimpl.MessageState
   201  	sizeCache     protoimpl.SizeCache
   202  	unknownFields protoimpl.UnknownFields
   203  
   204  	// The parent hotlist, which owns this collection of items.
   205  	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
   206  	// The maximum number of items to return. The service may return fewer than
   207  	// this value.
   208  	// If unspecified, at most 1000 items will be returned.
   209  	// The maximum value is 1000; values above 1000 will be coerced to 1000.
   210  	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
   211  	// The string of comma separated field names used to order the items.
   212  	// Adding '-' before a field, reverses the sort order.
   213  	// E.g. 'stars,-status' sorts the items by number of stars low to high, then
   214  	// status high to low.
   215  	// If unspecified, items will be ordered by their rank in the parent.
   216  	OrderBy string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
   217  	// A page token, received from a previous `ListHotlistItems` call.
   218  	// Provide this to retrieve the subsequent page.
   219  	//
   220  	// When paginating, all other parameters provided to `ListHotlistItems` must
   221  	// match the call that provided the page token.
   222  	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
   223  }
   224  
   225  func (x *ListHotlistItemsRequest) Reset() {
   226  	*x = ListHotlistItemsRequest{}
   227  	if protoimpl.UnsafeEnabled {
   228  		mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[3]
   229  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   230  		ms.StoreMessageInfo(mi)
   231  	}
   232  }
   233  
   234  func (x *ListHotlistItemsRequest) String() string {
   235  	return protoimpl.X.MessageStringOf(x)
   236  }
   237  
   238  func (*ListHotlistItemsRequest) ProtoMessage() {}
   239  
   240  func (x *ListHotlistItemsRequest) ProtoReflect() protoreflect.Message {
   241  	mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[3]
   242  	if protoimpl.UnsafeEnabled && x != nil {
   243  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   244  		if ms.LoadMessageInfo() == nil {
   245  			ms.StoreMessageInfo(mi)
   246  		}
   247  		return ms
   248  	}
   249  	return mi.MessageOf(x)
   250  }
   251  
   252  // Deprecated: Use ListHotlistItemsRequest.ProtoReflect.Descriptor instead.
   253  func (*ListHotlistItemsRequest) Descriptor() ([]byte, []int) {
   254  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescGZIP(), []int{3}
   255  }
   256  
   257  func (x *ListHotlistItemsRequest) GetParent() string {
   258  	if x != nil {
   259  		return x.Parent
   260  	}
   261  	return ""
   262  }
   263  
   264  func (x *ListHotlistItemsRequest) GetPageSize() int32 {
   265  	if x != nil {
   266  		return x.PageSize
   267  	}
   268  	return 0
   269  }
   270  
   271  func (x *ListHotlistItemsRequest) GetOrderBy() string {
   272  	if x != nil {
   273  		return x.OrderBy
   274  	}
   275  	return ""
   276  }
   277  
   278  func (x *ListHotlistItemsRequest) GetPageToken() string {
   279  	if x != nil {
   280  		return x.PageToken
   281  	}
   282  	return ""
   283  }
   284  
   285  // Response to ListHotlistItems call.
   286  // Next available tag: 3
   287  type ListHotlistItemsResponse struct {
   288  	state         protoimpl.MessageState
   289  	sizeCache     protoimpl.SizeCache
   290  	unknownFields protoimpl.UnknownFields
   291  
   292  	// The items from the specified hotlist.
   293  	Items []*HotlistItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
   294  	// A token, which can be sent as `page_token` to retrieve the next page.
   295  	// If this field is omitted, there are no subsequent pages.
   296  	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
   297  }
   298  
   299  func (x *ListHotlistItemsResponse) Reset() {
   300  	*x = ListHotlistItemsResponse{}
   301  	if protoimpl.UnsafeEnabled {
   302  		mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[4]
   303  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   304  		ms.StoreMessageInfo(mi)
   305  	}
   306  }
   307  
   308  func (x *ListHotlistItemsResponse) String() string {
   309  	return protoimpl.X.MessageStringOf(x)
   310  }
   311  
   312  func (*ListHotlistItemsResponse) ProtoMessage() {}
   313  
   314  func (x *ListHotlistItemsResponse) ProtoReflect() protoreflect.Message {
   315  	mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[4]
   316  	if protoimpl.UnsafeEnabled && x != nil {
   317  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   318  		if ms.LoadMessageInfo() == nil {
   319  			ms.StoreMessageInfo(mi)
   320  		}
   321  		return ms
   322  	}
   323  	return mi.MessageOf(x)
   324  }
   325  
   326  // Deprecated: Use ListHotlistItemsResponse.ProtoReflect.Descriptor instead.
   327  func (*ListHotlistItemsResponse) Descriptor() ([]byte, []int) {
   328  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescGZIP(), []int{4}
   329  }
   330  
   331  func (x *ListHotlistItemsResponse) GetItems() []*HotlistItem {
   332  	if x != nil {
   333  		return x.Items
   334  	}
   335  	return nil
   336  }
   337  
   338  func (x *ListHotlistItemsResponse) GetNextPageToken() string {
   339  	if x != nil {
   340  		return x.NextPageToken
   341  	}
   342  	return ""
   343  }
   344  
   345  // The request used to rerank a Hotlist.
   346  // Next available tag: 4
   347  type RerankHotlistItemsRequest struct {
   348  	state         protoimpl.MessageState
   349  	sizeCache     protoimpl.SizeCache
   350  	unknownFields protoimpl.UnknownFields
   351  
   352  	// Resource name of the Hotlist to rerank.
   353  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   354  	// HotlistItems to be moved. The order of `hotlist_items` will
   355  	// determine the order of these items after they have been moved.
   356  	// E.g. With items [a, b, c, d, e], moving [d, c] to `target_position` 3, will
   357  	// result in items [a, b, e, d, c].
   358  	HotlistItems []string `protobuf:"bytes,2,rep,name=hotlist_items,json=hotlistItems,proto3" json:"hotlist_items,omitempty"`
   359  	// Target starting position of the moved items.
   360  	// `target_position` must be between 0 and (# hotlist items - # items being moved).
   361  	TargetPosition uint32 `protobuf:"varint,3,opt,name=target_position,json=targetPosition,proto3" json:"target_position,omitempty"`
   362  }
   363  
   364  func (x *RerankHotlistItemsRequest) Reset() {
   365  	*x = RerankHotlistItemsRequest{}
   366  	if protoimpl.UnsafeEnabled {
   367  		mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[5]
   368  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   369  		ms.StoreMessageInfo(mi)
   370  	}
   371  }
   372  
   373  func (x *RerankHotlistItemsRequest) String() string {
   374  	return protoimpl.X.MessageStringOf(x)
   375  }
   376  
   377  func (*RerankHotlistItemsRequest) ProtoMessage() {}
   378  
   379  func (x *RerankHotlistItemsRequest) ProtoReflect() protoreflect.Message {
   380  	mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[5]
   381  	if protoimpl.UnsafeEnabled && x != nil {
   382  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   383  		if ms.LoadMessageInfo() == nil {
   384  			ms.StoreMessageInfo(mi)
   385  		}
   386  		return ms
   387  	}
   388  	return mi.MessageOf(x)
   389  }
   390  
   391  // Deprecated: Use RerankHotlistItemsRequest.ProtoReflect.Descriptor instead.
   392  func (*RerankHotlistItemsRequest) Descriptor() ([]byte, []int) {
   393  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescGZIP(), []int{5}
   394  }
   395  
   396  func (x *RerankHotlistItemsRequest) GetName() string {
   397  	if x != nil {
   398  		return x.Name
   399  	}
   400  	return ""
   401  }
   402  
   403  func (x *RerankHotlistItemsRequest) GetHotlistItems() []string {
   404  	if x != nil {
   405  		return x.HotlistItems
   406  	}
   407  	return nil
   408  }
   409  
   410  func (x *RerankHotlistItemsRequest) GetTargetPosition() uint32 {
   411  	if x != nil {
   412  		return x.TargetPosition
   413  	}
   414  	return 0
   415  }
   416  
   417  // Request message for an AddHotlistItems call.
   418  // Next available tag: 4
   419  type AddHotlistItemsRequest struct {
   420  	state         protoimpl.MessageState
   421  	sizeCache     protoimpl.SizeCache
   422  	unknownFields protoimpl.UnknownFields
   423  
   424  	// Resource name of the Hotlist to add new items to.
   425  	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
   426  	// Resource names of Issues to associate with new HotlistItems added to `parent`.
   427  	Issues []string `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"`
   428  	// Target starting position of the new items.
   429  	// `target_position` must be between [0 and # of items that currently exist in
   430  	// `parent`]. The request will fail if a specified `target_position` is outside
   431  	// of this range.
   432  	// New HotlistItems added to a non-last position of the hotlist will
   433  	// cause ranks of existing HotlistItems below `target_position` to be adjusted.
   434  	// If no `target_position` is given, new items will be added to the end of
   435  	// `parent`.
   436  	TargetPosition uint32 `protobuf:"varint,3,opt,name=target_position,json=targetPosition,proto3" json:"target_position,omitempty"`
   437  }
   438  
   439  func (x *AddHotlistItemsRequest) Reset() {
   440  	*x = AddHotlistItemsRequest{}
   441  	if protoimpl.UnsafeEnabled {
   442  		mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[6]
   443  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   444  		ms.StoreMessageInfo(mi)
   445  	}
   446  }
   447  
   448  func (x *AddHotlistItemsRequest) String() string {
   449  	return protoimpl.X.MessageStringOf(x)
   450  }
   451  
   452  func (*AddHotlistItemsRequest) ProtoMessage() {}
   453  
   454  func (x *AddHotlistItemsRequest) ProtoReflect() protoreflect.Message {
   455  	mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[6]
   456  	if protoimpl.UnsafeEnabled && x != nil {
   457  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   458  		if ms.LoadMessageInfo() == nil {
   459  			ms.StoreMessageInfo(mi)
   460  		}
   461  		return ms
   462  	}
   463  	return mi.MessageOf(x)
   464  }
   465  
   466  // Deprecated: Use AddHotlistItemsRequest.ProtoReflect.Descriptor instead.
   467  func (*AddHotlistItemsRequest) Descriptor() ([]byte, []int) {
   468  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescGZIP(), []int{6}
   469  }
   470  
   471  func (x *AddHotlistItemsRequest) GetParent() string {
   472  	if x != nil {
   473  		return x.Parent
   474  	}
   475  	return ""
   476  }
   477  
   478  func (x *AddHotlistItemsRequest) GetIssues() []string {
   479  	if x != nil {
   480  		return x.Issues
   481  	}
   482  	return nil
   483  }
   484  
   485  func (x *AddHotlistItemsRequest) GetTargetPosition() uint32 {
   486  	if x != nil {
   487  		return x.TargetPosition
   488  	}
   489  	return 0
   490  }
   491  
   492  // Request message for a RemoveHotlistItems call.
   493  // Next available tag: 3
   494  type RemoveHotlistItemsRequest struct {
   495  	state         protoimpl.MessageState
   496  	sizeCache     protoimpl.SizeCache
   497  	unknownFields protoimpl.UnknownFields
   498  
   499  	// Resource name of the Hotlist to remove items from.
   500  	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
   501  	// Resource names of Issues associated with HotlistItems that should be removed.
   502  	Issues []string `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"`
   503  }
   504  
   505  func (x *RemoveHotlistItemsRequest) Reset() {
   506  	*x = RemoveHotlistItemsRequest{}
   507  	if protoimpl.UnsafeEnabled {
   508  		mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[7]
   509  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   510  		ms.StoreMessageInfo(mi)
   511  	}
   512  }
   513  
   514  func (x *RemoveHotlistItemsRequest) String() string {
   515  	return protoimpl.X.MessageStringOf(x)
   516  }
   517  
   518  func (*RemoveHotlistItemsRequest) ProtoMessage() {}
   519  
   520  func (x *RemoveHotlistItemsRequest) ProtoReflect() protoreflect.Message {
   521  	mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[7]
   522  	if protoimpl.UnsafeEnabled && x != nil {
   523  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   524  		if ms.LoadMessageInfo() == nil {
   525  			ms.StoreMessageInfo(mi)
   526  		}
   527  		return ms
   528  	}
   529  	return mi.MessageOf(x)
   530  }
   531  
   532  // Deprecated: Use RemoveHotlistItemsRequest.ProtoReflect.Descriptor instead.
   533  func (*RemoveHotlistItemsRequest) Descriptor() ([]byte, []int) {
   534  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescGZIP(), []int{7}
   535  }
   536  
   537  func (x *RemoveHotlistItemsRequest) GetParent() string {
   538  	if x != nil {
   539  		return x.Parent
   540  	}
   541  	return ""
   542  }
   543  
   544  func (x *RemoveHotlistItemsRequest) GetIssues() []string {
   545  	if x != nil {
   546  		return x.Issues
   547  	}
   548  	return nil
   549  }
   550  
   551  // Request message for a RemoveHotlistEditors call.
   552  // Next available tag: 3
   553  type RemoveHotlistEditorsRequest struct {
   554  	state         protoimpl.MessageState
   555  	sizeCache     protoimpl.SizeCache
   556  	unknownFields protoimpl.UnknownFields
   557  
   558  	// Resource name of the Hotlist to remove editors from.
   559  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   560  	// Resource names of Users associated with the hotlist that should be removed.
   561  	Editors []string `protobuf:"bytes,2,rep,name=editors,proto3" json:"editors,omitempty"`
   562  }
   563  
   564  func (x *RemoveHotlistEditorsRequest) Reset() {
   565  	*x = RemoveHotlistEditorsRequest{}
   566  	if protoimpl.UnsafeEnabled {
   567  		mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[8]
   568  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   569  		ms.StoreMessageInfo(mi)
   570  	}
   571  }
   572  
   573  func (x *RemoveHotlistEditorsRequest) String() string {
   574  	return protoimpl.X.MessageStringOf(x)
   575  }
   576  
   577  func (*RemoveHotlistEditorsRequest) ProtoMessage() {}
   578  
   579  func (x *RemoveHotlistEditorsRequest) ProtoReflect() protoreflect.Message {
   580  	mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[8]
   581  	if protoimpl.UnsafeEnabled && x != nil {
   582  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   583  		if ms.LoadMessageInfo() == nil {
   584  			ms.StoreMessageInfo(mi)
   585  		}
   586  		return ms
   587  	}
   588  	return mi.MessageOf(x)
   589  }
   590  
   591  // Deprecated: Use RemoveHotlistEditorsRequest.ProtoReflect.Descriptor instead.
   592  func (*RemoveHotlistEditorsRequest) Descriptor() ([]byte, []int) {
   593  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescGZIP(), []int{8}
   594  }
   595  
   596  func (x *RemoveHotlistEditorsRequest) GetName() string {
   597  	if x != nil {
   598  		return x.Name
   599  	}
   600  	return ""
   601  }
   602  
   603  func (x *RemoveHotlistEditorsRequest) GetEditors() []string {
   604  	if x != nil {
   605  		return x.Editors
   606  	}
   607  	return nil
   608  }
   609  
   610  // Request message for a GatherHotlistsForUser call.
   611  // Next available tag: 2
   612  type GatherHotlistsForUserRequest struct {
   613  	state         protoimpl.MessageState
   614  	sizeCache     protoimpl.SizeCache
   615  	unknownFields protoimpl.UnknownFields
   616  
   617  	// Resource name of the user whose hotlists we want to fetch.
   618  	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
   619  }
   620  
   621  func (x *GatherHotlistsForUserRequest) Reset() {
   622  	*x = GatherHotlistsForUserRequest{}
   623  	if protoimpl.UnsafeEnabled {
   624  		mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[9]
   625  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   626  		ms.StoreMessageInfo(mi)
   627  	}
   628  }
   629  
   630  func (x *GatherHotlistsForUserRequest) String() string {
   631  	return protoimpl.X.MessageStringOf(x)
   632  }
   633  
   634  func (*GatherHotlistsForUserRequest) ProtoMessage() {}
   635  
   636  func (x *GatherHotlistsForUserRequest) ProtoReflect() protoreflect.Message {
   637  	mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[9]
   638  	if protoimpl.UnsafeEnabled && x != nil {
   639  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   640  		if ms.LoadMessageInfo() == nil {
   641  			ms.StoreMessageInfo(mi)
   642  		}
   643  		return ms
   644  	}
   645  	return mi.MessageOf(x)
   646  }
   647  
   648  // Deprecated: Use GatherHotlistsForUserRequest.ProtoReflect.Descriptor instead.
   649  func (*GatherHotlistsForUserRequest) Descriptor() ([]byte, []int) {
   650  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescGZIP(), []int{9}
   651  }
   652  
   653  func (x *GatherHotlistsForUserRequest) GetUser() string {
   654  	if x != nil {
   655  		return x.User
   656  	}
   657  	return ""
   658  }
   659  
   660  // Response message for a GatherHotlistsForUser call.
   661  // Next available tag: 2
   662  type GatherHotlistsForUserResponse struct {
   663  	state         protoimpl.MessageState
   664  	sizeCache     protoimpl.SizeCache
   665  	unknownFields protoimpl.UnknownFields
   666  
   667  	Hotlists []*Hotlist `protobuf:"bytes,1,rep,name=hotlists,proto3" json:"hotlists,omitempty"`
   668  }
   669  
   670  func (x *GatherHotlistsForUserResponse) Reset() {
   671  	*x = GatherHotlistsForUserResponse{}
   672  	if protoimpl.UnsafeEnabled {
   673  		mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[10]
   674  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   675  		ms.StoreMessageInfo(mi)
   676  	}
   677  }
   678  
   679  func (x *GatherHotlistsForUserResponse) String() string {
   680  	return protoimpl.X.MessageStringOf(x)
   681  }
   682  
   683  func (*GatherHotlistsForUserResponse) ProtoMessage() {}
   684  
   685  func (x *GatherHotlistsForUserResponse) ProtoReflect() protoreflect.Message {
   686  	mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[10]
   687  	if protoimpl.UnsafeEnabled && x != nil {
   688  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   689  		if ms.LoadMessageInfo() == nil {
   690  			ms.StoreMessageInfo(mi)
   691  		}
   692  		return ms
   693  	}
   694  	return mi.MessageOf(x)
   695  }
   696  
   697  // Deprecated: Use GatherHotlistsForUserResponse.ProtoReflect.Descriptor instead.
   698  func (*GatherHotlistsForUserResponse) Descriptor() ([]byte, []int) {
   699  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescGZIP(), []int{10}
   700  }
   701  
   702  func (x *GatherHotlistsForUserResponse) GetHotlists() []*Hotlist {
   703  	if x != nil {
   704  		return x.Hotlists
   705  	}
   706  	return nil
   707  }
   708  
   709  var File_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto protoreflect.FileDescriptor
   710  
   711  var file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDesc = []byte{
   712  	0x0a, 0x4d, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   713  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f,
   714  	0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x62, 0x75, 0x67, 0x73, 0x2f, 0x6d, 0x6f,
   715  	0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   716  	0x2f, 0x68, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
   717  	0x0b, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33, 0x1a, 0x54, 0x67, 0x6f,
   718  	0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75,
   719  	0x63, 0x69, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65,
   720  	0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x62, 0x75, 0x67, 0x73, 0x2f, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61,
   721  	0x69, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x65, 0x61,
   722  	0x74, 0x75, 0x72, 0x65, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f,
   723  	0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   724  	0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70,
   725  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
   726  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   727  	0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69,
   728  	0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
   729  	0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72,
   730  	0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a,
   731  	0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65,
   732  	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x07, 0x68, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74,
   733  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69,
   734  	0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41,
   735  	0x02, 0x52, 0x07, 0x68, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x46, 0x0a, 0x11, 0x47, 0x65,
   736  	0x74, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
   737  	0x31, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xe0,
   738  	0x41, 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x72, 0x62, 0x75, 0x67,
   739  	0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x04, 0x6e, 0x61,
   740  	0x6d, 0x65, 0x22, 0xa7, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x74,
   741  	0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x07, 0x68,
   742  	0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d,
   743  	0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x6f, 0x74, 0x6c, 0x69,
   744  	0x73, 0x74, 0x42, 0x1d, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x61, 0x70, 0x69, 0x2e,
   745  	0x63, 0x72, 0x62, 0x75, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73,
   746  	0x74, 0x52, 0x07, 0x68, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70,
   747  	0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
   748  	0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   749  	0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02,
   750  	0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xa7, 0x01, 0x0a,
   751  	0x17, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d,
   752  	0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,
   753  	0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x17,
   754  	0x0a, 0x15, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x72, 0x62, 0x75, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
   755  	0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12,
   756  	0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01,
   757  	0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x19, 0x0a, 0x08,
   758  	0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
   759  	0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f,
   760  	0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67,
   761  	0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x72, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x6f,
   762  	0x74, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
   763  	0x73, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
   764  	0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e,
   765  	0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x69, 0x74, 0x65,
   766  	0x6d, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f,
   767  	0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78,
   768  	0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xc4, 0x01, 0x0a, 0x19, 0x52,
   769  	0x65, 0x72, 0x61, 0x6e, 0x6b, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d,
   770  	0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   771  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15,
   772  	0x61, 0x70, 0x69, 0x2e, 0x63, 0x72, 0x62, 0x75, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x48, 0x6f,
   773  	0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x0d, 0x68,
   774  	0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03,
   775  	0x28, 0x09, 0x42, 0x21, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1b, 0x0a, 0x19, 0x61, 0x70, 0x69, 0x2e,
   776  	0x63, 0x72, 0x62, 0x75, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73,
   777  	0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0c, 0x68, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x74,
   778  	0x65, 0x6d, 0x73, 0x12, 0x2c, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f,
   779  	0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x03, 0xe0, 0x41,
   780  	0x02, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,
   781  	0x6e, 0x22, 0xad, 0x01, 0x0a, 0x16, 0x41, 0x64, 0x64, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74,
   782  	0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x06,
   783  	0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xe0, 0x41,
   784  	0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x72, 0x62, 0x75, 0x67, 0x2e,
   785  	0x63, 0x6f, 0x6d, 0x2f, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72,
   786  	0x65, 0x6e, 0x74, 0x12, 0x33, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20,
   787  	0x03, 0x28, 0x09, 0x42, 0x1b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x15, 0x0a, 0x13, 0x61, 0x70, 0x69,
   788  	0x2e, 0x63, 0x72, 0x62, 0x75, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x73, 0x73, 0x75, 0x65,
   789  	0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67,
   790  	0x65, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
   791  	0x0d, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,
   792  	0x6e, 0x22, 0x87, 0x01, 0x0a, 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x48, 0x6f, 0x74, 0x6c,
   793  	0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
   794  	0x35, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
   795  	0x1d, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x72, 0x62,
   796  	0x75, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x06,
   797  	0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x33, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73,
   798  	0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x1b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x15, 0x0a, 0x13,
   799  	0x61, 0x70, 0x69, 0x2e, 0x63, 0x72, 0x62, 0x75, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x73,
   800  	0x73, 0x75, 0x65, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x22, 0x86, 0x01, 0x0a, 0x1b,
   801  	0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x64, 0x69,
   802  	0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x04, 0x6e,
   803  	0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xe0, 0x41, 0x02, 0xfa, 0x41,
   804  	0x17, 0x0a, 0x15, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x72, 0x62, 0x75, 0x67, 0x2e, 0x63, 0x6f, 0x6d,
   805  	0x2f, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x34,
   806  	0x0a, 0x07, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42,
   807  	0x1a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x14, 0x0a, 0x12, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x72, 0x62,
   808  	0x75, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x55, 0x73, 0x65, 0x72, 0x52, 0x07, 0x65, 0x64, 0x69,
   809  	0x74, 0x6f, 0x72, 0x73, 0x22, 0x4e, 0x0a, 0x1c, 0x47, 0x61, 0x74, 0x68, 0x65, 0x72, 0x48, 0x6f,
   810  	0x74, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71,
   811  	0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
   812  	0x28, 0x09, 0x42, 0x1a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x14, 0x0a, 0x12, 0x61, 0x70, 0x69, 0x2e,
   813  	0x63, 0x72, 0x62, 0x75, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04,
   814  	0x75, 0x73, 0x65, 0x72, 0x22, 0x51, 0x0a, 0x1d, 0x47, 0x61, 0x74, 0x68, 0x65, 0x72, 0x48, 0x6f,
   815  	0x74, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73,
   816  	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x68, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74,
   817  	0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61,
   818  	0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x08, 0x68,
   819  	0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x32, 0xe6, 0x06, 0x0a, 0x08, 0x48, 0x6f, 0x74, 0x6c,
   820  	0x69, 0x73, 0x74, 0x73, 0x12, 0x4a, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x6f,
   821  	0x74, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x21, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c,
   822  	0x2e, 0x76, 0x33, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73,
   823  	0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72,
   824  	0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x00,
   825  	0x12, 0x44, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x1e,
   826  	0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x65, 0x74,
   827  	0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,
   828  	0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x6f, 0x74,
   829  	0x6c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
   830  	0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x21, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61,
   831  	0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x74, 0x6c,
   832  	0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x6d, 0x6f, 0x6e,
   833  	0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74,
   834  	0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x6f, 0x74, 0x6c,
   835  	0x69, 0x73, 0x74, 0x12, 0x1e, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76,
   836  	0x33, 0x2e, 0x47, 0x65, 0x74, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75,
   837  	0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   838  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x61, 0x0a,
   839  	0x10, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d,
   840  	0x73, 0x12, 0x24, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e,
   841  	0x4c, 0x69, 0x73, 0x74, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x73,
   842  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61,
   843  	0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73,
   844  	0x74, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
   845  	0x12, 0x56, 0x0a, 0x12, 0x52, 0x65, 0x72, 0x61, 0x6e, 0x6b, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73,
   846  	0x74, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x26, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69,
   847  	0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x72, 0x61, 0x6e, 0x6b, 0x48, 0x6f, 0x74, 0x6c, 0x69,
   848  	0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16,
   849  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
   850  	0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x48,
   851  	0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x23, 0x2e, 0x6d, 0x6f,
   852  	0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x64, 0x64, 0x48, 0x6f, 0x74,
   853  	0x6c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
   854  	0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
   855  	0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x12, 0x52, 0x65,
   856  	0x6d, 0x6f, 0x76, 0x65, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x73,
   857  	0x12, 0x26, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x52,
   858  	0x65, 0x6d, 0x6f, 0x76, 0x65, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d,
   859  	0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   860  	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
   861  	0x22, 0x00, 0x12, 0x5a, 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x48, 0x6f, 0x74, 0x6c,
   862  	0x69, 0x73, 0x74, 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x28, 0x2e, 0x6d, 0x6f, 0x6e,
   863  	0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x48,
   864  	0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71,
   865  	0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
   866  	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x70,
   867  	0x0a, 0x15, 0x47, 0x61, 0x74, 0x68, 0x65, 0x72, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x73,
   868  	0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61,
   869  	0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x61, 0x74, 0x68, 0x65, 0x72, 0x48, 0x6f, 0x74, 0x6c,
   870  	0x69, 0x73, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
   871  	0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33,
   872  	0x2e, 0x47, 0x61, 0x74, 0x68, 0x65, 0x72, 0x48, 0x6f, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x46,
   873  	0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
   874  	0x42, 0x40, 0x5a, 0x3e, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e,
   875  	0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69,
   876  	0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x62, 0x75, 0x67, 0x73, 0x2f,
   877  	0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x72, 0x6f,
   878  	0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   879  }
   880  
   881  var (
   882  	file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescOnce sync.Once
   883  	file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescData = file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDesc
   884  )
   885  
   886  func file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescGZIP() []byte {
   887  	file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescOnce.Do(func() {
   888  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescData)
   889  	})
   890  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDescData
   891  }
   892  
   893  var file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
   894  var file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_goTypes = []interface{}{
   895  	(*CreateHotlistRequest)(nil),          // 0: monorail.v3.CreateHotlistRequest
   896  	(*GetHotlistRequest)(nil),             // 1: monorail.v3.GetHotlistRequest
   897  	(*UpdateHotlistRequest)(nil),          // 2: monorail.v3.UpdateHotlistRequest
   898  	(*ListHotlistItemsRequest)(nil),       // 3: monorail.v3.ListHotlistItemsRequest
   899  	(*ListHotlistItemsResponse)(nil),      // 4: monorail.v3.ListHotlistItemsResponse
   900  	(*RerankHotlistItemsRequest)(nil),     // 5: monorail.v3.RerankHotlistItemsRequest
   901  	(*AddHotlistItemsRequest)(nil),        // 6: monorail.v3.AddHotlistItemsRequest
   902  	(*RemoveHotlistItemsRequest)(nil),     // 7: monorail.v3.RemoveHotlistItemsRequest
   903  	(*RemoveHotlistEditorsRequest)(nil),   // 8: monorail.v3.RemoveHotlistEditorsRequest
   904  	(*GatherHotlistsForUserRequest)(nil),  // 9: monorail.v3.GatherHotlistsForUserRequest
   905  	(*GatherHotlistsForUserResponse)(nil), // 10: monorail.v3.GatherHotlistsForUserResponse
   906  	(*Hotlist)(nil),                       // 11: monorail.v3.Hotlist
   907  	(*fieldmaskpb.FieldMask)(nil),         // 12: google.protobuf.FieldMask
   908  	(*HotlistItem)(nil),                   // 13: monorail.v3.HotlistItem
   909  	(*emptypb.Empty)(nil),                 // 14: google.protobuf.Empty
   910  }
   911  var file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_depIdxs = []int32{
   912  	11, // 0: monorail.v3.CreateHotlistRequest.hotlist:type_name -> monorail.v3.Hotlist
   913  	11, // 1: monorail.v3.UpdateHotlistRequest.hotlist:type_name -> monorail.v3.Hotlist
   914  	12, // 2: monorail.v3.UpdateHotlistRequest.update_mask:type_name -> google.protobuf.FieldMask
   915  	13, // 3: monorail.v3.ListHotlistItemsResponse.items:type_name -> monorail.v3.HotlistItem
   916  	11, // 4: monorail.v3.GatherHotlistsForUserResponse.hotlists:type_name -> monorail.v3.Hotlist
   917  	0,  // 5: monorail.v3.Hotlists.CreateHotlist:input_type -> monorail.v3.CreateHotlistRequest
   918  	1,  // 6: monorail.v3.Hotlists.GetHotlist:input_type -> monorail.v3.GetHotlistRequest
   919  	2,  // 7: monorail.v3.Hotlists.UpdateHotlist:input_type -> monorail.v3.UpdateHotlistRequest
   920  	1,  // 8: monorail.v3.Hotlists.DeleteHotlist:input_type -> monorail.v3.GetHotlistRequest
   921  	3,  // 9: monorail.v3.Hotlists.ListHotlistItems:input_type -> monorail.v3.ListHotlistItemsRequest
   922  	5,  // 10: monorail.v3.Hotlists.RerankHotlistItems:input_type -> monorail.v3.RerankHotlistItemsRequest
   923  	6,  // 11: monorail.v3.Hotlists.AddHotlistItems:input_type -> monorail.v3.AddHotlistItemsRequest
   924  	7,  // 12: monorail.v3.Hotlists.RemoveHotlistItems:input_type -> monorail.v3.RemoveHotlistItemsRequest
   925  	8,  // 13: monorail.v3.Hotlists.RemoveHotlistEditors:input_type -> monorail.v3.RemoveHotlistEditorsRequest
   926  	9,  // 14: monorail.v3.Hotlists.GatherHotlistsForUser:input_type -> monorail.v3.GatherHotlistsForUserRequest
   927  	11, // 15: monorail.v3.Hotlists.CreateHotlist:output_type -> monorail.v3.Hotlist
   928  	11, // 16: monorail.v3.Hotlists.GetHotlist:output_type -> monorail.v3.Hotlist
   929  	11, // 17: monorail.v3.Hotlists.UpdateHotlist:output_type -> monorail.v3.Hotlist
   930  	14, // 18: monorail.v3.Hotlists.DeleteHotlist:output_type -> google.protobuf.Empty
   931  	4,  // 19: monorail.v3.Hotlists.ListHotlistItems:output_type -> monorail.v3.ListHotlistItemsResponse
   932  	14, // 20: monorail.v3.Hotlists.RerankHotlistItems:output_type -> google.protobuf.Empty
   933  	14, // 21: monorail.v3.Hotlists.AddHotlistItems:output_type -> google.protobuf.Empty
   934  	14, // 22: monorail.v3.Hotlists.RemoveHotlistItems:output_type -> google.protobuf.Empty
   935  	14, // 23: monorail.v3.Hotlists.RemoveHotlistEditors:output_type -> google.protobuf.Empty
   936  	10, // 24: monorail.v3.Hotlists.GatherHotlistsForUser:output_type -> monorail.v3.GatherHotlistsForUserResponse
   937  	15, // [15:25] is the sub-list for method output_type
   938  	5,  // [5:15] is the sub-list for method input_type
   939  	5,  // [5:5] is the sub-list for extension type_name
   940  	5,  // [5:5] is the sub-list for extension extendee
   941  	0,  // [0:5] is the sub-list for field type_name
   942  }
   943  
   944  func init() {
   945  	file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_init()
   946  }
   947  func file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_init() {
   948  	if File_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto != nil {
   949  		return
   950  	}
   951  	file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_feature_objects_proto_init()
   952  	if !protoimpl.UnsafeEnabled {
   953  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   954  			switch v := v.(*CreateHotlistRequest); i {
   955  			case 0:
   956  				return &v.state
   957  			case 1:
   958  				return &v.sizeCache
   959  			case 2:
   960  				return &v.unknownFields
   961  			default:
   962  				return nil
   963  			}
   964  		}
   965  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   966  			switch v := v.(*GetHotlistRequest); i {
   967  			case 0:
   968  				return &v.state
   969  			case 1:
   970  				return &v.sizeCache
   971  			case 2:
   972  				return &v.unknownFields
   973  			default:
   974  				return nil
   975  			}
   976  		}
   977  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   978  			switch v := v.(*UpdateHotlistRequest); i {
   979  			case 0:
   980  				return &v.state
   981  			case 1:
   982  				return &v.sizeCache
   983  			case 2:
   984  				return &v.unknownFields
   985  			default:
   986  				return nil
   987  			}
   988  		}
   989  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   990  			switch v := v.(*ListHotlistItemsRequest); i {
   991  			case 0:
   992  				return &v.state
   993  			case 1:
   994  				return &v.sizeCache
   995  			case 2:
   996  				return &v.unknownFields
   997  			default:
   998  				return nil
   999  			}
  1000  		}
  1001  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1002  			switch v := v.(*ListHotlistItemsResponse); i {
  1003  			case 0:
  1004  				return &v.state
  1005  			case 1:
  1006  				return &v.sizeCache
  1007  			case 2:
  1008  				return &v.unknownFields
  1009  			default:
  1010  				return nil
  1011  			}
  1012  		}
  1013  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1014  			switch v := v.(*RerankHotlistItemsRequest); i {
  1015  			case 0:
  1016  				return &v.state
  1017  			case 1:
  1018  				return &v.sizeCache
  1019  			case 2:
  1020  				return &v.unknownFields
  1021  			default:
  1022  				return nil
  1023  			}
  1024  		}
  1025  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1026  			switch v := v.(*AddHotlistItemsRequest); i {
  1027  			case 0:
  1028  				return &v.state
  1029  			case 1:
  1030  				return &v.sizeCache
  1031  			case 2:
  1032  				return &v.unknownFields
  1033  			default:
  1034  				return nil
  1035  			}
  1036  		}
  1037  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1038  			switch v := v.(*RemoveHotlistItemsRequest); i {
  1039  			case 0:
  1040  				return &v.state
  1041  			case 1:
  1042  				return &v.sizeCache
  1043  			case 2:
  1044  				return &v.unknownFields
  1045  			default:
  1046  				return nil
  1047  			}
  1048  		}
  1049  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1050  			switch v := v.(*RemoveHotlistEditorsRequest); i {
  1051  			case 0:
  1052  				return &v.state
  1053  			case 1:
  1054  				return &v.sizeCache
  1055  			case 2:
  1056  				return &v.unknownFields
  1057  			default:
  1058  				return nil
  1059  			}
  1060  		}
  1061  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1062  			switch v := v.(*GatherHotlistsForUserRequest); i {
  1063  			case 0:
  1064  				return &v.state
  1065  			case 1:
  1066  				return &v.sizeCache
  1067  			case 2:
  1068  				return &v.unknownFields
  1069  			default:
  1070  				return nil
  1071  			}
  1072  		}
  1073  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1074  			switch v := v.(*GatherHotlistsForUserResponse); i {
  1075  			case 0:
  1076  				return &v.state
  1077  			case 1:
  1078  				return &v.sizeCache
  1079  			case 2:
  1080  				return &v.unknownFields
  1081  			default:
  1082  				return nil
  1083  			}
  1084  		}
  1085  	}
  1086  	type x struct{}
  1087  	out := protoimpl.TypeBuilder{
  1088  		File: protoimpl.DescBuilder{
  1089  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1090  			RawDescriptor: file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDesc,
  1091  			NumEnums:      0,
  1092  			NumMessages:   11,
  1093  			NumExtensions: 0,
  1094  			NumServices:   1,
  1095  		},
  1096  		GoTypes:           file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_goTypes,
  1097  		DependencyIndexes: file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_depIdxs,
  1098  		MessageInfos:      file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_msgTypes,
  1099  	}.Build()
  1100  	File_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto = out.File
  1101  	file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_rawDesc = nil
  1102  	file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_goTypes = nil
  1103  	file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_hotlists_proto_depIdxs = nil
  1104  }
  1105  
  1106  // Reference imports to suppress errors if they are not otherwise used.
  1107  var _ context.Context
  1108  var _ grpc.ClientConnInterface
  1109  
  1110  // This is a compile-time assertion to ensure that this generated file
  1111  // is compatible with the grpc package it is being compiled against.
  1112  const _ = grpc.SupportPackageIsVersion6
  1113  
  1114  // HotlistsClient is the client API for Hotlists service.
  1115  //
  1116  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1117  type HotlistsClient interface {
  1118  	// status: NOT READY
  1119  	// Creates a new hotlist.
  1120  	//
  1121  	// Raises:
  1122  	//
  1123  	//	NOT_FOUND if some given hotlist editors do not exist.
  1124  	//	ALREADY_EXISTS if a hotlist with the same name owned by the user
  1125  	//	already exists.
  1126  	//	INVALID_ARGUMENT if a `hotlist.owner` is given.
  1127  	CreateHotlist(ctx context.Context, in *CreateHotlistRequest, opts ...grpc.CallOption) (*Hotlist, error)
  1128  	// status: NOT READY
  1129  	// Returns the requested Hotlist.
  1130  	//
  1131  	// Raises:
  1132  	//
  1133  	//	NOT_FOUND if the requested hotlist is not found.
  1134  	//	PERMISSION_DENIED if the requester is not allowed to view the hotlist.
  1135  	//	INVALID_ARGUMENT if the given resource name is not valid.
  1136  	GetHotlist(ctx context.Context, in *GetHotlistRequest, opts ...grpc.CallOption) (*Hotlist, error)
  1137  	// status: NOT READY
  1138  	// Updates a hotlist.
  1139  	//
  1140  	// Raises:
  1141  	//
  1142  	//	NOT_FOUND if the hotlist is not found.
  1143  	//	PERMISSION_DENIED if the requester is not allowed to update the hotlist.
  1144  	//	INVALID_ARGUMENT if required fields are missing.
  1145  	UpdateHotlist(ctx context.Context, in *UpdateHotlistRequest, opts ...grpc.CallOption) (*Hotlist, error)
  1146  	// status: NOT READY
  1147  	// Deletes a hotlist.
  1148  	//
  1149  	// Raises:
  1150  	//
  1151  	//	NOT_FOUND if the hotlist is not found.
  1152  	//	PERMISSION_DENIED if the requester is not allowed to delete the hotlist.
  1153  	DeleteHotlist(ctx context.Context, in *GetHotlistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  1154  	// status: NOT READY
  1155  	// Returns a list of all HotlistItems in the hotlist.
  1156  	//
  1157  	// Raises:
  1158  	//
  1159  	//	NOT_FOUND if the parent hotlist is not found.
  1160  	//	PERMISSION_DENIED if the requester is not allowed to view the hotlist.
  1161  	//	INVALID_ARGUMENT if the page_token or given hotlist resource name is not
  1162  	//	valid.
  1163  	ListHotlistItems(ctx context.Context, in *ListHotlistItemsRequest, opts ...grpc.CallOption) (*ListHotlistItemsResponse, error)
  1164  	// status: NOT READY
  1165  	// Reranks a hotlist's items.
  1166  	//
  1167  	// Raises:
  1168  	//
  1169  	//	NOT_FOUND if the hotlist or issues to rerank are not found.
  1170  	//	PERMISSION_DENIED if the requester is not allowed to rerank the hotlist
  1171  	//	or view issues they're trying to rerank.
  1172  	//	INVALID_ARGUMENT if the `target_position` is invalid or `hotlist_items`
  1173  	//	is empty or contains items not in the Hotlist.
  1174  	RerankHotlistItems(ctx context.Context, in *RerankHotlistItemsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  1175  	// status: NOT READY
  1176  	// Adds new items associated with given issues to a hotlist.
  1177  	//
  1178  	// Raises:
  1179  	//
  1180  	//	NOT_FOUND if the parent hotlist or issues are not found.
  1181  	//	PERMISSION_DENIED if the requester is not allowed to edit the hotlist or
  1182  	//	view issues they are trying to add.
  1183  	//	INVALID_ARGUMENT if the `target_position` is invalid or `hotlist_items`
  1184  	//	is empty or contains items not in the Hotlist.
  1185  	AddHotlistItems(ctx context.Context, in *AddHotlistItemsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  1186  	// status: NOT READY
  1187  	// Removes items associated with given issues from a hotlist.
  1188  	//
  1189  	// Raises:
  1190  	//
  1191  	//	NOT_FOUND if the parent hotlist or issues are not found.
  1192  	//	PERMISSION_DENIED if the requester is not allowed to edit the hotlist or
  1193  	//	view issues they are trying to remove.
  1194  	//	INVALID_ARGUMENT if the `target_position` is invalid or `hotlist_items`
  1195  	//	is empty or contains items not in the Hotlist.
  1196  	RemoveHotlistItems(ctx context.Context, in *RemoveHotlistItemsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  1197  	// status: NOT READY
  1198  	// Removes editors assigned to a hotlist.
  1199  	//
  1200  	// Raises:
  1201  	//
  1202  	//	NOT_FOUND if the hotlist is not found.
  1203  	//	PERMISSION_DENIED if the requester is not allowed to remove all specified
  1204  	//	editors from the hotlist.
  1205  	//	INVALID_ARGUMENT if any specified editors are not in the hotlist.
  1206  	RemoveHotlistEditors(ctx context.Context, in *RemoveHotlistEditorsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  1207  	// status: NOT READY
  1208  	// Gathers all viewable hotlists that a user is a member of.
  1209  	//
  1210  	// Raises:
  1211  	//
  1212  	//	NOT_FOUND if the user is not found.
  1213  	//	INVALID_ARGUMENT if the `user` is invalid.
  1214  	GatherHotlistsForUser(ctx context.Context, in *GatherHotlistsForUserRequest, opts ...grpc.CallOption) (*GatherHotlistsForUserResponse, error)
  1215  }
  1216  type hotlistsPRPCClient struct {
  1217  	client *prpc.Client
  1218  }
  1219  
  1220  func NewHotlistsPRPCClient(client *prpc.Client) HotlistsClient {
  1221  	return &hotlistsPRPCClient{client}
  1222  }
  1223  
  1224  func (c *hotlistsPRPCClient) CreateHotlist(ctx context.Context, in *CreateHotlistRequest, opts ...grpc.CallOption) (*Hotlist, error) {
  1225  	out := new(Hotlist)
  1226  	err := c.client.Call(ctx, "monorail.v3.Hotlists", "CreateHotlist", in, out, opts...)
  1227  	if err != nil {
  1228  		return nil, err
  1229  	}
  1230  	return out, nil
  1231  }
  1232  
  1233  func (c *hotlistsPRPCClient) GetHotlist(ctx context.Context, in *GetHotlistRequest, opts ...grpc.CallOption) (*Hotlist, error) {
  1234  	out := new(Hotlist)
  1235  	err := c.client.Call(ctx, "monorail.v3.Hotlists", "GetHotlist", in, out, opts...)
  1236  	if err != nil {
  1237  		return nil, err
  1238  	}
  1239  	return out, nil
  1240  }
  1241  
  1242  func (c *hotlistsPRPCClient) UpdateHotlist(ctx context.Context, in *UpdateHotlistRequest, opts ...grpc.CallOption) (*Hotlist, error) {
  1243  	out := new(Hotlist)
  1244  	err := c.client.Call(ctx, "monorail.v3.Hotlists", "UpdateHotlist", in, out, opts...)
  1245  	if err != nil {
  1246  		return nil, err
  1247  	}
  1248  	return out, nil
  1249  }
  1250  
  1251  func (c *hotlistsPRPCClient) DeleteHotlist(ctx context.Context, in *GetHotlistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1252  	out := new(emptypb.Empty)
  1253  	err := c.client.Call(ctx, "monorail.v3.Hotlists", "DeleteHotlist", in, out, opts...)
  1254  	if err != nil {
  1255  		return nil, err
  1256  	}
  1257  	return out, nil
  1258  }
  1259  
  1260  func (c *hotlistsPRPCClient) ListHotlistItems(ctx context.Context, in *ListHotlistItemsRequest, opts ...grpc.CallOption) (*ListHotlistItemsResponse, error) {
  1261  	out := new(ListHotlistItemsResponse)
  1262  	err := c.client.Call(ctx, "monorail.v3.Hotlists", "ListHotlistItems", in, out, opts...)
  1263  	if err != nil {
  1264  		return nil, err
  1265  	}
  1266  	return out, nil
  1267  }
  1268  
  1269  func (c *hotlistsPRPCClient) RerankHotlistItems(ctx context.Context, in *RerankHotlistItemsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1270  	out := new(emptypb.Empty)
  1271  	err := c.client.Call(ctx, "monorail.v3.Hotlists", "RerankHotlistItems", in, out, opts...)
  1272  	if err != nil {
  1273  		return nil, err
  1274  	}
  1275  	return out, nil
  1276  }
  1277  
  1278  func (c *hotlistsPRPCClient) AddHotlistItems(ctx context.Context, in *AddHotlistItemsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1279  	out := new(emptypb.Empty)
  1280  	err := c.client.Call(ctx, "monorail.v3.Hotlists", "AddHotlistItems", in, out, opts...)
  1281  	if err != nil {
  1282  		return nil, err
  1283  	}
  1284  	return out, nil
  1285  }
  1286  
  1287  func (c *hotlistsPRPCClient) RemoveHotlistItems(ctx context.Context, in *RemoveHotlistItemsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1288  	out := new(emptypb.Empty)
  1289  	err := c.client.Call(ctx, "monorail.v3.Hotlists", "RemoveHotlistItems", in, out, opts...)
  1290  	if err != nil {
  1291  		return nil, err
  1292  	}
  1293  	return out, nil
  1294  }
  1295  
  1296  func (c *hotlistsPRPCClient) RemoveHotlistEditors(ctx context.Context, in *RemoveHotlistEditorsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1297  	out := new(emptypb.Empty)
  1298  	err := c.client.Call(ctx, "monorail.v3.Hotlists", "RemoveHotlistEditors", in, out, opts...)
  1299  	if err != nil {
  1300  		return nil, err
  1301  	}
  1302  	return out, nil
  1303  }
  1304  
  1305  func (c *hotlistsPRPCClient) GatherHotlistsForUser(ctx context.Context, in *GatherHotlistsForUserRequest, opts ...grpc.CallOption) (*GatherHotlistsForUserResponse, error) {
  1306  	out := new(GatherHotlistsForUserResponse)
  1307  	err := c.client.Call(ctx, "monorail.v3.Hotlists", "GatherHotlistsForUser", in, out, opts...)
  1308  	if err != nil {
  1309  		return nil, err
  1310  	}
  1311  	return out, nil
  1312  }
  1313  
  1314  type hotlistsClient struct {
  1315  	cc grpc.ClientConnInterface
  1316  }
  1317  
  1318  func NewHotlistsClient(cc grpc.ClientConnInterface) HotlistsClient {
  1319  	return &hotlistsClient{cc}
  1320  }
  1321  
  1322  func (c *hotlistsClient) CreateHotlist(ctx context.Context, in *CreateHotlistRequest, opts ...grpc.CallOption) (*Hotlist, error) {
  1323  	out := new(Hotlist)
  1324  	err := c.cc.Invoke(ctx, "/monorail.v3.Hotlists/CreateHotlist", in, out, opts...)
  1325  	if err != nil {
  1326  		return nil, err
  1327  	}
  1328  	return out, nil
  1329  }
  1330  
  1331  func (c *hotlistsClient) GetHotlist(ctx context.Context, in *GetHotlistRequest, opts ...grpc.CallOption) (*Hotlist, error) {
  1332  	out := new(Hotlist)
  1333  	err := c.cc.Invoke(ctx, "/monorail.v3.Hotlists/GetHotlist", in, out, opts...)
  1334  	if err != nil {
  1335  		return nil, err
  1336  	}
  1337  	return out, nil
  1338  }
  1339  
  1340  func (c *hotlistsClient) UpdateHotlist(ctx context.Context, in *UpdateHotlistRequest, opts ...grpc.CallOption) (*Hotlist, error) {
  1341  	out := new(Hotlist)
  1342  	err := c.cc.Invoke(ctx, "/monorail.v3.Hotlists/UpdateHotlist", in, out, opts...)
  1343  	if err != nil {
  1344  		return nil, err
  1345  	}
  1346  	return out, nil
  1347  }
  1348  
  1349  func (c *hotlistsClient) DeleteHotlist(ctx context.Context, in *GetHotlistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1350  	out := new(emptypb.Empty)
  1351  	err := c.cc.Invoke(ctx, "/monorail.v3.Hotlists/DeleteHotlist", in, out, opts...)
  1352  	if err != nil {
  1353  		return nil, err
  1354  	}
  1355  	return out, nil
  1356  }
  1357  
  1358  func (c *hotlistsClient) ListHotlistItems(ctx context.Context, in *ListHotlistItemsRequest, opts ...grpc.CallOption) (*ListHotlistItemsResponse, error) {
  1359  	out := new(ListHotlistItemsResponse)
  1360  	err := c.cc.Invoke(ctx, "/monorail.v3.Hotlists/ListHotlistItems", in, out, opts...)
  1361  	if err != nil {
  1362  		return nil, err
  1363  	}
  1364  	return out, nil
  1365  }
  1366  
  1367  func (c *hotlistsClient) RerankHotlistItems(ctx context.Context, in *RerankHotlistItemsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1368  	out := new(emptypb.Empty)
  1369  	err := c.cc.Invoke(ctx, "/monorail.v3.Hotlists/RerankHotlistItems", in, out, opts...)
  1370  	if err != nil {
  1371  		return nil, err
  1372  	}
  1373  	return out, nil
  1374  }
  1375  
  1376  func (c *hotlistsClient) AddHotlistItems(ctx context.Context, in *AddHotlistItemsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1377  	out := new(emptypb.Empty)
  1378  	err := c.cc.Invoke(ctx, "/monorail.v3.Hotlists/AddHotlistItems", in, out, opts...)
  1379  	if err != nil {
  1380  		return nil, err
  1381  	}
  1382  	return out, nil
  1383  }
  1384  
  1385  func (c *hotlistsClient) RemoveHotlistItems(ctx context.Context, in *RemoveHotlistItemsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1386  	out := new(emptypb.Empty)
  1387  	err := c.cc.Invoke(ctx, "/monorail.v3.Hotlists/RemoveHotlistItems", in, out, opts...)
  1388  	if err != nil {
  1389  		return nil, err
  1390  	}
  1391  	return out, nil
  1392  }
  1393  
  1394  func (c *hotlistsClient) RemoveHotlistEditors(ctx context.Context, in *RemoveHotlistEditorsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  1395  	out := new(emptypb.Empty)
  1396  	err := c.cc.Invoke(ctx, "/monorail.v3.Hotlists/RemoveHotlistEditors", in, out, opts...)
  1397  	if err != nil {
  1398  		return nil, err
  1399  	}
  1400  	return out, nil
  1401  }
  1402  
  1403  func (c *hotlistsClient) GatherHotlistsForUser(ctx context.Context, in *GatherHotlistsForUserRequest, opts ...grpc.CallOption) (*GatherHotlistsForUserResponse, error) {
  1404  	out := new(GatherHotlistsForUserResponse)
  1405  	err := c.cc.Invoke(ctx, "/monorail.v3.Hotlists/GatherHotlistsForUser", in, out, opts...)
  1406  	if err != nil {
  1407  		return nil, err
  1408  	}
  1409  	return out, nil
  1410  }
  1411  
  1412  // HotlistsServer is the server API for Hotlists service.
  1413  type HotlistsServer interface {
  1414  	// status: NOT READY
  1415  	// Creates a new hotlist.
  1416  	//
  1417  	// Raises:
  1418  	//
  1419  	//	NOT_FOUND if some given hotlist editors do not exist.
  1420  	//	ALREADY_EXISTS if a hotlist with the same name owned by the user
  1421  	//	already exists.
  1422  	//	INVALID_ARGUMENT if a `hotlist.owner` is given.
  1423  	CreateHotlist(context.Context, *CreateHotlistRequest) (*Hotlist, error)
  1424  	// status: NOT READY
  1425  	// Returns the requested Hotlist.
  1426  	//
  1427  	// Raises:
  1428  	//
  1429  	//	NOT_FOUND if the requested hotlist is not found.
  1430  	//	PERMISSION_DENIED if the requester is not allowed to view the hotlist.
  1431  	//	INVALID_ARGUMENT if the given resource name is not valid.
  1432  	GetHotlist(context.Context, *GetHotlistRequest) (*Hotlist, error)
  1433  	// status: NOT READY
  1434  	// Updates a hotlist.
  1435  	//
  1436  	// Raises:
  1437  	//
  1438  	//	NOT_FOUND if the hotlist is not found.
  1439  	//	PERMISSION_DENIED if the requester is not allowed to update the hotlist.
  1440  	//	INVALID_ARGUMENT if required fields are missing.
  1441  	UpdateHotlist(context.Context, *UpdateHotlistRequest) (*Hotlist, error)
  1442  	// status: NOT READY
  1443  	// Deletes a hotlist.
  1444  	//
  1445  	// Raises:
  1446  	//
  1447  	//	NOT_FOUND if the hotlist is not found.
  1448  	//	PERMISSION_DENIED if the requester is not allowed to delete the hotlist.
  1449  	DeleteHotlist(context.Context, *GetHotlistRequest) (*emptypb.Empty, error)
  1450  	// status: NOT READY
  1451  	// Returns a list of all HotlistItems in the hotlist.
  1452  	//
  1453  	// Raises:
  1454  	//
  1455  	//	NOT_FOUND if the parent hotlist is not found.
  1456  	//	PERMISSION_DENIED if the requester is not allowed to view the hotlist.
  1457  	//	INVALID_ARGUMENT if the page_token or given hotlist resource name is not
  1458  	//	valid.
  1459  	ListHotlistItems(context.Context, *ListHotlistItemsRequest) (*ListHotlistItemsResponse, error)
  1460  	// status: NOT READY
  1461  	// Reranks a hotlist's items.
  1462  	//
  1463  	// Raises:
  1464  	//
  1465  	//	NOT_FOUND if the hotlist or issues to rerank are not found.
  1466  	//	PERMISSION_DENIED if the requester is not allowed to rerank the hotlist
  1467  	//	or view issues they're trying to rerank.
  1468  	//	INVALID_ARGUMENT if the `target_position` is invalid or `hotlist_items`
  1469  	//	is empty or contains items not in the Hotlist.
  1470  	RerankHotlistItems(context.Context, *RerankHotlistItemsRequest) (*emptypb.Empty, error)
  1471  	// status: NOT READY
  1472  	// Adds new items associated with given issues to a hotlist.
  1473  	//
  1474  	// Raises:
  1475  	//
  1476  	//	NOT_FOUND if the parent hotlist or issues are not found.
  1477  	//	PERMISSION_DENIED if the requester is not allowed to edit the hotlist or
  1478  	//	view issues they are trying to add.
  1479  	//	INVALID_ARGUMENT if the `target_position` is invalid or `hotlist_items`
  1480  	//	is empty or contains items not in the Hotlist.
  1481  	AddHotlistItems(context.Context, *AddHotlistItemsRequest) (*emptypb.Empty, error)
  1482  	// status: NOT READY
  1483  	// Removes items associated with given issues from a hotlist.
  1484  	//
  1485  	// Raises:
  1486  	//
  1487  	//	NOT_FOUND if the parent hotlist or issues are not found.
  1488  	//	PERMISSION_DENIED if the requester is not allowed to edit the hotlist or
  1489  	//	view issues they are trying to remove.
  1490  	//	INVALID_ARGUMENT if the `target_position` is invalid or `hotlist_items`
  1491  	//	is empty or contains items not in the Hotlist.
  1492  	RemoveHotlistItems(context.Context, *RemoveHotlistItemsRequest) (*emptypb.Empty, error)
  1493  	// status: NOT READY
  1494  	// Removes editors assigned to a hotlist.
  1495  	//
  1496  	// Raises:
  1497  	//
  1498  	//	NOT_FOUND if the hotlist is not found.
  1499  	//	PERMISSION_DENIED if the requester is not allowed to remove all specified
  1500  	//	editors from the hotlist.
  1501  	//	INVALID_ARGUMENT if any specified editors are not in the hotlist.
  1502  	RemoveHotlistEditors(context.Context, *RemoveHotlistEditorsRequest) (*emptypb.Empty, error)
  1503  	// status: NOT READY
  1504  	// Gathers all viewable hotlists that a user is a member of.
  1505  	//
  1506  	// Raises:
  1507  	//
  1508  	//	NOT_FOUND if the user is not found.
  1509  	//	INVALID_ARGUMENT if the `user` is invalid.
  1510  	GatherHotlistsForUser(context.Context, *GatherHotlistsForUserRequest) (*GatherHotlistsForUserResponse, error)
  1511  }
  1512  
  1513  // UnimplementedHotlistsServer can be embedded to have forward compatible implementations.
  1514  type UnimplementedHotlistsServer struct {
  1515  }
  1516  
  1517  func (*UnimplementedHotlistsServer) CreateHotlist(context.Context, *CreateHotlistRequest) (*Hotlist, error) {
  1518  	return nil, status.Errorf(codes.Unimplemented, "method CreateHotlist not implemented")
  1519  }
  1520  func (*UnimplementedHotlistsServer) GetHotlist(context.Context, *GetHotlistRequest) (*Hotlist, error) {
  1521  	return nil, status.Errorf(codes.Unimplemented, "method GetHotlist not implemented")
  1522  }
  1523  func (*UnimplementedHotlistsServer) UpdateHotlist(context.Context, *UpdateHotlistRequest) (*Hotlist, error) {
  1524  	return nil, status.Errorf(codes.Unimplemented, "method UpdateHotlist not implemented")
  1525  }
  1526  func (*UnimplementedHotlistsServer) DeleteHotlist(context.Context, *GetHotlistRequest) (*emptypb.Empty, error) {
  1527  	return nil, status.Errorf(codes.Unimplemented, "method DeleteHotlist not implemented")
  1528  }
  1529  func (*UnimplementedHotlistsServer) ListHotlistItems(context.Context, *ListHotlistItemsRequest) (*ListHotlistItemsResponse, error) {
  1530  	return nil, status.Errorf(codes.Unimplemented, "method ListHotlistItems not implemented")
  1531  }
  1532  func (*UnimplementedHotlistsServer) RerankHotlistItems(context.Context, *RerankHotlistItemsRequest) (*emptypb.Empty, error) {
  1533  	return nil, status.Errorf(codes.Unimplemented, "method RerankHotlistItems not implemented")
  1534  }
  1535  func (*UnimplementedHotlistsServer) AddHotlistItems(context.Context, *AddHotlistItemsRequest) (*emptypb.Empty, error) {
  1536  	return nil, status.Errorf(codes.Unimplemented, "method AddHotlistItems not implemented")
  1537  }
  1538  func (*UnimplementedHotlistsServer) RemoveHotlistItems(context.Context, *RemoveHotlistItemsRequest) (*emptypb.Empty, error) {
  1539  	return nil, status.Errorf(codes.Unimplemented, "method RemoveHotlistItems not implemented")
  1540  }
  1541  func (*UnimplementedHotlistsServer) RemoveHotlistEditors(context.Context, *RemoveHotlistEditorsRequest) (*emptypb.Empty, error) {
  1542  	return nil, status.Errorf(codes.Unimplemented, "method RemoveHotlistEditors not implemented")
  1543  }
  1544  func (*UnimplementedHotlistsServer) GatherHotlistsForUser(context.Context, *GatherHotlistsForUserRequest) (*GatherHotlistsForUserResponse, error) {
  1545  	return nil, status.Errorf(codes.Unimplemented, "method GatherHotlistsForUser not implemented")
  1546  }
  1547  
  1548  func RegisterHotlistsServer(s prpc.Registrar, srv HotlistsServer) {
  1549  	s.RegisterService(&_Hotlists_serviceDesc, srv)
  1550  }
  1551  
  1552  func _Hotlists_CreateHotlist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1553  	in := new(CreateHotlistRequest)
  1554  	if err := dec(in); err != nil {
  1555  		return nil, err
  1556  	}
  1557  	if interceptor == nil {
  1558  		return srv.(HotlistsServer).CreateHotlist(ctx, in)
  1559  	}
  1560  	info := &grpc.UnaryServerInfo{
  1561  		Server:     srv,
  1562  		FullMethod: "/monorail.v3.Hotlists/CreateHotlist",
  1563  	}
  1564  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1565  		return srv.(HotlistsServer).CreateHotlist(ctx, req.(*CreateHotlistRequest))
  1566  	}
  1567  	return interceptor(ctx, in, info, handler)
  1568  }
  1569  
  1570  func _Hotlists_GetHotlist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1571  	in := new(GetHotlistRequest)
  1572  	if err := dec(in); err != nil {
  1573  		return nil, err
  1574  	}
  1575  	if interceptor == nil {
  1576  		return srv.(HotlistsServer).GetHotlist(ctx, in)
  1577  	}
  1578  	info := &grpc.UnaryServerInfo{
  1579  		Server:     srv,
  1580  		FullMethod: "/monorail.v3.Hotlists/GetHotlist",
  1581  	}
  1582  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1583  		return srv.(HotlistsServer).GetHotlist(ctx, req.(*GetHotlistRequest))
  1584  	}
  1585  	return interceptor(ctx, in, info, handler)
  1586  }
  1587  
  1588  func _Hotlists_UpdateHotlist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1589  	in := new(UpdateHotlistRequest)
  1590  	if err := dec(in); err != nil {
  1591  		return nil, err
  1592  	}
  1593  	if interceptor == nil {
  1594  		return srv.(HotlistsServer).UpdateHotlist(ctx, in)
  1595  	}
  1596  	info := &grpc.UnaryServerInfo{
  1597  		Server:     srv,
  1598  		FullMethod: "/monorail.v3.Hotlists/UpdateHotlist",
  1599  	}
  1600  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1601  		return srv.(HotlistsServer).UpdateHotlist(ctx, req.(*UpdateHotlistRequest))
  1602  	}
  1603  	return interceptor(ctx, in, info, handler)
  1604  }
  1605  
  1606  func _Hotlists_DeleteHotlist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1607  	in := new(GetHotlistRequest)
  1608  	if err := dec(in); err != nil {
  1609  		return nil, err
  1610  	}
  1611  	if interceptor == nil {
  1612  		return srv.(HotlistsServer).DeleteHotlist(ctx, in)
  1613  	}
  1614  	info := &grpc.UnaryServerInfo{
  1615  		Server:     srv,
  1616  		FullMethod: "/monorail.v3.Hotlists/DeleteHotlist",
  1617  	}
  1618  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1619  		return srv.(HotlistsServer).DeleteHotlist(ctx, req.(*GetHotlistRequest))
  1620  	}
  1621  	return interceptor(ctx, in, info, handler)
  1622  }
  1623  
  1624  func _Hotlists_ListHotlistItems_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1625  	in := new(ListHotlistItemsRequest)
  1626  	if err := dec(in); err != nil {
  1627  		return nil, err
  1628  	}
  1629  	if interceptor == nil {
  1630  		return srv.(HotlistsServer).ListHotlistItems(ctx, in)
  1631  	}
  1632  	info := &grpc.UnaryServerInfo{
  1633  		Server:     srv,
  1634  		FullMethod: "/monorail.v3.Hotlists/ListHotlistItems",
  1635  	}
  1636  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1637  		return srv.(HotlistsServer).ListHotlistItems(ctx, req.(*ListHotlistItemsRequest))
  1638  	}
  1639  	return interceptor(ctx, in, info, handler)
  1640  }
  1641  
  1642  func _Hotlists_RerankHotlistItems_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1643  	in := new(RerankHotlistItemsRequest)
  1644  	if err := dec(in); err != nil {
  1645  		return nil, err
  1646  	}
  1647  	if interceptor == nil {
  1648  		return srv.(HotlistsServer).RerankHotlistItems(ctx, in)
  1649  	}
  1650  	info := &grpc.UnaryServerInfo{
  1651  		Server:     srv,
  1652  		FullMethod: "/monorail.v3.Hotlists/RerankHotlistItems",
  1653  	}
  1654  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1655  		return srv.(HotlistsServer).RerankHotlistItems(ctx, req.(*RerankHotlistItemsRequest))
  1656  	}
  1657  	return interceptor(ctx, in, info, handler)
  1658  }
  1659  
  1660  func _Hotlists_AddHotlistItems_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1661  	in := new(AddHotlistItemsRequest)
  1662  	if err := dec(in); err != nil {
  1663  		return nil, err
  1664  	}
  1665  	if interceptor == nil {
  1666  		return srv.(HotlistsServer).AddHotlistItems(ctx, in)
  1667  	}
  1668  	info := &grpc.UnaryServerInfo{
  1669  		Server:     srv,
  1670  		FullMethod: "/monorail.v3.Hotlists/AddHotlistItems",
  1671  	}
  1672  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1673  		return srv.(HotlistsServer).AddHotlistItems(ctx, req.(*AddHotlistItemsRequest))
  1674  	}
  1675  	return interceptor(ctx, in, info, handler)
  1676  }
  1677  
  1678  func _Hotlists_RemoveHotlistItems_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1679  	in := new(RemoveHotlistItemsRequest)
  1680  	if err := dec(in); err != nil {
  1681  		return nil, err
  1682  	}
  1683  	if interceptor == nil {
  1684  		return srv.(HotlistsServer).RemoveHotlistItems(ctx, in)
  1685  	}
  1686  	info := &grpc.UnaryServerInfo{
  1687  		Server:     srv,
  1688  		FullMethod: "/monorail.v3.Hotlists/RemoveHotlistItems",
  1689  	}
  1690  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1691  		return srv.(HotlistsServer).RemoveHotlistItems(ctx, req.(*RemoveHotlistItemsRequest))
  1692  	}
  1693  	return interceptor(ctx, in, info, handler)
  1694  }
  1695  
  1696  func _Hotlists_RemoveHotlistEditors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1697  	in := new(RemoveHotlistEditorsRequest)
  1698  	if err := dec(in); err != nil {
  1699  		return nil, err
  1700  	}
  1701  	if interceptor == nil {
  1702  		return srv.(HotlistsServer).RemoveHotlistEditors(ctx, in)
  1703  	}
  1704  	info := &grpc.UnaryServerInfo{
  1705  		Server:     srv,
  1706  		FullMethod: "/monorail.v3.Hotlists/RemoveHotlistEditors",
  1707  	}
  1708  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1709  		return srv.(HotlistsServer).RemoveHotlistEditors(ctx, req.(*RemoveHotlistEditorsRequest))
  1710  	}
  1711  	return interceptor(ctx, in, info, handler)
  1712  }
  1713  
  1714  func _Hotlists_GatherHotlistsForUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1715  	in := new(GatherHotlistsForUserRequest)
  1716  	if err := dec(in); err != nil {
  1717  		return nil, err
  1718  	}
  1719  	if interceptor == nil {
  1720  		return srv.(HotlistsServer).GatherHotlistsForUser(ctx, in)
  1721  	}
  1722  	info := &grpc.UnaryServerInfo{
  1723  		Server:     srv,
  1724  		FullMethod: "/monorail.v3.Hotlists/GatherHotlistsForUser",
  1725  	}
  1726  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1727  		return srv.(HotlistsServer).GatherHotlistsForUser(ctx, req.(*GatherHotlistsForUserRequest))
  1728  	}
  1729  	return interceptor(ctx, in, info, handler)
  1730  }
  1731  
  1732  var _Hotlists_serviceDesc = grpc.ServiceDesc{
  1733  	ServiceName: "monorail.v3.Hotlists",
  1734  	HandlerType: (*HotlistsServer)(nil),
  1735  	Methods: []grpc.MethodDesc{
  1736  		{
  1737  			MethodName: "CreateHotlist",
  1738  			Handler:    _Hotlists_CreateHotlist_Handler,
  1739  		},
  1740  		{
  1741  			MethodName: "GetHotlist",
  1742  			Handler:    _Hotlists_GetHotlist_Handler,
  1743  		},
  1744  		{
  1745  			MethodName: "UpdateHotlist",
  1746  			Handler:    _Hotlists_UpdateHotlist_Handler,
  1747  		},
  1748  		{
  1749  			MethodName: "DeleteHotlist",
  1750  			Handler:    _Hotlists_DeleteHotlist_Handler,
  1751  		},
  1752  		{
  1753  			MethodName: "ListHotlistItems",
  1754  			Handler:    _Hotlists_ListHotlistItems_Handler,
  1755  		},
  1756  		{
  1757  			MethodName: "RerankHotlistItems",
  1758  			Handler:    _Hotlists_RerankHotlistItems_Handler,
  1759  		},
  1760  		{
  1761  			MethodName: "AddHotlistItems",
  1762  			Handler:    _Hotlists_AddHotlistItems_Handler,
  1763  		},
  1764  		{
  1765  			MethodName: "RemoveHotlistItems",
  1766  			Handler:    _Hotlists_RemoveHotlistItems_Handler,
  1767  		},
  1768  		{
  1769  			MethodName: "RemoveHotlistEditors",
  1770  			Handler:    _Hotlists_RemoveHotlistEditors_Handler,
  1771  		},
  1772  		{
  1773  			MethodName: "GatherHotlistsForUser",
  1774  			Handler:    _Hotlists_GatherHotlistsForUser_Handler,
  1775  		},
  1776  	},
  1777  	Streams:  []grpc.StreamDesc{},
  1778  	Metadata: "go.chromium.org/luci/analysis/internal/bugs/monorail/api_proto/hotlists.proto",
  1779  }