public static interface LightningApi.CustomMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getData()
Raw message data
|
com.google.protobuf.ByteString |
getPeer()
Peer from which the message originates
|
int |
getType()
Message type.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
com.google.protobuf.ByteString getPeer()
Peer from which the message originates
bytes peer = 1;
int getType()
Message type. This value will be in the custom range (>= 32768).
uint32 type = 2;
com.google.protobuf.ByteString getData()
Raw message data
bytes data = 3;