Package com.google.cloud.dataplex.v1
Interface MetadataJobOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetadataJob,MetadataJob.Builder
@Generated
public interface MetadataJobOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.Export job specification.Export job specification.Output only.Output only.Import job specification.Import job specification.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.getType()Required.intRequired.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanExport job specification.booleanOutput only.booleanImport job specification.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Output only. Identifier. The name of the resource that the configuration is applied to, in the format `projects/{project_number}/locations/{location_id}/metadataJobs/{metadata_job_id}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. Identifier. The name of the resource that the configuration is applied to, in the format `projects/{project_number}/locations/{location_id}/metadataJobs/{metadata_job_id}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
getUid
String getUid()Output only. A system-generated, globally unique ID for the metadata job. If the metadata job is deleted and then re-created with the same name, this ID is different.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Returns:
- The uid.
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()Output only. A system-generated, globally unique ID for the metadata job. If the metadata job is deleted and then re-created with the same name, this ID is different.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Returns:
- The bytes for uid.
-
hasCreateTime
boolean hasCreateTime()Output only. The time when the metadata job was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. The time when the metadata job was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the metadata job was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. The time when the metadata job was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. The time when the metadata job was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time when the metadata job was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getTypeValue
int getTypeValue()Required. Metadata job type.
.google.cloud.dataplex.v1.MetadataJob.Type type = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for type.
-
getType
MetadataJob.Type getType()Required. Metadata job type.
.google.cloud.dataplex.v1.MetadataJob.Type type = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The type.
-
hasImportSpec
boolean hasImportSpec()Import job specification.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec import_spec = 100;- Returns:
- Whether the importSpec field is set.
-
getImportSpec
MetadataJob.ImportJobSpec getImportSpec()Import job specification.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec import_spec = 100;- Returns:
- The importSpec.
-
getImportSpecOrBuilder
MetadataJob.ImportJobSpecOrBuilder getImportSpecOrBuilder()Import job specification.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec import_spec = 100; -
hasExportSpec
boolean hasExportSpec()Export job specification.
.google.cloud.dataplex.v1.MetadataJob.ExportJobSpec export_spec = 101;- Returns:
- Whether the exportSpec field is set.
-
getExportSpec
MetadataJob.ExportJobSpec getExportSpec()Export job specification.
.google.cloud.dataplex.v1.MetadataJob.ExportJobSpec export_spec = 101;- Returns:
- The exportSpec.
-
getExportSpecOrBuilder
MetadataJob.ExportJobSpecOrBuilder getExportSpecOrBuilder()Export job specification.
.google.cloud.dataplex.v1.MetadataJob.ExportJobSpec export_spec = 101; -
hasImportResult
boolean hasImportResult()Output only. Import job result.
.google.cloud.dataplex.v1.MetadataJob.ImportJobResult import_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the importResult field is set.
-
getImportResult
MetadataJob.ImportJobResult getImportResult()Output only. Import job result.
.google.cloud.dataplex.v1.MetadataJob.ImportJobResult import_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The importResult.
-
getImportResultOrBuilder
MetadataJob.ImportJobResultOrBuilder getImportResultOrBuilder()Output only. Import job result.
.google.cloud.dataplex.v1.MetadataJob.ImportJobResult import_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasExportResult
boolean hasExportResult()Output only. Export job result.
.google.cloud.dataplex.v1.MetadataJob.ExportJobResult export_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the exportResult field is set.
-
getExportResult
MetadataJob.ExportJobResult getExportResult()Output only. Export job result.
.google.cloud.dataplex.v1.MetadataJob.ExportJobResult export_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The exportResult.
-
getExportResultOrBuilder
MetadataJob.ExportJobResultOrBuilder getExportResultOrBuilder()Output only. Export job result.
.google.cloud.dataplex.v1.MetadataJob.ExportJobResult export_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasStatus
boolean hasStatus()Output only. Metadata job status.
.google.cloud.dataplex.v1.MetadataJob.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the status field is set.
-
getStatus
MetadataJob.Status getStatus()Output only. Metadata job status.
.google.cloud.dataplex.v1.MetadataJob.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The status.
-
getStatusOrBuilder
MetadataJob.StatusOrBuilder getStatusOrBuilder()Output only. Metadata job status.
.google.cloud.dataplex.v1.MetadataJob.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSpecCase
MetadataJob.SpecCase getSpecCase() -
getResultCase
MetadataJob.ResultCase getResultCase()
-