- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
Classes
AcceleratorTypesStub
Base stub class for the AcceleratorTypes service API.
This class is for advanced usage and reflects the underlying API directly.
AcceleratorTypesStubSettings
Settings class to configure an instance of AcceleratorTypesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
AcceleratorTypesStubSettings.Builder acceleratorTypesSettingsBuilder =
AcceleratorTypesStubSettings.newBuilder();
acceleratorTypesSettingsBuilder
.getSettings()
.setRetrySettings(
acceleratorTypesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
AcceleratorTypesStubSettings acceleratorTypesSettings = acceleratorTypesSettingsBuilder.build();
AcceleratorTypesStubSettings.Builder
Builder for AcceleratorTypesStubSettings.
AddressesStub
Base stub class for the Addresses service API.
This class is for advanced usage and reflects the underlying API directly.
AddressesStubSettings
Settings class to configure an instance of AddressesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
AddressesStubSettings.Builder addressesSettingsBuilder = AddressesStubSettings.newBuilder();
addressesSettingsBuilder
.getSettings()
.setRetrySettings(
addressesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
AddressesStubSettings addressesSettings = addressesSettingsBuilder.build();
AddressesStubSettings.Builder
Builder for AddressesStubSettings.
AutoscalersStub
Base stub class for the Autoscalers service API.
This class is for advanced usage and reflects the underlying API directly.
AutoscalersStubSettings
Settings class to configure an instance of AutoscalersStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
AutoscalersStubSettings.Builder autoscalersSettingsBuilder =
AutoscalersStubSettings.newBuilder();
autoscalersSettingsBuilder
.getSettings()
.setRetrySettings(
autoscalersSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
AutoscalersStubSettings autoscalersSettings = autoscalersSettingsBuilder.build();
AutoscalersStubSettings.Builder
Builder for AutoscalersStubSettings.
BackendBucketsStub
Base stub class for the BackendBuckets service API.
This class is for advanced usage and reflects the underlying API directly.
BackendBucketsStubSettings
Settings class to configure an instance of BackendBucketsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
BackendBucketsStubSettings.Builder backendBucketsSettingsBuilder =
BackendBucketsStubSettings.newBuilder();
backendBucketsSettingsBuilder
.getSettings()
.setRetrySettings(
backendBucketsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
BackendBucketsStubSettings backendBucketsSettings = backendBucketsSettingsBuilder.build();
BackendBucketsStubSettings.Builder
Builder for BackendBucketsStubSettings.
BackendServicesStub
Base stub class for the BackendServices service API.
This class is for advanced usage and reflects the underlying API directly.
BackendServicesStubSettings
Settings class to configure an instance of BackendServicesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
BackendServicesStubSettings.Builder backendServicesSettingsBuilder =
BackendServicesStubSettings.newBuilder();
backendServicesSettingsBuilder
.getSettings()
.setRetrySettings(
backendServicesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
BackendServicesStubSettings backendServicesSettings = backendServicesSettingsBuilder.build();
BackendServicesStubSettings.Builder
Builder for BackendServicesStubSettings.
DiskTypesStub
Base stub class for the DiskTypes service API.
This class is for advanced usage and reflects the underlying API directly.
DiskTypesStubSettings
Settings class to configure an instance of DiskTypesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
DiskTypesStubSettings.Builder diskTypesSettingsBuilder = DiskTypesStubSettings.newBuilder();
diskTypesSettingsBuilder
.getSettings()
.setRetrySettings(
diskTypesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
DiskTypesStubSettings diskTypesSettings = diskTypesSettingsBuilder.build();
DiskTypesStubSettings.Builder
Builder for DiskTypesStubSettings.
DisksStub
Base stub class for the Disks service API.
This class is for advanced usage and reflects the underlying API directly.
DisksStubSettings
Settings class to configure an instance of DisksStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
DisksStubSettings.Builder disksSettingsBuilder = DisksStubSettings.newBuilder();
disksSettingsBuilder
.getSettings()
.setRetrySettings(
disksSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
DisksStubSettings disksSettings = disksSettingsBuilder.build();
DisksStubSettings.Builder
Builder for DisksStubSettings.
ExternalVpnGatewaysStub
Base stub class for the ExternalVpnGateways service API.
This class is for advanced usage and reflects the underlying API directly.
ExternalVpnGatewaysStubSettings
Settings class to configure an instance of ExternalVpnGatewaysStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
ExternalVpnGatewaysStubSettings.Builder externalVpnGatewaysSettingsBuilder =
ExternalVpnGatewaysStubSettings.newBuilder();
externalVpnGatewaysSettingsBuilder
.getSettings()
.setRetrySettings(
externalVpnGatewaysSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ExternalVpnGatewaysStubSettings externalVpnGatewaysSettings =
externalVpnGatewaysSettingsBuilder.build();
ExternalVpnGatewaysStubSettings.Builder
Builder for ExternalVpnGatewaysStubSettings.
FirewallPoliciesStub
Base stub class for the FirewallPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
FirewallPoliciesStubSettings
Settings class to configure an instance of FirewallPoliciesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
FirewallPoliciesStubSettings.Builder firewallPoliciesSettingsBuilder =
FirewallPoliciesStubSettings.newBuilder();
firewallPoliciesSettingsBuilder
.getSettings()
.setRetrySettings(
firewallPoliciesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
FirewallPoliciesStubSettings firewallPoliciesSettings = firewallPoliciesSettingsBuilder.build();
FirewallPoliciesStubSettings.Builder
Builder for FirewallPoliciesStubSettings.
FirewallsStub
Base stub class for the Firewalls service API.
This class is for advanced usage and reflects the underlying API directly.
FirewallsStubSettings
Settings class to configure an instance of FirewallsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
FirewallsStubSettings.Builder firewallsSettingsBuilder = FirewallsStubSettings.newBuilder();
firewallsSettingsBuilder
.getSettings()
.setRetrySettings(
firewallsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
FirewallsStubSettings firewallsSettings = firewallsSettingsBuilder.build();
FirewallsStubSettings.Builder
Builder for FirewallsStubSettings.
ForwardingRulesStub
Base stub class for the ForwardingRules service API.
This class is for advanced usage and reflects the underlying API directly.
ForwardingRulesStubSettings
Settings class to configure an instance of ForwardingRulesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
ForwardingRulesStubSettings.Builder forwardingRulesSettingsBuilder =
ForwardingRulesStubSettings.newBuilder();
forwardingRulesSettingsBuilder
.getSettings()
.setRetrySettings(
forwardingRulesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ForwardingRulesStubSettings forwardingRulesSettings = forwardingRulesSettingsBuilder.build();
ForwardingRulesStubSettings.Builder
Builder for ForwardingRulesStubSettings.
GlobalAddressesStub
Base stub class for the GlobalAddresses service API.
This class is for advanced usage and reflects the underlying API directly.
GlobalAddressesStubSettings
Settings class to configure an instance of GlobalAddressesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
GlobalAddressesStubSettings.Builder globalAddressesSettingsBuilder =
GlobalAddressesStubSettings.newBuilder();
globalAddressesSettingsBuilder
.getSettings()
.setRetrySettings(
globalAddressesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
GlobalAddressesStubSettings globalAddressesSettings = globalAddressesSettingsBuilder.build();
GlobalAddressesStubSettings.Builder
Builder for GlobalAddressesStubSettings.
GlobalForwardingRulesStub
Base stub class for the GlobalForwardingRules service API.
This class is for advanced usage and reflects the underlying API directly.
GlobalForwardingRulesStubSettings
Settings class to configure an instance of GlobalForwardingRulesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
GlobalForwardingRulesStubSettings.Builder globalForwardingRulesSettingsBuilder =
GlobalForwardingRulesStubSettings.newBuilder();
globalForwardingRulesSettingsBuilder
.getSettings()
.setRetrySettings(
globalForwardingRulesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
GlobalForwardingRulesStubSettings globalForwardingRulesSettings =
globalForwardingRulesSettingsBuilder.build();
GlobalForwardingRulesStubSettings.Builder
Builder for GlobalForwardingRulesStubSettings.
GlobalNetworkEndpointGroupsStub
Base stub class for the GlobalNetworkEndpointGroups service API.
This class is for advanced usage and reflects the underlying API directly.
GlobalNetworkEndpointGroupsStubSettings
Settings class to configure an instance of GlobalNetworkEndpointGroupsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
GlobalNetworkEndpointGroupsStubSettings.Builder globalNetworkEndpointGroupsSettingsBuilder =
GlobalNetworkEndpointGroupsStubSettings.newBuilder();
globalNetworkEndpointGroupsSettingsBuilder
.getSettings()
.setRetrySettings(
globalNetworkEndpointGroupsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
GlobalNetworkEndpointGroupsStubSettings globalNetworkEndpointGroupsSettings =
globalNetworkEndpointGroupsSettingsBuilder.build();
GlobalNetworkEndpointGroupsStubSettings.Builder
Builder for GlobalNetworkEndpointGroupsStubSettings.
GlobalOperationsStub
Base stub class for the GlobalOperations service API.
This class is for advanced usage and reflects the underlying API directly.
GlobalOperationsStubSettings
Settings class to configure an instance of GlobalOperationsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 delete 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
GlobalOperationsStubSettings.Builder globalOperationsSettingsBuilder =
GlobalOperationsStubSettings.newBuilder();
globalOperationsSettingsBuilder
.deleteSettings()
.setRetrySettings(
globalOperationsSettingsBuilder
.deleteSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
GlobalOperationsStubSettings globalOperationsSettings = globalOperationsSettingsBuilder.build();
GlobalOperationsStubSettings.Builder
Builder for GlobalOperationsStubSettings.
GlobalOrganizationOperationsStub
Base stub class for the GlobalOrganizationOperations service API.
This class is for advanced usage and reflects the underlying API directly.
GlobalOrganizationOperationsStubSettings
Settings class to configure an instance of GlobalOrganizationOperationsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 delete 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
GlobalOrganizationOperationsStubSettings.Builder globalOrganizationOperationsSettingsBuilder =
GlobalOrganizationOperationsStubSettings.newBuilder();
globalOrganizationOperationsSettingsBuilder
.deleteSettings()
.setRetrySettings(
globalOrganizationOperationsSettingsBuilder
.deleteSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
GlobalOrganizationOperationsStubSettings globalOrganizationOperationsSettings =
globalOrganizationOperationsSettingsBuilder.build();
GlobalOrganizationOperationsStubSettings.Builder
Builder for GlobalOrganizationOperationsStubSettings.
GlobalPublicDelegatedPrefixesStub
Base stub class for the GlobalPublicDelegatedPrefixes service API.
This class is for advanced usage and reflects the underlying API directly.
GlobalPublicDelegatedPrefixesStubSettings
Settings class to configure an instance of GlobalPublicDelegatedPrefixesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
GlobalPublicDelegatedPrefixesStubSettings.Builder globalPublicDelegatedPrefixesSettingsBuilder =
GlobalPublicDelegatedPrefixesStubSettings.newBuilder();
globalPublicDelegatedPrefixesSettingsBuilder
.getSettings()
.setRetrySettings(
globalPublicDelegatedPrefixesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
GlobalPublicDelegatedPrefixesStubSettings globalPublicDelegatedPrefixesSettings =
globalPublicDelegatedPrefixesSettingsBuilder.build();
GlobalPublicDelegatedPrefixesStubSettings.Builder
Builder for GlobalPublicDelegatedPrefixesStubSettings.
HealthChecksStub
Base stub class for the HealthChecks service API.
This class is for advanced usage and reflects the underlying API directly.
HealthChecksStubSettings
Settings class to configure an instance of HealthChecksStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
HealthChecksStubSettings.Builder healthChecksSettingsBuilder =
HealthChecksStubSettings.newBuilder();
healthChecksSettingsBuilder
.getSettings()
.setRetrySettings(
healthChecksSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
HealthChecksStubSettings healthChecksSettings = healthChecksSettingsBuilder.build();
HealthChecksStubSettings.Builder
Builder for HealthChecksStubSettings.
HttpJsonAcceleratorTypesCallableFactory
REST callable factory implementation for the AcceleratorTypes service API.
This class is for advanced usage.
HttpJsonAcceleratorTypesStub
REST stub implementation for the AcceleratorTypes service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonAddressesCallableFactory
REST callable factory implementation for the Addresses service API.
This class is for advanced usage.
HttpJsonAddressesStub
REST stub implementation for the Addresses service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonAutoscalersCallableFactory
REST callable factory implementation for the Autoscalers service API.
This class is for advanced usage.
HttpJsonAutoscalersStub
REST stub implementation for the Autoscalers service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonBackendBucketsCallableFactory
REST callable factory implementation for the BackendBuckets service API.
This class is for advanced usage.
HttpJsonBackendBucketsStub
REST stub implementation for the BackendBuckets service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonBackendServicesCallableFactory
REST callable factory implementation for the BackendServices service API.
This class is for advanced usage.
HttpJsonBackendServicesStub
REST stub implementation for the BackendServices service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonDiskTypesCallableFactory
REST callable factory implementation for the DiskTypes service API.
This class is for advanced usage.
HttpJsonDiskTypesStub
REST stub implementation for the DiskTypes service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonDisksCallableFactory
REST callable factory implementation for the Disks service API.
This class is for advanced usage.
HttpJsonDisksStub
REST stub implementation for the Disks service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonExternalVpnGatewaysCallableFactory
REST callable factory implementation for the ExternalVpnGateways service API.
This class is for advanced usage.
HttpJsonExternalVpnGatewaysStub
REST stub implementation for the ExternalVpnGateways service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonFirewallPoliciesCallableFactory
REST callable factory implementation for the FirewallPolicies service API.
This class is for advanced usage.
HttpJsonFirewallPoliciesStub
REST stub implementation for the FirewallPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonFirewallsCallableFactory
REST callable factory implementation for the Firewalls service API.
This class is for advanced usage.
HttpJsonFirewallsStub
REST stub implementation for the Firewalls service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonForwardingRulesCallableFactory
REST callable factory implementation for the ForwardingRules service API.
This class is for advanced usage.
HttpJsonForwardingRulesStub
REST stub implementation for the ForwardingRules service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonGlobalAddressesCallableFactory
REST callable factory implementation for the GlobalAddresses service API.
This class is for advanced usage.
HttpJsonGlobalAddressesStub
REST stub implementation for the GlobalAddresses service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonGlobalForwardingRulesCallableFactory
REST callable factory implementation for the GlobalForwardingRules service API.
This class is for advanced usage.
HttpJsonGlobalForwardingRulesStub
REST stub implementation for the GlobalForwardingRules service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonGlobalNetworkEndpointGroupsCallableFactory
REST callable factory implementation for the GlobalNetworkEndpointGroups service API.
This class is for advanced usage.
HttpJsonGlobalNetworkEndpointGroupsStub
REST stub implementation for the GlobalNetworkEndpointGroups service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonGlobalOperationsCallableFactory
REST callable factory implementation for the GlobalOperations service API.
This class is for advanced usage.
HttpJsonGlobalOperationsStub
REST stub implementation for the GlobalOperations service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonGlobalOrganizationOperationsCallableFactory
REST callable factory implementation for the GlobalOrganizationOperations service API.
This class is for advanced usage.
HttpJsonGlobalOrganizationOperationsStub
REST stub implementation for the GlobalOrganizationOperations service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonGlobalPublicDelegatedPrefixesCallableFactory
REST callable factory implementation for the GlobalPublicDelegatedPrefixes service API.
This class is for advanced usage.
HttpJsonGlobalPublicDelegatedPrefixesStub
REST stub implementation for the GlobalPublicDelegatedPrefixes service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonHealthChecksCallableFactory
REST callable factory implementation for the HealthChecks service API.
This class is for advanced usage.
HttpJsonHealthChecksStub
REST stub implementation for the HealthChecks service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonImageFamilyViewsCallableFactory
REST callable factory implementation for the ImageFamilyViews service API.
This class is for advanced usage.
HttpJsonImageFamilyViewsStub
REST stub implementation for the ImageFamilyViews service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonImagesCallableFactory
REST callable factory implementation for the Images service API.
This class is for advanced usage.
HttpJsonImagesStub
REST stub implementation for the Images service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonInstanceGroupManagersCallableFactory
REST callable factory implementation for the InstanceGroupManagers service API.
This class is for advanced usage.
HttpJsonInstanceGroupManagersStub
REST stub implementation for the InstanceGroupManagers service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonInstanceGroupsCallableFactory
REST callable factory implementation for the InstanceGroups service API.
This class is for advanced usage.
HttpJsonInstanceGroupsStub
REST stub implementation for the InstanceGroups service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonInstanceTemplatesCallableFactory
REST callable factory implementation for the InstanceTemplates service API.
This class is for advanced usage.
HttpJsonInstanceTemplatesStub
REST stub implementation for the InstanceTemplates service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonInstancesCallableFactory
REST callable factory implementation for the Instances service API.
This class is for advanced usage.
HttpJsonInstancesStub
REST stub implementation for the Instances service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonInterconnectAttachmentsCallableFactory
REST callable factory implementation for the InterconnectAttachments service API.
This class is for advanced usage.
HttpJsonInterconnectAttachmentsStub
REST stub implementation for the InterconnectAttachments service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonInterconnectLocationsCallableFactory
REST callable factory implementation for the InterconnectLocations service API.
This class is for advanced usage.
HttpJsonInterconnectLocationsStub
REST stub implementation for the InterconnectLocations service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonInterconnectsCallableFactory
REST callable factory implementation for the Interconnects service API.
This class is for advanced usage.
HttpJsonInterconnectsStub
REST stub implementation for the Interconnects service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonLicenseCodesCallableFactory
REST callable factory implementation for the LicenseCodes service API.
This class is for advanced usage.
HttpJsonLicenseCodesStub
REST stub implementation for the LicenseCodes service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonLicensesCallableFactory
REST callable factory implementation for the Licenses service API.
This class is for advanced usage.
HttpJsonLicensesStub
REST stub implementation for the Licenses service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonMachineImagesCallableFactory
REST callable factory implementation for the MachineImages service API.
This class is for advanced usage.
HttpJsonMachineImagesStub
REST stub implementation for the MachineImages service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonMachineTypesCallableFactory
REST callable factory implementation for the MachineTypes service API.
This class is for advanced usage.
HttpJsonMachineTypesStub
REST stub implementation for the MachineTypes service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonNetworkAttachmentsCallableFactory
REST callable factory implementation for the NetworkAttachments service API.
This class is for advanced usage.
HttpJsonNetworkAttachmentsStub
REST stub implementation for the NetworkAttachments service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonNetworkEdgeSecurityServicesCallableFactory
REST callable factory implementation for the NetworkEdgeSecurityServices service API.
This class is for advanced usage.
HttpJsonNetworkEdgeSecurityServicesStub
REST stub implementation for the NetworkEdgeSecurityServices service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonNetworkEndpointGroupsCallableFactory
REST callable factory implementation for the NetworkEndpointGroups service API.
This class is for advanced usage.
HttpJsonNetworkEndpointGroupsStub
REST stub implementation for the NetworkEndpointGroups service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonNetworkFirewallPoliciesCallableFactory
REST callable factory implementation for the NetworkFirewallPolicies service API.
This class is for advanced usage.
HttpJsonNetworkFirewallPoliciesStub
REST stub implementation for the NetworkFirewallPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonNetworksCallableFactory
REST callable factory implementation for the Networks service API.
This class is for advanced usage.
HttpJsonNetworksStub
REST stub implementation for the Networks service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonNodeGroupsCallableFactory
REST callable factory implementation for the NodeGroups service API.
This class is for advanced usage.
HttpJsonNodeGroupsStub
REST stub implementation for the NodeGroups service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonNodeTemplatesCallableFactory
REST callable factory implementation for the NodeTemplates service API.
This class is for advanced usage.
HttpJsonNodeTemplatesStub
REST stub implementation for the NodeTemplates service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonNodeTypesCallableFactory
REST callable factory implementation for the NodeTypes service API.
This class is for advanced usage.
HttpJsonNodeTypesStub
REST stub implementation for the NodeTypes service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonPacketMirroringsCallableFactory
REST callable factory implementation for the PacketMirrorings service API.
This class is for advanced usage.
HttpJsonPacketMirroringsStub
REST stub implementation for the PacketMirrorings service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonProjectsCallableFactory
REST callable factory implementation for the Projects service API.
This class is for advanced usage.
HttpJsonProjectsStub
REST stub implementation for the Projects service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonPublicAdvertisedPrefixesCallableFactory
REST callable factory implementation for the PublicAdvertisedPrefixes service API.
This class is for advanced usage.
HttpJsonPublicAdvertisedPrefixesStub
REST stub implementation for the PublicAdvertisedPrefixes service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonPublicDelegatedPrefixesCallableFactory
REST callable factory implementation for the PublicDelegatedPrefixes service API.
This class is for advanced usage.
HttpJsonPublicDelegatedPrefixesStub
REST stub implementation for the PublicDelegatedPrefixes service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionAutoscalersCallableFactory
REST callable factory implementation for the RegionAutoscalers service API.
This class is for advanced usage.
HttpJsonRegionAutoscalersStub
REST stub implementation for the RegionAutoscalers service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionBackendServicesCallableFactory
REST callable factory implementation for the RegionBackendServices service API.
This class is for advanced usage.
HttpJsonRegionBackendServicesStub
REST stub implementation for the RegionBackendServices service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionCommitmentsCallableFactory
REST callable factory implementation for the RegionCommitments service API.
This class is for advanced usage.
HttpJsonRegionCommitmentsStub
REST stub implementation for the RegionCommitments service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionDiskTypesCallableFactory
REST callable factory implementation for the RegionDiskTypes service API.
This class is for advanced usage.
HttpJsonRegionDiskTypesStub
REST stub implementation for the RegionDiskTypes service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionDisksCallableFactory
REST callable factory implementation for the RegionDisks service API.
This class is for advanced usage.
HttpJsonRegionDisksStub
REST stub implementation for the RegionDisks service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionHealthCheckServicesCallableFactory
REST callable factory implementation for the RegionHealthCheckServices service API.
This class is for advanced usage.
HttpJsonRegionHealthCheckServicesStub
REST stub implementation for the RegionHealthCheckServices service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionHealthChecksCallableFactory
REST callable factory implementation for the RegionHealthChecks service API.
This class is for advanced usage.
HttpJsonRegionHealthChecksStub
REST stub implementation for the RegionHealthChecks service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionInstanceGroupManagersCallableFactory
REST callable factory implementation for the RegionInstanceGroupManagers service API.
This class is for advanced usage.
HttpJsonRegionInstanceGroupManagersStub
REST stub implementation for the RegionInstanceGroupManagers service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionInstanceGroupsCallableFactory
REST callable factory implementation for the RegionInstanceGroups service API.
This class is for advanced usage.
HttpJsonRegionInstanceGroupsStub
REST stub implementation for the RegionInstanceGroups service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionInstancesCallableFactory
REST callable factory implementation for the RegionInstances service API.
This class is for advanced usage.
HttpJsonRegionInstancesStub
REST stub implementation for the RegionInstances service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionNetworkEndpointGroupsCallableFactory
REST callable factory implementation for the RegionNetworkEndpointGroups service API.
This class is for advanced usage.
HttpJsonRegionNetworkEndpointGroupsStub
REST stub implementation for the RegionNetworkEndpointGroups service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionNetworkFirewallPoliciesCallableFactory
REST callable factory implementation for the RegionNetworkFirewallPolicies service API.
This class is for advanced usage.
HttpJsonRegionNetworkFirewallPoliciesStub
REST stub implementation for the RegionNetworkFirewallPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionNotificationEndpointsCallableFactory
REST callable factory implementation for the RegionNotificationEndpoints service API.
This class is for advanced usage.
HttpJsonRegionNotificationEndpointsStub
REST stub implementation for the RegionNotificationEndpoints service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionOperationsCallableFactory
REST callable factory implementation for the RegionOperations service API.
This class is for advanced usage.
HttpJsonRegionOperationsStub
REST stub implementation for the RegionOperations service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionSecurityPoliciesCallableFactory
REST callable factory implementation for the RegionSecurityPolicies service API.
This class is for advanced usage.
HttpJsonRegionSecurityPoliciesStub
REST stub implementation for the RegionSecurityPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionSslCertificatesCallableFactory
REST callable factory implementation for the RegionSslCertificates service API.
This class is for advanced usage.
HttpJsonRegionSslCertificatesStub
REST stub implementation for the RegionSslCertificates service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionSslPoliciesCallableFactory
REST callable factory implementation for the RegionSslPolicies service API.
This class is for advanced usage.
HttpJsonRegionSslPoliciesStub
REST stub implementation for the RegionSslPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionTargetHttpProxiesCallableFactory
REST callable factory implementation for the RegionTargetHttpProxies service API.
This class is for advanced usage.
HttpJsonRegionTargetHttpProxiesStub
REST stub implementation for the RegionTargetHttpProxies service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionTargetHttpsProxiesCallableFactory
REST callable factory implementation for the RegionTargetHttpsProxies service API.
This class is for advanced usage.
HttpJsonRegionTargetHttpsProxiesStub
REST stub implementation for the RegionTargetHttpsProxies service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionTargetTcpProxiesCallableFactory
REST callable factory implementation for the RegionTargetTcpProxies service API.
This class is for advanced usage.
HttpJsonRegionTargetTcpProxiesStub
REST stub implementation for the RegionTargetTcpProxies service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionUrlMapsCallableFactory
REST callable factory implementation for the RegionUrlMaps service API.
This class is for advanced usage.
HttpJsonRegionUrlMapsStub
REST stub implementation for the RegionUrlMaps service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRegionsCallableFactory
REST callable factory implementation for the Regions service API.
This class is for advanced usage.
HttpJsonRegionsStub
REST stub implementation for the Regions service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonReservationsCallableFactory
REST callable factory implementation for the Reservations service API.
This class is for advanced usage.
HttpJsonReservationsStub
REST stub implementation for the Reservations service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonResourcePoliciesCallableFactory
REST callable factory implementation for the ResourcePolicies service API.
This class is for advanced usage.
HttpJsonResourcePoliciesStub
REST stub implementation for the ResourcePolicies service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRoutersCallableFactory
REST callable factory implementation for the Routers service API.
This class is for advanced usage.
HttpJsonRoutersStub
REST stub implementation for the Routers service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonRoutesCallableFactory
REST callable factory implementation for the Routes service API.
This class is for advanced usage.
HttpJsonRoutesStub
REST stub implementation for the Routes service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonSecurityPoliciesCallableFactory
REST callable factory implementation for the SecurityPolicies service API.
This class is for advanced usage.
HttpJsonSecurityPoliciesStub
REST stub implementation for the SecurityPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonServiceAttachmentsCallableFactory
REST callable factory implementation for the ServiceAttachments service API.
This class is for advanced usage.
HttpJsonServiceAttachmentsStub
REST stub implementation for the ServiceAttachments service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonSnapshotsCallableFactory
REST callable factory implementation for the Snapshots service API.
This class is for advanced usage.
HttpJsonSnapshotsStub
REST stub implementation for the Snapshots service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonSslCertificatesCallableFactory
REST callable factory implementation for the SslCertificates service API.
This class is for advanced usage.
HttpJsonSslCertificatesStub
REST stub implementation for the SslCertificates service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonSslPoliciesCallableFactory
REST callable factory implementation for the SslPolicies service API.
This class is for advanced usage.
HttpJsonSslPoliciesStub
REST stub implementation for the SslPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonSubnetworksCallableFactory
REST callable factory implementation for the Subnetworks service API.
This class is for advanced usage.
HttpJsonSubnetworksStub
REST stub implementation for the Subnetworks service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonTargetGrpcProxiesCallableFactory
REST callable factory implementation for the TargetGrpcProxies service API.
This class is for advanced usage.
HttpJsonTargetGrpcProxiesStub
REST stub implementation for the TargetGrpcProxies service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonTargetHttpProxiesCallableFactory
REST callable factory implementation for the TargetHttpProxies service API.
This class is for advanced usage.
HttpJsonTargetHttpProxiesStub
REST stub implementation for the TargetHttpProxies service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonTargetHttpsProxiesCallableFactory
REST callable factory implementation for the TargetHttpsProxies service API.
This class is for advanced usage.
HttpJsonTargetHttpsProxiesStub
REST stub implementation for the TargetHttpsProxies service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonTargetInstancesCallableFactory
REST callable factory implementation for the TargetInstances service API.
This class is for advanced usage.
HttpJsonTargetInstancesStub
REST stub implementation for the TargetInstances service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonTargetPoolsCallableFactory
REST callable factory implementation for the TargetPools service API.
This class is for advanced usage.
HttpJsonTargetPoolsStub
REST stub implementation for the TargetPools service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonTargetSslProxiesCallableFactory
REST callable factory implementation for the TargetSslProxies service API.
This class is for advanced usage.
HttpJsonTargetSslProxiesStub
REST stub implementation for the TargetSslProxies service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonTargetTcpProxiesCallableFactory
REST callable factory implementation for the TargetTcpProxies service API.
This class is for advanced usage.
HttpJsonTargetTcpProxiesStub
REST stub implementation for the TargetTcpProxies service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonTargetVpnGatewaysCallableFactory
REST callable factory implementation for the TargetVpnGateways service API.
This class is for advanced usage.
HttpJsonTargetVpnGatewaysStub
REST stub implementation for the TargetVpnGateways service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonUrlMapsCallableFactory
REST callable factory implementation for the UrlMaps service API.
This class is for advanced usage.
HttpJsonUrlMapsStub
REST stub implementation for the UrlMaps service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonVpnGatewaysCallableFactory
REST callable factory implementation for the VpnGateways service API.
This class is for advanced usage.
HttpJsonVpnGatewaysStub
REST stub implementation for the VpnGateways service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonVpnTunnelsCallableFactory
REST callable factory implementation for the VpnTunnels service API.
This class is for advanced usage.
HttpJsonVpnTunnelsStub
REST stub implementation for the VpnTunnels service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonZoneOperationsCallableFactory
REST callable factory implementation for the ZoneOperations service API.
This class is for advanced usage.
HttpJsonZoneOperationsStub
REST stub implementation for the ZoneOperations service API.
This class is for advanced usage and reflects the underlying API directly.
HttpJsonZonesCallableFactory
REST callable factory implementation for the Zones service API.
This class is for advanced usage.
HttpJsonZonesStub
REST stub implementation for the Zones service API.
This class is for advanced usage and reflects the underlying API directly.
ImageFamilyViewsStub
Base stub class for the ImageFamilyViews service API.
This class is for advanced usage and reflects the underlying API directly.
ImageFamilyViewsStubSettings
Settings class to configure an instance of ImageFamilyViewsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
ImageFamilyViewsStubSettings.Builder imageFamilyViewsSettingsBuilder =
ImageFamilyViewsStubSettings.newBuilder();
imageFamilyViewsSettingsBuilder
.getSettings()
.setRetrySettings(
imageFamilyViewsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ImageFamilyViewsStubSettings imageFamilyViewsSettings = imageFamilyViewsSettingsBuilder.build();
ImageFamilyViewsStubSettings.Builder
Builder for ImageFamilyViewsStubSettings.
ImagesStub
Base stub class for the Images service API.
This class is for advanced usage and reflects the underlying API directly.
ImagesStubSettings
Settings class to configure an instance of ImagesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
ImagesStubSettings.Builder imagesSettingsBuilder = ImagesStubSettings.newBuilder();
imagesSettingsBuilder
.getSettings()
.setRetrySettings(
imagesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ImagesStubSettings imagesSettings = imagesSettingsBuilder.build();
ImagesStubSettings.Builder
Builder for ImagesStubSettings.
InstanceGroupManagersStub
Base stub class for the InstanceGroupManagers service API.
This class is for advanced usage and reflects the underlying API directly.
InstanceGroupManagersStubSettings
Settings class to configure an instance of InstanceGroupManagersStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
InstanceGroupManagersStubSettings.Builder instanceGroupManagersSettingsBuilder =
InstanceGroupManagersStubSettings.newBuilder();
instanceGroupManagersSettingsBuilder
.getSettings()
.setRetrySettings(
instanceGroupManagersSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
InstanceGroupManagersStubSettings instanceGroupManagersSettings =
instanceGroupManagersSettingsBuilder.build();
InstanceGroupManagersStubSettings.Builder
Builder for InstanceGroupManagersStubSettings.
InstanceGroupsStub
Base stub class for the InstanceGroups service API.
This class is for advanced usage and reflects the underlying API directly.
InstanceGroupsStubSettings
Settings class to configure an instance of InstanceGroupsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
InstanceGroupsStubSettings.Builder instanceGroupsSettingsBuilder =
InstanceGroupsStubSettings.newBuilder();
instanceGroupsSettingsBuilder
.getSettings()
.setRetrySettings(
instanceGroupsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
InstanceGroupsStubSettings instanceGroupsSettings = instanceGroupsSettingsBuilder.build();
InstanceGroupsStubSettings.Builder
Builder for InstanceGroupsStubSettings.
InstanceTemplatesStub
Base stub class for the InstanceTemplates service API.
This class is for advanced usage and reflects the underlying API directly.
InstanceTemplatesStubSettings
Settings class to configure an instance of InstanceTemplatesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
InstanceTemplatesStubSettings.Builder instanceTemplatesSettingsBuilder =
InstanceTemplatesStubSettings.newBuilder();
instanceTemplatesSettingsBuilder
.getSettings()
.setRetrySettings(
instanceTemplatesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
InstanceTemplatesStubSettings instanceTemplatesSettings =
instanceTemplatesSettingsBuilder.build();
InstanceTemplatesStubSettings.Builder
Builder for InstanceTemplatesStubSettings.
InstancesStub
Base stub class for the Instances service API.
This class is for advanced usage and reflects the underlying API directly.
InstancesStubSettings
Settings class to configure an instance of InstancesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
InstancesStubSettings.Builder instancesSettingsBuilder = InstancesStubSettings.newBuilder();
instancesSettingsBuilder
.getSettings()
.setRetrySettings(
instancesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
InstancesStubSettings instancesSettings = instancesSettingsBuilder.build();
InstancesStubSettings.Builder
Builder for InstancesStubSettings.
InterconnectAttachmentsStub
Base stub class for the InterconnectAttachments service API.
This class is for advanced usage and reflects the underlying API directly.
InterconnectAttachmentsStubSettings
Settings class to configure an instance of InterconnectAttachmentsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
InterconnectAttachmentsStubSettings.Builder interconnectAttachmentsSettingsBuilder =
InterconnectAttachmentsStubSettings.newBuilder();
interconnectAttachmentsSettingsBuilder
.getSettings()
.setRetrySettings(
interconnectAttachmentsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
InterconnectAttachmentsStubSettings interconnectAttachmentsSettings =
interconnectAttachmentsSettingsBuilder.build();
InterconnectAttachmentsStubSettings.Builder
Builder for InterconnectAttachmentsStubSettings.
InterconnectLocationsStub
Base stub class for the InterconnectLocations service API.
This class is for advanced usage and reflects the underlying API directly.
InterconnectLocationsStubSettings
Settings class to configure an instance of InterconnectLocationsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
InterconnectLocationsStubSettings.Builder interconnectLocationsSettingsBuilder =
InterconnectLocationsStubSettings.newBuilder();
interconnectLocationsSettingsBuilder
.getSettings()
.setRetrySettings(
interconnectLocationsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
InterconnectLocationsStubSettings interconnectLocationsSettings =
interconnectLocationsSettingsBuilder.build();
InterconnectLocationsStubSettings.Builder
Builder for InterconnectLocationsStubSettings.
InterconnectsStub
Base stub class for the Interconnects service API.
This class is for advanced usage and reflects the underlying API directly.
InterconnectsStubSettings
Settings class to configure an instance of InterconnectsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
InterconnectsStubSettings.Builder interconnectsSettingsBuilder =
InterconnectsStubSettings.newBuilder();
interconnectsSettingsBuilder
.getSettings()
.setRetrySettings(
interconnectsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
InterconnectsStubSettings interconnectsSettings = interconnectsSettingsBuilder.build();
InterconnectsStubSettings.Builder
Builder for InterconnectsStubSettings.
LicenseCodesStub
Base stub class for the LicenseCodes service API.
This class is for advanced usage and reflects the underlying API directly.
LicenseCodesStubSettings
Settings class to configure an instance of LicenseCodesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
LicenseCodesStubSettings.Builder licenseCodesSettingsBuilder =
LicenseCodesStubSettings.newBuilder();
licenseCodesSettingsBuilder
.getSettings()
.setRetrySettings(
licenseCodesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
LicenseCodesStubSettings licenseCodesSettings = licenseCodesSettingsBuilder.build();
LicenseCodesStubSettings.Builder
Builder for LicenseCodesStubSettings.
LicensesStub
Base stub class for the Licenses service API.
This class is for advanced usage and reflects the underlying API directly.
LicensesStubSettings
Settings class to configure an instance of LicensesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
LicensesStubSettings.Builder licensesSettingsBuilder = LicensesStubSettings.newBuilder();
licensesSettingsBuilder
.getSettings()
.setRetrySettings(
licensesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
LicensesStubSettings licensesSettings = licensesSettingsBuilder.build();
LicensesStubSettings.Builder
Builder for LicensesStubSettings.
MachineImagesStub
Base stub class for the MachineImages service API.
This class is for advanced usage and reflects the underlying API directly.
MachineImagesStubSettings
Settings class to configure an instance of MachineImagesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
MachineImagesStubSettings.Builder machineImagesSettingsBuilder =
MachineImagesStubSettings.newBuilder();
machineImagesSettingsBuilder
.getSettings()
.setRetrySettings(
machineImagesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
MachineImagesStubSettings machineImagesSettings = machineImagesSettingsBuilder.build();
MachineImagesStubSettings.Builder
Builder for MachineImagesStubSettings.
MachineTypesStub
Base stub class for the MachineTypes service API.
This class is for advanced usage and reflects the underlying API directly.
MachineTypesStubSettings
Settings class to configure an instance of MachineTypesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
MachineTypesStubSettings.Builder machineTypesSettingsBuilder =
MachineTypesStubSettings.newBuilder();
machineTypesSettingsBuilder
.getSettings()
.setRetrySettings(
machineTypesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
MachineTypesStubSettings machineTypesSettings = machineTypesSettingsBuilder.build();
MachineTypesStubSettings.Builder
Builder for MachineTypesStubSettings.
NetworkAttachmentsStub
Base stub class for the NetworkAttachments service API.
This class is for advanced usage and reflects the underlying API directly.
NetworkAttachmentsStubSettings
Settings class to configure an instance of NetworkAttachmentsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
NetworkAttachmentsStubSettings.Builder networkAttachmentsSettingsBuilder =
NetworkAttachmentsStubSettings.newBuilder();
networkAttachmentsSettingsBuilder
.getSettings()
.setRetrySettings(
networkAttachmentsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
NetworkAttachmentsStubSettings networkAttachmentsSettings =
networkAttachmentsSettingsBuilder.build();
NetworkAttachmentsStubSettings.Builder
Builder for NetworkAttachmentsStubSettings.
NetworkEdgeSecurityServicesStub
Base stub class for the NetworkEdgeSecurityServices service API.
This class is for advanced usage and reflects the underlying API directly.
NetworkEdgeSecurityServicesStubSettings
Settings class to configure an instance of NetworkEdgeSecurityServicesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
NetworkEdgeSecurityServicesStubSettings.Builder networkEdgeSecurityServicesSettingsBuilder =
NetworkEdgeSecurityServicesStubSettings.newBuilder();
networkEdgeSecurityServicesSettingsBuilder
.getSettings()
.setRetrySettings(
networkEdgeSecurityServicesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
NetworkEdgeSecurityServicesStubSettings networkEdgeSecurityServicesSettings =
networkEdgeSecurityServicesSettingsBuilder.build();
NetworkEdgeSecurityServicesStubSettings.Builder
Builder for NetworkEdgeSecurityServicesStubSettings.
NetworkEndpointGroupsStub
Base stub class for the NetworkEndpointGroups service API.
This class is for advanced usage and reflects the underlying API directly.
NetworkEndpointGroupsStubSettings
Settings class to configure an instance of NetworkEndpointGroupsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
NetworkEndpointGroupsStubSettings.Builder networkEndpointGroupsSettingsBuilder =
NetworkEndpointGroupsStubSettings.newBuilder();
networkEndpointGroupsSettingsBuilder
.getSettings()
.setRetrySettings(
networkEndpointGroupsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
NetworkEndpointGroupsStubSettings networkEndpointGroupsSettings =
networkEndpointGroupsSettingsBuilder.build();
NetworkEndpointGroupsStubSettings.Builder
Builder for NetworkEndpointGroupsStubSettings.
NetworkFirewallPoliciesStub
Base stub class for the NetworkFirewallPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
NetworkFirewallPoliciesStubSettings
Settings class to configure an instance of NetworkFirewallPoliciesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
NetworkFirewallPoliciesStubSettings.Builder networkFirewallPoliciesSettingsBuilder =
NetworkFirewallPoliciesStubSettings.newBuilder();
networkFirewallPoliciesSettingsBuilder
.getSettings()
.setRetrySettings(
networkFirewallPoliciesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
NetworkFirewallPoliciesStubSettings networkFirewallPoliciesSettings =
networkFirewallPoliciesSettingsBuilder.build();
NetworkFirewallPoliciesStubSettings.Builder
Builder for NetworkFirewallPoliciesStubSettings.
NetworksStub
Base stub class for the Networks service API.
This class is for advanced usage and reflects the underlying API directly.
NetworksStubSettings
Settings class to configure an instance of NetworksStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
NetworksStubSettings.Builder networksSettingsBuilder = NetworksStubSettings.newBuilder();
networksSettingsBuilder
.getSettings()
.setRetrySettings(
networksSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
NetworksStubSettings networksSettings = networksSettingsBuilder.build();
NetworksStubSettings.Builder
Builder for NetworksStubSettings.
NodeGroupsStub
Base stub class for the NodeGroups service API.
This class is for advanced usage and reflects the underlying API directly.
NodeGroupsStubSettings
Settings class to configure an instance of NodeGroupsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
NodeGroupsStubSettings.Builder nodeGroupsSettingsBuilder = NodeGroupsStubSettings.newBuilder();
nodeGroupsSettingsBuilder
.getSettings()
.setRetrySettings(
nodeGroupsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
NodeGroupsStubSettings nodeGroupsSettings = nodeGroupsSettingsBuilder.build();
NodeGroupsStubSettings.Builder
Builder for NodeGroupsStubSettings.
NodeTemplatesStub
Base stub class for the NodeTemplates service API.
This class is for advanced usage and reflects the underlying API directly.
NodeTemplatesStubSettings
Settings class to configure an instance of NodeTemplatesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
NodeTemplatesStubSettings.Builder nodeTemplatesSettingsBuilder =
NodeTemplatesStubSettings.newBuilder();
nodeTemplatesSettingsBuilder
.getSettings()
.setRetrySettings(
nodeTemplatesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
NodeTemplatesStubSettings nodeTemplatesSettings = nodeTemplatesSettingsBuilder.build();
NodeTemplatesStubSettings.Builder
Builder for NodeTemplatesStubSettings.
NodeTypesStub
Base stub class for the NodeTypes service API.
This class is for advanced usage and reflects the underlying API directly.
NodeTypesStubSettings
Settings class to configure an instance of NodeTypesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
NodeTypesStubSettings.Builder nodeTypesSettingsBuilder = NodeTypesStubSettings.newBuilder();
nodeTypesSettingsBuilder
.getSettings()
.setRetrySettings(
nodeTypesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
NodeTypesStubSettings nodeTypesSettings = nodeTypesSettingsBuilder.build();
NodeTypesStubSettings.Builder
Builder for NodeTypesStubSettings.
PacketMirroringsStub
Base stub class for the PacketMirrorings service API.
This class is for advanced usage and reflects the underlying API directly.
PacketMirroringsStubSettings
Settings class to configure an instance of PacketMirroringsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
PacketMirroringsStubSettings.Builder packetMirroringsSettingsBuilder =
PacketMirroringsStubSettings.newBuilder();
packetMirroringsSettingsBuilder
.getSettings()
.setRetrySettings(
packetMirroringsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
PacketMirroringsStubSettings packetMirroringsSettings = packetMirroringsSettingsBuilder.build();
PacketMirroringsStubSettings.Builder
Builder for PacketMirroringsStubSettings.
ProjectsStub
Base stub class for the Projects service API.
This class is for advanced usage and reflects the underlying API directly.
ProjectsStubSettings
Settings class to configure an instance of ProjectsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
ProjectsStubSettings.Builder projectsSettingsBuilder = ProjectsStubSettings.newBuilder();
projectsSettingsBuilder
.getSettings()
.setRetrySettings(
projectsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ProjectsStubSettings projectsSettings = projectsSettingsBuilder.build();
ProjectsStubSettings.Builder
Builder for ProjectsStubSettings.
PublicAdvertisedPrefixesStub
Base stub class for the PublicAdvertisedPrefixes service API.
This class is for advanced usage and reflects the underlying API directly.
PublicAdvertisedPrefixesStubSettings
Settings class to configure an instance of PublicAdvertisedPrefixesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
PublicAdvertisedPrefixesStubSettings.Builder publicAdvertisedPrefixesSettingsBuilder =
PublicAdvertisedPrefixesStubSettings.newBuilder();
publicAdvertisedPrefixesSettingsBuilder
.getSettings()
.setRetrySettings(
publicAdvertisedPrefixesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
PublicAdvertisedPrefixesStubSettings publicAdvertisedPrefixesSettings =
publicAdvertisedPrefixesSettingsBuilder.build();
PublicAdvertisedPrefixesStubSettings.Builder
Builder for PublicAdvertisedPrefixesStubSettings.
PublicDelegatedPrefixesStub
Base stub class for the PublicDelegatedPrefixes service API.
This class is for advanced usage and reflects the underlying API directly.
PublicDelegatedPrefixesStubSettings
Settings class to configure an instance of PublicDelegatedPrefixesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
PublicDelegatedPrefixesStubSettings.Builder publicDelegatedPrefixesSettingsBuilder =
PublicDelegatedPrefixesStubSettings.newBuilder();
publicDelegatedPrefixesSettingsBuilder
.getSettings()
.setRetrySettings(
publicDelegatedPrefixesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
PublicDelegatedPrefixesStubSettings publicDelegatedPrefixesSettings =
publicDelegatedPrefixesSettingsBuilder.build();
PublicDelegatedPrefixesStubSettings.Builder
Builder for PublicDelegatedPrefixesStubSettings.
RegionAutoscalersStub
Base stub class for the RegionAutoscalers service API.
This class is for advanced usage and reflects the underlying API directly.
RegionAutoscalersStubSettings
Settings class to configure an instance of RegionAutoscalersStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionAutoscalersStubSettings.Builder regionAutoscalersSettingsBuilder =
RegionAutoscalersStubSettings.newBuilder();
regionAutoscalersSettingsBuilder
.getSettings()
.setRetrySettings(
regionAutoscalersSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionAutoscalersStubSettings regionAutoscalersSettings =
regionAutoscalersSettingsBuilder.build();
RegionAutoscalersStubSettings.Builder
Builder for RegionAutoscalersStubSettings.
RegionBackendServicesStub
Base stub class for the RegionBackendServices service API.
This class is for advanced usage and reflects the underlying API directly.
RegionBackendServicesStubSettings
Settings class to configure an instance of RegionBackendServicesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionBackendServicesStubSettings.Builder regionBackendServicesSettingsBuilder =
RegionBackendServicesStubSettings.newBuilder();
regionBackendServicesSettingsBuilder
.getSettings()
.setRetrySettings(
regionBackendServicesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionBackendServicesStubSettings regionBackendServicesSettings =
regionBackendServicesSettingsBuilder.build();
RegionBackendServicesStubSettings.Builder
Builder for RegionBackendServicesStubSettings.
RegionCommitmentsStub
Base stub class for the RegionCommitments service API.
This class is for advanced usage and reflects the underlying API directly.
RegionCommitmentsStubSettings
Settings class to configure an instance of RegionCommitmentsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionCommitmentsStubSettings.Builder regionCommitmentsSettingsBuilder =
RegionCommitmentsStubSettings.newBuilder();
regionCommitmentsSettingsBuilder
.getSettings()
.setRetrySettings(
regionCommitmentsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionCommitmentsStubSettings regionCommitmentsSettings =
regionCommitmentsSettingsBuilder.build();
RegionCommitmentsStubSettings.Builder
Builder for RegionCommitmentsStubSettings.
RegionDiskTypesStub
Base stub class for the RegionDiskTypes service API.
This class is for advanced usage and reflects the underlying API directly.
RegionDiskTypesStubSettings
Settings class to configure an instance of RegionDiskTypesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionDiskTypesStubSettings.Builder regionDiskTypesSettingsBuilder =
RegionDiskTypesStubSettings.newBuilder();
regionDiskTypesSettingsBuilder
.getSettings()
.setRetrySettings(
regionDiskTypesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionDiskTypesStubSettings regionDiskTypesSettings = regionDiskTypesSettingsBuilder.build();
RegionDiskTypesStubSettings.Builder
Builder for RegionDiskTypesStubSettings.
RegionDisksStub
Base stub class for the RegionDisks service API.
This class is for advanced usage and reflects the underlying API directly.
RegionDisksStubSettings
Settings class to configure an instance of RegionDisksStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionDisksStubSettings.Builder regionDisksSettingsBuilder =
RegionDisksStubSettings.newBuilder();
regionDisksSettingsBuilder
.getSettings()
.setRetrySettings(
regionDisksSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionDisksStubSettings regionDisksSettings = regionDisksSettingsBuilder.build();
RegionDisksStubSettings.Builder
Builder for RegionDisksStubSettings.
RegionHealthCheckServicesStub
Base stub class for the RegionHealthCheckServices service API.
This class is for advanced usage and reflects the underlying API directly.
RegionHealthCheckServicesStubSettings
Settings class to configure an instance of RegionHealthCheckServicesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionHealthCheckServicesStubSettings.Builder regionHealthCheckServicesSettingsBuilder =
RegionHealthCheckServicesStubSettings.newBuilder();
regionHealthCheckServicesSettingsBuilder
.getSettings()
.setRetrySettings(
regionHealthCheckServicesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionHealthCheckServicesStubSettings regionHealthCheckServicesSettings =
regionHealthCheckServicesSettingsBuilder.build();
RegionHealthCheckServicesStubSettings.Builder
Builder for RegionHealthCheckServicesStubSettings.
RegionHealthChecksStub
Base stub class for the RegionHealthChecks service API.
This class is for advanced usage and reflects the underlying API directly.
RegionHealthChecksStubSettings
Settings class to configure an instance of RegionHealthChecksStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionHealthChecksStubSettings.Builder regionHealthChecksSettingsBuilder =
RegionHealthChecksStubSettings.newBuilder();
regionHealthChecksSettingsBuilder
.getSettings()
.setRetrySettings(
regionHealthChecksSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionHealthChecksStubSettings regionHealthChecksSettings =
regionHealthChecksSettingsBuilder.build();
RegionHealthChecksStubSettings.Builder
Builder for RegionHealthChecksStubSettings.
RegionInstanceGroupManagersStub
Base stub class for the RegionInstanceGroupManagers service API.
This class is for advanced usage and reflects the underlying API directly.
RegionInstanceGroupManagersStubSettings
Settings class to configure an instance of RegionInstanceGroupManagersStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionInstanceGroupManagersStubSettings.Builder regionInstanceGroupManagersSettingsBuilder =
RegionInstanceGroupManagersStubSettings.newBuilder();
regionInstanceGroupManagersSettingsBuilder
.getSettings()
.setRetrySettings(
regionInstanceGroupManagersSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionInstanceGroupManagersStubSettings regionInstanceGroupManagersSettings =
regionInstanceGroupManagersSettingsBuilder.build();
RegionInstanceGroupManagersStubSettings.Builder
Builder for RegionInstanceGroupManagersStubSettings.
RegionInstanceGroupsStub
Base stub class for the RegionInstanceGroups service API.
This class is for advanced usage and reflects the underlying API directly.
RegionInstanceGroupsStubSettings
Settings class to configure an instance of RegionInstanceGroupsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionInstanceGroupsStubSettings.Builder regionInstanceGroupsSettingsBuilder =
RegionInstanceGroupsStubSettings.newBuilder();
regionInstanceGroupsSettingsBuilder
.getSettings()
.setRetrySettings(
regionInstanceGroupsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionInstanceGroupsStubSettings regionInstanceGroupsSettings =
regionInstanceGroupsSettingsBuilder.build();
RegionInstanceGroupsStubSettings.Builder
Builder for RegionInstanceGroupsStubSettings.
RegionInstancesStub
Base stub class for the RegionInstances service API.
This class is for advanced usage and reflects the underlying API directly.
RegionInstancesStubSettings
Settings class to configure an instance of RegionInstancesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 bulkInsert 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
RegionInstancesStubSettings.Builder regionInstancesSettingsBuilder =
RegionInstancesStubSettings.newBuilder();
regionInstancesSettingsBuilder
.bulkInsertSettings()
.setRetrySettings(
regionInstancesSettingsBuilder
.bulkInsertSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionInstancesStubSettings regionInstancesSettings = regionInstancesSettingsBuilder.build();
RegionInstancesStubSettings.Builder
Builder for RegionInstancesStubSettings.
RegionNetworkEndpointGroupsStub
Base stub class for the RegionNetworkEndpointGroups service API.
This class is for advanced usage and reflects the underlying API directly.
RegionNetworkEndpointGroupsStubSettings
Settings class to configure an instance of RegionNetworkEndpointGroupsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionNetworkEndpointGroupsStubSettings.Builder regionNetworkEndpointGroupsSettingsBuilder =
RegionNetworkEndpointGroupsStubSettings.newBuilder();
regionNetworkEndpointGroupsSettingsBuilder
.getSettings()
.setRetrySettings(
regionNetworkEndpointGroupsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionNetworkEndpointGroupsStubSettings regionNetworkEndpointGroupsSettings =
regionNetworkEndpointGroupsSettingsBuilder.build();
RegionNetworkEndpointGroupsStubSettings.Builder
Builder for RegionNetworkEndpointGroupsStubSettings.
RegionNetworkFirewallPoliciesStub
Base stub class for the RegionNetworkFirewallPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
RegionNetworkFirewallPoliciesStubSettings
Settings class to configure an instance of RegionNetworkFirewallPoliciesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionNetworkFirewallPoliciesStubSettings.Builder regionNetworkFirewallPoliciesSettingsBuilder =
RegionNetworkFirewallPoliciesStubSettings.newBuilder();
regionNetworkFirewallPoliciesSettingsBuilder
.getSettings()
.setRetrySettings(
regionNetworkFirewallPoliciesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionNetworkFirewallPoliciesStubSettings regionNetworkFirewallPoliciesSettings =
regionNetworkFirewallPoliciesSettingsBuilder.build();
RegionNetworkFirewallPoliciesStubSettings.Builder
Builder for RegionNetworkFirewallPoliciesStubSettings.
RegionNotificationEndpointsStub
Base stub class for the RegionNotificationEndpoints service API.
This class is for advanced usage and reflects the underlying API directly.
RegionNotificationEndpointsStubSettings
Settings class to configure an instance of RegionNotificationEndpointsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionNotificationEndpointsStubSettings.Builder regionNotificationEndpointsSettingsBuilder =
RegionNotificationEndpointsStubSettings.newBuilder();
regionNotificationEndpointsSettingsBuilder
.getSettings()
.setRetrySettings(
regionNotificationEndpointsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionNotificationEndpointsStubSettings regionNotificationEndpointsSettings =
regionNotificationEndpointsSettingsBuilder.build();
RegionNotificationEndpointsStubSettings.Builder
Builder for RegionNotificationEndpointsStubSettings.
RegionOperationsStub
Base stub class for the RegionOperations service API.
This class is for advanced usage and reflects the underlying API directly.
RegionOperationsStubSettings
Settings class to configure an instance of RegionOperationsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 delete 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
RegionOperationsStubSettings.Builder regionOperationsSettingsBuilder =
RegionOperationsStubSettings.newBuilder();
regionOperationsSettingsBuilder
.deleteSettings()
.setRetrySettings(
regionOperationsSettingsBuilder
.deleteSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionOperationsStubSettings regionOperationsSettings = regionOperationsSettingsBuilder.build();
RegionOperationsStubSettings.Builder
Builder for RegionOperationsStubSettings.
RegionSecurityPoliciesStub
Base stub class for the RegionSecurityPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
RegionSecurityPoliciesStubSettings
Settings class to configure an instance of RegionSecurityPoliciesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionSecurityPoliciesStubSettings.Builder regionSecurityPoliciesSettingsBuilder =
RegionSecurityPoliciesStubSettings.newBuilder();
regionSecurityPoliciesSettingsBuilder
.getSettings()
.setRetrySettings(
regionSecurityPoliciesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionSecurityPoliciesStubSettings regionSecurityPoliciesSettings =
regionSecurityPoliciesSettingsBuilder.build();
RegionSecurityPoliciesStubSettings.Builder
Builder for RegionSecurityPoliciesStubSettings.
RegionSslCertificatesStub
Base stub class for the RegionSslCertificates service API.
This class is for advanced usage and reflects the underlying API directly.
RegionSslCertificatesStubSettings
Settings class to configure an instance of RegionSslCertificatesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionSslCertificatesStubSettings.Builder regionSslCertificatesSettingsBuilder =
RegionSslCertificatesStubSettings.newBuilder();
regionSslCertificatesSettingsBuilder
.getSettings()
.setRetrySettings(
regionSslCertificatesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionSslCertificatesStubSettings regionSslCertificatesSettings =
regionSslCertificatesSettingsBuilder.build();
RegionSslCertificatesStubSettings.Builder
Builder for RegionSslCertificatesStubSettings.
RegionSslPoliciesStub
Base stub class for the RegionSslPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
RegionSslPoliciesStubSettings
Settings class to configure an instance of RegionSslPoliciesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionSslPoliciesStubSettings.Builder regionSslPoliciesSettingsBuilder =
RegionSslPoliciesStubSettings.newBuilder();
regionSslPoliciesSettingsBuilder
.getSettings()
.setRetrySettings(
regionSslPoliciesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionSslPoliciesStubSettings regionSslPoliciesSettings =
regionSslPoliciesSettingsBuilder.build();
RegionSslPoliciesStubSettings.Builder
Builder for RegionSslPoliciesStubSettings.
RegionTargetHttpProxiesStub
Base stub class for the RegionTargetHttpProxies service API.
This class is for advanced usage and reflects the underlying API directly.
RegionTargetHttpProxiesStubSettings
Settings class to configure an instance of RegionTargetHttpProxiesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionTargetHttpProxiesStubSettings.Builder regionTargetHttpProxiesSettingsBuilder =
RegionTargetHttpProxiesStubSettings.newBuilder();
regionTargetHttpProxiesSettingsBuilder
.getSettings()
.setRetrySettings(
regionTargetHttpProxiesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionTargetHttpProxiesStubSettings regionTargetHttpProxiesSettings =
regionTargetHttpProxiesSettingsBuilder.build();
RegionTargetHttpProxiesStubSettings.Builder
Builder for RegionTargetHttpProxiesStubSettings.
RegionTargetHttpsProxiesStub
Base stub class for the RegionTargetHttpsProxies service API.
This class is for advanced usage and reflects the underlying API directly.
RegionTargetHttpsProxiesStubSettings
Settings class to configure an instance of RegionTargetHttpsProxiesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionTargetHttpsProxiesStubSettings.Builder regionTargetHttpsProxiesSettingsBuilder =
RegionTargetHttpsProxiesStubSettings.newBuilder();
regionTargetHttpsProxiesSettingsBuilder
.getSettings()
.setRetrySettings(
regionTargetHttpsProxiesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionTargetHttpsProxiesStubSettings regionTargetHttpsProxiesSettings =
regionTargetHttpsProxiesSettingsBuilder.build();
RegionTargetHttpsProxiesStubSettings.Builder
Builder for RegionTargetHttpsProxiesStubSettings.
RegionTargetTcpProxiesStub
Base stub class for the RegionTargetTcpProxies service API.
This class is for advanced usage and reflects the underlying API directly.
RegionTargetTcpProxiesStubSettings
Settings class to configure an instance of RegionTargetTcpProxiesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionTargetTcpProxiesStubSettings.Builder regionTargetTcpProxiesSettingsBuilder =
RegionTargetTcpProxiesStubSettings.newBuilder();
regionTargetTcpProxiesSettingsBuilder
.getSettings()
.setRetrySettings(
regionTargetTcpProxiesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionTargetTcpProxiesStubSettings regionTargetTcpProxiesSettings =
regionTargetTcpProxiesSettingsBuilder.build();
RegionTargetTcpProxiesStubSettings.Builder
Builder for RegionTargetTcpProxiesStubSettings.
RegionUrlMapsStub
Base stub class for the RegionUrlMaps service API.
This class is for advanced usage and reflects the underlying API directly.
RegionUrlMapsStubSettings
Settings class to configure an instance of RegionUrlMapsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionUrlMapsStubSettings.Builder regionUrlMapsSettingsBuilder =
RegionUrlMapsStubSettings.newBuilder();
regionUrlMapsSettingsBuilder
.getSettings()
.setRetrySettings(
regionUrlMapsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionUrlMapsStubSettings regionUrlMapsSettings = regionUrlMapsSettingsBuilder.build();
RegionUrlMapsStubSettings.Builder
Builder for RegionUrlMapsStubSettings.
RegionsStub
Base stub class for the Regions service API.
This class is for advanced usage and reflects the underlying API directly.
RegionsStubSettings
Settings class to configure an instance of RegionsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RegionsStubSettings.Builder regionsSettingsBuilder = RegionsStubSettings.newBuilder();
regionsSettingsBuilder
.getSettings()
.setRetrySettings(
regionsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RegionsStubSettings regionsSettings = regionsSettingsBuilder.build();
RegionsStubSettings.Builder
Builder for RegionsStubSettings.
ReservationsStub
Base stub class for the Reservations service API.
This class is for advanced usage and reflects the underlying API directly.
ReservationsStubSettings
Settings class to configure an instance of ReservationsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
ReservationsStubSettings.Builder reservationsSettingsBuilder =
ReservationsStubSettings.newBuilder();
reservationsSettingsBuilder
.getSettings()
.setRetrySettings(
reservationsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ReservationsStubSettings reservationsSettings = reservationsSettingsBuilder.build();
ReservationsStubSettings.Builder
Builder for ReservationsStubSettings.
ResourcePoliciesStub
Base stub class for the ResourcePolicies service API.
This class is for advanced usage and reflects the underlying API directly.
ResourcePoliciesStubSettings
Settings class to configure an instance of ResourcePoliciesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
ResourcePoliciesStubSettings.Builder resourcePoliciesSettingsBuilder =
ResourcePoliciesStubSettings.newBuilder();
resourcePoliciesSettingsBuilder
.getSettings()
.setRetrySettings(
resourcePoliciesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ResourcePoliciesStubSettings resourcePoliciesSettings = resourcePoliciesSettingsBuilder.build();
ResourcePoliciesStubSettings.Builder
Builder for ResourcePoliciesStubSettings.
RoutersStub
Base stub class for the Routers service API.
This class is for advanced usage and reflects the underlying API directly.
RoutersStubSettings
Settings class to configure an instance of RoutersStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RoutersStubSettings.Builder routersSettingsBuilder = RoutersStubSettings.newBuilder();
routersSettingsBuilder
.getSettings()
.setRetrySettings(
routersSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RoutersStubSettings routersSettings = routersSettingsBuilder.build();
RoutersStubSettings.Builder
Builder for RoutersStubSettings.
RoutesStub
Base stub class for the Routes service API.
This class is for advanced usage and reflects the underlying API directly.
RoutesStubSettings
Settings class to configure an instance of RoutesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
RoutesStubSettings.Builder routesSettingsBuilder = RoutesStubSettings.newBuilder();
routesSettingsBuilder
.getSettings()
.setRetrySettings(
routesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RoutesStubSettings routesSettings = routesSettingsBuilder.build();
RoutesStubSettings.Builder
Builder for RoutesStubSettings.
SecurityPoliciesStub
Base stub class for the SecurityPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
SecurityPoliciesStubSettings
Settings class to configure an instance of SecurityPoliciesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
SecurityPoliciesStubSettings.Builder securityPoliciesSettingsBuilder =
SecurityPoliciesStubSettings.newBuilder();
securityPoliciesSettingsBuilder
.getSettings()
.setRetrySettings(
securityPoliciesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
SecurityPoliciesStubSettings securityPoliciesSettings = securityPoliciesSettingsBuilder.build();
SecurityPoliciesStubSettings.Builder
Builder for SecurityPoliciesStubSettings.
ServiceAttachmentsStub
Base stub class for the ServiceAttachments service API.
This class is for advanced usage and reflects the underlying API directly.
ServiceAttachmentsStubSettings
Settings class to configure an instance of ServiceAttachmentsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
ServiceAttachmentsStubSettings.Builder serviceAttachmentsSettingsBuilder =
ServiceAttachmentsStubSettings.newBuilder();
serviceAttachmentsSettingsBuilder
.getSettings()
.setRetrySettings(
serviceAttachmentsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ServiceAttachmentsStubSettings serviceAttachmentsSettings =
serviceAttachmentsSettingsBuilder.build();
ServiceAttachmentsStubSettings.Builder
Builder for ServiceAttachmentsStubSettings.
SnapshotsStub
Base stub class for the Snapshots service API.
This class is for advanced usage and reflects the underlying API directly.
SnapshotsStubSettings
Settings class to configure an instance of SnapshotsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
SnapshotsStubSettings.Builder snapshotsSettingsBuilder = SnapshotsStubSettings.newBuilder();
snapshotsSettingsBuilder
.getSettings()
.setRetrySettings(
snapshotsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
SnapshotsStubSettings snapshotsSettings = snapshotsSettingsBuilder.build();
SnapshotsStubSettings.Builder
Builder for SnapshotsStubSettings.
SslCertificatesStub
Base stub class for the SslCertificates service API.
This class is for advanced usage and reflects the underlying API directly.
SslCertificatesStubSettings
Settings class to configure an instance of SslCertificatesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
SslCertificatesStubSettings.Builder sslCertificatesSettingsBuilder =
SslCertificatesStubSettings.newBuilder();
sslCertificatesSettingsBuilder
.getSettings()
.setRetrySettings(
sslCertificatesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
SslCertificatesStubSettings sslCertificatesSettings = sslCertificatesSettingsBuilder.build();
SslCertificatesStubSettings.Builder
Builder for SslCertificatesStubSettings.
SslPoliciesStub
Base stub class for the SslPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
SslPoliciesStubSettings
Settings class to configure an instance of SslPoliciesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
SslPoliciesStubSettings.Builder sslPoliciesSettingsBuilder =
SslPoliciesStubSettings.newBuilder();
sslPoliciesSettingsBuilder
.getSettings()
.setRetrySettings(
sslPoliciesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
SslPoliciesStubSettings sslPoliciesSettings = sslPoliciesSettingsBuilder.build();
SslPoliciesStubSettings.Builder
Builder for SslPoliciesStubSettings.
SubnetworksStub
Base stub class for the Subnetworks service API.
This class is for advanced usage and reflects the underlying API directly.
SubnetworksStubSettings
Settings class to configure an instance of SubnetworksStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
SubnetworksStubSettings.Builder subnetworksSettingsBuilder =
SubnetworksStubSettings.newBuilder();
subnetworksSettingsBuilder
.getSettings()
.setRetrySettings(
subnetworksSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
SubnetworksStubSettings subnetworksSettings = subnetworksSettingsBuilder.build();
SubnetworksStubSettings.Builder
Builder for SubnetworksStubSettings.
TargetGrpcProxiesStub
Base stub class for the TargetGrpcProxies service API.
This class is for advanced usage and reflects the underlying API directly.
TargetGrpcProxiesStubSettings
Settings class to configure an instance of TargetGrpcProxiesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
TargetGrpcProxiesStubSettings.Builder targetGrpcProxiesSettingsBuilder =
TargetGrpcProxiesStubSettings.newBuilder();
targetGrpcProxiesSettingsBuilder
.getSettings()
.setRetrySettings(
targetGrpcProxiesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
TargetGrpcProxiesStubSettings targetGrpcProxiesSettings =
targetGrpcProxiesSettingsBuilder.build();
TargetGrpcProxiesStubSettings.Builder
Builder for TargetGrpcProxiesStubSettings.
TargetHttpProxiesStub
Base stub class for the TargetHttpProxies service API.
This class is for advanced usage and reflects the underlying API directly.
TargetHttpProxiesStubSettings
Settings class to configure an instance of TargetHttpProxiesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
TargetHttpProxiesStubSettings.Builder targetHttpProxiesSettingsBuilder =
TargetHttpProxiesStubSettings.newBuilder();
targetHttpProxiesSettingsBuilder
.getSettings()
.setRetrySettings(
targetHttpProxiesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
TargetHttpProxiesStubSettings targetHttpProxiesSettings =
targetHttpProxiesSettingsBuilder.build();
TargetHttpProxiesStubSettings.Builder
Builder for TargetHttpProxiesStubSettings.
TargetHttpsProxiesStub
Base stub class for the TargetHttpsProxies service API.
This class is for advanced usage and reflects the underlying API directly.
TargetHttpsProxiesStubSettings
Settings class to configure an instance of TargetHttpsProxiesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
TargetHttpsProxiesStubSettings.Builder targetHttpsProxiesSettingsBuilder =
TargetHttpsProxiesStubSettings.newBuilder();
targetHttpsProxiesSettingsBuilder
.getSettings()
.setRetrySettings(
targetHttpsProxiesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
TargetHttpsProxiesStubSettings targetHttpsProxiesSettings =
targetHttpsProxiesSettingsBuilder.build();
TargetHttpsProxiesStubSettings.Builder
Builder for TargetHttpsProxiesStubSettings.
TargetInstancesStub
Base stub class for the TargetInstances service API.
This class is for advanced usage and reflects the underlying API directly.
TargetInstancesStubSettings
Settings class to configure an instance of TargetInstancesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
TargetInstancesStubSettings.Builder targetInstancesSettingsBuilder =
TargetInstancesStubSettings.newBuilder();
targetInstancesSettingsBuilder
.getSettings()
.setRetrySettings(
targetInstancesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
TargetInstancesStubSettings targetInstancesSettings = targetInstancesSettingsBuilder.build();
TargetInstancesStubSettings.Builder
Builder for TargetInstancesStubSettings.
TargetPoolsStub
Base stub class for the TargetPools service API.
This class is for advanced usage and reflects the underlying API directly.
TargetPoolsStubSettings
Settings class to configure an instance of TargetPoolsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
TargetPoolsStubSettings.Builder targetPoolsSettingsBuilder =
TargetPoolsStubSettings.newBuilder();
targetPoolsSettingsBuilder
.getSettings()
.setRetrySettings(
targetPoolsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
TargetPoolsStubSettings targetPoolsSettings = targetPoolsSettingsBuilder.build();
TargetPoolsStubSettings.Builder
Builder for TargetPoolsStubSettings.
TargetSslProxiesStub
Base stub class for the TargetSslProxies service API.
This class is for advanced usage and reflects the underlying API directly.
TargetSslProxiesStubSettings
Settings class to configure an instance of TargetSslProxiesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
TargetSslProxiesStubSettings.Builder targetSslProxiesSettingsBuilder =
TargetSslProxiesStubSettings.newBuilder();
targetSslProxiesSettingsBuilder
.getSettings()
.setRetrySettings(
targetSslProxiesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
TargetSslProxiesStubSettings targetSslProxiesSettings = targetSslProxiesSettingsBuilder.build();
TargetSslProxiesStubSettings.Builder
Builder for TargetSslProxiesStubSettings.
TargetTcpProxiesStub
Base stub class for the TargetTcpProxies service API.
This class is for advanced usage and reflects the underlying API directly.
TargetTcpProxiesStubSettings
Settings class to configure an instance of TargetTcpProxiesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
TargetTcpProxiesStubSettings.Builder targetTcpProxiesSettingsBuilder =
TargetTcpProxiesStubSettings.newBuilder();
targetTcpProxiesSettingsBuilder
.getSettings()
.setRetrySettings(
targetTcpProxiesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
TargetTcpProxiesStubSettings targetTcpProxiesSettings = targetTcpProxiesSettingsBuilder.build();
TargetTcpProxiesStubSettings.Builder
Builder for TargetTcpProxiesStubSettings.
TargetVpnGatewaysStub
Base stub class for the TargetVpnGateways service API.
This class is for advanced usage and reflects the underlying API directly.
TargetVpnGatewaysStubSettings
Settings class to configure an instance of TargetVpnGatewaysStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
TargetVpnGatewaysStubSettings.Builder targetVpnGatewaysSettingsBuilder =
TargetVpnGatewaysStubSettings.newBuilder();
targetVpnGatewaysSettingsBuilder
.getSettings()
.setRetrySettings(
targetVpnGatewaysSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
TargetVpnGatewaysStubSettings targetVpnGatewaysSettings =
targetVpnGatewaysSettingsBuilder.build();
TargetVpnGatewaysStubSettings.Builder
Builder for TargetVpnGatewaysStubSettings.
UrlMapsStub
Base stub class for the UrlMaps service API.
This class is for advanced usage and reflects the underlying API directly.
UrlMapsStubSettings
Settings class to configure an instance of UrlMapsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
UrlMapsStubSettings.Builder urlMapsSettingsBuilder = UrlMapsStubSettings.newBuilder();
urlMapsSettingsBuilder
.getSettings()
.setRetrySettings(
urlMapsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
UrlMapsStubSettings urlMapsSettings = urlMapsSettingsBuilder.build();
UrlMapsStubSettings.Builder
Builder for UrlMapsStubSettings.
VpnGatewaysStub
Base stub class for the VpnGateways service API.
This class is for advanced usage and reflects the underlying API directly.
VpnGatewaysStubSettings
Settings class to configure an instance of VpnGatewaysStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
VpnGatewaysStubSettings.Builder vpnGatewaysSettingsBuilder =
VpnGatewaysStubSettings.newBuilder();
vpnGatewaysSettingsBuilder
.getSettings()
.setRetrySettings(
vpnGatewaysSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
VpnGatewaysStubSettings vpnGatewaysSettings = vpnGatewaysSettingsBuilder.build();
VpnGatewaysStubSettings.Builder
Builder for VpnGatewaysStubSettings.
VpnTunnelsStub
Base stub class for the VpnTunnels service API.
This class is for advanced usage and reflects the underlying API directly.
VpnTunnelsStubSettings
Settings class to configure an instance of VpnTunnelsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
VpnTunnelsStubSettings.Builder vpnTunnelsSettingsBuilder = VpnTunnelsStubSettings.newBuilder();
vpnTunnelsSettingsBuilder
.getSettings()
.setRetrySettings(
vpnTunnelsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
VpnTunnelsStubSettings vpnTunnelsSettings = vpnTunnelsSettingsBuilder.build();
VpnTunnelsStubSettings.Builder
Builder for VpnTunnelsStubSettings.
ZoneOperationsStub
Base stub class for the ZoneOperations service API.
This class is for advanced usage and reflects the underlying API directly.
ZoneOperationsStubSettings
Settings class to configure an instance of ZoneOperationsStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 delete 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
ZoneOperationsStubSettings.Builder zoneOperationsSettingsBuilder =
ZoneOperationsStubSettings.newBuilder();
zoneOperationsSettingsBuilder
.deleteSettings()
.setRetrySettings(
zoneOperationsSettingsBuilder
.deleteSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ZoneOperationsStubSettings zoneOperationsSettings = zoneOperationsSettingsBuilder.build();
ZoneOperationsStubSettings.Builder
Builder for ZoneOperationsStubSettings.
ZonesStub
Base stub class for the Zones service API.
This class is for advanced usage and reflects the underlying API directly.
ZonesStubSettings
Settings class to configure an instance of ZonesStub.
The default instance has everything set to sensible defaults:
- The default service address (compute.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 get 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
ZonesStubSettings.Builder zonesSettingsBuilder = ZonesStubSettings.newBuilder();
zonesSettingsBuilder
.getSettings()
.setRetrySettings(
zonesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ZonesStubSettings zonesSettings = zonesSettingsBuilder.build();
ZonesStubSettings.Builder
Builder for ZonesStubSettings.