public static final class LightningApi.Utxo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Utxo.Builder> implements LightningApi.UtxoOrBuilder
lnrpc.Utxo| Modifier and Type | Method and Description |
|---|---|
LightningApi.Utxo |
build() |
LightningApi.Utxo |
buildPartial() |
LightningApi.Utxo.Builder |
clear() |
LightningApi.Utxo.Builder |
clearAddress()
The address
|
LightningApi.Utxo.Builder |
clearAddressType()
The type of address
|
LightningApi.Utxo.Builder |
clearAmountSat()
The value of the unspent coin in satoshis
|
LightningApi.Utxo.Builder |
clearConfirmations()
The number of confirmations for the Utxo
|
LightningApi.Utxo.Builder |
clearOutpoint()
The outpoint in format txid:n
|
LightningApi.Utxo.Builder |
clearPkScript()
The pkscript in hex
|
java.lang.String |
getAddress()
The address
|
com.google.protobuf.ByteString |
getAddressBytes()
The address
|
LightningApi.AddressType |
getAddressType()
The type of address
|
int |
getAddressTypeValue()
The type of address
|
long |
getAmountSat()
The value of the unspent coin in satoshis
|
long |
getConfirmations()
The number of confirmations for the Utxo
|
LightningApi.Utxo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LightningApi.OutPoint |
getOutpoint()
The outpoint in format txid:n
|
LightningApi.OutPoint.Builder |
getOutpointBuilder()
The outpoint in format txid:n
|
LightningApi.OutPointOrBuilder |
getOutpointOrBuilder()
The outpoint in format txid:n
|
java.lang.String |
getPkScript()
The pkscript in hex
|
com.google.protobuf.ByteString |
getPkScriptBytes()
The pkscript in hex
|
boolean |
hasOutpoint()
The outpoint in format txid:n
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.Utxo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.Utxo.Builder |
mergeFrom(LightningApi.Utxo other) |
LightningApi.Utxo.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.Utxo.Builder |
mergeOutpoint(LightningApi.OutPoint value)
The outpoint in format txid:n
|
LightningApi.Utxo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.Utxo.Builder |
setAddress(java.lang.String value)
The address
|
LightningApi.Utxo.Builder |
setAddressBytes(com.google.protobuf.ByteString value)
The address
|
LightningApi.Utxo.Builder |
setAddressType(LightningApi.AddressType value)
The type of address
|
LightningApi.Utxo.Builder |
setAddressTypeValue(int value)
The type of address
|
LightningApi.Utxo.Builder |
setAmountSat(long value)
The value of the unspent coin in satoshis
|
LightningApi.Utxo.Builder |
setConfirmations(long value)
The number of confirmations for the Utxo
|
LightningApi.Utxo.Builder |
setOutpoint(LightningApi.OutPoint.Builder builderForValue)
The outpoint in format txid:n
|
LightningApi.Utxo.Builder |
setOutpoint(LightningApi.OutPoint value)
The outpoint in format txid:n
|
LightningApi.Utxo.Builder |
setPkScript(java.lang.String value)
The pkscript in hex
|
LightningApi.Utxo.Builder |
setPkScriptBytes(com.google.protobuf.ByteString value)
The pkscript in hex
|
LightningApi.Utxo.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<LightningApi.Utxo.Builder>public LightningApi.Utxo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Utxo.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<LightningApi.Utxo.Builder>public LightningApi.Utxo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.Utxo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.Utxo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.Utxo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.Utxo.Builder>public LightningApi.Utxo.Builder mergeFrom(LightningApi.Utxo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Utxo.Builder>public LightningApi.Utxo.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<LightningApi.Utxo.Builder>java.io.IOExceptionpublic int getAddressTypeValue()
The type of address
.lnrpc.AddressType address_type = 1;getAddressTypeValue in interface LightningApi.UtxoOrBuilderpublic LightningApi.Utxo.Builder setAddressTypeValue(int value)
The type of address
.lnrpc.AddressType address_type = 1;value - The enum numeric value on the wire for addressType to set.public LightningApi.AddressType getAddressType()
The type of address
.lnrpc.AddressType address_type = 1;getAddressType in interface LightningApi.UtxoOrBuilderpublic LightningApi.Utxo.Builder setAddressType(LightningApi.AddressType value)
The type of address
.lnrpc.AddressType address_type = 1;value - The addressType to set.public LightningApi.Utxo.Builder clearAddressType()
The type of address
.lnrpc.AddressType address_type = 1;public java.lang.String getAddress()
The address
string address = 2;getAddress in interface LightningApi.UtxoOrBuilderpublic com.google.protobuf.ByteString getAddressBytes()
The address
string address = 2;getAddressBytes in interface LightningApi.UtxoOrBuilderpublic LightningApi.Utxo.Builder setAddress(java.lang.String value)
The address
string address = 2;value - The address to set.public LightningApi.Utxo.Builder clearAddress()
The address
string address = 2;public LightningApi.Utxo.Builder setAddressBytes(com.google.protobuf.ByteString value)
The address
string address = 2;value - The bytes for address to set.public long getAmountSat()
The value of the unspent coin in satoshis
int64 amount_sat = 3;getAmountSat in interface LightningApi.UtxoOrBuilderpublic LightningApi.Utxo.Builder setAmountSat(long value)
The value of the unspent coin in satoshis
int64 amount_sat = 3;value - The amountSat to set.public LightningApi.Utxo.Builder clearAmountSat()
The value of the unspent coin in satoshis
int64 amount_sat = 3;public java.lang.String getPkScript()
The pkscript in hex
string pk_script = 4;getPkScript in interface LightningApi.UtxoOrBuilderpublic com.google.protobuf.ByteString getPkScriptBytes()
The pkscript in hex
string pk_script = 4;getPkScriptBytes in interface LightningApi.UtxoOrBuilderpublic LightningApi.Utxo.Builder setPkScript(java.lang.String value)
The pkscript in hex
string pk_script = 4;value - The pkScript to set.public LightningApi.Utxo.Builder clearPkScript()
The pkscript in hex
string pk_script = 4;public LightningApi.Utxo.Builder setPkScriptBytes(com.google.protobuf.ByteString value)
The pkscript in hex
string pk_script = 4;value - The bytes for pkScript to set.public boolean hasOutpoint()
The outpoint in format txid:n
.lnrpc.OutPoint outpoint = 5;hasOutpoint in interface LightningApi.UtxoOrBuilderpublic LightningApi.OutPoint getOutpoint()
The outpoint in format txid:n
.lnrpc.OutPoint outpoint = 5;getOutpoint in interface LightningApi.UtxoOrBuilderpublic LightningApi.Utxo.Builder setOutpoint(LightningApi.OutPoint value)
The outpoint in format txid:n
.lnrpc.OutPoint outpoint = 5;public LightningApi.Utxo.Builder setOutpoint(LightningApi.OutPoint.Builder builderForValue)
The outpoint in format txid:n
.lnrpc.OutPoint outpoint = 5;public LightningApi.Utxo.Builder mergeOutpoint(LightningApi.OutPoint value)
The outpoint in format txid:n
.lnrpc.OutPoint outpoint = 5;public LightningApi.Utxo.Builder clearOutpoint()
The outpoint in format txid:n
.lnrpc.OutPoint outpoint = 5;public LightningApi.OutPoint.Builder getOutpointBuilder()
The outpoint in format txid:n
.lnrpc.OutPoint outpoint = 5;public LightningApi.OutPointOrBuilder getOutpointOrBuilder()
The outpoint in format txid:n
.lnrpc.OutPoint outpoint = 5;getOutpointOrBuilder in interface LightningApi.UtxoOrBuilderpublic long getConfirmations()
The number of confirmations for the Utxo
int64 confirmations = 6;getConfirmations in interface LightningApi.UtxoOrBuilderpublic LightningApi.Utxo.Builder setConfirmations(long value)
The number of confirmations for the Utxo
int64 confirmations = 6;value - The confirmations to set.public LightningApi.Utxo.Builder clearConfirmations()
The number of confirmations for the Utxo
int64 confirmations = 6;public final LightningApi.Utxo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Utxo.Builder>public final LightningApi.Utxo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Utxo.Builder>