public static final class InvoicesOuterClass.AddHoldInvoiceRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceRequest.Builder> implements InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
invoicesrpc.AddHoldInvoiceRequest
Modifier and Type | Method and Description |
---|---|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
addAllRouteHints(java.lang.Iterable<? extends LightningApi.RouteHint> values)
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
addRouteHints(int index,
LightningApi.RouteHint.Builder builderForValue)
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
addRouteHints(int index,
LightningApi.RouteHint value)
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
addRouteHints(LightningApi.RouteHint.Builder builderForValue)
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
addRouteHints(LightningApi.RouteHint value)
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
LightningApi.RouteHint.Builder |
addRouteHintsBuilder()
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
LightningApi.RouteHint.Builder |
addRouteHintsBuilder(int index)
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
InvoicesOuterClass.AddHoldInvoiceRequest |
build() |
InvoicesOuterClass.AddHoldInvoiceRequest |
buildPartial() |
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
clear() |
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
clearCltvExpiry()
Delta to use for the time-lock of the CLTV extended to the final hop.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
clearDescriptionHash()
Hash (SHA-256) of a description of the payment.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
clearExpiry()
Payment request expiry time in seconds.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
clearFallbackAddr()
Fallback on-chain address.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
clearHash()
The hash of the preimage
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
clearMemo()
An optional memo to attach along with the invoice.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
clearPrivate()
Whether this invoice should include routing hints for private channels.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
clearRouteHints()
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
clearValue()
The value of this invoice in satoshis
The fields value and value_msat are mutually exclusive.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
clearValueMsat()
The value of this invoice in millisatoshis
The fields value and value_msat are mutually exclusive.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
clone() |
long |
getCltvExpiry()
Delta to use for the time-lock of the CLTV extended to the final hop.
|
InvoicesOuterClass.AddHoldInvoiceRequest |
getDefaultInstanceForType() |
com.google.protobuf.ByteString |
getDescriptionHash()
Hash (SHA-256) of a description of the payment.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getExpiry()
Payment request expiry time in seconds.
|
java.lang.String |
getFallbackAddr()
Fallback on-chain address.
|
com.google.protobuf.ByteString |
getFallbackAddrBytes()
Fallback on-chain address.
|
com.google.protobuf.ByteString |
getHash()
The hash of the preimage
|
java.lang.String |
getMemo()
An optional memo to attach along with the invoice.
|
com.google.protobuf.ByteString |
getMemoBytes()
An optional memo to attach along with the invoice.
|
boolean |
getPrivate()
Whether this invoice should include routing hints for private channels.
|
LightningApi.RouteHint |
getRouteHints(int index)
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
LightningApi.RouteHint.Builder |
getRouteHintsBuilder(int index)
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
java.util.List<LightningApi.RouteHint.Builder> |
getRouteHintsBuilderList()
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
int |
getRouteHintsCount()
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
java.util.List<LightningApi.RouteHint> |
getRouteHintsList()
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
LightningApi.RouteHintOrBuilder |
getRouteHintsOrBuilder(int index)
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
java.util.List<? extends LightningApi.RouteHintOrBuilder> |
getRouteHintsOrBuilderList()
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
long |
getValue()
The value of this invoice in satoshis
The fields value and value_msat are mutually exclusive.
|
long |
getValueMsat()
The value of this invoice in millisatoshis
The fields value and value_msat are mutually exclusive.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
mergeFrom(InvoicesOuterClass.AddHoldInvoiceRequest other) |
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
removeRouteHints(int index)
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
setCltvExpiry(long value)
Delta to use for the time-lock of the CLTV extended to the final hop.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
setDescriptionHash(com.google.protobuf.ByteString value)
Hash (SHA-256) of a description of the payment.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
setExpiry(long value)
Payment request expiry time in seconds.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
setFallbackAddr(java.lang.String value)
Fallback on-chain address.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
setFallbackAddrBytes(com.google.protobuf.ByteString value)
Fallback on-chain address.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
setHash(com.google.protobuf.ByteString value)
The hash of the preimage
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
setMemo(java.lang.String value)
An optional memo to attach along with the invoice.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
setMemoBytes(com.google.protobuf.ByteString value)
An optional memo to attach along with the invoice.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
setPrivate(boolean value)
Whether this invoice should include routing hints for private channels.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
setRouteHints(int index,
LightningApi.RouteHint.Builder builderForValue)
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
setRouteHints(int index,
LightningApi.RouteHint value)
Route hints that can each be individually used to assist in reaching the
invoice's destination.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
setValue(long value)
The value of this invoice in satoshis
The fields value and value_msat are mutually exclusive.
|
InvoicesOuterClass.AddHoldInvoiceRequest.Builder |
setValueMsat(long value)
The value of this invoice in millisatoshis
The fields value and value_msat are mutually exclusive.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceRequest.Builder>
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceRequest.Builder>
public InvoicesOuterClass.AddHoldInvoiceRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public InvoicesOuterClass.AddHoldInvoiceRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public InvoicesOuterClass.AddHoldInvoiceRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceRequest.Builder>
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceRequest.Builder>
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceRequest.Builder>
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceRequest.Builder>
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceRequest.Builder>
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceRequest.Builder>
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<InvoicesOuterClass.AddHoldInvoiceRequest.Builder>
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder mergeFrom(InvoicesOuterClass.AddHoldInvoiceRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceRequest.Builder>
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<InvoicesOuterClass.AddHoldInvoiceRequest.Builder>
java.io.IOException
public java.lang.String getMemo()
An optional memo to attach along with the invoice. Used for record keeping purposes for the invoice's creator, and will also be set in the description field of the encoded payment request if the description_hash field is not being used.
string memo = 1;
getMemo
in interface InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
public com.google.protobuf.ByteString getMemoBytes()
An optional memo to attach along with the invoice. Used for record keeping purposes for the invoice's creator, and will also be set in the description field of the encoded payment request if the description_hash field is not being used.
string memo = 1;
getMemoBytes
in interface InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder setMemo(java.lang.String value)
An optional memo to attach along with the invoice. Used for record keeping purposes for the invoice's creator, and will also be set in the description field of the encoded payment request if the description_hash field is not being used.
string memo = 1;
value
- The memo to set.public InvoicesOuterClass.AddHoldInvoiceRequest.Builder clearMemo()
An optional memo to attach along with the invoice. Used for record keeping purposes for the invoice's creator, and will also be set in the description field of the encoded payment request if the description_hash field is not being used.
string memo = 1;
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder setMemoBytes(com.google.protobuf.ByteString value)
An optional memo to attach along with the invoice. Used for record keeping purposes for the invoice's creator, and will also be set in the description field of the encoded payment request if the description_hash field is not being used.
string memo = 1;
value
- The bytes for memo to set.public com.google.protobuf.ByteString getHash()
The hash of the preimage
bytes hash = 2;
getHash
in interface InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder setHash(com.google.protobuf.ByteString value)
The hash of the preimage
bytes hash = 2;
value
- The hash to set.public InvoicesOuterClass.AddHoldInvoiceRequest.Builder clearHash()
The hash of the preimage
bytes hash = 2;
public long getValue()
The value of this invoice in satoshis The fields value and value_msat are mutually exclusive.
int64 value = 3;
getValue
in interface InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder setValue(long value)
The value of this invoice in satoshis The fields value and value_msat are mutually exclusive.
int64 value = 3;
value
- The value to set.public InvoicesOuterClass.AddHoldInvoiceRequest.Builder clearValue()
The value of this invoice in satoshis The fields value and value_msat are mutually exclusive.
int64 value = 3;
public long getValueMsat()
The value of this invoice in millisatoshis The fields value and value_msat are mutually exclusive.
int64 value_msat = 10;
getValueMsat
in interface InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder setValueMsat(long value)
The value of this invoice in millisatoshis The fields value and value_msat are mutually exclusive.
int64 value_msat = 10;
value
- The valueMsat to set.public InvoicesOuterClass.AddHoldInvoiceRequest.Builder clearValueMsat()
The value of this invoice in millisatoshis The fields value and value_msat are mutually exclusive.
int64 value_msat = 10;
public com.google.protobuf.ByteString getDescriptionHash()
Hash (SHA-256) of a description of the payment. Used if the description of payment (memo) is too long to naturally fit within the description field of an encoded payment request.
bytes description_hash = 4;
getDescriptionHash
in interface InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder setDescriptionHash(com.google.protobuf.ByteString value)
Hash (SHA-256) of a description of the payment. Used if the description of payment (memo) is too long to naturally fit within the description field of an encoded payment request.
bytes description_hash = 4;
value
- The descriptionHash to set.public InvoicesOuterClass.AddHoldInvoiceRequest.Builder clearDescriptionHash()
Hash (SHA-256) of a description of the payment. Used if the description of payment (memo) is too long to naturally fit within the description field of an encoded payment request.
bytes description_hash = 4;
public long getExpiry()
Payment request expiry time in seconds. Default is 86400 (24 hours).
int64 expiry = 5;
getExpiry
in interface InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder setExpiry(long value)
Payment request expiry time in seconds. Default is 86400 (24 hours).
int64 expiry = 5;
value
- The expiry to set.public InvoicesOuterClass.AddHoldInvoiceRequest.Builder clearExpiry()
Payment request expiry time in seconds. Default is 86400 (24 hours).
int64 expiry = 5;
public java.lang.String getFallbackAddr()
Fallback on-chain address.
string fallback_addr = 6;
getFallbackAddr
in interface InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
public com.google.protobuf.ByteString getFallbackAddrBytes()
Fallback on-chain address.
string fallback_addr = 6;
getFallbackAddrBytes
in interface InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder setFallbackAddr(java.lang.String value)
Fallback on-chain address.
string fallback_addr = 6;
value
- The fallbackAddr to set.public InvoicesOuterClass.AddHoldInvoiceRequest.Builder clearFallbackAddr()
Fallback on-chain address.
string fallback_addr = 6;
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder setFallbackAddrBytes(com.google.protobuf.ByteString value)
Fallback on-chain address.
string fallback_addr = 6;
value
- The bytes for fallbackAddr to set.public long getCltvExpiry()
Delta to use for the time-lock of the CLTV extended to the final hop.
uint64 cltv_expiry = 7;
getCltvExpiry
in interface InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder setCltvExpiry(long value)
Delta to use for the time-lock of the CLTV extended to the final hop.
uint64 cltv_expiry = 7;
value
- The cltvExpiry to set.public InvoicesOuterClass.AddHoldInvoiceRequest.Builder clearCltvExpiry()
Delta to use for the time-lock of the CLTV extended to the final hop.
uint64 cltv_expiry = 7;
public java.util.List<LightningApi.RouteHint> getRouteHintsList()
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
getRouteHintsList
in interface InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
public int getRouteHintsCount()
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
getRouteHintsCount
in interface InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
public LightningApi.RouteHint getRouteHints(int index)
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
getRouteHints
in interface InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder setRouteHints(int index, LightningApi.RouteHint value)
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder setRouteHints(int index, LightningApi.RouteHint.Builder builderForValue)
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder addRouteHints(LightningApi.RouteHint value)
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder addRouteHints(int index, LightningApi.RouteHint value)
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder addRouteHints(LightningApi.RouteHint.Builder builderForValue)
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder addRouteHints(int index, LightningApi.RouteHint.Builder builderForValue)
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder addAllRouteHints(java.lang.Iterable<? extends LightningApi.RouteHint> values)
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder clearRouteHints()
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder removeRouteHints(int index)
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
public LightningApi.RouteHint.Builder getRouteHintsBuilder(int index)
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
public LightningApi.RouteHintOrBuilder getRouteHintsOrBuilder(int index)
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
getRouteHintsOrBuilder
in interface InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
public java.util.List<? extends LightningApi.RouteHintOrBuilder> getRouteHintsOrBuilderList()
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
getRouteHintsOrBuilderList
in interface InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
public LightningApi.RouteHint.Builder addRouteHintsBuilder()
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
public LightningApi.RouteHint.Builder addRouteHintsBuilder(int index)
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
public java.util.List<LightningApi.RouteHint.Builder> getRouteHintsBuilderList()
Route hints that can each be individually used to assist in reaching the invoice's destination.
repeated .lnrpc.RouteHint route_hints = 8;
public boolean getPrivate()
Whether this invoice should include routing hints for private channels.
bool private = 9;
getPrivate
in interface InvoicesOuterClass.AddHoldInvoiceRequestOrBuilder
public InvoicesOuterClass.AddHoldInvoiceRequest.Builder setPrivate(boolean value)
Whether this invoice should include routing hints for private channels.
bool private = 9;
value
- The private to set.public InvoicesOuterClass.AddHoldInvoiceRequest.Builder clearPrivate()
Whether this invoice should include routing hints for private channels.
bool private = 9;
public final InvoicesOuterClass.AddHoldInvoiceRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceRequest.Builder>
public final InvoicesOuterClass.AddHoldInvoiceRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceRequest.Builder>