Class BackupForGKEStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<BackupForGKEStubSettings,BackupForGKEStubSettings.Builder>
-
- com.google.cloud.gkebackup.v1.stub.BackupForGKEStubSettings.Builder
-
- Enclosing class:
- BackupForGKEStubSettings
public static class BackupForGKEStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<BackupForGKEStubSettings,BackupForGKEStubSettings.Builder>
Builder for BackupForGKEStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(BackupForGKEStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupForGKEStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.BackupForGKEStubSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBackupRequest,Backup,OperationMetadata>
createBackupOperationSettings()
Returns the builder for the settings used for calls to createBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBackupPlanRequest,BackupPlan,OperationMetadata>
createBackupPlanOperationSettings()
Returns the builder for the settings used for calls to createBackupPlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBackupPlanRequest,com.google.longrunning.Operation>
createBackupPlanSettings()
Returns the builder for the settings used for calls to createBackupPlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBackupRequest,com.google.longrunning.Operation>
createBackupSettings()
Returns the builder for the settings used for calls to createBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRestoreRequest,Restore,OperationMetadata>
createRestoreOperationSettings()
Returns the builder for the settings used for calls to createRestore.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRestorePlanRequest,RestorePlan,OperationMetadata>
createRestorePlanOperationSettings()
Returns the builder for the settings used for calls to createRestorePlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRestorePlanRequest,com.google.longrunning.Operation>
createRestorePlanSettings()
Returns the builder for the settings used for calls to createRestorePlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRestoreRequest,com.google.longrunning.Operation>
createRestoreSettings()
Returns the builder for the settings used for calls to createRestore.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteBackupRequest,com.google.protobuf.Empty,OperationMetadata>
deleteBackupOperationSettings()
Returns the builder for the settings used for calls to deleteBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteBackupPlanRequest,com.google.protobuf.Empty,OperationMetadata>
deleteBackupPlanOperationSettings()
Returns the builder for the settings used for calls to deleteBackupPlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBackupPlanRequest,com.google.longrunning.Operation>
deleteBackupPlanSettings()
Returns the builder for the settings used for calls to deleteBackupPlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBackupRequest,com.google.longrunning.Operation>
deleteBackupSettings()
Returns the builder for the settings used for calls to deleteBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRestoreRequest,com.google.protobuf.Empty,OperationMetadata>
deleteRestoreOperationSettings()
Returns the builder for the settings used for calls to deleteRestore.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRestorePlanRequest,com.google.protobuf.Empty,OperationMetadata>
deleteRestorePlanOperationSettings()
Returns the builder for the settings used for calls to deleteRestorePlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRestorePlanRequest,com.google.longrunning.Operation>
deleteRestorePlanSettings()
Returns the builder for the settings used for calls to deleteRestorePlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRestoreRequest,com.google.longrunning.Operation>
deleteRestoreSettings()
Returns the builder for the settings used for calls to deleteRestore.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBackupPlanRequest,BackupPlan>
getBackupPlanSettings()
Returns the builder for the settings used for calls to getBackupPlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBackupRequest,Backup>
getBackupSettings()
Returns the builder for the settings used for calls to getBackup.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRestorePlanRequest,RestorePlan>
getRestorePlanSettings()
Returns the builder for the settings used for calls to getRestorePlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRestoreRequest,Restore>
getRestoreSettings()
Returns the builder for the settings used for calls to getRestore.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVolumeBackupRequest,VolumeBackup>
getVolumeBackupSettings()
Returns the builder for the settings used for calls to getVolumeBackup.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVolumeRestoreRequest,VolumeRestore>
getVolumeRestoreSettings()
Returns the builder for the settings used for calls to getVolumeRestore.com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupPlansRequest,ListBackupPlansResponse,BackupForGKEClient.ListBackupPlansPagedResponse>
listBackupPlansSettings()
Returns the builder for the settings used for calls to listBackupPlans.com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse,BackupForGKEClient.ListBackupsPagedResponse>
listBackupsSettings()
Returns the builder for the settings used for calls to listBackups.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,BackupForGKEClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListRestorePlansRequest,ListRestorePlansResponse,BackupForGKEClient.ListRestorePlansPagedResponse>
listRestorePlansSettings()
Returns the builder for the settings used for calls to listRestorePlans.com.google.api.gax.rpc.PagedCallSettings.Builder<ListRestoresRequest,ListRestoresResponse,BackupForGKEClient.ListRestoresPagedResponse>
listRestoresSettings()
Returns the builder for the settings used for calls to listRestores.com.google.api.gax.rpc.PagedCallSettings.Builder<ListVolumeBackupsRequest,ListVolumeBackupsResponse,BackupForGKEClient.ListVolumeBackupsPagedResponse>
listVolumeBackupsSettings()
Returns the builder for the settings used for calls to listVolumeBackups.com.google.api.gax.rpc.PagedCallSettings.Builder<ListVolumeRestoresRequest,ListVolumeRestoresResponse,BackupForGKEClient.ListVolumeRestoresPagedResponse>
listVolumeRestoresSettings()
Returns the builder for the settings used for calls to listVolumeRestores.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateBackupRequest,Backup,OperationMetadata>
updateBackupOperationSettings()
Returns the builder for the settings used for calls to updateBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateBackupPlanRequest,BackupPlan,OperationMetadata>
updateBackupPlanOperationSettings()
Returns the builder for the settings used for calls to updateBackupPlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBackupPlanRequest,com.google.longrunning.Operation>
updateBackupPlanSettings()
Returns the builder for the settings used for calls to updateBackupPlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBackupRequest,com.google.longrunning.Operation>
updateBackupSettings()
Returns the builder for the settings used for calls to updateBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateRestoreRequest,Restore,OperationMetadata>
updateRestoreOperationSettings()
Returns the builder for the settings used for calls to updateRestore.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateRestorePlanRequest,RestorePlan,OperationMetadata>
updateRestorePlanOperationSettings()
Returns the builder for the settings used for calls to updateRestorePlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRestorePlanRequest,com.google.longrunning.Operation>
updateRestorePlanSettings()
Returns the builder for the settings used for calls to updateRestorePlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRestoreRequest,com.google.longrunning.Operation>
updateRestoreSettings()
Returns the builder for the settings used for calls to updateRestore.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(BackupForGKEStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public BackupForGKEStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
createBackupPlanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBackupPlanRequest,com.google.longrunning.Operation> createBackupPlanSettings()
Returns the builder for the settings used for calls to createBackupPlan.
-
createBackupPlanOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBackupPlanRequest,BackupPlan,OperationMetadata> createBackupPlanOperationSettings()
Returns the builder for the settings used for calls to createBackupPlan.
-
listBackupPlansSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupPlansRequest,ListBackupPlansResponse,BackupForGKEClient.ListBackupPlansPagedResponse> listBackupPlansSettings()
Returns the builder for the settings used for calls to listBackupPlans.
-
getBackupPlanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBackupPlanRequest,BackupPlan> getBackupPlanSettings()
Returns the builder for the settings used for calls to getBackupPlan.
-
updateBackupPlanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBackupPlanRequest,com.google.longrunning.Operation> updateBackupPlanSettings()
Returns the builder for the settings used for calls to updateBackupPlan.
-
updateBackupPlanOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateBackupPlanRequest,BackupPlan,OperationMetadata> updateBackupPlanOperationSettings()
Returns the builder for the settings used for calls to updateBackupPlan.
-
deleteBackupPlanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBackupPlanRequest,com.google.longrunning.Operation> deleteBackupPlanSettings()
Returns the builder for the settings used for calls to deleteBackupPlan.
-
deleteBackupPlanOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteBackupPlanRequest,com.google.protobuf.Empty,OperationMetadata> deleteBackupPlanOperationSettings()
Returns the builder for the settings used for calls to deleteBackupPlan.
-
createBackupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBackupRequest,com.google.longrunning.Operation> createBackupSettings()
Returns the builder for the settings used for calls to createBackup.
-
createBackupOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationSettings()
Returns the builder for the settings used for calls to createBackup.
-
listBackupsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse,BackupForGKEClient.ListBackupsPagedResponse> listBackupsSettings()
Returns the builder for the settings used for calls to listBackups.
-
getBackupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBackupRequest,Backup> getBackupSettings()
Returns the builder for the settings used for calls to getBackup.
-
updateBackupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBackupRequest,com.google.longrunning.Operation> updateBackupSettings()
Returns the builder for the settings used for calls to updateBackup.
-
updateBackupOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateBackupRequest,Backup,OperationMetadata> updateBackupOperationSettings()
Returns the builder for the settings used for calls to updateBackup.
-
deleteBackupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBackupRequest,com.google.longrunning.Operation> deleteBackupSettings()
Returns the builder for the settings used for calls to deleteBackup.
-
deleteBackupOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteBackupRequest,com.google.protobuf.Empty,OperationMetadata> deleteBackupOperationSettings()
Returns the builder for the settings used for calls to deleteBackup.
-
listVolumeBackupsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListVolumeBackupsRequest,ListVolumeBackupsResponse,BackupForGKEClient.ListVolumeBackupsPagedResponse> listVolumeBackupsSettings()
Returns the builder for the settings used for calls to listVolumeBackups.
-
getVolumeBackupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVolumeBackupRequest,VolumeBackup> getVolumeBackupSettings()
Returns the builder for the settings used for calls to getVolumeBackup.
-
createRestorePlanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRestorePlanRequest,com.google.longrunning.Operation> createRestorePlanSettings()
Returns the builder for the settings used for calls to createRestorePlan.
-
createRestorePlanOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRestorePlanRequest,RestorePlan,OperationMetadata> createRestorePlanOperationSettings()
Returns the builder for the settings used for calls to createRestorePlan.
-
listRestorePlansSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListRestorePlansRequest,ListRestorePlansResponse,BackupForGKEClient.ListRestorePlansPagedResponse> listRestorePlansSettings()
Returns the builder for the settings used for calls to listRestorePlans.
-
getRestorePlanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRestorePlanRequest,RestorePlan> getRestorePlanSettings()
Returns the builder for the settings used for calls to getRestorePlan.
-
updateRestorePlanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRestorePlanRequest,com.google.longrunning.Operation> updateRestorePlanSettings()
Returns the builder for the settings used for calls to updateRestorePlan.
-
updateRestorePlanOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateRestorePlanRequest,RestorePlan,OperationMetadata> updateRestorePlanOperationSettings()
Returns the builder for the settings used for calls to updateRestorePlan.
-
deleteRestorePlanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRestorePlanRequest,com.google.longrunning.Operation> deleteRestorePlanSettings()
Returns the builder for the settings used for calls to deleteRestorePlan.
-
deleteRestorePlanOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRestorePlanRequest,com.google.protobuf.Empty,OperationMetadata> deleteRestorePlanOperationSettings()
Returns the builder for the settings used for calls to deleteRestorePlan.
-
createRestoreSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRestoreRequest,com.google.longrunning.Operation> createRestoreSettings()
Returns the builder for the settings used for calls to createRestore.
-
createRestoreOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRestoreRequest,Restore,OperationMetadata> createRestoreOperationSettings()
Returns the builder for the settings used for calls to createRestore.
-
listRestoresSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListRestoresRequest,ListRestoresResponse,BackupForGKEClient.ListRestoresPagedResponse> listRestoresSettings()
Returns the builder for the settings used for calls to listRestores.
-
getRestoreSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRestoreRequest,Restore> getRestoreSettings()
Returns the builder for the settings used for calls to getRestore.
-
updateRestoreSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRestoreRequest,com.google.longrunning.Operation> updateRestoreSettings()
Returns the builder for the settings used for calls to updateRestore.
-
updateRestoreOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateRestoreRequest,Restore,OperationMetadata> updateRestoreOperationSettings()
Returns the builder for the settings used for calls to updateRestore.
-
deleteRestoreSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRestoreRequest,com.google.longrunning.Operation> deleteRestoreSettings()
Returns the builder for the settings used for calls to deleteRestore.
-
deleteRestoreOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRestoreRequest,com.google.protobuf.Empty,OperationMetadata> deleteRestoreOperationSettings()
Returns the builder for the settings used for calls to deleteRestore.
-
listVolumeRestoresSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListVolumeRestoresRequest,ListVolumeRestoresResponse,BackupForGKEClient.ListVolumeRestoresPagedResponse> listVolumeRestoresSettings()
Returns the builder for the settings used for calls to listVolumeRestores.
-
getVolumeRestoreSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVolumeRestoreRequest,VolumeRestore> getVolumeRestoreSettings()
Returns the builder for the settings used for calls to getVolumeRestore.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,BackupForGKEClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public BackupForGKEStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<BackupForGKEStubSettings,BackupForGKEStubSettings.Builder>
- Throws:
IOException
-
-