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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportDataOperationResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ImportDataOperationResponse build()
buildPartial()
public ImportDataOperationResponse buildPartial()
clear()
public ImportDataOperationResponse.Builder clear()
Overrides
clearDataset()
public ImportDataOperationResponse.Builder clearDataset()
Ouptut only. The name of imported dataset.
string dataset = 1;
clearField(Descriptors.FieldDescriptor field)
public ImportDataOperationResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearImportCount()
public ImportDataOperationResponse.Builder clearImportCount()
Output only. Number of examples imported successfully.
int32 import_count = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportDataOperationResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTotalCount()
public ImportDataOperationResponse.Builder clearTotalCount()
Output only. Total number of examples requested to import
int32 total_count = 2;
clone()
public ImportDataOperationResponse.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ImportDataOperationResponse other)
public ImportDataOperationResponse.Builder mergeFrom(ImportDataOperationResponse other)
public ImportDataOperationResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImportDataOperationResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportDataOperationResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ImportDataOperationResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportDataOperationResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportDataOperationResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides