Package org.bitcoinj.wallet
Class Protos.TransactionInput
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Protos.TransactionInput,Protos.TransactionInput.Builder>
org.bitcoinj.wallet.Protos.TransactionInput
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Protos.TransactionInputOrBuilder
- Enclosing class:
- Protos
public static final class Protos.TransactionInput
extends com.google.protobuf.GeneratedMessageLite<Protos.TransactionInput,Protos.TransactionInput.Builder>
implements Protos.TransactionInputOrBuilder
Protobuf type
wallet.TransactionInput
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typewallet.TransactionInput
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,
?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
memoizedSerializedSize, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static Protos.TransactionInput
com.google.protobuf.ByteString
Script that contains the signatures/pubkeys.int
Sequence number.com.google.protobuf.ByteString
Hash of the transaction this input is using.int
Index of transaction output used by this input.long
getValue()
Value of connected output, if knownscript witnessboolean
Script that contains the signatures/pubkeys.boolean
Sequence number.boolean
Hash of the transaction this input is using.boolean
Index of transaction output used by this input.boolean
hasValue()
Value of connected output, if knownboolean
script witnessnewBuilder
(Protos.TransactionInput prototype) static Protos.TransactionInput
parseDelimitedFrom
(InputStream input) static Protos.TransactionInput
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Protos.TransactionInput
parseFrom
(byte[] data) static Protos.TransactionInput
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Protos.TransactionInput
parseFrom
(com.google.protobuf.ByteString data) static Protos.TransactionInput
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Protos.TransactionInput
parseFrom
(com.google.protobuf.CodedInputStream input) static Protos.TransactionInput
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Protos.TransactionInput
parseFrom
(InputStream input) static Protos.TransactionInput
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Protos.TransactionInput
parseFrom
(ByteBuffer data) static Protos.TransactionInput
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Protos.TransactionInput>
parser()
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
TRANSACTION_OUT_POINT_HASH_FIELD_NUMBER
public static final int TRANSACTION_OUT_POINT_HASH_FIELD_NUMBER- See Also:
-
TRANSACTION_OUT_POINT_INDEX_FIELD_NUMBER
public static final int TRANSACTION_OUT_POINT_INDEX_FIELD_NUMBER- See Also:
-
SCRIPT_BYTES_FIELD_NUMBER
public static final int SCRIPT_BYTES_FIELD_NUMBER- See Also:
-
SEQUENCE_FIELD_NUMBER
public static final int SEQUENCE_FIELD_NUMBER- See Also:
-
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER- See Also:
-
WITNESS_FIELD_NUMBER
public static final int WITNESS_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasTransactionOutPointHash
public boolean hasTransactionOutPointHash()Hash of the transaction this input is using.
required bytes transaction_out_point_hash = 1;
- Specified by:
hasTransactionOutPointHash
in interfaceProtos.TransactionInputOrBuilder
- Returns:
- Whether the transactionOutPointHash field is set.
-
getTransactionOutPointHash
public com.google.protobuf.ByteString getTransactionOutPointHash()Hash of the transaction this input is using.
required bytes transaction_out_point_hash = 1;
- Specified by:
getTransactionOutPointHash
in interfaceProtos.TransactionInputOrBuilder
- Returns:
- The transactionOutPointHash.
-
hasTransactionOutPointIndex
public boolean hasTransactionOutPointIndex()Index of transaction output used by this input.
required uint32 transaction_out_point_index = 2;
- Specified by:
hasTransactionOutPointIndex
in interfaceProtos.TransactionInputOrBuilder
- Returns:
- Whether the transactionOutPointIndex field is set.
-
getTransactionOutPointIndex
public int getTransactionOutPointIndex()Index of transaction output used by this input.
required uint32 transaction_out_point_index = 2;
- Specified by:
getTransactionOutPointIndex
in interfaceProtos.TransactionInputOrBuilder
- Returns:
- The transactionOutPointIndex.
-
hasScriptBytes
public boolean hasScriptBytes()Script that contains the signatures/pubkeys.
required bytes script_bytes = 3;
- Specified by:
hasScriptBytes
in interfaceProtos.TransactionInputOrBuilder
- Returns:
- Whether the scriptBytes field is set.
-
getScriptBytes
public com.google.protobuf.ByteString getScriptBytes()Script that contains the signatures/pubkeys.
required bytes script_bytes = 3;
- Specified by:
getScriptBytes
in interfaceProtos.TransactionInputOrBuilder
- Returns:
- The scriptBytes.
-
hasSequence
public boolean hasSequence()Sequence number.
optional uint32 sequence = 4;
- Specified by:
hasSequence
in interfaceProtos.TransactionInputOrBuilder
- Returns:
- Whether the sequence field is set.
-
getSequence
public int getSequence()Sequence number.
optional uint32 sequence = 4;
- Specified by:
getSequence
in interfaceProtos.TransactionInputOrBuilder
- Returns:
- The sequence.
-
hasValue
public boolean hasValue()Value of connected output, if known
optional int64 value = 5;
- Specified by:
hasValue
in interfaceProtos.TransactionInputOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
public long getValue()Value of connected output, if known
optional int64 value = 5;
- Specified by:
getValue
in interfaceProtos.TransactionInputOrBuilder
- Returns:
- The value.
-
hasWitness
public boolean hasWitness()script witness
optional .wallet.ScriptWitness witness = 6;
- Specified by:
hasWitness
in interfaceProtos.TransactionInputOrBuilder
- Returns:
- Whether the witness field is set.
-
getWitness
script witness
optional .wallet.ScriptWitness witness = 6;
- Specified by:
getWitness
in interfaceProtos.TransactionInputOrBuilder
- Returns:
- The witness.
-
parseFrom
public static Protos.TransactionInput parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protos.TransactionInput parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protos.TransactionInput parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protos.TransactionInput parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protos.TransactionInput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protos.TransactionInput parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Protos.TransactionInput parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Protos.TransactionInput parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Protos.TransactionInput parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Protos.TransactionInput parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Protos.TransactionInput,
Protos.TransactionInput.Builder>
-
getDefaultInstance
-
parser
-