github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/pingcap/go-hbase/proto/Encryption.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: Encryption.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 type WrappedKey struct { 15 Algorithm *string `protobuf:"bytes,1,req,name=algorithm" json:"algorithm,omitempty"` 16 Length *uint32 `protobuf:"varint,2,req,name=length" json:"length,omitempty"` 17 Data []byte `protobuf:"bytes,3,req,name=data" json:"data,omitempty"` 18 Iv []byte `protobuf:"bytes,4,opt,name=iv" json:"iv,omitempty"` 19 Hash []byte `protobuf:"bytes,5,opt,name=hash" json:"hash,omitempty"` 20 XXX_unrecognized []byte `json:"-"` 21 } 22 23 func (m *WrappedKey) Reset() { *m = WrappedKey{} } 24 func (m *WrappedKey) String() string { return proto1.CompactTextString(m) } 25 func (*WrappedKey) ProtoMessage() {} 26 27 func (m *WrappedKey) GetAlgorithm() string { 28 if m != nil && m.Algorithm != nil { 29 return *m.Algorithm 30 } 31 return "" 32 } 33 34 func (m *WrappedKey) GetLength() uint32 { 35 if m != nil && m.Length != nil { 36 return *m.Length 37 } 38 return 0 39 } 40 41 func (m *WrappedKey) GetData() []byte { 42 if m != nil { 43 return m.Data 44 } 45 return nil 46 } 47 48 func (m *WrappedKey) GetIv() []byte { 49 if m != nil { 50 return m.Iv 51 } 52 return nil 53 } 54 55 func (m *WrappedKey) GetHash() []byte { 56 if m != nil { 57 return m.Hash 58 } 59 return nil 60 } 61 62 func init() { 63 }