public static final class RouterOuterClass.AprioriParameters.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.AprioriParameters.Builder> implements RouterOuterClass.AprioriParametersOrBuilder
routerrpc.AprioriParameters| Modifier and Type | Method and Description |
|---|---|
RouterOuterClass.AprioriParameters |
build() |
RouterOuterClass.AprioriParameters |
buildPartial() |
RouterOuterClass.AprioriParameters.Builder |
clear() |
RouterOuterClass.AprioriParameters.Builder |
clearCapacityFraction()
The fraction of a channel's capacity that we consider to have liquidity.
|
RouterOuterClass.AprioriParameters.Builder |
clearHalfLifeSeconds()
The amount of time mission control will take to restore a penalized node
or channel back to 50% success probability, expressed in seconds.
|
RouterOuterClass.AprioriParameters.Builder |
clearHopProbability()
The probability of success mission control should assign to hop in a route
where it has no other information available.
|
RouterOuterClass.AprioriParameters.Builder |
clearWeight()
The importance that mission control should place on historical results,
expressed as a value in [0;1].
|
double |
getCapacityFraction()
The fraction of a channel's capacity that we consider to have liquidity.
|
RouterOuterClass.AprioriParameters |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getHalfLifeSeconds()
The amount of time mission control will take to restore a penalized node
or channel back to 50% success probability, expressed in seconds.
|
double |
getHopProbability()
The probability of success mission control should assign to hop in a route
where it has no other information available.
|
double |
getWeight()
The importance that mission control should place on historical results,
expressed as a value in [0;1].
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouterOuterClass.AprioriParameters.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouterOuterClass.AprioriParameters.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouterOuterClass.AprioriParameters.Builder |
mergeFrom(RouterOuterClass.AprioriParameters other) |
RouterOuterClass.AprioriParameters.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouterOuterClass.AprioriParameters.Builder |
setCapacityFraction(double value)
The fraction of a channel's capacity that we consider to have liquidity.
|
RouterOuterClass.AprioriParameters.Builder |
setHalfLifeSeconds(long value)
The amount of time mission control will take to restore a penalized node
or channel back to 50% success probability, expressed in seconds.
|
RouterOuterClass.AprioriParameters.Builder |
setHopProbability(double value)
The probability of success mission control should assign to hop in a route
where it has no other information available.
|
RouterOuterClass.AprioriParameters.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouterOuterClass.AprioriParameters.Builder |
setWeight(double value)
The importance that mission control should place on historical results,
expressed as a value in [0;1].
|
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<RouterOuterClass.AprioriParameters.Builder>public RouterOuterClass.AprioriParameters.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.AprioriParameters.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<RouterOuterClass.AprioriParameters.Builder>public RouterOuterClass.AprioriParameters getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouterOuterClass.AprioriParameters build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouterOuterClass.AprioriParameters buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouterOuterClass.AprioriParameters.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouterOuterClass.AprioriParameters.Builder>public RouterOuterClass.AprioriParameters.Builder mergeFrom(RouterOuterClass.AprioriParameters other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.AprioriParameters.Builder>public RouterOuterClass.AprioriParameters.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<RouterOuterClass.AprioriParameters.Builder>java.io.IOExceptionpublic long getHalfLifeSeconds()
The amount of time mission control will take to restore a penalized node or channel back to 50% success probability, expressed in seconds. Setting this value to a higher value will penalize failures for longer, making mission control less likely to route through nodes and channels that we have previously recorded failures for.
uint64 half_life_seconds = 1;getHalfLifeSeconds in interface RouterOuterClass.AprioriParametersOrBuilderpublic RouterOuterClass.AprioriParameters.Builder setHalfLifeSeconds(long value)
The amount of time mission control will take to restore a penalized node or channel back to 50% success probability, expressed in seconds. Setting this value to a higher value will penalize failures for longer, making mission control less likely to route through nodes and channels that we have previously recorded failures for.
uint64 half_life_seconds = 1;value - The halfLifeSeconds to set.public RouterOuterClass.AprioriParameters.Builder clearHalfLifeSeconds()
The amount of time mission control will take to restore a penalized node or channel back to 50% success probability, expressed in seconds. Setting this value to a higher value will penalize failures for longer, making mission control less likely to route through nodes and channels that we have previously recorded failures for.
uint64 half_life_seconds = 1;public double getHopProbability()
The probability of success mission control should assign to hop in a route where it has no other information available. Higher values will make mission control more willing to try hops that we have no information about, lower values will discourage trying these hops.
double hop_probability = 2;getHopProbability in interface RouterOuterClass.AprioriParametersOrBuilderpublic RouterOuterClass.AprioriParameters.Builder setHopProbability(double value)
The probability of success mission control should assign to hop in a route where it has no other information available. Higher values will make mission control more willing to try hops that we have no information about, lower values will discourage trying these hops.
double hop_probability = 2;value - The hopProbability to set.public RouterOuterClass.AprioriParameters.Builder clearHopProbability()
The probability of success mission control should assign to hop in a route where it has no other information available. Higher values will make mission control more willing to try hops that we have no information about, lower values will discourage trying these hops.
double hop_probability = 2;public double getWeight()
The importance that mission control should place on historical results, expressed as a value in [0;1]. Setting this value to 1 will ignore all historical payments and just use the hop probability to assess the probability of success for each hop. A zero value ignores hop probability completely and relies entirely on historical results, unless none are available.
double weight = 3;getWeight in interface RouterOuterClass.AprioriParametersOrBuilderpublic RouterOuterClass.AprioriParameters.Builder setWeight(double value)
The importance that mission control should place on historical results, expressed as a value in [0;1]. Setting this value to 1 will ignore all historical payments and just use the hop probability to assess the probability of success for each hop. A zero value ignores hop probability completely and relies entirely on historical results, unless none are available.
double weight = 3;value - The weight to set.public RouterOuterClass.AprioriParameters.Builder clearWeight()
The importance that mission control should place on historical results, expressed as a value in [0;1]. Setting this value to 1 will ignore all historical payments and just use the hop probability to assess the probability of success for each hop. A zero value ignores hop probability completely and relies entirely on historical results, unless none are available.
double weight = 3;public double getCapacityFraction()
The fraction of a channel's capacity that we consider to have liquidity. For amounts that come close to or exceed the fraction, an additional penalty is applied. A value of 1.0 disables the capacity factor. Allowed values are in [0.75, 1.0].
double capacity_fraction = 4;getCapacityFraction in interface RouterOuterClass.AprioriParametersOrBuilderpublic RouterOuterClass.AprioriParameters.Builder setCapacityFraction(double value)
The fraction of a channel's capacity that we consider to have liquidity. For amounts that come close to or exceed the fraction, an additional penalty is applied. A value of 1.0 disables the capacity factor. Allowed values are in [0.75, 1.0].
double capacity_fraction = 4;value - The capacityFraction to set.public RouterOuterClass.AprioriParameters.Builder clearCapacityFraction()
The fraction of a channel's capacity that we consider to have liquidity. For amounts that come close to or exceed the fraction, an additional penalty is applied. A value of 1.0 disables the capacity factor. Allowed values are in [0.75, 1.0].
double capacity_fraction = 4;public final RouterOuterClass.AprioriParameters.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.AprioriParameters.Builder>public final RouterOuterClass.AprioriParameters.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.AprioriParameters.Builder>