Enum LogConfig.LogSeverity

java.lang.Object
java.lang.Enum<LogConfig.LogSeverity>
com.google.cloud.video.livestream.v1.LogConfig.LogSeverity
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<LogConfig.LogSeverity>
Enclosing class:
LogConfig

public static enum LogConfig.LogSeverity extends Enum<LogConfig.LogSeverity> implements com.google.protobuf.ProtocolMessageEnum
 The severity level of platform logging for this channel. Logs with a
 severity level higher than or equal to the chosen severity level will be
 logged and can be viewed through Cloud Logging.
 The severity level of a log is ranked as followed from low to high: DEBUG <
 INFO < NOTICE < WARNING < ERROR < CRITICAL < ALERT < EMERGENCY.
 See
 [LogSeverity](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#logseverity)
 for more information.
 
Protobuf enum google.cloud.video.livestream.v1.LogConfig.LogSeverity
  • Enum Constant Details

    • LOG_SEVERITY_UNSPECIFIED

      public static final LogConfig.LogSeverity LOG_SEVERITY_UNSPECIFIED
       Log severity is not specified. This is the same as log severity is OFF.
       
      LOG_SEVERITY_UNSPECIFIED = 0;
    • OFF

      public static final LogConfig.LogSeverity OFF
       Log is turned off.
       
      OFF = 1;
    • DEBUG

      public static final LogConfig.LogSeverity DEBUG
       Log with severity higher than or equal to DEBUG are logged.
       
      DEBUG = 100;
    • INFO

      public static final LogConfig.LogSeverity INFO
       Logs with severity higher than or equal to INFO are logged.
       
      INFO = 200;
    • WARNING

      public static final LogConfig.LogSeverity WARNING
       Logs with severity higher than or equal to WARNING are logged.
       
      WARNING = 400;
    • ERROR

      public static final LogConfig.LogSeverity ERROR
       Logs with severity higher than or equal to ERROR are logged.
       
      ERROR = 500;
    • UNRECOGNIZED

      public static final LogConfig.LogSeverity UNRECOGNIZED
  • Field Details

    • LOG_SEVERITY_UNSPECIFIED_VALUE

      public static final int LOG_SEVERITY_UNSPECIFIED_VALUE
       Log severity is not specified. This is the same as log severity is OFF.
       
      LOG_SEVERITY_UNSPECIFIED = 0;
      See Also:
    • OFF_VALUE

      public static final int OFF_VALUE
       Log is turned off.
       
      OFF = 1;
      See Also:
    • DEBUG_VALUE

      public static final int DEBUG_VALUE
       Log with severity higher than or equal to DEBUG are logged.
       
      DEBUG = 100;
      See Also:
    • INFO_VALUE

      public static final int INFO_VALUE
       Logs with severity higher than or equal to INFO are logged.
       
      INFO = 200;
      See Also:
    • WARNING_VALUE

      public static final int WARNING_VALUE
       Logs with severity higher than or equal to WARNING are logged.
       
      WARNING = 400;
      See Also:
    • ERROR_VALUE

      public static final int ERROR_VALUE
       Logs with severity higher than or equal to ERROR are logged.
       
      ERROR = 500;
      See Also:
  • Method Details

    • values

      public static LogConfig.LogSeverity[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static LogConfig.LogSeverity valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static LogConfig.LogSeverity valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static LogConfig.LogSeverity forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<LogConfig.LogSeverity> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static LogConfig.LogSeverity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null