Class ManagedNotebookServiceSettings.Builder (1.12.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
NameDescription
clientContextClientContext

Builder(ManagedNotebookServiceSettings settings)

protected Builder(ManagedNotebookServiceSettings settings)
Parameter
NameDescription
settingsManagedNotebookServiceSettings

Builder(ManagedNotebookServiceStubSettings.Builder stubSettings)

protected Builder(ManagedNotebookServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsManagedNotebookServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ManagedNotebookServiceSettings.Builder

build()

public ManagedNotebookServiceSettings build()
Returns
TypeDescription
ManagedNotebookServiceSettings
Overrides
Exceptions
TypeDescription
IOException

createRuntimeOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateRuntimeRequest,Runtime,OperationMetadata>

createRuntimeSettings()

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

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

Returns
TypeDescription
Builder<CreateRuntimeRequest,Operation>

deleteRuntimeOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRuntimeRequest,Empty,OperationMetadata>

deleteRuntimeSettings()

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

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

Returns
TypeDescription
Builder<DeleteRuntimeRequest,Operation>

diagnoseRuntimeOperationSettings()

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

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

Returns
TypeDescription
Builder<DiagnoseRuntimeRequest,Runtime,OperationMetadata>

diagnoseRuntimeSettings()

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

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

Returns
TypeDescription
Builder<DiagnoseRuntimeRequest,Operation>

getIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<GetRuntimeRequest,Runtime>

getStubSettingsBuilder()

public ManagedNotebookServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ManagedNotebookServiceStubSettings.Builder

listLocationsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListRuntimesRequest,ListRuntimesResponse,ListRuntimesPagedResponse>

refreshRuntimeTokenInternalSettings()

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

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

Returns
TypeDescription
Builder<RefreshRuntimeTokenInternalRequest,RefreshRuntimeTokenInternalResponse>

reportRuntimeEventOperationSettings()

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

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

Returns
TypeDescription
Builder<ReportRuntimeEventRequest,Runtime,OperationMetadata>

reportRuntimeEventSettings()

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

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

Returns
TypeDescription
Builder<ReportRuntimeEventRequest,Operation>

resetRuntimeOperationSettings()

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

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

Returns
TypeDescription
Builder<ResetRuntimeRequest,Runtime,OperationMetadata>

resetRuntimeSettings()

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

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

Returns
TypeDescription
Builder<ResetRuntimeRequest,Operation>

setIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<StartRuntimeRequest,Runtime,OperationMetadata>

startRuntimeSettings()

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

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

Returns
TypeDescription
Builder<StartRuntimeRequest,Operation>

stopRuntimeOperationSettings()

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

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

Returns
TypeDescription
Builder<StopRuntimeRequest,Runtime,OperationMetadata>

stopRuntimeSettings()

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

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

Returns
TypeDescription
Builder<StopRuntimeRequest,Operation>

switchRuntimeOperationSettings()

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

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

Returns
TypeDescription
Builder<SwitchRuntimeRequest,Runtime,OperationMetadata>

switchRuntimeSettings()

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

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

Returns
TypeDescription
Builder<SwitchRuntimeRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<UpdateRuntimeRequest,Runtime,OperationMetadata>

updateRuntimeSettings()

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

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

Returns
TypeDescription
Builder<UpdateRuntimeRequest,Operation>

upgradeRuntimeOperationSettings()

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

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

Returns
TypeDescription
Builder<UpgradeRuntimeRequest,Runtime,OperationMetadata>

upgradeRuntimeSettings()

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

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

Returns
TypeDescription
Builder<UpgradeRuntimeRequest,Operation>