-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,livekit.LivekitModels.ParticipantPermissionOrBuilder
public final class LivekitModels.ParticipantPermission extends GeneratedMessageLite<LivekitModels.ParticipantPermission, LivekitModels.ParticipantPermission.Builder> implements LivekitModels.ParticipantPermissionOrBuilder
Protobuf type
{@code livekit.ParticipantPermission}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classLivekitModels.ParticipantPermission.BuilderProtobuf type
{@code livekit.ParticipantPermission}
-
Field Summary
Fields Modifier and Type Field Description public final static intCAN_SUBSCRIBE_FIELD_NUMBERpublic final static intCAN_PUBLISH_FIELD_NUMBERpublic final static intCAN_PUBLISH_DATA_FIELD_NUMBERpublic final static intCAN_PUBLISH_SOURCES_FIELD_NUMBERpublic final static intHIDDEN_FIELD_NUMBERpublic final static intRECORDER_FIELD_NUMBERpublic final static intCAN_UPDATE_METADATA_FIELD_NUMBERpublic final static intAGENT_FIELD_NUMBERpublic final static intCAN_SUBSCRIBE_METRICS_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description booleangetCanSubscribe()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;booleangetCanPublishData()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;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;booleangetHidden()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];booleangetCanUpdateMetadata()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];booleangetCanSubscribeMetrics()if a participant can subscribe to metricsbool can_subscribe_metrics = 12;static LivekitModels.ParticipantPermissionparseFrom(ByteBuffer data)static LivekitModels.ParticipantPermissionparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static LivekitModels.ParticipantPermissionparseFrom(ByteString data)static LivekitModels.ParticipantPermissionparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static LivekitModels.ParticipantPermissionparseFrom(Array<byte> data)static LivekitModels.ParticipantPermissionparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static LivekitModels.ParticipantPermissionparseFrom(InputStream input)static LivekitModels.ParticipantPermissionparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static LivekitModels.ParticipantPermissionparseDelimitedFrom(InputStream input)static LivekitModels.ParticipantPermissionparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static LivekitModels.ParticipantPermissionparseFrom(CodedInputStream input)static LivekitModels.ParticipantPermissionparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static LivekitModels.ParticipantPermission.BuildernewBuilder()static LivekitModels.ParticipantPermission.BuildernewBuilder(LivekitModels.ParticipantPermission prototype)static LivekitModels.ParticipantPermissiongetDefaultInstance()static Parser<LivekitModels.ParticipantPermission>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, toBuilder, toString, writeTo -
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo -
Methods inherited from class com.google.protobuf.MessageLite
getParserForType, newBuilderForType, toBuilder -
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;
-
getCanPublish
boolean getCanPublish()
allow participant to publish new tracks to roombool can_publish = 2;
-
getCanPublishData
boolean getCanPublishData()
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.
-
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.
-
getHidden
boolean getHidden()
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];
-
getCanUpdateMetadata
boolean getCanUpdateMetadata()
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];
-
getCanSubscribeMetrics
boolean getCanSubscribeMetrics()
if a participant can subscribe to metricsbool can_subscribe_metrics = 12;
-
parseFrom
static LivekitModels.ParticipantPermission parseFrom(ByteBuffer data)
-
parseFrom
static LivekitModels.ParticipantPermission parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitModels.ParticipantPermission parseFrom(ByteString data)
-
parseFrom
static LivekitModels.ParticipantPermission parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitModels.ParticipantPermission parseFrom(Array<byte> data)
-
parseFrom
static LivekitModels.ParticipantPermission parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitModels.ParticipantPermission parseFrom(InputStream input)
-
parseFrom
static LivekitModels.ParticipantPermission parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static LivekitModels.ParticipantPermission parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static LivekitModels.ParticipantPermission parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitModels.ParticipantPermission parseFrom(CodedInputStream input)
-
parseFrom
static LivekitModels.ParticipantPermission parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilder
static LivekitModels.ParticipantPermission.Builder newBuilder()
-
newBuilder
static LivekitModels.ParticipantPermission.Builder newBuilder(LivekitModels.ParticipantPermission prototype)
-
getDefaultInstance
static LivekitModels.ParticipantPermission getDefaultInstance()
-
parser
static Parser<LivekitModels.ParticipantPermission> parser()
-
-
-
-