public static final class Wtclient.PolicyResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Wtclient.PolicyResponse.Builder> implements Wtclient.PolicyResponseOrBuilder
wtclientrpc.PolicyResponse
Modifier and Type | Method and Description |
---|---|
Wtclient.PolicyResponse |
build() |
Wtclient.PolicyResponse |
buildPartial() |
Wtclient.PolicyResponse.Builder |
clear() |
Wtclient.PolicyResponse.Builder |
clearMaxUpdates()
The maximum number of updates each session we negotiate with watchtowers
should allow.
|
Wtclient.PolicyResponse.Builder |
clearSweepSatPerByte()
Deprecated.
wtclientrpc.PolicyResponse.sweep_sat_per_byte is deprecated.
See wtclient.proto;l=222
|
Wtclient.PolicyResponse.Builder |
clearSweepSatPerVbyte()
The fee rate, in satoshis per vbyte, that will be used by watchtowers for
justice transactions in response to channel breaches.
|
Wtclient.PolicyResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getMaxUpdates()
The maximum number of updates each session we negotiate with watchtowers
should allow.
|
int |
getSweepSatPerByte()
Deprecated.
wtclientrpc.PolicyResponse.sweep_sat_per_byte is deprecated.
See wtclient.proto;l=222
|
int |
getSweepSatPerVbyte()
The fee rate, in satoshis per vbyte, that will be used by watchtowers for
justice transactions in response to channel breaches.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Wtclient.PolicyResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Wtclient.PolicyResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
Wtclient.PolicyResponse.Builder |
mergeFrom(Wtclient.PolicyResponse other) |
Wtclient.PolicyResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Wtclient.PolicyResponse.Builder |
setMaxUpdates(int value)
The maximum number of updates each session we negotiate with watchtowers
should allow.
|
Wtclient.PolicyResponse.Builder |
setSweepSatPerByte(int value)
Deprecated.
wtclientrpc.PolicyResponse.sweep_sat_per_byte is deprecated.
See wtclient.proto;l=222
|
Wtclient.PolicyResponse.Builder |
setSweepSatPerVbyte(int value)
The fee rate, in satoshis per vbyte, that will be used by watchtowers for
justice transactions in response to channel breaches.
|
Wtclient.PolicyResponse.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<Wtclient.PolicyResponse.Builder>
public Wtclient.PolicyResponse.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.PolicyResponse.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.PolicyResponse.Builder>
public Wtclient.PolicyResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Wtclient.PolicyResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Wtclient.PolicyResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Wtclient.PolicyResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Wtclient.PolicyResponse.Builder>
public Wtclient.PolicyResponse.Builder mergeFrom(Wtclient.PolicyResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Wtclient.PolicyResponse.Builder>
public Wtclient.PolicyResponse.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.PolicyResponse.Builder>
java.io.IOException
public int getMaxUpdates()
The maximum number of updates each session we negotiate with watchtowers should allow.
uint32 max_updates = 1;
getMaxUpdates
in interface Wtclient.PolicyResponseOrBuilder
public Wtclient.PolicyResponse.Builder setMaxUpdates(int value)
The maximum number of updates each session we negotiate with watchtowers should allow.
uint32 max_updates = 1;
value
- The maxUpdates to set.public Wtclient.PolicyResponse.Builder clearMaxUpdates()
The maximum number of updates each session we negotiate with watchtowers should allow.
uint32 max_updates = 1;
@Deprecated public int getSweepSatPerByte()
Deprecated, use sweep_sat_per_vbyte. The fee rate, in satoshis per vbyte, that will be used by watchtowers for justice transactions in response to channel breaches.
uint32 sweep_sat_per_byte = 2 [deprecated = true];
getSweepSatPerByte
in interface Wtclient.PolicyResponseOrBuilder
@Deprecated public Wtclient.PolicyResponse.Builder setSweepSatPerByte(int value)
Deprecated, use sweep_sat_per_vbyte. The fee rate, in satoshis per vbyte, that will be used by watchtowers for justice transactions in response to channel breaches.
uint32 sweep_sat_per_byte = 2 [deprecated = true];
value
- The sweepSatPerByte to set.@Deprecated public Wtclient.PolicyResponse.Builder clearSweepSatPerByte()
Deprecated, use sweep_sat_per_vbyte. The fee rate, in satoshis per vbyte, that will be used by watchtowers for justice transactions in response to channel breaches.
uint32 sweep_sat_per_byte = 2 [deprecated = true];
public int getSweepSatPerVbyte()
The fee rate, in satoshis per vbyte, that will be used by watchtowers for justice transactions in response to channel breaches.
uint32 sweep_sat_per_vbyte = 3;
getSweepSatPerVbyte
in interface Wtclient.PolicyResponseOrBuilder
public Wtclient.PolicyResponse.Builder setSweepSatPerVbyte(int value)
The fee rate, in satoshis per vbyte, that will be used by watchtowers for justice transactions in response to channel breaches.
uint32 sweep_sat_per_vbyte = 3;
value
- The sweepSatPerVbyte to set.public Wtclient.PolicyResponse.Builder clearSweepSatPerVbyte()
The fee rate, in satoshis per vbyte, that will be used by watchtowers for justice transactions in response to channel breaches.
uint32 sweep_sat_per_vbyte = 3;
public final Wtclient.PolicyResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Wtclient.PolicyResponse.Builder>
public final Wtclient.PolicyResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Wtclient.PolicyResponse.Builder>