Class NotebookServiceSettings.Builder (3.59.0)

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

Builder for NotebookServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > NotebookServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(NotebookServiceSettings settings)

protected Builder(NotebookServiceSettings settings)
Parameter
Name Description
settings NotebookServiceSettings

Builder(NotebookServiceStubSettings.Builder stubSettings)

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

Methods

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

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

assignNotebookRuntimeOperationSettings()

public OperationCallSettings.Builder<AssignNotebookRuntimeRequest,NotebookRuntime,AssignNotebookRuntimeOperationMetadata> assignNotebookRuntimeOperationSettings()

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

assignNotebookRuntimeSettings()

public UnaryCallSettings.Builder<AssignNotebookRuntimeRequest,Operation> assignNotebookRuntimeSettings()

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

Returns
Type Description
Builder<AssignNotebookRuntimeRequest,Operation>

build()

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

createNotebookExecutionJobOperationSettings()

public OperationCallSettings.Builder<CreateNotebookExecutionJobRequest,NotebookExecutionJob,CreateNotebookExecutionJobOperationMetadata> createNotebookExecutionJobOperationSettings()

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

createNotebookExecutionJobSettings()

public UnaryCallSettings.Builder<CreateNotebookExecutionJobRequest,Operation> createNotebookExecutionJobSettings()

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

createNotebookRuntimeTemplateOperationSettings()

public OperationCallSettings.Builder<CreateNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate,CreateNotebookRuntimeTemplateOperationMetadata> createNotebookRuntimeTemplateOperationSettings()

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

createNotebookRuntimeTemplateSettings()

public UnaryCallSettings.Builder<CreateNotebookRuntimeTemplateRequest,Operation> createNotebookRuntimeTemplateSettings()

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

deleteNotebookExecutionJobOperationSettings()

public OperationCallSettings.Builder<DeleteNotebookExecutionJobRequest,Empty,DeleteOperationMetadata> deleteNotebookExecutionJobOperationSettings()

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

deleteNotebookExecutionJobSettings()

public UnaryCallSettings.Builder<DeleteNotebookExecutionJobRequest,Operation> deleteNotebookExecutionJobSettings()

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

deleteNotebookRuntimeOperationSettings()

public OperationCallSettings.Builder<DeleteNotebookRuntimeRequest,Empty,DeleteOperationMetadata> deleteNotebookRuntimeOperationSettings()

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

deleteNotebookRuntimeSettings()

public UnaryCallSettings.Builder<DeleteNotebookRuntimeRequest,Operation> deleteNotebookRuntimeSettings()

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

Returns
Type Description
Builder<DeleteNotebookRuntimeRequest,Operation>

deleteNotebookRuntimeTemplateOperationSettings()

public OperationCallSettings.Builder<DeleteNotebookRuntimeTemplateRequest,Empty,DeleteOperationMetadata> deleteNotebookRuntimeTemplateOperationSettings()

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

deleteNotebookRuntimeTemplateSettings()

public UnaryCallSettings.Builder<DeleteNotebookRuntimeTemplateRequest,Operation> deleteNotebookRuntimeTemplateSettings()

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

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>

getNotebookExecutionJobSettings()

public UnaryCallSettings.Builder<GetNotebookExecutionJobRequest,NotebookExecutionJob> getNotebookExecutionJobSettings()

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

getNotebookRuntimeSettings()

public UnaryCallSettings.Builder<GetNotebookRuntimeRequest,NotebookRuntime> getNotebookRuntimeSettings()

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

getNotebookRuntimeTemplateSettings()

public UnaryCallSettings.Builder<GetNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate> getNotebookRuntimeTemplateSettings()

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

getStubSettingsBuilder()

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

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,NotebookServiceClient.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>

listNotebookExecutionJobsSettings()

public PagedCallSettings.Builder<ListNotebookExecutionJobsRequest,ListNotebookExecutionJobsResponse,NotebookServiceClient.ListNotebookExecutionJobsPagedResponse> listNotebookExecutionJobsSettings()

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

listNotebookRuntimeTemplatesSettings()

public PagedCallSettings.Builder<ListNotebookRuntimeTemplatesRequest,ListNotebookRuntimeTemplatesResponse,NotebookServiceClient.ListNotebookRuntimeTemplatesPagedResponse> listNotebookRuntimeTemplatesSettings()

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

listNotebookRuntimesSettings()

public PagedCallSettings.Builder<ListNotebookRuntimesRequest,ListNotebookRuntimesResponse,NotebookServiceClient.ListNotebookRuntimesPagedResponse> listNotebookRuntimesSettings()

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

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>

startNotebookRuntimeOperationSettings()

public OperationCallSettings.Builder<StartNotebookRuntimeRequest,StartNotebookRuntimeResponse,StartNotebookRuntimeOperationMetadata> startNotebookRuntimeOperationSettings()

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

startNotebookRuntimeSettings()

public UnaryCallSettings.Builder<StartNotebookRuntimeRequest,Operation> startNotebookRuntimeSettings()

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

Returns
Type Description
Builder<StartNotebookRuntimeRequest,Operation>

stopNotebookRuntimeOperationSettings()

public OperationCallSettings.Builder<StopNotebookRuntimeRequest,StopNotebookRuntimeResponse,StopNotebookRuntimeOperationMetadata> stopNotebookRuntimeOperationSettings()

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

stopNotebookRuntimeSettings()

public UnaryCallSettings.Builder<StopNotebookRuntimeRequest,Operation> stopNotebookRuntimeSettings()

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

Returns
Type Description
Builder<StopNotebookRuntimeRequest,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>

updateNotebookRuntimeTemplateSettings()

public UnaryCallSettings.Builder<UpdateNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate> updateNotebookRuntimeTemplateSettings()

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

upgradeNotebookRuntimeOperationSettings()

public OperationCallSettings.Builder<UpgradeNotebookRuntimeRequest,UpgradeNotebookRuntimeResponse,UpgradeNotebookRuntimeOperationMetadata> upgradeNotebookRuntimeOperationSettings()

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

upgradeNotebookRuntimeSettings()

public UnaryCallSettings.Builder<UpgradeNotebookRuntimeRequest,Operation> upgradeNotebookRuntimeSettings()

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

Returns
Type Description
Builder<UpgradeNotebookRuntimeRequest,Operation>