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, 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.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.GeneratedMessageV3.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.GeneratedMessageV3.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 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.ProvideRefund.Builder>
public Protos.ProvideRefund.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.ProvideRefund.Builder>
public Protos.ProvideRefund.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.ProvideRefund.Builder>
public Protos.ProvideRefund.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.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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.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.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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.ProvideRefund.Builder>
java.io.IOException
public 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.ProvideRefundOrBuilder
public 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.ProvideRefundOrBuilder
public 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.ProvideRefundOrBuilder
public 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.ProvideRefundOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ProvideRefund.Builder>