public static interface LightningApi.RPCMiddlewareResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
LightningApi.InterceptFeedback |
getFeedback()
The middleware received an interception request and gives feedback to
it.
|
LightningApi.InterceptFeedbackOrBuilder |
getFeedbackOrBuilder()
The middleware received an interception request and gives feedback to
it.
|
LightningApi.RPCMiddlewareResponse.MiddlewareMessageCase |
getMiddlewareMessageCase() |
long |
getRefMsgId()
The request message ID this response refers to.
|
LightningApi.MiddlewareRegistration |
getRegister()
The registration message identifies the middleware that's being
registered in lnd.
|
LightningApi.MiddlewareRegistrationOrBuilder |
getRegisterOrBuilder()
The registration message identifies the middleware that's being
registered in lnd.
|
boolean |
hasFeedback()
The middleware received an interception request and gives feedback to
it.
|
boolean |
hasRegister()
The registration message identifies the middleware that's being
registered in lnd.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getRefMsgId()
The request message ID this response refers to. Must always be set when giving feedback to an intercept but is ignored for the initial registration message.
uint64 ref_msg_id = 1;
boolean hasRegister()
The registration message identifies the middleware that's being registered in lnd. The registration message must be sent immediately after initiating the RegisterRpcMiddleware stream, otherwise lnd will time out the attempt and terminate the request. NOTE: The middleware will only receive interception messages for requests that contain a macaroon with the custom caveat that the middleware declares it is responsible for handling in the registration message! As a security measure, _no_ middleware can intercept requests made with _unencumbered_ macaroons!
.lnrpc.MiddlewareRegistration register = 2;
LightningApi.MiddlewareRegistration getRegister()
The registration message identifies the middleware that's being registered in lnd. The registration message must be sent immediately after initiating the RegisterRpcMiddleware stream, otherwise lnd will time out the attempt and terminate the request. NOTE: The middleware will only receive interception messages for requests that contain a macaroon with the custom caveat that the middleware declares it is responsible for handling in the registration message! As a security measure, _no_ middleware can intercept requests made with _unencumbered_ macaroons!
.lnrpc.MiddlewareRegistration register = 2;
LightningApi.MiddlewareRegistrationOrBuilder getRegisterOrBuilder()
The registration message identifies the middleware that's being registered in lnd. The registration message must be sent immediately after initiating the RegisterRpcMiddleware stream, otherwise lnd will time out the attempt and terminate the request. NOTE: The middleware will only receive interception messages for requests that contain a macaroon with the custom caveat that the middleware declares it is responsible for handling in the registration message! As a security measure, _no_ middleware can intercept requests made with _unencumbered_ macaroons!
.lnrpc.MiddlewareRegistration register = 2;
boolean hasFeedback()
The middleware received an interception request and gives feedback to it. The request_id indicates what message the feedback refers to.
.lnrpc.InterceptFeedback feedback = 3;
LightningApi.InterceptFeedback getFeedback()
The middleware received an interception request and gives feedback to it. The request_id indicates what message the feedback refers to.
.lnrpc.InterceptFeedback feedback = 3;
LightningApi.InterceptFeedbackOrBuilder getFeedbackOrBuilder()
The middleware received an interception request and gives feedback to it. The request_id indicates what message the feedback refers to.
.lnrpc.InterceptFeedback feedback = 3;
LightningApi.RPCMiddlewareResponse.MiddlewareMessageCase getMiddlewareMessageCase()