org.hyperledger.fabric.protos.peer.SignedChaincodeDeploymentSpecOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: peer/signed_cc_dep_spec.proto
package org.hyperledger.fabric.protos.peer;
public interface SignedChaincodeDeploymentSpecOrBuilder extends
// @@protoc_insertion_point(interface_extends:protos.SignedChaincodeDeploymentSpec)
com.google.protobuf.MessageOrBuilder {
/**
*
* This is the bytes of the ChaincodeDeploymentSpec
*
*
* bytes chaincode_deployment_spec = 1 [json_name = "chaincodeDeploymentSpec"];
* @return The chaincodeDeploymentSpec.
*/
com.google.protobuf.ByteString getChaincodeDeploymentSpec();
/**
*
* 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"];
* @return The instantiationPolicy.
*/
com.google.protobuf.ByteString getInstantiationPolicy();
/**
*
* 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"];
*/
java.util.List
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"];
*/
org.hyperledger.fabric.protos.peer.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"];
*/
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"];
*/
java.util.List
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"];
*/
org.hyperledger.fabric.protos.peer.EndorsementOrBuilder getOwnerEndorsementsOrBuilder(
int index);
}