-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,java.lang.Cloneable
,livekit.LivekitRtc.LeaveRequestOrBuilder
public final class LivekitRtc.LeaveRequest.Builder extends GeneratedMessageLite.Builder<LivekitRtc.LeaveRequest, LivekitRtc.LeaveRequest.Builder> implements LivekitRtc.LeaveRequestOrBuilder
Protobuf type
{@code livekit.LeaveRequest}
-
-
Method Summary
Modifier and Type Method Description boolean
getCanReconnect()
sent when server initiates the disconnect due to server-restart indicates clients should attempt full-reconnect sequence NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13
bool can_reconnect = 1;
LivekitRtc.LeaveRequest.Builder
setCanReconnect(boolean value)
sent when server initiates the disconnect due to server-restart indicates clients should attempt full-reconnect sequence NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13
bool can_reconnect = 1;
LivekitRtc.LeaveRequest.Builder
clearCanReconnect()
sent when server initiates the disconnect due to server-restart indicates clients should attempt full-reconnect sequence NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13
bool can_reconnect = 1;
int
getReasonValue()
.livekit.DisconnectReason reason = 2;
LivekitRtc.LeaveRequest.Builder
setReasonValue(int value)
.livekit.DisconnectReason reason = 2;
LivekitModels.DisconnectReason
getReason()
.livekit.DisconnectReason reason = 2;
LivekitRtc.LeaveRequest.Builder
setReason(LivekitModels.DisconnectReason value)
.livekit.DisconnectReason reason = 2;
LivekitRtc.LeaveRequest.Builder
clearReason()
.livekit.DisconnectReason reason = 2;
int
getActionValue()
.livekit.LeaveRequest.Action action = 3;
LivekitRtc.LeaveRequest.Builder
setActionValue(int value)
.livekit.LeaveRequest.Action action = 3;
LivekitRtc.LeaveRequest.Action
getAction()
.livekit.LeaveRequest.Action action = 3;
LivekitRtc.LeaveRequest.Builder
setAction(LivekitRtc.LeaveRequest.Action value)
.livekit.LeaveRequest.Action action = 3;
LivekitRtc.LeaveRequest.Builder
clearAction()
.livekit.LeaveRequest.Action action = 3;
boolean
hasRegions()
.livekit.RegionSettings regions = 4;
LivekitRtc.RegionSettings
getRegions()
.livekit.RegionSettings regions = 4;
LivekitRtc.LeaveRequest.Builder
setRegions(LivekitRtc.RegionSettings value)
.livekit.RegionSettings regions = 4;
LivekitRtc.LeaveRequest.Builder
setRegions(LivekitRtc.RegionSettings.Builder builderForValue)
.livekit.RegionSettings regions = 4;
LivekitRtc.LeaveRequest.Builder
mergeRegions(LivekitRtc.RegionSettings value)
.livekit.RegionSettings regions = 4;
LivekitRtc.LeaveRequest.Builder
clearRegions()
.livekit.RegionSettings regions = 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
-
getCanReconnect
boolean getCanReconnect()
sent when server initiates the disconnect due to server-restart indicates clients should attempt full-reconnect sequence NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13
bool can_reconnect = 1;
-
setCanReconnect
LivekitRtc.LeaveRequest.Builder setCanReconnect(boolean value)
sent when server initiates the disconnect due to server-restart indicates clients should attempt full-reconnect sequence NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13
bool can_reconnect = 1;
- Parameters:
value
- The canReconnect to set.
-
clearCanReconnect
LivekitRtc.LeaveRequest.Builder clearCanReconnect()
sent when server initiates the disconnect due to server-restart indicates clients should attempt full-reconnect sequence NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13
bool can_reconnect = 1;
-
getReasonValue
int getReasonValue()
.livekit.DisconnectReason reason = 2;
-
setReasonValue
LivekitRtc.LeaveRequest.Builder setReasonValue(int value)
.livekit.DisconnectReason reason = 2;
- Parameters:
value
- The reason to set.
-
getReason
LivekitModels.DisconnectReason getReason()
.livekit.DisconnectReason reason = 2;
-
setReason
LivekitRtc.LeaveRequest.Builder setReason(LivekitModels.DisconnectReason value)
.livekit.DisconnectReason reason = 2;
- Parameters:
value
- The enum numeric value on the wire for reason to set.
-
clearReason
LivekitRtc.LeaveRequest.Builder clearReason()
.livekit.DisconnectReason reason = 2;
-
getActionValue
int getActionValue()
.livekit.LeaveRequest.Action action = 3;
-
setActionValue
LivekitRtc.LeaveRequest.Builder setActionValue(int value)
.livekit.LeaveRequest.Action action = 3;
- Parameters:
value
- The action to set.
-
getAction
LivekitRtc.LeaveRequest.Action getAction()
.livekit.LeaveRequest.Action action = 3;
-
setAction
LivekitRtc.LeaveRequest.Builder setAction(LivekitRtc.LeaveRequest.Action value)
.livekit.LeaveRequest.Action action = 3;
- Parameters:
value
- The enum numeric value on the wire for action to set.
-
clearAction
LivekitRtc.LeaveRequest.Builder clearAction()
.livekit.LeaveRequest.Action action = 3;
-
hasRegions
boolean hasRegions()
.livekit.RegionSettings regions = 4;
-
getRegions
LivekitRtc.RegionSettings getRegions()
.livekit.RegionSettings regions = 4;
-
setRegions
LivekitRtc.LeaveRequest.Builder setRegions(LivekitRtc.RegionSettings value)
.livekit.RegionSettings regions = 4;
-
setRegions
LivekitRtc.LeaveRequest.Builder setRegions(LivekitRtc.RegionSettings.Builder builderForValue)
.livekit.RegionSettings regions = 4;
-
mergeRegions
LivekitRtc.LeaveRequest.Builder mergeRegions(LivekitRtc.RegionSettings value)
.livekit.RegionSettings regions = 4;
-
clearRegions
LivekitRtc.LeaveRequest.Builder clearRegions()
.livekit.RegionSettings regions = 4;
-
-
-
-