Class QuestionAutoPost.Builder

    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      QuestionAutoPost.Builder clearInterval()
      uint32 interval = 2 [json_name = "interval"];
      QuestionAutoPost.Builder clearNextPostTime()
      .google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];
      QuestionAutoPost.Builder clearState()
      .streamlayer.interactive.QuestionAutoPostState state = 1 [json_name = "state"];
      int getInterval()
      uint32 interval = 2 [json_name = "interval"];
      com.google.protobuf.Timestamp getNextPostTime()
      .google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];
      QuestionAutoPostState getState()
      .streamlayer.interactive.QuestionAutoPostState state = 1 [json_name = "state"];
      int getStateValue()
      .streamlayer.interactive.QuestionAutoPostState state = 1 [json_name = "state"];
      boolean hasNextPostTime()
      .google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];
      QuestionAutoPost.Builder mergeNextPostTime​(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];
      QuestionAutoPost.Builder setInterval​(int value)
      uint32 interval = 2 [json_name = "interval"];
      QuestionAutoPost.Builder setNextPostTime​(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];
      QuestionAutoPost.Builder setNextPostTime​(com.google.protobuf.Timestamp.Builder builderForValue)
      .google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];
      QuestionAutoPost.Builder setState​(QuestionAutoPostState value)
      .streamlayer.interactive.QuestionAutoPostState state = 1 [json_name = "state"];
      QuestionAutoPost.Builder setStateValue​(int value)
      .streamlayer.interactive.QuestionAutoPostState state = 1 [json_name = "state"];
      • 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
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • 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"];