-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,java.lang.Cloneable
,livekit.LivekitWebhook.WebhookEventOrBuilder
public final class LivekitWebhook.WebhookEvent.Builder extends GeneratedMessageLite.Builder<LivekitWebhook.WebhookEvent, LivekitWebhook.WebhookEvent.Builder> implements LivekitWebhook.WebhookEventOrBuilder
Protobuf type
{@code livekit.WebhookEvent}
-
-
Method Summary
Modifier and Type Method Description String
getEvent()
one of room_started, room_finished, participant_joined, participant_left, track_published, track_unpublished, egress_started, egress_updated, egress_ended, ingress_started, ingress_ended
string event = 1;
ByteString
getEventBytes()
one of room_started, room_finished, participant_joined, participant_left, track_published, track_unpublished, egress_started, egress_updated, egress_ended, ingress_started, ingress_ended
string event = 1;
LivekitWebhook.WebhookEvent.Builder
setEvent(String value)
one of room_started, room_finished, participant_joined, participant_left, track_published, track_unpublished, egress_started, egress_updated, egress_ended, ingress_started, ingress_ended
string event = 1;
LivekitWebhook.WebhookEvent.Builder
clearEvent()
one of room_started, room_finished, participant_joined, participant_left, track_published, track_unpublished, egress_started, egress_updated, egress_ended, ingress_started, ingress_ended
string event = 1;
LivekitWebhook.WebhookEvent.Builder
setEventBytes(ByteString value)
one of room_started, room_finished, participant_joined, participant_left, track_published, track_unpublished, egress_started, egress_updated, egress_ended, ingress_started, ingress_ended
string event = 1;
boolean
hasRoom()
.livekit.Room room = 2;
LivekitModels.Room
getRoom()
.livekit.Room room = 2;
LivekitWebhook.WebhookEvent.Builder
setRoom(LivekitModels.Room value)
.livekit.Room room = 2;
LivekitWebhook.WebhookEvent.Builder
setRoom(LivekitModels.Room.Builder builderForValue)
.livekit.Room room = 2;
LivekitWebhook.WebhookEvent.Builder
mergeRoom(LivekitModels.Room value)
.livekit.Room room = 2;
LivekitWebhook.WebhookEvent.Builder
clearRoom()
.livekit.Room room = 2;
boolean
hasParticipant()
set when event is participant_* or track_*
.livekit.ParticipantInfo participant = 3;
LivekitModels.ParticipantInfo
getParticipant()
set when event is participant_* or track_*
.livekit.ParticipantInfo participant = 3;
LivekitWebhook.WebhookEvent.Builder
setParticipant(LivekitModels.ParticipantInfo value)
set when event is participant_* or track_*
.livekit.ParticipantInfo participant = 3;
LivekitWebhook.WebhookEvent.Builder
setParticipant(LivekitModels.ParticipantInfo.Builder builderForValue)
set when event is participant_* or track_*
.livekit.ParticipantInfo participant = 3;
LivekitWebhook.WebhookEvent.Builder
mergeParticipant(LivekitModels.ParticipantInfo value)
set when event is participant_* or track_*
.livekit.ParticipantInfo participant = 3;
LivekitWebhook.WebhookEvent.Builder
clearParticipant()
set when event is participant_* or track_*
.livekit.ParticipantInfo participant = 3;
boolean
hasEgressInfo()
set when event is egress_*
.livekit.EgressInfo egress_info = 9;
LivekitEgress.EgressInfo
getEgressInfo()
set when event is egress_*
.livekit.EgressInfo egress_info = 9;
LivekitWebhook.WebhookEvent.Builder
setEgressInfo(LivekitEgress.EgressInfo value)
set when event is egress_*
.livekit.EgressInfo egress_info = 9;
LivekitWebhook.WebhookEvent.Builder
setEgressInfo(LivekitEgress.EgressInfo.Builder builderForValue)
set when event is egress_*
.livekit.EgressInfo egress_info = 9;
LivekitWebhook.WebhookEvent.Builder
mergeEgressInfo(LivekitEgress.EgressInfo value)
set when event is egress_*
.livekit.EgressInfo egress_info = 9;
LivekitWebhook.WebhookEvent.Builder
clearEgressInfo()
set when event is egress_*
.livekit.EgressInfo egress_info = 9;
boolean
hasIngressInfo()
set when event is ingress_*
.livekit.IngressInfo ingress_info = 10;
LivekitIngress.IngressInfo
getIngressInfo()
set when event is ingress_*
.livekit.IngressInfo ingress_info = 10;
LivekitWebhook.WebhookEvent.Builder
setIngressInfo(LivekitIngress.IngressInfo value)
set when event is ingress_*
.livekit.IngressInfo ingress_info = 10;
LivekitWebhook.WebhookEvent.Builder
setIngressInfo(LivekitIngress.IngressInfo.Builder builderForValue)
set when event is ingress_*
.livekit.IngressInfo ingress_info = 10;
LivekitWebhook.WebhookEvent.Builder
mergeIngressInfo(LivekitIngress.IngressInfo value)
set when event is ingress_*
.livekit.IngressInfo ingress_info = 10;
LivekitWebhook.WebhookEvent.Builder
clearIngressInfo()
set when event is ingress_*
.livekit.IngressInfo ingress_info = 10;
boolean
hasTrack()
set when event is track_*
.livekit.TrackInfo track = 8;
LivekitModels.TrackInfo
getTrack()
set when event is track_*
.livekit.TrackInfo track = 8;
LivekitWebhook.WebhookEvent.Builder
setTrack(LivekitModels.TrackInfo value)
set when event is track_*
.livekit.TrackInfo track = 8;
LivekitWebhook.WebhookEvent.Builder
setTrack(LivekitModels.TrackInfo.Builder builderForValue)
set when event is track_*
.livekit.TrackInfo track = 8;
LivekitWebhook.WebhookEvent.Builder
mergeTrack(LivekitModels.TrackInfo value)
set when event is track_*
.livekit.TrackInfo track = 8;
LivekitWebhook.WebhookEvent.Builder
clearTrack()
set when event is track_*
.livekit.TrackInfo track = 8;
String
getId()
unique event uuid
string id = 6;
ByteString
getIdBytes()
unique event uuid
string id = 6;
LivekitWebhook.WebhookEvent.Builder
setId(String value)
unique event uuid
string id = 6;
LivekitWebhook.WebhookEvent.Builder
clearId()
unique event uuid
string id = 6;
LivekitWebhook.WebhookEvent.Builder
setIdBytes(ByteString value)
unique event uuid
string id = 6;
long
getCreatedAt()
timestamp in seconds
int64 created_at = 7;
LivekitWebhook.WebhookEvent.Builder
setCreatedAt(long value)
timestamp in seconds
int64 created_at = 7;
LivekitWebhook.WebhookEvent.Builder
clearCreatedAt()
timestamp in seconds
int64 created_at = 7;
int
getNumDropped()
int32 num_dropped = 11;
LivekitWebhook.WebhookEvent.Builder
setNumDropped(int value)
int32 num_dropped = 11;
LivekitWebhook.WebhookEvent.Builder
clearNumDropped()
int32 num_dropped = 11;
-
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
-
getEvent
String getEvent()
one of room_started, room_finished, participant_joined, participant_left, track_published, track_unpublished, egress_started, egress_updated, egress_ended, ingress_started, ingress_ended
string event = 1;
-
getEventBytes
ByteString getEventBytes()
one of room_started, room_finished, participant_joined, participant_left, track_published, track_unpublished, egress_started, egress_updated, egress_ended, ingress_started, ingress_ended
string event = 1;
-
setEvent
LivekitWebhook.WebhookEvent.Builder setEvent(String value)
one of room_started, room_finished, participant_joined, participant_left, track_published, track_unpublished, egress_started, egress_updated, egress_ended, ingress_started, ingress_ended
string event = 1;
- Parameters:
value
- The event to set.
-
clearEvent
LivekitWebhook.WebhookEvent.Builder clearEvent()
one of room_started, room_finished, participant_joined, participant_left, track_published, track_unpublished, egress_started, egress_updated, egress_ended, ingress_started, ingress_ended
string event = 1;
-
setEventBytes
LivekitWebhook.WebhookEvent.Builder setEventBytes(ByteString value)
one of room_started, room_finished, participant_joined, participant_left, track_published, track_unpublished, egress_started, egress_updated, egress_ended, ingress_started, ingress_ended
string event = 1;
- Parameters:
value
- The bytes for event to set.
-
hasRoom
boolean hasRoom()
.livekit.Room room = 2;
-
getRoom
LivekitModels.Room getRoom()
.livekit.Room room = 2;
-
setRoom
LivekitWebhook.WebhookEvent.Builder setRoom(LivekitModels.Room value)
.livekit.Room room = 2;
-
setRoom
LivekitWebhook.WebhookEvent.Builder setRoom(LivekitModels.Room.Builder builderForValue)
.livekit.Room room = 2;
-
mergeRoom
LivekitWebhook.WebhookEvent.Builder mergeRoom(LivekitModels.Room value)
.livekit.Room room = 2;
-
clearRoom
LivekitWebhook.WebhookEvent.Builder clearRoom()
.livekit.Room room = 2;
-
hasParticipant
boolean hasParticipant()
set when event is participant_* or track_*
.livekit.ParticipantInfo participant = 3;
-
getParticipant
LivekitModels.ParticipantInfo getParticipant()
set when event is participant_* or track_*
.livekit.ParticipantInfo participant = 3;
-
setParticipant
LivekitWebhook.WebhookEvent.Builder setParticipant(LivekitModels.ParticipantInfo value)
set when event is participant_* or track_*
.livekit.ParticipantInfo participant = 3;
-
setParticipant
LivekitWebhook.WebhookEvent.Builder setParticipant(LivekitModels.ParticipantInfo.Builder builderForValue)
set when event is participant_* or track_*
.livekit.ParticipantInfo participant = 3;
-
mergeParticipant
LivekitWebhook.WebhookEvent.Builder mergeParticipant(LivekitModels.ParticipantInfo value)
set when event is participant_* or track_*
.livekit.ParticipantInfo participant = 3;
-
clearParticipant
LivekitWebhook.WebhookEvent.Builder clearParticipant()
set when event is participant_* or track_*
.livekit.ParticipantInfo participant = 3;
-
hasEgressInfo
boolean hasEgressInfo()
set when event is egress_*
.livekit.EgressInfo egress_info = 9;
-
getEgressInfo
LivekitEgress.EgressInfo getEgressInfo()
set when event is egress_*
.livekit.EgressInfo egress_info = 9;
-
setEgressInfo
LivekitWebhook.WebhookEvent.Builder setEgressInfo(LivekitEgress.EgressInfo value)
set when event is egress_*
.livekit.EgressInfo egress_info = 9;
-
setEgressInfo
LivekitWebhook.WebhookEvent.Builder setEgressInfo(LivekitEgress.EgressInfo.Builder builderForValue)
set when event is egress_*
.livekit.EgressInfo egress_info = 9;
-
mergeEgressInfo
LivekitWebhook.WebhookEvent.Builder mergeEgressInfo(LivekitEgress.EgressInfo value)
set when event is egress_*
.livekit.EgressInfo egress_info = 9;
-
clearEgressInfo
LivekitWebhook.WebhookEvent.Builder clearEgressInfo()
set when event is egress_*
.livekit.EgressInfo egress_info = 9;
-
hasIngressInfo
boolean hasIngressInfo()
set when event is ingress_*
.livekit.IngressInfo ingress_info = 10;
-
getIngressInfo
LivekitIngress.IngressInfo getIngressInfo()
set when event is ingress_*
.livekit.IngressInfo ingress_info = 10;
-
setIngressInfo
LivekitWebhook.WebhookEvent.Builder setIngressInfo(LivekitIngress.IngressInfo value)
set when event is ingress_*
.livekit.IngressInfo ingress_info = 10;
-
setIngressInfo
LivekitWebhook.WebhookEvent.Builder setIngressInfo(LivekitIngress.IngressInfo.Builder builderForValue)
set when event is ingress_*
.livekit.IngressInfo ingress_info = 10;
-
mergeIngressInfo
LivekitWebhook.WebhookEvent.Builder mergeIngressInfo(LivekitIngress.IngressInfo value)
set when event is ingress_*
.livekit.IngressInfo ingress_info = 10;
-
clearIngressInfo
LivekitWebhook.WebhookEvent.Builder clearIngressInfo()
set when event is ingress_*
.livekit.IngressInfo ingress_info = 10;
-
hasTrack
boolean hasTrack()
set when event is track_*
.livekit.TrackInfo track = 8;
-
getTrack
LivekitModels.TrackInfo getTrack()
set when event is track_*
.livekit.TrackInfo track = 8;
-
setTrack
LivekitWebhook.WebhookEvent.Builder setTrack(LivekitModels.TrackInfo value)
set when event is track_*
.livekit.TrackInfo track = 8;
-
setTrack
LivekitWebhook.WebhookEvent.Builder setTrack(LivekitModels.TrackInfo.Builder builderForValue)
set when event is track_*
.livekit.TrackInfo track = 8;
-
mergeTrack
LivekitWebhook.WebhookEvent.Builder mergeTrack(LivekitModels.TrackInfo value)
set when event is track_*
.livekit.TrackInfo track = 8;
-
clearTrack
LivekitWebhook.WebhookEvent.Builder clearTrack()
set when event is track_*
.livekit.TrackInfo track = 8;
-
getIdBytes
ByteString getIdBytes()
unique event uuid
string id = 6;
-
setId
LivekitWebhook.WebhookEvent.Builder setId(String value)
unique event uuid
string id = 6;
- Parameters:
value
- The id to set.
-
clearId
LivekitWebhook.WebhookEvent.Builder clearId()
unique event uuid
string id = 6;
-
setIdBytes
LivekitWebhook.WebhookEvent.Builder setIdBytes(ByteString value)
unique event uuid
string id = 6;
- Parameters:
value
- The bytes for id to set.
-
getCreatedAt
long getCreatedAt()
timestamp in seconds
int64 created_at = 7;
-
setCreatedAt
LivekitWebhook.WebhookEvent.Builder setCreatedAt(long value)
timestamp in seconds
int64 created_at = 7;
- Parameters:
value
- The createdAt to set.
-
clearCreatedAt
LivekitWebhook.WebhookEvent.Builder clearCreatedAt()
timestamp in seconds
int64 created_at = 7;
-
getNumDropped
int getNumDropped()
int32 num_dropped = 11;
-
setNumDropped
LivekitWebhook.WebhookEvent.Builder setNumDropped(int value)
int32 num_dropped = 11;
- Parameters:
value
- The numDropped to set.
-
clearNumDropped
LivekitWebhook.WebhookEvent.Builder clearNumDropped()
int32 num_dropped = 11;
-
-
-
-