org.bitcoinj.wallet
Interface Protos.TransactionOutputOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Protos.TransactionOutput, Protos.TransactionOutput.Builder
Enclosing class:
Protos

public static interface Protos.TransactionOutputOrBuilder
extends com.google.protobuf.MessageOrBuilder


Method Summary
 com.google.protobuf.ByteString getScriptBytes()
          required bytes script_bytes = 2;
 com.google.protobuf.ByteString getSpentByTransactionHash()
          optional bytes spent_by_transaction_hash = 3;
 int getSpentByTransactionIndex()
          optional int32 spent_by_transaction_index = 4;
 long getValue()
          required int64 value = 1;
 boolean hasScriptBytes()
          required bytes script_bytes = 2;
 boolean hasSpentByTransactionHash()
          optional bytes spent_by_transaction_hash = 3;
 boolean hasSpentByTransactionIndex()
          optional int32 spent_by_transaction_index = 4;
 boolean hasValue()
          required int64 value = 1;
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
 

Method Detail

hasValue

boolean hasValue()
required int64 value = 1;


getValue

long getValue()
required int64 value = 1;


hasScriptBytes

boolean hasScriptBytes()
required bytes script_bytes = 2;
 script of transaction output
 


getScriptBytes

com.google.protobuf.ByteString getScriptBytes()
required bytes script_bytes = 2;
 script of transaction output
 


hasSpentByTransactionHash

boolean hasSpentByTransactionHash()
optional bytes spent_by_transaction_hash = 3;
 If spent, the hash of the transaction doing the spend.
 


getSpentByTransactionHash

com.google.protobuf.ByteString getSpentByTransactionHash()
optional bytes spent_by_transaction_hash = 3;
 If spent, the hash of the transaction doing the spend.
 


hasSpentByTransactionIndex

boolean hasSpentByTransactionIndex()
optional int32 spent_by_transaction_index = 4;
 If spent, the index of the transaction input of the transaction doing the spend.
 


getSpentByTransactionIndex

int getSpentByTransactionIndex()
optional int32 spent_by_transaction_index = 4;
 If spent, the index of the transaction input of the transaction doing the spend.
 



Copyright © 2014. All rights reserved.