public static final class WalletKitOuterClass.FundPsbtRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.FundPsbtRequest.Builder> implements WalletKitOuterClass.FundPsbtRequestOrBuilder
walletrpc.FundPsbtRequest| Modifier and Type | Method and Description |
|---|---|
WalletKitOuterClass.FundPsbtRequest |
build() |
WalletKitOuterClass.FundPsbtRequest |
buildPartial() |
WalletKitOuterClass.FundPsbtRequest.Builder |
clear() |
WalletKitOuterClass.FundPsbtRequest.Builder |
clearAccount()
The name of the account to fund the PSBT with.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
clearChangeType()
The address type for the change.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
clearFees() |
WalletKitOuterClass.FundPsbtRequest.Builder |
clearMinConfs()
The minimum number of confirmations each one of your outputs used for
the transaction must satisfy.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
clearPsbt()
Use an existing PSBT packet as the template for the funded PSBT.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
clearRaw()
Use the outputs and optional inputs from this raw template.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
clearSatPerVbyte()
The fee rate, expressed in sat/vbyte, that should be used to spend the
input with.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
clearSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the transaction.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
clearTargetConf()
The target number of blocks that the transaction should be confirmed in.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
clearTemplate() |
java.lang.String |
getAccount()
The name of the account to fund the PSBT with.
|
com.google.protobuf.ByteString |
getAccountBytes()
The name of the account to fund the PSBT with.
|
WalletKitOuterClass.ChangeAddressType |
getChangeType()
The address type for the change.
|
int |
getChangeTypeValue()
The address type for the change.
|
WalletKitOuterClass.FundPsbtRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
WalletKitOuterClass.FundPsbtRequest.FeesCase |
getFeesCase() |
int |
getMinConfs()
The minimum number of confirmations each one of your outputs used for
the transaction must satisfy.
|
com.google.protobuf.ByteString |
getPsbt()
Use an existing PSBT packet as the template for the funded PSBT.
|
WalletKitOuterClass.TxTemplate |
getRaw()
Use the outputs and optional inputs from this raw template.
|
WalletKitOuterClass.TxTemplate.Builder |
getRawBuilder()
Use the outputs and optional inputs from this raw template.
|
WalletKitOuterClass.TxTemplateOrBuilder |
getRawOrBuilder()
Use the outputs and optional inputs from this raw template.
|
long |
getSatPerVbyte()
The fee rate, expressed in sat/vbyte, that should be used to spend the
input with.
|
boolean |
getSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the transaction.
|
int |
getTargetConf()
The target number of blocks that the transaction should be confirmed in.
|
WalletKitOuterClass.FundPsbtRequest.TemplateCase |
getTemplateCase() |
boolean |
hasPsbt()
Use an existing PSBT packet as the template for the funded PSBT.
|
boolean |
hasRaw()
Use the outputs and optional inputs from this raw template.
|
boolean |
hasSatPerVbyte()
The fee rate, expressed in sat/vbyte, that should be used to spend the
input with.
|
boolean |
hasTargetConf()
The target number of blocks that the transaction should be confirmed in.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
WalletKitOuterClass.FundPsbtRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WalletKitOuterClass.FundPsbtRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
WalletKitOuterClass.FundPsbtRequest.Builder |
mergeFrom(WalletKitOuterClass.FundPsbtRequest other) |
WalletKitOuterClass.FundPsbtRequest.Builder |
mergeRaw(WalletKitOuterClass.TxTemplate value)
Use the outputs and optional inputs from this raw template.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WalletKitOuterClass.FundPsbtRequest.Builder |
setAccount(java.lang.String value)
The name of the account to fund the PSBT with.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
setAccountBytes(com.google.protobuf.ByteString value)
The name of the account to fund the PSBT with.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
setChangeType(WalletKitOuterClass.ChangeAddressType value)
The address type for the change.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
setChangeTypeValue(int value)
The address type for the change.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
setMinConfs(int value)
The minimum number of confirmations each one of your outputs used for
the transaction must satisfy.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
setPsbt(com.google.protobuf.ByteString value)
Use an existing PSBT packet as the template for the funded PSBT.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
setRaw(WalletKitOuterClass.TxTemplate.Builder builderForValue)
Use the outputs and optional inputs from this raw template.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
setRaw(WalletKitOuterClass.TxTemplate value)
Use the outputs and optional inputs from this raw template.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
setSatPerVbyte(long value)
The fee rate, expressed in sat/vbyte, that should be used to spend the
input with.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
setSpendUnconfirmed(boolean value)
Whether unconfirmed outputs should be used as inputs for the transaction.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
setTargetConf(int value)
The target number of blocks that the transaction should be confirmed in.
|
WalletKitOuterClass.FundPsbtRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.FundPsbtRequest.Builder>public WalletKitOuterClass.FundPsbtRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.FundPsbtRequest.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.GeneratedMessageV3.Builder<WalletKitOuterClass.FundPsbtRequest.Builder>public WalletKitOuterClass.FundPsbtRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic WalletKitOuterClass.FundPsbtRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic WalletKitOuterClass.FundPsbtRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic WalletKitOuterClass.FundPsbtRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WalletKitOuterClass.FundPsbtRequest.Builder>public WalletKitOuterClass.FundPsbtRequest.Builder mergeFrom(WalletKitOuterClass.FundPsbtRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.FundPsbtRequest.Builder>public WalletKitOuterClass.FundPsbtRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WalletKitOuterClass.FundPsbtRequest.Builder>java.io.IOExceptionpublic WalletKitOuterClass.FundPsbtRequest.TemplateCase getTemplateCase()
getTemplateCase in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic WalletKitOuterClass.FundPsbtRequest.Builder clearTemplate()
public WalletKitOuterClass.FundPsbtRequest.FeesCase getFeesCase()
getFeesCase in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic WalletKitOuterClass.FundPsbtRequest.Builder clearFees()
public boolean hasPsbt()
Use an existing PSBT packet as the template for the funded PSBT. The packet must contain at least one non-dust output. If one or more inputs are specified, no coin selection is performed. In that case every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the specified fee rate. A change output is added to the PSBT if necessary.
bytes psbt = 1;hasPsbt in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic com.google.protobuf.ByteString getPsbt()
Use an existing PSBT packet as the template for the funded PSBT. The packet must contain at least one non-dust output. If one or more inputs are specified, no coin selection is performed. In that case every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the specified fee rate. A change output is added to the PSBT if necessary.
bytes psbt = 1;getPsbt in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic WalletKitOuterClass.FundPsbtRequest.Builder setPsbt(com.google.protobuf.ByteString value)
Use an existing PSBT packet as the template for the funded PSBT. The packet must contain at least one non-dust output. If one or more inputs are specified, no coin selection is performed. In that case every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the specified fee rate. A change output is added to the PSBT if necessary.
bytes psbt = 1;value - The psbt to set.public WalletKitOuterClass.FundPsbtRequest.Builder clearPsbt()
Use an existing PSBT packet as the template for the funded PSBT. The packet must contain at least one non-dust output. If one or more inputs are specified, no coin selection is performed. In that case every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the specified fee rate. A change output is added to the PSBT if necessary.
bytes psbt = 1;public boolean hasRaw()
Use the outputs and optional inputs from this raw template.
.walletrpc.TxTemplate raw = 2;hasRaw in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic WalletKitOuterClass.TxTemplate getRaw()
Use the outputs and optional inputs from this raw template.
.walletrpc.TxTemplate raw = 2;getRaw in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic WalletKitOuterClass.FundPsbtRequest.Builder setRaw(WalletKitOuterClass.TxTemplate value)
Use the outputs and optional inputs from this raw template.
.walletrpc.TxTemplate raw = 2;public WalletKitOuterClass.FundPsbtRequest.Builder setRaw(WalletKitOuterClass.TxTemplate.Builder builderForValue)
Use the outputs and optional inputs from this raw template.
.walletrpc.TxTemplate raw = 2;public WalletKitOuterClass.FundPsbtRequest.Builder mergeRaw(WalletKitOuterClass.TxTemplate value)
Use the outputs and optional inputs from this raw template.
.walletrpc.TxTemplate raw = 2;public WalletKitOuterClass.FundPsbtRequest.Builder clearRaw()
Use the outputs and optional inputs from this raw template.
.walletrpc.TxTemplate raw = 2;public WalletKitOuterClass.TxTemplate.Builder getRawBuilder()
Use the outputs and optional inputs from this raw template.
.walletrpc.TxTemplate raw = 2;public WalletKitOuterClass.TxTemplateOrBuilder getRawOrBuilder()
Use the outputs and optional inputs from this raw template.
.walletrpc.TxTemplate raw = 2;getRawOrBuilder in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic boolean hasTargetConf()
The target number of blocks that the transaction should be confirmed in.
uint32 target_conf = 3;hasTargetConf in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic int getTargetConf()
The target number of blocks that the transaction should be confirmed in.
uint32 target_conf = 3;getTargetConf in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic WalletKitOuterClass.FundPsbtRequest.Builder setTargetConf(int value)
The target number of blocks that the transaction should be confirmed in.
uint32 target_conf = 3;value - The targetConf to set.public WalletKitOuterClass.FundPsbtRequest.Builder clearTargetConf()
The target number of blocks that the transaction should be confirmed in.
uint32 target_conf = 3;public boolean hasSatPerVbyte()
The fee rate, expressed in sat/vbyte, that should be used to spend the input with.
uint64 sat_per_vbyte = 4;hasSatPerVbyte in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic long getSatPerVbyte()
The fee rate, expressed in sat/vbyte, that should be used to spend the input with.
uint64 sat_per_vbyte = 4;getSatPerVbyte in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic WalletKitOuterClass.FundPsbtRequest.Builder setSatPerVbyte(long value)
The fee rate, expressed in sat/vbyte, that should be used to spend the input with.
uint64 sat_per_vbyte = 4;value - The satPerVbyte to set.public WalletKitOuterClass.FundPsbtRequest.Builder clearSatPerVbyte()
The fee rate, expressed in sat/vbyte, that should be used to spend the input with.
uint64 sat_per_vbyte = 4;public java.lang.String getAccount()
The name of the account to fund the PSBT with. If empty, the default wallet account is used.
string account = 5;getAccount in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic com.google.protobuf.ByteString getAccountBytes()
The name of the account to fund the PSBT with. If empty, the default wallet account is used.
string account = 5;getAccountBytes in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic WalletKitOuterClass.FundPsbtRequest.Builder setAccount(java.lang.String value)
The name of the account to fund the PSBT with. If empty, the default wallet account is used.
string account = 5;value - The account to set.public WalletKitOuterClass.FundPsbtRequest.Builder clearAccount()
The name of the account to fund the PSBT with. If empty, the default wallet account is used.
string account = 5;public WalletKitOuterClass.FundPsbtRequest.Builder setAccountBytes(com.google.protobuf.ByteString value)
The name of the account to fund the PSBT with. If empty, the default wallet account is used.
string account = 5;value - The bytes for account to set.public int getMinConfs()
The minimum number of confirmations each one of your outputs used for the transaction must satisfy.
int32 min_confs = 6;getMinConfs in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic WalletKitOuterClass.FundPsbtRequest.Builder setMinConfs(int value)
The minimum number of confirmations each one of your outputs used for the transaction must satisfy.
int32 min_confs = 6;value - The minConfs to set.public WalletKitOuterClass.FundPsbtRequest.Builder clearMinConfs()
The minimum number of confirmations each one of your outputs used for the transaction must satisfy.
int32 min_confs = 6;public boolean getSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the transaction.
bool spend_unconfirmed = 7;getSpendUnconfirmed in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic WalletKitOuterClass.FundPsbtRequest.Builder setSpendUnconfirmed(boolean value)
Whether unconfirmed outputs should be used as inputs for the transaction.
bool spend_unconfirmed = 7;value - The spendUnconfirmed to set.public WalletKitOuterClass.FundPsbtRequest.Builder clearSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the transaction.
bool spend_unconfirmed = 7;public int getChangeTypeValue()
The address type for the change. If empty, P2WPKH addresses will be used for default accounts and single imported public keys. For custom accounts, no change type should be provided as the coin selection key scope will always be used to generate the change address.
.walletrpc.ChangeAddressType change_type = 8;getChangeTypeValue in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic WalletKitOuterClass.FundPsbtRequest.Builder setChangeTypeValue(int value)
The address type for the change. If empty, P2WPKH addresses will be used for default accounts and single imported public keys. For custom accounts, no change type should be provided as the coin selection key scope will always be used to generate the change address.
.walletrpc.ChangeAddressType change_type = 8;value - The enum numeric value on the wire for changeType to set.public WalletKitOuterClass.ChangeAddressType getChangeType()
The address type for the change. If empty, P2WPKH addresses will be used for default accounts and single imported public keys. For custom accounts, no change type should be provided as the coin selection key scope will always be used to generate the change address.
.walletrpc.ChangeAddressType change_type = 8;getChangeType in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic WalletKitOuterClass.FundPsbtRequest.Builder setChangeType(WalletKitOuterClass.ChangeAddressType value)
The address type for the change. If empty, P2WPKH addresses will be used for default accounts and single imported public keys. For custom accounts, no change type should be provided as the coin selection key scope will always be used to generate the change address.
.walletrpc.ChangeAddressType change_type = 8;value - The changeType to set.public WalletKitOuterClass.FundPsbtRequest.Builder clearChangeType()
The address type for the change. If empty, P2WPKH addresses will be used for default accounts and single imported public keys. For custom accounts, no change type should be provided as the coin selection key scope will always be used to generate the change address.
.walletrpc.ChangeAddressType change_type = 8;public final WalletKitOuterClass.FundPsbtRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.FundPsbtRequest.Builder>public final WalletKitOuterClass.FundPsbtRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.FundPsbtRequest.Builder>