public final class ImportDataOperationMetadata extends GeneratedMessageV3 implements ImportDataOperationMetadataOrBuilder
Metadata of an ImportData operation.
Protobuf type google.cloud.datalabeling.v1beta1.ImportDataOperationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DATASET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PARTIAL_FAILURES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static ImportDataOperationMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ImportDataOperationMetadata.Builder newBuilder()
public static ImportDataOperationMetadata.Builder newBuilder(ImportDataOperationMetadata prototype)
public static ImportDataOperationMetadata parseDelimitedFrom(InputStream input)
public static ImportDataOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportDataOperationMetadata parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static ImportDataOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportDataOperationMetadata parseFrom(ByteString data)
public static ImportDataOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportDataOperationMetadata parseFrom(CodedInputStream input)
public static ImportDataOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportDataOperationMetadata parseFrom(InputStream input)
public static ImportDataOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportDataOperationMetadata parseFrom(ByteBuffer data)
public static ImportDataOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ImportDataOperationMetadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public Timestamp getCreateTime()
Output only. Timestamp when import dataset request was created.
.google.protobuf.Timestamp create_time = 3;
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when import dataset request was created.
.google.protobuf.Timestamp create_time = 3;
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 |
---|
Type | Description |
ByteString | The bytes for dataset.
|
public ImportDataOperationMetadata getDefaultInstanceForType()
public Parser<ImportDataOperationMetadata> getParserForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ImportDataOperationMetadata.Builder newBuilderForType()
protected ImportDataOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public ImportDataOperationMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides