public static class NotebookServiceSettings.Builder extends ClientSettings.Builder<NotebookServiceSettings,NotebookServiceSettings.Builder>
Builder for NotebookServiceSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
protected Builder(NotebookServiceSettings settings)
protected Builder(NotebookServiceStubSettings.Builder stubSettings)
Methods
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.
public OperationCallSettings.Builder<AssignNotebookRuntimeRequest,NotebookRuntime,AssignNotebookRuntimeOperationMetadata> assignNotebookRuntimeOperationSettings()
Returns the builder for the settings used for calls to assignNotebookRuntime.
public UnaryCallSettings.Builder<AssignNotebookRuntimeRequest,Operation> assignNotebookRuntimeSettings()
Returns the builder for the settings used for calls to assignNotebookRuntime.
public NotebookServiceSettings build()
Overrides
public OperationCallSettings.Builder<CreateNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate,CreateNotebookRuntimeTemplateOperationMetadata> createNotebookRuntimeTemplateOperationSettings()
Returns the builder for the settings used for calls to createNotebookRuntimeTemplate.
public UnaryCallSettings.Builder<CreateNotebookRuntimeTemplateRequest,Operation> createNotebookRuntimeTemplateSettings()
Returns the builder for the settings used for calls to createNotebookRuntimeTemplate.
public OperationCallSettings.Builder<DeleteNotebookExecutionJobRequest,Empty,DeleteOperationMetadata> deleteNotebookExecutionJobOperationSettings()
Returns the builder for the settings used for calls to deleteNotebookExecutionJob.
public UnaryCallSettings.Builder<DeleteNotebookExecutionJobRequest,Operation> deleteNotebookExecutionJobSettings()
Returns the builder for the settings used for calls to deleteNotebookExecutionJob.
public OperationCallSettings.Builder<DeleteNotebookRuntimeRequest,Empty,DeleteOperationMetadata> deleteNotebookRuntimeOperationSettings()
Returns the builder for the settings used for calls to deleteNotebookRuntime.
public UnaryCallSettings.Builder<DeleteNotebookRuntimeRequest,Operation> deleteNotebookRuntimeSettings()
Returns the builder for the settings used for calls to deleteNotebookRuntime.
public OperationCallSettings.Builder<DeleteNotebookRuntimeTemplateRequest,Empty,DeleteOperationMetadata> deleteNotebookRuntimeTemplateOperationSettings()
Returns the builder for the settings used for calls to deleteNotebookRuntimeTemplate.
public UnaryCallSettings.Builder<DeleteNotebookRuntimeTemplateRequest,Operation> deleteNotebookRuntimeTemplateSettings()
Returns the builder for the settings used for calls to deleteNotebookRuntimeTemplate.
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> |
|
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> |
|
public UnaryCallSettings.Builder<GetNotebookExecutionJobRequest,NotebookExecutionJob> getNotebookExecutionJobSettings()
Returns the builder for the settings used for calls to getNotebookExecutionJob.
public UnaryCallSettings.Builder<GetNotebookRuntimeRequest,NotebookRuntime> getNotebookRuntimeSettings()
Returns the builder for the settings used for calls to getNotebookRuntime.
public UnaryCallSettings.Builder<GetNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate> getNotebookRuntimeTemplateSettings()
Returns the builder for the settings used for calls to getNotebookRuntimeTemplate.
public NotebookServiceStubSettings.Builder getStubSettingsBuilder()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,NotebookServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
public PagedCallSettings.Builder<ListNotebookExecutionJobsRequest,ListNotebookExecutionJobsResponse,NotebookServiceClient.ListNotebookExecutionJobsPagedResponse> listNotebookExecutionJobsSettings()
Returns the builder for the settings used for calls to listNotebookExecutionJobs.
public PagedCallSettings.Builder<ListNotebookRuntimeTemplatesRequest,ListNotebookRuntimeTemplatesResponse,NotebookServiceClient.ListNotebookRuntimeTemplatesPagedResponse> listNotebookRuntimeTemplatesSettings()
Returns the builder for the settings used for calls to listNotebookRuntimeTemplates.
public PagedCallSettings.Builder<ListNotebookRuntimesRequest,ListNotebookRuntimesResponse,NotebookServiceClient.ListNotebookRuntimesPagedResponse> listNotebookRuntimesSettings()
Returns the builder for the settings used for calls to listNotebookRuntimes.
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> |
|
public OperationCallSettings.Builder<StartNotebookRuntimeRequest,StartNotebookRuntimeResponse,StartNotebookRuntimeOperationMetadata> startNotebookRuntimeOperationSettings()
Returns the builder for the settings used for calls to startNotebookRuntime.
public UnaryCallSettings.Builder<StartNotebookRuntimeRequest,Operation> startNotebookRuntimeSettings()
Returns the builder for the settings used for calls to startNotebookRuntime.
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> |
|
public OperationCallSettings.Builder<UpgradeNotebookRuntimeRequest,UpgradeNotebookRuntimeResponse,UpgradeNotebookRuntimeOperationMetadata> upgradeNotebookRuntimeOperationSettings()
Returns the builder for the settings used for calls to upgradeNotebookRuntime.
public UnaryCallSettings.Builder<UpgradeNotebookRuntimeRequest,Operation> upgradeNotebookRuntimeSettings()
Returns the builder for the settings used for calls to upgradeNotebookRuntime.