go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/cv/api/v0/service_runs.pb.go (about)

     1  // Copyright 2021 The LUCI Authors.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //      http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.31.0
    18  // 	protoc        v3.21.7
    19  // source: go.chromium.org/luci/cv/api/v0/service_runs.proto
    20  
    21  package cvpb
    22  
    23  import (
    24  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    25  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    26  	reflect "reflect"
    27  	sync "sync"
    28  )
    29  
    30  const (
    31  	// Verify that this generated code is sufficiently up-to-date.
    32  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    33  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    35  )
    36  
    37  type GetRunRequest struct {
    38  	state         protoimpl.MessageState
    39  	sizeCache     protoimpl.SizeCache
    40  	unknownFields protoimpl.UnknownFields
    41  
    42  	// ID is CV Run ID, e.g. "projects/chromium/runs/9991234120-1-badcafe"
    43  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    44  }
    45  
    46  func (x *GetRunRequest) Reset() {
    47  	*x = GetRunRequest{}
    48  	if protoimpl.UnsafeEnabled {
    49  		mi := &file_go_chromium_org_luci_cv_api_v0_service_runs_proto_msgTypes[0]
    50  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    51  		ms.StoreMessageInfo(mi)
    52  	}
    53  }
    54  
    55  func (x *GetRunRequest) String() string {
    56  	return protoimpl.X.MessageStringOf(x)
    57  }
    58  
    59  func (*GetRunRequest) ProtoMessage() {}
    60  
    61  func (x *GetRunRequest) ProtoReflect() protoreflect.Message {
    62  	mi := &file_go_chromium_org_luci_cv_api_v0_service_runs_proto_msgTypes[0]
    63  	if protoimpl.UnsafeEnabled && x != nil {
    64  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    65  		if ms.LoadMessageInfo() == nil {
    66  			ms.StoreMessageInfo(mi)
    67  		}
    68  		return ms
    69  	}
    70  	return mi.MessageOf(x)
    71  }
    72  
    73  // Deprecated: Use GetRunRequest.ProtoReflect.Descriptor instead.
    74  func (*GetRunRequest) Descriptor() ([]byte, []int) {
    75  	return file_go_chromium_org_luci_cv_api_v0_service_runs_proto_rawDescGZIP(), []int{0}
    76  }
    77  
    78  func (x *GetRunRequest) GetId() string {
    79  	if x != nil {
    80  		return x.Id
    81  	}
    82  	return ""
    83  }
    84  
    85  // A request message for SearchRuns RPC.
    86  type SearchRunsRequest struct {
    87  	state         protoimpl.MessageState
    88  	sizeCache     protoimpl.SizeCache
    89  	unknownFields protoimpl.UnknownFields
    90  
    91  	// Returned Runs must satisfy this predicate. Required.
    92  	Predicate *RunPredicate `protobuf:"bytes,1,opt,name=predicate,proto3" json:"predicate,omitempty"`
    93  	// Maximum number of Runs to return at once.
    94  	//
    95  	// Default 32; maximum 128.
    96  	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    97  	// Value of SearchRunsResponse.next_page_token from the previous response.
    98  	// Use it to continue searching.
    99  	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
   100  }
   101  
   102  func (x *SearchRunsRequest) Reset() {
   103  	*x = SearchRunsRequest{}
   104  	if protoimpl.UnsafeEnabled {
   105  		mi := &file_go_chromium_org_luci_cv_api_v0_service_runs_proto_msgTypes[1]
   106  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   107  		ms.StoreMessageInfo(mi)
   108  	}
   109  }
   110  
   111  func (x *SearchRunsRequest) String() string {
   112  	return protoimpl.X.MessageStringOf(x)
   113  }
   114  
   115  func (*SearchRunsRequest) ProtoMessage() {}
   116  
   117  func (x *SearchRunsRequest) ProtoReflect() protoreflect.Message {
   118  	mi := &file_go_chromium_org_luci_cv_api_v0_service_runs_proto_msgTypes[1]
   119  	if protoimpl.UnsafeEnabled && x != nil {
   120  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   121  		if ms.LoadMessageInfo() == nil {
   122  			ms.StoreMessageInfo(mi)
   123  		}
   124  		return ms
   125  	}
   126  	return mi.MessageOf(x)
   127  }
   128  
   129  // Deprecated: Use SearchRunsRequest.ProtoReflect.Descriptor instead.
   130  func (*SearchRunsRequest) Descriptor() ([]byte, []int) {
   131  	return file_go_chromium_org_luci_cv_api_v0_service_runs_proto_rawDescGZIP(), []int{1}
   132  }
   133  
   134  func (x *SearchRunsRequest) GetPredicate() *RunPredicate {
   135  	if x != nil {
   136  		return x.Predicate
   137  	}
   138  	return nil
   139  }
   140  
   141  func (x *SearchRunsRequest) GetPageSize() int32 {
   142  	if x != nil {
   143  		return x.PageSize
   144  	}
   145  	return 0
   146  }
   147  
   148  func (x *SearchRunsRequest) GetPageToken() string {
   149  	if x != nil {
   150  		return x.PageToken
   151  	}
   152  	return ""
   153  }
   154  
   155  // A response message for SearchRuns RPC.
   156  type SearchRunsResponse struct {
   157  	state         protoimpl.MessageState
   158  	sizeCache     protoimpl.SizeCache
   159  	unknownFields protoimpl.UnknownFields
   160  
   161  	// Search results.
   162  	//
   163  	// Ordered by Run ID ascending; as a result, the Runs will be ordered by LUCI
   164  	// project in ascending lexicographic order and within each project will be
   165  	// ordered from newest to oldest.
   166  	Runs []*Run `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"`
   167  	// Value for SearchRunsRequest.page_token to continue searching.
   168  	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
   169  }
   170  
   171  func (x *SearchRunsResponse) Reset() {
   172  	*x = SearchRunsResponse{}
   173  	if protoimpl.UnsafeEnabled {
   174  		mi := &file_go_chromium_org_luci_cv_api_v0_service_runs_proto_msgTypes[2]
   175  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   176  		ms.StoreMessageInfo(mi)
   177  	}
   178  }
   179  
   180  func (x *SearchRunsResponse) String() string {
   181  	return protoimpl.X.MessageStringOf(x)
   182  }
   183  
   184  func (*SearchRunsResponse) ProtoMessage() {}
   185  
   186  func (x *SearchRunsResponse) ProtoReflect() protoreflect.Message {
   187  	mi := &file_go_chromium_org_luci_cv_api_v0_service_runs_proto_msgTypes[2]
   188  	if protoimpl.UnsafeEnabled && x != nil {
   189  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   190  		if ms.LoadMessageInfo() == nil {
   191  			ms.StoreMessageInfo(mi)
   192  		}
   193  		return ms
   194  	}
   195  	return mi.MessageOf(x)
   196  }
   197  
   198  // Deprecated: Use SearchRunsResponse.ProtoReflect.Descriptor instead.
   199  func (*SearchRunsResponse) Descriptor() ([]byte, []int) {
   200  	return file_go_chromium_org_luci_cv_api_v0_service_runs_proto_rawDescGZIP(), []int{2}
   201  }
   202  
   203  func (x *SearchRunsResponse) GetRuns() []*Run {
   204  	if x != nil {
   205  		return x.Runs
   206  	}
   207  	return nil
   208  }
   209  
   210  func (x *SearchRunsResponse) GetNextPageToken() string {
   211  	if x != nil {
   212  		return x.NextPageToken
   213  	}
   214  	return ""
   215  }
   216  
   217  // A predicate for a SearchRuns query.
   218  //
   219  // If a field value is empty, it is ignored, unless stated otherwise.
   220  type RunPredicate struct {
   221  	state         protoimpl.MessageState
   222  	sizeCache     protoimpl.SizeCache
   223  	unknownFields protoimpl.UnknownFields
   224  
   225  	// Limit results to this LUCI project. Required.
   226  	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
   227  	// The Run must include each of these Gerrit CLs, and may include others.
   228  	//
   229  	// The Patchset field in the GerritChanges is disallowed; Runs for the CL
   230  	// across all patchsets will be returned.
   231  	GerritChanges []*GerritChange `protobuf:"bytes,2,rep,name=gerrit_changes,json=gerritChanges,proto3" json:"gerrit_changes,omitempty"`
   232  }
   233  
   234  func (x *RunPredicate) Reset() {
   235  	*x = RunPredicate{}
   236  	if protoimpl.UnsafeEnabled {
   237  		mi := &file_go_chromium_org_luci_cv_api_v0_service_runs_proto_msgTypes[3]
   238  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   239  		ms.StoreMessageInfo(mi)
   240  	}
   241  }
   242  
   243  func (x *RunPredicate) String() string {
   244  	return protoimpl.X.MessageStringOf(x)
   245  }
   246  
   247  func (*RunPredicate) ProtoMessage() {}
   248  
   249  func (x *RunPredicate) ProtoReflect() protoreflect.Message {
   250  	mi := &file_go_chromium_org_luci_cv_api_v0_service_runs_proto_msgTypes[3]
   251  	if protoimpl.UnsafeEnabled && x != nil {
   252  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   253  		if ms.LoadMessageInfo() == nil {
   254  			ms.StoreMessageInfo(mi)
   255  		}
   256  		return ms
   257  	}
   258  	return mi.MessageOf(x)
   259  }
   260  
   261  // Deprecated: Use RunPredicate.ProtoReflect.Descriptor instead.
   262  func (*RunPredicate) Descriptor() ([]byte, []int) {
   263  	return file_go_chromium_org_luci_cv_api_v0_service_runs_proto_rawDescGZIP(), []int{3}
   264  }
   265  
   266  func (x *RunPredicate) GetProject() string {
   267  	if x != nil {
   268  		return x.Project
   269  	}
   270  	return ""
   271  }
   272  
   273  func (x *RunPredicate) GetGerritChanges() []*GerritChange {
   274  	if x != nil {
   275  		return x.GerritChanges
   276  	}
   277  	return nil
   278  }
   279  
   280  var File_go_chromium_org_luci_cv_api_v0_service_runs_proto protoreflect.FileDescriptor
   281  
   282  var file_go_chromium_org_luci_cv_api_v0_service_runs_proto_rawDesc = []byte{
   283  	0x0a, 0x31, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   284  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30,
   285  	0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x2e, 0x70, 0x72,
   286  	0x6f, 0x74, 0x6f, 0x12, 0x05, 0x63, 0x76, 0x2e, 0x76, 0x30, 0x1a, 0x28, 0x67, 0x6f, 0x2e, 0x63,
   287  	0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69,
   288  	0x2f, 0x63, 0x76, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x72, 0x75, 0x6e, 0x2e, 0x70,
   289  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6e, 0x52, 0x65,
   290  	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
   291  	0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x82, 0x01, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,
   292  	0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x09, 0x70,
   293  	0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13,
   294  	0x2e, 0x63, 0x76, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x75, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63,
   295  	0x61, 0x74, 0x65, 0x52, 0x09, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x1b,
   296  	0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
   297  	0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70,
   298  	0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
   299  	0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x5c, 0x0a, 0x12, 0x53, 0x65,
   300  	0x61, 0x72, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
   301  	0x12, 0x1e, 0x0a, 0x04, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a,
   302  	0x2e, 0x63, 0x76, 0x2e, 0x76, 0x30, 0x2e, 0x52, 0x75, 0x6e, 0x52, 0x04, 0x72, 0x75, 0x6e, 0x73,
   303  	0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f,
   304  	0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50,
   305  	0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x64, 0x0a, 0x0c, 0x52, 0x75, 0x6e, 0x50,
   306  	0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a,
   307  	0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65,
   308  	0x63, 0x74, 0x12, 0x3a, 0x0a, 0x0e, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x5f, 0x63, 0x68, 0x61,
   309  	0x6e, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x76, 0x2e,
   310  	0x76, 0x30, 0x2e, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52,
   311  	0x0d, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x32, 0x75,
   312  	0x0a, 0x04, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6e,
   313  	0x12, 0x14, 0x2e, 0x63, 0x76, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6e, 0x52,
   314  	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0a, 0x2e, 0x63, 0x76, 0x2e, 0x76, 0x30, 0x2e, 0x52,
   315  	0x75, 0x6e, 0x12, 0x41, 0x0a, 0x0a, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x73,
   316  	0x12, 0x18, 0x2e, 0x63, 0x76, 0x2e, 0x76, 0x30, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52,
   317  	0x75, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x63, 0x76, 0x2e,
   318  	0x76, 0x30, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73,
   319  	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x25, 0x5a, 0x23, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f,
   320  	0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76,
   321  	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x3b, 0x63, 0x76, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
   322  	0x6f, 0x74, 0x6f, 0x33,
   323  }
   324  
   325  var (
   326  	file_go_chromium_org_luci_cv_api_v0_service_runs_proto_rawDescOnce sync.Once
   327  	file_go_chromium_org_luci_cv_api_v0_service_runs_proto_rawDescData = file_go_chromium_org_luci_cv_api_v0_service_runs_proto_rawDesc
   328  )
   329  
   330  func file_go_chromium_org_luci_cv_api_v0_service_runs_proto_rawDescGZIP() []byte {
   331  	file_go_chromium_org_luci_cv_api_v0_service_runs_proto_rawDescOnce.Do(func() {
   332  		file_go_chromium_org_luci_cv_api_v0_service_runs_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_cv_api_v0_service_runs_proto_rawDescData)
   333  	})
   334  	return file_go_chromium_org_luci_cv_api_v0_service_runs_proto_rawDescData
   335  }
   336  
   337  var file_go_chromium_org_luci_cv_api_v0_service_runs_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   338  var file_go_chromium_org_luci_cv_api_v0_service_runs_proto_goTypes = []interface{}{
   339  	(*GetRunRequest)(nil),      // 0: cv.v0.GetRunRequest
   340  	(*SearchRunsRequest)(nil),  // 1: cv.v0.SearchRunsRequest
   341  	(*SearchRunsResponse)(nil), // 2: cv.v0.SearchRunsResponse
   342  	(*RunPredicate)(nil),       // 3: cv.v0.RunPredicate
   343  	(*Run)(nil),                // 4: cv.v0.Run
   344  	(*GerritChange)(nil),       // 5: cv.v0.GerritChange
   345  }
   346  var file_go_chromium_org_luci_cv_api_v0_service_runs_proto_depIdxs = []int32{
   347  	3, // 0: cv.v0.SearchRunsRequest.predicate:type_name -> cv.v0.RunPredicate
   348  	4, // 1: cv.v0.SearchRunsResponse.runs:type_name -> cv.v0.Run
   349  	5, // 2: cv.v0.RunPredicate.gerrit_changes:type_name -> cv.v0.GerritChange
   350  	0, // 3: cv.v0.Runs.GetRun:input_type -> cv.v0.GetRunRequest
   351  	1, // 4: cv.v0.Runs.SearchRuns:input_type -> cv.v0.SearchRunsRequest
   352  	4, // 5: cv.v0.Runs.GetRun:output_type -> cv.v0.Run
   353  	2, // 6: cv.v0.Runs.SearchRuns:output_type -> cv.v0.SearchRunsResponse
   354  	5, // [5:7] is the sub-list for method output_type
   355  	3, // [3:5] is the sub-list for method input_type
   356  	3, // [3:3] is the sub-list for extension type_name
   357  	3, // [3:3] is the sub-list for extension extendee
   358  	0, // [0:3] is the sub-list for field type_name
   359  }
   360  
   361  func init() { file_go_chromium_org_luci_cv_api_v0_service_runs_proto_init() }
   362  func file_go_chromium_org_luci_cv_api_v0_service_runs_proto_init() {
   363  	if File_go_chromium_org_luci_cv_api_v0_service_runs_proto != nil {
   364  		return
   365  	}
   366  	file_go_chromium_org_luci_cv_api_v0_run_proto_init()
   367  	if !protoimpl.UnsafeEnabled {
   368  		file_go_chromium_org_luci_cv_api_v0_service_runs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   369  			switch v := v.(*GetRunRequest); i {
   370  			case 0:
   371  				return &v.state
   372  			case 1:
   373  				return &v.sizeCache
   374  			case 2:
   375  				return &v.unknownFields
   376  			default:
   377  				return nil
   378  			}
   379  		}
   380  		file_go_chromium_org_luci_cv_api_v0_service_runs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   381  			switch v := v.(*SearchRunsRequest); i {
   382  			case 0:
   383  				return &v.state
   384  			case 1:
   385  				return &v.sizeCache
   386  			case 2:
   387  				return &v.unknownFields
   388  			default:
   389  				return nil
   390  			}
   391  		}
   392  		file_go_chromium_org_luci_cv_api_v0_service_runs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   393  			switch v := v.(*SearchRunsResponse); i {
   394  			case 0:
   395  				return &v.state
   396  			case 1:
   397  				return &v.sizeCache
   398  			case 2:
   399  				return &v.unknownFields
   400  			default:
   401  				return nil
   402  			}
   403  		}
   404  		file_go_chromium_org_luci_cv_api_v0_service_runs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   405  			switch v := v.(*RunPredicate); i {
   406  			case 0:
   407  				return &v.state
   408  			case 1:
   409  				return &v.sizeCache
   410  			case 2:
   411  				return &v.unknownFields
   412  			default:
   413  				return nil
   414  			}
   415  		}
   416  	}
   417  	type x struct{}
   418  	out := protoimpl.TypeBuilder{
   419  		File: protoimpl.DescBuilder{
   420  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   421  			RawDescriptor: file_go_chromium_org_luci_cv_api_v0_service_runs_proto_rawDesc,
   422  			NumEnums:      0,
   423  			NumMessages:   4,
   424  			NumExtensions: 0,
   425  			NumServices:   1,
   426  		},
   427  		GoTypes:           file_go_chromium_org_luci_cv_api_v0_service_runs_proto_goTypes,
   428  		DependencyIndexes: file_go_chromium_org_luci_cv_api_v0_service_runs_proto_depIdxs,
   429  		MessageInfos:      file_go_chromium_org_luci_cv_api_v0_service_runs_proto_msgTypes,
   430  	}.Build()
   431  	File_go_chromium_org_luci_cv_api_v0_service_runs_proto = out.File
   432  	file_go_chromium_org_luci_cv_api_v0_service_runs_proto_rawDesc = nil
   433  	file_go_chromium_org_luci_cv_api_v0_service_runs_proto_goTypes = nil
   434  	file_go_chromium_org_luci_cv_api_v0_service_runs_proto_depIdxs = nil
   435  }