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