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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportDataOperationResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ImportDataOperationResponse build()
Returns
buildPartial()
public ImportDataOperationResponse buildPartial()
Returns
clear()
public ImportDataOperationResponse.Builder clear()
Returns
Overrides
clearDataset()
public ImportDataOperationResponse.Builder clearDataset()
Ouptut only. The name of imported dataset.
string dataset = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ImportDataOperationResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearImportCount()
public ImportDataOperationResponse.Builder clearImportCount()
Output only. Number of examples imported successfully.
int32 import_count = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportDataOperationResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTotalCount()
public ImportDataOperationResponse.Builder clearTotalCount()
Output only. Total number of examples requested to import
int32 total_count = 2;
Returns
clone()
public ImportDataOperationResponse.Builder clone()
Returns
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
getDefaultInstanceForType()
public ImportDataOperationResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ImportDataOperationResponse other)
public ImportDataOperationResponse.Builder mergeFrom(ImportDataOperationResponse other)
Parameter
Returns
public ImportDataOperationResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImportDataOperationResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportDataOperationResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public ImportDataOperationResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportDataOperationResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportDataOperationResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides