-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,livekit.LivekitModels.DataStream.TextHeaderOrBuilder
public final class LivekitModels.DataStream.TextHeader.Builder extends GeneratedMessageLite.Builder<LivekitModels.DataStream.TextHeader, LivekitModels.DataStream.TextHeader.Builder> implements LivekitModels.DataStream.TextHeaderOrBuilder
Protobuf typeheader properties specific to text streams{@code livekit.DataStream.TextHeader}
-
-
Method Summary
Modifier and Type Method Description intgetOperationTypeValue().livekit.DataStream.OperationType operation_type = 1;LivekitModels.DataStream.TextHeader.BuildersetOperationTypeValue(int value).livekit.DataStream.OperationType operation_type = 1;LivekitModels.DataStream.OperationTypegetOperationType().livekit.DataStream.OperationType operation_type = 1;LivekitModels.DataStream.TextHeader.BuildersetOperationType(LivekitModels.DataStream.OperationType value).livekit.DataStream.OperationType operation_type = 1;LivekitModels.DataStream.TextHeader.BuilderclearOperationType().livekit.DataStream.OperationType operation_type = 1;intgetVersion()Optional: Version for updates/editsint32 version = 2;LivekitModels.DataStream.TextHeader.BuildersetVersion(int value)Optional: Version for updates/editsint32 version = 2;LivekitModels.DataStream.TextHeader.BuilderclearVersion()Optional: Version for updates/editsint32 version = 2;StringgetReplyToStreamId()Optional: Reply to specific messagestring reply_to_stream_id = 3;ByteStringgetReplyToStreamIdBytes()Optional: Reply to specific messagestring reply_to_stream_id = 3;LivekitModels.DataStream.TextHeader.BuildersetReplyToStreamId(String value)Optional: Reply to specific messagestring reply_to_stream_id = 3;LivekitModels.DataStream.TextHeader.BuilderclearReplyToStreamId()Optional: Reply to specific messagestring reply_to_stream_id = 3;LivekitModels.DataStream.TextHeader.BuildersetReplyToStreamIdBytes(ByteString value)Optional: Reply to specific messagestring reply_to_stream_id = 3;List<String>getAttachedStreamIdsList()file attachments for text streamsrepeated string attached_stream_ids = 4;intgetAttachedStreamIdsCount()file attachments for text streamsrepeated string attached_stream_ids = 4;StringgetAttachedStreamIds(int index)file attachments for text streamsrepeated string attached_stream_ids = 4;ByteStringgetAttachedStreamIdsBytes(int index)file attachments for text streamsrepeated string attached_stream_ids = 4;LivekitModels.DataStream.TextHeader.BuildersetAttachedStreamIds(int index, String value)file attachments for text streamsrepeated string attached_stream_ids = 4;LivekitModels.DataStream.TextHeader.BuilderaddAttachedStreamIds(String value)file attachments for text streamsrepeated string attached_stream_ids = 4;LivekitModels.DataStream.TextHeader.BuilderaddAllAttachedStreamIds(Iterable<String> values)file attachments for text streamsrepeated string attached_stream_ids = 4;LivekitModels.DataStream.TextHeader.BuilderclearAttachedStreamIds()file attachments for text streamsrepeated string attached_stream_ids = 4;LivekitModels.DataStream.TextHeader.BuilderaddAttachedStreamIdsBytes(ByteString value)file attachments for text streamsrepeated string attached_stream_ids = 4;booleangetGenerated()true if the text has been generated by an agent from a participant's audio transcriptionbool generated = 5;LivekitModels.DataStream.TextHeader.BuildersetGenerated(boolean value)true if the text has been generated by an agent from a participant's audio transcriptionbool generated = 5;LivekitModels.DataStream.TextHeader.BuilderclearGenerated()true if the text has been generated by an agent from a participant's audio transcriptionbool generated = 5;-
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
-
getOperationTypeValue
int getOperationTypeValue()
.livekit.DataStream.OperationType operation_type = 1;
-
setOperationTypeValue
LivekitModels.DataStream.TextHeader.Builder setOperationTypeValue(int value)
.livekit.DataStream.OperationType operation_type = 1;- Parameters:
value- The operationType to set.
-
getOperationType
LivekitModels.DataStream.OperationType getOperationType()
.livekit.DataStream.OperationType operation_type = 1;
-
setOperationType
LivekitModels.DataStream.TextHeader.Builder setOperationType(LivekitModels.DataStream.OperationType value)
.livekit.DataStream.OperationType operation_type = 1;- Parameters:
value- The enum numeric value on the wire for operationType to set.
-
clearOperationType
LivekitModels.DataStream.TextHeader.Builder clearOperationType()
.livekit.DataStream.OperationType operation_type = 1;
-
getVersion
int getVersion()
Optional: Version for updates/editsint32 version = 2;
-
setVersion
LivekitModels.DataStream.TextHeader.Builder setVersion(int value)
Optional: Version for updates/editsint32 version = 2;- Parameters:
value- The version to set.
-
clearVersion
LivekitModels.DataStream.TextHeader.Builder clearVersion()
Optional: Version for updates/editsint32 version = 2;
-
getReplyToStreamId
String getReplyToStreamId()
Optional: Reply to specific messagestring reply_to_stream_id = 3;
-
getReplyToStreamIdBytes
ByteString getReplyToStreamIdBytes()
Optional: Reply to specific messagestring reply_to_stream_id = 3;
-
setReplyToStreamId
LivekitModels.DataStream.TextHeader.Builder setReplyToStreamId(String value)
Optional: Reply to specific messagestring reply_to_stream_id = 3;- Parameters:
value- The replyToStreamId to set.
-
clearReplyToStreamId
LivekitModels.DataStream.TextHeader.Builder clearReplyToStreamId()
Optional: Reply to specific messagestring reply_to_stream_id = 3;
-
setReplyToStreamIdBytes
LivekitModels.DataStream.TextHeader.Builder setReplyToStreamIdBytes(ByteString value)
Optional: Reply to specific messagestring reply_to_stream_id = 3;- Parameters:
value- The bytes for replyToStreamId to set.
-
getAttachedStreamIdsList
List<String> getAttachedStreamIdsList()
file attachments for text streamsrepeated string attached_stream_ids = 4;
-
getAttachedStreamIdsCount
int getAttachedStreamIdsCount()
file attachments for text streamsrepeated string attached_stream_ids = 4;
-
getAttachedStreamIds
String getAttachedStreamIds(int index)
file attachments for text streamsrepeated string attached_stream_ids = 4;- Parameters:
index- The index of the element to return.
-
getAttachedStreamIdsBytes
ByteString getAttachedStreamIdsBytes(int index)
file attachments for text streamsrepeated string attached_stream_ids = 4;- Parameters:
index- The index of the value to return.
-
setAttachedStreamIds
LivekitModels.DataStream.TextHeader.Builder setAttachedStreamIds(int index, String value)
file attachments for text streamsrepeated string attached_stream_ids = 4;- Parameters:
index- The index to set the value at.value- The attachedStreamIds to set.
-
addAttachedStreamIds
LivekitModels.DataStream.TextHeader.Builder addAttachedStreamIds(String value)
file attachments for text streamsrepeated string attached_stream_ids = 4;- Parameters:
value- The attachedStreamIds to add.
-
addAllAttachedStreamIds
LivekitModels.DataStream.TextHeader.Builder addAllAttachedStreamIds(Iterable<String> values)
file attachments for text streamsrepeated string attached_stream_ids = 4;- Parameters:
values- The attachedStreamIds to add.
-
clearAttachedStreamIds
LivekitModels.DataStream.TextHeader.Builder clearAttachedStreamIds()
file attachments for text streamsrepeated string attached_stream_ids = 4;
-
addAttachedStreamIdsBytes
LivekitModels.DataStream.TextHeader.Builder addAttachedStreamIdsBytes(ByteString value)
file attachments for text streamsrepeated string attached_stream_ids = 4;- Parameters:
value- The bytes of the attachedStreamIds to add.
-
getGenerated
boolean getGenerated()
true if the text has been generated by an agent from a participant's audio transcriptionbool generated = 5;
-
setGenerated
LivekitModels.DataStream.TextHeader.Builder setGenerated(boolean value)
true if the text has been generated by an agent from a participant's audio transcriptionbool generated = 5;- Parameters:
value- The generated to set.
-
clearGenerated
LivekitModels.DataStream.TextHeader.Builder clearGenerated()
true if the text has been generated by an agent from a participant's audio transcriptionbool generated = 5;
-
-
-
-