main.java.com.streamlayer.analytics.invitations.v1.InvitationFrom 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/analytics/v1/invitations/invitations.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.analytics.invitations.v1;
/**
* Protobuf enum {@code streamlayer.analytics.v1.invitations.InvitationFrom}
*/
public enum InvitationFrom
implements com.google.protobuf.Internal.EnumLite {
/**
* INVITATION_FROM_UNSET = 0;
*/
INVITATION_FROM_UNSET(0),
/**
* INVITATION_FROM_TITLE_CARD = 1;
*/
INVITATION_FROM_TITLE_CARD(1),
/**
* INVITATION_FROM_MENU = 2;
*/
INVITATION_FROM_MENU(2),
UNRECOGNIZED(-1),
;
/**
* INVITATION_FROM_UNSET = 0;
*/
public static final int INVITATION_FROM_UNSET_VALUE = 0;
/**
* INVITATION_FROM_TITLE_CARD = 1;
*/
public static final int INVITATION_FROM_TITLE_CARD_VALUE = 1;
/**
* INVITATION_FROM_MENU = 2;
*/
public static final int INVITATION_FROM_MENU_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 InvitationFrom valueOf(int value) {
return forNumber(value);
}
public static InvitationFrom forNumber(int value) {
switch (value) {
case 0: return INVITATION_FROM_UNSET;
case 1: return INVITATION_FROM_TITLE_CARD;
case 2: return INVITATION_FROM_MENU;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
InvitationFrom> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public InvitationFrom findValueByNumber(int number) {
return InvitationFrom.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return InvitationFromVerifier.INSTANCE;
}
private static final class InvitationFromVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new InvitationFromVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return InvitationFrom.forNumber(number) != null;
}
};
private final int value;
private InvitationFrom(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:streamlayer.analytics.v1.invitations.InvitationFrom)
}