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:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getSpecCase

      public MetadataJob.SpecCase getSpecCase()
      Specified by:
      getSpecCase in interface MetadataJobOrBuilder
    • getResultCase

      public MetadataJob.ResultCase getResultCase()
      Specified by:
      getResultCase in interface MetadataJobOrBuilder
    • getName

      public 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];
      Specified by:
      getName in interface MetadataJobOrBuilder
      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:
      getNameBytes in interface MetadataJobOrBuilder
      Returns:
      The bytes for name.
    • getUid

      public 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) = { ... }
      Specified by:
      getUid in interface MetadataJobOrBuilder
      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:
      getUidBytes in interface MetadataJobOrBuilder
      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:
      hasCreateTime in interface MetadataJobOrBuilder
      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:
      getCreateTime in interface MetadataJobOrBuilder
      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:
      getCreateTimeOrBuilder in interface MetadataJobOrBuilder
    • 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:
      hasUpdateTime in interface MetadataJobOrBuilder
      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:
      getUpdateTime in interface MetadataJobOrBuilder
      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:
      getUpdateTimeOrBuilder in interface MetadataJobOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: MetadataJobOrBuilder
       Optional. User-defined labels.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface MetadataJobOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. User-defined labels.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface MetadataJobOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface MetadataJobOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. User-defined labels.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface MetadataJobOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. User-defined labels.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface MetadataJobOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. User-defined labels.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface MetadataJobOrBuilder
    • getTypeValue

      public int getTypeValue()
       Required. Metadata job type.
       
      .google.cloud.dataplex.v1.MetadataJob.Type type = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTypeValue in interface MetadataJobOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public MetadataJob.Type getType()
       Required. Metadata job type.
       
      .google.cloud.dataplex.v1.MetadataJob.Type type = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getType in interface MetadataJobOrBuilder
      Returns:
      The type.
    • hasImportSpec

      public boolean hasImportSpec()
       Import job specification.
       
      .google.cloud.dataplex.v1.MetadataJob.ImportJobSpec import_spec = 100;
      Specified by:
      hasImportSpec in interface MetadataJobOrBuilder
      Returns:
      Whether the importSpec field is set.
    • getImportSpec

      public MetadataJob.ImportJobSpec getImportSpec()
       Import job specification.
       
      .google.cloud.dataplex.v1.MetadataJob.ImportJobSpec import_spec = 100;
      Specified by:
      getImportSpec in interface MetadataJobOrBuilder
      Returns:
      The importSpec.
    • getImportSpecOrBuilder

      public MetadataJob.ImportJobSpecOrBuilder getImportSpecOrBuilder()
       Import job specification.
       
      .google.cloud.dataplex.v1.MetadataJob.ImportJobSpec import_spec = 100;
      Specified by:
      getImportSpecOrBuilder in interface MetadataJobOrBuilder
    • hasExportSpec

      public boolean hasExportSpec()
       Export job specification.
       
      .google.cloud.dataplex.v1.MetadataJob.ExportJobSpec export_spec = 101;
      Specified by:
      hasExportSpec in interface MetadataJobOrBuilder
      Returns:
      Whether the exportSpec field is set.
    • getExportSpec

      public MetadataJob.ExportJobSpec getExportSpec()
       Export job specification.
       
      .google.cloud.dataplex.v1.MetadataJob.ExportJobSpec export_spec = 101;
      Specified by:
      getExportSpec in interface MetadataJobOrBuilder
      Returns:
      The exportSpec.
    • getExportSpecOrBuilder

      public MetadataJob.ExportJobSpecOrBuilder getExportSpecOrBuilder()
       Export job specification.
       
      .google.cloud.dataplex.v1.MetadataJob.ExportJobSpec export_spec = 101;
      Specified by:
      getExportSpecOrBuilder in interface MetadataJobOrBuilder
    • 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:
      hasImportResult in interface MetadataJobOrBuilder
      Returns:
      Whether the importResult field is set.
    • getImportResult

      public MetadataJob.ImportJobResult getImportResult()
       Output only. Import job result.
       
      .google.cloud.dataplex.v1.MetadataJob.ImportJobResult import_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getImportResult in interface MetadataJobOrBuilder
      Returns:
      The importResult.
    • getImportResultOrBuilder

      public MetadataJob.ImportJobResultOrBuilder getImportResultOrBuilder()
       Output only. Import job result.
       
      .google.cloud.dataplex.v1.MetadataJob.ImportJobResult import_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getImportResultOrBuilder in interface MetadataJobOrBuilder
    • 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:
      hasExportResult in interface MetadataJobOrBuilder
      Returns:
      Whether the exportResult field is set.
    • getExportResult

      public MetadataJob.ExportJobResult getExportResult()
       Output only. Export job result.
       
      .google.cloud.dataplex.v1.MetadataJob.ExportJobResult export_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExportResult in interface MetadataJobOrBuilder
      Returns:
      The exportResult.
    • getExportResultOrBuilder

      public MetadataJob.ExportJobResultOrBuilder getExportResultOrBuilder()
       Output only. Export job result.
       
      .google.cloud.dataplex.v1.MetadataJob.ExportJobResult export_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExportResultOrBuilder in interface MetadataJobOrBuilder
    • 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:
      hasStatus in interface MetadataJobOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public MetadataJob.Status getStatus()
       Output only. Metadata job status.
       
      .google.cloud.dataplex.v1.MetadataJob.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatus in interface MetadataJobOrBuilder
      Returns:
      The status.
    • getStatusOrBuilder

      public MetadataJob.StatusOrBuilder getStatusOrBuilder()
       Output only. Metadata job status.
       
      .google.cloud.dataplex.v1.MetadataJob.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusOrBuilder in interface MetadataJobOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static MetadataJob parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MetadataJob parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MetadataJob parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MetadataJob parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MetadataJob parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MetadataJob parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public MetadataJob.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static MetadataJob.Builder newBuilder()
    • newBuilder

      public static MetadataJob.Builder newBuilder(MetadataJob prototype)
    • toBuilder

      public MetadataJob.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected MetadataJob.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static MetadataJob getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<MetadataJob> parser()
    • getParserForType

      public com.google.protobuf.Parser<MetadataJob> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public MetadataJob getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder