public static final class LightningApi.InvoiceSubscription.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.InvoiceSubscription.Builder> implements LightningApi.InvoiceSubscriptionOrBuilder
lnrpc.InvoiceSubscription| Modifier and Type | Method and Description |
|---|---|
LightningApi.InvoiceSubscription |
build() |
LightningApi.InvoiceSubscription |
buildPartial() |
LightningApi.InvoiceSubscription.Builder |
clear() |
LightningApi.InvoiceSubscription.Builder |
clearAddIndex()
If specified (non-zero), then we'll first start by sending out
notifications for all added indexes with an add_index greater than this
value.
|
LightningApi.InvoiceSubscription.Builder |
clearSettleIndex()
If specified (non-zero), then we'll first start by sending out
notifications for all settled indexes with an settle_index greater than
this value.
|
long |
getAddIndex()
If specified (non-zero), then we'll first start by sending out
notifications for all added indexes with an add_index greater than this
value.
|
LightningApi.InvoiceSubscription |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getSettleIndex()
If specified (non-zero), then we'll first start by sending out
notifications for all settled indexes with an settle_index greater than
this value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.InvoiceSubscription.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.InvoiceSubscription.Builder |
mergeFrom(LightningApi.InvoiceSubscription other) |
LightningApi.InvoiceSubscription.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.InvoiceSubscription.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.InvoiceSubscription.Builder |
setAddIndex(long value)
If specified (non-zero), then we'll first start by sending out
notifications for all added indexes with an add_index greater than this
value.
|
LightningApi.InvoiceSubscription.Builder |
setSettleIndex(long value)
If specified (non-zero), then we'll first start by sending out
notifications for all settled indexes with an settle_index greater than
this value.
|
LightningApi.InvoiceSubscription.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.InvoiceSubscription.Builder>public LightningApi.InvoiceSubscription.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.InvoiceSubscription.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.InvoiceSubscription.Builder>public LightningApi.InvoiceSubscription getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.InvoiceSubscription build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.InvoiceSubscription buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.InvoiceSubscription.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.InvoiceSubscription.Builder>public LightningApi.InvoiceSubscription.Builder mergeFrom(LightningApi.InvoiceSubscription other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.InvoiceSubscription.Builder>public LightningApi.InvoiceSubscription.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.InvoiceSubscription.Builder>java.io.IOExceptionpublic long getAddIndex()
If specified (non-zero), then we'll first start by sending out notifications for all added indexes with an add_index greater than this value. This allows callers to catch up on any events they missed while they weren't connected to the streaming RPC.
uint64 add_index = 1;getAddIndex in interface LightningApi.InvoiceSubscriptionOrBuilderpublic LightningApi.InvoiceSubscription.Builder setAddIndex(long value)
If specified (non-zero), then we'll first start by sending out notifications for all added indexes with an add_index greater than this value. This allows callers to catch up on any events they missed while they weren't connected to the streaming RPC.
uint64 add_index = 1;value - The addIndex to set.public LightningApi.InvoiceSubscription.Builder clearAddIndex()
If specified (non-zero), then we'll first start by sending out notifications for all added indexes with an add_index greater than this value. This allows callers to catch up on any events they missed while they weren't connected to the streaming RPC.
uint64 add_index = 1;public long getSettleIndex()
If specified (non-zero), then we'll first start by sending out notifications for all settled indexes with an settle_index greater than this value. This allows callers to catch up on any events they missed while they weren't connected to the streaming RPC.
uint64 settle_index = 2;getSettleIndex in interface LightningApi.InvoiceSubscriptionOrBuilderpublic LightningApi.InvoiceSubscription.Builder setSettleIndex(long value)
If specified (non-zero), then we'll first start by sending out notifications for all settled indexes with an settle_index greater than this value. This allows callers to catch up on any events they missed while they weren't connected to the streaming RPC.
uint64 settle_index = 2;value - The settleIndex to set.public LightningApi.InvoiceSubscription.Builder clearSettleIndex()
If specified (non-zero), then we'll first start by sending out notifications for all settled indexes with an settle_index greater than this value. This allows callers to catch up on any events they missed while they weren't connected to the streaming RPC.
uint64 settle_index = 2;public final LightningApi.InvoiceSubscription.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.InvoiceSubscription.Builder>public final LightningApi.InvoiceSubscription.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.InvoiceSubscription.Builder>