Class NotebookServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<NotebookServiceStubSettings,NotebookServiceStubSettings.Builder>
com.google.cloud.notebooks.v2.stub.NotebookServiceStubSettings.Builder
- Enclosing class:
- NotebookServiceStubSettings
public static class NotebookServiceStubSettings.Builder
extends StubSettings.Builder<NotebookServiceStubSettings,NotebookServiceStubSettings.Builder>
Builder for NotebookServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(NotebookServiceStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to checkInstanceUpgradability.Returns the builder for the settings used for calls to createInstance.Returns the builder for the settings used for calls to createInstance.OperationCallSettings.Builder<DeleteInstanceRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteInstance.Returns the builder for the settings used for calls to deleteInstance.Returns the builder for the settings used for calls to diagnoseInstance.Returns the builder for the settings used for calls to diagnoseInstance.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getInstance.Returns the builder for the settings used for calls to getLocation.PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse, NotebookServiceClient.ListInstancesPagedResponse> Returns the builder for the settings used for calls to listInstances.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, NotebookServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.Returns the builder for the settings used for calls to resetInstance.Returns the builder for the settings used for calls to resetInstance.Returns the builder for the settings used for calls to rollbackInstance.Returns the builder for the settings used for calls to rollbackInstance.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to startInstance.Returns the builder for the settings used for calls to startInstance.Returns the builder for the settings used for calls to stopInstance.Returns the builder for the settings used for calls to stopInstance.Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateInstance.Returns the builder for the settings used for calls to updateInstance.Returns the builder for the settings used for calls to upgradeInstance.Returns the builder for the settings used for calls to upgradeInstance.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
listInstancesSettings
public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse, listInstancesSettings()NotebookServiceClient.ListInstancesPagedResponse> Returns the builder for the settings used for calls to listInstances. -
getInstanceSettings
Returns the builder for the settings used for calls to getInstance. -
createInstanceSettings
Returns the builder for the settings used for calls to createInstance. -
createInstanceOperationSettings
public OperationCallSettings.Builder<CreateInstanceRequest,Instance, createInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createInstance. -
updateInstanceSettings
Returns the builder for the settings used for calls to updateInstance. -
updateInstanceOperationSettings
public OperationCallSettings.Builder<UpdateInstanceRequest,Instance, updateInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateInstance. -
deleteInstanceSettings
Returns the builder for the settings used for calls to deleteInstance. -
deleteInstanceOperationSettings
public OperationCallSettings.Builder<DeleteInstanceRequest,com.google.protobuf.Empty, deleteInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteInstance. -
startInstanceSettings
Returns the builder for the settings used for calls to startInstance. -
startInstanceOperationSettings
public OperationCallSettings.Builder<StartInstanceRequest,Instance, startInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to startInstance. -
stopInstanceSettings
Returns the builder for the settings used for calls to stopInstance. -
stopInstanceOperationSettings
public OperationCallSettings.Builder<StopInstanceRequest,Instance, stopInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to stopInstance. -
resetInstanceSettings
Returns the builder for the settings used for calls to resetInstance. -
resetInstanceOperationSettings
public OperationCallSettings.Builder<ResetInstanceRequest,Instance, resetInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to resetInstance. -
checkInstanceUpgradabilitySettings
public UnaryCallSettings.Builder<CheckInstanceUpgradabilityRequest,CheckInstanceUpgradabilityResponse> checkInstanceUpgradabilitySettings()Returns the builder for the settings used for calls to checkInstanceUpgradability. -
upgradeInstanceSettings
Returns the builder for the settings used for calls to upgradeInstance. -
upgradeInstanceOperationSettings
public OperationCallSettings.Builder<UpgradeInstanceRequest,Instance, upgradeInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to upgradeInstance. -
rollbackInstanceSettings
Returns the builder for the settings used for calls to rollbackInstance. -
rollbackInstanceOperationSettings
public OperationCallSettings.Builder<RollbackInstanceRequest,Instance, rollbackInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to rollbackInstance. -
diagnoseInstanceSettings
Returns the builder for the settings used for calls to diagnoseInstance. -
diagnoseInstanceOperationSettings
public OperationCallSettings.Builder<DiagnoseInstanceRequest,Instance, diagnoseInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to diagnoseInstance. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()NotebookServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
build
- Specified by:
buildin classStubSettings.Builder<NotebookServiceStubSettings,NotebookServiceStubSettings.Builder> - Throws:
IOException
-