Class ExportDataOperationResponse.Builder

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

public static final class ExportDataOperationResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExportDataOperationResponse.Builder> implements ExportDataOperationResponseOrBuilder
 Response used for ExportDataset longrunning operation.
 
Protobuf type google.cloud.datalabeling.v1beta1.ExportDataOperationResponse
  • 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<ExportDataOperationResponse.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<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.GeneratedMessage.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

      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
    • mergeFrom

      public ExportDataOperationResponse.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<ExportDataOperationResponse.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<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
    • getDataset

      public String getDataset()
       Ouptut only. The name of dataset.
       "projects/*/datasets/*"
       
      string dataset = 1;
      Specified by:
      getDataset in interface ExportDataOperationResponseOrBuilder
      Returns:
      The dataset.
    • 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.
    • getTotalCount

      public int getTotalCount()
       Output only. Total number of examples requested to export
       
      int32 total_count = 2;
      Specified by:
      getTotalCount in interface ExportDataOperationResponseOrBuilder
      Returns:
      The totalCount.
    • 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.
    • getExportCount

      public int getExportCount()
       Output only. Number of examples exported successfully.
       
      int32 export_count = 3;
      Specified by:
      getExportCount in interface ExportDataOperationResponseOrBuilder
      Returns:
      The exportCount.
    • 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.
    • getLabelStats

      public LabelStats getLabelStats()
       Output only. Statistic infos of labels in the exported dataset.
       
      .google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;
      Specified by:
      getLabelStats in interface ExportDataOperationResponseOrBuilder
      Returns:
      The labelStats.
    • setLabelStats

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

      public ExportDataOperationResponse.Builder setLabelStats(LabelStats.Builder builderForValue)
       Output only. Statistic infos of labels in the exported dataset.
       
      .google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;
    • 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;
    • getLabelStatsOrBuilder

      public LabelStatsOrBuilder getLabelStatsOrBuilder()
       Output only. Statistic infos of labels in the exported dataset.
       
      .google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;
      Specified by:
      getLabelStatsOrBuilder in interface ExportDataOperationResponseOrBuilder
    • 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.
    • getOutputConfig

      public OutputConfig getOutputConfig()
       Output only. output_config in the ExportData request.
       
      .google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;
      Specified by:
      getOutputConfig in interface ExportDataOperationResponseOrBuilder
      Returns:
      The outputConfig.
    • setOutputConfig

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

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

      public ExportDataOperationResponse.Builder mergeOutputConfig(OutputConfig value)
       Output only. output_config in the ExportData request.
       
      .google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;
    • 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;
    • getOutputConfigOrBuilder

      public OutputConfigOrBuilder getOutputConfigOrBuilder()
       Output only. output_config in the ExportData request.
       
      .google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;
      Specified by:
      getOutputConfigOrBuilder in interface ExportDataOperationResponseOrBuilder