Class ExportDataOperationResponse.Builder (0.128.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportDataOperationResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportDataOperationResponse.Builder
Overrides

build()

public ExportDataOperationResponse build()
Returns
TypeDescription
ExportDataOperationResponse

buildPartial()

public ExportDataOperationResponse buildPartial()
Returns
TypeDescription
ExportDataOperationResponse

clear()

public ExportDataOperationResponse.Builder clear()
Returns
TypeDescription
ExportDataOperationResponse.Builder
Overrides

clearDataset()

public ExportDataOperationResponse.Builder clearDataset()

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

string dataset = 1;

Returns
TypeDescription
ExportDataOperationResponse.Builder

This builder for chaining.

clearExportCount()

public ExportDataOperationResponse.Builder clearExportCount()

Output only. Number of examples exported successfully.

int32 export_count = 3;

Returns
TypeDescription
ExportDataOperationResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExportDataOperationResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ExportDataOperationResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportDataOperationResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ExportDataOperationResponse.Builder

clearTotalCount()

public ExportDataOperationResponse.Builder clearTotalCount()

Output only. Total number of examples requested to export

int32 total_count = 2;

Returns
TypeDescription
ExportDataOperationResponse.Builder

This builder for chaining.

clone()

public ExportDataOperationResponse.Builder clone()
Returns
TypeDescription
ExportDataOperationResponse.Builder
Overrides

getDataset()

public String getDataset()

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

string dataset = 1;

Returns
TypeDescription
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

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

string dataset = 1;

Returns
TypeDescription
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public ExportDataOperationResponse getDefaultInstanceForType()
Returns
TypeDescription
ExportDataOperationResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExportCount()

public int getExportCount()

Output only. Number of examples exported successfully.

int32 export_count = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
LabelStatsOrBuilder

getOutputConfig()

public OutputConfig getOutputConfig()

Output only. output_config in the ExportData request.

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

Returns
TypeDescription
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
TypeDescription
OutputConfig.Builder

getOutputConfigOrBuilder()

public OutputConfigOrBuilder getOutputConfigOrBuilder()

Output only. output_config in the ExportData request.

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

Returns
TypeDescription
OutputConfigOrBuilder

getTotalCount()

public int getTotalCount()

Output only. Total number of examples requested to export

int32 total_count = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the outputConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExportDataOperationResponse other)

public ExportDataOperationResponse.Builder mergeFrom(ExportDataOperationResponse other)
Parameter
NameDescription
otherExportDataOperationResponse
Returns
TypeDescription
ExportDataOperationResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportDataOperationResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportDataOperationResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExportDataOperationResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueLabelStats
Returns
TypeDescription
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
NameDescription
valueOutputConfig
Returns
TypeDescription
ExportDataOperationResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportDataOperationResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportDataOperationResponse.Builder
Overrides

setDataset(String value)

public ExportDataOperationResponse.Builder setDataset(String value)

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

string dataset = 1;

Parameter
NameDescription
valueString

The dataset to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dataset to set.

Returns
TypeDescription
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
NameDescription
valueint

The exportCount to set.

Returns
TypeDescription
ExportDataOperationResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExportDataOperationResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueLabelStats
Returns
TypeDescription
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
NameDescription
builderForValueLabelStats.Builder
Returns
TypeDescription
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
NameDescription
valueOutputConfig
Returns
TypeDescription
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
NameDescription
builderForValueOutputConfig.Builder
Returns
TypeDescription
ExportDataOperationResponse.Builder

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

public ExportDataOperationResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The totalCount to set.

Returns
TypeDescription
ExportDataOperationResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportDataOperationResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportDataOperationResponse.Builder
Overrides