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

public static final class Protos.Payment.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Protos.Payment.Builder>
implements Protos.PaymentOrBuilder

Protobuf type payments.Payment


Method Summary
 Protos.Payment.Builder addAllRefundTo(Iterable<? extends Protos.Output> values)
          repeated .payments.Output refund_to = 3;
 Protos.Payment.Builder addAllTransactions(Iterable<? extends com.google.protobuf.ByteString> values)
          repeated bytes transactions = 2;
 Protos.Payment.Builder addRefundTo(int index, Protos.Output.Builder builderForValue)
          repeated .payments.Output refund_to = 3;
 Protos.Payment.Builder addRefundTo(int index, Protos.Output value)
          repeated .payments.Output refund_to = 3;
 Protos.Payment.Builder addRefundTo(Protos.Output.Builder builderForValue)
          repeated .payments.Output refund_to = 3;
 Protos.Payment.Builder addRefundTo(Protos.Output value)
          repeated .payments.Output refund_to = 3;
 Protos.Output.Builder addRefundToBuilder()
          repeated .payments.Output refund_to = 3;
 Protos.Output.Builder addRefundToBuilder(int index)
          repeated .payments.Output refund_to = 3;
 Protos.Payment.Builder addTransactions(com.google.protobuf.ByteString value)
          repeated bytes transactions = 2;
 Protos.Payment build()
           
 Protos.Payment buildPartial()
           
 Protos.Payment.Builder clear()
           
 Protos.Payment.Builder clearMemo()
          optional string memo = 4;
 Protos.Payment.Builder clearMerchantData()
          optional bytes merchant_data = 1;
 Protos.Payment.Builder clearRefundTo()
          repeated .payments.Output refund_to = 3;
 Protos.Payment.Builder clearTransactions()
          repeated bytes transactions = 2;
 Protos.Payment.Builder clone()
           
 Protos.Payment getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 String getMemo()
          optional string memo = 4;
 com.google.protobuf.ByteString getMemoBytes()
          optional string memo = 4;
 com.google.protobuf.ByteString getMerchantData()
          optional bytes merchant_data = 1;
 Protos.Output getRefundTo(int index)
          repeated .payments.Output refund_to = 3;
 Protos.Output.Builder getRefundToBuilder(int index)
          repeated .payments.Output refund_to = 3;
 List<Protos.Output.Builder> getRefundToBuilderList()
          repeated .payments.Output refund_to = 3;
 int getRefundToCount()
          repeated .payments.Output refund_to = 3;
 List<Protos.Output> getRefundToList()
          repeated .payments.Output refund_to = 3;
 Protos.OutputOrBuilder getRefundToOrBuilder(int index)
          repeated .payments.Output refund_to = 3;
 List<? extends Protos.OutputOrBuilder> getRefundToOrBuilderList()
          repeated .payments.Output refund_to = 3;
 com.google.protobuf.ByteString getTransactions(int index)
          repeated bytes transactions = 2;
 int getTransactionsCount()
          repeated bytes transactions = 2;
 List<com.google.protobuf.ByteString> getTransactionsList()
          repeated bytes transactions = 2;
 boolean hasMemo()
          optional string memo = 4;
 boolean hasMerchantData()
          optional bytes merchant_data = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 Protos.Payment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 Protos.Payment.Builder mergeFrom(com.google.protobuf.Message other)
           
 Protos.Payment.Builder mergeFrom(Protos.Payment other)
           
 Protos.Payment.Builder removeRefundTo(int index)
          repeated .payments.Output refund_to = 3;
 Protos.Payment.Builder setMemo(String value)
          optional string memo = 4;
 Protos.Payment.Builder setMemoBytes(com.google.protobuf.ByteString value)
          optional string memo = 4;
 Protos.Payment.Builder setMerchantData(com.google.protobuf.ByteString value)
          optional bytes merchant_data = 1;
 Protos.Payment.Builder setRefundTo(int index, Protos.Output.Builder builderForValue)
          repeated .payments.Output refund_to = 3;
 Protos.Payment.Builder setRefundTo(int index, Protos.Output value)
          repeated .payments.Output refund_to = 3;
 Protos.Payment.Builder setTransactions(int index, com.google.protobuf.ByteString value)
          repeated bytes transactions = 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.Payment.Builder>

clear

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

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

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

mergeFrom

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

hasMerchantData

public boolean hasMerchantData()
optional bytes merchant_data = 1;
 From PaymentDetails.merchant_data
 

Specified by:
hasMerchantData in interface Protos.PaymentOrBuilder

getMerchantData

public com.google.protobuf.ByteString getMerchantData()
optional bytes merchant_data = 1;
 From PaymentDetails.merchant_data
 

Specified by:
getMerchantData in interface Protos.PaymentOrBuilder

setMerchantData

public Protos.Payment.Builder setMerchantData(com.google.protobuf.ByteString value)
optional bytes merchant_data = 1;
 From PaymentDetails.merchant_data
 


clearMerchantData

public Protos.Payment.Builder clearMerchantData()
optional bytes merchant_data = 1;
 From PaymentDetails.merchant_data
 


getTransactionsList

public List<com.google.protobuf.ByteString> getTransactionsList()
repeated bytes transactions = 2;
 Signed transactions that satisfy PaymentDetails.outputs
 

Specified by:
getTransactionsList in interface Protos.PaymentOrBuilder

getTransactionsCount

public int getTransactionsCount()
repeated bytes transactions = 2;
 Signed transactions that satisfy PaymentDetails.outputs
 

Specified by:
getTransactionsCount in interface Protos.PaymentOrBuilder

getTransactions

public com.google.protobuf.ByteString getTransactions(int index)
repeated bytes transactions = 2;
 Signed transactions that satisfy PaymentDetails.outputs
 

Specified by:
getTransactions in interface Protos.PaymentOrBuilder

setTransactions

public Protos.Payment.Builder setTransactions(int index,
                                              com.google.protobuf.ByteString value)
repeated bytes transactions = 2;
 Signed transactions that satisfy PaymentDetails.outputs
 


addTransactions

public Protos.Payment.Builder addTransactions(com.google.protobuf.ByteString value)
repeated bytes transactions = 2;
 Signed transactions that satisfy PaymentDetails.outputs
 


addAllTransactions

public Protos.Payment.Builder addAllTransactions(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes transactions = 2;
 Signed transactions that satisfy PaymentDetails.outputs
 


clearTransactions

public Protos.Payment.Builder clearTransactions()
repeated bytes transactions = 2;
 Signed transactions that satisfy PaymentDetails.outputs
 


getRefundToList

public List<Protos.Output> getRefundToList()
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 

Specified by:
getRefundToList in interface Protos.PaymentOrBuilder

getRefundToCount

public int getRefundToCount()
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 

Specified by:
getRefundToCount in interface Protos.PaymentOrBuilder

getRefundTo

public Protos.Output getRefundTo(int index)
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 

Specified by:
getRefundTo in interface Protos.PaymentOrBuilder

setRefundTo

public Protos.Payment.Builder setRefundTo(int index,
                                          Protos.Output value)
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 


setRefundTo

public Protos.Payment.Builder setRefundTo(int index,
                                          Protos.Output.Builder builderForValue)
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 


addRefundTo

public Protos.Payment.Builder addRefundTo(Protos.Output value)
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 


addRefundTo

public Protos.Payment.Builder addRefundTo(int index,
                                          Protos.Output value)
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 


addRefundTo

public Protos.Payment.Builder addRefundTo(Protos.Output.Builder builderForValue)
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 


addRefundTo

public Protos.Payment.Builder addRefundTo(int index,
                                          Protos.Output.Builder builderForValue)
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 


addAllRefundTo

public Protos.Payment.Builder addAllRefundTo(Iterable<? extends Protos.Output> values)
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 


clearRefundTo

public Protos.Payment.Builder clearRefundTo()
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 


removeRefundTo

public Protos.Payment.Builder removeRefundTo(int index)
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 


getRefundToBuilder

public Protos.Output.Builder getRefundToBuilder(int index)
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 


getRefundToOrBuilder

public Protos.OutputOrBuilder getRefundToOrBuilder(int index)
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 

Specified by:
getRefundToOrBuilder in interface Protos.PaymentOrBuilder

getRefundToOrBuilderList

public List<? extends Protos.OutputOrBuilder> getRefundToOrBuilderList()
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 

Specified by:
getRefundToOrBuilderList in interface Protos.PaymentOrBuilder

addRefundToBuilder

public Protos.Output.Builder addRefundToBuilder()
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 


addRefundToBuilder

public Protos.Output.Builder addRefundToBuilder(int index)
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 


getRefundToBuilderList

public List<Protos.Output.Builder> getRefundToBuilderList()
repeated .payments.Output refund_to = 3;
 Where to send refunds, if a refund is necessary
 


hasMemo

public boolean hasMemo()
optional string memo = 4;
 Human-readable message for the merchant
 

Specified by:
hasMemo in interface Protos.PaymentOrBuilder

getMemo

public String getMemo()
optional string memo = 4;
 Human-readable message for the merchant
 

Specified by:
getMemo in interface Protos.PaymentOrBuilder

getMemoBytes

public com.google.protobuf.ByteString getMemoBytes()
optional string memo = 4;
 Human-readable message for the merchant
 

Specified by:
getMemoBytes in interface Protos.PaymentOrBuilder

setMemo

public Protos.Payment.Builder setMemo(String value)
optional string memo = 4;
 Human-readable message for the merchant
 


clearMemo

public Protos.Payment.Builder clearMemo()
optional string memo = 4;
 Human-readable message for the merchant
 


setMemoBytes

public Protos.Payment.Builder setMemoBytes(com.google.protobuf.ByteString value)
optional string memo = 4;
 Human-readable message for the merchant
 



Copyright © 2014. All rights reserved.