public final class FeatureValueDestination extends GeneratedMessageV3 implements FeatureValueDestinationOrBuilder
A destination location for Feature values and format.
Protobuf type google.cloud.aiplatform.v1.FeatureValueDestination
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int BIGQUERY_DESTINATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int CSV_DESTINATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TFRECORD_DESTINATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static FeatureValueDestination getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static FeatureValueDestination.Builder newBuilder()
public static FeatureValueDestination.Builder newBuilder(FeatureValueDestination prototype)
public static FeatureValueDestination parseDelimitedFrom(InputStream input)
public static FeatureValueDestination parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FeatureValueDestination parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static FeatureValueDestination parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FeatureValueDestination parseFrom(ByteString data)
public static FeatureValueDestination parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FeatureValueDestination parseFrom(CodedInputStream input)
public static FeatureValueDestination parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FeatureValueDestination parseFrom(InputStream input)
public static FeatureValueDestination parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FeatureValueDestination parseFrom(ByteBuffer data)
public static FeatureValueDestination parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<FeatureValueDestination> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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;
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;
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;
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;
public FeatureValueDestination getDefaultInstanceForType()
public FeatureValueDestination.DestinationCase getDestinationCase()
public Parser<FeatureValueDestination> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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.v1.TFRecordDestination tfrecord_destination = 2;
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;
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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public FeatureValueDestination.Builder newBuilderForType()
protected FeatureValueDestination.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public FeatureValueDestination.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides