Class ImportDataOperationResponse (0.162.0)

public final class ImportDataOperationResponse extends GeneratedMessageV3 implements ImportDataOperationResponseOrBuilder

Response used for ImportData longrunning operation.

Protobuf type google.cloud.datalabeling.v1beta1.ImportDataOperationResponse

Static Fields

DATASET_FIELD_NUMBER

public static final int DATASET_FIELD_NUMBER
Field Value
Type Description
int

IMPORT_COUNT_FIELD_NUMBER

public static final int IMPORT_COUNT_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_COUNT_FIELD_NUMBER

public static final int TOTAL_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportDataOperationResponse getDefaultInstance()
Returns
Type Description
ImportDataOperationResponse

getDescriptor()

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

newBuilder()

public static ImportDataOperationResponse.Builder newBuilder()
Returns
Type Description
ImportDataOperationResponse.Builder

newBuilder(ImportDataOperationResponse prototype)

public static ImportDataOperationResponse.Builder newBuilder(ImportDataOperationResponse prototype)
Parameter
Name Description
prototype ImportDataOperationResponse
Returns
Type Description
ImportDataOperationResponse.Builder

parseDelimitedFrom(InputStream input)

public static ImportDataOperationResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportDataOperationResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportDataOperationResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportDataOperationResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImportDataOperationResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImportDataOperationResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportDataOperationResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportDataOperationResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportDataOperationResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportDataOperationResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportDataOperationResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportDataOperationResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportDataOperationResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportDataOperationResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportDataOperationResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportDataOperationResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImportDataOperationResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportDataOperationResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportDataOperationResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportDataOperationResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImportDataOperationResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportDataOperationResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportDataOperationResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportDataOperationResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImportDataOperationResponse> parser()
Returns
Type Description
Parser<ImportDataOperationResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getImportCount()

public int getImportCount()

Output only. Number of examples imported successfully.

int32 import_count = 3;

Returns
Type Description
int

The importCount.

getParserForType()

public Parser<ImportDataOperationResponse> getParserForType()
Returns
Type Description
Parser<ImportDataOperationResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTotalCount()

public int getTotalCount()

Output only. Total number of examples requested to import

int32 total_count = 2;

Returns
Type Description
int

The totalCount.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImportDataOperationResponse.Builder newBuilderForType()
Returns
Type Description
ImportDataOperationResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportDataOperationResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportDataOperationResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ImportDataOperationResponse.Builder toBuilder()
Returns
Type Description
ImportDataOperationResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException