public static interface LightningApi.RPCMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getIsError()
Indicates that the response from lnd was an error, not a gRPC response.
|
java.lang.String |
getMethodFullUri()
The full URI (in the format /<rpcpackage>.<ServiceName>/MethodName, for
example /lnrpc.Lightning/GetInfo) of the RPC method the message was sent
to/from.
|
com.google.protobuf.ByteString |
getMethodFullUriBytes()
The full URI (in the format /<rpcpackage>.<ServiceName>/MethodName, for
example /lnrpc.Lightning/GetInfo) of the RPC method the message was sent
to/from.
|
com.google.protobuf.ByteString |
getSerialized()
The full content of the gRPC message, serialized in the binary protobuf
format.
|
boolean |
getStreamRpc()
Indicates whether the message was sent over a streaming RPC method or not.
|
java.lang.String |
getTypeName()
The full canonical gRPC name of the message type (in the format
<rpcpackage>.TypeName, for example lnrpc.GetInfoRequest).
|
com.google.protobuf.ByteString |
getTypeNameBytes()
The full canonical gRPC name of the message type (in the format
<rpcpackage>.TypeName, for example lnrpc.GetInfoRequest).
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.lang.String getMethodFullUri()
The full URI (in the format /<rpcpackage>.<ServiceName>/MethodName, for example /lnrpc.Lightning/GetInfo) of the RPC method the message was sent to/from.
string method_full_uri = 1;com.google.protobuf.ByteString getMethodFullUriBytes()
The full URI (in the format /<rpcpackage>.<ServiceName>/MethodName, for example /lnrpc.Lightning/GetInfo) of the RPC method the message was sent to/from.
string method_full_uri = 1;boolean getStreamRpc()
Indicates whether the message was sent over a streaming RPC method or not.
bool stream_rpc = 2;java.lang.String getTypeName()
The full canonical gRPC name of the message type (in the format <rpcpackage>.TypeName, for example lnrpc.GetInfoRequest). In case of an error being returned from lnd, this simply contains the string "error".
string type_name = 3;com.google.protobuf.ByteString getTypeNameBytes()
The full canonical gRPC name of the message type (in the format <rpcpackage>.TypeName, for example lnrpc.GetInfoRequest). In case of an error being returned from lnd, this simply contains the string "error".
string type_name = 3;com.google.protobuf.ByteString getSerialized()
The full content of the gRPC message, serialized in the binary protobuf format.
bytes serialized = 4;boolean getIsError()
Indicates that the response from lnd was an error, not a gRPC response. If this is set to true then the type_name contains the string "error" and serialized contains the error string.
bool is_error = 5;