Package com.google.shopping.merchant.inventories.v1beta.stub (0.4.0)

Classes

GrpcLocalInventoryServiceCallableFactory

gRPC callable factory implementation for the LocalInventoryService service API.

This class is for advanced usage.

GrpcLocalInventoryServiceStub

gRPC stub implementation for the LocalInventoryService service API.

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

GrpcRegionalInventoryServiceCallableFactory

gRPC callable factory implementation for the RegionalInventoryService service API.

This class is for advanced usage.

GrpcRegionalInventoryServiceStub

gRPC stub implementation for the RegionalInventoryService service API.

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

HttpJsonLocalInventoryServiceCallableFactory

REST callable factory implementation for the LocalInventoryService service API.

This class is for advanced usage.

HttpJsonLocalInventoryServiceStub

REST stub implementation for the LocalInventoryService service API.

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

HttpJsonRegionalInventoryServiceCallableFactory

REST callable factory implementation for the RegionalInventoryService service API.

This class is for advanced usage.

HttpJsonRegionalInventoryServiceStub

REST stub implementation for the RegionalInventoryService service API.

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

LocalInventoryServiceStub

Base stub class for the LocalInventoryService service API.

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

LocalInventoryServiceStubSettings

Settings class to configure an instance of LocalInventoryServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (merchantapi.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 insertLocalInventory 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
 LocalInventoryServiceStubSettings.Builder localInventoryServiceSettingsBuilder =
     LocalInventoryServiceStubSettings.newBuilder();
 localInventoryServiceSettingsBuilder
     .insertLocalInventorySettings()
     .setRetrySettings(
         localInventoryServiceSettingsBuilder
             .insertLocalInventorySettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 LocalInventoryServiceStubSettings localInventoryServiceSettings =
     localInventoryServiceSettingsBuilder.build();
 

LocalInventoryServiceStubSettings.Builder

Builder for LocalInventoryServiceStubSettings.

RegionalInventoryServiceStub

Base stub class for the RegionalInventoryService service API.

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

RegionalInventoryServiceStubSettings

Settings class to configure an instance of RegionalInventoryServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (merchantapi.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 insertRegionalInventory 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
 RegionalInventoryServiceStubSettings.Builder regionalInventoryServiceSettingsBuilder =
     RegionalInventoryServiceStubSettings.newBuilder();
 regionalInventoryServiceSettingsBuilder
     .insertRegionalInventorySettings()
     .setRetrySettings(
         regionalInventoryServiceSettingsBuilder
             .insertRegionalInventorySettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionalInventoryServiceStubSettings regionalInventoryServiceSettings =
     regionalInventoryServiceSettingsBuilder.build();
 

RegionalInventoryServiceStubSettings.Builder

Builder for RegionalInventoryServiceStubSettings.