Enum LoggingConfig.LogSeverity

java.lang.Object
java.lang.Enum<LoggingConfig.LogSeverity>
com.google.cloud.eventarc.v1.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 Details

    • LOG_SEVERITY_UNSPECIFIED

      public static final LoggingConfig.LogSeverity 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

      public static final LoggingConfig.LogSeverity NONE
       Default value at resource creation, presence of this value must be
       treated as no logging/disable logging.
       
      NONE = 1;
    • DEBUG

      public static final LoggingConfig.LogSeverity DEBUG
       Debug or trace level logging.
       
      DEBUG = 2;
    • INFO

      public static final LoggingConfig.LogSeverity INFO
       Routine information, such as ongoing status or performance.
       
      INFO = 3;
    • NOTICE

      public static final LoggingConfig.LogSeverity NOTICE
       Normal but significant events, such as start up, shut down, or a
       configuration change.
       
      NOTICE = 4;
    • WARNING

      public static final LoggingConfig.LogSeverity WARNING
       Warning events might cause problems.
       
      WARNING = 5;
    • ERROR

      public static final LoggingConfig.LogSeverity ERROR
       Error events are likely to cause problems.
       
      ERROR = 6;
    • CRITICAL

      public static final LoggingConfig.LogSeverity CRITICAL
       Critical events cause more severe problems or outages.
       
      CRITICAL = 7;
    • ALERT

      public static final LoggingConfig.LogSeverity ALERT
       A person must take action immediately.
       
      ALERT = 8;
    • EMERGENCY

      public static final LoggingConfig.LogSeverity EMERGENCY
       One or more systems are unusable.
       
      EMERGENCY = 9;
    • UNRECOGNIZED

      public static final LoggingConfig.LogSeverity UNRECOGNIZED
  • Field Details

    • LOG_SEVERITY_UNSPECIFIED_VALUE

      public static final int LOG_SEVERITY_UNSPECIFIED_VALUE
       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;
      See Also:
    • NONE_VALUE

      public static final int NONE_VALUE
       Default 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_VALUE
       Debug or trace level logging.
       
      DEBUG = 2;
      See Also:
    • INFO_VALUE

      public static final int INFO_VALUE
       Routine information, such as ongoing status or performance.
       
      INFO = 3;
      See Also:
    • NOTICE_VALUE

      public static final int NOTICE_VALUE
       Normal but significant events, such as start up, shut down, or a
       configuration change.
       
      NOTICE = 4;
      See Also:
    • WARNING_VALUE

      public static final int WARNING_VALUE
       Warning events might cause problems.
       
      WARNING = 5;
      See Also:
    • ERROR_VALUE

      public static final int ERROR_VALUE
       Error events are likely to cause problems.
       
      ERROR = 6;
      See Also:
    • CRITICAL_VALUE

      public static final int CRITICAL_VALUE
       Critical events cause more severe problems or outages.
       
      CRITICAL = 7;
      See Also:
    • ALERT_VALUE

      public static final int ALERT_VALUE
       A person must take action immediately.
       
      ALERT = 8;
      See Also:
    • EMERGENCY_VALUE

      public static final int EMERGENCY_VALUE
       One or more systems are unusable.
       
      EMERGENCY = 9;
      See Also:
  • Method Details

    • values

      public static LoggingConfig.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 LoggingConfig.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 LoggingConfig.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 LoggingConfig.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<LoggingConfig.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 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 name
      NullPointerException - if the argument is null