-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,livekit.LivekitModels.DataStream.ChunkOrBuilder
public final class LivekitModels.DataStream.Chunk.Builder extends GeneratedMessageLite.Builder<LivekitModels.DataStream.Chunk, LivekitModels.DataStream.Chunk.Builder> implements LivekitModels.DataStream.ChunkOrBuilder
Protobuf type
{@code livekit.DataStream.Chunk}
-
-
Method Summary
Modifier and Type Method Description StringgetStreamId()unique identifier for this data stream to map it to the correct headerstring stream_id = 1;ByteStringgetStreamIdBytes()unique identifier for this data stream to map it to the correct headerstring stream_id = 1;LivekitModels.DataStream.Chunk.BuildersetStreamId(String value)unique identifier for this data stream to map it to the correct headerstring stream_id = 1;LivekitModels.DataStream.Chunk.BuilderclearStreamId()unique identifier for this data stream to map it to the correct headerstring stream_id = 1;LivekitModels.DataStream.Chunk.BuildersetStreamIdBytes(ByteString value)unique identifier for this data stream to map it to the correct headerstring stream_id = 1;longgetChunkIndex()uint64 chunk_index = 2;LivekitModels.DataStream.Chunk.BuildersetChunkIndex(long value)uint64 chunk_index = 2;LivekitModels.DataStream.Chunk.BuilderclearChunkIndex()uint64 chunk_index = 2;ByteStringgetContent()content as binary (bytes)bytes content = 3;LivekitModels.DataStream.Chunk.BuildersetContent(ByteString value)content as binary (bytes)bytes content = 3;LivekitModels.DataStream.Chunk.BuilderclearContent()content as binary (bytes)bytes content = 3;intgetVersion()a version indicating that this chunk_index has been retroactively modified and the original one needs to be replacedint32 version = 4;LivekitModels.DataStream.Chunk.BuildersetVersion(int value)a version indicating that this chunk_index has been retroactively modified and the original one needs to be replacedint32 version = 4;LivekitModels.DataStream.Chunk.BuilderclearVersion()a version indicating that this chunk_index has been retroactively modified and the original one needs to be replacedint32 version = 4;booleanhasIv()this is set on the DataPacketoptional bytes iv = 5 [deprecated = true];ByteStringgetIv()this is set on the DataPacketoptional bytes iv = 5 [deprecated = true];LivekitModels.DataStream.Chunk.BuildersetIv(ByteString value)this is set on the DataPacketoptional bytes iv = 5 [deprecated = true];LivekitModels.DataStream.Chunk.BuilderclearIv()this is set on the DataPacketoptional bytes iv = 5 [deprecated = true];-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, getDefaultInstanceForType, isInitialized, mergeFrom -
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom -
Methods inherited from class com.google.protobuf.MessageLite.Builder
build, buildPartial, clear, clone, mergeFrom -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getStreamId
String getStreamId()
unique identifier for this data stream to map it to the correct headerstring stream_id = 1;
-
getStreamIdBytes
ByteString getStreamIdBytes()
unique identifier for this data stream to map it to the correct headerstring stream_id = 1;
-
setStreamId
LivekitModels.DataStream.Chunk.Builder setStreamId(String value)
unique identifier for this data stream to map it to the correct headerstring stream_id = 1;- Parameters:
value- The streamId to set.
-
clearStreamId
LivekitModels.DataStream.Chunk.Builder clearStreamId()
unique identifier for this data stream to map it to the correct headerstring stream_id = 1;
-
setStreamIdBytes
LivekitModels.DataStream.Chunk.Builder setStreamIdBytes(ByteString value)
unique identifier for this data stream to map it to the correct headerstring stream_id = 1;- Parameters:
value- The bytes for streamId to set.
-
getChunkIndex
long getChunkIndex()
uint64 chunk_index = 2;
-
setChunkIndex
LivekitModels.DataStream.Chunk.Builder setChunkIndex(long value)
uint64 chunk_index = 2;- Parameters:
value- The chunkIndex to set.
-
clearChunkIndex
LivekitModels.DataStream.Chunk.Builder clearChunkIndex()
uint64 chunk_index = 2;
-
getContent
ByteString getContent()
content as binary (bytes)bytes content = 3;
-
setContent
LivekitModels.DataStream.Chunk.Builder setContent(ByteString value)
content as binary (bytes)bytes content = 3;- Parameters:
value- The content to set.
-
clearContent
LivekitModels.DataStream.Chunk.Builder clearContent()
content as binary (bytes)bytes content = 3;
-
getVersion
int getVersion()
a version indicating that this chunk_index has been retroactively modified and the original one needs to be replacedint32 version = 4;
-
setVersion
LivekitModels.DataStream.Chunk.Builder setVersion(int value)
a version indicating that this chunk_index has been retroactively modified and the original one needs to be replacedint32 version = 4;- Parameters:
value- The version to set.
-
clearVersion
LivekitModels.DataStream.Chunk.Builder clearVersion()
a version indicating that this chunk_index has been retroactively modified and the original one needs to be replacedint32 version = 4;
-
hasIv
@Deprecated() boolean hasIv()
this is set on the DataPacketoptional bytes iv = 5 [deprecated = true];
-
getIv
@Deprecated() ByteString getIv()
this is set on the DataPacketoptional bytes iv = 5 [deprecated = true];
-
setIv
@Deprecated() LivekitModels.DataStream.Chunk.Builder setIv(ByteString value)
this is set on the DataPacketoptional bytes iv = 5 [deprecated = true];- Parameters:
value- The iv to set.
-
clearIv
@Deprecated() LivekitModels.DataStream.Chunk.Builder clearIv()
this is set on the DataPacketoptional bytes iv = 5 [deprecated = true];
-
-
-
-