Class ImportDataOperationMetadata.Builder (0.174.0)

public static final class ImportDataOperationMetadata.Builder extends GeneratedMessageV3.Builder<ImportDataOperationMetadata.Builder> implements ImportDataOperationMetadataOrBuilder

Metadata of an ImportData operation.

Protobuf type google.cloud.datalabeling.v1beta1.ImportDataOperationMetadata

Static Methods

getDescriptor()

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

Methods

addAllPartialFailures(Iterable<? extends Status> values)

public ImportDataOperationMetadata.Builder addAllPartialFailures(Iterable<? extends Status> values)

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
values Iterable<? extends com.google.rpc.Status>
Returns
Type Description
ImportDataOperationMetadata.Builder

addPartialFailures(Status value)

public ImportDataOperationMetadata.Builder addPartialFailures(Status value)

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
value com.google.rpc.Status
Returns
Type Description
ImportDataOperationMetadata.Builder

addPartialFailures(Status.Builder builderForValue)

public ImportDataOperationMetadata.Builder addPartialFailures(Status.Builder builderForValue)

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
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ImportDataOperationMetadata.Builder

addPartialFailures(int index, Status value)

public ImportDataOperationMetadata.Builder addPartialFailures(int index, Status value)

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;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
ImportDataOperationMetadata.Builder

addPartialFailures(int index, Status.Builder builderForValue)

public ImportDataOperationMetadata.Builder addPartialFailures(int index, Status.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ImportDataOperationMetadata.Builder

addPartialFailuresBuilder()

public Status.Builder addPartialFailuresBuilder()

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
com.google.rpc.Status.Builder

addPartialFailuresBuilder(int index)

public Status.Builder addPartialFailuresBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportDataOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportDataOperationMetadata.Builder
Overrides

build()

public ImportDataOperationMetadata build()
Returns
Type Description
ImportDataOperationMetadata

buildPartial()

public ImportDataOperationMetadata buildPartial()
Returns
Type Description
ImportDataOperationMetadata

clear()

public ImportDataOperationMetadata.Builder clear()
Returns
Type Description
ImportDataOperationMetadata.Builder
Overrides

clearCreateTime()

public ImportDataOperationMetadata.Builder clearCreateTime()

Output only. Timestamp when import dataset request was created.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
ImportDataOperationMetadata.Builder

clearDataset()

public ImportDataOperationMetadata.Builder clearDataset()

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

string dataset = 1;

Returns
Type Description
ImportDataOperationMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ImportDataOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportDataOperationMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportDataOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportDataOperationMetadata.Builder
Overrides

clearPartialFailures()

public ImportDataOperationMetadata.Builder clearPartialFailures()

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
ImportDataOperationMetadata.Builder

clone()

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

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp when import dataset request was created.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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

getPartialFailuresBuilder(int index)

public Status.Builder getPartialFailuresBuilder(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.Builder

getPartialFailuresBuilderList()

public List<Status.Builder> getPartialFailuresBuilderList()

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.Builder>

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>

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public ImportDataOperationMetadata.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp when import dataset request was created.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
ImportDataOperationMetadata.Builder

mergeFrom(ImportDataOperationMetadata other)

public ImportDataOperationMetadata.Builder mergeFrom(ImportDataOperationMetadata other)
Parameter
Name Description
other ImportDataOperationMetadata
Returns
Type Description
ImportDataOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportDataOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportDataOperationMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportDataOperationMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportDataOperationMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportDataOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportDataOperationMetadata.Builder
Overrides

removePartialFailures(int index)

public ImportDataOperationMetadata.Builder removePartialFailures(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
ImportDataOperationMetadata.Builder

setCreateTime(Timestamp value)

public ImportDataOperationMetadata.Builder setCreateTime(Timestamp value)

Output only. Timestamp when import dataset request was created.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
ImportDataOperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ImportDataOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when import dataset request was created.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ImportDataOperationMetadata.Builder

setDataset(String value)

public ImportDataOperationMetadata.Builder setDataset(String value)

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

string dataset = 1;

Parameter
Name Description
value String

The dataset to set.

Returns
Type Description
ImportDataOperationMetadata.Builder

This builder for chaining.

setDatasetBytes(ByteString value)

public ImportDataOperationMetadata.Builder setDatasetBytes(ByteString value)

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

string dataset = 1;

Parameter
Name Description
value ByteString

The bytes for dataset to set.

Returns
Type Description
ImportDataOperationMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ImportDataOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportDataOperationMetadata.Builder
Overrides

setPartialFailures(int index, Status value)

public ImportDataOperationMetadata.Builder setPartialFailures(int index, Status value)

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;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
ImportDataOperationMetadata.Builder

setPartialFailures(int index, Status.Builder builderForValue)

public ImportDataOperationMetadata.Builder setPartialFailures(int index, Status.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ImportDataOperationMetadata.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportDataOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportDataOperationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportDataOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportDataOperationMetadata.Builder
Overrides