public final class ImportDataOperationMetadata extends GeneratedMessageV3 implements ImportDataOperationMetadataOrBuilder
Metadata of an ImportData operation.
Protobuf type google.cloud.datalabeling.v1beta1.ImportDataOperationMetadata
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int DATASET_FIELD_NUMBER
Field Value
public static final int PARTIAL_FAILURES_FIELD_NUMBER
Field Value
Static Methods
public static ImportDataOperationMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ImportDataOperationMetadata.Builder newBuilder()
Returns
public static ImportDataOperationMetadata.Builder newBuilder(ImportDataOperationMetadata prototype)
Parameter
Returns
public static ImportDataOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ImportDataOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportDataOperationMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ImportDataOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportDataOperationMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ImportDataOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportDataOperationMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ImportDataOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportDataOperationMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ImportDataOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportDataOperationMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ImportDataOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ImportDataOperationMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Timestamp getCreateTime()
Output only. Timestamp when import dataset request was created.
.google.protobuf.Timestamp create_time = 3;
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when import dataset request was created.
.google.protobuf.Timestamp create_time = 3;
Returns
public String getDataset()
Output only. The name of imported dataset.
"projects/*/datasets/*"
string dataset = 1;
Returns
Type | Description |
String | The dataset.
|
public ByteString getDatasetBytes()
Output only. The name of imported dataset.
"projects/*/datasets/*"
string dataset = 1;
Returns
public ImportDataOperationMetadata getDefaultInstanceForType()
Returns
public Parser<ImportDataOperationMetadata> getParserForType()
Returns
Overrides
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
Returns
Type | Description |
com.google.rpc.Status | |
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
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> | |
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
Returns
Type | Description |
com.google.rpc.StatusOrBuilder | |
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> | |
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ImportDataOperationMetadata.Builder newBuilderForType()
Returns
protected ImportDataOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ImportDataOperationMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions