Package org.yamcs.protobuf
Interface ServerMessageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServerMessage
,ServerMessage.Builder
public interface ServerMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionint
getCall()
If applicable, the call associated with this messagecom.google.protobuf.Any
getData()
.google.protobuf.Any data = 4;
com.google.protobuf.AnyOrBuilder
.google.protobuf.Any data = 4;
int
getSeq()
Sequence counter (scoped to the call)getType()
Message type.com.google.protobuf.ByteString
Message type.boolean
hasData()
.google.protobuf.Any data = 4;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getType
String getType()Message type. Typically the name of the subscribed topic, or a built-in like "reply".
string type = 1;
- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Message type. Typically the name of the subscribed topic, or a built-in like "reply".
string type = 1;
- Returns:
- The bytes for type.
-
getCall
int getCall()If applicable, the call associated with this message
int32 call = 2;
- Returns:
- The call.
-
getSeq
int getSeq()Sequence counter (scoped to the call)
int32 seq = 3;
- Returns:
- The seq.
-
hasData
boolean hasData().google.protobuf.Any data = 4;
- Returns:
- Whether the data field is set.
-
getData
com.google.protobuf.Any getData().google.protobuf.Any data = 4;
- Returns:
- The data.
-
getDataOrBuilder
com.google.protobuf.AnyOrBuilder getDataOrBuilder().google.protobuf.Any data = 4;
-