-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,livekit.LivekitRtc.PublishDataTrackRequestOrBuilder
public final class LivekitRtc.PublishDataTrackRequest.Builder extends GeneratedMessageLite.Builder<LivekitRtc.PublishDataTrackRequest, LivekitRtc.PublishDataTrackRequest.Builder> implements LivekitRtc.PublishDataTrackRequestOrBuilder
Protobuf type
{@code livekit.PublishDataTrackRequest}
-
-
Method Summary
Modifier and Type Method Description intgetPubHandle()Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher. This must be non-zero and unique for each data track published by the publisher.uint32 pub_handle = 1;LivekitRtc.PublishDataTrackRequest.BuildersetPubHandle(int value)Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher. This must be non-zero and unique for each data track published by the publisher.uint32 pub_handle = 1;LivekitRtc.PublishDataTrackRequest.BuilderclearPubHandle()Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher. This must be non-zero and unique for each data track published by the publisher.uint32 pub_handle = 1;StringgetName()Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher. This must be non-empty and no longer than 256 characters.string name = 2;ByteStringgetNameBytes()Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher. This must be non-empty and no longer than 256 characters.string name = 2;LivekitRtc.PublishDataTrackRequest.BuildersetName(String value)Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher. This must be non-empty and no longer than 256 characters.string name = 2;LivekitRtc.PublishDataTrackRequest.BuilderclearName()Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher. This must be non-empty and no longer than 256 characters.string name = 2;LivekitRtc.PublishDataTrackRequest.BuildersetNameBytes(ByteString value)Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher. This must be non-empty and no longer than 256 characters.string name = 2;intgetEncryptionValue()Method used for end-to-end encryption (E2EE) on frame payloads..livekit.Encryption.Type encryption = 3;LivekitRtc.PublishDataTrackRequest.BuildersetEncryptionValue(int value)Method used for end-to-end encryption (E2EE) on frame payloads..livekit.Encryption.Type encryption = 3;LivekitModels.Encryption.TypegetEncryption()Method used for end-to-end encryption (E2EE) on frame payloads..livekit.Encryption.Type encryption = 3;LivekitRtc.PublishDataTrackRequest.BuildersetEncryption(LivekitModels.Encryption.Type value)Method used for end-to-end encryption (E2EE) on frame payloads..livekit.Encryption.Type encryption = 3;LivekitRtc.PublishDataTrackRequest.BuilderclearEncryption()Method used for end-to-end encryption (E2EE) on frame payloads..livekit.Encryption.Type encryption = 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 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. This must be non-zero and unique for each data track published by the publisher.uint32 pub_handle = 1;
-
setPubHandle
LivekitRtc.PublishDataTrackRequest.Builder setPubHandle(int value)
Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher. This must be non-zero and unique for each data track published by the publisher.uint32 pub_handle = 1;- Parameters:
value- The pubHandle to set.
-
clearPubHandle
LivekitRtc.PublishDataTrackRequest.Builder clearPubHandle()
Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher. This must be non-zero and unique for each data track published by the publisher.uint32 pub_handle = 1;
-
getName
String getName()
Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher. This must be non-empty and no longer than 256 characters.string name = 2;
-
getNameBytes
ByteString getNameBytes()
Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher. This must be non-empty and no longer than 256 characters.string name = 2;
-
setName
LivekitRtc.PublishDataTrackRequest.Builder setName(String value)
Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher. This must be non-empty and no longer than 256 characters.string name = 2;- Parameters:
value- The name to set.
-
clearName
LivekitRtc.PublishDataTrackRequest.Builder clearName()
Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher. This must be non-empty and no longer than 256 characters.string name = 2;
-
setNameBytes
LivekitRtc.PublishDataTrackRequest.Builder setNameBytes(ByteString value)
Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher. This must be non-empty and no longer than 256 characters.string name = 2;- Parameters:
value- The bytes for name to set.
-
getEncryptionValue
int getEncryptionValue()
Method used for end-to-end encryption (E2EE) on frame payloads..livekit.Encryption.Type encryption = 3;
-
setEncryptionValue
LivekitRtc.PublishDataTrackRequest.Builder setEncryptionValue(int value)
Method used for end-to-end encryption (E2EE) on frame payloads..livekit.Encryption.Type encryption = 3;- Parameters:
value- The encryption to set.
-
getEncryption
LivekitModels.Encryption.Type getEncryption()
Method used for end-to-end encryption (E2EE) on frame payloads..livekit.Encryption.Type encryption = 3;
-
setEncryption
LivekitRtc.PublishDataTrackRequest.Builder setEncryption(LivekitModels.Encryption.Type value)
Method used for end-to-end encryption (E2EE) on frame payloads..livekit.Encryption.Type encryption = 3;- Parameters:
value- The enum numeric value on the wire for encryption to set.
-
clearEncryption
LivekitRtc.PublishDataTrackRequest.Builder clearEncryption()
Method used for end-to-end encryption (E2EE) on frame payloads..livekit.Encryption.Type encryption = 3;
-
-
-
-