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, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
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.ProvideContract.Builder>
public Protos.ProvideContract.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.ProvideContract.Builder>
public Protos.ProvideContract.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.ProvideContract.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.ProvideContract.Builder>
public Protos.ProvideContract getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.ProvideContract build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.ProvideContract buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.ProvideContract.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.ProvideContract.Builder>
IOException
public 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.ProvideContractOrBuilder
public 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.ProvideContractOrBuilder
public 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.ProvideContractOrBuilder
public 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.ProvideContractOrBuilder
public 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.ProvideContractOrBuilder
Copyright © 2014. All rights reserved.