public final class TxReadWriteSet extends com.google.protobuf.GeneratedMessageV3 implements TxReadWriteSetOrBuilder
TxReadWriteSet 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)Protobuf type
rwset.TxReadWriteSet
Modifier and Type | Class and Description |
---|---|
static class |
TxReadWriteSet.Builder
TxReadWriteSet 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)
|
static class |
TxReadWriteSet.DataModel
Protobuf enum
rwset.TxReadWriteSet.DataModel |
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
DATA_MODEL_FIELD_NUMBER |
static int |
NS_RWSET_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
TxReadWriteSet.DataModel |
getDataModel()
.rwset.TxReadWriteSet.DataModel data_model = 1 [json_name = "dataModel"]; |
int |
getDataModelValue()
.rwset.TxReadWriteSet.DataModel data_model = 1 [json_name = "dataModel"]; |
static TxReadWriteSet |
getDefaultInstance() |
TxReadWriteSet |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
NsReadWriteSet |
getNsRwset(int index)
repeated .rwset.NsReadWriteSet ns_rwset = 2 [json_name = "nsRwset"]; |
int |
getNsRwsetCount()
repeated .rwset.NsReadWriteSet ns_rwset = 2 [json_name = "nsRwset"]; |
List<NsReadWriteSet> |
getNsRwsetList()
repeated .rwset.NsReadWriteSet ns_rwset = 2 [json_name = "nsRwset"]; |
NsReadWriteSetOrBuilder |
getNsRwsetOrBuilder(int index)
repeated .rwset.NsReadWriteSet ns_rwset = 2 [json_name = "nsRwset"]; |
List<? extends NsReadWriteSetOrBuilder> |
getNsRwsetOrBuilderList()
repeated .rwset.NsReadWriteSet ns_rwset = 2 [json_name = "nsRwset"]; |
com.google.protobuf.Parser<TxReadWriteSet> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
isInitialized() |
static TxReadWriteSet.Builder |
newBuilder() |
static TxReadWriteSet.Builder |
newBuilder(TxReadWriteSet prototype) |
TxReadWriteSet.Builder |
newBuilderForType() |
static TxReadWriteSet |
parseDelimitedFrom(InputStream input) |
static TxReadWriteSet |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TxReadWriteSet |
parseFrom(byte[] data) |
static TxReadWriteSet |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TxReadWriteSet |
parseFrom(ByteBuffer data) |
static TxReadWriteSet |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TxReadWriteSet |
parseFrom(com.google.protobuf.ByteString data) |
static TxReadWriteSet |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TxReadWriteSet |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TxReadWriteSet |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TxReadWriteSet |
parseFrom(InputStream input) |
static TxReadWriteSet |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TxReadWriteSet> |
parser() |
TxReadWriteSet.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
findInitializationErrors, getInitializationErrorString, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int DATA_MODEL_FIELD_NUMBER
public static final int NS_RWSET_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public int getDataModelValue()
.rwset.TxReadWriteSet.DataModel data_model = 1 [json_name = "dataModel"];
getDataModelValue
in interface TxReadWriteSetOrBuilder
public TxReadWriteSet.DataModel getDataModel()
.rwset.TxReadWriteSet.DataModel data_model = 1 [json_name = "dataModel"];
getDataModel
in interface TxReadWriteSetOrBuilder
public List<NsReadWriteSet> getNsRwsetList()
repeated .rwset.NsReadWriteSet ns_rwset = 2 [json_name = "nsRwset"];
getNsRwsetList
in interface TxReadWriteSetOrBuilder
public List<? extends NsReadWriteSetOrBuilder> getNsRwsetOrBuilderList()
repeated .rwset.NsReadWriteSet ns_rwset = 2 [json_name = "nsRwset"];
getNsRwsetOrBuilderList
in interface TxReadWriteSetOrBuilder
public int getNsRwsetCount()
repeated .rwset.NsReadWriteSet ns_rwset = 2 [json_name = "nsRwset"];
getNsRwsetCount
in interface TxReadWriteSetOrBuilder
public NsReadWriteSet getNsRwset(int index)
repeated .rwset.NsReadWriteSet ns_rwset = 2 [json_name = "nsRwset"];
getNsRwset
in interface TxReadWriteSetOrBuilder
public NsReadWriteSetOrBuilder getNsRwsetOrBuilder(int index)
repeated .rwset.NsReadWriteSet ns_rwset = 2 [json_name = "nsRwset"];
getNsRwsetOrBuilder
in interface TxReadWriteSetOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static TxReadWriteSet parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TxReadWriteSet parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TxReadWriteSet parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TxReadWriteSet parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TxReadWriteSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TxReadWriteSet parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TxReadWriteSet parseFrom(InputStream input) throws IOException
IOException
public static TxReadWriteSet parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TxReadWriteSet parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TxReadWriteSet parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TxReadWriteSet parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static TxReadWriteSet parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public TxReadWriteSet.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TxReadWriteSet.Builder newBuilder()
public static TxReadWriteSet.Builder newBuilder(TxReadWriteSet prototype)
public TxReadWriteSet.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static TxReadWriteSet getDefaultInstance()
public static com.google.protobuf.Parser<TxReadWriteSet> parser()
public com.google.protobuf.Parser<TxReadWriteSet> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public TxReadWriteSet getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.