Class FeatureGroup.BigQuery.Builder

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

public static final class FeatureGroup.BigQuery.Builder extends com.google.protobuf.GeneratedMessage.Builder<FeatureGroup.BigQuery.Builder> implements FeatureGroup.BigQueryOrBuilder
 Input source type for BigQuery Tables and Views.
 
Protobuf type google.cloud.aiplatform.v1.FeatureGroup.BigQuery
  • 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.Builder<FeatureGroup.BigQuery.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FeatureGroup.BigQuery.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FeatureGroup.BigQuery.Builder>
    • getDefaultInstanceForType

      public FeatureGroup.BigQuery getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

      public FeatureGroup.BigQuery.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FeatureGroup.BigQuery.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FeatureGroup.BigQuery.Builder>
    • mergeFrom

      public FeatureGroup.BigQuery.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FeatureGroup.BigQuery.Builder>
      Throws:
      IOException
    • 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.
    • setBigQuerySource

      public FeatureGroup.BigQuery.Builder setBigQuerySource(BigQuerySource value)
       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];
    • setBigQuerySource

      public FeatureGroup.BigQuery.Builder setBigQuerySource(BigQuerySource.Builder builderForValue)
       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];
    • mergeBigQuerySource

      public FeatureGroup.BigQuery.Builder mergeBigQuerySource(BigQuerySource value)
       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];
    • clearBigQuerySource

      public FeatureGroup.BigQuery.Builder clearBigQuerySource()
       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];
    • getBigQuerySourceBuilder

      public BigQuerySource.Builder getBigQuerySourceBuilder()
       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];
    • 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.
    • setEntityIdColumns

      public FeatureGroup.BigQuery.Builder setEntityIdColumns(int index, String value)
       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];
      Parameters:
      index - The index to set the value at.
      value - The entityIdColumns to set.
      Returns:
      This builder for chaining.
    • addEntityIdColumns

      public FeatureGroup.BigQuery.Builder addEntityIdColumns(String value)
       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];
      Parameters:
      value - The entityIdColumns to add.
      Returns:
      This builder for chaining.
    • addAllEntityIdColumns

      public FeatureGroup.BigQuery.Builder addAllEntityIdColumns(Iterable<String> values)
       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];
      Parameters:
      values - The entityIdColumns to add.
      Returns:
      This builder for chaining.
    • clearEntityIdColumns

      public FeatureGroup.BigQuery.Builder clearEntityIdColumns()
       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];
      Returns:
      This builder for chaining.
    • addEntityIdColumnsBytes

      public FeatureGroup.BigQuery.Builder addEntityIdColumnsBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes of the entityIdColumns to add.
      Returns:
      This builder for chaining.
    • 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.
    • setStaticDataSource

      public FeatureGroup.BigQuery.Builder setStaticDataSource(boolean value)
       Optional. Set if the data source is not a time-series.
       
      bool static_data_source = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The staticDataSource to set.
      Returns:
      This builder for chaining.
    • clearStaticDataSource

      public FeatureGroup.BigQuery.Builder clearStaticDataSource()
       Optional. Set if the data source is not a time-series.
       
      bool static_data_source = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • 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.
    • setTimeSeries

       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];
    • setTimeSeries

       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];
    • mergeTimeSeries

       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];
    • clearTimeSeries

      public FeatureGroup.BigQuery.Builder clearTimeSeries()
       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];
    • getTimeSeriesBuilder

      public FeatureGroup.BigQuery.TimeSeries.Builder getTimeSeriesBuilder()
       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];
    • 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.
    • setDense

      public FeatureGroup.BigQuery.Builder setDense(boolean value)
       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];
      Parameters:
      value - The dense to set.
      Returns:
      This builder for chaining.
    • clearDense

      public FeatureGroup.BigQuery.Builder clearDense()
       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];
      Returns:
      This builder for chaining.