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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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.AddHoldInvoiceResp.Builder>
public InvoicesOuterClass.AddHoldInvoiceResp.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.AddHoldInvoiceResp.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.AddHoldInvoiceResp.Builder>
public InvoicesOuterClass.AddHoldInvoiceResp getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public InvoicesOuterClass.AddHoldInvoiceResp build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public InvoicesOuterClass.AddHoldInvoiceResp buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public InvoicesOuterClass.AddHoldInvoiceResp.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<InvoicesOuterClass.AddHoldInvoiceResp.Builder>
java.io.IOException
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 = 1;
getPaymentRequest
in interface InvoicesOuterClass.AddHoldInvoiceRespOrBuilder
public 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.AddHoldInvoiceRespOrBuilder
public 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.AddHoldInvoiceRespOrBuilder
public 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.AddHoldInvoiceRespOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<InvoicesOuterClass.AddHoldInvoiceResp.Builder>