go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/cv/internal/gerrit/cfgmatcher/storage.pb.go (about)

     1  // Copyright 2020 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/internal/gerrit/cfgmatcher/storage.proto
    20  
    21  package cfgmatcher
    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  // Groups keeps config groups of a single LUCI project relevant to a specific
    38  // Git repository (aka Gerrit project).
    39  //
    40  // For now, this message is just a wrapper for a list of groups as they appear
    41  // in LUCI Project's CV config file. In the future, this can optimized into
    42  // treap-like structure based on known ref prefix if there are 100+ ref specs
    43  // for the same repo.
    44  type Groups struct {
    45  	state         protoimpl.MessageState
    46  	sizeCache     protoimpl.SizeCache
    47  	unknownFields protoimpl.UnknownFields
    48  
    49  	Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
    50  }
    51  
    52  func (x *Groups) Reset() {
    53  	*x = Groups{}
    54  	if protoimpl.UnsafeEnabled {
    55  		mi := &file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_msgTypes[0]
    56  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    57  		ms.StoreMessageInfo(mi)
    58  	}
    59  }
    60  
    61  func (x *Groups) String() string {
    62  	return protoimpl.X.MessageStringOf(x)
    63  }
    64  
    65  func (*Groups) ProtoMessage() {}
    66  
    67  func (x *Groups) ProtoReflect() protoreflect.Message {
    68  	mi := &file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_msgTypes[0]
    69  	if protoimpl.UnsafeEnabled && x != nil {
    70  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    71  		if ms.LoadMessageInfo() == nil {
    72  			ms.StoreMessageInfo(mi)
    73  		}
    74  		return ms
    75  	}
    76  	return mi.MessageOf(x)
    77  }
    78  
    79  // Deprecated: Use Groups.ProtoReflect.Descriptor instead.
    80  func (*Groups) Descriptor() ([]byte, []int) {
    81  	return file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_rawDescGZIP(), []int{0}
    82  }
    83  
    84  func (x *Groups) GetGroups() []*Group {
    85  	if x != nil {
    86  		return x.Groups
    87  	}
    88  	return nil
    89  }
    90  
    91  // Group represents one config group applied to just 1 Git repository.
    92  //
    93  // For full documentation, see ConfigGroup of api/config/v2/config.proto.
    94  type Group struct {
    95  	state         protoimpl.MessageState
    96  	sizeCache     protoimpl.SizeCache
    97  	unknownFields protoimpl.UnknownFields
    98  
    99  	// ConfigGroupID, as stored in ConfigGroup datastore entity.
   100  	//
   101  	// Used by gobmap.
   102  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
   103  	// Index of the ConfigGroup names interned in MatcherState.
   104  	//
   105  	// Used by MatcherState.
   106  	Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
   107  	// If set, this ConfigGroup will be selected if no other ConfigGroup matches
   108  	// refspec. At most 1 group will have this set (this is validated before
   109  	// config is injected).
   110  	Fallback bool `protobuf:"varint,2,opt,name=fallback,proto3" json:"fallback,omitempty"`
   111  	// Regular expression that a CL's target ref must match. Required.
   112  	//
   113  	// It's constructed from `ref_regexp`s of CV config.
   114  	Include string `protobuf:"bytes,13,opt,name=include,proto3" json:"include,omitempty"`
   115  	// Regular expression that a CL's target ref must NOT match. Required.
   116  	//
   117  	// It's constructed from `ref_regexp_exclude`s of CV config.
   118  	Exclude string `protobuf:"bytes,14,opt,name=exclude,proto3" json:"exclude,omitempty"`
   119  }
   120  
   121  func (x *Group) Reset() {
   122  	*x = Group{}
   123  	if protoimpl.UnsafeEnabled {
   124  		mi := &file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_msgTypes[1]
   125  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   126  		ms.StoreMessageInfo(mi)
   127  	}
   128  }
   129  
   130  func (x *Group) String() string {
   131  	return protoimpl.X.MessageStringOf(x)
   132  }
   133  
   134  func (*Group) ProtoMessage() {}
   135  
   136  func (x *Group) ProtoReflect() protoreflect.Message {
   137  	mi := &file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_msgTypes[1]
   138  	if protoimpl.UnsafeEnabled && x != nil {
   139  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   140  		if ms.LoadMessageInfo() == nil {
   141  			ms.StoreMessageInfo(mi)
   142  		}
   143  		return ms
   144  	}
   145  	return mi.MessageOf(x)
   146  }
   147  
   148  // Deprecated: Use Group.ProtoReflect.Descriptor instead.
   149  func (*Group) Descriptor() ([]byte, []int) {
   150  	return file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_rawDescGZIP(), []int{1}
   151  }
   152  
   153  func (x *Group) GetId() string {
   154  	if x != nil {
   155  		return x.Id
   156  	}
   157  	return ""
   158  }
   159  
   160  func (x *Group) GetIndex() int32 {
   161  	if x != nil {
   162  		return x.Index
   163  	}
   164  	return 0
   165  }
   166  
   167  func (x *Group) GetFallback() bool {
   168  	if x != nil {
   169  		return x.Fallback
   170  	}
   171  	return false
   172  }
   173  
   174  func (x *Group) GetInclude() string {
   175  	if x != nil {
   176  		return x.Include
   177  	}
   178  	return ""
   179  }
   180  
   181  func (x *Group) GetExclude() string {
   182  	if x != nil {
   183  		return x.Exclude
   184  	}
   185  	return ""
   186  }
   187  
   188  // MatcherState is serializable state of a matcher for a single LUCI project at
   189  // specific config hash (version).
   190  type MatcherState struct {
   191  	state         protoimpl.MessageState
   192  	sizeCache     protoimpl.SizeCache
   193  	unknownFields protoimpl.UnknownFields
   194  
   195  	ConfigHash string `protobuf:"bytes,1,opt,name=config_hash,json=configHash,proto3" json:"config_hash,omitempty"`
   196  	// Interned config group names.
   197  	//
   198  	// Combine with config_hash to obtain config.ConfigGroupID.
   199  	ConfigGroupNames []string `protobuf:"bytes,2,rep,name=config_group_names,json=configGroupNames,proto3" json:"config_group_names,omitempty"`
   200  	// Maps Gerrit hosts to watched projects.
   201  	Hosts map[string]*MatcherState_Projects `protobuf:"bytes,3,rep,name=hosts,proto3" json:"hosts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   202  }
   203  
   204  func (x *MatcherState) Reset() {
   205  	*x = MatcherState{}
   206  	if protoimpl.UnsafeEnabled {
   207  		mi := &file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_msgTypes[2]
   208  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   209  		ms.StoreMessageInfo(mi)
   210  	}
   211  }
   212  
   213  func (x *MatcherState) String() string {
   214  	return protoimpl.X.MessageStringOf(x)
   215  }
   216  
   217  func (*MatcherState) ProtoMessage() {}
   218  
   219  func (x *MatcherState) ProtoReflect() protoreflect.Message {
   220  	mi := &file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_msgTypes[2]
   221  	if protoimpl.UnsafeEnabled && x != nil {
   222  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   223  		if ms.LoadMessageInfo() == nil {
   224  			ms.StoreMessageInfo(mi)
   225  		}
   226  		return ms
   227  	}
   228  	return mi.MessageOf(x)
   229  }
   230  
   231  // Deprecated: Use MatcherState.ProtoReflect.Descriptor instead.
   232  func (*MatcherState) Descriptor() ([]byte, []int) {
   233  	return file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_rawDescGZIP(), []int{2}
   234  }
   235  
   236  func (x *MatcherState) GetConfigHash() string {
   237  	if x != nil {
   238  		return x.ConfigHash
   239  	}
   240  	return ""
   241  }
   242  
   243  func (x *MatcherState) GetConfigGroupNames() []string {
   244  	if x != nil {
   245  		return x.ConfigGroupNames
   246  	}
   247  	return nil
   248  }
   249  
   250  func (x *MatcherState) GetHosts() map[string]*MatcherState_Projects {
   251  	if x != nil {
   252  		return x.Hosts
   253  	}
   254  	return nil
   255  }
   256  
   257  type MatcherState_Projects struct {
   258  	state         protoimpl.MessageState
   259  	sizeCache     protoimpl.SizeCache
   260  	unknownFields protoimpl.UnknownFields
   261  
   262  	// Maps Gerrit project (aka Gerrit repo) to one or more config groups.
   263  	Projects map[string]*Groups `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   264  }
   265  
   266  func (x *MatcherState_Projects) Reset() {
   267  	*x = MatcherState_Projects{}
   268  	if protoimpl.UnsafeEnabled {
   269  		mi := &file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_msgTypes[4]
   270  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   271  		ms.StoreMessageInfo(mi)
   272  	}
   273  }
   274  
   275  func (x *MatcherState_Projects) String() string {
   276  	return protoimpl.X.MessageStringOf(x)
   277  }
   278  
   279  func (*MatcherState_Projects) ProtoMessage() {}
   280  
   281  func (x *MatcherState_Projects) ProtoReflect() protoreflect.Message {
   282  	mi := &file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_msgTypes[4]
   283  	if protoimpl.UnsafeEnabled && x != nil {
   284  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   285  		if ms.LoadMessageInfo() == nil {
   286  			ms.StoreMessageInfo(mi)
   287  		}
   288  		return ms
   289  	}
   290  	return mi.MessageOf(x)
   291  }
   292  
   293  // Deprecated: Use MatcherState_Projects.ProtoReflect.Descriptor instead.
   294  func (*MatcherState_Projects) Descriptor() ([]byte, []int) {
   295  	return file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_rawDescGZIP(), []int{2, 1}
   296  }
   297  
   298  func (x *MatcherState_Projects) GetProjects() map[string]*Groups {
   299  	if x != nil {
   300  		return x.Projects
   301  	}
   302  	return nil
   303  }
   304  
   305  var File_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto protoreflect.FileDescriptor
   306  
   307  var file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_rawDesc = []byte{
   308  	0x0a, 0x40, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   309  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
   310  	0x61, 0x6c, 0x2f, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x2f, 0x63, 0x66, 0x67, 0x6d, 0x61, 0x74,
   311  	0x63, 0x68, 0x65, 0x72, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   312  	0x74, 0x6f, 0x12, 0x1d, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e,
   313  	0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x2e, 0x63, 0x66, 0x67, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65,
   314  	0x72, 0x22, 0x46, 0x0a, 0x06, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x3c, 0x0a, 0x06, 0x67,
   315  	0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x76,
   316  	0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74,
   317  	0x2e, 0x63, 0x66, 0x67, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x47, 0x72, 0x6f, 0x75,
   318  	0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x7d, 0x0a, 0x05, 0x47, 0x72, 0x6f,
   319  	0x75, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
   320  	0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28,
   321  	0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x61, 0x6c, 0x6c,
   322  	0x62, 0x61, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x61, 0x6c, 0x6c,
   323  	0x62, 0x61, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x18,
   324  	0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x12, 0x18,
   325  	0x0a, 0x07, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52,
   326  	0x07, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x22, 0xec, 0x03, 0x0a, 0x0c, 0x4d, 0x61, 0x74,
   327  	0x63, 0x68, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e,
   328  	0x66, 0x69, 0x67, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
   329  	0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x61, 0x73, 0x68, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f,
   330  	0x6e, 0x66, 0x69, 0x67, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73,
   331  	0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x47, 0x72,
   332  	0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x05, 0x68, 0x6f, 0x73, 0x74,
   333  	0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74,
   334  	0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x2e, 0x63, 0x66, 0x67,
   335  	0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x53,
   336  	0x74, 0x61, 0x74, 0x65, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
   337  	0x05, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x1a, 0x6e, 0x0a, 0x0a, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x45,
   338  	0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
   339  	0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x4a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
   340  	0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
   341  	0x6e, 0x61, 0x6c, 0x2e, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x2e, 0x63, 0x66, 0x67, 0x6d, 0x61,
   342  	0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x53, 0x74, 0x61,
   343  	0x74, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c,
   344  	0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xce, 0x01, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x6a, 0x65,
   345  	0x63, 0x74, 0x73, 0x12, 0x5e, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18,
   346  	0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
   347  	0x6e, 0x61, 0x6c, 0x2e, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x2e, 0x63, 0x66, 0x67, 0x6d, 0x61,
   348  	0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x53, 0x74, 0x61,
   349  	0x74, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x6a,
   350  	0x65, 0x63, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65,
   351  	0x63, 0x74, 0x73, 0x1a, 0x62, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x45,
   352  	0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
   353  	0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
   354  	0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
   355  	0x6e, 0x61, 0x6c, 0x2e, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x2e, 0x63, 0x66, 0x67, 0x6d, 0x61,
   356  	0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x05, 0x76, 0x61,
   357  	0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x3f, 0x5a, 0x3d, 0x67, 0x6f, 0x2e, 0x63, 0x68,
   358  	0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f,
   359  	0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x67, 0x65, 0x72, 0x72,
   360  	0x69, 0x74, 0x2f, 0x63, 0x66, 0x67, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x3b, 0x63, 0x66,
   361  	0x67, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   362  }
   363  
   364  var (
   365  	file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_rawDescOnce sync.Once
   366  	file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_rawDescData = file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_rawDesc
   367  )
   368  
   369  func file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_rawDescGZIP() []byte {
   370  	file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_rawDescOnce.Do(func() {
   371  		file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_rawDescData)
   372  	})
   373  	return file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_rawDescData
   374  }
   375  
   376  var file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
   377  var file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_goTypes = []interface{}{
   378  	(*Groups)(nil),                // 0: cv.internal.gerrit.cfgmatcher.Groups
   379  	(*Group)(nil),                 // 1: cv.internal.gerrit.cfgmatcher.Group
   380  	(*MatcherState)(nil),          // 2: cv.internal.gerrit.cfgmatcher.MatcherState
   381  	nil,                           // 3: cv.internal.gerrit.cfgmatcher.MatcherState.HostsEntry
   382  	(*MatcherState_Projects)(nil), // 4: cv.internal.gerrit.cfgmatcher.MatcherState.Projects
   383  	nil,                           // 5: cv.internal.gerrit.cfgmatcher.MatcherState.Projects.ProjectsEntry
   384  }
   385  var file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_depIdxs = []int32{
   386  	1, // 0: cv.internal.gerrit.cfgmatcher.Groups.groups:type_name -> cv.internal.gerrit.cfgmatcher.Group
   387  	3, // 1: cv.internal.gerrit.cfgmatcher.MatcherState.hosts:type_name -> cv.internal.gerrit.cfgmatcher.MatcherState.HostsEntry
   388  	4, // 2: cv.internal.gerrit.cfgmatcher.MatcherState.HostsEntry.value:type_name -> cv.internal.gerrit.cfgmatcher.MatcherState.Projects
   389  	5, // 3: cv.internal.gerrit.cfgmatcher.MatcherState.Projects.projects:type_name -> cv.internal.gerrit.cfgmatcher.MatcherState.Projects.ProjectsEntry
   390  	0, // 4: cv.internal.gerrit.cfgmatcher.MatcherState.Projects.ProjectsEntry.value:type_name -> cv.internal.gerrit.cfgmatcher.Groups
   391  	5, // [5:5] is the sub-list for method output_type
   392  	5, // [5:5] is the sub-list for method input_type
   393  	5, // [5:5] is the sub-list for extension type_name
   394  	5, // [5:5] is the sub-list for extension extendee
   395  	0, // [0:5] is the sub-list for field type_name
   396  }
   397  
   398  func init() { file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_init() }
   399  func file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_init() {
   400  	if File_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto != nil {
   401  		return
   402  	}
   403  	if !protoimpl.UnsafeEnabled {
   404  		file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   405  			switch v := v.(*Groups); 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  		file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   417  			switch v := v.(*Group); i {
   418  			case 0:
   419  				return &v.state
   420  			case 1:
   421  				return &v.sizeCache
   422  			case 2:
   423  				return &v.unknownFields
   424  			default:
   425  				return nil
   426  			}
   427  		}
   428  		file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   429  			switch v := v.(*MatcherState); i {
   430  			case 0:
   431  				return &v.state
   432  			case 1:
   433  				return &v.sizeCache
   434  			case 2:
   435  				return &v.unknownFields
   436  			default:
   437  				return nil
   438  			}
   439  		}
   440  		file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   441  			switch v := v.(*MatcherState_Projects); i {
   442  			case 0:
   443  				return &v.state
   444  			case 1:
   445  				return &v.sizeCache
   446  			case 2:
   447  				return &v.unknownFields
   448  			default:
   449  				return nil
   450  			}
   451  		}
   452  	}
   453  	type x struct{}
   454  	out := protoimpl.TypeBuilder{
   455  		File: protoimpl.DescBuilder{
   456  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   457  			RawDescriptor: file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_rawDesc,
   458  			NumEnums:      0,
   459  			NumMessages:   6,
   460  			NumExtensions: 0,
   461  			NumServices:   0,
   462  		},
   463  		GoTypes:           file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_goTypes,
   464  		DependencyIndexes: file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_depIdxs,
   465  		MessageInfos:      file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_msgTypes,
   466  	}.Build()
   467  	File_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto = out.File
   468  	file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_rawDesc = nil
   469  	file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_goTypes = nil
   470  	file_go_chromium_org_luci_cv_internal_gerrit_cfgmatcher_storage_proto_depIdxs = nil
   471  }