Class ImportDataOperationMetadata (0.172.0)

public final class ImportDataOperationMetadata extends GeneratedMessageV3 implements ImportDataOperationMetadataOrBuilder

Metadata of an ImportData operation.

Protobuf type google.cloud.datalabeling.v1beta1.ImportDataOperationMetadata

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DATASET_FIELD_NUMBER

public static final int DATASET_FIELD_NUMBER
Field Value
Type Description
int

PARTIAL_FAILURES_FIELD_NUMBER

public static final int PARTIAL_FAILURES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportDataOperationMetadata getDefaultInstance()
Returns
Type Description
ImportDataOperationMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(ImportDataOperationMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when import dataset request was created.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when import dataset request was created.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
TimestampOrBuilder

getDataset()

public String getDataset()

Output only. The name of imported dataset. "projects/*/datasets/*"

string dataset = 1;

Returns
Type Description
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Output only. The name of imported dataset. "projects/*/datasets/*"

string dataset = 1;

Returns
Type Description
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public ImportDataOperationMetadata getDefaultInstanceForType()
Returns
Type Description
ImportDataOperationMetadata

getParserForType()

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

getPartialFailures(int index)

public Status getPartialFailures(int index)

Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status

getPartialFailuresCount()

public int getPartialFailuresCount()

Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
int

getPartialFailuresList()

public List<Status> getPartialFailuresList()

Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
List<com.google.rpc.Status>

getPartialFailuresOrBuilder(int index)

public StatusOrBuilder getPartialFailuresOrBuilder(int index)

Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.StatusOrBuilder

getPartialFailuresOrBuilderList()

public List<? extends StatusOrBuilder> getPartialFailuresOrBuilderList()

Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when import dataset request was created.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
boolean

Whether the createTime field is set.

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 ImportDataOperationMetadata.Builder newBuilderForType()
Returns
Type Description
ImportDataOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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