public static final class LightningApi.Utxo extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.UtxoOrBuilder
lnrpc.Utxo| Modifier and Type | Class and Description |
|---|---|
static class |
LightningApi.Utxo.Builder
Protobuf type
lnrpc.Utxo |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ADDRESS_FIELD_NUMBER |
static int |
ADDRESS_TYPE_FIELD_NUMBER |
static int |
AMOUNT_SAT_FIELD_NUMBER |
static int |
CONFIRMATIONS_FIELD_NUMBER |
static int |
OUTPOINT_FIELD_NUMBER |
static int |
PK_SCRIPT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
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
|
static LightningApi.Utxo |
getDefaultInstance() |
LightningApi.Utxo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
LightningApi.OutPoint |
getOutpoint()
The outpoint in format txid:n
|
LightningApi.OutPointOrBuilder |
getOutpointOrBuilder()
The outpoint in format txid:n
|
com.google.protobuf.Parser<LightningApi.Utxo> |
getParserForType() |
java.lang.String |
getPkScript()
The pkscript in hex
|
com.google.protobuf.ByteString |
getPkScriptBytes()
The pkscript in hex
|
int |
getSerializedSize() |
int |
hashCode() |
boolean |
hasOutpoint()
The outpoint in format txid:n
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LightningApi.Utxo.Builder |
newBuilder() |
static LightningApi.Utxo.Builder |
newBuilder(LightningApi.Utxo prototype) |
LightningApi.Utxo.Builder |
newBuilderForType() |
protected LightningApi.Utxo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.Utxo |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.Utxo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.Utxo |
parseFrom(byte[] data) |
static LightningApi.Utxo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.Utxo |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.Utxo |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.Utxo |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.Utxo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.Utxo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.Utxo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.Utxo |
parseFrom(java.io.InputStream input) |
static LightningApi.Utxo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.Utxo> |
parser() |
LightningApi.Utxo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ADDRESS_TYPE_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
public static final int AMOUNT_SAT_FIELD_NUMBER
public static final int PK_SCRIPT_FIELD_NUMBER
public static final int OUTPOINT_FIELD_NUMBER
public static final int CONFIRMATIONS_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getAddressTypeValue()
The type of address
.lnrpc.AddressType address_type = 1;getAddressTypeValue in interface LightningApi.UtxoOrBuilderpublic LightningApi.AddressType getAddressType()
The type of address
.lnrpc.AddressType address_type = 1;getAddressType in interface LightningApi.UtxoOrBuilderpublic 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 long getAmountSat()
The value of the unspent coin in satoshis
int64 amount_sat = 3;getAmountSat in interface LightningApi.UtxoOrBuilderpublic 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 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.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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LightningApi.Utxo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.Utxo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.Utxo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.Utxo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.Utxo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.Utxo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.Utxo parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.Utxo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.Utxo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.Utxo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.Utxo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.Utxo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LightningApi.Utxo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LightningApi.Utxo.Builder newBuilder()
public static LightningApi.Utxo.Builder newBuilder(LightningApi.Utxo prototype)
public LightningApi.Utxo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LightningApi.Utxo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LightningApi.Utxo getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.Utxo> parser()
public com.google.protobuf.Parser<LightningApi.Utxo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LightningApi.Utxo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder