Class FeatureGroup.BigQuery (3.53.0)

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

Static Fields

BIG_QUERY_SOURCE_FIELD_NUMBER

public static final int BIG_QUERY_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

DENSE_FIELD_NUMBER

public static final int DENSE_FIELD_NUMBER
Field Value
Type Description
int

ENTITY_ID_COLUMNS_FIELD_NUMBER

public static final int ENTITY_ID_COLUMNS_FIELD_NUMBER
Field Value
Type Description
int

STATIC_DATA_SOURCE_FIELD_NUMBER

public static final int STATIC_DATA_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

TIME_SERIES_FIELD_NUMBER

public static final int TIME_SERIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FeatureGroup.BigQuery getDefaultInstance()
Returns
Type Description
FeatureGroup.BigQuery

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FeatureGroup.BigQuery.Builder newBuilder()
Returns
Type Description
FeatureGroup.BigQuery.Builder

newBuilder(FeatureGroup.BigQuery prototype)

public static FeatureGroup.BigQuery.Builder newBuilder(FeatureGroup.BigQuery prototype)
Parameter
Name Description
prototype FeatureGroup.BigQuery
Returns
Type Description
FeatureGroup.BigQuery.Builder

parseDelimitedFrom(InputStream input)

public static FeatureGroup.BigQuery parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeatureGroup.BigQuery
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureGroup.BigQuery parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureGroup.BigQuery
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FeatureGroup.BigQuery parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FeatureGroup.BigQuery
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FeatureGroup.BigQuery parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureGroup.BigQuery
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FeatureGroup.BigQuery parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FeatureGroup.BigQuery
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FeatureGroup.BigQuery parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureGroup.BigQuery
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FeatureGroup.BigQuery parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FeatureGroup.BigQuery
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureGroup.BigQuery parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureGroup.BigQuery
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FeatureGroup.BigQuery parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeatureGroup.BigQuery
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureGroup.BigQuery parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureGroup.BigQuery
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FeatureGroup.BigQuery parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FeatureGroup.BigQuery
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FeatureGroup.BigQuery parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureGroup.BigQuery
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FeatureGroup.BigQuery> parser()
Returns
Type Description
Parser<BigQuery>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBigQuerySource()

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

Returns
Type Description
BigQuerySource

The bigQuerySource.

getBigQuerySourceOrBuilder()

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

Returns
Type Description
BigQuerySourceOrBuilder

getDefaultInstanceForType()

public FeatureGroup.BigQuery getDefaultInstanceForType()
Returns
Type Description
FeatureGroup.BigQuery

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

Returns
Type Description
boolean

The dense.

getEntityIdColumns(int index)

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.

getEntityIdColumnsBytes(int 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.

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

Returns
Type Description
int

The count of entityIdColumns.

getEntityIdColumnsList()

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

Returns
Type Description
ProtocolStringList

A list containing the entityIdColumns.

getParserForType()

public Parser<FeatureGroup.BigQuery> getParserForType()
Returns
Type Description
Parser<BigQuery>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

Returns
Type Description
boolean

The staticDataSource.

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 ) 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
FeatureGroup.BigQuery.TimeSeries

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 ) 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
FeatureGroup.BigQuery.TimeSeriesOrBuilder

hasBigQuerySource()

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.

hasTimeSeries()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FeatureGroup.BigQuery.Builder newBuilderForType()
Returns
Type Description
FeatureGroup.BigQuery.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FeatureGroup.BigQuery.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FeatureGroup.BigQuery.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FeatureGroup.BigQuery.Builder toBuilder()
Returns
Type Description
FeatureGroup.BigQuery.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException