public static final class SignedChaincodeDeploymentSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SignedChaincodeDeploymentSpec.Builder> implements SignedChaincodeDeploymentSpecOrBuilder
SignedChaincodeDeploymentSpec carries the CDS along with endorsementsProtobuf type
protos.SignedChaincodeDeploymentSpec
Modifier and Type | Method and Description |
---|---|
SignedChaincodeDeploymentSpec.Builder |
addAllOwnerEndorsements(Iterable<? extends Endorsement> values)
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
SignedChaincodeDeploymentSpec.Builder |
addOwnerEndorsements(Endorsement.Builder builderForValue)
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
SignedChaincodeDeploymentSpec.Builder |
addOwnerEndorsements(Endorsement value)
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
SignedChaincodeDeploymentSpec.Builder |
addOwnerEndorsements(int index,
Endorsement.Builder builderForValue)
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
SignedChaincodeDeploymentSpec.Builder |
addOwnerEndorsements(int index,
Endorsement value)
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
Endorsement.Builder |
addOwnerEndorsementsBuilder()
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
Endorsement.Builder |
addOwnerEndorsementsBuilder(int index)
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
SignedChaincodeDeploymentSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SignedChaincodeDeploymentSpec |
build() |
SignedChaincodeDeploymentSpec |
buildPartial() |
SignedChaincodeDeploymentSpec.Builder |
clear() |
SignedChaincodeDeploymentSpec.Builder |
clearChaincodeDeploymentSpec()
This is the bytes of the ChaincodeDeploymentSpec
|
SignedChaincodeDeploymentSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SignedChaincodeDeploymentSpec.Builder |
clearInstantiationPolicy()
This is the instantiation policy which is identical in structure
to endorsement policy.
|
SignedChaincodeDeploymentSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SignedChaincodeDeploymentSpec.Builder |
clearOwnerEndorsements()
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
SignedChaincodeDeploymentSpec.Builder |
clone() |
com.google.protobuf.ByteString |
getChaincodeDeploymentSpec()
This is the bytes of the ChaincodeDeploymentSpec
|
SignedChaincodeDeploymentSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
Endorsement.Builder |
getOwnerEndorsementsBuilder(int index)
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
List<Endorsement.Builder> |
getOwnerEndorsementsBuilderList()
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.
|
boolean |
isInitialized() |
SignedChaincodeDeploymentSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SignedChaincodeDeploymentSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
SignedChaincodeDeploymentSpec.Builder |
mergeFrom(SignedChaincodeDeploymentSpec other) |
SignedChaincodeDeploymentSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SignedChaincodeDeploymentSpec.Builder |
removeOwnerEndorsements(int index)
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
SignedChaincodeDeploymentSpec.Builder |
setChaincodeDeploymentSpec(com.google.protobuf.ByteString value)
This is the bytes of the ChaincodeDeploymentSpec
|
SignedChaincodeDeploymentSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SignedChaincodeDeploymentSpec.Builder |
setInstantiationPolicy(com.google.protobuf.ByteString value)
This is the instantiation policy which is identical in structure
to endorsement policy.
|
SignedChaincodeDeploymentSpec.Builder |
setOwnerEndorsements(int index,
Endorsement.Builder builderForValue)
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
SignedChaincodeDeploymentSpec.Builder |
setOwnerEndorsements(int index,
Endorsement value)
The endorsements of the above deployment spec, the owner's signature over
chaincode_deployment_spec and Endorsement.endorser.
|
SignedChaincodeDeploymentSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SignedChaincodeDeploymentSpec.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public SignedChaincodeDeploymentSpec.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<SignedChaincodeDeploymentSpec.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<SignedChaincodeDeploymentSpec.Builder>
public SignedChaincodeDeploymentSpec getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SignedChaincodeDeploymentSpec build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SignedChaincodeDeploymentSpec buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SignedChaincodeDeploymentSpec.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<SignedChaincodeDeploymentSpec.Builder>
public SignedChaincodeDeploymentSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<SignedChaincodeDeploymentSpec.Builder>
public SignedChaincodeDeploymentSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<SignedChaincodeDeploymentSpec.Builder>
public SignedChaincodeDeploymentSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<SignedChaincodeDeploymentSpec.Builder>
public SignedChaincodeDeploymentSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SignedChaincodeDeploymentSpec.Builder>
public SignedChaincodeDeploymentSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SignedChaincodeDeploymentSpec.Builder>
public SignedChaincodeDeploymentSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SignedChaincodeDeploymentSpec.Builder>
public SignedChaincodeDeploymentSpec.Builder mergeFrom(SignedChaincodeDeploymentSpec other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<SignedChaincodeDeploymentSpec.Builder>
public SignedChaincodeDeploymentSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SignedChaincodeDeploymentSpec.Builder>
IOException
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 SignedChaincodeDeploymentSpec.Builder setChaincodeDeploymentSpec(com.google.protobuf.ByteString value)
This is the bytes of the ChaincodeDeploymentSpec
bytes chaincode_deployment_spec = 1 [json_name = "chaincodeDeploymentSpec"];
value
- The chaincodeDeploymentSpec to set.public SignedChaincodeDeploymentSpec.Builder clearChaincodeDeploymentSpec()
This is the bytes of the ChaincodeDeploymentSpec
bytes chaincode_deployment_spec = 1 [json_name = "chaincodeDeploymentSpec"];
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 SignedChaincodeDeploymentSpec.Builder setInstantiationPolicy(com.google.protobuf.ByteString value)
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"];
value
- The instantiationPolicy to set.public SignedChaincodeDeploymentSpec.Builder clearInstantiationPolicy()
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"];
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 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 SignedChaincodeDeploymentSpec.Builder setOwnerEndorsements(int index, Endorsement value)
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"];
public SignedChaincodeDeploymentSpec.Builder setOwnerEndorsements(int index, Endorsement.Builder builderForValue)
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"];
public SignedChaincodeDeploymentSpec.Builder addOwnerEndorsements(Endorsement value)
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"];
public SignedChaincodeDeploymentSpec.Builder addOwnerEndorsements(int index, Endorsement value)
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"];
public SignedChaincodeDeploymentSpec.Builder addOwnerEndorsements(Endorsement.Builder builderForValue)
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"];
public SignedChaincodeDeploymentSpec.Builder addOwnerEndorsements(int index, Endorsement.Builder builderForValue)
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"];
public SignedChaincodeDeploymentSpec.Builder addAllOwnerEndorsements(Iterable<? extends Endorsement> values)
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"];
public SignedChaincodeDeploymentSpec.Builder clearOwnerEndorsements()
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"];
public SignedChaincodeDeploymentSpec.Builder removeOwnerEndorsements(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"];
public Endorsement.Builder getOwnerEndorsementsBuilder(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"];
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 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 Endorsement.Builder addOwnerEndorsementsBuilder()
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"];
public Endorsement.Builder addOwnerEndorsementsBuilder(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"];
public List<Endorsement.Builder> getOwnerEndorsementsBuilderList()
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"];
public final SignedChaincodeDeploymentSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SignedChaincodeDeploymentSpec.Builder>
public final SignedChaincodeDeploymentSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SignedChaincodeDeploymentSpec.Builder>
Copyright © 2022. All rights reserved.