public static final class Protos.TransactionInput.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Protos.TransactionInput,Protos.TransactionInput.Builder> implements Protos.TransactionInputOrBuilder
wallet.TransactionInput
Modifier and Type | Method and Description |
---|---|
Protos.TransactionInput.Builder |
clearScriptBytes()
Script that contains the signatures/pubkeys.
|
Protos.TransactionInput.Builder |
clearSequence()
Sequence number.
|
Protos.TransactionInput.Builder |
clearTransactionOutPointHash()
Hash of the transaction this input is using.
|
Protos.TransactionInput.Builder |
clearTransactionOutPointIndex()
Index of transaction output used by this input.
|
Protos.TransactionInput.Builder |
clearValue()
Value of connected output, if known
|
Protos.TransactionInput.Builder |
clearWitness()
script witness
|
com.google.protobuf.ByteString |
getScriptBytes()
Script that contains the signatures/pubkeys.
|
int |
getSequence()
Sequence number.
|
com.google.protobuf.ByteString |
getTransactionOutPointHash()
Hash of the transaction this input is using.
|
int |
getTransactionOutPointIndex()
Index of transaction output used by this input.
|
long |
getValue()
Value of connected output, if known
|
Protos.ScriptWitness |
getWitness()
script witness
|
boolean |
hasScriptBytes()
Script that contains the signatures/pubkeys.
|
boolean |
hasSequence()
Sequence number.
|
boolean |
hasTransactionOutPointHash()
Hash of the transaction this input is using.
|
boolean |
hasTransactionOutPointIndex()
Index of transaction output used by this input.
|
boolean |
hasValue()
Value of connected output, if known
|
boolean |
hasWitness()
script witness
|
Protos.TransactionInput.Builder |
mergeWitness(Protos.ScriptWitness value)
script witness
|
Protos.TransactionInput.Builder |
setScriptBytes(com.google.protobuf.ByteString value)
Script that contains the signatures/pubkeys.
|
Protos.TransactionInput.Builder |
setSequence(int value)
Sequence number.
|
Protos.TransactionInput.Builder |
setTransactionOutPointHash(com.google.protobuf.ByteString value)
Hash of the transaction this input is using.
|
Protos.TransactionInput.Builder |
setTransactionOutPointIndex(int value)
Index of transaction output used by this input.
|
Protos.TransactionInput.Builder |
setValue(long value)
Value of connected output, if known
|
Protos.TransactionInput.Builder |
setWitness(Protos.ScriptWitness.Builder builderForValue)
script witness
|
Protos.TransactionInput.Builder |
setWitness(Protos.ScriptWitness value)
script witness
|
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 hasTransactionOutPointHash()
Hash of the transaction this input is using.
required bytes transaction_out_point_hash = 1;
hasTransactionOutPointHash
in interface Protos.TransactionInputOrBuilder
public com.google.protobuf.ByteString getTransactionOutPointHash()
Hash of the transaction this input is using.
required bytes transaction_out_point_hash = 1;
getTransactionOutPointHash
in interface Protos.TransactionInputOrBuilder
public Protos.TransactionInput.Builder setTransactionOutPointHash(com.google.protobuf.ByteString value)
Hash of the transaction this input is using.
required bytes transaction_out_point_hash = 1;
value
- The transactionOutPointHash to set.public Protos.TransactionInput.Builder clearTransactionOutPointHash()
Hash of the transaction this input is using.
required bytes transaction_out_point_hash = 1;
public boolean hasTransactionOutPointIndex()
Index of transaction output used by this input.
required uint32 transaction_out_point_index = 2;
hasTransactionOutPointIndex
in interface Protos.TransactionInputOrBuilder
public int getTransactionOutPointIndex()
Index of transaction output used by this input.
required uint32 transaction_out_point_index = 2;
getTransactionOutPointIndex
in interface Protos.TransactionInputOrBuilder
public Protos.TransactionInput.Builder setTransactionOutPointIndex(int value)
Index of transaction output used by this input.
required uint32 transaction_out_point_index = 2;
value
- The transactionOutPointIndex to set.public Protos.TransactionInput.Builder clearTransactionOutPointIndex()
Index of transaction output used by this input.
required uint32 transaction_out_point_index = 2;
public boolean hasScriptBytes()
Script that contains the signatures/pubkeys.
required bytes script_bytes = 3;
hasScriptBytes
in interface Protos.TransactionInputOrBuilder
public com.google.protobuf.ByteString getScriptBytes()
Script that contains the signatures/pubkeys.
required bytes script_bytes = 3;
getScriptBytes
in interface Protos.TransactionInputOrBuilder
public Protos.TransactionInput.Builder setScriptBytes(com.google.protobuf.ByteString value)
Script that contains the signatures/pubkeys.
required bytes script_bytes = 3;
value
- The scriptBytes to set.public Protos.TransactionInput.Builder clearScriptBytes()
Script that contains the signatures/pubkeys.
required bytes script_bytes = 3;
public boolean hasSequence()
Sequence number.
optional uint32 sequence = 4;
hasSequence
in interface Protos.TransactionInputOrBuilder
public int getSequence()
Sequence number.
optional uint32 sequence = 4;
getSequence
in interface Protos.TransactionInputOrBuilder
public Protos.TransactionInput.Builder setSequence(int value)
Sequence number.
optional uint32 sequence = 4;
value
- The sequence to set.public Protos.TransactionInput.Builder clearSequence()
Sequence number.
optional uint32 sequence = 4;
public boolean hasValue()
Value of connected output, if known
optional int64 value = 5;
hasValue
in interface Protos.TransactionInputOrBuilder
public long getValue()
Value of connected output, if known
optional int64 value = 5;
getValue
in interface Protos.TransactionInputOrBuilder
public Protos.TransactionInput.Builder setValue(long value)
Value of connected output, if known
optional int64 value = 5;
value
- The value to set.public Protos.TransactionInput.Builder clearValue()
Value of connected output, if known
optional int64 value = 5;
public boolean hasWitness()
script witness
optional .wallet.ScriptWitness witness = 6;
hasWitness
in interface Protos.TransactionInputOrBuilder
public Protos.ScriptWitness getWitness()
script witness
optional .wallet.ScriptWitness witness = 6;
getWitness
in interface Protos.TransactionInputOrBuilder
public Protos.TransactionInput.Builder setWitness(Protos.ScriptWitness value)
script witness
optional .wallet.ScriptWitness witness = 6;
public Protos.TransactionInput.Builder setWitness(Protos.ScriptWitness.Builder builderForValue)
script witness
optional .wallet.ScriptWitness witness = 6;
public Protos.TransactionInput.Builder mergeWitness(Protos.ScriptWitness value)
script witness
optional .wallet.ScriptWitness witness = 6;
public Protos.TransactionInput.Builder clearWitness()
script witness
optional .wallet.ScriptWitness witness = 6;