kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/proto/vnames_config_go_proto/vnames_config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.31.0
     4  // 	protoc        v4.25.2
     5  // source: kythe/proto/vnames_config.proto
     6  
     7  package vnames_config_go_proto
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	storage_go_proto "kythe.io/kythe/proto/storage_go_proto"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type VNamesConfiguration struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  
    29  	Rules []*VNamesConfiguration_Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
    30  }
    31  
    32  func (x *VNamesConfiguration) Reset() {
    33  	*x = VNamesConfiguration{}
    34  	if protoimpl.UnsafeEnabled {
    35  		mi := &file_kythe_proto_vnames_config_proto_msgTypes[0]
    36  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    37  		ms.StoreMessageInfo(mi)
    38  	}
    39  }
    40  
    41  func (x *VNamesConfiguration) String() string {
    42  	return protoimpl.X.MessageStringOf(x)
    43  }
    44  
    45  func (*VNamesConfiguration) ProtoMessage() {}
    46  
    47  func (x *VNamesConfiguration) ProtoReflect() protoreflect.Message {
    48  	mi := &file_kythe_proto_vnames_config_proto_msgTypes[0]
    49  	if protoimpl.UnsafeEnabled && x != nil {
    50  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    51  		if ms.LoadMessageInfo() == nil {
    52  			ms.StoreMessageInfo(mi)
    53  		}
    54  		return ms
    55  	}
    56  	return mi.MessageOf(x)
    57  }
    58  
    59  // Deprecated: Use VNamesConfiguration.ProtoReflect.Descriptor instead.
    60  func (*VNamesConfiguration) Descriptor() ([]byte, []int) {
    61  	return file_kythe_proto_vnames_config_proto_rawDescGZIP(), []int{0}
    62  }
    63  
    64  func (x *VNamesConfiguration) GetRules() []*VNamesConfiguration_Rule {
    65  	if x != nil {
    66  		return x.Rules
    67  	}
    68  	return nil
    69  }
    70  
    71  type VNamesConfiguration_Rule struct {
    72  	state         protoimpl.MessageState
    73  	sizeCache     protoimpl.SizeCache
    74  	unknownFields protoimpl.UnknownFields
    75  
    76  	Pattern string                  `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
    77  	Vname   *storage_go_proto.VName `protobuf:"bytes,2,opt,name=vname,proto3" json:"vname,omitempty"`
    78  }
    79  
    80  func (x *VNamesConfiguration_Rule) Reset() {
    81  	*x = VNamesConfiguration_Rule{}
    82  	if protoimpl.UnsafeEnabled {
    83  		mi := &file_kythe_proto_vnames_config_proto_msgTypes[1]
    84  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    85  		ms.StoreMessageInfo(mi)
    86  	}
    87  }
    88  
    89  func (x *VNamesConfiguration_Rule) String() string {
    90  	return protoimpl.X.MessageStringOf(x)
    91  }
    92  
    93  func (*VNamesConfiguration_Rule) ProtoMessage() {}
    94  
    95  func (x *VNamesConfiguration_Rule) ProtoReflect() protoreflect.Message {
    96  	mi := &file_kythe_proto_vnames_config_proto_msgTypes[1]
    97  	if protoimpl.UnsafeEnabled && x != nil {
    98  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    99  		if ms.LoadMessageInfo() == nil {
   100  			ms.StoreMessageInfo(mi)
   101  		}
   102  		return ms
   103  	}
   104  	return mi.MessageOf(x)
   105  }
   106  
   107  // Deprecated: Use VNamesConfiguration_Rule.ProtoReflect.Descriptor instead.
   108  func (*VNamesConfiguration_Rule) Descriptor() ([]byte, []int) {
   109  	return file_kythe_proto_vnames_config_proto_rawDescGZIP(), []int{0, 0}
   110  }
   111  
   112  func (x *VNamesConfiguration_Rule) GetPattern() string {
   113  	if x != nil {
   114  		return x.Pattern
   115  	}
   116  	return ""
   117  }
   118  
   119  func (x *VNamesConfiguration_Rule) GetVname() *storage_go_proto.VName {
   120  	if x != nil {
   121  		return x.Vname
   122  	}
   123  	return nil
   124  }
   125  
   126  var File_kythe_proto_vnames_config_proto protoreflect.FileDescriptor
   127  
   128  var file_kythe_proto_vnames_config_proto_rawDesc = []byte{
   129  	0x0a, 0x1f, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x6e,
   130  	0x61, 0x6d, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   131  	0x6f, 0x12, 0x0b, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19,
   132  	0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x74, 0x6f, 0x72,
   133  	0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x01, 0x0a, 0x13, 0x56, 0x4e,
   134  	0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
   135  	0x6e, 0x12, 0x3b, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
   136  	0x32, 0x25, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56,
   137  	0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
   138  	0x6f, 0x6e, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x1a, 0x4a,
   139  	0x0a, 0x04, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72,
   140  	0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e,
   141  	0x12, 0x28, 0x0a, 0x05, 0x76, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
   142  	0x12, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 0x4e,
   143  	0x61, 0x6d, 0x65, 0x52, 0x05, 0x76, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x51, 0x0a, 0x1f, 0x63, 0x6f,
   144  	0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
   145  	0x73, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x2b, 0x6b,
   146  	0x79, 0x74, 0x68, 0x65, 0x2e, 0x69, 0x6f, 0x2f, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72,
   147  	0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
   148  	0x67, 0x5f, 0x67, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0xf8, 0x01, 0x01, 0x62, 0x06, 0x70,
   149  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   150  }
   151  
   152  var (
   153  	file_kythe_proto_vnames_config_proto_rawDescOnce sync.Once
   154  	file_kythe_proto_vnames_config_proto_rawDescData = file_kythe_proto_vnames_config_proto_rawDesc
   155  )
   156  
   157  func file_kythe_proto_vnames_config_proto_rawDescGZIP() []byte {
   158  	file_kythe_proto_vnames_config_proto_rawDescOnce.Do(func() {
   159  		file_kythe_proto_vnames_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_kythe_proto_vnames_config_proto_rawDescData)
   160  	})
   161  	return file_kythe_proto_vnames_config_proto_rawDescData
   162  }
   163  
   164  var file_kythe_proto_vnames_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   165  var file_kythe_proto_vnames_config_proto_goTypes = []interface{}{
   166  	(*VNamesConfiguration)(nil),      // 0: kythe.proto.VNamesConfiguration
   167  	(*VNamesConfiguration_Rule)(nil), // 1: kythe.proto.VNamesConfiguration.Rule
   168  	(*storage_go_proto.VName)(nil),   // 2: kythe.proto.VName
   169  }
   170  var file_kythe_proto_vnames_config_proto_depIdxs = []int32{
   171  	1, // 0: kythe.proto.VNamesConfiguration.rules:type_name -> kythe.proto.VNamesConfiguration.Rule
   172  	2, // 1: kythe.proto.VNamesConfiguration.Rule.vname:type_name -> kythe.proto.VName
   173  	2, // [2:2] is the sub-list for method output_type
   174  	2, // [2:2] is the sub-list for method input_type
   175  	2, // [2:2] is the sub-list for extension type_name
   176  	2, // [2:2] is the sub-list for extension extendee
   177  	0, // [0:2] is the sub-list for field type_name
   178  }
   179  
   180  func init() { file_kythe_proto_vnames_config_proto_init() }
   181  func file_kythe_proto_vnames_config_proto_init() {
   182  	if File_kythe_proto_vnames_config_proto != nil {
   183  		return
   184  	}
   185  	if !protoimpl.UnsafeEnabled {
   186  		file_kythe_proto_vnames_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   187  			switch v := v.(*VNamesConfiguration); i {
   188  			case 0:
   189  				return &v.state
   190  			case 1:
   191  				return &v.sizeCache
   192  			case 2:
   193  				return &v.unknownFields
   194  			default:
   195  				return nil
   196  			}
   197  		}
   198  		file_kythe_proto_vnames_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   199  			switch v := v.(*VNamesConfiguration_Rule); i {
   200  			case 0:
   201  				return &v.state
   202  			case 1:
   203  				return &v.sizeCache
   204  			case 2:
   205  				return &v.unknownFields
   206  			default:
   207  				return nil
   208  			}
   209  		}
   210  	}
   211  	type x struct{}
   212  	out := protoimpl.TypeBuilder{
   213  		File: protoimpl.DescBuilder{
   214  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   215  			RawDescriptor: file_kythe_proto_vnames_config_proto_rawDesc,
   216  			NumEnums:      0,
   217  			NumMessages:   2,
   218  			NumExtensions: 0,
   219  			NumServices:   0,
   220  		},
   221  		GoTypes:           file_kythe_proto_vnames_config_proto_goTypes,
   222  		DependencyIndexes: file_kythe_proto_vnames_config_proto_depIdxs,
   223  		MessageInfos:      file_kythe_proto_vnames_config_proto_msgTypes,
   224  	}.Build()
   225  	File_kythe_proto_vnames_config_proto = out.File
   226  	file_kythe_proto_vnames_config_proto_rawDesc = nil
   227  	file_kythe_proto_vnames_config_proto_goTypes = nil
   228  	file_kythe_proto_vnames_config_proto_depIdxs = nil
   229  }