main.java.com.streamlayer.interactive.common.PromotionLogoMode 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.PromotionLogoMode}
*/
public enum PromotionLogoMode
implements com.google.protobuf.Internal.EnumLite {
/**
* PROMOTION_LOGO_MODE_UNSET = 0;
*/
PROMOTION_LOGO_MODE_UNSET(0),
/**
* PROMOTION_LOGO_MODE_LEFT = 1;
*/
PROMOTION_LOGO_MODE_LEFT(1),
/**
* PROMOTION_LOGO_MODE_CENTER = 2;
*/
PROMOTION_LOGO_MODE_CENTER(2),
/**
* PROMOTION_LOGO_MODE_MINMAL = 3;
*/
PROMOTION_LOGO_MODE_MINMAL(3),
UNRECOGNIZED(-1),
;
/**
* PROMOTION_LOGO_MODE_UNSET = 0;
*/
public static final int PROMOTION_LOGO_MODE_UNSET_VALUE = 0;
/**
* PROMOTION_LOGO_MODE_LEFT = 1;
*/
public static final int PROMOTION_LOGO_MODE_LEFT_VALUE = 1;
/**
* PROMOTION_LOGO_MODE_CENTER = 2;
*/
public static final int PROMOTION_LOGO_MODE_CENTER_VALUE = 2;
/**
* PROMOTION_LOGO_MODE_MINMAL = 3;
*/
public static final int PROMOTION_LOGO_MODE_MINMAL_VALUE = 3;
@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 PromotionLogoMode valueOf(int value) {
return forNumber(value);
}
public static PromotionLogoMode forNumber(int value) {
switch (value) {
case 0: return PROMOTION_LOGO_MODE_UNSET;
case 1: return PROMOTION_LOGO_MODE_LEFT;
case 2: return PROMOTION_LOGO_MODE_CENTER;
case 3: return PROMOTION_LOGO_MODE_MINMAL;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
PromotionLogoMode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public PromotionLogoMode findValueByNumber(int number) {
return PromotionLogoMode.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return PromotionLogoModeVerifier.INSTANCE;
}
private static final class PromotionLogoModeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new PromotionLogoModeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return PromotionLogoMode.forNumber(number) != null;
}
};
private final int value;
private PromotionLogoMode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:streamlayer.interactive.PromotionLogoMode)
}