public static final class Protos.ProvideContract.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.ProvideContract.Builder> implements Protos.ProvideContractOrBuilder
paymentchannels.ProvideContract
Sent from the primary to the secondary to complete initialization.
| Modifier and Type | Method and Description |
|---|---|
Protos.ProvideContract |
build() |
Protos.ProvideContract |
buildPartial() |
Protos.ProvideContract.Builder |
clear() |
Protos.ProvideContract.Builder |
clearInitialPayment()
required .paymentchannels.UpdatePayment initial_payment = 2; |
Protos.ProvideContract.Builder |
clearTx()
required bytes tx = 1; |
Protos.ProvideContract.Builder |
clone() |
Protos.ProvideContract |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.UpdatePayment |
getInitialPayment()
required .paymentchannels.UpdatePayment initial_payment = 2; |
Protos.UpdatePayment.Builder |
getInitialPaymentBuilder()
required .paymentchannels.UpdatePayment initial_payment = 2; |
Protos.UpdatePaymentOrBuilder |
getInitialPaymentOrBuilder()
required .paymentchannels.UpdatePayment initial_payment = 2; |
com.google.protobuf.ByteString |
getTx()
required bytes tx = 1; |
boolean |
hasInitialPayment()
required .paymentchannels.UpdatePayment initial_payment = 2; |
boolean |
hasTx()
required bytes tx = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.ProvideContract.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.ProvideContract.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.ProvideContract.Builder |
mergeFrom(Protos.ProvideContract other) |
Protos.ProvideContract.Builder |
mergeInitialPayment(Protos.UpdatePayment value)
required .paymentchannels.UpdatePayment initial_payment = 2; |
Protos.ProvideContract.Builder |
setInitialPayment(Protos.UpdatePayment.Builder builderForValue)
required .paymentchannels.UpdatePayment initial_payment = 2; |
Protos.ProvideContract.Builder |
setInitialPayment(Protos.UpdatePayment value)
required .paymentchannels.UpdatePayment initial_payment = 2; |
Protos.ProvideContract.Builder |
setTx(com.google.protobuf.ByteString value)
required bytes tx = 1; |
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.ProvideContract.Builder>public Protos.ProvideContract.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.ProvideContract.Builder>public Protos.ProvideContract.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.ProvideContract.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.ProvideContract.Builder>public Protos.ProvideContract getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Protos.ProvideContract build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Protos.ProvideContract buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Protos.ProvideContract.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protos.ProvideContract.Builder>public Protos.ProvideContract.Builder mergeFrom(Protos.ProvideContract other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Protos.ProvideContract.Builder>public Protos.ProvideContract.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.ProvideContract.Builder>IOExceptionpublic boolean hasTx()
required bytes tx = 1;
The serialized bytes of the transaction in Satoshi format. * It must be signed and completely valid and ready for broadcast (ie it includes the necessary fees) TODO: tell the client how much fee it needs * Its first output must be a 2-of-2 multisig output with the first pubkey being the primary's and the second being the secondary's (ie the script must be exactly "OP_2 ProvideRefund.multisig_key Initiate.multisig_key OP_2 OP_CHECKMULTISIG")
hasTx in interface Protos.ProvideContractOrBuilderpublic com.google.protobuf.ByteString getTx()
required bytes tx = 1;
The serialized bytes of the transaction in Satoshi format. * It must be signed and completely valid and ready for broadcast (ie it includes the necessary fees) TODO: tell the client how much fee it needs * Its first output must be a 2-of-2 multisig output with the first pubkey being the primary's and the second being the secondary's (ie the script must be exactly "OP_2 ProvideRefund.multisig_key Initiate.multisig_key OP_2 OP_CHECKMULTISIG")
getTx in interface Protos.ProvideContractOrBuilderpublic Protos.ProvideContract.Builder setTx(com.google.protobuf.ByteString value)
required bytes tx = 1;
The serialized bytes of the transaction in Satoshi format. * It must be signed and completely valid and ready for broadcast (ie it includes the necessary fees) TODO: tell the client how much fee it needs * Its first output must be a 2-of-2 multisig output with the first pubkey being the primary's and the second being the secondary's (ie the script must be exactly "OP_2 ProvideRefund.multisig_key Initiate.multisig_key OP_2 OP_CHECKMULTISIG")
public Protos.ProvideContract.Builder clearTx()
required bytes tx = 1;
The serialized bytes of the transaction in Satoshi format. * It must be signed and completely valid and ready for broadcast (ie it includes the necessary fees) TODO: tell the client how much fee it needs * Its first output must be a 2-of-2 multisig output with the first pubkey being the primary's and the second being the secondary's (ie the script must be exactly "OP_2 ProvideRefund.multisig_key Initiate.multisig_key OP_2 OP_CHECKMULTISIG")
public boolean hasInitialPayment()
required .paymentchannels.UpdatePayment initial_payment = 2;
To open the channel, an initial payment of the server-specified dust limit value must be provided. This ensures that the channel is never in an un-settleable state due to either no payment tx having been provided at all, or a payment that is smaller than the dust limit being provided.
hasInitialPayment in interface Protos.ProvideContractOrBuilderpublic Protos.UpdatePayment getInitialPayment()
required .paymentchannels.UpdatePayment initial_payment = 2;
To open the channel, an initial payment of the server-specified dust limit value must be provided. This ensures that the channel is never in an un-settleable state due to either no payment tx having been provided at all, or a payment that is smaller than the dust limit being provided.
getInitialPayment in interface Protos.ProvideContractOrBuilderpublic Protos.ProvideContract.Builder setInitialPayment(Protos.UpdatePayment value)
required .paymentchannels.UpdatePayment initial_payment = 2;
To open the channel, an initial payment of the server-specified dust limit value must be provided. This ensures that the channel is never in an un-settleable state due to either no payment tx having been provided at all, or a payment that is smaller than the dust limit being provided.
public Protos.ProvideContract.Builder setInitialPayment(Protos.UpdatePayment.Builder builderForValue)
required .paymentchannels.UpdatePayment initial_payment = 2;
To open the channel, an initial payment of the server-specified dust limit value must be provided. This ensures that the channel is never in an un-settleable state due to either no payment tx having been provided at all, or a payment that is smaller than the dust limit being provided.
public Protos.ProvideContract.Builder mergeInitialPayment(Protos.UpdatePayment value)
required .paymentchannels.UpdatePayment initial_payment = 2;
To open the channel, an initial payment of the server-specified dust limit value must be provided. This ensures that the channel is never in an un-settleable state due to either no payment tx having been provided at all, or a payment that is smaller than the dust limit being provided.
public Protos.ProvideContract.Builder clearInitialPayment()
required .paymentchannels.UpdatePayment initial_payment = 2;
To open the channel, an initial payment of the server-specified dust limit value must be provided. This ensures that the channel is never in an un-settleable state due to either no payment tx having been provided at all, or a payment that is smaller than the dust limit being provided.
public Protos.UpdatePayment.Builder getInitialPaymentBuilder()
required .paymentchannels.UpdatePayment initial_payment = 2;
To open the channel, an initial payment of the server-specified dust limit value must be provided. This ensures that the channel is never in an un-settleable state due to either no payment tx having been provided at all, or a payment that is smaller than the dust limit being provided.
public Protos.UpdatePaymentOrBuilder getInitialPaymentOrBuilder()
required .paymentchannels.UpdatePayment initial_payment = 2;
To open the channel, an initial payment of the server-specified dust limit value must be provided. This ensures that the channel is never in an un-settleable state due to either no payment tx having been provided at all, or a payment that is smaller than the dust limit being provided.
getInitialPaymentOrBuilder in interface Protos.ProvideContractOrBuilderCopyright © 2015. All rights reserved.