public static interface LightningApi.InterceptFeedbackOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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;
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;
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;
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;