public static final class RouterOuterClass.QueryProbabilityRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.QueryProbabilityRequest.Builder> implements RouterOuterClass.QueryProbabilityRequestOrBuilder
routerrpc.QueryProbabilityRequest
Modifier and Type | Method and Description |
---|---|
RouterOuterClass.QueryProbabilityRequest |
build() |
RouterOuterClass.QueryProbabilityRequest |
buildPartial() |
RouterOuterClass.QueryProbabilityRequest.Builder |
clear() |
RouterOuterClass.QueryProbabilityRequest.Builder |
clearAmtMsat()
The amount for which to calculate a probability.
|
RouterOuterClass.QueryProbabilityRequest.Builder |
clearFromNode()
The source node pubkey of the pair.
|
RouterOuterClass.QueryProbabilityRequest.Builder |
clearToNode()
The destination node pubkey of the pair.
|
long |
getAmtMsat()
The amount for which to calculate a probability.
|
RouterOuterClass.QueryProbabilityRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getFromNode()
The source node pubkey of the pair.
|
com.google.protobuf.ByteString |
getToNode()
The destination node pubkey of the pair.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouterOuterClass.QueryProbabilityRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouterOuterClass.QueryProbabilityRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouterOuterClass.QueryProbabilityRequest.Builder |
mergeFrom(RouterOuterClass.QueryProbabilityRequest other) |
RouterOuterClass.QueryProbabilityRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouterOuterClass.QueryProbabilityRequest.Builder |
setAmtMsat(long value)
The amount for which to calculate a probability.
|
RouterOuterClass.QueryProbabilityRequest.Builder |
setFromNode(com.google.protobuf.ByteString value)
The source node pubkey of the pair.
|
RouterOuterClass.QueryProbabilityRequest.Builder |
setToNode(com.google.protobuf.ByteString value)
The destination node pubkey of the pair.
|
RouterOuterClass.QueryProbabilityRequest.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.QueryProbabilityRequest.Builder>
public RouterOuterClass.QueryProbabilityRequest.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.QueryProbabilityRequest.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.QueryProbabilityRequest.Builder>
public RouterOuterClass.QueryProbabilityRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RouterOuterClass.QueryProbabilityRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RouterOuterClass.QueryProbabilityRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RouterOuterClass.QueryProbabilityRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RouterOuterClass.QueryProbabilityRequest.Builder>
public RouterOuterClass.QueryProbabilityRequest.Builder mergeFrom(RouterOuterClass.QueryProbabilityRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.QueryProbabilityRequest.Builder>
public RouterOuterClass.QueryProbabilityRequest.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.QueryProbabilityRequest.Builder>
java.io.IOException
public com.google.protobuf.ByteString getFromNode()
The source node pubkey of the pair.
bytes from_node = 1;
getFromNode
in interface RouterOuterClass.QueryProbabilityRequestOrBuilder
public RouterOuterClass.QueryProbabilityRequest.Builder setFromNode(com.google.protobuf.ByteString value)
The source node pubkey of the pair.
bytes from_node = 1;
value
- The fromNode to set.public RouterOuterClass.QueryProbabilityRequest.Builder clearFromNode()
The source node pubkey of the pair.
bytes from_node = 1;
public com.google.protobuf.ByteString getToNode()
The destination node pubkey of the pair.
bytes to_node = 2;
getToNode
in interface RouterOuterClass.QueryProbabilityRequestOrBuilder
public RouterOuterClass.QueryProbabilityRequest.Builder setToNode(com.google.protobuf.ByteString value)
The destination node pubkey of the pair.
bytes to_node = 2;
value
- The toNode to set.public RouterOuterClass.QueryProbabilityRequest.Builder clearToNode()
The destination node pubkey of the pair.
bytes to_node = 2;
public long getAmtMsat()
The amount for which to calculate a probability.
int64 amt_msat = 3;
getAmtMsat
in interface RouterOuterClass.QueryProbabilityRequestOrBuilder
public RouterOuterClass.QueryProbabilityRequest.Builder setAmtMsat(long value)
The amount for which to calculate a probability.
int64 amt_msat = 3;
value
- The amtMsat to set.public RouterOuterClass.QueryProbabilityRequest.Builder clearAmtMsat()
The amount for which to calculate a probability.
int64 amt_msat = 3;
public final RouterOuterClass.QueryProbabilityRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.QueryProbabilityRequest.Builder>
public final RouterOuterClass.QueryProbabilityRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.QueryProbabilityRequest.Builder>