org.bitcoinj.wallet
Class Protos.TransactionOutput.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<Protos.TransactionOutput.Builder>
              extended by org.bitcoinj.wallet.Protos.TransactionOutput.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Protos.TransactionOutputOrBuilder
Enclosing class:
Protos.TransactionOutput

public static final class Protos.TransactionOutput.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Protos.TransactionOutput.Builder>
implements Protos.TransactionOutputOrBuilder

Protobuf type wallet.TransactionOutput


Method Summary
 Protos.TransactionOutput build()
           
 Protos.TransactionOutput buildPartial()
           
 Protos.TransactionOutput.Builder clear()
           
 Protos.TransactionOutput.Builder clearScriptBytes()
          required bytes script_bytes = 2;
 Protos.TransactionOutput.Builder clearSpentByTransactionHash()
          optional bytes spent_by_transaction_hash = 3;
 Protos.TransactionOutput.Builder clearSpentByTransactionIndex()
          optional int32 spent_by_transaction_index = 4;
 Protos.TransactionOutput.Builder clearValue()
          required int64 value = 1;
 Protos.TransactionOutput.Builder clone()
           
 Protos.TransactionOutput getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 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;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 Protos.TransactionOutput.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 Protos.TransactionOutput.Builder mergeFrom(com.google.protobuf.Message other)
           
 Protos.TransactionOutput.Builder mergeFrom(Protos.TransactionOutput other)
           
 Protos.TransactionOutput.Builder setScriptBytes(com.google.protobuf.ByteString value)
          required bytes script_bytes = 2;
 Protos.TransactionOutput.Builder setSpentByTransactionHash(com.google.protobuf.ByteString value)
          optional bytes spent_by_transaction_hash = 3;
 Protos.TransactionOutput.Builder setSpentByTransactionIndex(int value)
          optional int32 spent_by_transaction_index = 4;
 Protos.TransactionOutput.Builder setValue(long value)
          required int64 value = 1;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Protos.TransactionOutput.Builder>

clear

public Protos.TransactionOutput.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<Protos.TransactionOutput.Builder>

clone

public Protos.TransactionOutput.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<Protos.TransactionOutput.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Protos.TransactionOutput.Builder>

getDefaultInstanceForType

public Protos.TransactionOutput getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public Protos.TransactionOutput build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public Protos.TransactionOutput buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public Protos.TransactionOutput.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protos.TransactionOutput.Builder>

mergeFrom

public Protos.TransactionOutput.Builder mergeFrom(Protos.TransactionOutput other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Protos.TransactionOutput.Builder>

mergeFrom

public Protos.TransactionOutput.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protos.TransactionOutput.Builder>
Throws:
IOException

hasValue

public boolean hasValue()
required int64 value = 1;

Specified by:
hasValue in interface Protos.TransactionOutputOrBuilder

getValue

public long getValue()
required int64 value = 1;

Specified by:
getValue in interface Protos.TransactionOutputOrBuilder

setValue

public Protos.TransactionOutput.Builder setValue(long value)
required int64 value = 1;


clearValue

public Protos.TransactionOutput.Builder clearValue()
required int64 value = 1;


hasScriptBytes

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

Specified by:
hasScriptBytes in interface Protos.TransactionOutputOrBuilder

getScriptBytes

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

Specified by:
getScriptBytes in interface Protos.TransactionOutputOrBuilder

setScriptBytes

public Protos.TransactionOutput.Builder setScriptBytes(com.google.protobuf.ByteString value)
required bytes script_bytes = 2;
 script of transaction output
 


clearScriptBytes

public Protos.TransactionOutput.Builder clearScriptBytes()
required bytes script_bytes = 2;
 script of transaction output
 


hasSpentByTransactionHash

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

Specified by:
hasSpentByTransactionHash in interface Protos.TransactionOutputOrBuilder

getSpentByTransactionHash

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

Specified by:
getSpentByTransactionHash in interface Protos.TransactionOutputOrBuilder

setSpentByTransactionHash

public Protos.TransactionOutput.Builder setSpentByTransactionHash(com.google.protobuf.ByteString value)
optional bytes spent_by_transaction_hash = 3;
 If spent, the hash of the transaction doing the spend.
 


clearSpentByTransactionHash

public Protos.TransactionOutput.Builder clearSpentByTransactionHash()
optional bytes spent_by_transaction_hash = 3;
 If spent, the hash of the transaction doing the spend.
 


hasSpentByTransactionIndex

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

Specified by:
hasSpentByTransactionIndex in interface Protos.TransactionOutputOrBuilder

getSpentByTransactionIndex

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

Specified by:
getSpentByTransactionIndex in interface Protos.TransactionOutputOrBuilder

setSpentByTransactionIndex

public Protos.TransactionOutput.Builder setSpentByTransactionIndex(int value)
optional int32 spent_by_transaction_index = 4;
 If spent, the index of the transaction input of the transaction doing the spend.
 


clearSpentByTransactionIndex

public Protos.TransactionOutput.Builder clearSpentByTransactionIndex()
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.