Class ExportDataConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportDataConfig.Builder>
com.google.cloud.aiplatform.v1beta1.ExportDataConfig.Builder
All Implemented Interfaces:
ExportDataConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExportDataConfig

public static final class ExportDataConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExportDataConfig.Builder> implements ExportDataConfigOrBuilder
 Describes what part of the Dataset is to be exported, the destination of
 the export and how to export.
 
Protobuf type google.cloud.aiplatform.v1beta1.ExportDataConfig
  • 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<ExportDataConfig.Builder>
    • clear

      public ExportDataConfig.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<ExportDataConfig.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<ExportDataConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ExportDataConfig.Builder mergeFrom(ExportDataConfig other)
    • isInitialized

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

      public ExportDataConfig.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<ExportDataConfig.Builder>
      Throws:
      IOException
    • getDestinationCase

      public ExportDataConfig.DestinationCase getDestinationCase()
      Specified by:
      getDestinationCase in interface ExportDataConfigOrBuilder
    • clearDestination

      public ExportDataConfig.Builder clearDestination()
    • getSplitCase

      public ExportDataConfig.SplitCase getSplitCase()
      Specified by:
      getSplitCase in interface ExportDataConfigOrBuilder
    • clearSplit

      public ExportDataConfig.Builder clearSplit()
    • hasGcsDestination

      public boolean hasGcsDestination()
       The Google Cloud Storage location where the output is to be written to.
       In the given directory a new directory will be created with name:
       `export-data-<dataset-display-name>-<timestamp-of-export-call>` where
       timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
       output will be written into that directory. Inside that directory,
       annotations with the same schema will be grouped into sub directories
       which are named with the corresponding annotations' schema title. Inside
       these sub directories, a schema.yaml will be created to describe the
       output format.
       
      .google.cloud.aiplatform.v1beta1.GcsDestination gcs_destination = 1;
      Specified by:
      hasGcsDestination in interface ExportDataConfigOrBuilder
      Returns:
      Whether the gcsDestination field is set.
    • getGcsDestination

      public GcsDestination getGcsDestination()
       The Google Cloud Storage location where the output is to be written to.
       In the given directory a new directory will be created with name:
       `export-data-<dataset-display-name>-<timestamp-of-export-call>` where
       timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
       output will be written into that directory. Inside that directory,
       annotations with the same schema will be grouped into sub directories
       which are named with the corresponding annotations' schema title. Inside
       these sub directories, a schema.yaml will be created to describe the
       output format.
       
      .google.cloud.aiplatform.v1beta1.GcsDestination gcs_destination = 1;
      Specified by:
      getGcsDestination in interface ExportDataConfigOrBuilder
      Returns:
      The gcsDestination.
    • setGcsDestination

      public ExportDataConfig.Builder setGcsDestination(GcsDestination value)
       The Google Cloud Storage location where the output is to be written to.
       In the given directory a new directory will be created with name:
       `export-data-<dataset-display-name>-<timestamp-of-export-call>` where
       timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
       output will be written into that directory. Inside that directory,
       annotations with the same schema will be grouped into sub directories
       which are named with the corresponding annotations' schema title. Inside
       these sub directories, a schema.yaml will be created to describe the
       output format.
       
      .google.cloud.aiplatform.v1beta1.GcsDestination gcs_destination = 1;
    • setGcsDestination

      public ExportDataConfig.Builder setGcsDestination(GcsDestination.Builder builderForValue)
       The Google Cloud Storage location where the output is to be written to.
       In the given directory a new directory will be created with name:
       `export-data-<dataset-display-name>-<timestamp-of-export-call>` where
       timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
       output will be written into that directory. Inside that directory,
       annotations with the same schema will be grouped into sub directories
       which are named with the corresponding annotations' schema title. Inside
       these sub directories, a schema.yaml will be created to describe the
       output format.
       
      .google.cloud.aiplatform.v1beta1.GcsDestination gcs_destination = 1;
    • mergeGcsDestination

      public ExportDataConfig.Builder mergeGcsDestination(GcsDestination value)
       The Google Cloud Storage location where the output is to be written to.
       In the given directory a new directory will be created with name:
       `export-data-<dataset-display-name>-<timestamp-of-export-call>` where
       timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
       output will be written into that directory. Inside that directory,
       annotations with the same schema will be grouped into sub directories
       which are named with the corresponding annotations' schema title. Inside
       these sub directories, a schema.yaml will be created to describe the
       output format.
       
      .google.cloud.aiplatform.v1beta1.GcsDestination gcs_destination = 1;
    • clearGcsDestination

      public ExportDataConfig.Builder clearGcsDestination()
       The Google Cloud Storage location where the output is to be written to.
       In the given directory a new directory will be created with name:
       `export-data-<dataset-display-name>-<timestamp-of-export-call>` where
       timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
       output will be written into that directory. Inside that directory,
       annotations with the same schema will be grouped into sub directories
       which are named with the corresponding annotations' schema title. Inside
       these sub directories, a schema.yaml will be created to describe the
       output format.
       
      .google.cloud.aiplatform.v1beta1.GcsDestination gcs_destination = 1;
    • getGcsDestinationBuilder

      public GcsDestination.Builder getGcsDestinationBuilder()
       The Google Cloud Storage location where the output is to be written to.
       In the given directory a new directory will be created with name:
       `export-data-<dataset-display-name>-<timestamp-of-export-call>` where
       timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
       output will be written into that directory. Inside that directory,
       annotations with the same schema will be grouped into sub directories
       which are named with the corresponding annotations' schema title. Inside
       these sub directories, a schema.yaml will be created to describe the
       output format.
       
      .google.cloud.aiplatform.v1beta1.GcsDestination gcs_destination = 1;
    • getGcsDestinationOrBuilder

      public GcsDestinationOrBuilder getGcsDestinationOrBuilder()
       The Google Cloud Storage location where the output is to be written to.
       In the given directory a new directory will be created with name:
       `export-data-<dataset-display-name>-<timestamp-of-export-call>` where
       timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
       output will be written into that directory. Inside that directory,
       annotations with the same schema will be grouped into sub directories
       which are named with the corresponding annotations' schema title. Inside
       these sub directories, a schema.yaml will be created to describe the
       output format.
       
      .google.cloud.aiplatform.v1beta1.GcsDestination gcs_destination = 1;
      Specified by:
      getGcsDestinationOrBuilder in interface ExportDataConfigOrBuilder
    • hasFractionSplit

      public boolean hasFractionSplit()
       Split based on fractions defining the size of each set.
       
      .google.cloud.aiplatform.v1beta1.ExportFractionSplit fraction_split = 5;
      Specified by:
      hasFractionSplit in interface ExportDataConfigOrBuilder
      Returns:
      Whether the fractionSplit field is set.
    • getFractionSplit

      public ExportFractionSplit getFractionSplit()
       Split based on fractions defining the size of each set.
       
      .google.cloud.aiplatform.v1beta1.ExportFractionSplit fraction_split = 5;
      Specified by:
      getFractionSplit in interface ExportDataConfigOrBuilder
      Returns:
      The fractionSplit.
    • setFractionSplit

      public ExportDataConfig.Builder setFractionSplit(ExportFractionSplit value)
       Split based on fractions defining the size of each set.
       
      .google.cloud.aiplatform.v1beta1.ExportFractionSplit fraction_split = 5;
    • setFractionSplit

      public ExportDataConfig.Builder setFractionSplit(ExportFractionSplit.Builder builderForValue)
       Split based on fractions defining the size of each set.
       
      .google.cloud.aiplatform.v1beta1.ExportFractionSplit fraction_split = 5;
    • mergeFractionSplit

      public ExportDataConfig.Builder mergeFractionSplit(ExportFractionSplit value)
       Split based on fractions defining the size of each set.
       
      .google.cloud.aiplatform.v1beta1.ExportFractionSplit fraction_split = 5;
    • clearFractionSplit

      public ExportDataConfig.Builder clearFractionSplit()
       Split based on fractions defining the size of each set.
       
      .google.cloud.aiplatform.v1beta1.ExportFractionSplit fraction_split = 5;
    • getFractionSplitBuilder

      public ExportFractionSplit.Builder getFractionSplitBuilder()
       Split based on fractions defining the size of each set.
       
      .google.cloud.aiplatform.v1beta1.ExportFractionSplit fraction_split = 5;
    • getFractionSplitOrBuilder

      public ExportFractionSplitOrBuilder getFractionSplitOrBuilder()
       Split based on fractions defining the size of each set.
       
      .google.cloud.aiplatform.v1beta1.ExportFractionSplit fraction_split = 5;
      Specified by:
      getFractionSplitOrBuilder in interface ExportDataConfigOrBuilder
    • getAnnotationsFilter

      public String getAnnotationsFilter()
       An expression for filtering what part of the Dataset is to be exported.
       Only Annotations that match this filter will be exported. The filter syntax
       is the same as in
       [ListAnnotations][google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations].
       
      string annotations_filter = 2;
      Specified by:
      getAnnotationsFilter in interface ExportDataConfigOrBuilder
      Returns:
      The annotationsFilter.
    • getAnnotationsFilterBytes

      public com.google.protobuf.ByteString getAnnotationsFilterBytes()
       An expression for filtering what part of the Dataset is to be exported.
       Only Annotations that match this filter will be exported. The filter syntax
       is the same as in
       [ListAnnotations][google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations].
       
      string annotations_filter = 2;
      Specified by:
      getAnnotationsFilterBytes in interface ExportDataConfigOrBuilder
      Returns:
      The bytes for annotationsFilter.
    • setAnnotationsFilter

      public ExportDataConfig.Builder setAnnotationsFilter(String value)
       An expression for filtering what part of the Dataset is to be exported.
       Only Annotations that match this filter will be exported. The filter syntax
       is the same as in
       [ListAnnotations][google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations].
       
      string annotations_filter = 2;
      Parameters:
      value - The annotationsFilter to set.
      Returns:
      This builder for chaining.
    • clearAnnotationsFilter

      public ExportDataConfig.Builder clearAnnotationsFilter()
       An expression for filtering what part of the Dataset is to be exported.
       Only Annotations that match this filter will be exported. The filter syntax
       is the same as in
       [ListAnnotations][google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations].
       
      string annotations_filter = 2;
      Returns:
      This builder for chaining.
    • setAnnotationsFilterBytes

      public ExportDataConfig.Builder setAnnotationsFilterBytes(com.google.protobuf.ByteString value)
       An expression for filtering what part of the Dataset is to be exported.
       Only Annotations that match this filter will be exported. The filter syntax
       is the same as in
       [ListAnnotations][google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations].
       
      string annotations_filter = 2;
      Parameters:
      value - The bytes for annotationsFilter to set.
      Returns:
      This builder for chaining.