Package com.google.cloud.channel.v1.stub (3.3.1)

Classes

CloudChannelServiceStub

Base stub class for the CloudChannelService service API.

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

CloudChannelServiceStubSettings

Settings class to configure an instance of CloudChannelServiceStub.

The default instance has everything set to sensible defaults:

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


 CloudChannelServiceStubSettings.Builder cloudChannelServiceSettingsBuilder =
     CloudChannelServiceStubSettings.newBuilder();
 cloudChannelServiceSettingsBuilder
     .getCustomerSettings()
     .setRetrySettings(
         cloudChannelServiceSettingsBuilder
             .getCustomerSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 CloudChannelServiceStubSettings cloudChannelServiceSettings =
     cloudChannelServiceSettingsBuilder.build();
 

CloudChannelServiceStubSettings.Builder

Builder for CloudChannelServiceStubSettings.

GrpcCloudChannelServiceCallableFactory

gRPC callable factory implementation for the CloudChannelService service API.

This class is for advanced usage.

GrpcCloudChannelServiceStub

gRPC stub implementation for the CloudChannelService service API.

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