Class ImportDataOperationResponse (0.153.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
TypeDescription
int

IMPORT_COUNT_FIELD_NUMBER

public static final int IMPORT_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_COUNT_FIELD_NUMBER

public static final int TOTAL_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportDataOperationResponse getDefaultInstance()
Returns
TypeDescription
ImportDataOperationResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ImportDataOperationResponse.Builder newBuilder()
Returns
TypeDescription
ImportDataOperationResponse.Builder

newBuilder(ImportDataOperationResponse prototype)

public static ImportDataOperationResponse.Builder newBuilder(ImportDataOperationResponse prototype)
Parameter
NameDescription
prototypeImportDataOperationResponse
Returns
TypeDescription
ImportDataOperationResponse.Builder

parseDelimitedFrom(InputStream input)

public static ImportDataOperationResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportDataOperationResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportDataOperationResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportDataOperationResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImportDataOperationResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImportDataOperationResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportDataOperationResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportDataOperationResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportDataOperationResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportDataOperationResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportDataOperationResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportDataOperationResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportDataOperationResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportDataOperationResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportDataOperationResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportDataOperationResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImportDataOperationResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportDataOperationResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportDataOperationResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportDataOperationResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImportDataOperationResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportDataOperationResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportDataOperationResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportDataOperationResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImportDataOperationResponse> parser()
Returns
TypeDescription
Parser<ImportDataOperationResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDataset()

public String getDataset()

Ouptut only. The name of imported dataset.

string dataset = 1;

Returns
TypeDescription
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Ouptut only. The name of imported dataset.

string dataset = 1;

Returns
TypeDescription
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public ImportDataOperationResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportDataOperationResponse

getImportCount()

public int getImportCount()

Output only. Number of examples imported successfully.

int32 import_count = 3;

Returns
TypeDescription
int

The importCount.

getParserForType()

public Parser<ImportDataOperationResponse> getParserForType()
Returns
TypeDescription
Parser<ImportDataOperationResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTotalCount()

public int getTotalCount()

Output only. Total number of examples requested to import

int32 total_count = 2;

Returns
TypeDescription
int

The totalCount.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImportDataOperationResponse.Builder newBuilderForType()
Returns
TypeDescription
ImportDataOperationResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportDataOperationResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportDataOperationResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ImportDataOperationResponse.Builder toBuilder()
Returns
TypeDescription
ImportDataOperationResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException