public static final class InvoicesOuterClass.AddHoldInvoiceResp.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceResp.Builder> implements InvoicesOuterClass.AddHoldInvoiceRespOrBuilder
invoicesrpc.AddHoldInvoiceResp| Modifier and Type | Method and Description |
|---|---|
InvoicesOuterClass.AddHoldInvoiceResp |
build() |
InvoicesOuterClass.AddHoldInvoiceResp |
buildPartial() |
InvoicesOuterClass.AddHoldInvoiceResp.Builder |
clear() |
InvoicesOuterClass.AddHoldInvoiceResp.Builder |
clearAddIndex()
The "add" index of this invoice.
|
InvoicesOuterClass.AddHoldInvoiceResp.Builder |
clearPaymentAddr()
The payment address of the generated invoice.
|
InvoicesOuterClass.AddHoldInvoiceResp.Builder |
clearPaymentRequest()
A bare-bones invoice for a payment within the Lightning Network.
|
long |
getAddIndex()
The "add" index of this invoice.
|
InvoicesOuterClass.AddHoldInvoiceResp |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InvoicesOuterClass.AddHoldInvoiceResp.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InvoicesOuterClass.AddHoldInvoiceResp.Builder |
mergeFrom(InvoicesOuterClass.AddHoldInvoiceResp other) |
InvoicesOuterClass.AddHoldInvoiceResp.Builder |
mergeFrom(com.google.protobuf.Message other) |
InvoicesOuterClass.AddHoldInvoiceResp.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InvoicesOuterClass.AddHoldInvoiceResp.Builder |
setAddIndex(long value)
The "add" index of this invoice.
|
InvoicesOuterClass.AddHoldInvoiceResp.Builder |
setPaymentAddr(com.google.protobuf.ByteString value)
The payment address of the generated invoice.
|
InvoicesOuterClass.AddHoldInvoiceResp.Builder |
setPaymentRequest(java.lang.String value)
A bare-bones invoice for a payment within the Lightning Network.
|
InvoicesOuterClass.AddHoldInvoiceResp.Builder |
setPaymentRequestBytes(com.google.protobuf.ByteString value)
A bare-bones invoice for a payment within the Lightning Network.
|
InvoicesOuterClass.AddHoldInvoiceResp.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<InvoicesOuterClass.AddHoldInvoiceResp.Builder>public InvoicesOuterClass.AddHoldInvoiceResp.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceResp.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<InvoicesOuterClass.AddHoldInvoiceResp.Builder>public InvoicesOuterClass.AddHoldInvoiceResp getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InvoicesOuterClass.AddHoldInvoiceResp build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InvoicesOuterClass.AddHoldInvoiceResp buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InvoicesOuterClass.AddHoldInvoiceResp.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InvoicesOuterClass.AddHoldInvoiceResp.Builder>public InvoicesOuterClass.AddHoldInvoiceResp.Builder mergeFrom(InvoicesOuterClass.AddHoldInvoiceResp other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceResp.Builder>public InvoicesOuterClass.AddHoldInvoiceResp.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<InvoicesOuterClass.AddHoldInvoiceResp.Builder>java.io.IOExceptionpublic 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 = 1;getPaymentRequest in interface InvoicesOuterClass.AddHoldInvoiceRespOrBuilderpublic 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 = 1;getPaymentRequestBytes in interface InvoicesOuterClass.AddHoldInvoiceRespOrBuilderpublic InvoicesOuterClass.AddHoldInvoiceResp.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 = 1;value - The paymentRequest to set.public InvoicesOuterClass.AddHoldInvoiceResp.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 = 1;public InvoicesOuterClass.AddHoldInvoiceResp.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 = 1;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 = 2;getAddIndex in interface InvoicesOuterClass.AddHoldInvoiceRespOrBuilderpublic InvoicesOuterClass.AddHoldInvoiceResp.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 = 2;value - The addIndex to set.public InvoicesOuterClass.AddHoldInvoiceResp.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 = 2;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 = 3;getPaymentAddr in interface InvoicesOuterClass.AddHoldInvoiceRespOrBuilderpublic InvoicesOuterClass.AddHoldInvoiceResp.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 = 3;value - The paymentAddr to set.public InvoicesOuterClass.AddHoldInvoiceResp.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 = 3;public final InvoicesOuterClass.AddHoldInvoiceResp.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceResp.Builder>public final InvoicesOuterClass.AddHoldInvoiceResp.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceResp.Builder>