Send feedback
Class ImportDataOperationResponse.Builder (0.123.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.123.0 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]