Google Cloud Ai Platform V1 Client - Class FeatureValueDestination (1.44.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class FeatureValueDestination.

A destination location for Feature values and format.

Generated from protobuf message google.cloud.aiplatform.v1.FeatureValueDestination

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ bigquery_destination BigQueryDestination

Output in BigQuery format. BigQueryDestination.output_uri in FeatureValueDestination.bigquery_destination must refer to a table.

↳ tfrecord_destination TFRecordDestination

Output in TFRecord format. Below are the mapping from Feature value type in Featurestore to Feature value type in TFRecord: Value type in Featurestore | Value type in TFRecord DOUBLE, DOUBLE_ARRAY | FLOAT_LIST INT64, INT64_ARRAY | INT64_LIST STRING, STRING_ARRAY, BYTES | BYTES_LIST true -> byte_string("true"), false -> byte_string("false") BOOL, BOOL_ARRAY (true, false) | BYTES_LIST

↳ csv_destination CsvDestination

Output in CSV format. Array Feature value types are not allowed in CSV format.

getBigqueryDestination

Output in BigQuery format.

BigQueryDestination.output_uri in FeatureValueDestination.bigquery_destination must refer to a table.

Returns
Type Description
BigQueryDestination|null

hasBigqueryDestination

setBigqueryDestination

Output in BigQuery format.

BigQueryDestination.output_uri in FeatureValueDestination.bigquery_destination must refer to a table.

Parameter
Name Description
var BigQueryDestination
Returns
Type Description
$this

getTfrecordDestination

Output in TFRecord format.

Below are the mapping from Feature value type in Featurestore to Feature value type in TFRecord: Value type in Featurestore | Value type in TFRecord DOUBLE, DOUBLE_ARRAY | FLOAT_LIST INT64, INT64_ARRAY | INT64_LIST STRING, STRING_ARRAY, BYTES | BYTES_LIST true -> byte_string("true"), false -> byte_string("false") BOOL, BOOL_ARRAY (true, false) | BYTES_LIST

Returns
Type Description
TFRecordDestination|null

hasTfrecordDestination

setTfrecordDestination

Output in TFRecord format.

Below are the mapping from Feature value type in Featurestore to Feature value type in TFRecord: Value type in Featurestore | Value type in TFRecord DOUBLE, DOUBLE_ARRAY | FLOAT_LIST INT64, INT64_ARRAY | INT64_LIST STRING, STRING_ARRAY, BYTES | BYTES_LIST true -> byte_string("true"), false -> byte_string("false") BOOL, BOOL_ARRAY (true, false) | BYTES_LIST

Parameter
Name Description
var TFRecordDestination
Returns
Type Description
$this

getCsvDestination

Output in CSV format. Array Feature value types are not allowed in CSV format.

Returns
Type Description
CsvDestination|null

hasCsvDestination

setCsvDestination

Output in CSV format. Array Feature value types are not allowed in CSV format.

Parameter
Name Description
var CsvDestination
Returns
Type Description
$this

getDestination

Returns
Type Description
string

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.