public static final class Protos.ProvideRefund.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.ProvideRefund.Builder> implements Protos.ProvideRefundOrBuilder
paymentchannels.ProvideRefund
Sent from primary to secondary after Initiate to begin the refund transaction signing.
| Modifier and Type | Method and Description |
|---|---|
Protos.ProvideRefund |
build() |
Protos.ProvideRefund |
buildPartial() |
Protos.ProvideRefund.Builder |
clear() |
Protos.ProvideRefund.Builder |
clearMultisigKey()
required bytes multisig_key = 1; |
Protos.ProvideRefund.Builder |
clearTx()
required bytes tx = 2; |
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()
required bytes multisig_key = 1; |
com.google.protobuf.ByteString |
getTx()
required bytes tx = 2; |
boolean |
hasMultisigKey()
required bytes multisig_key = 1; |
boolean |
hasTx()
required bytes tx = 2; |
protected com.google.protobuf.GeneratedMessage.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 |
setMultisigKey(com.google.protobuf.ByteString value)
required bytes multisig_key = 1; |
Protos.ProvideRefund.Builder |
setTx(com.google.protobuf.ByteString value)
required bytes tx = 2; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<Protos.ProvideRefund.Builder>public Protos.ProvideRefund.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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 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.GeneratedMessage.Builder<Protos.ProvideRefund.Builder>public Protos.ProvideRefund.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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>IOExceptionpublic boolean hasMultisigKey()
required bytes multisig_key = 1;
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.
hasMultisigKey in interface Protos.ProvideRefundOrBuilderpublic com.google.protobuf.ByteString getMultisigKey()
required bytes multisig_key = 1;
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.
getMultisigKey in interface Protos.ProvideRefundOrBuilderpublic Protos.ProvideRefund.Builder setMultisigKey(com.google.protobuf.ByteString value)
required bytes multisig_key = 1;
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.
public Protos.ProvideRefund.Builder clearMultisigKey()
required bytes multisig_key = 1;
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.
public boolean hasTx()
required bytes tx = 2;
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.
hasTx in interface Protos.ProvideRefundOrBuilderpublic com.google.protobuf.ByteString getTx()
required bytes tx = 2;
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.
getTx in interface Protos.ProvideRefundOrBuilderpublic Protos.ProvideRefund.Builder setTx(com.google.protobuf.ByteString value)
required bytes tx = 2;
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.
public Protos.ProvideRefund.Builder clearTx()
required bytes tx = 2;
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.
Copyright © 2015. All rights reserved.