-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLiteOrBuilder
public interface LivekitModels.DataStream.HeaderOrBuilder implements MessageLiteOrBuilder
-
-
Method Summary
Modifier and Type Method Description abstract StringgetStreamId()unique identifier for this data streamstring stream_id = 1;abstract ByteStringgetStreamIdBytes()unique identifier for this data streamstring stream_id = 1;abstract longgetTimestamp()using int64 for Unix timestampint64 timestamp = 2;abstract StringgetTopic()string topic = 3;abstract ByteStringgetTopicBytes()string topic = 3;abstract StringgetMimeType()string mime_type = 4;abstract ByteStringgetMimeTypeBytes()string mime_type = 4;abstract booleanhasTotalLength()only populated for finite streams, if it's a stream of unknown size this stays emptyoptional uint64 total_length = 5;abstract longgetTotalLength()only populated for finite streams, if it's a stream of unknown size this stays emptyoptional uint64 total_length = 5;abstract intgetEncryptionTypeValue()this is set on the DataPacket.livekit.Encryption.Type encryption_type = 7 [deprecated = true];abstract LivekitModels.Encryption.TypegetEncryptionType()this is set on the DataPacket.livekit.Encryption.Type encryption_type = 7 [deprecated = true];abstract intgetAttributesCount()user defined attributes map that can carry additional infomap<string, string> attributes = 8;abstract booleancontainsAttributes(String key)user defined attributes map that can carry additional infomap<string, string> attributes = 8;abstract Map<String, String>getAttributes()Use getAttributesMap instead. abstract Map<String, String>getAttributesMap()user defined attributes map that can carry additional infomap<string, string> attributes = 8;abstract StringgetAttributesOrDefault(String key, String defaultValue)user defined attributes map that can carry additional infomap<string, string> attributes = 8;abstract StringgetAttributesOrThrow(String key)user defined attributes map that can carry additional infomap<string, string> attributes = 8;abstract booleanhasTextHeader().livekit.DataStream.TextHeader text_header = 9;abstract LivekitModels.DataStream.TextHeadergetTextHeader().livekit.DataStream.TextHeader text_header = 9;abstract booleanhasByteHeader().livekit.DataStream.ByteHeader byte_header = 10;abstract LivekitModels.DataStream.ByteHeadergetByteHeader().livekit.DataStream.ByteHeader byte_header = 10;abstract LivekitModels.DataStream.Header.ContentHeaderCasegetContentHeaderCase()-
-
Method Detail
-
getStreamId
abstract String getStreamId()
unique identifier for this data streamstring stream_id = 1;
-
getStreamIdBytes
abstract ByteString getStreamIdBytes()
unique identifier for this data streamstring stream_id = 1;
-
getTimestamp
abstract long getTimestamp()
using int64 for Unix timestampint64 timestamp = 2;
-
getTopicBytes
abstract ByteString getTopicBytes()
string topic = 3;
-
getMimeType
abstract String getMimeType()
string mime_type = 4;
-
getMimeTypeBytes
abstract ByteString getMimeTypeBytes()
string mime_type = 4;
-
hasTotalLength
abstract boolean hasTotalLength()
only populated for finite streams, if it's a stream of unknown size this stays emptyoptional uint64 total_length = 5;
-
getTotalLength
abstract long getTotalLength()
only populated for finite streams, if it's a stream of unknown size this stays emptyoptional uint64 total_length = 5;
-
getEncryptionTypeValue
@Deprecated() abstract int getEncryptionTypeValue()
this is set on the DataPacket.livekit.Encryption.Type encryption_type = 7 [deprecated = true];
-
getEncryptionType
@Deprecated() abstract LivekitModels.Encryption.Type getEncryptionType()
this is set on the DataPacket.livekit.Encryption.Type encryption_type = 7 [deprecated = true];
-
getAttributesCount
abstract int getAttributesCount()
user defined attributes map that can carry additional infomap<string, string> attributes = 8;
-
containsAttributes
abstract boolean containsAttributes(String key)
user defined attributes map that can carry additional infomap<string, string> attributes = 8;
-
getAttributes
@Deprecated() abstract Map<String, String> getAttributes()
Use getAttributesMap instead.
-
getAttributesMap
abstract Map<String, String> getAttributesMap()
user defined attributes map that can carry additional infomap<string, string> attributes = 8;
-
getAttributesOrDefault
abstract String getAttributesOrDefault(String key, String defaultValue)
user defined attributes map that can carry additional infomap<string, string> attributes = 8;
-
getAttributesOrThrow
abstract String getAttributesOrThrow(String key)
user defined attributes map that can carry additional infomap<string, string> attributes = 8;
-
hasTextHeader
abstract boolean hasTextHeader()
.livekit.DataStream.TextHeader text_header = 9;
-
getTextHeader
abstract LivekitModels.DataStream.TextHeader getTextHeader()
.livekit.DataStream.TextHeader text_header = 9;
-
hasByteHeader
abstract boolean hasByteHeader()
.livekit.DataStream.ByteHeader byte_header = 10;
-
getByteHeader
abstract LivekitModels.DataStream.ByteHeader getByteHeader()
.livekit.DataStream.ByteHeader byte_header = 10;
-
getContentHeaderCase
abstract LivekitModels.DataStream.Header.ContentHeaderCase getContentHeaderCase()
-
-
-
-