Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionLog with severity higher than or equal to DEBUG are logged.Logs with severity higher than or equal to ERROR are logged.Logs with severity higher than or equal to INFO are logged.Log severity is not specified.Log is turned off.Logs with severity higher than or equal to WARNING are logged. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intLog with severity higher than or equal to DEBUG are logged.static final intLogs with severity higher than or equal to ERROR are logged.static final intLogs with severity higher than or equal to INFO are logged.static final intLog severity is not specified.static final intLog is turned off.static final intLogs with severity higher than or equal to WARNING are logged. -
Method Summary
Modifier and TypeMethodDescriptionstatic LogConfig.LogSeverityforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<LogConfig.LogSeverity>static LogConfig.LogSeverityvalueOf(int value) Deprecated.static LogConfig.LogSeverityvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static LogConfig.LogSeverityReturns the enum constant of this type with the specified name.static LogConfig.LogSeverity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LOG_SEVERITY_UNSPECIFIED
Log severity is not specified. This is the same as log severity is OFF.
LOG_SEVERITY_UNSPECIFIED = 0; -
OFF
Log is turned off.
OFF = 1; -
DEBUG
Log with severity higher than or equal to DEBUG are logged.
DEBUG = 100; -
INFO
Logs with severity higher than or equal to INFO are logged.
INFO = 200; -
WARNING
Logs with severity higher than or equal to WARNING are logged.
WARNING = 400; -
ERROR
Logs with severity higher than or equal to ERROR are logged.
ERROR = 500; -
UNRECOGNIZED
-
-
Field Details
-
LOG_SEVERITY_UNSPECIFIED_VALUE
public static final int LOG_SEVERITY_UNSPECIFIED_VALUELog 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_VALUELog is turned off.
OFF = 1;- See Also:
-
DEBUG_VALUE
public static final int DEBUG_VALUELog with severity higher than or equal to DEBUG are logged.
DEBUG = 100;- See Also:
-
INFO_VALUE
public static final int INFO_VALUELogs with severity higher than or equal to INFO are logged.
INFO = 200;- See Also:
-
WARNING_VALUE
public static final int WARNING_VALUELogs with severity higher than or equal to WARNING are logged.
WARNING = 400;- See Also:
-
ERROR_VALUE
public static final int ERROR_VALUELogs with severity higher than or equal to ERROR are logged.
ERROR = 500;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-