main.java.com.streamlayer.analytics.streaming.v1.CommonData 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;
/**
* Protobuf type {@code streamlayer.analytics.v2.streaming.CommonData}
*/
public final class CommonData extends
com.google.protobuf.GeneratedMessageLite<
CommonData, CommonData.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.analytics.v2.streaming.CommonData)
CommonDataOrBuilder {
private CommonData() {
sessionId_ = "";
overlaySessionId_ = "";
topicId_ = "";
parentTopicId_ = "";
routeMap_ = "";
country_ = "";
}
private int bitField0_;
public static final int EVENT_ID_FIELD_NUMBER = 1;
private long eventId_;
/**
*
* current event id
*
*
* optional uint64 event_id = 1 [json_name = "eventId"];
* @return Whether the eventId field is set.
*/
@java.lang.Override
public boolean hasEventId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* current event id
*
*
* optional uint64 event_id = 1 [json_name = "eventId"];
* @return The eventId.
*/
@java.lang.Override
public long getEventId() {
return eventId_;
}
/**
*
* current event id
*
*
* optional uint64 event_id = 1 [json_name = "eventId"];
* @param value The eventId to set.
*/
private void setEventId(long value) {
bitField0_ |= 0x00000001;
eventId_ = value;
}
/**
*
* current event id
*
*
* optional uint64 event_id = 1 [json_name = "eventId"];
*/
private void clearEventId() {
bitField0_ = (bitField0_ & ~0x00000001);
eventId_ = 0L;
}
public static final int CATEGORY_FIELD_NUMBER = 2;
private int category_;
/**
*
* category
*
*
* optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];
* @return Whether the category field is set.
*/
@java.lang.Override
public boolean hasCategory() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* category
*
*
* optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];
* @return The enum numeric value on the wire for category.
*/
@java.lang.Override
public int getCategoryValue() {
return category_;
}
/**
*
* category
*
*
* optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];
* @return The category.
*/
@java.lang.Override
public com.streamlayer.analytics.common.v1.Category getCategory() {
com.streamlayer.analytics.common.v1.Category result = com.streamlayer.analytics.common.v1.Category.forNumber(category_);
return result == null ? com.streamlayer.analytics.common.v1.Category.UNRECOGNIZED : result;
}
/**
*
* category
*
*
* optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];
* @param value The enum numeric value on the wire for category to set.
*/
private void setCategoryValue(int value) {
bitField0_ |= 0x00000002; category_ = value;
}
/**
*
* category
*
*
* optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];
* @param value The category to set.
*/
private void setCategory(com.streamlayer.analytics.common.v1.Category value) {
category_ = value.getNumber();
bitField0_ |= 0x00000002;
}
/**
*
* category
*
*
* optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];
*/
private void clearCategory() {
bitField0_ = (bitField0_ & ~0x00000002);
category_ = 0;
}
public static final int KIND_FIELD_NUMBER = 3;
private int kind_;
/**
*
* kind
*
*
* optional .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
* @return Whether the kind field is set.
*/
@java.lang.Override
public boolean hasKind() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* kind
*
*
* optional .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
*
*
* optional .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
*
*
* optional .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) {
bitField0_ |= 0x00000004; kind_ = value;
}
/**
*
* kind
*
*
* optional .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();
bitField0_ |= 0x00000004;
}
/**
*
* kind
*
*
* optional .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
*/
private void clearKind() {
bitField0_ = (bitField0_ & ~0x00000004);
kind_ = 0;
}
public static final int SCREEN_ORIENTATION_FIELD_NUMBER = 4;
private int screenOrientation_;
/**
*
* how we are holding device
*
*
* optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];
* @return Whether the screenOrientation field is set.
*/
@java.lang.Override
public boolean hasScreenOrientation() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* how we are holding device
*
*
* optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];
* @return The enum numeric value on the wire for screenOrientation.
*/
@java.lang.Override
public int getScreenOrientationValue() {
return screenOrientation_;
}
/**
*
* how we are holding device
*
*
* optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [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;
}
/**
*
* how we are holding device
*
*
* optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];
* @param value The enum numeric value on the wire for screenOrientation to set.
*/
private void setScreenOrientationValue(int value) {
bitField0_ |= 0x00000008; screenOrientation_ = value;
}
/**
*
* how we are holding device
*
*
* optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];
* @param value The screenOrientation to set.
*/
private void setScreenOrientation(com.streamlayer.analytics.common.v1.ScreenOrientation value) {
screenOrientation_ = value.getNumber();
bitField0_ |= 0x00000008;
}
/**
*
* how we are holding device
*
*
* optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];
*/
private void clearScreenOrientation() {
bitField0_ = (bitField0_ & ~0x00000008);
screenOrientation_ = 0;
}
public static final int SESSION_ID_FIELD_NUMBER = 5;
private java.lang.String sessionId_;
/**
*
* session id
*
*
* optional string session_id = 5 [json_name = "sessionId"];
* @return Whether the sessionId field is set.
*/
@java.lang.Override
public boolean hasSessionId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* session id
*
*
* optional string session_id = 5 [json_name = "sessionId"];
* @return The sessionId.
*/
@java.lang.Override
public java.lang.String getSessionId() {
return sessionId_;
}
/**
*
* session id
*
*
* optional string session_id = 5 [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
*
*
* optional string session_id = 5 [json_name = "sessionId"];
* @param value The sessionId to set.
*/
private void setSessionId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000010;
sessionId_ = value;
}
/**
*
* session id
*
*
* optional string session_id = 5 [json_name = "sessionId"];
*/
private void clearSessionId() {
bitField0_ = (bitField0_ & ~0x00000010);
sessionId_ = getDefaultInstance().getSessionId();
}
/**
*
* session id
*
*
* optional string session_id = 5 [json_name = "sessionId"];
* @param value The bytes for sessionId to set.
*/
private void setSessionIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
sessionId_ = value.toStringUtf8();
bitField0_ |= 0x00000010;
}
public static final int OVERLAY_SESSION_ID_FIELD_NUMBER = 6;
private java.lang.String overlaySessionId_;
/**
*
* overlay_session id
*
*
* optional string overlay_session_id = 6 [json_name = "overlaySessionId"];
* @return Whether the overlaySessionId field is set.
*/
@java.lang.Override
public boolean hasOverlaySessionId() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* overlay_session id
*
*
* optional string overlay_session_id = 6 [json_name = "overlaySessionId"];
* @return The overlaySessionId.
*/
@java.lang.Override
public java.lang.String getOverlaySessionId() {
return overlaySessionId_;
}
/**
*
* overlay_session id
*
*
* optional string overlay_session_id = 6 [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
*
*
* optional string overlay_session_id = 6 [json_name = "overlaySessionId"];
* @param value The overlaySessionId to set.
*/
private void setOverlaySessionId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000020;
overlaySessionId_ = value;
}
/**
*
* overlay_session id
*
*
* optional string overlay_session_id = 6 [json_name = "overlaySessionId"];
*/
private void clearOverlaySessionId() {
bitField0_ = (bitField0_ & ~0x00000020);
overlaySessionId_ = getDefaultInstance().getOverlaySessionId();
}
/**
*
* overlay_session id
*
*
* optional string overlay_session_id = 6 [json_name = "overlaySessionId"];
* @param value The bytes for overlaySessionId to set.
*/
private void setOverlaySessionIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
overlaySessionId_ = value.toStringUtf8();
bitField0_ |= 0x00000020;
}
public static final int TOPIC_ID_FIELD_NUMBER = 7;
private java.lang.String topicId_;
/**
*
* topic id
*
*
* optional string topic_id = 7 [json_name = "topicId"];
* @return Whether the topicId field is set.
*/
@java.lang.Override
public boolean hasTopicId() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* topic id
*
*
* optional string topic_id = 7 [json_name = "topicId"];
* @return The topicId.
*/
@java.lang.Override
public java.lang.String getTopicId() {
return topicId_;
}
/**
*
* topic id
*
*
* optional string topic_id = 7 [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
*
*
* optional string topic_id = 7 [json_name = "topicId"];
* @param value The topicId to set.
*/
private void setTopicId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000040;
topicId_ = value;
}
/**
*
* topic id
*
*
* optional string topic_id = 7 [json_name = "topicId"];
*/
private void clearTopicId() {
bitField0_ = (bitField0_ & ~0x00000040);
topicId_ = getDefaultInstance().getTopicId();
}
/**
*
* topic id
*
*
* optional string topic_id = 7 [json_name = "topicId"];
* @param value The bytes for topicId to set.
*/
private void setTopicIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
topicId_ = value.toStringUtf8();
bitField0_ |= 0x00000040;
}
public static final int TOPIC_TYPE_FIELD_NUMBER = 8;
private int topicType_;
/**
*
* topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];
* @return Whether the topicType field is set.
*/
@java.lang.Override
public boolean hasTopicType() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];
* @return The enum numeric value on the wire for topicType.
*/
@java.lang.Override
public int getTopicTypeValue() {
return topicType_;
}
/**
*
* topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [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
*
*
* optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];
* @param value The enum numeric value on the wire for topicType to set.
*/
private void setTopicTypeValue(int value) {
bitField0_ |= 0x00000080; topicType_ = value;
}
/**
*
* topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];
* @param value The topicType to set.
*/
private void setTopicType(com.streamlayer.analytics.common.v1.TopicType value) {
topicType_ = value.getNumber();
bitField0_ |= 0x00000080;
}
/**
*
* topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];
*/
private void clearTopicType() {
bitField0_ = (bitField0_ & ~0x00000080);
topicType_ = 0;
}
public static final int PARENT_TOPIC_ID_FIELD_NUMBER = 9;
private java.lang.String parentTopicId_;
/**
*
* parent topic id
*
*
* optional string parent_topic_id = 9 [json_name = "parentTopicId"];
* @return Whether the parentTopicId field is set.
*/
@java.lang.Override
public boolean hasParentTopicId() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* parent topic id
*
*
* optional string parent_topic_id = 9 [json_name = "parentTopicId"];
* @return The parentTopicId.
*/
@java.lang.Override
public java.lang.String getParentTopicId() {
return parentTopicId_;
}
/**
*
* parent topic id
*
*
* optional string parent_topic_id = 9 [json_name = "parentTopicId"];
* @return The bytes for parentTopicId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getParentTopicIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(parentTopicId_);
}
/**
*
* parent topic id
*
*
* optional string parent_topic_id = 9 [json_name = "parentTopicId"];
* @param value The parentTopicId to set.
*/
private void setParentTopicId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000100;
parentTopicId_ = value;
}
/**
*
* parent topic id
*
*
* optional string parent_topic_id = 9 [json_name = "parentTopicId"];
*/
private void clearParentTopicId() {
bitField0_ = (bitField0_ & ~0x00000100);
parentTopicId_ = getDefaultInstance().getParentTopicId();
}
/**
*
* parent topic id
*
*
* optional string parent_topic_id = 9 [json_name = "parentTopicId"];
* @param value The bytes for parentTopicId to set.
*/
private void setParentTopicIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
parentTopicId_ = value.toStringUtf8();
bitField0_ |= 0x00000100;
}
public static final int PARENT_TOPIC_TYPE_FIELD_NUMBER = 10;
private int parentTopicType_;
/**
*
* parent topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];
* @return Whether the parentTopicType field is set.
*/
@java.lang.Override
public boolean hasParentTopicType() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* parent topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];
* @return The enum numeric value on the wire for parentTopicType.
*/
@java.lang.Override
public int getParentTopicTypeValue() {
return parentTopicType_;
}
/**
*
* parent topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];
* @return The parentTopicType.
*/
@java.lang.Override
public com.streamlayer.analytics.common.v1.TopicType getParentTopicType() {
com.streamlayer.analytics.common.v1.TopicType result = com.streamlayer.analytics.common.v1.TopicType.forNumber(parentTopicType_);
return result == null ? com.streamlayer.analytics.common.v1.TopicType.UNRECOGNIZED : result;
}
/**
*
* parent topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];
* @param value The enum numeric value on the wire for parentTopicType to set.
*/
private void setParentTopicTypeValue(int value) {
bitField0_ |= 0x00000200; parentTopicType_ = value;
}
/**
*
* parent topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];
* @param value The parentTopicType to set.
*/
private void setParentTopicType(com.streamlayer.analytics.common.v1.TopicType value) {
parentTopicType_ = value.getNumber();
bitField0_ |= 0x00000200;
}
/**
*
* parent topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];
*/
private void clearParentTopicType() {
bitField0_ = (bitField0_ & ~0x00000200);
parentTopicType_ = 0;
}
public static final int PARTICIPANTS_COUNT_FIELD_NUMBER = 11;
private int participantsCount_;
/**
*
* participants count
*
*
* optional uint32 participants_count = 11 [json_name = "participantsCount"];
* @return Whether the participantsCount field is set.
*/
@java.lang.Override
public boolean hasParticipantsCount() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* participants count
*
*
* optional uint32 participants_count = 11 [json_name = "participantsCount"];
* @return The participantsCount.
*/
@java.lang.Override
public int getParticipantsCount() {
return participantsCount_;
}
/**
*
* participants count
*
*
* optional uint32 participants_count = 11 [json_name = "participantsCount"];
* @param value The participantsCount to set.
*/
private void setParticipantsCount(int value) {
bitField0_ |= 0x00000400;
participantsCount_ = value;
}
/**
*
* participants count
*
*
* optional uint32 participants_count = 11 [json_name = "participantsCount"];
*/
private void clearParticipantsCount() {
bitField0_ = (bitField0_ & ~0x00000400);
participantsCount_ = 0;
}
public static final int ROUTE_MAP_FIELD_NUMBER = 12;
private java.lang.String routeMap_;
/**
*
* where we are in the app right now
*
*
* optional string route_map = 12 [json_name = "routeMap"];
* @return Whether the routeMap field is set.
*/
@java.lang.Override
public boolean hasRouteMap() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
* where we are in the app right now
*
*
* optional string route_map = 12 [json_name = "routeMap"];
* @return The routeMap.
*/
@java.lang.Override
public java.lang.String getRouteMap() {
return routeMap_;
}
/**
*
* where we are in the app right now
*
*
* optional string route_map = 12 [json_name = "routeMap"];
* @return The bytes for routeMap.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRouteMapBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(routeMap_);
}
/**
*
* where we are in the app right now
*
*
* optional string route_map = 12 [json_name = "routeMap"];
* @param value The routeMap to set.
*/
private void setRouteMap(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000800;
routeMap_ = value;
}
/**
*
* where we are in the app right now
*
*
* optional string route_map = 12 [json_name = "routeMap"];
*/
private void clearRouteMap() {
bitField0_ = (bitField0_ & ~0x00000800);
routeMap_ = getDefaultInstance().getRouteMap();
}
/**
*
* where we are in the app right now
*
*
* optional string route_map = 12 [json_name = "routeMap"];
* @param value The bytes for routeMap to set.
*/
private void setRouteMapBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
routeMap_ = value.toStringUtf8();
bitField0_ |= 0x00000800;
}
public static final int TRACK_TIMESTAMP_FIELD_NUMBER = 13;
private long trackTimestamp_;
/**
*
* event time
*
*
* optional uint64 track_timestamp = 13 [json_name = "trackTimestamp"];
* @return Whether the trackTimestamp field is set.
*/
@java.lang.Override
public boolean hasTrackTimestamp() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
* event time
*
*
* optional uint64 track_timestamp = 13 [json_name = "trackTimestamp"];
* @return The trackTimestamp.
*/
@java.lang.Override
public long getTrackTimestamp() {
return trackTimestamp_;
}
/**
*
* event time
*
*
* optional uint64 track_timestamp = 13 [json_name = "trackTimestamp"];
* @param value The trackTimestamp to set.
*/
private void setTrackTimestamp(long value) {
bitField0_ |= 0x00001000;
trackTimestamp_ = value;
}
/**
*
* event time
*
*
* optional uint64 track_timestamp = 13 [json_name = "trackTimestamp"];
*/
private void clearTrackTimestamp() {
bitField0_ = (bitField0_ & ~0x00001000);
trackTimestamp_ = 0L;
}
public static final int TOPIC_SUB_TYPE_FIELD_NUMBER = 14;
private int topicSubType_;
/**
*
* currently used in gamification, but it is common enough to include here
*
*
* optional .streamlayer.analytics.v1.common.TopicSubType topic_sub_type = 14 [json_name = "topicSubType"];
* @return Whether the topicSubType field is set.
*/
@java.lang.Override
public boolean hasTopicSubType() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
*
* currently used in gamification, but it is common enough to include here
*
*
* optional .streamlayer.analytics.v1.common.TopicSubType topic_sub_type = 14 [json_name = "topicSubType"];
* @return The enum numeric value on the wire for topicSubType.
*/
@java.lang.Override
public int getTopicSubTypeValue() {
return topicSubType_;
}
/**
*
* currently used in gamification, but it is common enough to include here
*
*
* optional .streamlayer.analytics.v1.common.TopicSubType topic_sub_type = 14 [json_name = "topicSubType"];
* @return The topicSubType.
*/
@java.lang.Override
public com.streamlayer.analytics.common.v1.TopicSubType getTopicSubType() {
com.streamlayer.analytics.common.v1.TopicSubType result = com.streamlayer.analytics.common.v1.TopicSubType.forNumber(topicSubType_);
return result == null ? com.streamlayer.analytics.common.v1.TopicSubType.UNRECOGNIZED : result;
}
/**
*
* currently used in gamification, but it is common enough to include here
*
*
* optional .streamlayer.analytics.v1.common.TopicSubType topic_sub_type = 14 [json_name = "topicSubType"];
* @param value The enum numeric value on the wire for topicSubType to set.
*/
private void setTopicSubTypeValue(int value) {
bitField0_ |= 0x00002000; topicSubType_ = value;
}
/**
*
* currently used in gamification, but it is common enough to include here
*
*
* optional .streamlayer.analytics.v1.common.TopicSubType topic_sub_type = 14 [json_name = "topicSubType"];
* @param value The topicSubType to set.
*/
private void setTopicSubType(com.streamlayer.analytics.common.v1.TopicSubType value) {
topicSubType_ = value.getNumber();
bitField0_ |= 0x00002000;
}
/**
*
* currently used in gamification, but it is common enough to include here
*
*
* optional .streamlayer.analytics.v1.common.TopicSubType topic_sub_type = 14 [json_name = "topicSubType"];
*/
private void clearTopicSubType() {
bitField0_ = (bitField0_ & ~0x00002000);
topicSubType_ = 0;
}
public static final int COUNTRY_FIELD_NUMBER = 15;
private java.lang.String country_;
/**
*
* country from which the request was made
*
*
* optional string country = 15 [json_name = "country"];
* @return Whether the country field is set.
*/
@java.lang.Override
public boolean hasCountry() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
*
* country from which the request was made
*
*
* optional string country = 15 [json_name = "country"];
* @return The country.
*/
@java.lang.Override
public java.lang.String getCountry() {
return country_;
}
/**
*
* country from which the request was made
*
*
* optional string country = 15 [json_name = "country"];
* @return The bytes for country.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCountryBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(country_);
}
/**
*
* country from which the request was made
*
*
* optional string country = 15 [json_name = "country"];
* @param value The country to set.
*/
private void setCountry(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00004000;
country_ = value;
}
/**
*
* country from which the request was made
*
*
* optional string country = 15 [json_name = "country"];
*/
private void clearCountry() {
bitField0_ = (bitField0_ & ~0x00004000);
country_ = getDefaultInstance().getCountry();
}
/**
*
* country from which the request was made
*
*
* optional string country = 15 [json_name = "country"];
* @param value The bytes for country to set.
*/
private void setCountryBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
country_ = value.toStringUtf8();
bitField0_ |= 0x00004000;
}
public static com.streamlayer.analytics.streaming.v1.CommonData 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.CommonData 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.CommonData 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.CommonData 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.CommonData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.streaming.v1.CommonData 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.CommonData 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.CommonData 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.CommonData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.streaming.v1.CommonData 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.CommonData 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.CommonData 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.CommonData prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.analytics.v2.streaming.CommonData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.analytics.streaming.v1.CommonData, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.analytics.v2.streaming.CommonData)
com.streamlayer.analytics.streaming.v1.CommonDataOrBuilder {
// Construct using com.streamlayer.analytics.streaming.v1.CommonData.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* current event id
*
*
* optional uint64 event_id = 1 [json_name = "eventId"];
* @return Whether the eventId field is set.
*/
@java.lang.Override
public boolean hasEventId() {
return instance.hasEventId();
}
/**
*
* current event id
*
*
* optional uint64 event_id = 1 [json_name = "eventId"];
* @return The eventId.
*/
@java.lang.Override
public long getEventId() {
return instance.getEventId();
}
/**
*
* current event id
*
*
* optional 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;
}
/**
*
* current event id
*
*
* optional uint64 event_id = 1 [json_name = "eventId"];
* @return This builder for chaining.
*/
public Builder clearEventId() {
copyOnWrite();
instance.clearEventId();
return this;
}
/**
*
* category
*
*
* optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];
* @return Whether the category field is set.
*/
@java.lang.Override
public boolean hasCategory() {
return instance.hasCategory();
}
/**
*
* category
*
*
* optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];
* @return The enum numeric value on the wire for category.
*/
@java.lang.Override
public int getCategoryValue() {
return instance.getCategoryValue();
}
/**
*
* category
*
*
* optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];
* @param value The category to set.
* @return This builder for chaining.
*/
public Builder setCategoryValue(int value) {
copyOnWrite();
instance.setCategoryValue(value);
return this;
}
/**
*
* category
*
*
* optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];
* @return The category.
*/
@java.lang.Override
public com.streamlayer.analytics.common.v1.Category getCategory() {
return instance.getCategory();
}
/**
*
* category
*
*
* optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];
* @param value The enum numeric value on the wire for category to set.
* @return This builder for chaining.
*/
public Builder setCategory(com.streamlayer.analytics.common.v1.Category value) {
copyOnWrite();
instance.setCategory(value);
return this;
}
/**
*
* category
*
*
* optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];
* @return This builder for chaining.
*/
public Builder clearCategory() {
copyOnWrite();
instance.clearCategory();
return this;
}
/**
*
* kind
*
*
* optional .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
* @return Whether the kind field is set.
*/
@java.lang.Override
public boolean hasKind() {
return instance.hasKind();
}
/**
*
* kind
*
*
* optional .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
*
*
* optional .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
*
*
* optional .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
*
*
* optional .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
*
*
* optional .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
* @return This builder for chaining.
*/
public Builder clearKind() {
copyOnWrite();
instance.clearKind();
return this;
}
/**
*
* how we are holding device
*
*
* optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];
* @return Whether the screenOrientation field is set.
*/
@java.lang.Override
public boolean hasScreenOrientation() {
return instance.hasScreenOrientation();
}
/**
*
* how we are holding device
*
*
* optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];
* @return The enum numeric value on the wire for screenOrientation.
*/
@java.lang.Override
public int getScreenOrientationValue() {
return instance.getScreenOrientationValue();
}
/**
*
* how we are holding device
*
*
* optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [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;
}
/**
*
* how we are holding device
*
*
* optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];
* @return The screenOrientation.
*/
@java.lang.Override
public com.streamlayer.analytics.common.v1.ScreenOrientation getScreenOrientation() {
return instance.getScreenOrientation();
}
/**
*
* how we are holding device
*
*
* optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [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;
}
/**
*
* how we are holding device
*
*
* optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];
* @return This builder for chaining.
*/
public Builder clearScreenOrientation() {
copyOnWrite();
instance.clearScreenOrientation();
return this;
}
/**
*
* session id
*
*
* optional string session_id = 5 [json_name = "sessionId"];
* @return Whether the sessionId field is set.
*/
@java.lang.Override
public boolean hasSessionId() {
return instance.hasSessionId();
}
/**
*
* session id
*
*
* optional string session_id = 5 [json_name = "sessionId"];
* @return The sessionId.
*/
@java.lang.Override
public java.lang.String getSessionId() {
return instance.getSessionId();
}
/**
*
* session id
*
*
* optional string session_id = 5 [json_name = "sessionId"];
* @return The bytes for sessionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSessionIdBytes() {
return instance.getSessionIdBytes();
}
/**
*
* session id
*
*
* optional string session_id = 5 [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
*
*
* optional string session_id = 5 [json_name = "sessionId"];
* @return This builder for chaining.
*/
public Builder clearSessionId() {
copyOnWrite();
instance.clearSessionId();
return this;
}
/**
*
* session id
*
*
* optional string session_id = 5 [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
*
*
* optional string overlay_session_id = 6 [json_name = "overlaySessionId"];
* @return Whether the overlaySessionId field is set.
*/
@java.lang.Override
public boolean hasOverlaySessionId() {
return instance.hasOverlaySessionId();
}
/**
*
* overlay_session id
*
*
* optional string overlay_session_id = 6 [json_name = "overlaySessionId"];
* @return The overlaySessionId.
*/
@java.lang.Override
public java.lang.String getOverlaySessionId() {
return instance.getOverlaySessionId();
}
/**
*
* overlay_session id
*
*
* optional string overlay_session_id = 6 [json_name = "overlaySessionId"];
* @return The bytes for overlaySessionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOverlaySessionIdBytes() {
return instance.getOverlaySessionIdBytes();
}
/**
*
* overlay_session id
*
*
* optional string overlay_session_id = 6 [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
*
*
* optional string overlay_session_id = 6 [json_name = "overlaySessionId"];
* @return This builder for chaining.
*/
public Builder clearOverlaySessionId() {
copyOnWrite();
instance.clearOverlaySessionId();
return this;
}
/**
*
* overlay_session id
*
*
* optional string overlay_session_id = 6 [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
*
*
* optional string topic_id = 7 [json_name = "topicId"];
* @return Whether the topicId field is set.
*/
@java.lang.Override
public boolean hasTopicId() {
return instance.hasTopicId();
}
/**
*
* topic id
*
*
* optional string topic_id = 7 [json_name = "topicId"];
* @return The topicId.
*/
@java.lang.Override
public java.lang.String getTopicId() {
return instance.getTopicId();
}
/**
*
* topic id
*
*
* optional string topic_id = 7 [json_name = "topicId"];
* @return The bytes for topicId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTopicIdBytes() {
return instance.getTopicIdBytes();
}
/**
*
* topic id
*
*
* optional string topic_id = 7 [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
*
*
* optional string topic_id = 7 [json_name = "topicId"];
* @return This builder for chaining.
*/
public Builder clearTopicId() {
copyOnWrite();
instance.clearTopicId();
return this;
}
/**
*
* topic id
*
*
* optional string topic_id = 7 [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;
}
/**
*
* topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];
* @return Whether the topicType field is set.
*/
@java.lang.Override
public boolean hasTopicType() {
return instance.hasTopicType();
}
/**
*
* topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];
* @return The enum numeric value on the wire for topicType.
*/
@java.lang.Override
public int getTopicTypeValue() {
return instance.getTopicTypeValue();
}
/**
*
* topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [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
*
*
* optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];
* @return The topicType.
*/
@java.lang.Override
public com.streamlayer.analytics.common.v1.TopicType getTopicType() {
return instance.getTopicType();
}
/**
*
* topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [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
*
*
* optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];
* @return This builder for chaining.
*/
public Builder clearTopicType() {
copyOnWrite();
instance.clearTopicType();
return this;
}
/**
*
* parent topic id
*
*
* optional string parent_topic_id = 9 [json_name = "parentTopicId"];
* @return Whether the parentTopicId field is set.
*/
@java.lang.Override
public boolean hasParentTopicId() {
return instance.hasParentTopicId();
}
/**
*
* parent topic id
*
*
* optional string parent_topic_id = 9 [json_name = "parentTopicId"];
* @return The parentTopicId.
*/
@java.lang.Override
public java.lang.String getParentTopicId() {
return instance.getParentTopicId();
}
/**
*
* parent topic id
*
*
* optional string parent_topic_id = 9 [json_name = "parentTopicId"];
* @return The bytes for parentTopicId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getParentTopicIdBytes() {
return instance.getParentTopicIdBytes();
}
/**
*
* parent topic id
*
*
* optional string parent_topic_id = 9 [json_name = "parentTopicId"];
* @param value The parentTopicId to set.
* @return This builder for chaining.
*/
public Builder setParentTopicId(
java.lang.String value) {
copyOnWrite();
instance.setParentTopicId(value);
return this;
}
/**
*
* parent topic id
*
*
* optional string parent_topic_id = 9 [json_name = "parentTopicId"];
* @return This builder for chaining.
*/
public Builder clearParentTopicId() {
copyOnWrite();
instance.clearParentTopicId();
return this;
}
/**
*
* parent topic id
*
*
* optional string parent_topic_id = 9 [json_name = "parentTopicId"];
* @param value The bytes for parentTopicId to set.
* @return This builder for chaining.
*/
public Builder setParentTopicIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setParentTopicIdBytes(value);
return this;
}
/**
*
* parent topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];
* @return Whether the parentTopicType field is set.
*/
@java.lang.Override
public boolean hasParentTopicType() {
return instance.hasParentTopicType();
}
/**
*
* parent topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];
* @return The enum numeric value on the wire for parentTopicType.
*/
@java.lang.Override
public int getParentTopicTypeValue() {
return instance.getParentTopicTypeValue();
}
/**
*
* parent topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];
* @param value The parentTopicType to set.
* @return This builder for chaining.
*/
public Builder setParentTopicTypeValue(int value) {
copyOnWrite();
instance.setParentTopicTypeValue(value);
return this;
}
/**
*
* parent topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];
* @return The parentTopicType.
*/
@java.lang.Override
public com.streamlayer.analytics.common.v1.TopicType getParentTopicType() {
return instance.getParentTopicType();
}
/**
*
* parent topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];
* @param value The enum numeric value on the wire for parentTopicType to set.
* @return This builder for chaining.
*/
public Builder setParentTopicType(com.streamlayer.analytics.common.v1.TopicType value) {
copyOnWrite();
instance.setParentTopicType(value);
return this;
}
/**
*
* parent topic type
*
*
* optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];
* @return This builder for chaining.
*/
public Builder clearParentTopicType() {
copyOnWrite();
instance.clearParentTopicType();
return this;
}
/**
*
* participants count
*
*
* optional uint32 participants_count = 11 [json_name = "participantsCount"];
* @return Whether the participantsCount field is set.
*/
@java.lang.Override
public boolean hasParticipantsCount() {
return instance.hasParticipantsCount();
}
/**
*
* participants count
*
*
* optional uint32 participants_count = 11 [json_name = "participantsCount"];
* @return The participantsCount.
*/
@java.lang.Override
public int getParticipantsCount() {
return instance.getParticipantsCount();
}
/**
*
* participants count
*
*
* optional uint32 participants_count = 11 [json_name = "participantsCount"];
* @param value The participantsCount to set.
* @return This builder for chaining.
*/
public Builder setParticipantsCount(int value) {
copyOnWrite();
instance.setParticipantsCount(value);
return this;
}
/**
*
* participants count
*
*
* optional uint32 participants_count = 11 [json_name = "participantsCount"];
* @return This builder for chaining.
*/
public Builder clearParticipantsCount() {
copyOnWrite();
instance.clearParticipantsCount();
return this;
}
/**
*
* where we are in the app right now
*
*
* optional string route_map = 12 [json_name = "routeMap"];
* @return Whether the routeMap field is set.
*/
@java.lang.Override
public boolean hasRouteMap() {
return instance.hasRouteMap();
}
/**
*
* where we are in the app right now
*
*
* optional string route_map = 12 [json_name = "routeMap"];
* @return The routeMap.
*/
@java.lang.Override
public java.lang.String getRouteMap() {
return instance.getRouteMap();
}
/**
*
* where we are in the app right now
*
*
* optional string route_map = 12 [json_name = "routeMap"];
* @return The bytes for routeMap.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRouteMapBytes() {
return instance.getRouteMapBytes();
}
/**
*
* where we are in the app right now
*
*
* optional string route_map = 12 [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;
}
/**
*
* where we are in the app right now
*
*
* optional string route_map = 12 [json_name = "routeMap"];
* @return This builder for chaining.
*/
public Builder clearRouteMap() {
copyOnWrite();
instance.clearRouteMap();
return this;
}
/**
*
* where we are in the app right now
*
*
* optional string route_map = 12 [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;
}
/**
*
* event time
*
*
* optional uint64 track_timestamp = 13 [json_name = "trackTimestamp"];
* @return Whether the trackTimestamp field is set.
*/
@java.lang.Override
public boolean hasTrackTimestamp() {
return instance.hasTrackTimestamp();
}
/**
*
* event time
*
*
* optional uint64 track_timestamp = 13 [json_name = "trackTimestamp"];
* @return The trackTimestamp.
*/
@java.lang.Override
public long getTrackTimestamp() {
return instance.getTrackTimestamp();
}
/**
*
* event time
*
*
* optional uint64 track_timestamp = 13 [json_name = "trackTimestamp"];
* @param value The trackTimestamp to set.
* @return This builder for chaining.
*/
public Builder setTrackTimestamp(long value) {
copyOnWrite();
instance.setTrackTimestamp(value);
return this;
}
/**
*
* event time
*
*
* optional uint64 track_timestamp = 13 [json_name = "trackTimestamp"];
* @return This builder for chaining.
*/
public Builder clearTrackTimestamp() {
copyOnWrite();
instance.clearTrackTimestamp();
return this;
}
/**
*
* currently used in gamification, but it is common enough to include here
*
*
* optional .streamlayer.analytics.v1.common.TopicSubType topic_sub_type = 14 [json_name = "topicSubType"];
* @return Whether the topicSubType field is set.
*/
@java.lang.Override
public boolean hasTopicSubType() {
return instance.hasTopicSubType();
}
/**
*
* currently used in gamification, but it is common enough to include here
*
*
* optional .streamlayer.analytics.v1.common.TopicSubType topic_sub_type = 14 [json_name = "topicSubType"];
* @return The enum numeric value on the wire for topicSubType.
*/
@java.lang.Override
public int getTopicSubTypeValue() {
return instance.getTopicSubTypeValue();
}
/**
*
* currently used in gamification, but it is common enough to include here
*
*
* optional .streamlayer.analytics.v1.common.TopicSubType topic_sub_type = 14 [json_name = "topicSubType"];
* @param value The topicSubType to set.
* @return This builder for chaining.
*/
public Builder setTopicSubTypeValue(int value) {
copyOnWrite();
instance.setTopicSubTypeValue(value);
return this;
}
/**
*
* currently used in gamification, but it is common enough to include here
*
*
* optional .streamlayer.analytics.v1.common.TopicSubType topic_sub_type = 14 [json_name = "topicSubType"];
* @return The topicSubType.
*/
@java.lang.Override
public com.streamlayer.analytics.common.v1.TopicSubType getTopicSubType() {
return instance.getTopicSubType();
}
/**
*
* currently used in gamification, but it is common enough to include here
*
*
* optional .streamlayer.analytics.v1.common.TopicSubType topic_sub_type = 14 [json_name = "topicSubType"];
* @param value The enum numeric value on the wire for topicSubType to set.
* @return This builder for chaining.
*/
public Builder setTopicSubType(com.streamlayer.analytics.common.v1.TopicSubType value) {
copyOnWrite();
instance.setTopicSubType(value);
return this;
}
/**
*
* currently used in gamification, but it is common enough to include here
*
*
* optional .streamlayer.analytics.v1.common.TopicSubType topic_sub_type = 14 [json_name = "topicSubType"];
* @return This builder for chaining.
*/
public Builder clearTopicSubType() {
copyOnWrite();
instance.clearTopicSubType();
return this;
}
/**
*
* country from which the request was made
*
*
* optional string country = 15 [json_name = "country"];
* @return Whether the country field is set.
*/
@java.lang.Override
public boolean hasCountry() {
return instance.hasCountry();
}
/**
*
* country from which the request was made
*
*
* optional string country = 15 [json_name = "country"];
* @return The country.
*/
@java.lang.Override
public java.lang.String getCountry() {
return instance.getCountry();
}
/**
*
* country from which the request was made
*
*
* optional string country = 15 [json_name = "country"];
* @return The bytes for country.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCountryBytes() {
return instance.getCountryBytes();
}
/**
*
* country from which the request was made
*
*
* optional string country = 15 [json_name = "country"];
* @param value The country to set.
* @return This builder for chaining.
*/
public Builder setCountry(
java.lang.String value) {
copyOnWrite();
instance.setCountry(value);
return this;
}
/**
*
* country from which the request was made
*
*
* optional string country = 15 [json_name = "country"];
* @return This builder for chaining.
*/
public Builder clearCountry() {
copyOnWrite();
instance.clearCountry();
return this;
}
/**
*
* country from which the request was made
*
*
* optional string country = 15 [json_name = "country"];
* @param value The bytes for country to set.
* @return This builder for chaining.
*/
public Builder setCountryBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCountryBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.analytics.v2.streaming.CommonData)
}
@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.CommonData();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"eventId_",
"category_",
"kind_",
"screenOrientation_",
"sessionId_",
"overlaySessionId_",
"topicId_",
"topicType_",
"parentTopicId_",
"parentTopicType_",
"participantsCount_",
"routeMap_",
"trackTimestamp_",
"topicSubType_",
"country_",
};
java.lang.String info =
"\u0000\u000f\u0000\u0001\u0001\u000f\u000f\u0000\u0000\u0000\u0001\u1003\u0000\u0002" +
"\u100c\u0001\u0003\u100c\u0002\u0004\u100c\u0003\u0005\u1208\u0004\u0006\u1208\u0005" +
"\u0007\u1208\u0006\b\u100c\u0007\t\u1208\b\n\u100c\t\u000b\u100b\n\f\u1208\u000b" +
"\r\u1003\f\u000e\u100c\r\u000f\u1208\u000e";
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.CommonData.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.CommonData)
private static final com.streamlayer.analytics.streaming.v1.CommonData DEFAULT_INSTANCE;
static {
CommonData defaultInstance = new CommonData();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
CommonData.class, defaultInstance);
}
public static com.streamlayer.analytics.streaming.v1.CommonData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}