Class NotebookServiceStubSettings.Builder (1.7.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
NameDescription
clientContextClientContext

Builder(NotebookServiceStubSettings settings)

protected Builder(NotebookServiceStubSettings settings)
Parameter
NameDescription
settingsNotebookServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
NotebookServiceStubSettings.Builder

build()

public NotebookServiceStubSettings build()
Returns
TypeDescription
NotebookServiceStubSettings
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>

diagnoseInstanceOperationSettings()

public OperationCallSettings.Builder<DiagnoseInstanceRequest,Instance,OperationMetadata> diagnoseInstanceOperationSettings()

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

Returns
TypeDescription
Builder<DiagnoseInstanceRequest,Instance,OperationMetadata>

diagnoseInstanceSettings()

public UnaryCallSettings.Builder<DiagnoseInstanceRequest,Operation> diagnoseInstanceSettings()

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

Returns
TypeDescription
Builder<DiagnoseInstanceRequest,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>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getInstanceHealthSettings()

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

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

Returns
TypeDescription
Builder<GetInstanceHealthRequest,GetInstanceHealthResponse>

getInstanceSettings()

public UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()

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

Returns
TypeDescription
Builder<GetInstanceRequest,Instance>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getScheduleSettings()

public UnaryCallSettings.Builder<GetScheduleRequest,Schedule> getScheduleSettings()

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

Returns
TypeDescription
Builder<GetScheduleRequest,Schedule>

isInstanceUpgradeableSettings()

public UnaryCallSettings.Builder<IsInstanceUpgradeableRequest,IsInstanceUpgradeableResponse> isInstanceUpgradeableSettings()

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

Returns
TypeDescription
Builder<IsInstanceUpgradeableRequest,IsInstanceUpgradeableResponse>

listEnvironmentsSettings()

public PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,NotebookServiceClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()

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

Returns
TypeDescription
Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,ListEnvironmentsPagedResponse>

listExecutionsSettings()

public PagedCallSettings.Builder<ListExecutionsRequest,ListExecutionsResponse,NotebookServiceClient.ListExecutionsPagedResponse> listExecutionsSettings()

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

Returns
TypeDescription
Builder<ListExecutionsRequest,ListExecutionsResponse,ListExecutionsPagedResponse>

listInstancesSettings()

public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,NotebookServiceClient.ListInstancesPagedResponse> listInstancesSettings()

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

Returns
TypeDescription
Builder<ListInstancesRequest,ListInstancesResponse,ListInstancesPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,NotebookServiceClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listSchedulesSettings()

public PagedCallSettings.Builder<ListSchedulesRequest,ListSchedulesResponse,NotebookServiceClient.ListSchedulesPagedResponse> listSchedulesSettings()

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

Returns
TypeDescription
Builder<ListSchedulesRequest,ListSchedulesResponse,ListSchedulesPagedResponse>

registerInstanceOperationSettings()

public OperationCallSettings.Builder<RegisterInstanceRequest,Instance,OperationMetadata> registerInstanceOperationSettings()

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

Returns
TypeDescription
Builder<RegisterInstanceRequest,Instance,OperationMetadata>

registerInstanceSettings()

public UnaryCallSettings.Builder<RegisterInstanceRequest,Operation> registerInstanceSettings()

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

Returns
TypeDescription
Builder<RegisterInstanceRequest,Operation>

reportInstanceInfoOperationSettings()

public OperationCallSettings.Builder<ReportInstanceInfoRequest,Instance,OperationMetadata> reportInstanceInfoOperationSettings()

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

Returns
TypeDescription
Builder<ReportInstanceInfoRequest,Instance,OperationMetadata>

reportInstanceInfoSettings()

public UnaryCallSettings.Builder<ReportInstanceInfoRequest,Operation> reportInstanceInfoSettings()

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

Returns
TypeDescription
Builder<ReportInstanceInfoRequest,Operation>

resetInstanceOperationSettings()

public OperationCallSettings.Builder<ResetInstanceRequest,Instance,OperationMetadata> resetInstanceOperationSettings()

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

Returns
TypeDescription
Builder<ResetInstanceRequest,Instance,OperationMetadata>

resetInstanceSettings()

public UnaryCallSettings.Builder<ResetInstanceRequest,Operation> resetInstanceSettings()

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

Returns
TypeDescription
Builder<ResetInstanceRequest,Operation>

rollbackInstanceOperationSettings()

public OperationCallSettings.Builder<RollbackInstanceRequest,Instance,OperationMetadata> rollbackInstanceOperationSettings()

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

Returns
TypeDescription
Builder<RollbackInstanceRequest,Instance,OperationMetadata>

rollbackInstanceSettings()

public UnaryCallSettings.Builder<RollbackInstanceRequest,Operation> rollbackInstanceSettings()

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

Returns
TypeDescription
Builder<RollbackInstanceRequest,Operation>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

setInstanceAcceleratorOperationSettings()

public OperationCallSettings.Builder<SetInstanceAcceleratorRequest,Instance,OperationMetadata> setInstanceAcceleratorOperationSettings()

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

Returns
TypeDescription
Builder<SetInstanceAcceleratorRequest,Instance,OperationMetadata>

setInstanceAcceleratorSettings()

public UnaryCallSettings.Builder<SetInstanceAcceleratorRequest,Operation> setInstanceAcceleratorSettings()

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

Returns
TypeDescription
Builder<SetInstanceAcceleratorRequest,Operation>

setInstanceLabelsOperationSettings()

public OperationCallSettings.Builder<SetInstanceLabelsRequest,Instance,OperationMetadata> setInstanceLabelsOperationSettings()

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

Returns
TypeDescription
Builder<SetInstanceLabelsRequest,Instance,OperationMetadata>

setInstanceLabelsSettings()

public UnaryCallSettings.Builder<SetInstanceLabelsRequest,Operation> setInstanceLabelsSettings()

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

Returns
TypeDescription
Builder<SetInstanceLabelsRequest,Operation>

setInstanceMachineTypeOperationSettings()

public OperationCallSettings.Builder<SetInstanceMachineTypeRequest,Instance,OperationMetadata> setInstanceMachineTypeOperationSettings()

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

Returns
TypeDescription
Builder<SetInstanceMachineTypeRequest,Instance,OperationMetadata>

setInstanceMachineTypeSettings()

public UnaryCallSettings.Builder<SetInstanceMachineTypeRequest,Operation> setInstanceMachineTypeSettings()

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

Returns
TypeDescription
Builder<SetInstanceMachineTypeRequest,Operation>

startInstanceOperationSettings()

public OperationCallSettings.Builder<StartInstanceRequest,Instance,OperationMetadata> startInstanceOperationSettings()

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

Returns
TypeDescription
Builder<StartInstanceRequest,Instance,OperationMetadata>

startInstanceSettings()

public UnaryCallSettings.Builder<StartInstanceRequest,Operation> startInstanceSettings()

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

Returns
TypeDescription
Builder<StartInstanceRequest,Operation>

stopInstanceOperationSettings()

public OperationCallSettings.Builder<StopInstanceRequest,Instance,OperationMetadata> stopInstanceOperationSettings()

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

Returns
TypeDescription
Builder<StopInstanceRequest,Instance,OperationMetadata>

stopInstanceSettings()

public UnaryCallSettings.Builder<StopInstanceRequest,Operation> stopInstanceSettings()

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

Returns
TypeDescription
Builder<StopInstanceRequest,Operation>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

triggerScheduleOperationSettings()

public OperationCallSettings.Builder<TriggerScheduleRequest,Schedule,OperationMetadata> triggerScheduleOperationSettings()

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

Returns
TypeDescription
Builder<TriggerScheduleRequest,Schedule,OperationMetadata>

triggerScheduleSettings()

public UnaryCallSettings.Builder<TriggerScheduleRequest,Operation> triggerScheduleSettings()

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

Returns
TypeDescription
Builder<TriggerScheduleRequest,Operation>

unaryMethodSettingsBuilders()

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

updateInstanceConfigOperationSettings()

public OperationCallSettings.Builder<UpdateInstanceConfigRequest,Instance,OperationMetadata> updateInstanceConfigOperationSettings()

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

Returns
TypeDescription
Builder<UpdateInstanceConfigRequest,Instance,OperationMetadata>

updateInstanceConfigSettings()

public UnaryCallSettings.Builder<UpdateInstanceConfigRequest,Operation> updateInstanceConfigSettings()

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

Returns
TypeDescription
Builder<UpdateInstanceConfigRequest,Operation>

updateInstanceMetadataItemsSettings()

public UnaryCallSettings.Builder<UpdateInstanceMetadataItemsRequest,UpdateInstanceMetadataItemsResponse> updateInstanceMetadataItemsSettings()

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

Returns
TypeDescription
Builder<UpdateInstanceMetadataItemsRequest,UpdateInstanceMetadataItemsResponse>

updateShieldedInstanceConfigOperationSettings()

public OperationCallSettings.Builder<UpdateShieldedInstanceConfigRequest,Instance,OperationMetadata> updateShieldedInstanceConfigOperationSettings()

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

Returns
TypeDescription
Builder<UpdateShieldedInstanceConfigRequest,Instance,OperationMetadata>

updateShieldedInstanceConfigSettings()

public UnaryCallSettings.Builder<UpdateShieldedInstanceConfigRequest,Operation> updateShieldedInstanceConfigSettings()

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

Returns
TypeDescription
Builder<UpdateShieldedInstanceConfigRequest,Operation>

upgradeInstanceInternalOperationSettings()

public OperationCallSettings.Builder<UpgradeInstanceInternalRequest,Instance,OperationMetadata> upgradeInstanceInternalOperationSettings()

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

Returns
TypeDescription
Builder<UpgradeInstanceInternalRequest,Instance,OperationMetadata>

upgradeInstanceInternalSettings()

public UnaryCallSettings.Builder<UpgradeInstanceInternalRequest,Operation> upgradeInstanceInternalSettings()

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

Returns
TypeDescription
Builder<UpgradeInstanceInternalRequest,Operation>

upgradeInstanceOperationSettings()

public OperationCallSettings.Builder<UpgradeInstanceRequest,Instance,OperationMetadata> upgradeInstanceOperationSettings()

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

Returns
TypeDescription
Builder<UpgradeInstanceRequest,Instance,OperationMetadata>

upgradeInstanceSettings()

public UnaryCallSettings.Builder<UpgradeInstanceRequest,Operation> upgradeInstanceSettings()

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

Returns
TypeDescription
Builder<UpgradeInstanceRequest,Operation>