Class Protos.TransactionInput

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Protos.TransactionInput.Builder
      Protobuf type wallet.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 java.lang.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 Detail

      • TRANSACTION_OUT_POINT_HASH_FIELD_NUMBER

        public static final int TRANSACTION_OUT_POINT_HASH_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TRANSACTION_OUT_POINT_INDEX_FIELD_NUMBER

        public static final int TRANSACTION_OUT_POINT_INDEX_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SCRIPT_BYTES_FIELD_NUMBER

        public static final int SCRIPT_BYTES_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • hasTransactionOutPointHash

        public boolean hasTransactionOutPointHash()
         Hash of the transaction this input is using.
         
        required bytes transaction_out_point_hash = 1;
        Specified by:
        hasTransactionOutPointHash in interface Protos.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 interface Protos.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 interface Protos.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 interface Protos.TransactionInputOrBuilder
        Returns:
        The transactionOutPointIndex.
      • hasScriptBytes

        public boolean hasScriptBytes()
         Script that contains the signatures/pubkeys.
         
        required bytes script_bytes = 3;
        Specified by:
        hasScriptBytes in interface Protos.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 interface Protos.TransactionInputOrBuilder
        Returns:
        The scriptBytes.
      • hasValue

        public boolean hasValue()
         Value of connected output, if known
         
        optional int64 value = 5;
        Specified by:
        hasValue in interface Protos.TransactionInputOrBuilder
        Returns:
        Whether the value field is set.
      • hasWitness

        public boolean hasWitness()
         script witness
         
        optional .wallet.ScriptWitness witness = 6;
        Specified by:
        hasWitness in interface Protos.TransactionInputOrBuilder
        Returns:
        Whether the witness field is set.
      • parseFrom

        public static Protos.TransactionInput parseFrom​(java.nio.ByteBuffer data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.TransactionInput parseFrom​(java.nio.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

        public static Protos.TransactionInput parseFrom​(java.io.InputStream input)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Protos.TransactionInput parseFrom​(java.io.InputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Protos.TransactionInput parseDelimitedFrom​(java.io.InputStream input)
                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Protos.TransactionInput parseDelimitedFrom​(java.io.InputStream input,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Protos.TransactionInput parseFrom​(com.google.protobuf.CodedInputStream input)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Protos.TransactionInput parseFrom​(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Protos.TransactionInput,​Protos.TransactionInput.Builder>