Class FeatureValueDestination.Builder (3.40.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.v1.FeatureValueDestination

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FeatureValueDestination build()
Returns
TypeDescription
FeatureValueDestination

buildPartial()

public FeatureValueDestination buildPartial()
Returns
TypeDescription
FeatureValueDestination

clear()

public FeatureValueDestination.Builder clear()
Returns
TypeDescription
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.v1.BigQueryDestination bigquery_destination = 1;

Returns
TypeDescription
FeatureValueDestination.Builder

clearCsvDestination()

public FeatureValueDestination.Builder clearCsvDestination()

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

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

Returns
TypeDescription
FeatureValueDestination.Builder

clearDestination()

public FeatureValueDestination.Builder clearDestination()
Returns
TypeDescription
FeatureValueDestination.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureValueDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v1.TFRecordDestination tfrecord_destination = 2;

Returns
TypeDescription
FeatureValueDestination.Builder

clone()

public FeatureValueDestination.Builder clone()
Returns
TypeDescription
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.v1.BigQueryDestination bigquery_destination = 1;

Returns
TypeDescription
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.v1.BigQueryDestination bigquery_destination = 1;

Returns
TypeDescription
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.v1.BigQueryDestination bigquery_destination = 1;

Returns
TypeDescription
BigQueryDestinationOrBuilder

getCsvDestination()

public CsvDestination getCsvDestination()

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

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

Returns
TypeDescription
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.v1.CsvDestination csv_destination = 3;

Returns
TypeDescription
CsvDestination.Builder

getCsvDestinationOrBuilder()

public CsvDestinationOrBuilder getCsvDestinationOrBuilder()

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

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

Returns
TypeDescription
CsvDestinationOrBuilder

getDefaultInstanceForType()

public FeatureValueDestination getDefaultInstanceForType()
Returns
TypeDescription
FeatureValueDestination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationCase()

public FeatureValueDestination.DestinationCase getDestinationCase()
Returns
TypeDescription
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.v1.TFRecordDestination tfrecord_destination = 2;

Returns
TypeDescription
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.v1.TFRecordDestination tfrecord_destination = 2;

Returns
TypeDescription
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.v1.TFRecordDestination tfrecord_destination = 2;

Returns
TypeDescription
TFRecordDestinationOrBuilder

hasBigqueryDestination()

public boolean hasBigqueryDestination()

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

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

Returns
TypeDescription
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.v1.CsvDestination csv_destination = 3;

Returns
TypeDescription
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.v1.TFRecordDestination tfrecord_destination = 2;

Returns
TypeDescription
boolean

Whether the tfrecordDestination field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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.v1.BigQueryDestination bigquery_destination = 1;

Parameter
NameDescription
valueBigQueryDestination
Returns
TypeDescription
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.v1.CsvDestination csv_destination = 3;

Parameter
NameDescription
valueCsvDestination
Returns
TypeDescription
FeatureValueDestination.Builder

mergeFrom(FeatureValueDestination other)

public FeatureValueDestination.Builder mergeFrom(FeatureValueDestination other)
Parameter
NameDescription
otherFeatureValueDestination
Returns
TypeDescription
FeatureValueDestination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FeatureValueDestination.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1.TFRecordDestination tfrecord_destination = 2;

Parameter
NameDescription
valueTFRecordDestination
Returns
TypeDescription
FeatureValueDestination.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureValueDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.BigQueryDestination bigquery_destination = 1;

Parameter
NameDescription
valueBigQueryDestination
Returns
TypeDescription
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.v1.BigQueryDestination bigquery_destination = 1;

Parameter
NameDescription
builderForValueBigQueryDestination.Builder
Returns
TypeDescription
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.v1.CsvDestination csv_destination = 3;

Parameter
NameDescription
valueCsvDestination
Returns
TypeDescription
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.v1.CsvDestination csv_destination = 3;

Parameter
NameDescription
builderForValueCsvDestination.Builder
Returns
TypeDescription
FeatureValueDestination.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public FeatureValueDestination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1.TFRecordDestination tfrecord_destination = 2;

Parameter
NameDescription
valueTFRecordDestination
Returns
TypeDescription
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.v1.TFRecordDestination tfrecord_destination = 2;

Parameter
NameDescription
builderForValueTFRecordDestination.Builder
Returns
TypeDescription
FeatureValueDestination.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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