public final class ChaincodeData extends com.google.protobuf.GeneratedMessageV3 implements ChaincodeDataOrBuilder
ChaincodeData defines the datastructure for chaincodes to be serialized by proto Type provides an additional check by directing to use a specific package after instantiation Data is Type specific (see CDSPackage and SignedCDSPackage)Protobuf type
protos.ChaincodeData
Modifier and Type | Class and Description |
---|---|
static class |
ChaincodeData.Builder
ChaincodeData defines the datastructure for chaincodes to be serialized by proto
Type provides an additional check by directing to use a specific package after instantiation
Data is Type specific (see CDSPackage and SignedCDSPackage)
|
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_FIELD_NUMBER |
static int |
ESCC_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
INSTANTIATION_POLICY_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
POLICY_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
static int |
VSCC_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
com.google.protobuf.ByteString |
getData()
Data data specific to the package
|
static ChaincodeData |
getDefaultInstance() |
ChaincodeData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEscc()
Escc for the chaincode instance
|
com.google.protobuf.ByteString |
getEsccBytes()
Escc for the chaincode instance
|
com.google.protobuf.ByteString |
getId()
Id of the chaincode that's the unique fingerprint for the CC This is not
currently used anywhere but serves as a good eyecatcher
|
SignaturePolicyEnvelope |
getInstantiationPolicy()
InstantiationPolicy for the chaincode
|
SignaturePolicyEnvelopeOrBuilder |
getInstantiationPolicyOrBuilder()
InstantiationPolicy for the chaincode
|
String |
getName()
Name of the chaincode
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the chaincode
|
com.google.protobuf.Parser<ChaincodeData> |
getParserForType() |
SignaturePolicyEnvelope |
getPolicy()
Policy endorsement policy for the chaincode instance
|
SignaturePolicyEnvelopeOrBuilder |
getPolicyOrBuilder()
Policy endorsement policy for the chaincode instance
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVersion()
Version of the chaincode
|
com.google.protobuf.ByteString |
getVersionBytes()
Version of the chaincode
|
String |
getVscc()
Vscc for the chaincode instance
|
com.google.protobuf.ByteString |
getVsccBytes()
Vscc for the chaincode instance
|
int |
hashCode() |
boolean |
hasInstantiationPolicy()
InstantiationPolicy for the chaincode
|
boolean |
hasPolicy()
Policy endorsement policy for the chaincode instance
|
boolean |
isInitialized() |
static ChaincodeData.Builder |
newBuilder() |
static ChaincodeData.Builder |
newBuilder(ChaincodeData prototype) |
ChaincodeData.Builder |
newBuilderForType() |
static ChaincodeData |
parseDelimitedFrom(InputStream input) |
static ChaincodeData |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeData |
parseFrom(byte[] data) |
static ChaincodeData |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeData |
parseFrom(ByteBuffer data) |
static ChaincodeData |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeData |
parseFrom(com.google.protobuf.ByteString data) |
static ChaincodeData |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeData |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ChaincodeData |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeData |
parseFrom(InputStream input) |
static ChaincodeData |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ChaincodeData> |
parser() |
ChaincodeData.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 NAME_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int ESCC_FIELD_NUMBER
public static final int VSCC_FIELD_NUMBER
public static final int POLICY_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int INSTANTIATION_POLICY_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 String getName()
Name of the chaincode
string name = 1 [json_name = "name"];
getName
in interface ChaincodeDataOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Name of the chaincode
string name = 1 [json_name = "name"];
getNameBytes
in interface ChaincodeDataOrBuilder
public String getVersion()
Version of the chaincode
string version = 2 [json_name = "version"];
getVersion
in interface ChaincodeDataOrBuilder
public com.google.protobuf.ByteString getVersionBytes()
Version of the chaincode
string version = 2 [json_name = "version"];
getVersionBytes
in interface ChaincodeDataOrBuilder
public String getEscc()
Escc for the chaincode instance
string escc = 3 [json_name = "escc"];
getEscc
in interface ChaincodeDataOrBuilder
public com.google.protobuf.ByteString getEsccBytes()
Escc for the chaincode instance
string escc = 3 [json_name = "escc"];
getEsccBytes
in interface ChaincodeDataOrBuilder
public String getVscc()
Vscc for the chaincode instance
string vscc = 4 [json_name = "vscc"];
getVscc
in interface ChaincodeDataOrBuilder
public com.google.protobuf.ByteString getVsccBytes()
Vscc for the chaincode instance
string vscc = 4 [json_name = "vscc"];
getVsccBytes
in interface ChaincodeDataOrBuilder
public boolean hasPolicy()
Policy endorsement policy for the chaincode instance
.common.SignaturePolicyEnvelope policy = 5 [json_name = "policy"];
hasPolicy
in interface ChaincodeDataOrBuilder
public SignaturePolicyEnvelope getPolicy()
Policy endorsement policy for the chaincode instance
.common.SignaturePolicyEnvelope policy = 5 [json_name = "policy"];
getPolicy
in interface ChaincodeDataOrBuilder
public SignaturePolicyEnvelopeOrBuilder getPolicyOrBuilder()
Policy endorsement policy for the chaincode instance
.common.SignaturePolicyEnvelope policy = 5 [json_name = "policy"];
getPolicyOrBuilder
in interface ChaincodeDataOrBuilder
public com.google.protobuf.ByteString getData()
Data data specific to the package
bytes data = 6 [json_name = "data"];
getData
in interface ChaincodeDataOrBuilder
public com.google.protobuf.ByteString getId()
Id of the chaincode that's the unique fingerprint for the CC This is not currently used anywhere but serves as a good eyecatcher
bytes id = 7 [json_name = "id"];
getId
in interface ChaincodeDataOrBuilder
public boolean hasInstantiationPolicy()
InstantiationPolicy for the chaincode
.common.SignaturePolicyEnvelope instantiation_policy = 8 [json_name = "instantiationPolicy"];
hasInstantiationPolicy
in interface ChaincodeDataOrBuilder
public SignaturePolicyEnvelope getInstantiationPolicy()
InstantiationPolicy for the chaincode
.common.SignaturePolicyEnvelope instantiation_policy = 8 [json_name = "instantiationPolicy"];
getInstantiationPolicy
in interface ChaincodeDataOrBuilder
public SignaturePolicyEnvelopeOrBuilder getInstantiationPolicyOrBuilder()
InstantiationPolicy for the chaincode
.common.SignaturePolicyEnvelope instantiation_policy = 8 [json_name = "instantiationPolicy"];
getInstantiationPolicyOrBuilder
in interface ChaincodeDataOrBuilder
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 ChaincodeData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeData parseFrom(InputStream input) throws IOException
IOException
public static ChaincodeData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ChaincodeData parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ChaincodeData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ChaincodeData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ChaincodeData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ChaincodeData.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ChaincodeData.Builder newBuilder()
public static ChaincodeData.Builder newBuilder(ChaincodeData prototype)
public ChaincodeData.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static ChaincodeData getDefaultInstance()
public static com.google.protobuf.Parser<ChaincodeData> parser()
public com.google.protobuf.Parser<ChaincodeData> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ChaincodeData getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.