-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,livekit.LivekitModels.DataStream.TrailerOrBuilder
public final class LivekitModels.DataStream.Trailer.Builder extends GeneratedMessageLite.Builder<LivekitModels.DataStream.Trailer, LivekitModels.DataStream.Trailer.Builder> implements LivekitModels.DataStream.TrailerOrBuilder
Protobuf type
{@code livekit.DataStream.Trailer}
-
-
Method Summary
Modifier and Type Method Description StringgetStreamId()unique identifier for this data streamstring stream_id = 1;ByteStringgetStreamIdBytes()unique identifier for this data streamstring stream_id = 1;LivekitModels.DataStream.Trailer.BuildersetStreamId(String value)unique identifier for this data streamstring stream_id = 1;LivekitModels.DataStream.Trailer.BuilderclearStreamId()unique identifier for this data streamstring stream_id = 1;LivekitModels.DataStream.Trailer.BuildersetStreamIdBytes(ByteString value)unique identifier for this data streamstring stream_id = 1;StringgetReason()reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)string reason = 2;ByteStringgetReasonBytes()reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)string reason = 2;LivekitModels.DataStream.Trailer.BuildersetReason(String value)reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)string reason = 2;LivekitModels.DataStream.Trailer.BuilderclearReason()reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)string reason = 2;LivekitModels.DataStream.Trailer.BuildersetReasonBytes(ByteString value)reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)string reason = 2;intgetAttributesCount()finalizing updates for the stream, can also include additional insights for errors or endTime for transcriptionmap<string, string> attributes = 3;booleancontainsAttributes(String key)finalizing updates for the stream, can also include additional insights for errors or endTime for transcriptionmap<string, string> attributes = 3;LivekitModels.DataStream.Trailer.BuilderclearAttributes()LivekitModels.DataStream.Trailer.BuilderremoveAttributes(String key)finalizing updates for the stream, can also include additional insights for errors or endTime for transcriptionmap<string, string> attributes = 3;Map<String, String>getAttributes()Use getAttributesMap instead. Map<String, String>getAttributesMap()finalizing updates for the stream, can also include additional insights for errors or endTime for transcriptionmap<string, string> attributes = 3;StringgetAttributesOrDefault(String key, String defaultValue)finalizing updates for the stream, can also include additional insights for errors or endTime for transcriptionmap<string, string> attributes = 3;StringgetAttributesOrThrow(String key)finalizing updates for the stream, can also include additional insights for errors or endTime for transcriptionmap<string, string> attributes = 3;LivekitModels.DataStream.Trailer.BuilderputAttributes(String key, String value)finalizing updates for the stream, can also include additional insights for errors or endTime for transcriptionmap<string, string> attributes = 3;LivekitModels.DataStream.Trailer.BuilderputAllAttributes(Map<String, String> values)finalizing updates for the stream, can also include additional insights for errors or endTime for transcriptionmap<string, string> attributes = 3;-
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 livekit.LivekitModels.DataStream.TrailerOrBuilder
containsAttributes, getAttributesOrDefault, getAttributesOrThrow -
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 streamstring stream_id = 1;
-
getStreamIdBytes
ByteString getStreamIdBytes()
unique identifier for this data streamstring stream_id = 1;
-
setStreamId
LivekitModels.DataStream.Trailer.Builder setStreamId(String value)
unique identifier for this data streamstring stream_id = 1;- Parameters:
value- The streamId to set.
-
clearStreamId
LivekitModels.DataStream.Trailer.Builder clearStreamId()
unique identifier for this data streamstring stream_id = 1;
-
setStreamIdBytes
LivekitModels.DataStream.Trailer.Builder setStreamIdBytes(ByteString value)
unique identifier for this data streamstring stream_id = 1;- Parameters:
value- The bytes for streamId to set.
-
getReason
String getReason()
reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)string reason = 2;
-
getReasonBytes
ByteString getReasonBytes()
reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)string reason = 2;
-
setReason
LivekitModels.DataStream.Trailer.Builder setReason(String value)
reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)string reason = 2;- Parameters:
value- The reason to set.
-
clearReason
LivekitModels.DataStream.Trailer.Builder clearReason()
reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)string reason = 2;
-
setReasonBytes
LivekitModels.DataStream.Trailer.Builder setReasonBytes(ByteString value)
reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)string reason = 2;- Parameters:
value- The bytes for reason to set.
-
getAttributesCount
int getAttributesCount()
finalizing updates for the stream, can also include additional insights for errors or endTime for transcriptionmap<string, string> attributes = 3;
-
containsAttributes
boolean containsAttributes(String key)
finalizing updates for the stream, can also include additional insights for errors or endTime for transcriptionmap<string, string> attributes = 3;
-
clearAttributes
LivekitModels.DataStream.Trailer.Builder clearAttributes()
-
removeAttributes
LivekitModels.DataStream.Trailer.Builder removeAttributes(String key)
finalizing updates for the stream, can also include additional insights for errors or endTime for transcriptionmap<string, string> attributes = 3;
-
getAttributes
@Deprecated() Map<String, String> getAttributes()
Use getAttributesMap instead.
-
getAttributesMap
Map<String, String> getAttributesMap()
finalizing updates for the stream, can also include additional insights for errors or endTime for transcriptionmap<string, string> attributes = 3;
-
getAttributesOrDefault
String getAttributesOrDefault(String key, String defaultValue)
finalizing updates for the stream, can also include additional insights for errors or endTime for transcriptionmap<string, string> attributes = 3;
-
getAttributesOrThrow
String getAttributesOrThrow(String key)
finalizing updates for the stream, can also include additional insights for errors or endTime for transcriptionmap<string, string> attributes = 3;
-
putAttributes
LivekitModels.DataStream.Trailer.Builder putAttributes(String key, String value)
finalizing updates for the stream, can also include additional insights for errors or endTime for transcriptionmap<string, string> attributes = 3;
-
putAllAttributes
LivekitModels.DataStream.Trailer.Builder putAllAttributes(Map<String, String> values)
finalizing updates for the stream, can also include additional insights for errors or endTime for transcriptionmap<string, string> attributes = 3;
-
-
-
-