@@ -226,6 +226,85 @@ public final OperationsClient getOperationsClient() {
226226 return createFeaturestoreAsync (request );
227227 }
228228
229+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
230+ /**
231+ * Creates a new Featurestore in a given project and location.
232+ *
233+ * <p>Sample code:
234+ *
235+ * <pre>{@code
236+ * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
237+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
238+ * Featurestore featurestore = Featurestore.newBuilder().build();
239+ * String featurestoreId = "featurestoreId-1315851738";
240+ * Featurestore response =
241+ * featurestoreServiceClient
242+ * .createFeaturestoreAsync(parent, featurestore, featurestoreId)
243+ * .get();
244+ * }
245+ * }</pre>
246+ *
247+ * @param parent Required. The resource name of the Location to create Featurestores. Format:
248+ * `projects/{project}/locations/{location}'`
249+ * @param featurestore Required. The Featurestore to create.
250+ * @param featurestoreId Required. The ID to use for this Featurestore, which will become the
251+ * final component of the Featurestore's resource name.
252+ * <p>This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first
253+ * character cannot be a number.
254+ * <p>The value must be unique within the project and location.
255+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
256+ */
257+ public final OperationFuture <Featurestore , CreateFeaturestoreOperationMetadata >
258+ createFeaturestoreAsync (
259+ LocationName parent , Featurestore featurestore , String featurestoreId ) {
260+ CreateFeaturestoreRequest request =
261+ CreateFeaturestoreRequest .newBuilder ()
262+ .setParent (parent == null ? null : parent .toString ())
263+ .setFeaturestore (featurestore )
264+ .setFeaturestoreId (featurestoreId )
265+ .build ();
266+ return createFeaturestoreAsync (request );
267+ }
268+
269+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
270+ /**
271+ * Creates a new Featurestore in a given project and location.
272+ *
273+ * <p>Sample code:
274+ *
275+ * <pre>{@code
276+ * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
277+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
278+ * Featurestore featurestore = Featurestore.newBuilder().build();
279+ * String featurestoreId = "featurestoreId-1315851738";
280+ * Featurestore response =
281+ * featurestoreServiceClient
282+ * .createFeaturestoreAsync(parent, featurestore, featurestoreId)
283+ * .get();
284+ * }
285+ * }</pre>
286+ *
287+ * @param parent Required. The resource name of the Location to create Featurestores. Format:
288+ * `projects/{project}/locations/{location}'`
289+ * @param featurestore Required. The Featurestore to create.
290+ * @param featurestoreId Required. The ID to use for this Featurestore, which will become the
291+ * final component of the Featurestore's resource name.
292+ * <p>This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first
293+ * character cannot be a number.
294+ * <p>The value must be unique within the project and location.
295+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
296+ */
297+ public final OperationFuture <Featurestore , CreateFeaturestoreOperationMetadata >
298+ createFeaturestoreAsync (String parent , Featurestore featurestore , String featurestoreId ) {
299+ CreateFeaturestoreRequest request =
300+ CreateFeaturestoreRequest .newBuilder ()
301+ .setParent (parent )
302+ .setFeaturestore (featurestore )
303+ .setFeaturestoreId (featurestoreId )
304+ .build ();
305+ return createFeaturestoreAsync (request );
306+ }
307+
229308 // AUTO-GENERATED DOCUMENTATION AND METHOD.
230309 /**
231310 * Creates a new Featurestore in a given project and location.
@@ -904,6 +983,80 @@ public final OperationFuture<EntityType, CreateEntityTypeOperationMetadata> crea
904983 return createEntityTypeAsync (request );
905984 }
906985
986+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
987+ /**
988+ * Creates a new EntityType in a given Featurestore.
989+ *
990+ * <p>Sample code:
991+ *
992+ * <pre>{@code
993+ * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
994+ * FeaturestoreName parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
995+ * EntityType entityType = EntityType.newBuilder().build();
996+ * String entityTypeId = "entityTypeId767740856";
997+ * EntityType response =
998+ * featurestoreServiceClient.createEntityTypeAsync(parent, entityType, entityTypeId).get();
999+ * }
1000+ * }</pre>
1001+ *
1002+ * @param parent Required. The resource name of the Featurestore to create EntityTypes. Format:
1003+ * `projects/{project}/locations/{location}/featurestores/{featurestore}`
1004+ * @param entityType The EntityType to create.
1005+ * @param entityTypeId Required. The ID to use for the EntityType, which will become the final
1006+ * component of the EntityType's resource name.
1007+ * <p>This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first
1008+ * character cannot be a number.
1009+ * <p>The value must be unique within a featurestore.
1010+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
1011+ */
1012+ public final OperationFuture <EntityType , CreateEntityTypeOperationMetadata > createEntityTypeAsync (
1013+ FeaturestoreName parent , EntityType entityType , String entityTypeId ) {
1014+ CreateEntityTypeRequest request =
1015+ CreateEntityTypeRequest .newBuilder ()
1016+ .setParent (parent == null ? null : parent .toString ())
1017+ .setEntityType (entityType )
1018+ .setEntityTypeId (entityTypeId )
1019+ .build ();
1020+ return createEntityTypeAsync (request );
1021+ }
1022+
1023+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
1024+ /**
1025+ * Creates a new EntityType in a given Featurestore.
1026+ *
1027+ * <p>Sample code:
1028+ *
1029+ * <pre>{@code
1030+ * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
1031+ * String parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
1032+ * EntityType entityType = EntityType.newBuilder().build();
1033+ * String entityTypeId = "entityTypeId767740856";
1034+ * EntityType response =
1035+ * featurestoreServiceClient.createEntityTypeAsync(parent, entityType, entityTypeId).get();
1036+ * }
1037+ * }</pre>
1038+ *
1039+ * @param parent Required. The resource name of the Featurestore to create EntityTypes. Format:
1040+ * `projects/{project}/locations/{location}/featurestores/{featurestore}`
1041+ * @param entityType The EntityType to create.
1042+ * @param entityTypeId Required. The ID to use for the EntityType, which will become the final
1043+ * component of the EntityType's resource name.
1044+ * <p>This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first
1045+ * character cannot be a number.
1046+ * <p>The value must be unique within a featurestore.
1047+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
1048+ */
1049+ public final OperationFuture <EntityType , CreateEntityTypeOperationMetadata > createEntityTypeAsync (
1050+ String parent , EntityType entityType , String entityTypeId ) {
1051+ CreateEntityTypeRequest request =
1052+ CreateEntityTypeRequest .newBuilder ()
1053+ .setParent (parent )
1054+ .setEntityType (entityType )
1055+ .setEntityTypeId (entityTypeId )
1056+ .build ();
1057+ return createEntityTypeAsync (request );
1058+ }
1059+
9071060 // AUTO-GENERATED DOCUMENTATION AND METHOD.
9081061 /**
9091062 * Creates a new EntityType in a given Featurestore.
@@ -1574,6 +1727,83 @@ public final OperationFuture<Feature, CreateFeatureOperationMetadata> createFeat
15741727 return createFeatureAsync (request );
15751728 }
15761729
1730+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
1731+ /**
1732+ * Creates a new Feature in a given EntityType.
1733+ *
1734+ * <p>Sample code:
1735+ *
1736+ * <pre>{@code
1737+ * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
1738+ * EntityTypeName parent =
1739+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
1740+ * Feature feature = Feature.newBuilder().build();
1741+ * String featureId = "featureId-420503887";
1742+ * Feature response =
1743+ * featurestoreServiceClient.createFeatureAsync(parent, feature, featureId).get();
1744+ * }
1745+ * }</pre>
1746+ *
1747+ * @param parent Required. The resource name of the EntityType to create a Feature. Format:
1748+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
1749+ * @param feature Required. The Feature to create.
1750+ * @param featureId Required. The ID to use for the Feature, which will become the final component
1751+ * of the Feature's resource name.
1752+ * <p>This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first
1753+ * character cannot be a number.
1754+ * <p>The value must be unique within an EntityType.
1755+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
1756+ */
1757+ public final OperationFuture <Feature , CreateFeatureOperationMetadata > createFeatureAsync (
1758+ EntityTypeName parent , Feature feature , String featureId ) {
1759+ CreateFeatureRequest request =
1760+ CreateFeatureRequest .newBuilder ()
1761+ .setParent (parent == null ? null : parent .toString ())
1762+ .setFeature (feature )
1763+ .setFeatureId (featureId )
1764+ .build ();
1765+ return createFeatureAsync (request );
1766+ }
1767+
1768+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
1769+ /**
1770+ * Creates a new Feature in a given EntityType.
1771+ *
1772+ * <p>Sample code:
1773+ *
1774+ * <pre>{@code
1775+ * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
1776+ * String parent =
1777+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
1778+ * .toString();
1779+ * Feature feature = Feature.newBuilder().build();
1780+ * String featureId = "featureId-420503887";
1781+ * Feature response =
1782+ * featurestoreServiceClient.createFeatureAsync(parent, feature, featureId).get();
1783+ * }
1784+ * }</pre>
1785+ *
1786+ * @param parent Required. The resource name of the EntityType to create a Feature. Format:
1787+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
1788+ * @param feature Required. The Feature to create.
1789+ * @param featureId Required. The ID to use for the Feature, which will become the final component
1790+ * of the Feature's resource name.
1791+ * <p>This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first
1792+ * character cannot be a number.
1793+ * <p>The value must be unique within an EntityType.
1794+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
1795+ */
1796+ public final OperationFuture <Feature , CreateFeatureOperationMetadata > createFeatureAsync (
1797+ String parent , Feature feature , String featureId ) {
1798+ CreateFeatureRequest request =
1799+ CreateFeatureRequest .newBuilder ()
1800+ .setParent (parent )
1801+ .setFeature (feature )
1802+ .setFeatureId (featureId )
1803+ .build ();
1804+ return createFeatureAsync (request );
1805+ }
1806+
15771807 // AUTO-GENERATED DOCUMENTATION AND METHOD.
15781808 /**
15791809 * Creates a new Feature in a given EntityType.
0 commit comments