public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec.getDefaultInstance()) return this; if (other.hasChaincodeSpec()) { mergeChaincodeSpec(other.getChaincodeSpec()); } if (!other.getIdGenerationAlg().isEmpty()) { idGenerationAlg_ = other.idGenerationAlg_; onChanged(); } onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec.getDefaultInstance()) return this; if (other.hasChaincodeSpec()) { mergeChaincodeSpec(other.getChaincodeSpec()); } if (!other.getIdGenerationAlg().isEmpty()) { idGenerationAlg_ = other.idGenerationAlg_; onChanged(); } onChanged(); return this; }
/** * <pre> * This field can contain a user-specified ID generation algorithm * If supplied, this will be used to generate a ID * If not supplied (left empty), sha256base64 will be used * The algorithm consists of two parts: * 1, a hash function * 2, a decoding used to decode user (string) input to bytes * Currently, SHA256 with BASE64 is supported (e.g. idGenerationAlg='sha256base64') * </pre> * * <code>optional string id_generation_alg = 2;</code> */ public Builder clearIdGenerationAlg() { idGenerationAlg_ = getDefaultInstance().getIdGenerationAlg(); onChanged(); return this; } /**
/** * <pre> * This field can contain a user-specified ID generation algorithm * If supplied, this will be used to generate a ID * If not supplied (left empty), sha256base64 will be used * The algorithm consists of two parts: * 1, a hash function * 2, a decoding used to decode user (string) input to bytes * Currently, SHA256 with BASE64 is supported (e.g. idGenerationAlg='sha256base64') * </pre> * * <code>optional string id_generation_alg = 2;</code> */ public Builder clearIdGenerationAlg() { idGenerationAlg_ = getDefaultInstance().getIdGenerationAlg(); onChanged(); return this; } /**
public org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec.getDefaultInstance(); }
public org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec.getDefaultInstance(); }
public org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec.getDefaultInstance(); }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec.getDefaultInstance()) return this; if (other.hasChaincodeSpec()) { mergeChaincodeSpec(other.getChaincodeSpec()); } onChanged(); return this; }
public org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec.getDefaultInstance(); }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec.getDefaultInstance()) return this; if (other.hasChaincodeSpec()) { mergeChaincodeSpec(other.getChaincodeSpec()); } onChanged(); return this; }