Class FeatureValueDestination.Builder (3.42.0)

public static final class FeatureValueDestination.Builder extends GeneratedMessageV3.Builder<FeatureValueDestination.Builder> implements FeatureValueDestinationOrBuilder

A destination location for Feature values and format.

Protobuf type google.cloud.aiplatform.v1beta1.FeatureValueDestination

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FeatureValueDestination build()
Returns
Type Description
FeatureValueDestination

buildPartial()

public FeatureValueDestination buildPartial()
Returns
Type Description
FeatureValueDestination

clear()

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

clearBigqueryDestination()

public FeatureValueDestination.Builder clearBigqueryDestination()

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

.google.cloud.aiplatform.v1beta1.BigQueryDestination bigquery_destination = 1;

Returns
Type Description
FeatureValueDestination.Builder

clearCsvDestination()

public FeatureValueDestination.Builder clearCsvDestination()

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

.google.cloud.aiplatform.v1beta1.CsvDestination csv_destination = 3;

Returns
Type Description
FeatureValueDestination.Builder

clearDestination()

public FeatureValueDestination.Builder clearDestination()
Returns
Type Description
FeatureValueDestination.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTfrecordDestination()

public FeatureValueDestination.Builder clearTfrecordDestination()

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 -&gt; byte_string("true"), false -&gt; byte_string("false")
 BOOL, BOOL_ARRAY (true, false)             | BYTES_LIST

.google.cloud.aiplatform.v1beta1.TFRecordDestination tfrecord_destination = 2;

Returns
Type Description
FeatureValueDestination.Builder

clone()

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

getBigqueryDestination()

public BigQueryDestination getBigqueryDestination()

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

.google.cloud.aiplatform.v1beta1.BigQueryDestination bigquery_destination = 1;

Returns
Type Description
BigQueryDestination

The bigqueryDestination.

getBigqueryDestinationBuilder()

public BigQueryDestination.Builder getBigqueryDestinationBuilder()

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

.google.cloud.aiplatform.v1beta1.BigQueryDestination bigquery_destination = 1;

Returns
Type Description
BigQueryDestination.Builder

getBigqueryDestinationOrBuilder()

public BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder()

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

.google.cloud.aiplatform.v1beta1.BigQueryDestination bigquery_destination = 1;

Returns
Type Description
BigQueryDestinationOrBuilder

getCsvDestination()

public CsvDestination getCsvDestination()

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

.google.cloud.aiplatform.v1beta1.CsvDestination csv_destination = 3;

Returns
Type Description
CsvDestination

The csvDestination.

getCsvDestinationBuilder()

public CsvDestination.Builder getCsvDestinationBuilder()

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

.google.cloud.aiplatform.v1beta1.CsvDestination csv_destination = 3;

Returns
Type Description
CsvDestination.Builder

getCsvDestinationOrBuilder()

public CsvDestinationOrBuilder getCsvDestinationOrBuilder()

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

.google.cloud.aiplatform.v1beta1.CsvDestination csv_destination = 3;

Returns
Type Description
CsvDestinationOrBuilder

getDefaultInstanceForType()

public FeatureValueDestination getDefaultInstanceForType()
Returns
Type Description
FeatureValueDestination

getDescriptorForType()

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

getDestinationCase()

public FeatureValueDestination.DestinationCase getDestinationCase()
Returns
Type Description
FeatureValueDestination.DestinationCase

getTfrecordDestination()

public TFRecordDestination 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 -&gt; byte_string("true"), false -&gt; byte_string("false")
 BOOL, BOOL_ARRAY (true, false)             | BYTES_LIST

.google.cloud.aiplatform.v1beta1.TFRecordDestination tfrecord_destination = 2;

Returns
Type Description
TFRecordDestination

The tfrecordDestination.

getTfrecordDestinationBuilder()

public TFRecordDestination.Builder getTfrecordDestinationBuilder()

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 -&gt; byte_string("true"), false -&gt; byte_string("false")
 BOOL, BOOL_ARRAY (true, false)             | BYTES_LIST

.google.cloud.aiplatform.v1beta1.TFRecordDestination tfrecord_destination = 2;

Returns
Type Description
TFRecordDestination.Builder

getTfrecordDestinationOrBuilder()

public TFRecordDestinationOrBuilder getTfrecordDestinationOrBuilder()

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 -&gt; byte_string("true"), false -&gt; byte_string("false")
 BOOL, BOOL_ARRAY (true, false)             | BYTES_LIST

.google.cloud.aiplatform.v1beta1.TFRecordDestination tfrecord_destination = 2;

Returns
Type Description
TFRecordDestinationOrBuilder

hasBigqueryDestination()

public boolean hasBigqueryDestination()

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

.google.cloud.aiplatform.v1beta1.BigQueryDestination bigquery_destination = 1;

Returns
Type Description
boolean

Whether the bigqueryDestination field is set.

hasCsvDestination()

public boolean hasCsvDestination()

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

.google.cloud.aiplatform.v1beta1.CsvDestination csv_destination = 3;

Returns
Type Description
boolean

Whether the csvDestination field is set.

hasTfrecordDestination()

public boolean hasTfrecordDestination()

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 -&gt; byte_string("true"), false -&gt; byte_string("false")
 BOOL, BOOL_ARRAY (true, false)             | BYTES_LIST

.google.cloud.aiplatform.v1beta1.TFRecordDestination tfrecord_destination = 2;

Returns
Type Description
boolean

Whether the tfrecordDestination field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBigqueryDestination(BigQueryDestination value)

public FeatureValueDestination.Builder mergeBigqueryDestination(BigQueryDestination value)

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

.google.cloud.aiplatform.v1beta1.BigQueryDestination bigquery_destination = 1;

Parameter
Name Description
value BigQueryDestination
Returns
Type Description
FeatureValueDestination.Builder

mergeCsvDestination(CsvDestination value)

public FeatureValueDestination.Builder mergeCsvDestination(CsvDestination value)

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

.google.cloud.aiplatform.v1beta1.CsvDestination csv_destination = 3;

Parameter
Name Description
value CsvDestination
Returns
Type Description
FeatureValueDestination.Builder

mergeFrom(FeatureValueDestination other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTfrecordDestination(TFRecordDestination value)

public FeatureValueDestination.Builder mergeTfrecordDestination(TFRecordDestination value)

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 -&gt; byte_string("true"), false -&gt; byte_string("false")
 BOOL, BOOL_ARRAY (true, false)             | BYTES_LIST

.google.cloud.aiplatform.v1beta1.TFRecordDestination tfrecord_destination = 2;

Parameter
Name Description
value TFRecordDestination
Returns
Type Description
FeatureValueDestination.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBigqueryDestination(BigQueryDestination value)

public FeatureValueDestination.Builder setBigqueryDestination(BigQueryDestination value)

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

.google.cloud.aiplatform.v1beta1.BigQueryDestination bigquery_destination = 1;

Parameter
Name Description
value BigQueryDestination
Returns
Type Description
FeatureValueDestination.Builder

setBigqueryDestination(BigQueryDestination.Builder builderForValue)

public FeatureValueDestination.Builder setBigqueryDestination(BigQueryDestination.Builder builderForValue)

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

.google.cloud.aiplatform.v1beta1.BigQueryDestination bigquery_destination = 1;

Parameter
Name Description
builderForValue BigQueryDestination.Builder
Returns
Type Description
FeatureValueDestination.Builder

setCsvDestination(CsvDestination value)

public FeatureValueDestination.Builder setCsvDestination(CsvDestination value)

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

.google.cloud.aiplatform.v1beta1.CsvDestination csv_destination = 3;

Parameter
Name Description
value CsvDestination
Returns
Type Description
FeatureValueDestination.Builder

setCsvDestination(CsvDestination.Builder builderForValue)

public FeatureValueDestination.Builder setCsvDestination(CsvDestination.Builder builderForValue)

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

.google.cloud.aiplatform.v1beta1.CsvDestination csv_destination = 3;

Parameter
Name Description
builderForValue CsvDestination.Builder
Returns
Type Description
FeatureValueDestination.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTfrecordDestination(TFRecordDestination value)

public FeatureValueDestination.Builder setTfrecordDestination(TFRecordDestination value)

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 -&gt; byte_string("true"), false -&gt; byte_string("false")
 BOOL, BOOL_ARRAY (true, false)             | BYTES_LIST

.google.cloud.aiplatform.v1beta1.TFRecordDestination tfrecord_destination = 2;

Parameter
Name Description
value TFRecordDestination
Returns
Type Description
FeatureValueDestination.Builder

setTfrecordDestination(TFRecordDestination.Builder builderForValue)

public FeatureValueDestination.Builder setTfrecordDestination(TFRecordDestination.Builder builderForValue)

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 -&gt; byte_string("true"), false -&gt; byte_string("false")
 BOOL, BOOL_ARRAY (true, false)             | BYTES_LIST

.google.cloud.aiplatform.v1beta1.TFRecordDestination tfrecord_destination = 2;

Parameter
Name Description
builderForValue TFRecordDestination.Builder
Returns
Type Description
FeatureValueDestination.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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