public static final class LightningApi.InterceptFeedback.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.InterceptFeedback.Builder> implements LightningApi.InterceptFeedbackOrBuilder
lnrpc.InterceptFeedback| Modifier and Type | Method and Description | 
|---|---|
LightningApi.InterceptFeedback | 
build()  | 
LightningApi.InterceptFeedback | 
buildPartial()  | 
LightningApi.InterceptFeedback.Builder | 
clear()  | 
LightningApi.InterceptFeedback.Builder | 
clearError()
The error to return to the user. 
 | 
LightningApi.InterceptFeedback.Builder | 
clearReplacementSerialized()
If the replace_response field is set to true, this field must contain the
binary serialized gRPC message in the protobuf format. 
 | 
LightningApi.InterceptFeedback.Builder | 
clearReplaceResponse()
A boolean indicating that the gRPC message should be replaced/overwritten. 
 | 
LightningApi.InterceptFeedback | 
getDefaultInstanceForType()  | 
static com.google.protobuf.Descriptors.Descriptor | 
getDescriptor()  | 
com.google.protobuf.Descriptors.Descriptor | 
getDescriptorForType()  | 
java.lang.String | 
getError()
The error to return to the user. 
 | 
com.google.protobuf.ByteString | 
getErrorBytes()
The error to return to the user. 
 | 
com.google.protobuf.ByteString | 
getReplacementSerialized()
If the replace_response field is set to true, this field must contain the
binary serialized gRPC message in the protobuf format. 
 | 
boolean | 
getReplaceResponse()
A boolean indicating that the gRPC message should be replaced/overwritten. 
 | 
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | 
internalGetFieldAccessorTable()  | 
boolean | 
isInitialized()  | 
LightningApi.InterceptFeedback.Builder | 
mergeFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
LightningApi.InterceptFeedback.Builder | 
mergeFrom(LightningApi.InterceptFeedback other)  | 
LightningApi.InterceptFeedback.Builder | 
mergeFrom(com.google.protobuf.Message other)  | 
LightningApi.InterceptFeedback.Builder | 
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)  | 
LightningApi.InterceptFeedback.Builder | 
setError(java.lang.String value)
The error to return to the user. 
 | 
LightningApi.InterceptFeedback.Builder | 
setErrorBytes(com.google.protobuf.ByteString value)
The error to return to the user. 
 | 
LightningApi.InterceptFeedback.Builder | 
setReplacementSerialized(com.google.protobuf.ByteString value)
If the replace_response field is set to true, this field must contain the
binary serialized gRPC message in the protobuf format. 
 | 
LightningApi.InterceptFeedback.Builder | 
setReplaceResponse(boolean value)
A boolean indicating that the gRPC message should be replaced/overwritten. 
 | 
LightningApi.InterceptFeedback.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.InterceptFeedback.Builder>public LightningApi.InterceptFeedback.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.InterceptFeedback.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.InterceptFeedback.Builder>public LightningApi.InterceptFeedback getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.InterceptFeedback build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.InterceptFeedback buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.InterceptFeedback.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.InterceptFeedback.Builder>public LightningApi.InterceptFeedback.Builder mergeFrom(LightningApi.InterceptFeedback other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.InterceptFeedback.Builder>public LightningApi.InterceptFeedback.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.InterceptFeedback.Builder>java.io.IOExceptionpublic java.lang.String getError()
The error to return to the user. If this is non-empty, the incoming gRPC stream/request is aborted and the error is returned to the gRPC client. If this value is empty, it means the middleware accepts the stream/request/ response and the processing of it can continue.
string error = 1;getError in interface LightningApi.InterceptFeedbackOrBuilderpublic com.google.protobuf.ByteString getErrorBytes()
The error to return to the user. If this is non-empty, the incoming gRPC stream/request is aborted and the error is returned to the gRPC client. If this value is empty, it means the middleware accepts the stream/request/ response and the processing of it can continue.
string error = 1;getErrorBytes in interface LightningApi.InterceptFeedbackOrBuilderpublic LightningApi.InterceptFeedback.Builder setError(java.lang.String value)
The error to return to the user. If this is non-empty, the incoming gRPC stream/request is aborted and the error is returned to the gRPC client. If this value is empty, it means the middleware accepts the stream/request/ response and the processing of it can continue.
string error = 1;value - The error to set.public LightningApi.InterceptFeedback.Builder clearError()
The error to return to the user. If this is non-empty, the incoming gRPC stream/request is aborted and the error is returned to the gRPC client. If this value is empty, it means the middleware accepts the stream/request/ response and the processing of it can continue.
string error = 1;public LightningApi.InterceptFeedback.Builder setErrorBytes(com.google.protobuf.ByteString value)
The error to return to the user. If this is non-empty, the incoming gRPC stream/request is aborted and the error is returned to the gRPC client. If this value is empty, it means the middleware accepts the stream/request/ response and the processing of it can continue.
string error = 1;value - The bytes for error to set.public boolean getReplaceResponse()
A boolean indicating that the gRPC message should be replaced/overwritten. This boolean is needed because in protobuf an empty message is serialized as a 0-length or nil byte slice and we wouldn't be able to distinguish between an empty replacement message and the "don't replace anything" case.
bool replace_response = 2;getReplaceResponse in interface LightningApi.InterceptFeedbackOrBuilderpublic LightningApi.InterceptFeedback.Builder setReplaceResponse(boolean value)
A boolean indicating that the gRPC message should be replaced/overwritten. This boolean is needed because in protobuf an empty message is serialized as a 0-length or nil byte slice and we wouldn't be able to distinguish between an empty replacement message and the "don't replace anything" case.
bool replace_response = 2;value - The replaceResponse to set.public LightningApi.InterceptFeedback.Builder clearReplaceResponse()
A boolean indicating that the gRPC message should be replaced/overwritten. This boolean is needed because in protobuf an empty message is serialized as a 0-length or nil byte slice and we wouldn't be able to distinguish between an empty replacement message and the "don't replace anything" case.
bool replace_response = 2;public com.google.protobuf.ByteString getReplacementSerialized()
If the replace_response field is set to true, this field must contain the binary serialized gRPC message in the protobuf format.
bytes replacement_serialized = 3;getReplacementSerialized in interface LightningApi.InterceptFeedbackOrBuilderpublic LightningApi.InterceptFeedback.Builder setReplacementSerialized(com.google.protobuf.ByteString value)
If the replace_response field is set to true, this field must contain the binary serialized gRPC message in the protobuf format.
bytes replacement_serialized = 3;value - The replacementSerialized to set.public LightningApi.InterceptFeedback.Builder clearReplacementSerialized()
If the replace_response field is set to true, this field must contain the binary serialized gRPC message in the protobuf format.
bytes replacement_serialized = 3;public final LightningApi.InterceptFeedback.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.InterceptFeedback.Builder>public final LightningApi.InterceptFeedback.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.InterceptFeedback.Builder>