public static final class LightningApi.AddInvoiceResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.AddInvoiceResponse.Builder> implements LightningApi.AddInvoiceResponseOrBuilder
lnrpc.AddInvoiceResponse| Modifier and Type | Method and Description |
|---|---|
LightningApi.AddInvoiceResponse |
build() |
LightningApi.AddInvoiceResponse |
buildPartial() |
LightningApi.AddInvoiceResponse.Builder |
clear() |
LightningApi.AddInvoiceResponse.Builder |
clearAddIndex()
The "add" index of this invoice.
|
LightningApi.AddInvoiceResponse.Builder |
clearPaymentAddr()
The payment address of the generated invoice.
|
LightningApi.AddInvoiceResponse.Builder |
clearPaymentRequest()
A bare-bones invoice for a payment within the Lightning Network.
|
LightningApi.AddInvoiceResponse.Builder |
clearRHash()
bytes r_hash = 1; |
long |
getAddIndex()
The "add" index of this invoice.
|
LightningApi.AddInvoiceResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getPaymentAddr()
The payment address of the generated invoice.
|
java.lang.String |
getPaymentRequest()
A bare-bones invoice for a payment within the Lightning Network.
|
com.google.protobuf.ByteString |
getPaymentRequestBytes()
A bare-bones invoice for a payment within the Lightning Network.
|
com.google.protobuf.ByteString |
getRHash()
bytes r_hash = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.AddInvoiceResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.AddInvoiceResponse.Builder |
mergeFrom(LightningApi.AddInvoiceResponse other) |
LightningApi.AddInvoiceResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.AddInvoiceResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.AddInvoiceResponse.Builder |
setAddIndex(long value)
The "add" index of this invoice.
|
LightningApi.AddInvoiceResponse.Builder |
setPaymentAddr(com.google.protobuf.ByteString value)
The payment address of the generated invoice.
|
LightningApi.AddInvoiceResponse.Builder |
setPaymentRequest(java.lang.String value)
A bare-bones invoice for a payment within the Lightning Network.
|
LightningApi.AddInvoiceResponse.Builder |
setPaymentRequestBytes(com.google.protobuf.ByteString value)
A bare-bones invoice for a payment within the Lightning Network.
|
LightningApi.AddInvoiceResponse.Builder |
setRHash(com.google.protobuf.ByteString value)
bytes r_hash = 1; |
LightningApi.AddInvoiceResponse.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.AddInvoiceResponse.Builder>public LightningApi.AddInvoiceResponse.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.AddInvoiceResponse.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.AddInvoiceResponse.Builder>public LightningApi.AddInvoiceResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.AddInvoiceResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.AddInvoiceResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.AddInvoiceResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.AddInvoiceResponse.Builder>public LightningApi.AddInvoiceResponse.Builder mergeFrom(LightningApi.AddInvoiceResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.AddInvoiceResponse.Builder>public LightningApi.AddInvoiceResponse.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.AddInvoiceResponse.Builder>java.io.IOExceptionpublic com.google.protobuf.ByteString getRHash()
bytes r_hash = 1;getRHash in interface LightningApi.AddInvoiceResponseOrBuilderpublic LightningApi.AddInvoiceResponse.Builder setRHash(com.google.protobuf.ByteString value)
bytes r_hash = 1;value - The rHash to set.public LightningApi.AddInvoiceResponse.Builder clearRHash()
bytes r_hash = 1;public java.lang.String getPaymentRequest()
A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient.
string payment_request = 2;getPaymentRequest in interface LightningApi.AddInvoiceResponseOrBuilderpublic com.google.protobuf.ByteString getPaymentRequestBytes()
A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient.
string payment_request = 2;getPaymentRequestBytes in interface LightningApi.AddInvoiceResponseOrBuilderpublic LightningApi.AddInvoiceResponse.Builder setPaymentRequest(java.lang.String value)
A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient.
string payment_request = 2;value - The paymentRequest to set.public LightningApi.AddInvoiceResponse.Builder clearPaymentRequest()
A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient.
string payment_request = 2;public LightningApi.AddInvoiceResponse.Builder setPaymentRequestBytes(com.google.protobuf.ByteString value)
A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient.
string payment_request = 2;value - The bytes for paymentRequest to set.public long getAddIndex()
The "add" index of this invoice. Each newly created invoice will increment this index making it monotonically increasing. Callers to the SubscribeInvoices call can use this to instantly get notified of all added invoices with an add_index greater than this one.
uint64 add_index = 16;getAddIndex in interface LightningApi.AddInvoiceResponseOrBuilderpublic LightningApi.AddInvoiceResponse.Builder setAddIndex(long value)
The "add" index of this invoice. Each newly created invoice will increment this index making it monotonically increasing. Callers to the SubscribeInvoices call can use this to instantly get notified of all added invoices with an add_index greater than this one.
uint64 add_index = 16;value - The addIndex to set.public LightningApi.AddInvoiceResponse.Builder clearAddIndex()
The "add" index of this invoice. Each newly created invoice will increment this index making it monotonically increasing. Callers to the SubscribeInvoices call can use this to instantly get notified of all added invoices with an add_index greater than this one.
uint64 add_index = 16;public com.google.protobuf.ByteString getPaymentAddr()
The payment address of the generated invoice. This value should be used in all payments for this invoice as we require it for end to end security.
bytes payment_addr = 17;getPaymentAddr in interface LightningApi.AddInvoiceResponseOrBuilderpublic LightningApi.AddInvoiceResponse.Builder setPaymentAddr(com.google.protobuf.ByteString value)
The payment address of the generated invoice. This value should be used in all payments for this invoice as we require it for end to end security.
bytes payment_addr = 17;value - The paymentAddr to set.public LightningApi.AddInvoiceResponse.Builder clearPaymentAddr()
The payment address of the generated invoice. This value should be used in all payments for this invoice as we require it for end to end security.
bytes payment_addr = 17;public final LightningApi.AddInvoiceResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.AddInvoiceResponse.Builder>public final LightningApi.AddInvoiceResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.AddInvoiceResponse.Builder>