public static final class Protos.TransactionInput.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.TransactionInput.Builder> implements Protos.TransactionInputOrBuilder
wallet.TransactionInput
Modifier and Type | Method and Description |
---|---|
Protos.TransactionInput |
build() |
Protos.TransactionInput |
buildPartial() |
Protos.TransactionInput.Builder |
clear() |
Protos.TransactionInput.Builder |
clearScriptBytes()
required bytes script_bytes = 3; |
Protos.TransactionInput.Builder |
clearSequence()
optional uint32 sequence = 4; |
Protos.TransactionInput.Builder |
clearTransactionOutPointHash()
required bytes transaction_out_point_hash = 1; |
Protos.TransactionInput.Builder |
clearTransactionOutPointIndex()
required uint32 transaction_out_point_index = 2; |
Protos.TransactionInput.Builder |
clearValue()
optional int64 value = 5; |
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()
required bytes script_bytes = 3; |
int |
getSequence()
optional uint32 sequence = 4; |
com.google.protobuf.ByteString |
getTransactionOutPointHash()
required bytes transaction_out_point_hash = 1; |
int |
getTransactionOutPointIndex()
required uint32 transaction_out_point_index = 2; |
long |
getValue()
optional int64 value = 5; |
boolean |
hasScriptBytes()
required bytes script_bytes = 3; |
boolean |
hasSequence()
optional uint32 sequence = 4; |
boolean |
hasTransactionOutPointHash()
required bytes transaction_out_point_hash = 1; |
boolean |
hasTransactionOutPointIndex()
required uint32 transaction_out_point_index = 2; |
boolean |
hasValue()
optional int64 value = 5; |
protected com.google.protobuf.GeneratedMessage.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 |
setScriptBytes(com.google.protobuf.ByteString value)
required bytes script_bytes = 3; |
Protos.TransactionInput.Builder |
setSequence(int value)
optional uint32 sequence = 4; |
Protos.TransactionInput.Builder |
setTransactionOutPointHash(com.google.protobuf.ByteString value)
required bytes transaction_out_point_hash = 1; |
Protos.TransactionInput.Builder |
setTransactionOutPointIndex(int value)
required uint32 transaction_out_point_index = 2; |
Protos.TransactionInput.Builder |
setValue(long value)
optional int64 value = 5; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<Protos.TransactionInput.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.GeneratedMessage.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.GeneratedMessage.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 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.GeneratedMessage.Builder<Protos.TransactionInput.Builder>
public Protos.TransactionInput.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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>
IOException
public boolean hasTransactionOutPointHash()
required bytes transaction_out_point_hash = 1;
Hash of the transaction this input is using.
hasTransactionOutPointHash
in interface Protos.TransactionInputOrBuilder
public com.google.protobuf.ByteString getTransactionOutPointHash()
required bytes transaction_out_point_hash = 1;
Hash of the transaction this input is using.
getTransactionOutPointHash
in interface Protos.TransactionInputOrBuilder
public Protos.TransactionInput.Builder setTransactionOutPointHash(com.google.protobuf.ByteString value)
required bytes transaction_out_point_hash = 1;
Hash of the transaction this input is using.
public Protos.TransactionInput.Builder clearTransactionOutPointHash()
required bytes transaction_out_point_hash = 1;
Hash of the transaction this input is using.
public boolean hasTransactionOutPointIndex()
required uint32 transaction_out_point_index = 2;
Index of transaction output used by this input.
hasTransactionOutPointIndex
in interface Protos.TransactionInputOrBuilder
public int getTransactionOutPointIndex()
required uint32 transaction_out_point_index = 2;
Index of transaction output used by this input.
getTransactionOutPointIndex
in interface Protos.TransactionInputOrBuilder
public Protos.TransactionInput.Builder setTransactionOutPointIndex(int value)
required uint32 transaction_out_point_index = 2;
Index of transaction output used by this input.
public Protos.TransactionInput.Builder clearTransactionOutPointIndex()
required uint32 transaction_out_point_index = 2;
Index of transaction output used by this input.
public boolean hasScriptBytes()
required bytes script_bytes = 3;
Script that contains the signatures/pubkeys.
hasScriptBytes
in interface Protos.TransactionInputOrBuilder
public com.google.protobuf.ByteString getScriptBytes()
required bytes script_bytes = 3;
Script that contains the signatures/pubkeys.
getScriptBytes
in interface Protos.TransactionInputOrBuilder
public Protos.TransactionInput.Builder setScriptBytes(com.google.protobuf.ByteString value)
required bytes script_bytes = 3;
Script that contains the signatures/pubkeys.
public Protos.TransactionInput.Builder clearScriptBytes()
required bytes script_bytes = 3;
Script that contains the signatures/pubkeys.
public boolean hasSequence()
optional uint32 sequence = 4;
Sequence number.
hasSequence
in interface Protos.TransactionInputOrBuilder
public int getSequence()
optional uint32 sequence = 4;
Sequence number.
getSequence
in interface Protos.TransactionInputOrBuilder
public Protos.TransactionInput.Builder setSequence(int value)
optional uint32 sequence = 4;
Sequence number.
public Protos.TransactionInput.Builder clearSequence()
optional uint32 sequence = 4;
Sequence number.
public boolean hasValue()
optional int64 value = 5;
Value of connected output, if known
hasValue
in interface Protos.TransactionInputOrBuilder
public long getValue()
optional int64 value = 5;
Value of connected output, if known
getValue
in interface Protos.TransactionInputOrBuilder
public Protos.TransactionInput.Builder setValue(long value)
optional int64 value = 5;
Value of connected output, if known
public Protos.TransactionInput.Builder clearValue()
optional int64 value = 5;
Value of connected output, if known
Copyright © 2016. All rights reserved.