github.com/janelia-flyem/dvid@v1.0.0/datatype/common/proto/keyvalue.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.0
     4  // 	protoc        v3.20.0
     5  // source: keyvalue.proto
     6  
     7  package proto
     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  type KeyValue struct {
    24  	state         protoimpl.MessageState
    25  	sizeCache     protoimpl.SizeCache
    26  	unknownFields protoimpl.UnknownFields
    27  
    28  	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    29  	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    30  }
    31  
    32  func (x *KeyValue) Reset() {
    33  	*x = KeyValue{}
    34  	if protoimpl.UnsafeEnabled {
    35  		mi := &file_keyvalue_proto_msgTypes[0]
    36  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    37  		ms.StoreMessageInfo(mi)
    38  	}
    39  }
    40  
    41  func (x *KeyValue) String() string {
    42  	return protoimpl.X.MessageStringOf(x)
    43  }
    44  
    45  func (*KeyValue) ProtoMessage() {}
    46  
    47  func (x *KeyValue) ProtoReflect() protoreflect.Message {
    48  	mi := &file_keyvalue_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 KeyValue.ProtoReflect.Descriptor instead.
    60  func (*KeyValue) Descriptor() ([]byte, []int) {
    61  	return file_keyvalue_proto_rawDescGZIP(), []int{0}
    62  }
    63  
    64  func (x *KeyValue) GetKey() string {
    65  	if x != nil {
    66  		return x.Key
    67  	}
    68  	return ""
    69  }
    70  
    71  func (x *KeyValue) GetValue() []byte {
    72  	if x != nil {
    73  		return x.Value
    74  	}
    75  	return nil
    76  }
    77  
    78  type Keys struct {
    79  	state         protoimpl.MessageState
    80  	sizeCache     protoimpl.SizeCache
    81  	unknownFields protoimpl.UnknownFields
    82  
    83  	Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
    84  }
    85  
    86  func (x *Keys) Reset() {
    87  	*x = Keys{}
    88  	if protoimpl.UnsafeEnabled {
    89  		mi := &file_keyvalue_proto_msgTypes[1]
    90  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    91  		ms.StoreMessageInfo(mi)
    92  	}
    93  }
    94  
    95  func (x *Keys) String() string {
    96  	return protoimpl.X.MessageStringOf(x)
    97  }
    98  
    99  func (*Keys) ProtoMessage() {}
   100  
   101  func (x *Keys) ProtoReflect() protoreflect.Message {
   102  	mi := &file_keyvalue_proto_msgTypes[1]
   103  	if protoimpl.UnsafeEnabled && x != nil {
   104  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   105  		if ms.LoadMessageInfo() == nil {
   106  			ms.StoreMessageInfo(mi)
   107  		}
   108  		return ms
   109  	}
   110  	return mi.MessageOf(x)
   111  }
   112  
   113  // Deprecated: Use Keys.ProtoReflect.Descriptor instead.
   114  func (*Keys) Descriptor() ([]byte, []int) {
   115  	return file_keyvalue_proto_rawDescGZIP(), []int{1}
   116  }
   117  
   118  func (x *Keys) GetKeys() []string {
   119  	if x != nil {
   120  		return x.Keys
   121  	}
   122  	return nil
   123  }
   124  
   125  type KeyValues struct {
   126  	state         protoimpl.MessageState
   127  	sizeCache     protoimpl.SizeCache
   128  	unknownFields protoimpl.UnknownFields
   129  
   130  	Kvs []*KeyValue `protobuf:"bytes,1,rep,name=kvs,proto3" json:"kvs,omitempty"`
   131  }
   132  
   133  func (x *KeyValues) Reset() {
   134  	*x = KeyValues{}
   135  	if protoimpl.UnsafeEnabled {
   136  		mi := &file_keyvalue_proto_msgTypes[2]
   137  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   138  		ms.StoreMessageInfo(mi)
   139  	}
   140  }
   141  
   142  func (x *KeyValues) String() string {
   143  	return protoimpl.X.MessageStringOf(x)
   144  }
   145  
   146  func (*KeyValues) ProtoMessage() {}
   147  
   148  func (x *KeyValues) ProtoReflect() protoreflect.Message {
   149  	mi := &file_keyvalue_proto_msgTypes[2]
   150  	if protoimpl.UnsafeEnabled && x != nil {
   151  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   152  		if ms.LoadMessageInfo() == nil {
   153  			ms.StoreMessageInfo(mi)
   154  		}
   155  		return ms
   156  	}
   157  	return mi.MessageOf(x)
   158  }
   159  
   160  // Deprecated: Use KeyValues.ProtoReflect.Descriptor instead.
   161  func (*KeyValues) Descriptor() ([]byte, []int) {
   162  	return file_keyvalue_proto_rawDescGZIP(), []int{2}
   163  }
   164  
   165  func (x *KeyValues) GetKvs() []*KeyValue {
   166  	if x != nil {
   167  		return x.Kvs
   168  	}
   169  	return nil
   170  }
   171  
   172  var File_keyvalue_proto protoreflect.FileDescriptor
   173  
   174  var file_keyvalue_proto_rawDesc = []byte{
   175  	0x0a, 0x0e, 0x6b, 0x65, 0x79, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   176  	0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x56, 0x61,
   177  	0x6c, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   178  	0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
   179  	0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x1a, 0x0a, 0x04, 0x4b,
   180  	0x65, 0x79, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
   181  	0x09, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, 0x2e, 0x0a, 0x09, 0x4b, 0x65, 0x79, 0x56, 0x61,
   182  	0x6c, 0x75, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x03, 0x6b, 0x76, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
   183  	0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c,
   184  	0x75, 0x65, 0x52, 0x03, 0x6b, 0x76, 0x73, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75,
   185  	0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6a, 0x61, 0x6e, 0x65, 0x6c, 0x69, 0x61, 0x2d, 0x66, 0x6c,
   186  	0x79, 0x65, 0x6d, 0x2f, 0x64, 0x76, 0x69, 0x64, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70,
   187  	0x65, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06,
   188  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   189  }
   190  
   191  var (
   192  	file_keyvalue_proto_rawDescOnce sync.Once
   193  	file_keyvalue_proto_rawDescData = file_keyvalue_proto_rawDesc
   194  )
   195  
   196  func file_keyvalue_proto_rawDescGZIP() []byte {
   197  	file_keyvalue_proto_rawDescOnce.Do(func() {
   198  		file_keyvalue_proto_rawDescData = protoimpl.X.CompressGZIP(file_keyvalue_proto_rawDescData)
   199  	})
   200  	return file_keyvalue_proto_rawDescData
   201  }
   202  
   203  var file_keyvalue_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   204  var file_keyvalue_proto_goTypes = []interface{}{
   205  	(*KeyValue)(nil),  // 0: proto.KeyValue
   206  	(*Keys)(nil),      // 1: proto.Keys
   207  	(*KeyValues)(nil), // 2: proto.KeyValues
   208  }
   209  var file_keyvalue_proto_depIdxs = []int32{
   210  	0, // 0: proto.KeyValues.kvs:type_name -> proto.KeyValue
   211  	1, // [1:1] is the sub-list for method output_type
   212  	1, // [1:1] is the sub-list for method input_type
   213  	1, // [1:1] is the sub-list for extension type_name
   214  	1, // [1:1] is the sub-list for extension extendee
   215  	0, // [0:1] is the sub-list for field type_name
   216  }
   217  
   218  func init() { file_keyvalue_proto_init() }
   219  func file_keyvalue_proto_init() {
   220  	if File_keyvalue_proto != nil {
   221  		return
   222  	}
   223  	if !protoimpl.UnsafeEnabled {
   224  		file_keyvalue_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   225  			switch v := v.(*KeyValue); i {
   226  			case 0:
   227  				return &v.state
   228  			case 1:
   229  				return &v.sizeCache
   230  			case 2:
   231  				return &v.unknownFields
   232  			default:
   233  				return nil
   234  			}
   235  		}
   236  		file_keyvalue_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   237  			switch v := v.(*Keys); i {
   238  			case 0:
   239  				return &v.state
   240  			case 1:
   241  				return &v.sizeCache
   242  			case 2:
   243  				return &v.unknownFields
   244  			default:
   245  				return nil
   246  			}
   247  		}
   248  		file_keyvalue_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   249  			switch v := v.(*KeyValues); i {
   250  			case 0:
   251  				return &v.state
   252  			case 1:
   253  				return &v.sizeCache
   254  			case 2:
   255  				return &v.unknownFields
   256  			default:
   257  				return nil
   258  			}
   259  		}
   260  	}
   261  	type x struct{}
   262  	out := protoimpl.TypeBuilder{
   263  		File: protoimpl.DescBuilder{
   264  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   265  			RawDescriptor: file_keyvalue_proto_rawDesc,
   266  			NumEnums:      0,
   267  			NumMessages:   3,
   268  			NumExtensions: 0,
   269  			NumServices:   0,
   270  		},
   271  		GoTypes:           file_keyvalue_proto_goTypes,
   272  		DependencyIndexes: file_keyvalue_proto_depIdxs,
   273  		MessageInfos:      file_keyvalue_proto_msgTypes,
   274  	}.Build()
   275  	File_keyvalue_proto = out.File
   276  	file_keyvalue_proto_rawDesc = nil
   277  	file_keyvalue_proto_goTypes = nil
   278  	file_keyvalue_proto_depIdxs = nil
   279  }