Package com.google.cloud.dataplex.v1
Class MetadataJob
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataplex.v1.MetadataJob
- All Implemented Interfaces:
MetadataJobOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class MetadataJob
extends com.google.protobuf.GeneratedMessage
implements MetadataJobOrBuilder
A metadata job resource.Protobuf type
google.cloud.dataplex.v1.MetadataJob- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA metadata job resource.static final classSummary results from a metadata export job.static interfacestatic final classJob specification for a metadata export job.static interfacestatic final classResults from a metadata import job.static interfacestatic final classJob specification for a metadata import job.static interfacestatic enumstatic enumstatic final classMetadata job status.static interfacestatic enumMetadata job type.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.booleancom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static MetadataJobstatic final com.google.protobuf.Descriptors.DescriptorOutput 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.com.google.protobuf.Parser<MetadataJob>intOutput 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.inthashCode()booleanOutput only.booleanImport job specification.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic MetadataJob.Builderstatic MetadataJob.BuildernewBuilder(MetadataJob prototype) protected MetadataJob.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static MetadataJobparseDelimitedFrom(InputStream input) static MetadataJobparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetadataJobparseFrom(byte[] data) static MetadataJobparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetadataJobparseFrom(com.google.protobuf.ByteString data) static MetadataJobparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetadataJobparseFrom(com.google.protobuf.CodedInputStream input) static MetadataJobparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetadataJobparseFrom(InputStream input) static MetadataJobparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetadataJobparseFrom(ByteBuffer data) static MetadataJobparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MetadataJob>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
IMPORT_SPEC_FIELD_NUMBER
public static final int IMPORT_SPEC_FIELD_NUMBER- See Also:
-
EXPORT_SPEC_FIELD_NUMBER
public static final int EXPORT_SPEC_FIELD_NUMBER- See Also:
-
IMPORT_RESULT_FIELD_NUMBER
public static final int IMPORT_RESULT_FIELD_NUMBER- See Also:
-
EXPORT_RESULT_FIELD_NUMBER
public static final int EXPORT_RESULT_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getSpecCase
- Specified by:
getSpecCasein interfaceMetadataJobOrBuilder
-
getResultCase
- Specified by:
getResultCasein interfaceMetadataJobOrBuilder
-
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];- Specified by:
getNamein interfaceMetadataJobOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceMetadataJobOrBuilder- Returns:
- The bytes for name.
-
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) = { ... }- Specified by:
getUidin interfaceMetadataJobOrBuilder- Returns:
- The uid.
-
getUidBytes
public 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) = { ... }- Specified by:
getUidBytesin interfaceMetadataJobOrBuilder- Returns:
- The bytes for uid.
-
hasCreateTime
public boolean hasCreateTime()Output only. The time when the metadata job was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceMetadataJobOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceMetadataJobOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public 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];- Specified by:
getCreateTimeOrBuilderin interfaceMetadataJobOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The time when the metadata job was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceMetadataJobOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceMetadataJobOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public 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];- Specified by:
getUpdateTimeOrBuilderin interfaceMetadataJobOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:MetadataJobOrBuilderOptional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceMetadataJobOrBuilder
-
containsLabels
Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceMetadataJobOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceMetadataJobOrBuilder
-
getLabelsMap
Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceMetadataJobOrBuilder
-
getLabelsOrDefault
Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceMetadataJobOrBuilder
-
getLabelsOrThrow
Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceMetadataJobOrBuilder
-
getTypeValue
public int getTypeValue()Required. Metadata job type.
.google.cloud.dataplex.v1.MetadataJob.Type type = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTypeValuein interfaceMetadataJobOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
Required. Metadata job type.
.google.cloud.dataplex.v1.MetadataJob.Type type = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTypein interfaceMetadataJobOrBuilder- Returns:
- The type.
-
hasImportSpec
public boolean hasImportSpec()Import job specification.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec import_spec = 100;- Specified by:
hasImportSpecin interfaceMetadataJobOrBuilder- Returns:
- Whether the importSpec field is set.
-
getImportSpec
Import job specification.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec import_spec = 100;- Specified by:
getImportSpecin interfaceMetadataJobOrBuilder- Returns:
- The importSpec.
-
getImportSpecOrBuilder
Import job specification.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec import_spec = 100;- Specified by:
getImportSpecOrBuilderin interfaceMetadataJobOrBuilder
-
hasExportSpec
public boolean hasExportSpec()Export job specification.
.google.cloud.dataplex.v1.MetadataJob.ExportJobSpec export_spec = 101;- Specified by:
hasExportSpecin interfaceMetadataJobOrBuilder- Returns:
- Whether the exportSpec field is set.
-
getExportSpec
Export job specification.
.google.cloud.dataplex.v1.MetadataJob.ExportJobSpec export_spec = 101;- Specified by:
getExportSpecin interfaceMetadataJobOrBuilder- Returns:
- The exportSpec.
-
getExportSpecOrBuilder
Export job specification.
.google.cloud.dataplex.v1.MetadataJob.ExportJobSpec export_spec = 101;- Specified by:
getExportSpecOrBuilderin interfaceMetadataJobOrBuilder
-
hasImportResult
public boolean hasImportResult()Output only. Import job result.
.google.cloud.dataplex.v1.MetadataJob.ImportJobResult import_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasImportResultin interfaceMetadataJobOrBuilder- Returns:
- Whether the importResult field is set.
-
getImportResult
Output only. Import job result.
.google.cloud.dataplex.v1.MetadataJob.ImportJobResult import_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getImportResultin interfaceMetadataJobOrBuilder- Returns:
- The importResult.
-
getImportResultOrBuilder
Output only. Import job result.
.google.cloud.dataplex.v1.MetadataJob.ImportJobResult import_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getImportResultOrBuilderin interfaceMetadataJobOrBuilder
-
hasExportResult
public boolean hasExportResult()Output only. Export job result.
.google.cloud.dataplex.v1.MetadataJob.ExportJobResult export_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasExportResultin interfaceMetadataJobOrBuilder- Returns:
- Whether the exportResult field is set.
-
getExportResult
Output only. Export job result.
.google.cloud.dataplex.v1.MetadataJob.ExportJobResult export_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExportResultin interfaceMetadataJobOrBuilder- Returns:
- The exportResult.
-
getExportResultOrBuilder
Output only. Export job result.
.google.cloud.dataplex.v1.MetadataJob.ExportJobResult export_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExportResultOrBuilderin interfaceMetadataJobOrBuilder
-
hasStatus
public boolean hasStatus()Output only. Metadata job status.
.google.cloud.dataplex.v1.MetadataJob.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStatusin interfaceMetadataJobOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Output only. Metadata job status.
.google.cloud.dataplex.v1.MetadataJob.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceMetadataJobOrBuilder- Returns:
- The status.
-
getStatusOrBuilder
Output only. Metadata job status.
.google.cloud.dataplex.v1.MetadataJob.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusOrBuilderin interfaceMetadataJobOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MetadataJob parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetadataJob parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetadataJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetadataJob parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetadataJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetadataJob parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MetadataJob parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static MetadataJob parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MetadataJob parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MetadataJob.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-