Class ExportDataResponse.Builder (3.49.0)

public static final class ExportDataResponse.Builder extends GeneratedMessageV3.Builder<ExportDataResponse.Builder> implements ExportDataResponseOrBuilder

Response message for DatasetService.ExportData.

Protobuf type google.cloud.aiplatform.v1.ExportDataResponse

Static Methods

getDescriptor()

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

Methods

addAllExportedFiles(Iterable<String> values)

public ExportDataResponse.Builder addAllExportedFiles(Iterable<String> values)

All of the files that are exported in this export operation. For custom code training export, only three (training, validation and test) Cloud Storage paths in wildcard format are populated (for example, gs://.../training-*).

repeated string exported_files = 1;

Parameter
Name Description
values Iterable<String>

The exportedFiles to add.

Returns
Type Description
ExportDataResponse.Builder

This builder for chaining.

addExportedFiles(String value)

public ExportDataResponse.Builder addExportedFiles(String value)

All of the files that are exported in this export operation. For custom code training export, only three (training, validation and test) Cloud Storage paths in wildcard format are populated (for example, gs://.../training-*).

repeated string exported_files = 1;

Parameter
Name Description
value String

The exportedFiles to add.

Returns
Type Description
ExportDataResponse.Builder

This builder for chaining.

addExportedFilesBytes(ByteString value)

public ExportDataResponse.Builder addExportedFilesBytes(ByteString value)

All of the files that are exported in this export operation. For custom code training export, only three (training, validation and test) Cloud Storage paths in wildcard format are populated (for example, gs://.../training-*).

repeated string exported_files = 1;

Parameter
Name Description
value ByteString

The bytes of the exportedFiles to add.

Returns
Type Description
ExportDataResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportDataResponse build()
Returns
Type Description
ExportDataResponse

buildPartial()

public ExportDataResponse buildPartial()
Returns
Type Description
ExportDataResponse

clear()

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

clearDataStats()

public ExportDataResponse.Builder clearDataStats()

Only present for custom code training export use case. Records data stats, i.e., train/validation/test item/annotation counts calculated during the export operation.

.google.cloud.aiplatform.v1.Model.DataStats data_stats = 2;

Returns
Type Description
ExportDataResponse.Builder

clearExportedFiles()

public ExportDataResponse.Builder clearExportedFiles()

All of the files that are exported in this export operation. For custom code training export, only three (training, validation and test) Cloud Storage paths in wildcard format are populated (for example, gs://.../training-*).

repeated string exported_files = 1;

Returns
Type Description
ExportDataResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ExportDataResponse.Builder clone()
Returns
Type Description
ExportDataResponse.Builder
Overrides

getDataStats()

public Model.DataStats getDataStats()

Only present for custom code training export use case. Records data stats, i.e., train/validation/test item/annotation counts calculated during the export operation.

.google.cloud.aiplatform.v1.Model.DataStats data_stats = 2;

Returns
Type Description
Model.DataStats

The dataStats.

getDataStatsBuilder()

public Model.DataStats.Builder getDataStatsBuilder()

Only present for custom code training export use case. Records data stats, i.e., train/validation/test item/annotation counts calculated during the export operation.

.google.cloud.aiplatform.v1.Model.DataStats data_stats = 2;

Returns
Type Description
Model.DataStats.Builder

getDataStatsOrBuilder()

public Model.DataStatsOrBuilder getDataStatsOrBuilder()

Only present for custom code training export use case. Records data stats, i.e., train/validation/test item/annotation counts calculated during the export operation.

.google.cloud.aiplatform.v1.Model.DataStats data_stats = 2;

Returns
Type Description
Model.DataStatsOrBuilder

getDefaultInstanceForType()

public ExportDataResponse getDefaultInstanceForType()
Returns
Type Description
ExportDataResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExportedFiles(int index)

public String getExportedFiles(int index)

All of the files that are exported in this export operation. For custom code training export, only three (training, validation and test) Cloud Storage paths in wildcard format are populated (for example, gs://.../training-*).

repeated string exported_files = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The exportedFiles at the given index.

getExportedFilesBytes(int index)

public ByteString getExportedFilesBytes(int index)

All of the files that are exported in this export operation. For custom code training export, only three (training, validation and test) Cloud Storage paths in wildcard format are populated (for example, gs://.../training-*).

repeated string exported_files = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the exportedFiles at the given index.

getExportedFilesCount()

public int getExportedFilesCount()

All of the files that are exported in this export operation. For custom code training export, only three (training, validation and test) Cloud Storage paths in wildcard format are populated (for example, gs://.../training-*).

repeated string exported_files = 1;

Returns
Type Description
int

The count of exportedFiles.

getExportedFilesList()

public ProtocolStringList getExportedFilesList()

All of the files that are exported in this export operation. For custom code training export, only three (training, validation and test) Cloud Storage paths in wildcard format are populated (for example, gs://.../training-*).

repeated string exported_files = 1;

Returns
Type Description
ProtocolStringList

A list containing the exportedFiles.

hasDataStats()

public boolean hasDataStats()

Only present for custom code training export use case. Records data stats, i.e., train/validation/test item/annotation counts calculated during the export operation.

.google.cloud.aiplatform.v1.Model.DataStats data_stats = 2;

Returns
Type Description
boolean

Whether the dataStats field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataStats(Model.DataStats value)

public ExportDataResponse.Builder mergeDataStats(Model.DataStats value)

Only present for custom code training export use case. Records data stats, i.e., train/validation/test item/annotation counts calculated during the export operation.

.google.cloud.aiplatform.v1.Model.DataStats data_stats = 2;

Parameter
Name Description
value Model.DataStats
Returns
Type Description
ExportDataResponse.Builder

mergeFrom(ExportDataResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataStats(Model.DataStats value)

public ExportDataResponse.Builder setDataStats(Model.DataStats value)

Only present for custom code training export use case. Records data stats, i.e., train/validation/test item/annotation counts calculated during the export operation.

.google.cloud.aiplatform.v1.Model.DataStats data_stats = 2;

Parameter
Name Description
value Model.DataStats
Returns
Type Description
ExportDataResponse.Builder

setDataStats(Model.DataStats.Builder builderForValue)

public ExportDataResponse.Builder setDataStats(Model.DataStats.Builder builderForValue)

Only present for custom code training export use case. Records data stats, i.e., train/validation/test item/annotation counts calculated during the export operation.

.google.cloud.aiplatform.v1.Model.DataStats data_stats = 2;

Parameter
Name Description
builderForValue Model.DataStats.Builder
Returns
Type Description
ExportDataResponse.Builder

setExportedFiles(int index, String value)

public ExportDataResponse.Builder setExportedFiles(int index, String value)

All of the files that are exported in this export operation. For custom code training export, only three (training, validation and test) Cloud Storage paths in wildcard format are populated (for example, gs://.../training-*).

repeated string exported_files = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The exportedFiles to set.

Returns
Type Description
ExportDataResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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