Enum MetadataJob.ImportJobSpec.SyncMode

java.lang.Object
java.lang.Enum<MetadataJob.ImportJobSpec.SyncMode>
com.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<MetadataJob.ImportJobSpec.SyncMode>
Enclosing class:
MetadataJob.ImportJobSpec

public static enum MetadataJob.ImportJobSpec.SyncMode extends Enum<MetadataJob.ImportJobSpec.SyncMode> implements com.google.protobuf.ProtocolMessageEnum
 Specifies how the entries and aspects in a metadata import job are
 updated. For more information, see [Sync
 mode](https://cloud.google.com/dataplex/docs/import-metadata#sync-mode).
 
Protobuf enum google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode
  • Enum Constant Details

    • SYNC_MODE_UNSPECIFIED

      public static final MetadataJob.ImportJobSpec.SyncMode SYNC_MODE_UNSPECIFIED
       Sync mode unspecified.
       
      SYNC_MODE_UNSPECIFIED = 0;
    • FULL

      public static final MetadataJob.ImportJobSpec.SyncMode FULL
       All resources in the job's scope are modified. If a resource exists in
       Dataplex Universal Catalog but isn't included in the metadata import
       file, the resource is deleted when you run the metadata job. Use this
       mode to perform a full sync of the set of entries in the job scope.
      
       This sync mode is supported for entries.
       
      FULL = 1;
    • INCREMENTAL

      public static final MetadataJob.ImportJobSpec.SyncMode INCREMENTAL
       Only the resources that are explicitly included in the
       metadata import file are modified. Use this mode to modify a subset of
       resources while leaving unreferenced resources unchanged.
      
       This sync mode is supported for aspects.
       
      INCREMENTAL = 2;
    • NONE

      public static final MetadataJob.ImportJobSpec.SyncMode NONE
       If entry sync mode is `NONE`, then aspects are modified according
       to the aspect sync mode. Other metadata that belongs to entries in the
       job's scope isn't modified.
      
       This sync mode is supported for entries.
       
      NONE = 3;
    • UNRECOGNIZED

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

    • SYNC_MODE_UNSPECIFIED_VALUE

      public static final int SYNC_MODE_UNSPECIFIED_VALUE
       Sync mode unspecified.
       
      SYNC_MODE_UNSPECIFIED = 0;
      See Also:
    • FULL_VALUE

      public static final int FULL_VALUE
       All resources in the job's scope are modified. If a resource exists in
       Dataplex Universal Catalog but isn't included in the metadata import
       file, the resource is deleted when you run the metadata job. Use this
       mode to perform a full sync of the set of entries in the job scope.
      
       This sync mode is supported for entries.
       
      FULL = 1;
      See Also:
    • INCREMENTAL_VALUE

      public static final int INCREMENTAL_VALUE
       Only the resources that are explicitly included in the
       metadata import file are modified. Use this mode to modify a subset of
       resources while leaving unreferenced resources unchanged.
      
       This sync mode is supported for aspects.
       
      INCREMENTAL = 2;
      See Also:
    • NONE_VALUE

      public static final int NONE_VALUE
       If entry sync mode is `NONE`, then aspects are modified according
       to the aspect sync mode. Other metadata that belongs to entries in the
       job's scope isn't modified.
      
       This sync mode is supported for entries.
       
      NONE = 3;
      See Also:
  • Method Details

    • values

      public static MetadataJob.ImportJobSpec.SyncMode[] 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.SyncMode 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.SyncMode 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.SyncMode 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.SyncMode> 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.SyncMode 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