github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/pingcap/go-hbase/proto/HBase.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: HBase.proto 3 // DO NOT EDIT! 4 5 package proto 6 7 import proto1 "github.com/insionng/yougam/libraries/golang/protobuf/proto" 8 import math "math" 9 10 // Reference imports to suppress errors if they are not otherwise used. 11 var _ = proto1.Marshal 12 var _ = math.Inf 13 14 // Comparison operators 15 type CompareType int32 16 17 const ( 18 CompareType_LESS CompareType = 0 19 CompareType_LESS_OR_EQUAL CompareType = 1 20 CompareType_EQUAL CompareType = 2 21 CompareType_NOT_EQUAL CompareType = 3 22 CompareType_GREATER_OR_EQUAL CompareType = 4 23 CompareType_GREATER CompareType = 5 24 CompareType_NO_OP CompareType = 6 25 ) 26 27 var CompareType_name = map[int32]string{ 28 0: "LESS", 29 1: "LESS_OR_EQUAL", 30 2: "EQUAL", 31 3: "NOT_EQUAL", 32 4: "GREATER_OR_EQUAL", 33 5: "GREATER", 34 6: "NO_OP", 35 } 36 var CompareType_value = map[string]int32{ 37 "LESS": 0, 38 "LESS_OR_EQUAL": 1, 39 "EQUAL": 2, 40 "NOT_EQUAL": 3, 41 "GREATER_OR_EQUAL": 4, 42 "GREATER": 5, 43 "NO_OP": 6, 44 } 45 46 func (x CompareType) Enum() *CompareType { 47 p := new(CompareType) 48 *p = x 49 return p 50 } 51 func (x CompareType) String() string { 52 return proto1.EnumName(CompareType_name, int32(x)) 53 } 54 func (x *CompareType) UnmarshalJSON(data []byte) error { 55 value, err := proto1.UnmarshalJSONEnum(CompareType_value, data, "CompareType") 56 if err != nil { 57 return err 58 } 59 *x = CompareType(value) 60 return nil 61 } 62 63 type RegionSpecifier_RegionSpecifierType int32 64 65 const ( 66 // <tablename>,<startkey>,<regionId>.<encodedName> 67 RegionSpecifier_REGION_NAME RegionSpecifier_RegionSpecifierType = 1 68 // hash of <tablename>,<startkey>,<regionId> 69 RegionSpecifier_ENCODED_REGION_NAME RegionSpecifier_RegionSpecifierType = 2 70 ) 71 72 var RegionSpecifier_RegionSpecifierType_name = map[int32]string{ 73 1: "REGION_NAME", 74 2: "ENCODED_REGION_NAME", 75 } 76 var RegionSpecifier_RegionSpecifierType_value = map[string]int32{ 77 "REGION_NAME": 1, 78 "ENCODED_REGION_NAME": 2, 79 } 80 81 func (x RegionSpecifier_RegionSpecifierType) Enum() *RegionSpecifier_RegionSpecifierType { 82 p := new(RegionSpecifier_RegionSpecifierType) 83 *p = x 84 return p 85 } 86 func (x RegionSpecifier_RegionSpecifierType) String() string { 87 return proto1.EnumName(RegionSpecifier_RegionSpecifierType_name, int32(x)) 88 } 89 func (x *RegionSpecifier_RegionSpecifierType) UnmarshalJSON(data []byte) error { 90 value, err := proto1.UnmarshalJSONEnum(RegionSpecifier_RegionSpecifierType_value, data, "RegionSpecifier_RegionSpecifierType") 91 if err != nil { 92 return err 93 } 94 *x = RegionSpecifier_RegionSpecifierType(value) 95 return nil 96 } 97 98 type SnapshotDescription_Type int32 99 100 const ( 101 SnapshotDescription_DISABLED SnapshotDescription_Type = 0 102 SnapshotDescription_FLUSH SnapshotDescription_Type = 1 103 SnapshotDescription_SKIPFLUSH SnapshotDescription_Type = 2 104 ) 105 106 var SnapshotDescription_Type_name = map[int32]string{ 107 0: "DISABLED", 108 1: "FLUSH", 109 2: "SKIPFLUSH", 110 } 111 var SnapshotDescription_Type_value = map[string]int32{ 112 "DISABLED": 0, 113 "FLUSH": 1, 114 "SKIPFLUSH": 2, 115 } 116 117 func (x SnapshotDescription_Type) Enum() *SnapshotDescription_Type { 118 p := new(SnapshotDescription_Type) 119 *p = x 120 return p 121 } 122 func (x SnapshotDescription_Type) String() string { 123 return proto1.EnumName(SnapshotDescription_Type_name, int32(x)) 124 } 125 func (x *SnapshotDescription_Type) UnmarshalJSON(data []byte) error { 126 value, err := proto1.UnmarshalJSONEnum(SnapshotDescription_Type_value, data, "SnapshotDescription_Type") 127 if err != nil { 128 return err 129 } 130 *x = SnapshotDescription_Type(value) 131 return nil 132 } 133 134 // * 135 // Table Name 136 type TableName struct { 137 Namespace []byte `protobuf:"bytes,1,req,name=namespace" json:"namespace,omitempty"` 138 Qualifier []byte `protobuf:"bytes,2,req,name=qualifier" json:"qualifier,omitempty"` 139 XXX_unrecognized []byte `json:"-"` 140 } 141 142 func (m *TableName) Reset() { *m = TableName{} } 143 func (m *TableName) String() string { return proto1.CompactTextString(m) } 144 func (*TableName) ProtoMessage() {} 145 146 func (m *TableName) GetNamespace() []byte { 147 if m != nil { 148 return m.Namespace 149 } 150 return nil 151 } 152 153 func (m *TableName) GetQualifier() []byte { 154 if m != nil { 155 return m.Qualifier 156 } 157 return nil 158 } 159 160 // * 161 // Table Schema 162 // Inspired by the rest TableSchema 163 type TableSchema struct { 164 TableName *TableName `protobuf:"bytes,1,opt,name=table_name" json:"table_name,omitempty"` 165 Attributes []*BytesBytesPair `protobuf:"bytes,2,rep,name=attributes" json:"attributes,omitempty"` 166 ColumnFamilies []*ColumnFamilySchema `protobuf:"bytes,3,rep,name=column_families" json:"column_families,omitempty"` 167 Configuration []*NameStringPair `protobuf:"bytes,4,rep,name=configuration" json:"configuration,omitempty"` 168 XXX_unrecognized []byte `json:"-"` 169 } 170 171 func (m *TableSchema) Reset() { *m = TableSchema{} } 172 func (m *TableSchema) String() string { return proto1.CompactTextString(m) } 173 func (*TableSchema) ProtoMessage() {} 174 175 func (m *TableSchema) GetTableName() *TableName { 176 if m != nil { 177 return m.TableName 178 } 179 return nil 180 } 181 182 func (m *TableSchema) GetAttributes() []*BytesBytesPair { 183 if m != nil { 184 return m.Attributes 185 } 186 return nil 187 } 188 189 func (m *TableSchema) GetColumnFamilies() []*ColumnFamilySchema { 190 if m != nil { 191 return m.ColumnFamilies 192 } 193 return nil 194 } 195 196 func (m *TableSchema) GetConfiguration() []*NameStringPair { 197 if m != nil { 198 return m.Configuration 199 } 200 return nil 201 } 202 203 // * 204 // Column Family Schema 205 // Inspired by the rest ColumSchemaMessage 206 type ColumnFamilySchema struct { 207 Name []byte `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 208 Attributes []*BytesBytesPair `protobuf:"bytes,2,rep,name=attributes" json:"attributes,omitempty"` 209 Configuration []*NameStringPair `protobuf:"bytes,3,rep,name=configuration" json:"configuration,omitempty"` 210 XXX_unrecognized []byte `json:"-"` 211 } 212 213 func (m *ColumnFamilySchema) Reset() { *m = ColumnFamilySchema{} } 214 func (m *ColumnFamilySchema) String() string { return proto1.CompactTextString(m) } 215 func (*ColumnFamilySchema) ProtoMessage() {} 216 217 func (m *ColumnFamilySchema) GetName() []byte { 218 if m != nil { 219 return m.Name 220 } 221 return nil 222 } 223 224 func (m *ColumnFamilySchema) GetAttributes() []*BytesBytesPair { 225 if m != nil { 226 return m.Attributes 227 } 228 return nil 229 } 230 231 func (m *ColumnFamilySchema) GetConfiguration() []*NameStringPair { 232 if m != nil { 233 return m.Configuration 234 } 235 return nil 236 } 237 238 // * 239 // Protocol buffer version of HRegionInfo. 240 type RegionInfo struct { 241 RegionId *uint64 `protobuf:"varint,1,req,name=region_id" json:"region_id,omitempty"` 242 TableName *TableName `protobuf:"bytes,2,req,name=table_name" json:"table_name,omitempty"` 243 StartKey []byte `protobuf:"bytes,3,opt,name=start_key" json:"start_key,omitempty"` 244 EndKey []byte `protobuf:"bytes,4,opt,name=end_key" json:"end_key,omitempty"` 245 Offline *bool `protobuf:"varint,5,opt,name=offline" json:"offline,omitempty"` 246 Split *bool `protobuf:"varint,6,opt,name=split" json:"split,omitempty"` 247 XXX_unrecognized []byte `json:"-"` 248 } 249 250 func (m *RegionInfo) Reset() { *m = RegionInfo{} } 251 func (m *RegionInfo) String() string { return proto1.CompactTextString(m) } 252 func (*RegionInfo) ProtoMessage() {} 253 254 func (m *RegionInfo) GetRegionId() uint64 { 255 if m != nil && m.RegionId != nil { 256 return *m.RegionId 257 } 258 return 0 259 } 260 261 func (m *RegionInfo) GetTableName() *TableName { 262 if m != nil { 263 return m.TableName 264 } 265 return nil 266 } 267 268 func (m *RegionInfo) GetStartKey() []byte { 269 if m != nil { 270 return m.StartKey 271 } 272 return nil 273 } 274 275 func (m *RegionInfo) GetEndKey() []byte { 276 if m != nil { 277 return m.EndKey 278 } 279 return nil 280 } 281 282 func (m *RegionInfo) GetOffline() bool { 283 if m != nil && m.Offline != nil { 284 return *m.Offline 285 } 286 return false 287 } 288 289 func (m *RegionInfo) GetSplit() bool { 290 if m != nil && m.Split != nil { 291 return *m.Split 292 } 293 return false 294 } 295 296 // * 297 // Protocol buffer for favored nodes 298 type FavoredNodes struct { 299 FavoredNode []*ServerName `protobuf:"bytes,1,rep,name=favored_node" json:"favored_node,omitempty"` 300 XXX_unrecognized []byte `json:"-"` 301 } 302 303 func (m *FavoredNodes) Reset() { *m = FavoredNodes{} } 304 func (m *FavoredNodes) String() string { return proto1.CompactTextString(m) } 305 func (*FavoredNodes) ProtoMessage() {} 306 307 func (m *FavoredNodes) GetFavoredNode() []*ServerName { 308 if m != nil { 309 return m.FavoredNode 310 } 311 return nil 312 } 313 314 // * 315 // Container protocol buffer to specify a region. 316 // You can specify region by region name, or the hash 317 // of the region name, which is known as encoded 318 // region name. 319 type RegionSpecifier struct { 320 Type *RegionSpecifier_RegionSpecifierType `protobuf:"varint,1,req,name=type,enum=proto.RegionSpecifier_RegionSpecifierType" json:"type,omitempty"` 321 Value []byte `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` 322 XXX_unrecognized []byte `json:"-"` 323 } 324 325 func (m *RegionSpecifier) Reset() { *m = RegionSpecifier{} } 326 func (m *RegionSpecifier) String() string { return proto1.CompactTextString(m) } 327 func (*RegionSpecifier) ProtoMessage() {} 328 329 func (m *RegionSpecifier) GetType() RegionSpecifier_RegionSpecifierType { 330 if m != nil && m.Type != nil { 331 return *m.Type 332 } 333 return RegionSpecifier_REGION_NAME 334 } 335 336 func (m *RegionSpecifier) GetValue() []byte { 337 if m != nil { 338 return m.Value 339 } 340 return nil 341 } 342 343 // * 344 // A range of time. Both from and to are Java time 345 // stamp in milliseconds. If you don't specify a time 346 // range, it means all time. By default, if not 347 // specified, from = 0, and to = Long.MAX_VALUE 348 type TimeRange struct { 349 From *uint64 `protobuf:"varint,1,opt,name=from" json:"from,omitempty"` 350 To *uint64 `protobuf:"varint,2,opt,name=to" json:"to,omitempty"` 351 XXX_unrecognized []byte `json:"-"` 352 } 353 354 func (m *TimeRange) Reset() { *m = TimeRange{} } 355 func (m *TimeRange) String() string { return proto1.CompactTextString(m) } 356 func (*TimeRange) ProtoMessage() {} 357 358 func (m *TimeRange) GetFrom() uint64 { 359 if m != nil && m.From != nil { 360 return *m.From 361 } 362 return 0 363 } 364 365 func (m *TimeRange) GetTo() uint64 { 366 if m != nil && m.To != nil { 367 return *m.To 368 } 369 return 0 370 } 371 372 // * 373 // Protocol buffer version of ServerName 374 type ServerName struct { 375 HostName *string `protobuf:"bytes,1,req,name=host_name" json:"host_name,omitempty"` 376 Port *uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"` 377 StartCode *uint64 `protobuf:"varint,3,opt,name=start_code" json:"start_code,omitempty"` 378 XXX_unrecognized []byte `json:"-"` 379 } 380 381 func (m *ServerName) Reset() { *m = ServerName{} } 382 func (m *ServerName) String() string { return proto1.CompactTextString(m) } 383 func (*ServerName) ProtoMessage() {} 384 385 func (m *ServerName) GetHostName() string { 386 if m != nil && m.HostName != nil { 387 return *m.HostName 388 } 389 return "" 390 } 391 392 func (m *ServerName) GetPort() uint32 { 393 if m != nil && m.Port != nil { 394 return *m.Port 395 } 396 return 0 397 } 398 399 func (m *ServerName) GetStartCode() uint64 { 400 if m != nil && m.StartCode != nil { 401 return *m.StartCode 402 } 403 return 0 404 } 405 406 type Coprocessor struct { 407 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 408 XXX_unrecognized []byte `json:"-"` 409 } 410 411 func (m *Coprocessor) Reset() { *m = Coprocessor{} } 412 func (m *Coprocessor) String() string { return proto1.CompactTextString(m) } 413 func (*Coprocessor) ProtoMessage() {} 414 415 func (m *Coprocessor) GetName() string { 416 if m != nil && m.Name != nil { 417 return *m.Name 418 } 419 return "" 420 } 421 422 type NameStringPair struct { 423 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 424 Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` 425 XXX_unrecognized []byte `json:"-"` 426 } 427 428 func (m *NameStringPair) Reset() { *m = NameStringPair{} } 429 func (m *NameStringPair) String() string { return proto1.CompactTextString(m) } 430 func (*NameStringPair) ProtoMessage() {} 431 432 func (m *NameStringPair) GetName() string { 433 if m != nil && m.Name != nil { 434 return *m.Name 435 } 436 return "" 437 } 438 439 func (m *NameStringPair) GetValue() string { 440 if m != nil && m.Value != nil { 441 return *m.Value 442 } 443 return "" 444 } 445 446 type NameBytesPair struct { 447 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 448 Value []byte `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` 449 XXX_unrecognized []byte `json:"-"` 450 } 451 452 func (m *NameBytesPair) Reset() { *m = NameBytesPair{} } 453 func (m *NameBytesPair) String() string { return proto1.CompactTextString(m) } 454 func (*NameBytesPair) ProtoMessage() {} 455 456 func (m *NameBytesPair) GetName() string { 457 if m != nil && m.Name != nil { 458 return *m.Name 459 } 460 return "" 461 } 462 463 func (m *NameBytesPair) GetValue() []byte { 464 if m != nil { 465 return m.Value 466 } 467 return nil 468 } 469 470 type BytesBytesPair struct { 471 First []byte `protobuf:"bytes,1,req,name=first" json:"first,omitempty"` 472 Second []byte `protobuf:"bytes,2,req,name=second" json:"second,omitempty"` 473 XXX_unrecognized []byte `json:"-"` 474 } 475 476 func (m *BytesBytesPair) Reset() { *m = BytesBytesPair{} } 477 func (m *BytesBytesPair) String() string { return proto1.CompactTextString(m) } 478 func (*BytesBytesPair) ProtoMessage() {} 479 480 func (m *BytesBytesPair) GetFirst() []byte { 481 if m != nil { 482 return m.First 483 } 484 return nil 485 } 486 487 func (m *BytesBytesPair) GetSecond() []byte { 488 if m != nil { 489 return m.Second 490 } 491 return nil 492 } 493 494 type NameInt64Pair struct { 495 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 496 Value *int64 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"` 497 XXX_unrecognized []byte `json:"-"` 498 } 499 500 func (m *NameInt64Pair) Reset() { *m = NameInt64Pair{} } 501 func (m *NameInt64Pair) String() string { return proto1.CompactTextString(m) } 502 func (*NameInt64Pair) ProtoMessage() {} 503 504 func (m *NameInt64Pair) GetName() string { 505 if m != nil && m.Name != nil { 506 return *m.Name 507 } 508 return "" 509 } 510 511 func (m *NameInt64Pair) GetValue() int64 { 512 if m != nil && m.Value != nil { 513 return *m.Value 514 } 515 return 0 516 } 517 518 // * 519 // Description of the snapshot to take 520 type SnapshotDescription struct { 521 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 522 Table *string `protobuf:"bytes,2,opt,name=table" json:"table,omitempty"` 523 CreationTime *int64 `protobuf:"varint,3,opt,name=creation_time,def=0" json:"creation_time,omitempty"` 524 Type *SnapshotDescription_Type `protobuf:"varint,4,opt,name=type,enum=proto.SnapshotDescription_Type,def=1" json:"type,omitempty"` 525 Version *int32 `protobuf:"varint,5,opt,name=version" json:"version,omitempty"` 526 XXX_unrecognized []byte `json:"-"` 527 } 528 529 func (m *SnapshotDescription) Reset() { *m = SnapshotDescription{} } 530 func (m *SnapshotDescription) String() string { return proto1.CompactTextString(m) } 531 func (*SnapshotDescription) ProtoMessage() {} 532 533 const Default_SnapshotDescription_CreationTime int64 = 0 534 const Default_SnapshotDescription_Type SnapshotDescription_Type = SnapshotDescription_FLUSH 535 536 func (m *SnapshotDescription) GetName() string { 537 if m != nil && m.Name != nil { 538 return *m.Name 539 } 540 return "" 541 } 542 543 func (m *SnapshotDescription) GetTable() string { 544 if m != nil && m.Table != nil { 545 return *m.Table 546 } 547 return "" 548 } 549 550 func (m *SnapshotDescription) GetCreationTime() int64 { 551 if m != nil && m.CreationTime != nil { 552 return *m.CreationTime 553 } 554 return Default_SnapshotDescription_CreationTime 555 } 556 557 func (m *SnapshotDescription) GetType() SnapshotDescription_Type { 558 if m != nil && m.Type != nil { 559 return *m.Type 560 } 561 return Default_SnapshotDescription_Type 562 } 563 564 func (m *SnapshotDescription) GetVersion() int32 { 565 if m != nil && m.Version != nil { 566 return *m.Version 567 } 568 return 0 569 } 570 571 // * 572 // Description of the distributed procedure to take 573 type ProcedureDescription struct { 574 Signature *string `protobuf:"bytes,1,req,name=signature" json:"signature,omitempty"` 575 Instance *string `protobuf:"bytes,2,opt,name=instance" json:"instance,omitempty"` 576 CreationTime *int64 `protobuf:"varint,3,opt,name=creation_time,def=0" json:"creation_time,omitempty"` 577 Configuration []*NameStringPair `protobuf:"bytes,4,rep,name=configuration" json:"configuration,omitempty"` 578 XXX_unrecognized []byte `json:"-"` 579 } 580 581 func (m *ProcedureDescription) Reset() { *m = ProcedureDescription{} } 582 func (m *ProcedureDescription) String() string { return proto1.CompactTextString(m) } 583 func (*ProcedureDescription) ProtoMessage() {} 584 585 const Default_ProcedureDescription_CreationTime int64 = 0 586 587 func (m *ProcedureDescription) GetSignature() string { 588 if m != nil && m.Signature != nil { 589 return *m.Signature 590 } 591 return "" 592 } 593 594 func (m *ProcedureDescription) GetInstance() string { 595 if m != nil && m.Instance != nil { 596 return *m.Instance 597 } 598 return "" 599 } 600 601 func (m *ProcedureDescription) GetCreationTime() int64 { 602 if m != nil && m.CreationTime != nil { 603 return *m.CreationTime 604 } 605 return Default_ProcedureDescription_CreationTime 606 } 607 608 func (m *ProcedureDescription) GetConfiguration() []*NameStringPair { 609 if m != nil { 610 return m.Configuration 611 } 612 return nil 613 } 614 615 type EmptyMsg struct { 616 XXX_unrecognized []byte `json:"-"` 617 } 618 619 func (m *EmptyMsg) Reset() { *m = EmptyMsg{} } 620 func (m *EmptyMsg) String() string { return proto1.CompactTextString(m) } 621 func (*EmptyMsg) ProtoMessage() {} 622 623 type LongMsg struct { 624 LongMsg *int64 `protobuf:"varint,1,req,name=long_msg" json:"long_msg,omitempty"` 625 XXX_unrecognized []byte `json:"-"` 626 } 627 628 func (m *LongMsg) Reset() { *m = LongMsg{} } 629 func (m *LongMsg) String() string { return proto1.CompactTextString(m) } 630 func (*LongMsg) ProtoMessage() {} 631 632 func (m *LongMsg) GetLongMsg() int64 { 633 if m != nil && m.LongMsg != nil { 634 return *m.LongMsg 635 } 636 return 0 637 } 638 639 type DoubleMsg struct { 640 DoubleMsg *float64 `protobuf:"fixed64,1,req,name=double_msg" json:"double_msg,omitempty"` 641 XXX_unrecognized []byte `json:"-"` 642 } 643 644 func (m *DoubleMsg) Reset() { *m = DoubleMsg{} } 645 func (m *DoubleMsg) String() string { return proto1.CompactTextString(m) } 646 func (*DoubleMsg) ProtoMessage() {} 647 648 func (m *DoubleMsg) GetDoubleMsg() float64 { 649 if m != nil && m.DoubleMsg != nil { 650 return *m.DoubleMsg 651 } 652 return 0 653 } 654 655 type BigDecimalMsg struct { 656 BigdecimalMsg []byte `protobuf:"bytes,1,req,name=bigdecimal_msg" json:"bigdecimal_msg,omitempty"` 657 XXX_unrecognized []byte `json:"-"` 658 } 659 660 func (m *BigDecimalMsg) Reset() { *m = BigDecimalMsg{} } 661 func (m *BigDecimalMsg) String() string { return proto1.CompactTextString(m) } 662 func (*BigDecimalMsg) ProtoMessage() {} 663 664 func (m *BigDecimalMsg) GetBigdecimalMsg() []byte { 665 if m != nil { 666 return m.BigdecimalMsg 667 } 668 return nil 669 } 670 671 type UUID struct { 672 LeastSigBits *uint64 `protobuf:"varint,1,req,name=least_sig_bits" json:"least_sig_bits,omitempty"` 673 MostSigBits *uint64 `protobuf:"varint,2,req,name=most_sig_bits" json:"most_sig_bits,omitempty"` 674 XXX_unrecognized []byte `json:"-"` 675 } 676 677 func (m *UUID) Reset() { *m = UUID{} } 678 func (m *UUID) String() string { return proto1.CompactTextString(m) } 679 func (*UUID) ProtoMessage() {} 680 681 func (m *UUID) GetLeastSigBits() uint64 { 682 if m != nil && m.LeastSigBits != nil { 683 return *m.LeastSigBits 684 } 685 return 0 686 } 687 688 func (m *UUID) GetMostSigBits() uint64 { 689 if m != nil && m.MostSigBits != nil { 690 return *m.MostSigBits 691 } 692 return 0 693 } 694 695 type NamespaceDescriptor struct { 696 Name []byte `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 697 Configuration []*NameStringPair `protobuf:"bytes,2,rep,name=configuration" json:"configuration,omitempty"` 698 XXX_unrecognized []byte `json:"-"` 699 } 700 701 func (m *NamespaceDescriptor) Reset() { *m = NamespaceDescriptor{} } 702 func (m *NamespaceDescriptor) String() string { return proto1.CompactTextString(m) } 703 func (*NamespaceDescriptor) ProtoMessage() {} 704 705 func (m *NamespaceDescriptor) GetName() []byte { 706 if m != nil { 707 return m.Name 708 } 709 return nil 710 } 711 712 func (m *NamespaceDescriptor) GetConfiguration() []*NameStringPair { 713 if m != nil { 714 return m.Configuration 715 } 716 return nil 717 } 718 719 // * 720 // Description of the region server info 721 type RegionServerInfo struct { 722 InfoPort *int32 `protobuf:"varint,1,opt,name=infoPort" json:"infoPort,omitempty"` 723 XXX_unrecognized []byte `json:"-"` 724 } 725 726 func (m *RegionServerInfo) Reset() { *m = RegionServerInfo{} } 727 func (m *RegionServerInfo) String() string { return proto1.CompactTextString(m) } 728 func (*RegionServerInfo) ProtoMessage() {} 729 730 func (m *RegionServerInfo) GetInfoPort() int32 { 731 if m != nil && m.InfoPort != nil { 732 return *m.InfoPort 733 } 734 return 0 735 } 736 737 func init() { 738 proto1.RegisterEnum("proto.CompareType", CompareType_name, CompareType_value) 739 proto1.RegisterEnum("proto.RegionSpecifier_RegionSpecifierType", RegionSpecifier_RegionSpecifierType_name, RegionSpecifier_RegionSpecifierType_value) 740 proto1.RegisterEnum("proto.SnapshotDescription_Type", SnapshotDescription_Type_name, SnapshotDescription_Type_value) 741 }