Interface Protocol.PublicationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Protocol.Publication
,Protocol.Publication.Builder
- Enclosing class:
- Protocol
public static interface Protocol.PublicationOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsTags(java.lang.String key)
map<string, string> tags = 7;
com.google.protobuf.ByteString
getData()
1-3 skipped here for backwards compatibility.Protocol.ClientInfo
getInfo()
.centrifugal.centrifuge.protocol.ClientInfo info = 5;
long
getOffset()
uint64 offset = 6;
java.util.Map<java.lang.String,java.lang.String>
getTags()
Deprecated.int
getTagsCount()
map<string, string> tags = 7;
java.util.Map<java.lang.String,java.lang.String>
getTagsMap()
map<string, string> tags = 7;
java.lang.String
getTagsOrDefault(java.lang.String key, java.lang.String defaultValue)
map<string, string> tags = 7;
java.lang.String
getTagsOrThrow(java.lang.String key)
map<string, string> tags = 7;
boolean
hasInfo()
.centrifugal.centrifuge.protocol.ClientInfo info = 5;
-
-
-
Method Detail
-
getData
com.google.protobuf.ByteString getData()
1-3 skipped here for backwards compatibility.
bytes data = 4;
- Returns:
- The data.
-
hasInfo
boolean hasInfo()
.centrifugal.centrifuge.protocol.ClientInfo info = 5;
- Returns:
- Whether the info field is set.
-
getInfo
Protocol.ClientInfo getInfo()
.centrifugal.centrifuge.protocol.ClientInfo info = 5;
- Returns:
- The info.
-
getOffset
long getOffset()
uint64 offset = 6;
- Returns:
- The offset.
-
getTagsCount
int getTagsCount()
map<string, string> tags = 7;
-
containsTags
boolean containsTags(java.lang.String key)
map<string, string> tags = 7;
-
getTags
@Deprecated java.util.Map<java.lang.String,java.lang.String> getTags()
Deprecated.UsegetTagsMap()
instead.
-
getTagsMap
java.util.Map<java.lang.String,java.lang.String> getTagsMap()
map<string, string> tags = 7;
-
getTagsOrDefault
java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String defaultValue)
map<string, string> tags = 7;
-
getTagsOrThrow
java.lang.String getTagsOrThrow(java.lang.String key)
map<string, string> tags = 7;
-
-