- 3.56.0 (latest)
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.6
- 3.3.6
- 3.2.10
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.