github.com/tsuna/gohbase@v0.0.0-20250731002811-4ffcadfba63e/pb/Comparator.pb.go (about) 1 //* 2 // Licensed to the Apache Software Foundation (ASF) under one 3 // or more contributor license agreements. See the NOTICE file 4 // distributed with this work for additional information 5 // regarding copyright ownership. The ASF licenses this file 6 // to you under the Apache License, Version 2.0 (the 7 // "License"); you may not use this file except in compliance 8 // with the License. You may obtain a copy of the License at 9 // 10 // http://www.apache.org/licenses/LICENSE-2.0 11 // 12 // Unless required by applicable law or agreed to in writing, software 13 // distributed under the License is distributed on an "AS IS" BASIS, 14 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 // See the License for the specific language governing permissions and 16 // limitations under the License. 17 18 // This file contains protocol buffers that are used for filters 19 20 // Code generated by protoc-gen-go. DO NOT EDIT. 21 // versions: 22 // protoc-gen-go v1.36.4 23 // protoc v5.28.3 24 // source: Comparator.proto 25 26 package pb 27 28 import ( 29 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 30 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 31 reflect "reflect" 32 sync "sync" 33 unsafe "unsafe" 34 ) 35 36 const ( 37 // Verify that this generated code is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 39 // Verify that runtime/protoimpl is sufficiently up-to-date. 40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 41 ) 42 43 type BitComparator_BitwiseOp int32 44 45 const ( 46 BitComparator_AND BitComparator_BitwiseOp = 1 47 BitComparator_OR BitComparator_BitwiseOp = 2 48 BitComparator_XOR BitComparator_BitwiseOp = 3 49 ) 50 51 // Enum value maps for BitComparator_BitwiseOp. 52 var ( 53 BitComparator_BitwiseOp_name = map[int32]string{ 54 1: "AND", 55 2: "OR", 56 3: "XOR", 57 } 58 BitComparator_BitwiseOp_value = map[string]int32{ 59 "AND": 1, 60 "OR": 2, 61 "XOR": 3, 62 } 63 ) 64 65 func (x BitComparator_BitwiseOp) Enum() *BitComparator_BitwiseOp { 66 p := new(BitComparator_BitwiseOp) 67 *p = x 68 return p 69 } 70 71 func (x BitComparator_BitwiseOp) String() string { 72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 73 } 74 75 func (BitComparator_BitwiseOp) Descriptor() protoreflect.EnumDescriptor { 76 return file_Comparator_proto_enumTypes[0].Descriptor() 77 } 78 79 func (BitComparator_BitwiseOp) Type() protoreflect.EnumType { 80 return &file_Comparator_proto_enumTypes[0] 81 } 82 83 func (x BitComparator_BitwiseOp) Number() protoreflect.EnumNumber { 84 return protoreflect.EnumNumber(x) 85 } 86 87 // Deprecated: Do not use. 88 func (x *BitComparator_BitwiseOp) UnmarshalJSON(b []byte) error { 89 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 90 if err != nil { 91 return err 92 } 93 *x = BitComparator_BitwiseOp(num) 94 return nil 95 } 96 97 // Deprecated: Use BitComparator_BitwiseOp.Descriptor instead. 98 func (BitComparator_BitwiseOp) EnumDescriptor() ([]byte, []int) { 99 return file_Comparator_proto_rawDescGZIP(), []int{5, 0} 100 } 101 102 type Comparator struct { 103 state protoimpl.MessageState `protogen:"open.v1"` 104 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 105 SerializedComparator []byte `protobuf:"bytes,2,opt,name=serialized_comparator,json=serializedComparator" json:"serialized_comparator,omitempty"` 106 unknownFields protoimpl.UnknownFields 107 sizeCache protoimpl.SizeCache 108 } 109 110 func (x *Comparator) Reset() { 111 *x = Comparator{} 112 mi := &file_Comparator_proto_msgTypes[0] 113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 114 ms.StoreMessageInfo(mi) 115 } 116 117 func (x *Comparator) String() string { 118 return protoimpl.X.MessageStringOf(x) 119 } 120 121 func (*Comparator) ProtoMessage() {} 122 123 func (x *Comparator) ProtoReflect() protoreflect.Message { 124 mi := &file_Comparator_proto_msgTypes[0] 125 if x != nil { 126 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 127 if ms.LoadMessageInfo() == nil { 128 ms.StoreMessageInfo(mi) 129 } 130 return ms 131 } 132 return mi.MessageOf(x) 133 } 134 135 // Deprecated: Use Comparator.ProtoReflect.Descriptor instead. 136 func (*Comparator) Descriptor() ([]byte, []int) { 137 return file_Comparator_proto_rawDescGZIP(), []int{0} 138 } 139 140 func (x *Comparator) GetName() string { 141 if x != nil && x.Name != nil { 142 return *x.Name 143 } 144 return "" 145 } 146 147 func (x *Comparator) GetSerializedComparator() []byte { 148 if x != nil { 149 return x.SerializedComparator 150 } 151 return nil 152 } 153 154 type ByteArrayComparable struct { 155 state protoimpl.MessageState `protogen:"open.v1"` 156 Value []byte `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"` 157 unknownFields protoimpl.UnknownFields 158 sizeCache protoimpl.SizeCache 159 } 160 161 func (x *ByteArrayComparable) Reset() { 162 *x = ByteArrayComparable{} 163 mi := &file_Comparator_proto_msgTypes[1] 164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 165 ms.StoreMessageInfo(mi) 166 } 167 168 func (x *ByteArrayComparable) String() string { 169 return protoimpl.X.MessageStringOf(x) 170 } 171 172 func (*ByteArrayComparable) ProtoMessage() {} 173 174 func (x *ByteArrayComparable) ProtoReflect() protoreflect.Message { 175 mi := &file_Comparator_proto_msgTypes[1] 176 if x != nil { 177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 178 if ms.LoadMessageInfo() == nil { 179 ms.StoreMessageInfo(mi) 180 } 181 return ms 182 } 183 return mi.MessageOf(x) 184 } 185 186 // Deprecated: Use ByteArrayComparable.ProtoReflect.Descriptor instead. 187 func (*ByteArrayComparable) Descriptor() ([]byte, []int) { 188 return file_Comparator_proto_rawDescGZIP(), []int{1} 189 } 190 191 func (x *ByteArrayComparable) GetValue() []byte { 192 if x != nil { 193 return x.Value 194 } 195 return nil 196 } 197 198 type BinaryComparator struct { 199 state protoimpl.MessageState `protogen:"open.v1"` 200 Comparable *ByteArrayComparable `protobuf:"bytes,1,req,name=comparable" json:"comparable,omitempty"` 201 unknownFields protoimpl.UnknownFields 202 sizeCache protoimpl.SizeCache 203 } 204 205 func (x *BinaryComparator) Reset() { 206 *x = BinaryComparator{} 207 mi := &file_Comparator_proto_msgTypes[2] 208 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 209 ms.StoreMessageInfo(mi) 210 } 211 212 func (x *BinaryComparator) String() string { 213 return protoimpl.X.MessageStringOf(x) 214 } 215 216 func (*BinaryComparator) ProtoMessage() {} 217 218 func (x *BinaryComparator) ProtoReflect() protoreflect.Message { 219 mi := &file_Comparator_proto_msgTypes[2] 220 if x != nil { 221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 222 if ms.LoadMessageInfo() == nil { 223 ms.StoreMessageInfo(mi) 224 } 225 return ms 226 } 227 return mi.MessageOf(x) 228 } 229 230 // Deprecated: Use BinaryComparator.ProtoReflect.Descriptor instead. 231 func (*BinaryComparator) Descriptor() ([]byte, []int) { 232 return file_Comparator_proto_rawDescGZIP(), []int{2} 233 } 234 235 func (x *BinaryComparator) GetComparable() *ByteArrayComparable { 236 if x != nil { 237 return x.Comparable 238 } 239 return nil 240 } 241 242 type LongComparator struct { 243 state protoimpl.MessageState `protogen:"open.v1"` 244 Comparable *ByteArrayComparable `protobuf:"bytes,1,req,name=comparable" json:"comparable,omitempty"` 245 unknownFields protoimpl.UnknownFields 246 sizeCache protoimpl.SizeCache 247 } 248 249 func (x *LongComparator) Reset() { 250 *x = LongComparator{} 251 mi := &file_Comparator_proto_msgTypes[3] 252 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 253 ms.StoreMessageInfo(mi) 254 } 255 256 func (x *LongComparator) String() string { 257 return protoimpl.X.MessageStringOf(x) 258 } 259 260 func (*LongComparator) ProtoMessage() {} 261 262 func (x *LongComparator) ProtoReflect() protoreflect.Message { 263 mi := &file_Comparator_proto_msgTypes[3] 264 if x != nil { 265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 266 if ms.LoadMessageInfo() == nil { 267 ms.StoreMessageInfo(mi) 268 } 269 return ms 270 } 271 return mi.MessageOf(x) 272 } 273 274 // Deprecated: Use LongComparator.ProtoReflect.Descriptor instead. 275 func (*LongComparator) Descriptor() ([]byte, []int) { 276 return file_Comparator_proto_rawDescGZIP(), []int{3} 277 } 278 279 func (x *LongComparator) GetComparable() *ByteArrayComparable { 280 if x != nil { 281 return x.Comparable 282 } 283 return nil 284 } 285 286 type BinaryPrefixComparator struct { 287 state protoimpl.MessageState `protogen:"open.v1"` 288 Comparable *ByteArrayComparable `protobuf:"bytes,1,req,name=comparable" json:"comparable,omitempty"` 289 unknownFields protoimpl.UnknownFields 290 sizeCache protoimpl.SizeCache 291 } 292 293 func (x *BinaryPrefixComparator) Reset() { 294 *x = BinaryPrefixComparator{} 295 mi := &file_Comparator_proto_msgTypes[4] 296 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 297 ms.StoreMessageInfo(mi) 298 } 299 300 func (x *BinaryPrefixComparator) String() string { 301 return protoimpl.X.MessageStringOf(x) 302 } 303 304 func (*BinaryPrefixComparator) ProtoMessage() {} 305 306 func (x *BinaryPrefixComparator) ProtoReflect() protoreflect.Message { 307 mi := &file_Comparator_proto_msgTypes[4] 308 if x != nil { 309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 310 if ms.LoadMessageInfo() == nil { 311 ms.StoreMessageInfo(mi) 312 } 313 return ms 314 } 315 return mi.MessageOf(x) 316 } 317 318 // Deprecated: Use BinaryPrefixComparator.ProtoReflect.Descriptor instead. 319 func (*BinaryPrefixComparator) Descriptor() ([]byte, []int) { 320 return file_Comparator_proto_rawDescGZIP(), []int{4} 321 } 322 323 func (x *BinaryPrefixComparator) GetComparable() *ByteArrayComparable { 324 if x != nil { 325 return x.Comparable 326 } 327 return nil 328 } 329 330 type BitComparator struct { 331 state protoimpl.MessageState `protogen:"open.v1"` 332 Comparable *ByteArrayComparable `protobuf:"bytes,1,req,name=comparable" json:"comparable,omitempty"` 333 BitwiseOp *BitComparator_BitwiseOp `protobuf:"varint,2,req,name=bitwise_op,json=bitwiseOp,enum=pb.BitComparator_BitwiseOp" json:"bitwise_op,omitempty"` 334 unknownFields protoimpl.UnknownFields 335 sizeCache protoimpl.SizeCache 336 } 337 338 func (x *BitComparator) Reset() { 339 *x = BitComparator{} 340 mi := &file_Comparator_proto_msgTypes[5] 341 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 342 ms.StoreMessageInfo(mi) 343 } 344 345 func (x *BitComparator) String() string { 346 return protoimpl.X.MessageStringOf(x) 347 } 348 349 func (*BitComparator) ProtoMessage() {} 350 351 func (x *BitComparator) ProtoReflect() protoreflect.Message { 352 mi := &file_Comparator_proto_msgTypes[5] 353 if x != nil { 354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 355 if ms.LoadMessageInfo() == nil { 356 ms.StoreMessageInfo(mi) 357 } 358 return ms 359 } 360 return mi.MessageOf(x) 361 } 362 363 // Deprecated: Use BitComparator.ProtoReflect.Descriptor instead. 364 func (*BitComparator) Descriptor() ([]byte, []int) { 365 return file_Comparator_proto_rawDescGZIP(), []int{5} 366 } 367 368 func (x *BitComparator) GetComparable() *ByteArrayComparable { 369 if x != nil { 370 return x.Comparable 371 } 372 return nil 373 } 374 375 func (x *BitComparator) GetBitwiseOp() BitComparator_BitwiseOp { 376 if x != nil && x.BitwiseOp != nil { 377 return *x.BitwiseOp 378 } 379 return BitComparator_AND 380 } 381 382 type NullComparator struct { 383 state protoimpl.MessageState `protogen:"open.v1"` 384 unknownFields protoimpl.UnknownFields 385 sizeCache protoimpl.SizeCache 386 } 387 388 func (x *NullComparator) Reset() { 389 *x = NullComparator{} 390 mi := &file_Comparator_proto_msgTypes[6] 391 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 392 ms.StoreMessageInfo(mi) 393 } 394 395 func (x *NullComparator) String() string { 396 return protoimpl.X.MessageStringOf(x) 397 } 398 399 func (*NullComparator) ProtoMessage() {} 400 401 func (x *NullComparator) ProtoReflect() protoreflect.Message { 402 mi := &file_Comparator_proto_msgTypes[6] 403 if x != nil { 404 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 405 if ms.LoadMessageInfo() == nil { 406 ms.StoreMessageInfo(mi) 407 } 408 return ms 409 } 410 return mi.MessageOf(x) 411 } 412 413 // Deprecated: Use NullComparator.ProtoReflect.Descriptor instead. 414 func (*NullComparator) Descriptor() ([]byte, []int) { 415 return file_Comparator_proto_rawDescGZIP(), []int{6} 416 } 417 418 type RegexStringComparator struct { 419 state protoimpl.MessageState `protogen:"open.v1"` 420 Pattern *string `protobuf:"bytes,1,req,name=pattern" json:"pattern,omitempty"` 421 PatternFlags *int32 `protobuf:"varint,2,req,name=pattern_flags,json=patternFlags" json:"pattern_flags,omitempty"` 422 Charset *string `protobuf:"bytes,3,req,name=charset" json:"charset,omitempty"` 423 Engine *string `protobuf:"bytes,4,opt,name=engine" json:"engine,omitempty"` 424 unknownFields protoimpl.UnknownFields 425 sizeCache protoimpl.SizeCache 426 } 427 428 func (x *RegexStringComparator) Reset() { 429 *x = RegexStringComparator{} 430 mi := &file_Comparator_proto_msgTypes[7] 431 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 432 ms.StoreMessageInfo(mi) 433 } 434 435 func (x *RegexStringComparator) String() string { 436 return protoimpl.X.MessageStringOf(x) 437 } 438 439 func (*RegexStringComparator) ProtoMessage() {} 440 441 func (x *RegexStringComparator) ProtoReflect() protoreflect.Message { 442 mi := &file_Comparator_proto_msgTypes[7] 443 if x != nil { 444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 445 if ms.LoadMessageInfo() == nil { 446 ms.StoreMessageInfo(mi) 447 } 448 return ms 449 } 450 return mi.MessageOf(x) 451 } 452 453 // Deprecated: Use RegexStringComparator.ProtoReflect.Descriptor instead. 454 func (*RegexStringComparator) Descriptor() ([]byte, []int) { 455 return file_Comparator_proto_rawDescGZIP(), []int{7} 456 } 457 458 func (x *RegexStringComparator) GetPattern() string { 459 if x != nil && x.Pattern != nil { 460 return *x.Pattern 461 } 462 return "" 463 } 464 465 func (x *RegexStringComparator) GetPatternFlags() int32 { 466 if x != nil && x.PatternFlags != nil { 467 return *x.PatternFlags 468 } 469 return 0 470 } 471 472 func (x *RegexStringComparator) GetCharset() string { 473 if x != nil && x.Charset != nil { 474 return *x.Charset 475 } 476 return "" 477 } 478 479 func (x *RegexStringComparator) GetEngine() string { 480 if x != nil && x.Engine != nil { 481 return *x.Engine 482 } 483 return "" 484 } 485 486 type SubstringComparator struct { 487 state protoimpl.MessageState `protogen:"open.v1"` 488 Substr *string `protobuf:"bytes,1,req,name=substr" json:"substr,omitempty"` 489 unknownFields protoimpl.UnknownFields 490 sizeCache protoimpl.SizeCache 491 } 492 493 func (x *SubstringComparator) Reset() { 494 *x = SubstringComparator{} 495 mi := &file_Comparator_proto_msgTypes[8] 496 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 497 ms.StoreMessageInfo(mi) 498 } 499 500 func (x *SubstringComparator) String() string { 501 return protoimpl.X.MessageStringOf(x) 502 } 503 504 func (*SubstringComparator) ProtoMessage() {} 505 506 func (x *SubstringComparator) ProtoReflect() protoreflect.Message { 507 mi := &file_Comparator_proto_msgTypes[8] 508 if x != nil { 509 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 510 if ms.LoadMessageInfo() == nil { 511 ms.StoreMessageInfo(mi) 512 } 513 return ms 514 } 515 return mi.MessageOf(x) 516 } 517 518 // Deprecated: Use SubstringComparator.ProtoReflect.Descriptor instead. 519 func (*SubstringComparator) Descriptor() ([]byte, []int) { 520 return file_Comparator_proto_rawDescGZIP(), []int{8} 521 } 522 523 func (x *SubstringComparator) GetSubstr() string { 524 if x != nil && x.Substr != nil { 525 return *x.Substr 526 } 527 return "" 528 } 529 530 var File_Comparator_proto protoreflect.FileDescriptor 531 532 var file_Comparator_proto_rawDesc = string([]byte{ 533 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 534 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x55, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 535 0x61, 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 536 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x15, 0x73, 0x65, 0x72, 0x69, 537 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 538 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 539 0x7a, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x2b, 0x0a, 540 0x13, 0x42, 0x79, 0x74, 0x65, 0x41, 0x72, 0x72, 0x61, 0x79, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 541 0x61, 0x62, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 542 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x4b, 0x0a, 0x10, 0x42, 0x69, 543 0x6e, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x37, 544 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x02, 545 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x41, 0x72, 0x72, 0x61, 546 0x79, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 547 0x70, 0x61, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x49, 0x0a, 0x0e, 0x4c, 0x6f, 0x6e, 0x67, 0x43, 548 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x37, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 549 0x70, 0x61, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x17, 0x2e, 550 0x70, 0x62, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x41, 0x72, 0x72, 0x61, 0x79, 0x43, 0x6f, 0x6d, 0x70, 551 0x61, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x62, 552 0x6c, 0x65, 0x22, 0x51, 0x0a, 0x16, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x50, 0x72, 0x65, 0x66, 553 0x69, 0x78, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x37, 0x0a, 0x0a, 554 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 555 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x41, 0x72, 0x72, 0x61, 0x79, 0x43, 556 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 557 0x72, 0x61, 0x62, 0x6c, 0x65, 0x22, 0xab, 0x01, 0x0a, 0x0d, 0x42, 0x69, 0x74, 0x43, 0x6f, 0x6d, 558 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x37, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 559 0x72, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 560 0x2e, 0x42, 0x79, 0x74, 0x65, 0x41, 0x72, 0x72, 0x61, 0x79, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 561 0x61, 0x62, 0x6c, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x62, 0x6c, 0x65, 562 0x12, 0x3a, 0x0a, 0x0a, 0x62, 0x69, 0x74, 0x77, 0x69, 0x73, 0x65, 0x5f, 0x6f, 0x70, 0x18, 0x02, 563 0x20, 0x02, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x42, 0x69, 0x74, 0x43, 0x6f, 0x6d, 564 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x42, 0x69, 0x74, 0x77, 0x69, 0x73, 0x65, 0x4f, 565 0x70, 0x52, 0x09, 0x62, 0x69, 0x74, 0x77, 0x69, 0x73, 0x65, 0x4f, 0x70, 0x22, 0x25, 0x0a, 0x09, 566 0x42, 0x69, 0x74, 0x77, 0x69, 0x73, 0x65, 0x4f, 0x70, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4e, 0x44, 567 0x10, 0x01, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x58, 0x4f, 568 0x52, 0x10, 0x03, 0x22, 0x10, 0x0a, 0x0e, 0x4e, 0x75, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x70, 0x61, 569 0x72, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x88, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x67, 0x65, 0x78, 0x53, 570 0x74, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 571 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 572 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x61, 0x74, 573 0x74, 0x65, 0x72, 0x6e, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x05, 574 0x52, 0x0c, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x18, 575 0x0a, 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 576 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 577 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 578 0x22, 0x2d, 0x0a, 0x13, 0x53, 0x75, 0x62, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 579 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x73, 0x74, 580 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x06, 0x73, 0x75, 0x62, 0x73, 0x74, 0x72, 0x42, 581 0x4d, 0x0a, 0x2a, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 582 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 583 0x62, 0x75, 0x66, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x42, 0x10, 0x43, 584 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x48, 585 0x01, 0x5a, 0x05, 0x2e, 0x2e, 0x2f, 0x70, 0x62, 0x88, 0x01, 0x01, 0xa0, 0x01, 0x01, 586 }) 587 588 var ( 589 file_Comparator_proto_rawDescOnce sync.Once 590 file_Comparator_proto_rawDescData []byte 591 ) 592 593 func file_Comparator_proto_rawDescGZIP() []byte { 594 file_Comparator_proto_rawDescOnce.Do(func() { 595 file_Comparator_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_Comparator_proto_rawDesc), len(file_Comparator_proto_rawDesc))) 596 }) 597 return file_Comparator_proto_rawDescData 598 } 599 600 var file_Comparator_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 601 var file_Comparator_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 602 var file_Comparator_proto_goTypes = []any{ 603 (BitComparator_BitwiseOp)(0), // 0: pb.BitComparator.BitwiseOp 604 (*Comparator)(nil), // 1: pb.Comparator 605 (*ByteArrayComparable)(nil), // 2: pb.ByteArrayComparable 606 (*BinaryComparator)(nil), // 3: pb.BinaryComparator 607 (*LongComparator)(nil), // 4: pb.LongComparator 608 (*BinaryPrefixComparator)(nil), // 5: pb.BinaryPrefixComparator 609 (*BitComparator)(nil), // 6: pb.BitComparator 610 (*NullComparator)(nil), // 7: pb.NullComparator 611 (*RegexStringComparator)(nil), // 8: pb.RegexStringComparator 612 (*SubstringComparator)(nil), // 9: pb.SubstringComparator 613 } 614 var file_Comparator_proto_depIdxs = []int32{ 615 2, // 0: pb.BinaryComparator.comparable:type_name -> pb.ByteArrayComparable 616 2, // 1: pb.LongComparator.comparable:type_name -> pb.ByteArrayComparable 617 2, // 2: pb.BinaryPrefixComparator.comparable:type_name -> pb.ByteArrayComparable 618 2, // 3: pb.BitComparator.comparable:type_name -> pb.ByteArrayComparable 619 0, // 4: pb.BitComparator.bitwise_op:type_name -> pb.BitComparator.BitwiseOp 620 5, // [5:5] is the sub-list for method output_type 621 5, // [5:5] is the sub-list for method input_type 622 5, // [5:5] is the sub-list for extension type_name 623 5, // [5:5] is the sub-list for extension extendee 624 0, // [0:5] is the sub-list for field type_name 625 } 626 627 func init() { file_Comparator_proto_init() } 628 func file_Comparator_proto_init() { 629 if File_Comparator_proto != nil { 630 return 631 } 632 type x struct{} 633 out := protoimpl.TypeBuilder{ 634 File: protoimpl.DescBuilder{ 635 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 636 RawDescriptor: unsafe.Slice(unsafe.StringData(file_Comparator_proto_rawDesc), len(file_Comparator_proto_rawDesc)), 637 NumEnums: 1, 638 NumMessages: 9, 639 NumExtensions: 0, 640 NumServices: 0, 641 }, 642 GoTypes: file_Comparator_proto_goTypes, 643 DependencyIndexes: file_Comparator_proto_depIdxs, 644 EnumInfos: file_Comparator_proto_enumTypes, 645 MessageInfos: file_Comparator_proto_msgTypes, 646 }.Build() 647 File_Comparator_proto = out.File 648 file_Comparator_proto_goTypes = nil 649 file_Comparator_proto_depIdxs = nil 650 }