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, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
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.ProvideRefund.Builder>
public Protos.ProvideRefund.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.ProvideRefund.Builder>
public Protos.ProvideRefund.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.ProvideRefund.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.ProvideRefund.Builder>
public Protos.ProvideRefund getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.ProvideRefund build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.ProvideRefund buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.ProvideRefund.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.ProvideRefund.Builder>
IOException
public 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.ProvideRefundOrBuilder
public 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.ProvideRefundOrBuilder
public 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.ProvideRefundOrBuilder
public 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.ProvideRefundOrBuilder
public 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 © 2016. All rights reserved.