main.java.com.streamlayer.interactive.common.SilenceSetting 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.SilenceSetting}
*/
public enum SilenceSetting
implements com.google.protobuf.Internal.EnumLite {
/**
* SILENCE_SETTING_UNSET = 0;
*/
SILENCE_SETTING_UNSET(0),
/**
* SILENCE_SETTING_ON = 1;
*/
SILENCE_SETTING_ON(1),
/**
* SILENCE_SETTING_OFF = 2;
*/
SILENCE_SETTING_OFF(2),
UNRECOGNIZED(-1),
;
/**
* SILENCE_SETTING_UNSET = 0;
*/
public static final int SILENCE_SETTING_UNSET_VALUE = 0;
/**
* SILENCE_SETTING_ON = 1;
*/
public static final int SILENCE_SETTING_ON_VALUE = 1;
/**
* SILENCE_SETTING_OFF = 2;
*/
public static final int SILENCE_SETTING_OFF_VALUE = 2;
@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 SilenceSetting valueOf(int value) {
return forNumber(value);
}
public static SilenceSetting forNumber(int value) {
switch (value) {
case 0: return SILENCE_SETTING_UNSET;
case 1: return SILENCE_SETTING_ON;
case 2: return SILENCE_SETTING_OFF;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
SilenceSetting> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public SilenceSetting findValueByNumber(int number) {
return SilenceSetting.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return SilenceSettingVerifier.INSTANCE;
}
private static final class SilenceSettingVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new SilenceSettingVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return SilenceSetting.forNumber(number) != null;
}
};
private final int value;
private SilenceSetting(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:streamlayer.interactive.SilenceSetting)
}