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

public static final class Protos.ReturnRefund.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Protos.ReturnRefund.Builder>
implements Protos.ReturnRefundOrBuilder

Protobuf type paymentchannels.ReturnRefund

 Sent from secondary to primary after it has done initial verification of the refund
 transaction. Contains the primary's signature which is required to spend the multisig contract
 to the refund transaction. Must be signed using SIGHASH_NONE|SIGHASH_ANYONECANPAY (and include
 the postfix type byte) to allow the client to add any outputs/inputs it wants as long as the
 input's sequence and transaction's nLockTime remain set.
 


Method Summary
 Protos.ReturnRefund build()
           
 Protos.ReturnRefund buildPartial()
           
 Protos.ReturnRefund.Builder clear()
           
 Protos.ReturnRefund.Builder clearSignature()
          required bytes signature = 1;
 Protos.ReturnRefund.Builder clone()
           
 Protos.ReturnRefund getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 com.google.protobuf.ByteString getSignature()
          required bytes signature = 1;
 boolean hasSignature()
          required bytes signature = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 Protos.ReturnRefund.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 Protos.ReturnRefund.Builder mergeFrom(com.google.protobuf.Message other)
           
 Protos.ReturnRefund.Builder mergeFrom(Protos.ReturnRefund other)
           
 Protos.ReturnRefund.Builder setSignature(com.google.protobuf.ByteString value)
          required bytes signature = 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.ReturnRefund.Builder>

clear

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

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

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

mergeFrom

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

hasSignature

public boolean hasSignature()
required bytes signature = 1;

Specified by:
hasSignature in interface Protos.ReturnRefundOrBuilder

getSignature

public com.google.protobuf.ByteString getSignature()
required bytes signature = 1;

Specified by:
getSignature in interface Protos.ReturnRefundOrBuilder

setSignature

public Protos.ReturnRefund.Builder setSignature(com.google.protobuf.ByteString value)
required bytes signature = 1;


clearSignature

public Protos.ReturnRefund.Builder clearSignature()
required bytes signature = 1;



Copyright © 2014. All rights reserved.