Package com.google.cloud.dataplex.v1
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 Summary
Enum ConstantsEnum ConstantDescriptionAll resources in the job's scope are modified.Only the resources that are explicitly included in the metadata import file are modified.If entry sync mode is `NONE`, then aspects are modified according to the aspect sync mode.Sync mode unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAll resources in the job's scope are modified.static final intOnly the resources that are explicitly included in the metadata import file are modified.static final intIf entry sync mode is `NONE`, then aspects are modified according to the aspect sync mode.static final intSync mode 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.SyncMode>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.SyncMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SYNC_MODE_UNSPECIFIED
Sync mode unspecified.
SYNC_MODE_UNSPECIFIED = 0; -
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
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
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
-
-
Field Details
-
SYNC_MODE_UNSPECIFIED_VALUE
public static final int SYNC_MODE_UNSPECIFIED_VALUESync mode unspecified.
SYNC_MODE_UNSPECIFIED = 0;- See Also:
-
FULL_VALUE
public static final int FULL_VALUEAll 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_VALUEOnly 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_VALUEIf 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
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.SyncMode> 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.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 nameNullPointerException- if the argument is null
-