public static final class Protos.ReturnRefund.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.ReturnRefund.Builder> implements Protos.ReturnRefundOrBuilder
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.
Modifier and Type | Method and Description |
---|---|
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; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Protos.ReturnRefund.Builder>
public Protos.ReturnRefund.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Protos.ReturnRefund.Builder>
public Protos.ReturnRefund.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<Protos.ReturnRefund.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Protos.ReturnRefund.Builder>
public Protos.ReturnRefund getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.ReturnRefund build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.ReturnRefund buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.ReturnRefund.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.ReturnRefund.Builder>
public Protos.ReturnRefund.Builder mergeFrom(Protos.ReturnRefund other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Protos.ReturnRefund.Builder>
public Protos.ReturnRefund.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.ReturnRefund.Builder>
IOException
public boolean hasSignature()
required bytes signature = 1;
hasSignature
in interface Protos.ReturnRefundOrBuilder
public com.google.protobuf.ByteString getSignature()
required bytes signature = 1;
getSignature
in interface Protos.ReturnRefundOrBuilder
public Protos.ReturnRefund.Builder setSignature(com.google.protobuf.ByteString value)
required bytes signature = 1;
public Protos.ReturnRefund.Builder clearSignature()
required bytes signature = 1;
Copyright © 2014. All rights reserved.