public static class NotebookServiceSettings.Builder extends ClientSettings.Builder<NotebookServiceSettings,NotebookServiceSettings.Builder>
Builder for NotebookServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(NotebookServiceSettings settings)
protected Builder(NotebookServiceSettings settings)
Parameter
Builder(NotebookServiceStubSettings.Builder stubSettings)
protected Builder(NotebookServiceStubSettings.Builder stubSettings)
Parameter
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
Returns
build()
public NotebookServiceSettings build()
Returns
Overrides
Exceptions
createEnvironmentOperationSettings()
public OperationCallSettings.Builder<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationSettings()
Returns the builder for the settings used for calls to createEnvironment.
Returns
createEnvironmentSettings()
public UnaryCallSettings.Builder<CreateEnvironmentRequest,Operation> createEnvironmentSettings()
Returns the builder for the settings used for calls to createEnvironment.
Returns
createInstanceOperationSettings()
public OperationCallSettings.Builder<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationSettings()
Returns the builder for the settings used for calls to createInstance.
Returns
createInstanceSettings()
public UnaryCallSettings.Builder<CreateInstanceRequest,Operation> createInstanceSettings()
Returns the builder for the settings used for calls to createInstance.
Returns
deleteEnvironmentOperationSettings()
public OperationCallSettings.Builder<DeleteEnvironmentRequest,Empty,OperationMetadata> deleteEnvironmentOperationSettings()
Returns the builder for the settings used for calls to deleteEnvironment.
Returns
deleteEnvironmentSettings()
public UnaryCallSettings.Builder<DeleteEnvironmentRequest,Operation> deleteEnvironmentSettings()
Returns the builder for the settings used for calls to deleteEnvironment.
Returns
deleteInstanceOperationSettings()
public OperationCallSettings.Builder<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationSettings()
Returns the builder for the settings used for calls to deleteInstance.
Returns
deleteInstanceSettings()
public UnaryCallSettings.Builder<DeleteInstanceRequest,Operation> deleteInstanceSettings()
Returns the builder for the settings used for calls to deleteInstance.
Returns
getEnvironmentSettings()
public UnaryCallSettings.Builder<GetEnvironmentRequest,Environment> getEnvironmentSettings()
Returns the builder for the settings used for calls to getEnvironment.
Returns
getInstanceSettings()
public UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.
Returns
getStubSettingsBuilder()
public NotebookServiceStubSettings.Builder getStubSettingsBuilder()
Returns
isInstanceUpgradeableSettings()
public UnaryCallSettings.Builder<IsInstanceUpgradeableRequest,IsInstanceUpgradeableResponse> isInstanceUpgradeableSettings()
Returns the builder for the settings used for calls to isInstanceUpgradeable.
Returns
listEnvironmentsSettings()
public PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,NotebookServiceClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()
Returns the builder for the settings used for calls to listEnvironments.
Returns
listInstancesSettings()
public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,NotebookServiceClient.ListInstancesPagedResponse> listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.
Returns
registerInstanceOperationSettings()
public OperationCallSettings.Builder<RegisterInstanceRequest,Instance,OperationMetadata> registerInstanceOperationSettings()
Returns the builder for the settings used for calls to registerInstance.
Returns
registerInstanceSettings()
public UnaryCallSettings.Builder<RegisterInstanceRequest,Operation> registerInstanceSettings()
Returns the builder for the settings used for calls to registerInstance.
Returns
reportInstanceInfoOperationSettings()
public OperationCallSettings.Builder<ReportInstanceInfoRequest,Instance,OperationMetadata> reportInstanceInfoOperationSettings()
Returns the builder for the settings used for calls to reportInstanceInfo.
Returns
reportInstanceInfoSettings()
public UnaryCallSettings.Builder<ReportInstanceInfoRequest,Operation> reportInstanceInfoSettings()
Returns the builder for the settings used for calls to reportInstanceInfo.
Returns
resetInstanceOperationSettings()
public OperationCallSettings.Builder<ResetInstanceRequest,Instance,OperationMetadata> resetInstanceOperationSettings()
Returns the builder for the settings used for calls to resetInstance.
Returns
resetInstanceSettings()
public UnaryCallSettings.Builder<ResetInstanceRequest,Operation> resetInstanceSettings()
Returns the builder for the settings used for calls to resetInstance.
Returns
setInstanceAcceleratorOperationSettings()
public OperationCallSettings.Builder<SetInstanceAcceleratorRequest,Instance,OperationMetadata> setInstanceAcceleratorOperationSettings()
Returns the builder for the settings used for calls to setInstanceAccelerator.
Returns
setInstanceAcceleratorSettings()
public UnaryCallSettings.Builder<SetInstanceAcceleratorRequest,Operation> setInstanceAcceleratorSettings()
Returns the builder for the settings used for calls to setInstanceAccelerator.
Returns
setInstanceLabelsOperationSettings()
public OperationCallSettings.Builder<SetInstanceLabelsRequest,Instance,OperationMetadata> setInstanceLabelsOperationSettings()
Returns the builder for the settings used for calls to setInstanceLabels.
Returns
setInstanceLabelsSettings()
public UnaryCallSettings.Builder<SetInstanceLabelsRequest,Operation> setInstanceLabelsSettings()
Returns the builder for the settings used for calls to setInstanceLabels.
Returns
setInstanceMachineTypeOperationSettings()
public OperationCallSettings.Builder<SetInstanceMachineTypeRequest,Instance,OperationMetadata> setInstanceMachineTypeOperationSettings()
Returns the builder for the settings used for calls to setInstanceMachineType.
Returns
setInstanceMachineTypeSettings()
public UnaryCallSettings.Builder<SetInstanceMachineTypeRequest,Operation> setInstanceMachineTypeSettings()
Returns the builder for the settings used for calls to setInstanceMachineType.
Returns
startInstanceOperationSettings()
public OperationCallSettings.Builder<StartInstanceRequest,Instance,OperationMetadata> startInstanceOperationSettings()
Returns the builder for the settings used for calls to startInstance.
Returns
startInstanceSettings()
public UnaryCallSettings.Builder<StartInstanceRequest,Operation> startInstanceSettings()
Returns the builder for the settings used for calls to startInstance.
Returns
stopInstanceOperationSettings()
public OperationCallSettings.Builder<StopInstanceRequest,Instance,OperationMetadata> stopInstanceOperationSettings()
Returns the builder for the settings used for calls to stopInstance.
Returns
stopInstanceSettings()
public UnaryCallSettings.Builder<StopInstanceRequest,Operation> stopInstanceSettings()
Returns the builder for the settings used for calls to stopInstance.
Returns
upgradeInstanceInternalOperationSettings()
public OperationCallSettings.Builder<UpgradeInstanceInternalRequest,Instance,OperationMetadata> upgradeInstanceInternalOperationSettings()
Returns the builder for the settings used for calls to upgradeInstanceInternal.
Returns
upgradeInstanceInternalSettings()
public UnaryCallSettings.Builder<UpgradeInstanceInternalRequest,Operation> upgradeInstanceInternalSettings()
Returns the builder for the settings used for calls to upgradeInstanceInternal.
Returns
upgradeInstanceOperationSettings()
public OperationCallSettings.Builder<UpgradeInstanceRequest,Instance,OperationMetadata> upgradeInstanceOperationSettings()
Returns the builder for the settings used for calls to upgradeInstance.
Returns
upgradeInstanceSettings()
public UnaryCallSettings.Builder<UpgradeInstanceRequest,Operation> upgradeInstanceSettings()
Returns the builder for the settings used for calls to upgradeInstance.
Returns