Class CommonData.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<CommonData,CommonData.Builder>
-
- com.streamlayer.analytics.streaming.v1.CommonData.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,CommonDataOrBuilder,java.lang.Cloneable
- Enclosing class:
- CommonData
public static final class CommonData.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<CommonData,CommonData.Builder> implements CommonDataOrBuilder
Protobuf typestreamlayer.analytics.v2.streaming.CommonData
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommonData.BuilderclearCategory()categoryCommonData.BuilderclearEventId()current event idCommonData.BuilderclearKind()kindCommonData.BuilderclearOverlaySessionId()overlay_session idCommonData.BuilderclearParentTopicId()parent topic idCommonData.BuilderclearParentTopicType()parent topic typeCommonData.BuilderclearParticipantsCount()participants countCommonData.BuilderclearRouteMap()where we are in the app right nowCommonData.BuilderclearScreenOrientation()how we are holding deviceCommonData.BuilderclearSessionId()session idCommonData.BuilderclearTopicId()topic idCommonData.BuilderclearTopicType()topic typeCommonData.BuilderclearTrackTimestamp()event timeCategorygetCategory()categoryintgetCategoryValue()categorylonggetEventId()current event idKindgetKind()kindintgetKindValue()kindjava.lang.StringgetOverlaySessionId()overlay_session idcom.google.protobuf.ByteStringgetOverlaySessionIdBytes()overlay_session idjava.lang.StringgetParentTopicId()parent topic idcom.google.protobuf.ByteStringgetParentTopicIdBytes()parent topic idTopicTypegetParentTopicType()parent topic typeintgetParentTopicTypeValue()parent topic typeintgetParticipantsCount()participants countjava.lang.StringgetRouteMap()where we are in the app right nowcom.google.protobuf.ByteStringgetRouteMapBytes()where we are in the app right nowScreenOrientationgetScreenOrientation()how we are holding deviceintgetScreenOrientationValue()how we are holding devicejava.lang.StringgetSessionId()session idcom.google.protobuf.ByteStringgetSessionIdBytes()session idjava.lang.StringgetTopicId()topic idcom.google.protobuf.ByteStringgetTopicIdBytes()topic idTopicTypegetTopicType()topic typeintgetTopicTypeValue()topic typejava.lang.StringgetTrackTimestamp()event timecom.google.protobuf.ByteStringgetTrackTimestampBytes()event timebooleanhasCategory()categorybooleanhasEventId()current event idbooleanhasKind()kindbooleanhasOverlaySessionId()overlay_session idbooleanhasParentTopicId()parent topic idbooleanhasParentTopicType()parent topic typebooleanhasParticipantsCount()participants countbooleanhasRouteMap()where we are in the app right nowbooleanhasScreenOrientation()how we are holding devicebooleanhasSessionId()session idbooleanhasTopicId()topic idbooleanhasTopicType()topic typebooleanhasTrackTimestamp()event timeCommonData.BuildersetCategory(Category value)categoryCommonData.BuildersetCategoryValue(int value)categoryCommonData.BuildersetEventId(long value)current event idCommonData.BuildersetKind(Kind value)kindCommonData.BuildersetKindValue(int value)kindCommonData.BuildersetOverlaySessionId(java.lang.String value)overlay_session idCommonData.BuildersetOverlaySessionIdBytes(com.google.protobuf.ByteString value)overlay_session idCommonData.BuildersetParentTopicId(java.lang.String value)parent topic idCommonData.BuildersetParentTopicIdBytes(com.google.protobuf.ByteString value)parent topic idCommonData.BuildersetParentTopicType(TopicType value)parent topic typeCommonData.BuildersetParentTopicTypeValue(int value)parent topic typeCommonData.BuildersetParticipantsCount(int value)participants countCommonData.BuildersetRouteMap(java.lang.String value)where we are in the app right nowCommonData.BuildersetRouteMapBytes(com.google.protobuf.ByteString value)where we are in the app right nowCommonData.BuildersetScreenOrientation(ScreenOrientation value)how we are holding deviceCommonData.BuildersetScreenOrientationValue(int value)how we are holding deviceCommonData.BuildersetSessionId(java.lang.String value)session idCommonData.BuildersetSessionIdBytes(com.google.protobuf.ByteString value)session idCommonData.BuildersetTopicId(java.lang.String value)topic idCommonData.BuildersetTopicIdBytes(com.google.protobuf.ByteString value)topic idCommonData.BuildersetTopicType(TopicType value)topic typeCommonData.BuildersetTopicTypeValue(int value)topic typeCommonData.BuildersetTrackTimestamp(java.lang.String value)event timeCommonData.BuildersetTrackTimestampBytes(com.google.protobuf.ByteString value)event time-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
hasEventId
public boolean hasEventId()
current event id
optional uint64 event_id = 1 [json_name = "eventId"];- Specified by:
hasEventIdin interfaceCommonDataOrBuilder- Returns:
- Whether the eventId field is set.
-
getEventId
public long getEventId()
current event id
optional uint64 event_id = 1 [json_name = "eventId"];- Specified by:
getEventIdin interfaceCommonDataOrBuilder- Returns:
- The eventId.
-
setEventId
public CommonData.Builder setEventId(long value)
current event id
optional uint64 event_id = 1 [json_name = "eventId"];- Parameters:
value- The eventId to set.- Returns:
- This builder for chaining.
-
clearEventId
public CommonData.Builder clearEventId()
current event id
optional uint64 event_id = 1 [json_name = "eventId"];- Returns:
- This builder for chaining.
-
hasCategory
public boolean hasCategory()
category
optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];- Specified by:
hasCategoryin interfaceCommonDataOrBuilder- Returns:
- Whether the category field is set.
-
getCategoryValue
public int getCategoryValue()
category
optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];- Specified by:
getCategoryValuein interfaceCommonDataOrBuilder- Returns:
- The enum numeric value on the wire for category.
-
setCategoryValue
public CommonData.Builder setCategoryValue(int value)
category
optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];- Parameters:
value- The category to set.- Returns:
- This builder for chaining.
-
getCategory
public Category getCategory()
category
optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];- Specified by:
getCategoryin interfaceCommonDataOrBuilder- Returns:
- The category.
-
setCategory
public CommonData.Builder setCategory(Category value)
category
optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];- Parameters:
value- The enum numeric value on the wire for category to set.- Returns:
- This builder for chaining.
-
clearCategory
public CommonData.Builder clearCategory()
category
optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()
kind
optional .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];- Specified by:
hasKindin interfaceCommonDataOrBuilder- Returns:
- Whether the kind field is set.
-
getKindValue
public int getKindValue()
kind
optional .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];- Specified by:
getKindValuein interfaceCommonDataOrBuilder- Returns:
- The enum numeric value on the wire for kind.
-
setKindValue
public CommonData.Builder setKindValue(int value)
kind
optional .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
getKind
public Kind getKind()
kind
optional .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];- Specified by:
getKindin interfaceCommonDataOrBuilder- Returns:
- The kind.
-
setKind
public CommonData.Builder setKind(Kind value)
kind
optional .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];- Parameters:
value- The enum numeric value on the wire for kind to set.- Returns:
- This builder for chaining.
-
clearKind
public CommonData.Builder clearKind()
kind
optional .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];- Returns:
- This builder for chaining.
-
hasScreenOrientation
public boolean hasScreenOrientation()
how we are holding device
optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];- Specified by:
hasScreenOrientationin interfaceCommonDataOrBuilder- Returns:
- Whether the screenOrientation field is set.
-
getScreenOrientationValue
public int getScreenOrientationValue()
how we are holding device
optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];- Specified by:
getScreenOrientationValuein interfaceCommonDataOrBuilder- Returns:
- The enum numeric value on the wire for screenOrientation.
-
setScreenOrientationValue
public CommonData.Builder setScreenOrientationValue(int value)
how we are holding device
optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];- Parameters:
value- The screenOrientation to set.- Returns:
- This builder for chaining.
-
getScreenOrientation
public ScreenOrientation getScreenOrientation()
how we are holding device
optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];- Specified by:
getScreenOrientationin interfaceCommonDataOrBuilder- Returns:
- The screenOrientation.
-
setScreenOrientation
public CommonData.Builder setScreenOrientation(ScreenOrientation value)
how we are holding device
optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];- Parameters:
value- The enum numeric value on the wire for screenOrientation to set.- Returns:
- This builder for chaining.
-
clearScreenOrientation
public CommonData.Builder clearScreenOrientation()
how we are holding device
optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];- Returns:
- This builder for chaining.
-
hasSessionId
public boolean hasSessionId()
session id
optional string session_id = 5 [json_name = "sessionId"];- Specified by:
hasSessionIdin interfaceCommonDataOrBuilder- Returns:
- Whether the sessionId field is set.
-
getSessionId
public java.lang.String getSessionId()
session id
optional string session_id = 5 [json_name = "sessionId"];- Specified by:
getSessionIdin interfaceCommonDataOrBuilder- Returns:
- The sessionId.
-
getSessionIdBytes
public com.google.protobuf.ByteString getSessionIdBytes()
session id
optional string session_id = 5 [json_name = "sessionId"];- Specified by:
getSessionIdBytesin interfaceCommonDataOrBuilder- Returns:
- The bytes for sessionId.
-
setSessionId
public CommonData.Builder setSessionId(java.lang.String value)
session id
optional string session_id = 5 [json_name = "sessionId"];- Parameters:
value- The sessionId to set.- Returns:
- This builder for chaining.
-
clearSessionId
public CommonData.Builder clearSessionId()
session id
optional string session_id = 5 [json_name = "sessionId"];- Returns:
- This builder for chaining.
-
setSessionIdBytes
public CommonData.Builder setSessionIdBytes(com.google.protobuf.ByteString value)
session id
optional string session_id = 5 [json_name = "sessionId"];- Parameters:
value- The bytes for sessionId to set.- Returns:
- This builder for chaining.
-
hasOverlaySessionId
public boolean hasOverlaySessionId()
overlay_session id
optional string overlay_session_id = 6 [json_name = "overlaySessionId"];- Specified by:
hasOverlaySessionIdin interfaceCommonDataOrBuilder- Returns:
- Whether the overlaySessionId field is set.
-
getOverlaySessionId
public java.lang.String getOverlaySessionId()
overlay_session id
optional string overlay_session_id = 6 [json_name = "overlaySessionId"];- Specified by:
getOverlaySessionIdin interfaceCommonDataOrBuilder- Returns:
- The overlaySessionId.
-
getOverlaySessionIdBytes
public com.google.protobuf.ByteString getOverlaySessionIdBytes()
overlay_session id
optional string overlay_session_id = 6 [json_name = "overlaySessionId"];- Specified by:
getOverlaySessionIdBytesin interfaceCommonDataOrBuilder- Returns:
- The bytes for overlaySessionId.
-
setOverlaySessionId
public CommonData.Builder setOverlaySessionId(java.lang.String value)
overlay_session id
optional string overlay_session_id = 6 [json_name = "overlaySessionId"];- Parameters:
value- The overlaySessionId to set.- Returns:
- This builder for chaining.
-
clearOverlaySessionId
public CommonData.Builder clearOverlaySessionId()
overlay_session id
optional string overlay_session_id = 6 [json_name = "overlaySessionId"];- Returns:
- This builder for chaining.
-
setOverlaySessionIdBytes
public CommonData.Builder setOverlaySessionIdBytes(com.google.protobuf.ByteString value)
overlay_session id
optional string overlay_session_id = 6 [json_name = "overlaySessionId"];- Parameters:
value- The bytes for overlaySessionId to set.- Returns:
- This builder for chaining.
-
hasTopicId
public boolean hasTopicId()
topic id
optional string topic_id = 7 [json_name = "topicId"];- Specified by:
hasTopicIdin interfaceCommonDataOrBuilder- Returns:
- Whether the topicId field is set.
-
getTopicId
public java.lang.String getTopicId()
topic id
optional string topic_id = 7 [json_name = "topicId"];- Specified by:
getTopicIdin interfaceCommonDataOrBuilder- Returns:
- The topicId.
-
getTopicIdBytes
public com.google.protobuf.ByteString getTopicIdBytes()
topic id
optional string topic_id = 7 [json_name = "topicId"];- Specified by:
getTopicIdBytesin interfaceCommonDataOrBuilder- Returns:
- The bytes for topicId.
-
setTopicId
public CommonData.Builder setTopicId(java.lang.String value)
topic id
optional string topic_id = 7 [json_name = "topicId"];- Parameters:
value- The topicId to set.- Returns:
- This builder for chaining.
-
clearTopicId
public CommonData.Builder clearTopicId()
topic id
optional string topic_id = 7 [json_name = "topicId"];- Returns:
- This builder for chaining.
-
setTopicIdBytes
public CommonData.Builder setTopicIdBytes(com.google.protobuf.ByteString value)
topic id
optional string topic_id = 7 [json_name = "topicId"];- Parameters:
value- The bytes for topicId to set.- Returns:
- This builder for chaining.
-
hasTopicType
public boolean hasTopicType()
topic type
optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];- Specified by:
hasTopicTypein interfaceCommonDataOrBuilder- Returns:
- Whether the topicType field is set.
-
getTopicTypeValue
public int getTopicTypeValue()
topic type
optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];- Specified by:
getTopicTypeValuein interfaceCommonDataOrBuilder- Returns:
- The enum numeric value on the wire for topicType.
-
setTopicTypeValue
public CommonData.Builder setTopicTypeValue(int value)
topic type
optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];- Parameters:
value- The topicType to set.- Returns:
- This builder for chaining.
-
getTopicType
public TopicType getTopicType()
topic type
optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];- Specified by:
getTopicTypein interfaceCommonDataOrBuilder- Returns:
- The topicType.
-
setTopicType
public CommonData.Builder setTopicType(TopicType value)
topic type
optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];- Parameters:
value- The enum numeric value on the wire for topicType to set.- Returns:
- This builder for chaining.
-
clearTopicType
public CommonData.Builder clearTopicType()
topic type
optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];- Returns:
- This builder for chaining.
-
hasParentTopicId
public boolean hasParentTopicId()
parent topic id
optional string parent_topic_id = 9 [json_name = "parentTopicId"];- Specified by:
hasParentTopicIdin interfaceCommonDataOrBuilder- Returns:
- Whether the parentTopicId field is set.
-
getParentTopicId
public java.lang.String getParentTopicId()
parent topic id
optional string parent_topic_id = 9 [json_name = "parentTopicId"];- Specified by:
getParentTopicIdin interfaceCommonDataOrBuilder- Returns:
- The parentTopicId.
-
getParentTopicIdBytes
public com.google.protobuf.ByteString getParentTopicIdBytes()
parent topic id
optional string parent_topic_id = 9 [json_name = "parentTopicId"];- Specified by:
getParentTopicIdBytesin interfaceCommonDataOrBuilder- Returns:
- The bytes for parentTopicId.
-
setParentTopicId
public CommonData.Builder setParentTopicId(java.lang.String value)
parent topic id
optional string parent_topic_id = 9 [json_name = "parentTopicId"];- Parameters:
value- The parentTopicId to set.- Returns:
- This builder for chaining.
-
clearParentTopicId
public CommonData.Builder clearParentTopicId()
parent topic id
optional string parent_topic_id = 9 [json_name = "parentTopicId"];- Returns:
- This builder for chaining.
-
setParentTopicIdBytes
public CommonData.Builder setParentTopicIdBytes(com.google.protobuf.ByteString value)
parent topic id
optional string parent_topic_id = 9 [json_name = "parentTopicId"];- Parameters:
value- The bytes for parentTopicId to set.- Returns:
- This builder for chaining.
-
hasParentTopicType
public boolean hasParentTopicType()
parent topic type
optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];- Specified by:
hasParentTopicTypein interfaceCommonDataOrBuilder- Returns:
- Whether the parentTopicType field is set.
-
getParentTopicTypeValue
public int getParentTopicTypeValue()
parent topic type
optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];- Specified by:
getParentTopicTypeValuein interfaceCommonDataOrBuilder- Returns:
- The enum numeric value on the wire for parentTopicType.
-
setParentTopicTypeValue
public CommonData.Builder setParentTopicTypeValue(int value)
parent topic type
optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];- Parameters:
value- The parentTopicType to set.- Returns:
- This builder for chaining.
-
getParentTopicType
public TopicType getParentTopicType()
parent topic type
optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];- Specified by:
getParentTopicTypein interfaceCommonDataOrBuilder- Returns:
- The parentTopicType.
-
setParentTopicType
public CommonData.Builder setParentTopicType(TopicType value)
parent topic type
optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];- Parameters:
value- The enum numeric value on the wire for parentTopicType to set.- Returns:
- This builder for chaining.
-
clearParentTopicType
public CommonData.Builder clearParentTopicType()
parent topic type
optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];- Returns:
- This builder for chaining.
-
hasParticipantsCount
public boolean hasParticipantsCount()
participants count
optional uint32 participants_count = 11 [json_name = "participantsCount"];- Specified by:
hasParticipantsCountin interfaceCommonDataOrBuilder- Returns:
- Whether the participantsCount field is set.
-
getParticipantsCount
public int getParticipantsCount()
participants count
optional uint32 participants_count = 11 [json_name = "participantsCount"];- Specified by:
getParticipantsCountin interfaceCommonDataOrBuilder- Returns:
- The participantsCount.
-
setParticipantsCount
public CommonData.Builder setParticipantsCount(int value)
participants count
optional uint32 participants_count = 11 [json_name = "participantsCount"];- Parameters:
value- The participantsCount to set.- Returns:
- This builder for chaining.
-
clearParticipantsCount
public CommonData.Builder clearParticipantsCount()
participants count
optional uint32 participants_count = 11 [json_name = "participantsCount"];- Returns:
- This builder for chaining.
-
hasRouteMap
public boolean hasRouteMap()
where we are in the app right now
optional string route_map = 12 [json_name = "routeMap"];- Specified by:
hasRouteMapin interfaceCommonDataOrBuilder- Returns:
- Whether the routeMap field is set.
-
getRouteMap
public java.lang.String getRouteMap()
where we are in the app right now
optional string route_map = 12 [json_name = "routeMap"];- Specified by:
getRouteMapin interfaceCommonDataOrBuilder- Returns:
- The routeMap.
-
getRouteMapBytes
public com.google.protobuf.ByteString getRouteMapBytes()
where we are in the app right now
optional string route_map = 12 [json_name = "routeMap"];- Specified by:
getRouteMapBytesin interfaceCommonDataOrBuilder- Returns:
- The bytes for routeMap.
-
setRouteMap
public CommonData.Builder setRouteMap(java.lang.String value)
where we are in the app right now
optional string route_map = 12 [json_name = "routeMap"];- Parameters:
value- The routeMap to set.- Returns:
- This builder for chaining.
-
clearRouteMap
public CommonData.Builder clearRouteMap()
where we are in the app right now
optional string route_map = 12 [json_name = "routeMap"];- Returns:
- This builder for chaining.
-
setRouteMapBytes
public CommonData.Builder setRouteMapBytes(com.google.protobuf.ByteString value)
where we are in the app right now
optional string route_map = 12 [json_name = "routeMap"];- Parameters:
value- The bytes for routeMap to set.- Returns:
- This builder for chaining.
-
hasTrackTimestamp
public boolean hasTrackTimestamp()
event time
optional string track_timestamp = 13 [json_name = "trackTimestamp"];- Specified by:
hasTrackTimestampin interfaceCommonDataOrBuilder- Returns:
- Whether the trackTimestamp field is set.
-
getTrackTimestamp
public java.lang.String getTrackTimestamp()
event time
optional string track_timestamp = 13 [json_name = "trackTimestamp"];- Specified by:
getTrackTimestampin interfaceCommonDataOrBuilder- Returns:
- The trackTimestamp.
-
getTrackTimestampBytes
public com.google.protobuf.ByteString getTrackTimestampBytes()
event time
optional string track_timestamp = 13 [json_name = "trackTimestamp"];- Specified by:
getTrackTimestampBytesin interfaceCommonDataOrBuilder- Returns:
- The bytes for trackTimestamp.
-
setTrackTimestamp
public CommonData.Builder setTrackTimestamp(java.lang.String value)
event time
optional string track_timestamp = 13 [json_name = "trackTimestamp"];- Parameters:
value- The trackTimestamp to set.- Returns:
- This builder for chaining.
-
clearTrackTimestamp
public CommonData.Builder clearTrackTimestamp()
event time
optional string track_timestamp = 13 [json_name = "trackTimestamp"];- Returns:
- This builder for chaining.
-
setTrackTimestampBytes
public CommonData.Builder setTrackTimestampBytes(com.google.protobuf.ByteString value)
event time
optional string track_timestamp = 13 [json_name = "trackTimestamp"];- Parameters:
value- The bytes for trackTimestamp to set.- Returns:
- This builder for chaining.
-
-