Class FeaturestoreServiceSettings


  • @Generated("by gapic-generator-java")
    public class FeaturestoreServiceSettings
    extends com.google.api.gax.rpc.ClientSettings<FeaturestoreServiceSettings>
    Settings class to configure an instance of FeaturestoreServiceClient.

    The default instance has everything set to sensible defaults:

    • The default service address (aiplatform.googleapis.com) and default port (443) are used.
    • Credentials are acquired automatically through Application Default Credentials.
    • Retries are configured for idempotent methods but not for non-idempotent methods.

    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 getFeaturestore to 30 seconds:

    
     // 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
     FeaturestoreServiceSettings.Builder featurestoreServiceSettingsBuilder =
         FeaturestoreServiceSettings.newBuilder();
     featurestoreServiceSettingsBuilder
         .getFeaturestoreSettings()
         .setRetrySettings(
             featurestoreServiceSettingsBuilder
                 .getFeaturestoreSettings()
                 .getRetrySettings()
                 .toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     FeaturestoreServiceSettings featurestoreServiceSettings =
         featurestoreServiceSettingsBuilder.build();
     
    • Method Detail

      • createFeaturestoreSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateFeaturestoreRequest,​com.google.longrunning.Operation> createFeaturestoreSettings()
        Returns the object with the settings used for calls to createFeaturestore.
      • getFeaturestoreSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetFeaturestoreRequest,​Featurestore> getFeaturestoreSettings()
        Returns the object with the settings used for calls to getFeaturestore.
      • updateFeaturestoreSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateFeaturestoreRequest,​com.google.longrunning.Operation> updateFeaturestoreSettings()
        Returns the object with the settings used for calls to updateFeaturestore.
      • deleteFeaturestoreSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteFeaturestoreRequest,​com.google.longrunning.Operation> deleteFeaturestoreSettings()
        Returns the object with the settings used for calls to deleteFeaturestore.
      • deleteFeaturestoreOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteFeaturestoreRequest,​com.google.protobuf.Empty,​DeleteOperationMetadata> deleteFeaturestoreOperationSettings()
        Returns the object with the settings used for calls to deleteFeaturestore.
      • createEntityTypeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateEntityTypeRequest,​com.google.longrunning.Operation> createEntityTypeSettings()
        Returns the object with the settings used for calls to createEntityType.
      • getEntityTypeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetEntityTypeRequest,​EntityType> getEntityTypeSettings()
        Returns the object with the settings used for calls to getEntityType.
      • updateEntityTypeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateEntityTypeRequest,​EntityType> updateEntityTypeSettings()
        Returns the object with the settings used for calls to updateEntityType.
      • deleteEntityTypeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteEntityTypeRequest,​com.google.longrunning.Operation> deleteEntityTypeSettings()
        Returns the object with the settings used for calls to deleteEntityType.
      • deleteEntityTypeOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteEntityTypeRequest,​com.google.protobuf.Empty,​DeleteOperationMetadata> deleteEntityTypeOperationSettings()
        Returns the object with the settings used for calls to deleteEntityType.
      • createFeatureSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateFeatureRequest,​com.google.longrunning.Operation> createFeatureSettings()
        Returns the object with the settings used for calls to createFeature.
      • batchCreateFeaturesSettings

        public com.google.api.gax.rpc.UnaryCallSettings<BatchCreateFeaturesRequest,​com.google.longrunning.Operation> batchCreateFeaturesSettings()
        Returns the object with the settings used for calls to batchCreateFeatures.
      • getFeatureSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetFeatureRequest,​Feature> getFeatureSettings()
        Returns the object with the settings used for calls to getFeature.
      • updateFeatureSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateFeatureRequest,​Feature> updateFeatureSettings()
        Returns the object with the settings used for calls to updateFeature.
      • deleteFeatureSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteFeatureRequest,​com.google.longrunning.Operation> deleteFeatureSettings()
        Returns the object with the settings used for calls to deleteFeature.
      • deleteFeatureOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteFeatureRequest,​com.google.protobuf.Empty,​DeleteOperationMetadata> deleteFeatureOperationSettings()
        Returns the object with the settings used for calls to deleteFeature.
      • importFeatureValuesSettings

        public com.google.api.gax.rpc.UnaryCallSettings<ImportFeatureValuesRequest,​com.google.longrunning.Operation> importFeatureValuesSettings()
        Returns the object with the settings used for calls to importFeatureValues.
      • batchReadFeatureValuesSettings

        public com.google.api.gax.rpc.UnaryCallSettings<BatchReadFeatureValuesRequest,​com.google.longrunning.Operation> batchReadFeatureValuesSettings()
        Returns the object with the settings used for calls to batchReadFeatureValues.
      • exportFeatureValuesSettings

        public com.google.api.gax.rpc.UnaryCallSettings<ExportFeatureValuesRequest,​com.google.longrunning.Operation> exportFeatureValuesSettings()
        Returns the object with the settings used for calls to exportFeatureValues.
      • deleteFeatureValuesSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteFeatureValuesRequest,​com.google.longrunning.Operation> deleteFeatureValuesSettings()
        Returns the object with the settings used for calls to deleteFeatureValues.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​FeaturestoreServiceClient.ListLocationsPagedResponse> listLocationsSettings()
        Returns the object with the settings used for calls to listLocations.
      • getLocationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,​com.google.cloud.location.Location> getLocationSettings()
        Returns the object with the settings used for calls to getLocation.
      • setIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,​com.google.iam.v1.Policy> setIamPolicySettings()
        Returns the object with the settings used for calls to setIamPolicy.
      • getIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,​com.google.iam.v1.Policy> getIamPolicySettings()
        Returns the object with the settings used for calls to getIamPolicy.
      • testIamPermissionsSettings

        public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,​com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
        Returns the object with the settings used for calls to testIamPermissions.
      • defaultExecutorProviderBuilder

        public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
        Returns a builder for the default ExecutorProvider for this service.
      • getDefaultEndpoint

        public static String getDefaultEndpoint()
        Returns the default service endpoint.
      • getDefaultServiceScopes

        public static List<String> getDefaultServiceScopes()
        Returns the default service scopes.
      • defaultCredentialsProviderBuilder

        public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
        Returns a builder for the default credentials for this service.
      • defaultGrpcTransportProviderBuilder

        public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
        Returns a builder for the default ChannelProvider for this service.
      • defaultTransportChannelProvider

        public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
      • defaultApiClientHeaderProviderBuilder

        @BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
        public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()