Package com.google.cloud.monitoring.v3.stub (3.18.0)

Classes

AlertPolicyServiceStub

Base stub class for the AlertPolicyService service API.

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

AlertPolicyServiceStubSettings

Settings class to configure an instance of AlertPolicyServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (monitoring.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 getAlertPolicy 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
 AlertPolicyServiceStubSettings.Builder alertPolicyServiceSettingsBuilder =
     AlertPolicyServiceStubSettings.newBuilder();
 alertPolicyServiceSettingsBuilder
     .getAlertPolicySettings()
     .setRetrySettings(
         alertPolicyServiceSettingsBuilder
             .getAlertPolicySettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 AlertPolicyServiceStubSettings alertPolicyServiceSettings =
     alertPolicyServiceSettingsBuilder.build();
 

AlertPolicyServiceStubSettings.Builder

Builder for AlertPolicyServiceStubSettings.

GroupServiceStub

Base stub class for the GroupService service API.

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

GroupServiceStubSettings

Settings class to configure an instance of GroupServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (monitoring.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 getGroup 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
 GroupServiceStubSettings.Builder groupServiceSettingsBuilder =
     GroupServiceStubSettings.newBuilder();
 groupServiceSettingsBuilder
     .getGroupSettings()
     .setRetrySettings(
         groupServiceSettingsBuilder
             .getGroupSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 GroupServiceStubSettings groupServiceSettings = groupServiceSettingsBuilder.build();
 

GroupServiceStubSettings.Builder

Builder for GroupServiceStubSettings.

GrpcAlertPolicyServiceCallableFactory

gRPC callable factory implementation for the AlertPolicyService service API.

This class is for advanced usage.

GrpcAlertPolicyServiceStub

gRPC stub implementation for the AlertPolicyService service API.

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

GrpcGroupServiceCallableFactory

gRPC callable factory implementation for the GroupService service API.

This class is for advanced usage.

GrpcGroupServiceStub

gRPC stub implementation for the GroupService service API.

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

GrpcMetricServiceCallableFactory

gRPC callable factory implementation for the MetricService service API.

This class is for advanced usage.

GrpcMetricServiceStub

gRPC stub implementation for the MetricService service API.

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

GrpcNotificationChannelServiceCallableFactory

gRPC callable factory implementation for the NotificationChannelService service API.

This class is for advanced usage.

GrpcNotificationChannelServiceStub

gRPC stub implementation for the NotificationChannelService service API.

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

GrpcQueryServiceCallableFactory

gRPC callable factory implementation for the QueryService service API.

This class is for advanced usage.

GrpcQueryServiceStub

gRPC stub implementation for the QueryService service API.

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

GrpcServiceMonitoringServiceCallableFactory

gRPC callable factory implementation for the ServiceMonitoringService service API.

This class is for advanced usage.

GrpcServiceMonitoringServiceStub

gRPC stub implementation for the ServiceMonitoringService service API.

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

GrpcSnoozeServiceCallableFactory

gRPC callable factory implementation for the SnoozeService service API.

This class is for advanced usage.

GrpcSnoozeServiceStub

gRPC stub implementation for the SnoozeService service API.

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

GrpcUptimeCheckServiceCallableFactory

gRPC callable factory implementation for the UptimeCheckService service API.

This class is for advanced usage.

GrpcUptimeCheckServiceStub

gRPC stub implementation for the UptimeCheckService service API.

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

MetricServiceStub

Base stub class for the MetricService service API.

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

MetricServiceStubSettings

Settings class to configure an instance of MetricServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (monitoring.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 getMonitoredResourceDescriptor 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
 MetricServiceStubSettings.Builder metricServiceSettingsBuilder =
     MetricServiceStubSettings.newBuilder();
 metricServiceSettingsBuilder
     .getMonitoredResourceDescriptorSettings()
     .setRetrySettings(
         metricServiceSettingsBuilder
             .getMonitoredResourceDescriptorSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 MetricServiceStubSettings metricServiceSettings = metricServiceSettingsBuilder.build();
 

MetricServiceStubSettings.Builder

Builder for MetricServiceStubSettings.

NotificationChannelServiceStub

Base stub class for the NotificationChannelService service API.

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

NotificationChannelServiceStubSettings

Settings class to configure an instance of NotificationChannelServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (monitoring.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 getNotificationChannelDescriptor 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
 NotificationChannelServiceStubSettings.Builder notificationChannelServiceSettingsBuilder =
     NotificationChannelServiceStubSettings.newBuilder();
 notificationChannelServiceSettingsBuilder
     .getNotificationChannelDescriptorSettings()
     .setRetrySettings(
         notificationChannelServiceSettingsBuilder
             .getNotificationChannelDescriptorSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 NotificationChannelServiceStubSettings notificationChannelServiceSettings =
     notificationChannelServiceSettingsBuilder.build();
 

NotificationChannelServiceStubSettings.Builder

Builder for NotificationChannelServiceStubSettings.

QueryServiceStub

Base stub class for the QueryService service API.

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

QueryServiceStubSettings

Settings class to configure an instance of QueryServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (monitoring.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 queryTimeSeries 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
 QueryServiceStubSettings.Builder queryServiceSettingsBuilder =
     QueryServiceStubSettings.newBuilder();
 queryServiceSettingsBuilder
     .queryTimeSeriesSettings()
     .setRetrySettings(
         queryServiceSettingsBuilder
             .queryTimeSeriesSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 QueryServiceStubSettings queryServiceSettings = queryServiceSettingsBuilder.build();
 

QueryServiceStubSettings.Builder

Builder for QueryServiceStubSettings.

ServiceMonitoringServiceStub

Base stub class for the ServiceMonitoringService service API.

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

ServiceMonitoringServiceStubSettings

Settings class to configure an instance of ServiceMonitoringServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (monitoring.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 createService 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
 ServiceMonitoringServiceStubSettings.Builder serviceMonitoringServiceSettingsBuilder =
     ServiceMonitoringServiceStubSettings.newBuilder();
 serviceMonitoringServiceSettingsBuilder
     .createServiceSettings()
     .setRetrySettings(
         serviceMonitoringServiceSettingsBuilder
             .createServiceSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ServiceMonitoringServiceStubSettings serviceMonitoringServiceSettings =
     serviceMonitoringServiceSettingsBuilder.build();
 

ServiceMonitoringServiceStubSettings.Builder

Builder for ServiceMonitoringServiceStubSettings.

SnoozeServiceStub

Base stub class for the SnoozeService service API.

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

SnoozeServiceStubSettings

Settings class to configure an instance of SnoozeServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (monitoring.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 createSnooze 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
 SnoozeServiceStubSettings.Builder snoozeServiceSettingsBuilder =
     SnoozeServiceStubSettings.newBuilder();
 snoozeServiceSettingsBuilder
     .createSnoozeSettings()
     .setRetrySettings(
         snoozeServiceSettingsBuilder
             .createSnoozeSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 SnoozeServiceStubSettings snoozeServiceSettings = snoozeServiceSettingsBuilder.build();
 

SnoozeServiceStubSettings.Builder

Builder for SnoozeServiceStubSettings.

UptimeCheckServiceStub

Base stub class for the UptimeCheckService service API.

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

UptimeCheckServiceStubSettings

Settings class to configure an instance of UptimeCheckServiceStub.

The default instance has everything set to sensible defaults:

  • The default service address (monitoring.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 getUptimeCheckConfig 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
 UptimeCheckServiceStubSettings.Builder uptimeCheckServiceSettingsBuilder =
     UptimeCheckServiceStubSettings.newBuilder();
 uptimeCheckServiceSettingsBuilder
     .getUptimeCheckConfigSettings()
     .setRetrySettings(
         uptimeCheckServiceSettingsBuilder
             .getUptimeCheckConfigSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 UptimeCheckServiceStubSettings uptimeCheckServiceSettings =
     uptimeCheckServiceSettingsBuilder.build();
 

UptimeCheckServiceStubSettings.Builder

Builder for UptimeCheckServiceStubSettings.