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

     1  // Copyright 2016 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/config/legacy/tricium.proto
    20  
    21  package tricium
    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  // All supported data types.
    38  type DataType int32
    39  
    40  const (
    41  	DataType_NONE             DataType = 0
    42  	DataType_GIT_FILE_DETAILS DataType = 1
    43  	DataType_RESULTS          DataType = 2
    44  )
    45  
    46  // Enum value maps for DataType.
    47  var (
    48  	DataType_name = map[int32]string{
    49  		0: "NONE",
    50  		1: "GIT_FILE_DETAILS",
    51  		2: "RESULTS",
    52  	}
    53  	DataType_value = map[string]int32{
    54  		"NONE":             0,
    55  		"GIT_FILE_DETAILS": 1,
    56  		"RESULTS":          2,
    57  	}
    58  )
    59  
    60  func (x DataType) Enum() *DataType {
    61  	p := new(DataType)
    62  	*p = x
    63  	return p
    64  }
    65  
    66  func (x DataType) String() string {
    67  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    68  }
    69  
    70  func (DataType) Descriptor() protoreflect.EnumDescriptor {
    71  	return file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_enumTypes[0].Descriptor()
    72  }
    73  
    74  func (DataType) Type() protoreflect.EnumType {
    75  	return &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_enumTypes[0]
    76  }
    77  
    78  func (x DataType) Number() protoreflect.EnumNumber {
    79  	return protoreflect.EnumNumber(x)
    80  }
    81  
    82  // Deprecated: Use DataType.Descriptor instead.
    83  func (DataType) EnumDescriptor() ([]byte, []int) {
    84  	return file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescGZIP(), []int{0}
    85  }
    86  
    87  type Platform int32
    88  
    89  const (
    90  	Platform_UNSPECIFIED Platform = 0
    91  	Platform_LINUX       Platform = 1
    92  )
    93  
    94  // Enum value maps for Platform.
    95  var (
    96  	Platform_name = map[int32]string{
    97  		0: "UNSPECIFIED",
    98  		1: "LINUX",
    99  	}
   100  	Platform_value = map[string]int32{
   101  		"UNSPECIFIED": 0,
   102  		"LINUX":       1,
   103  	}
   104  )
   105  
   106  func (x Platform) Enum() *Platform {
   107  	p := new(Platform)
   108  	*p = x
   109  	return p
   110  }
   111  
   112  func (x Platform) String() string {
   113  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   114  }
   115  
   116  func (Platform) Descriptor() protoreflect.EnumDescriptor {
   117  	return file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_enumTypes[1].Descriptor()
   118  }
   119  
   120  func (Platform) Type() protoreflect.EnumType {
   121  	return &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_enumTypes[1]
   122  }
   123  
   124  func (x Platform) Number() protoreflect.EnumNumber {
   125  	return protoreflect.EnumNumber(x)
   126  }
   127  
   128  // Deprecated: Use Platform.Descriptor instead.
   129  func (Platform) EnumDescriptor() ([]byte, []int) {
   130  	return file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescGZIP(), []int{1}
   131  }
   132  
   133  type Function_Type int32
   134  
   135  const (
   136  	Function_NONE     Function_Type = 0
   137  	Function_ANALYZER Function_Type = 1
   138  )
   139  
   140  // Enum value maps for Function_Type.
   141  var (
   142  	Function_Type_name = map[int32]string{
   143  		0: "NONE",
   144  		1: "ANALYZER",
   145  	}
   146  	Function_Type_value = map[string]int32{
   147  		"NONE":     0,
   148  		"ANALYZER": 1,
   149  	}
   150  )
   151  
   152  func (x Function_Type) Enum() *Function_Type {
   153  	p := new(Function_Type)
   154  	*p = x
   155  	return p
   156  }
   157  
   158  func (x Function_Type) String() string {
   159  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   160  }
   161  
   162  func (Function_Type) Descriptor() protoreflect.EnumDescriptor {
   163  	return file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_enumTypes[2].Descriptor()
   164  }
   165  
   166  func (Function_Type) Type() protoreflect.EnumType {
   167  	return &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_enumTypes[2]
   168  }
   169  
   170  func (x Function_Type) Number() protoreflect.EnumNumber {
   171  	return protoreflect.EnumNumber(x)
   172  }
   173  
   174  // Deprecated: Use Function_Type.Descriptor instead.
   175  func (Function_Type) EnumDescriptor() ([]byte, []int) {
   176  	return file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescGZIP(), []int{1, 0}
   177  }
   178  
   179  // Tricium project configuration.
   180  //
   181  // Specifies details needed to connect a project to Tricium.
   182  // Adds project-specific functions and selects shared function
   183  // implementations.
   184  type ProjectConfig struct {
   185  	state         protoimpl.MessageState
   186  	sizeCache     protoimpl.SizeCache
   187  	unknownFields protoimpl.UnknownFields
   188  
   189  	// Analyzer definitions.
   190  	//
   191  	// Each analyzer generally corresponds to one builder.
   192  	Functions []*Function `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"`
   193  	// Selection of function implementations to run for this project.
   194  	//
   195  	// An analyzer is only enabled if there is a selections entry. Generally all
   196  	// defined functions are listed as selections. Note that the function
   197  	// (analyzer) name must match.
   198  	Selections []*Selection `protobuf:"bytes,2,rep,name=selections,proto3" json:"selections,omitempty"`
   199  	// Repositories, including Gerrit details.
   200  	Repos []*RepoDetails `protobuf:"bytes,3,rep,name=repos,proto3" json:"repos,omitempty"`
   201  	// General service account for this project.
   202  	ServiceAccount string `protobuf:"bytes,4,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
   203  }
   204  
   205  func (x *ProjectConfig) Reset() {
   206  	*x = ProjectConfig{}
   207  	if protoimpl.UnsafeEnabled {
   208  		mi := &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[0]
   209  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   210  		ms.StoreMessageInfo(mi)
   211  	}
   212  }
   213  
   214  func (x *ProjectConfig) String() string {
   215  	return protoimpl.X.MessageStringOf(x)
   216  }
   217  
   218  func (*ProjectConfig) ProtoMessage() {}
   219  
   220  func (x *ProjectConfig) ProtoReflect() protoreflect.Message {
   221  	mi := &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[0]
   222  	if protoimpl.UnsafeEnabled && x != nil {
   223  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   224  		if ms.LoadMessageInfo() == nil {
   225  			ms.StoreMessageInfo(mi)
   226  		}
   227  		return ms
   228  	}
   229  	return mi.MessageOf(x)
   230  }
   231  
   232  // Deprecated: Use ProjectConfig.ProtoReflect.Descriptor instead.
   233  func (*ProjectConfig) Descriptor() ([]byte, []int) {
   234  	return file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescGZIP(), []int{0}
   235  }
   236  
   237  func (x *ProjectConfig) GetFunctions() []*Function {
   238  	if x != nil {
   239  		return x.Functions
   240  	}
   241  	return nil
   242  }
   243  
   244  func (x *ProjectConfig) GetSelections() []*Selection {
   245  	if x != nil {
   246  		return x.Selections
   247  	}
   248  	return nil
   249  }
   250  
   251  func (x *ProjectConfig) GetRepos() []*RepoDetails {
   252  	if x != nil {
   253  		return x.Repos
   254  	}
   255  	return nil
   256  }
   257  
   258  func (x *ProjectConfig) GetServiceAccount() string {
   259  	if x != nil {
   260  		return x.ServiceAccount
   261  	}
   262  	return ""
   263  }
   264  
   265  // Tricium analyzer definition.
   266  type Function struct {
   267  	state         protoimpl.MessageState
   268  	sizeCache     protoimpl.SizeCache
   269  	unknownFields protoimpl.UnknownFields
   270  
   271  	// The type of this function. Required.
   272  	//
   273  	// Should always be ANALYZER.
   274  	Type Function_Type `protobuf:"varint,1,opt,name=type,proto3,enum=cv.legacy.tricium.Function_Type" json:"type,omitempty"`
   275  	// The name of the analyzer. Required.
   276  	//
   277  	// The name must be unique among Tricium functions within a Tricium instance.
   278  	// The name is expected to be CamelCase; no spaces, underscores or dashes are
   279  	// allowed.
   280  	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
   281  	// Data needed by this analyzer. Required.
   282  	//
   283  	// Should always be GIT_FILE_DETAILS.
   284  	Needs DataType `protobuf:"varint,3,opt,name=needs,proto3,enum=cv.legacy.tricium.DataType" json:"needs,omitempty"`
   285  	// Data provided by this analyzer. Required.
   286  	//
   287  	// Should always be RESULTS.
   288  	Provides DataType `protobuf:"varint,4,opt,name=provides,proto3,enum=cv.legacy.tricium.DataType" json:"provides,omitempty"`
   289  	// Path filters for this analyzer.
   290  	//
   291  	// Defined as a glob. The path filters only apply to the last part of the
   292  	// path.
   293  	PathFilters []string `protobuf:"bytes,5,rep,name=path_filters,json=pathFilters,proto3" json:"path_filters,omitempty"` // Default: "*"
   294  	// Function implementations.
   295  	//
   296  	// Originally the idea was that an analyzer may run on many different
   297  	// platforms and the comments from different platforms may be merged.
   298  	//
   299  	// This was not done in practice, so the number of impls should always be one.
   300  	Impls []*Impl `protobuf:"bytes,6,rep,name=impls,proto3" json:"impls,omitempty"`
   301  }
   302  
   303  func (x *Function) Reset() {
   304  	*x = Function{}
   305  	if protoimpl.UnsafeEnabled {
   306  		mi := &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[1]
   307  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   308  		ms.StoreMessageInfo(mi)
   309  	}
   310  }
   311  
   312  func (x *Function) String() string {
   313  	return protoimpl.X.MessageStringOf(x)
   314  }
   315  
   316  func (*Function) ProtoMessage() {}
   317  
   318  func (x *Function) ProtoReflect() protoreflect.Message {
   319  	mi := &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[1]
   320  	if protoimpl.UnsafeEnabled && x != nil {
   321  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   322  		if ms.LoadMessageInfo() == nil {
   323  			ms.StoreMessageInfo(mi)
   324  		}
   325  		return ms
   326  	}
   327  	return mi.MessageOf(x)
   328  }
   329  
   330  // Deprecated: Use Function.ProtoReflect.Descriptor instead.
   331  func (*Function) Descriptor() ([]byte, []int) {
   332  	return file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescGZIP(), []int{1}
   333  }
   334  
   335  func (x *Function) GetType() Function_Type {
   336  	if x != nil {
   337  		return x.Type
   338  	}
   339  	return Function_NONE
   340  }
   341  
   342  func (x *Function) GetName() string {
   343  	if x != nil {
   344  		return x.Name
   345  	}
   346  	return ""
   347  }
   348  
   349  func (x *Function) GetNeeds() DataType {
   350  	if x != nil {
   351  		return x.Needs
   352  	}
   353  	return DataType_NONE
   354  }
   355  
   356  func (x *Function) GetProvides() DataType {
   357  	if x != nil {
   358  		return x.Provides
   359  	}
   360  	return DataType_NONE
   361  }
   362  
   363  func (x *Function) GetPathFilters() []string {
   364  	if x != nil {
   365  		return x.PathFilters
   366  	}
   367  	return nil
   368  }
   369  
   370  func (x *Function) GetImpls() []*Impl {
   371  	if x != nil {
   372  		return x.Impls
   373  	}
   374  	return nil
   375  }
   376  
   377  // Analyzer implementation.
   378  type Impl struct {
   379  	state         protoimpl.MessageState
   380  	sizeCache     protoimpl.SizeCache
   381  	unknownFields protoimpl.UnknownFields
   382  
   383  	ProvidesForPlatform Platform `protobuf:"varint,1,opt,name=provides_for_platform,json=providesForPlatform,proto3,enum=cv.legacy.tricium.Platform" json:"provides_for_platform,omitempty"`
   384  	// The platform to run this implementation on.
   385  	//
   386  	// This particular value of this field isn't significant, because
   387  	// the platform is determined by the builder.
   388  	RuntimePlatform Platform `protobuf:"varint,2,opt,name=runtime_platform,json=runtimePlatform,proto3,enum=cv.legacy.tricium.Platform" json:"runtime_platform,omitempty"`
   389  	// Recipe for recipe-based implementation.
   390  	Recipe *Recipe `protobuf:"bytes,3,opt,name=recipe,proto3" json:"recipe,omitempty"`
   391  }
   392  
   393  func (x *Impl) Reset() {
   394  	*x = Impl{}
   395  	if protoimpl.UnsafeEnabled {
   396  		mi := &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[2]
   397  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   398  		ms.StoreMessageInfo(mi)
   399  	}
   400  }
   401  
   402  func (x *Impl) String() string {
   403  	return protoimpl.X.MessageStringOf(x)
   404  }
   405  
   406  func (*Impl) ProtoMessage() {}
   407  
   408  func (x *Impl) ProtoReflect() protoreflect.Message {
   409  	mi := &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[2]
   410  	if protoimpl.UnsafeEnabled && x != nil {
   411  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   412  		if ms.LoadMessageInfo() == nil {
   413  			ms.StoreMessageInfo(mi)
   414  		}
   415  		return ms
   416  	}
   417  	return mi.MessageOf(x)
   418  }
   419  
   420  // Deprecated: Use Impl.ProtoReflect.Descriptor instead.
   421  func (*Impl) Descriptor() ([]byte, []int) {
   422  	return file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescGZIP(), []int{2}
   423  }
   424  
   425  func (x *Impl) GetProvidesForPlatform() Platform {
   426  	if x != nil {
   427  		return x.ProvidesForPlatform
   428  	}
   429  	return Platform_UNSPECIFIED
   430  }
   431  
   432  func (x *Impl) GetRuntimePlatform() Platform {
   433  	if x != nil {
   434  		return x.RuntimePlatform
   435  	}
   436  	return Platform_UNSPECIFIED
   437  }
   438  
   439  func (x *Impl) GetRecipe() *Recipe {
   440  	if x != nil {
   441  		return x.Recipe
   442  	}
   443  	return nil
   444  }
   445  
   446  // Specification of a recipe for a recipe-based analyzer.
   447  type Recipe struct {
   448  	state         protoimpl.MessageState
   449  	sizeCache     protoimpl.SizeCache
   450  	unknownFields protoimpl.UnknownFields
   451  
   452  	// Project ID, e.g. "chromium".
   453  	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
   454  	// Bucket name, e.g. "try".
   455  	Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
   456  	// Builder name, e.g. "linux-rel".
   457  	Builder string `protobuf:"bytes,3,opt,name=builder,proto3" json:"builder,omitempty"`
   458  }
   459  
   460  func (x *Recipe) Reset() {
   461  	*x = Recipe{}
   462  	if protoimpl.UnsafeEnabled {
   463  		mi := &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[3]
   464  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   465  		ms.StoreMessageInfo(mi)
   466  	}
   467  }
   468  
   469  func (x *Recipe) String() string {
   470  	return protoimpl.X.MessageStringOf(x)
   471  }
   472  
   473  func (*Recipe) ProtoMessage() {}
   474  
   475  func (x *Recipe) ProtoReflect() protoreflect.Message {
   476  	mi := &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[3]
   477  	if protoimpl.UnsafeEnabled && x != nil {
   478  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   479  		if ms.LoadMessageInfo() == nil {
   480  			ms.StoreMessageInfo(mi)
   481  		}
   482  		return ms
   483  	}
   484  	return mi.MessageOf(x)
   485  }
   486  
   487  // Deprecated: Use Recipe.ProtoReflect.Descriptor instead.
   488  func (*Recipe) Descriptor() ([]byte, []int) {
   489  	return file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescGZIP(), []int{3}
   490  }
   491  
   492  func (x *Recipe) GetProject() string {
   493  	if x != nil {
   494  		return x.Project
   495  	}
   496  	return ""
   497  }
   498  
   499  func (x *Recipe) GetBucket() string {
   500  	if x != nil {
   501  		return x.Bucket
   502  	}
   503  	return ""
   504  }
   505  
   506  func (x *Recipe) GetBuilder() string {
   507  	if x != nil {
   508  		return x.Builder
   509  	}
   510  	return ""
   511  }
   512  
   513  // Selection of function implementations to run for a project.
   514  type Selection struct {
   515  	state         protoimpl.MessageState
   516  	sizeCache     protoimpl.SizeCache
   517  	unknownFields protoimpl.UnknownFields
   518  
   519  	// Name of function to run.
   520  	Function string `protobuf:"bytes,1,opt,name=function,proto3" json:"function,omitempty"`
   521  	// Name of platform to retrieve results from.
   522  	Platform Platform `protobuf:"varint,2,opt,name=platform,proto3,enum=cv.legacy.tricium.Platform" json:"platform,omitempty"`
   523  }
   524  
   525  func (x *Selection) Reset() {
   526  	*x = Selection{}
   527  	if protoimpl.UnsafeEnabled {
   528  		mi := &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[4]
   529  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   530  		ms.StoreMessageInfo(mi)
   531  	}
   532  }
   533  
   534  func (x *Selection) String() string {
   535  	return protoimpl.X.MessageStringOf(x)
   536  }
   537  
   538  func (*Selection) ProtoMessage() {}
   539  
   540  func (x *Selection) ProtoReflect() protoreflect.Message {
   541  	mi := &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[4]
   542  	if protoimpl.UnsafeEnabled && x != nil {
   543  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   544  		if ms.LoadMessageInfo() == nil {
   545  			ms.StoreMessageInfo(mi)
   546  		}
   547  		return ms
   548  	}
   549  	return mi.MessageOf(x)
   550  }
   551  
   552  // Deprecated: Use Selection.ProtoReflect.Descriptor instead.
   553  func (*Selection) Descriptor() ([]byte, []int) {
   554  	return file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescGZIP(), []int{4}
   555  }
   556  
   557  func (x *Selection) GetFunction() string {
   558  	if x != nil {
   559  		return x.Function
   560  	}
   561  	return ""
   562  }
   563  
   564  func (x *Selection) GetPlatform() Platform {
   565  	if x != nil {
   566  		return x.Platform
   567  	}
   568  	return Platform_UNSPECIFIED
   569  }
   570  
   571  // Repository details for one repository.
   572  type RepoDetails struct {
   573  	state         protoimpl.MessageState
   574  	sizeCache     protoimpl.SizeCache
   575  	unknownFields protoimpl.UnknownFields
   576  
   577  	GerritProject *RepoDetails_GerritProject `protobuf:"bytes,1,opt,name=gerrit_project,json=gerritProject,proto3" json:"gerrit_project,omitempty"`
   578  	// Whitelisted groups.
   579  	//
   580  	// The owner of a change will be checked for membership of a whitelisted
   581  	// group. Absence of this field means all groups are whitelisted.
   582  	//
   583  	// Group names must be known to the Chrome infra auth service,
   584  	// https://chrome-infra-auth.appspot.com. Contact a Chromium trooper
   585  	// if you need to add or modify a group: g.co/bugatrooper.
   586  	WhitelistedGroup []string `protobuf:"bytes,7,rep,name=whitelisted_group,json=whitelistedGroup,proto3" json:"whitelisted_group,omitempty"`
   587  	// Whether we want to process REWORK changes (code changes), or all of them
   588  	// including rebases and changes in the commit message (default run only
   589  	// on REWORK). Check all the types at:
   590  	// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#revision-info
   591  	CheckAllRevisionKinds bool `protobuf:"varint,8,opt,name=check_all_revision_kinds,json=checkAllRevisionKinds,proto3" json:"check_all_revision_kinds,omitempty"`
   592  }
   593  
   594  func (x *RepoDetails) Reset() {
   595  	*x = RepoDetails{}
   596  	if protoimpl.UnsafeEnabled {
   597  		mi := &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[5]
   598  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   599  		ms.StoreMessageInfo(mi)
   600  	}
   601  }
   602  
   603  func (x *RepoDetails) String() string {
   604  	return protoimpl.X.MessageStringOf(x)
   605  }
   606  
   607  func (*RepoDetails) ProtoMessage() {}
   608  
   609  func (x *RepoDetails) ProtoReflect() protoreflect.Message {
   610  	mi := &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[5]
   611  	if protoimpl.UnsafeEnabled && x != nil {
   612  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   613  		if ms.LoadMessageInfo() == nil {
   614  			ms.StoreMessageInfo(mi)
   615  		}
   616  		return ms
   617  	}
   618  	return mi.MessageOf(x)
   619  }
   620  
   621  // Deprecated: Use RepoDetails.ProtoReflect.Descriptor instead.
   622  func (*RepoDetails) Descriptor() ([]byte, []int) {
   623  	return file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescGZIP(), []int{5}
   624  }
   625  
   626  func (x *RepoDetails) GetGerritProject() *RepoDetails_GerritProject {
   627  	if x != nil {
   628  		return x.GerritProject
   629  	}
   630  	return nil
   631  }
   632  
   633  func (x *RepoDetails) GetWhitelistedGroup() []string {
   634  	if x != nil {
   635  		return x.WhitelistedGroup
   636  	}
   637  	return nil
   638  }
   639  
   640  func (x *RepoDetails) GetCheckAllRevisionKinds() bool {
   641  	if x != nil {
   642  		return x.CheckAllRevisionKinds
   643  	}
   644  	return false
   645  }
   646  
   647  // Specifies a Gerrit project and its corresponding git repo.
   648  type RepoDetails_GerritProject struct {
   649  	state         protoimpl.MessageState
   650  	sizeCache     protoimpl.SizeCache
   651  	unknownFields protoimpl.UnknownFields
   652  
   653  	// The Gerrit host to connect to.
   654  	//
   655  	// Value must not include the schema part; it will be assumed to be "https".
   656  	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
   657  	// Gerrit project name.
   658  	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
   659  	// Full URL for the corresponding git repo.
   660  	GitUrl string `protobuf:"bytes,3,opt,name=git_url,json=gitUrl,proto3" json:"git_url,omitempty"`
   661  }
   662  
   663  func (x *RepoDetails_GerritProject) Reset() {
   664  	*x = RepoDetails_GerritProject{}
   665  	if protoimpl.UnsafeEnabled {
   666  		mi := &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[6]
   667  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   668  		ms.StoreMessageInfo(mi)
   669  	}
   670  }
   671  
   672  func (x *RepoDetails_GerritProject) String() string {
   673  	return protoimpl.X.MessageStringOf(x)
   674  }
   675  
   676  func (*RepoDetails_GerritProject) ProtoMessage() {}
   677  
   678  func (x *RepoDetails_GerritProject) ProtoReflect() protoreflect.Message {
   679  	mi := &file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[6]
   680  	if protoimpl.UnsafeEnabled && x != nil {
   681  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   682  		if ms.LoadMessageInfo() == nil {
   683  			ms.StoreMessageInfo(mi)
   684  		}
   685  		return ms
   686  	}
   687  	return mi.MessageOf(x)
   688  }
   689  
   690  // Deprecated: Use RepoDetails_GerritProject.ProtoReflect.Descriptor instead.
   691  func (*RepoDetails_GerritProject) Descriptor() ([]byte, []int) {
   692  	return file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescGZIP(), []int{5, 0}
   693  }
   694  
   695  func (x *RepoDetails_GerritProject) GetHost() string {
   696  	if x != nil {
   697  		return x.Host
   698  	}
   699  	return ""
   700  }
   701  
   702  func (x *RepoDetails_GerritProject) GetProject() string {
   703  	if x != nil {
   704  		return x.Project
   705  	}
   706  	return ""
   707  }
   708  
   709  func (x *RepoDetails_GerritProject) GetGitUrl() string {
   710  	if x != nil {
   711  		return x.GitUrl
   712  	}
   713  	return ""
   714  }
   715  
   716  var File_go_chromium_org_luci_cv_api_config_legacy_tricium_proto protoreflect.FileDescriptor
   717  
   718  var file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDesc = []byte{
   719  	0x0a, 0x37, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   720  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f,
   721  	0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2f, 0x74, 0x72, 0x69, 0x63,
   722  	0x69, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x63, 0x76, 0x2e, 0x6c, 0x65,
   723  	0x67, 0x61, 0x63, 0x79, 0x2e, 0x74, 0x72, 0x69, 0x63, 0x69, 0x75, 0x6d, 0x22, 0xe7, 0x01, 0x0a,
   724  	0x0d, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x39,
   725  	0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
   726  	0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x76, 0x2e, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2e, 0x74, 0x72,
   727  	0x69, 0x63, 0x69, 0x75, 0x6d, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09,
   728  	0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x73, 0x65, 0x6c,
   729  	0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
   730  	0x63, 0x76, 0x2e, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2e, 0x74, 0x72, 0x69, 0x63, 0x69, 0x75,
   731  	0x6d, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x73, 0x65, 0x6c,
   732  	0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x05, 0x72, 0x65, 0x70, 0x6f, 0x73,
   733  	0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x76, 0x2e, 0x6c, 0x65, 0x67, 0x61,
   734  	0x63, 0x79, 0x2e, 0x74, 0x72, 0x69, 0x63, 0x69, 0x75, 0x6d, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x44,
   735  	0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x05, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x12, 0x27, 0x0a,
   736  	0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
   737  	0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41,
   738  	0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xb2, 0x02, 0x0a, 0x08, 0x46, 0x75, 0x6e, 0x63, 0x74,
   739  	0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
   740  	0x0e, 0x32, 0x20, 0x2e, 0x63, 0x76, 0x2e, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2e, 0x74, 0x72,
   741  	0x69, 0x63, 0x69, 0x75, 0x6d, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54,
   742  	0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
   743  	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a,
   744  	0x05, 0x6e, 0x65, 0x65, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x63,
   745  	0x76, 0x2e, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2e, 0x74, 0x72, 0x69, 0x63, 0x69, 0x75, 0x6d,
   746  	0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x6e, 0x65, 0x65, 0x64, 0x73,
   747  	0x12, 0x37, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01,
   748  	0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x63, 0x76, 0x2e, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2e, 0x74,
   749  	0x72, 0x69, 0x63, 0x69, 0x75, 0x6d, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52,
   750  	0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x74,
   751  	0x68, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52,
   752  	0x0b, 0x70, 0x61, 0x74, 0x68, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2d, 0x0a, 0x05,
   753  	0x69, 0x6d, 0x70, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x76,
   754  	0x2e, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2e, 0x74, 0x72, 0x69, 0x63, 0x69, 0x75, 0x6d, 0x2e,
   755  	0x49, 0x6d, 0x70, 0x6c, 0x52, 0x05, 0x69, 0x6d, 0x70, 0x6c, 0x73, 0x22, 0x1e, 0x0a, 0x04, 0x54,
   756  	0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0c, 0x0a,
   757  	0x08, 0x41, 0x4e, 0x41, 0x4c, 0x59, 0x5a, 0x45, 0x52, 0x10, 0x01, 0x22, 0xd2, 0x01, 0x0a, 0x04,
   758  	0x49, 0x6d, 0x70, 0x6c, 0x12, 0x4f, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x73,
   759  	0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20,
   760  	0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x63, 0x76, 0x2e, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2e,
   761  	0x74, 0x72, 0x69, 0x63, 0x69, 0x75, 0x6d, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
   762  	0x52, 0x13, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x73, 0x46, 0x6f, 0x72, 0x50, 0x6c, 0x61,
   763  	0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x46, 0x0a, 0x10, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65,
   764  	0x5f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
   765  	0x1b, 0x2e, 0x63, 0x76, 0x2e, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2e, 0x74, 0x72, 0x69, 0x63,
   766  	0x69, 0x75, 0x6d, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x0f, 0x72, 0x75,
   767  	0x6e, 0x74, 0x69, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x31, 0x0a,
   768  	0x06, 0x72, 0x65, 0x63, 0x69, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e,
   769  	0x63, 0x76, 0x2e, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2e, 0x74, 0x72, 0x69, 0x63, 0x69, 0x75,
   770  	0x6d, 0x2e, 0x52, 0x65, 0x63, 0x69, 0x70, 0x65, 0x52, 0x06, 0x72, 0x65, 0x63, 0x69, 0x70, 0x65,
   771  	0x22, 0x54, 0x0a, 0x06, 0x52, 0x65, 0x63, 0x69, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72,
   772  	0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f,
   773  	0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02,
   774  	0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07,
   775  	0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62,
   776  	0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x22, 0x60, 0x0a, 0x09, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74,
   777  	0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
   778  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12,
   779  	0x37, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28,
   780  	0x0e, 0x32, 0x1b, 0x2e, 0x63, 0x76, 0x2e, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2e, 0x74, 0x72,
   781  	0x69, 0x63, 0x69, 0x75, 0x6d, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x08,
   782  	0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0xa0, 0x02, 0x0a, 0x0b, 0x52, 0x65, 0x70,
   783  	0x6f, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x53, 0x0a, 0x0e, 0x67, 0x65, 0x72, 0x72,
   784  	0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
   785  	0x32, 0x2c, 0x2e, 0x63, 0x76, 0x2e, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2e, 0x74, 0x72, 0x69,
   786  	0x63, 0x69, 0x75, 0x6d, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73,
   787  	0x2e, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x0d,
   788  	0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x2b, 0x0a,
   789  	0x11, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f,
   790  	0x75, 0x70, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c,
   791  	0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x37, 0x0a, 0x18, 0x63, 0x68,
   792  	0x65, 0x63, 0x6b, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
   793  	0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x63, 0x68,
   794  	0x65, 0x63, 0x6b, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x69,
   795  	0x6e, 0x64, 0x73, 0x1a, 0x56, 0x0a, 0x0d, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x50, 0x72, 0x6f,
   796  	0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01,
   797  	0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a,
   798  	0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65,
   799  	0x63, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x67, 0x69, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20,
   800  	0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x69, 0x74, 0x55, 0x72, 0x6c, 0x2a, 0x37, 0x0a, 0x08, 0x44,
   801  	0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10,
   802  	0x00, 0x12, 0x14, 0x0a, 0x10, 0x47, 0x49, 0x54, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x44, 0x45,
   803  	0x54, 0x41, 0x49, 0x4c, 0x53, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x53, 0x55, 0x4c,
   804  	0x54, 0x53, 0x10, 0x02, 0x2a, 0x26, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
   805  	0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
   806  	0x00, 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x49, 0x4e, 0x55, 0x58, 0x10, 0x01, 0x42, 0x33, 0x5a, 0x31,
   807  	0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
   808  	0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6e, 0x66,
   809  	0x69, 0x67, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x3b, 0x74, 0x72, 0x69, 0x63, 0x69, 0x75,
   810  	0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   811  }
   812  
   813  var (
   814  	file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescOnce sync.Once
   815  	file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescData = file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDesc
   816  )
   817  
   818  func file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescGZIP() []byte {
   819  	file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescOnce.Do(func() {
   820  		file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescData)
   821  	})
   822  	return file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDescData
   823  }
   824  
   825  var file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
   826  var file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
   827  var file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_goTypes = []interface{}{
   828  	(DataType)(0),                     // 0: cv.legacy.tricium.DataType
   829  	(Platform)(0),                     // 1: cv.legacy.tricium.Platform
   830  	(Function_Type)(0),                // 2: cv.legacy.tricium.Function.Type
   831  	(*ProjectConfig)(nil),             // 3: cv.legacy.tricium.ProjectConfig
   832  	(*Function)(nil),                  // 4: cv.legacy.tricium.Function
   833  	(*Impl)(nil),                      // 5: cv.legacy.tricium.Impl
   834  	(*Recipe)(nil),                    // 6: cv.legacy.tricium.Recipe
   835  	(*Selection)(nil),                 // 7: cv.legacy.tricium.Selection
   836  	(*RepoDetails)(nil),               // 8: cv.legacy.tricium.RepoDetails
   837  	(*RepoDetails_GerritProject)(nil), // 9: cv.legacy.tricium.RepoDetails.GerritProject
   838  }
   839  var file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_depIdxs = []int32{
   840  	4,  // 0: cv.legacy.tricium.ProjectConfig.functions:type_name -> cv.legacy.tricium.Function
   841  	7,  // 1: cv.legacy.tricium.ProjectConfig.selections:type_name -> cv.legacy.tricium.Selection
   842  	8,  // 2: cv.legacy.tricium.ProjectConfig.repos:type_name -> cv.legacy.tricium.RepoDetails
   843  	2,  // 3: cv.legacy.tricium.Function.type:type_name -> cv.legacy.tricium.Function.Type
   844  	0,  // 4: cv.legacy.tricium.Function.needs:type_name -> cv.legacy.tricium.DataType
   845  	0,  // 5: cv.legacy.tricium.Function.provides:type_name -> cv.legacy.tricium.DataType
   846  	5,  // 6: cv.legacy.tricium.Function.impls:type_name -> cv.legacy.tricium.Impl
   847  	1,  // 7: cv.legacy.tricium.Impl.provides_for_platform:type_name -> cv.legacy.tricium.Platform
   848  	1,  // 8: cv.legacy.tricium.Impl.runtime_platform:type_name -> cv.legacy.tricium.Platform
   849  	6,  // 9: cv.legacy.tricium.Impl.recipe:type_name -> cv.legacy.tricium.Recipe
   850  	1,  // 10: cv.legacy.tricium.Selection.platform:type_name -> cv.legacy.tricium.Platform
   851  	9,  // 11: cv.legacy.tricium.RepoDetails.gerrit_project:type_name -> cv.legacy.tricium.RepoDetails.GerritProject
   852  	12, // [12:12] is the sub-list for method output_type
   853  	12, // [12:12] is the sub-list for method input_type
   854  	12, // [12:12] is the sub-list for extension type_name
   855  	12, // [12:12] is the sub-list for extension extendee
   856  	0,  // [0:12] is the sub-list for field type_name
   857  }
   858  
   859  func init() { file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_init() }
   860  func file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_init() {
   861  	if File_go_chromium_org_luci_cv_api_config_legacy_tricium_proto != nil {
   862  		return
   863  	}
   864  	if !protoimpl.UnsafeEnabled {
   865  		file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   866  			switch v := v.(*ProjectConfig); i {
   867  			case 0:
   868  				return &v.state
   869  			case 1:
   870  				return &v.sizeCache
   871  			case 2:
   872  				return &v.unknownFields
   873  			default:
   874  				return nil
   875  			}
   876  		}
   877  		file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   878  			switch v := v.(*Function); i {
   879  			case 0:
   880  				return &v.state
   881  			case 1:
   882  				return &v.sizeCache
   883  			case 2:
   884  				return &v.unknownFields
   885  			default:
   886  				return nil
   887  			}
   888  		}
   889  		file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   890  			switch v := v.(*Impl); i {
   891  			case 0:
   892  				return &v.state
   893  			case 1:
   894  				return &v.sizeCache
   895  			case 2:
   896  				return &v.unknownFields
   897  			default:
   898  				return nil
   899  			}
   900  		}
   901  		file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   902  			switch v := v.(*Recipe); i {
   903  			case 0:
   904  				return &v.state
   905  			case 1:
   906  				return &v.sizeCache
   907  			case 2:
   908  				return &v.unknownFields
   909  			default:
   910  				return nil
   911  			}
   912  		}
   913  		file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   914  			switch v := v.(*Selection); i {
   915  			case 0:
   916  				return &v.state
   917  			case 1:
   918  				return &v.sizeCache
   919  			case 2:
   920  				return &v.unknownFields
   921  			default:
   922  				return nil
   923  			}
   924  		}
   925  		file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   926  			switch v := v.(*RepoDetails); i {
   927  			case 0:
   928  				return &v.state
   929  			case 1:
   930  				return &v.sizeCache
   931  			case 2:
   932  				return &v.unknownFields
   933  			default:
   934  				return nil
   935  			}
   936  		}
   937  		file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   938  			switch v := v.(*RepoDetails_GerritProject); i {
   939  			case 0:
   940  				return &v.state
   941  			case 1:
   942  				return &v.sizeCache
   943  			case 2:
   944  				return &v.unknownFields
   945  			default:
   946  				return nil
   947  			}
   948  		}
   949  	}
   950  	type x struct{}
   951  	out := protoimpl.TypeBuilder{
   952  		File: protoimpl.DescBuilder{
   953  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   954  			RawDescriptor: file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDesc,
   955  			NumEnums:      3,
   956  			NumMessages:   7,
   957  			NumExtensions: 0,
   958  			NumServices:   0,
   959  		},
   960  		GoTypes:           file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_goTypes,
   961  		DependencyIndexes: file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_depIdxs,
   962  		EnumInfos:         file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_enumTypes,
   963  		MessageInfos:      file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_msgTypes,
   964  	}.Build()
   965  	File_go_chromium_org_luci_cv_api_config_legacy_tricium_proto = out.File
   966  	file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_rawDesc = nil
   967  	file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_goTypes = nil
   968  	file_go_chromium_org_luci_cv_api_config_legacy_tricium_proto_depIdxs = nil
   969  }