if (subBuilder != null) { subBuilder.mergeFrom(chaincodeId_); chaincodeId_ = subBuilder.buildPartial();
if (subBuilder != null) { subBuilder.mergeFrom(chaincodeId_); chaincodeId_ = subBuilder.buildPartial();
if (subBuilder != null) { subBuilder.mergeFrom(chaincodeId_); chaincodeId_ = subBuilder.buildPartial();
if (subBuilder != null) { subBuilder.mergeFrom(chaincodeId_); chaincodeId_ = subBuilder.buildPartial();
/** * <pre> * This field contains the ChaincodeID of executing this invocation. Endorser * will set it with the ChaincodeID called by endorser while simulating proposal. * Committer will validate the version matching with latest chaincode version. * Adding ChaincodeID to keep version opens up the possibility of multiple * ChaincodeAction per transaction. * </pre> * * <code>optional .protos.ChaincodeID chaincode_id = 4;</code> */ public Builder mergeChaincodeId(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID value) { if (chaincodeIdBuilder_ == null) { if (chaincodeId_ != null) { chaincodeId_ = org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.newBuilder(chaincodeId_).mergeFrom(value).buildPartial(); } else { chaincodeId_ = value; } onChanged(); } else { chaincodeIdBuilder_.mergeFrom(value); } return this; } /**
/** * <pre> * This field contains the ChaincodeID of executing this invocation. Endorser * will set it with the ChaincodeID called by endorser while simulating proposal. * Committer will validate the version matching with latest chaincode version. * Adding ChaincodeID to keep version opens up the possibility of multiple * ChaincodeAction per transaction. * </pre> * * <code>optional .protos.ChaincodeID chaincode_id = 4;</code> */ public Builder mergeChaincodeId(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID value) { if (chaincodeIdBuilder_ == null) { if (chaincodeId_ != null) { chaincodeId_ = org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.newBuilder(chaincodeId_).mergeFrom(value).buildPartial(); } else { chaincodeId_ = value; } onChanged(); } else { chaincodeIdBuilder_.mergeFrom(value); } return this; } /**
/** * <pre> * This field contains the ChaincodeID of executing this invocation. Endorser * will set it with the ChaincodeID called by endorser while simulating proposal. * Committer will validate the version matching with latest chaincode version. * Adding ChaincodeID to keep version opens up the possibility of multiple * ChaincodeAction per transaction. * </pre> * * <code>optional .protos.ChaincodeID chaincode_id = 4;</code> */ public Builder mergeChaincodeId(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID value) { if (chaincodeIdBuilder_ == null) { if (chaincodeId_ != null) { chaincodeId_ = org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.newBuilder(chaincodeId_).mergeFrom(value).buildPartial(); } else { chaincodeId_ = value; } onChanged(); } else { chaincodeIdBuilder_.mergeFrom(value); } return this; } /**
/** * <pre> * The ID of the chaincode to target. * </pre> * * <code>optional .protos.ChaincodeID chaincode_id = 2;</code> */ public Builder mergeChaincodeId(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID value) { if (chaincodeIdBuilder_ == null) { if (chaincodeId_ != null) { chaincodeId_ = org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.newBuilder(chaincodeId_).mergeFrom(value).buildPartial(); } else { chaincodeId_ = value; } onChanged(); } else { chaincodeIdBuilder_.mergeFrom(value); } return this; } /**
/** * <pre> * The ID of the chaincode to target. * </pre> * * <code>optional .protos.ChaincodeID chaincode_id = 2;</code> */ public Builder mergeChaincodeId(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID value) { if (chaincodeIdBuilder_ == null) { if (chaincodeId_ != null) { chaincodeId_ = org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.newBuilder(chaincodeId_).mergeFrom(value).buildPartial(); } else { chaincodeId_ = value; } onChanged(); } else { chaincodeIdBuilder_.mergeFrom(value); } return this; } /**
/** * <pre> * The ID of the chaincode to target. * </pre> * * <code>optional .protos.ChaincodeID chaincode_id = 2;</code> */ public Builder mergeChaincodeId(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID value) { if (chaincodeIdBuilder_ == null) { if (chaincodeId_ != null) { chaincodeId_ = org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.newBuilder(chaincodeId_).mergeFrom(value).buildPartial(); } else { chaincodeId_ = value; } onChanged(); } else { chaincodeIdBuilder_.mergeFrom(value); } return this; } /**
/** * <code>optional .protos.ChaincodeID chaincode_id = 2;</code> */ public Builder mergeChaincodeId(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID value) { if (chaincodeIdBuilder_ == null) { if (chaincodeId_ != null) { chaincodeId_ = org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.newBuilder(chaincodeId_).mergeFrom(value).buildPartial(); } else { chaincodeId_ = value; } onChanged(); } else { chaincodeIdBuilder_.mergeFrom(value); } return this; } /**
/** * <code>optional .protos.ChaincodeID chaincode_id = 2;</code> */ public Builder mergeChaincodeId(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID value) { if (chaincodeIdBuilder_ == null) { if (chaincodeId_ != null) { chaincodeId_ = org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.newBuilder(chaincodeId_).mergeFrom(value).buildPartial(); } else { chaincodeId_ = value; } onChanged(); } else { chaincodeIdBuilder_.mergeFrom(value); } return this; } /**
/** * <code>optional .protos.ChaincodeID chaincode_id = 2;</code> */ public Builder mergeChaincodeId(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID value) { if (chaincodeIdBuilder_ == null) { if (chaincodeId_ != null) { chaincodeId_ = org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.newBuilder(chaincodeId_).mergeFrom(value).buildPartial(); } else { chaincodeId_ = value; } onChanged(); } else { chaincodeIdBuilder_.mergeFrom(value); } return this; } /**
public org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID build() { org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID build() { org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID build() { org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <pre> * This field contains the ChaincodeID of executing this invocation. Endorser * will set it with the ChaincodeID called by endorser while simulating proposal. * Committer will validate the version matching with latest chaincode version. * Adding ChaincodeID to keep version opens up the possibility of multiple * ChaincodeAction per transaction. * </pre> * * <code>optional .protos.ChaincodeID chaincode_id = 4;</code> */ public Builder mergeChaincodeId(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID value) { if (chaincodeIdBuilder_ == null) { if (chaincodeId_ != null) { chaincodeId_ = org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.newBuilder(chaincodeId_).mergeFrom(value).buildPartial(); } else { chaincodeId_ = value; } onChanged(); } else { chaincodeIdBuilder_.mergeFrom(value); } return this; } /**
/** * <pre> * The ID of the chaincode to target. * </pre> * * <code>optional .protos.ChaincodeID chaincode_id = 2;</code> */ public Builder mergeChaincodeId(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID value) { if (chaincodeIdBuilder_ == null) { if (chaincodeId_ != null) { chaincodeId_ = org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.newBuilder(chaincodeId_).mergeFrom(value).buildPartial(); } else { chaincodeId_ = value; } onChanged(); } else { chaincodeIdBuilder_.mergeFrom(value); } return this; } /**
/** * <code>optional .protos.ChaincodeID chaincode_id = 2;</code> */ public Builder mergeChaincodeId(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID value) { if (chaincodeIdBuilder_ == null) { if (chaincodeId_ != null) { chaincodeId_ = org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.newBuilder(chaincodeId_).mergeFrom(value).buildPartial(); } else { chaincodeId_ = value; } onChanged(); } else { chaincodeIdBuilder_.mergeFrom(value); } return this; } /**
public org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID build() { org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }