Class ExportDataOperationResponse.Builder (0.167.0)

public static final class ExportDataOperationResponse.Builder extends GeneratedMessageV3.Builder<ExportDataOperationResponse.Builder> implements ExportDataOperationResponseOrBuilder

Response used for ExportDataset longrunning operation.

Protobuf type google.cloud.datalabeling.v1beta1.ExportDataOperationResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportDataOperationResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportDataOperationResponse.Builder
Overrides

build()

public ExportDataOperationResponse build()
Returns
Type Description
ExportDataOperationResponse

buildPartial()

public ExportDataOperationResponse buildPartial()
Returns
Type Description
ExportDataOperationResponse

clear()

public ExportDataOperationResponse.Builder clear()
Returns
Type Description
ExportDataOperationResponse.Builder
Overrides

clearDataset()

public ExportDataOperationResponse.Builder clearDataset()

Ouptut only. The name of dataset. "projects/*/datasets/*"

string dataset = 1;

Returns
Type Description
ExportDataOperationResponse.Builder

This builder for chaining.

clearExportCount()

public ExportDataOperationResponse.Builder clearExportCount()

Output only. Number of examples exported successfully.

int32 export_count = 3;

Returns
Type Description
ExportDataOperationResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExportDataOperationResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExportDataOperationResponse.Builder
Overrides

clearLabelStats()

public ExportDataOperationResponse.Builder clearLabelStats()

Output only. Statistic infos of labels in the exported dataset.

.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;

Returns
Type Description
ExportDataOperationResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportDataOperationResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExportDataOperationResponse.Builder
Overrides

clearOutputConfig()

public ExportDataOperationResponse.Builder clearOutputConfig()

Output only. output_config in the ExportData request.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;

Returns
Type Description
ExportDataOperationResponse.Builder

clearTotalCount()

public ExportDataOperationResponse.Builder clearTotalCount()

Output only. Total number of examples requested to export

int32 total_count = 2;

Returns
Type Description
ExportDataOperationResponse.Builder

This builder for chaining.

clone()

public ExportDataOperationResponse.Builder clone()
Returns
Type Description
ExportDataOperationResponse.Builder
Overrides

getDataset()

public String getDataset()

Ouptut only. The name of dataset. "projects/*/datasets/*"

string dataset = 1;

Returns
Type Description
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Ouptut only. The name of dataset. "projects/*/datasets/*"

string dataset = 1;

Returns
Type Description
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public ExportDataOperationResponse getDefaultInstanceForType()
Returns
Type Description
ExportDataOperationResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExportCount()

public int getExportCount()

Output only. Number of examples exported successfully.

int32 export_count = 3;

Returns
Type Description
int

The exportCount.

getLabelStats()

public LabelStats getLabelStats()

Output only. Statistic infos of labels in the exported dataset.

.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;

Returns
Type Description
LabelStats

The labelStats.

getLabelStatsBuilder()

public LabelStats.Builder getLabelStatsBuilder()

Output only. Statistic infos of labels in the exported dataset.

.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;

Returns
Type Description
LabelStats.Builder

getLabelStatsOrBuilder()

public LabelStatsOrBuilder getLabelStatsOrBuilder()

Output only. Statistic infos of labels in the exported dataset.

.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;

Returns
Type Description
LabelStatsOrBuilder

getOutputConfig()

public OutputConfig getOutputConfig()

Output only. output_config in the ExportData request.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;

Returns
Type Description
OutputConfig

The outputConfig.

getOutputConfigBuilder()

public OutputConfig.Builder getOutputConfigBuilder()

Output only. output_config in the ExportData request.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;

Returns
Type Description
OutputConfig.Builder

getOutputConfigOrBuilder()

public OutputConfigOrBuilder getOutputConfigOrBuilder()

Output only. output_config in the ExportData request.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;

Returns
Type Description
OutputConfigOrBuilder

getTotalCount()

public int getTotalCount()

Output only. Total number of examples requested to export

int32 total_count = 2;

Returns
Type Description
int

The totalCount.

hasLabelStats()

public boolean hasLabelStats()

Output only. Statistic infos of labels in the exported dataset.

.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;

Returns
Type Description
boolean

Whether the labelStats field is set.

hasOutputConfig()

public boolean hasOutputConfig()

Output only. output_config in the ExportData request.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;

Returns
Type Description
boolean

Whether the outputConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportDataOperationResponse other)

public ExportDataOperationResponse.Builder mergeFrom(ExportDataOperationResponse other)
Parameter
Name Description
other ExportDataOperationResponse
Returns
Type Description
ExportDataOperationResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportDataOperationResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportDataOperationResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExportDataOperationResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportDataOperationResponse.Builder
Overrides

mergeLabelStats(LabelStats value)

public ExportDataOperationResponse.Builder mergeLabelStats(LabelStats value)

Output only. Statistic infos of labels in the exported dataset.

.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;

Parameter
Name Description
value LabelStats
Returns
Type Description
ExportDataOperationResponse.Builder

mergeOutputConfig(OutputConfig value)

public ExportDataOperationResponse.Builder mergeOutputConfig(OutputConfig value)

Output only. output_config in the ExportData request.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;

Parameter
Name Description
value OutputConfig
Returns
Type Description
ExportDataOperationResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportDataOperationResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportDataOperationResponse.Builder
Overrides

setDataset(String value)

public ExportDataOperationResponse.Builder setDataset(String value)

Ouptut only. The name of dataset. "projects/*/datasets/*"

string dataset = 1;

Parameter
Name Description
value String

The dataset to set.

Returns
Type Description
ExportDataOperationResponse.Builder

This builder for chaining.

setDatasetBytes(ByteString value)

public ExportDataOperationResponse.Builder setDatasetBytes(ByteString value)

Ouptut only. The name of dataset. "projects/*/datasets/*"

string dataset = 1;

Parameter
Name Description
value ByteString

The bytes for dataset to set.

Returns
Type Description
ExportDataOperationResponse.Builder

This builder for chaining.

setExportCount(int value)

public ExportDataOperationResponse.Builder setExportCount(int value)

Output only. Number of examples exported successfully.

int32 export_count = 3;

Parameter
Name Description
value int

The exportCount to set.

Returns
Type Description
ExportDataOperationResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExportDataOperationResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportDataOperationResponse.Builder
Overrides

setLabelStats(LabelStats value)

public ExportDataOperationResponse.Builder setLabelStats(LabelStats value)

Output only. Statistic infos of labels in the exported dataset.

.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;

Parameter
Name Description
value LabelStats
Returns
Type Description
ExportDataOperationResponse.Builder

setLabelStats(LabelStats.Builder builderForValue)

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;

Parameter
Name Description
builderForValue LabelStats.Builder
Returns
Type Description
ExportDataOperationResponse.Builder

setOutputConfig(OutputConfig value)

public ExportDataOperationResponse.Builder setOutputConfig(OutputConfig value)

Output only. output_config in the ExportData request.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;

Parameter
Name Description
value OutputConfig
Returns
Type Description
ExportDataOperationResponse.Builder

setOutputConfig(OutputConfig.Builder builderForValue)

public ExportDataOperationResponse.Builder setOutputConfig(OutputConfig.Builder builderForValue)

Output only. output_config in the ExportData request.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;

Parameter
Name Description
builderForValue OutputConfig.Builder
Returns
Type Description
ExportDataOperationResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExportDataOperationResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExportDataOperationResponse.Builder
Overrides

setTotalCount(int value)

public ExportDataOperationResponse.Builder setTotalCount(int value)

Output only. Total number of examples requested to export

int32 total_count = 2;

Parameter
Name Description
value int

The totalCount to set.

Returns
Type Description
ExportDataOperationResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportDataOperationResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportDataOperationResponse.Builder
Overrides