Class ManagedNotebookServiceSettings.Builder (1.4.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>

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

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>

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>