public static final class LightningApi.QueryRoutesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.QueryRoutesResponse.Builder> implements LightningApi.QueryRoutesResponseOrBuilder
lnrpc.QueryRoutesResponse| Modifier and Type | Method and Description |
|---|---|
LightningApi.QueryRoutesResponse.Builder |
addAllRoutes(java.lang.Iterable<? extends LightningApi.Route> values)
The route that results from the path finding operation.
|
LightningApi.QueryRoutesResponse.Builder |
addRoutes(int index,
LightningApi.Route.Builder builderForValue)
The route that results from the path finding operation.
|
LightningApi.QueryRoutesResponse.Builder |
addRoutes(int index,
LightningApi.Route value)
The route that results from the path finding operation.
|
LightningApi.QueryRoutesResponse.Builder |
addRoutes(LightningApi.Route.Builder builderForValue)
The route that results from the path finding operation.
|
LightningApi.QueryRoutesResponse.Builder |
addRoutes(LightningApi.Route value)
The route that results from the path finding operation.
|
LightningApi.Route.Builder |
addRoutesBuilder()
The route that results from the path finding operation.
|
LightningApi.Route.Builder |
addRoutesBuilder(int index)
The route that results from the path finding operation.
|
LightningApi.QueryRoutesResponse |
build() |
LightningApi.QueryRoutesResponse |
buildPartial() |
LightningApi.QueryRoutesResponse.Builder |
clear() |
LightningApi.QueryRoutesResponse.Builder |
clearRoutes()
The route that results from the path finding operation.
|
LightningApi.QueryRoutesResponse.Builder |
clearSuccessProb()
The success probability of the returned route based on the current mission
control state.
|
LightningApi.QueryRoutesResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LightningApi.Route |
getRoutes(int index)
The route that results from the path finding operation.
|
LightningApi.Route.Builder |
getRoutesBuilder(int index)
The route that results from the path finding operation.
|
java.util.List<LightningApi.Route.Builder> |
getRoutesBuilderList()
The route that results from the path finding operation.
|
int |
getRoutesCount()
The route that results from the path finding operation.
|
java.util.List<LightningApi.Route> |
getRoutesList()
The route that results from the path finding operation.
|
LightningApi.RouteOrBuilder |
getRoutesOrBuilder(int index)
The route that results from the path finding operation.
|
java.util.List<? extends LightningApi.RouteOrBuilder> |
getRoutesOrBuilderList()
The route that results from the path finding operation.
|
double |
getSuccessProb()
The success probability of the returned route based on the current mission
control state.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.QueryRoutesResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.QueryRoutesResponse.Builder |
mergeFrom(LightningApi.QueryRoutesResponse other) |
LightningApi.QueryRoutesResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.QueryRoutesResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.QueryRoutesResponse.Builder |
removeRoutes(int index)
The route that results from the path finding operation.
|
LightningApi.QueryRoutesResponse.Builder |
setRoutes(int index,
LightningApi.Route.Builder builderForValue)
The route that results from the path finding operation.
|
LightningApi.QueryRoutesResponse.Builder |
setRoutes(int index,
LightningApi.Route value)
The route that results from the path finding operation.
|
LightningApi.QueryRoutesResponse.Builder |
setSuccessProb(double value)
The success probability of the returned route based on the current mission
control state.
|
LightningApi.QueryRoutesResponse.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<LightningApi.QueryRoutesResponse.Builder>public LightningApi.QueryRoutesResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.QueryRoutesResponse.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<LightningApi.QueryRoutesResponse.Builder>public LightningApi.QueryRoutesResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.QueryRoutesResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.QueryRoutesResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.QueryRoutesResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.QueryRoutesResponse.Builder>public LightningApi.QueryRoutesResponse.Builder mergeFrom(LightningApi.QueryRoutesResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.QueryRoutesResponse.Builder>public LightningApi.QueryRoutesResponse.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<LightningApi.QueryRoutesResponse.Builder>java.io.IOExceptionpublic java.util.List<LightningApi.Route> getRoutesList()
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;getRoutesList in interface LightningApi.QueryRoutesResponseOrBuilderpublic int getRoutesCount()
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;getRoutesCount in interface LightningApi.QueryRoutesResponseOrBuilderpublic LightningApi.Route getRoutes(int index)
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;getRoutes in interface LightningApi.QueryRoutesResponseOrBuilderpublic LightningApi.QueryRoutesResponse.Builder setRoutes(int index, LightningApi.Route value)
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;public LightningApi.QueryRoutesResponse.Builder setRoutes(int index, LightningApi.Route.Builder builderForValue)
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;public LightningApi.QueryRoutesResponse.Builder addRoutes(LightningApi.Route value)
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;public LightningApi.QueryRoutesResponse.Builder addRoutes(int index, LightningApi.Route value)
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;public LightningApi.QueryRoutesResponse.Builder addRoutes(LightningApi.Route.Builder builderForValue)
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;public LightningApi.QueryRoutesResponse.Builder addRoutes(int index, LightningApi.Route.Builder builderForValue)
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;public LightningApi.QueryRoutesResponse.Builder addAllRoutes(java.lang.Iterable<? extends LightningApi.Route> values)
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;public LightningApi.QueryRoutesResponse.Builder clearRoutes()
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;public LightningApi.QueryRoutesResponse.Builder removeRoutes(int index)
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;public LightningApi.Route.Builder getRoutesBuilder(int index)
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;public LightningApi.RouteOrBuilder getRoutesOrBuilder(int index)
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;getRoutesOrBuilder in interface LightningApi.QueryRoutesResponseOrBuilderpublic java.util.List<? extends LightningApi.RouteOrBuilder> getRoutesOrBuilderList()
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;getRoutesOrBuilderList in interface LightningApi.QueryRoutesResponseOrBuilderpublic LightningApi.Route.Builder addRoutesBuilder()
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;public LightningApi.Route.Builder addRoutesBuilder(int index)
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;public java.util.List<LightningApi.Route.Builder> getRoutesBuilderList()
The route that results from the path finding operation. This is still a repeated field to retain backwards compatibility.
repeated .lnrpc.Route routes = 1;public double getSuccessProb()
The success probability of the returned route based on the current mission control state. [EXPERIMENTAL]
double success_prob = 2;getSuccessProb in interface LightningApi.QueryRoutesResponseOrBuilderpublic LightningApi.QueryRoutesResponse.Builder setSuccessProb(double value)
The success probability of the returned route based on the current mission control state. [EXPERIMENTAL]
double success_prob = 2;value - The successProb to set.public LightningApi.QueryRoutesResponse.Builder clearSuccessProb()
The success probability of the returned route based on the current mission control state. [EXPERIMENTAL]
double success_prob = 2;public final LightningApi.QueryRoutesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.QueryRoutesResponse.Builder>public final LightningApi.QueryRoutesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.QueryRoutesResponse.Builder>