Package com.google.cloud.notebooks.v1
Class ManagedNotebookServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ManagedNotebookServiceSettings,ManagedNotebookServiceSettings.Builder>
-
- com.google.cloud.notebooks.v1.ManagedNotebookServiceSettings.Builder
-
- Enclosing class:
- ManagedNotebookServiceSettings
public static class ManagedNotebookServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ManagedNotebookServiceSettings,ManagedNotebookServiceSettings.Builder>
Builder for ManagedNotebookServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ManagedNotebookServiceSettings settings)
protected
Builder(ManagedNotebookServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedNotebookServiceSettings.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.ManagedNotebookServiceSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRuntimeRequest,Runtime,OperationMetadata>
createRuntimeOperationSettings()
Returns the builder for the settings used for calls to createRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRuntimeRequest,com.google.longrunning.Operation>
createRuntimeSettings()
Returns the builder for the settings used for calls to createRuntime.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRuntimeRequest,com.google.protobuf.Empty,OperationMetadata>
deleteRuntimeOperationSettings()
Returns the builder for the settings used for calls to deleteRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRuntimeRequest,com.google.longrunning.Operation>
deleteRuntimeSettings()
Returns the builder for the settings used for calls to deleteRuntime.com.google.api.gax.rpc.OperationCallSettings.Builder<DiagnoseRuntimeRequest,Runtime,OperationMetadata>
diagnoseRuntimeOperationSettings()
Returns the builder for the settings used for calls to diagnoseRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<DiagnoseRuntimeRequest,com.google.longrunning.Operation>
diagnoseRuntimeSettings()
Returns the builder for the settings used for calls to diagnoseRuntime.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<GetRuntimeRequest,Runtime>
getRuntimeSettings()
Returns the builder for the settings used for calls to getRuntime.ManagedNotebookServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ManagedNotebookServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListRuntimesRequest,ListRuntimesResponse,ManagedNotebookServiceClient.ListRuntimesPagedResponse>
listRuntimesSettings()
Returns the builder for the settings used for calls to listRuntimes.com.google.api.gax.rpc.UnaryCallSettings.Builder<RefreshRuntimeTokenInternalRequest,RefreshRuntimeTokenInternalResponse>
refreshRuntimeTokenInternalSettings()
Returns the builder for the settings used for calls to refreshRuntimeTokenInternal.com.google.api.gax.rpc.OperationCallSettings.Builder<ReportRuntimeEventRequest,Runtime,OperationMetadata>
reportRuntimeEventOperationSettings()
Returns the builder for the settings used for calls to reportRuntimeEvent.com.google.api.gax.rpc.UnaryCallSettings.Builder<ReportRuntimeEventRequest,com.google.longrunning.Operation>
reportRuntimeEventSettings()
Returns the builder for the settings used for calls to reportRuntimeEvent.com.google.api.gax.rpc.OperationCallSettings.Builder<ResetRuntimeRequest,Runtime,OperationMetadata>
resetRuntimeOperationSettings()
Returns the builder for the settings used for calls to resetRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<ResetRuntimeRequest,com.google.longrunning.Operation>
resetRuntimeSettings()
Returns the builder for the settings used for calls to resetRuntime.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.OperationCallSettings.Builder<StartRuntimeRequest,Runtime,OperationMetadata>
startRuntimeOperationSettings()
Returns the builder for the settings used for calls to startRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<StartRuntimeRequest,com.google.longrunning.Operation>
startRuntimeSettings()
Returns the builder for the settings used for calls to startRuntime.com.google.api.gax.rpc.OperationCallSettings.Builder<StopRuntimeRequest,Runtime,OperationMetadata>
stopRuntimeOperationSettings()
Returns the builder for the settings used for calls to stopRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<StopRuntimeRequest,com.google.longrunning.Operation>
stopRuntimeSettings()
Returns the builder for the settings used for calls to stopRuntime.com.google.api.gax.rpc.OperationCallSettings.Builder<SwitchRuntimeRequest,Runtime,OperationMetadata>
switchRuntimeOperationSettings()
Returns the builder for the settings used for calls to switchRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<SwitchRuntimeRequest,com.google.longrunning.Operation>
switchRuntimeSettings()
Returns the builder for the settings used for calls to switchRuntime.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.api.gax.rpc.OperationCallSettings.Builder<UpdateRuntimeRequest,Runtime,OperationMetadata>
updateRuntimeOperationSettings()
Returns the builder for the settings used for calls to updateRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRuntimeRequest,com.google.longrunning.Operation>
updateRuntimeSettings()
Returns the builder for the settings used for calls to updateRuntime.com.google.api.gax.rpc.OperationCallSettings.Builder<UpgradeRuntimeRequest,Runtime,OperationMetadata>
upgradeRuntimeOperationSettings()
Returns the builder for the settings used for calls to upgradeRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpgradeRuntimeRequest,com.google.longrunning.Operation>
upgradeRuntimeSettings()
Returns the builder for the settings used for calls to upgradeRuntime.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ManagedNotebookServiceSettings settings)
-
Builder
protected Builder(ManagedNotebookServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ManagedNotebookServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ManagedNotebookServiceSettings.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.
-
listRuntimesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListRuntimesRequest,ListRuntimesResponse,ManagedNotebookServiceClient.ListRuntimesPagedResponse> listRuntimesSettings()
Returns the builder for the settings used for calls to listRuntimes.
-
getRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRuntimeRequest,Runtime> getRuntimeSettings()
Returns the builder for the settings used for calls to getRuntime.
-
createRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRuntimeRequest,com.google.longrunning.Operation> createRuntimeSettings()
Returns the builder for the settings used for calls to createRuntime.
-
createRuntimeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRuntimeRequest,Runtime,OperationMetadata> createRuntimeOperationSettings()
Returns the builder for the settings used for calls to createRuntime.
-
updateRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRuntimeRequest,com.google.longrunning.Operation> updateRuntimeSettings()
Returns the builder for the settings used for calls to updateRuntime.
-
updateRuntimeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateRuntimeRequest,Runtime,OperationMetadata> updateRuntimeOperationSettings()
Returns the builder for the settings used for calls to updateRuntime.
-
deleteRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRuntimeRequest,com.google.longrunning.Operation> deleteRuntimeSettings()
Returns the builder for the settings used for calls to deleteRuntime.
-
deleteRuntimeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRuntimeRequest,com.google.protobuf.Empty,OperationMetadata> deleteRuntimeOperationSettings()
Returns the builder for the settings used for calls to deleteRuntime.
-
startRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartRuntimeRequest,com.google.longrunning.Operation> startRuntimeSettings()
Returns the builder for the settings used for calls to startRuntime.
-
startRuntimeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<StartRuntimeRequest,Runtime,OperationMetadata> startRuntimeOperationSettings()
Returns the builder for the settings used for calls to startRuntime.
-
stopRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StopRuntimeRequest,com.google.longrunning.Operation> stopRuntimeSettings()
Returns the builder for the settings used for calls to stopRuntime.
-
stopRuntimeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<StopRuntimeRequest,Runtime,OperationMetadata> stopRuntimeOperationSettings()
Returns the builder for the settings used for calls to stopRuntime.
-
switchRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SwitchRuntimeRequest,com.google.longrunning.Operation> switchRuntimeSettings()
Returns the builder for the settings used for calls to switchRuntime.
-
switchRuntimeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<SwitchRuntimeRequest,Runtime,OperationMetadata> switchRuntimeOperationSettings()
Returns the builder for the settings used for calls to switchRuntime.
-
resetRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResetRuntimeRequest,com.google.longrunning.Operation> resetRuntimeSettings()
Returns the builder for the settings used for calls to resetRuntime.
-
resetRuntimeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<ResetRuntimeRequest,Runtime,OperationMetadata> resetRuntimeOperationSettings()
Returns the builder for the settings used for calls to resetRuntime.
-
upgradeRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpgradeRuntimeRequest,com.google.longrunning.Operation> upgradeRuntimeSettings()
Returns the builder for the settings used for calls to upgradeRuntime.
-
upgradeRuntimeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpgradeRuntimeRequest,Runtime,OperationMetadata> upgradeRuntimeOperationSettings()
Returns the builder for the settings used for calls to upgradeRuntime.
-
reportRuntimeEventSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ReportRuntimeEventRequest,com.google.longrunning.Operation> reportRuntimeEventSettings()
Returns the builder for the settings used for calls to reportRuntimeEvent.
-
reportRuntimeEventOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<ReportRuntimeEventRequest,Runtime,OperationMetadata> reportRuntimeEventOperationSettings()
Returns the builder for the settings used for calls to reportRuntimeEvent.
-
refreshRuntimeTokenInternalSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RefreshRuntimeTokenInternalRequest,RefreshRuntimeTokenInternalResponse> refreshRuntimeTokenInternalSettings()
Returns the builder for the settings used for calls to refreshRuntimeTokenInternal.
-
diagnoseRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DiagnoseRuntimeRequest,com.google.longrunning.Operation> diagnoseRuntimeSettings()
Returns the builder for the settings used for calls to diagnoseRuntime.
-
diagnoseRuntimeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DiagnoseRuntimeRequest,Runtime,OperationMetadata> diagnoseRuntimeOperationSettings()
Returns the builder for the settings used for calls to diagnoseRuntime.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ManagedNotebookServiceClient.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 ManagedNotebookServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ManagedNotebookServiceSettings,ManagedNotebookServiceSettings.Builder>
- Throws:
IOException
-
-