Package com.google.cloud.eventarc.v1
Enum LoggingConfig.LogSeverity
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<LoggingConfig.LogSeverity>
- Enclosing class:
- LoggingConfig
public static enum LoggingConfig.LogSeverity
extends Enum<LoggingConfig.LogSeverity>
implements com.google.protobuf.ProtocolMessageEnum
The different severities for logging supported by Eventarc Advanced resources. This enum is an exhaustive list of log severities and is FROZEN. Do not expect new values to be added.Protobuf enum
google.cloud.eventarc.v1.LoggingConfig.LogSeverity-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA person must take action immediately.Critical events cause more severe problems or outages.Debug or trace level logging.One or more systems are unusable.Error events are likely to cause problems.Routine information, such as ongoing status or performance.Log severity is not specified.Default value at resource creation, presence of this value must be treated as no logging/disable logging.Normal but significant events, such as start up, shut down, or a configuration change.Warning events might cause problems. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intA person must take action immediately.static final intCritical events cause more severe problems or outages.static final intDebug or trace level logging.static final intOne or more systems are unusable.static final intError events are likely to cause problems.static final intRoutine information, such as ongoing status or performance.static final intLog severity is not specified.static final intDefault value at resource creation, presence of this value must be treated as no logging/disable logging.static final intNormal but significant events, such as start up, shut down, or a configuration change.static final intWarning events might cause problems. -
Method Summary
Modifier and TypeMethodDescriptionstatic LoggingConfig.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<LoggingConfig.LogSeverity>static LoggingConfig.LogSeverityvalueOf(int value) Deprecated.static LoggingConfig.LogSeverityvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static LoggingConfig.LogSeverityReturns the enum constant of this type with the specified name.static LoggingConfig.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 value is treated the same as NONE, but is used to distinguish between no update and update to NONE in update_masks.
LOG_SEVERITY_UNSPECIFIED = 0; -
NONE
Default value at resource creation, presence of this value must be treated as no logging/disable logging.
NONE = 1; -
DEBUG
Debug or trace level logging.
DEBUG = 2; -
INFO
Routine information, such as ongoing status or performance.
INFO = 3; -
NOTICE
Normal but significant events, such as start up, shut down, or a configuration change.
NOTICE = 4; -
WARNING
Warning events might cause problems.
WARNING = 5; -
ERROR
Error events are likely to cause problems.
ERROR = 6; -
CRITICAL
Critical events cause more severe problems or outages.
CRITICAL = 7; -
ALERT
A person must take action immediately.
ALERT = 8; -
EMERGENCY
One or more systems are unusable.
EMERGENCY = 9; -
UNRECOGNIZED
-
-
Field Details
-
LOG_SEVERITY_UNSPECIFIED_VALUE
public static final int LOG_SEVERITY_UNSPECIFIED_VALUELog severity is not specified. This value is treated the same as NONE, but is used to distinguish between no update and update to NONE in update_masks.
LOG_SEVERITY_UNSPECIFIED = 0;- See Also:
-
NONE_VALUE
public static final int NONE_VALUEDefault value at resource creation, presence of this value must be treated as no logging/disable logging.
NONE = 1;- See Also:
-
DEBUG_VALUE
public static final int DEBUG_VALUEDebug or trace level logging.
DEBUG = 2;- See Also:
-
INFO_VALUE
public static final int INFO_VALUERoutine information, such as ongoing status or performance.
INFO = 3;- See Also:
-
NOTICE_VALUE
public static final int NOTICE_VALUENormal but significant events, such as start up, shut down, or a configuration change.
NOTICE = 4;- See Also:
-
WARNING_VALUE
public static final int WARNING_VALUEWarning events might cause problems.
WARNING = 5;- See Also:
-
ERROR_VALUE
public static final int ERROR_VALUEError events are likely to cause problems.
ERROR = 6;- See Also:
-
CRITICAL_VALUE
public static final int CRITICAL_VALUECritical events cause more severe problems or outages.
CRITICAL = 7;- See Also:
-
ALERT_VALUE
public static final int ALERT_VALUEA person must take action immediately.
ALERT = 8;- See Also:
-
EMERGENCY_VALUE
public static final int EMERGENCY_VALUEOne or more systems are unusable.
EMERGENCY = 9;- 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
public static com.google.protobuf.Internal.EnumLiteMap<LoggingConfig.LogSeverity> 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 LoggingConfig.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
-