Class ManagedNotebookServiceStubSettings.Builder (1.3.0)

public static class ManagedNotebookServiceStubSettings.Builder extends StubSettings.Builder<ManagedNotebookServiceStubSettings,ManagedNotebookServiceStubSettings.Builder>

Builder for ManagedNotebookServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ManagedNotebookServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ManagedNotebookServiceStubSettings settings)

protected Builder(ManagedNotebookServiceStubSettings settings)
Parameter
NameDescription
settingsManagedNotebookServiceStubSettings

Methods

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

public ManagedNotebookServiceStubSettings.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
ManagedNotebookServiceStubSettings.Builder

build()

public ManagedNotebookServiceStubSettings build()
Returns
TypeDescription
ManagedNotebookServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>