Class MetadataJob.ExportJobResult.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MetadataJob.ExportJobResult.Builder>
com.google.cloud.dataplex.v1.MetadataJob.ExportJobResult.Builder
All Implemented Interfaces:
MetadataJob.ExportJobResultOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MetadataJob.ExportJobResult

public static final class MetadataJob.ExportJobResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<MetadataJob.ExportJobResult.Builder> implements MetadataJob.ExportJobResultOrBuilder
 Summary results from a metadata export job. The results are a snapshot of
 the metadata at the time when the job was created. The exported entries are
 saved to a Cloud Storage bucket.
 
Protobuf type google.cloud.dataplex.v1.MetadataJob.ExportJobResult
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MetadataJob.ExportJobResult.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<MetadataJob.ExportJobResult.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MetadataJob.ExportJobResult.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MetadataJob.ExportJobResult buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public MetadataJob.ExportJobResult.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetadataJob.ExportJobResult.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<MetadataJob.ExportJobResult.Builder>
    • mergeFrom

      public MetadataJob.ExportJobResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetadataJob.ExportJobResult.Builder>
      Throws:
      IOException
    • getExportedEntries

      public long getExportedEntries()
       Output only. The number of entries that were exported.
       
      int64 exported_entries = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExportedEntries in interface MetadataJob.ExportJobResultOrBuilder
      Returns:
      The exportedEntries.
    • setExportedEntries

      public MetadataJob.ExportJobResult.Builder setExportedEntries(long value)
       Output only. The number of entries that were exported.
       
      int64 exported_entries = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The exportedEntries to set.
      Returns:
      This builder for chaining.
    • clearExportedEntries

      public MetadataJob.ExportJobResult.Builder clearExportedEntries()
       Output only. The number of entries that were exported.
       
      int64 exported_entries = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getErrorMessage

      public String getErrorMessage()
       Output only. The error message if the metadata export job failed.
       
      string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorMessage in interface MetadataJob.ExportJobResultOrBuilder
      Returns:
      The errorMessage.
    • getErrorMessageBytes

      public com.google.protobuf.ByteString getErrorMessageBytes()
       Output only. The error message if the metadata export job failed.
       
      string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorMessageBytes in interface MetadataJob.ExportJobResultOrBuilder
      Returns:
      The bytes for errorMessage.
    • setErrorMessage

      public MetadataJob.ExportJobResult.Builder setErrorMessage(String value)
       Output only. The error message if the metadata export job failed.
       
      string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The errorMessage to set.
      Returns:
      This builder for chaining.
    • clearErrorMessage

      public MetadataJob.ExportJobResult.Builder clearErrorMessage()
       Output only. The error message if the metadata export job failed.
       
      string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setErrorMessageBytes

      public MetadataJob.ExportJobResult.Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
       Output only. The error message if the metadata export job failed.
       
      string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for errorMessage to set.
      Returns:
      This builder for chaining.