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 Details

    • LOG_LEVEL_UNSPECIFIED

      public static final MetadataJob.ImportJobSpec.LogLevel LOG_LEVEL_UNSPECIFIED
       Log level unspecified.
       
      LOG_LEVEL_UNSPECIFIED = 0;
    • DEBUG

      public static final MetadataJob.ImportJobSpec.LogLevel 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

      public static final MetadataJob.ImportJobSpec.LogLevel 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

      public static final MetadataJob.ImportJobSpec.LogLevel UNRECOGNIZED
  • Field Details

    • LOG_LEVEL_UNSPECIFIED_VALUE

      public static final int LOG_LEVEL_UNSPECIFIED_VALUE
       Log level unspecified.
       
      LOG_LEVEL_UNSPECIFIED = 0;
      See Also:
    • DEBUG_VALUE

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

      public static final int INFO_VALUE
       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;
      See Also:
  • Method Details

    • values

      public static MetadataJob.ImportJobSpec.LogLevel[] 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 MetadataJob.ImportJobSpec.LogLevel 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 MetadataJob.ImportJobSpec.LogLevel 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 MetadataJob.ImportJobSpec.LogLevel 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<MetadataJob.ImportJobSpec.LogLevel> 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 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 name
      NullPointerException - if the argument is null