Class ManagedNotebookServiceSettings.Builder (1.40.0)

public static class ManagedNotebookServiceSettings.Builder extends ClientSettings.Builder<ManagedNotebookServiceSettings,ManagedNotebookServiceSettings.Builder>

Builder for ManagedNotebookServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ManagedNotebookServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ManagedNotebookServiceSettings settings)

protected Builder(ManagedNotebookServiceSettings settings)
Parameter
Name Description
settings ManagedNotebookServiceSettings

Builder(ManagedNotebookServiceStubSettings.Builder stubSettings)

protected Builder(ManagedNotebookServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ManagedNotebookServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ManagedNotebookServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ManagedNotebookServiceSettings.Builder

build()

public ManagedNotebookServiceSettings build()
Returns
Type Description
ManagedNotebookServiceSettings
Overrides
Exceptions
Type Description
IOException

createRuntimeOperationSettings()

public OperationCallSettings.Builder<CreateRuntimeRequest,Runtime,OperationMetadata> createRuntimeOperationSettings()

Returns the builder for the settings used for calls to createRuntime.

Returns
Type Description
Builder<CreateRuntimeRequest,Runtime,OperationMetadata>

createRuntimeSettings()

public UnaryCallSettings.Builder<CreateRuntimeRequest,Operation> createRuntimeSettings()

Returns the builder for the settings used for calls to createRuntime.

Returns
Type Description
Builder<CreateRuntimeRequest,Operation>

deleteRuntimeOperationSettings()

public OperationCallSettings.Builder<DeleteRuntimeRequest,Empty,OperationMetadata> deleteRuntimeOperationSettings()

Returns the builder for the settings used for calls to deleteRuntime.

Returns
Type Description
Builder<DeleteRuntimeRequest,Empty,OperationMetadata>

deleteRuntimeSettings()

public UnaryCallSettings.Builder<DeleteRuntimeRequest,Operation> deleteRuntimeSettings()

Returns the builder for the settings used for calls to deleteRuntime.

Returns
Type Description
Builder<DeleteRuntimeRequest,Operation>

diagnoseRuntimeOperationSettings()

public OperationCallSettings.Builder<DiagnoseRuntimeRequest,Runtime,OperationMetadata> diagnoseRuntimeOperationSettings()

Returns the builder for the settings used for calls to diagnoseRuntime.

Returns
Type Description
Builder<DiagnoseRuntimeRequest,Runtime,OperationMetadata>

diagnoseRuntimeSettings()

public UnaryCallSettings.Builder<DiagnoseRuntimeRequest,Operation> diagnoseRuntimeSettings()

Returns the builder for the settings used for calls to diagnoseRuntime.

Returns
Type Description
Builder<DiagnoseRuntimeRequest,Operation>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

Returns the builder for the settings used for calls to getIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getRuntimeSettings()

public UnaryCallSettings.Builder<GetRuntimeRequest,Runtime> getRuntimeSettings()

Returns the builder for the settings used for calls to getRuntime.

Returns
Type Description
Builder<GetRuntimeRequest,Runtime>

getStubSettingsBuilder()

public ManagedNotebookServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ManagedNotebookServiceStubSettings.Builder

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ManagedNotebookServiceClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listRuntimesSettings()

public PagedCallSettings.Builder<ListRuntimesRequest,ListRuntimesResponse,ManagedNotebookServiceClient.ListRuntimesPagedResponse> listRuntimesSettings()

Returns the builder for the settings used for calls to listRuntimes.

Returns
Type Description
Builder<ListRuntimesRequest,ListRuntimesResponse,ListRuntimesPagedResponse>

refreshRuntimeTokenInternalSettings()

public UnaryCallSettings.Builder<RefreshRuntimeTokenInternalRequest,RefreshRuntimeTokenInternalResponse> refreshRuntimeTokenInternalSettings()

Returns the builder for the settings used for calls to refreshRuntimeTokenInternal.

Returns
Type Description
Builder<RefreshRuntimeTokenInternalRequest,RefreshRuntimeTokenInternalResponse>

reportRuntimeEventOperationSettings()

public OperationCallSettings.Builder<ReportRuntimeEventRequest,Runtime,OperationMetadata> reportRuntimeEventOperationSettings()

Returns the builder for the settings used for calls to reportRuntimeEvent.

Returns
Type Description
Builder<ReportRuntimeEventRequest,Runtime,OperationMetadata>

reportRuntimeEventSettings()

public UnaryCallSettings.Builder<ReportRuntimeEventRequest,Operation> reportRuntimeEventSettings()

Returns the builder for the settings used for calls to reportRuntimeEvent.

Returns
Type Description
Builder<ReportRuntimeEventRequest,Operation>

resetRuntimeOperationSettings()

public OperationCallSettings.Builder<ResetRuntimeRequest,Runtime,OperationMetadata> resetRuntimeOperationSettings()

Returns the builder for the settings used for calls to resetRuntime.

Returns
Type Description
Builder<ResetRuntimeRequest,Runtime,OperationMetadata>

resetRuntimeSettings()

public UnaryCallSettings.Builder<ResetRuntimeRequest,Operation> resetRuntimeSettings()

Returns the builder for the settings used for calls to resetRuntime.

Returns
Type Description
Builder<ResetRuntimeRequest,Operation>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

Returns the builder for the settings used for calls to setIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

startRuntimeOperationSettings()

public OperationCallSettings.Builder<StartRuntimeRequest,Runtime,OperationMetadata> startRuntimeOperationSettings()

Returns the builder for the settings used for calls to startRuntime.

Returns
Type Description
Builder<StartRuntimeRequest,Runtime,OperationMetadata>

startRuntimeSettings()

public UnaryCallSettings.Builder<StartRuntimeRequest,Operation> startRuntimeSettings()

Returns the builder for the settings used for calls to startRuntime.

Returns
Type Description
Builder<StartRuntimeRequest,Operation>

stopRuntimeOperationSettings()

public OperationCallSettings.Builder<StopRuntimeRequest,Runtime,OperationMetadata> stopRuntimeOperationSettings()

Returns the builder for the settings used for calls to stopRuntime.

Returns
Type Description
Builder<StopRuntimeRequest,Runtime,OperationMetadata>

stopRuntimeSettings()

public UnaryCallSettings.Builder<StopRuntimeRequest,Operation> stopRuntimeSettings()

Returns the builder for the settings used for calls to stopRuntime.

Returns
Type Description
Builder<StopRuntimeRequest,Operation>

switchRuntimeOperationSettings()

public OperationCallSettings.Builder<SwitchRuntimeRequest,Runtime,OperationMetadata> switchRuntimeOperationSettings()

Returns the builder for the settings used for calls to switchRuntime.

Returns
Type Description
Builder<SwitchRuntimeRequest,Runtime,OperationMetadata>

switchRuntimeSettings()

public UnaryCallSettings.Builder<SwitchRuntimeRequest,Operation> switchRuntimeSettings()

Returns the builder for the settings used for calls to switchRuntime.

Returns
Type Description
Builder<SwitchRuntimeRequest,Operation>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

Returns the builder for the settings used for calls to testIamPermissions.

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateRuntimeOperationSettings()

public OperationCallSettings.Builder<UpdateRuntimeRequest,Runtime,OperationMetadata> updateRuntimeOperationSettings()

Returns the builder for the settings used for calls to updateRuntime.

Returns
Type Description
Builder<UpdateRuntimeRequest,Runtime,OperationMetadata>

updateRuntimeSettings()

public UnaryCallSettings.Builder<UpdateRuntimeRequest,Operation> updateRuntimeSettings()

Returns the builder for the settings used for calls to updateRuntime.

Returns
Type Description
Builder<UpdateRuntimeRequest,Operation>

upgradeRuntimeOperationSettings()

public OperationCallSettings.Builder<UpgradeRuntimeRequest,Runtime,OperationMetadata> upgradeRuntimeOperationSettings()

Returns the builder for the settings used for calls to upgradeRuntime.

Returns
Type Description
Builder<UpgradeRuntimeRequest,Runtime,OperationMetadata>

upgradeRuntimeSettings()

public UnaryCallSettings.Builder<UpgradeRuntimeRequest,Operation> upgradeRuntimeSettings()

Returns the builder for the settings used for calls to upgradeRuntime.

Returns
Type Description
Builder<UpgradeRuntimeRequest,Operation>