Class Protos.TransactionOutput

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Protos.TransactionOutput.Builder
      Protobuf type wallet.TransactionOutput
      • 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

      • SCRIPT_BYTES_FIELD_NUMBER

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

        public static final int SPENT_BY_TRANSACTION_HASH_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SPENT_BY_TRANSACTION_INDEX_FIELD_NUMBER

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

      • hasScriptBytes

        public boolean hasScriptBytes()
         script of transaction output
         
        required bytes script_bytes = 2;
        Specified by:
        hasScriptBytes in interface Protos.TransactionOutputOrBuilder
        Returns:
        Whether the scriptBytes field is set.
      • getScriptBytes

        public com.google.protobuf.ByteString getScriptBytes()
         script of transaction output
         
        required bytes script_bytes = 2;
        Specified by:
        getScriptBytes in interface Protos.TransactionOutputOrBuilder
        Returns:
        The scriptBytes.
      • hasSpentByTransactionHash

        public boolean hasSpentByTransactionHash()
         If spent, the hash of the transaction doing the spend.
         
        optional bytes spent_by_transaction_hash = 3;
        Specified by:
        hasSpentByTransactionHash in interface Protos.TransactionOutputOrBuilder
        Returns:
        Whether the spentByTransactionHash field is set.
      • getSpentByTransactionHash

        public com.google.protobuf.ByteString getSpentByTransactionHash()
         If spent, the hash of the transaction doing the spend.
         
        optional bytes spent_by_transaction_hash = 3;
        Specified by:
        getSpentByTransactionHash in interface Protos.TransactionOutputOrBuilder
        Returns:
        The spentByTransactionHash.
      • hasSpentByTransactionIndex

        public boolean hasSpentByTransactionIndex()
         If spent, the index of the transaction input of the transaction doing the spend.
         
        optional int32 spent_by_transaction_index = 4;
        Specified by:
        hasSpentByTransactionIndex in interface Protos.TransactionOutputOrBuilder
        Returns:
        Whether the spentByTransactionIndex field is set.
      • getSpentByTransactionIndex

        public int getSpentByTransactionIndex()
         If spent, the index of the transaction input of the transaction doing the spend.
         
        optional int32 spent_by_transaction_index = 4;
        Specified by:
        getSpentByTransactionIndex in interface Protos.TransactionOutputOrBuilder
        Returns:
        The spentByTransactionIndex.
      • parseFrom

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

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

        public static Protos.TransactionOutput parseFrom​(com.google.protobuf.ByteString data)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.TransactionOutput 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.TransactionOutput parseFrom​(byte[] data)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.TransactionOutput parseFrom​(byte[] data,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

        public static Protos.TransactionOutput 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.TransactionOutput,​Protos.TransactionOutput.Builder>