Class NotebookServiceStubSettings.Builder (3.52.0)

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

Builder for NotebookServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > NotebookServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(NotebookServiceStubSettings settings)

protected Builder(NotebookServiceStubSettings settings)
Parameter
Name Description
settings NotebookServiceStubSettings

Methods

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

public NotebookServiceStubSettings.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
NotebookServiceStubSettings.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 NotebookServiceStubSettings build()
Returns
Type Description
NotebookServiceStubSettings
Overrides
Exceptions
Type Description
IOException

createNotebookExecutionJobOperationSettings()

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

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

Returns
Type Description
Builder<CreateNotebookExecutionJobRequest,NotebookExecutionJob,CreateNotebookExecutionJobOperationMetadata>

createNotebookExecutionJobSettings()

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

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

Returns
Type Description
Builder<CreateNotebookExecutionJobRequest,Operation>

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>

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>

unaryMethodSettingsBuilders()

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

updateNotebookRuntimeTemplateSettings()

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

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

Returns
Type Description
Builder<UpdateNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate>

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>