/** * <code>repeated .protos.ChaincodeInfo chaincodes = 1;</code> */ public org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo.Builder addChaincodesBuilder() { return getChaincodesFieldBuilder().addBuilder( org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo.getDefaultInstance()); } /**
/** * <code>repeated .protos.ChaincodeInfo chaincodes = 1;</code> */ public org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo.Builder addChaincodesBuilder( int index) { return getChaincodesFieldBuilder().addBuilder( index, org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo.getDefaultInstance()); } /**
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo other) { if (other == org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_;
/** * <pre> * the name of the ESCC for this chaincode. This will be * blank if the query is returning information about installed chaincodes. * </pre> * * <code>optional string escc = 5;</code> */ public Builder clearEscc() { escc_ = getDefaultInstance().getEscc(); onChanged(); return this; } /**
/** * <code>optional string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>repeated .protos.ChaincodeInfo chaincodes = 1;</code> */ public org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo.Builder addChaincodesBuilder( int index) { return getChaincodesFieldBuilder().addBuilder( index, org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo.getDefaultInstance()); } /**
/** * <code>repeated .protos.ChaincodeInfo chaincodes = 1;</code> */ public org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo.Builder addChaincodesBuilder() { return getChaincodesFieldBuilder().addBuilder( org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo.getDefaultInstance()); } /**
/** * <code>optional string version = 2;</code> */ public Builder clearVersion() { version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /**
/** * <code>repeated .protos.ChaincodeInfo chaincodes = 1;</code> */ public org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo.Builder addChaincodesBuilder( int index) { return getChaincodesFieldBuilder().addBuilder( index, org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo.getDefaultInstance()); } /**
/** * <code>optional string version = 2;</code> */ public Builder clearVersion() { version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /**
/** * <code>repeated .protos.ChaincodeInfo chaincodes = 1;</code> */ public org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo.Builder addChaincodesBuilder() { return getChaincodesFieldBuilder().addBuilder( org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo.getDefaultInstance()); } /**
/** * <code>optional string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <pre> * the chaincode unique id. * computed as: H( * H(name || version) || * H(CodePackage) * ) * </pre> * * <code>optional bytes id = 7;</code> */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } public final Builder setUnknownFields(
/** * <pre> * the chaincode function upon instantiation and its arguments. This will be * blank if the query is returning information about installed chaincodes. * </pre> * * <code>optional string input = 4;</code> */ public Builder clearInput() { input_ = getDefaultInstance().getInput(); onChanged(); return this; } /**
/** * <pre> * the name of the VSCC for this chaincode. This will be * blank if the query is returning information about installed chaincodes. * </pre> * * <code>optional string vscc = 6;</code> */ public Builder clearVscc() { vscc_ = getDefaultInstance().getVscc(); onChanged(); return this; } /**
/** * <pre> * the name of the ESCC for this chaincode. This will be * blank if the query is returning information about installed chaincodes. * </pre> * * <code>optional string escc = 5;</code> */ public Builder clearEscc() { escc_ = getDefaultInstance().getEscc(); onChanged(); return this; } /**
public org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo.getDefaultInstance(); }
/** * <pre> * the path as specified by the install/instantiate transaction * </pre> * * <code>optional string path = 3;</code> */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /**
/** * <code>optional string version = 2;</code> */ public Builder clearVersion() { version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /**
/** * <code>optional string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**