public static final class LightningApi.OutputDetail.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OutputDetail.Builder> implements LightningApi.OutputDetailOrBuilder
lnrpc.OutputDetail| Modifier and Type | Method and Description |
|---|---|
LightningApi.OutputDetail |
build() |
LightningApi.OutputDetail |
buildPartial() |
LightningApi.OutputDetail.Builder |
clear() |
LightningApi.OutputDetail.Builder |
clearAddress()
The address
|
LightningApi.OutputDetail.Builder |
clearAmount()
The value of the output coin in satoshis
|
LightningApi.OutputDetail.Builder |
clearIsOurAddress()
Denotes if the output is controlled by the internal wallet
|
LightningApi.OutputDetail.Builder |
clearOutputIndex()
The output index used in the raw transaction
|
LightningApi.OutputDetail.Builder |
clearOutputType()
The type of the output
|
LightningApi.OutputDetail.Builder |
clearPkScript()
The pkscript in hex
|
java.lang.String |
getAddress()
The address
|
com.google.protobuf.ByteString |
getAddressBytes()
The address
|
long |
getAmount()
The value of the output coin in satoshis
|
LightningApi.OutputDetail |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIsOurAddress()
Denotes if the output is controlled by the internal wallet
|
long |
getOutputIndex()
The output index used in the raw transaction
|
LightningApi.OutputScriptType |
getOutputType()
The type of the output
|
int |
getOutputTypeValue()
The type of the output
|
java.lang.String |
getPkScript()
The pkscript in hex
|
com.google.protobuf.ByteString |
getPkScriptBytes()
The pkscript in hex
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.OutputDetail.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.OutputDetail.Builder |
mergeFrom(LightningApi.OutputDetail other) |
LightningApi.OutputDetail.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.OutputDetail.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.OutputDetail.Builder |
setAddress(java.lang.String value)
The address
|
LightningApi.OutputDetail.Builder |
setAddressBytes(com.google.protobuf.ByteString value)
The address
|
LightningApi.OutputDetail.Builder |
setAmount(long value)
The value of the output coin in satoshis
|
LightningApi.OutputDetail.Builder |
setIsOurAddress(boolean value)
Denotes if the output is controlled by the internal wallet
|
LightningApi.OutputDetail.Builder |
setOutputIndex(long value)
The output index used in the raw transaction
|
LightningApi.OutputDetail.Builder |
setOutputType(LightningApi.OutputScriptType value)
The type of the output
|
LightningApi.OutputDetail.Builder |
setOutputTypeValue(int value)
The type of the output
|
LightningApi.OutputDetail.Builder |
setPkScript(java.lang.String value)
The pkscript in hex
|
LightningApi.OutputDetail.Builder |
setPkScriptBytes(com.google.protobuf.ByteString value)
The pkscript in hex
|
LightningApi.OutputDetail.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.OutputDetail.Builder>public LightningApi.OutputDetail.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.OutputDetail.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.OutputDetail.Builder>public LightningApi.OutputDetail getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.OutputDetail build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.OutputDetail buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.OutputDetail.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.OutputDetail.Builder>public LightningApi.OutputDetail.Builder mergeFrom(LightningApi.OutputDetail other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OutputDetail.Builder>public LightningApi.OutputDetail.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.OutputDetail.Builder>java.io.IOExceptionpublic int getOutputTypeValue()
The type of the output
.lnrpc.OutputScriptType output_type = 1;getOutputTypeValue in interface LightningApi.OutputDetailOrBuilderpublic LightningApi.OutputDetail.Builder setOutputTypeValue(int value)
The type of the output
.lnrpc.OutputScriptType output_type = 1;value - The enum numeric value on the wire for outputType to set.public LightningApi.OutputScriptType getOutputType()
The type of the output
.lnrpc.OutputScriptType output_type = 1;getOutputType in interface LightningApi.OutputDetailOrBuilderpublic LightningApi.OutputDetail.Builder setOutputType(LightningApi.OutputScriptType value)
The type of the output
.lnrpc.OutputScriptType output_type = 1;value - The outputType to set.public LightningApi.OutputDetail.Builder clearOutputType()
The type of the output
.lnrpc.OutputScriptType output_type = 1;public java.lang.String getAddress()
The address
string address = 2;getAddress in interface LightningApi.OutputDetailOrBuilderpublic com.google.protobuf.ByteString getAddressBytes()
The address
string address = 2;getAddressBytes in interface LightningApi.OutputDetailOrBuilderpublic LightningApi.OutputDetail.Builder setAddress(java.lang.String value)
The address
string address = 2;value - The address to set.public LightningApi.OutputDetail.Builder clearAddress()
The address
string address = 2;public LightningApi.OutputDetail.Builder setAddressBytes(com.google.protobuf.ByteString value)
The address
string address = 2;value - The bytes for address to set.public java.lang.String getPkScript()
The pkscript in hex
string pk_script = 3;getPkScript in interface LightningApi.OutputDetailOrBuilderpublic com.google.protobuf.ByteString getPkScriptBytes()
The pkscript in hex
string pk_script = 3;getPkScriptBytes in interface LightningApi.OutputDetailOrBuilderpublic LightningApi.OutputDetail.Builder setPkScript(java.lang.String value)
The pkscript in hex
string pk_script = 3;value - The pkScript to set.public LightningApi.OutputDetail.Builder clearPkScript()
The pkscript in hex
string pk_script = 3;public LightningApi.OutputDetail.Builder setPkScriptBytes(com.google.protobuf.ByteString value)
The pkscript in hex
string pk_script = 3;value - The bytes for pkScript to set.public long getOutputIndex()
The output index used in the raw transaction
int64 output_index = 4;getOutputIndex in interface LightningApi.OutputDetailOrBuilderpublic LightningApi.OutputDetail.Builder setOutputIndex(long value)
The output index used in the raw transaction
int64 output_index = 4;value - The outputIndex to set.public LightningApi.OutputDetail.Builder clearOutputIndex()
The output index used in the raw transaction
int64 output_index = 4;public long getAmount()
The value of the output coin in satoshis
int64 amount = 5;getAmount in interface LightningApi.OutputDetailOrBuilderpublic LightningApi.OutputDetail.Builder setAmount(long value)
The value of the output coin in satoshis
int64 amount = 5;value - The amount to set.public LightningApi.OutputDetail.Builder clearAmount()
The value of the output coin in satoshis
int64 amount = 5;public boolean getIsOurAddress()
Denotes if the output is controlled by the internal wallet
bool is_our_address = 6;getIsOurAddress in interface LightningApi.OutputDetailOrBuilderpublic LightningApi.OutputDetail.Builder setIsOurAddress(boolean value)
Denotes if the output is controlled by the internal wallet
bool is_our_address = 6;value - The isOurAddress to set.public LightningApi.OutputDetail.Builder clearIsOurAddress()
Denotes if the output is controlled by the internal wallet
bool is_our_address = 6;public final LightningApi.OutputDetail.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OutputDetail.Builder>public final LightningApi.OutputDetail.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.OutputDetail.Builder>