public static final class RouterOuterClass.LinkFailEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.LinkFailEvent.Builder> implements RouterOuterClass.LinkFailEventOrBuilder
routerrpc.LinkFailEvent| Modifier and Type | Method and Description |
|---|---|
RouterOuterClass.LinkFailEvent |
build() |
RouterOuterClass.LinkFailEvent |
buildPartial() |
RouterOuterClass.LinkFailEvent.Builder |
clear() |
RouterOuterClass.LinkFailEvent.Builder |
clearFailureDetail()
FailureDetail provides additional information about the reason for the
failure.
|
RouterOuterClass.LinkFailEvent.Builder |
clearFailureString()
A string representation of the link failure.
|
RouterOuterClass.LinkFailEvent.Builder |
clearInfo()
Info contains details about the htlc that we failed.
|
RouterOuterClass.LinkFailEvent.Builder |
clearWireFailure()
FailureCode is the BOLT error code for the failure.
|
RouterOuterClass.LinkFailEvent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RouterOuterClass.FailureDetail |
getFailureDetail()
FailureDetail provides additional information about the reason for the
failure.
|
int |
getFailureDetailValue()
FailureDetail provides additional information about the reason for the
failure.
|
java.lang.String |
getFailureString()
A string representation of the link failure.
|
com.google.protobuf.ByteString |
getFailureStringBytes()
A string representation of the link failure.
|
RouterOuterClass.HtlcInfo |
getInfo()
Info contains details about the htlc that we failed.
|
RouterOuterClass.HtlcInfo.Builder |
getInfoBuilder()
Info contains details about the htlc that we failed.
|
RouterOuterClass.HtlcInfoOrBuilder |
getInfoOrBuilder()
Info contains details about the htlc that we failed.
|
LightningApi.Failure.FailureCode |
getWireFailure()
FailureCode is the BOLT error code for the failure.
|
int |
getWireFailureValue()
FailureCode is the BOLT error code for the failure.
|
boolean |
hasInfo()
Info contains details about the htlc that we failed.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouterOuterClass.LinkFailEvent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouterOuterClass.LinkFailEvent.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouterOuterClass.LinkFailEvent.Builder |
mergeFrom(RouterOuterClass.LinkFailEvent other) |
RouterOuterClass.LinkFailEvent.Builder |
mergeInfo(RouterOuterClass.HtlcInfo value)
Info contains details about the htlc that we failed.
|
RouterOuterClass.LinkFailEvent.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouterOuterClass.LinkFailEvent.Builder |
setFailureDetail(RouterOuterClass.FailureDetail value)
FailureDetail provides additional information about the reason for the
failure.
|
RouterOuterClass.LinkFailEvent.Builder |
setFailureDetailValue(int value)
FailureDetail provides additional information about the reason for the
failure.
|
RouterOuterClass.LinkFailEvent.Builder |
setFailureString(java.lang.String value)
A string representation of the link failure.
|
RouterOuterClass.LinkFailEvent.Builder |
setFailureStringBytes(com.google.protobuf.ByteString value)
A string representation of the link failure.
|
RouterOuterClass.LinkFailEvent.Builder |
setInfo(RouterOuterClass.HtlcInfo.Builder builderForValue)
Info contains details about the htlc that we failed.
|
RouterOuterClass.LinkFailEvent.Builder |
setInfo(RouterOuterClass.HtlcInfo value)
Info contains details about the htlc that we failed.
|
RouterOuterClass.LinkFailEvent.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouterOuterClass.LinkFailEvent.Builder |
setWireFailure(LightningApi.Failure.FailureCode value)
FailureCode is the BOLT error code for the failure.
|
RouterOuterClass.LinkFailEvent.Builder |
setWireFailureValue(int value)
FailureCode is the BOLT error code for the failure.
|
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.LinkFailEvent.Builder>public RouterOuterClass.LinkFailEvent.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.LinkFailEvent.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.LinkFailEvent.Builder>public RouterOuterClass.LinkFailEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouterOuterClass.LinkFailEvent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouterOuterClass.LinkFailEvent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouterOuterClass.LinkFailEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouterOuterClass.LinkFailEvent.Builder>public RouterOuterClass.LinkFailEvent.Builder mergeFrom(RouterOuterClass.LinkFailEvent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.LinkFailEvent.Builder>public RouterOuterClass.LinkFailEvent.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.LinkFailEvent.Builder>java.io.IOExceptionpublic boolean hasInfo()
Info contains details about the htlc that we failed.
.routerrpc.HtlcInfo info = 1;hasInfo in interface RouterOuterClass.LinkFailEventOrBuilderpublic RouterOuterClass.HtlcInfo getInfo()
Info contains details about the htlc that we failed.
.routerrpc.HtlcInfo info = 1;getInfo in interface RouterOuterClass.LinkFailEventOrBuilderpublic RouterOuterClass.LinkFailEvent.Builder setInfo(RouterOuterClass.HtlcInfo value)
Info contains details about the htlc that we failed.
.routerrpc.HtlcInfo info = 1;public RouterOuterClass.LinkFailEvent.Builder setInfo(RouterOuterClass.HtlcInfo.Builder builderForValue)
Info contains details about the htlc that we failed.
.routerrpc.HtlcInfo info = 1;public RouterOuterClass.LinkFailEvent.Builder mergeInfo(RouterOuterClass.HtlcInfo value)
Info contains details about the htlc that we failed.
.routerrpc.HtlcInfo info = 1;public RouterOuterClass.LinkFailEvent.Builder clearInfo()
Info contains details about the htlc that we failed.
.routerrpc.HtlcInfo info = 1;public RouterOuterClass.HtlcInfo.Builder getInfoBuilder()
Info contains details about the htlc that we failed.
.routerrpc.HtlcInfo info = 1;public RouterOuterClass.HtlcInfoOrBuilder getInfoOrBuilder()
Info contains details about the htlc that we failed.
.routerrpc.HtlcInfo info = 1;getInfoOrBuilder in interface RouterOuterClass.LinkFailEventOrBuilderpublic int getWireFailureValue()
FailureCode is the BOLT error code for the failure.
.lnrpc.Failure.FailureCode wire_failure = 2;getWireFailureValue in interface RouterOuterClass.LinkFailEventOrBuilderpublic RouterOuterClass.LinkFailEvent.Builder setWireFailureValue(int value)
FailureCode is the BOLT error code for the failure.
.lnrpc.Failure.FailureCode wire_failure = 2;value - The enum numeric value on the wire for wireFailure to set.public LightningApi.Failure.FailureCode getWireFailure()
FailureCode is the BOLT error code for the failure.
.lnrpc.Failure.FailureCode wire_failure = 2;getWireFailure in interface RouterOuterClass.LinkFailEventOrBuilderpublic RouterOuterClass.LinkFailEvent.Builder setWireFailure(LightningApi.Failure.FailureCode value)
FailureCode is the BOLT error code for the failure.
.lnrpc.Failure.FailureCode wire_failure = 2;value - The wireFailure to set.public RouterOuterClass.LinkFailEvent.Builder clearWireFailure()
FailureCode is the BOLT error code for the failure.
.lnrpc.Failure.FailureCode wire_failure = 2;public int getFailureDetailValue()
FailureDetail provides additional information about the reason for the failure. This detail enriches the information provided by the wire message and may be 'no detail' if the wire message requires no additional metadata.
.routerrpc.FailureDetail failure_detail = 3;getFailureDetailValue in interface RouterOuterClass.LinkFailEventOrBuilderpublic RouterOuterClass.LinkFailEvent.Builder setFailureDetailValue(int value)
FailureDetail provides additional information about the reason for the failure. This detail enriches the information provided by the wire message and may be 'no detail' if the wire message requires no additional metadata.
.routerrpc.FailureDetail failure_detail = 3;value - The enum numeric value on the wire for failureDetail to set.public RouterOuterClass.FailureDetail getFailureDetail()
FailureDetail provides additional information about the reason for the failure. This detail enriches the information provided by the wire message and may be 'no detail' if the wire message requires no additional metadata.
.routerrpc.FailureDetail failure_detail = 3;getFailureDetail in interface RouterOuterClass.LinkFailEventOrBuilderpublic RouterOuterClass.LinkFailEvent.Builder setFailureDetail(RouterOuterClass.FailureDetail value)
FailureDetail provides additional information about the reason for the failure. This detail enriches the information provided by the wire message and may be 'no detail' if the wire message requires no additional metadata.
.routerrpc.FailureDetail failure_detail = 3;value - The failureDetail to set.public RouterOuterClass.LinkFailEvent.Builder clearFailureDetail()
FailureDetail provides additional information about the reason for the failure. This detail enriches the information provided by the wire message and may be 'no detail' if the wire message requires no additional metadata.
.routerrpc.FailureDetail failure_detail = 3;public java.lang.String getFailureString()
A string representation of the link failure.
string failure_string = 4;getFailureString in interface RouterOuterClass.LinkFailEventOrBuilderpublic com.google.protobuf.ByteString getFailureStringBytes()
A string representation of the link failure.
string failure_string = 4;getFailureStringBytes in interface RouterOuterClass.LinkFailEventOrBuilderpublic RouterOuterClass.LinkFailEvent.Builder setFailureString(java.lang.String value)
A string representation of the link failure.
string failure_string = 4;value - The failureString to set.public RouterOuterClass.LinkFailEvent.Builder clearFailureString()
A string representation of the link failure.
string failure_string = 4;public RouterOuterClass.LinkFailEvent.Builder setFailureStringBytes(com.google.protobuf.ByteString value)
A string representation of the link failure.
string failure_string = 4;value - The bytes for failureString to set.public final RouterOuterClass.LinkFailEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.LinkFailEvent.Builder>public final RouterOuterClass.LinkFailEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.LinkFailEvent.Builder>