Enum LoggingConfig.LoggingLevel (2.48.0)

public enum LoggingConfig.LoggingLevel extends Enum<LoggingConfig.LoggingLevel> implements ProtocolMessageEnum

The setting to control log generation.

Protobuf enum google.cloud.retail.v2alpha.LoggingConfig.LoggingLevel

Implements

ProtocolMessageEnum

Static Fields

Name Description
LOGGING_DISABLED

No log will be generated and sent to Cloud Logging.

LOGGING_DISABLED = 1;

LOGGING_DISABLED_VALUE

No log will be generated and sent to Cloud Logging.

LOGGING_DISABLED = 1;

LOGGING_LEVEL_UNSPECIFIED

Default value. Defaults to LOG_FOR_WARNINGS_AND_ABOVE if unset.

LOGGING_LEVEL_UNSPECIFIED = 0;

LOGGING_LEVEL_UNSPECIFIED_VALUE

Default value. Defaults to LOG_FOR_WARNINGS_AND_ABOVE if unset.

LOGGING_LEVEL_UNSPECIFIED = 0;

LOG_ALL

Log all operations, including successful ones.

LOG_ALL = 4;

LOG_ALL_VALUE

Log all operations, including successful ones.

LOG_ALL = 4;

LOG_ERRORS_AND_ABOVE

Log for operations resulted in fatal error.

LOG_ERRORS_AND_ABOVE = 2;

LOG_ERRORS_AND_ABOVE_VALUE

Log for operations resulted in fatal error.

LOG_ERRORS_AND_ABOVE = 2;

LOG_WARNINGS_AND_ABOVE

In addition to LOG_ERRORS_AND_ABOVE, also log for operations that have soft errors, quality suggestions.

LOG_WARNINGS_AND_ABOVE = 3;

LOG_WARNINGS_AND_ABOVE_VALUE

In addition to LOG_ERRORS_AND_ABOVE, also log for operations that have soft errors, quality suggestions.

LOG_WARNINGS_AND_ABOVE = 3;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()