Class QuestionAutoPost.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<QuestionAutoPost,QuestionAutoPost.Builder>
-
- com.streamlayer.interactive.common.QuestionAutoPost.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,QuestionAutoPostOrBuilder,java.lang.Cloneable
- Enclosing class:
- QuestionAutoPost
public static final class QuestionAutoPost.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<QuestionAutoPost,QuestionAutoPost.Builder> implements QuestionAutoPostOrBuilder
Protobuf typestreamlayer.interactive.QuestionAutoPost
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuestionAutoPost.BuilderclearInterval()uint32 interval = 2 [json_name = "interval"];QuestionAutoPost.BuilderclearNextPostTime().google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];QuestionAutoPost.BuilderclearStartMode().streamlayer.interactive.QuestionAutoPostStart start_mode = 4 [json_name = "startMode"];QuestionAutoPost.BuilderclearStartOptions().streamlayer.interactive.QuestionAutoPostStartOptions start_options = 5 [json_name = "startOptions"];QuestionAutoPost.BuilderclearState().streamlayer.interactive.QuestionAutoPostState state = 1 [json_name = "state"];intgetInterval()uint32 interval = 2 [json_name = "interval"];com.google.protobuf.TimestampgetNextPostTime().google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];QuestionAutoPostStartgetStartMode().streamlayer.interactive.QuestionAutoPostStart start_mode = 4 [json_name = "startMode"];intgetStartModeValue().streamlayer.interactive.QuestionAutoPostStart start_mode = 4 [json_name = "startMode"];QuestionAutoPostStartOptionsgetStartOptions().streamlayer.interactive.QuestionAutoPostStartOptions start_options = 5 [json_name = "startOptions"];QuestionAutoPostStategetState().streamlayer.interactive.QuestionAutoPostState state = 1 [json_name = "state"];intgetStateValue().streamlayer.interactive.QuestionAutoPostState state = 1 [json_name = "state"];booleanhasNextPostTime().google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];booleanhasStartOptions().streamlayer.interactive.QuestionAutoPostStartOptions start_options = 5 [json_name = "startOptions"];QuestionAutoPost.BuildermergeNextPostTime(com.google.protobuf.Timestamp value).google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];QuestionAutoPost.BuildermergeStartOptions(QuestionAutoPostStartOptions value).streamlayer.interactive.QuestionAutoPostStartOptions start_options = 5 [json_name = "startOptions"];QuestionAutoPost.BuildersetInterval(int value)uint32 interval = 2 [json_name = "interval"];QuestionAutoPost.BuildersetNextPostTime(com.google.protobuf.Timestamp value).google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];QuestionAutoPost.BuildersetNextPostTime(com.google.protobuf.Timestamp.Builder builderForValue).google.protobuf.Timestamp next_post_time = 3 [json_name = "nextPostTime"];QuestionAutoPost.BuildersetStartMode(QuestionAutoPostStart value).streamlayer.interactive.QuestionAutoPostStart start_mode = 4 [json_name = "startMode"];QuestionAutoPost.BuildersetStartModeValue(int value).streamlayer.interactive.QuestionAutoPostStart start_mode = 4 [json_name = "startMode"];QuestionAutoPost.BuildersetStartOptions(QuestionAutoPostStartOptions value).streamlayer.interactive.QuestionAutoPostStartOptions start_options = 5 [json_name = "startOptions"];QuestionAutoPost.BuildersetStartOptions(QuestionAutoPostStartOptions.Builder builderForValue).streamlayer.interactive.QuestionAutoPostStartOptions start_options = 5 [json_name = "startOptions"];QuestionAutoPost.BuildersetState(QuestionAutoPostState value).streamlayer.interactive.QuestionAutoPostState state = 1 [json_name = "state"];QuestionAutoPost.BuildersetStateValue(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
-
-
-
-
Method Detail
-
getStateValue
public int getStateValue()
.streamlayer.interactive.QuestionAutoPostState state = 1 [json_name = "state"];- Specified by:
getStateValuein interfaceQuestionAutoPostOrBuilder- 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.
-
getState
public QuestionAutoPostState getState()
.streamlayer.interactive.QuestionAutoPostState state = 1 [json_name = "state"];- Specified by:
getStatein interfaceQuestionAutoPostOrBuilder- Returns:
- The state.
-
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.
-
getInterval
public int getInterval()
uint32 interval = 2 [json_name = "interval"];- Specified by:
getIntervalin interfaceQuestionAutoPostOrBuilder- Returns:
- The interval.
-
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:
hasNextPostTimein interfaceQuestionAutoPostOrBuilder- 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:
getNextPostTimein interfaceQuestionAutoPostOrBuilder- 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:
getStartModeValuein interfaceQuestionAutoPostOrBuilder- 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.
-
getStartMode
public QuestionAutoPostStart getStartMode()
.streamlayer.interactive.QuestionAutoPostStart start_mode = 4 [json_name = "startMode"];- Specified by:
getStartModein interfaceQuestionAutoPostOrBuilder- Returns:
- The startMode.
-
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:
hasStartOptionsin interfaceQuestionAutoPostOrBuilder- Returns:
- Whether the startOptions field is set.
-
getStartOptions
public QuestionAutoPostStartOptions getStartOptions()
.streamlayer.interactive.QuestionAutoPostStartOptions start_options = 5 [json_name = "startOptions"];- Specified by:
getStartOptionsin interfaceQuestionAutoPostOrBuilder- Returns:
- The startOptions.
-
setStartOptions
public QuestionAutoPost.Builder setStartOptions(QuestionAutoPostStartOptions value)
.streamlayer.interactive.QuestionAutoPostStartOptions start_options = 5 [json_name = "startOptions"];
-
setStartOptions
public QuestionAutoPost.Builder setStartOptions(QuestionAutoPostStartOptions.Builder builderForValue)
.streamlayer.interactive.QuestionAutoPostStartOptions start_options = 5 [json_name = "startOptions"];
-
mergeStartOptions
public QuestionAutoPost.Builder mergeStartOptions(QuestionAutoPostStartOptions value)
.streamlayer.interactive.QuestionAutoPostStartOptions start_options = 5 [json_name = "startOptions"];
-
clearStartOptions
public QuestionAutoPost.Builder clearStartOptions()
.streamlayer.interactive.QuestionAutoPostStartOptions start_options = 5 [json_name = "startOptions"];
-
-