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
public static final int BIGQUERY_DESTINATION_FIELD_NUMBER
Field Value
public static final int CSV_DESTINATION_FIELD_NUMBER
Field Value
public static final int TFRECORD_DESTINATION_FIELD_NUMBER
Field Value
Static Methods
public static FeatureValueDestination getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static FeatureValueDestination.Builder newBuilder()
Returns
public static FeatureValueDestination.Builder newBuilder(FeatureValueDestination prototype)
Parameter
Returns
public static FeatureValueDestination parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static FeatureValueDestination parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FeatureValueDestination parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static FeatureValueDestination parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FeatureValueDestination parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static FeatureValueDestination parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FeatureValueDestination parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static FeatureValueDestination parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FeatureValueDestination parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static FeatureValueDestination parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FeatureValueDestination parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static FeatureValueDestination parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<FeatureValueDestination> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
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
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
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
public FeatureValueDestination getDefaultInstanceForType()
Returns
public FeatureValueDestination.DestinationCase getDestinationCase()
Returns
public Parser<FeatureValueDestination> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
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.v1beta1.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.v1beta1.TFRecordDestination tfrecord_destination = 2;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
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.
|
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.v1beta1.TFRecordDestination tfrecord_destination = 2;
Returns
Type | Description |
boolean | Whether the tfrecordDestination field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public FeatureValueDestination.Builder newBuilderForType()
Returns
protected FeatureValueDestination.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public FeatureValueDestination.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions