-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,livekit.LivekitModels.ParticipantPermissionOrBuilder
public final class LivekitModels.ParticipantPermission.Builder extends GeneratedMessageLite.Builder<LivekitModels.ParticipantPermission, LivekitModels.ParticipantPermission.Builder> implements LivekitModels.ParticipantPermissionOrBuilder
Protobuf type
{@code livekit.ParticipantPermission}
-
-
Method Summary
Modifier and Type Method Description booleangetCanSubscribe()allow participant to subscribe to other tracks in the roombool can_subscribe = 1;LivekitModels.ParticipantPermission.BuildersetCanSubscribe(boolean value)allow participant to subscribe to other tracks in the roombool can_subscribe = 1;LivekitModels.ParticipantPermission.BuilderclearCanSubscribe()allow participant to subscribe to other tracks in the roombool can_subscribe = 1;booleangetCanPublish()allow participant to publish new tracks to roombool can_publish = 2;LivekitModels.ParticipantPermission.BuildersetCanPublish(boolean value)allow participant to publish new tracks to roombool can_publish = 2;LivekitModels.ParticipantPermission.BuilderclearCanPublish()allow participant to publish new tracks to roombool can_publish = 2;booleangetCanPublishData()allow participant to publish databool can_publish_data = 3;LivekitModels.ParticipantPermission.BuildersetCanPublishData(boolean value)allow participant to publish databool can_publish_data = 3;LivekitModels.ParticipantPermission.BuilderclearCanPublishData()allow participant to publish databool can_publish_data = 3;List<LivekitModels.TrackSource>getCanPublishSourcesList()sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;intgetCanPublishSourcesCount()sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;LivekitModels.TrackSourcegetCanPublishSources(int index)sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;LivekitModels.ParticipantPermission.BuildersetCanPublishSources(int index, LivekitModels.TrackSource value)sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;LivekitModels.ParticipantPermission.BuilderaddCanPublishSources(LivekitModels.TrackSource value)sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;LivekitModels.ParticipantPermission.BuilderaddAllCanPublishSources(Iterable<out LivekitModels.TrackSource> values)sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;LivekitModels.ParticipantPermission.BuilderclearCanPublishSources()sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;List<Integer>getCanPublishSourcesValueList()sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;intgetCanPublishSourcesValue(int index)sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;LivekitModels.ParticipantPermission.BuildersetCanPublishSourcesValue(int index, int value)sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;LivekitModels.ParticipantPermission.BuilderaddCanPublishSourcesValue(int value)sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;LivekitModels.ParticipantPermission.BuilderaddAllCanPublishSourcesValue(Iterable<Integer> values)sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;booleangetHidden()indicates that it's hidden to othersbool hidden = 7;LivekitModels.ParticipantPermission.BuildersetHidden(boolean value)indicates that it's hidden to othersbool hidden = 7;LivekitModels.ParticipantPermission.BuilderclearHidden()indicates that it's hidden to othersbool hidden = 7;booleangetRecorder()indicates it's a recorder instance deprecated: use ParticipantInfo.kind insteadbool recorder = 8 [deprecated = true];LivekitModels.ParticipantPermission.BuildersetRecorder(boolean value)indicates it's a recorder instance deprecated: use ParticipantInfo.kind insteadbool recorder = 8 [deprecated = true];LivekitModels.ParticipantPermission.BuilderclearRecorder()indicates it's a recorder instance deprecated: use ParticipantInfo.kind insteadbool recorder = 8 [deprecated = true];booleangetCanUpdateMetadata()indicates that participant can update own metadata and attributesbool can_update_metadata = 10;LivekitModels.ParticipantPermission.BuildersetCanUpdateMetadata(boolean value)indicates that participant can update own metadata and attributesbool can_update_metadata = 10;LivekitModels.ParticipantPermission.BuilderclearCanUpdateMetadata()indicates that participant can update own metadata and attributesbool can_update_metadata = 10;booleangetAgent()indicates that participant is an agent deprecated: use ParticipantInfo.kind insteadbool agent = 11 [deprecated = true];LivekitModels.ParticipantPermission.BuildersetAgent(boolean value)indicates that participant is an agent deprecated: use ParticipantInfo.kind insteadbool agent = 11 [deprecated = true];LivekitModels.ParticipantPermission.BuilderclearAgent()indicates that participant is an agent deprecated: use ParticipantInfo.kind insteadbool agent = 11 [deprecated = true];booleangetCanSubscribeMetrics()if a participant can subscribe to metricsbool can_subscribe_metrics = 12;LivekitModels.ParticipantPermission.BuildersetCanSubscribeMetrics(boolean value)if a participant can subscribe to metricsbool can_subscribe_metrics = 12;LivekitModels.ParticipantPermission.BuilderclearCanSubscribeMetrics()if a participant can subscribe to metricsbool can_subscribe_metrics = 12;-
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
-
getCanSubscribe
boolean getCanSubscribe()
allow participant to subscribe to other tracks in the roombool can_subscribe = 1;
-
setCanSubscribe
LivekitModels.ParticipantPermission.Builder setCanSubscribe(boolean value)
allow participant to subscribe to other tracks in the roombool can_subscribe = 1;- Parameters:
value- The canSubscribe to set.
-
clearCanSubscribe
LivekitModels.ParticipantPermission.Builder clearCanSubscribe()
allow participant to subscribe to other tracks in the roombool can_subscribe = 1;
-
getCanPublish
boolean getCanPublish()
allow participant to publish new tracks to roombool can_publish = 2;
-
setCanPublish
LivekitModels.ParticipantPermission.Builder setCanPublish(boolean value)
allow participant to publish new tracks to roombool can_publish = 2;- Parameters:
value- The canPublish to set.
-
clearCanPublish
LivekitModels.ParticipantPermission.Builder clearCanPublish()
allow participant to publish new tracks to roombool can_publish = 2;
-
getCanPublishData
boolean getCanPublishData()
allow participant to publish databool can_publish_data = 3;
-
setCanPublishData
LivekitModels.ParticipantPermission.Builder setCanPublishData(boolean value)
allow participant to publish databool can_publish_data = 3;- Parameters:
value- The canPublishData to set.
-
clearCanPublishData
LivekitModels.ParticipantPermission.Builder clearCanPublishData()
allow participant to publish databool can_publish_data = 3;
-
getCanPublishSourcesList
List<LivekitModels.TrackSource> getCanPublishSourcesList()
sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;
-
getCanPublishSourcesCount
int getCanPublishSourcesCount()
sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;
-
getCanPublishSources
LivekitModels.TrackSource getCanPublishSources(int index)
sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;- Parameters:
index- The index of the element to return.
-
setCanPublishSources
LivekitModels.ParticipantPermission.Builder setCanPublishSources(int index, LivekitModels.TrackSource value)
sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;- Parameters:
index- The index to set the value at.value- The canPublishSources to set.
-
addCanPublishSources
LivekitModels.ParticipantPermission.Builder addCanPublishSources(LivekitModels.TrackSource value)
sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;- Parameters:
value- The canPublishSources to add.
-
addAllCanPublishSources
LivekitModels.ParticipantPermission.Builder addAllCanPublishSources(Iterable<out LivekitModels.TrackSource> values)
sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;- Parameters:
values- The canPublishSources to add.
-
clearCanPublishSources
LivekitModels.ParticipantPermission.Builder clearCanPublishSources()
sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;
-
getCanPublishSourcesValueList
List<Integer> getCanPublishSourcesValueList()
sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;
-
getCanPublishSourcesValue
int getCanPublishSourcesValue(int index)
sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;- Parameters:
index- The index of the value to return.
-
setCanPublishSourcesValue
LivekitModels.ParticipantPermission.Builder setCanPublishSourcesValue(int index, int value)
sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for canPublishSources to set.
-
addCanPublishSourcesValue
LivekitModels.ParticipantPermission.Builder addCanPublishSourcesValue(int value)
sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;- Parameters:
value- The enum numeric value on the wire for canPublishSources to add.
-
addAllCanPublishSourcesValue
LivekitModels.ParticipantPermission.Builder addAllCanPublishSourcesValue(Iterable<Integer> values)
sources that are allowed to be publishedrepeated .livekit.TrackSource can_publish_sources = 9;- Parameters:
values- The enum numeric values on the wire for canPublishSources to add.
-
getHidden
boolean getHidden()
indicates that it's hidden to othersbool hidden = 7;
-
setHidden
LivekitModels.ParticipantPermission.Builder setHidden(boolean value)
indicates that it's hidden to othersbool hidden = 7;- Parameters:
value- The hidden to set.
-
clearHidden
LivekitModels.ParticipantPermission.Builder clearHidden()
indicates that it's hidden to othersbool hidden = 7;
-
getRecorder
@Deprecated() boolean getRecorder()
indicates it's a recorder instance deprecated: use ParticipantInfo.kind insteadbool recorder = 8 [deprecated = true];
-
setRecorder
@Deprecated() LivekitModels.ParticipantPermission.Builder setRecorder(boolean value)
indicates it's a recorder instance deprecated: use ParticipantInfo.kind insteadbool recorder = 8 [deprecated = true];- Parameters:
value- The recorder to set.
-
clearRecorder
@Deprecated() LivekitModels.ParticipantPermission.Builder clearRecorder()
indicates it's a recorder instance deprecated: use ParticipantInfo.kind insteadbool recorder = 8 [deprecated = true];
-
getCanUpdateMetadata
boolean getCanUpdateMetadata()
indicates that participant can update own metadata and attributesbool can_update_metadata = 10;
-
setCanUpdateMetadata
LivekitModels.ParticipantPermission.Builder setCanUpdateMetadata(boolean value)
indicates that participant can update own metadata and attributesbool can_update_metadata = 10;- Parameters:
value- The canUpdateMetadata to set.
-
clearCanUpdateMetadata
LivekitModels.ParticipantPermission.Builder clearCanUpdateMetadata()
indicates that participant can update own metadata and attributesbool can_update_metadata = 10;
-
getAgent
@Deprecated() boolean getAgent()
indicates that participant is an agent deprecated: use ParticipantInfo.kind insteadbool agent = 11 [deprecated = true];
-
setAgent
@Deprecated() LivekitModels.ParticipantPermission.Builder setAgent(boolean value)
indicates that participant is an agent deprecated: use ParticipantInfo.kind insteadbool agent = 11 [deprecated = true];- Parameters:
value- The agent to set.
-
clearAgent
@Deprecated() LivekitModels.ParticipantPermission.Builder clearAgent()
indicates that participant is an agent deprecated: use ParticipantInfo.kind insteadbool agent = 11 [deprecated = true];
-
getCanSubscribeMetrics
boolean getCanSubscribeMetrics()
if a participant can subscribe to metricsbool can_subscribe_metrics = 12;
-
setCanSubscribeMetrics
LivekitModels.ParticipantPermission.Builder setCanSubscribeMetrics(boolean value)
if a participant can subscribe to metricsbool can_subscribe_metrics = 12;- Parameters:
value- The canSubscribeMetrics to set.
-
clearCanSubscribeMetrics
LivekitModels.ParticipantPermission.Builder clearCanSubscribeMetrics()
if a participant can subscribe to metricsbool can_subscribe_metrics = 12;
-
-
-
-