Class UtxoTransactionOutput.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class UtxoTransactionOutput.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for UtxoTransactionOutput instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
transactionId
public int
index
public ByteBuffer
info
public ByteBuffer
data
-
Method Summary
Modifier and Type Method Description String
getTransactionId()
Gets the value of the 'transactionId' field. UtxoTransactionOutput.Builder
setTransactionId(String value)
Sets the value of the 'transactionId' field. int
getIndex()
Gets the value of the 'index' field. UtxoTransactionOutput.Builder
setIndex(int value)
Sets the value of the 'index' field. ByteBuffer
getInfo()
Gets the value of the 'info' field. UtxoTransactionOutput.Builder
setInfo(ByteBuffer value)
Sets the value of the 'info' field. ByteBuffer
getData()
Gets the value of the 'data' field. UtxoTransactionOutput.Builder
setData(ByteBuffer value)
Sets the value of the 'data' field. boolean
hasTransactionId()
Checks whether the 'transactionId' field has been set. UtxoTransactionOutput.Builder
clearTransactionId()
Clears the value of the 'transactionId' field. boolean
hasIndex()
Checks whether the 'index' field has been set. UtxoTransactionOutput.Builder
clearIndex()
Clears the value of the 'index' field. boolean
hasInfo()
Checks whether the 'info' field has been set. UtxoTransactionOutput.Builder
clearInfo()
Clears the value of the 'info' field. boolean
hasData()
Checks whether the 'data' field has been set. UtxoTransactionOutput.Builder
clearData()
Clears the value of the 'data' field. UtxoTransactionOutput
build()
-
-
Method Detail
-
getTransactionId
String getTransactionId()
Gets the value of the 'transactionId' field. The transaction ID, derived from the root hash of its Merkle tree
-
setTransactionId
UtxoTransactionOutput.Builder setTransactionId(String value)
Sets the value of the 'transactionId' field. The transaction ID, derived from the root hash of its Merkle tree
- Parameters:
value
- The value of 'transactionId'.
-
getIndex
int getIndex()
Gets the value of the 'index' field. The index of the transaction output
-
setIndex
UtxoTransactionOutput.Builder setIndex(int value)
Sets the value of the 'index' field. The index of the transaction output
- Parameters:
value
- The value of 'index'.
-
getInfo
ByteBuffer getInfo()
Gets the value of the 'info' field. Transaction output info
-
setInfo
UtxoTransactionOutput.Builder setInfo(ByteBuffer value)
Sets the value of the 'info' field. Transaction output info
- Parameters:
value
- The value of 'info'.
-
getData
ByteBuffer getData()
Gets the value of the 'data' field. Transaction output data
-
setData
UtxoTransactionOutput.Builder setData(ByteBuffer value)
Sets the value of the 'data' field. Transaction output data
- Parameters:
value
- The value of 'data'.
-
hasTransactionId
boolean hasTransactionId()
Checks whether the 'transactionId' field has been set. The transaction ID, derived from the root hash of its Merkle tree
-
clearTransactionId
UtxoTransactionOutput.Builder clearTransactionId()
Clears the value of the 'transactionId' field. The transaction ID, derived from the root hash of its Merkle tree
-
hasIndex
boolean hasIndex()
Checks whether the 'index' field has been set. The index of the transaction output
-
clearIndex
UtxoTransactionOutput.Builder clearIndex()
Clears the value of the 'index' field. The index of the transaction output
-
hasInfo
boolean hasInfo()
Checks whether the 'info' field has been set. Transaction output info
-
clearInfo
UtxoTransactionOutput.Builder clearInfo()
Clears the value of the 'info' field. Transaction output info
-
hasData
boolean hasData()
Checks whether the 'data' field has been set. Transaction output data
-
clearData
UtxoTransactionOutput.Builder clearData()
Clears the value of the 'data' field. Transaction output data
-
build
UtxoTransactionOutput build()
-
-
-
-