Class ExportDataOperationResponse.Builder

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

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

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

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

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

        public ExportDataOperationResponse.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<ExportDataOperationResponse.Builder>
        Throws:
        IOException
      • getDatasetBytes

        public com.google.protobuf.ByteString getDatasetBytes()
         Ouptut only. The name of dataset.
         "projects/*/datasets/*"
         
        string dataset = 1;
        Specified by:
        getDatasetBytes in interface ExportDataOperationResponseOrBuilder
        Returns:
        The bytes for dataset.
      • setDataset

        public ExportDataOperationResponse.Builder setDataset​(String value)
         Ouptut only. The name of dataset.
         "projects/*/datasets/*"
         
        string dataset = 1;
        Parameters:
        value - The dataset to set.
        Returns:
        This builder for chaining.
      • clearDataset

        public ExportDataOperationResponse.Builder clearDataset()
         Ouptut only. The name of dataset.
         "projects/*/datasets/*"
         
        string dataset = 1;
        Returns:
        This builder for chaining.
      • setDatasetBytes

        public ExportDataOperationResponse.Builder setDatasetBytes​(com.google.protobuf.ByteString value)
         Ouptut only. The name of dataset.
         "projects/*/datasets/*"
         
        string dataset = 1;
        Parameters:
        value - The bytes for dataset to set.
        Returns:
        This builder for chaining.
      • setTotalCount

        public ExportDataOperationResponse.Builder setTotalCount​(int value)
         Output only. Total number of examples requested to export
         
        int32 total_count = 2;
        Parameters:
        value - The totalCount to set.
        Returns:
        This builder for chaining.
      • clearTotalCount

        public ExportDataOperationResponse.Builder clearTotalCount()
         Output only. Total number of examples requested to export
         
        int32 total_count = 2;
        Returns:
        This builder for chaining.
      • setExportCount

        public ExportDataOperationResponse.Builder setExportCount​(int value)
         Output only. Number of examples exported successfully.
         
        int32 export_count = 3;
        Parameters:
        value - The exportCount to set.
        Returns:
        This builder for chaining.
      • clearExportCount

        public ExportDataOperationResponse.Builder clearExportCount()
         Output only. Number of examples exported successfully.
         
        int32 export_count = 3;
        Returns:
        This builder for chaining.
      • hasLabelStats

        public boolean hasLabelStats()
         Output only. Statistic infos of labels in the exported dataset.
         
        .google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;
        Specified by:
        hasLabelStats in interface ExportDataOperationResponseOrBuilder
        Returns:
        Whether the labelStats field is set.
      • mergeLabelStats

        public ExportDataOperationResponse.Builder mergeLabelStats​(LabelStats value)
         Output only. Statistic infos of labels in the exported dataset.
         
        .google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;
      • clearLabelStats

        public ExportDataOperationResponse.Builder clearLabelStats()
         Output only. Statistic infos of labels in the exported dataset.
         
        .google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;
      • getLabelStatsBuilder

        public LabelStats.Builder getLabelStatsBuilder()
         Output only. Statistic infos of labels in the exported dataset.
         
        .google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;
      • hasOutputConfig

        public boolean hasOutputConfig()
         Output only. output_config in the ExportData request.
         
        .google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;
        Specified by:
        hasOutputConfig in interface ExportDataOperationResponseOrBuilder
        Returns:
        Whether the outputConfig field is set.
      • clearOutputConfig

        public ExportDataOperationResponse.Builder clearOutputConfig()
         Output only. output_config in the ExportData request.
         
        .google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;
      • getOutputConfigBuilder

        public OutputConfig.Builder getOutputConfigBuilder()
         Output only. output_config in the ExportData request.
         
        .google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;
      • mergeUnknownFields

        public final ExportDataOperationResponse.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<ExportDataOperationResponse.Builder>