Package com.google.cloud.automl.v1beta1.stub (2.2.3)

Classes

AutoMlStub

Base stub class for the AutoMl service API.

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

AutoMlStubSettings

Settings class to configure an instance of AutoMlStub.

The default instance has everything set to sensible defaults:

  • The default service address (automl.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 createDataset to 30 seconds:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 AutoMlStubSettings.Builder autoMlSettingsBuilder = AutoMlStubSettings.newBuilder();
 autoMlSettingsBuilder
     .createDatasetSettings()
     .setRetrySettings(
         autoMlSettingsBuilder
             .createDatasetSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 AutoMlStubSettings autoMlSettings = autoMlSettingsBuilder.build();
 

AutoMlStubSettings.Builder

Builder for AutoMlStubSettings.

GrpcAutoMlCallableFactory

gRPC callable factory implementation for the AutoMl service API.

This class is for advanced usage.

GrpcAutoMlStub

gRPC stub implementation for the AutoMl 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.

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 (automl.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 for illustrative purposes only.
 // It may require modifications to work in your environment.
 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.