{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package rwset\n\nCopyright IBM Corp. All Rights Reserved.\n\nSPDX-License-Identifier: Apache-2.0\n\n## Variables\n\n```go\nvar TxReadWriteSet_DataModel_name = map[int32]string{\n\t0: \"KV\",\n}\n```\n\n```go\nvar TxReadWriteSet_DataModel_value = map[string]int32{\n\t\"KV\": 0,\n}\n```\n\n## Types\n\n```go\ntype CollectionHashedReadWriteSet struct {\n\tCollectionName       string   `protobuf:\"bytes,1,opt,name=collection_name,json=collectionName,proto3\" json:\"collection_name,omitempty\"`\n\tHashedRwset          []byte   `protobuf:\"bytes,2,opt,name=hashed_rwset,json=hashedRwset,proto3\" json:\"hashed_rwset,omitempty\"`\n\tPvtRwsetHash         []byte   `protobuf:\"bytes,3,opt,name=pvt_rwset_hash,json=pvtRwsetHash,proto3\" json:\"pvt_rwset_hash,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nCollectionHashedReadWriteSet encapsulate the hashed representation for the private read-write set for a collection\n\n```go\nfunc (*CollectionHashedReadWriteSet) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *CollectionHashedReadWriteSet) GetCollectionName() string\n```\n\n```go\nfunc (m *CollectionHashedReadWriteSet) GetHashedRwset() []byte\n```\n\n```go\nfunc (m *CollectionHashedReadWriteSet) GetPvtRwsetHash() []byte\n```\n\n```go\nfunc (*CollectionHashedReadWriteSet) ProtoMessage()\n```\n\n```go\nfunc (m *CollectionHashedReadWriteSet) Reset()\n```\n\n```go\nfunc (m *CollectionHashedReadWriteSet) String() string\n```\n\n```go\nfunc (m *CollectionHashedReadWriteSet) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *CollectionHashedReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *CollectionHashedReadWriteSet) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *CollectionHashedReadWriteSet) XXX_Size() int\n```\n\n```go\nfunc (m *CollectionHashedReadWriteSet) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype CollectionPvtReadWriteSet struct {\n\tCollectionName       string   `protobuf:\"bytes,1,opt,name=collection_name,json=collectionName,proto3\" json:\"collection_name,omitempty\"`\n\tRwset                []byte   `protobuf:\"bytes,2,opt,name=rwset,proto3\" json:\"rwset,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nCollectionPvtReadWriteSet encapsulates the private read-write set for a collection\n\n```go\nfunc (*CollectionPvtReadWriteSet) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *CollectionPvtReadWriteSet) GetCollectionName() string\n```\n\n```go\nfunc (m *CollectionPvtReadWriteSet) GetRwset() []byte\n```\n\n```go\nfunc (*CollectionPvtReadWriteSet) ProtoMessage()\n```\n\n```go\nfunc (m *CollectionPvtReadWriteSet) Reset()\n```\n\n```go\nfunc (m *CollectionPvtReadWriteSet) String() string\n```\n\n```go\nfunc (m *CollectionPvtReadWriteSet) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *CollectionPvtReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *CollectionPvtReadWriteSet) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *CollectionPvtReadWriteSet) XXX_Size() int\n```\n\n```go\nfunc (m *CollectionPvtReadWriteSet) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DynamicCollectionHashedReadWriteSet struct {\n\t*CollectionHashedReadWriteSet\n\tDataModel TxReadWriteSet_DataModel\n}\n```\n\n```go\nfunc (dchrws *DynamicCollectionHashedReadWriteSet) StaticallyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\nfunc (dchrws *DynamicCollectionHashedReadWriteSet) StaticallyOpaqueFields() []string\n```\n\n```go\nfunc (dchrws *DynamicCollectionHashedReadWriteSet) Underlying() proto.Message\n```\n\n```go\ntype DynamicNsReadWriteSet struct {\n\t*NsReadWriteSet\n\tDataModel TxReadWriteSet_DataModel\n}\n```\n\n```go\nfunc (dnrws *DynamicNsReadWriteSet) DynamicSliceFieldProto(name string, index int, base proto.Message) (proto.Message, error)\n```\n\n```go\nfunc (dnrws *DynamicNsReadWriteSet) DynamicSliceFields() []string\n```\n\n```go\nfunc (dnrws *DynamicNsReadWriteSet) StaticallyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\nfunc (dnrws *DynamicNsReadWriteSet) StaticallyOpaqueFields() []string\n```\n\n```go\nfunc (dnrws *DynamicNsReadWriteSet) Underlying() proto.Message\n```\n\n```go\ntype NsPvtReadWriteSet struct {\n\tNamespace            string                       `protobuf:\"bytes,1,opt,name=namespace,proto3\" json:\"namespace,omitempty\"`\n\tCollectionPvtRwset   []*CollectionPvtReadWriteSet `protobuf:\"bytes,2,rep,name=collection_pvt_rwset,json=collectionPvtRwset,proto3\" json:\"collection_pvt_rwset,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}                     `json:\"-\"`\n\tXXX_unrecognized     []byte                       `json:\"-\"`\n\tXXX_sizecache        int32                        `json:\"-\"`\n}\n```\nNsPvtReadWriteSet encapsulates the private read-write set for a chaincode\n\n```go\nfunc (*NsPvtReadWriteSet) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *NsPvtReadWriteSet) GetCollectionPvtRwset() []*CollectionPvtReadWriteSet\n```\n\n```go\nfunc (m *NsPvtReadWriteSet) GetNamespace() string\n```\n\n```go\nfunc (*NsPvtReadWriteSet) ProtoMessage()\n```\n\n```go\nfunc (m *NsPvtReadWriteSet) Reset()\n```\n\n```go\nfunc (m *NsPvtReadWriteSet) String() string\n```\n\n```go\nfunc (m *NsPvtReadWriteSet) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *NsPvtReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *NsPvtReadWriteSet) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *NsPvtReadWriteSet) XXX_Size() int\n```\n\n```go\nfunc (m *NsPvtReadWriteSet) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype NsReadWriteSet struct {\n\tNamespace             string                          `protobuf:\"bytes,1,opt,name=namespace,proto3\" json:\"namespace,omitempty\"`\n\tRwset                 []byte                          `protobuf:\"bytes,2,opt,name=rwset,proto3\" json:\"rwset,omitempty\"`\n\tCollectionHashedRwset []*CollectionHashedReadWriteSet `protobuf:\"bytes,3,rep,name=collection_hashed_rwset,json=collectionHashedRwset,proto3\" json:\"collection_hashed_rwset,omitempty\"`\n\tXXX_NoUnkeyedLiteral  struct{}                        `json:\"-\"`\n\tXXX_unrecognized      []byte                          `json:\"-\"`\n\tXXX_sizecache         int32                           `json:\"-\"`\n}\n```\nNsReadWriteSet encapsulates the read-write set for a chaincode\n\n```go\nfunc (*NsReadWriteSet) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *NsReadWriteSet) GetCollectionHashedRwset() []*CollectionHashedReadWriteSet\n```\n\n```go\nfunc (m *NsReadWriteSet) GetNamespace() string\n```\n\n```go\nfunc (m *NsReadWriteSet) GetRwset() []byte\n```\n\n```go\nfunc (*NsReadWriteSet) ProtoMessage()\n```\n\n```go\nfunc (m *NsReadWriteSet) Reset()\n```\n\n```go\nfunc (m *NsReadWriteSet) String() string\n```\n\n```go\nfunc (m *NsReadWriteSet) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *NsReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *NsReadWriteSet) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *NsReadWriteSet) XXX_Size() int\n```\n\n```go\nfunc (m *NsReadWriteSet) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype TxPvtReadWriteSet struct {\n\tDataModel            TxReadWriteSet_DataModel `protobuf:\"varint,1,opt,name=data_model,json=dataModel,proto3,enum=rwset.TxReadWriteSet_DataModel\" json:\"data_model,omitempty\"`\n\tNsPvtRwset           []*NsPvtReadWriteSet     `protobuf:\"bytes,2,rep,name=ns_pvt_rwset,json=nsPvtRwset,proto3\" json:\"ns_pvt_rwset,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}                 `json:\"-\"`\n\tXXX_unrecognized     []byte                   `json:\"-\"`\n\tXXX_sizecache        int32                    `json:\"-\"`\n}\n```\nTxPvtReadWriteSet encapsulate the private read-write set for a transaction\n\n```go\nfunc (*TxPvtReadWriteSet) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *TxPvtReadWriteSet) GetDataModel() TxReadWriteSet_DataModel\n```\n\n```go\nfunc (m *TxPvtReadWriteSet) GetNsPvtRwset() []*NsPvtReadWriteSet\n```\n\n```go\nfunc (*TxPvtReadWriteSet) ProtoMessage()\n```\n\n```go\nfunc (p *TxPvtReadWriteSet) Remove(ns, coll string)\n```\nRemove removes the rwset for the given \\\u003cns, coll\u003e tuple. If after this removal, there are no more collection in the namespace \\\u003cns\u003e, the whole namespace entry is removed\n\n```go\nfunc (m *TxPvtReadWriteSet) Reset()\n```\n\n```go\nfunc (m *TxPvtReadWriteSet) String() string\n```\n\n```go\nfunc (m *TxPvtReadWriteSet) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *TxPvtReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *TxPvtReadWriteSet) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *TxPvtReadWriteSet) XXX_Size() int\n```\n\n```go\nfunc (m *TxPvtReadWriteSet) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype TxReadWriteSet struct {\n\tDataModel            TxReadWriteSet_DataModel `protobuf:\"varint,1,opt,name=data_model,json=dataModel,proto3,enum=rwset.TxReadWriteSet_DataModel\" json:\"data_model,omitempty\"`\n\tNsRwset              []*NsReadWriteSet        `protobuf:\"bytes,2,rep,name=ns_rwset,json=nsRwset,proto3\" json:\"ns_rwset,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}                 `json:\"-\"`\n\tXXX_unrecognized     []byte                   `json:\"-\"`\n\tXXX_sizecache        int32                    `json:\"-\"`\n}\n```\nTxReadWriteSet encapsulates a read-write set for a transaction DataModel specifies the enum value of the data model ns\\_rwset field specifies a list of chaincode specific read-write set (one for each chaincode)\n\n```go\nfunc (*TxReadWriteSet) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (txrws *TxReadWriteSet) DynamicSliceFieldProto(name string, index int, base proto.Message) (proto.Message, error)\n```\n\n```go\nfunc (txrws *TxReadWriteSet) DynamicSliceFields() []string\n```\n\n```go\nfunc (m *TxReadWriteSet) GetDataModel() TxReadWriteSet_DataModel\n```\n\n```go\nfunc (m *TxReadWriteSet) GetNsRwset() []*NsReadWriteSet\n```\n\n```go\nfunc (*TxReadWriteSet) ProtoMessage()\n```\n\n```go\nfunc (m *TxReadWriteSet) Reset()\n```\n\n```go\nfunc (m *TxReadWriteSet) String() string\n```\n\n```go\nfunc (m *TxReadWriteSet) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *TxReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *TxReadWriteSet) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *TxReadWriteSet) XXX_Size() int\n```\n\n```go\nfunc (m *TxReadWriteSet) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype TxReadWriteSet_DataModel int32\n```\n\n```go\nconst (\n\tTxReadWriteSet_KV TxReadWriteSet_DataModel = 0\n)\n```\n\n```go\nfunc (TxReadWriteSet_DataModel) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x TxReadWriteSet_DataModel) String() string\n```\n\n","path":"github.com/eric-erki/https-hyperledger.org/protos/ledger/rwset","name":"rwset","synopsis":"","isRedistributable":true}
