main.java.com.streamlayer.interactive.common.QuestionAutoPostState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/interactive/interactive.common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.interactive.common;
/**
* Protobuf enum {@code streamlayer.interactive.QuestionAutoPostState}
*/
public enum QuestionAutoPostState
implements com.google.protobuf.Internal.EnumLite {
/**
* QUESTION_AUTO_POST_STATE_UNSET = 0;
*/
QUESTION_AUTO_POST_STATE_UNSET(0),
/**
* QUESTION_AUTO_POST_STATE_ON = 1;
*/
QUESTION_AUTO_POST_STATE_ON(1),
/**
* QUESTION_AUTO_POST_STATE_OFF = 2;
*/
QUESTION_AUTO_POST_STATE_OFF(2),
/**
* QUESTION_AUTO_POST_STATE_PAUSED = 3;
*/
QUESTION_AUTO_POST_STATE_PAUSED(3),
/**
* QUESTION_AUTO_POST_STATE_IDLE = 4;
*/
QUESTION_AUTO_POST_STATE_IDLE(4),
/**
*
* use as command
*
*
* QUESTION_AUTO_POST_STATE_RESET = 5;
*/
QUESTION_AUTO_POST_STATE_RESET(5),
UNRECOGNIZED(-1),
;
/**
* QUESTION_AUTO_POST_STATE_UNSET = 0;
*/
public static final int QUESTION_AUTO_POST_STATE_UNSET_VALUE = 0;
/**
* QUESTION_AUTO_POST_STATE_ON = 1;
*/
public static final int QUESTION_AUTO_POST_STATE_ON_VALUE = 1;
/**
* QUESTION_AUTO_POST_STATE_OFF = 2;
*/
public static final int QUESTION_AUTO_POST_STATE_OFF_VALUE = 2;
/**
* QUESTION_AUTO_POST_STATE_PAUSED = 3;
*/
public static final int QUESTION_AUTO_POST_STATE_PAUSED_VALUE = 3;
/**
* QUESTION_AUTO_POST_STATE_IDLE = 4;
*/
public static final int QUESTION_AUTO_POST_STATE_IDLE_VALUE = 4;
/**
*
* use as command
*
*
* QUESTION_AUTO_POST_STATE_RESET = 5;
*/
public static final int QUESTION_AUTO_POST_STATE_RESET_VALUE = 5;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static QuestionAutoPostState valueOf(int value) {
return forNumber(value);
}
public static QuestionAutoPostState forNumber(int value) {
switch (value) {
case 0: return QUESTION_AUTO_POST_STATE_UNSET;
case 1: return QUESTION_AUTO_POST_STATE_ON;
case 2: return QUESTION_AUTO_POST_STATE_OFF;
case 3: return QUESTION_AUTO_POST_STATE_PAUSED;
case 4: return QUESTION_AUTO_POST_STATE_IDLE;
case 5: return QUESTION_AUTO_POST_STATE_RESET;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
QuestionAutoPostState> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public QuestionAutoPostState findValueByNumber(int number) {
return QuestionAutoPostState.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return QuestionAutoPostStateVerifier.INSTANCE;
}
private static final class QuestionAutoPostStateVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new QuestionAutoPostStateVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return QuestionAutoPostState.forNumber(number) != null;
}
};
private final int value;
private QuestionAutoPostState(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:streamlayer.interactive.QuestionAutoPostState)
}