From 5352821b5cc151131728a072adeb3f146edee9fc Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Thu, 16 Nov 2023 19:12:39 +0000
Subject: [PATCH] feat: [aiplatform] add ComputeTokens API (#10053)
- [ ] Regenerate this pull request now.
PiperOrigin-RevId: 582473450
Source-Link: https://togithub.com/googleapis/googleapis/commit/a9e4e72e32b550a5451030feae99d1602ee40e0d
Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/56ea7e1c067eed56256ba6310f44d6b94c67748a
Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiI1NmVhN2UxYzA2N2VlZDU2MjU2YmE2MzEwZjQ0ZDZiOTRjNjc3NDhhIn0=
BEGIN_NESTED_COMMIT
feat: [aiplatform] add deployment_timeout to UploadModel ModelContainerSpec
feat: add shared_memory_size_mb to UploadModel ModelContainerSpec
feat: add startup_probe, health_probe to UploadModel ModelContainerSpec
PiperOrigin-RevId: 582390619
Source-Link: https://togithub.com/googleapis/googleapis/commit/49c44ef1f0959f7d5c44a88357b18a9a057c580b
Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/7a1c0d15b82e062678a516d18551c67c1b0176aa
Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiI3YTFjMGQxNWI4MmUwNjI2NzhhNTE2ZDE4NTUxYzY3YzFiMDE3NmFhIn0=
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
feat: [aiplatform] add deployment_timeout to UploadModel ModelContainerSpec
feat: add shared_memory_size_mb to UploadModel ModelContainerSpec
feat: add startup_probe, health_probe to UploadModel ModelContainerSpec
PiperOrigin-RevId: 582381401
Source-Link: https://togithub.com/googleapis/googleapis/commit/92d962d3814b061a905437e05ea1e249f7a30c4d
Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/c19c7a7fa3eac85508a2fe0afe177d76f510fcaf
Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiJjMTljN2E3ZmEzZWFjODU1MDhhMmZlMGFmZTE3N2Q3NmY1MTBmY2FmIn0=
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
feat: [aiplatform] add ComputeTokens and CountTokens API
PiperOrigin-RevId: 582364082
Source-Link: https://togithub.com/googleapis/googleapis/commit/fdea53f759cb7a8e6167af8740ca9cfc850bfae9
Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/295f8eab2a87743dccc65b88e73d71f480323023
Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiIyOTVmOGVhYjJhODc3NDNkY2NjNjViODhlNzNkNzFmNDgwMzIzMDIzIn0=
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
feat: [aiplatform] add protected_artifact_location_id to CustomJob
feat: add value_type, version_column_name to Feature
feat: add FeatureGroup, FeatureOnlineStore, FeatureOnlineStoreAdminService, FeatureOnlineStoreService, FeatureRegistryService, FeatureView, FeatureViewSync
feat: add NumericRestriction to Index
feat: add tpu_topology to MachineSpec
chore: change DeleteOperationMetadata to DeleteModelVersionOperationMetadata in ModelService
feat: add CountTokensRequest to PredictionService
feat: add StudyTimeConstraint to Study
PiperOrigin-RevId: 581306827
Source-Link: https://togithub.com/googleapis/googleapis/commit/01af66acc8111ec1e4d6831e31952dabe530c694
Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/842299dec7a7f5d7622b2a918aaa1888812d80dc
Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiI4NDIyOTlkZWM3YTdmNWQ3NjIyYjJhOTE4YWFhMTg4ODgxMmQ4MGRjIn0=
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
feat: [aiplatform] add protected_artifact_location_id to CustomJob
chore: add comment fixes to Feature and FeaturestoreService
feat!: add FeatureViewDataFormat, FeatureViewDataKey to FeatureOnlineStoreService
feat: add NumericRestriction to Index
feat: add tpu_topology to MachineResources
feat: add BatchDeletePipelineJobs, BatchDeletePipelineJobsRequest and BatchDeletePipelineJobsResponse to PipelineService
feat: add StudyTimeConstraint to Study
PiperOrigin-RevId: 581306075
Source-Link: https://togithub.com/googleapis/googleapis/commit/7603960c7cf66ab44c4c3c75156f25dbceffc3f1
Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/9d03dc661bc2b672029b6cc640a4d7f3561466e7
Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiI5ZDAzZGM2NjFiYzJiNjcyMDI5YjZjYzY0MGE0ZDdmMzU2MTQ2NmU3In0=
END_NESTED_COMMIT
---
java-aiplatform/README.md | 4 +-
.../FeatureOnlineStoreAdminServiceClient.java | 3039 ++++++++
...eatureOnlineStoreAdminServiceSettings.java | 526 ++
.../v1/FeatureOnlineStoreServiceClient.java | 806 ++
.../v1/FeatureOnlineStoreServiceSettings.java | 258 +
.../v1/FeatureRegistryServiceClient.java | 2510 +++++++
.../v1/FeatureRegistryServiceSettings.java | 445 ++
.../v1/FeaturestoreServiceClient.java | 187 +-
.../v1/LlmUtilityServiceClient.java | 912 +++
.../v1/LlmUtilityServiceSettings.java | 265 +
.../cloud/aiplatform/v1/gapic_metadata.json | 178 +-
.../cloud/aiplatform/v1/package-info.java | 81 +
.../FeatureOnlineStoreAdminServiceStub.java | 226 +
...reOnlineStoreAdminServiceStubSettings.java | 1350 ++++
.../stub/FeatureOnlineStoreServiceStub.java | 78 +
...FeatureOnlineStoreServiceStubSettings.java | 467 ++
.../v1/stub/FeatureRegistryServiceStub.java | 185 +
.../FeatureRegistryServiceStubSettings.java | 1118 +++
...nlineStoreAdminServiceCallableFactory.java | 113 +
...rpcFeatureOnlineStoreAdminServiceStub.java | 915 +++
...tureOnlineStoreServiceCallableFactory.java | 113 +
.../GrpcFeatureOnlineStoreServiceStub.java | 338 +
...FeatureRegistryServiceCallableFactory.java | 113 +
.../stub/GrpcFeatureRegistryServiceStub.java | 740 ++
.../GrpcLlmUtilityServiceCallableFactory.java | 113 +
.../v1/stub/GrpcLlmUtilityServiceStub.java | 362 +
.../v1/stub/LlmUtilityServiceStub.java | 83 +
.../stub/LlmUtilityServiceStubSettings.java | 490 ++
.../FeatureOnlineStoreServiceClient.java | 34 +-
.../v1beta1/FeatureRegistryServiceClient.java | 39 +-
.../v1beta1/FeaturestoreServiceClient.java | 57 +-
.../v1beta1/LlmUtilityServiceClient.java | 782 ++
.../v1beta1/LlmUtilityServiceSettings.java | 255 +
.../v1beta1/PipelineServiceClient.java | 168 +
.../v1beta1/PipelineServiceSettings.java | 29 +
.../aiplatform/v1beta1/gapic_metadata.json | 30 +
.../aiplatform/v1beta1/package-info.java | 24 +-
.../GrpcLlmUtilityServiceCallableFactory.java | 115 +
.../stub/GrpcLlmUtilityServiceStub.java | 333 +
.../v1beta1/stub/GrpcPipelineServiceStub.java | 53 +
.../v1beta1/stub/LlmUtilityServiceStub.java | 79 +
.../stub/LlmUtilityServiceStubSettings.java | 465 ++
.../v1beta1/stub/PipelineServiceStub.java | 14 +
.../stub/PipelineServiceStubSettings.java | 84 +
.../reflect-config.json | 1167 ++-
.../reflect-config.json | 216 +
...tureOnlineStoreAdminServiceClientTest.java | 1547 ++++
.../FeatureOnlineStoreServiceClientTest.java | 445 ++
.../v1/FeatureRegistryServiceClientTest.java | 1383 ++++
.../v1/FeaturestoreServiceClientTest.java | 212 +-
.../v1/LlmUtilityServiceClientTest.java | 533 ++
.../MockFeatureOnlineStoreAdminService.java | 59 +
...ockFeatureOnlineStoreAdminServiceImpl.java | 336 +
.../v1/MockFeatureOnlineStoreService.java | 59 +
.../v1/MockFeatureOnlineStoreServiceImpl.java | 82 +
.../v1/MockFeatureRegistryService.java | 59 +
.../v1/MockFeatureRegistryServiceImpl.java | 271 +
.../aiplatform/v1/MockLlmUtilityService.java | 59 +
.../v1/MockLlmUtilityServiceImpl.java | 102 +
.../FeatureOnlineStoreServiceClientTest.java | 20 +-
.../FeatureRegistryServiceClientTest.java | 6 +
.../FeaturestoreServiceClientTest.java | 9 +
.../v1beta1/LlmUtilityServiceClientTest.java | 447 ++
.../v1beta1/MockLlmUtilityService.java | 59 +
.../v1beta1/MockLlmUtilityServiceImpl.java | 81 +
.../v1beta1/MockPipelineServiceImpl.java | 21 +
.../v1beta1/PipelineServiceClientTest.java | 102 +
.../FeatureOnlineStoreAdminServiceGrpc.java | 1874 +++++
.../v1/FeatureOnlineStoreServiceGrpc.java | 355 +
.../v1/FeatureRegistryServiceGrpc.java | 1431 ++++
.../aiplatform/v1/LlmUtilityServiceGrpc.java | 502 ++
.../v1beta1/LlmUtilityServiceGrpc.java | 382 +
.../v1beta1/PipelineServiceGrpc.java | 131 +-
.../aiplatform/v1/ComputeTokensRequest.java | 1218 +++
.../v1/ComputeTokensRequestOrBuilder.java | 122 +
.../aiplatform/v1/ComputeTokensResponse.java | 983 +++
.../v1/ComputeTokensResponseOrBuilder.java | 87 +
.../aiplatform/v1/CountTokensRequest.java | 1202 +++
.../v1/CountTokensRequestOrBuilder.java | 119 +
.../aiplatform/v1/CountTokensResponse.java | 631 ++
.../v1/CountTokensResponseOrBuilder.java | 52 +
.../CreateFeatureGroupOperationMetadata.java | 727 ++
...eatureGroupOperationMetadataOrBuilder.java | 60 +
.../v1/CreateFeatureGroupRequest.java | 1169 +++
.../CreateFeatureGroupRequestOrBuilder.java | 136 +
...teFeatureOnlineStoreOperationMetadata.java | 734 ++
...OnlineStoreOperationMetadataOrBuilder.java | 60 +
.../v1/CreateFeatureOnlineStoreRequest.java | 1184 +++
...ateFeatureOnlineStoreRequestOrBuilder.java | 136 +
.../aiplatform/v1/CreateFeatureRequest.java | 60 +-
.../v1/CreateFeatureRequestOrBuilder.java | 16 +-
.../CreateFeatureViewOperationMetadata.java | 724 ++
...FeatureViewOperationMetadataOrBuilder.java | 60 +
.../v1/CreateFeatureViewRequest.java | 1274 ++++
.../v1/CreateFeatureViewRequestOrBuilder.java | 152 +
...reateRegistryFeatureOperationMetadata.java | 727 ++
...stryFeatureOperationMetadataOrBuilder.java | 60 +
.../cloud/aiplatform/v1/CustomJobProto.java | 6 +-
.../cloud/aiplatform/v1/CustomJobSpec.java | 256 +-
.../aiplatform/v1/CustomJobSpecOrBuilder.java | 31 +
.../v1/DeleteFeatureGroupRequest.java | 756 ++
.../DeleteFeatureGroupRequestOrBuilder.java | 73 +
.../v1/DeleteFeatureOnlineStoreRequest.java | 763 ++
...eteFeatureOnlineStoreRequestOrBuilder.java | 73 +
.../aiplatform/v1/DeleteFeatureRequest.java | 11 +
.../v1/DeleteFeatureRequestOrBuilder.java | 2 +
.../v1/DeleteFeatureViewRequest.java | 653 ++
.../v1/DeleteFeatureViewRequestOrBuilder.java | 58 +
.../cloud/aiplatform/v1/DeployedIndex.java | 108 +-
.../aiplatform/v1/DeployedIndexOrBuilder.java | 27 +-
.../google/cloud/aiplatform/v1/Feature.java | 437 +-
.../cloud/aiplatform/v1/FeatureGroup.java | 3554 +++++++++
.../cloud/aiplatform/v1/FeatureGroupName.java | 227 +
.../aiplatform/v1/FeatureGroupOrBuilder.java | 334 +
.../aiplatform/v1/FeatureGroupProto.java | 133 +
.../cloud/aiplatform/v1/FeatureName.java | 194 +-
.../aiplatform/v1/FeatureOnlineStore.java | 4135 ++++++++++
.../FeatureOnlineStoreAdminServiceProto.java | 508 ++
.../aiplatform/v1/FeatureOnlineStoreName.java | 231 +
.../v1/FeatureOnlineStoreOrBuilder.java | 335 +
.../v1/FeatureOnlineStoreProto.java | 154 +
.../v1/FeatureOnlineStoreServiceProto.java | 178 +
.../cloud/aiplatform/v1/FeatureOrBuilder.java | 85 +-
.../cloud/aiplatform/v1/FeatureProto.java | 72 +-
.../v1/FeatureRegistryServiceProto.java | 312 +
.../cloud/aiplatform/v1/FeatureView.java | 6651 +++++++++++++++++
.../aiplatform/v1/FeatureViewDataFormat.java | 181 +
.../aiplatform/v1/FeatureViewDataKey.java | 755 ++
.../v1/FeatureViewDataKeyOrBuilder.java | 64 +
.../cloud/aiplatform/v1/FeatureViewName.java | 269 +
.../aiplatform/v1/FeatureViewOrBuilder.java | 395 +
.../cloud/aiplatform/v1/FeatureViewProto.java | 178 +
.../cloud/aiplatform/v1/FeatureViewSync.java | 1454 ++++
.../aiplatform/v1/FeatureViewSyncName.java | 269 +
.../v1/FeatureViewSyncOrBuilder.java | 166 +
.../aiplatform/v1/FeatureViewSyncProto.java | 97 +
.../v1/FetchFeatureValuesRequest.java | 1123 +++
.../FetchFeatureValuesRequestOrBuilder.java | 130 +
.../v1/FetchFeatureValuesResponse.java | 3467 +++++++++
.../FetchFeatureValuesResponseOrBuilder.java | 104 +
.../aiplatform/v1/GetFeatureGroupRequest.java | 641 ++
.../v1/GetFeatureGroupRequestOrBuilder.java | 54 +
.../v1/GetFeatureOnlineStoreRequest.java | 641 ++
...GetFeatureOnlineStoreRequestOrBuilder.java | 54 +
.../aiplatform/v1/GetFeatureRequest.java | 32 +-
.../v1/GetFeatureRequestOrBuilder.java | 8 +-
.../aiplatform/v1/GetFeatureViewRequest.java | 654 ++
.../v1/GetFeatureViewRequestOrBuilder.java | 58 +
.../v1/GetFeatureViewSyncRequest.java | 655 ++
.../GetFeatureViewSyncRequestOrBuilder.java | 58 +
.../cloud/aiplatform/v1/IndexDatapoint.java | 4047 +++++++---
.../v1/IndexDatapointOrBuilder.java | 75 +
.../cloud/aiplatform/v1/IndexProto.java | 56 +-
.../v1/ListFeatureGroupsRequest.java | 1495 ++++
.../v1/ListFeatureGroupsRequestOrBuilder.java | 203 +
.../v1/ListFeatureGroupsResponse.java | 1147 +++
.../ListFeatureGroupsResponseOrBuilder.java | 108 +
.../v1/ListFeatureOnlineStoresRequest.java | 1500 ++++
...stFeatureOnlineStoresRequestOrBuilder.java | 203 +
.../v1/ListFeatureOnlineStoresResponse.java | 1184 +++
...tFeatureOnlineStoresResponseOrBuilder.java | 109 +
.../v1/ListFeatureViewSyncsRequest.java | 1446 ++++
.../ListFeatureViewSyncsRequestOrBuilder.java | 189 +
.../v1/ListFeatureViewSyncsResponse.java | 1154 +++
...ListFeatureViewSyncsResponseOrBuilder.java | 108 +
.../v1/ListFeatureViewsRequest.java | 1516 ++++
.../v1/ListFeatureViewsRequestOrBuilder.java | 209 +
.../v1/ListFeatureViewsResponse.java | 1143 +++
.../v1/ListFeatureViewsResponseOrBuilder.java | 108 +
.../aiplatform/v1/ListFeaturesRequest.java | 78 +-
.../v1/ListFeaturesRequestOrBuilder.java | 21 +-
.../aiplatform/v1/ListFeaturesResponse.java | 4 +
.../aiplatform/v1/LlmUtilityServiceProto.java | 143 +
.../aiplatform/v1/MachineResourcesProto.java | 60 +-
.../cloud/aiplatform/v1/MachineSpec.java | 189 +
.../aiplatform/v1/MachineSpecOrBuilder.java | 27 +
.../aiplatform/v1/ModelContainerSpec.java | 979 +++
.../v1/ModelContainerSpecOrBuilder.java | 140 +
.../cloud/aiplatform/v1/ModelProto.java | 206 +-
.../aiplatform/v1/PredictionServiceProto.java | 100 +-
.../com/google/cloud/aiplatform/v1/Probe.java | 1871 +++++
.../cloud/aiplatform/v1/ProbeOrBuilder.java | 94 +
.../cloud/aiplatform/v1/StudyProto.java | 343 +-
.../google/cloud/aiplatform/v1/StudySpec.java | 3395 ++++++++-
.../aiplatform/v1/StudySpecOrBuilder.java | 45 +
.../aiplatform/v1/StudyTimeConstraint.java | 1103 +++
.../v1/StudyTimeConstraintOrBuilder.java | 97 +
.../aiplatform/v1/SyncFeatureViewRequest.java | 648 ++
.../v1/SyncFeatureViewRequestOrBuilder.java | 56 +
.../v1/SyncFeatureViewResponse.java | 634 ++
.../v1/SyncFeatureViewResponseOrBuilder.java | 52 +
.../cloud/aiplatform/v1/TokensInfo.java | 908 +++
.../aiplatform/v1/TokensInfoOrBuilder.java | 101 +
.../UpdateFeatureGroupOperationMetadata.java | 727 ++
...eatureGroupOperationMetadataOrBuilder.java | 60 +
.../v1/UpdateFeatureGroupRequest.java | 1138 +++
.../UpdateFeatureGroupRequestOrBuilder.java | 137 +
...teFeatureOnlineStoreOperationMetadata.java | 734 ++
...OnlineStoreOperationMetadataOrBuilder.java | 60 +
.../v1/UpdateFeatureOnlineStoreRequest.java | 1177 +++
...ateFeatureOnlineStoreRequestOrBuilder.java | 143 +
.../v1/UpdateFeatureOperationMetadata.java | 719 ++
...dateFeatureOperationMetadataOrBuilder.java | 60 +
.../aiplatform/v1/UpdateFeatureRequest.java | 40 +-
.../v1/UpdateFeatureRequestOrBuilder.java | 9 +-
.../UpdateFeatureViewOperationMetadata.java | 724 ++
...FeatureViewOperationMetadataOrBuilder.java | 60 +
.../v1/UpdateFeatureViewRequest.java | 1138 +++
.../v1/UpdateFeatureViewRequestOrBuilder.java | 137 +
.../cloud/aiplatform/v1/custom_job.proto | 6 +
.../google/cloud/aiplatform/v1/feature.proto | 39 +-
.../cloud/aiplatform/v1/feature_group.proto | 95 +
.../aiplatform/v1/feature_online_store.proto | 118 +
.../feature_online_store_admin_service.proto | 618 ++
.../v1/feature_online_store_service.proto | 121 +
.../v1/feature_registry_service.proto | 333 +
.../cloud/aiplatform/v1/feature_view.proto | 123 +
.../aiplatform/v1/feature_view_sync.proto | 57 +
.../aiplatform/v1/featurestore_service.proto | 39 +-
.../google/cloud/aiplatform/v1/index.proto | 55 +
.../cloud/aiplatform/v1/index_endpoint.proto | 9 +-
.../aiplatform/v1/llm_utility_service.proto | 100 +
.../aiplatform/v1/machine_resources.proto | 4 +
.../google/cloud/aiplatform/v1/model.proto | 48 +
.../aiplatform/v1/prediction_service.proto | 28 +
.../google/cloud/aiplatform/v1/study.proto | 72 +
.../BatchDeletePipelineJobsRequest.java | 1002 +++
...tchDeletePipelineJobsRequestOrBuilder.java | 127 +
.../BatchDeletePipelineJobsResponse.java | 959 +++
...chDeletePipelineJobsResponseOrBuilder.java | 77 +
.../v1beta1/ComputeTokensRequest.java | 1219 +++
.../ComputeTokensRequestOrBuilder.java | 122 +
.../v1beta1/ComputeTokensResponse.java | 985 +++
.../ComputeTokensResponseOrBuilder.java | 87 +
.../v1beta1/CreateFeatureRequest.java | 70 +
.../CreateFeatureRequestOrBuilder.java | 20 +
.../aiplatform/v1beta1/CustomJobProto.java | 6 +-
.../aiplatform/v1beta1/CustomJobSpec.java | 256 +-
.../v1beta1/CustomJobSpecOrBuilder.java | 31 +
.../aiplatform/v1beta1/DeployedIndex.java | 108 +-
.../v1beta1/DeployedIndexOrBuilder.java | 27 +-
.../aiplatform/v1beta1/ExplainResponse.java | 22 +-
.../v1beta1/ExplainResponseOrBuilder.java | 10 +-
.../cloud/aiplatform/v1beta1/Feature.java | 596 +-
.../v1beta1/FeatureOnlineStore.java | 4 +-
.../FeatureOnlineStoreServiceProto.java | 180 +-
.../aiplatform/v1beta1/FeatureOrBuilder.java | 124 +-
.../aiplatform/v1beta1/FeatureProto.java | 58 +-
.../v1beta1/FeatureViewDataFormat.java | 181 +
.../v1beta1/FeatureViewDataKey.java | 756 ++
.../v1beta1/FeatureViewDataKeyOrBuilder.java | 64 +
.../v1beta1/FetchFeatureValuesRequest.java | 594 +-
.../FetchFeatureValuesRequestOrBuilder.java | 107 +-
.../aiplatform/v1beta1/GetFeatureRequest.java | 21 +-
.../v1beta1/GetFeatureRequestOrBuilder.java | 6 +-
.../aiplatform/v1beta1/IndexDatapoint.java | 4069 +++++++---
.../v1beta1/IndexDatapointOrBuilder.java | 76 +
.../cloud/aiplatform/v1beta1/IndexProto.java | 58 +-
.../v1beta1/ListFeaturesRequest.java | 53 +-
.../v1beta1/ListFeaturesRequestOrBuilder.java | 15 +-
.../v1beta1/LlmUtilityServiceProto.java | 134 +
.../v1beta1/MachineResourcesProto.java | 61 +-
.../cloud/aiplatform/v1beta1/MachineSpec.java | 189 +
.../v1beta1/MachineSpecOrBuilder.java | 27 +
.../v1beta1/ModelContainerSpec.java | 981 +++
.../v1beta1/ModelContainerSpecOrBuilder.java | 140 +
.../cloud/aiplatform/v1beta1/ModelProto.java | 209 +-
.../v1beta1/PipelineServiceProto.java | 173 +-
.../cloud/aiplatform/v1beta1/Probe.java | 1876 +++++
.../aiplatform/v1beta1/ProbeOrBuilder.java | 94 +
.../cloud/aiplatform/v1beta1/StudyProto.java | 378 +-
.../cloud/aiplatform/v1beta1/StudySpec.java | 3423 ++++++++-
.../v1beta1/StudySpecOrBuilder.java | 49 +-
.../v1beta1/StudyTimeConstraint.java | 1105 +++
.../v1beta1/StudyTimeConstraintOrBuilder.java | 97 +
.../cloud/aiplatform/v1beta1/TokensInfo.java | 908 +++
.../v1beta1/TokensInfoOrBuilder.java | 101 +
.../v1beta1/UpdateFeatureRequest.java | 24 +-
.../UpdateFeatureRequestOrBuilder.java | 6 +-
.../cloud/aiplatform/v1beta1/custom_job.proto | 6 +
.../cloud/aiplatform/v1beta1/feature.proto | 42 +-
.../v1beta1/feature_online_store.proto | 2 +-
.../feature_online_store_service.proto | 41 +-
.../v1beta1/featurestore_service.proto | 18 +-
.../cloud/aiplatform/v1beta1/index.proto | 55 +
.../aiplatform/v1beta1/index_endpoint.proto | 9 +-
.../v1beta1/llm_utility_service.proto | 86 +
.../v1beta1/machine_resources.proto | 4 +
.../cloud/aiplatform/v1beta1/model.proto | 48 +
.../aiplatform/v1beta1/pipeline_service.proto | 47 +
.../v1beta1/prediction_service.proto | 2 +-
.../cloud/aiplatform/v1beta1/study.proto | 72 +
.../SyncCreateSetCredentialsProvider.java | 45 +
.../create/SyncCreateSetEndpoint.java | 42 +
.../AsyncCreateFeatureOnlineStore.java | 56 +
.../AsyncCreateFeatureOnlineStoreLRO.java | 56 +
.../SyncCreateFeatureOnlineStore.java | 50 +
...eLocationnameFeatureonlinestoreString.java | 49 +
...neStoreStringFeatureonlinestoreString.java | 48 +
.../AsyncCreateFeatureView.java | 57 +
.../AsyncCreateFeatureViewLRO.java | 59 +
.../SyncCreateFeatureView.java | 53 +
...atureonlinestorenameFeatureviewString.java | 50 +
...ateFeatureViewStringFeatureviewString.java | 49 +
.../AsyncDeleteFeatureOnlineStore.java | 56 +
.../AsyncDeleteFeatureOnlineStoreLRO.java | 57 +
.../SyncDeleteFeatureOnlineStore.java | 50 +
...ineStoreFeatureonlinestorenameBoolean.java | 45 +
...DeleteFeatureOnlineStoreStringBoolean.java | 45 +
.../AsyncDeleteFeatureView.java | 54 +
.../AsyncDeleteFeatureViewLRO.java | 57 +
.../SyncDeleteFeatureView.java | 50 +
.../SyncDeleteFeatureViewFeatureviewname.java | 44 +
.../SyncDeleteFeatureViewString.java | 45 +
.../AsyncGetFeatureOnlineStore.java | 53 +
.../SyncGetFeatureOnlineStore.java | 50 +
...tureOnlineStoreFeatureonlinestorename.java | 45 +
.../SyncGetFeatureOnlineStoreString.java | 45 +
.../getfeatureview/AsyncGetFeatureView.java | 54 +
.../getfeatureview/SyncGetFeatureView.java | 50 +
.../SyncGetFeatureViewFeatureviewname.java | 44 +
.../SyncGetFeatureViewString.java | 45 +
.../AsyncGetFeatureViewSync.java | 54 +
.../SyncGetFeatureViewSync.java | 50 +
...GetFeatureViewSyncFeatureviewsyncname.java | 45 +
.../SyncGetFeatureViewSyncString.java | 46 +
.../getiampolicy/AsyncGetIamPolicy.java | 56 +
.../getiampolicy/SyncGetIamPolicy.java | 52 +
.../getlocation/AsyncGetLocation.java | 47 +
.../getlocation/SyncGetLocation.java | 43 +
.../AsyncListFeatureOnlineStores.java | 59 +
.../AsyncListFeatureOnlineStoresPaged.java | 65 +
.../SyncListFeatureOnlineStores.java | 54 +
...ncListFeatureOnlineStoresLocationname.java | 46 +
.../SyncListFeatureOnlineStoresString.java | 46 +
.../AsyncListFeatureViews.java | 59 +
.../AsyncListFeatureViewsPaged.java | 67 +
.../SyncListFeatureViews.java | 56 +
...istFeatureViewsFeatureonlinestorename.java | 47 +
.../SyncListFeatureViewsString.java | 47 +
.../AsyncListFeatureViewSyncs.java | 62 +
.../AsyncListFeatureViewSyncsPaged.java | 68 +
.../SyncListFeatureViewSyncs.java | 57 +
...ncListFeatureViewSyncsFeatureviewname.java | 47 +
.../SyncListFeatureViewSyncsString.java | 48 +
.../listlocations/AsyncListLocations.java | 55 +
.../AsyncListLocationsPaged.java | 63 +
.../listlocations/SyncListLocations.java | 52 +
.../setiampolicy/AsyncSetIamPolicy.java | 57 +
.../setiampolicy/SyncSetIamPolicy.java | 53 +
.../syncfeatureview/AsyncSyncFeatureView.java | 54 +
.../syncfeatureview/SyncSyncFeatureView.java | 51 +
.../SyncSyncFeatureViewFeatureviewname.java | 45 +
.../SyncSyncFeatureViewString.java | 46 +
.../AsyncTestIamPermissions.java | 56 +
.../SyncTestIamPermissions.java | 53 +
.../AsyncUpdateFeatureOnlineStore.java | 55 +
.../AsyncUpdateFeatureOnlineStoreLRO.java | 55 +
.../SyncUpdateFeatureOnlineStore.java | 49 +
...nlineStoreFeatureonlinestoreFieldmask.java | 47 +
.../AsyncUpdateFeatureView.java | 53 +
.../AsyncUpdateFeatureViewLRO.java | 55 +
.../SyncUpdateFeatureView.java | 49 +
...UpdateFeatureViewFeatureviewFieldmask.java | 47 +
.../SyncGetFeatureOnlineStore.java | 50 +
.../SyncCreateSetCredentialsProvider.java | 45 +
.../create/SyncCreateSetEndpoint.java | 42 +
.../AsyncFetchFeatureValues.java | 58 +
.../SyncFetchFeatureValues.java | 55 +
...luesFeatureviewnameFeatureviewdatakey.java | 47 +
...FeatureValuesStringFeatureviewdatakey.java | 48 +
.../getiampolicy/AsyncGetIamPolicy.java | 56 +
.../getiampolicy/SyncGetIamPolicy.java | 52 +
.../getlocation/AsyncGetLocation.java | 47 +
.../getlocation/SyncGetLocation.java | 43 +
.../listlocations/AsyncListLocations.java | 55 +
.../AsyncListLocationsPaged.java | 63 +
.../listlocations/SyncListLocations.java | 51 +
.../setiampolicy/AsyncSetIamPolicy.java | 57 +
.../setiampolicy/SyncSetIamPolicy.java | 53 +
.../AsyncTestIamPermissions.java | 56 +
.../SyncTestIamPermissions.java | 53 +
.../SyncFetchFeatureValues.java | 50 +
.../SyncCreateSetCredentialsProvider.java | 45 +
.../create/SyncCreateSetEndpoint.java | 42 +
.../createfeature/AsyncCreateFeature.java | 56 +
.../createfeature/AsyncCreateFeatureLRO.java | 56 +
.../createfeature/SyncCreateFeature.java | 51 +
...ateFeatureEntitytypenameFeatureString.java | 47 +
...eFeatureFeaturegroupnameFeatureString.java | 46 +
.../SyncCreateFeatureStringFeatureString.java | 48 +
.../AsyncCreateFeatureGroup.java | 54 +
.../AsyncCreateFeatureGroupLRO.java | 54 +
.../SyncCreateFeatureGroup.java | 49 +
...reGroupLocationnameFeaturegroupString.java | 48 +
...eFeatureGroupStringFeaturegroupString.java | 48 +
.../deletefeature/AsyncDeleteFeature.java | 54 +
.../deletefeature/AsyncDeleteFeatureLRO.java | 55 +
.../deletefeature/SyncDeleteFeature.java | 50 +
.../SyncDeleteFeatureFeaturename.java | 45 +
.../SyncDeleteFeatureString.java | 46 +
.../AsyncDeleteFeatureGroup.java | 52 +
.../AsyncDeleteFeatureGroupLRO.java | 53 +
.../SyncDeleteFeatureGroup.java | 48 +
...teFeatureGroupFeaturegroupnameBoolean.java | 44 +
.../SyncDeleteFeatureGroupStringBoolean.java | 44 +
.../getfeature/AsyncGetFeature.java | 54 +
.../getfeature/SyncGetFeature.java | 50 +
.../getfeature/SyncGetFeatureFeaturename.java | 45 +
.../getfeature/SyncGetFeatureString.java | 46 +
.../getfeaturegroup/AsyncGetFeatureGroup.java | 51 +
.../getfeaturegroup/SyncGetFeatureGroup.java | 47 +
.../SyncGetFeatureGroupFeaturegroupname.java | 43 +
.../SyncGetFeatureGroupString.java | 43 +
.../getiampolicy/AsyncGetIamPolicy.java | 56 +
.../getiampolicy/SyncGetIamPolicy.java | 52 +
.../getlocation/AsyncGetLocation.java | 47 +
.../getlocation/SyncGetLocation.java | 43 +
.../AsyncListFeatureGroups.java | 57 +
.../AsyncListFeatureGroupsPaged.java | 65 +
.../SyncListFeatureGroups.java | 54 +
.../SyncListFeatureGroupsLocationname.java | 46 +
.../SyncListFeatureGroupsString.java | 46 +
.../listfeatures/AsyncListFeatures.java | 62 +
.../listfeatures/AsyncListFeaturesPaged.java | 70 +
.../listfeatures/SyncListFeatures.java | 58 +
.../SyncListFeaturesEntitytypename.java | 46 +
.../SyncListFeaturesFeaturegroupname.java | 45 +
.../listfeatures/SyncListFeaturesString.java | 47 +
.../listlocations/AsyncListLocations.java | 55 +
.../AsyncListLocationsPaged.java | 63 +
.../listlocations/SyncListLocations.java | 51 +
.../setiampolicy/AsyncSetIamPolicy.java | 57 +
.../setiampolicy/SyncSetIamPolicy.java | 53 +
.../AsyncTestIamPermissions.java | 56 +
.../SyncTestIamPermissions.java | 53 +
.../updatefeature/AsyncUpdateFeature.java | 53 +
.../updatefeature/AsyncUpdateFeatureLRO.java | 53 +
.../updatefeature/SyncUpdateFeature.java | 48 +
.../SyncUpdateFeatureFeatureFieldmask.java | 44 +
.../AsyncUpdateFeatureGroup.java | 53 +
.../AsyncUpdateFeatureGroupLRO.java | 53 +
.../SyncUpdateFeatureGroup.java | 48 +
...dateFeatureGroupFeaturegroupFieldmask.java | 45 +
.../getfeaturegroup/SyncGetFeatureGroup.java | 50 +
...cCreateFeatureFeaturegroupnameFeature.java | 43 +
...eFeatureFeaturegroupnameFeatureString.java | 45 +
.../deletefeature/AsyncDeleteFeature.java | 2 +-
.../deletefeature/AsyncDeleteFeatureLRO.java | 2 +-
.../deletefeature/SyncDeleteFeature.java | 2 +-
.../SyncDeleteFeatureFeaturename.java | 3 +-
.../SyncDeleteFeatureString.java | 3 +-
.../getfeature/AsyncGetFeature.java | 2 +-
.../getfeature/SyncGetFeature.java | 2 +-
.../getfeature/SyncGetFeatureFeaturename.java | 3 +-
.../getfeature/SyncGetFeatureString.java | 3 +-
.../SyncListFeaturesFeaturegroupname.java | 44 +
.../computetokens/AsyncComputeTokens.java | 56 +
.../computetokens/SyncComputeTokens.java | 52 +
...yncComputeTokensEndpointnameListvalue.java | 47 +
.../SyncComputeTokensStringListvalue.java | 48 +
.../counttokens/AsyncCountTokens.java | 56 +
.../counttokens/SyncCountTokens.java | 52 +
.../SyncCountTokensEndpointnameListvalue.java | 47 +
.../SyncCountTokensStringListvalue.java | 48 +
.../SyncCreateSetCredentialsProvider.java | 45 +
.../create/SyncCreateSetEndpoint.java | 42 +
.../getiampolicy/AsyncGetIamPolicy.java | 54 +
.../getiampolicy/SyncGetIamPolicy.java | 51 +
.../getlocation/AsyncGetLocation.java | 46 +
.../getlocation/SyncGetLocation.java | 42 +
.../listlocations/AsyncListLocations.java | 54 +
.../AsyncListLocationsPaged.java | 62 +
.../listlocations/SyncListLocations.java | 50 +
.../setiampolicy/AsyncSetIamPolicy.java | 55 +
.../setiampolicy/SyncSetIamPolicy.java | 52 +
.../AsyncTestIamPermissions.java | 55 +
.../SyncTestIamPermissions.java | 51 +
.../counttokens/SyncCountTokens.java | 49 +
.../SyncGetFeatureOnlineStore.java | 51 +
.../SyncFetchFeatureValues.java | 50 +
.../getfeaturegroup/SyncGetFeatureGroup.java | 50 +
.../counttokens/SyncCountTokens.java | 50 +
.../AsyncFetchFeatureValues.java | 4 +
.../SyncFetchFeatureValues.java | 4 +
...uesFeatureviewnameFeatureviewdatakey.java} | 15 +-
...eatureValuesStringFeatureviewdatakey.java} | 15 +-
.../computetokens/AsyncComputeTokens.java | 56 +
.../computetokens/SyncComputeTokens.java | 52 +
...yncComputeTokensEndpointnameListvalue.java | 47 +
.../SyncComputeTokensStringListvalue.java | 48 +
.../SyncCreateSetCredentialsProvider.java | 45 +
.../create/SyncCreateSetEndpoint.java | 42 +
.../getiampolicy/AsyncGetIamPolicy.java | 54 +
.../getiampolicy/SyncGetIamPolicy.java | 51 +
.../getlocation/AsyncGetLocation.java | 46 +
.../getlocation/SyncGetLocation.java | 42 +
.../listlocations/AsyncListLocations.java | 54 +
.../AsyncListLocationsPaged.java | 62 +
.../listlocations/SyncListLocations.java | 50 +
.../setiampolicy/AsyncSetIamPolicy.java | 55 +
.../setiampolicy/SyncSetIamPolicy.java | 52 +
.../AsyncTestIamPermissions.java | 55 +
.../SyncTestIamPermissions.java | 51 +
.../computetokens/SyncComputeTokens.java | 49 +
.../AsyncBatchDeletePipelineJobs.java | 52 +
.../AsyncBatchDeletePipelineJobsLRO.java | 53 +
.../SyncBatchDeletePipelineJobs.java | 49 +
...etePipelineJobsLocationnameListstring.java | 46 +
...tchDeletePipelineJobsStringListstring.java | 46 +
.../computetokens/SyncComputeTokens.java | 50 +
511 files changed, 139884 insertions(+), 3475 deletions(-)
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreAdminServiceClient.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreAdminServiceSettings.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreServiceClient.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreServiceSettings.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureRegistryServiceClient.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureRegistryServiceSettings.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/LlmUtilityServiceClient.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/LlmUtilityServiceSettings.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureOnlineStoreAdminServiceStub.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureOnlineStoreAdminServiceStubSettings.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureOnlineStoreServiceStub.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureOnlineStoreServiceStubSettings.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureRegistryServiceStub.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeatureRegistryServiceStubSettings.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcFeatureOnlineStoreAdminServiceCallableFactory.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcFeatureOnlineStoreAdminServiceStub.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcFeatureOnlineStoreServiceCallableFactory.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcFeatureOnlineStoreServiceStub.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcFeatureRegistryServiceCallableFactory.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcFeatureRegistryServiceStub.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcLlmUtilityServiceCallableFactory.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcLlmUtilityServiceStub.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/LlmUtilityServiceStub.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/LlmUtilityServiceStubSettings.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/LlmUtilityServiceClient.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/LlmUtilityServiceSettings.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcLlmUtilityServiceCallableFactory.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcLlmUtilityServiceStub.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/LlmUtilityServiceStub.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/LlmUtilityServiceStubSettings.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreAdminServiceClientTest.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreServiceClientTest.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/FeatureRegistryServiceClientTest.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/LlmUtilityServiceClientTest.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockFeatureOnlineStoreAdminService.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockFeatureOnlineStoreAdminServiceImpl.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockFeatureOnlineStoreService.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockFeatureOnlineStoreServiceImpl.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockFeatureRegistryService.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockFeatureRegistryServiceImpl.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockLlmUtilityService.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockLlmUtilityServiceImpl.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/LlmUtilityServiceClientTest.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockLlmUtilityService.java
create mode 100644 java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockLlmUtilityServiceImpl.java
create mode 100644 java-aiplatform/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreAdminServiceGrpc.java
create mode 100644 java-aiplatform/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreServiceGrpc.java
create mode 100644 java-aiplatform/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureRegistryServiceGrpc.java
create mode 100644 java-aiplatform/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LlmUtilityServiceGrpc.java
create mode 100644 java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/LlmUtilityServiceGrpc.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ComputeTokensRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ComputeTokensRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ComputeTokensResponse.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ComputeTokensResponseOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CountTokensRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CountTokensRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CountTokensResponse.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CountTokensResponseOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateFeatureGroupOperationMetadata.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateFeatureGroupOperationMetadataOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateFeatureGroupRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateFeatureGroupRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateFeatureOnlineStoreOperationMetadata.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateFeatureOnlineStoreOperationMetadataOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateFeatureOnlineStoreRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateFeatureOnlineStoreRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateFeatureViewOperationMetadata.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateFeatureViewOperationMetadataOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateFeatureViewRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateFeatureViewRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateRegistryFeatureOperationMetadata.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateRegistryFeatureOperationMetadataOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteFeatureGroupRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteFeatureGroupRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteFeatureOnlineStoreRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteFeatureOnlineStoreRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteFeatureViewRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteFeatureViewRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureGroup.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureGroupName.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureGroupOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureGroupProto.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStore.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreAdminServiceProto.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreName.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreProto.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureOnlineStoreServiceProto.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureRegistryServiceProto.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureView.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureViewDataFormat.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureViewDataKey.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureViewDataKeyOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureViewName.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureViewOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureViewProto.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureViewSync.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureViewSyncName.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureViewSyncOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureViewSyncProto.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FetchFeatureValuesRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FetchFeatureValuesRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FetchFeatureValuesResponse.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FetchFeatureValuesResponseOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetFeatureGroupRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetFeatureGroupRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetFeatureOnlineStoreRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetFeatureOnlineStoreRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetFeatureViewRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetFeatureViewRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetFeatureViewSyncRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetFeatureViewSyncRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListFeatureGroupsRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListFeatureGroupsRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListFeatureGroupsResponse.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListFeatureGroupsResponseOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListFeatureOnlineStoresRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListFeatureOnlineStoresRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListFeatureOnlineStoresResponse.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListFeatureOnlineStoresResponseOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListFeatureViewSyncsRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListFeatureViewSyncsRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListFeatureViewSyncsResponse.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListFeatureViewSyncsResponseOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListFeatureViewsRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListFeatureViewsRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListFeatureViewsResponse.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListFeatureViewsResponseOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LlmUtilityServiceProto.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Probe.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ProbeOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudyTimeConstraint.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudyTimeConstraintOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SyncFeatureViewRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SyncFeatureViewRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SyncFeatureViewResponse.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SyncFeatureViewResponseOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TokensInfo.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TokensInfoOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureGroupOperationMetadata.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureGroupOperationMetadataOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureGroupRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureGroupRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureOnlineStoreOperationMetadata.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureOnlineStoreOperationMetadataOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureOnlineStoreRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureOnlineStoreRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureOperationMetadata.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureOperationMetadataOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureViewOperationMetadata.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureViewOperationMetadataOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureViewRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureViewRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_group.proto
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_online_store.proto
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_online_store_admin_service.proto
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_online_store_service.proto
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_registry_service.proto
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_view.proto
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_view_sync.proto
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/llm_utility_service.proto
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchDeletePipelineJobsRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchDeletePipelineJobsRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchDeletePipelineJobsResponse.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchDeletePipelineJobsResponseOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ComputeTokensRequest.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ComputeTokensRequestOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ComputeTokensResponse.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ComputeTokensResponseOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureViewDataFormat.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureViewDataKey.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureViewDataKeyOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/LlmUtilityServiceProto.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Probe.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ProbeOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudyTimeConstraint.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudyTimeConstraintOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TokensInfo.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TokensInfoOrBuilder.java
create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/llm_utility_service.proto
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/create/SyncCreateSetCredentialsProvider.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/create/SyncCreateSetEndpoint.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/createfeatureonlinestore/AsyncCreateFeatureOnlineStore.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/createfeatureonlinestore/AsyncCreateFeatureOnlineStoreLRO.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/createfeatureonlinestore/SyncCreateFeatureOnlineStore.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/createfeatureonlinestore/SyncCreateFeatureOnlineStoreLocationnameFeatureonlinestoreString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/createfeatureonlinestore/SyncCreateFeatureOnlineStoreStringFeatureonlinestoreString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/createfeatureview/AsyncCreateFeatureView.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/createfeatureview/AsyncCreateFeatureViewLRO.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/createfeatureview/SyncCreateFeatureView.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/createfeatureview/SyncCreateFeatureViewFeatureonlinestorenameFeatureviewString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/createfeatureview/SyncCreateFeatureViewStringFeatureviewString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/deletefeatureonlinestore/AsyncDeleteFeatureOnlineStore.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/deletefeatureonlinestore/AsyncDeleteFeatureOnlineStoreLRO.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/deletefeatureonlinestore/SyncDeleteFeatureOnlineStore.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/deletefeatureonlinestore/SyncDeleteFeatureOnlineStoreFeatureonlinestorenameBoolean.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/deletefeatureonlinestore/SyncDeleteFeatureOnlineStoreStringBoolean.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/deletefeatureview/AsyncDeleteFeatureView.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/deletefeatureview/AsyncDeleteFeatureViewLRO.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/deletefeatureview/SyncDeleteFeatureView.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/deletefeatureview/SyncDeleteFeatureViewFeatureviewname.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/deletefeatureview/SyncDeleteFeatureViewString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/getfeatureonlinestore/AsyncGetFeatureOnlineStore.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/getfeatureonlinestore/SyncGetFeatureOnlineStore.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/getfeatureonlinestore/SyncGetFeatureOnlineStoreFeatureonlinestorename.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/getfeatureonlinestore/SyncGetFeatureOnlineStoreString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/getfeatureview/AsyncGetFeatureView.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/getfeatureview/SyncGetFeatureView.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/getfeatureview/SyncGetFeatureViewFeatureviewname.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/getfeatureview/SyncGetFeatureViewString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/getfeatureviewsync/AsyncGetFeatureViewSync.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/getfeatureviewsync/SyncGetFeatureViewSync.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/getfeatureviewsync/SyncGetFeatureViewSyncFeatureviewsyncname.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/getfeatureviewsync/SyncGetFeatureViewSyncString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/getiampolicy/AsyncGetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/getiampolicy/SyncGetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/getlocation/AsyncGetLocation.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/getlocation/SyncGetLocation.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listfeatureonlinestores/AsyncListFeatureOnlineStores.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listfeatureonlinestores/AsyncListFeatureOnlineStoresPaged.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listfeatureonlinestores/SyncListFeatureOnlineStores.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listfeatureonlinestores/SyncListFeatureOnlineStoresLocationname.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listfeatureonlinestores/SyncListFeatureOnlineStoresString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listfeatureviews/AsyncListFeatureViews.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listfeatureviews/AsyncListFeatureViewsPaged.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listfeatureviews/SyncListFeatureViews.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listfeatureviews/SyncListFeatureViewsFeatureonlinestorename.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listfeatureviews/SyncListFeatureViewsString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listfeatureviewsyncs/AsyncListFeatureViewSyncs.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listfeatureviewsyncs/AsyncListFeatureViewSyncsPaged.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listfeatureviewsyncs/SyncListFeatureViewSyncs.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listfeatureviewsyncs/SyncListFeatureViewSyncsFeatureviewname.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listfeatureviewsyncs/SyncListFeatureViewSyncsString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listlocations/AsyncListLocations.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listlocations/AsyncListLocationsPaged.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/listlocations/SyncListLocations.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/setiampolicy/AsyncSetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/setiampolicy/SyncSetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/syncfeatureview/AsyncSyncFeatureView.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/syncfeatureview/SyncSyncFeatureView.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/syncfeatureview/SyncSyncFeatureViewFeatureviewname.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/syncfeatureview/SyncSyncFeatureViewString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/testiampermissions/AsyncTestIamPermissions.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/testiampermissions/SyncTestIamPermissions.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/updatefeatureonlinestore/AsyncUpdateFeatureOnlineStore.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/updatefeatureonlinestore/AsyncUpdateFeatureOnlineStoreLRO.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/updatefeatureonlinestore/SyncUpdateFeatureOnlineStore.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/updatefeatureonlinestore/SyncUpdateFeatureOnlineStoreFeatureonlinestoreFieldmask.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/updatefeatureview/AsyncUpdateFeatureView.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/updatefeatureview/AsyncUpdateFeatureViewLRO.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/updatefeatureview/SyncUpdateFeatureView.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservice/updatefeatureview/SyncUpdateFeatureViewFeatureviewFieldmask.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreadminservicesettings/getfeatureonlinestore/SyncGetFeatureOnlineStore.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/create/SyncCreateSetCredentialsProvider.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/create/SyncCreateSetEndpoint.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/fetchfeaturevalues/AsyncFetchFeatureValues.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/fetchfeaturevalues/SyncFetchFeatureValues.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/fetchfeaturevalues/SyncFetchFeatureValuesFeatureviewnameFeatureviewdatakey.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/fetchfeaturevalues/SyncFetchFeatureValuesStringFeatureviewdatakey.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/getiampolicy/AsyncGetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/getiampolicy/SyncGetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/getlocation/AsyncGetLocation.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/getlocation/SyncGetLocation.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/listlocations/AsyncListLocations.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/listlocations/AsyncListLocationsPaged.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/listlocations/SyncListLocations.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/setiampolicy/AsyncSetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/setiampolicy/SyncSetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/testiampermissions/AsyncTestIamPermissions.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservice/testiampermissions/SyncTestIamPermissions.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureonlinestoreservicesettings/fetchfeaturevalues/SyncFetchFeatureValues.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/create/SyncCreateSetCredentialsProvider.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/create/SyncCreateSetEndpoint.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/createfeature/AsyncCreateFeature.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/createfeature/AsyncCreateFeatureLRO.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/createfeature/SyncCreateFeature.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/createfeature/SyncCreateFeatureEntitytypenameFeatureString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/createfeature/SyncCreateFeatureFeaturegroupnameFeatureString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/createfeature/SyncCreateFeatureStringFeatureString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/createfeaturegroup/AsyncCreateFeatureGroup.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/createfeaturegroup/AsyncCreateFeatureGroupLRO.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/createfeaturegroup/SyncCreateFeatureGroup.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/createfeaturegroup/SyncCreateFeatureGroupLocationnameFeaturegroupString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/createfeaturegroup/SyncCreateFeatureGroupStringFeaturegroupString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/deletefeature/AsyncDeleteFeature.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/deletefeature/AsyncDeleteFeatureLRO.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/deletefeature/SyncDeleteFeature.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/deletefeature/SyncDeleteFeatureFeaturename.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/deletefeature/SyncDeleteFeatureString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/deletefeaturegroup/AsyncDeleteFeatureGroup.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/deletefeaturegroup/AsyncDeleteFeatureGroupLRO.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/deletefeaturegroup/SyncDeleteFeatureGroup.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/deletefeaturegroup/SyncDeleteFeatureGroupFeaturegroupnameBoolean.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/deletefeaturegroup/SyncDeleteFeatureGroupStringBoolean.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/getfeature/AsyncGetFeature.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/getfeature/SyncGetFeature.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/getfeature/SyncGetFeatureFeaturename.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/getfeature/SyncGetFeatureString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/getfeaturegroup/AsyncGetFeatureGroup.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/getfeaturegroup/SyncGetFeatureGroup.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/getfeaturegroup/SyncGetFeatureGroupFeaturegroupname.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/getfeaturegroup/SyncGetFeatureGroupString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/getiampolicy/AsyncGetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/getiampolicy/SyncGetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/getlocation/AsyncGetLocation.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/getlocation/SyncGetLocation.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/listfeaturegroups/AsyncListFeatureGroups.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/listfeaturegroups/AsyncListFeatureGroupsPaged.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/listfeaturegroups/SyncListFeatureGroups.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/listfeaturegroups/SyncListFeatureGroupsLocationname.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/listfeaturegroups/SyncListFeatureGroupsString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/listfeatures/AsyncListFeatures.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/listfeatures/AsyncListFeaturesPaged.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/listfeatures/SyncListFeatures.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/listfeatures/SyncListFeaturesEntitytypename.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/listfeatures/SyncListFeaturesFeaturegroupname.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/listfeatures/SyncListFeaturesString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/listlocations/AsyncListLocations.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/listlocations/AsyncListLocationsPaged.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/listlocations/SyncListLocations.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/setiampolicy/AsyncSetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/setiampolicy/SyncSetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/testiampermissions/AsyncTestIamPermissions.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/testiampermissions/SyncTestIamPermissions.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/updatefeature/AsyncUpdateFeature.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/updatefeature/AsyncUpdateFeatureLRO.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/updatefeature/SyncUpdateFeature.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/updatefeature/SyncUpdateFeatureFeatureFieldmask.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/updatefeaturegroup/AsyncUpdateFeatureGroup.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/updatefeaturegroup/AsyncUpdateFeatureGroupLRO.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/updatefeaturegroup/SyncUpdateFeatureGroup.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservice/updatefeaturegroup/SyncUpdateFeatureGroupFeaturegroupFieldmask.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featureregistryservicesettings/getfeaturegroup/SyncGetFeatureGroup.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featurestoreservice/createfeature/SyncCreateFeatureFeaturegroupnameFeature.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featurestoreservice/createfeature/SyncCreateFeatureFeaturegroupnameFeatureString.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/featurestoreservice/listfeatures/SyncListFeaturesFeaturegroupname.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/computetokens/AsyncComputeTokens.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/computetokens/SyncComputeTokens.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/computetokens/SyncComputeTokensEndpointnameListvalue.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/computetokens/SyncComputeTokensStringListvalue.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/counttokens/AsyncCountTokens.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/counttokens/SyncCountTokens.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/counttokens/SyncCountTokensEndpointnameListvalue.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/counttokens/SyncCountTokensStringListvalue.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/create/SyncCreateSetCredentialsProvider.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/create/SyncCreateSetEndpoint.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/getiampolicy/AsyncGetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/getiampolicy/SyncGetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/getlocation/AsyncGetLocation.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/getlocation/SyncGetLocation.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/listlocations/AsyncListLocations.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/listlocations/AsyncListLocationsPaged.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/listlocations/SyncListLocations.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/setiampolicy/AsyncSetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/setiampolicy/SyncSetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/testiampermissions/AsyncTestIamPermissions.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservice/testiampermissions/SyncTestIamPermissions.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/llmutilityservicesettings/counttokens/SyncCountTokens.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/stub/featureonlinestoreadminservicestubsettings/getfeatureonlinestore/SyncGetFeatureOnlineStore.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/stub/featureonlinestoreservicestubsettings/fetchfeaturevalues/SyncFetchFeatureValues.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/stub/featureregistryservicestubsettings/getfeaturegroup/SyncGetFeatureGroup.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/stub/llmutilityservicestubsettings/counttokens/SyncCountTokens.java
rename java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/featureonlinestoreservice/fetchfeaturevalues/{SyncFetchFeatureValuesFeatureviewnameString.java => SyncFetchFeatureValuesFeatureviewnameFeatureviewdatakey.java} (78%)
rename java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/featureonlinestoreservice/fetchfeaturevalues/{SyncFetchFeatureValuesStringString.java => SyncFetchFeatureValuesStringFeatureviewdatakey.java} (80%)
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/computetokens/AsyncComputeTokens.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/computetokens/SyncComputeTokens.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/computetokens/SyncComputeTokensEndpointnameListvalue.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/computetokens/SyncComputeTokensStringListvalue.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/create/SyncCreateSetCredentialsProvider.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/create/SyncCreateSetEndpoint.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/getiampolicy/AsyncGetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/getiampolicy/SyncGetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/getlocation/AsyncGetLocation.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/getlocation/SyncGetLocation.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/listlocations/AsyncListLocations.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/listlocations/AsyncListLocationsPaged.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/listlocations/SyncListLocations.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/setiampolicy/AsyncSetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/setiampolicy/SyncSetIamPolicy.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/testiampermissions/AsyncTestIamPermissions.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservice/testiampermissions/SyncTestIamPermissions.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/llmutilityservicesettings/computetokens/SyncComputeTokens.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/pipelineservice/batchdeletepipelinejobs/AsyncBatchDeletePipelineJobs.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/pipelineservice/batchdeletepipelinejobs/AsyncBatchDeletePipelineJobsLRO.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/pipelineservice/batchdeletepipelinejobs/SyncBatchDeletePipelineJobs.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/pipelineservice/batchdeletepipelinejobs/SyncBatchDeletePipelineJobsLocationnameListstring.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/pipelineservice/batchdeletepipelinejobs/SyncBatchDeletePipelineJobsStringListstring.java
create mode 100644 java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/stub/llmutilityservicestubsettings/computetokens/SyncComputeTokens.java
diff --git a/java-aiplatform/README.md b/java-aiplatform/README.md
index 658138e76ff4..a15a3197fd93 100644
--- a/java-aiplatform/README.md
+++ b/java-aiplatform/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
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: + * + *
{@code + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = + * FeatureOnlineStoreAdminServiceClient.create()) { + * FeatureOnlineStoreName name = + * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]"); + * FeatureOnlineStore response = + * featureOnlineStoreAdminServiceClient.getFeatureOnlineStore(name); + * } + * }+ * + *
Note: close() needs to be called on the FeatureOnlineStoreAdminServiceClient 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: + * + *
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 + * FeatureOnlineStoreAdminServiceSettings to create(). For example: + * + *
To customize credentials: + * + *
{@code + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * FeatureOnlineStoreAdminServiceSettings featureOnlineStoreAdminServiceSettings = + * FeatureOnlineStoreAdminServiceSettings.newBuilder() + * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + * .build(); + * FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = + * FeatureOnlineStoreAdminServiceClient.create(featureOnlineStoreAdminServiceSettings); + * }+ * + *
To customize the endpoint: + * + *
{@code + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * FeatureOnlineStoreAdminServiceSettings featureOnlineStoreAdminServiceSettings = + * FeatureOnlineStoreAdminServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); + * FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = + * FeatureOnlineStoreAdminServiceClient.create(featureOnlineStoreAdminServiceSettings); + * }+ * + *
Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class FeatureOnlineStoreAdminServiceClient implements BackgroundResource { + private final FeatureOnlineStoreAdminServiceSettings settings; + private final FeatureOnlineStoreAdminServiceStub stub; + private final OperationsClient operationsClient; + + /** Constructs an instance of FeatureOnlineStoreAdminServiceClient with default settings. */ + public static final FeatureOnlineStoreAdminServiceClient create() throws IOException { + return create(FeatureOnlineStoreAdminServiceSettings.newBuilder().build()); + } + + /** + * Constructs an instance of FeatureOnlineStoreAdminServiceClient, using the given settings. The + * channels are created based on the settings passed in, or defaults for any settings that are not + * set. + */ + public static final FeatureOnlineStoreAdminServiceClient create( + FeatureOnlineStoreAdminServiceSettings settings) throws IOException { + return new FeatureOnlineStoreAdminServiceClient(settings); + } + + /** + * Constructs an instance of FeatureOnlineStoreAdminServiceClient, using the given stub for making + * calls. This is for advanced usage - prefer using + * create(FeatureOnlineStoreAdminServiceSettings). + */ + public static final FeatureOnlineStoreAdminServiceClient create( + FeatureOnlineStoreAdminServiceStub stub) { + return new FeatureOnlineStoreAdminServiceClient(stub); + } + + /** + * Constructs an instance of FeatureOnlineStoreAdminServiceClient, 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. + */ + protected FeatureOnlineStoreAdminServiceClient(FeatureOnlineStoreAdminServiceSettings settings) + throws IOException { + this.settings = settings; + this.stub = + ((FeatureOnlineStoreAdminServiceStubSettings) settings.getStubSettings()).createStub(); + this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + } + + protected FeatureOnlineStoreAdminServiceClient(FeatureOnlineStoreAdminServiceStub stub) { + this.settings = null; + this.stub = stub; + this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + } + + public final FeatureOnlineStoreAdminServiceSettings getSettings() { + return settings; + } + + public FeatureOnlineStoreAdminServiceStub getStub() { + return stub; + } + + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getOperationsClient() { + return operationsClient; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new FeatureOnlineStore in a given project and location. + * + *
Sample code: + * + *
{@code + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = + * FeatureOnlineStoreAdminServiceClient.create()) { + * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + * FeatureOnlineStore featureOnlineStore = FeatureOnlineStore.newBuilder().build(); + * String featureOnlineStoreId = "featureOnlineStoreId1046065331"; + * FeatureOnlineStore response = + * featureOnlineStoreAdminServiceClient + * .createFeatureOnlineStoreAsync(parent, featureOnlineStore, featureOnlineStoreId) + * .get(); + * } + * }+ * + * @param parent Required. The resource name of the Location to create FeatureOnlineStores. + * Format: `projects/{project}/locations/{location}'` + * @param featureOnlineStore Required. The FeatureOnlineStore to create. + * @param featureOnlineStoreId Required. The ID to use for this FeatureOnlineStore, which will + * become the final component of the FeatureOnlineStore's resource name. + *
This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first + * character cannot be a number. + *
The value must be unique within the project and location.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture Sample code:
+ *
+ * This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first
+ * character cannot be a number.
+ * The value must be unique within the project and location.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Updatable fields:
+ * * `big_query_source` * `labels` * `sync_config`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first
+ * character cannot be a number.
+ * The value must be unique within a FeatureOnlineStore.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture Sample code:
+ *
+ * This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first
+ * character cannot be a number.
+ * The value must be unique within a FeatureOnlineStore.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Updatable fields:
+ * * `labels`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.
+ *
+ * Sample code:
+ *
+ * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Note: This operation is designed to be used for buildingpermission-aware UIs and
+ * command-line tools, not for authorizationchecking. This operation may "fail open" without
+ * warning.
+ *
+ * Sample code:
+ *
+ * Note: This operation is designed to be used for buildingpermission-aware UIs and
+ * command-line tools, not for authorizationchecking. This operation may "fail open" without
+ * warning.
+ *
+ * Sample code:
+ *
+ * The default instance has everything set to sensible defaults:
+ *
+ * The builder of this class is recursive, so contained classes are themselves builders. When
+ * build() is called, the tree of builders is called to create the complete settings object.
+ *
+ * For example, to set the total timeout of getFeatureOnlineStore to 30 seconds:
+ *
+ * Note: This method does not support applying settings to streaming methods.
+ */
+ public Builder applyToAllUnaryMethods(
+ ApiFunction Note: close() needs to be called on the FeatureOnlineStoreServiceClient 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:
+ *
+ * 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
+ * FeatureOnlineStoreServiceSettings to create(). For example:
+ *
+ * To customize credentials:
+ *
+ * To customize the endpoint:
+ *
+ * Please refer to the GitHub repository's samples for more quickstart code snippets.
+ */
+@Generated("by gapic-generator-java")
+public class FeatureOnlineStoreServiceClient implements BackgroundResource {
+ private final FeatureOnlineStoreServiceSettings settings;
+ private final FeatureOnlineStoreServiceStub stub;
+
+ /** Constructs an instance of FeatureOnlineStoreServiceClient with default settings. */
+ public static final FeatureOnlineStoreServiceClient create() throws IOException {
+ return create(FeatureOnlineStoreServiceSettings.newBuilder().build());
+ }
+
+ /**
+ * Constructs an instance of FeatureOnlineStoreServiceClient, using the given settings. The
+ * channels are created based on the settings passed in, or defaults for any settings that are not
+ * set.
+ */
+ public static final FeatureOnlineStoreServiceClient create(
+ FeatureOnlineStoreServiceSettings settings) throws IOException {
+ return new FeatureOnlineStoreServiceClient(settings);
+ }
+
+ /**
+ * Constructs an instance of FeatureOnlineStoreServiceClient, using the given stub for making
+ * calls. This is for advanced usage - prefer using create(FeatureOnlineStoreServiceSettings).
+ */
+ public static final FeatureOnlineStoreServiceClient create(FeatureOnlineStoreServiceStub stub) {
+ return new FeatureOnlineStoreServiceClient(stub);
+ }
+
+ /**
+ * Constructs an instance of FeatureOnlineStoreServiceClient, 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.
+ */
+ protected FeatureOnlineStoreServiceClient(FeatureOnlineStoreServiceSettings settings)
+ throws IOException {
+ this.settings = settings;
+ this.stub = ((FeatureOnlineStoreServiceStubSettings) settings.getStubSettings()).createStub();
+ }
+
+ protected FeatureOnlineStoreServiceClient(FeatureOnlineStoreServiceStub stub) {
+ this.settings = null;
+ this.stub = stub;
+ }
+
+ public final FeatureOnlineStoreServiceSettings getSettings() {
+ return settings;
+ }
+
+ public FeatureOnlineStoreServiceStub getStub() {
+ return stub;
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Fetch feature values under a FeatureView.
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.
+ *
+ * Sample code:
+ *
+ * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Note: This operation is designed to be used for buildingpermission-aware UIs and
+ * command-line tools, not for authorizationchecking. This operation may "fail open" without
+ * warning.
+ *
+ * Sample code:
+ *
+ * Note: This operation is designed to be used for buildingpermission-aware UIs and
+ * command-line tools, not for authorizationchecking. This operation may "fail open" without
+ * warning.
+ *
+ * Sample code:
+ *
+ * The default instance has everything set to sensible defaults:
+ *
+ * The builder of this class is recursive, so contained classes are themselves builders. When
+ * build() is called, the tree of builders is called to create the complete settings object.
+ *
+ * For example, to set the total timeout of fetchFeatureValues to 30 seconds:
+ *
+ * Note: This method does not support applying settings to streaming methods.
+ */
+ public Builder applyToAllUnaryMethods(
+ ApiFunction 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:
+ *
+ * Note: close() needs to be called on the FeatureRegistryServiceClient 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:
+ *
+ * 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 FeatureRegistryServiceSettings
+ * to create(). For example:
+ *
+ * To customize credentials:
+ *
+ * To customize the endpoint:
+ *
+ * Please refer to the GitHub repository's samples for more quickstart code snippets.
+ */
+@Generated("by gapic-generator-java")
+public class FeatureRegistryServiceClient implements BackgroundResource {
+ private final FeatureRegistryServiceSettings settings;
+ private final FeatureRegistryServiceStub stub;
+ private final OperationsClient operationsClient;
+
+ /** Constructs an instance of FeatureRegistryServiceClient with default settings. */
+ public static final FeatureRegistryServiceClient create() throws IOException {
+ return create(FeatureRegistryServiceSettings.newBuilder().build());
+ }
+
+ /**
+ * Constructs an instance of FeatureRegistryServiceClient, using the given settings. The channels
+ * are created based on the settings passed in, or defaults for any settings that are not set.
+ */
+ public static final FeatureRegistryServiceClient create(FeatureRegistryServiceSettings settings)
+ throws IOException {
+ return new FeatureRegistryServiceClient(settings);
+ }
+
+ /**
+ * Constructs an instance of FeatureRegistryServiceClient, using the given stub for making calls.
+ * This is for advanced usage - prefer using create(FeatureRegistryServiceSettings).
+ */
+ public static final FeatureRegistryServiceClient create(FeatureRegistryServiceStub stub) {
+ return new FeatureRegistryServiceClient(stub);
+ }
+
+ /**
+ * Constructs an instance of FeatureRegistryServiceClient, 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.
+ */
+ protected FeatureRegistryServiceClient(FeatureRegistryServiceSettings settings)
+ throws IOException {
+ this.settings = settings;
+ this.stub = ((FeatureRegistryServiceStubSettings) settings.getStubSettings()).createStub();
+ this.operationsClient = OperationsClient.create(this.stub.getOperationsStub());
+ }
+
+ protected FeatureRegistryServiceClient(FeatureRegistryServiceStub stub) {
+ this.settings = null;
+ this.stub = stub;
+ this.operationsClient = OperationsClient.create(this.stub.getOperationsStub());
+ }
+
+ public final FeatureRegistryServiceSettings getSettings() {
+ return settings;
+ }
+
+ public FeatureRegistryServiceStub getStub() {
+ return stub;
+ }
+
+ /**
+ * Returns the OperationsClient that can be used to query the status of a long-running operation
+ * returned by another API method call.
+ */
+ public final OperationsClient getOperationsClient() {
+ return operationsClient;
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a new FeatureGroup in a given project and location.
+ *
+ * Sample code:
+ *
+ * This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first
+ * character cannot be a number.
+ * The value must be unique within the project and location.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture Sample code:
+ *
+ * This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first
+ * character cannot be a number.
+ * The value must be unique within the project and location.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Updatable fields:
+ * * `labels`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * This value may be up to 128 characters, and valid characters are `[a-z0-9_]`. The first
+ * character cannot be a number.
+ * The value must be unique within an EntityType/FeatureGroup.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture Sample code:
+ *
+ * This value may be up to 128 characters, and valid characters are `[a-z0-9_]`. The first
+ * character cannot be a number.
+ * The value must be unique within an EntityType/FeatureGroup.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture Sample code:
+ *
+ * This value may be up to 128 characters, and valid characters are `[a-z0-9_]`. The first
+ * character cannot be a number.
+ * The value must be unique within an EntityType/FeatureGroup.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Updatable fields:
+ * * `description` * `labels` * `disable_monitoring` (Not supported for
+ * FeatureRegistry Feature)
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.
+ *
+ * Sample code:
+ *
+ * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors.
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Note: This operation is designed to be used for buildingpermission-aware UIs and
+ * command-line tools, not for authorizationchecking. This operation may "fail open" without
+ * warning.
+ *
+ * Sample code:
+ *
+ * Note: This operation is designed to be used for buildingpermission-aware UIs and
+ * command-line tools, not for authorizationchecking. This operation may "fail open" without
+ * warning.
+ *
+ * Sample code:
+ *
+ * The default instance has everything set to sensible defaults:
+ *
+ * The builder of this class is recursive, so contained classes are themselves builders. When
+ * build() is called, the tree of builders is called to create the complete settings object.
+ *
+ * For example, to set the total timeout of getFeatureGroup to 30 seconds:
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * FeatureOnlineStore featureOnlineStore = FeatureOnlineStore.newBuilder().build();
+ * String featureOnlineStoreId = "featureOnlineStoreId1046065331";
+ * FeatureOnlineStore response =
+ * featureOnlineStoreAdminServiceClient
+ * .createFeatureOnlineStoreAsync(parent, featureOnlineStore, featureOnlineStoreId)
+ * .get();
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to create FeatureOnlineStores.
+ * Format: `projects/{project}/locations/{location}'`
+ * @param featureOnlineStore Required. The FeatureOnlineStore to create.
+ * @param featureOnlineStoreId Required. The ID to use for this FeatureOnlineStore, which will
+ * become the final component of the FeatureOnlineStore's resource name.
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * CreateFeatureOnlineStoreRequest request =
+ * CreateFeatureOnlineStoreRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFeatureOnlineStore(FeatureOnlineStore.newBuilder().build())
+ * .setFeatureOnlineStoreId("featureOnlineStoreId1046065331")
+ * .build();
+ * FeatureOnlineStore response =
+ * featureOnlineStoreAdminServiceClient.createFeatureOnlineStoreAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * CreateFeatureOnlineStoreRequest request =
+ * CreateFeatureOnlineStoreRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFeatureOnlineStore(FeatureOnlineStore.newBuilder().build())
+ * .setFeatureOnlineStoreId("featureOnlineStoreId1046065331")
+ * .build();
+ * OperationFuture
+ */
+ public final OperationCallable<
+ CreateFeatureOnlineStoreRequest,
+ FeatureOnlineStore,
+ CreateFeatureOnlineStoreOperationMetadata>
+ createFeatureOnlineStoreOperationCallable() {
+ return stub.createFeatureOnlineStoreOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a new FeatureOnlineStore in a given project and location.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * CreateFeatureOnlineStoreRequest request =
+ * CreateFeatureOnlineStoreRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFeatureOnlineStore(FeatureOnlineStore.newBuilder().build())
+ * .setFeatureOnlineStoreId("featureOnlineStoreId1046065331")
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * FeatureOnlineStoreName name =
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]");
+ * FeatureOnlineStore response =
+ * featureOnlineStoreAdminServiceClient.getFeatureOnlineStore(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the FeatureOnlineStore resource.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeatureOnlineStore getFeatureOnlineStore(FeatureOnlineStoreName name) {
+ GetFeatureOnlineStoreRequest request =
+ GetFeatureOnlineStoreRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ return getFeatureOnlineStore(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets details of a single FeatureOnlineStore.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * String name =
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]").toString();
+ * FeatureOnlineStore response =
+ * featureOnlineStoreAdminServiceClient.getFeatureOnlineStore(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the FeatureOnlineStore resource.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeatureOnlineStore getFeatureOnlineStore(String name) {
+ GetFeatureOnlineStoreRequest request =
+ GetFeatureOnlineStoreRequest.newBuilder().setName(name).build();
+ return getFeatureOnlineStore(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets details of a single FeatureOnlineStore.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * GetFeatureOnlineStoreRequest request =
+ * GetFeatureOnlineStoreRequest.newBuilder()
+ * .setName(
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]")
+ * .toString())
+ * .build();
+ * FeatureOnlineStore response =
+ * featureOnlineStoreAdminServiceClient.getFeatureOnlineStore(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeatureOnlineStore getFeatureOnlineStore(GetFeatureOnlineStoreRequest request) {
+ return getFeatureOnlineStoreCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets details of a single FeatureOnlineStore.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * GetFeatureOnlineStoreRequest request =
+ * GetFeatureOnlineStoreRequest.newBuilder()
+ * .setName(
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]")
+ * .toString())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * for (FeatureOnlineStore element :
+ * featureOnlineStoreAdminServiceClient.listFeatureOnlineStores(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to list FeatureOnlineStores. Format:
+ * `projects/{project}/locations/{location}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeatureOnlineStoresPagedResponse listFeatureOnlineStores(LocationName parent) {
+ ListFeatureOnlineStoresRequest request =
+ ListFeatureOnlineStoresRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listFeatureOnlineStores(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists FeatureOnlineStores in a given project and location.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * for (FeatureOnlineStore element :
+ * featureOnlineStoreAdminServiceClient.listFeatureOnlineStores(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to list FeatureOnlineStores. Format:
+ * `projects/{project}/locations/{location}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeatureOnlineStoresPagedResponse listFeatureOnlineStores(String parent) {
+ ListFeatureOnlineStoresRequest request =
+ ListFeatureOnlineStoresRequest.newBuilder().setParent(parent).build();
+ return listFeatureOnlineStores(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists FeatureOnlineStores in a given project and location.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * ListFeatureOnlineStoresRequest request =
+ * ListFeatureOnlineStoresRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * for (FeatureOnlineStore element :
+ * featureOnlineStoreAdminServiceClient.listFeatureOnlineStores(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeatureOnlineStoresPagedResponse listFeatureOnlineStores(
+ ListFeatureOnlineStoresRequest request) {
+ return listFeatureOnlineStoresPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists FeatureOnlineStores in a given project and location.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * ListFeatureOnlineStoresRequest request =
+ * ListFeatureOnlineStoresRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * ListFeatureOnlineStoresRequest request =
+ * ListFeatureOnlineStoresRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * while (true) {
+ * ListFeatureOnlineStoresResponse response =
+ * featureOnlineStoreAdminServiceClient.listFeatureOnlineStoresCallable().call(request);
+ * for (FeatureOnlineStore element : response.getFeatureOnlineStoresList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * FeatureOnlineStore featureOnlineStore = FeatureOnlineStore.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * FeatureOnlineStore response =
+ * featureOnlineStoreAdminServiceClient
+ * .updateFeatureOnlineStoreAsync(featureOnlineStore, updateMask)
+ * .get();
+ * }
+ * }
+ *
+ * @param featureOnlineStore Required. The FeatureOnlineStore's `name` field is used to identify
+ * the FeatureOnlineStore to be updated. Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`
+ * @param updateMask Field mask is used to specify the fields to be overwritten in the
+ * FeatureOnlineStore 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.
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * UpdateFeatureOnlineStoreRequest request =
+ * UpdateFeatureOnlineStoreRequest.newBuilder()
+ * .setFeatureOnlineStore(FeatureOnlineStore.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * FeatureOnlineStore response =
+ * featureOnlineStoreAdminServiceClient.updateFeatureOnlineStoreAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * UpdateFeatureOnlineStoreRequest request =
+ * UpdateFeatureOnlineStoreRequest.newBuilder()
+ * .setFeatureOnlineStore(FeatureOnlineStore.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * OperationFuture
+ */
+ public final OperationCallable<
+ UpdateFeatureOnlineStoreRequest,
+ FeatureOnlineStore,
+ UpdateFeatureOnlineStoreOperationMetadata>
+ updateFeatureOnlineStoreOperationCallable() {
+ return stub.updateFeatureOnlineStoreOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates the parameters of a single FeatureOnlineStore.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * UpdateFeatureOnlineStoreRequest request =
+ * UpdateFeatureOnlineStoreRequest.newBuilder()
+ * .setFeatureOnlineStore(FeatureOnlineStore.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * FeatureOnlineStoreName name =
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]");
+ * boolean force = true;
+ * featureOnlineStoreAdminServiceClient.deleteFeatureOnlineStoreAsync(name, force).get();
+ * }
+ * }
+ *
+ * @param name Required. The name of the FeatureOnlineStore to be deleted. Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`
+ * @param force If set to true, any FeatureViews and Features for this FeatureOnlineStore will
+ * also be deleted. (Otherwise, the request will only work if the FeatureOnlineStore has no
+ * FeatureViews.)
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * String name =
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]").toString();
+ * boolean force = true;
+ * featureOnlineStoreAdminServiceClient.deleteFeatureOnlineStoreAsync(name, force).get();
+ * }
+ * }
+ *
+ * @param name Required. The name of the FeatureOnlineStore to be deleted. Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`
+ * @param force If set to true, any FeatureViews and Features for this FeatureOnlineStore will
+ * also be deleted. (Otherwise, the request will only work if the FeatureOnlineStore has no
+ * FeatureViews.)
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * DeleteFeatureOnlineStoreRequest request =
+ * DeleteFeatureOnlineStoreRequest.newBuilder()
+ * .setName(
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]")
+ * .toString())
+ * .setForce(true)
+ * .build();
+ * featureOnlineStoreAdminServiceClient.deleteFeatureOnlineStoreAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * DeleteFeatureOnlineStoreRequest request =
+ * DeleteFeatureOnlineStoreRequest.newBuilder()
+ * .setName(
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]")
+ * .toString())
+ * .setForce(true)
+ * .build();
+ * OperationFuture
+ */
+ public final OperationCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * DeleteFeatureOnlineStoreRequest request =
+ * DeleteFeatureOnlineStoreRequest.newBuilder()
+ * .setName(
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]")
+ * .toString())
+ * .setForce(true)
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * FeatureOnlineStoreName parent =
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]");
+ * FeatureView featureView = FeatureView.newBuilder().build();
+ * String featureViewId = "featureViewId-1437334218";
+ * FeatureView response =
+ * featureOnlineStoreAdminServiceClient
+ * .createFeatureViewAsync(parent, featureView, featureViewId)
+ * .get();
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the FeatureOnlineStore to create FeatureViews.
+ * Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`
+ * @param featureView Required. The FeatureView to create.
+ * @param featureViewId Required. The ID to use for the FeatureView, which will become the final
+ * component of the FeatureView's resource name.
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * String parent =
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]").toString();
+ * FeatureView featureView = FeatureView.newBuilder().build();
+ * String featureViewId = "featureViewId-1437334218";
+ * FeatureView response =
+ * featureOnlineStoreAdminServiceClient
+ * .createFeatureViewAsync(parent, featureView, featureViewId)
+ * .get();
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the FeatureOnlineStore to create FeatureViews.
+ * Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`
+ * @param featureView Required. The FeatureView to create.
+ * @param featureViewId Required. The ID to use for the FeatureView, which will become the final
+ * component of the FeatureView's resource name.
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * CreateFeatureViewRequest request =
+ * CreateFeatureViewRequest.newBuilder()
+ * .setParent(
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]")
+ * .toString())
+ * .setFeatureView(FeatureView.newBuilder().build())
+ * .setFeatureViewId("featureViewId-1437334218")
+ * .setRunSyncImmediately(true)
+ * .build();
+ * FeatureView response =
+ * featureOnlineStoreAdminServiceClient.createFeatureViewAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * CreateFeatureViewRequest request =
+ * CreateFeatureViewRequest.newBuilder()
+ * .setParent(
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]")
+ * .toString())
+ * .setFeatureView(FeatureView.newBuilder().build())
+ * .setFeatureViewId("featureViewId-1437334218")
+ * .setRunSyncImmediately(true)
+ * .build();
+ * OperationFuture
+ */
+ public final OperationCallable<
+ CreateFeatureViewRequest, FeatureView, CreateFeatureViewOperationMetadata>
+ createFeatureViewOperationCallable() {
+ return stub.createFeatureViewOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a new FeatureView in a given FeatureOnlineStore.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * CreateFeatureViewRequest request =
+ * CreateFeatureViewRequest.newBuilder()
+ * .setParent(
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]")
+ * .toString())
+ * .setFeatureView(FeatureView.newBuilder().build())
+ * .setFeatureViewId("featureViewId-1437334218")
+ * .setRunSyncImmediately(true)
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * FeatureViewName name =
+ * FeatureViewName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
+ * FeatureView response = featureOnlineStoreAdminServiceClient.getFeatureView(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the FeatureView resource. Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeatureView getFeatureView(FeatureViewName name) {
+ GetFeatureViewRequest request =
+ GetFeatureViewRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return getFeatureView(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets details of a single FeatureView.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * String name =
+ * FeatureViewName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString();
+ * FeatureView response = featureOnlineStoreAdminServiceClient.getFeatureView(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the FeatureView resource. Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeatureView getFeatureView(String name) {
+ GetFeatureViewRequest request = GetFeatureViewRequest.newBuilder().setName(name).build();
+ return getFeatureView(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets details of a single FeatureView.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * GetFeatureViewRequest request =
+ * GetFeatureViewRequest.newBuilder()
+ * .setName(
+ * FeatureViewName.of(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString())
+ * .build();
+ * FeatureView response = featureOnlineStoreAdminServiceClient.getFeatureView(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeatureView getFeatureView(GetFeatureViewRequest request) {
+ return getFeatureViewCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets details of a single FeatureView.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * GetFeatureViewRequest request =
+ * GetFeatureViewRequest.newBuilder()
+ * .setName(
+ * FeatureViewName.of(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * FeatureOnlineStoreName parent =
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]");
+ * for (FeatureView element :
+ * featureOnlineStoreAdminServiceClient.listFeatureViews(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the FeatureOnlineStore to list FeatureViews.
+ * Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeatureViewsPagedResponse listFeatureViews(FeatureOnlineStoreName parent) {
+ ListFeatureViewsRequest request =
+ ListFeatureViewsRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listFeatureViews(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists FeatureViews in a given FeatureOnlineStore.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * String parent =
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]").toString();
+ * for (FeatureView element :
+ * featureOnlineStoreAdminServiceClient.listFeatureViews(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the FeatureOnlineStore to list FeatureViews.
+ * Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeatureViewsPagedResponse listFeatureViews(String parent) {
+ ListFeatureViewsRequest request =
+ ListFeatureViewsRequest.newBuilder().setParent(parent).build();
+ return listFeatureViews(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists FeatureViews in a given FeatureOnlineStore.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * ListFeatureViewsRequest request =
+ * ListFeatureViewsRequest.newBuilder()
+ * .setParent(
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]")
+ * .toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * for (FeatureView element :
+ * featureOnlineStoreAdminServiceClient.listFeatureViews(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeatureViewsPagedResponse listFeatureViews(ListFeatureViewsRequest request) {
+ return listFeatureViewsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists FeatureViews in a given FeatureOnlineStore.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * ListFeatureViewsRequest request =
+ * ListFeatureViewsRequest.newBuilder()
+ * .setParent(
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]")
+ * .toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * ListFeatureViewsRequest request =
+ * ListFeatureViewsRequest.newBuilder()
+ * .setParent(
+ * FeatureOnlineStoreName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]")
+ * .toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * while (true) {
+ * ListFeatureViewsResponse response =
+ * featureOnlineStoreAdminServiceClient.listFeatureViewsCallable().call(request);
+ * for (FeatureView element : response.getFeatureViewsList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * FeatureView featureView = FeatureView.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * FeatureView response =
+ * featureOnlineStoreAdminServiceClient
+ * .updateFeatureViewAsync(featureView, updateMask)
+ * .get();
+ * }
+ * }
+ *
+ * @param featureView Required. The FeatureView's `name` field is used to identify the FeatureView
+ * to be updated. Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`
+ * @param updateMask Field mask is used to specify the fields to be overwritten in the FeatureView
+ * 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.
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * UpdateFeatureViewRequest request =
+ * UpdateFeatureViewRequest.newBuilder()
+ * .setFeatureView(FeatureView.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * FeatureView response =
+ * featureOnlineStoreAdminServiceClient.updateFeatureViewAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * UpdateFeatureViewRequest request =
+ * UpdateFeatureViewRequest.newBuilder()
+ * .setFeatureView(FeatureView.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * OperationFuture
+ */
+ public final OperationCallable<
+ UpdateFeatureViewRequest, FeatureView, UpdateFeatureViewOperationMetadata>
+ updateFeatureViewOperationCallable() {
+ return stub.updateFeatureViewOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates the parameters of a single FeatureView.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * UpdateFeatureViewRequest request =
+ * UpdateFeatureViewRequest.newBuilder()
+ * .setFeatureView(FeatureView.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * FeatureViewName name =
+ * FeatureViewName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
+ * featureOnlineStoreAdminServiceClient.deleteFeatureViewAsync(name).get();
+ * }
+ * }
+ *
+ * @param name Required. The name of the FeatureView to be deleted. Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * String name =
+ * FeatureViewName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString();
+ * featureOnlineStoreAdminServiceClient.deleteFeatureViewAsync(name).get();
+ * }
+ * }
+ *
+ * @param name Required. The name of the FeatureView to be deleted. Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * DeleteFeatureViewRequest request =
+ * DeleteFeatureViewRequest.newBuilder()
+ * .setName(
+ * FeatureViewName.of(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString())
+ * .build();
+ * featureOnlineStoreAdminServiceClient.deleteFeatureViewAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * DeleteFeatureViewRequest request =
+ * DeleteFeatureViewRequest.newBuilder()
+ * .setName(
+ * FeatureViewName.of(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString())
+ * .build();
+ * OperationFuture
+ */
+ public final OperationCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * DeleteFeatureViewRequest request =
+ * DeleteFeatureViewRequest.newBuilder()
+ * .setName(
+ * FeatureViewName.of(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * FeatureViewName featureView =
+ * FeatureViewName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
+ * SyncFeatureViewResponse response =
+ * featureOnlineStoreAdminServiceClient.syncFeatureView(featureView);
+ * }
+ * }
+ *
+ * @param featureView Required. Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final SyncFeatureViewResponse syncFeatureView(FeatureViewName featureView) {
+ SyncFeatureViewRequest request =
+ SyncFeatureViewRequest.newBuilder()
+ .setFeatureView(featureView == null ? null : featureView.toString())
+ .build();
+ return syncFeatureView(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Triggers on-demand sync for the FeatureView.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * String featureView =
+ * FeatureViewName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString();
+ * SyncFeatureViewResponse response =
+ * featureOnlineStoreAdminServiceClient.syncFeatureView(featureView);
+ * }
+ * }
+ *
+ * @param featureView Required. Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final SyncFeatureViewResponse syncFeatureView(String featureView) {
+ SyncFeatureViewRequest request =
+ SyncFeatureViewRequest.newBuilder().setFeatureView(featureView).build();
+ return syncFeatureView(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Triggers on-demand sync for the FeatureView.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * SyncFeatureViewRequest request =
+ * SyncFeatureViewRequest.newBuilder()
+ * .setFeatureView(
+ * FeatureViewName.of(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString())
+ * .build();
+ * SyncFeatureViewResponse response =
+ * featureOnlineStoreAdminServiceClient.syncFeatureView(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final SyncFeatureViewResponse syncFeatureView(SyncFeatureViewRequest request) {
+ return syncFeatureViewCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Triggers on-demand sync for the FeatureView.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * SyncFeatureViewRequest request =
+ * SyncFeatureViewRequest.newBuilder()
+ * .setFeatureView(
+ * FeatureViewName.of(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * FeatureViewSyncName name =
+ * FeatureViewSyncName.of(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
+ * FeatureViewSync response = featureOnlineStoreAdminServiceClient.getFeatureViewSync(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the FeatureViewSync resource. Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeatureViewSync getFeatureViewSync(FeatureViewSyncName name) {
+ GetFeatureViewSyncRequest request =
+ GetFeatureViewSyncRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ return getFeatureViewSync(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets details of a single FeatureViewSync.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * String name =
+ * FeatureViewSyncName.of(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString();
+ * FeatureViewSync response = featureOnlineStoreAdminServiceClient.getFeatureViewSync(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the FeatureViewSync resource. Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeatureViewSync getFeatureViewSync(String name) {
+ GetFeatureViewSyncRequest request =
+ GetFeatureViewSyncRequest.newBuilder().setName(name).build();
+ return getFeatureViewSync(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets details of a single FeatureViewSync.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * GetFeatureViewSyncRequest request =
+ * GetFeatureViewSyncRequest.newBuilder()
+ * .setName(
+ * FeatureViewSyncName.of(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString())
+ * .build();
+ * FeatureViewSync response = featureOnlineStoreAdminServiceClient.getFeatureViewSync(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeatureViewSync getFeatureViewSync(GetFeatureViewSyncRequest request) {
+ return getFeatureViewSyncCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets details of a single FeatureViewSync.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * GetFeatureViewSyncRequest request =
+ * GetFeatureViewSyncRequest.newBuilder()
+ * .setName(
+ * FeatureViewSyncName.of(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * FeatureViewName parent =
+ * FeatureViewName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
+ * for (FeatureViewSync element :
+ * featureOnlineStoreAdminServiceClient.listFeatureViewSyncs(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the FeatureView to list FeatureViewSyncs. Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeatureViewSyncsPagedResponse listFeatureViewSyncs(FeatureViewName parent) {
+ ListFeatureViewSyncsRequest request =
+ ListFeatureViewSyncsRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listFeatureViewSyncs(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists FeatureViewSyncs in a given FeatureView.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * String parent =
+ * FeatureViewName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString();
+ * for (FeatureViewSync element :
+ * featureOnlineStoreAdminServiceClient.listFeatureViewSyncs(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the FeatureView to list FeatureViewSyncs. Format:
+ * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeatureViewSyncsPagedResponse listFeatureViewSyncs(String parent) {
+ ListFeatureViewSyncsRequest request =
+ ListFeatureViewSyncsRequest.newBuilder().setParent(parent).build();
+ return listFeatureViewSyncs(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists FeatureViewSyncs in a given FeatureView.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * ListFeatureViewSyncsRequest request =
+ * ListFeatureViewSyncsRequest.newBuilder()
+ * .setParent(
+ * FeatureViewName.of(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * for (FeatureViewSync element :
+ * featureOnlineStoreAdminServiceClient.listFeatureViewSyncs(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeatureViewSyncsPagedResponse listFeatureViewSyncs(
+ ListFeatureViewSyncsRequest request) {
+ return listFeatureViewSyncsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists FeatureViewSyncs in a given FeatureView.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * ListFeatureViewSyncsRequest request =
+ * ListFeatureViewSyncsRequest.newBuilder()
+ * .setParent(
+ * FeatureViewName.of(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * ListFeatureViewSyncsRequest request =
+ * ListFeatureViewSyncsRequest.newBuilder()
+ * .setParent(
+ * FeatureViewName.of(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * while (true) {
+ * ListFeatureViewSyncsResponse response =
+ * featureOnlineStoreAdminServiceClient.listFeatureViewSyncsCallable().call(request);
+ * for (FeatureViewSync element : response.getFeatureViewSyncsList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (Location element :
+ * featureOnlineStoreAdminServiceClient.listLocations(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListLocationsPagedResponse listLocations(ListLocationsRequest request) {
+ return listLocationsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists information about the supported locations for this service.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListLocationsResponse response =
+ * featureOnlineStoreAdminServiceClient.listLocationsCallable().call(request);
+ * for (Location element : response.getLocationsList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+ * Location response = featureOnlineStoreAdminServiceClient.getLocation(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Location getLocation(GetLocationRequest request) {
+ return getLocationCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets information about a location.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * SetIamPolicyRequest request =
+ * SetIamPolicyRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .setPolicy(Policy.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * Policy response = featureOnlineStoreAdminServiceClient.setIamPolicy(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Policy setIamPolicy(SetIamPolicyRequest request) {
+ return setIamPolicyCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Sets the access control policy on the specified resource. Replacesany existing policy.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * SetIamPolicyRequest request =
+ * SetIamPolicyRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .setPolicy(Policy.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * GetIamPolicyRequest request =
+ * GetIamPolicyRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .setOptions(GetPolicyOptions.newBuilder().build())
+ * .build();
+ * Policy response = featureOnlineStoreAdminServiceClient.getIamPolicy(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Policy getIamPolicy(GetIamPolicyRequest request) {
+ return getIamPolicyCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets the access control policy for a resource. Returns an empty policyif the resource exists
+ * and does not have a policy set.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * GetIamPolicyRequest request =
+ * GetIamPolicyRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .setOptions(GetPolicyOptions.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * TestIamPermissionsRequest request =
+ * TestIamPermissionsRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .addAllPermissions(new ArrayList
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) {
+ return testIamPermissionsCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns permissions that a caller has on the specified resource. If theresource does not exist,
+ * this will return an empty set ofpermissions, not a `NOT_FOUND` error.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient =
+ * FeatureOnlineStoreAdminServiceClient.create()) {
+ * TestIamPermissionsRequest request =
+ * TestIamPermissionsRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .addAllPermissions(new ArrayList
+ */
+ public final UnaryCallable
+ *
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeatureOnlineStoreAdminServiceSettings.Builder featureOnlineStoreAdminServiceSettingsBuilder =
+ * FeatureOnlineStoreAdminServiceSettings.newBuilder();
+ * featureOnlineStoreAdminServiceSettingsBuilder
+ * .getFeatureOnlineStoreSettings()
+ * .setRetrySettings(
+ * featureOnlineStoreAdminServiceSettingsBuilder
+ * .getFeatureOnlineStoreSettings()
+ * .getRetrySettings()
+ * .toBuilder()
+ * .setTotalTimeout(Duration.ofSeconds(30))
+ * .build());
+ * FeatureOnlineStoreAdminServiceSettings featureOnlineStoreAdminServiceSettings =
+ * featureOnlineStoreAdminServiceSettingsBuilder.build();
+ * }
+ */
+@Generated("by gapic-generator-java")
+public class FeatureOnlineStoreAdminServiceSettings
+ extends ClientSettings{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create()) {
+ * FeatureViewName featureView =
+ * FeatureViewName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
+ * FeatureViewDataKey dataKey = FeatureViewDataKey.newBuilder().build();
+ * FetchFeatureValuesResponse response =
+ * featureOnlineStoreServiceClient.fetchFeatureValues(featureView, dataKey);
+ * }
+ * }
+ *
+ *
+ *
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeatureOnlineStoreServiceSettings featureOnlineStoreServiceSettings =
+ * FeatureOnlineStoreServiceSettings.newBuilder()
+ * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ * .build();
+ * FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create(featureOnlineStoreServiceSettings);
+ * }
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeatureOnlineStoreServiceSettings featureOnlineStoreServiceSettings =
+ * FeatureOnlineStoreServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create(featureOnlineStoreServiceSettings);
+ * }
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create()) {
+ * FeatureViewName featureView =
+ * FeatureViewName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
+ * FeatureViewDataKey dataKey = FeatureViewDataKey.newBuilder().build();
+ * FetchFeatureValuesResponse response =
+ * featureOnlineStoreServiceClient.fetchFeatureValues(featureView, dataKey);
+ * }
+ * }
+ *
+ * @param featureView Required. FeatureView resource format
+ * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}`
+ * @param dataKey Optional. The request key to fetch feature values for.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FetchFeatureValuesResponse fetchFeatureValues(
+ FeatureViewName featureView, FeatureViewDataKey dataKey) {
+ FetchFeatureValuesRequest request =
+ FetchFeatureValuesRequest.newBuilder()
+ .setFeatureView(featureView == null ? null : featureView.toString())
+ .setDataKey(dataKey)
+ .build();
+ return fetchFeatureValues(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Fetch feature values under a FeatureView.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create()) {
+ * String featureView =
+ * FeatureViewName.of("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString();
+ * FeatureViewDataKey dataKey = FeatureViewDataKey.newBuilder().build();
+ * FetchFeatureValuesResponse response =
+ * featureOnlineStoreServiceClient.fetchFeatureValues(featureView, dataKey);
+ * }
+ * }
+ *
+ * @param featureView Required. FeatureView resource format
+ * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}`
+ * @param dataKey Optional. The request key to fetch feature values for.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FetchFeatureValuesResponse fetchFeatureValues(
+ String featureView, FeatureViewDataKey dataKey) {
+ FetchFeatureValuesRequest request =
+ FetchFeatureValuesRequest.newBuilder()
+ .setFeatureView(featureView)
+ .setDataKey(dataKey)
+ .build();
+ return fetchFeatureValues(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Fetch feature values under a FeatureView.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create()) {
+ * FetchFeatureValuesRequest request =
+ * FetchFeatureValuesRequest.newBuilder()
+ * .setFeatureView(
+ * FeatureViewName.of(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString())
+ * .setDataKey(FeatureViewDataKey.newBuilder().build())
+ * .setDataFormat(FeatureViewDataFormat.forNumber(0))
+ * .build();
+ * FetchFeatureValuesResponse response =
+ * featureOnlineStoreServiceClient.fetchFeatureValues(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FetchFeatureValuesResponse fetchFeatureValues(FetchFeatureValuesRequest request) {
+ return fetchFeatureValuesCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Fetch feature values under a FeatureView.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create()) {
+ * FetchFeatureValuesRequest request =
+ * FetchFeatureValuesRequest.newBuilder()
+ * .setFeatureView(
+ * FeatureViewName.of(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]")
+ * .toString())
+ * .setDataKey(FeatureViewDataKey.newBuilder().build())
+ * .setDataFormat(FeatureViewDataFormat.forNumber(0))
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (Location element : featureOnlineStoreServiceClient.listLocations(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListLocationsPagedResponse listLocations(ListLocationsRequest request) {
+ return listLocationsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists information about the supported locations for this service.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListLocationsResponse response =
+ * featureOnlineStoreServiceClient.listLocationsCallable().call(request);
+ * for (Location element : response.getLocationsList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create()) {
+ * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+ * Location response = featureOnlineStoreServiceClient.getLocation(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Location getLocation(GetLocationRequest request) {
+ return getLocationCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets information about a location.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create()) {
+ * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create()) {
+ * SetIamPolicyRequest request =
+ * SetIamPolicyRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .setPolicy(Policy.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * Policy response = featureOnlineStoreServiceClient.setIamPolicy(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Policy setIamPolicy(SetIamPolicyRequest request) {
+ return setIamPolicyCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Sets the access control policy on the specified resource. Replacesany existing policy.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create()) {
+ * SetIamPolicyRequest request =
+ * SetIamPolicyRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .setPolicy(Policy.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create()) {
+ * GetIamPolicyRequest request =
+ * GetIamPolicyRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .setOptions(GetPolicyOptions.newBuilder().build())
+ * .build();
+ * Policy response = featureOnlineStoreServiceClient.getIamPolicy(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Policy getIamPolicy(GetIamPolicyRequest request) {
+ return getIamPolicyCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets the access control policy for a resource. Returns an empty policyif the resource exists
+ * and does not have a policy set.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create()) {
+ * GetIamPolicyRequest request =
+ * GetIamPolicyRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .setOptions(GetPolicyOptions.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create()) {
+ * TestIamPermissionsRequest request =
+ * TestIamPermissionsRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .addAllPermissions(new ArrayList
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) {
+ return testIamPermissionsCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns permissions that a caller has on the specified resource. If theresource does not exist,
+ * this will return an empty set ofpermissions, not a `NOT_FOUND` error.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureOnlineStoreServiceClient featureOnlineStoreServiceClient =
+ * FeatureOnlineStoreServiceClient.create()) {
+ * TestIamPermissionsRequest request =
+ * TestIamPermissionsRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .addAllPermissions(new ArrayList
+ */
+ public final UnaryCallable
+ *
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeatureOnlineStoreServiceSettings.Builder featureOnlineStoreServiceSettingsBuilder =
+ * FeatureOnlineStoreServiceSettings.newBuilder();
+ * featureOnlineStoreServiceSettingsBuilder
+ * .fetchFeatureValuesSettings()
+ * .setRetrySettings(
+ * featureOnlineStoreServiceSettingsBuilder
+ * .fetchFeatureValuesSettings()
+ * .getRetrySettings()
+ * .toBuilder()
+ * .setTotalTimeout(Duration.ofSeconds(30))
+ * .build());
+ * FeatureOnlineStoreServiceSettings featureOnlineStoreServiceSettings =
+ * featureOnlineStoreServiceSettingsBuilder.build();
+ * }
+ */
+@Generated("by gapic-generator-java")
+public class FeatureOnlineStoreServiceSettings
+ extends ClientSettings{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * FeatureGroupName name = FeatureGroupName.of("[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]");
+ * FeatureGroup response = featureRegistryServiceClient.getFeatureGroup(name);
+ * }
+ * }
+ *
+ *
+ *
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeatureRegistryServiceSettings featureRegistryServiceSettings =
+ * FeatureRegistryServiceSettings.newBuilder()
+ * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ * .build();
+ * FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create(featureRegistryServiceSettings);
+ * }
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeatureRegistryServiceSettings featureRegistryServiceSettings =
+ * FeatureRegistryServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create(featureRegistryServiceSettings);
+ * }
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * FeatureGroup featureGroup = FeatureGroup.newBuilder().build();
+ * String featureGroupId = "featureGroupId-1768466396";
+ * FeatureGroup response =
+ * featureRegistryServiceClient
+ * .createFeatureGroupAsync(parent, featureGroup, featureGroupId)
+ * .get();
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to create FeatureGroups. Format:
+ * `projects/{project}/locations/{location}'`
+ * @param featureGroup Required. The FeatureGroup to create.
+ * @param featureGroupId Required. The ID to use for this FeatureGroup, which will become the
+ * final component of the FeatureGroup's resource name.
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * FeatureGroup featureGroup = FeatureGroup.newBuilder().build();
+ * String featureGroupId = "featureGroupId-1768466396";
+ * FeatureGroup response =
+ * featureRegistryServiceClient
+ * .createFeatureGroupAsync(parent, featureGroup, featureGroupId)
+ * .get();
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to create FeatureGroups. Format:
+ * `projects/{project}/locations/{location}'`
+ * @param featureGroup Required. The FeatureGroup to create.
+ * @param featureGroupId Required. The ID to use for this FeatureGroup, which will become the
+ * final component of the FeatureGroup's resource name.
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * CreateFeatureGroupRequest request =
+ * CreateFeatureGroupRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFeatureGroup(FeatureGroup.newBuilder().build())
+ * .setFeatureGroupId("featureGroupId-1768466396")
+ * .build();
+ * FeatureGroup response = featureRegistryServiceClient.createFeatureGroupAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * CreateFeatureGroupRequest request =
+ * CreateFeatureGroupRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFeatureGroup(FeatureGroup.newBuilder().build())
+ * .setFeatureGroupId("featureGroupId-1768466396")
+ * .build();
+ * OperationFuture
+ */
+ public final OperationCallable<
+ CreateFeatureGroupRequest, FeatureGroup, CreateFeatureGroupOperationMetadata>
+ createFeatureGroupOperationCallable() {
+ return stub.createFeatureGroupOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a new FeatureGroup in a given project and location.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * CreateFeatureGroupRequest request =
+ * CreateFeatureGroupRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFeatureGroup(FeatureGroup.newBuilder().build())
+ * .setFeatureGroupId("featureGroupId-1768466396")
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * FeatureGroupName name = FeatureGroupName.of("[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]");
+ * FeatureGroup response = featureRegistryServiceClient.getFeatureGroup(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the FeatureGroup resource.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeatureGroup getFeatureGroup(FeatureGroupName name) {
+ GetFeatureGroupRequest request =
+ GetFeatureGroupRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return getFeatureGroup(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets details of a single FeatureGroup.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * String name = FeatureGroupName.of("[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]").toString();
+ * FeatureGroup response = featureRegistryServiceClient.getFeatureGroup(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the FeatureGroup resource.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeatureGroup getFeatureGroup(String name) {
+ GetFeatureGroupRequest request = GetFeatureGroupRequest.newBuilder().setName(name).build();
+ return getFeatureGroup(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets details of a single FeatureGroup.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * GetFeatureGroupRequest request =
+ * GetFeatureGroupRequest.newBuilder()
+ * .setName(FeatureGroupName.of("[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]").toString())
+ * .build();
+ * FeatureGroup response = featureRegistryServiceClient.getFeatureGroup(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FeatureGroup getFeatureGroup(GetFeatureGroupRequest request) {
+ return getFeatureGroupCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets details of a single FeatureGroup.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * GetFeatureGroupRequest request =
+ * GetFeatureGroupRequest.newBuilder()
+ * .setName(FeatureGroupName.of("[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]").toString())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * for (FeatureGroup element :
+ * featureRegistryServiceClient.listFeatureGroups(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to list FeatureGroups. Format:
+ * `projects/{project}/locations/{location}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeatureGroupsPagedResponse listFeatureGroups(LocationName parent) {
+ ListFeatureGroupsRequest request =
+ ListFeatureGroupsRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listFeatureGroups(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists FeatureGroups in a given project and location.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * for (FeatureGroup element :
+ * featureRegistryServiceClient.listFeatureGroups(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to list FeatureGroups. Format:
+ * `projects/{project}/locations/{location}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeatureGroupsPagedResponse listFeatureGroups(String parent) {
+ ListFeatureGroupsRequest request =
+ ListFeatureGroupsRequest.newBuilder().setParent(parent).build();
+ return listFeatureGroups(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists FeatureGroups in a given project and location.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * ListFeatureGroupsRequest request =
+ * ListFeatureGroupsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * for (FeatureGroup element :
+ * featureRegistryServiceClient.listFeatureGroups(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeatureGroupsPagedResponse listFeatureGroups(ListFeatureGroupsRequest request) {
+ return listFeatureGroupsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists FeatureGroups in a given project and location.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * ListFeatureGroupsRequest request =
+ * ListFeatureGroupsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * ListFeatureGroupsRequest request =
+ * ListFeatureGroupsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * while (true) {
+ * ListFeatureGroupsResponse response =
+ * featureRegistryServiceClient.listFeatureGroupsCallable().call(request);
+ * for (FeatureGroup element : response.getFeatureGroupsList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * FeatureGroup featureGroup = FeatureGroup.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * FeatureGroup response =
+ * featureRegistryServiceClient.updateFeatureGroupAsync(featureGroup, updateMask).get();
+ * }
+ * }
+ *
+ * @param featureGroup Required. The FeatureGroup's `name` field is used to identify the
+ * FeatureGroup to be updated. Format:
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
+ * @param updateMask Field mask is used to specify the fields to be overwritten in the
+ * FeatureGroup 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.
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * UpdateFeatureGroupRequest request =
+ * UpdateFeatureGroupRequest.newBuilder()
+ * .setFeatureGroup(FeatureGroup.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * FeatureGroup response = featureRegistryServiceClient.updateFeatureGroupAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * UpdateFeatureGroupRequest request =
+ * UpdateFeatureGroupRequest.newBuilder()
+ * .setFeatureGroup(FeatureGroup.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * OperationFuture
+ */
+ public final OperationCallable<
+ UpdateFeatureGroupRequest, FeatureGroup, UpdateFeatureGroupOperationMetadata>
+ updateFeatureGroupOperationCallable() {
+ return stub.updateFeatureGroupOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates the parameters of a single FeatureGroup.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * UpdateFeatureGroupRequest request =
+ * UpdateFeatureGroupRequest.newBuilder()
+ * .setFeatureGroup(FeatureGroup.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * FeatureGroupName name = FeatureGroupName.of("[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]");
+ * boolean force = true;
+ * featureRegistryServiceClient.deleteFeatureGroupAsync(name, force).get();
+ * }
+ * }
+ *
+ * @param name Required. The name of the FeatureGroup to be deleted. Format:
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
+ * @param force If set to true, any Features under this FeatureGroup will also be deleted.
+ * (Otherwise, the request will only work if the FeatureGroup has no Features.)
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * String name = FeatureGroupName.of("[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]").toString();
+ * boolean force = true;
+ * featureRegistryServiceClient.deleteFeatureGroupAsync(name, force).get();
+ * }
+ * }
+ *
+ * @param name Required. The name of the FeatureGroup to be deleted. Format:
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
+ * @param force If set to true, any Features under this FeatureGroup will also be deleted.
+ * (Otherwise, the request will only work if the FeatureGroup has no Features.)
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * DeleteFeatureGroupRequest request =
+ * DeleteFeatureGroupRequest.newBuilder()
+ * .setName(FeatureGroupName.of("[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]").toString())
+ * .setForce(true)
+ * .build();
+ * featureRegistryServiceClient.deleteFeatureGroupAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * DeleteFeatureGroupRequest request =
+ * DeleteFeatureGroupRequest.newBuilder()
+ * .setName(FeatureGroupName.of("[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]").toString())
+ * .setForce(true)
+ * .build();
+ * OperationFuture
+ */
+ public final OperationCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * DeleteFeatureGroupRequest request =
+ * DeleteFeatureGroupRequest.newBuilder()
+ * .setName(FeatureGroupName.of("[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]").toString())
+ * .setForce(true)
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * EntityTypeName parent =
+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
+ * Feature feature = Feature.newBuilder().build();
+ * String featureId = "featureId-420503887";
+ * Feature response =
+ * featureRegistryServiceClient.createFeatureAsync(parent, feature, featureId).get();
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the EntityType or FeatureGroup to create a
+ * Feature. Format for entity_type as parent:
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
+ * Format for feature_group as parent:
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
+ * @param feature Required. The Feature to create.
+ * @param featureId Required. The ID to use for the Feature, which will become the final component
+ * of the Feature's resource name.
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * FeatureGroupName parent = FeatureGroupName.of("[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]");
+ * Feature feature = Feature.newBuilder().build();
+ * String featureId = "featureId-420503887";
+ * Feature response =
+ * featureRegistryServiceClient.createFeatureAsync(parent, feature, featureId).get();
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the EntityType or FeatureGroup to create a
+ * Feature. Format for entity_type as parent:
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
+ * Format for feature_group as parent:
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
+ * @param feature Required. The Feature to create.
+ * @param featureId Required. The ID to use for the Feature, which will become the final component
+ * of the Feature's resource name.
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * String parent =
+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
+ * .toString();
+ * Feature feature = Feature.newBuilder().build();
+ * String featureId = "featureId-420503887";
+ * Feature response =
+ * featureRegistryServiceClient.createFeatureAsync(parent, feature, featureId).get();
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the EntityType or FeatureGroup to create a
+ * Feature. Format for entity_type as parent:
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
+ * Format for feature_group as parent:
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
+ * @param feature Required. The Feature to create.
+ * @param featureId Required. The ID to use for the Feature, which will become the final component
+ * of the Feature's resource name.
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * CreateFeatureRequest request =
+ * CreateFeatureRequest.newBuilder()
+ * .setParent(
+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
+ * .toString())
+ * .setFeature(Feature.newBuilder().build())
+ * .setFeatureId("featureId-420503887")
+ * .build();
+ * Feature response = featureRegistryServiceClient.createFeatureAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * CreateFeatureRequest request =
+ * CreateFeatureRequest.newBuilder()
+ * .setParent(
+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
+ * .toString())
+ * .setFeature(Feature.newBuilder().build())
+ * .setFeatureId("featureId-420503887")
+ * .build();
+ * OperationFuture
+ */
+ public final OperationCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * CreateFeatureRequest request =
+ * CreateFeatureRequest.newBuilder()
+ * .setParent(
+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
+ * .toString())
+ * .setFeature(Feature.newBuilder().build())
+ * .setFeatureId("featureId-420503887")
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * FeatureName name =
+ * FeatureName.ofProjectLocationFeatureGroupFeatureName(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]", "[FEATURE]");
+ * Feature response = featureRegistryServiceClient.getFeature(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the Feature resource. Format for entity_type as parent:
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
+ * Format for feature_group as parent:
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feature getFeature(FeatureName name) {
+ GetFeatureRequest request =
+ GetFeatureRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return getFeature(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets details of a single Feature.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * String name =
+ * FeatureName.ofProjectLocationFeaturestoreEntityTypeFeatureName(
+ * "[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
+ * .toString();
+ * Feature response = featureRegistryServiceClient.getFeature(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the Feature resource. Format for entity_type as parent:
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
+ * Format for feature_group as parent:
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feature getFeature(String name) {
+ GetFeatureRequest request = GetFeatureRequest.newBuilder().setName(name).build();
+ return getFeature(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets details of a single Feature.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * GetFeatureRequest request =
+ * GetFeatureRequest.newBuilder()
+ * .setName(
+ * FeatureName.ofProjectLocationFeatureGroupFeatureName(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]", "[FEATURE]")
+ * .toString())
+ * .build();
+ * Feature response = featureRegistryServiceClient.getFeature(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Feature getFeature(GetFeatureRequest request) {
+ return getFeatureCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets details of a single Feature.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * GetFeatureRequest request =
+ * GetFeatureRequest.newBuilder()
+ * .setName(
+ * FeatureName.ofProjectLocationFeatureGroupFeatureName(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]", "[FEATURE]")
+ * .toString())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * EntityTypeName parent =
+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
+ * for (Feature element : featureRegistryServiceClient.listFeatures(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to list Features. Format for
+ * entity_type as parent:
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
+ * Format for feature_group as parent:
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeaturesPagedResponse listFeatures(EntityTypeName parent) {
+ ListFeaturesRequest request =
+ ListFeaturesRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listFeatures(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists Features in a given FeatureGroup.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * FeatureGroupName parent = FeatureGroupName.of("[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]");
+ * for (Feature element : featureRegistryServiceClient.listFeatures(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to list Features. Format for
+ * entity_type as parent:
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
+ * Format for feature_group as parent:
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeaturesPagedResponse listFeatures(FeatureGroupName parent) {
+ ListFeaturesRequest request =
+ ListFeaturesRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listFeatures(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists Features in a given FeatureGroup.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * String parent =
+ * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
+ * .toString();
+ * for (Feature element : featureRegistryServiceClient.listFeatures(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the Location to list Features. Format for
+ * entity_type as parent:
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
+ * Format for feature_group as parent:
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeaturesPagedResponse listFeatures(String parent) {
+ ListFeaturesRequest request = ListFeaturesRequest.newBuilder().setParent(parent).build();
+ return listFeatures(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists Features in a given FeatureGroup.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.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 : featureRegistryServiceClient.listFeatures(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListFeaturesPagedResponse listFeatures(ListFeaturesRequest request) {
+ return listFeaturesPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists Features in a given FeatureGroup.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.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
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.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 =
+ * featureRegistryServiceClient.listFeaturesCallable().call(request);
+ * for (Feature element : response.getFeaturesList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * Feature feature = Feature.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * Feature response = featureRegistryServiceClient.updateFeatureAsync(feature, updateMask).get();
+ * }
+ * }
+ *
+ * @param feature 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}`
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`
+ * @param updateMask 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.
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * UpdateFeatureRequest request =
+ * UpdateFeatureRequest.newBuilder()
+ * .setFeature(Feature.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * Feature response = featureRegistryServiceClient.updateFeatureAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * UpdateFeatureRequest request =
+ * UpdateFeatureRequest.newBuilder()
+ * .setFeature(Feature.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * OperationFuture
+ */
+ public final OperationCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * UpdateFeatureRequest request =
+ * UpdateFeatureRequest.newBuilder()
+ * .setFeature(Feature.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * FeatureName name =
+ * FeatureName.ofProjectLocationFeatureGroupFeatureName(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]", "[FEATURE]");
+ * featureRegistryServiceClient.deleteFeatureAsync(name).get();
+ * }
+ * }
+ *
+ * @param name Required. The name of the Features to be deleted. Format:
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * String name =
+ * FeatureName.ofProjectLocationFeaturestoreEntityTypeFeatureName(
+ * "[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
+ * .toString();
+ * featureRegistryServiceClient.deleteFeatureAsync(name).get();
+ * }
+ * }
+ *
+ * @param name Required. The name of the Features to be deleted. Format:
+ * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
+ * `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * DeleteFeatureRequest request =
+ * DeleteFeatureRequest.newBuilder()
+ * .setName(
+ * FeatureName.ofProjectLocationFeatureGroupFeatureName(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]", "[FEATURE]")
+ * .toString())
+ * .build();
+ * featureRegistryServiceClient.deleteFeatureAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * DeleteFeatureRequest request =
+ * DeleteFeatureRequest.newBuilder()
+ * .setName(
+ * FeatureName.ofProjectLocationFeatureGroupFeatureName(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]", "[FEATURE]")
+ * .toString())
+ * .build();
+ * OperationFuture
+ */
+ public final OperationCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * DeleteFeatureRequest request =
+ * DeleteFeatureRequest.newBuilder()
+ * .setName(
+ * FeatureName.ofProjectLocationFeatureGroupFeatureName(
+ * "[PROJECT]", "[LOCATION]", "[FEATURE_GROUP]", "[FEATURE]")
+ * .toString())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (Location element : featureRegistryServiceClient.listLocations(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListLocationsPagedResponse listLocations(ListLocationsRequest request) {
+ return listLocationsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists information about the supported locations for this service.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * ListLocationsRequest request =
+ * ListLocationsRequest.newBuilder()
+ * .setName("name3373707")
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListLocationsResponse response =
+ * featureRegistryServiceClient.listLocationsCallable().call(request);
+ * for (Location element : response.getLocationsList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+ * Location response = featureRegistryServiceClient.getLocation(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Location getLocation(GetLocationRequest request) {
+ return getLocationCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets information about a location.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * SetIamPolicyRequest request =
+ * SetIamPolicyRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .setPolicy(Policy.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * Policy response = featureRegistryServiceClient.setIamPolicy(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Policy setIamPolicy(SetIamPolicyRequest request) {
+ return setIamPolicyCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Sets the access control policy on the specified resource. Replacesany existing policy.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * SetIamPolicyRequest request =
+ * SetIamPolicyRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .setPolicy(Policy.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * GetIamPolicyRequest request =
+ * GetIamPolicyRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .setOptions(GetPolicyOptions.newBuilder().build())
+ * .build();
+ * Policy response = featureRegistryServiceClient.getIamPolicy(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Policy getIamPolicy(GetIamPolicyRequest request) {
+ return getIamPolicyCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets the access control policy for a resource. Returns an empty policyif the resource exists
+ * and does not have a policy set.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * GetIamPolicyRequest request =
+ * GetIamPolicyRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .setOptions(GetPolicyOptions.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * TestIamPermissionsRequest request =
+ * TestIamPermissionsRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .addAllPermissions(new ArrayList
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) {
+ return testIamPermissionsCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Returns permissions that a caller has on the specified resource. If theresource does not exist,
+ * this will return an empty set ofpermissions, not a `NOT_FOUND` error.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeatureRegistryServiceClient featureRegistryServiceClient =
+ * FeatureRegistryServiceClient.create()) {
+ * TestIamPermissionsRequest request =
+ * TestIamPermissionsRequest.newBuilder()
+ * .setResource(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .addAllPermissions(new ArrayList
+ */
+ public final UnaryCallable
+ *
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeatureRegistryServiceSettings.Builder featureRegistryServiceSettingsBuilder =
+ * FeatureRegistryServiceSettings.newBuilder();
+ * featureRegistryServiceSettingsBuilder
+ * .getFeatureGroupSettings()
+ * .setRetrySettings(
+ * featureRegistryServiceSettingsBuilder
+ * .getFeatureGroupSettings()
+ * .getRetrySettings()
+ * .toBuilder()
+ * .setTotalTimeout(Duration.ofSeconds(30))
+ * .build());
+ * FeatureRegistryServiceSettings featureRegistryServiceSettings =
+ * featureRegistryServiceSettingsBuilder.build();
+ * }
+ */
+@Generated("by gapic-generator-java")
+public class FeatureRegistryServiceSettings extends ClientSettings