Class MetadataJob.ExportJobSpec.Builder

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

public static final class MetadataJob.ExportJobSpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<MetadataJob.ExportJobSpec.Builder> implements MetadataJob.ExportJobSpecOrBuilder
 Job specification for a metadata export job.
 
Protobuf type google.cloud.dataplex.v1.MetadataJob.ExportJobSpec
  • 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.ExportJobSpec.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.ExportJobSpec.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.ExportJobSpec.Builder>
    • getDefaultInstanceForType

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

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

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

      public MetadataJob.ExportJobSpec.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.ExportJobSpec.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.ExportJobSpec.Builder>
    • mergeFrom

      public MetadataJob.ExportJobSpec.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.ExportJobSpec.Builder>
      Throws:
      IOException
    • hasScope

      public boolean hasScope()
       Required. The scope of the export job.
       
      .google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasScope in interface MetadataJob.ExportJobSpecOrBuilder
      Returns:
      Whether the scope field is set.
    • getScope

       Required. The scope of the export job.
       
      .google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getScope in interface MetadataJob.ExportJobSpecOrBuilder
      Returns:
      The scope.
    • setScope

       Required. The scope of the export job.
       
      .google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
    • setScope

       Required. The scope of the export job.
       
      .google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeScope

       Required. The scope of the export job.
       
      .google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearScope

      public MetadataJob.ExportJobSpec.Builder clearScope()
       Required. The scope of the export job.
       
      .google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
    • getScopeBuilder

       Required. The scope of the export job.
       
      .google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
    • getScopeOrBuilder

       Required. The scope of the export job.
       
      .google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getScopeOrBuilder in interface MetadataJob.ExportJobSpecOrBuilder
    • getOutputPath

      public String getOutputPath()
       Required. The root path of the Cloud Storage bucket to export the
       metadata to, in the format `gs://{bucket}/`. You can optionally specify a
       custom prefix after the bucket name, in the format
       `gs://{bucket}/{prefix}/`. The maximum length of the custom prefix is 128
       characters. Dataplex Universal Catalog constructs the object path for the
       exported files by using the bucket name and prefix that you provide,
       followed by a system-generated path.
      
       The bucket must be in the same VPC Service Controls perimeter as the job.
       
      string output_path = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputPath in interface MetadataJob.ExportJobSpecOrBuilder
      Returns:
      The outputPath.
    • getOutputPathBytes

      public com.google.protobuf.ByteString getOutputPathBytes()
       Required. The root path of the Cloud Storage bucket to export the
       metadata to, in the format `gs://{bucket}/`. You can optionally specify a
       custom prefix after the bucket name, in the format
       `gs://{bucket}/{prefix}/`. The maximum length of the custom prefix is 128
       characters. Dataplex Universal Catalog constructs the object path for the
       exported files by using the bucket name and prefix that you provide,
       followed by a system-generated path.
      
       The bucket must be in the same VPC Service Controls perimeter as the job.
       
      string output_path = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputPathBytes in interface MetadataJob.ExportJobSpecOrBuilder
      Returns:
      The bytes for outputPath.
    • setOutputPath

      public MetadataJob.ExportJobSpec.Builder setOutputPath(String value)
       Required. The root path of the Cloud Storage bucket to export the
       metadata to, in the format `gs://{bucket}/`. You can optionally specify a
       custom prefix after the bucket name, in the format
       `gs://{bucket}/{prefix}/`. The maximum length of the custom prefix is 128
       characters. Dataplex Universal Catalog constructs the object path for the
       exported files by using the bucket name and prefix that you provide,
       followed by a system-generated path.
      
       The bucket must be in the same VPC Service Controls perimeter as the job.
       
      string output_path = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The outputPath to set.
      Returns:
      This builder for chaining.
    • clearOutputPath

      public MetadataJob.ExportJobSpec.Builder clearOutputPath()
       Required. The root path of the Cloud Storage bucket to export the
       metadata to, in the format `gs://{bucket}/`. You can optionally specify a
       custom prefix after the bucket name, in the format
       `gs://{bucket}/{prefix}/`. The maximum length of the custom prefix is 128
       characters. Dataplex Universal Catalog constructs the object path for the
       exported files by using the bucket name and prefix that you provide,
       followed by a system-generated path.
      
       The bucket must be in the same VPC Service Controls perimeter as the job.
       
      string output_path = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setOutputPathBytes

      public MetadataJob.ExportJobSpec.Builder setOutputPathBytes(com.google.protobuf.ByteString value)
       Required. The root path of the Cloud Storage bucket to export the
       metadata to, in the format `gs://{bucket}/`. You can optionally specify a
       custom prefix after the bucket name, in the format
       `gs://{bucket}/{prefix}/`. The maximum length of the custom prefix is 128
       characters. Dataplex Universal Catalog constructs the object path for the
       exported files by using the bucket name and prefix that you provide,
       followed by a system-generated path.
      
       The bucket must be in the same VPC Service Controls perimeter as the job.
       
      string output_path = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for outputPath to set.
      Returns:
      This builder for chaining.