Class FeatureValueDestination (3.47.0)

public final class FeatureValueDestination extends GeneratedMessageV3 implements FeatureValueDestinationOrBuilder

A destination location for Feature values and format.

Protobuf type google.cloud.aiplatform.v1beta1.FeatureValueDestination

Static Fields

BIGQUERY_DESTINATION_FIELD_NUMBER

public static final int BIGQUERY_DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

CSV_DESTINATION_FIELD_NUMBER

public static final int CSV_DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

TFRECORD_DESTINATION_FIELD_NUMBER

public static final int TFRECORD_DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FeatureValueDestination getDefaultInstance()
Returns
Type Description
FeatureValueDestination

getDescriptor()

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

newBuilder()

public static FeatureValueDestination.Builder newBuilder()
Returns
Type Description
FeatureValueDestination.Builder

newBuilder(FeatureValueDestination prototype)

public static FeatureValueDestination.Builder newBuilder(FeatureValueDestination prototype)
Parameter
Name Description
prototype FeatureValueDestination
Returns
Type Description
FeatureValueDestination.Builder

parseDelimitedFrom(InputStream input)

public static FeatureValueDestination parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeatureValueDestination
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureValueDestination parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureValueDestination
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FeatureValueDestination parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FeatureValueDestination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FeatureValueDestination parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureValueDestination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FeatureValueDestination parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FeatureValueDestination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FeatureValueDestination parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureValueDestination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FeatureValueDestination parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FeatureValueDestination
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureValueDestination parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureValueDestination
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FeatureValueDestination parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeatureValueDestination
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureValueDestination parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureValueDestination
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FeatureValueDestination parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FeatureValueDestination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FeatureValueDestination parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureValueDestination
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FeatureValueDestination> parser()
Returns
Type Description
Parser<FeatureValueDestination>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

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

getDestinationCase()

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

getParserForType()

public Parser<FeatureValueDestination> getParserForType()
Returns
Type Description
Parser<FeatureValueDestination>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FeatureValueDestination.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FeatureValueDestination.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException