public static final class LightningApi.ChannelPoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelPoint.Builder> implements LightningApi.ChannelPointOrBuilder
lnrpc.ChannelPoint| Modifier and Type | Method and Description |
|---|---|
LightningApi.ChannelPoint |
build() |
LightningApi.ChannelPoint |
buildPartial() |
LightningApi.ChannelPoint.Builder |
clear() |
LightningApi.ChannelPoint.Builder |
clearFundingTxid() |
LightningApi.ChannelPoint.Builder |
clearFundingTxidBytes()
Txid of the funding transaction.
|
LightningApi.ChannelPoint.Builder |
clearFundingTxidStr()
Hex-encoded string representing the byte-reversed hash of the funding
transaction.
|
LightningApi.ChannelPoint.Builder |
clearOutputIndex()
The index of the output of the funding transaction
|
LightningApi.ChannelPoint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getFundingTxidBytes()
Txid of the funding transaction.
|
LightningApi.ChannelPoint.FundingTxidCase |
getFundingTxidCase() |
java.lang.String |
getFundingTxidStr()
Hex-encoded string representing the byte-reversed hash of the funding
transaction.
|
com.google.protobuf.ByteString |
getFundingTxidStrBytes()
Hex-encoded string representing the byte-reversed hash of the funding
transaction.
|
int |
getOutputIndex()
The index of the output of the funding transaction
|
boolean |
hasFundingTxidBytes()
Txid of the funding transaction.
|
boolean |
hasFundingTxidStr()
Hex-encoded string representing the byte-reversed hash of the funding
transaction.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.ChannelPoint.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.ChannelPoint.Builder |
mergeFrom(LightningApi.ChannelPoint other) |
LightningApi.ChannelPoint.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.ChannelPoint.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.ChannelPoint.Builder |
setFundingTxidBytes(com.google.protobuf.ByteString value)
Txid of the funding transaction.
|
LightningApi.ChannelPoint.Builder |
setFundingTxidStr(java.lang.String value)
Hex-encoded string representing the byte-reversed hash of the funding
transaction.
|
LightningApi.ChannelPoint.Builder |
setFundingTxidStrBytes(com.google.protobuf.ByteString value)
Hex-encoded string representing the byte-reversed hash of the funding
transaction.
|
LightningApi.ChannelPoint.Builder |
setOutputIndex(int value)
The index of the output of the funding transaction
|
LightningApi.ChannelPoint.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.ChannelPoint.Builder>public LightningApi.ChannelPoint.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.ChannelPoint.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.ChannelPoint.Builder>public LightningApi.ChannelPoint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.ChannelPoint build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ChannelPoint buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.ChannelPoint.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ChannelPoint.Builder>public LightningApi.ChannelPoint.Builder mergeFrom(LightningApi.ChannelPoint other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelPoint.Builder>public LightningApi.ChannelPoint.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.ChannelPoint.Builder>java.io.IOExceptionpublic LightningApi.ChannelPoint.FundingTxidCase getFundingTxidCase()
getFundingTxidCase in interface LightningApi.ChannelPointOrBuilderpublic LightningApi.ChannelPoint.Builder clearFundingTxid()
public boolean hasFundingTxidBytes()
Txid of the funding transaction. When using REST, this field must be encoded as base64.
bytes funding_txid_bytes = 1;hasFundingTxidBytes in interface LightningApi.ChannelPointOrBuilderpublic com.google.protobuf.ByteString getFundingTxidBytes()
Txid of the funding transaction. When using REST, this field must be encoded as base64.
bytes funding_txid_bytes = 1;getFundingTxidBytes in interface LightningApi.ChannelPointOrBuilderpublic LightningApi.ChannelPoint.Builder setFundingTxidBytes(com.google.protobuf.ByteString value)
Txid of the funding transaction. When using REST, this field must be encoded as base64.
bytes funding_txid_bytes = 1;value - The fundingTxidBytes to set.public LightningApi.ChannelPoint.Builder clearFundingTxidBytes()
Txid of the funding transaction. When using REST, this field must be encoded as base64.
bytes funding_txid_bytes = 1;public boolean hasFundingTxidStr()
Hex-encoded string representing the byte-reversed hash of the funding transaction.
string funding_txid_str = 2;hasFundingTxidStr in interface LightningApi.ChannelPointOrBuilderpublic java.lang.String getFundingTxidStr()
Hex-encoded string representing the byte-reversed hash of the funding transaction.
string funding_txid_str = 2;getFundingTxidStr in interface LightningApi.ChannelPointOrBuilderpublic com.google.protobuf.ByteString getFundingTxidStrBytes()
Hex-encoded string representing the byte-reversed hash of the funding transaction.
string funding_txid_str = 2;getFundingTxidStrBytes in interface LightningApi.ChannelPointOrBuilderpublic LightningApi.ChannelPoint.Builder setFundingTxidStr(java.lang.String value)
Hex-encoded string representing the byte-reversed hash of the funding transaction.
string funding_txid_str = 2;value - The fundingTxidStr to set.public LightningApi.ChannelPoint.Builder clearFundingTxidStr()
Hex-encoded string representing the byte-reversed hash of the funding transaction.
string funding_txid_str = 2;public LightningApi.ChannelPoint.Builder setFundingTxidStrBytes(com.google.protobuf.ByteString value)
Hex-encoded string representing the byte-reversed hash of the funding transaction.
string funding_txid_str = 2;value - The bytes for fundingTxidStr to set.public int getOutputIndex()
The index of the output of the funding transaction
uint32 output_index = 3;getOutputIndex in interface LightningApi.ChannelPointOrBuilderpublic LightningApi.ChannelPoint.Builder setOutputIndex(int value)
The index of the output of the funding transaction
uint32 output_index = 3;value - The outputIndex to set.public LightningApi.ChannelPoint.Builder clearOutputIndex()
The index of the output of the funding transaction
uint32 output_index = 3;public final LightningApi.ChannelPoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelPoint.Builder>public final LightningApi.ChannelPoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelPoint.Builder>