public static final class FeatureGroup.BigQuery extends GeneratedMessageV3 implements FeatureGroup.BigQueryOrBuilder
Input source type for BigQuery Tables and Views.
Protobuf type google.cloud.aiplatform.v1beta1.FeatureGroup.BigQuery
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int BIG_QUERY_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DENSE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ENTITY_ID_COLUMNS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int STATIC_DATA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TIME_SERIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static FeatureGroup.BigQuery getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static FeatureGroup.BigQuery.Builder newBuilder()
public static FeatureGroup.BigQuery.Builder newBuilder(FeatureGroup.BigQuery prototype)
public static FeatureGroup.BigQuery parseDelimitedFrom(InputStream input)
public static FeatureGroup.BigQuery parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FeatureGroup.BigQuery parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static FeatureGroup.BigQuery parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FeatureGroup.BigQuery parseFrom(ByteString data)
public static FeatureGroup.BigQuery parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FeatureGroup.BigQuery parseFrom(CodedInputStream input)
public static FeatureGroup.BigQuery parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FeatureGroup.BigQuery parseFrom(InputStream input)
public static FeatureGroup.BigQuery parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FeatureGroup.BigQuery parseFrom(ByteBuffer data)
public static FeatureGroup.BigQuery parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<FeatureGroup.BigQuery> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public BigQuerySource getBigQuerySource()
Required. Immutable. The BigQuery source URI that points to either a
BigQuery Table or View.
.google.cloud.aiplatform.v1beta1.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()
Required. Immutable. The BigQuery source URI that points to either a
BigQuery Table or View.
.google.cloud.aiplatform.v1beta1.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
public FeatureGroup.BigQuery getDefaultInstanceForType()
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];
Returns |
Type |
Description |
boolean |
The dense.
|
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];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The entityIdColumns at the given index.
|
public 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];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the entityIdColumns at the given index.
|
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];
Returns |
Type |
Description |
int |
The count of entityIdColumns.
|
public 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];
public Parser<FeatureGroup.BigQuery> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public boolean getStaticDataSource()
Optional. Set if the data source is not a time-series.
bool static_data_source = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The staticDataSource.
|
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 ) 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.v1beta1.FeatureGroup.BigQuery.TimeSeries time_series = 4 [(.google.api.field_behavior) = OPTIONAL];
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 ) 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.v1beta1.FeatureGroup.BigQuery.TimeSeries time_series = 4 [(.google.api.field_behavior) = OPTIONAL];
public boolean hasBigQuerySource()
Required. Immutable. The BigQuery source URI that points to either a
BigQuery Table or View.
.google.cloud.aiplatform.v1beta1.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the bigQuerySource field is set.
|
public boolean hasTimeSeries()
Optional. If the source is a time-series source, this can be set to
control how downstream sources (ex:
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.v1beta1.FeatureGroup.BigQuery.TimeSeries time_series = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the timeSeries field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public FeatureGroup.BigQuery.Builder newBuilderForType()
protected FeatureGroup.BigQuery.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public FeatureGroup.BigQuery.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides