Class SendRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<SendRequest,SendRequest.Builder>
-
- com.streamlayer.analytics.streaming.v1.SendRequest
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,SendRequestOrBuilder
public final class SendRequest extends com.google.protobuf.GeneratedMessageLite<SendRequest,SendRequest.Builder> implements SendRequestOrBuilder
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 typestreamlayer.analytics.v2.streaming.SendRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSendRequest.Builderwhen 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 JWTstatic classSendRequest.MessageCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTH_FIELD_NUMBERstatic intBUTTON_INIT_FIELD_NUMBERstatic intCALL_FIELD_NUMBERstatic intCONVERSATIONS_FIELD_NUMBERstatic intEVENT_OPENED_FIELD_NUMBERstatic intEXTRA_FIELD_NUMBERstatic intGAMES_FIELD_NUMBERstatic intHEARTBEAT_FIELD_NUMBERstatic intINTERACTIONS_FIELD_NUMBERstatic intINVITATION_FIELD_NUMBERstatic intLAUNCH_BUTTON_FIELD_NUMBERstatic intLOGIN_FIELD_NUMBERstatic intLOGOUT_FIELD_NUMBERstatic intNOTIFICATION_FIELD_NUMBERstatic intPERMISSION_FIELD_NUMBERstatic intWAVES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)SendAuthenticationsMessagegetAuth().streamlayer.analytics.v2.streaming.SendAuthenticationsMessage auth = 1 [json_name = "auth"];ButtonInitializedMessagegetButtonInit().streamlayer.analytics.v2.streaming.ButtonInitializedMessage button_init = 10 [json_name = "buttonInit"];SendCallsMessagegetCall().streamlayer.analytics.v2.streaming.SendCallsMessage call = 2 [json_name = "call"];SendConversationsMessagegetConversations().streamlayer.analytics.v2.streaming.SendConversationsMessage conversations = 3 [json_name = "conversations"];static SendRequestgetDefaultInstance()EventOpenedMessagegetEventOpened().streamlayer.analytics.v2.streaming.EventOpenedMessage event_opened = 5 [json_name = "eventOpened"];SendExtragetExtra().streamlayer.analytics.v2.streaming.SendExtra extra = 100 [json_name = "extra"];GamesMessagegetGames().streamlayer.analytics.v2.streaming.GamesMessage games = 13 [json_name = "games"];HeartbeatMessagegetHeartbeat().streamlayer.analytics.v2.streaming.HeartbeatMessage heartbeat = 12 [json_name = "heartbeat"];SendInteractionsMessagegetInteractions().streamlayer.analytics.v2.streaming.SendInteractionsMessage interactions = 4 [json_name = "interactions"];SendInvitationsMessagegetInvitation().streamlayer.analytics.v2.streaming.SendInvitationsMessage invitation = 6 [json_name = "invitation"];LaunchButtonMessagegetLaunchButton().streamlayer.analytics.v2.streaming.LaunchButtonMessage launch_button = 7 [json_name = "launchButton"];LogingetLogin().streamlayer.analytics.v2.streaming.Login login = 14 [json_name = "login"];LogoutgetLogout().streamlayer.analytics.v2.streaming.Logout logout = 15 [json_name = "logout"];SendRequest.MessageCasegetMessageCase()NotificationMessagegetNotification().streamlayer.analytics.v2.streaming.NotificationMessage notification = 8 [json_name = "notification"];PermissionMessagegetPermission().streamlayer.analytics.v2.streaming.PermissionMessage permission = 9 [json_name = "permission"];WavesMessagegetWaves().streamlayer.analytics.v2.streaming.WavesMessage waves = 11 [json_name = "waves"];booleanhasAuth().streamlayer.analytics.v2.streaming.SendAuthenticationsMessage auth = 1 [json_name = "auth"];booleanhasButtonInit().streamlayer.analytics.v2.streaming.ButtonInitializedMessage button_init = 10 [json_name = "buttonInit"];booleanhasCall().streamlayer.analytics.v2.streaming.SendCallsMessage call = 2 [json_name = "call"];booleanhasConversations().streamlayer.analytics.v2.streaming.SendConversationsMessage conversations = 3 [json_name = "conversations"];booleanhasEventOpened().streamlayer.analytics.v2.streaming.EventOpenedMessage event_opened = 5 [json_name = "eventOpened"];booleanhasExtra().streamlayer.analytics.v2.streaming.SendExtra extra = 100 [json_name = "extra"];booleanhasGames().streamlayer.analytics.v2.streaming.GamesMessage games = 13 [json_name = "games"];booleanhasHeartbeat().streamlayer.analytics.v2.streaming.HeartbeatMessage heartbeat = 12 [json_name = "heartbeat"];booleanhasInteractions().streamlayer.analytics.v2.streaming.SendInteractionsMessage interactions = 4 [json_name = "interactions"];booleanhasInvitation().streamlayer.analytics.v2.streaming.SendInvitationsMessage invitation = 6 [json_name = "invitation"];booleanhasLaunchButton().streamlayer.analytics.v2.streaming.LaunchButtonMessage launch_button = 7 [json_name = "launchButton"];booleanhasLogin().streamlayer.analytics.v2.streaming.Login login = 14 [json_name = "login"];booleanhasLogout().streamlayer.analytics.v2.streaming.Logout logout = 15 [json_name = "logout"];booleanhasNotification().streamlayer.analytics.v2.streaming.NotificationMessage notification = 8 [json_name = "notification"];booleanhasPermission().streamlayer.analytics.v2.streaming.PermissionMessage permission = 9 [json_name = "permission"];booleanhasWaves().streamlayer.analytics.v2.streaming.WavesMessage waves = 11 [json_name = "waves"];static SendRequest.BuildernewBuilder()static SendRequest.BuildernewBuilder(SendRequest prototype)static SendRequestparseDelimitedFrom(java.io.InputStream input)static SendRequestparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SendRequestparseFrom(byte[] data)static SendRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SendRequestparseFrom(com.google.protobuf.ByteString data)static SendRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SendRequestparseFrom(com.google.protobuf.CodedInputStream input)static SendRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SendRequestparseFrom(java.io.InputStream input)static SendRequestparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SendRequestparseFrom(java.nio.ByteBuffer data)static SendRequestparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SendRequest>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
AUTH_FIELD_NUMBER
public static final int AUTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CALL_FIELD_NUMBER
public static final int CALL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONVERSATIONS_FIELD_NUMBER
public static final int CONVERSATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERACTIONS_FIELD_NUMBER
public static final int INTERACTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_OPENED_FIELD_NUMBER
public static final int EVENT_OPENED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INVITATION_FIELD_NUMBER
public static final int INVITATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAUNCH_BUTTON_FIELD_NUMBER
public static final int LAUNCH_BUTTON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOTIFICATION_FIELD_NUMBER
public static final int NOTIFICATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PERMISSION_FIELD_NUMBER
public static final int PERMISSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUTTON_INIT_FIELD_NUMBER
public static final int BUTTON_INIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WAVES_FIELD_NUMBER
public static final int WAVES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEARTBEAT_FIELD_NUMBER
public static final int HEARTBEAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GAMES_FIELD_NUMBER
public static final int GAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOGIN_FIELD_NUMBER
public static final int LOGIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOGOUT_FIELD_NUMBER
public static final int LOGOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTRA_FIELD_NUMBER
public static final int EXTRA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMessageCase
public SendRequest.MessageCase getMessageCase()
- Specified by:
getMessageCasein interfaceSendRequestOrBuilder
-
hasAuth
public boolean hasAuth()
.streamlayer.analytics.v2.streaming.SendAuthenticationsMessage auth = 1 [json_name = "auth"];- Specified by:
hasAuthin interfaceSendRequestOrBuilder- Returns:
- Whether the auth field is set.
-
getAuth
public SendAuthenticationsMessage getAuth()
.streamlayer.analytics.v2.streaming.SendAuthenticationsMessage auth = 1 [json_name = "auth"];- Specified by:
getAuthin interfaceSendRequestOrBuilder- Returns:
- The auth.
-
hasCall
public boolean hasCall()
.streamlayer.analytics.v2.streaming.SendCallsMessage call = 2 [json_name = "call"];- Specified by:
hasCallin interfaceSendRequestOrBuilder- Returns:
- Whether the call field is set.
-
getCall
public SendCallsMessage getCall()
.streamlayer.analytics.v2.streaming.SendCallsMessage call = 2 [json_name = "call"];- Specified by:
getCallin interfaceSendRequestOrBuilder- Returns:
- The call.
-
hasConversations
public boolean hasConversations()
.streamlayer.analytics.v2.streaming.SendConversationsMessage conversations = 3 [json_name = "conversations"];- Specified by:
hasConversationsin interfaceSendRequestOrBuilder- Returns:
- Whether the conversations field is set.
-
getConversations
public SendConversationsMessage getConversations()
.streamlayer.analytics.v2.streaming.SendConversationsMessage conversations = 3 [json_name = "conversations"];- Specified by:
getConversationsin interfaceSendRequestOrBuilder- Returns:
- The conversations.
-
hasInteractions
public boolean hasInteractions()
.streamlayer.analytics.v2.streaming.SendInteractionsMessage interactions = 4 [json_name = "interactions"];- Specified by:
hasInteractionsin interfaceSendRequestOrBuilder- Returns:
- Whether the interactions field is set.
-
getInteractions
public SendInteractionsMessage getInteractions()
.streamlayer.analytics.v2.streaming.SendInteractionsMessage interactions = 4 [json_name = "interactions"];- Specified by:
getInteractionsin interfaceSendRequestOrBuilder- Returns:
- The interactions.
-
hasEventOpened
public boolean hasEventOpened()
.streamlayer.analytics.v2.streaming.EventOpenedMessage event_opened = 5 [json_name = "eventOpened"];- Specified by:
hasEventOpenedin interfaceSendRequestOrBuilder- Returns:
- Whether the eventOpened field is set.
-
getEventOpened
public EventOpenedMessage getEventOpened()
.streamlayer.analytics.v2.streaming.EventOpenedMessage event_opened = 5 [json_name = "eventOpened"];- Specified by:
getEventOpenedin interfaceSendRequestOrBuilder- Returns:
- The eventOpened.
-
hasInvitation
public boolean hasInvitation()
.streamlayer.analytics.v2.streaming.SendInvitationsMessage invitation = 6 [json_name = "invitation"];- Specified by:
hasInvitationin interfaceSendRequestOrBuilder- Returns:
- Whether the invitation field is set.
-
getInvitation
public SendInvitationsMessage getInvitation()
.streamlayer.analytics.v2.streaming.SendInvitationsMessage invitation = 6 [json_name = "invitation"];- Specified by:
getInvitationin interfaceSendRequestOrBuilder- Returns:
- The invitation.
-
hasLaunchButton
public boolean hasLaunchButton()
.streamlayer.analytics.v2.streaming.LaunchButtonMessage launch_button = 7 [json_name = "launchButton"];- Specified by:
hasLaunchButtonin interfaceSendRequestOrBuilder- Returns:
- Whether the launchButton field is set.
-
getLaunchButton
public LaunchButtonMessage getLaunchButton()
.streamlayer.analytics.v2.streaming.LaunchButtonMessage launch_button = 7 [json_name = "launchButton"];- Specified by:
getLaunchButtonin interfaceSendRequestOrBuilder- Returns:
- The launchButton.
-
hasNotification
public boolean hasNotification()
.streamlayer.analytics.v2.streaming.NotificationMessage notification = 8 [json_name = "notification"];- Specified by:
hasNotificationin interfaceSendRequestOrBuilder- Returns:
- Whether the notification field is set.
-
getNotification
public NotificationMessage getNotification()
.streamlayer.analytics.v2.streaming.NotificationMessage notification = 8 [json_name = "notification"];- Specified by:
getNotificationin interfaceSendRequestOrBuilder- Returns:
- The notification.
-
hasPermission
public boolean hasPermission()
.streamlayer.analytics.v2.streaming.PermissionMessage permission = 9 [json_name = "permission"];- Specified by:
hasPermissionin interfaceSendRequestOrBuilder- Returns:
- Whether the permission field is set.
-
getPermission
public PermissionMessage getPermission()
.streamlayer.analytics.v2.streaming.PermissionMessage permission = 9 [json_name = "permission"];- Specified by:
getPermissionin interfaceSendRequestOrBuilder- Returns:
- The permission.
-
hasButtonInit
public boolean hasButtonInit()
.streamlayer.analytics.v2.streaming.ButtonInitializedMessage button_init = 10 [json_name = "buttonInit"];- Specified by:
hasButtonInitin interfaceSendRequestOrBuilder- Returns:
- Whether the buttonInit field is set.
-
getButtonInit
public ButtonInitializedMessage getButtonInit()
.streamlayer.analytics.v2.streaming.ButtonInitializedMessage button_init = 10 [json_name = "buttonInit"];- Specified by:
getButtonInitin interfaceSendRequestOrBuilder- Returns:
- The buttonInit.
-
hasWaves
public boolean hasWaves()
.streamlayer.analytics.v2.streaming.WavesMessage waves = 11 [json_name = "waves"];- Specified by:
hasWavesin interfaceSendRequestOrBuilder- Returns:
- Whether the waves field is set.
-
getWaves
public WavesMessage getWaves()
.streamlayer.analytics.v2.streaming.WavesMessage waves = 11 [json_name = "waves"];- Specified by:
getWavesin interfaceSendRequestOrBuilder- Returns:
- The waves.
-
hasHeartbeat
public boolean hasHeartbeat()
.streamlayer.analytics.v2.streaming.HeartbeatMessage heartbeat = 12 [json_name = "heartbeat"];- Specified by:
hasHeartbeatin interfaceSendRequestOrBuilder- Returns:
- Whether the heartbeat field is set.
-
getHeartbeat
public HeartbeatMessage getHeartbeat()
.streamlayer.analytics.v2.streaming.HeartbeatMessage heartbeat = 12 [json_name = "heartbeat"];- Specified by:
getHeartbeatin interfaceSendRequestOrBuilder- Returns:
- The heartbeat.
-
hasGames
public boolean hasGames()
.streamlayer.analytics.v2.streaming.GamesMessage games = 13 [json_name = "games"];- Specified by:
hasGamesin interfaceSendRequestOrBuilder- Returns:
- Whether the games field is set.
-
getGames
public GamesMessage getGames()
.streamlayer.analytics.v2.streaming.GamesMessage games = 13 [json_name = "games"];- Specified by:
getGamesin interfaceSendRequestOrBuilder- Returns:
- The games.
-
hasLogin
public boolean hasLogin()
.streamlayer.analytics.v2.streaming.Login login = 14 [json_name = "login"];- Specified by:
hasLoginin interfaceSendRequestOrBuilder- Returns:
- Whether the login field is set.
-
getLogin
public Login getLogin()
.streamlayer.analytics.v2.streaming.Login login = 14 [json_name = "login"];- Specified by:
getLoginin interfaceSendRequestOrBuilder- Returns:
- The login.
-
hasLogout
public boolean hasLogout()
.streamlayer.analytics.v2.streaming.Logout logout = 15 [json_name = "logout"];- Specified by:
hasLogoutin interfaceSendRequestOrBuilder- Returns:
- Whether the logout field is set.
-
getLogout
public Logout getLogout()
.streamlayer.analytics.v2.streaming.Logout logout = 15 [json_name = "logout"];- Specified by:
getLogoutin interfaceSendRequestOrBuilder- Returns:
- The logout.
-
hasExtra
public boolean hasExtra()
.streamlayer.analytics.v2.streaming.SendExtra extra = 100 [json_name = "extra"];- Specified by:
hasExtrain interfaceSendRequestOrBuilder- Returns:
- Whether the extra field is set.
-
getExtra
public SendExtra getExtra()
.streamlayer.analytics.v2.streaming.SendExtra extra = 100 [json_name = "extra"];- Specified by:
getExtrain interfaceSendRequestOrBuilder- Returns:
- The extra.
-
parseFrom
public static SendRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendRequest parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SendRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static SendRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static SendRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SendRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SendRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static SendRequest.Builder newBuilder()
-
newBuilder
public static SendRequest.Builder newBuilder(SendRequest prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<SendRequest,SendRequest.Builder>
-
getDefaultInstance
public static SendRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SendRequest> parser()
-
-