public static final class Protos.ProvideRefund.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protos.ProvideRefund.Builder> implements Protos.ProvideRefundOrBuilder
Sent from primary to secondary after Initiate to begin the refund transaction signing.Protobuf type
paymentchannels.ProvideRefund| Modifier and Type | Method and Description |
|---|---|
Protos.ProvideRefund.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ProvideRefund |
build() |
Protos.ProvideRefund |
buildPartial() |
Protos.ProvideRefund.Builder |
clear() |
Protos.ProvideRefund.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.ProvideRefund.Builder |
clearMultisigKey()
This must be a raw pubkey in regular ECDSA form.
|
Protos.ProvideRefund.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.ProvideRefund.Builder |
clearTx()
The serialized bytes of the return transaction in Satoshi format.
|
Protos.ProvideRefund.Builder |
clone() |
Protos.ProvideRefund |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getMultisigKey()
This must be a raw pubkey in regular ECDSA form.
|
com.google.protobuf.ByteString |
getTx()
The serialized bytes of the return transaction in Satoshi format.
|
boolean |
hasMultisigKey()
This must be a raw pubkey in regular ECDSA form.
|
boolean |
hasTx()
The serialized bytes of the return transaction in Satoshi format.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.ProvideRefund.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.ProvideRefund.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.ProvideRefund.Builder |
mergeFrom(Protos.ProvideRefund other) |
Protos.ProvideRefund.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.ProvideRefund.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ProvideRefund.Builder |
setMultisigKey(com.google.protobuf.ByteString value)
This must be a raw pubkey in regular ECDSA form.
|
Protos.ProvideRefund.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.ProvideRefund.Builder |
setTx(com.google.protobuf.ByteString value)
The serialized bytes of the return transaction in Satoshi format.
|
Protos.ProvideRefund.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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ProvideRefund.Builder>public Protos.ProvideRefund.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ProvideRefund.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ProvideRefund.Builder>public Protos.ProvideRefund getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Protos.ProvideRefund build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Protos.ProvideRefund buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Protos.ProvideRefund.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ProvideRefund.Builder>public Protos.ProvideRefund.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ProvideRefund.Builder>public Protos.ProvideRefund.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ProvideRefund.Builder>public Protos.ProvideRefund.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ProvideRefund.Builder>public Protos.ProvideRefund.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ProvideRefund.Builder>public Protos.ProvideRefund.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ProvideRefund.Builder>public Protos.ProvideRefund.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protos.ProvideRefund.Builder>public Protos.ProvideRefund.Builder mergeFrom(Protos.ProvideRefund other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ProvideRefund.Builder>public Protos.ProvideRefund.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protos.ProvideRefund.Builder>java.io.IOExceptionpublic boolean hasMultisigKey()
This must be a raw pubkey in regular ECDSA form. Both compressed and non-compressed forms are accepted. It is only used in the creation of the multisig contract.
required bytes multisig_key = 1;hasMultisigKey in interface Protos.ProvideRefundOrBuilderpublic com.google.protobuf.ByteString getMultisigKey()
This must be a raw pubkey in regular ECDSA form. Both compressed and non-compressed forms are accepted. It is only used in the creation of the multisig contract.
required bytes multisig_key = 1;getMultisigKey in interface Protos.ProvideRefundOrBuilderpublic Protos.ProvideRefund.Builder setMultisigKey(com.google.protobuf.ByteString value)
This must be a raw pubkey in regular ECDSA form. Both compressed and non-compressed forms are accepted. It is only used in the creation of the multisig contract.
required bytes multisig_key = 1;public Protos.ProvideRefund.Builder clearMultisigKey()
This must be a raw pubkey in regular ECDSA form. Both compressed and non-compressed forms are accepted. It is only used in the creation of the multisig contract.
required bytes multisig_key = 1;public boolean hasTx()
The serialized bytes of the return transaction in Satoshi format. * It must have exactly one input which spends the multisig output (see ProvideContract for details of exactly what that output must look like). This output must have a sequence number of 0. * It must have the lock time set to a time after the min_time_window_secs (from the Initiate message). * It must have exactly one output which goes back to the primary. This output's scriptPubKey will be reused to create payment transactions.
required bytes tx = 2;hasTx in interface Protos.ProvideRefundOrBuilderpublic com.google.protobuf.ByteString getTx()
The serialized bytes of the return transaction in Satoshi format. * It must have exactly one input which spends the multisig output (see ProvideContract for details of exactly what that output must look like). This output must have a sequence number of 0. * It must have the lock time set to a time after the min_time_window_secs (from the Initiate message). * It must have exactly one output which goes back to the primary. This output's scriptPubKey will be reused to create payment transactions.
required bytes tx = 2;getTx in interface Protos.ProvideRefundOrBuilderpublic Protos.ProvideRefund.Builder setTx(com.google.protobuf.ByteString value)
The serialized bytes of the return transaction in Satoshi format. * It must have exactly one input which spends the multisig output (see ProvideContract for details of exactly what that output must look like). This output must have a sequence number of 0. * It must have the lock time set to a time after the min_time_window_secs (from the Initiate message). * It must have exactly one output which goes back to the primary. This output's scriptPubKey will be reused to create payment transactions.
required bytes tx = 2;public Protos.ProvideRefund.Builder clearTx()
The serialized bytes of the return transaction in Satoshi format. * It must have exactly one input which spends the multisig output (see ProvideContract for details of exactly what that output must look like). This output must have a sequence number of 0. * It must have the lock time set to a time after the min_time_window_secs (from the Initiate message). * It must have exactly one output which goes back to the primary. This output's scriptPubKey will be reused to create payment transactions.
required bytes tx = 2;public final Protos.ProvideRefund.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ProvideRefund.Builder>public final Protos.ProvideRefund.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ProvideRefund.Builder>