main.java.com.streamlayer.interactive.common.ImportStatus 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;
/**
*
* Import
*
*
* Protobuf enum {@code streamlayer.interactive.ImportStatus}
*/
public enum ImportStatus
implements com.google.protobuf.Internal.EnumLite {
/**
* IMPORT_STATUS_UNSET = 0;
*/
IMPORT_STATUS_UNSET(0),
/**
* IMPORT_STATUS_PLANNED = 1;
*/
IMPORT_STATUS_PLANNED(1),
/**
* IMPORT_STATUS_RUNNING = 2;
*/
IMPORT_STATUS_RUNNING(2),
/**
* IMPORT_STATUS_COMPLETED = 3;
*/
IMPORT_STATUS_COMPLETED(3),
/**
* IMPORT_STATUS_FAILED = 4;
*/
IMPORT_STATUS_FAILED(4),
UNRECOGNIZED(-1),
;
/**
* IMPORT_STATUS_UNSET = 0;
*/
public static final int IMPORT_STATUS_UNSET_VALUE = 0;
/**
* IMPORT_STATUS_PLANNED = 1;
*/
public static final int IMPORT_STATUS_PLANNED_VALUE = 1;
/**
* IMPORT_STATUS_RUNNING = 2;
*/
public static final int IMPORT_STATUS_RUNNING_VALUE = 2;
/**
* IMPORT_STATUS_COMPLETED = 3;
*/
public static final int IMPORT_STATUS_COMPLETED_VALUE = 3;
/**
* IMPORT_STATUS_FAILED = 4;
*/
public static final int IMPORT_STATUS_FAILED_VALUE = 4;
@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 ImportStatus valueOf(int value) {
return forNumber(value);
}
public static ImportStatus forNumber(int value) {
switch (value) {
case 0: return IMPORT_STATUS_UNSET;
case 1: return IMPORT_STATUS_PLANNED;
case 2: return IMPORT_STATUS_RUNNING;
case 3: return IMPORT_STATUS_COMPLETED;
case 4: return IMPORT_STATUS_FAILED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ImportStatus> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public ImportStatus findValueByNumber(int number) {
return ImportStatus.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return ImportStatusVerifier.INSTANCE;
}
private static final class ImportStatusVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new ImportStatusVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return ImportStatus.forNumber(number) != null;
}
};
private final int value;
private ImportStatus(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:streamlayer.interactive.ImportStatus)
}