github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/pingcap/go-hbase/proto/HFile.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: HFile.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 // Map of name/values 15 type FileInfoProto struct { 16 MapEntry []*BytesBytesPair `protobuf:"bytes,1,rep,name=map_entry" json:"map_entry,omitempty"` 17 XXX_unrecognized []byte `json:"-"` 18 } 19 20 func (m *FileInfoProto) Reset() { *m = FileInfoProto{} } 21 func (m *FileInfoProto) String() string { return proto1.CompactTextString(m) } 22 func (*FileInfoProto) ProtoMessage() {} 23 24 func (m *FileInfoProto) GetMapEntry() []*BytesBytesPair { 25 if m != nil { 26 return m.MapEntry 27 } 28 return nil 29 } 30 31 // HFile file trailer 32 type FileTrailerProto struct { 33 FileInfoOffset *uint64 `protobuf:"varint,1,opt,name=file_info_offset" json:"file_info_offset,omitempty"` 34 LoadOnOpenDataOffset *uint64 `protobuf:"varint,2,opt,name=load_on_open_data_offset" json:"load_on_open_data_offset,omitempty"` 35 UncompressedDataIndexSize *uint64 `protobuf:"varint,3,opt,name=uncompressed_data_index_size" json:"uncompressed_data_index_size,omitempty"` 36 TotalUncompressedBytes *uint64 `protobuf:"varint,4,opt,name=total_uncompressed_bytes" json:"total_uncompressed_bytes,omitempty"` 37 DataIndexCount *uint32 `protobuf:"varint,5,opt,name=data_index_count" json:"data_index_count,omitempty"` 38 MetaIndexCount *uint32 `protobuf:"varint,6,opt,name=meta_index_count" json:"meta_index_count,omitempty"` 39 EntryCount *uint64 `protobuf:"varint,7,opt,name=entry_count" json:"entry_count,omitempty"` 40 NumDataIndexLevels *uint32 `protobuf:"varint,8,opt,name=num_data_index_levels" json:"num_data_index_levels,omitempty"` 41 FirstDataBlockOffset *uint64 `protobuf:"varint,9,opt,name=first_data_block_offset" json:"first_data_block_offset,omitempty"` 42 LastDataBlockOffset *uint64 `protobuf:"varint,10,opt,name=last_data_block_offset" json:"last_data_block_offset,omitempty"` 43 ComparatorClassName *string `protobuf:"bytes,11,opt,name=comparator_class_name" json:"comparator_class_name,omitempty"` 44 CompressionCodec *uint32 `protobuf:"varint,12,opt,name=compression_codec" json:"compression_codec,omitempty"` 45 EncryptionKey []byte `protobuf:"bytes,13,opt,name=encryption_key" json:"encryption_key,omitempty"` 46 XXX_unrecognized []byte `json:"-"` 47 } 48 49 func (m *FileTrailerProto) Reset() { *m = FileTrailerProto{} } 50 func (m *FileTrailerProto) String() string { return proto1.CompactTextString(m) } 51 func (*FileTrailerProto) ProtoMessage() {} 52 53 func (m *FileTrailerProto) GetFileInfoOffset() uint64 { 54 if m != nil && m.FileInfoOffset != nil { 55 return *m.FileInfoOffset 56 } 57 return 0 58 } 59 60 func (m *FileTrailerProto) GetLoadOnOpenDataOffset() uint64 { 61 if m != nil && m.LoadOnOpenDataOffset != nil { 62 return *m.LoadOnOpenDataOffset 63 } 64 return 0 65 } 66 67 func (m *FileTrailerProto) GetUncompressedDataIndexSize() uint64 { 68 if m != nil && m.UncompressedDataIndexSize != nil { 69 return *m.UncompressedDataIndexSize 70 } 71 return 0 72 } 73 74 func (m *FileTrailerProto) GetTotalUncompressedBytes() uint64 { 75 if m != nil && m.TotalUncompressedBytes != nil { 76 return *m.TotalUncompressedBytes 77 } 78 return 0 79 } 80 81 func (m *FileTrailerProto) GetDataIndexCount() uint32 { 82 if m != nil && m.DataIndexCount != nil { 83 return *m.DataIndexCount 84 } 85 return 0 86 } 87 88 func (m *FileTrailerProto) GetMetaIndexCount() uint32 { 89 if m != nil && m.MetaIndexCount != nil { 90 return *m.MetaIndexCount 91 } 92 return 0 93 } 94 95 func (m *FileTrailerProto) GetEntryCount() uint64 { 96 if m != nil && m.EntryCount != nil { 97 return *m.EntryCount 98 } 99 return 0 100 } 101 102 func (m *FileTrailerProto) GetNumDataIndexLevels() uint32 { 103 if m != nil && m.NumDataIndexLevels != nil { 104 return *m.NumDataIndexLevels 105 } 106 return 0 107 } 108 109 func (m *FileTrailerProto) GetFirstDataBlockOffset() uint64 { 110 if m != nil && m.FirstDataBlockOffset != nil { 111 return *m.FirstDataBlockOffset 112 } 113 return 0 114 } 115 116 func (m *FileTrailerProto) GetLastDataBlockOffset() uint64 { 117 if m != nil && m.LastDataBlockOffset != nil { 118 return *m.LastDataBlockOffset 119 } 120 return 0 121 } 122 123 func (m *FileTrailerProto) GetComparatorClassName() string { 124 if m != nil && m.ComparatorClassName != nil { 125 return *m.ComparatorClassName 126 } 127 return "" 128 } 129 130 func (m *FileTrailerProto) GetCompressionCodec() uint32 { 131 if m != nil && m.CompressionCodec != nil { 132 return *m.CompressionCodec 133 } 134 return 0 135 } 136 137 func (m *FileTrailerProto) GetEncryptionKey() []byte { 138 if m != nil { 139 return m.EncryptionKey 140 } 141 return nil 142 } 143 144 func init() { 145 }