Class ExportDataOperationMetadata.Builder (0.132.0)

public static final class ExportDataOperationMetadata.Builder extends GeneratedMessageV3.Builder<ExportDataOperationMetadata.Builder> implements ExportDataOperationMetadataOrBuilder

Metadata of an ExportData operation.

Protobuf type google.cloud.datalabeling.v1beta1.ExportDataOperationMetadata

Static Methods

getDescriptor()

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

Methods

addAllPartialFailures(Iterable<? extends Status> values)

public ExportDataOperationMetadata.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
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
ExportDataOperationMetadata.Builder

addPartialFailures(Status value)

public ExportDataOperationMetadata.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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ExportDataOperationMetadata.Builder

addPartialFailures(Status.Builder builderForValue)

public ExportDataOperationMetadata.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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ExportDataOperationMetadata.Builder

addPartialFailures(int index, Status value)

public ExportDataOperationMetadata.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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
ExportDataOperationMetadata.Builder

addPartialFailures(int index, Status.Builder builderForValue)

public ExportDataOperationMetadata.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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ExportDataOperationMetadata.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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportDataOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportDataOperationMetadata.Builder
Overrides

build()

public ExportDataOperationMetadata build()
Returns
TypeDescription
ExportDataOperationMetadata

buildPartial()

public ExportDataOperationMetadata buildPartial()
Returns
TypeDescription
ExportDataOperationMetadata

clear()

public ExportDataOperationMetadata.Builder clear()
Returns
TypeDescription
ExportDataOperationMetadata.Builder
Overrides

clearCreateTime()

public ExportDataOperationMetadata.Builder clearCreateTime()

Output only. Timestamp when export dataset request was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
ExportDataOperationMetadata.Builder

clearDataset()

public ExportDataOperationMetadata.Builder clearDataset()

Output only. The name of dataset to be exported. "projects/*/datasets/*"

string dataset = 1;

Returns
TypeDescription
ExportDataOperationMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExportDataOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExportDataOperationMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportDataOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExportDataOperationMetadata.Builder
Overrides

clearPartialFailures()

public ExportDataOperationMetadata.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
TypeDescription
ExportDataOperationMetadata.Builder

clone()

public ExportDataOperationMetadata.Builder clone()
Returns
TypeDescription
ExportDataOperationMetadata.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when export dataset request was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp when export dataset request was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when export dataset request was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getDataset()

public String getDataset()

Output only. The name of dataset to be exported. "projects/*/datasets/*"

string dataset = 1;

Returns
TypeDescription
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Output only. The name of dataset to be exported. "projects/*/datasets/*"

string dataset = 1;

Returns
TypeDescription
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public ExportDataOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
ExportDataOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when export dataset request was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public ExportDataOperationMetadata.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp when export dataset request was created.

.google.protobuf.Timestamp create_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ExportDataOperationMetadata.Builder

mergeFrom(ExportDataOperationMetadata other)

public ExportDataOperationMetadata.Builder mergeFrom(ExportDataOperationMetadata other)
Parameter
NameDescription
otherExportDataOperationMetadata
Returns
TypeDescription
ExportDataOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportDataOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportDataOperationMetadata.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExportDataOperationMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExportDataOperationMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportDataOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportDataOperationMetadata.Builder
Overrides

removePartialFailures(int index)

public ExportDataOperationMetadata.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
NameDescription
indexint
Returns
TypeDescription
ExportDataOperationMetadata.Builder

setCreateTime(Timestamp value)

public ExportDataOperationMetadata.Builder setCreateTime(Timestamp value)

Output only. Timestamp when export dataset request was created.

.google.protobuf.Timestamp create_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ExportDataOperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ExportDataOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when export dataset request was created.

.google.protobuf.Timestamp create_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ExportDataOperationMetadata.Builder

setDataset(String value)

public ExportDataOperationMetadata.Builder setDataset(String value)

Output only. The name of dataset to be exported. "projects/*/datasets/*"

string dataset = 1;

Parameter
NameDescription
valueString

The dataset to set.

Returns
TypeDescription
ExportDataOperationMetadata.Builder

This builder for chaining.

setDatasetBytes(ByteString value)

public ExportDataOperationMetadata.Builder setDatasetBytes(ByteString value)

Output only. The name of dataset to be exported. "projects/*/datasets/*"

string dataset = 1;

Parameter
NameDescription
valueByteString

The bytes for dataset to set.

Returns
TypeDescription
ExportDataOperationMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExportDataOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportDataOperationMetadata.Builder
Overrides

setPartialFailures(int index, Status value)

public ExportDataOperationMetadata.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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
ExportDataOperationMetadata.Builder

setPartialFailures(int index, Status.Builder builderForValue)

public ExportDataOperationMetadata.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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ExportDataOperationMetadata.Builder

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

public ExportDataOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExportDataOperationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportDataOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportDataOperationMetadata.Builder
Overrides