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

Classes

CloudChannelReportsServiceStub

Base stub class for the CloudChannelReportsService service API.

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

CloudChannelReportsServiceStubSettings

Settings class to configure an instance of CloudChannelReportsServiceStub.

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 runReportJob 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
 CloudChannelReportsServiceStubSettings.Builder cloudChannelReportsServiceSettingsBuilder =
     CloudChannelReportsServiceStubSettings.newBuilder();
 cloudChannelReportsServiceSettingsBuilder
     .runReportJobSettings()
     .setRetrySettings(
         cloudChannelReportsServiceSettingsBuilder
             .runReportJobSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 CloudChannelReportsServiceStubSettings cloudChannelReportsServiceSettings =
     cloudChannelReportsServiceSettingsBuilder.build();
 

CloudChannelReportsServiceStubSettings.Builder

Builder for CloudChannelReportsServiceStubSettings.

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:


 // 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
 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.

GrpcCloudChannelReportsServiceCallableFactory

gRPC callable factory implementation for the CloudChannelReportsService service API.

This class is for advanced usage.

GrpcCloudChannelReportsServiceStub

gRPC stub implementation for the CloudChannelReportsService service API.

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

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.

HttpJsonCloudChannelReportsServiceCallableFactory

REST callable factory implementation for the CloudChannelReportsService service API.

This class is for advanced usage.

HttpJsonCloudChannelReportsServiceStub

REST stub implementation for the CloudChannelReportsService service API.

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

HttpJsonCloudChannelServiceCallableFactory

REST callable factory implementation for the CloudChannelService service API.

This class is for advanced usage.

HttpJsonCloudChannelServiceStub

REST stub implementation for the CloudChannelService service API.

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