Class FeatureValueDestination (3.38.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
TypeDescription
int

CSV_DESTINATION_FIELD_NUMBER

public static final int CSV_DESTINATION_FIELD_NUMBER
Field Value
TypeDescription
int

TFRECORD_DESTINATION_FIELD_NUMBER

public static final int TFRECORD_DESTINATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FeatureValueDestination getDefaultInstance()
Returns
TypeDescription
FeatureValueDestination

getDescriptor()

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

newBuilder()

public static FeatureValueDestination.Builder newBuilder()
Returns
TypeDescription
FeatureValueDestination.Builder

newBuilder(FeatureValueDestination prototype)

public static FeatureValueDestination.Builder newBuilder(FeatureValueDestination prototype)
Parameter
NameDescription
prototypeFeatureValueDestination
Returns
TypeDescription
FeatureValueDestination.Builder

parseDelimitedFrom(InputStream input)

public static FeatureValueDestination parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FeatureValueDestination
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureValueDestination parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureValueDestination
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FeatureValueDestination parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FeatureValueDestination
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FeatureValueDestination parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureValueDestination
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FeatureValueDestination parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FeatureValueDestination
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FeatureValueDestination parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureValueDestination
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FeatureValueDestination parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FeatureValueDestination
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureValueDestination parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureValueDestination
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static FeatureValueDestination parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FeatureValueDestination
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureValueDestination parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureValueDestination
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FeatureValueDestination parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FeatureValueDestination
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FeatureValueDestination parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureValueDestination
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<FeatureValueDestination> parser()
Returns
TypeDescription
Parser<FeatureValueDestination>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CsvDestinationOrBuilder

getDefaultInstanceForType()

public FeatureValueDestination getDefaultInstanceForType()
Returns
TypeDescription
FeatureValueDestination

getDestinationCase()

public FeatureValueDestination.DestinationCase getDestinationCase()
Returns
TypeDescription
FeatureValueDestination.DestinationCase

getParserForType()

public Parser<FeatureValueDestination> getParserForType()
Returns
TypeDescription
Parser<FeatureValueDestination>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
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.v1beta1.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.v1beta1.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.v1beta1.TFRecordDestination tfrecord_destination = 2;

Returns
TypeDescription
boolean

Whether the tfrecordDestination field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FeatureValueDestination.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FeatureValueDestination.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException