public static final class Wtclient.TowerSession.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Wtclient.TowerSession.Builder> implements Wtclient.TowerSessionOrBuilder
wtclientrpc.TowerSession| Modifier and Type | Method and Description |
|---|---|
Wtclient.TowerSession |
build() |
Wtclient.TowerSession |
buildPartial() |
Wtclient.TowerSession.Builder |
clear() |
Wtclient.TowerSession.Builder |
clearMaxBackups()
The maximum number of backups allowed by the watchtower session.
|
Wtclient.TowerSession.Builder |
clearNumBackups()
The total number of successful backups that have been made to the
watchtower session.
|
Wtclient.TowerSession.Builder |
clearNumPendingBackups()
The total number of backups in the session that are currently pending to be
acknowledged by the watchtower.
|
Wtclient.TowerSession.Builder |
clearSweepSatPerByte()
Deprecated.
wtclientrpc.TowerSession.sweep_sat_per_byte is deprecated.
See wtclient.proto;l=103
|
Wtclient.TowerSession.Builder |
clearSweepSatPerVbyte()
The fee rate, in satoshis per vbyte, that will be used by the watchtower for
the justice transaction in the event of a channel breach.
|
Wtclient.TowerSession |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getMaxBackups()
The maximum number of backups allowed by the watchtower session.
|
int |
getNumBackups()
The total number of successful backups that have been made to the
watchtower session.
|
int |
getNumPendingBackups()
The total number of backups in the session that are currently pending to be
acknowledged by the watchtower.
|
int |
getSweepSatPerByte()
Deprecated.
wtclientrpc.TowerSession.sweep_sat_per_byte is deprecated.
See wtclient.proto;l=103
|
int |
getSweepSatPerVbyte()
The fee rate, in satoshis per vbyte, that will be used by the watchtower for
the justice transaction in the event of a channel breach.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Wtclient.TowerSession.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Wtclient.TowerSession.Builder |
mergeFrom(com.google.protobuf.Message other) |
Wtclient.TowerSession.Builder |
mergeFrom(Wtclient.TowerSession other) |
Wtclient.TowerSession.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Wtclient.TowerSession.Builder |
setMaxBackups(int value)
The maximum number of backups allowed by the watchtower session.
|
Wtclient.TowerSession.Builder |
setNumBackups(int value)
The total number of successful backups that have been made to the
watchtower session.
|
Wtclient.TowerSession.Builder |
setNumPendingBackups(int value)
The total number of backups in the session that are currently pending to be
acknowledged by the watchtower.
|
Wtclient.TowerSession.Builder |
setSweepSatPerByte(int value)
Deprecated.
wtclientrpc.TowerSession.sweep_sat_per_byte is deprecated.
See wtclient.proto;l=103
|
Wtclient.TowerSession.Builder |
setSweepSatPerVbyte(int value)
The fee rate, in satoshis per vbyte, that will be used by the watchtower for
the justice transaction in the event of a channel breach.
|
Wtclient.TowerSession.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<Wtclient.TowerSession.Builder>public Wtclient.TowerSession.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Wtclient.TowerSession.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<Wtclient.TowerSession.Builder>public Wtclient.TowerSession getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Wtclient.TowerSession build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Wtclient.TowerSession buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Wtclient.TowerSession.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Wtclient.TowerSession.Builder>public Wtclient.TowerSession.Builder mergeFrom(Wtclient.TowerSession other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Wtclient.TowerSession.Builder>public Wtclient.TowerSession.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<Wtclient.TowerSession.Builder>java.io.IOExceptionpublic int getNumBackups()
The total number of successful backups that have been made to the watchtower session.
uint32 num_backups = 1;getNumBackups in interface Wtclient.TowerSessionOrBuilderpublic Wtclient.TowerSession.Builder setNumBackups(int value)
The total number of successful backups that have been made to the watchtower session.
uint32 num_backups = 1;value - The numBackups to set.public Wtclient.TowerSession.Builder clearNumBackups()
The total number of successful backups that have been made to the watchtower session.
uint32 num_backups = 1;public int getNumPendingBackups()
The total number of backups in the session that are currently pending to be acknowledged by the watchtower.
uint32 num_pending_backups = 2;getNumPendingBackups in interface Wtclient.TowerSessionOrBuilderpublic Wtclient.TowerSession.Builder setNumPendingBackups(int value)
The total number of backups in the session that are currently pending to be acknowledged by the watchtower.
uint32 num_pending_backups = 2;value - The numPendingBackups to set.public Wtclient.TowerSession.Builder clearNumPendingBackups()
The total number of backups in the session that are currently pending to be acknowledged by the watchtower.
uint32 num_pending_backups = 2;public int getMaxBackups()
The maximum number of backups allowed by the watchtower session.
uint32 max_backups = 3;getMaxBackups in interface Wtclient.TowerSessionOrBuilderpublic Wtclient.TowerSession.Builder setMaxBackups(int value)
The maximum number of backups allowed by the watchtower session.
uint32 max_backups = 3;value - The maxBackups to set.public Wtclient.TowerSession.Builder clearMaxBackups()
The maximum number of backups allowed by the watchtower session.
uint32 max_backups = 3;@Deprecated public int getSweepSatPerByte()
Deprecated, use sweep_sat_per_vbyte. The fee rate, in satoshis per vbyte, that will be used by the watchtower for the justice transaction in the event of a channel breach.
uint32 sweep_sat_per_byte = 4 [deprecated = true];getSweepSatPerByte in interface Wtclient.TowerSessionOrBuilder@Deprecated public Wtclient.TowerSession.Builder setSweepSatPerByte(int value)
Deprecated, use sweep_sat_per_vbyte. The fee rate, in satoshis per vbyte, that will be used by the watchtower for the justice transaction in the event of a channel breach.
uint32 sweep_sat_per_byte = 4 [deprecated = true];value - The sweepSatPerByte to set.@Deprecated public Wtclient.TowerSession.Builder clearSweepSatPerByte()
Deprecated, use sweep_sat_per_vbyte. The fee rate, in satoshis per vbyte, that will be used by the watchtower for the justice transaction in the event of a channel breach.
uint32 sweep_sat_per_byte = 4 [deprecated = true];public int getSweepSatPerVbyte()
The fee rate, in satoshis per vbyte, that will be used by the watchtower for the justice transaction in the event of a channel breach.
uint32 sweep_sat_per_vbyte = 5;getSweepSatPerVbyte in interface Wtclient.TowerSessionOrBuilderpublic Wtclient.TowerSession.Builder setSweepSatPerVbyte(int value)
The fee rate, in satoshis per vbyte, that will be used by the watchtower for the justice transaction in the event of a channel breach.
uint32 sweep_sat_per_vbyte = 5;value - The sweepSatPerVbyte to set.public Wtclient.TowerSession.Builder clearSweepSatPerVbyte()
The fee rate, in satoshis per vbyte, that will be used by the watchtower for the justice transaction in the event of a channel breach.
uint32 sweep_sat_per_vbyte = 5;public final Wtclient.TowerSession.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Wtclient.TowerSession.Builder>public final Wtclient.TowerSession.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Wtclient.TowerSession.Builder>