Package com.heroiclabs.nakama.rtapi
Interface StreamOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Stream
,Stream.Builder
public interface StreamOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
The label is an arbitrary identifying string, if the stream has one.com.google.protobuf.ByteString
The label is an arbitrary identifying string, if the stream has one.int
getMode()
Mode identifies the type of stream.Subcontext is a secondary identifier, if any.com.google.protobuf.ByteString
Subcontext is a secondary identifier, if any.Subject is the primary identifier, if any.com.google.protobuf.ByteString
Subject is the primary identifier, if any.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
-
getMode
int getMode()Mode identifies the type of stream.
int32 mode = 1;
- Returns:
- The mode.
-
getSubject
String getSubject()Subject is the primary identifier, if any.
string subject = 2;
- Returns:
- The subject.
-
getSubjectBytes
com.google.protobuf.ByteString getSubjectBytes()Subject is the primary identifier, if any.
string subject = 2;
- Returns:
- The bytes for subject.
-
getSubcontext
String getSubcontext()Subcontext is a secondary identifier, if any.
string subcontext = 3;
- Returns:
- The subcontext.
-
getSubcontextBytes
com.google.protobuf.ByteString getSubcontextBytes()Subcontext is a secondary identifier, if any.
string subcontext = 3;
- Returns:
- The bytes for subcontext.
-
getLabel
String getLabel()The label is an arbitrary identifying string, if the stream has one.
string label = 4;
- Returns:
- The label.
-
getLabelBytes
com.google.protobuf.ByteString getLabelBytes()The label is an arbitrary identifying string, if the stream has one.
string label = 4;
- Returns:
- The bytes for label.
-