Class ImportFeatureValuesRequest.Builder (3.4.0)

public static final class ImportFeatureValuesRequest.Builder extends GeneratedMessageV3.Builder<ImportFeatureValuesRequest.Builder> implements ImportFeatureValuesRequestOrBuilder

Request message for FeaturestoreService.ImportFeatureValues.

Protobuf type google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllFeatureSpecs(Iterable<? extends ImportFeatureValuesRequest.FeatureSpec> values)

public ImportFeatureValuesRequest.Builder addAllFeatureSpecs(Iterable<? extends ImportFeatureValuesRequest.FeatureSpec> values)

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec>
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

addFeatureSpecs(ImportFeatureValuesRequest.FeatureSpec value)

public ImportFeatureValuesRequest.Builder addFeatureSpecs(ImportFeatureValuesRequest.FeatureSpec value)

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueImportFeatureValuesRequest.FeatureSpec
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

addFeatureSpecs(ImportFeatureValuesRequest.FeatureSpec.Builder builderForValue)

public ImportFeatureValuesRequest.Builder addFeatureSpecs(ImportFeatureValuesRequest.FeatureSpec.Builder builderForValue)

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueImportFeatureValuesRequest.FeatureSpec.Builder
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

addFeatureSpecs(int index, ImportFeatureValuesRequest.FeatureSpec value)

public ImportFeatureValuesRequest.Builder addFeatureSpecs(int index, ImportFeatureValuesRequest.FeatureSpec value)

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueImportFeatureValuesRequest.FeatureSpec
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

addFeatureSpecs(int index, ImportFeatureValuesRequest.FeatureSpec.Builder builderForValue)

public ImportFeatureValuesRequest.Builder addFeatureSpecs(int index, ImportFeatureValuesRequest.FeatureSpec.Builder builderForValue)

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueImportFeatureValuesRequest.FeatureSpec.Builder
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

addFeatureSpecsBuilder()

public ImportFeatureValuesRequest.FeatureSpec.Builder addFeatureSpecsBuilder()

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ImportFeatureValuesRequest.FeatureSpec.Builder

addFeatureSpecsBuilder(int index)

public ImportFeatureValuesRequest.FeatureSpec.Builder addFeatureSpecsBuilder(int index)

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportFeatureValuesRequest.FeatureSpec.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportFeatureValuesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportFeatureValuesRequest.Builder
Overrides

build()

public ImportFeatureValuesRequest build()
Returns
TypeDescription
ImportFeatureValuesRequest

buildPartial()

public ImportFeatureValuesRequest buildPartial()
Returns
TypeDescription
ImportFeatureValuesRequest

clear()

public ImportFeatureValuesRequest.Builder clear()
Returns
TypeDescription
ImportFeatureValuesRequest.Builder
Overrides

clearAvroSource()

public ImportFeatureValuesRequest.Builder clearAvroSource()

.google.cloud.aiplatform.v1beta1.AvroSource avro_source = 2;

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

clearBigquerySource()

public ImportFeatureValuesRequest.Builder clearBigquerySource()

.google.cloud.aiplatform.v1beta1.BigQuerySource bigquery_source = 3;

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

clearCsvSource()

public ImportFeatureValuesRequest.Builder clearCsvSource()

.google.cloud.aiplatform.v1beta1.CsvSource csv_source = 4;

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

clearDisableIngestionAnalysis()

public ImportFeatureValuesRequest.Builder clearDisableIngestionAnalysis()

If true, API doesn't start ingestion analysis pipeline.

bool disable_ingestion_analysis = 12;

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

This builder for chaining.

clearDisableOnlineServing()

public ImportFeatureValuesRequest.Builder clearDisableOnlineServing()

If set, data will not be imported for online serving. This is typically used for backfilling, where Feature generation timestamps are not in the timestamp range needed for online serving.

bool disable_online_serving = 9;

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

This builder for chaining.

clearEntityIdField()

public ImportFeatureValuesRequest.Builder clearEntityIdField()

Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.

string entity_id_field = 5;

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

This builder for chaining.

clearEntityType()

public ImportFeatureValuesRequest.Builder clearEntityType()

Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

This builder for chaining.

clearFeatureSpecs()

public ImportFeatureValuesRequest.Builder clearFeatureSpecs()

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

clearFeatureTime()

public ImportFeatureValuesRequest.Builder clearFeatureTime()

Single Feature timestamp for all entities being imported. The timestamp must not have higher than millisecond precision.

.google.protobuf.Timestamp feature_time = 7;

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

clearFeatureTimeField()

public ImportFeatureValuesRequest.Builder clearFeatureTimeField()

Source column that holds the Feature timestamp for all Feature values in each entity.

string feature_time_field = 6;

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

This builder for chaining.

clearFeatureTimeSource()

public ImportFeatureValuesRequest.Builder clearFeatureTimeSource()
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportFeatureValuesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportFeatureValuesRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportFeatureValuesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImportFeatureValuesRequest.Builder
Overrides

clearSource()

public ImportFeatureValuesRequest.Builder clearSource()
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

clearWorkerCount()

public ImportFeatureValuesRequest.Builder clearWorkerCount()

Specifies the number of workers that are used to write data to the Featurestore. Consider the online serving capacity that you require to achieve the desired import throughput without interfering with online serving. The value must be positive, and less than or equal to 100. If not set, defaults to using 1 worker. The low count ensures minimal impact on online serving performance.

int32 worker_count = 11;

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

This builder for chaining.

clone()

public ImportFeatureValuesRequest.Builder clone()
Returns
TypeDescription
ImportFeatureValuesRequest.Builder
Overrides

getAvroSource()

public AvroSource getAvroSource()

.google.cloud.aiplatform.v1beta1.AvroSource avro_source = 2;

Returns
TypeDescription
AvroSource

The avroSource.

getAvroSourceBuilder()

public AvroSource.Builder getAvroSourceBuilder()

.google.cloud.aiplatform.v1beta1.AvroSource avro_source = 2;

Returns
TypeDescription
AvroSource.Builder

getAvroSourceOrBuilder()

public AvroSourceOrBuilder getAvroSourceOrBuilder()

.google.cloud.aiplatform.v1beta1.AvroSource avro_source = 2;

Returns
TypeDescription
AvroSourceOrBuilder

getBigquerySource()

public BigQuerySource getBigquerySource()

.google.cloud.aiplatform.v1beta1.BigQuerySource bigquery_source = 3;

Returns
TypeDescription
BigQuerySource

The bigquerySource.

getBigquerySourceBuilder()

public BigQuerySource.Builder getBigquerySourceBuilder()

.google.cloud.aiplatform.v1beta1.BigQuerySource bigquery_source = 3;

Returns
TypeDescription
BigQuerySource.Builder

getBigquerySourceOrBuilder()

public BigQuerySourceOrBuilder getBigquerySourceOrBuilder()

.google.cloud.aiplatform.v1beta1.BigQuerySource bigquery_source = 3;

Returns
TypeDescription
BigQuerySourceOrBuilder

getCsvSource()

public CsvSource getCsvSource()

.google.cloud.aiplatform.v1beta1.CsvSource csv_source = 4;

Returns
TypeDescription
CsvSource

The csvSource.

getCsvSourceBuilder()

public CsvSource.Builder getCsvSourceBuilder()

.google.cloud.aiplatform.v1beta1.CsvSource csv_source = 4;

Returns
TypeDescription
CsvSource.Builder

getCsvSourceOrBuilder()

public CsvSourceOrBuilder getCsvSourceOrBuilder()

.google.cloud.aiplatform.v1beta1.CsvSource csv_source = 4;

Returns
TypeDescription
CsvSourceOrBuilder

getDefaultInstanceForType()

public ImportFeatureValuesRequest getDefaultInstanceForType()
Returns
TypeDescription
ImportFeatureValuesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisableIngestionAnalysis()

public boolean getDisableIngestionAnalysis()

If true, API doesn't start ingestion analysis pipeline.

bool disable_ingestion_analysis = 12;

Returns
TypeDescription
boolean

The disableIngestionAnalysis.

getDisableOnlineServing()

public boolean getDisableOnlineServing()

If set, data will not be imported for online serving. This is typically used for backfilling, where Feature generation timestamps are not in the timestamp range needed for online serving.

bool disable_online_serving = 9;

Returns
TypeDescription
boolean

The disableOnlineServing.

getEntityIdField()

public String getEntityIdField()

Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.

string entity_id_field = 5;

Returns
TypeDescription
String

The entityIdField.

getEntityIdFieldBytes()

public ByteString getEntityIdFieldBytes()

Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.

string entity_id_field = 5;

Returns
TypeDescription
ByteString

The bytes for entityIdField.

getEntityType()

public String getEntityType()

Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The entityType.

getEntityTypeBytes()

public ByteString getEntityTypeBytes()

Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for entityType.

getFeatureSpecs(int index)

public ImportFeatureValuesRequest.FeatureSpec getFeatureSpecs(int index)

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportFeatureValuesRequest.FeatureSpec

getFeatureSpecsBuilder(int index)

public ImportFeatureValuesRequest.FeatureSpec.Builder getFeatureSpecsBuilder(int index)

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportFeatureValuesRequest.FeatureSpec.Builder

getFeatureSpecsBuilderList()

public List<ImportFeatureValuesRequest.FeatureSpec.Builder> getFeatureSpecsBuilderList()

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Builder>

getFeatureSpecsCount()

public int getFeatureSpecsCount()

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getFeatureSpecsList()

public List<ImportFeatureValuesRequest.FeatureSpec> getFeatureSpecsList()

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<FeatureSpec>

getFeatureSpecsOrBuilder(int index)

public ImportFeatureValuesRequest.FeatureSpecOrBuilder getFeatureSpecsOrBuilder(int index)

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportFeatureValuesRequest.FeatureSpecOrBuilder

getFeatureSpecsOrBuilderList()

public List<? extends ImportFeatureValuesRequest.FeatureSpecOrBuilder> getFeatureSpecsOrBuilderList()

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpecOrBuilder>

getFeatureTime()

public Timestamp getFeatureTime()

Single Feature timestamp for all entities being imported. The timestamp must not have higher than millisecond precision.

.google.protobuf.Timestamp feature_time = 7;

Returns
TypeDescription
Timestamp

The featureTime.

getFeatureTimeBuilder()

public Timestamp.Builder getFeatureTimeBuilder()

Single Feature timestamp for all entities being imported. The timestamp must not have higher than millisecond precision.

.google.protobuf.Timestamp feature_time = 7;

Returns
TypeDescription
Builder

getFeatureTimeField()

public String getFeatureTimeField()

Source column that holds the Feature timestamp for all Feature values in each entity.

string feature_time_field = 6;

Returns
TypeDescription
String

The featureTimeField.

getFeatureTimeFieldBytes()

public ByteString getFeatureTimeFieldBytes()

Source column that holds the Feature timestamp for all Feature values in each entity.

string feature_time_field = 6;

Returns
TypeDescription
ByteString

The bytes for featureTimeField.

getFeatureTimeOrBuilder()

public TimestampOrBuilder getFeatureTimeOrBuilder()

Single Feature timestamp for all entities being imported. The timestamp must not have higher than millisecond precision.

.google.protobuf.Timestamp feature_time = 7;

Returns
TypeDescription
TimestampOrBuilder

getFeatureTimeSourceCase()

public ImportFeatureValuesRequest.FeatureTimeSourceCase getFeatureTimeSourceCase()
Returns
TypeDescription
ImportFeatureValuesRequest.FeatureTimeSourceCase

getSourceCase()

public ImportFeatureValuesRequest.SourceCase getSourceCase()
Returns
TypeDescription
ImportFeatureValuesRequest.SourceCase

getWorkerCount()

public int getWorkerCount()

Specifies the number of workers that are used to write data to the Featurestore. Consider the online serving capacity that you require to achieve the desired import throughput without interfering with online serving. The value must be positive, and less than or equal to 100. If not set, defaults to using 1 worker. The low count ensures minimal impact on online serving performance.

int32 worker_count = 11;

Returns
TypeDescription
int

The workerCount.

hasAvroSource()

public boolean hasAvroSource()

.google.cloud.aiplatform.v1beta1.AvroSource avro_source = 2;

Returns
TypeDescription
boolean

Whether the avroSource field is set.

hasBigquerySource()

public boolean hasBigquerySource()

.google.cloud.aiplatform.v1beta1.BigQuerySource bigquery_source = 3;

Returns
TypeDescription
boolean

Whether the bigquerySource field is set.

hasCsvSource()

public boolean hasCsvSource()

.google.cloud.aiplatform.v1beta1.CsvSource csv_source = 4;

Returns
TypeDescription
boolean

Whether the csvSource field is set.

hasFeatureTime()

public boolean hasFeatureTime()

Single Feature timestamp for all entities being imported. The timestamp must not have higher than millisecond precision.

.google.protobuf.Timestamp feature_time = 7;

Returns
TypeDescription
boolean

Whether the featureTime field is set.

hasFeatureTimeField()

public boolean hasFeatureTimeField()

Source column that holds the Feature timestamp for all Feature values in each entity.

string feature_time_field = 6;

Returns
TypeDescription
boolean

Whether the featureTimeField field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAvroSource(AvroSource value)

public ImportFeatureValuesRequest.Builder mergeAvroSource(AvroSource value)

.google.cloud.aiplatform.v1beta1.AvroSource avro_source = 2;

Parameter
NameDescription
valueAvroSource
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

mergeBigquerySource(BigQuerySource value)

public ImportFeatureValuesRequest.Builder mergeBigquerySource(BigQuerySource value)

.google.cloud.aiplatform.v1beta1.BigQuerySource bigquery_source = 3;

Parameter
NameDescription
valueBigQuerySource
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

mergeCsvSource(CsvSource value)

public ImportFeatureValuesRequest.Builder mergeCsvSource(CsvSource value)

.google.cloud.aiplatform.v1beta1.CsvSource csv_source = 4;

Parameter
NameDescription
valueCsvSource
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

mergeFeatureTime(Timestamp value)

public ImportFeatureValuesRequest.Builder mergeFeatureTime(Timestamp value)

Single Feature timestamp for all entities being imported. The timestamp must not have higher than millisecond precision.

.google.protobuf.Timestamp feature_time = 7;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

mergeFrom(ImportFeatureValuesRequest other)

public ImportFeatureValuesRequest.Builder mergeFrom(ImportFeatureValuesRequest other)
Parameter
NameDescription
otherImportFeatureValuesRequest
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportFeatureValuesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportFeatureValuesRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportFeatureValuesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportFeatureValuesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportFeatureValuesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportFeatureValuesRequest.Builder
Overrides

removeFeatureSpecs(int index)

public ImportFeatureValuesRequest.Builder removeFeatureSpecs(int index)

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

setAvroSource(AvroSource value)

public ImportFeatureValuesRequest.Builder setAvroSource(AvroSource value)

.google.cloud.aiplatform.v1beta1.AvroSource avro_source = 2;

Parameter
NameDescription
valueAvroSource
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

setAvroSource(AvroSource.Builder builderForValue)

public ImportFeatureValuesRequest.Builder setAvroSource(AvroSource.Builder builderForValue)

.google.cloud.aiplatform.v1beta1.AvroSource avro_source = 2;

Parameter
NameDescription
builderForValueAvroSource.Builder
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

setBigquerySource(BigQuerySource value)

public ImportFeatureValuesRequest.Builder setBigquerySource(BigQuerySource value)

.google.cloud.aiplatform.v1beta1.BigQuerySource bigquery_source = 3;

Parameter
NameDescription
valueBigQuerySource
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

setBigquerySource(BigQuerySource.Builder builderForValue)

public ImportFeatureValuesRequest.Builder setBigquerySource(BigQuerySource.Builder builderForValue)

.google.cloud.aiplatform.v1beta1.BigQuerySource bigquery_source = 3;

Parameter
NameDescription
builderForValueBigQuerySource.Builder
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

setCsvSource(CsvSource value)

public ImportFeatureValuesRequest.Builder setCsvSource(CsvSource value)

.google.cloud.aiplatform.v1beta1.CsvSource csv_source = 4;

Parameter
NameDescription
valueCsvSource
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

setCsvSource(CsvSource.Builder builderForValue)

public ImportFeatureValuesRequest.Builder setCsvSource(CsvSource.Builder builderForValue)

.google.cloud.aiplatform.v1beta1.CsvSource csv_source = 4;

Parameter
NameDescription
builderForValueCsvSource.Builder
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

setDisableIngestionAnalysis(boolean value)

public ImportFeatureValuesRequest.Builder setDisableIngestionAnalysis(boolean value)

If true, API doesn't start ingestion analysis pipeline.

bool disable_ingestion_analysis = 12;

Parameter
NameDescription
valueboolean

The disableIngestionAnalysis to set.

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

This builder for chaining.

setDisableOnlineServing(boolean value)

public ImportFeatureValuesRequest.Builder setDisableOnlineServing(boolean value)

If set, data will not be imported for online serving. This is typically used for backfilling, where Feature generation timestamps are not in the timestamp range needed for online serving.

bool disable_online_serving = 9;

Parameter
NameDescription
valueboolean

The disableOnlineServing to set.

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

This builder for chaining.

setEntityIdField(String value)

public ImportFeatureValuesRequest.Builder setEntityIdField(String value)

Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.

string entity_id_field = 5;

Parameter
NameDescription
valueString

The entityIdField to set.

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

This builder for chaining.

setEntityIdFieldBytes(ByteString value)

public ImportFeatureValuesRequest.Builder setEntityIdFieldBytes(ByteString value)

Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.

string entity_id_field = 5;

Parameter
NameDescription
valueByteString

The bytes for entityIdField to set.

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

This builder for chaining.

setEntityType(String value)

public ImportFeatureValuesRequest.Builder setEntityType(String value)

Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The entityType to set.

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

This builder for chaining.

setEntityTypeBytes(ByteString value)

public ImportFeatureValuesRequest.Builder setEntityTypeBytes(ByteString value)

Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for entityType to set.

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

This builder for chaining.

setFeatureSpecs(int index, ImportFeatureValuesRequest.FeatureSpec value)

public ImportFeatureValuesRequest.Builder setFeatureSpecs(int index, ImportFeatureValuesRequest.FeatureSpec value)

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueImportFeatureValuesRequest.FeatureSpec
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

setFeatureSpecs(int index, ImportFeatureValuesRequest.FeatureSpec.Builder builderForValue)

public ImportFeatureValuesRequest.Builder setFeatureSpecs(int index, ImportFeatureValuesRequest.FeatureSpec.Builder builderForValue)

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

repeated .google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueImportFeatureValuesRequest.FeatureSpec.Builder
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

setFeatureTime(Timestamp value)

public ImportFeatureValuesRequest.Builder setFeatureTime(Timestamp value)

Single Feature timestamp for all entities being imported. The timestamp must not have higher than millisecond precision.

.google.protobuf.Timestamp feature_time = 7;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

setFeatureTime(Timestamp.Builder builderForValue)

public ImportFeatureValuesRequest.Builder setFeatureTime(Timestamp.Builder builderForValue)

Single Feature timestamp for all entities being imported. The timestamp must not have higher than millisecond precision.

.google.protobuf.Timestamp feature_time = 7;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ImportFeatureValuesRequest.Builder

setFeatureTimeField(String value)

public ImportFeatureValuesRequest.Builder setFeatureTimeField(String value)

Source column that holds the Feature timestamp for all Feature values in each entity.

string feature_time_field = 6;

Parameter
NameDescription
valueString

The featureTimeField to set.

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

This builder for chaining.

setFeatureTimeFieldBytes(ByteString value)

public ImportFeatureValuesRequest.Builder setFeatureTimeFieldBytes(ByteString value)

Source column that holds the Feature timestamp for all Feature values in each entity.

string feature_time_field = 6;

Parameter
NameDescription
valueByteString

The bytes for featureTimeField to set.

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ImportFeatureValuesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportFeatureValuesRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportFeatureValuesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportFeatureValuesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportFeatureValuesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportFeatureValuesRequest.Builder
Overrides

setWorkerCount(int value)

public ImportFeatureValuesRequest.Builder setWorkerCount(int value)

Specifies the number of workers that are used to write data to the Featurestore. Consider the online serving capacity that you require to achieve the desired import throughput without interfering with online serving. The value must be positive, and less than or equal to 100. If not set, defaults to using 1 worker. The low count ensures minimal impact on online serving performance.

int32 worker_count = 11;

Parameter
NameDescription
valueint

The workerCount to set.

Returns
TypeDescription
ImportFeatureValuesRequest.Builder

This builder for chaining.