Class ExportEvaluatedDataItemsConfig.Builder (3.0.0)

public static final class ExportEvaluatedDataItemsConfig.Builder extends GeneratedMessageV3.Builder<ExportEvaluatedDataItemsConfig.Builder> implements ExportEvaluatedDataItemsConfigOrBuilder

Configuration for exporting test set predictions to a BigQuery table.

Protobuf type google.cloud.aiplatform.v1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportEvaluatedDataItemsConfig build()
Returns
TypeDescription
ExportEvaluatedDataItemsConfig

buildPartial()

public ExportEvaluatedDataItemsConfig buildPartial()
Returns
TypeDescription
ExportEvaluatedDataItemsConfig

clear()

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

clearDestinationBigqueryUri()

public ExportEvaluatedDataItemsConfig.Builder clearDestinationBigqueryUri()

URI of desired destination BigQuery table. Expected format: bq://<project_id>:<dataset_id>:<table> If not specified, then results are exported to the following auto-created BigQuery table: <project_id>:export_evaluated_examples_<model_name>_<yyyy_MM_dd'T'HH_mm_ss_SSS'Z'>.evaluated_examples

string destination_bigquery_uri = 1;

Returns
TypeDescription
ExportEvaluatedDataItemsConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOverrideExistingTable()

public ExportEvaluatedDataItemsConfig.Builder clearOverrideExistingTable()

If true and an export destination is specified, then the contents of the destination are overwritten. Otherwise, if the export destination already exists, then the export operation fails.

bool override_existing_table = 2;

Returns
TypeDescription
ExportEvaluatedDataItemsConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ExportEvaluatedDataItemsConfig getDefaultInstanceForType()
Returns
TypeDescription
ExportEvaluatedDataItemsConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationBigqueryUri()

public String getDestinationBigqueryUri()

URI of desired destination BigQuery table. Expected format: bq://<project_id>:<dataset_id>:<table> If not specified, then results are exported to the following auto-created BigQuery table: <project_id>:export_evaluated_examples_<model_name>_<yyyy_MM_dd'T'HH_mm_ss_SSS'Z'>.evaluated_examples

string destination_bigquery_uri = 1;

Returns
TypeDescription
String

The destinationBigqueryUri.

getDestinationBigqueryUriBytes()

public ByteString getDestinationBigqueryUriBytes()

URI of desired destination BigQuery table. Expected format: bq://<project_id>:<dataset_id>:<table> If not specified, then results are exported to the following auto-created BigQuery table: <project_id>:export_evaluated_examples_<model_name>_<yyyy_MM_dd'T'HH_mm_ss_SSS'Z'>.evaluated_examples

string destination_bigquery_uri = 1;

Returns
TypeDescription
ByteString

The bytes for destinationBigqueryUri.

getOverrideExistingTable()

public boolean getOverrideExistingTable()

If true and an export destination is specified, then the contents of the destination are overwritten. Otherwise, if the export destination already exists, then the export operation fails.

bool override_existing_table = 2;

Returns
TypeDescription
boolean

The overrideExistingTable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExportEvaluatedDataItemsConfig other)

public ExportEvaluatedDataItemsConfig.Builder mergeFrom(ExportEvaluatedDataItemsConfig other)
Parameter
NameDescription
otherExportEvaluatedDataItemsConfig
Returns
TypeDescription
ExportEvaluatedDataItemsConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDestinationBigqueryUri(String value)

public ExportEvaluatedDataItemsConfig.Builder setDestinationBigqueryUri(String value)

URI of desired destination BigQuery table. Expected format: bq://<project_id>:<dataset_id>:<table> If not specified, then results are exported to the following auto-created BigQuery table: <project_id>:export_evaluated_examples_<model_name>_<yyyy_MM_dd'T'HH_mm_ss_SSS'Z'>.evaluated_examples

string destination_bigquery_uri = 1;

Parameter
NameDescription
valueString

The destinationBigqueryUri to set.

Returns
TypeDescription
ExportEvaluatedDataItemsConfig.Builder

This builder for chaining.

setDestinationBigqueryUriBytes(ByteString value)

public ExportEvaluatedDataItemsConfig.Builder setDestinationBigqueryUriBytes(ByteString value)

URI of desired destination BigQuery table. Expected format: bq://<project_id>:<dataset_id>:<table> If not specified, then results are exported to the following auto-created BigQuery table: <project_id>:export_evaluated_examples_<model_name>_<yyyy_MM_dd'T'HH_mm_ss_SSS'Z'>.evaluated_examples

string destination_bigquery_uri = 1;

Parameter
NameDescription
valueByteString

The bytes for destinationBigqueryUri to set.

Returns
TypeDescription
ExportEvaluatedDataItemsConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setOverrideExistingTable(boolean value)

public ExportEvaluatedDataItemsConfig.Builder setOverrideExistingTable(boolean value)

If true and an export destination is specified, then the contents of the destination are overwritten. Otherwise, if the export destination already exists, then the export operation fails.

bool override_existing_table = 2;

Parameter
NameDescription
valueboolean

The overrideExistingTable to set.

Returns
TypeDescription
ExportEvaluatedDataItemsConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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