main.java.com.streamlayer.triggers.StudioInput 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/triggers/triggers.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.triggers;
/**
* Protobuf enum {@code streamlayer.triggers.StudioInput}
*/
public enum StudioInput
implements com.google.protobuf.Internal.EnumLite {
/**
* STUDIO_INPUT_UNSET = 0;
*/
STUDIO_INPUT_UNSET(0),
/**
* STUDIO_INPUT_SELECT = 1;
*/
STUDIO_INPUT_SELECT(1),
/**
* STUDIO_INPUT_SELECT_MULTI = 2;
*/
STUDIO_INPUT_SELECT_MULTI(2),
/**
* STUDIO_INPUT_TIME_MINUTES = 3;
*/
STUDIO_INPUT_TIME_MINUTES(3),
/**
* STUDIO_INPUT_STRING = 4;
*/
STUDIO_INPUT_STRING(4),
/**
* STUDIO_INPUT_NUMBER = 5;
*/
STUDIO_INPUT_NUMBER(5),
/**
* STUDIO_INPUT_POINTS = 6;
*/
STUDIO_INPUT_POINTS(6),
UNRECOGNIZED(-1),
;
/**
* STUDIO_INPUT_UNSET = 0;
*/
public static final int STUDIO_INPUT_UNSET_VALUE = 0;
/**
* STUDIO_INPUT_SELECT = 1;
*/
public static final int STUDIO_INPUT_SELECT_VALUE = 1;
/**
* STUDIO_INPUT_SELECT_MULTI = 2;
*/
public static final int STUDIO_INPUT_SELECT_MULTI_VALUE = 2;
/**
* STUDIO_INPUT_TIME_MINUTES = 3;
*/
public static final int STUDIO_INPUT_TIME_MINUTES_VALUE = 3;
/**
* STUDIO_INPUT_STRING = 4;
*/
public static final int STUDIO_INPUT_STRING_VALUE = 4;
/**
* STUDIO_INPUT_NUMBER = 5;
*/
public static final int STUDIO_INPUT_NUMBER_VALUE = 5;
/**
* STUDIO_INPUT_POINTS = 6;
*/
public static final int STUDIO_INPUT_POINTS_VALUE = 6;
@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 StudioInput valueOf(int value) {
return forNumber(value);
}
public static StudioInput forNumber(int value) {
switch (value) {
case 0: return STUDIO_INPUT_UNSET;
case 1: return STUDIO_INPUT_SELECT;
case 2: return STUDIO_INPUT_SELECT_MULTI;
case 3: return STUDIO_INPUT_TIME_MINUTES;
case 4: return STUDIO_INPUT_STRING;
case 5: return STUDIO_INPUT_NUMBER;
case 6: return STUDIO_INPUT_POINTS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
StudioInput> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public StudioInput findValueByNumber(int number) {
return StudioInput.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return StudioInputVerifier.INSTANCE;
}
private static final class StudioInputVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new StudioInputVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return StudioInput.forNumber(number) != null;
}
};
private final int value;
private StudioInput(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:streamlayer.triggers.StudioInput)
}