Class FeatureValueDestination

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.FeatureValueDestination
All Implemented Interfaces:
FeatureValueDestinationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class FeatureValueDestination extends com.google.protobuf.GeneratedMessage implements FeatureValueDestinationOrBuilder
 A destination location for Feature values and format.
 
Protobuf type google.cloud.aiplatform.v1.FeatureValueDestination
See Also:
  • Field Details

    • BIGQUERY_DESTINATION_FIELD_NUMBER

      public static final int BIGQUERY_DESTINATION_FIELD_NUMBER
      See Also:
    • TFRECORD_DESTINATION_FIELD_NUMBER

      public static final int TFRECORD_DESTINATION_FIELD_NUMBER
      See Also:
    • CSV_DESTINATION_FIELD_NUMBER

      public static final int CSV_DESTINATION_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDestinationCase

      public FeatureValueDestination.DestinationCase getDestinationCase()
      Specified by:
      getDestinationCase in interface FeatureValueDestinationOrBuilder
    • hasBigqueryDestination

      public boolean hasBigqueryDestination()
       Output in BigQuery format.
       [BigQueryDestination.output_uri][google.cloud.aiplatform.v1.BigQueryDestination.output_uri]
       in
       [FeatureValueDestination.bigquery_destination][google.cloud.aiplatform.v1.FeatureValueDestination.bigquery_destination]
       must refer to a table.
       
      .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 1;
      Specified by:
      hasBigqueryDestination in interface FeatureValueDestinationOrBuilder
      Returns:
      Whether the bigqueryDestination field is set.
    • getBigqueryDestination

      public BigQueryDestination getBigqueryDestination()
       Output in BigQuery format.
       [BigQueryDestination.output_uri][google.cloud.aiplatform.v1.BigQueryDestination.output_uri]
       in
       [FeatureValueDestination.bigquery_destination][google.cloud.aiplatform.v1.FeatureValueDestination.bigquery_destination]
       must refer to a table.
       
      .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 1;
      Specified by:
      getBigqueryDestination in interface FeatureValueDestinationOrBuilder
      Returns:
      The bigqueryDestination.
    • getBigqueryDestinationOrBuilder

      public BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder()
       Output in BigQuery format.
       [BigQueryDestination.output_uri][google.cloud.aiplatform.v1.BigQueryDestination.output_uri]
       in
       [FeatureValueDestination.bigquery_destination][google.cloud.aiplatform.v1.FeatureValueDestination.bigquery_destination]
       must refer to a table.
       
      .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 1;
      Specified by:
      getBigqueryDestinationOrBuilder in interface FeatureValueDestinationOrBuilder
    • 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 -> byte_string("true"), false -> byte_string("false")
       BOOL, BOOL_ARRAY (true, false)             | BYTES_LIST
       
      .google.cloud.aiplatform.v1.TFRecordDestination tfrecord_destination = 2;
      Specified by:
      hasTfrecordDestination in interface FeatureValueDestinationOrBuilder
      Returns:
      Whether the tfrecordDestination field is set.
    • 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 -> byte_string("true"), false -> byte_string("false")
       BOOL, BOOL_ARRAY (true, false)             | BYTES_LIST
       
      .google.cloud.aiplatform.v1.TFRecordDestination tfrecord_destination = 2;
      Specified by:
      getTfrecordDestination in interface FeatureValueDestinationOrBuilder
      Returns:
      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 -> byte_string("true"), false -> byte_string("false")
       BOOL, BOOL_ARRAY (true, false)             | BYTES_LIST
       
      .google.cloud.aiplatform.v1.TFRecordDestination tfrecord_destination = 2;
      Specified by:
      getTfrecordDestinationOrBuilder in interface FeatureValueDestinationOrBuilder
    • hasCsvDestination

      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;
      Specified by:
      hasCsvDestination in interface FeatureValueDestinationOrBuilder
      Returns:
      Whether the csvDestination field is set.
    • getCsvDestination

      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;
      Specified by:
      getCsvDestination in interface FeatureValueDestinationOrBuilder
      Returns:
      The csvDestination.
    • getCsvDestinationOrBuilder

      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;
      Specified by:
      getCsvDestinationOrBuilder in interface FeatureValueDestinationOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static FeatureValueDestination parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FeatureValueDestination parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FeatureValueDestination parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FeatureValueDestination parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FeatureValueDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FeatureValueDestination parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FeatureValueDestination parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FeatureValueDestination parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FeatureValueDestination parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FeatureValueDestination parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FeatureValueDestination parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FeatureValueDestination parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public FeatureValueDestination.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static FeatureValueDestination.Builder newBuilder()
    • newBuilder

      public static FeatureValueDestination.Builder newBuilder(FeatureValueDestination prototype)
    • toBuilder

      public FeatureValueDestination.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected FeatureValueDestination.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static FeatureValueDestination getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<FeatureValueDestination> parser()
    • getParserForType

      public com.google.protobuf.Parser<FeatureValueDestination> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public FeatureValueDestination getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder