@Generated(value="by gapic-generator-java") public class BackupForGKESettings extends com.google.api.gax.rpc.ClientSettings<BackupForGKESettings>
BackupForGKEClient.
The default instance has everything set to sensible defaults:
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 getBackupPlan 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
BackupForGKESettings.Builder backupForGKESettingsBuilder = BackupForGKESettings.newBuilder();
backupForGKESettingsBuilder
.getBackupPlanSettings()
.setRetrySettings(
backupForGKESettingsBuilder
.getBackupPlanSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
BackupForGKESettings backupForGKESettings = backupForGKESettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
BackupForGKESettings.Builder
Builder for BackupForGKESettings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
BackupForGKESettings(BackupForGKESettings.Builder settingsBuilder) |
| Modifier and Type | Method and Description |
|---|---|
static BackupForGKESettings |
create(BackupForGKEStubSettings stub) |
com.google.api.gax.rpc.OperationCallSettings<CreateBackupRequest,Backup,OperationMetadata> |
createBackupOperationSettings()
Returns the object with the settings used for calls to createBackup.
|
com.google.api.gax.rpc.OperationCallSettings<CreateBackupPlanRequest,BackupPlan,OperationMetadata> |
createBackupPlanOperationSettings()
Returns the object with the settings used for calls to createBackupPlan.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateBackupPlanRequest,com.google.longrunning.Operation> |
createBackupPlanSettings()
Returns the object with the settings used for calls to createBackupPlan.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateBackupRequest,com.google.longrunning.Operation> |
createBackupSettings()
Returns the object with the settings used for calls to createBackup.
|
com.google.api.gax.rpc.OperationCallSettings<CreateRestoreRequest,Restore,OperationMetadata> |
createRestoreOperationSettings()
Returns the object with the settings used for calls to createRestore.
|
com.google.api.gax.rpc.OperationCallSettings<CreateRestorePlanRequest,RestorePlan,OperationMetadata> |
createRestorePlanOperationSettings()
Returns the object with the settings used for calls to createRestorePlan.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateRestorePlanRequest,com.google.longrunning.Operation> |
createRestorePlanSettings()
Returns the object with the settings used for calls to createRestorePlan.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateRestoreRequest,com.google.longrunning.Operation> |
createRestoreSettings()
Returns the object with the settings used for calls to createRestore.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
|
static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder |
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.OperationCallSettings<DeleteBackupRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteBackupOperationSettings()
Returns the object with the settings used for calls to deleteBackup.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteBackupPlanRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteBackupPlanOperationSettings()
Returns the object with the settings used for calls to deleteBackupPlan.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteBackupPlanRequest,com.google.longrunning.Operation> |
deleteBackupPlanSettings()
Returns the object with the settings used for calls to deleteBackupPlan.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteBackupRequest,com.google.longrunning.Operation> |
deleteBackupSettings()
Returns the object with the settings used for calls to deleteBackup.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteRestoreRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteRestoreOperationSettings()
Returns the object with the settings used for calls to deleteRestore.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteRestorePlanRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteRestorePlanOperationSettings()
Returns the object with the settings used for calls to deleteRestorePlan.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteRestorePlanRequest,com.google.longrunning.Operation> |
deleteRestorePlanSettings()
Returns the object with the settings used for calls to deleteRestorePlan.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteRestoreRequest,com.google.longrunning.Operation> |
deleteRestoreSettings()
Returns the object with the settings used for calls to deleteRestore.
|
com.google.api.gax.rpc.UnaryCallSettings<GetBackupPlanRequest,BackupPlan> |
getBackupPlanSettings()
Returns the object with the settings used for calls to getBackupPlan.
|
com.google.api.gax.rpc.UnaryCallSettings<GetBackupRequest,Backup> |
getBackupSettings()
Returns the object with the settings used for calls to getBackup.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the object with the settings used for calls to getLocation.
|
com.google.api.gax.rpc.UnaryCallSettings<GetRestorePlanRequest,RestorePlan> |
getRestorePlanSettings()
Returns the object with the settings used for calls to getRestorePlan.
|
com.google.api.gax.rpc.UnaryCallSettings<GetRestoreRequest,Restore> |
getRestoreSettings()
Returns the object with the settings used for calls to getRestore.
|
com.google.api.gax.rpc.UnaryCallSettings<GetVolumeBackupRequest,VolumeBackup> |
getVolumeBackupSettings()
Returns the object with the settings used for calls to getVolumeBackup.
|
com.google.api.gax.rpc.UnaryCallSettings<GetVolumeRestoreRequest,VolumeRestore> |
getVolumeRestoreSettings()
Returns the object with the settings used for calls to getVolumeRestore.
|
com.google.api.gax.rpc.PagedCallSettings<ListBackupPlansRequest,ListBackupPlansResponse,BackupForGKEClient.ListBackupPlansPagedResponse> |
listBackupPlansSettings()
Returns the object with the settings used for calls to listBackupPlans.
|
com.google.api.gax.rpc.PagedCallSettings<ListBackupsRequest,ListBackupsResponse,BackupForGKEClient.ListBackupsPagedResponse> |
listBackupsSettings()
Returns the object with the settings used for calls to listBackups.
|
com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,BackupForGKEClient.ListLocationsPagedResponse> |
listLocationsSettings()
Returns the object with the settings used for calls to listLocations.
|
com.google.api.gax.rpc.PagedCallSettings<ListRestorePlansRequest,ListRestorePlansResponse,BackupForGKEClient.ListRestorePlansPagedResponse> |
listRestorePlansSettings()
Returns the object with the settings used for calls to listRestorePlans.
|
com.google.api.gax.rpc.PagedCallSettings<ListRestoresRequest,ListRestoresResponse,BackupForGKEClient.ListRestoresPagedResponse> |
listRestoresSettings()
Returns the object with the settings used for calls to listRestores.
|
com.google.api.gax.rpc.PagedCallSettings<ListVolumeBackupsRequest,ListVolumeBackupsResponse,BackupForGKEClient.ListVolumeBackupsPagedResponse> |
listVolumeBackupsSettings()
Returns the object with the settings used for calls to listVolumeBackups.
|
com.google.api.gax.rpc.PagedCallSettings<ListVolumeRestoresRequest,ListVolumeRestoresResponse,BackupForGKEClient.ListVolumeRestoresPagedResponse> |
listVolumeRestoresSettings()
Returns the object with the settings used for calls to listVolumeRestores.
|
static BackupForGKESettings.Builder |
newBuilder()
Returns a new gRPC builder for this class.
|
static BackupForGKESettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
static BackupForGKESettings.Builder |
newHttpJsonBuilder()
Returns a new REST builder for this class.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the object with the settings used for calls to testIamPermissions.
|
BackupForGKESettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateBackupRequest,Backup,OperationMetadata> |
updateBackupOperationSettings()
Returns the object with the settings used for calls to updateBackup.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateBackupPlanRequest,BackupPlan,OperationMetadata> |
updateBackupPlanOperationSettings()
Returns the object with the settings used for calls to updateBackupPlan.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateBackupPlanRequest,com.google.longrunning.Operation> |
updateBackupPlanSettings()
Returns the object with the settings used for calls to updateBackupPlan.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateBackupRequest,com.google.longrunning.Operation> |
updateBackupSettings()
Returns the object with the settings used for calls to updateBackup.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateRestoreRequest,Restore,OperationMetadata> |
updateRestoreOperationSettings()
Returns the object with the settings used for calls to updateRestore.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateRestorePlanRequest,RestorePlan,OperationMetadata> |
updateRestorePlanOperationSettings()
Returns the object with the settings used for calls to updateRestorePlan.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateRestorePlanRequest,com.google.longrunning.Operation> |
updateRestorePlanSettings()
Returns the object with the settings used for calls to updateRestorePlan.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateRestoreRequest,com.google.longrunning.Operation> |
updateRestoreSettings()
Returns the object with the settings used for calls to updateRestore.
|
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toStringprotected BackupForGKESettings(BackupForGKESettings.Builder settingsBuilder) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallSettings<CreateBackupPlanRequest,com.google.longrunning.Operation> createBackupPlanSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateBackupPlanRequest,BackupPlan,OperationMetadata> createBackupPlanOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListBackupPlansRequest,ListBackupPlansResponse,BackupForGKEClient.ListBackupPlansPagedResponse> listBackupPlansSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetBackupPlanRequest,BackupPlan> getBackupPlanSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateBackupPlanRequest,com.google.longrunning.Operation> updateBackupPlanSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateBackupPlanRequest,BackupPlan,OperationMetadata> updateBackupPlanOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteBackupPlanRequest,com.google.longrunning.Operation> deleteBackupPlanSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteBackupPlanRequest,com.google.protobuf.Empty,OperationMetadata> deleteBackupPlanOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateBackupRequest,com.google.longrunning.Operation> createBackupSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListBackupsRequest,ListBackupsResponse,BackupForGKEClient.ListBackupsPagedResponse> listBackupsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetBackupRequest,Backup> getBackupSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateBackupRequest,com.google.longrunning.Operation> updateBackupSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateBackupRequest,Backup,OperationMetadata> updateBackupOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteBackupRequest,com.google.longrunning.Operation> deleteBackupSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteBackupRequest,com.google.protobuf.Empty,OperationMetadata> deleteBackupOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListVolumeBackupsRequest,ListVolumeBackupsResponse,BackupForGKEClient.ListVolumeBackupsPagedResponse> listVolumeBackupsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetVolumeBackupRequest,VolumeBackup> getVolumeBackupSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateRestorePlanRequest,com.google.longrunning.Operation> createRestorePlanSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateRestorePlanRequest,RestorePlan,OperationMetadata> createRestorePlanOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListRestorePlansRequest,ListRestorePlansResponse,BackupForGKEClient.ListRestorePlansPagedResponse> listRestorePlansSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetRestorePlanRequest,RestorePlan> getRestorePlanSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateRestorePlanRequest,com.google.longrunning.Operation> updateRestorePlanSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateRestorePlanRequest,RestorePlan,OperationMetadata> updateRestorePlanOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteRestorePlanRequest,com.google.longrunning.Operation> deleteRestorePlanSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteRestorePlanRequest,com.google.protobuf.Empty,OperationMetadata> deleteRestorePlanOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateRestoreRequest,com.google.longrunning.Operation> createRestoreSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateRestoreRequest,Restore,OperationMetadata> createRestoreOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListRestoresRequest,ListRestoresResponse,BackupForGKEClient.ListRestoresPagedResponse> listRestoresSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetRestoreRequest,Restore> getRestoreSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateRestoreRequest,com.google.longrunning.Operation> updateRestoreSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateRestoreRequest,Restore,OperationMetadata> updateRestoreOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteRestoreRequest,com.google.longrunning.Operation> deleteRestoreSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteRestoreRequest,com.google.protobuf.Empty,OperationMetadata> deleteRestoreOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListVolumeRestoresRequest,ListVolumeRestoresResponse,BackupForGKEClient.ListVolumeRestoresPagedResponse> listVolumeRestoresSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetVolumeRestoreRequest,VolumeRestore> getVolumeRestoreSettings()
public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,BackupForGKEClient.ListLocationsPagedResponse> listLocationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public static final BackupForGKESettings create(BackupForGKEStubSettings stub) throws IOException
IOExceptionpublic static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
@BetaApi public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static BackupForGKESettings.Builder newBuilder()
@BetaApi public static BackupForGKESettings.Builder newHttpJsonBuilder()
public static BackupForGKESettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public BackupForGKESettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.ClientSettings<BackupForGKESettings>Copyright © 2023 Google LLC. All rights reserved.