public final class SignedChaincodeDeploymentSpec extends com.google.protobuf.GeneratedMessageV3 implements SignedChaincodeDeploymentSpecOrBuilder
SignedChaincodeDeploymentSpec carries the CDS along with endorsementsProtobuf type
protos.SignedChaincodeDeploymentSpec
Modifier and Type | Class and Description |
---|---|
static class |
SignedChaincodeDeploymentSpec.Builder
SignedChaincodeDeploymentSpec carries the CDS along with endorsements
|
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 |
CHAINCODE_DEPLOYMENT_SPEC_FIELD_NUMBER |
static int |
INSTANTIATION_POLICY_FIELD_NUMBER |
static int |
OWNER_ENDORSEMENTS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
com.google.protobuf.ByteString |
getChaincodeDeploymentSpec()
This is the bytes of the ChaincodeDeploymentSpec
|
static SignedChaincodeDeploymentSpec |
getDefaultInstance() |
SignedChaincodeDeploymentSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getInstantiationPolicy()
This is the instantiation policy which is identical in structure
to endorsement policy.
|
Endorsement |
getOwnerEndorsements(int index)
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
int |
getOwnerEndorsementsCount()
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
List<Endorsement> |
getOwnerEndorsementsList()
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
EndorsementOrBuilder |
getOwnerEndorsementsOrBuilder(int index)
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
List<? extends EndorsementOrBuilder> |
getOwnerEndorsementsOrBuilderList()
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
com.google.protobuf.Parser<SignedChaincodeDeploymentSpec> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
isInitialized() |
static SignedChaincodeDeploymentSpec.Builder |
newBuilder() |
static SignedChaincodeDeploymentSpec.Builder |
newBuilder(SignedChaincodeDeploymentSpec prototype) |
SignedChaincodeDeploymentSpec.Builder |
newBuilderForType() |
static SignedChaincodeDeploymentSpec |
parseDelimitedFrom(InputStream input) |
static SignedChaincodeDeploymentSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SignedChaincodeDeploymentSpec |
parseFrom(byte[] data) |
static SignedChaincodeDeploymentSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SignedChaincodeDeploymentSpec |
parseFrom(ByteBuffer data) |
static SignedChaincodeDeploymentSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SignedChaincodeDeploymentSpec |
parseFrom(com.google.protobuf.ByteString data) |
static SignedChaincodeDeploymentSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SignedChaincodeDeploymentSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SignedChaincodeDeploymentSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SignedChaincodeDeploymentSpec |
parseFrom(InputStream input) |
static SignedChaincodeDeploymentSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SignedChaincodeDeploymentSpec> |
parser() |
SignedChaincodeDeploymentSpec.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 CHAINCODE_DEPLOYMENT_SPEC_FIELD_NUMBER
public static final int INSTANTIATION_POLICY_FIELD_NUMBER
public static final int OWNER_ENDORSEMENTS_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 com.google.protobuf.ByteString getChaincodeDeploymentSpec()
This is the bytes of the ChaincodeDeploymentSpec
bytes chaincode_deployment_spec = 1 [json_name = "chaincodeDeploymentSpec"];
getChaincodeDeploymentSpec
in interface SignedChaincodeDeploymentSpecOrBuilder
public com.google.protobuf.ByteString getInstantiationPolicy()
This is the instantiation policy which is identical in structure to endorsement policy. This policy is checked by the VSCC at commit time on the instantiation (all peers will get the same policy as it will be part of the LSCC instantation record and will be part of the hash as well)
bytes instantiation_policy = 2 [json_name = "instantiationPolicy"];
getInstantiationPolicy
in interface SignedChaincodeDeploymentSpecOrBuilder
public List<Endorsement> getOwnerEndorsementsList()
The endorsements of the above deployment spec, the owner's signature over chaincode_deployment_spec and Endorsement.endorser.
repeated .protos.Endorsement owner_endorsements = 3 [json_name = "ownerEndorsements"];
getOwnerEndorsementsList
in interface SignedChaincodeDeploymentSpecOrBuilder
public List<? extends EndorsementOrBuilder> getOwnerEndorsementsOrBuilderList()
The endorsements of the above deployment spec, the owner's signature over chaincode_deployment_spec and Endorsement.endorser.
repeated .protos.Endorsement owner_endorsements = 3 [json_name = "ownerEndorsements"];
getOwnerEndorsementsOrBuilderList
in interface SignedChaincodeDeploymentSpecOrBuilder
public int getOwnerEndorsementsCount()
The endorsements of the above deployment spec, the owner's signature over chaincode_deployment_spec and Endorsement.endorser.
repeated .protos.Endorsement owner_endorsements = 3 [json_name = "ownerEndorsements"];
getOwnerEndorsementsCount
in interface SignedChaincodeDeploymentSpecOrBuilder
public Endorsement getOwnerEndorsements(int index)
The endorsements of the above deployment spec, the owner's signature over chaincode_deployment_spec and Endorsement.endorser.
repeated .protos.Endorsement owner_endorsements = 3 [json_name = "ownerEndorsements"];
getOwnerEndorsements
in interface SignedChaincodeDeploymentSpecOrBuilder
public EndorsementOrBuilder getOwnerEndorsementsOrBuilder(int index)
The endorsements of the above deployment spec, the owner's signature over chaincode_deployment_spec and Endorsement.endorser.
repeated .protos.Endorsement owner_endorsements = 3 [json_name = "ownerEndorsements"];
getOwnerEndorsementsOrBuilder
in interface SignedChaincodeDeploymentSpecOrBuilder
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 SignedChaincodeDeploymentSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SignedChaincodeDeploymentSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SignedChaincodeDeploymentSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SignedChaincodeDeploymentSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SignedChaincodeDeploymentSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SignedChaincodeDeploymentSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SignedChaincodeDeploymentSpec parseFrom(InputStream input) throws IOException
IOException
public static SignedChaincodeDeploymentSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static SignedChaincodeDeploymentSpec parseDelimitedFrom(InputStream input) throws IOException
IOException
public static SignedChaincodeDeploymentSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static SignedChaincodeDeploymentSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static SignedChaincodeDeploymentSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public SignedChaincodeDeploymentSpec.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static SignedChaincodeDeploymentSpec.Builder newBuilder()
public static SignedChaincodeDeploymentSpec.Builder newBuilder(SignedChaincodeDeploymentSpec prototype)
public SignedChaincodeDeploymentSpec.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static SignedChaincodeDeploymentSpec getDefaultInstance()
public static com.google.protobuf.Parser<SignedChaincodeDeploymentSpec> parser()
public com.google.protobuf.Parser<SignedChaincodeDeploymentSpec> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public SignedChaincodeDeploymentSpec getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.