main.java.com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest 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/v1/authentications/authentications.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.analytics.authentications.v1;
/**
* Protobuf type {@code streamlayer.analytics.v1.authentications.SendAuthenticationsRequest}
*/
public final class SendAuthenticationsRequest extends
com.google.protobuf.GeneratedMessageLite<
SendAuthenticationsRequest, SendAuthenticationsRequest.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.analytics.v1.authentications.SendAuthenticationsRequest)
SendAuthenticationsRequestOrBuilder {
private SendAuthenticationsRequest() {
data_ = emptyProtobufList();
}
public interface CreateRequestDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* sports event id
*
*
* uint64 event_id = 1 [json_name = "eventId"];
* @return The eventId.
*/
long getEventId();
/**
*
* user id
*
*
* uint64 user_id = 2 [json_name = "userId"];
* @return The userId.
*/
long getUserId();
/**
*
* kind: KIND_AUTHENTICATION_ATTEMPTED, KIND_AUTHENTICATION_COMPLETED
*
*
* .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
* @return The enum numeric value on the wire for kind.
*/
int getKindValue();
/**
*
* kind: KIND_AUTHENTICATION_ATTEMPTED, KIND_AUTHENTICATION_COMPLETED
*
*
* .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
* @return The kind.
*/
com.streamlayer.analytics.common.v1.Kind getKind();
/**
*
* track timestamp
*
*
* .google.protobuf.Timestamp track_timestamp = 4 [json_name = "trackTimestamp"];
* @return Whether the trackTimestamp field is set.
*/
boolean hasTrackTimestamp();
/**
*
* track timestamp
*
*
* .google.protobuf.Timestamp track_timestamp = 4 [json_name = "trackTimestamp"];
* @return The trackTimestamp.
*/
com.google.protobuf.Timestamp getTrackTimestamp();
/**
*
* route map
*
*
* string route_map = 5 [json_name = "routeMap"];
* @return The routeMap.
*/
java.lang.String getRouteMap();
/**
*
* route map
*
*
* string route_map = 5 [json_name = "routeMap"];
* @return The bytes for routeMap.
*/
com.google.protobuf.ByteString
getRouteMapBytes();
/**
*
* device id
*
*
* string device_id = 6 [json_name = "deviceId"];
* @return The deviceId.
*/
java.lang.String getDeviceId();
/**
*
* device id
*
*
* string device_id = 6 [json_name = "deviceId"];
* @return The bytes for deviceId.
*/
com.google.protobuf.ByteString
getDeviceIdBytes();
/**
*
* operating system
*
*
* string os = 7 [json_name = "os"];
* @return The os.
*/
java.lang.String getOs();
/**
*
* operating system
*
*
* string os = 7 [json_name = "os"];
* @return The bytes for os.
*/
com.google.protobuf.ByteString
getOsBytes();
/**
*
* user agent
*
*
* string user_agent = 8 [json_name = "userAgent"];
* @return The userAgent.
*/
java.lang.String getUserAgent();
/**
*
* user agent
*
*
* string user_agent = 8 [json_name = "userAgent"];
* @return The bytes for userAgent.
*/
com.google.protobuf.ByteString
getUserAgentBytes();
/**
*
* sdk version
*
*
* string sl_sdk_version = 9 [json_name = "slSdkVersion"];
* @return The slSdkVersion.
*/
java.lang.String getSlSdkVersion();
/**
*
* sdk version
*
*
* string sl_sdk_version = 9 [json_name = "slSdkVersion"];
* @return The bytes for slSdkVersion.
*/
com.google.protobuf.ByteString
getSlSdkVersionBytes();
/**
*
* session id
*
*
* string session_id = 10 [json_name = "sessionId"];
* @return The sessionId.
*/
java.lang.String getSessionId();
/**
*
* session id
*
*
* string session_id = 10 [json_name = "sessionId"];
* @return The bytes for sessionId.
*/
com.google.protobuf.ByteString
getSessionIdBytes();
/**
*
* overlay_session id
*
*
* string overlay_session_id = 12 [json_name = "overlaySessionId"];
* @return The overlaySessionId.
*/
java.lang.String getOverlaySessionId();
/**
*
* overlay_session id
*
*
* string overlay_session_id = 12 [json_name = "overlaySessionId"];
* @return The bytes for overlaySessionId.
*/
com.google.protobuf.ByteString
getOverlaySessionIdBytes();
/**
*
* topic id
*
*
* string topic_id = 13 [json_name = "topicId"];
* @return The topicId.
*/
java.lang.String getTopicId();
/**
*
* topic id
*
*
* string topic_id = 13 [json_name = "topicId"];
* @return The bytes for topicId.
*/
com.google.protobuf.ByteString
getTopicIdBytes();
/**
*
* user id as String
*
*
* string user_id_str = 14 [json_name = "userIdStr"];
* @return The userIdStr.
*/
java.lang.String getUserIdStr();
/**
*
* user id as String
*
*
* string user_id_str = 14 [json_name = "userIdStr"];
* @return The bytes for userIdStr.
*/
com.google.protobuf.ByteString
getUserIdStrBytes();
/**
*
* topic type
*
*
* .streamlayer.analytics.v1.common.TopicType topic_type = 16 [json_name = "topicType"];
* @return The enum numeric value on the wire for topicType.
*/
int getTopicTypeValue();
/**
*
* topic type
*
*
* .streamlayer.analytics.v1.common.TopicType topic_type = 16 [json_name = "topicType"];
* @return The topicType.
*/
com.streamlayer.analytics.common.v1.TopicType getTopicType();
/**
* .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 15 [json_name = "screenOrientation"];
* @return The enum numeric value on the wire for screenOrientation.
*/
int getScreenOrientationValue();
/**
* .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 15 [json_name = "screenOrientation"];
* @return The screenOrientation.
*/
com.streamlayer.analytics.common.v1.ScreenOrientation getScreenOrientation();
}
/**
* Protobuf type {@code streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData}
*/
public static final class CreateRequestData extends
com.google.protobuf.GeneratedMessageLite<
CreateRequestData, CreateRequestData.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData)
CreateRequestDataOrBuilder {
private CreateRequestData() {
routeMap_ = "";
deviceId_ = "";
os_ = "";
userAgent_ = "";
slSdkVersion_ = "";
sessionId_ = "";
overlaySessionId_ = "";
topicId_ = "";
userIdStr_ = "";
}
private int bitField0_;
public static final int EVENT_ID_FIELD_NUMBER = 1;
private long eventId_;
/**
*
* sports event id
*
*
* uint64 event_id = 1 [json_name = "eventId"];
* @return The eventId.
*/
@java.lang.Override
public long getEventId() {
return eventId_;
}
/**
*
* sports event id
*
*
* uint64 event_id = 1 [json_name = "eventId"];
* @param value The eventId to set.
*/
private void setEventId(long value) {
eventId_ = value;
}
/**
*
* sports event id
*
*
* uint64 event_id = 1 [json_name = "eventId"];
*/
private void clearEventId() {
eventId_ = 0L;
}
public static final int USER_ID_FIELD_NUMBER = 2;
private long userId_;
/**
*
* user id
*
*
* uint64 user_id = 2 [json_name = "userId"];
* @return The userId.
*/
@java.lang.Override
public long getUserId() {
return userId_;
}
/**
*
* user id
*
*
* uint64 user_id = 2 [json_name = "userId"];
* @param value The userId to set.
*/
private void setUserId(long value) {
userId_ = value;
}
/**
*
* user id
*
*
* uint64 user_id = 2 [json_name = "userId"];
*/
private void clearUserId() {
userId_ = 0L;
}
public static final int KIND_FIELD_NUMBER = 3;
private int kind_;
/**
*
* kind: KIND_AUTHENTICATION_ATTEMPTED, KIND_AUTHENTICATION_COMPLETED
*
*
* .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
* @return The enum numeric value on the wire for kind.
*/
@java.lang.Override
public int getKindValue() {
return kind_;
}
/**
*
* kind: KIND_AUTHENTICATION_ATTEMPTED, KIND_AUTHENTICATION_COMPLETED
*
*
* .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
* @return The kind.
*/
@java.lang.Override
public com.streamlayer.analytics.common.v1.Kind getKind() {
com.streamlayer.analytics.common.v1.Kind result = com.streamlayer.analytics.common.v1.Kind.forNumber(kind_);
return result == null ? com.streamlayer.analytics.common.v1.Kind.UNRECOGNIZED : result;
}
/**
*
* kind: KIND_AUTHENTICATION_ATTEMPTED, KIND_AUTHENTICATION_COMPLETED
*
*
* .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
* @param value The enum numeric value on the wire for kind to set.
*/
private void setKindValue(int value) {
kind_ = value;
}
/**
*
* kind: KIND_AUTHENTICATION_ATTEMPTED, KIND_AUTHENTICATION_COMPLETED
*
*
* .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
* @param value The kind to set.
*/
private void setKind(com.streamlayer.analytics.common.v1.Kind value) {
kind_ = value.getNumber();
}
/**
*
* kind: KIND_AUTHENTICATION_ATTEMPTED, KIND_AUTHENTICATION_COMPLETED
*
*
* .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
*/
private void clearKind() {
kind_ = 0;
}
public static final int TRACK_TIMESTAMP_FIELD_NUMBER = 4;
private com.google.protobuf.Timestamp trackTimestamp_;
/**
*
* track timestamp
*
*
* .google.protobuf.Timestamp track_timestamp = 4 [json_name = "trackTimestamp"];
*/
@java.lang.Override
public boolean hasTrackTimestamp() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* track timestamp
*
*
* .google.protobuf.Timestamp track_timestamp = 4 [json_name = "trackTimestamp"];
*/
@java.lang.Override
public com.google.protobuf.Timestamp getTrackTimestamp() {
return trackTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : trackTimestamp_;
}
/**
*
* track timestamp
*
*
* .google.protobuf.Timestamp track_timestamp = 4 [json_name = "trackTimestamp"];
*/
private void setTrackTimestamp(com.google.protobuf.Timestamp value) {
value.getClass();
trackTimestamp_ = value;
bitField0_ |= 0x00000001;
}
/**
*
* track timestamp
*
*
* .google.protobuf.Timestamp track_timestamp = 4 [json_name = "trackTimestamp"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeTrackTimestamp(com.google.protobuf.Timestamp value) {
value.getClass();
if (trackTimestamp_ != null &&
trackTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
trackTimestamp_ =
com.google.protobuf.Timestamp.newBuilder(trackTimestamp_).mergeFrom(value).buildPartial();
} else {
trackTimestamp_ = value;
}
bitField0_ |= 0x00000001;
}
/**
*
* track timestamp
*
*
* .google.protobuf.Timestamp track_timestamp = 4 [json_name = "trackTimestamp"];
*/
private void clearTrackTimestamp() { trackTimestamp_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int ROUTE_MAP_FIELD_NUMBER = 5;
private java.lang.String routeMap_;
/**
*
* route map
*
*
* string route_map = 5 [json_name = "routeMap"];
* @return The routeMap.
*/
@java.lang.Override
public java.lang.String getRouteMap() {
return routeMap_;
}
/**
*
* route map
*
*
* string route_map = 5 [json_name = "routeMap"];
* @return The bytes for routeMap.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRouteMapBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(routeMap_);
}
/**
*
* route map
*
*
* string route_map = 5 [json_name = "routeMap"];
* @param value The routeMap to set.
*/
private void setRouteMap(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
routeMap_ = value;
}
/**
*
* route map
*
*
* string route_map = 5 [json_name = "routeMap"];
*/
private void clearRouteMap() {
routeMap_ = getDefaultInstance().getRouteMap();
}
/**
*
* route map
*
*
* string route_map = 5 [json_name = "routeMap"];
* @param value The bytes for routeMap to set.
*/
private void setRouteMapBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
routeMap_ = value.toStringUtf8();
}
public static final int DEVICE_ID_FIELD_NUMBER = 6;
private java.lang.String deviceId_;
/**
*
* device id
*
*
* string device_id = 6 [json_name = "deviceId"];
* @return The deviceId.
*/
@java.lang.Override
public java.lang.String getDeviceId() {
return deviceId_;
}
/**
*
* device id
*
*
* string device_id = 6 [json_name = "deviceId"];
* @return The bytes for deviceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDeviceIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(deviceId_);
}
/**
*
* device id
*
*
* string device_id = 6 [json_name = "deviceId"];
* @param value The deviceId to set.
*/
private void setDeviceId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
deviceId_ = value;
}
/**
*
* device id
*
*
* string device_id = 6 [json_name = "deviceId"];
*/
private void clearDeviceId() {
deviceId_ = getDefaultInstance().getDeviceId();
}
/**
*
* device id
*
*
* string device_id = 6 [json_name = "deviceId"];
* @param value The bytes for deviceId to set.
*/
private void setDeviceIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
deviceId_ = value.toStringUtf8();
}
public static final int OS_FIELD_NUMBER = 7;
private java.lang.String os_;
/**
*
* operating system
*
*
* string os = 7 [json_name = "os"];
* @return The os.
*/
@java.lang.Override
public java.lang.String getOs() {
return os_;
}
/**
*
* operating system
*
*
* string os = 7 [json_name = "os"];
* @return The bytes for os.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOsBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(os_);
}
/**
*
* operating system
*
*
* string os = 7 [json_name = "os"];
* @param value The os to set.
*/
private void setOs(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
os_ = value;
}
/**
*
* operating system
*
*
* string os = 7 [json_name = "os"];
*/
private void clearOs() {
os_ = getDefaultInstance().getOs();
}
/**
*
* operating system
*
*
* string os = 7 [json_name = "os"];
* @param value The bytes for os to set.
*/
private void setOsBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
os_ = value.toStringUtf8();
}
public static final int USER_AGENT_FIELD_NUMBER = 8;
private java.lang.String userAgent_;
/**
*
* user agent
*
*
* string user_agent = 8 [json_name = "userAgent"];
* @return The userAgent.
*/
@java.lang.Override
public java.lang.String getUserAgent() {
return userAgent_;
}
/**
*
* user agent
*
*
* string user_agent = 8 [json_name = "userAgent"];
* @return The bytes for userAgent.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserAgentBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(userAgent_);
}
/**
*
* user agent
*
*
* string user_agent = 8 [json_name = "userAgent"];
* @param value The userAgent to set.
*/
private void setUserAgent(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
userAgent_ = value;
}
/**
*
* user agent
*
*
* string user_agent = 8 [json_name = "userAgent"];
*/
private void clearUserAgent() {
userAgent_ = getDefaultInstance().getUserAgent();
}
/**
*
* user agent
*
*
* string user_agent = 8 [json_name = "userAgent"];
* @param value The bytes for userAgent to set.
*/
private void setUserAgentBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
userAgent_ = value.toStringUtf8();
}
public static final int SL_SDK_VERSION_FIELD_NUMBER = 9;
private java.lang.String slSdkVersion_;
/**
*
* sdk version
*
*
* string sl_sdk_version = 9 [json_name = "slSdkVersion"];
* @return The slSdkVersion.
*/
@java.lang.Override
public java.lang.String getSlSdkVersion() {
return slSdkVersion_;
}
/**
*
* sdk version
*
*
* string sl_sdk_version = 9 [json_name = "slSdkVersion"];
* @return The bytes for slSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSlSdkVersionBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(slSdkVersion_);
}
/**
*
* sdk version
*
*
* string sl_sdk_version = 9 [json_name = "slSdkVersion"];
* @param value The slSdkVersion to set.
*/
private void setSlSdkVersion(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
slSdkVersion_ = value;
}
/**
*
* sdk version
*
*
* string sl_sdk_version = 9 [json_name = "slSdkVersion"];
*/
private void clearSlSdkVersion() {
slSdkVersion_ = getDefaultInstance().getSlSdkVersion();
}
/**
*
* sdk version
*
*
* string sl_sdk_version = 9 [json_name = "slSdkVersion"];
* @param value The bytes for slSdkVersion to set.
*/
private void setSlSdkVersionBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
slSdkVersion_ = value.toStringUtf8();
}
public static final int SESSION_ID_FIELD_NUMBER = 10;
private java.lang.String sessionId_;
/**
*
* session id
*
*
* string session_id = 10 [json_name = "sessionId"];
* @return The sessionId.
*/
@java.lang.Override
public java.lang.String getSessionId() {
return sessionId_;
}
/**
*
* session id
*
*
* string session_id = 10 [json_name = "sessionId"];
* @return The bytes for sessionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSessionIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(sessionId_);
}
/**
*
* session id
*
*
* string session_id = 10 [json_name = "sessionId"];
* @param value The sessionId to set.
*/
private void setSessionId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
sessionId_ = value;
}
/**
*
* session id
*
*
* string session_id = 10 [json_name = "sessionId"];
*/
private void clearSessionId() {
sessionId_ = getDefaultInstance().getSessionId();
}
/**
*
* session id
*
*
* string session_id = 10 [json_name = "sessionId"];
* @param value The bytes for sessionId to set.
*/
private void setSessionIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
sessionId_ = value.toStringUtf8();
}
public static final int OVERLAY_SESSION_ID_FIELD_NUMBER = 12;
private java.lang.String overlaySessionId_;
/**
*
* overlay_session id
*
*
* string overlay_session_id = 12 [json_name = "overlaySessionId"];
* @return The overlaySessionId.
*/
@java.lang.Override
public java.lang.String getOverlaySessionId() {
return overlaySessionId_;
}
/**
*
* overlay_session id
*
*
* string overlay_session_id = 12 [json_name = "overlaySessionId"];
* @return The bytes for overlaySessionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOverlaySessionIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(overlaySessionId_);
}
/**
*
* overlay_session id
*
*
* string overlay_session_id = 12 [json_name = "overlaySessionId"];
* @param value The overlaySessionId to set.
*/
private void setOverlaySessionId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
overlaySessionId_ = value;
}
/**
*
* overlay_session id
*
*
* string overlay_session_id = 12 [json_name = "overlaySessionId"];
*/
private void clearOverlaySessionId() {
overlaySessionId_ = getDefaultInstance().getOverlaySessionId();
}
/**
*
* overlay_session id
*
*
* string overlay_session_id = 12 [json_name = "overlaySessionId"];
* @param value The bytes for overlaySessionId to set.
*/
private void setOverlaySessionIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
overlaySessionId_ = value.toStringUtf8();
}
public static final int TOPIC_ID_FIELD_NUMBER = 13;
private java.lang.String topicId_;
/**
*
* topic id
*
*
* string topic_id = 13 [json_name = "topicId"];
* @return The topicId.
*/
@java.lang.Override
public java.lang.String getTopicId() {
return topicId_;
}
/**
*
* topic id
*
*
* string topic_id = 13 [json_name = "topicId"];
* @return The bytes for topicId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTopicIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(topicId_);
}
/**
*
* topic id
*
*
* string topic_id = 13 [json_name = "topicId"];
* @param value The topicId to set.
*/
private void setTopicId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
topicId_ = value;
}
/**
*
* topic id
*
*
* string topic_id = 13 [json_name = "topicId"];
*/
private void clearTopicId() {
topicId_ = getDefaultInstance().getTopicId();
}
/**
*
* topic id
*
*
* string topic_id = 13 [json_name = "topicId"];
* @param value The bytes for topicId to set.
*/
private void setTopicIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
topicId_ = value.toStringUtf8();
}
public static final int USER_ID_STR_FIELD_NUMBER = 14;
private java.lang.String userIdStr_;
/**
*
* user id as String
*
*
* string user_id_str = 14 [json_name = "userIdStr"];
* @return The userIdStr.
*/
@java.lang.Override
public java.lang.String getUserIdStr() {
return userIdStr_;
}
/**
*
* user id as String
*
*
* string user_id_str = 14 [json_name = "userIdStr"];
* @return The bytes for userIdStr.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserIdStrBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(userIdStr_);
}
/**
*
* user id as String
*
*
* string user_id_str = 14 [json_name = "userIdStr"];
* @param value The userIdStr to set.
*/
private void setUserIdStr(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
userIdStr_ = value;
}
/**
*
* user id as String
*
*
* string user_id_str = 14 [json_name = "userIdStr"];
*/
private void clearUserIdStr() {
userIdStr_ = getDefaultInstance().getUserIdStr();
}
/**
*
* user id as String
*
*
* string user_id_str = 14 [json_name = "userIdStr"];
* @param value The bytes for userIdStr to set.
*/
private void setUserIdStrBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
userIdStr_ = value.toStringUtf8();
}
public static final int TOPIC_TYPE_FIELD_NUMBER = 16;
private int topicType_;
/**
*
* topic type
*
*
* .streamlayer.analytics.v1.common.TopicType topic_type = 16 [json_name = "topicType"];
* @return The enum numeric value on the wire for topicType.
*/
@java.lang.Override
public int getTopicTypeValue() {
return topicType_;
}
/**
*
* topic type
*
*
* .streamlayer.analytics.v1.common.TopicType topic_type = 16 [json_name = "topicType"];
* @return The topicType.
*/
@java.lang.Override
public com.streamlayer.analytics.common.v1.TopicType getTopicType() {
com.streamlayer.analytics.common.v1.TopicType result = com.streamlayer.analytics.common.v1.TopicType.forNumber(topicType_);
return result == null ? com.streamlayer.analytics.common.v1.TopicType.UNRECOGNIZED : result;
}
/**
*
* topic type
*
*
* .streamlayer.analytics.v1.common.TopicType topic_type = 16 [json_name = "topicType"];
* @param value The enum numeric value on the wire for topicType to set.
*/
private void setTopicTypeValue(int value) {
topicType_ = value;
}
/**
*
* topic type
*
*
* .streamlayer.analytics.v1.common.TopicType topic_type = 16 [json_name = "topicType"];
* @param value The topicType to set.
*/
private void setTopicType(com.streamlayer.analytics.common.v1.TopicType value) {
topicType_ = value.getNumber();
}
/**
*
* topic type
*
*
* .streamlayer.analytics.v1.common.TopicType topic_type = 16 [json_name = "topicType"];
*/
private void clearTopicType() {
topicType_ = 0;
}
public static final int SCREEN_ORIENTATION_FIELD_NUMBER = 15;
private int screenOrientation_;
/**
* .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 15 [json_name = "screenOrientation"];
* @return The enum numeric value on the wire for screenOrientation.
*/
@java.lang.Override
public int getScreenOrientationValue() {
return screenOrientation_;
}
/**
* .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 15 [json_name = "screenOrientation"];
* @return The screenOrientation.
*/
@java.lang.Override
public com.streamlayer.analytics.common.v1.ScreenOrientation getScreenOrientation() {
com.streamlayer.analytics.common.v1.ScreenOrientation result = com.streamlayer.analytics.common.v1.ScreenOrientation.forNumber(screenOrientation_);
return result == null ? com.streamlayer.analytics.common.v1.ScreenOrientation.UNRECOGNIZED : result;
}
/**
* .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 15 [json_name = "screenOrientation"];
* @param value The enum numeric value on the wire for screenOrientation to set.
*/
private void setScreenOrientationValue(int value) {
screenOrientation_ = value;
}
/**
* .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 15 [json_name = "screenOrientation"];
* @param value The screenOrientation to set.
*/
private void setScreenOrientation(com.streamlayer.analytics.common.v1.ScreenOrientation value) {
screenOrientation_ = value.getNumber();
}
/**
* .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 15 [json_name = "screenOrientation"];
*/
private void clearScreenOrientation() {
screenOrientation_ = 0;
}
public static com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData 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.authentications.v1.SendAuthenticationsRequest.CreateRequestData 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.authentications.v1.SendAuthenticationsRequest.CreateRequestData 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.authentications.v1.SendAuthenticationsRequest.CreateRequestData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData 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.authentications.v1.SendAuthenticationsRequest.CreateRequestData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData 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.authentications.v1.SendAuthenticationsRequest.CreateRequestData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData 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.authentications.v1.SendAuthenticationsRequest.CreateRequestData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData 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.authentications.v1.SendAuthenticationsRequest.CreateRequestData prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData)
com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestDataOrBuilder {
// Construct using com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* sports event id
*
*
* uint64 event_id = 1 [json_name = "eventId"];
* @return The eventId.
*/
@java.lang.Override
public long getEventId() {
return instance.getEventId();
}
/**
*
* sports event id
*
*
* uint64 event_id = 1 [json_name = "eventId"];
* @param value The eventId to set.
* @return This builder for chaining.
*/
public Builder setEventId(long value) {
copyOnWrite();
instance.setEventId(value);
return this;
}
/**
*
* sports event id
*
*
* uint64 event_id = 1 [json_name = "eventId"];
* @return This builder for chaining.
*/
public Builder clearEventId() {
copyOnWrite();
instance.clearEventId();
return this;
}
/**
*
* user id
*
*
* uint64 user_id = 2 [json_name = "userId"];
* @return The userId.
*/
@java.lang.Override
public long getUserId() {
return instance.getUserId();
}
/**
*
* user id
*
*
* uint64 user_id = 2 [json_name = "userId"];
* @param value The userId to set.
* @return This builder for chaining.
*/
public Builder setUserId(long value) {
copyOnWrite();
instance.setUserId(value);
return this;
}
/**
*
* user id
*
*
* uint64 user_id = 2 [json_name = "userId"];
* @return This builder for chaining.
*/
public Builder clearUserId() {
copyOnWrite();
instance.clearUserId();
return this;
}
/**
*
* kind: KIND_AUTHENTICATION_ATTEMPTED, KIND_AUTHENTICATION_COMPLETED
*
*
* .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
* @return The enum numeric value on the wire for kind.
*/
@java.lang.Override
public int getKindValue() {
return instance.getKindValue();
}
/**
*
* kind: KIND_AUTHENTICATION_ATTEMPTED, KIND_AUTHENTICATION_COMPLETED
*
*
* .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
* @param value The kind to set.
* @return This builder for chaining.
*/
public Builder setKindValue(int value) {
copyOnWrite();
instance.setKindValue(value);
return this;
}
/**
*
* kind: KIND_AUTHENTICATION_ATTEMPTED, KIND_AUTHENTICATION_COMPLETED
*
*
* .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
* @return The kind.
*/
@java.lang.Override
public com.streamlayer.analytics.common.v1.Kind getKind() {
return instance.getKind();
}
/**
*
* kind: KIND_AUTHENTICATION_ATTEMPTED, KIND_AUTHENTICATION_COMPLETED
*
*
* .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
* @param value The enum numeric value on the wire for kind to set.
* @return This builder for chaining.
*/
public Builder setKind(com.streamlayer.analytics.common.v1.Kind value) {
copyOnWrite();
instance.setKind(value);
return this;
}
/**
*
* kind: KIND_AUTHENTICATION_ATTEMPTED, KIND_AUTHENTICATION_COMPLETED
*
*
* .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
* @return This builder for chaining.
*/
public Builder clearKind() {
copyOnWrite();
instance.clearKind();
return this;
}
/**
*
* track timestamp
*
*
* .google.protobuf.Timestamp track_timestamp = 4 [json_name = "trackTimestamp"];
*/
@java.lang.Override
public boolean hasTrackTimestamp() {
return instance.hasTrackTimestamp();
}
/**
*
* track timestamp
*
*
* .google.protobuf.Timestamp track_timestamp = 4 [json_name = "trackTimestamp"];
*/
@java.lang.Override
public com.google.protobuf.Timestamp getTrackTimestamp() {
return instance.getTrackTimestamp();
}
/**
*
* track timestamp
*
*
* .google.protobuf.Timestamp track_timestamp = 4 [json_name = "trackTimestamp"];
*/
public Builder setTrackTimestamp(com.google.protobuf.Timestamp value) {
copyOnWrite();
instance.setTrackTimestamp(value);
return this;
}
/**
*
* track timestamp
*
*
* .google.protobuf.Timestamp track_timestamp = 4 [json_name = "trackTimestamp"];
*/
public Builder setTrackTimestamp(
com.google.protobuf.Timestamp.Builder builderForValue) {
copyOnWrite();
instance.setTrackTimestamp(builderForValue.build());
return this;
}
/**
*
* track timestamp
*
*
* .google.protobuf.Timestamp track_timestamp = 4 [json_name = "trackTimestamp"];
*/
public Builder mergeTrackTimestamp(com.google.protobuf.Timestamp value) {
copyOnWrite();
instance.mergeTrackTimestamp(value);
return this;
}
/**
*
* track timestamp
*
*
* .google.protobuf.Timestamp track_timestamp = 4 [json_name = "trackTimestamp"];
*/
public Builder clearTrackTimestamp() { copyOnWrite();
instance.clearTrackTimestamp();
return this;
}
/**
*
* route map
*
*
* string route_map = 5 [json_name = "routeMap"];
* @return The routeMap.
*/
@java.lang.Override
public java.lang.String getRouteMap() {
return instance.getRouteMap();
}
/**
*
* route map
*
*
* string route_map = 5 [json_name = "routeMap"];
* @return The bytes for routeMap.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRouteMapBytes() {
return instance.getRouteMapBytes();
}
/**
*
* route map
*
*
* string route_map = 5 [json_name = "routeMap"];
* @param value The routeMap to set.
* @return This builder for chaining.
*/
public Builder setRouteMap(
java.lang.String value) {
copyOnWrite();
instance.setRouteMap(value);
return this;
}
/**
*
* route map
*
*
* string route_map = 5 [json_name = "routeMap"];
* @return This builder for chaining.
*/
public Builder clearRouteMap() {
copyOnWrite();
instance.clearRouteMap();
return this;
}
/**
*
* route map
*
*
* string route_map = 5 [json_name = "routeMap"];
* @param value The bytes for routeMap to set.
* @return This builder for chaining.
*/
public Builder setRouteMapBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setRouteMapBytes(value);
return this;
}
/**
*
* device id
*
*
* string device_id = 6 [json_name = "deviceId"];
* @return The deviceId.
*/
@java.lang.Override
public java.lang.String getDeviceId() {
return instance.getDeviceId();
}
/**
*
* device id
*
*
* string device_id = 6 [json_name = "deviceId"];
* @return The bytes for deviceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDeviceIdBytes() {
return instance.getDeviceIdBytes();
}
/**
*
* device id
*
*
* string device_id = 6 [json_name = "deviceId"];
* @param value The deviceId to set.
* @return This builder for chaining.
*/
public Builder setDeviceId(
java.lang.String value) {
copyOnWrite();
instance.setDeviceId(value);
return this;
}
/**
*
* device id
*
*
* string device_id = 6 [json_name = "deviceId"];
* @return This builder for chaining.
*/
public Builder clearDeviceId() {
copyOnWrite();
instance.clearDeviceId();
return this;
}
/**
*
* device id
*
*
* string device_id = 6 [json_name = "deviceId"];
* @param value The bytes for deviceId to set.
* @return This builder for chaining.
*/
public Builder setDeviceIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDeviceIdBytes(value);
return this;
}
/**
*
* operating system
*
*
* string os = 7 [json_name = "os"];
* @return The os.
*/
@java.lang.Override
public java.lang.String getOs() {
return instance.getOs();
}
/**
*
* operating system
*
*
* string os = 7 [json_name = "os"];
* @return The bytes for os.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOsBytes() {
return instance.getOsBytes();
}
/**
*
* operating system
*
*
* string os = 7 [json_name = "os"];
* @param value The os to set.
* @return This builder for chaining.
*/
public Builder setOs(
java.lang.String value) {
copyOnWrite();
instance.setOs(value);
return this;
}
/**
*
* operating system
*
*
* string os = 7 [json_name = "os"];
* @return This builder for chaining.
*/
public Builder clearOs() {
copyOnWrite();
instance.clearOs();
return this;
}
/**
*
* operating system
*
*
* string os = 7 [json_name = "os"];
* @param value The bytes for os to set.
* @return This builder for chaining.
*/
public Builder setOsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOsBytes(value);
return this;
}
/**
*
* user agent
*
*
* string user_agent = 8 [json_name = "userAgent"];
* @return The userAgent.
*/
@java.lang.Override
public java.lang.String getUserAgent() {
return instance.getUserAgent();
}
/**
*
* user agent
*
*
* string user_agent = 8 [json_name = "userAgent"];
* @return The bytes for userAgent.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserAgentBytes() {
return instance.getUserAgentBytes();
}
/**
*
* user agent
*
*
* string user_agent = 8 [json_name = "userAgent"];
* @param value The userAgent to set.
* @return This builder for chaining.
*/
public Builder setUserAgent(
java.lang.String value) {
copyOnWrite();
instance.setUserAgent(value);
return this;
}
/**
*
* user agent
*
*
* string user_agent = 8 [json_name = "userAgent"];
* @return This builder for chaining.
*/
public Builder clearUserAgent() {
copyOnWrite();
instance.clearUserAgent();
return this;
}
/**
*
* user agent
*
*
* string user_agent = 8 [json_name = "userAgent"];
* @param value The bytes for userAgent to set.
* @return This builder for chaining.
*/
public Builder setUserAgentBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setUserAgentBytes(value);
return this;
}
/**
*
* sdk version
*
*
* string sl_sdk_version = 9 [json_name = "slSdkVersion"];
* @return The slSdkVersion.
*/
@java.lang.Override
public java.lang.String getSlSdkVersion() {
return instance.getSlSdkVersion();
}
/**
*
* sdk version
*
*
* string sl_sdk_version = 9 [json_name = "slSdkVersion"];
* @return The bytes for slSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSlSdkVersionBytes() {
return instance.getSlSdkVersionBytes();
}
/**
*
* sdk version
*
*
* string sl_sdk_version = 9 [json_name = "slSdkVersion"];
* @param value The slSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setSlSdkVersion(
java.lang.String value) {
copyOnWrite();
instance.setSlSdkVersion(value);
return this;
}
/**
*
* sdk version
*
*
* string sl_sdk_version = 9 [json_name = "slSdkVersion"];
* @return This builder for chaining.
*/
public Builder clearSlSdkVersion() {
copyOnWrite();
instance.clearSlSdkVersion();
return this;
}
/**
*
* sdk version
*
*
* string sl_sdk_version = 9 [json_name = "slSdkVersion"];
* @param value The bytes for slSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setSlSdkVersionBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSlSdkVersionBytes(value);
return this;
}
/**
*
* session id
*
*
* string session_id = 10 [json_name = "sessionId"];
* @return The sessionId.
*/
@java.lang.Override
public java.lang.String getSessionId() {
return instance.getSessionId();
}
/**
*
* session id
*
*
* string session_id = 10 [json_name = "sessionId"];
* @return The bytes for sessionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSessionIdBytes() {
return instance.getSessionIdBytes();
}
/**
*
* session id
*
*
* string session_id = 10 [json_name = "sessionId"];
* @param value The sessionId to set.
* @return This builder for chaining.
*/
public Builder setSessionId(
java.lang.String value) {
copyOnWrite();
instance.setSessionId(value);
return this;
}
/**
*
* session id
*
*
* string session_id = 10 [json_name = "sessionId"];
* @return This builder for chaining.
*/
public Builder clearSessionId() {
copyOnWrite();
instance.clearSessionId();
return this;
}
/**
*
* session id
*
*
* string session_id = 10 [json_name = "sessionId"];
* @param value The bytes for sessionId to set.
* @return This builder for chaining.
*/
public Builder setSessionIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSessionIdBytes(value);
return this;
}
/**
*
* overlay_session id
*
*
* string overlay_session_id = 12 [json_name = "overlaySessionId"];
* @return The overlaySessionId.
*/
@java.lang.Override
public java.lang.String getOverlaySessionId() {
return instance.getOverlaySessionId();
}
/**
*
* overlay_session id
*
*
* string overlay_session_id = 12 [json_name = "overlaySessionId"];
* @return The bytes for overlaySessionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOverlaySessionIdBytes() {
return instance.getOverlaySessionIdBytes();
}
/**
*
* overlay_session id
*
*
* string overlay_session_id = 12 [json_name = "overlaySessionId"];
* @param value The overlaySessionId to set.
* @return This builder for chaining.
*/
public Builder setOverlaySessionId(
java.lang.String value) {
copyOnWrite();
instance.setOverlaySessionId(value);
return this;
}
/**
*
* overlay_session id
*
*
* string overlay_session_id = 12 [json_name = "overlaySessionId"];
* @return This builder for chaining.
*/
public Builder clearOverlaySessionId() {
copyOnWrite();
instance.clearOverlaySessionId();
return this;
}
/**
*
* overlay_session id
*
*
* string overlay_session_id = 12 [json_name = "overlaySessionId"];
* @param value The bytes for overlaySessionId to set.
* @return This builder for chaining.
*/
public Builder setOverlaySessionIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOverlaySessionIdBytes(value);
return this;
}
/**
*
* topic id
*
*
* string topic_id = 13 [json_name = "topicId"];
* @return The topicId.
*/
@java.lang.Override
public java.lang.String getTopicId() {
return instance.getTopicId();
}
/**
*
* topic id
*
*
* string topic_id = 13 [json_name = "topicId"];
* @return The bytes for topicId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTopicIdBytes() {
return instance.getTopicIdBytes();
}
/**
*
* topic id
*
*
* string topic_id = 13 [json_name = "topicId"];
* @param value The topicId to set.
* @return This builder for chaining.
*/
public Builder setTopicId(
java.lang.String value) {
copyOnWrite();
instance.setTopicId(value);
return this;
}
/**
*
* topic id
*
*
* string topic_id = 13 [json_name = "topicId"];
* @return This builder for chaining.
*/
public Builder clearTopicId() {
copyOnWrite();
instance.clearTopicId();
return this;
}
/**
*
* topic id
*
*
* string topic_id = 13 [json_name = "topicId"];
* @param value The bytes for topicId to set.
* @return This builder for chaining.
*/
public Builder setTopicIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTopicIdBytes(value);
return this;
}
/**
*
* user id as String
*
*
* string user_id_str = 14 [json_name = "userIdStr"];
* @return The userIdStr.
*/
@java.lang.Override
public java.lang.String getUserIdStr() {
return instance.getUserIdStr();
}
/**
*
* user id as String
*
*
* string user_id_str = 14 [json_name = "userIdStr"];
* @return The bytes for userIdStr.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserIdStrBytes() {
return instance.getUserIdStrBytes();
}
/**
*
* user id as String
*
*
* string user_id_str = 14 [json_name = "userIdStr"];
* @param value The userIdStr to set.
* @return This builder for chaining.
*/
public Builder setUserIdStr(
java.lang.String value) {
copyOnWrite();
instance.setUserIdStr(value);
return this;
}
/**
*
* user id as String
*
*
* string user_id_str = 14 [json_name = "userIdStr"];
* @return This builder for chaining.
*/
public Builder clearUserIdStr() {
copyOnWrite();
instance.clearUserIdStr();
return this;
}
/**
*
* user id as String
*
*
* string user_id_str = 14 [json_name = "userIdStr"];
* @param value The bytes for userIdStr to set.
* @return This builder for chaining.
*/
public Builder setUserIdStrBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setUserIdStrBytes(value);
return this;
}
/**
*
* topic type
*
*
* .streamlayer.analytics.v1.common.TopicType topic_type = 16 [json_name = "topicType"];
* @return The enum numeric value on the wire for topicType.
*/
@java.lang.Override
public int getTopicTypeValue() {
return instance.getTopicTypeValue();
}
/**
*
* topic type
*
*
* .streamlayer.analytics.v1.common.TopicType topic_type = 16 [json_name = "topicType"];
* @param value The topicType to set.
* @return This builder for chaining.
*/
public Builder setTopicTypeValue(int value) {
copyOnWrite();
instance.setTopicTypeValue(value);
return this;
}
/**
*
* topic type
*
*
* .streamlayer.analytics.v1.common.TopicType topic_type = 16 [json_name = "topicType"];
* @return The topicType.
*/
@java.lang.Override
public com.streamlayer.analytics.common.v1.TopicType getTopicType() {
return instance.getTopicType();
}
/**
*
* topic type
*
*
* .streamlayer.analytics.v1.common.TopicType topic_type = 16 [json_name = "topicType"];
* @param value The enum numeric value on the wire for topicType to set.
* @return This builder for chaining.
*/
public Builder setTopicType(com.streamlayer.analytics.common.v1.TopicType value) {
copyOnWrite();
instance.setTopicType(value);
return this;
}
/**
*
* topic type
*
*
* .streamlayer.analytics.v1.common.TopicType topic_type = 16 [json_name = "topicType"];
* @return This builder for chaining.
*/
public Builder clearTopicType() {
copyOnWrite();
instance.clearTopicType();
return this;
}
/**
* .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 15 [json_name = "screenOrientation"];
* @return The enum numeric value on the wire for screenOrientation.
*/
@java.lang.Override
public int getScreenOrientationValue() {
return instance.getScreenOrientationValue();
}
/**
* .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 15 [json_name = "screenOrientation"];
* @param value The screenOrientation to set.
* @return This builder for chaining.
*/
public Builder setScreenOrientationValue(int value) {
copyOnWrite();
instance.setScreenOrientationValue(value);
return this;
}
/**
* .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 15 [json_name = "screenOrientation"];
* @return The screenOrientation.
*/
@java.lang.Override
public com.streamlayer.analytics.common.v1.ScreenOrientation getScreenOrientation() {
return instance.getScreenOrientation();
}
/**
* .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 15 [json_name = "screenOrientation"];
* @param value The enum numeric value on the wire for screenOrientation to set.
* @return This builder for chaining.
*/
public Builder setScreenOrientation(com.streamlayer.analytics.common.v1.ScreenOrientation value) {
copyOnWrite();
instance.setScreenOrientation(value);
return this;
}
/**
* .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 15 [json_name = "screenOrientation"];
* @return This builder for chaining.
*/
public Builder clearScreenOrientation() {
copyOnWrite();
instance.clearScreenOrientation();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData)
}
@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.authentications.v1.SendAuthenticationsRequest.CreateRequestData();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"eventId_",
"userId_",
"kind_",
"trackTimestamp_",
"routeMap_",
"deviceId_",
"os_",
"userAgent_",
"slSdkVersion_",
"sessionId_",
"overlaySessionId_",
"topicId_",
"userIdStr_",
"screenOrientation_",
"topicType_",
};
java.lang.String info =
"\u0000\u000f\u0000\u0001\u0001\u0010\u000f\u0000\u0000\u0000\u0001\u0003\u0002\u0003" +
"\u0003\f\u0004\u1009\u0000\u0005\u0208\u0006\u0208\u0007\u0208\b\u0208\t\u0208\n" +
"\u0208\f\u0208\r\u0208\u000e\u0208\u000f\f\u0010\f";
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.authentications.v1.SendAuthenticationsRequest.CreateRequestData.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.v1.authentications.SendAuthenticationsRequest.CreateRequestData)
private static final com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData DEFAULT_INSTANCE;
static {
CreateRequestData defaultInstance = new CreateRequestData();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
CreateRequestData.class, defaultInstance);
}
public static com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public static final int DATA_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList data_;
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
@java.lang.Override
public java.util.List getDataList() {
return data_;
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
public java.util.List extends com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestDataOrBuilder>
getDataOrBuilderList() {
return data_;
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
@java.lang.Override
public int getDataCount() {
return data_.size();
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData getData(int index) {
return data_.get(index);
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
public com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestDataOrBuilder getDataOrBuilder(
int index) {
return data_.get(index);
}
private void ensureDataIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = data_;
if (!tmp.isModifiable()) {
data_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
private void setData(
int index, com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData value) {
value.getClass();
ensureDataIsMutable();
data_.set(index, value);
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
private void addData(com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData value) {
value.getClass();
ensureDataIsMutable();
data_.add(value);
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
private void addData(
int index, com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData value) {
value.getClass();
ensureDataIsMutable();
data_.add(index, value);
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
private void addAllData(
java.lang.Iterable extends com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData> values) {
ensureDataIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, data_);
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
private void clearData() {
data_ = emptyProtobufList();
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
private void removeData(int index) {
ensureDataIsMutable();
data_.remove(index);
}
public static com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest 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.authentications.v1.SendAuthenticationsRequest 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.authentications.v1.SendAuthenticationsRequest 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.authentications.v1.SendAuthenticationsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest 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.authentications.v1.SendAuthenticationsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest 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.authentications.v1.SendAuthenticationsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest 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.authentications.v1.SendAuthenticationsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest 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.authentications.v1.SendAuthenticationsRequest prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.analytics.v1.authentications.SendAuthenticationsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.analytics.v1.authentications.SendAuthenticationsRequest)
com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequestOrBuilder {
// Construct using com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
@java.lang.Override
public java.util.List getDataList() {
return java.util.Collections.unmodifiableList(
instance.getDataList());
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
@java.lang.Override
public int getDataCount() {
return instance.getDataCount();
}/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData getData(int index) {
return instance.getData(index);
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
public Builder setData(
int index, com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData value) {
copyOnWrite();
instance.setData(index, value);
return this;
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
public Builder setData(
int index, com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData.Builder builderForValue) {
copyOnWrite();
instance.setData(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
public Builder addData(com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData value) {
copyOnWrite();
instance.addData(value);
return this;
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
public Builder addData(
int index, com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData value) {
copyOnWrite();
instance.addData(index, value);
return this;
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
public Builder addData(
com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData.Builder builderForValue) {
copyOnWrite();
instance.addData(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
public Builder addData(
int index, com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData.Builder builderForValue) {
copyOnWrite();
instance.addData(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
public Builder addAllData(
java.lang.Iterable extends com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData> values) {
copyOnWrite();
instance.addAllData(values);
return this;
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
public Builder clearData() {
copyOnWrite();
instance.clearData();
return this;
}
/**
* repeated .streamlayer.analytics.v1.authentications.SendAuthenticationsRequest.CreateRequestData data = 1 [json_name = "data"];
*/
public Builder removeData(int index) {
copyOnWrite();
instance.removeData(index);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.analytics.v1.authentications.SendAuthenticationsRequest)
}
@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.authentications.v1.SendAuthenticationsRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"data_",
com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest.CreateRequestData.class,
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u001b";
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.authentications.v1.SendAuthenticationsRequest.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.v1.authentications.SendAuthenticationsRequest)
private static final com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest DEFAULT_INSTANCE;
static {
SendAuthenticationsRequest defaultInstance = new SendAuthenticationsRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SendAuthenticationsRequest.class, defaultInstance);
}
public static com.streamlayer.analytics.authentications.v1.SendAuthenticationsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}