Class NotebookServiceSettings.Builder (3.44.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.

Returns
Type Description
Builder<AssignNotebookRuntimeRequest,NotebookRuntime,AssignNotebookRuntimeOperationMetadata>

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

createNotebookRuntimeTemplateOperationSettings()

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

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

Returns
Type Description
Builder<CreateNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate,CreateNotebookRuntimeTemplateOperationMetadata>

createNotebookRuntimeTemplateSettings()

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

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

Returns
Type Description
Builder<CreateNotebookRuntimeTemplateRequest,Operation>

deleteNotebookExecutionJobOperationSettings()

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

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

Returns
Type Description
Builder<DeleteNotebookExecutionJobRequest,Empty,DeleteOperationMetadata>

deleteNotebookExecutionJobSettings()

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

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

Returns
Type Description
Builder<DeleteNotebookExecutionJobRequest,Operation>

deleteNotebookRuntimeOperationSettings()

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

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

Returns
Type Description
Builder<DeleteNotebookRuntimeRequest,Empty,DeleteOperationMetadata>

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.

Returns
Type Description
Builder<DeleteNotebookRuntimeTemplateRequest,Empty,DeleteOperationMetadata>

deleteNotebookRuntimeTemplateSettings()

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

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

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

getNotebookExecutionJobSettings()

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

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

Returns
Type Description
Builder<GetNotebookExecutionJobRequest,NotebookExecutionJob>

getNotebookRuntimeSettings()

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

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

Returns
Type Description
Builder<GetNotebookRuntimeRequest,NotebookRuntime>

getNotebookRuntimeTemplateSettings()

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

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

Returns
Type Description
Builder<GetNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate>

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.

Returns
Type Description
Builder<ListNotebookExecutionJobsRequest,ListNotebookExecutionJobsResponse,ListNotebookExecutionJobsPagedResponse>

listNotebookRuntimeTemplatesSettings()

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

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

Returns
Type Description
Builder<ListNotebookRuntimeTemplatesRequest,ListNotebookRuntimeTemplatesResponse,ListNotebookRuntimeTemplatesPagedResponse>

listNotebookRuntimesSettings()

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

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

Returns
Type Description
Builder<ListNotebookRuntimesRequest,ListNotebookRuntimesResponse,ListNotebookRuntimesPagedResponse>

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.

Returns
Type Description
Builder<StartNotebookRuntimeRequest,StartNotebookRuntimeResponse,StartNotebookRuntimeOperationMetadata>

startNotebookRuntimeSettings()

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

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

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

upgradeNotebookRuntimeOperationSettings()

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

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

Returns
Type Description
Builder<UpgradeNotebookRuntimeRequest,UpgradeNotebookRuntimeResponse,UpgradeNotebookRuntimeOperationMetadata>

upgradeNotebookRuntimeSettings()

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

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

Returns
Type Description
Builder<UpgradeNotebookRuntimeRequest,Operation>