public static class ManagedNotebookServiceStubSettings.Builder extends StubSettings.Builder<ManagedNotebookServiceStubSettings,ManagedNotebookServiceStubSettings.Builder>
Builder for ManagedNotebookServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(ManagedNotebookServiceStubSettings settings)
protected Builder(ManagedNotebookServiceStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ManagedNotebookServiceStubSettings.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.
build()
public ManagedNotebookServiceStubSettings build()
Overrides
createRuntimeOperationSettings()
public OperationCallSettings.Builder<CreateRuntimeRequest,Runtime,OperationMetadata> createRuntimeOperationSettings()
Returns the builder for the settings used for calls to createRuntime.
createRuntimeSettings()
public UnaryCallSettings.Builder<CreateRuntimeRequest,Operation> createRuntimeSettings()
Returns the builder for the settings used for calls to createRuntime.
deleteRuntimeOperationSettings()
public OperationCallSettings.Builder<DeleteRuntimeRequest,Empty,OperationMetadata> deleteRuntimeOperationSettings()
Returns the builder for the settings used for calls to deleteRuntime.
deleteRuntimeSettings()
public UnaryCallSettings.Builder<DeleteRuntimeRequest,Operation> deleteRuntimeSettings()
Returns the builder for the settings used for calls to deleteRuntime.
diagnoseRuntimeOperationSettings()
public OperationCallSettings.Builder<DiagnoseRuntimeRequest,Runtime,OperationMetadata> diagnoseRuntimeOperationSettings()
Returns the builder for the settings used for calls to diagnoseRuntime.
diagnoseRuntimeSettings()
public UnaryCallSettings.Builder<DiagnoseRuntimeRequest,Operation> diagnoseRuntimeSettings()
Returns the builder for the settings used for calls to diagnoseRuntime.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getIamPolicySettings()
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> | |
getLocationSettings()
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> | |
getRuntimeSettings()
public UnaryCallSettings.Builder<GetRuntimeRequest,Runtime> getRuntimeSettings()
Returns the builder for the settings used for calls to getRuntime.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ManagedNotebookServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
listRuntimesSettings()
public PagedCallSettings.Builder<ListRuntimesRequest,ListRuntimesResponse,ManagedNotebookServiceClient.ListRuntimesPagedResponse> listRuntimesSettings()
Returns the builder for the settings used for calls to listRuntimes.
refreshRuntimeTokenInternalSettings()
public UnaryCallSettings.Builder<RefreshRuntimeTokenInternalRequest,RefreshRuntimeTokenInternalResponse> refreshRuntimeTokenInternalSettings()
Returns the builder for the settings used for calls to refreshRuntimeTokenInternal.
reportRuntimeEventOperationSettings()
public OperationCallSettings.Builder<ReportRuntimeEventRequest,Runtime,OperationMetadata> reportRuntimeEventOperationSettings()
Returns the builder for the settings used for calls to reportRuntimeEvent.
reportRuntimeEventSettings()
public UnaryCallSettings.Builder<ReportRuntimeEventRequest,Operation> reportRuntimeEventSettings()
Returns the builder for the settings used for calls to reportRuntimeEvent.
resetRuntimeOperationSettings()
public OperationCallSettings.Builder<ResetRuntimeRequest,Runtime,OperationMetadata> resetRuntimeOperationSettings()
Returns the builder for the settings used for calls to resetRuntime.
resetRuntimeSettings()
public UnaryCallSettings.Builder<ResetRuntimeRequest,Operation> resetRuntimeSettings()
Returns the builder for the settings used for calls to resetRuntime.
setIamPolicySettings()
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> | |
startRuntimeOperationSettings()
public OperationCallSettings.Builder<StartRuntimeRequest,Runtime,OperationMetadata> startRuntimeOperationSettings()
Returns the builder for the settings used for calls to startRuntime.
startRuntimeSettings()
public UnaryCallSettings.Builder<StartRuntimeRequest,Operation> startRuntimeSettings()
Returns the builder for the settings used for calls to startRuntime.
stopRuntimeOperationSettings()
public OperationCallSettings.Builder<StopRuntimeRequest,Runtime,OperationMetadata> stopRuntimeOperationSettings()
Returns the builder for the settings used for calls to stopRuntime.
stopRuntimeSettings()
public UnaryCallSettings.Builder<StopRuntimeRequest,Operation> stopRuntimeSettings()
Returns the builder for the settings used for calls to stopRuntime.
switchRuntimeOperationSettings()
public OperationCallSettings.Builder<SwitchRuntimeRequest,Runtime,OperationMetadata> switchRuntimeOperationSettings()
Returns the builder for the settings used for calls to switchRuntime.
switchRuntimeSettings()
public UnaryCallSettings.Builder<SwitchRuntimeRequest,Operation> switchRuntimeSettings()
Returns the builder for the settings used for calls to switchRuntime.
testIamPermissionsSettings()
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> | |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
updateRuntimeOperationSettings()
public OperationCallSettings.Builder<UpdateRuntimeRequest,Runtime,OperationMetadata> updateRuntimeOperationSettings()
Returns the builder for the settings used for calls to updateRuntime.
updateRuntimeSettings()
public UnaryCallSettings.Builder<UpdateRuntimeRequest,Operation> updateRuntimeSettings()
Returns the builder for the settings used for calls to updateRuntime.
upgradeRuntimeOperationSettings()
public OperationCallSettings.Builder<UpgradeRuntimeRequest,Runtime,OperationMetadata> upgradeRuntimeOperationSettings()
Returns the builder for the settings used for calls to upgradeRuntime.
upgradeRuntimeSettings()
public UnaryCallSettings.Builder<UpgradeRuntimeRequest,Operation> upgradeRuntimeSettings()
Returns the builder for the settings used for calls to upgradeRuntime.