All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yamcs.protobuf.activities.ActivityLogLevel Maven / Gradle / Ivy

There is a newer version: 5.10.9
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: yamcs/protobuf/activities/activities.proto

package org.yamcs.protobuf.activities;

/**
 * Protobuf enum {@code yamcs.protobuf.activities.ActivityLogLevel}
 */
public enum ActivityLogLevel
    implements com.google.protobuf.ProtocolMessageEnum {
  /**
   * 
   * Info level
   * 
* * INFO = 1; */ INFO(1), /** *
   * Warning level
   * 
* * WARNING = 2; */ WARNING(2), /** *
   * Error level
   * 
* * ERROR = 3; */ ERROR(3), ; /** *
   * Info level
   * 
* * INFO = 1; */ public static final int INFO_VALUE = 1; /** *
   * Warning level
   * 
* * WARNING = 2; */ public static final int WARNING_VALUE = 2; /** *
   * Error level
   * 
* * ERROR = 3; */ public static final int ERROR_VALUE = 3; public final int getNumber() { return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ActivityLogLevel valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static ActivityLogLevel forNumber(int value) { switch (value) { case 1: return INFO; case 2: return WARNING; case 3: return ERROR; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ActivityLogLevel> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ActivityLogLevel findValueByNumber(int number) { return ActivityLogLevel.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.yamcs.protobuf.activities.ActivitiesProto.getDescriptor().getEnumTypes().get(1); } private static final ActivityLogLevel[] VALUES = values(); public static ActivityLogLevel valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private ActivityLogLevel(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.activities.ActivityLogLevel) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy