Class GameTitleCard.Builder

    • Method Detail

      • getVisible

        public boolean getVisible()
        bool visible = 1 [json_name = "visible"];
        Specified by:
        getVisible in interface GameTitleCardOrBuilder
        Returns:
        The visible.
      • setVisible

        public GameTitleCard.Builder setVisible​(boolean value)
        bool visible = 1 [json_name = "visible"];
        Parameters:
        value - The visible to set.
        Returns:
        This builder for chaining.
      • clearVisible

        public GameTitleCard.Builder clearVisible()
        bool visible = 1 [json_name = "visible"];
        Returns:
        This builder for chaining.
      • getOptIn

        public boolean getOptIn()
         if opt_in is true and onboarding enabled, the user must complete onboarding to play the game (poll, trivia, prediction)
         
        bool opt_in = 2 [json_name = "optIn"];
        Specified by:
        getOptIn in interface GameTitleCardOrBuilder
        Returns:
        The optIn.
      • setOptIn

        public GameTitleCard.Builder setOptIn​(boolean value)
         if opt_in is true and onboarding enabled, the user must complete onboarding to play the game (poll, trivia, prediction)
         
        bool opt_in = 2 [json_name = "optIn"];
        Parameters:
        value - The optIn to set.
        Returns:
        This builder for chaining.
      • clearOptIn

        public GameTitleCard.Builder clearOptIn()
         if opt_in is true and onboarding enabled, the user must complete onboarding to play the game (poll, trivia, prediction)
         
        bool opt_in = 2 [json_name = "optIn"];
        Returns:
        This builder for chaining.
      • getTitle

        public java.lang.String getTitle()
        string title = 3 [json_name = "title"];
        Specified by:
        getTitle in interface GameTitleCardOrBuilder
        Returns:
        The title.
      • getTitleBytes

        public com.google.protobuf.ByteString getTitleBytes()
        string title = 3 [json_name = "title"];
        Specified by:
        getTitleBytes in interface GameTitleCardOrBuilder
        Returns:
        The bytes for title.
      • setTitle

        public GameTitleCard.Builder setTitle​(java.lang.String value)
        string title = 3 [json_name = "title"];
        Parameters:
        value - The title to set.
        Returns:
        This builder for chaining.
      • clearTitle

        public GameTitleCard.Builder clearTitle()
        string title = 3 [json_name = "title"];
        Returns:
        This builder for chaining.
      • setTitleBytes

        public GameTitleCard.Builder setTitleBytes​(com.google.protobuf.ByteString value)
        string title = 3 [json_name = "title"];
        Parameters:
        value - The bytes for title to set.
        Returns:
        This builder for chaining.
      • getSubtitle

        public java.lang.String getSubtitle()
        string subtitle = 4 [json_name = "subtitle"];
        Specified by:
        getSubtitle in interface GameTitleCardOrBuilder
        Returns:
        The subtitle.
      • getSubtitleBytes

        public com.google.protobuf.ByteString getSubtitleBytes()
        string subtitle = 4 [json_name = "subtitle"];
        Specified by:
        getSubtitleBytes in interface GameTitleCardOrBuilder
        Returns:
        The bytes for subtitle.
      • setSubtitle

        public GameTitleCard.Builder setSubtitle​(java.lang.String value)
        string subtitle = 4 [json_name = "subtitle"];
        Parameters:
        value - The subtitle to set.
        Returns:
        This builder for chaining.
      • clearSubtitle

        public GameTitleCard.Builder clearSubtitle()
        string subtitle = 4 [json_name = "subtitle"];
        Returns:
        This builder for chaining.
      • setSubtitleBytes

        public GameTitleCard.Builder setSubtitleBytes​(com.google.protobuf.ByteString value)
        string subtitle = 4 [json_name = "subtitle"];
        Parameters:
        value - The bytes for subtitle to set.
        Returns:
        This builder for chaining.
      • getHeader

        public java.lang.String getHeader()
         if no sponsor
         
        string header = 5 [json_name = "header"];
        Specified by:
        getHeader in interface GameTitleCardOrBuilder
        Returns:
        The header.
      • getHeaderBytes

        public com.google.protobuf.ByteString getHeaderBytes()
         if no sponsor
         
        string header = 5 [json_name = "header"];
        Specified by:
        getHeaderBytes in interface GameTitleCardOrBuilder
        Returns:
        The bytes for header.
      • setHeader

        public GameTitleCard.Builder setHeader​(java.lang.String value)
         if no sponsor
         
        string header = 5 [json_name = "header"];
        Parameters:
        value - The header to set.
        Returns:
        This builder for chaining.
      • clearHeader

        public GameTitleCard.Builder clearHeader()
         if no sponsor
         
        string header = 5 [json_name = "header"];
        Returns:
        This builder for chaining.
      • setHeaderBytes

        public GameTitleCard.Builder setHeaderBytes​(com.google.protobuf.ByteString value)
         if no sponsor
         
        string header = 5 [json_name = "header"];
        Parameters:
        value - The bytes for header to set.
        Returns:
        This builder for chaining.
      • hasMedia

        public boolean hasMedia()
        .streamlayer.sdkSettings.game.common.TitleCardMedia media = 6 [json_name = "media"];
        Specified by:
        hasMedia in interface GameTitleCardOrBuilder
        Returns:
        Whether the media field is set.
      • clearMedia

        public GameTitleCard.Builder clearMedia()
        .streamlayer.sdkSettings.game.common.TitleCardMedia media = 6 [json_name = "media"];
      • hasAppearance

        public boolean hasAppearance()
        .streamlayer.sdkSettings.game.common.TitleCardAppearance appearance = 7 [json_name = "appearance"];
        Specified by:
        hasAppearance in interface GameTitleCardOrBuilder
        Returns:
        Whether the appearance field is set.
      • clearAppearance

        public GameTitleCard.Builder clearAppearance()
        .streamlayer.sdkSettings.game.common.TitleCardAppearance appearance = 7 [json_name = "appearance"];
      • getCompleted

        public boolean getCompleted()
        bool completed = 8 [json_name = "completed"];
        Specified by:
        getCompleted in interface GameTitleCardOrBuilder
        Returns:
        The completed.
      • setCompleted

        public GameTitleCard.Builder setCompleted​(boolean value)
        bool completed = 8 [json_name = "completed"];
        Parameters:
        value - The completed to set.
        Returns:
        This builder for chaining.
      • clearCompleted

        public GameTitleCard.Builder clearCompleted()
        bool completed = 8 [json_name = "completed"];
        Returns:
        This builder for chaining.