public static final class RouterOuterClass.RouteFeeResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.RouteFeeResponse.Builder> implements RouterOuterClass.RouteFeeResponseOrBuilder
routerrpc.RouteFeeResponse
Modifier and Type | Method and Description |
---|---|
RouterOuterClass.RouteFeeResponse |
build() |
RouterOuterClass.RouteFeeResponse |
buildPartial() |
RouterOuterClass.RouteFeeResponse.Builder |
clear() |
RouterOuterClass.RouteFeeResponse.Builder |
clearRoutingFeeMsat()
A lower bound of the estimated fee to the target destination within the
network, expressed in milli-satoshis.
|
RouterOuterClass.RouteFeeResponse.Builder |
clearTimeLockDelay()
An estimate of the worst case time delay that can occur.
|
RouterOuterClass.RouteFeeResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getRoutingFeeMsat()
A lower bound of the estimated fee to the target destination within the
network, expressed in milli-satoshis.
|
long |
getTimeLockDelay()
An estimate of the worst case time delay that can occur.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouterOuterClass.RouteFeeResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouterOuterClass.RouteFeeResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouterOuterClass.RouteFeeResponse.Builder |
mergeFrom(RouterOuterClass.RouteFeeResponse other) |
RouterOuterClass.RouteFeeResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouterOuterClass.RouteFeeResponse.Builder |
setRoutingFeeMsat(long value)
A lower bound of the estimated fee to the target destination within the
network, expressed in milli-satoshis.
|
RouterOuterClass.RouteFeeResponse.Builder |
setTimeLockDelay(long value)
An estimate of the worst case time delay that can occur.
|
RouterOuterClass.RouteFeeResponse.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<RouterOuterClass.RouteFeeResponse.Builder>
public RouterOuterClass.RouteFeeResponse.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<RouterOuterClass.RouteFeeResponse.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<RouterOuterClass.RouteFeeResponse.Builder>
public RouterOuterClass.RouteFeeResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RouterOuterClass.RouteFeeResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RouterOuterClass.RouteFeeResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RouterOuterClass.RouteFeeResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RouterOuterClass.RouteFeeResponse.Builder>
public RouterOuterClass.RouteFeeResponse.Builder mergeFrom(RouterOuterClass.RouteFeeResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.RouteFeeResponse.Builder>
public RouterOuterClass.RouteFeeResponse.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<RouterOuterClass.RouteFeeResponse.Builder>
java.io.IOException
public long getRoutingFeeMsat()
A lower bound of the estimated fee to the target destination within the network, expressed in milli-satoshis.
int64 routing_fee_msat = 1;
getRoutingFeeMsat
in interface RouterOuterClass.RouteFeeResponseOrBuilder
public RouterOuterClass.RouteFeeResponse.Builder setRoutingFeeMsat(long value)
A lower bound of the estimated fee to the target destination within the network, expressed in milli-satoshis.
int64 routing_fee_msat = 1;
value
- The routingFeeMsat to set.public RouterOuterClass.RouteFeeResponse.Builder clearRoutingFeeMsat()
A lower bound of the estimated fee to the target destination within the network, expressed in milli-satoshis.
int64 routing_fee_msat = 1;
public long getTimeLockDelay()
An estimate of the worst case time delay that can occur. Note that callers will still need to factor in the final CLTV delta of the last hop into this value.
int64 time_lock_delay = 2;
getTimeLockDelay
in interface RouterOuterClass.RouteFeeResponseOrBuilder
public RouterOuterClass.RouteFeeResponse.Builder setTimeLockDelay(long value)
An estimate of the worst case time delay that can occur. Note that callers will still need to factor in the final CLTV delta of the last hop into this value.
int64 time_lock_delay = 2;
value
- The timeLockDelay to set.public RouterOuterClass.RouteFeeResponse.Builder clearTimeLockDelay()
An estimate of the worst case time delay that can occur. Note that callers will still need to factor in the final CLTV delta of the last hop into this value.
int64 time_lock_delay = 2;
public final RouterOuterClass.RouteFeeResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.RouteFeeResponse.Builder>
public final RouterOuterClass.RouteFeeResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.RouteFeeResponse.Builder>