Package com.google.cloud.aiplatform.v1
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 Summary
Modifier and TypeMethodDescriptionaddAllEntityIdColumns(Iterable<String> values) Optional.addEntityIdColumns(String value) Optional.addEntityIdColumnsBytes(com.google.protobuf.ByteString value) Optional.build()clear()Required.Optional.Optional.Optional.Optional.Required.Required.Required.booleangetDense()Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEntityIdColumns(int index) Optional.com.google.protobuf.ByteStringgetEntityIdColumnsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.booleanOptional.Optional.Optional.Optional.booleanRequired.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanRequired.mergeFrom(FeatureGroup.BigQuery other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.setBigQuerySource(BigQuerySource value) Required.setBigQuerySource(BigQuerySource.Builder builderForValue) Required.setDense(boolean value) Optional.setEntityIdColumns(int index, String value) Optional.setStaticDataSource(boolean value) Optional.Optional.setTimeSeries(FeatureGroup.BigQuery.TimeSeries.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FeatureGroup.BigQuery.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FeatureGroup.BigQuery.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FeatureGroup.BigQuery.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FeatureGroup.BigQuery.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasBigQuerySourcein interfaceFeatureGroup.BigQueryOrBuilder- Returns:
- Whether the bigQuerySource field is set.
-
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:
getBigQuerySourcein interfaceFeatureGroup.BigQueryOrBuilder- Returns:
- The bigQuerySource.
-
setBigQuerySource
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
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
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
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
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
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:
getBigQuerySourceOrBuilderin interfaceFeatureGroup.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:
getEntityIdColumnsListin interfaceFeatureGroup.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:
getEntityIdColumnsCountin interfaceFeatureGroup.BigQueryOrBuilder- Returns:
- The count of entityIdColumns.
-
getEntityIdColumns
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:
getEntityIdColumnsin interfaceFeatureGroup.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:
getEntityIdColumnsBytesin interfaceFeatureGroup.BigQueryOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entityIdColumns at the given index.
-
setEntityIdColumns
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
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
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
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
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:
getStaticDataSourcein interfaceFeatureGroup.BigQueryOrBuilder- Returns:
- The staticDataSource.
-
setStaticDataSource
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
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:
hasTimeSeriesin interfaceFeatureGroup.BigQueryOrBuilder- Returns:
- Whether the timeSeries field is set.
-
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:
getTimeSeriesin interfaceFeatureGroup.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
public FeatureGroup.BigQuery.Builder setTimeSeries(FeatureGroup.BigQuery.TimeSeries.Builder builderForValue) 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
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
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
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:
getTimeSeriesOrBuilderin interfaceFeatureGroup.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:
getDensein interfaceFeatureGroup.BigQueryOrBuilder- Returns:
- The dense.
-
setDense
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
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.
-