org.bitcoin.protocols.payments
Class Protos.Output.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.Output.Builder>
              extended by org.bitcoin.protocols.payments.Protos.Output.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Protos.OutputOrBuilder
Enclosing class:
Protos.Output

public static final class Protos.Output.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Protos.Output.Builder>
implements Protos.OutputOrBuilder

Protobuf type payments.Output

 Generalized form of "send payment to this/these bitcoin addresses"
 


Method Summary
 Protos.Output build()
           
 Protos.Output buildPartial()
           
 Protos.Output.Builder clear()
           
 Protos.Output.Builder clearAmount()
          optional uint64 amount = 1 [default = 0];
 Protos.Output.Builder clearScript()
          required bytes script = 2;
 Protos.Output.Builder clone()
           
 long getAmount()
          optional uint64 amount = 1 [default = 0];
 Protos.Output getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 com.google.protobuf.ByteString getScript()
          required bytes script = 2;
 boolean hasAmount()
          optional uint64 amount = 1 [default = 0];
 boolean hasScript()
          required bytes script = 2;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 Protos.Output.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 Protos.Output.Builder mergeFrom(com.google.protobuf.Message other)
           
 Protos.Output.Builder mergeFrom(Protos.Output other)
           
 Protos.Output.Builder setAmount(long value)
          optional uint64 amount = 1 [default = 0];
 Protos.Output.Builder setScript(com.google.protobuf.ByteString value)
          required bytes script = 2;
 
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.Output.Builder>

clear

public Protos.Output.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.Output.Builder>

clone

public Protos.Output.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.Output.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.Output.Builder>

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

public Protos.Output.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.Output.Builder>

mergeFrom

public Protos.Output.Builder mergeFrom(Protos.Output 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.Output.Builder>

mergeFrom

public Protos.Output.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.Output.Builder>
Throws:
IOException

hasAmount

public boolean hasAmount()
optional uint64 amount = 1 [default = 0];
 amount is integer-number-of-satoshis
 

Specified by:
hasAmount in interface Protos.OutputOrBuilder

getAmount

public long getAmount()
optional uint64 amount = 1 [default = 0];
 amount is integer-number-of-satoshis
 

Specified by:
getAmount in interface Protos.OutputOrBuilder

setAmount

public Protos.Output.Builder setAmount(long value)
optional uint64 amount = 1 [default = 0];
 amount is integer-number-of-satoshis
 


clearAmount

public Protos.Output.Builder clearAmount()
optional uint64 amount = 1 [default = 0];
 amount is integer-number-of-satoshis
 


hasScript

public boolean hasScript()
required bytes script = 2;
 usually one of the standard Script forms
 

Specified by:
hasScript in interface Protos.OutputOrBuilder

getScript

public com.google.protobuf.ByteString getScript()
required bytes script = 2;
 usually one of the standard Script forms
 

Specified by:
getScript in interface Protos.OutputOrBuilder

setScript

public Protos.Output.Builder setScript(com.google.protobuf.ByteString value)
required bytes script = 2;
 usually one of the standard Script forms
 


clearScript

public Protos.Output.Builder clearScript()
required bytes script = 2;
 usually one of the standard Script forms
 



Copyright © 2014. All rights reserved.