Class SendCallsRequest.CreateRequestData.Builder

    • Method Detail

      • setEventId

        public SendCallsRequest.CreateRequestData.Builder setEventId​(long value)
         sports event id
         
        uint64 event_id = 1 [json_name = "eventId"];
        Parameters:
        value - The eventId to set.
        Returns:
        This builder for chaining.
      • setUserId

        public SendCallsRequest.CreateRequestData.Builder setUserId​(long value)
         user id
         
        uint64 user_id = 2 [json_name = "userId"];
        Parameters:
        value - The userId to set.
        Returns:
        This builder for chaining.
      • setParticipantsCount

        public SendCallsRequest.CreateRequestData.Builder setParticipantsCount​(int value)
         participants count. Use for KIND_NEW_CALL and KIND_CALL_FINISHED
         
        uint32 participants_count = 3 [json_name = "participantsCount"];
        Parameters:
        value - The participantsCount to set.
        Returns:
        This builder for chaining.
      • clearParticipantsCount

        public SendCallsRequest.CreateRequestData.Builder clearParticipantsCount()
         participants count. Use for KIND_NEW_CALL and KIND_CALL_FINISHED
         
        uint32 participants_count = 3 [json_name = "participantsCount"];
        Returns:
        This builder for chaining.
      • getCategoryValue

        public int getCategoryValue()
         category. Use for KIND_NEW_CALL, KIND_GROUP_CALL_JOINED and KIND_CALL_FINISHED
         
        .streamlayer.analytics.v1.common.Category category = 4 [json_name = "category"];
        Specified by:
        getCategoryValue in interface SendCallsRequest.CreateRequestDataOrBuilder
        Returns:
        The enum numeric value on the wire for category.
      • setCategoryValue

        public SendCallsRequest.CreateRequestData.Builder setCategoryValue​(int value)
         category. Use for KIND_NEW_CALL, KIND_GROUP_CALL_JOINED and KIND_CALL_FINISHED
         
        .streamlayer.analytics.v1.common.Category category = 4 [json_name = "category"];
        Parameters:
        value - The category to set.
        Returns:
        This builder for chaining.
      • getCategory

        public Category getCategory()
         category. Use for KIND_NEW_CALL, KIND_GROUP_CALL_JOINED and KIND_CALL_FINISHED
         
        .streamlayer.analytics.v1.common.Category category = 4 [json_name = "category"];
        Specified by:
        getCategory in interface SendCallsRequest.CreateRequestDataOrBuilder
        Returns:
        The category.
      • setCategory

        public SendCallsRequest.CreateRequestData.Builder setCategory​(Category value)
         category. Use for KIND_NEW_CALL, KIND_GROUP_CALL_JOINED and KIND_CALL_FINISHED
         
        .streamlayer.analytics.v1.common.Category category = 4 [json_name = "category"];
        Parameters:
        value - The enum numeric value on the wire for category to set.
        Returns:
        This builder for chaining.
      • clearCategory

        public SendCallsRequest.CreateRequestData.Builder clearCategory()
         category. Use for KIND_NEW_CALL, KIND_GROUP_CALL_JOINED and KIND_CALL_FINISHED
         
        .streamlayer.analytics.v1.common.Category category = 4 [json_name = "category"];
        Returns:
        This builder for chaining.
      • getKindValue

        public int getKindValue()
         kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
         
        .streamlayer.analytics.v1.common.Kind kind = 5 [json_name = "kind"];
        Specified by:
        getKindValue in interface SendCallsRequest.CreateRequestDataOrBuilder
        Returns:
        The enum numeric value on the wire for kind.
      • setKindValue

        public SendCallsRequest.CreateRequestData.Builder setKindValue​(int value)
         kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
         
        .streamlayer.analytics.v1.common.Kind kind = 5 [json_name = "kind"];
        Parameters:
        value - The kind to set.
        Returns:
        This builder for chaining.
      • getKind

        public Kind getKind()
         kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
         
        .streamlayer.analytics.v1.common.Kind kind = 5 [json_name = "kind"];
        Specified by:
        getKind in interface SendCallsRequest.CreateRequestDataOrBuilder
        Returns:
        The kind.
      • setKind

        public SendCallsRequest.CreateRequestData.Builder setKind​(Kind value)
         kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
         
        .streamlayer.analytics.v1.common.Kind kind = 5 [json_name = "kind"];
        Parameters:
        value - The enum numeric value on the wire for kind to set.
        Returns:
        This builder for chaining.
      • clearKind

        public SendCallsRequest.CreateRequestData.Builder clearKind()
         kind: KIND_NEW_CALL, KIND_CALL_JOINED, KIND_CALL_FINISHED, KIND_GROUP_CALL_JOINED
         
        .streamlayer.analytics.v1.common.Kind kind = 5 [json_name = "kind"];
        Returns:
        This builder for chaining.
      • setTrackTimestamp

        public SendCallsRequest.CreateRequestData.Builder setTrackTimestamp​(com.google.protobuf.Timestamp value)
         track timestamp
         
        .google.protobuf.Timestamp track_timestamp = 6 [json_name = "trackTimestamp"];
      • setTrackTimestamp

        public SendCallsRequest.CreateRequestData.Builder setTrackTimestamp​(com.google.protobuf.Timestamp.Builder builderForValue)
         track timestamp
         
        .google.protobuf.Timestamp track_timestamp = 6 [json_name = "trackTimestamp"];
      • mergeTrackTimestamp

        public SendCallsRequest.CreateRequestData.Builder mergeTrackTimestamp​(com.google.protobuf.Timestamp value)
         track timestamp
         
        .google.protobuf.Timestamp track_timestamp = 6 [json_name = "trackTimestamp"];
      • setRouteMap

        public SendCallsRequest.CreateRequestData.Builder setRouteMap​(java.lang.String value)
         route map
         
        string route_map = 7 [json_name = "routeMap"];
        Parameters:
        value - The routeMap to set.
        Returns:
        This builder for chaining.
      • setRouteMapBytes

        public SendCallsRequest.CreateRequestData.Builder setRouteMapBytes​(com.google.protobuf.ByteString value)
         route map
         
        string route_map = 7 [json_name = "routeMap"];
        Parameters:
        value - The bytes for routeMap to set.
        Returns:
        This builder for chaining.
      • setDeviceId

        public SendCallsRequest.CreateRequestData.Builder setDeviceId​(java.lang.String value)
         device id
         
        string device_id = 8 [json_name = "deviceId"];
        Parameters:
        value - The deviceId to set.
        Returns:
        This builder for chaining.
      • setDeviceIdBytes

        public SendCallsRequest.CreateRequestData.Builder setDeviceIdBytes​(com.google.protobuf.ByteString value)
         device id
         
        string device_id = 8 [json_name = "deviceId"];
        Parameters:
        value - The bytes for deviceId to set.
        Returns:
        This builder for chaining.
      • setOs

        public SendCallsRequest.CreateRequestData.Builder setOs​(java.lang.String value)
         operating system
         
        string os = 9 [json_name = "os"];
        Parameters:
        value - The os to set.
        Returns:
        This builder for chaining.
      • setOsBytes

        public SendCallsRequest.CreateRequestData.Builder setOsBytes​(com.google.protobuf.ByteString value)
         operating system
         
        string os = 9 [json_name = "os"];
        Parameters:
        value - The bytes for os to set.
        Returns:
        This builder for chaining.
      • setUserAgent

        public SendCallsRequest.CreateRequestData.Builder setUserAgent​(java.lang.String value)
         user agent
         
        string user_agent = 10 [json_name = "userAgent"];
        Parameters:
        value - The userAgent to set.
        Returns:
        This builder for chaining.
      • setUserAgentBytes

        public SendCallsRequest.CreateRequestData.Builder setUserAgentBytes​(com.google.protobuf.ByteString value)
         user agent
         
        string user_agent = 10 [json_name = "userAgent"];
        Parameters:
        value - The bytes for userAgent to set.
        Returns:
        This builder for chaining.
      • setSlSdkVersion

        public SendCallsRequest.CreateRequestData.Builder setSlSdkVersion​(java.lang.String value)
         sdk version
         
        string sl_sdk_version = 11 [json_name = "slSdkVersion"];
        Parameters:
        value - The slSdkVersion to set.
        Returns:
        This builder for chaining.
      • setSlSdkVersionBytes

        public SendCallsRequest.CreateRequestData.Builder setSlSdkVersionBytes​(com.google.protobuf.ByteString value)
         sdk version
         
        string sl_sdk_version = 11 [json_name = "slSdkVersion"];
        Parameters:
        value - The bytes for slSdkVersion to set.
        Returns:
        This builder for chaining.
      • setSessionId

        public SendCallsRequest.CreateRequestData.Builder setSessionId​(java.lang.String value)
         session id
         
        string session_id = 12 [json_name = "sessionId"];
        Parameters:
        value - The sessionId to set.
        Returns:
        This builder for chaining.
      • setSessionIdBytes

        public SendCallsRequest.CreateRequestData.Builder setSessionIdBytes​(com.google.protobuf.ByteString value)
         session id
         
        string session_id = 12 [json_name = "sessionId"];
        Parameters:
        value - The bytes for sessionId to set.
        Returns:
        This builder for chaining.
      • setOverlaySessionId

        public SendCallsRequest.CreateRequestData.Builder setOverlaySessionId​(java.lang.String value)
         overlay_session id
         
        string overlay_session_id = 13 [json_name = "overlaySessionId"];
        Parameters:
        value - The overlaySessionId to set.
        Returns:
        This builder for chaining.
      • clearOverlaySessionId

        public SendCallsRequest.CreateRequestData.Builder clearOverlaySessionId()
         overlay_session id
         
        string overlay_session_id = 13 [json_name = "overlaySessionId"];
        Returns:
        This builder for chaining.
      • setOverlaySessionIdBytes

        public SendCallsRequest.CreateRequestData.Builder setOverlaySessionIdBytes​(com.google.protobuf.ByteString value)
         overlay_session id
         
        string overlay_session_id = 13 [json_name = "overlaySessionId"];
        Parameters:
        value - The bytes for overlaySessionId to set.
        Returns:
        This builder for chaining.
      • setTopicId

        public SendCallsRequest.CreateRequestData.Builder setTopicId​(java.lang.String value)
         topic id
         
        string topic_id = 14 [json_name = "topicId"];
        Parameters:
        value - The topicId to set.
        Returns:
        This builder for chaining.
      • setTopicIdBytes

        public SendCallsRequest.CreateRequestData.Builder setTopicIdBytes​(com.google.protobuf.ByteString value)
         topic id
         
        string topic_id = 14 [json_name = "topicId"];
        Parameters:
        value - The bytes for topicId to set.
        Returns:
        This builder for chaining.
      • setUserIdStr

        public SendCallsRequest.CreateRequestData.Builder setUserIdStr​(java.lang.String value)
         user id as String
         
        string user_id_str = 15 [json_name = "userIdStr"];
        Parameters:
        value - The userIdStr to set.
        Returns:
        This builder for chaining.
      • setUserIdStrBytes

        public SendCallsRequest.CreateRequestData.Builder setUserIdStrBytes​(com.google.protobuf.ByteString value)
         user id as String
         
        string user_id_str = 15 [json_name = "userIdStr"];
        Parameters:
        value - The bytes for userIdStr to set.
        Returns:
        This builder for chaining.
      • setTopicTypeValue

        public SendCallsRequest.CreateRequestData.Builder setTopicTypeValue​(int value)
         topic type
         
        .streamlayer.analytics.v1.common.TopicType topic_type = 17 [json_name = "topicType"];
        Parameters:
        value - The topicType to set.
        Returns:
        This builder for chaining.
      • setTopicType

        public SendCallsRequest.CreateRequestData.Builder setTopicType​(TopicType value)
         topic type
         
        .streamlayer.analytics.v1.common.TopicType topic_type = 17 [json_name = "topicType"];
        Parameters:
        value - The enum numeric value on the wire for topicType to set.
        Returns:
        This builder for chaining.
      • clearTopicType

        public SendCallsRequest.CreateRequestData.Builder clearTopicType()
         topic type
         
        .streamlayer.analytics.v1.common.TopicType topic_type = 17 [json_name = "topicType"];
        Returns:
        This builder for chaining.
      • getScreenOrientationValue

        public int getScreenOrientationValue()
        .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 16 [json_name = "screenOrientation"];
        Specified by:
        getScreenOrientationValue in interface SendCallsRequest.CreateRequestDataOrBuilder
        Returns:
        The enum numeric value on the wire for screenOrientation.
      • setScreenOrientationValue

        public SendCallsRequest.CreateRequestData.Builder setScreenOrientationValue​(int value)
        .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 16 [json_name = "screenOrientation"];
        Parameters:
        value - The screenOrientation to set.
        Returns:
        This builder for chaining.
      • setScreenOrientation

        public SendCallsRequest.CreateRequestData.Builder setScreenOrientation​(ScreenOrientation value)
        .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 16 [json_name = "screenOrientation"];
        Parameters:
        value - The enum numeric value on the wire for screenOrientation to set.
        Returns:
        This builder for chaining.
      • clearScreenOrientation

        public SendCallsRequest.CreateRequestData.Builder clearScreenOrientation()
        .streamlayer.analytics.v1.common.ScreenOrientation screen_orientation = 16 [json_name = "screenOrientation"];
        Returns:
        This builder for chaining.