public static class NotebookServiceStubSettings.Builder extends StubSettings.Builder<NotebookServiceStubSettings,NotebookServiceStubSettings.Builder>
Builder for NotebookServiceStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
protected Builder(NotebookServiceStubSettings settings)
Methods
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.
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 NotebookServiceStubSettings 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<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<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 PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,NotebookServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
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 ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
Type |
Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
public UnaryCallSettings.Builder<UpdateNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate> updateNotebookRuntimeTemplateSettings()
Returns the builder for the settings used for calls to updateNotebookRuntimeTemplate.
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.