github.com/leonlxy/hyperledger@v1.0.0-alpha.0.20170427033203-34922035d248/protos/ledger/queryresult/kv_query_result.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: ledger/queryresult/kv_query_result.proto 3 // DO NOT EDIT! 4 5 /* 6 Package queryresult is a generated protocol buffer package. 7 8 It is generated from these files: 9 ledger/queryresult/kv_query_result.proto 10 11 It has these top-level messages: 12 KV 13 KeyModification 14 */ 15 package queryresult 16 17 import proto "github.com/golang/protobuf/proto" 18 import fmt "fmt" 19 import math "math" 20 import google_protobuf "github.com/golang/protobuf/ptypes/timestamp" 21 22 // Reference imports to suppress errors if they are not otherwise used. 23 var _ = proto.Marshal 24 var _ = fmt.Errorf 25 var _ = math.Inf 26 27 // This is a compile-time assertion to ensure that this generated file 28 // is compatible with the proto package it is being compiled against. 29 // A compilation error at this line likely means your copy of the 30 // proto package needs to be updated. 31 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 32 33 // KV -- QueryResult for range/execute query. Holds a key and corresponding value. 34 type KV struct { 35 Namespace string `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"` 36 Key string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"` 37 Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` 38 } 39 40 func (m *KV) Reset() { *m = KV{} } 41 func (m *KV) String() string { return proto.CompactTextString(m) } 42 func (*KV) ProtoMessage() {} 43 func (*KV) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } 44 45 // KeyModification -- QueryResult for history query. Holds a transaction ID, value, 46 // timestamp, and delete marker which resulted from a history query. 47 type KeyModification struct { 48 TxId string `protobuf:"bytes,1,opt,name=tx_id,json=txId" json:"tx_id,omitempty"` 49 Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 50 Timestamp *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp,omitempty"` 51 IsDelete bool `protobuf:"varint,4,opt,name=is_delete,json=isDelete" json:"is_delete,omitempty"` 52 } 53 54 func (m *KeyModification) Reset() { *m = KeyModification{} } 55 func (m *KeyModification) String() string { return proto.CompactTextString(m) } 56 func (*KeyModification) ProtoMessage() {} 57 func (*KeyModification) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } 58 59 func (m *KeyModification) GetTimestamp() *google_protobuf.Timestamp { 60 if m != nil { 61 return m.Timestamp 62 } 63 return nil 64 } 65 66 func init() { 67 proto.RegisterType((*KV)(nil), "queryresult.KV") 68 proto.RegisterType((*KeyModification)(nil), "queryresult.KeyModification") 69 } 70 71 func init() { proto.RegisterFile("ledger/queryresult/kv_query_result.proto", fileDescriptor0) } 72 73 var fileDescriptor0 = []byte{ 74 // 286 bytes of a gzipped FileDescriptorProto 75 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x51, 0x4f, 0x4b, 0xc3, 0x30, 76 0x1c, 0xa5, 0xdd, 0x26, 0x6b, 0x26, 0x28, 0xd1, 0x43, 0x99, 0x82, 0x65, 0xa7, 0x9e, 0x12, 0xd1, 77 0x83, 0x9e, 0xc5, 0x8b, 0x0e, 0x2f, 0x45, 0x3c, 0x78, 0x29, 0x69, 0xfb, 0x6b, 0x17, 0xda, 0x2e, 78 0x35, 0x7f, 0xc6, 0xfa, 0x39, 0xfc, 0xc2, 0x62, 0xb2, 0xd9, 0x82, 0xb7, 0xbc, 0xf7, 0x7b, 0xef, 79 0xf1, 0x78, 0x41, 0x71, 0x03, 0x45, 0x05, 0x92, 0x7e, 0x19, 0x90, 0xbd, 0x04, 0x65, 0x1a, 0x4d, 80 0xeb, 0x5d, 0x6a, 0x61, 0xea, 0x30, 0xe9, 0xa4, 0xd0, 0x02, 0x2f, 0x46, 0x92, 0xe5, 0x4d, 0x25, 81 0x44, 0xd5, 0x00, 0xb5, 0xa7, 0xcc, 0x94, 0x54, 0xf3, 0x16, 0x94, 0x66, 0x6d, 0xe7, 0xd4, 0xab, 82 0x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