main.java.com.streamlayer.sdkSettings.client.SettingsAllow 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/sdkSettings/client/client.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sdkSettings.client;
/**
* Protobuf enum {@code streamlayer.sdkSettings.client.SettingsAllow}
*/
public enum SettingsAllow
implements com.google.protobuf.Internal.EnumLite {
/**
* SETTINGS_ALLOW_UNSET = 0;
*/
SETTINGS_ALLOW_UNSET(0),
/**
* SETTINGS_ALLOW_DISALLOW = 1;
*/
SETTINGS_ALLOW_DISALLOW(1),
/**
* SETTINGS_ALLOW_ALLOW = 2;
*/
SETTINGS_ALLOW_ALLOW(2),
UNRECOGNIZED(-1),
;
/**
* SETTINGS_ALLOW_UNSET = 0;
*/
public static final int SETTINGS_ALLOW_UNSET_VALUE = 0;
/**
* SETTINGS_ALLOW_DISALLOW = 1;
*/
public static final int SETTINGS_ALLOW_DISALLOW_VALUE = 1;
/**
* SETTINGS_ALLOW_ALLOW = 2;
*/
public static final int SETTINGS_ALLOW_ALLOW_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 SettingsAllow valueOf(int value) {
return forNumber(value);
}
public static SettingsAllow forNumber(int value) {
switch (value) {
case 0: return SETTINGS_ALLOW_UNSET;
case 1: return SETTINGS_ALLOW_DISALLOW;
case 2: return SETTINGS_ALLOW_ALLOW;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
SettingsAllow> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public SettingsAllow findValueByNumber(int number) {
return SettingsAllow.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return SettingsAllowVerifier.INSTANCE;
}
private static final class SettingsAllowVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new SettingsAllowVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return SettingsAllow.forNumber(number) != null;
}
};
private final int value;
private SettingsAllow(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:streamlayer.sdkSettings.client.SettingsAllow)
}