public static final class Protos.ReturnRefund.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protos.ReturnRefund.Builder> implements Protos.ReturnRefundOrBuilder
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.Protobuf type
paymentchannels.ReturnRefund
Modifier and Type | Method and Description |
---|---|
Protos.ReturnRefund.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ReturnRefund |
build() |
Protos.ReturnRefund |
buildPartial() |
Protos.ReturnRefund.Builder |
clear() |
Protos.ReturnRefund.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.ReturnRefund.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.ReturnRefund.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ReturnRefund.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.ReturnRefund.Builder |
setSignature(com.google.protobuf.ByteString value)
required bytes signature = 1; |
Protos.ReturnRefund.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ReturnRefund.Builder>
public Protos.ReturnRefund.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ReturnRefund.Builder>
public Protos.ReturnRefund.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ReturnRefund.Builder>
public Protos.ReturnRefund.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ReturnRefund.Builder>
public Protos.ReturnRefund.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ReturnRefund.Builder>
public Protos.ReturnRefund.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ReturnRefund.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.GeneratedMessageV3.Builder<Protos.ReturnRefund.Builder>
public Protos.ReturnRefund.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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>
java.io.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;
public final Protos.ReturnRefund.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ReturnRefund.Builder>
public final Protos.ReturnRefund.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ReturnRefund.Builder>