6 Star 46 Fork 28

Hyperledger/fabric

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
kv_query_result.pb.go 5.06 KB
一键复制 编辑 原始数据 按行查看 历史
Artem Barger 提交于 2017-09-14 15:42 . [FAB-6169] Update proto files
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: ledger/queryresult/kv_query_result.proto
/*
Package queryresult is a generated protocol buffer package.
It is generated from these files:
ledger/queryresult/kv_query_result.proto
It has these top-level messages:
KV
KeyModification
*/
package queryresult
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// KV -- QueryResult for range/execute query. Holds a key and corresponding value.
type KV struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"`
Key string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
}
func (m *KV) Reset() { *m = KV{} }
func (m *KV) String() string { return proto.CompactTextString(m) }
func (*KV) ProtoMessage() {}
func (*KV) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *KV) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *KV) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
func (m *KV) GetValue() []byte {
if m != nil {
return m.Value
}
return nil
}
// KeyModification -- QueryResult for history query. Holds a transaction ID, value,
// timestamp, and delete marker which resulted from a history query.
type KeyModification struct {
TxId string `protobuf:"bytes,1,opt,name=tx_id,json=txId" json:"tx_id,omitempty"`
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp,omitempty"`
IsDelete bool `protobuf:"varint,4,opt,name=is_delete,json=isDelete" json:"is_delete,omitempty"`
}
func (m *KeyModification) Reset() { *m = KeyModification{} }
func (m *KeyModification) String() string { return proto.CompactTextString(m) }
func (*KeyModification) ProtoMessage() {}
func (*KeyModification) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *KeyModification) GetTxId() string {
if m != nil {
return m.TxId
}
return ""
}
func (m *KeyModification) GetValue() []byte {
if m != nil {
return m.Value
}
return nil
}
func (m *KeyModification) GetTimestamp() *google_protobuf.Timestamp {
if m != nil {
return m.Timestamp
}
return nil
}
func (m *KeyModification) GetIsDelete() bool {
if m != nil {
return m.IsDelete
}
return false
}
func init() {
proto.RegisterType((*KV)(nil), "queryresult.KV")
proto.RegisterType((*KeyModification)(nil), "queryresult.KeyModification")
}
func init() { proto.RegisterFile("ledger/queryresult/kv_query_result.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 286 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x51, 0x4f, 0x4b, 0xc3, 0x30,
0x1c, 0xa5, 0xdd, 0x26, 0x6b, 0x26, 0x28, 0xd1, 0x43, 0x99, 0x82, 0x65, 0xa7, 0x9e, 0x12, 0xd1,
0x83, 0x9e, 0xc5, 0x8b, 0x0e, 0x2f, 0x45, 0x3c, 0x78, 0x29, 0x69, 0xfb, 0x6b, 0x17, 0xda, 0x2e,
0x35, 0x7f, 0xc6, 0xfa, 0x39, 0xfc, 0xc2, 0x62, 0xb2, 0xd9, 0x82, 0xb7, 0xbc, 0xf7, 0x7b, 0xef,
0xf1, 0x78, 0x41, 0x71, 0x03, 0x45, 0x05, 0x92, 0x7e, 0x19, 0x90, 0xbd, 0x04, 0x65, 0x1a, 0x4d,
0xeb, 0x5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 0xbf, 0x24, 0x3b, 0xb1, 0xa7, 0xfb,
0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa2, 0xb7, 0x3e, 0x86, 0xaf, 0x01, 0x00, 0x00,
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hyperledger/fabric.git
git@gitee.com:hyperledger/fabric.git
hyperledger
fabric
fabric
v1.1.0-preview

搜索帮助

0d507c66 1850385 C8b1a773 1850385