public static final class Protos.TransactionInput.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionInput.Builder> implements Protos.TransactionInputOrBuilder
wallet.TransactionInput
Modifier and Type | Method and Description |
---|---|
Protos.TransactionInput.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.TransactionInput |
build() |
Protos.TransactionInput |
buildPartial() |
Protos.TransactionInput.Builder |
clear() |
Protos.TransactionInput.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.TransactionInput.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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
|
Protos.TransactionInput.Builder |
clone() |
Protos.TransactionInput |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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
|
Protos.ScriptWitness.Builder |
getWitnessBuilder()
script witness
|
Protos.ScriptWitnessOrBuilder |
getWitnessOrBuilder()
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
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.TransactionInput.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.TransactionInput.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.TransactionInput.Builder |
mergeFrom(Protos.TransactionInput other) |
Protos.TransactionInput.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.TransactionInput.Builder |
mergeWitness(Protos.ScriptWitness value)
script witness
|
Protos.TransactionInput.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.TransactionInput.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
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 |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionInput.Builder>
public Protos.TransactionInput.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionInput.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionInput.Builder>
public Protos.TransactionInput getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.TransactionInput build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.TransactionInput buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.TransactionInput.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionInput.Builder>
public Protos.TransactionInput.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionInput.Builder>
public Protos.TransactionInput.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionInput.Builder>
public Protos.TransactionInput.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionInput.Builder>
public Protos.TransactionInput.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionInput.Builder>
public Protos.TransactionInput.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionInput.Builder>
public Protos.TransactionInput.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.TransactionInput.Builder>
public Protos.TransactionInput.Builder mergeFrom(Protos.TransactionInput other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionInput.Builder>
public Protos.TransactionInput.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.TransactionInput.Builder>
java.io.IOException
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;
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;
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;
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;
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;
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;
public Protos.ScriptWitness.Builder getWitnessBuilder()
script witness
optional .wallet.ScriptWitness witness = 6;
public Protos.ScriptWitnessOrBuilder getWitnessOrBuilder()
script witness
optional .wallet.ScriptWitness witness = 6;
getWitnessOrBuilder
in interface Protos.TransactionInputOrBuilder
public final Protos.TransactionInput.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionInput.Builder>
public final Protos.TransactionInput.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionInput.Builder>