Class CommonData

    • Method Detail

      • hasEventId

        public boolean hasEventId()
         current event id
         
        optional uint64 event_id = 1 [json_name = "eventId"];
        Specified by:
        hasEventId in interface CommonDataOrBuilder
        Returns:
        Whether the eventId field is set.
      • getEventId

        public long getEventId()
         current event id
         
        optional uint64 event_id = 1 [json_name = "eventId"];
        Specified by:
        getEventId in interface CommonDataOrBuilder
        Returns:
        The eventId.
      • hasCategory

        public boolean hasCategory()
         category
         
        optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];
        Specified by:
        hasCategory in interface CommonDataOrBuilder
        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:
        getCategoryValue in interface CommonDataOrBuilder
        Returns:
        The enum numeric value on the wire for category.
      • getCategory

        public Category getCategory()
         category
         
        optional .streamlayer.analytics.v1.common.Category category = 2 [json_name = "category"];
        Specified by:
        getCategory in interface CommonDataOrBuilder
        Returns:
        The category.
      • hasKind

        public boolean hasKind()
         kind
         
        optional .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
        Specified by:
        hasKind in interface CommonDataOrBuilder
        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:
        getKindValue in interface CommonDataOrBuilder
        Returns:
        The enum numeric value on the wire for kind.
      • getKind

        public Kind getKind()
         kind
         
        optional .streamlayer.analytics.v1.common.Kind kind = 3 [json_name = "kind"];
        Specified by:
        getKind in interface CommonDataOrBuilder
        Returns:
        The kind.
      • hasScreenOrientation

        public boolean hasScreenOrientation()
         how we are holding device
         
        optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];
        Specified by:
        hasScreenOrientation in interface CommonDataOrBuilder
        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:
        getScreenOrientationValue in interface CommonDataOrBuilder
        Returns:
        The enum numeric value on the wire for screenOrientation.
      • getScreenOrientation

        public ScreenOrientation getScreenOrientation()
         how we are holding device
         
        optional .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 4 [json_name = "screenOrientation"];
        Specified by:
        getScreenOrientation in interface CommonDataOrBuilder
        Returns:
        The screenOrientation.
      • hasSessionId

        public boolean hasSessionId()
         session id
         
        optional string session_id = 5 [json_name = "sessionId"];
        Specified by:
        hasSessionId in interface CommonDataOrBuilder
        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:
        getSessionId in interface CommonDataOrBuilder
        Returns:
        The sessionId.
      • getSessionIdBytes

        public com.google.protobuf.ByteString getSessionIdBytes()
         session id
         
        optional string session_id = 5 [json_name = "sessionId"];
        Specified by:
        getSessionIdBytes in interface CommonDataOrBuilder
        Returns:
        The bytes for sessionId.
      • hasOverlaySessionId

        public boolean hasOverlaySessionId()
         overlay_session id
         
        optional string overlay_session_id = 6 [json_name = "overlaySessionId"];
        Specified by:
        hasOverlaySessionId in interface CommonDataOrBuilder
        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:
        getOverlaySessionId in interface CommonDataOrBuilder
        Returns:
        The overlaySessionId.
      • getOverlaySessionIdBytes

        public com.google.protobuf.ByteString getOverlaySessionIdBytes()
         overlay_session id
         
        optional string overlay_session_id = 6 [json_name = "overlaySessionId"];
        Specified by:
        getOverlaySessionIdBytes in interface CommonDataOrBuilder
        Returns:
        The bytes for overlaySessionId.
      • hasTopicId

        public boolean hasTopicId()
         topic id
         
        optional string topic_id = 7 [json_name = "topicId"];
        Specified by:
        hasTopicId in interface CommonDataOrBuilder
        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:
        getTopicId in interface CommonDataOrBuilder
        Returns:
        The topicId.
      • getTopicIdBytes

        public com.google.protobuf.ByteString getTopicIdBytes()
         topic id
         
        optional string topic_id = 7 [json_name = "topicId"];
        Specified by:
        getTopicIdBytes in interface CommonDataOrBuilder
        Returns:
        The bytes for topicId.
      • hasTopicType

        public boolean hasTopicType()
         topic type
         
        optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];
        Specified by:
        hasTopicType in interface CommonDataOrBuilder
        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:
        getTopicTypeValue in interface CommonDataOrBuilder
        Returns:
        The enum numeric value on the wire for topicType.
      • getTopicType

        public TopicType getTopicType()
         topic type
         
        optional .streamlayer.analytics.v1.common.TopicType topic_type = 8 [json_name = "topicType"];
        Specified by:
        getTopicType in interface CommonDataOrBuilder
        Returns:
        The topicType.
      • hasParentTopicId

        public boolean hasParentTopicId()
         parent topic id
         
        optional string parent_topic_id = 9 [json_name = "parentTopicId"];
        Specified by:
        hasParentTopicId in interface CommonDataOrBuilder
        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:
        getParentTopicId in interface CommonDataOrBuilder
        Returns:
        The parentTopicId.
      • getParentTopicIdBytes

        public com.google.protobuf.ByteString getParentTopicIdBytes()
         parent topic id
         
        optional string parent_topic_id = 9 [json_name = "parentTopicId"];
        Specified by:
        getParentTopicIdBytes in interface CommonDataOrBuilder
        Returns:
        The bytes for parentTopicId.
      • hasParentTopicType

        public boolean hasParentTopicType()
         parent topic type
         
        optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];
        Specified by:
        hasParentTopicType in interface CommonDataOrBuilder
        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:
        getParentTopicTypeValue in interface CommonDataOrBuilder
        Returns:
        The enum numeric value on the wire for parentTopicType.
      • getParentTopicType

        public TopicType getParentTopicType()
         parent topic type
         
        optional .streamlayer.analytics.v1.common.TopicType parent_topic_type = 10 [json_name = "parentTopicType"];
        Specified by:
        getParentTopicType in interface CommonDataOrBuilder
        Returns:
        The parentTopicType.
      • hasParticipantsCount

        public boolean hasParticipantsCount()
         participants count
         
        optional uint32 participants_count = 11 [json_name = "participantsCount"];
        Specified by:
        hasParticipantsCount in interface CommonDataOrBuilder
        Returns:
        Whether the participantsCount field is set.
      • getParticipantsCount

        public int getParticipantsCount()
         participants count
         
        optional uint32 participants_count = 11 [json_name = "participantsCount"];
        Specified by:
        getParticipantsCount in interface CommonDataOrBuilder
        Returns:
        The participantsCount.
      • hasRouteMap

        public boolean hasRouteMap()
         where we are in the app right now
         
        optional string route_map = 12 [json_name = "routeMap"];
        Specified by:
        hasRouteMap in interface CommonDataOrBuilder
        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:
        getRouteMap in interface CommonDataOrBuilder
        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:
        getRouteMapBytes in interface CommonDataOrBuilder
        Returns:
        The bytes for routeMap.
      • hasTrackTimestamp

        public boolean hasTrackTimestamp()
         event time
         
        optional uint64 track_timestamp = 13 [json_name = "trackTimestamp"];
        Specified by:
        hasTrackTimestamp in interface CommonDataOrBuilder
        Returns:
        Whether the trackTimestamp field is set.
      • getTrackTimestamp

        public long getTrackTimestamp()
         event time
         
        optional uint64 track_timestamp = 13 [json_name = "trackTimestamp"];
        Specified by:
        getTrackTimestamp in interface CommonDataOrBuilder
        Returns:
        The trackTimestamp.
      • hasTopicSubType

        public boolean 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"];
        Specified by:
        hasTopicSubType in interface CommonDataOrBuilder
        Returns:
        Whether the topicSubType field is set.
      • getTopicSubTypeValue

        public int 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"];
        Specified by:
        getTopicSubTypeValue in interface CommonDataOrBuilder
        Returns:
        The enum numeric value on the wire for topicSubType.
      • getTopicSubType

        public TopicSubType 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"];
        Specified by:
        getTopicSubType in interface CommonDataOrBuilder
        Returns:
        The topicSubType.
      • hasCountry

        public boolean hasCountry()
         country from which the request was made
         
        optional string country = 15 [json_name = "country"];
        Specified by:
        hasCountry in interface CommonDataOrBuilder
        Returns:
        Whether the country field is set.
      • getCountry

        public java.lang.String getCountry()
         country from which the request was made
         
        optional string country = 15 [json_name = "country"];
        Specified by:
        getCountry in interface CommonDataOrBuilder
        Returns:
        The country.
      • getCountryBytes

        public com.google.protobuf.ByteString getCountryBytes()
         country from which the request was made
         
        optional string country = 15 [json_name = "country"];
        Specified by:
        getCountryBytes in interface CommonDataOrBuilder
        Returns:
        The bytes for country.
      • parseFrom

        public static CommonData parseFrom​(java.nio.ByteBuffer data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommonData parseFrom​(java.nio.ByteBuffer data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommonData parseFrom​(com.google.protobuf.ByteString data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommonData parseFrom​(com.google.protobuf.ByteString data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommonData parseFrom​(byte[] data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommonData parseFrom​(byte[] data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CommonData parseFrom​(java.io.InputStream input)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static CommonData parseFrom​(java.io.InputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static CommonData parseDelimitedFrom​(java.io.InputStream input)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static CommonData parseDelimitedFrom​(java.io.InputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static CommonData parseFrom​(com.google.protobuf.CodedInputStream input)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static CommonData parseFrom​(com.google.protobuf.CodedInputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<CommonData,​CommonData.Builder>
      • getDefaultInstance

        public static CommonData getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<CommonData> parser()