Class NotebookServiceSettings.Builder (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
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
NameDescription
clientContextClientContext

Builder(NotebookServiceSettings settings)

protected Builder(NotebookServiceSettings settings)
Parameter
NameDescription
settingsNotebookServiceSettings

Builder(NotebookServiceStubSettings.Builder stubSettings)

protected Builder(NotebookServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsNotebookServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
NotebookServiceSettings.Builder

build()

public NotebookServiceSettings build()
Returns
TypeDescription
NotebookServiceSettings
Overrides Exceptions
TypeDescription
IOException

createEnvironmentOperationSettings()

public OperationCallSettings.Builder<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationSettings()

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

Returns
TypeDescription
Builder<CreateEnvironmentRequest,Environment,OperationMetadata>

createEnvironmentSettings()

public UnaryCallSettings.Builder<CreateEnvironmentRequest,Operation> createEnvironmentSettings()

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

Returns
TypeDescription
Builder<CreateEnvironmentRequest,Operation>

createExecutionOperationSettings()

public OperationCallSettings.Builder<CreateExecutionRequest,Execution,OperationMetadata> createExecutionOperationSettings()

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

Returns
TypeDescription
Builder<CreateExecutionRequest,Execution,OperationMetadata>

createExecutionSettings()

public UnaryCallSettings.Builder<CreateExecutionRequest,Operation> createExecutionSettings()

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

Returns
TypeDescription
Builder<CreateExecutionRequest,Operation>

createInstanceOperationSettings()

public OperationCallSettings.Builder<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationSettings()

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

Returns
TypeDescription
Builder<CreateInstanceRequest,Instance,OperationMetadata>

createInstanceSettings()

public UnaryCallSettings.Builder<CreateInstanceRequest,Operation> createInstanceSettings()

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

Returns
TypeDescription
Builder<CreateInstanceRequest,Operation>

createScheduleOperationSettings()

public OperationCallSettings.Builder<CreateScheduleRequest,Schedule,OperationMetadata> createScheduleOperationSettings()

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

Returns
TypeDescription
Builder<CreateScheduleRequest,Schedule,OperationMetadata>

createScheduleSettings()

public UnaryCallSettings.Builder<CreateScheduleRequest,Operation> createScheduleSettings()

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

Returns
TypeDescription
Builder<CreateScheduleRequest,Operation>

deleteEnvironmentOperationSettings()

public OperationCallSettings.Builder<DeleteEnvironmentRequest,Empty,OperationMetadata> deleteEnvironmentOperationSettings()

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

Returns
TypeDescription
Builder<DeleteEnvironmentRequest,Empty,OperationMetadata>

deleteEnvironmentSettings()

public UnaryCallSettings.Builder<DeleteEnvironmentRequest,Operation> deleteEnvironmentSettings()

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

Returns
TypeDescription
Builder<DeleteEnvironmentRequest,Operation>

deleteExecutionOperationSettings()

public OperationCallSettings.Builder<DeleteExecutionRequest,Empty,OperationMetadata> deleteExecutionOperationSettings()

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

Returns
TypeDescription
Builder<DeleteExecutionRequest,Empty,OperationMetadata>

deleteExecutionSettings()

public UnaryCallSettings.Builder<DeleteExecutionRequest,Operation> deleteExecutionSettings()

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

Returns
TypeDescription
Builder<DeleteExecutionRequest,Operation>

deleteInstanceOperationSettings()

public OperationCallSettings.Builder<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationSettings()

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

Returns
TypeDescription
Builder<DeleteInstanceRequest,Empty,OperationMetadata>

deleteInstanceSettings()

public UnaryCallSettings.Builder<DeleteInstanceRequest,Operation> deleteInstanceSettings()

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

Returns
TypeDescription
Builder<DeleteInstanceRequest,Operation>

deleteScheduleOperationSettings()

public OperationCallSettings.Builder<DeleteScheduleRequest,Empty,OperationMetadata> deleteScheduleOperationSettings()

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

Returns
TypeDescription
Builder<DeleteScheduleRequest,Empty,OperationMetadata>

deleteScheduleSettings()

public UnaryCallSettings.Builder<DeleteScheduleRequest,Operation> deleteScheduleSettings()

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

Returns
TypeDescription
Builder<DeleteScheduleRequest,Operation>

getEnvironmentSettings()

public UnaryCallSettings.Builder<GetEnvironmentRequest,Environment> getEnvironmentSettings()

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

Returns
TypeDescription
Builder<GetEnvironmentRequest,Environment>

getExecutionSettings()

public UnaryCallSettings.Builder<GetExecutionRequest,Execution> getExecutionSettings()

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

Returns
TypeDescription
Builder<GetExecutionRequest,Execution>

getInstanceHealthSettings()

public UnaryCallSettings.Builder<GetInstanceHealthRequest,GetInstanceHealthResponse> getInstanceHealthSettings()

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

Returns
TypeDescription
Builder<GetInstanceHealthRequest,GetInstanceHealthResponse>

getInstanceSettings()

<