github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/pkg/kv/secondary_index.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.31.0
     4  // 	protoc        (unknown)
     5  // source: kv/secondary_index.proto
     6  
     7  package kv
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  // message data model for secondary index
    24  type SecondaryIndex struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  
    29  	PrimaryKey []byte `protobuf:"bytes,1,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"`
    30  }
    31  
    32  func (x *SecondaryIndex) Reset() {
    33  	*x = SecondaryIndex{}
    34  	if protoimpl.UnsafeEnabled {
    35  		mi := &file_kv_secondary_index_proto_msgTypes[0]
    36  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    37  		ms.StoreMessageInfo(mi)
    38  	}
    39  }
    40  
    41  func (x *SecondaryIndex) String() string {
    42  	return protoimpl.X.MessageStringOf(x)
    43  }
    44  
    45  func (*SecondaryIndex) ProtoMessage() {}
    46  
    47  func (x *SecondaryIndex) ProtoReflect() protoreflect.Message {
    48  	mi := &file_kv_secondary_index_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 SecondaryIndex.ProtoReflect.Descriptor instead.
    60  func (*SecondaryIndex) Descriptor() ([]byte, []int) {
    61  	return file_kv_secondary_index_proto_rawDescGZIP(), []int{0}
    62  }
    63  
    64  func (x *SecondaryIndex) GetPrimaryKey() []byte {
    65  	if x != nil {
    66  		return x.PrimaryKey
    67  	}
    68  	return nil
    69  }
    70  
    71  var File_kv_secondary_index_proto protoreflect.FileDescriptor
    72  
    73  var file_kv_secondary_index_proto_rawDesc = []byte{
    74  	0x0a, 0x18, 0x6b, 0x76, 0x2f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x69,
    75  	0x6e, 0x64, 0x65, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x69, 0x6f, 0x2e, 0x74,
    76  	0x72, 0x65, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x2e, 0x6c, 0x61, 0x6b, 0x65, 0x66, 0x73, 0x2e,
    77  	0x6b, 0x76, 0x22, 0x31, 0x0a, 0x0e, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x49,
    78  	0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f,
    79  	0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x6d, 0x61,
    80  	0x72, 0x79, 0x4b, 0x65, 0x79, 0x42, 0x20, 0x5a, 0x1e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
    81  	0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x65, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x2f, 0x6c, 0x61,
    82  	0x6b, 0x65, 0x66, 0x73, 0x2f, 0x6b, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
    83  }
    84  
    85  var (
    86  	file_kv_secondary_index_proto_rawDescOnce sync.Once
    87  	file_kv_secondary_index_proto_rawDescData = file_kv_secondary_index_proto_rawDesc
    88  )
    89  
    90  func file_kv_secondary_index_proto_rawDescGZIP() []byte {
    91  	file_kv_secondary_index_proto_rawDescOnce.Do(func() {
    92  		file_kv_secondary_index_proto_rawDescData = protoimpl.X.CompressGZIP(file_kv_secondary_index_proto_rawDescData)
    93  	})
    94  	return file_kv_secondary_index_proto_rawDescData
    95  }
    96  
    97  var file_kv_secondary_index_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
    98  var file_kv_secondary_index_proto_goTypes = []interface{}{
    99  	(*SecondaryIndex)(nil), // 0: io.treeverse.lakefs.kv.SecondaryIndex
   100  }
   101  var file_kv_secondary_index_proto_depIdxs = []int32{
   102  	0, // [0:0] is the sub-list for method output_type
   103  	0, // [0:0] is the sub-list for method input_type
   104  	0, // [0:0] is the sub-list for extension type_name
   105  	0, // [0:0] is the sub-list for extension extendee
   106  	0, // [0:0] is the sub-list for field type_name
   107  }
   108  
   109  func init() { file_kv_secondary_index_proto_init() }
   110  func file_kv_secondary_index_proto_init() {
   111  	if File_kv_secondary_index_proto != nil {
   112  		return
   113  	}
   114  	if !protoimpl.UnsafeEnabled {
   115  		file_kv_secondary_index_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   116  			switch v := v.(*SecondaryIndex); i {
   117  			case 0:
   118  				return &v.state
   119  			case 1:
   120  				return &v.sizeCache
   121  			case 2:
   122  				return &v.unknownFields
   123  			default:
   124  				return nil
   125  			}
   126  		}
   127  	}
   128  	type x struct{}
   129  	out := protoimpl.TypeBuilder{
   130  		File: protoimpl.DescBuilder{
   131  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   132  			RawDescriptor: file_kv_secondary_index_proto_rawDesc,
   133  			NumEnums:      0,
   134  			NumMessages:   1,
   135  			NumExtensions: 0,
   136  			NumServices:   0,
   137  		},
   138  		GoTypes:           file_kv_secondary_index_proto_goTypes,
   139  		DependencyIndexes: file_kv_secondary_index_proto_depIdxs,
   140  		MessageInfos:      file_kv_secondary_index_proto_msgTypes,
   141  	}.Build()
   142  	File_kv_secondary_index_proto = out.File
   143  	file_kv_secondary_index_proto_rawDesc = nil
   144  	file_kv_secondary_index_proto_goTypes = nil
   145  	file_kv_secondary_index_proto_depIdxs = nil
   146  }