public Builder mergeFrom(org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeHeaderExtension other) { if (other == org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeHeaderExtension.getDefaultInstance()) return this; if (other.getPayloadVisibility() != com.google.protobuf.ByteString.EMPTY) { setPayloadVisibility(other.getPayloadVisibility()); } if (other.hasChaincodeId()) { mergeChaincodeId(other.getChaincodeId()); } onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponsePayload other) { if (other == org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponsePayload.getDefaultInstance()) return this; if (other.getProposalHash() != com.google.protobuf.ByteString.EMPTY) { setProposalHash(other.getProposalHash()); } if (other.getExtension() != com.google.protobuf.ByteString.EMPTY) { setExtension(other.getExtension()); } onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction other) { if (other == org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction.getDefaultInstance()) return this; if (other.getTransactionBytes() != com.google.protobuf.ByteString.EMPTY) { setTransactionBytes(other.getTransactionBytes()); } if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } onChanged(); return this; }
public org.hyperledger.fabric.protos.peer.Peer.PeerID build() { org.hyperledger.fabric.protos.peer.Peer.PeerID result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <code>optional string chaincode_id = 1;</code> */ public Builder clearChaincodeId() { chaincodeId_ = getDefaultInstance().getChaincodeId(); onChanged(); return this; } /**
/** * <code>optional string tx_id = 2;</code> */ public Builder clearTxId() { txId_ = getDefaultInstance().getTxId(); onChanged(); return this; } /**
public org.hyperledger.fabric.protos.peer.PeerEvents.FilteredTransactionActions build() { org.hyperledger.fabric.protos.peer.PeerEvents.FilteredTransactionActions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <code>optional string chaincode_id = 1;</code> */ public Builder clearChaincodeId() { chaincodeId_ = getDefaultInstance().getChaincodeId(); onChanged(); return this; } /**
public org.hyperledger.fabric.protos.peer.PeerEvents.Interest build() { org.hyperledger.fabric.protos.peer.PeerEvents.Interest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public org.hyperledger.fabric.protos.peer.PeerEvents.Unregister build() { org.hyperledger.fabric.protos.peer.PeerEvents.Unregister result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <pre> * Signature over the event bytes * </pre> * * <code>optional bytes signature = 1;</code> */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; }
/** * <pre> * The header of the proposal. It is the bytes of the Header * </pre> * * <code>optional bytes header = 1;</code> */ public Builder clearHeader() { header_ = getDefaultInstance().getHeader(); onChanged(); return this; }
public org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeProposalPayload build() { org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeProposalPayload result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public org.hyperledger.fabric.protos.peer.Peer.PeerID buildPartial() { org.hyperledger.fabric.protos.peer.Peer.PeerID result = new org.hyperledger.fabric.protos.peer.Peer.PeerID(this); result.name_ = name_; onBuilt(); return result; }
public org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction buildPartial() { org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction result = new org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction(this); result.transactionBytes_ = transactionBytes_; result.signature_ = signature_; onBuilt(); return result; }
public org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponsePayload buildPartial() { org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponsePayload result = new org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponsePayload(this); result.proposalHash_ = proposalHash_; result.extension_ = extension_; onBuilt(); return result; }
public org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent buildPartial() { org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent result = new org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent(this); result.signature_ = signature_; result.eventBytes_ = eventBytes_; onBuilt(); return result; }
public org.hyperledger.fabric.protos.peer.FabricProposal.Proposal buildPartial() { org.hyperledger.fabric.protos.peer.FabricProposal.Proposal result = new org.hyperledger.fabric.protos.peer.FabricProposal.Proposal(this); result.header_ = header_; result.payload_ = payload_; result.extension_ = extension_; onBuilt(); return result; }
/** * <code>optional string chaincode_name = 1;</code> */ public Builder clearChaincodeName() { chaincodeName_ = getDefaultInstance().getChaincodeName(); onChanged(); return this; } /**
public org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage buildPartial() { org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage result = new org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage(this); result.type_ = type_; result.path_ = path_; result.codePackage_ = codePackage_; onBuilt(); return result; }