-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,livekit.LivekitModels.DataTrackInfoOrBuilder
public final class LivekitModels.DataTrackInfo.Builder extends GeneratedMessageLite.Builder<LivekitModels.DataTrackInfo, LivekitModels.DataTrackInfo.Builder> implements LivekitModels.DataTrackInfoOrBuilder
Protobuf type
{@code livekit.DataTrackInfo}
-
-
Method Summary
Modifier and Type Method Description intgetPubHandle()Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.uint32 pub_handle = 1;LivekitModels.DataTrackInfo.BuildersetPubHandle(int value)Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.uint32 pub_handle = 1;LivekitModels.DataTrackInfo.BuilderclearPubHandle()Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.uint32 pub_handle = 1;StringgetSid()Server-assigned track identifier.string sid = 2;ByteStringgetSidBytes()Server-assigned track identifier.string sid = 2;LivekitModels.DataTrackInfo.BuildersetSid(String value)Server-assigned track identifier.string sid = 2;LivekitModels.DataTrackInfo.BuilderclearSid()Server-assigned track identifier.string sid = 2;LivekitModels.DataTrackInfo.BuildersetSidBytes(ByteString value)Server-assigned track identifier.string sid = 2;StringgetName()Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.string name = 3;ByteStringgetNameBytes()Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.string name = 3;LivekitModels.DataTrackInfo.BuildersetName(String value)Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.string name = 3;LivekitModels.DataTrackInfo.BuilderclearName()Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.string name = 3;LivekitModels.DataTrackInfo.BuildersetNameBytes(ByteString value)Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.string name = 3;intgetEncryptionValue()Method used for end-to-end encryption (E2EE) on packet payloads..livekit.Encryption.Type encryption = 4;LivekitModels.DataTrackInfo.BuildersetEncryptionValue(int value)Method used for end-to-end encryption (E2EE) on packet payloads..livekit.Encryption.Type encryption = 4;LivekitModels.Encryption.TypegetEncryption()Method used for end-to-end encryption (E2EE) on packet payloads..livekit.Encryption.Type encryption = 4;LivekitModels.DataTrackInfo.BuildersetEncryption(LivekitModels.Encryption.Type value)Method used for end-to-end encryption (E2EE) on packet payloads..livekit.Encryption.Type encryption = 4;LivekitModels.DataTrackInfo.BuilderclearEncryption()Method used for end-to-end encryption (E2EE) on packet payloads..livekit.Encryption.Type encryption = 4;-
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
-
getPubHandle
int getPubHandle()
Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.uint32 pub_handle = 1;
-
setPubHandle
LivekitModels.DataTrackInfo.Builder setPubHandle(int value)
Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.uint32 pub_handle = 1;- Parameters:
value- The pubHandle to set.
-
clearPubHandle
LivekitModels.DataTrackInfo.Builder clearPubHandle()
Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.uint32 pub_handle = 1;
-
getSidBytes
ByteString getSidBytes()
Server-assigned track identifier.string sid = 2;
-
setSid
LivekitModels.DataTrackInfo.Builder setSid(String value)
Server-assigned track identifier.string sid = 2;- Parameters:
value- The sid to set.
-
clearSid
LivekitModels.DataTrackInfo.Builder clearSid()
Server-assigned track identifier.string sid = 2;
-
setSidBytes
LivekitModels.DataTrackInfo.Builder setSidBytes(ByteString value)
Server-assigned track identifier.string sid = 2;- Parameters:
value- The bytes for sid to set.
-
getName
String getName()
Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.string name = 3;
-
getNameBytes
ByteString getNameBytes()
Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.string name = 3;
-
setName
LivekitModels.DataTrackInfo.Builder setName(String value)
Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.string name = 3;- Parameters:
value- The name to set.
-
clearName
LivekitModels.DataTrackInfo.Builder clearName()
Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.string name = 3;
-
setNameBytes
LivekitModels.DataTrackInfo.Builder setNameBytes(ByteString value)
Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.string name = 3;- Parameters:
value- The bytes for name to set.
-
getEncryptionValue
int getEncryptionValue()
Method used for end-to-end encryption (E2EE) on packet payloads..livekit.Encryption.Type encryption = 4;
-
setEncryptionValue
LivekitModels.DataTrackInfo.Builder setEncryptionValue(int value)
Method used for end-to-end encryption (E2EE) on packet payloads..livekit.Encryption.Type encryption = 4;- Parameters:
value- The encryption to set.
-
getEncryption
LivekitModels.Encryption.Type getEncryption()
Method used for end-to-end encryption (E2EE) on packet payloads..livekit.Encryption.Type encryption = 4;
-
setEncryption
LivekitModels.DataTrackInfo.Builder setEncryption(LivekitModels.Encryption.Type value)
Method used for end-to-end encryption (E2EE) on packet payloads..livekit.Encryption.Type encryption = 4;- Parameters:
value- The enum numeric value on the wire for encryption to set.
-
clearEncryption
LivekitModels.DataTrackInfo.Builder clearEncryption()
Method used for end-to-end encryption (E2EE) on packet payloads..livekit.Encryption.Type encryption = 4;
-
-
-
-