Class 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.GeneratedMessageV3.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 Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public ExportDataConfig.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ExportDataConfig.Builder>
      • setField

        public ExportDataConfig.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportDataConfig.Builder>
      • clearField

        public ExportDataConfig.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportDataConfig.Builder>
      • clearOneof

        public ExportDataConfig.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExportDataConfig.Builder>
      • setRepeatedField

        public ExportDataConfig.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         int index,
                                                         Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportDataConfig.Builder>
      • addRepeatedField

        public ExportDataConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportDataConfig.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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.
      • 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;
      • 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;
      • 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.
      • setUnknownFields

        public final ExportDataConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportDataConfig.Builder>
      • mergeUnknownFields

        public final ExportDataConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportDataConfig.Builder>