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
Methods
public FeatureValueDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public FeatureValueDestination build()
Returns
public FeatureValueDestination buildPartial()
Returns
public FeatureValueDestination.Builder clear()
Returns
Overrides
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
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
public FeatureValueDestination.Builder clearDestination()
Returns
public FeatureValueDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public FeatureValueDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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 -> byte_string("true"), false -> byte_string("false")
BOOL, BOOL_ARRAY (true, false) | BYTES_LIST
.google.cloud.aiplatform.v1.TFRecordDestination tfrecord_destination = 2;
Returns
public FeatureValueDestination.Builder clone()
Returns
Overrides
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
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
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
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
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
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
public FeatureValueDestination getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public FeatureValueDestination.DestinationCase getDestinationCase()
Returns
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 -> byte_string("true"), false -> byte_string("false")
BOOL, BOOL_ARRAY (true, false) | BYTES_LIST
.google.cloud.aiplatform.v1.TFRecordDestination tfrecord_destination = 2;
Returns
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 -> byte_string("true"), false -> byte_string("false")
BOOL, BOOL_ARRAY (true, false) | BYTES_LIST
.google.cloud.aiplatform.v1.TFRecordDestination tfrecord_destination = 2;
Returns
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 -> byte_string("true"), false -> byte_string("false")
BOOL, BOOL_ARRAY (true, false) | BYTES_LIST
.google.cloud.aiplatform.v1.TFRecordDestination tfrecord_destination = 2;
Returns
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
Type | Description |
boolean | Whether the bigqueryDestination field is set.
|
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
Type | Description |
boolean | Whether the csvDestination field is set.
|
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 -> byte_string("true"), false -> byte_string("false")
BOOL, BOOL_ARRAY (true, false) | BYTES_LIST
.google.cloud.aiplatform.v1.TFRecordDestination tfrecord_destination = 2;
Returns
Type | Description |
boolean | Whether the tfrecordDestination field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
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
Returns
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
Returns
public FeatureValueDestination.Builder mergeFrom(FeatureValueDestination other)
Parameter
Returns
public FeatureValueDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public FeatureValueDestination.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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 -> byte_string("true"), false -> byte_string("false")
BOOL, BOOL_ARRAY (true, false) | BYTES_LIST
.google.cloud.aiplatform.v1.TFRecordDestination tfrecord_destination = 2;
Parameter
Returns
public final FeatureValueDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Returns
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
Returns
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
Returns
public FeatureValueDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public FeatureValueDestination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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 -> byte_string("true"), false -> byte_string("false")
BOOL, BOOL_ARRAY (true, false) | BYTES_LIST
.google.cloud.aiplatform.v1.TFRecordDestination tfrecord_destination = 2;
Parameter
Returns
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 -> byte_string("true"), false -> byte_string("false")
BOOL, BOOL_ARRAY (true, false) | BYTES_LIST
.google.cloud.aiplatform.v1.TFRecordDestination tfrecord_destination = 2;
Parameter
Returns
public final FeatureValueDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides