main.java.com.streamlayer.analytics.streaming.v1.SendRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/analytics/v2/streaming/streaming.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.analytics.streaming.v1;
/**
*
* when opening the connection we expect headers to be present
* string device_id = 6;
* string os = 7;
* string user_agent = 8;
* string sl_sdk_version = 9;
* uint64 user_id = 2; -- through JWT
* string user_id_str = 14; -- through JWT
*
*
* Protobuf type {@code streamlayer.analytics.v2.streaming.SendRequest}
*/
public final class SendRequest extends
com.google.protobuf.GeneratedMessageLite<
SendRequest, SendRequest.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.analytics.v2.streaming.SendRequest)
SendRequestOrBuilder {
private SendRequest() {
}
private int bitField0_;
private int messageCase_ = 0;
private java.lang.Object message_;
public enum MessageCase {
AUTH(1),
CALL(2),
CONVERSATIONS(3),
INTERACTIONS(4),
EVENT_OPENED(5),
INVITATION(6),
LAUNCH_BUTTON(7),
NOTIFICATION(8),
PERMISSION(9),
BUTTON_INIT(10),
WAVES(11),
HEARTBEAT(12),
GAMES(13),
LOGIN(14),
LOGOUT(15),
MESSAGE_NOT_SET(0);
private final int value;
private MessageCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static MessageCase valueOf(int value) {
return forNumber(value);
}
public static MessageCase forNumber(int value) {
switch (value) {
case 1: return AUTH;
case 2: return CALL;
case 3: return CONVERSATIONS;
case 4: return INTERACTIONS;
case 5: return EVENT_OPENED;
case 6: return INVITATION;
case 7: return LAUNCH_BUTTON;
case 8: return NOTIFICATION;
case 9: return PERMISSION;
case 10: return BUTTON_INIT;
case 11: return WAVES;
case 12: return HEARTBEAT;
case 13: return GAMES;
case 14: return LOGIN;
case 15: return LOGOUT;
case 0: return MESSAGE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public MessageCase
getMessageCase() {
return MessageCase.forNumber(
messageCase_);
}
private void clearMessage() {
messageCase_ = 0;
message_ = null;
}
public static final int AUTH_FIELD_NUMBER = 1;
/**
* .streamlayer.analytics.v2.streaming.SendAuthenticationsMessage auth = 1 [json_name = "auth"];
*/
@java.lang.Override
public boolean hasAuth() {
return messageCase_ == 1;
}
/**
* .streamlayer.analytics.v2.streaming.SendAuthenticationsMessage auth = 1 [json_name = "auth"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.SendAuthenticationsMessage getAuth() {
if (messageCase_ == 1) {
return (com.streamlayer.analytics.streaming.v1.SendAuthenticationsMessage) message_;
}
return com.streamlayer.analytics.streaming.v1.SendAuthenticationsMessage.getDefaultInstance();
}
/**
* .streamlayer.analytics.v2.streaming.SendAuthenticationsMessage auth = 1 [json_name = "auth"];
*/
private void setAuth(com.streamlayer.analytics.streaming.v1.SendAuthenticationsMessage value) {
value.getClass();
message_ = value;
messageCase_ = 1;
}
/**
* .streamlayer.analytics.v2.streaming.SendAuthenticationsMessage auth = 1 [json_name = "auth"];
*/
private void mergeAuth(com.streamlayer.analytics.streaming.v1.SendAuthenticationsMessage value) {
value.getClass();
if (messageCase_ == 1 &&
message_ != com.streamlayer.analytics.streaming.v1.SendAuthenticationsMessage.getDefaultInstance()) {
message_ = com.streamlayer.analytics.streaming.v1.SendAuthenticationsMessage.newBuilder((com.streamlayer.analytics.streaming.v1.SendAuthenticationsMessage) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
messageCase_ = 1;
}
/**
* .streamlayer.analytics.v2.streaming.SendAuthenticationsMessage auth = 1 [json_name = "auth"];
*/
private void clearAuth() {
if (messageCase_ == 1) {
messageCase_ = 0;
message_ = null;
}
}
public static final int CALL_FIELD_NUMBER = 2;
/**
* .streamlayer.analytics.v2.streaming.SendCallsMessage call = 2 [json_name = "call"];
*/
@java.lang.Override
public boolean hasCall() {
return messageCase_ == 2;
}
/**
* .streamlayer.analytics.v2.streaming.SendCallsMessage call = 2 [json_name = "call"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.SendCallsMessage getCall() {
if (messageCase_ == 2) {
return (com.streamlayer.analytics.streaming.v1.SendCallsMessage) message_;
}
return com.streamlayer.analytics.streaming.v1.SendCallsMessage.getDefaultInstance();
}
/**
* .streamlayer.analytics.v2.streaming.SendCallsMessage call = 2 [json_name = "call"];
*/
private void setCall(com.streamlayer.analytics.streaming.v1.SendCallsMessage value) {
value.getClass();
message_ = value;
messageCase_ = 2;
}
/**
* .streamlayer.analytics.v2.streaming.SendCallsMessage call = 2 [json_name = "call"];
*/
private void mergeCall(com.streamlayer.analytics.streaming.v1.SendCallsMessage value) {
value.getClass();
if (messageCase_ == 2 &&
message_ != com.streamlayer.analytics.streaming.v1.SendCallsMessage.getDefaultInstance()) {
message_ = com.streamlayer.analytics.streaming.v1.SendCallsMessage.newBuilder((com.streamlayer.analytics.streaming.v1.SendCallsMessage) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
messageCase_ = 2;
}
/**
* .streamlayer.analytics.v2.streaming.SendCallsMessage call = 2 [json_name = "call"];
*/
private void clearCall() {
if (messageCase_ == 2) {
messageCase_ = 0;
message_ = null;
}
}
public static final int CONVERSATIONS_FIELD_NUMBER = 3;
/**
* .streamlayer.analytics.v2.streaming.SendConversationsMessage conversations = 3 [json_name = "conversations"];
*/
@java.lang.Override
public boolean hasConversations() {
return messageCase_ == 3;
}
/**
* .streamlayer.analytics.v2.streaming.SendConversationsMessage conversations = 3 [json_name = "conversations"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.SendConversationsMessage getConversations() {
if (messageCase_ == 3) {
return (com.streamlayer.analytics.streaming.v1.SendConversationsMessage) message_;
}
return com.streamlayer.analytics.streaming.v1.SendConversationsMessage.getDefaultInstance();
}
/**
* .streamlayer.analytics.v2.streaming.SendConversationsMessage conversations = 3 [json_name = "conversations"];
*/
private void setConversations(com.streamlayer.analytics.streaming.v1.SendConversationsMessage value) {
value.getClass();
message_ = value;
messageCase_ = 3;
}
/**
* .streamlayer.analytics.v2.streaming.SendConversationsMessage conversations = 3 [json_name = "conversations"];
*/
private void mergeConversations(com.streamlayer.analytics.streaming.v1.SendConversationsMessage value) {
value.getClass();
if (messageCase_ == 3 &&
message_ != com.streamlayer.analytics.streaming.v1.SendConversationsMessage.getDefaultInstance()) {
message_ = com.streamlayer.analytics.streaming.v1.SendConversationsMessage.newBuilder((com.streamlayer.analytics.streaming.v1.SendConversationsMessage) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
messageCase_ = 3;
}
/**
* .streamlayer.analytics.v2.streaming.SendConversationsMessage conversations = 3 [json_name = "conversations"];
*/
private void clearConversations() {
if (messageCase_ == 3) {
messageCase_ = 0;
message_ = null;
}
}
public static final int INTERACTIONS_FIELD_NUMBER = 4;
/**
* .streamlayer.analytics.v2.streaming.SendInteractionsMessage interactions = 4 [json_name = "interactions"];
*/
@java.lang.Override
public boolean hasInteractions() {
return messageCase_ == 4;
}
/**
* .streamlayer.analytics.v2.streaming.SendInteractionsMessage interactions = 4 [json_name = "interactions"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.SendInteractionsMessage getInteractions() {
if (messageCase_ == 4) {
return (com.streamlayer.analytics.streaming.v1.SendInteractionsMessage) message_;
}
return com.streamlayer.analytics.streaming.v1.SendInteractionsMessage.getDefaultInstance();
}
/**
* .streamlayer.analytics.v2.streaming.SendInteractionsMessage interactions = 4 [json_name = "interactions"];
*/
private void setInteractions(com.streamlayer.analytics.streaming.v1.SendInteractionsMessage value) {
value.getClass();
message_ = value;
messageCase_ = 4;
}
/**
* .streamlayer.analytics.v2.streaming.SendInteractionsMessage interactions = 4 [json_name = "interactions"];
*/
private void mergeInteractions(com.streamlayer.analytics.streaming.v1.SendInteractionsMessage value) {
value.getClass();
if (messageCase_ == 4 &&
message_ != com.streamlayer.analytics.streaming.v1.SendInteractionsMessage.getDefaultInstance()) {
message_ = com.streamlayer.analytics.streaming.v1.SendInteractionsMessage.newBuilder((com.streamlayer.analytics.streaming.v1.SendInteractionsMessage) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
messageCase_ = 4;
}
/**
* .streamlayer.analytics.v2.streaming.SendInteractionsMessage interactions = 4 [json_name = "interactions"];
*/
private void clearInteractions() {
if (messageCase_ == 4) {
messageCase_ = 0;
message_ = null;
}
}
public static final int EVENT_OPENED_FIELD_NUMBER = 5;
/**
* .streamlayer.analytics.v2.streaming.EventOpenedMessage event_opened = 5 [json_name = "eventOpened"];
*/
@java.lang.Override
public boolean hasEventOpened() {
return messageCase_ == 5;
}
/**
* .streamlayer.analytics.v2.streaming.EventOpenedMessage event_opened = 5 [json_name = "eventOpened"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.EventOpenedMessage getEventOpened() {
if (messageCase_ == 5) {
return (com.streamlayer.analytics.streaming.v1.EventOpenedMessage) message_;
}
return com.streamlayer.analytics.streaming.v1.EventOpenedMessage.getDefaultInstance();
}
/**
* .streamlayer.analytics.v2.streaming.EventOpenedMessage event_opened = 5 [json_name = "eventOpened"];
*/
private void setEventOpened(com.streamlayer.analytics.streaming.v1.EventOpenedMessage value) {
value.getClass();
message_ = value;
messageCase_ = 5;
}
/**
* .streamlayer.analytics.v2.streaming.EventOpenedMessage event_opened = 5 [json_name = "eventOpened"];
*/
private void mergeEventOpened(com.streamlayer.analytics.streaming.v1.EventOpenedMessage value) {
value.getClass();
if (messageCase_ == 5 &&
message_ != com.streamlayer.analytics.streaming.v1.EventOpenedMessage.getDefaultInstance()) {
message_ = com.streamlayer.analytics.streaming.v1.EventOpenedMessage.newBuilder((com.streamlayer.analytics.streaming.v1.EventOpenedMessage) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
messageCase_ = 5;
}
/**
* .streamlayer.analytics.v2.streaming.EventOpenedMessage event_opened = 5 [json_name = "eventOpened"];
*/
private void clearEventOpened() {
if (messageCase_ == 5) {
messageCase_ = 0;
message_ = null;
}
}
public static final int INVITATION_FIELD_NUMBER = 6;
/**
* .streamlayer.analytics.v2.streaming.SendInvitationsMessage invitation = 6 [json_name = "invitation"];
*/
@java.lang.Override
public boolean hasInvitation() {
return messageCase_ == 6;
}
/**
* .streamlayer.analytics.v2.streaming.SendInvitationsMessage invitation = 6 [json_name = "invitation"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.SendInvitationsMessage getInvitation() {
if (messageCase_ == 6) {
return (com.streamlayer.analytics.streaming.v1.SendInvitationsMessage) message_;
}
return com.streamlayer.analytics.streaming.v1.SendInvitationsMessage.getDefaultInstance();
}
/**
* .streamlayer.analytics.v2.streaming.SendInvitationsMessage invitation = 6 [json_name = "invitation"];
*/
private void setInvitation(com.streamlayer.analytics.streaming.v1.SendInvitationsMessage value) {
value.getClass();
message_ = value;
messageCase_ = 6;
}
/**
* .streamlayer.analytics.v2.streaming.SendInvitationsMessage invitation = 6 [json_name = "invitation"];
*/
private void mergeInvitation(com.streamlayer.analytics.streaming.v1.SendInvitationsMessage value) {
value.getClass();
if (messageCase_ == 6 &&
message_ != com.streamlayer.analytics.streaming.v1.SendInvitationsMessage.getDefaultInstance()) {
message_ = com.streamlayer.analytics.streaming.v1.SendInvitationsMessage.newBuilder((com.streamlayer.analytics.streaming.v1.SendInvitationsMessage) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
messageCase_ = 6;
}
/**
* .streamlayer.analytics.v2.streaming.SendInvitationsMessage invitation = 6 [json_name = "invitation"];
*/
private void clearInvitation() {
if (messageCase_ == 6) {
messageCase_ = 0;
message_ = null;
}
}
public static final int LAUNCH_BUTTON_FIELD_NUMBER = 7;
/**
* .streamlayer.analytics.v2.streaming.LaunchButtonMessage launch_button = 7 [json_name = "launchButton"];
*/
@java.lang.Override
public boolean hasLaunchButton() {
return messageCase_ == 7;
}
/**
* .streamlayer.analytics.v2.streaming.LaunchButtonMessage launch_button = 7 [json_name = "launchButton"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.LaunchButtonMessage getLaunchButton() {
if (messageCase_ == 7) {
return (com.streamlayer.analytics.streaming.v1.LaunchButtonMessage) message_;
}
return com.streamlayer.analytics.streaming.v1.LaunchButtonMessage.getDefaultInstance();
}
/**
* .streamlayer.analytics.v2.streaming.LaunchButtonMessage launch_button = 7 [json_name = "launchButton"];
*/
private void setLaunchButton(com.streamlayer.analytics.streaming.v1.LaunchButtonMessage value) {
value.getClass();
message_ = value;
messageCase_ = 7;
}
/**
* .streamlayer.analytics.v2.streaming.LaunchButtonMessage launch_button = 7 [json_name = "launchButton"];
*/
private void mergeLaunchButton(com.streamlayer.analytics.streaming.v1.LaunchButtonMessage value) {
value.getClass();
if (messageCase_ == 7 &&
message_ != com.streamlayer.analytics.streaming.v1.LaunchButtonMessage.getDefaultInstance()) {
message_ = com.streamlayer.analytics.streaming.v1.LaunchButtonMessage.newBuilder((com.streamlayer.analytics.streaming.v1.LaunchButtonMessage) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
messageCase_ = 7;
}
/**
* .streamlayer.analytics.v2.streaming.LaunchButtonMessage launch_button = 7 [json_name = "launchButton"];
*/
private void clearLaunchButton() {
if (messageCase_ == 7) {
messageCase_ = 0;
message_ = null;
}
}
public static final int NOTIFICATION_FIELD_NUMBER = 8;
/**
* .streamlayer.analytics.v2.streaming.NotificationMessage notification = 8 [json_name = "notification"];
*/
@java.lang.Override
public boolean hasNotification() {
return messageCase_ == 8;
}
/**
* .streamlayer.analytics.v2.streaming.NotificationMessage notification = 8 [json_name = "notification"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.NotificationMessage getNotification() {
if (messageCase_ == 8) {
return (com.streamlayer.analytics.streaming.v1.NotificationMessage) message_;
}
return com.streamlayer.analytics.streaming.v1.NotificationMessage.getDefaultInstance();
}
/**
* .streamlayer.analytics.v2.streaming.NotificationMessage notification = 8 [json_name = "notification"];
*/
private void setNotification(com.streamlayer.analytics.streaming.v1.NotificationMessage value) {
value.getClass();
message_ = value;
messageCase_ = 8;
}
/**
* .streamlayer.analytics.v2.streaming.NotificationMessage notification = 8 [json_name = "notification"];
*/
private void mergeNotification(com.streamlayer.analytics.streaming.v1.NotificationMessage value) {
value.getClass();
if (messageCase_ == 8 &&
message_ != com.streamlayer.analytics.streaming.v1.NotificationMessage.getDefaultInstance()) {
message_ = com.streamlayer.analytics.streaming.v1.NotificationMessage.newBuilder((com.streamlayer.analytics.streaming.v1.NotificationMessage) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
messageCase_ = 8;
}
/**
* .streamlayer.analytics.v2.streaming.NotificationMessage notification = 8 [json_name = "notification"];
*/
private void clearNotification() {
if (messageCase_ == 8) {
messageCase_ = 0;
message_ = null;
}
}
public static final int PERMISSION_FIELD_NUMBER = 9;
/**
* .streamlayer.analytics.v2.streaming.PermissionMessage permission = 9 [json_name = "permission"];
*/
@java.lang.Override
public boolean hasPermission() {
return messageCase_ == 9;
}
/**
* .streamlayer.analytics.v2.streaming.PermissionMessage permission = 9 [json_name = "permission"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.PermissionMessage getPermission() {
if (messageCase_ == 9) {
return (com.streamlayer.analytics.streaming.v1.PermissionMessage) message_;
}
return com.streamlayer.analytics.streaming.v1.PermissionMessage.getDefaultInstance();
}
/**
* .streamlayer.analytics.v2.streaming.PermissionMessage permission = 9 [json_name = "permission"];
*/
private void setPermission(com.streamlayer.analytics.streaming.v1.PermissionMessage value) {
value.getClass();
message_ = value;
messageCase_ = 9;
}
/**
* .streamlayer.analytics.v2.streaming.PermissionMessage permission = 9 [json_name = "permission"];
*/
private void mergePermission(com.streamlayer.analytics.streaming.v1.PermissionMessage value) {
value.getClass();
if (messageCase_ == 9 &&
message_ != com.streamlayer.analytics.streaming.v1.PermissionMessage.getDefaultInstance()) {
message_ = com.streamlayer.analytics.streaming.v1.PermissionMessage.newBuilder((com.streamlayer.analytics.streaming.v1.PermissionMessage) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
messageCase_ = 9;
}
/**
* .streamlayer.analytics.v2.streaming.PermissionMessage permission = 9 [json_name = "permission"];
*/
private void clearPermission() {
if (messageCase_ == 9) {
messageCase_ = 0;
message_ = null;
}
}
public static final int BUTTON_INIT_FIELD_NUMBER = 10;
/**
* .streamlayer.analytics.v2.streaming.ButtonInitializedMessage button_init = 10 [json_name = "buttonInit"];
*/
@java.lang.Override
public boolean hasButtonInit() {
return messageCase_ == 10;
}
/**
* .streamlayer.analytics.v2.streaming.ButtonInitializedMessage button_init = 10 [json_name = "buttonInit"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.ButtonInitializedMessage getButtonInit() {
if (messageCase_ == 10) {
return (com.streamlayer.analytics.streaming.v1.ButtonInitializedMessage) message_;
}
return com.streamlayer.analytics.streaming.v1.ButtonInitializedMessage.getDefaultInstance();
}
/**
* .streamlayer.analytics.v2.streaming.ButtonInitializedMessage button_init = 10 [json_name = "buttonInit"];
*/
private void setButtonInit(com.streamlayer.analytics.streaming.v1.ButtonInitializedMessage value) {
value.getClass();
message_ = value;
messageCase_ = 10;
}
/**
* .streamlayer.analytics.v2.streaming.ButtonInitializedMessage button_init = 10 [json_name = "buttonInit"];
*/
private void mergeButtonInit(com.streamlayer.analytics.streaming.v1.ButtonInitializedMessage value) {
value.getClass();
if (messageCase_ == 10 &&
message_ != com.streamlayer.analytics.streaming.v1.ButtonInitializedMessage.getDefaultInstance()) {
message_ = com.streamlayer.analytics.streaming.v1.ButtonInitializedMessage.newBuilder((com.streamlayer.analytics.streaming.v1.ButtonInitializedMessage) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
messageCase_ = 10;
}
/**
* .streamlayer.analytics.v2.streaming.ButtonInitializedMessage button_init = 10 [json_name = "buttonInit"];
*/
private void clearButtonInit() {
if (messageCase_ == 10) {
messageCase_ = 0;
message_ = null;
}
}
public static final int WAVES_FIELD_NUMBER = 11;
/**
* .streamlayer.analytics.v2.streaming.WavesMessage waves = 11 [json_name = "waves"];
*/
@java.lang.Override
public boolean hasWaves() {
return messageCase_ == 11;
}
/**
* .streamlayer.analytics.v2.streaming.WavesMessage waves = 11 [json_name = "waves"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.WavesMessage getWaves() {
if (messageCase_ == 11) {
return (com.streamlayer.analytics.streaming.v1.WavesMessage) message_;
}
return com.streamlayer.analytics.streaming.v1.WavesMessage.getDefaultInstance();
}
/**
* .streamlayer.analytics.v2.streaming.WavesMessage waves = 11 [json_name = "waves"];
*/
private void setWaves(com.streamlayer.analytics.streaming.v1.WavesMessage value) {
value.getClass();
message_ = value;
messageCase_ = 11;
}
/**
* .streamlayer.analytics.v2.streaming.WavesMessage waves = 11 [json_name = "waves"];
*/
private void mergeWaves(com.streamlayer.analytics.streaming.v1.WavesMessage value) {
value.getClass();
if (messageCase_ == 11 &&
message_ != com.streamlayer.analytics.streaming.v1.WavesMessage.getDefaultInstance()) {
message_ = com.streamlayer.analytics.streaming.v1.WavesMessage.newBuilder((com.streamlayer.analytics.streaming.v1.WavesMessage) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
messageCase_ = 11;
}
/**
* .streamlayer.analytics.v2.streaming.WavesMessage waves = 11 [json_name = "waves"];
*/
private void clearWaves() {
if (messageCase_ == 11) {
messageCase_ = 0;
message_ = null;
}
}
public static final int HEARTBEAT_FIELD_NUMBER = 12;
/**
* .streamlayer.analytics.v2.streaming.HeartbeatMessage heartbeat = 12 [json_name = "heartbeat"];
*/
@java.lang.Override
public boolean hasHeartbeat() {
return messageCase_ == 12;
}
/**
* .streamlayer.analytics.v2.streaming.HeartbeatMessage heartbeat = 12 [json_name = "heartbeat"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.HeartbeatMessage getHeartbeat() {
if (messageCase_ == 12) {
return (com.streamlayer.analytics.streaming.v1.HeartbeatMessage) message_;
}
return com.streamlayer.analytics.streaming.v1.HeartbeatMessage.getDefaultInstance();
}
/**
* .streamlayer.analytics.v2.streaming.HeartbeatMessage heartbeat = 12 [json_name = "heartbeat"];
*/
private void setHeartbeat(com.streamlayer.analytics.streaming.v1.HeartbeatMessage value) {
value.getClass();
message_ = value;
messageCase_ = 12;
}
/**
* .streamlayer.analytics.v2.streaming.HeartbeatMessage heartbeat = 12 [json_name = "heartbeat"];
*/
private void mergeHeartbeat(com.streamlayer.analytics.streaming.v1.HeartbeatMessage value) {
value.getClass();
if (messageCase_ == 12 &&
message_ != com.streamlayer.analytics.streaming.v1.HeartbeatMessage.getDefaultInstance()) {
message_ = com.streamlayer.analytics.streaming.v1.HeartbeatMessage.newBuilder((com.streamlayer.analytics.streaming.v1.HeartbeatMessage) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
messageCase_ = 12;
}
/**
* .streamlayer.analytics.v2.streaming.HeartbeatMessage heartbeat = 12 [json_name = "heartbeat"];
*/
private void clearHeartbeat() {
if (messageCase_ == 12) {
messageCase_ = 0;
message_ = null;
}
}
public static final int GAMES_FIELD_NUMBER = 13;
/**
* .streamlayer.analytics.v2.streaming.GamesMessage games = 13 [json_name = "games"];
*/
@java.lang.Override
public boolean hasGames() {
return messageCase_ == 13;
}
/**
* .streamlayer.analytics.v2.streaming.GamesMessage games = 13 [json_name = "games"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.GamesMessage getGames() {
if (messageCase_ == 13) {
return (com.streamlayer.analytics.streaming.v1.GamesMessage) message_;
}
return com.streamlayer.analytics.streaming.v1.GamesMessage.getDefaultInstance();
}
/**
* .streamlayer.analytics.v2.streaming.GamesMessage games = 13 [json_name = "games"];
*/
private void setGames(com.streamlayer.analytics.streaming.v1.GamesMessage value) {
value.getClass();
message_ = value;
messageCase_ = 13;
}
/**
* .streamlayer.analytics.v2.streaming.GamesMessage games = 13 [json_name = "games"];
*/
private void mergeGames(com.streamlayer.analytics.streaming.v1.GamesMessage value) {
value.getClass();
if (messageCase_ == 13 &&
message_ != com.streamlayer.analytics.streaming.v1.GamesMessage.getDefaultInstance()) {
message_ = com.streamlayer.analytics.streaming.v1.GamesMessage.newBuilder((com.streamlayer.analytics.streaming.v1.GamesMessage) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
messageCase_ = 13;
}
/**
* .streamlayer.analytics.v2.streaming.GamesMessage games = 13 [json_name = "games"];
*/
private void clearGames() {
if (messageCase_ == 13) {
messageCase_ = 0;
message_ = null;
}
}
public static final int LOGIN_FIELD_NUMBER = 14;
/**
* .streamlayer.analytics.v2.streaming.Login login = 14 [json_name = "login"];
*/
@java.lang.Override
public boolean hasLogin() {
return messageCase_ == 14;
}
/**
* .streamlayer.analytics.v2.streaming.Login login = 14 [json_name = "login"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.Login getLogin() {
if (messageCase_ == 14) {
return (com.streamlayer.analytics.streaming.v1.Login) message_;
}
return com.streamlayer.analytics.streaming.v1.Login.getDefaultInstance();
}
/**
* .streamlayer.analytics.v2.streaming.Login login = 14 [json_name = "login"];
*/
private void setLogin(com.streamlayer.analytics.streaming.v1.Login value) {
value.getClass();
message_ = value;
messageCase_ = 14;
}
/**
* .streamlayer.analytics.v2.streaming.Login login = 14 [json_name = "login"];
*/
private void mergeLogin(com.streamlayer.analytics.streaming.v1.Login value) {
value.getClass();
if (messageCase_ == 14 &&
message_ != com.streamlayer.analytics.streaming.v1.Login.getDefaultInstance()) {
message_ = com.streamlayer.analytics.streaming.v1.Login.newBuilder((com.streamlayer.analytics.streaming.v1.Login) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
messageCase_ = 14;
}
/**
* .streamlayer.analytics.v2.streaming.Login login = 14 [json_name = "login"];
*/
private void clearLogin() {
if (messageCase_ == 14) {
messageCase_ = 0;
message_ = null;
}
}
public static final int LOGOUT_FIELD_NUMBER = 15;
/**
* .streamlayer.analytics.v2.streaming.Logout logout = 15 [json_name = "logout"];
*/
@java.lang.Override
public boolean hasLogout() {
return messageCase_ == 15;
}
/**
* .streamlayer.analytics.v2.streaming.Logout logout = 15 [json_name = "logout"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.Logout getLogout() {
if (messageCase_ == 15) {
return (com.streamlayer.analytics.streaming.v1.Logout) message_;
}
return com.streamlayer.analytics.streaming.v1.Logout.getDefaultInstance();
}
/**
* .streamlayer.analytics.v2.streaming.Logout logout = 15 [json_name = "logout"];
*/
private void setLogout(com.streamlayer.analytics.streaming.v1.Logout value) {
value.getClass();
message_ = value;
messageCase_ = 15;
}
/**
* .streamlayer.analytics.v2.streaming.Logout logout = 15 [json_name = "logout"];
*/
private void mergeLogout(com.streamlayer.analytics.streaming.v1.Logout value) {
value.getClass();
if (messageCase_ == 15 &&
message_ != com.streamlayer.analytics.streaming.v1.Logout.getDefaultInstance()) {
message_ = com.streamlayer.analytics.streaming.v1.Logout.newBuilder((com.streamlayer.analytics.streaming.v1.Logout) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
messageCase_ = 15;
}
/**
* .streamlayer.analytics.v2.streaming.Logout logout = 15 [json_name = "logout"];
*/
private void clearLogout() {
if (messageCase_ == 15) {
messageCase_ = 0;
message_ = null;
}
}
public static final int EXTRA_FIELD_NUMBER = 100;
private com.streamlayer.analytics.streaming.v1.SendExtra extra_;
/**
* .streamlayer.analytics.v2.streaming.SendExtra extra = 100 [json_name = "extra"];
*/
@java.lang.Override
public boolean hasExtra() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.analytics.v2.streaming.SendExtra extra = 100 [json_name = "extra"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.SendExtra getExtra() {
return extra_ == null ? com.streamlayer.analytics.streaming.v1.SendExtra.getDefaultInstance() : extra_;
}
/**
* .streamlayer.analytics.v2.streaming.SendExtra extra = 100 [json_name = "extra"];
*/
private void setExtra(com.streamlayer.analytics.streaming.v1.SendExtra value) {
value.getClass();
extra_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.analytics.v2.streaming.SendExtra extra = 100 [json_name = "extra"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeExtra(com.streamlayer.analytics.streaming.v1.SendExtra value) {
value.getClass();
if (extra_ != null &&
extra_ != com.streamlayer.analytics.streaming.v1.SendExtra.getDefaultInstance()) {
extra_ =
com.streamlayer.analytics.streaming.v1.SendExtra.newBuilder(extra_).mergeFrom(value).buildPartial();
} else {
extra_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.analytics.v2.streaming.SendExtra extra = 100 [json_name = "extra"];
*/
private void clearExtra() { extra_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.analytics.streaming.v1.SendRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.streaming.v1.SendRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.analytics.streaming.v1.SendRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.streaming.v1.SendRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.analytics.streaming.v1.SendRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.streaming.v1.SendRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.analytics.streaming.v1.SendRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.streaming.v1.SendRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.analytics.streaming.v1.SendRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.streaming.v1.SendRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.analytics.streaming.v1.SendRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.streaming.v1.SendRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.streamlayer.analytics.streaming.v1.SendRequest prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* when opening the connection we expect headers to be present
* string device_id = 6;
* string os = 7;
* string user_agent = 8;
* string sl_sdk_version = 9;
* uint64 user_id = 2; -- through JWT
* string user_id_str = 14; -- through JWT
*
*
* Protobuf type {@code streamlayer.analytics.v2.streaming.SendRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.analytics.streaming.v1.SendRequest, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.analytics.v2.streaming.SendRequest)
com.streamlayer.analytics.streaming.v1.SendRequestOrBuilder {
// Construct using com.streamlayer.analytics.streaming.v1.SendRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public MessageCase
getMessageCase() {
return instance.getMessageCase();
}
public Builder clearMessage() {
copyOnWrite();
instance.clearMessage();
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendAuthenticationsMessage auth = 1 [json_name = "auth"];
*/
@java.lang.Override
public boolean hasAuth() {
return instance.hasAuth();
}
/**
* .streamlayer.analytics.v2.streaming.SendAuthenticationsMessage auth = 1 [json_name = "auth"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.SendAuthenticationsMessage getAuth() {
return instance.getAuth();
}
/**
* .streamlayer.analytics.v2.streaming.SendAuthenticationsMessage auth = 1 [json_name = "auth"];
*/
public Builder setAuth(com.streamlayer.analytics.streaming.v1.SendAuthenticationsMessage value) {
copyOnWrite();
instance.setAuth(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendAuthenticationsMessage auth = 1 [json_name = "auth"];
*/
public Builder setAuth(
com.streamlayer.analytics.streaming.v1.SendAuthenticationsMessage.Builder builderForValue) {
copyOnWrite();
instance.setAuth(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendAuthenticationsMessage auth = 1 [json_name = "auth"];
*/
public Builder mergeAuth(com.streamlayer.analytics.streaming.v1.SendAuthenticationsMessage value) {
copyOnWrite();
instance.mergeAuth(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendAuthenticationsMessage auth = 1 [json_name = "auth"];
*/
public Builder clearAuth() {
copyOnWrite();
instance.clearAuth();
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendCallsMessage call = 2 [json_name = "call"];
*/
@java.lang.Override
public boolean hasCall() {
return instance.hasCall();
}
/**
* .streamlayer.analytics.v2.streaming.SendCallsMessage call = 2 [json_name = "call"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.SendCallsMessage getCall() {
return instance.getCall();
}
/**
* .streamlayer.analytics.v2.streaming.SendCallsMessage call = 2 [json_name = "call"];
*/
public Builder setCall(com.streamlayer.analytics.streaming.v1.SendCallsMessage value) {
copyOnWrite();
instance.setCall(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendCallsMessage call = 2 [json_name = "call"];
*/
public Builder setCall(
com.streamlayer.analytics.streaming.v1.SendCallsMessage.Builder builderForValue) {
copyOnWrite();
instance.setCall(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendCallsMessage call = 2 [json_name = "call"];
*/
public Builder mergeCall(com.streamlayer.analytics.streaming.v1.SendCallsMessage value) {
copyOnWrite();
instance.mergeCall(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendCallsMessage call = 2 [json_name = "call"];
*/
public Builder clearCall() {
copyOnWrite();
instance.clearCall();
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendConversationsMessage conversations = 3 [json_name = "conversations"];
*/
@java.lang.Override
public boolean hasConversations() {
return instance.hasConversations();
}
/**
* .streamlayer.analytics.v2.streaming.SendConversationsMessage conversations = 3 [json_name = "conversations"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.SendConversationsMessage getConversations() {
return instance.getConversations();
}
/**
* .streamlayer.analytics.v2.streaming.SendConversationsMessage conversations = 3 [json_name = "conversations"];
*/
public Builder setConversations(com.streamlayer.analytics.streaming.v1.SendConversationsMessage value) {
copyOnWrite();
instance.setConversations(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendConversationsMessage conversations = 3 [json_name = "conversations"];
*/
public Builder setConversations(
com.streamlayer.analytics.streaming.v1.SendConversationsMessage.Builder builderForValue) {
copyOnWrite();
instance.setConversations(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendConversationsMessage conversations = 3 [json_name = "conversations"];
*/
public Builder mergeConversations(com.streamlayer.analytics.streaming.v1.SendConversationsMessage value) {
copyOnWrite();
instance.mergeConversations(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendConversationsMessage conversations = 3 [json_name = "conversations"];
*/
public Builder clearConversations() {
copyOnWrite();
instance.clearConversations();
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendInteractionsMessage interactions = 4 [json_name = "interactions"];
*/
@java.lang.Override
public boolean hasInteractions() {
return instance.hasInteractions();
}
/**
* .streamlayer.analytics.v2.streaming.SendInteractionsMessage interactions = 4 [json_name = "interactions"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.SendInteractionsMessage getInteractions() {
return instance.getInteractions();
}
/**
* .streamlayer.analytics.v2.streaming.SendInteractionsMessage interactions = 4 [json_name = "interactions"];
*/
public Builder setInteractions(com.streamlayer.analytics.streaming.v1.SendInteractionsMessage value) {
copyOnWrite();
instance.setInteractions(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendInteractionsMessage interactions = 4 [json_name = "interactions"];
*/
public Builder setInteractions(
com.streamlayer.analytics.streaming.v1.SendInteractionsMessage.Builder builderForValue) {
copyOnWrite();
instance.setInteractions(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendInteractionsMessage interactions = 4 [json_name = "interactions"];
*/
public Builder mergeInteractions(com.streamlayer.analytics.streaming.v1.SendInteractionsMessage value) {
copyOnWrite();
instance.mergeInteractions(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendInteractionsMessage interactions = 4 [json_name = "interactions"];
*/
public Builder clearInteractions() {
copyOnWrite();
instance.clearInteractions();
return this;
}
/**
* .streamlayer.analytics.v2.streaming.EventOpenedMessage event_opened = 5 [json_name = "eventOpened"];
*/
@java.lang.Override
public boolean hasEventOpened() {
return instance.hasEventOpened();
}
/**
* .streamlayer.analytics.v2.streaming.EventOpenedMessage event_opened = 5 [json_name = "eventOpened"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.EventOpenedMessage getEventOpened() {
return instance.getEventOpened();
}
/**
* .streamlayer.analytics.v2.streaming.EventOpenedMessage event_opened = 5 [json_name = "eventOpened"];
*/
public Builder setEventOpened(com.streamlayer.analytics.streaming.v1.EventOpenedMessage value) {
copyOnWrite();
instance.setEventOpened(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.EventOpenedMessage event_opened = 5 [json_name = "eventOpened"];
*/
public Builder setEventOpened(
com.streamlayer.analytics.streaming.v1.EventOpenedMessage.Builder builderForValue) {
copyOnWrite();
instance.setEventOpened(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.streaming.EventOpenedMessage event_opened = 5 [json_name = "eventOpened"];
*/
public Builder mergeEventOpened(com.streamlayer.analytics.streaming.v1.EventOpenedMessage value) {
copyOnWrite();
instance.mergeEventOpened(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.EventOpenedMessage event_opened = 5 [json_name = "eventOpened"];
*/
public Builder clearEventOpened() {
copyOnWrite();
instance.clearEventOpened();
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendInvitationsMessage invitation = 6 [json_name = "invitation"];
*/
@java.lang.Override
public boolean hasInvitation() {
return instance.hasInvitation();
}
/**
* .streamlayer.analytics.v2.streaming.SendInvitationsMessage invitation = 6 [json_name = "invitation"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.SendInvitationsMessage getInvitation() {
return instance.getInvitation();
}
/**
* .streamlayer.analytics.v2.streaming.SendInvitationsMessage invitation = 6 [json_name = "invitation"];
*/
public Builder setInvitation(com.streamlayer.analytics.streaming.v1.SendInvitationsMessage value) {
copyOnWrite();
instance.setInvitation(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendInvitationsMessage invitation = 6 [json_name = "invitation"];
*/
public Builder setInvitation(
com.streamlayer.analytics.streaming.v1.SendInvitationsMessage.Builder builderForValue) {
copyOnWrite();
instance.setInvitation(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendInvitationsMessage invitation = 6 [json_name = "invitation"];
*/
public Builder mergeInvitation(com.streamlayer.analytics.streaming.v1.SendInvitationsMessage value) {
copyOnWrite();
instance.mergeInvitation(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendInvitationsMessage invitation = 6 [json_name = "invitation"];
*/
public Builder clearInvitation() {
copyOnWrite();
instance.clearInvitation();
return this;
}
/**
* .streamlayer.analytics.v2.streaming.LaunchButtonMessage launch_button = 7 [json_name = "launchButton"];
*/
@java.lang.Override
public boolean hasLaunchButton() {
return instance.hasLaunchButton();
}
/**
* .streamlayer.analytics.v2.streaming.LaunchButtonMessage launch_button = 7 [json_name = "launchButton"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.LaunchButtonMessage getLaunchButton() {
return instance.getLaunchButton();
}
/**
* .streamlayer.analytics.v2.streaming.LaunchButtonMessage launch_button = 7 [json_name = "launchButton"];
*/
public Builder setLaunchButton(com.streamlayer.analytics.streaming.v1.LaunchButtonMessage value) {
copyOnWrite();
instance.setLaunchButton(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.LaunchButtonMessage launch_button = 7 [json_name = "launchButton"];
*/
public Builder setLaunchButton(
com.streamlayer.analytics.streaming.v1.LaunchButtonMessage.Builder builderForValue) {
copyOnWrite();
instance.setLaunchButton(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.streaming.LaunchButtonMessage launch_button = 7 [json_name = "launchButton"];
*/
public Builder mergeLaunchButton(com.streamlayer.analytics.streaming.v1.LaunchButtonMessage value) {
copyOnWrite();
instance.mergeLaunchButton(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.LaunchButtonMessage launch_button = 7 [json_name = "launchButton"];
*/
public Builder clearLaunchButton() {
copyOnWrite();
instance.clearLaunchButton();
return this;
}
/**
* .streamlayer.analytics.v2.streaming.NotificationMessage notification = 8 [json_name = "notification"];
*/
@java.lang.Override
public boolean hasNotification() {
return instance.hasNotification();
}
/**
* .streamlayer.analytics.v2.streaming.NotificationMessage notification = 8 [json_name = "notification"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.NotificationMessage getNotification() {
return instance.getNotification();
}
/**
* .streamlayer.analytics.v2.streaming.NotificationMessage notification = 8 [json_name = "notification"];
*/
public Builder setNotification(com.streamlayer.analytics.streaming.v1.NotificationMessage value) {
copyOnWrite();
instance.setNotification(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.NotificationMessage notification = 8 [json_name = "notification"];
*/
public Builder setNotification(
com.streamlayer.analytics.streaming.v1.NotificationMessage.Builder builderForValue) {
copyOnWrite();
instance.setNotification(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.streaming.NotificationMessage notification = 8 [json_name = "notification"];
*/
public Builder mergeNotification(com.streamlayer.analytics.streaming.v1.NotificationMessage value) {
copyOnWrite();
instance.mergeNotification(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.NotificationMessage notification = 8 [json_name = "notification"];
*/
public Builder clearNotification() {
copyOnWrite();
instance.clearNotification();
return this;
}
/**
* .streamlayer.analytics.v2.streaming.PermissionMessage permission = 9 [json_name = "permission"];
*/
@java.lang.Override
public boolean hasPermission() {
return instance.hasPermission();
}
/**
* .streamlayer.analytics.v2.streaming.PermissionMessage permission = 9 [json_name = "permission"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.PermissionMessage getPermission() {
return instance.getPermission();
}
/**
* .streamlayer.analytics.v2.streaming.PermissionMessage permission = 9 [json_name = "permission"];
*/
public Builder setPermission(com.streamlayer.analytics.streaming.v1.PermissionMessage value) {
copyOnWrite();
instance.setPermission(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.PermissionMessage permission = 9 [json_name = "permission"];
*/
public Builder setPermission(
com.streamlayer.analytics.streaming.v1.PermissionMessage.Builder builderForValue) {
copyOnWrite();
instance.setPermission(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.streaming.PermissionMessage permission = 9 [json_name = "permission"];
*/
public Builder mergePermission(com.streamlayer.analytics.streaming.v1.PermissionMessage value) {
copyOnWrite();
instance.mergePermission(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.PermissionMessage permission = 9 [json_name = "permission"];
*/
public Builder clearPermission() {
copyOnWrite();
instance.clearPermission();
return this;
}
/**
* .streamlayer.analytics.v2.streaming.ButtonInitializedMessage button_init = 10 [json_name = "buttonInit"];
*/
@java.lang.Override
public boolean hasButtonInit() {
return instance.hasButtonInit();
}
/**
* .streamlayer.analytics.v2.streaming.ButtonInitializedMessage button_init = 10 [json_name = "buttonInit"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.ButtonInitializedMessage getButtonInit() {
return instance.getButtonInit();
}
/**
* .streamlayer.analytics.v2.streaming.ButtonInitializedMessage button_init = 10 [json_name = "buttonInit"];
*/
public Builder setButtonInit(com.streamlayer.analytics.streaming.v1.ButtonInitializedMessage value) {
copyOnWrite();
instance.setButtonInit(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.ButtonInitializedMessage button_init = 10 [json_name = "buttonInit"];
*/
public Builder setButtonInit(
com.streamlayer.analytics.streaming.v1.ButtonInitializedMessage.Builder builderForValue) {
copyOnWrite();
instance.setButtonInit(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.streaming.ButtonInitializedMessage button_init = 10 [json_name = "buttonInit"];
*/
public Builder mergeButtonInit(com.streamlayer.analytics.streaming.v1.ButtonInitializedMessage value) {
copyOnWrite();
instance.mergeButtonInit(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.ButtonInitializedMessage button_init = 10 [json_name = "buttonInit"];
*/
public Builder clearButtonInit() {
copyOnWrite();
instance.clearButtonInit();
return this;
}
/**
* .streamlayer.analytics.v2.streaming.WavesMessage waves = 11 [json_name = "waves"];
*/
@java.lang.Override
public boolean hasWaves() {
return instance.hasWaves();
}
/**
* .streamlayer.analytics.v2.streaming.WavesMessage waves = 11 [json_name = "waves"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.WavesMessage getWaves() {
return instance.getWaves();
}
/**
* .streamlayer.analytics.v2.streaming.WavesMessage waves = 11 [json_name = "waves"];
*/
public Builder setWaves(com.streamlayer.analytics.streaming.v1.WavesMessage value) {
copyOnWrite();
instance.setWaves(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.WavesMessage waves = 11 [json_name = "waves"];
*/
public Builder setWaves(
com.streamlayer.analytics.streaming.v1.WavesMessage.Builder builderForValue) {
copyOnWrite();
instance.setWaves(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.streaming.WavesMessage waves = 11 [json_name = "waves"];
*/
public Builder mergeWaves(com.streamlayer.analytics.streaming.v1.WavesMessage value) {
copyOnWrite();
instance.mergeWaves(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.WavesMessage waves = 11 [json_name = "waves"];
*/
public Builder clearWaves() {
copyOnWrite();
instance.clearWaves();
return this;
}
/**
* .streamlayer.analytics.v2.streaming.HeartbeatMessage heartbeat = 12 [json_name = "heartbeat"];
*/
@java.lang.Override
public boolean hasHeartbeat() {
return instance.hasHeartbeat();
}
/**
* .streamlayer.analytics.v2.streaming.HeartbeatMessage heartbeat = 12 [json_name = "heartbeat"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.HeartbeatMessage getHeartbeat() {
return instance.getHeartbeat();
}
/**
* .streamlayer.analytics.v2.streaming.HeartbeatMessage heartbeat = 12 [json_name = "heartbeat"];
*/
public Builder setHeartbeat(com.streamlayer.analytics.streaming.v1.HeartbeatMessage value) {
copyOnWrite();
instance.setHeartbeat(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.HeartbeatMessage heartbeat = 12 [json_name = "heartbeat"];
*/
public Builder setHeartbeat(
com.streamlayer.analytics.streaming.v1.HeartbeatMessage.Builder builderForValue) {
copyOnWrite();
instance.setHeartbeat(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.streaming.HeartbeatMessage heartbeat = 12 [json_name = "heartbeat"];
*/
public Builder mergeHeartbeat(com.streamlayer.analytics.streaming.v1.HeartbeatMessage value) {
copyOnWrite();
instance.mergeHeartbeat(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.HeartbeatMessage heartbeat = 12 [json_name = "heartbeat"];
*/
public Builder clearHeartbeat() {
copyOnWrite();
instance.clearHeartbeat();
return this;
}
/**
* .streamlayer.analytics.v2.streaming.GamesMessage games = 13 [json_name = "games"];
*/
@java.lang.Override
public boolean hasGames() {
return instance.hasGames();
}
/**
* .streamlayer.analytics.v2.streaming.GamesMessage games = 13 [json_name = "games"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.GamesMessage getGames() {
return instance.getGames();
}
/**
* .streamlayer.analytics.v2.streaming.GamesMessage games = 13 [json_name = "games"];
*/
public Builder setGames(com.streamlayer.analytics.streaming.v1.GamesMessage value) {
copyOnWrite();
instance.setGames(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.GamesMessage games = 13 [json_name = "games"];
*/
public Builder setGames(
com.streamlayer.analytics.streaming.v1.GamesMessage.Builder builderForValue) {
copyOnWrite();
instance.setGames(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.streaming.GamesMessage games = 13 [json_name = "games"];
*/
public Builder mergeGames(com.streamlayer.analytics.streaming.v1.GamesMessage value) {
copyOnWrite();
instance.mergeGames(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.GamesMessage games = 13 [json_name = "games"];
*/
public Builder clearGames() {
copyOnWrite();
instance.clearGames();
return this;
}
/**
* .streamlayer.analytics.v2.streaming.Login login = 14 [json_name = "login"];
*/
@java.lang.Override
public boolean hasLogin() {
return instance.hasLogin();
}
/**
* .streamlayer.analytics.v2.streaming.Login login = 14 [json_name = "login"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.Login getLogin() {
return instance.getLogin();
}
/**
* .streamlayer.analytics.v2.streaming.Login login = 14 [json_name = "login"];
*/
public Builder setLogin(com.streamlayer.analytics.streaming.v1.Login value) {
copyOnWrite();
instance.setLogin(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.Login login = 14 [json_name = "login"];
*/
public Builder setLogin(
com.streamlayer.analytics.streaming.v1.Login.Builder builderForValue) {
copyOnWrite();
instance.setLogin(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.streaming.Login login = 14 [json_name = "login"];
*/
public Builder mergeLogin(com.streamlayer.analytics.streaming.v1.Login value) {
copyOnWrite();
instance.mergeLogin(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.Login login = 14 [json_name = "login"];
*/
public Builder clearLogin() {
copyOnWrite();
instance.clearLogin();
return this;
}
/**
* .streamlayer.analytics.v2.streaming.Logout logout = 15 [json_name = "logout"];
*/
@java.lang.Override
public boolean hasLogout() {
return instance.hasLogout();
}
/**
* .streamlayer.analytics.v2.streaming.Logout logout = 15 [json_name = "logout"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.Logout getLogout() {
return instance.getLogout();
}
/**
* .streamlayer.analytics.v2.streaming.Logout logout = 15 [json_name = "logout"];
*/
public Builder setLogout(com.streamlayer.analytics.streaming.v1.Logout value) {
copyOnWrite();
instance.setLogout(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.Logout logout = 15 [json_name = "logout"];
*/
public Builder setLogout(
com.streamlayer.analytics.streaming.v1.Logout.Builder builderForValue) {
copyOnWrite();
instance.setLogout(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.streaming.Logout logout = 15 [json_name = "logout"];
*/
public Builder mergeLogout(com.streamlayer.analytics.streaming.v1.Logout value) {
copyOnWrite();
instance.mergeLogout(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.Logout logout = 15 [json_name = "logout"];
*/
public Builder clearLogout() {
copyOnWrite();
instance.clearLogout();
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendExtra extra = 100 [json_name = "extra"];
*/
@java.lang.Override
public boolean hasExtra() {
return instance.hasExtra();
}
/**
* .streamlayer.analytics.v2.streaming.SendExtra extra = 100 [json_name = "extra"];
*/
@java.lang.Override
public com.streamlayer.analytics.streaming.v1.SendExtra getExtra() {
return instance.getExtra();
}
/**
* .streamlayer.analytics.v2.streaming.SendExtra extra = 100 [json_name = "extra"];
*/
public Builder setExtra(com.streamlayer.analytics.streaming.v1.SendExtra value) {
copyOnWrite();
instance.setExtra(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendExtra extra = 100 [json_name = "extra"];
*/
public Builder setExtra(
com.streamlayer.analytics.streaming.v1.SendExtra.Builder builderForValue) {
copyOnWrite();
instance.setExtra(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendExtra extra = 100 [json_name = "extra"];
*/
public Builder mergeExtra(com.streamlayer.analytics.streaming.v1.SendExtra value) {
copyOnWrite();
instance.mergeExtra(value);
return this;
}
/**
* .streamlayer.analytics.v2.streaming.SendExtra extra = 100 [json_name = "extra"];
*/
public Builder clearExtra() { copyOnWrite();
instance.clearExtra();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.analytics.v2.streaming.SendRequest)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.streamlayer.analytics.streaming.v1.SendRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"message_",
"messageCase_",
"bitField0_",
com.streamlayer.analytics.streaming.v1.SendAuthenticationsMessage.class,
com.streamlayer.analytics.streaming.v1.SendCallsMessage.class,
com.streamlayer.analytics.streaming.v1.SendConversationsMessage.class,
com.streamlayer.analytics.streaming.v1.SendInteractionsMessage.class,
com.streamlayer.analytics.streaming.v1.EventOpenedMessage.class,
com.streamlayer.analytics.streaming.v1.SendInvitationsMessage.class,
com.streamlayer.analytics.streaming.v1.LaunchButtonMessage.class,
com.streamlayer.analytics.streaming.v1.NotificationMessage.class,
com.streamlayer.analytics.streaming.v1.PermissionMessage.class,
com.streamlayer.analytics.streaming.v1.ButtonInitializedMessage.class,
com.streamlayer.analytics.streaming.v1.WavesMessage.class,
com.streamlayer.analytics.streaming.v1.HeartbeatMessage.class,
com.streamlayer.analytics.streaming.v1.GamesMessage.class,
com.streamlayer.analytics.streaming.v1.Login.class,
com.streamlayer.analytics.streaming.v1.Logout.class,
"extra_",
};
java.lang.String info =
"\u0000\u0010\u0001\u0001\u0001d\u0010\u0000\u0000\u0000\u0001<\u0000\u0002<\u0000" +
"\u0003<\u0000\u0004<\u0000\u0005<\u0000\u0006<\u0000\u0007<\u0000\b<\u0000\t<\u0000" +
"\n<\u0000\u000b<\u0000\f<\u0000\r<\u0000\u000e<\u0000\u000f<\u0000d\u1009\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.analytics.streaming.v1.SendRequest.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:streamlayer.analytics.v2.streaming.SendRequest)
private static final com.streamlayer.analytics.streaming.v1.SendRequest DEFAULT_INSTANCE;
static {
SendRequest defaultInstance = new SendRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SendRequest.class, defaultInstance);
}
public static com.streamlayer.analytics.streaming.v1.SendRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}