Package com.mux.spaces.api.proto.signals
Class Signals.Participant.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Signals.Participant.Builder>
-
- com.mux.spaces.api.proto.signals.Signals.Participant.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Signals.ParticipantOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Signals.Participant
public static final class Signals.Participant.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Signals.Participant.Builder> implements Signals.ParticipantOrBuilder
Protobuf typemux.spaces.api.Participant
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Signals.Participant.Builder
addAllTracks(java.lang.Iterable<? extends Signals.Track> values)
repeated .mux.spaces.api.Track tracks = 4;
Signals.Participant.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Signals.Participant.Builder
addTracks(int index, Signals.Track value)
repeated .mux.spaces.api.Track tracks = 4;
Signals.Participant.Builder
addTracks(int index, Signals.Track.Builder builderForValue)
repeated .mux.spaces.api.Track tracks = 4;
Signals.Participant.Builder
addTracks(Signals.Track value)
repeated .mux.spaces.api.Track tracks = 4;
Signals.Participant.Builder
addTracks(Signals.Track.Builder builderForValue)
repeated .mux.spaces.api.Track tracks = 4;
Signals.Track.Builder
addTracksBuilder()
repeated .mux.spaces.api.Track tracks = 4;
Signals.Track.Builder
addTracksBuilder(int index)
repeated .mux.spaces.api.Track tracks = 4;
Signals.Participant
build()
Signals.Participant
buildPartial()
Signals.Participant.Builder
clear()
Signals.Participant.Builder
clearConnectionId()
string connection_id = 5;
Signals.Participant.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Signals.Participant.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Signals.Participant.Builder
clearParticipantId()
string participant_id = 2;
Signals.Participant.Builder
clearRole()
.mux.spaces.api.Participant.ParticipantRole role = 7;
Signals.Participant.Builder
clearSfuId()
string sfu_id = 6;
Signals.Participant.Builder
clearStatus()
.mux.spaces.api.ParticipantStatus status = 3;
Signals.Participant.Builder
clearTracks()
repeated .mux.spaces.api.Track tracks = 4;
Signals.Participant.Builder
clone()
java.lang.String
getConnectionId()
string connection_id = 5;
com.google.protobuf.ByteString
getConnectionIdBytes()
string connection_id = 5;
Signals.Participant
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getParticipantId()
string participant_id = 2;
com.google.protobuf.ByteString
getParticipantIdBytes()
string participant_id = 2;
Signals.Participant.ParticipantRole
getRole()
.mux.spaces.api.Participant.ParticipantRole role = 7;
int
getRoleValue()
.mux.spaces.api.Participant.ParticipantRole role = 7;
java.lang.String
getSfuId()
string sfu_id = 6;
com.google.protobuf.ByteString
getSfuIdBytes()
string sfu_id = 6;
Signals.ParticipantStatus
getStatus()
.mux.spaces.api.ParticipantStatus status = 3;
int
getStatusValue()
.mux.spaces.api.ParticipantStatus status = 3;
Signals.Track
getTracks(int index)
repeated .mux.spaces.api.Track tracks = 4;
Signals.Track.Builder
getTracksBuilder(int index)
repeated .mux.spaces.api.Track tracks = 4;
java.util.List<Signals.Track.Builder>
getTracksBuilderList()
repeated .mux.spaces.api.Track tracks = 4;
int
getTracksCount()
repeated .mux.spaces.api.Track tracks = 4;
java.util.List<Signals.Track>
getTracksList()
repeated .mux.spaces.api.Track tracks = 4;
Signals.TrackOrBuilder
getTracksOrBuilder(int index)
repeated .mux.spaces.api.Track tracks = 4;
java.util.List<? extends Signals.TrackOrBuilder>
getTracksOrBuilderList()
repeated .mux.spaces.api.Track tracks = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Signals.Participant.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Signals.Participant.Builder
mergeFrom(com.google.protobuf.Message other)
Signals.Participant.Builder
mergeFrom(Signals.Participant other)
Signals.Participant.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Signals.Participant.Builder
removeTracks(int index)
repeated .mux.spaces.api.Track tracks = 4;
Signals.Participant.Builder
setConnectionId(java.lang.String value)
string connection_id = 5;
Signals.Participant.Builder
setConnectionIdBytes(com.google.protobuf.ByteString value)
string connection_id = 5;
Signals.Participant.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Signals.Participant.Builder
setParticipantId(java.lang.String value)
string participant_id = 2;
Signals.Participant.Builder
setParticipantIdBytes(com.google.protobuf.ByteString value)
string participant_id = 2;
Signals.Participant.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Signals.Participant.Builder
setRole(Signals.Participant.ParticipantRole value)
.mux.spaces.api.Participant.ParticipantRole role = 7;
Signals.Participant.Builder
setRoleValue(int value)
.mux.spaces.api.Participant.ParticipantRole role = 7;
Signals.Participant.Builder
setSfuId(java.lang.String value)
string sfu_id = 6;
Signals.Participant.Builder
setSfuIdBytes(com.google.protobuf.ByteString value)
string sfu_id = 6;
Signals.Participant.Builder
setStatus(Signals.ParticipantStatus value)
.mux.spaces.api.ParticipantStatus status = 3;
Signals.Participant.Builder
setStatusValue(int value)
.mux.spaces.api.ParticipantStatus status = 3;
Signals.Participant.Builder
setTracks(int index, Signals.Track value)
repeated .mux.spaces.api.Track tracks = 4;
Signals.Participant.Builder
setTracks(int index, Signals.Track.Builder builderForValue)
repeated .mux.spaces.api.Track tracks = 4;
Signals.Participant.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Participant.Builder>
-
clear
public Signals.Participant.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Participant.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Participant.Builder>
-
getDefaultInstanceForType
public Signals.Participant getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Signals.Participant build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Signals.Participant buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Signals.Participant.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Participant.Builder>
-
setField
public Signals.Participant.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Participant.Builder>
-
clearField
public Signals.Participant.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Participant.Builder>
-
clearOneof
public Signals.Participant.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Participant.Builder>
-
setRepeatedField
public Signals.Participant.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Participant.Builder>
-
addRepeatedField
public Signals.Participant.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Participant.Builder>
-
mergeFrom
public Signals.Participant.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Signals.Participant.Builder>
-
mergeFrom
public Signals.Participant.Builder mergeFrom(Signals.Participant other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Participant.Builder>
-
mergeFrom
public Signals.Participant.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Signals.Participant.Builder>
- Throws:
java.io.IOException
-
getParticipantId
public java.lang.String getParticipantId()
string participant_id = 2;
- Specified by:
getParticipantId
in interfaceSignals.ParticipantOrBuilder
- Returns:
- The participantId.
-
getParticipantIdBytes
public com.google.protobuf.ByteString getParticipantIdBytes()
string participant_id = 2;
- Specified by:
getParticipantIdBytes
in interfaceSignals.ParticipantOrBuilder
- Returns:
- The bytes for participantId.
-
setParticipantId
public Signals.Participant.Builder setParticipantId(java.lang.String value)
string participant_id = 2;
- Parameters:
value
- The participantId to set.- Returns:
- This builder for chaining.
-
clearParticipantId
public Signals.Participant.Builder clearParticipantId()
string participant_id = 2;
- Returns:
- This builder for chaining.
-
setParticipantIdBytes
public Signals.Participant.Builder setParticipantIdBytes(com.google.protobuf.ByteString value)
string participant_id = 2;
- Parameters:
value
- The bytes for participantId to set.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
.mux.spaces.api.ParticipantStatus status = 3;
- Specified by:
getStatusValue
in interfaceSignals.ParticipantOrBuilder
- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public Signals.Participant.Builder setStatusValue(int value)
.mux.spaces.api.ParticipantStatus status = 3;
- Parameters:
value
- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public Signals.ParticipantStatus getStatus()
.mux.spaces.api.ParticipantStatus status = 3;
- Specified by:
getStatus
in interfaceSignals.ParticipantOrBuilder
- Returns:
- The status.
-
setStatus
public Signals.Participant.Builder setStatus(Signals.ParticipantStatus value)
.mux.spaces.api.ParticipantStatus status = 3;
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public Signals.Participant.Builder clearStatus()
.mux.spaces.api.ParticipantStatus status = 3;
- Returns:
- This builder for chaining.
-
getTracksList
public java.util.List<Signals.Track> getTracksList()
repeated .mux.spaces.api.Track tracks = 4;
- Specified by:
getTracksList
in interfaceSignals.ParticipantOrBuilder
-
getTracksCount
public int getTracksCount()
repeated .mux.spaces.api.Track tracks = 4;
- Specified by:
getTracksCount
in interfaceSignals.ParticipantOrBuilder
-
getTracks
public Signals.Track getTracks(int index)
repeated .mux.spaces.api.Track tracks = 4;
- Specified by:
getTracks
in interfaceSignals.ParticipantOrBuilder
-
setTracks
public Signals.Participant.Builder setTracks(int index, Signals.Track value)
repeated .mux.spaces.api.Track tracks = 4;
-
setTracks
public Signals.Participant.Builder setTracks(int index, Signals.Track.Builder builderForValue)
repeated .mux.spaces.api.Track tracks = 4;
-
addTracks
public Signals.Participant.Builder addTracks(Signals.Track value)
repeated .mux.spaces.api.Track tracks = 4;
-
addTracks
public Signals.Participant.Builder addTracks(int index, Signals.Track value)
repeated .mux.spaces.api.Track tracks = 4;
-
addTracks
public Signals.Participant.Builder addTracks(Signals.Track.Builder builderForValue)
repeated .mux.spaces.api.Track tracks = 4;
-
addTracks
public Signals.Participant.Builder addTracks(int index, Signals.Track.Builder builderForValue)
repeated .mux.spaces.api.Track tracks = 4;
-
addAllTracks
public Signals.Participant.Builder addAllTracks(java.lang.Iterable<? extends Signals.Track> values)
repeated .mux.spaces.api.Track tracks = 4;
-
clearTracks
public Signals.Participant.Builder clearTracks()
repeated .mux.spaces.api.Track tracks = 4;
-
removeTracks
public Signals.Participant.Builder removeTracks(int index)
repeated .mux.spaces.api.Track tracks = 4;
-
getTracksBuilder
public Signals.Track.Builder getTracksBuilder(int index)
repeated .mux.spaces.api.Track tracks = 4;
-
getTracksOrBuilder
public Signals.TrackOrBuilder getTracksOrBuilder(int index)
repeated .mux.spaces.api.Track tracks = 4;
- Specified by:
getTracksOrBuilder
in interfaceSignals.ParticipantOrBuilder
-
getTracksOrBuilderList
public java.util.List<? extends Signals.TrackOrBuilder> getTracksOrBuilderList()
repeated .mux.spaces.api.Track tracks = 4;
- Specified by:
getTracksOrBuilderList
in interfaceSignals.ParticipantOrBuilder
-
addTracksBuilder
public Signals.Track.Builder addTracksBuilder()
repeated .mux.spaces.api.Track tracks = 4;
-
addTracksBuilder
public Signals.Track.Builder addTracksBuilder(int index)
repeated .mux.spaces.api.Track tracks = 4;
-
getTracksBuilderList
public java.util.List<Signals.Track.Builder> getTracksBuilderList()
repeated .mux.spaces.api.Track tracks = 4;
-
getConnectionId
public java.lang.String getConnectionId()
string connection_id = 5;
- Specified by:
getConnectionId
in interfaceSignals.ParticipantOrBuilder
- Returns:
- The connectionId.
-
getConnectionIdBytes
public com.google.protobuf.ByteString getConnectionIdBytes()
string connection_id = 5;
- Specified by:
getConnectionIdBytes
in interfaceSignals.ParticipantOrBuilder
- Returns:
- The bytes for connectionId.
-
setConnectionId
public Signals.Participant.Builder setConnectionId(java.lang.String value)
string connection_id = 5;
- Parameters:
value
- The connectionId to set.- Returns:
- This builder for chaining.
-
clearConnectionId
public Signals.Participant.Builder clearConnectionId()
string connection_id = 5;
- Returns:
- This builder for chaining.
-
setConnectionIdBytes
public Signals.Participant.Builder setConnectionIdBytes(com.google.protobuf.ByteString value)
string connection_id = 5;
- Parameters:
value
- The bytes for connectionId to set.- Returns:
- This builder for chaining.
-
getSfuId
public java.lang.String getSfuId()
string sfu_id = 6;
- Specified by:
getSfuId
in interfaceSignals.ParticipantOrBuilder
- Returns:
- The sfuId.
-
getSfuIdBytes
public com.google.protobuf.ByteString getSfuIdBytes()
string sfu_id = 6;
- Specified by:
getSfuIdBytes
in interfaceSignals.ParticipantOrBuilder
- Returns:
- The bytes for sfuId.
-
setSfuId
public Signals.Participant.Builder setSfuId(java.lang.String value)
string sfu_id = 6;
- Parameters:
value
- The sfuId to set.- Returns:
- This builder for chaining.
-
clearSfuId
public Signals.Participant.Builder clearSfuId()
string sfu_id = 6;
- Returns:
- This builder for chaining.
-
setSfuIdBytes
public Signals.Participant.Builder setSfuIdBytes(com.google.protobuf.ByteString value)
string sfu_id = 6;
- Parameters:
value
- The bytes for sfuId to set.- Returns:
- This builder for chaining.
-
getRoleValue
public int getRoleValue()
.mux.spaces.api.Participant.ParticipantRole role = 7;
- Specified by:
getRoleValue
in interfaceSignals.ParticipantOrBuilder
- Returns:
- The enum numeric value on the wire for role.
-
setRoleValue
public Signals.Participant.Builder setRoleValue(int value)
.mux.spaces.api.Participant.ParticipantRole role = 7;
- Parameters:
value
- The enum numeric value on the wire for role to set.- Returns:
- This builder for chaining.
-
getRole
public Signals.Participant.ParticipantRole getRole()
.mux.spaces.api.Participant.ParticipantRole role = 7;
- Specified by:
getRole
in interfaceSignals.ParticipantOrBuilder
- Returns:
- The role.
-
setRole
public Signals.Participant.Builder setRole(Signals.Participant.ParticipantRole value)
.mux.spaces.api.Participant.ParticipantRole role = 7;
- Parameters:
value
- The role to set.- Returns:
- This builder for chaining.
-
clearRole
public Signals.Participant.Builder clearRole()
.mux.spaces.api.Participant.ParticipantRole role = 7;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Signals.Participant.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Participant.Builder>
-
mergeUnknownFields
public final Signals.Participant.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Participant.Builder>
-
-