public static final class Protos.TransactionOutput.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Protos.TransactionOutput,Protos.TransactionOutput.Builder> implements Protos.TransactionOutputOrBuilder
wallet.TransactionOutput
Modifier and Type | Method and Description |
---|---|
Protos.TransactionOutput.Builder |
clearScriptBytes()
script of transaction output
|
Protos.TransactionOutput.Builder |
clearSpentByTransactionHash()
If spent, the hash of the transaction doing the spend.
|
Protos.TransactionOutput.Builder |
clearSpentByTransactionIndex()
If spent, the index of the transaction input of the transaction doing the spend.
|
Protos.TransactionOutput.Builder |
clearValue()
required int64 value = 1; |
com.google.protobuf.ByteString |
getScriptBytes()
script of transaction output
|
com.google.protobuf.ByteString |
getSpentByTransactionHash()
If spent, the hash of the transaction doing the spend.
|
int |
getSpentByTransactionIndex()
If spent, the index of the transaction input of the transaction doing the spend.
|
long |
getValue()
required int64 value = 1; |
boolean |
hasScriptBytes()
script of transaction output
|
boolean |
hasSpentByTransactionHash()
If spent, the hash of the transaction doing the spend.
|
boolean |
hasSpentByTransactionIndex()
If spent, the index of the transaction input of the transaction doing the spend.
|
boolean |
hasValue()
required int64 value = 1; |
Protos.TransactionOutput.Builder |
setScriptBytes(com.google.protobuf.ByteString value)
script of transaction output
|
Protos.TransactionOutput.Builder |
setSpentByTransactionHash(com.google.protobuf.ByteString value)
If spent, the hash of the transaction doing the spend.
|
Protos.TransactionOutput.Builder |
setSpentByTransactionIndex(int value)
If spent, the index of the transaction input of the transaction doing the spend.
|
Protos.TransactionOutput.Builder |
setValue(long value)
required int64 value = 1; |
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
public boolean hasValue()
required int64 value = 1;
hasValue
in interface Protos.TransactionOutputOrBuilder
public long getValue()
required int64 value = 1;
getValue
in interface Protos.TransactionOutputOrBuilder
public Protos.TransactionOutput.Builder setValue(long value)
required int64 value = 1;
value
- The value to set.public Protos.TransactionOutput.Builder clearValue()
required int64 value = 1;
public boolean hasScriptBytes()
script of transaction output
required bytes script_bytes = 2;
hasScriptBytes
in interface Protos.TransactionOutputOrBuilder
public com.google.protobuf.ByteString getScriptBytes()
script of transaction output
required bytes script_bytes = 2;
getScriptBytes
in interface Protos.TransactionOutputOrBuilder
public Protos.TransactionOutput.Builder setScriptBytes(com.google.protobuf.ByteString value)
script of transaction output
required bytes script_bytes = 2;
value
- The scriptBytes to set.public Protos.TransactionOutput.Builder clearScriptBytes()
script of transaction output
required bytes script_bytes = 2;
public boolean hasSpentByTransactionHash()
If spent, the hash of the transaction doing the spend.
optional bytes spent_by_transaction_hash = 3;
hasSpentByTransactionHash
in interface Protos.TransactionOutputOrBuilder
public com.google.protobuf.ByteString getSpentByTransactionHash()
If spent, the hash of the transaction doing the spend.
optional bytes spent_by_transaction_hash = 3;
getSpentByTransactionHash
in interface Protos.TransactionOutputOrBuilder
public Protos.TransactionOutput.Builder setSpentByTransactionHash(com.google.protobuf.ByteString value)
If spent, the hash of the transaction doing the spend.
optional bytes spent_by_transaction_hash = 3;
value
- The spentByTransactionHash to set.public Protos.TransactionOutput.Builder clearSpentByTransactionHash()
If spent, the hash of the transaction doing the spend.
optional bytes spent_by_transaction_hash = 3;
public boolean hasSpentByTransactionIndex()
If spent, the index of the transaction input of the transaction doing the spend.
optional int32 spent_by_transaction_index = 4;
hasSpentByTransactionIndex
in interface Protos.TransactionOutputOrBuilder
public int getSpentByTransactionIndex()
If spent, the index of the transaction input of the transaction doing the spend.
optional int32 spent_by_transaction_index = 4;
getSpentByTransactionIndex
in interface Protos.TransactionOutputOrBuilder
public Protos.TransactionOutput.Builder setSpentByTransactionIndex(int value)
If spent, the index of the transaction input of the transaction doing the spend.
optional int32 spent_by_transaction_index = 4;
value
- The spentByTransactionIndex to set.public Protos.TransactionOutput.Builder clearSpentByTransactionIndex()
If spent, the index of the transaction input of the transaction doing the spend.
optional int32 spent_by_transaction_index = 4;