org.hyperledger.fabric.protos.peer.ChaincodeDataOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: peer/chaincode.proto
// Protobuf Java Version: 4.28.2
package org.hyperledger.fabric.protos.peer;
public interface ChaincodeDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:protos.ChaincodeData)
com.google.protobuf.MessageOrBuilder {
/**
*
* Name of the chaincode
*
*
* string name = 1 [json_name = "name"];
* @return The name.
*/
java.lang.String getName();
/**
*
* Name of the chaincode
*
*
* string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Version of the chaincode
*
*
* string version = 2 [json_name = "version"];
* @return The version.
*/
java.lang.String getVersion();
/**
*
* Version of the chaincode
*
*
* string version = 2 [json_name = "version"];
* @return The bytes for version.
*/
com.google.protobuf.ByteString
getVersionBytes();
/**
*
* Escc for the chaincode instance
*
*
* string escc = 3 [json_name = "escc"];
* @return The escc.
*/
java.lang.String getEscc();
/**
*
* Escc for the chaincode instance
*
*
* string escc = 3 [json_name = "escc"];
* @return The bytes for escc.
*/
com.google.protobuf.ByteString
getEsccBytes();
/**
*
* Vscc for the chaincode instance
*
*
* string vscc = 4 [json_name = "vscc"];
* @return The vscc.
*/
java.lang.String getVscc();
/**
*
* Vscc for the chaincode instance
*
*
* string vscc = 4 [json_name = "vscc"];
* @return The bytes for vscc.
*/
com.google.protobuf.ByteString
getVsccBytes();
/**
*
* Policy endorsement policy for the chaincode instance
*
*
* .common.SignaturePolicyEnvelope policy = 5 [json_name = "policy"];
* @return Whether the policy field is set.
*/
boolean hasPolicy();
/**
*
* Policy endorsement policy for the chaincode instance
*
*
* .common.SignaturePolicyEnvelope policy = 5 [json_name = "policy"];
* @return The policy.
*/
org.hyperledger.fabric.protos.common.SignaturePolicyEnvelope getPolicy();
/**
*
* Policy endorsement policy for the chaincode instance
*
*
* .common.SignaturePolicyEnvelope policy = 5 [json_name = "policy"];
*/
org.hyperledger.fabric.protos.common.SignaturePolicyEnvelopeOrBuilder getPolicyOrBuilder();
/**
*
* Data data specific to the package
*
*
* bytes data = 6 [json_name = "data"];
* @return The data.
*/
com.google.protobuf.ByteString getData();
/**
*
* 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"];
* @return The id.
*/
com.google.protobuf.ByteString getId();
/**
*
* InstantiationPolicy for the chaincode
*
*
* .common.SignaturePolicyEnvelope instantiation_policy = 8 [json_name = "instantiationPolicy"];
* @return Whether the instantiationPolicy field is set.
*/
boolean hasInstantiationPolicy();
/**
*
* InstantiationPolicy for the chaincode
*
*
* .common.SignaturePolicyEnvelope instantiation_policy = 8 [json_name = "instantiationPolicy"];
* @return The instantiationPolicy.
*/
org.hyperledger.fabric.protos.common.SignaturePolicyEnvelope getInstantiationPolicy();
/**
*
* InstantiationPolicy for the chaincode
*
*
* .common.SignaturePolicyEnvelope instantiation_policy = 8 [json_name = "instantiationPolicy"];
*/
org.hyperledger.fabric.protos.common.SignaturePolicyEnvelopeOrBuilder getInstantiationPolicyOrBuilder();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy