Package com.google.cloud.recommendationengine.v1beta1.stub (0.36.0)

Classes

CatalogServiceStub

Base stub class for the CatalogService service API.

This class is for advanced usage and reflects the underlying API directly.

CatalogServiceStubSettings

Settings class to configure an instance of CatalogServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (recommendationengine.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 createCatalogItem 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
 CatalogServiceStubSettings.Builder catalogServiceSettingsBuilder =
     CatalogServiceStubSettings.newBuilder();
 catalogServiceSettingsBuilder
     .createCatalogItemSettings()
     .setRetrySettings(
         catalogServiceSettingsBuilder
             .createCatalogItemSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 CatalogServiceStubSettings catalogServiceSettings = catalogServiceSettingsBuilder.build();
 

CatalogServiceStubSettings.Builder

Builder for CatalogServiceStubSettings.

GrpcCatalogServiceCallableFactory

gRPC callable factory implementation for the CatalogService service API.

This class is for advanced usage.

GrpcCatalogServiceStub

gRPC stub implementation for the CatalogService service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcPredictionApiKeyRegistryCallableFactory

gRPC callable factory implementation for the PredictionApiKeyRegistry service API.

This class is for advanced usage.

GrpcPredictionApiKeyRegistryStub

gRPC stub implementation for the PredictionApiKeyRegistry service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcPredictionServiceCallableFactory

gRPC callable factory implementation for the PredictionService service API.

This class is for advanced usage.

GrpcPredictionServiceStub

gRPC stub implementation for the PredictionService service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcUserEventServiceCallableFactory

gRPC callable factory implementation for the UserEventService service API.

This class is for advanced usage.

GrpcUserEventServiceStub

gRPC stub implementation for the UserEventService service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonCatalogServiceCallableFactory

REST callable factory implementation for the CatalogService service API.

This class is for advanced usage.

HttpJsonCatalogServiceStub

REST stub implementation for the CatalogService service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonPredictionApiKeyRegistryCallableFactory

REST callable factory implementation for the PredictionApiKeyRegistry service API.

This class is for advanced usage.

HttpJsonPredictionApiKeyRegistryStub

REST stub implementation for the PredictionApiKeyRegistry service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonPredictionServiceCallableFactory

REST callable factory implementation for the PredictionService service API.

This class is for advanced usage.

HttpJsonPredictionServiceStub

REST stub implementation for the PredictionService service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonUserEventServiceCallableFactory

REST callable factory implementation for the UserEventService service API.

This class is for advanced usage.

HttpJsonUserEventServiceStub

REST stub implementation for the UserEventService service API.

This class is for advanced usage and reflects the underlying API directly.

PredictionApiKeyRegistryStub

Base stub class for the PredictionApiKeyRegistry service API.

This class is for advanced usage and reflects the underlying API directly.

PredictionApiKeyRegistryStubSettings

Settings class to configure an instance of PredictionApiKeyRegistryStub.

The default instance has everything set to sensible defaults:

  • The default service address (recommendationengine.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 createPredictionApiKeyRegistration 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
 PredictionApiKeyRegistryStubSettings.Builder predictionApiKeyRegistrySettingsBuilder =
     PredictionApiKeyRegistryStubSettings.newBuilder();
 predictionApiKeyRegistrySettingsBuilder
     .createPredictionApiKeyRegistrationSettings()
     .setRetrySettings(
         predictionApiKeyRegistrySettingsBuilder
             .createPredictionApiKeyRegistrationSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 PredictionApiKeyRegistryStubSettings predictionApiKeyRegistrySettings =
     predictionApiKeyRegistrySettingsBuilder.build();
 

PredictionApiKeyRegistryStubSettings.Builder

Builder for PredictionApiKeyRegistryStubSettings.

PredictionServiceStub

Base stub class for the PredictionService service API.

This class is for advanced usage and reflects the underlying API directly.

PredictionServiceStubSettings

Settings class to configure an instance of PredictionServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (recommendationengine.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 predict 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
 PredictionServiceStubSettings.Builder predictionServiceSettingsBuilder =
     PredictionServiceStubSettings.newBuilder();
 predictionServiceSettingsBuilder
     .predictSettings()
     .setRetrySettings(
         predictionServiceSettingsBuilder
             .predictSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 PredictionServiceStubSettings predictionServiceSettings =
     predictionServiceSettingsBuilder.build();
 

PredictionServiceStubSettings.Builder

Builder for PredictionServiceStubSettings.

UserEventServiceStub

Base stub class for the UserEventService service API.

This class is for advanced usage and reflects the underlying API directly.

UserEventServiceStubSettings

Settings class to configure an instance of UserEventServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (recommendationengine.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 writeUserEvent 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
 UserEventServiceStubSettings.Builder userEventServiceSettingsBuilder =
     UserEventServiceStubSettings.newBuilder();
 userEventServiceSettingsBuilder
     .writeUserEventSettings()
     .setRetrySettings(
         userEventServiceSettingsBuilder
             .writeUserEventSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 UserEventServiceStubSettings userEventServiceSettings = userEventServiceSettingsBuilder.build();
 

UserEventServiceStubSettings.Builder

Builder for UserEventServiceStubSettings.