Class QuestionAutoPost.Builder

    • Method Detail

      • getStateValue

        public int getStateValue()
        .streamlayer.interactive.QuestionAutoPostState state = 1 [json_name = "state"];
        Specified by:
        getStateValue in interface QuestionAutoPostOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public QuestionAutoPost.Builder setStateValue​(int value)
        .streamlayer.interactive.QuestionAutoPostState state = 1 [json_name = "state"];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • setState

        public QuestionAutoPost.Builder setState​(QuestionAutoPostState value)
        .streamlayer.interactive.QuestionAutoPostState state = 1 [json_name = "state"];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • clearState

        public QuestionAutoPost.Builder clearState()
        .streamlayer.interactive.QuestionAutoPostState state = 1 [json_name = "state"];
        Returns:
        This builder for chaining.
      • setInterval

        public QuestionAutoPost.Builder setInterval​(int value)
        uint32 interval = 2 [json_name = "interval"];
        Parameters:
        value - The interval to set.
        Returns:
        This builder for chaining.
      • clearInterval

        public QuestionAutoPost.Builder clearInterval()
        uint32 interval = 2 [json_name = "interval"];
        Returns:
        This builder for chaining.
      • hasNextPostTime

        public boolean hasNextPostTime()
        .google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];
        Specified by:
        hasNextPostTime in interface QuestionAutoPostOrBuilder
        Returns:
        Whether the nextPostTime field is set.
      • getNextPostTime

        public com.google.protobuf.Timestamp getNextPostTime()
        .google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];
        Specified by:
        getNextPostTime in interface QuestionAutoPostOrBuilder
        Returns:
        The nextPostTime.
      • setNextPostTime

        public QuestionAutoPost.Builder setNextPostTime​(com.google.protobuf.Timestamp value)
        .google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];
      • setNextPostTime

        public QuestionAutoPost.Builder setNextPostTime​(com.google.protobuf.Timestamp.Builder builderForValue)
        .google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];
      • mergeNextPostTime

        public QuestionAutoPost.Builder mergeNextPostTime​(com.google.protobuf.Timestamp value)
        .google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];
      • clearNextPostTime

        public QuestionAutoPost.Builder clearNextPostTime()
        .google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];
      • getStartModeValue

        public int getStartModeValue()
        .streamlayer.interactive.QuestionAutoPostStart start_mode = 4 [json_name = "startMode"];
        Specified by:
        getStartModeValue in interface QuestionAutoPostOrBuilder
        Returns:
        The enum numeric value on the wire for startMode.
      • setStartModeValue

        public QuestionAutoPost.Builder setStartModeValue​(int value)
        .streamlayer.interactive.QuestionAutoPostStart start_mode = 4 [json_name = "startMode"];
        Parameters:
        value - The startMode to set.
        Returns:
        This builder for chaining.
      • setStartMode

        public QuestionAutoPost.Builder setStartMode​(QuestionAutoPostStart value)
        .streamlayer.interactive.QuestionAutoPostStart start_mode = 4 [json_name = "startMode"];
        Parameters:
        value - The enum numeric value on the wire for startMode to set.
        Returns:
        This builder for chaining.
      • clearStartMode

        public QuestionAutoPost.Builder clearStartMode()
        .streamlayer.interactive.QuestionAutoPostStart start_mode = 4 [json_name = "startMode"];
        Returns:
        This builder for chaining.
      • hasStartOptions

        public boolean hasStartOptions()
        .streamlayer.interactive.QuestionAutoPostStartOptions start_options = 5 [json_name = "startOptions"];
        Specified by:
        hasStartOptions in interface QuestionAutoPostOrBuilder
        Returns:
        Whether the startOptions field is set.
      • clearStartOptions

        public QuestionAutoPost.Builder clearStartOptions()
        .streamlayer.interactive.QuestionAutoPostStartOptions start_options = 5 [json_name = "startOptions"];