Package com.google.cloud.dataplex.v1
Enum MetadataJob.ImportJobSpec.LogLevel
java.lang.Object
java.lang.Enum<MetadataJob.ImportJobSpec.LogLevel>
com.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.LogLevel
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<MetadataJob.ImportJobSpec.LogLevel>
- Enclosing class:
- MetadataJob.ImportJobSpec
public static enum MetadataJob.ImportJobSpec.LogLevel
extends Enum<MetadataJob.ImportJobSpec.LogLevel>
implements com.google.protobuf.ProtocolMessageEnum
The level of logs to write to Cloud Logging for this job.Protobuf enum
google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.LogLevel-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDebug-level logging.Info-level logging.Log level unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDebug-level logging.static final intInfo-level logging.static final intLog level unspecified. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<MetadataJob.ImportJobSpec.LogLevel>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static MetadataJob.ImportJobSpec.LogLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LOG_LEVEL_UNSPECIFIED
Log level unspecified.
LOG_LEVEL_UNSPECIFIED = 0; -
DEBUG
Debug-level logging. Captures detailed logs for each import item. Use debug-level logging to troubleshoot issues with specific import items. For example, use debug-level logging to identify resources that are missing from the job scope, entries or aspects that don't conform to the associated entry type or aspect type, or other misconfigurations with the metadata import file. Depending on the size of your metadata job and the number of logs that are generated, debug-level logging might incur [additional costs](https://cloud.google.com/stackdriver/pricing).
DEBUG = 1; -
INFO
Info-level logging. Captures logs at the overall job level. Includes aggregate logs about import items, but doesn't specify which import item has an error.
INFO = 2; -
UNRECOGNIZED
-
-
Field Details
-
LOG_LEVEL_UNSPECIFIED_VALUE
public static final int LOG_LEVEL_UNSPECIFIED_VALUELog level unspecified.
LOG_LEVEL_UNSPECIFIED = 0;- See Also:
-
DEBUG_VALUE
public static final int DEBUG_VALUEDebug-level logging. Captures detailed logs for each import item. Use debug-level logging to troubleshoot issues with specific import items. For example, use debug-level logging to identify resources that are missing from the job scope, entries or aspects that don't conform to the associated entry type or aspect type, or other misconfigurations with the metadata import file. Depending on the size of your metadata job and the number of logs that are generated, debug-level logging might incur [additional costs](https://cloud.google.com/stackdriver/pricing).
DEBUG = 1;- See Also:
-
INFO_VALUE
public static final int INFO_VALUEInfo-level logging. Captures logs at the overall job level. Includes aggregate logs about import items, but doesn't specify which import item has an error.
INFO = 2;- 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<MetadataJob.ImportJobSpec.LogLevel> 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 MetadataJob.ImportJobSpec.LogLevel 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
-