main.java.com.streamlayer.interactive.common.NotificationPromotionImagePosition 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.NotificationPromotionImagePosition}
*/
public enum NotificationPromotionImagePosition
implements com.google.protobuf.Internal.EnumLite {
/**
* NOTIFICATION_PROMOTION_IMAGE_POSITION_UNSET = 0;
*/
NOTIFICATION_PROMOTION_IMAGE_POSITION_UNSET(0),
/**
* NOTIFICATION_PROMOTION_IMAGE_POSITION_FIT = 1;
*/
NOTIFICATION_PROMOTION_IMAGE_POSITION_FIT(1),
/**
* NOTIFICATION_PROMOTION_IMAGE_POSITION_CENTERED = 2;
*/
NOTIFICATION_PROMOTION_IMAGE_POSITION_CENTERED(2),
/**
* NOTIFICATION_PROMOTION_IMAGE_POSITION_BOTTOM = 3;
*/
NOTIFICATION_PROMOTION_IMAGE_POSITION_BOTTOM(3),
/**
* NOTIFICATION_PROMOTION_IMAGE_POSITION_SOLID = 4;
*/
NOTIFICATION_PROMOTION_IMAGE_POSITION_SOLID(4),
/**
* NOTIFICATION_PROMOTION_IMAGE_POSITION_MIDDLE = 5;
*/
NOTIFICATION_PROMOTION_IMAGE_POSITION_MIDDLE(5),
UNRECOGNIZED(-1),
;
/**
* NOTIFICATION_PROMOTION_IMAGE_POSITION_UNSET = 0;
*/
public static final int NOTIFICATION_PROMOTION_IMAGE_POSITION_UNSET_VALUE = 0;
/**
* NOTIFICATION_PROMOTION_IMAGE_POSITION_FIT = 1;
*/
public static final int NOTIFICATION_PROMOTION_IMAGE_POSITION_FIT_VALUE = 1;
/**
* NOTIFICATION_PROMOTION_IMAGE_POSITION_CENTERED = 2;
*/
public static final int NOTIFICATION_PROMOTION_IMAGE_POSITION_CENTERED_VALUE = 2;
/**
* NOTIFICATION_PROMOTION_IMAGE_POSITION_BOTTOM = 3;
*/
public static final int NOTIFICATION_PROMOTION_IMAGE_POSITION_BOTTOM_VALUE = 3;
/**
* NOTIFICATION_PROMOTION_IMAGE_POSITION_SOLID = 4;
*/
public static final int NOTIFICATION_PROMOTION_IMAGE_POSITION_SOLID_VALUE = 4;
/**
* NOTIFICATION_PROMOTION_IMAGE_POSITION_MIDDLE = 5;
*/
public static final int NOTIFICATION_PROMOTION_IMAGE_POSITION_MIDDLE_VALUE = 5;
@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 NotificationPromotionImagePosition valueOf(int value) {
return forNumber(value);
}
public static NotificationPromotionImagePosition forNumber(int value) {
switch (value) {
case 0: return NOTIFICATION_PROMOTION_IMAGE_POSITION_UNSET;
case 1: return NOTIFICATION_PROMOTION_IMAGE_POSITION_FIT;
case 2: return NOTIFICATION_PROMOTION_IMAGE_POSITION_CENTERED;
case 3: return NOTIFICATION_PROMOTION_IMAGE_POSITION_BOTTOM;
case 4: return NOTIFICATION_PROMOTION_IMAGE_POSITION_SOLID;
case 5: return NOTIFICATION_PROMOTION_IMAGE_POSITION_MIDDLE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
NotificationPromotionImagePosition> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public NotificationPromotionImagePosition findValueByNumber(int number) {
return NotificationPromotionImagePosition.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return NotificationPromotionImagePositionVerifier.INSTANCE;
}
private static final class NotificationPromotionImagePositionVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new NotificationPromotionImagePositionVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return NotificationPromotionImagePosition.forNumber(number) != null;
}
};
private final int value;
private NotificationPromotionImagePosition(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:streamlayer.interactive.NotificationPromotionImagePosition)
}