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