Class FeaturestoreServiceClient (2.4.0)

public class FeaturestoreServiceClient implements BackgroundResource

Service Description: The service that handles CRUD and List for resources for Featurestore.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   FeaturestoreName name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
   Featurestore response = featurestoreServiceClient.getFeaturestore(name);
 }
 

Note: close() needs to be called on the FeaturestoreServiceClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of FeaturestoreServiceSettings to create(). For example:

To customize credentials:


 FeaturestoreServiceSettings featurestoreServiceSettings =
     FeaturestoreServiceSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 FeaturestoreServiceClient featurestoreServiceClient =
     FeaturestoreServiceClient.create(featurestoreServiceSettings);
 

To customize the endpoint:


 FeaturestoreServiceSettings featurestoreServiceSettings =
     FeaturestoreServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
 FeaturestoreServiceClient featurestoreServiceClient =
     FeaturestoreServiceClient.create(featurestoreServiceSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

Inheritance

java.lang.Object > FeaturestoreServiceClient

Implements

BackgroundResource

Constructors

FeaturestoreServiceClient(FeaturestoreServiceSettings settings)

protected FeaturestoreServiceClient(FeaturestoreServiceSettings settings)

Constructs an instance of FeaturestoreServiceClient, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameter
NameDescription
settingsFeaturestoreServiceSettings

FeaturestoreServiceClient(FeaturestoreServiceStub stub)

protected FeaturestoreServiceClient(FeaturestoreServiceStub stub)
Parameter
NameDescription
stubFeaturestoreServiceStub

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

batchCreateFeaturesAsync(BatchCreateFeaturesRequest request)

public final OperationFuture<BatchCreateFeaturesResponse,BatchCreateFeaturesOperationMetadata> batchCreateFeaturesAsync(BatchCreateFeaturesRequest request)

Creates a batch of Features in a given EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   BatchCreateFeaturesRequest request =
       BatchCreateFeaturesRequest.newBuilder()
           .setParent(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .addAllRequests(new ArrayList
Parameter
NameDescription
requestBatchCreateFeaturesRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
OperationFuture<BatchCreateFeaturesResponse,BatchCreateFeaturesOperationMetadata>

batchCreateFeaturesAsync(EntityTypeName parent, List<CreateFeatureRequest> requests)

public final OperationFuture<BatchCreateFeaturesResponse,BatchCreateFeaturesOperationMetadata> batchCreateFeaturesAsync(EntityTypeName parent, List<CreateFeatureRequest> requests)

Creates a batch of Features in a given EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   EntityTypeName parent =
       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
   List
Parameters
NameDescription
parentEntityTypeName

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

requestsList<CreateFeatureRequest>

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

Returns
TypeDescription
OperationFuture<BatchCreateFeaturesResponse,BatchCreateFeaturesOperationMetadata>

batchCreateFeaturesAsync(String parent, List<CreateFeatureRequest> requests)

public final OperationFuture<BatchCreateFeaturesResponse,BatchCreateFeaturesOperationMetadata> batchCreateFeaturesAsync(String parent, List<CreateFeatureRequest> requests)

Creates a batch of Features in a given EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String parent =
       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
           .toString();
   List
Parameters
NameDescription
parentString

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

requestsList<CreateFeatureRequest>

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

Returns
TypeDescription
OperationFuture<BatchCreateFeaturesResponse,BatchCreateFeaturesOperationMetadata>

batchCreateFeaturesCallable()

public final UnaryCallable<BatchCreateFeaturesRequest,Operation> batchCreateFeaturesCallable()

Creates a batch of Features in a given EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   BatchCreateFeaturesRequest request =
       BatchCreateFeaturesRequest.newBuilder()
           .setParent(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .addAllRequests(new ArrayList
Returns
TypeDescription
UnaryCallable<BatchCreateFeaturesRequest,Operation>

batchCreateFeaturesOperationCallable()

public final OperationCallable<BatchCreateFeaturesRequest,BatchCreateFeaturesResponse,BatchCreateFeaturesOperationMetadata> batchCreateFeaturesOperationCallable()

Creates a batch of Features in a given EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   BatchCreateFeaturesRequest request =
       BatchCreateFeaturesRequest.newBuilder()
           .setParent(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .addAllRequests(new ArrayList
Returns
TypeDescription
OperationCallable<BatchCreateFeaturesRequest,BatchCreateFeaturesResponse,BatchCreateFeaturesOperationMetadata>

batchReadFeatureValuesAsync(BatchReadFeatureValuesRequest request)

public final OperationFuture<BatchReadFeatureValuesResponse,BatchReadFeatureValuesOperationMetadata> batchReadFeatureValuesAsync(BatchReadFeatureValuesRequest request)

Batch reads Feature values from a Featurestore.

This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   BatchReadFeatureValuesRequest request =
       BatchReadFeatureValuesRequest.newBuilder()
           .setFeaturestore(
               FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
           .setDestination(FeatureValueDestination.newBuilder().build())
           .addAllPassThroughFields(
               new ArrayList
Parameter
NameDescription
requestBatchReadFeatureValuesRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
OperationFuture<BatchReadFeatureValuesResponse,BatchReadFeatureValuesOperationMetadata>

batchReadFeatureValuesAsync(FeaturestoreName featurestore)

public final OperationFuture<BatchReadFeatureValuesResponse,BatchReadFeatureValuesOperationMetadata> batchReadFeatureValuesAsync(FeaturestoreName featurestore)

Batch reads Feature values from a Featurestore.

This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   FeaturestoreName featurestore =
       FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
   BatchReadFeatureValuesResponse response =
       featurestoreServiceClient.batchReadFeatureValuesAsync(featurestore).get();
 }
 
Parameter
NameDescription
featurestoreFeaturestoreName

Required. The resource name of the Featurestore from which to query Feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

Returns
TypeDescription
OperationFuture<BatchReadFeatureValuesResponse,BatchReadFeatureValuesOperationMetadata>

batchReadFeatureValuesAsync(String featurestore)

public final OperationFuture<BatchReadFeatureValuesResponse,BatchReadFeatureValuesOperationMetadata> batchReadFeatureValuesAsync(String featurestore)

Batch reads Feature values from a Featurestore.

This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String featurestore =
       FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
   BatchReadFeatureValuesResponse response =
       featurestoreServiceClient.batchReadFeatureValuesAsync(featurestore).get();
 }
 
Parameter
NameDescription
featurestoreString

Required. The resource name of the Featurestore from which to query Feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

Returns
TypeDescription
OperationFuture<BatchReadFeatureValuesResponse,BatchReadFeatureValuesOperationMetadata>

batchReadFeatureValuesCallable()

public final UnaryCallable<BatchReadFeatureValuesRequest,Operation> batchReadFeatureValuesCallable()

Batch reads Feature values from a Featurestore.

This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   BatchReadFeatureValuesRequest request =
       BatchReadFeatureValuesRequest.newBuilder()
           .setFeaturestore(
               FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
           .setDestination(FeatureValueDestination.newBuilder().build())
           .addAllPassThroughFields(
               new ArrayList
Returns
TypeDescription
UnaryCallable<BatchReadFeatureValuesRequest,Operation>

batchReadFeatureValuesOperationCallable()

public final OperationCallable<BatchReadFeatureValuesRequest,BatchReadFeatureValuesResponse,BatchReadFeatureValuesOperationMetadata> batchReadFeatureValuesOperationCallable()

Batch reads Feature values from a Featurestore.

This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   BatchReadFeatureValuesRequest request =
       BatchReadFeatureValuesRequest.newBuilder()
           .setFeaturestore(
               FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
           .setDestination(FeatureValueDestination.newBuilder().build())
           .addAllPassThroughFields(
               new ArrayList
Returns
TypeDescription
OperationCallable<BatchReadFeatureValuesRequest,BatchReadFeatureValuesResponse,BatchReadFeatureValuesOperationMetadata>

close()

public final void close()

create()

public static final FeaturestoreServiceClient create()

Constructs an instance of FeaturestoreServiceClient with default settings.

Returns
TypeDescription
FeaturestoreServiceClient
Exceptions
TypeDescription
IOException

create(FeaturestoreServiceSettings settings)

public static final FeaturestoreServiceClient create(FeaturestoreServiceSettings settings)

Constructs an instance of FeaturestoreServiceClient, using the given settings. The channels are created based on the settings passed in, or defaults for any settings that are not set.

Parameter
NameDescription
settingsFeaturestoreServiceSettings
Returns
TypeDescription
FeaturestoreServiceClient
Exceptions
TypeDescription
IOException

create(FeaturestoreServiceStub stub)

public static final FeaturestoreServiceClient create(FeaturestoreServiceStub stub)

Constructs an instance of FeaturestoreServiceClient, using the given stub for making calls. This is for advanced usage - prefer using create(FeaturestoreServiceSettings).

Parameter
NameDescription
stubFeaturestoreServiceStub
Returns
TypeDescription
FeaturestoreServiceClient

createEntityTypeAsync(CreateEntityTypeRequest request)

public final OperationFuture<EntityType,CreateEntityTypeOperationMetadata> createEntityTypeAsync(CreateEntityTypeRequest request)

Creates a new EntityType in a given Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   CreateEntityTypeRequest request =
       CreateEntityTypeRequest.newBuilder()
           .setParent(
               FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
           .setEntityType(EntityType.newBuilder().build())
           .setEntityTypeId("entityTypeId767740856")
           .build();
   EntityType response = featurestoreServiceClient.createEntityTypeAsync(request).get();
 }
 
Parameter
NameDescription
requestCreateEntityTypeRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
OperationFuture<EntityType,CreateEntityTypeOperationMetadata>

createEntityTypeAsync(FeaturestoreName parent, EntityType entityType)

public final OperationFuture<EntityType,CreateEntityTypeOperationMetadata> createEntityTypeAsync(FeaturestoreName parent, EntityType entityType)

Creates a new EntityType in a given Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   FeaturestoreName parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
   EntityType entityType = EntityType.newBuilder().build();
   EntityType response =
       featurestoreServiceClient.createEntityTypeAsync(parent, entityType).get();
 }
 
Parameters
NameDescription
parentFeaturestoreName

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

entityTypeEntityType

The EntityType to create.

Returns
TypeDescription
OperationFuture<EntityType,CreateEntityTypeOperationMetadata>

createEntityTypeAsync(String parent, EntityType entityType)

public final OperationFuture<EntityType,CreateEntityTypeOperationMetadata> createEntityTypeAsync(String parent, EntityType entityType)

Creates a new EntityType in a given Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
   EntityType entityType = EntityType.newBuilder().build();
   EntityType response =
       featurestoreServiceClient.createEntityTypeAsync(parent, entityType).get();
 }
 
Parameters
NameDescription
parentString

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

entityTypeEntityType

The EntityType to create.

Returns
TypeDescription
OperationFuture<EntityType,CreateEntityTypeOperationMetadata>

createEntityTypeCallable()

public final UnaryCallable<CreateEntityTypeRequest,Operation> createEntityTypeCallable()

Creates a new EntityType in a given Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   CreateEntityTypeRequest request =
       CreateEntityTypeRequest.newBuilder()
           .setParent(
               FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
           .setEntityType(EntityType.newBuilder().build())
           .setEntityTypeId("entityTypeId767740856")
           .build();
   ApiFuture
Returns
TypeDescription
UnaryCallable<CreateEntityTypeRequest,Operation>

createEntityTypeOperationCallable()

public final OperationCallable<CreateEntityTypeRequest,EntityType,CreateEntityTypeOperationMetadata> createEntityTypeOperationCallable()

Creates a new EntityType in a given Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   CreateEntityTypeRequest request =
       CreateEntityTypeRequest.newBuilder()
           .setParent(
               FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
           .setEntityType(EntityType.newBuilder().build())
           .setEntityTypeId("entityTypeId767740856")
           .build();
   OperationFuture
Returns
TypeDescription
OperationCallable<CreateEntityTypeRequest,EntityType,CreateEntityTypeOperationMetadata>

createFeatureAsync(CreateFeatureRequest request)

public final OperationFuture<Feature,CreateFeatureOperationMetadata> createFeatureAsync(CreateFeatureRequest request)

Creates a new Feature in a given EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   CreateFeatureRequest request =
       CreateFeatureRequest.newBuilder()
           .setParent(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .setFeature(Feature.newBuilder().build())
           .setFeatureId("featureId-420503887")
           .build();
   Feature response = featurestoreServiceClient.createFeatureAsync(request).get();
 }
 
Parameter
NameDescription
requestCreateFeatureRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
OperationFuture<Feature,CreateFeatureOperationMetadata>

createFeatureAsync(EntityTypeName parent, Feature feature)

public final OperationFuture<Feature,CreateFeatureOperationMetadata> createFeatureAsync(EntityTypeName parent, Feature feature)

Creates a new Feature in a given EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   EntityTypeName parent =
       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
   Feature feature = Feature.newBuilder().build();
   Feature response = featurestoreServiceClient.createFeatureAsync(parent, feature).get();
 }
 
Parameters
NameDescription
parentEntityTypeName

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

featureFeature

Required. The Feature to create.

Returns
TypeDescription
OperationFuture<Feature,CreateFeatureOperationMetadata>

createFeatureAsync(String parent, Feature feature)

public final OperationFuture<Feature,CreateFeatureOperationMetadata> createFeatureAsync(String parent, Feature feature)

Creates a new Feature in a given EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String parent =
       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
           .toString();
   Feature feature = Feature.newBuilder().build();
   Feature response = featurestoreServiceClient.createFeatureAsync(parent, feature).get();
 }
 
Parameters
NameDescription
parentString

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

featureFeature

Required. The Feature to create.

Returns
TypeDescription
OperationFuture<Feature,CreateFeatureOperationMetadata>

createFeatureCallable()

public final UnaryCallable<CreateFeatureRequest,Operation> createFeatureCallable()

Creates a new Feature in a given EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   CreateFeatureRequest request =
       CreateFeatureRequest.newBuilder()
           .setParent(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .setFeature(Feature.newBuilder().build())
           .setFeatureId("featureId-420503887")
           .build();
   ApiFuture
Returns
TypeDescription
UnaryCallable<CreateFeatureRequest,Operation>

createFeatureOperationCallable()

public final OperationCallable<CreateFeatureRequest,Feature,CreateFeatureOperationMetadata> createFeatureOperationCallable()

Creates a new Feature in a given EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   CreateFeatureRequest request =
       CreateFeatureRequest.newBuilder()
           .setParent(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .setFeature(Feature.newBuilder().build())
           .setFeatureId("featureId-420503887")
           .build();
   OperationFuture
Returns
TypeDescription
OperationCallable<CreateFeatureRequest,Feature,CreateFeatureOperationMetadata>

createFeaturestoreAsync(CreateFeaturestoreRequest request)

public final OperationFuture<Featurestore,CreateFeaturestoreOperationMetadata> createFeaturestoreAsync(CreateFeaturestoreRequest request)

Creates a new Featurestore in a given project and location.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   CreateFeaturestoreRequest request =
       CreateFeaturestoreRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setFeaturestore(Featurestore.newBuilder().build())
           .setFeaturestoreId("featurestoreId-1315851738")
           .build();
   Featurestore response = featurestoreServiceClient.createFeaturestoreAsync(request).get();
 }
 
Parameter
NameDescription
requestCreateFeaturestoreRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
OperationFuture<Featurestore,CreateFeaturestoreOperationMetadata>

createFeaturestoreAsync(LocationName parent, Featurestore featurestore)

public final OperationFuture<Featurestore,CreateFeaturestoreOperationMetadata> createFeaturestoreAsync(LocationName parent, Featurestore featurestore)

Creates a new Featurestore in a given project and location.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
   Featurestore featurestore = Featurestore.newBuilder().build();
   Featurestore response =
       featurestoreServiceClient.createFeaturestoreAsync(parent, featurestore).get();
 }
 
Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to create Featurestores. Format: projects/{project}/locations/{location}'

featurestoreFeaturestore

Required. The Featurestore to create.

Returns
TypeDescription
OperationFuture<Featurestore,CreateFeaturestoreOperationMetadata>

createFeaturestoreAsync(String parent, Featurestore featurestore)

public final OperationFuture<Featurestore,CreateFeaturestoreOperationMetadata> createFeaturestoreAsync(String parent, Featurestore featurestore)

Creates a new Featurestore in a given project and location.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
   Featurestore featurestore = Featurestore.newBuilder().build();
   Featurestore response =
       featurestoreServiceClient.createFeaturestoreAsync(parent, featurestore).get();
 }
 
Parameters
NameDescription
parentString

Required. The resource name of the Location to create Featurestores. Format: projects/{project}/locations/{location}'

featurestoreFeaturestore

Required. The Featurestore to create.

Returns
TypeDescription
OperationFuture<Featurestore,CreateFeaturestoreOperationMetadata>

createFeaturestoreCallable()

public final UnaryCallable<CreateFeaturestoreRequest,Operation> createFeaturestoreCallable()

Creates a new Featurestore in a given project and location.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   CreateFeaturestoreRequest request =
       CreateFeaturestoreRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setFeaturestore(Featurestore.newBuilder().build())
           .setFeaturestoreId("featurestoreId-1315851738")
           .build();
   ApiFuture
Returns
TypeDescription
UnaryCallable<CreateFeaturestoreRequest,Operation>

createFeaturestoreOperationCallable()

public final OperationCallable<CreateFeaturestoreRequest,Featurestore,CreateFeaturestoreOperationMetadata> createFeaturestoreOperationCallable()

Creates a new Featurestore in a given project and location.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   CreateFeaturestoreRequest request =
       CreateFeaturestoreRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setFeaturestore(Featurestore.newBuilder().build())
           .setFeaturestoreId("featurestoreId-1315851738")
           .build();
   OperationFuture
Returns
TypeDescription
OperationCallable<CreateFeaturestoreRequest,Featurestore,CreateFeaturestoreOperationMetadata>

deleteEntityTypeAsync(DeleteEntityTypeRequest request)

public final OperationFuture<Empty,DeleteOperationMetadata> deleteEntityTypeAsync(DeleteEntityTypeRequest request)

Deletes a single EntityType. The EntityType must not have any Features or force must be set to true for the request to succeed.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   DeleteEntityTypeRequest request =
       DeleteEntityTypeRequest.newBuilder()
           .setName(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .setForce(true)
           .build();
   featurestoreServiceClient.deleteEntityTypeAsync(request).get();
 }
 
Parameter
NameDescription
requestDeleteEntityTypeRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
OperationFuture<Empty,DeleteOperationMetadata>

deleteEntityTypeAsync(EntityTypeName name)

public final OperationFuture<Empty,DeleteOperationMetadata> deleteEntityTypeAsync(EntityTypeName name)

Deletes a single EntityType. The EntityType must not have any Features or force must be set to true for the request to succeed.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   EntityTypeName name =
       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
   featurestoreServiceClient.deleteEntityTypeAsync(name).get();
 }
 
Parameter
NameDescription
nameEntityTypeName

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

Returns
TypeDescription
OperationFuture<Empty,DeleteOperationMetadata>

deleteEntityTypeAsync(EntityTypeName name, boolean force)

public final OperationFuture<Empty,DeleteOperationMetadata> deleteEntityTypeAsync(EntityTypeName name, boolean force)

Deletes a single EntityType. The EntityType must not have any Features or force must be set to true for the request to succeed.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   EntityTypeName name =
       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
   boolean force = true;
   featurestoreServiceClient.deleteEntityTypeAsync(name, force).get();
 }
 
Parameters
NameDescription
nameEntityTypeName

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

forceboolean

If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.)

Returns
TypeDescription
OperationFuture<Empty,DeleteOperationMetadata>

deleteEntityTypeAsync(String name)

public final OperationFuture<Empty,DeleteOperationMetadata> deleteEntityTypeAsync(String name)

Deletes a single EntityType. The EntityType must not have any Features or force must be set to true for the request to succeed.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String name =
       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
           .toString();
   featurestoreServiceClient.deleteEntityTypeAsync(name).get();
 }
 
Parameter
NameDescription
nameString

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

Returns
TypeDescription
OperationFuture<Empty,DeleteOperationMetadata>

deleteEntityTypeAsync(String name, boolean force)

public final OperationFuture<Empty,DeleteOperationMetadata> deleteEntityTypeAsync(String name, boolean force)

Deletes a single EntityType. The EntityType must not have any Features or force must be set to true for the request to succeed.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String name =
       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
           .toString();
   boolean force = true;
   featurestoreServiceClient.deleteEntityTypeAsync(name, force).get();
 }
 
Parameters
NameDescription
nameString

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

forceboolean

If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.)

Returns
TypeDescription
OperationFuture<Empty,DeleteOperationMetadata>

deleteEntityTypeCallable()

public final UnaryCallable<DeleteEntityTypeRequest,Operation> deleteEntityTypeCallable()

Deletes a single EntityType. The EntityType must not have any Features or force must be set to true for the request to succeed.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   DeleteEntityTypeRequest request =
       DeleteEntityTypeRequest.newBuilder()
           .setName(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .setForce(true)
           .build();
   ApiFuture
Returns
TypeDescription
UnaryCallable<DeleteEntityTypeRequest,Operation>

deleteEntityTypeOperationCallable()

public final OperationCallable<DeleteEntityTypeRequest,Empty,DeleteOperationMetadata> deleteEntityTypeOperationCallable()

Deletes a single EntityType. The EntityType must not have any Features or force must be set to true for the request to succeed.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   DeleteEntityTypeRequest request =
       DeleteEntityTypeRequest.newBuilder()
           .setName(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .setForce(true)
           .build();
   OperationFuture
Returns
TypeDescription
OperationCallable<DeleteEntityTypeRequest,Empty,DeleteOperationMetadata>

deleteFeatureAsync(DeleteFeatureRequest request)

public final OperationFuture<Empty,DeleteOperationMetadata> deleteFeatureAsync(DeleteFeatureRequest request)

Deletes a single Feature.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   DeleteFeatureRequest request =
       DeleteFeatureRequest.newBuilder()
           .setName(
               FeatureName.of(
                       "[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
                   .toString())
           .build();
   featurestoreServiceClient.deleteFeatureAsync(request).get();
 }
 
Parameter
NameDescription
requestDeleteFeatureRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
OperationFuture<Empty,DeleteOperationMetadata>

deleteFeatureAsync(FeatureName name)

public final OperationFuture<Empty,DeleteOperationMetadata> deleteFeatureAsync(FeatureName name)

Deletes a single Feature.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   FeatureName name =
       FeatureName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]");
   featurestoreServiceClient.deleteFeatureAsync(name).get();
 }
 
Parameter
NameDescription
nameFeatureName

Required. The name of the Features to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}

Returns
TypeDescription
OperationFuture<Empty,DeleteOperationMetadata>

deleteFeatureAsync(String name)

public final OperationFuture<Empty,DeleteOperationMetadata> deleteFeatureAsync(String name)

Deletes a single Feature.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String name =
       FeatureName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
           .toString();
   featurestoreServiceClient.deleteFeatureAsync(name).get();
 }
 
Parameter
NameDescription
nameString

Required. The name of the Features to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}

Returns
TypeDescription
OperationFuture<Empty,DeleteOperationMetadata>

deleteFeatureCallable()

public final UnaryCallable<DeleteFeatureRequest,Operation> deleteFeatureCallable()

Deletes a single Feature.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   DeleteFeatureRequest request =
       DeleteFeatureRequest.newBuilder()
           .setName(
               FeatureName.of(
                       "[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
                   .toString())
           .build();
   ApiFuture
Returns
TypeDescription
UnaryCallable<DeleteFeatureRequest,Operation>

deleteFeatureOperationCallable()

public final OperationCallable<DeleteFeatureRequest,Empty,DeleteOperationMetadata> deleteFeatureOperationCallable()

Deletes a single Feature.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   DeleteFeatureRequest request =
       DeleteFeatureRequest.newBuilder()
           .setName(
               FeatureName.of(
                       "[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
                   .toString())
           .build();
   OperationFuture
Returns
TypeDescription
OperationCallable<DeleteFeatureRequest,Empty,DeleteOperationMetadata>

deleteFeaturestoreAsync(DeleteFeaturestoreRequest request)

public final OperationFuture<Empty,DeleteOperationMetadata> deleteFeaturestoreAsync(DeleteFeaturestoreRequest request)

Deletes a single Featurestore. The Featurestore must not contain any EntityTypes or force must be set to true for the request to succeed.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   DeleteFeaturestoreRequest request =
       DeleteFeaturestoreRequest.newBuilder()
           .setName(FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
           .setForce(true)
           .build();
   featurestoreServiceClient.deleteFeaturestoreAsync(request).get();
 }
 
Parameter
NameDescription
requestDeleteFeaturestoreRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
OperationFuture<Empty,DeleteOperationMetadata>

deleteFeaturestoreAsync(FeaturestoreName name)

public final OperationFuture<Empty,DeleteOperationMetadata> deleteFeaturestoreAsync(FeaturestoreName name)

Deletes a single Featurestore. The Featurestore must not contain any EntityTypes or force must be set to true for the request to succeed.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   FeaturestoreName name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
   featurestoreServiceClient.deleteFeaturestoreAsync(name).get();
 }
 
Parameter
NameDescription
nameFeaturestoreName

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

Returns
TypeDescription
OperationFuture<Empty,DeleteOperationMetadata>

deleteFeaturestoreAsync(FeaturestoreName name, boolean force)

public final OperationFuture<Empty,DeleteOperationMetadata> deleteFeaturestoreAsync(FeaturestoreName name, boolean force)

Deletes a single Featurestore. The Featurestore must not contain any EntityTypes or force must be set to true for the request to succeed.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   FeaturestoreName name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
   boolean force = true;
   featurestoreServiceClient.deleteFeaturestoreAsync(name, force).get();
 }
 
Parameters
NameDescription
nameFeaturestoreName

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

forceboolean

If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.)

Returns
TypeDescription
OperationFuture<Empty,DeleteOperationMetadata>

deleteFeaturestoreAsync(String name)

public final OperationFuture<Empty,DeleteOperationMetadata> deleteFeaturestoreAsync(String name)

Deletes a single Featurestore. The Featurestore must not contain any EntityTypes or force must be set to true for the request to succeed.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
   featurestoreServiceClient.deleteFeaturestoreAsync(name).get();
 }
 
Parameter
NameDescription
nameString

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

Returns
TypeDescription
OperationFuture<Empty,DeleteOperationMetadata>

deleteFeaturestoreAsync(String name, boolean force)

public final OperationFuture<Empty,DeleteOperationMetadata> deleteFeaturestoreAsync(String name, boolean force)

Deletes a single Featurestore. The Featurestore must not contain any EntityTypes or force must be set to true for the request to succeed.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
   boolean force = true;
   featurestoreServiceClient.deleteFeaturestoreAsync(name, force).get();
 }
 
Parameters
NameDescription
nameString

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

forceboolean

If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.)

Returns
TypeDescription
OperationFuture<Empty,DeleteOperationMetadata>

deleteFeaturestoreCallable()

public final UnaryCallable<DeleteFeaturestoreRequest,Operation> deleteFeaturestoreCallable()

Deletes a single Featurestore. The Featurestore must not contain any EntityTypes or force must be set to true for the request to succeed.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   DeleteFeaturestoreRequest request =
       DeleteFeaturestoreRequest.newBuilder()
           .setName(FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
           .setForce(true)
           .build();
   ApiFuture
Returns
TypeDescription
UnaryCallable<DeleteFeaturestoreRequest,Operation>

deleteFeaturestoreOperationCallable()

public final OperationCallable<DeleteFeaturestoreRequest,Empty,DeleteOperationMetadata> deleteFeaturestoreOperationCallable()

Deletes a single Featurestore. The Featurestore must not contain any EntityTypes or force must be set to true for the request to succeed.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   DeleteFeaturestoreRequest request =
       DeleteFeaturestoreRequest.newBuilder()
           .setName(FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
           .setForce(true)
           .build();
   OperationFuture
Returns
TypeDescription
OperationCallable<DeleteFeaturestoreRequest,Empty,DeleteOperationMetadata>

exportFeatureValuesAsync(EntityTypeName entityType)

public final OperationFuture<ExportFeatureValuesResponse,ExportFeatureValuesOperationMetadata> exportFeatureValuesAsync(EntityTypeName entityType)

Exports Feature values from all the entities of a target EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   EntityTypeName entityType =
       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
   ExportFeatureValuesResponse response =
       featurestoreServiceClient.exportFeatureValuesAsync(entityType).get();
 }
 
Parameter
NameDescription
entityTypeEntityTypeName

Required. The resource name of the EntityType from which to export Feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

Returns
TypeDescription
OperationFuture<ExportFeatureValuesResponse,ExportFeatureValuesOperationMetadata>

exportFeatureValuesAsync(ExportFeatureValuesRequest request)

public final OperationFuture<ExportFeatureValuesResponse,ExportFeatureValuesOperationMetadata> exportFeatureValuesAsync(ExportFeatureValuesRequest request)

Exports Feature values from all the entities of a target EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   ExportFeatureValuesRequest request =
       ExportFeatureValuesRequest.newBuilder()
           .setEntityType(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .setDestination(FeatureValueDestination.newBuilder().build())
           .setFeatureSelector(FeatureSelector.newBuilder().build())
           .addAllSettings(new ArrayList
Parameter
NameDescription
requestExportFeatureValuesRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
OperationFuture<ExportFeatureValuesResponse,ExportFeatureValuesOperationMetadata>

exportFeatureValuesAsync(String entityType)

public final OperationFuture<ExportFeatureValuesResponse,ExportFeatureValuesOperationMetadata> exportFeatureValuesAsync(String entityType)

Exports Feature values from all the entities of a target EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String entityType =
       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
           .toString();
   ExportFeatureValuesResponse response =
       featurestoreServiceClient.exportFeatureValuesAsync(entityType).get();
 }
 
Parameter
NameDescription
entityTypeString

Required. The resource name of the EntityType from which to export Feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

Returns
TypeDescription
OperationFuture<ExportFeatureValuesResponse,ExportFeatureValuesOperationMetadata>

exportFeatureValuesCallable()

public final UnaryCallable<ExportFeatureValuesRequest,Operation> exportFeatureValuesCallable()

Exports Feature values from all the entities of a target EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   ExportFeatureValuesRequest request =
       ExportFeatureValuesRequest.newBuilder()
           .setEntityType(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .setDestination(FeatureValueDestination.newBuilder().build())
           .setFeatureSelector(FeatureSelector.newBuilder().build())
           .addAllSettings(new ArrayList
Returns
TypeDescription
UnaryCallable<ExportFeatureValuesRequest,Operation>

exportFeatureValuesOperationCallable()

public final OperationCallable<ExportFeatureValuesRequest,ExportFeatureValuesResponse,ExportFeatureValuesOperationMetadata> exportFeatureValuesOperationCallable()

Exports Feature values from all the entities of a target EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   ExportFeatureValuesRequest request =
       ExportFeatureValuesRequest.newBuilder()
           .setEntityType(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .setDestination(FeatureValueDestination.newBuilder().build())
           .setFeatureSelector(FeatureSelector.newBuilder().build())
           .addAllSettings(new ArrayList
Returns
TypeDescription
OperationCallable<ExportFeatureValuesRequest,ExportFeatureValuesResponse,ExportFeatureValuesOperationMetadata>

getEntityType(EntityTypeName name)

public final EntityType getEntityType(EntityTypeName name)

Gets details of a single EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   EntityTypeName name =
       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
   EntityType response = featurestoreServiceClient.getEntityType(name);
 }
 
Parameter
NameDescription
nameEntityTypeName

Required. The name of the EntityType resource. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

Returns
TypeDescription
EntityType

getEntityType(GetEntityTypeRequest request)

public final EntityType getEntityType(GetEntityTypeRequest request)

Gets details of a single EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   GetEntityTypeRequest request =
       GetEntityTypeRequest.newBuilder()
           .setName(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .build();
   EntityType response = featurestoreServiceClient.getEntityType(request);
 }
 
Parameter
NameDescription
requestGetEntityTypeRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
EntityType

getEntityType(String name)

public final EntityType getEntityType(String name)

Gets details of a single EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String name =
       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
           .toString();
   EntityType response = featurestoreServiceClient.getEntityType(name);
 }
 
Parameter
NameDescription
nameString

Required. The name of the EntityType resource. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

Returns
TypeDescription
EntityType

getEntityTypeCallable()

public final UnaryCallable<GetEntityTypeRequest,EntityType> getEntityTypeCallable()

Gets details of a single EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   GetEntityTypeRequest request =
       GetEntityTypeRequest.newBuilder()
           .setName(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .build();
   ApiFuture
Returns
TypeDescription
UnaryCallable<GetEntityTypeRequest,EntityType>

getFeature(FeatureName name)

public final Feature getFeature(FeatureName name)

Gets details of a single Feature.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   FeatureName name =
       FeatureName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]");
   Feature response = featurestoreServiceClient.getFeature(name);
 }
 
Parameter
NameDescription
nameFeatureName

Required. The name of the Feature resource. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

Returns
TypeDescription
Feature

getFeature(GetFeatureRequest request)

public final Feature getFeature(GetFeatureRequest request)

Gets details of a single Feature.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   GetFeatureRequest request =
       GetFeatureRequest.newBuilder()
           .setName(
               FeatureName.of(
                       "[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
                   .toString())
           .build();
   Feature response = featurestoreServiceClient.getFeature(request);
 }
 
Parameter
NameDescription
requestGetFeatureRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
Feature

getFeature(String name)

public final Feature getFeature(String name)

Gets details of a single Feature.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String name =
       FeatureName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
           .toString();
   Feature response = featurestoreServiceClient.getFeature(name);
 }
 
Parameter
NameDescription
nameString

Required. The name of the Feature resource. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

Returns
TypeDescription
Feature

getFeatureCallable()

public final UnaryCallable<GetFeatureRequest,Feature> getFeatureCallable()

Gets details of a single Feature.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   GetFeatureRequest request =
       GetFeatureRequest.newBuilder()
           .setName(
               FeatureName.of(
                       "[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
                   .toString())
           .build();
   ApiFuture
Returns
TypeDescription
UnaryCallable<GetFeatureRequest,Feature>

getFeaturestore(FeaturestoreName name)

public final Featurestore getFeaturestore(FeaturestoreName name)

Gets details of a single Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   FeaturestoreName name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
   Featurestore response = featurestoreServiceClient.getFeaturestore(name);
 }
 
Parameter
NameDescription
nameFeaturestoreName

Required. The name of the Featurestore resource.

Returns
TypeDescription
Featurestore

getFeaturestore(GetFeaturestoreRequest request)

public final Featurestore getFeaturestore(GetFeaturestoreRequest request)

Gets details of a single Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   GetFeaturestoreRequest request =
       GetFeaturestoreRequest.newBuilder()
           .setName(FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
           .build();
   Featurestore response = featurestoreServiceClient.getFeaturestore(request);
 }
 
Parameter
NameDescription
requestGetFeaturestoreRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
Featurestore

getFeaturestore(String name)

public final Featurestore getFeaturestore(String name)

Gets details of a single Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
   Featurestore response = featurestoreServiceClient.getFeaturestore(name);
 }
 
Parameter
NameDescription
nameString

Required. The name of the Featurestore resource.

Returns
TypeDescription
Featurestore

getFeaturestoreCallable()

public final UnaryCallable<GetFeaturestoreRequest,Featurestore> getFeaturestoreCallable()

Gets details of a single Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   GetFeaturestoreRequest request =
       GetFeaturestoreRequest.newBuilder()
           .setName(FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
           .build();
   ApiFuture
Returns
TypeDescription
UnaryCallable<GetFeaturestoreRequest,Featurestore>

getOperationsClient()

public final OperationsClient getOperationsClient()

Returns the OperationsClient that can be used to query the status of a long-running operation returned by another API method call.

Returns
TypeDescription
OperationsClient

getSettings()

public final FeaturestoreServiceSettings getSettings()
Returns
TypeDescription
FeaturestoreServiceSettings

getStub()

public FeaturestoreServiceStub getStub()
Returns
TypeDescription
FeaturestoreServiceStub

importFeatureValuesAsync(EntityTypeName entityType)

public final OperationFuture<ImportFeatureValuesResponse,ImportFeatureValuesOperationMetadata> importFeatureValuesAsync(EntityTypeName entityType)

Imports Feature values into the Featurestore from a source storage.

The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done.

If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done.

There are also scenarios where the caller can cause inconsistency.

- Source data for import contains multiple distinct Feature values for the same entity ID and timestamp. - Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy. - Online serving cluster is under-provisioned.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   EntityTypeName entityType =
       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
   ImportFeatureValuesResponse response =
       featurestoreServiceClient.importFeatureValuesAsync(entityType).get();
 }
 
Parameter
NameDescription
entityTypeEntityTypeName

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}

Returns
TypeDescription
OperationFuture<ImportFeatureValuesResponse,ImportFeatureValuesOperationMetadata>

importFeatureValuesAsync(ImportFeatureValuesRequest request)

public final OperationFuture<ImportFeatureValuesResponse,ImportFeatureValuesOperationMetadata> importFeatureValuesAsync(ImportFeatureValuesRequest request)

Imports Feature values into the Featurestore from a source storage.

The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done.

If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done.

There are also scenarios where the caller can cause inconsistency.

- Source data for import contains multiple distinct Feature values for the same entity ID and timestamp. - Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy. - Online serving cluster is under-provisioned.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   ImportFeatureValuesRequest request =
       ImportFeatureValuesRequest.newBuilder()
           .setEntityType(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .setEntityIdField("entityIdField512670524")
           .addAllFeatureSpecs(new ArrayList
Parameter
NameDescription
requestImportFeatureValuesRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
OperationFuture<ImportFeatureValuesResponse,ImportFeatureValuesOperationMetadata>

importFeatureValuesAsync(String entityType)

public final OperationFuture<ImportFeatureValuesResponse,ImportFeatureValuesOperationMetadata> importFeatureValuesAsync(String entityType)

Imports Feature values into the Featurestore from a source storage.

The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done.

If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done.

There are also scenarios where the caller can cause inconsistency.

- Source data for import contains multiple distinct Feature values for the same entity ID and timestamp. - Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy. - Online serving cluster is under-provisioned.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String entityType =
       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
           .toString();
   ImportFeatureValuesResponse response =
       featurestoreServiceClient.importFeatureValuesAsync(entityType).get();
 }
 
Parameter
NameDescription
entityTypeString

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}

Returns
TypeDescription
OperationFuture<ImportFeatureValuesResponse,ImportFeatureValuesOperationMetadata>

importFeatureValuesCallable()

public final UnaryCallable<ImportFeatureValuesRequest,Operation> importFeatureValuesCallable()

Imports Feature values into the Featurestore from a source storage.

The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done.

If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done.

There are also scenarios where the caller can cause inconsistency.

- Source data for import contains multiple distinct Feature values for the same entity ID and timestamp. - Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy. - Online serving cluster is under-provisioned.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   ImportFeatureValuesRequest request =
       ImportFeatureValuesRequest.newBuilder()
           .setEntityType(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .setEntityIdField("entityIdField512670524")
           .addAllFeatureSpecs(new ArrayList
Returns
TypeDescription
UnaryCallable<ImportFeatureValuesRequest,Operation>

importFeatureValuesOperationCallable()

public final OperationCallable<ImportFeatureValuesRequest,ImportFeatureValuesResponse,ImportFeatureValuesOperationMetadata> importFeatureValuesOperationCallable()

Imports Feature values into the Featurestore from a source storage.

The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done.

If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done.

There are also scenarios where the caller can cause inconsistency.

- Source data for import contains multiple distinct Feature values for the same entity ID and timestamp. - Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy. - Online serving cluster is under-provisioned.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   ImportFeatureValuesRequest request =
       ImportFeatureValuesRequest.newBuilder()
           .setEntityType(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .setEntityIdField("entityIdField512670524")
           .addAllFeatureSpecs(new ArrayList
Returns
TypeDescription
OperationCallable<ImportFeatureValuesRequest,ImportFeatureValuesResponse,ImportFeatureValuesOperationMetadata>

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listEntityTypes(FeaturestoreName parent)

public final FeaturestoreServiceClient.ListEntityTypesPagedResponse listEntityTypes(FeaturestoreName parent)

Lists EntityTypes in a given Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   FeaturestoreName parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
   for (EntityType element : featurestoreServiceClient.listEntityTypes(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
NameDescription
parentFeaturestoreName

Required. The resource name of the Featurestore to list EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

Returns
TypeDescription
FeaturestoreServiceClient.ListEntityTypesPagedResponse

listEntityTypes(ListEntityTypesRequest request)

public final FeaturestoreServiceClient.ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest request)

Lists EntityTypes in a given Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   ListEntityTypesRequest request =
       ListEntityTypesRequest.newBuilder()
           .setParent(
               FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .setOrderBy("orderBy-1207110587")
           .setReadMask(FieldMask.newBuilder().build())
           .build();
   for (EntityType element : featurestoreServiceClient.listEntityTypes(request).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
NameDescription
requestListEntityTypesRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
FeaturestoreServiceClient.ListEntityTypesPagedResponse

listEntityTypes(String parent)

public final FeaturestoreServiceClient.ListEntityTypesPagedResponse listEntityTypes(String parent)

Lists EntityTypes in a given Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
   for (EntityType element : featurestoreServiceClient.listEntityTypes(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
NameDescription
parentString

Required. The resource name of the Featurestore to list EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

Returns
TypeDescription
FeaturestoreServiceClient.ListEntityTypesPagedResponse

listEntityTypesCallable()

public final UnaryCallable<ListEntityTypesRequest,ListEntityTypesResponse> listEntityTypesCallable()

Lists EntityTypes in a given Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   ListEntityTypesRequest request =
       ListEntityTypesRequest.newBuilder()
           .setParent(
               FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .setOrderBy("orderBy-1207110587")
           .setReadMask(FieldMask.newBuilder().build())
           .build();
   while (true) {
     ListEntityTypesResponse response =
         featurestoreServiceClient.listEntityTypesCallable().call(request);
     for (EntityType element : response.getResponsesList()) {
       // doThingsWith(element);
     }
     String nextPageToken = response.getNextPageToken();
     if (!Strings.isNullOrEmpty(nextPageToken)) {
       request = request.toBuilder().setPageToken(nextPageToken).build();
     } else {
       break;
     }
   }
 }
 
Returns
TypeDescription
UnaryCallable<ListEntityTypesRequest,ListEntityTypesResponse>

listEntityTypesPagedCallable()

public final UnaryCallable<ListEntityTypesRequest,FeaturestoreServiceClient.ListEntityTypesPagedResponse> listEntityTypesPagedCallable()

Lists EntityTypes in a given Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   ListEntityTypesRequest request =
       ListEntityTypesRequest.newBuilder()
           .setParent(
               FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString())
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .setOrderBy("orderBy-1207110587")
           .setReadMask(FieldMask.newBuilder().build())
           .build();
   ApiFuture
Returns
TypeDescription
UnaryCallable<ListEntityTypesRequest,ListEntityTypesPagedResponse>

listFeatures(EntityTypeName parent)

public final FeaturestoreServiceClient.ListFeaturesPagedResponse listFeatures(EntityTypeName parent)

Lists Features in a given EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   EntityTypeName parent =
       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
   for (Feature element : featurestoreServiceClient.listFeatures(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
NameDescription
parentEntityTypeName

Required. The resource name of the Location to list Features. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

Returns
TypeDescription
FeaturestoreServiceClient.ListFeaturesPagedResponse

listFeatures(ListFeaturesRequest request)

public final FeaturestoreServiceClient.ListFeaturesPagedResponse listFeatures(ListFeaturesRequest request)

Lists Features in a given EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   ListFeaturesRequest request =
       ListFeaturesRequest.newBuilder()
           .setParent(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .setOrderBy("orderBy-1207110587")
           .setReadMask(FieldMask.newBuilder().build())
           .setLatestStatsCount(-878108489)
           .build();
   for (Feature element : featurestoreServiceClient.listFeatures(request).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
NameDescription
requestListFeaturesRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
FeaturestoreServiceClient.ListFeaturesPagedResponse

listFeatures(String parent)

public final FeaturestoreServiceClient.ListFeaturesPagedResponse listFeatures(String parent)

Lists Features in a given EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String parent =
       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
           .toString();
   for (Feature element : featurestoreServiceClient.listFeatures(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
NameDescription
parentString

Required. The resource name of the Location to list Features. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

Returns
TypeDescription
FeaturestoreServiceClient.ListFeaturesPagedResponse

listFeaturesCallable()

public final UnaryCallable<ListFeaturesRequest,ListFeaturesResponse> listFeaturesCallable()

Lists Features in a given EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   ListFeaturesRequest request =
       ListFeaturesRequest.newBuilder()
           .setParent(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .setOrderBy("orderBy-1207110587")
           .setReadMask(FieldMask.newBuilder().build())
           .setLatestStatsCount(-878108489)
           .build();
   while (true) {
     ListFeaturesResponse response =
         featurestoreServiceClient.listFeaturesCallable().call(request);
     for (Feature element : response.getResponsesList()) {
       // doThingsWith(element);
     }
     String nextPageToken = response.getNextPageToken();
     if (!Strings.isNullOrEmpty(nextPageToken)) {
       request = request.toBuilder().setPageToken(nextPageToken).build();
     } else {
       break;
     }
   }
 }
 
Returns
TypeDescription
UnaryCallable<ListFeaturesRequest,ListFeaturesResponse>

listFeaturesPagedCallable()

public final UnaryCallable<ListFeaturesRequest,FeaturestoreServiceClient.ListFeaturesPagedResponse> listFeaturesPagedCallable()

Lists Features in a given EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   ListFeaturesRequest request =
       ListFeaturesRequest.newBuilder()
           .setParent(
               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
                   .toString())
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .setOrderBy("orderBy-1207110587")
           .setReadMask(FieldMask.newBuilder().build())
           .setLatestStatsCount(-878108489)
           .build();
   ApiFuture
Returns
TypeDescription
UnaryCallable<ListFeaturesRequest,ListFeaturesPagedResponse>

listFeaturestores(ListFeaturestoresRequest request)

public final FeaturestoreServiceClient.ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresRequest request)

Lists Featurestores in a given project and location.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   ListFeaturestoresRequest request =
       ListFeaturestoresRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .setOrderBy("orderBy-1207110587")
           .setReadMask(FieldMask.newBuilder().build())
           .build();
   for (Featurestore element :
       featurestoreServiceClient.listFeaturestores(request).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
NameDescription
requestListFeaturestoresRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
FeaturestoreServiceClient.ListFeaturestoresPagedResponse

listFeaturestores(LocationName parent)

public final FeaturestoreServiceClient.ListFeaturestoresPagedResponse listFeaturestores(LocationName parent)

Lists Featurestores in a given project and location.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
   for (Featurestore element :
       featurestoreServiceClient.listFeaturestores(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
NameDescription
parentLocationName

Required. The resource name of the Location to list Featurestores. Format: projects/{project}/locations/{location}

Returns
TypeDescription
FeaturestoreServiceClient.ListFeaturestoresPagedResponse

listFeaturestores(String parent)

public final FeaturestoreServiceClient.ListFeaturestoresPagedResponse listFeaturestores(String parent)

Lists Featurestores in a given project and location.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
   for (Featurestore element :
       featurestoreServiceClient.listFeaturestores(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
NameDescription
parentString

Required. The resource name of the Location to list Featurestores. Format: projects/{project}/locations/{location}

Returns
TypeDescription
FeaturestoreServiceClient.ListFeaturestoresPagedResponse

listFeaturestoresCallable()

public final UnaryCallable<ListFeaturestoresRequest,ListFeaturestoresResponse> listFeaturestoresCallable()

Lists Featurestores in a given project and location.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   ListFeaturestoresRequest request =
       ListFeaturestoresRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .setOrderBy("orderBy-1207110587")
           .setReadMask(FieldMask.newBuilder().build())
           .build();
   while (true) {
     ListFeaturestoresResponse response =
         featurestoreServiceClient.listFeaturestoresCallable().call(request);
     for (Featurestore element : response.getResponsesList()) {
       // doThingsWith(element);
     }
     String nextPageToken = response.getNextPageToken();
     if (!Strings.isNullOrEmpty(nextPageToken)) {
       request = request.toBuilder().setPageToken(nextPageToken).build();
     } else {
       break;
     }
   }
 }
 
Returns
TypeDescription
UnaryCallable<ListFeaturestoresRequest,ListFeaturestoresResponse>

listFeaturestoresPagedCallable()

public final UnaryCallable<ListFeaturestoresRequest,FeaturestoreServiceClient.ListFeaturestoresPagedResponse> listFeaturestoresPagedCallable()

Lists Featurestores in a given project and location.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   ListFeaturestoresRequest request =
       ListFeaturestoresRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .setOrderBy("orderBy-1207110587")
           .setReadMask(FieldMask.newBuilder().build())
           .build();
   ApiFuture
Returns
TypeDescription
UnaryCallable<ListFeaturestoresRequest,ListFeaturestoresPagedResponse>

searchFeatures(LocationName location)

public final FeaturestoreServiceClient.SearchFeaturesPagedResponse searchFeatures(LocationName location)

Searches Features matching a query in a given project.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   LocationName location = LocationName.of("[PROJECT]", "[LOCATION]");
   for (Feature element : featurestoreServiceClient.searchFeatures(location).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
NameDescription
locationLocationName

Required. The resource name of the Location to search Features. Format: projects/{project}/locations/{location}

Returns
TypeDescription
FeaturestoreServiceClient.SearchFeaturesPagedResponse

searchFeatures(LocationName location, String query)

public final FeaturestoreServiceClient.SearchFeaturesPagedResponse searchFeatures(LocationName location, String query)

Searches Features matching a query in a given project.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   LocationName location = LocationName.of("[PROJECT]", "[LOCATION]");
   String query = "query107944136";
   for (Feature element :
       featurestoreServiceClient.searchFeatures(location, query).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameters
NameDescription
locationLocationName

Required. The resource name of the Location to search Features. Format: projects/{project}/locations/{location}

queryString

Query string that is a conjunction of field-restricted queries and/or field-restricted filters. Field-restricted queries and filters can be combined using AND to form a conjunction.

A field query is in the form FIELD:QUERY. This implicitly checks if QUERY exists as a substring within Feature's FIELD. The QUERY and the FIELD are converted to a sequence of words (i.e. tokens) for comparison. This is done by:

* Removing leading/trailing whitespace and tokenizing the search value. Characters that are not one of alphanumeric [a-zA-Z0-9], underscore _, or asterisk * are treated as delimiters for tokens. * is treated as a wildcard that matches characters within a token. * Ignoring case. * Prepending an asterisk to the first and appending an asterisk to the last token in QUERY.

A QUERY must be either a singular token or a phrase. A phrase is one or multiple words enclosed in double quotation marks ("). With phrases, the order of the words is important. Words in the phrase must be matching in order and consecutively.

Supported FIELDs for field-restricted queries:

  • feature_id
  • description
  • entity_type_id

Examples:

  • feature_id: foo --> Matches a Feature with ID containing the substring foo (eg. foo, foofeature, barfoo).
  • feature_id: foo*feature --> Matches a Feature with ID containing the substring foo*feature (eg. foobarfeature).
  • feature_id: foo AND description: bar --> Matches a Feature with ID containing the substring foo and description containing the substring bar.

Besides field queries, the following exact-match filters are supported. The exact-match filters do not support wildcards. Unlike field-restricted queries, exact-match filters are case-sensitive.

  • feature_id: Supports = comparisons.
  • description: Supports = comparisons. Multi-token filters should be enclosed in quotes.
  • entity_type_id: Supports = comparisons.
  • value_type: Supports = and != comparisons.
  • labels: Supports key-value equality as well as key presence.
  • featurestore_id: Supports = comparisons.

Examples:

  • description = "foo bar" --> Any Feature with description exactly equal to foo bar
  • value_type = DOUBLE --> Features whose type is DOUBLE.
  • labels.active = yes AND labels.env = prod --> Features having both (active: yes) and (env: prod) labels.
  • labels.env: * --> Any Feature which has a label with env as the key.

Returns
TypeDescription
FeaturestoreServiceClient.SearchFeaturesPagedResponse

searchFeatures(SearchFeaturesRequest request)

public final FeaturestoreServiceClient.SearchFeaturesPagedResponse searchFeatures(SearchFeaturesRequest request)

Searches Features matching a query in a given project.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   SearchFeaturesRequest request =
       SearchFeaturesRequest.newBuilder()
           .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setQuery("query107944136")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   for (Feature element : featurestoreServiceClient.searchFeatures(request).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
NameDescription
requestSearchFeaturesRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
FeaturestoreServiceClient.SearchFeaturesPagedResponse

searchFeatures(String location)

public final FeaturestoreServiceClient.SearchFeaturesPagedResponse searchFeatures(String location)

Searches Features matching a query in a given project.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String location = LocationName.of("[PROJECT]", "[LOCATION]").toString();
   for (Feature element : featurestoreServiceClient.searchFeatures(location).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
NameDescription
locationString

Required. The resource name of the Location to search Features. Format: projects/{project}/locations/{location}

Returns
TypeDescription
FeaturestoreServiceClient.SearchFeaturesPagedResponse

searchFeatures(String location, String query)

public final FeaturestoreServiceClient.SearchFeaturesPagedResponse searchFeatures(String location, String query)

Searches Features matching a query in a given project.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   String location = LocationName.of("[PROJECT]", "[LOCATION]").toString();
   String query = "query107944136";
   for (Feature element :
       featurestoreServiceClient.searchFeatures(location, query).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameters
NameDescription
locationString

Required. The resource name of the Location to search Features. Format: projects/{project}/locations/{location}

queryString

Query string that is a conjunction of field-restricted queries and/or field-restricted filters. Field-restricted queries and filters can be combined using AND to form a conjunction.

A field query is in the form FIELD:QUERY. This implicitly checks if QUERY exists as a substring within Feature's FIELD. The QUERY and the FIELD are converted to a sequence of words (i.e. tokens) for comparison. This is done by:

* Removing leading/trailing whitespace and tokenizing the search value. Characters that are not one of alphanumeric [a-zA-Z0-9], underscore _, or asterisk * are treated as delimiters for tokens. * is treated as a wildcard that matches characters within a token. * Ignoring case. * Prepending an asterisk to the first and appending an asterisk to the last token in QUERY.

A QUERY must be either a singular token or a phrase. A phrase is one or multiple words enclosed in double quotation marks ("). With phrases, the order of the words is important. Words in the phrase must be matching in order and consecutively.

Supported FIELDs for field-restricted queries:

  • feature_id
  • description
  • entity_type_id

Examples:

  • feature_id: foo --> Matches a Feature with ID containing the substring foo (eg. foo, foofeature, barfoo).
  • feature_id: foo*feature --> Matches a Feature with ID containing the substring foo*feature (eg. foobarfeature).
  • feature_id: foo AND description: bar --> Matches a Feature with ID containing the substring foo and description containing the substring bar.

Besides field queries, the following exact-match filters are supported. The exact-match filters do not support wildcards. Unlike field-restricted queries, exact-match filters are case-sensitive.

  • feature_id: Supports = comparisons.
  • description: Supports = comparisons. Multi-token filters should be enclosed in quotes.
  • entity_type_id: Supports = comparisons.
  • value_type: Supports = and != comparisons.
  • labels: Supports key-value equality as well as key presence.
  • featurestore_id: Supports = comparisons.

Examples:

  • description = "foo bar" --> Any Feature with description exactly equal to foo bar
  • value_type = DOUBLE --> Features whose type is DOUBLE.
  • labels.active = yes AND labels.env = prod --> Features having both (active: yes) and (env: prod) labels.
  • labels.env: * --> Any Feature which has a label with env as the key.

Returns
TypeDescription
FeaturestoreServiceClient.SearchFeaturesPagedResponse

searchFeaturesCallable()

public final UnaryCallable<SearchFeaturesRequest,SearchFeaturesResponse> searchFeaturesCallable()

Searches Features matching a query in a given project.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   SearchFeaturesRequest request =
       SearchFeaturesRequest.newBuilder()
           .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setQuery("query107944136")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   while (true) {
     SearchFeaturesResponse response =
         featurestoreServiceClient.searchFeaturesCallable().call(request);
     for (Feature element : response.getResponsesList()) {
       // doThingsWith(element);
     }
     String nextPageToken = response.getNextPageToken();
     if (!Strings.isNullOrEmpty(nextPageToken)) {
       request = request.toBuilder().setPageToken(nextPageToken).build();
     } else {
       break;
     }
   }
 }
 
Returns
TypeDescription
UnaryCallable<SearchFeaturesRequest,SearchFeaturesResponse>

searchFeaturesPagedCallable()

public final UnaryCallable<SearchFeaturesRequest,FeaturestoreServiceClient.SearchFeaturesPagedResponse> searchFeaturesPagedCallable()

Searches Features matching a query in a given project.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   SearchFeaturesRequest request =
       SearchFeaturesRequest.newBuilder()
           .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setQuery("query107944136")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   ApiFuture
Returns
TypeDescription
UnaryCallable<SearchFeaturesRequest,SearchFeaturesPagedResponse>

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateEntityType(EntityType entityType, FieldMask updateMask)

public final EntityType updateEntityType(EntityType entityType, FieldMask updateMask)

Updates the parameters of a single EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   EntityType entityType = EntityType.newBuilder().build();
   FieldMask updateMask = FieldMask.newBuilder().build();
   EntityType response = featurestoreServiceClient.updateEntityType(entityType, updateMask);
 }
 
Parameters
NameDescription
entityTypeEntityType

Required. The EntityType's name field is used to identify the EntityType to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

updateMaskFieldMask

Field mask is used to specify the fields to be overwritten in the EntityType resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields.

Updatable fields:

* description * labels * monitoring_config.snapshot_analysis.disabled * monitoring_config.snapshot_analysis.monitoring_interval

Returns
TypeDescription
EntityType

updateEntityType(UpdateEntityTypeRequest request)

public final EntityType updateEntityType(UpdateEntityTypeRequest request)

Updates the parameters of a single EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   UpdateEntityTypeRequest request =
       UpdateEntityTypeRequest.newBuilder()
           .setEntityType(EntityType.newBuilder().build())
           .setUpdateMask(FieldMask.newBuilder().build())
           .build();
   EntityType response = featurestoreServiceClient.updateEntityType(request);
 }
 
Parameter
NameDescription
requestUpdateEntityTypeRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
EntityType

updateEntityTypeCallable()

public final UnaryCallable<UpdateEntityTypeRequest,EntityType> updateEntityTypeCallable()

Updates the parameters of a single EntityType.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   UpdateEntityTypeRequest request =
       UpdateEntityTypeRequest.newBuilder()
           .setEntityType(EntityType.newBuilder().build())
           .setUpdateMask(FieldMask.newBuilder().build())
           .build();
   ApiFuture
Returns
TypeDescription
UnaryCallable<UpdateEntityTypeRequest,EntityType>

updateFeature(Feature feature, FieldMask updateMask)

public final Feature updateFeature(Feature feature, FieldMask updateMask)

Updates the parameters of a single Feature.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   Feature feature = Feature.newBuilder().build();
   FieldMask updateMask = FieldMask.newBuilder().build();
   Feature response = featurestoreServiceClient.updateFeature(feature, updateMask);
 }
 
Parameters
NameDescription
featureFeature

Required. The Feature's name field is used to identify the Feature to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}

updateMaskFieldMask

Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields.

Updatable fields:

* description * labels * monitoring_config.snapshot_analysis.disabled * monitoring_config.snapshot_analysis.monitoring_interval

Returns
TypeDescription
Feature

updateFeature(UpdateFeatureRequest request)

public final Feature updateFeature(UpdateFeatureRequest request)

Updates the parameters of a single Feature.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   UpdateFeatureRequest request =
       UpdateFeatureRequest.newBuilder()
           .setFeature(Feature.newBuilder().build())
           .setUpdateMask(FieldMask.newBuilder().build())
           .build();
   Feature response = featurestoreServiceClient.updateFeature(request);
 }
 
Parameter
NameDescription
requestUpdateFeatureRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
Feature

updateFeatureCallable()

public final UnaryCallable<UpdateFeatureRequest,Feature> updateFeatureCallable()

Updates the parameters of a single Feature.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   UpdateFeatureRequest request =
       UpdateFeatureRequest.newBuilder()
           .setFeature(Feature.newBuilder().build())
           .setUpdateMask(FieldMask.newBuilder().build())
           .build();
   ApiFuture
Returns
TypeDescription
UnaryCallable<UpdateFeatureRequest,Feature>

updateFeaturestoreAsync(Featurestore featurestore, FieldMask updateMask)

public final OperationFuture<Featurestore,UpdateFeaturestoreOperationMetadata> updateFeaturestoreAsync(Featurestore featurestore, FieldMask updateMask)

Updates the parameters of a single Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   Featurestore featurestore = Featurestore.newBuilder().build();
   FieldMask updateMask = FieldMask.newBuilder().build();
   Featurestore response =
       featurestoreServiceClient.updateFeaturestoreAsync(featurestore, updateMask).get();
 }
 
Parameters
NameDescription
featurestoreFeaturestore

Required. The Featurestore's name field is used to identify the Featurestore to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

updateMaskFieldMask

Field mask is used to specify the fields to be overwritten in the Featurestore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields.

Updatable fields:

* labels * online_serving_config.fixed_node_count

Returns
TypeDescription
OperationFuture<Featurestore,UpdateFeaturestoreOperationMetadata>

updateFeaturestoreAsync(UpdateFeaturestoreRequest request)

public final OperationFuture<Featurestore,UpdateFeaturestoreOperationMetadata> updateFeaturestoreAsync(UpdateFeaturestoreRequest request)

Updates the parameters of a single Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   UpdateFeaturestoreRequest request =
       UpdateFeaturestoreRequest.newBuilder()
           .setFeaturestore(Featurestore.newBuilder().build())
           .setUpdateMask(FieldMask.newBuilder().build())
           .build();
   Featurestore response = featurestoreServiceClient.updateFeaturestoreAsync(request).get();
 }
 
Parameter
NameDescription
requestUpdateFeaturestoreRequest

The request object containing all of the parameters for the API call.

Returns
TypeDescription
OperationFuture<Featurestore,UpdateFeaturestoreOperationMetadata>

updateFeaturestoreCallable()

public final UnaryCallable<UpdateFeaturestoreRequest,Operation> updateFeaturestoreCallable()

Updates the parameters of a single Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   UpdateFeaturestoreRequest request =
       UpdateFeaturestoreRequest.newBuilder()
           .setFeaturestore(Featurestore.newBuilder().build())
           .setUpdateMask(FieldMask.newBuilder().build())
           .build();
   ApiFuture
Returns
TypeDescription
UnaryCallable<UpdateFeaturestoreRequest,Operation>

updateFeaturestoreOperationCallable()

public final OperationCallable<UpdateFeaturestoreRequest,Featurestore,UpdateFeaturestoreOperationMetadata> updateFeaturestoreOperationCallable()

Updates the parameters of a single Featurestore.

Sample code:


 try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
   UpdateFeaturestoreRequest request =
       UpdateFeaturestoreRequest.newBuilder()
           .setFeaturestore(Featurestore.newBuilder().build())
           .setUpdateMask(FieldMask.newBuilder().build())
           .build();
   OperationFuture
Returns
TypeDescription
OperationCallable<UpdateFeaturestoreRequest,Featurestore,UpdateFeaturestoreOperationMetadata>