Package org.hyperledger.fabric.sdk
Class TransactionProposalRequest
- java.lang.Object
 - 
- org.hyperledger.fabric.sdk.TransactionRequest
 - 
- org.hyperledger.fabric.sdk.TransactionProposalRequest
 
 
 
- 
public class TransactionProposalRequest extends TransactionRequest
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class org.hyperledger.fabric.sdk.TransactionRequest
TransactionRequest.Type 
 - 
 
- 
Field Summary
- 
Fields inherited from class org.hyperledger.fabric.sdk.TransactionRequest
argBytes, args, chaincodeCollectionConfiguration, chaincodeLanguage, chaincodeName, chaincodePath, chaincodeVersion, fcn, proposalWaitTime, transientMap 
 - 
 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransactionProposalRequestnewInstance(User userContext)voidsetChaincodeLanguage(TransactionRequest.Type chaincodeLanguage)The chaincode language type: default type Type.GO_LANGvoidsetTransientMap(java.util.Map<java.lang.String,byte[]> transientMap)Transient data added to the proposal that is not added to the ledger.- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from class org.hyperledger.fabric.sdk.TransactionRequest
doVerify, getArgBytes, getArgs, getChaincodeCollectionConfiguration, getChaincodeEndorsementPolicy, getChaincodeID, getChaincodeLanguage, getChaincodeName, getChaincodePath, getChaincodeVersion, getFcn, getProposalWaitTime, getTransientMap, isSubmitted, noChannelID, setArgBytes, setArgBytes, setArgs, setArgs, setArgs, setChaincodeCollectionConfiguration, setChaincodeEndorsementPolicy, setChaincodeID, setChaincodeName, setChaincodePath, setChaincodeVersion, setFcn, setProposalWaitTime, setUserContext 
 - 
 
 - 
 
- 
- 
Method Detail
- 
newInstance
public static TransactionProposalRequest newInstance(User userContext)
 
- 
setChaincodeLanguage
public void setChaincodeLanguage(TransactionRequest.Type chaincodeLanguage)
Description copied from class:TransactionRequestThe chaincode language type: default type Type.GO_LANG- Overrides:
 setChaincodeLanguagein classTransactionRequest- Parameters:
 chaincodeLanguage- . Type.Java Type.GO_LANG Type.NODE
 
- 
setTransientMap
public void setTransientMap(java.util.Map<java.lang.String,byte[]> transientMap) throws InvalidArgumentExceptionTransient data added to the proposal that is not added to the ledger.- Parameters:
 transientMap- Map of strings to bytes that's added to the proposal- Throws:
 InvalidArgumentException- if the argument is null.
 
 - 
 
 -