Class FeatureGroup.BigQuery

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.FeatureGroup.BigQuery
All Implemented Interfaces:
FeatureGroup.BigQueryOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
FeatureGroup

public static final class FeatureGroup.BigQuery extends com.google.protobuf.GeneratedMessage implements FeatureGroup.BigQueryOrBuilder
 Input source type for BigQuery Tables and Views.
 
Protobuf type google.cloud.aiplatform.v1.FeatureGroup.BigQuery
See Also:
  • Field Details

    • BIG_QUERY_SOURCE_FIELD_NUMBER

      public static final int BIG_QUERY_SOURCE_FIELD_NUMBER
      See Also:
    • ENTITY_ID_COLUMNS_FIELD_NUMBER

      public static final int ENTITY_ID_COLUMNS_FIELD_NUMBER
      See Also:
    • STATIC_DATA_SOURCE_FIELD_NUMBER

      public static final int STATIC_DATA_SOURCE_FIELD_NUMBER
      See Also:
    • TIME_SERIES_FIELD_NUMBER

      public static final int TIME_SERIES_FIELD_NUMBER
      See Also:
    • DENSE_FIELD_NUMBER

      public static final int DENSE_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
    • hasBigQuerySource

      public boolean hasBigQuerySource()
       Required. Immutable. The BigQuery source URI that points to either a
       BigQuery Table or View.
       
      .google.cloud.aiplatform.v1.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasBigQuerySource in interface FeatureGroup.BigQueryOrBuilder
      Returns:
      Whether the bigQuerySource field is set.
    • getBigQuerySource

      public BigQuerySource getBigQuerySource()
       Required. Immutable. The BigQuery source URI that points to either a
       BigQuery Table or View.
       
      .google.cloud.aiplatform.v1.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBigQuerySource in interface FeatureGroup.BigQueryOrBuilder
      Returns:
      The bigQuerySource.
    • getBigQuerySourceOrBuilder

      public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()
       Required. Immutable. The BigQuery source URI that points to either a
       BigQuery Table or View.
       
      .google.cloud.aiplatform.v1.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBigQuerySourceOrBuilder in interface FeatureGroup.BigQueryOrBuilder
    • getEntityIdColumnsList

      public com.google.protobuf.ProtocolStringList getEntityIdColumnsList()
       Optional. Columns to construct entity_id / row keys.
       If not provided defaults to `entity_id`.
       
      repeated string entity_id_columns = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntityIdColumnsList in interface FeatureGroup.BigQueryOrBuilder
      Returns:
      A list containing the entityIdColumns.
    • getEntityIdColumnsCount

      public int getEntityIdColumnsCount()
       Optional. Columns to construct entity_id / row keys.
       If not provided defaults to `entity_id`.
       
      repeated string entity_id_columns = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntityIdColumnsCount in interface FeatureGroup.BigQueryOrBuilder
      Returns:
      The count of entityIdColumns.
    • getEntityIdColumns

      public String getEntityIdColumns(int index)
       Optional. Columns to construct entity_id / row keys.
       If not provided defaults to `entity_id`.
       
      repeated string entity_id_columns = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntityIdColumns in interface FeatureGroup.BigQueryOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The entityIdColumns at the given index.
    • getEntityIdColumnsBytes

      public com.google.protobuf.ByteString getEntityIdColumnsBytes(int index)
       Optional. Columns to construct entity_id / row keys.
       If not provided defaults to `entity_id`.
       
      repeated string entity_id_columns = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntityIdColumnsBytes in interface FeatureGroup.BigQueryOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the entityIdColumns at the given index.
    • getStaticDataSource

      public boolean getStaticDataSource()
       Optional. Set if the data source is not a time-series.
       
      bool static_data_source = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStaticDataSource in interface FeatureGroup.BigQueryOrBuilder
      Returns:
      The staticDataSource.
    • hasTimeSeries

      public boolean hasTimeSeries()
       Optional. If the source is a time-series source, this can be set to
       control how downstream sources (ex:
       [FeatureView][google.cloud.aiplatform.v1.FeatureView] ) will treat
       time-series sources. If not set, will treat the source as a time-series
       source with `feature_timestamp` as timestamp column and no scan boundary.
       
      .google.cloud.aiplatform.v1.FeatureGroup.BigQuery.TimeSeries time_series = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTimeSeries in interface FeatureGroup.BigQueryOrBuilder
      Returns:
      Whether the timeSeries field is set.
    • getTimeSeries

      public FeatureGroup.BigQuery.TimeSeries getTimeSeries()
       Optional. If the source is a time-series source, this can be set to
       control how downstream sources (ex:
       [FeatureView][google.cloud.aiplatform.v1.FeatureView] ) will treat
       time-series sources. If not set, will treat the source as a time-series
       source with `feature_timestamp` as timestamp column and no scan boundary.
       
      .google.cloud.aiplatform.v1.FeatureGroup.BigQuery.TimeSeries time_series = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTimeSeries in interface FeatureGroup.BigQueryOrBuilder
      Returns:
      The timeSeries.
    • getTimeSeriesOrBuilder

      public FeatureGroup.BigQuery.TimeSeriesOrBuilder getTimeSeriesOrBuilder()
       Optional. If the source is a time-series source, this can be set to
       control how downstream sources (ex:
       [FeatureView][google.cloud.aiplatform.v1.FeatureView] ) will treat
       time-series sources. If not set, will treat the source as a time-series
       source with `feature_timestamp` as timestamp column and no scan boundary.
       
      .google.cloud.aiplatform.v1.FeatureGroup.BigQuery.TimeSeries time_series = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTimeSeriesOrBuilder in interface FeatureGroup.BigQueryOrBuilder
    • getDense

      public boolean getDense()
       Optional. If set, all feature values will be fetched
       from a single row per unique entityId including nulls.
       If not set, will collapse all rows for each unique entityId into a singe
       row with any non-null values if present, if no non-null values are
       present will sync null.
       ex: If source has schema
       `(entity_id, feature_timestamp, f0, f1)` and the following rows:
       `(e1, 2020-01-01T10:00:00.123Z, 10, 15)`
       `(e1, 2020-02-01T10:00:00.123Z, 20, null)`
       If dense is set, `(e1, 20, null)` is synced to online stores. If dense is
       not set, `(e1, 20, 15)` is synced to online stores.
       
      bool dense = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDense in interface FeatureGroup.BigQueryOrBuilder
      Returns:
      The dense.
    • 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 FeatureGroup.BigQuery parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static FeatureGroup.BigQuery parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static FeatureGroup.BigQuery parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static FeatureGroup.BigQuery.Builder newBuilder()
    • newBuilder

      public static FeatureGroup.BigQuery.Builder newBuilder(FeatureGroup.BigQuery prototype)
    • toBuilder

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

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

      public static FeatureGroup.BigQuery getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<FeatureGroup.BigQuery> 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 FeatureGroup.BigQuery getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder