Class ImportDataOperationResponse.Builder (0.165.0)

public static final class ImportDataOperationResponse.Builder extends GeneratedMessageV3.Builder<ImportDataOperationResponse.Builder> implements ImportDataOperationResponseOrBuilder

Response used for ImportData longrunning operation.

Protobuf type google.cloud.datalabeling.v1beta1.ImportDataOperationResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportDataOperationResponse build()
Returns
Type Description
ImportDataOperationResponse

buildPartial()

public ImportDataOperationResponse buildPartial()
Returns
Type Description
ImportDataOperationResponse

clear()

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

clearDataset()

public ImportDataOperationResponse.Builder clearDataset()

Ouptut only. The name of imported dataset.

string dataset = 1;

Returns
Type Description
ImportDataOperationResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearImportCount()

public ImportDataOperationResponse.Builder clearImportCount()

Output only. Number of examples imported successfully.

int32 import_count = 3;

Returns
Type Description
ImportDataOperationResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTotalCount()

public ImportDataOperationResponse.Builder clearTotalCount()

Output only. Total number of examples requested to import

int32 total_count = 2;

Returns
Type Description
ImportDataOperationResponse.Builder

This builder for chaining.

clone()

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

getDataset()

public String getDataset()

Ouptut only. The name of imported dataset.

string dataset = 1;

Returns
Type Description
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Ouptut only. The name of imported dataset.

string dataset = 1;

Returns
Type Description
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public ImportDataOperationResponse getDefaultInstanceForType()
Returns
Type Description
ImportDataOperationResponse

getDescriptorForType()

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

getImportCount()

public int getImportCount()

Output only. Number of examples imported successfully.

int32 import_count = 3;

Returns
Type Description
int

The importCount.

getTotalCount()

public int getTotalCount()

Output only. Total number of examples requested to import

int32 total_count = 2;

Returns
Type Description
int

The totalCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportDataOperationResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataset(String value)

public ImportDataOperationResponse.Builder setDataset(String value)

Ouptut only. The name of imported dataset.

string dataset = 1;

Parameter
Name Description
value String

The dataset to set.

Returns
Type Description
ImportDataOperationResponse.Builder

This builder for chaining.

setDatasetBytes(ByteString value)

public ImportDataOperationResponse.Builder setDatasetBytes(ByteString value)

Ouptut only. The name of imported dataset.

string dataset = 1;

Parameter
Name Description
value ByteString

The bytes for dataset to set.

Returns
Type Description
ImportDataOperationResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setImportCount(int value)

public ImportDataOperationResponse.Builder setImportCount(int value)

Output only. Number of examples imported successfully.

int32 import_count = 3;

Parameter
Name Description
value int

The importCount to set.

Returns
Type Description
ImportDataOperationResponse.Builder

This builder for chaining.

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

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

setTotalCount(int value)

public ImportDataOperationResponse.Builder setTotalCount(int value)

Output only. Total number of examples requested to import

int32 total_count = 2;

Parameter
Name Description
value int

The totalCount to set.

Returns
Type Description
ImportDataOperationResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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