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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Wtclient.TowerSession |
build() |
Wtclient.TowerSession |
buildPartial() |
Wtclient.TowerSession.Builder |
clear() |
Wtclient.TowerSession.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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 |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Wtclient.TowerSession.Builder |
clearSweepSatPerByte()
Deprecated.
|
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.Builder |
clone() |
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.
|
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 |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
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 |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Wtclient.TowerSession.Builder |
setSweepSatPerByte(int value)
Deprecated.
|
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) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, 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<Wtclient.TowerSession.Builder>
public Wtclient.TowerSession.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<Wtclient.TowerSession.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<Wtclient.TowerSession.Builder>
public Wtclient.TowerSession getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Wtclient.TowerSession build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Wtclient.TowerSession buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Wtclient.TowerSession.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Wtclient.TowerSession.Builder>
public Wtclient.TowerSession.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Wtclient.TowerSession.Builder>
public Wtclient.TowerSession.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Wtclient.TowerSession.Builder>
public Wtclient.TowerSession.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Wtclient.TowerSession.Builder>
public Wtclient.TowerSession.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Wtclient.TowerSession.Builder>
public Wtclient.TowerSession.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Wtclient.TowerSession.Builder>
public Wtclient.TowerSession.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Wtclient.TowerSession.Builder>
java.io.IOException
public int getNumBackups()
The total number of successful backups that have been made to the watchtower session.
uint32 num_backups = 1;
getNumBackups
in interface Wtclient.TowerSessionOrBuilder
public Wtclient.TowerSession.Builder setNumBackups(int value)
The total number of successful backups that have been made to the watchtower session.
uint32 num_backups = 1;
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.TowerSessionOrBuilder
public 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;
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.TowerSessionOrBuilder
public Wtclient.TowerSession.Builder setMaxBackups(int value)
The maximum number of backups allowed by the watchtower session.
uint32 max_backups = 3;
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];
@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.TowerSessionOrBuilder
public 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;
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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Wtclient.TowerSession.Builder>