Class ManagedNotebookServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<ManagedNotebookServiceStubSettings,ManagedNotebookServiceStubSettings.Builder>
-
- com.google.cloud.notebooks.v1.stub.ManagedNotebookServiceStubSettings.Builder
-
- Enclosing class:
- ManagedNotebookServiceStubSettings
public static class ManagedNotebookServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ManagedNotebookServiceStubSettings,ManagedNotebookServiceStubSettings.Builder>
Builder for ManagedNotebookServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ManagedNotebookServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedNotebookServiceStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.ManagedNotebookServiceStubSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRuntimeRequest,Runtime,OperationMetadata>
createRuntimeOperationSettings()
Returns the builder for the settings used for calls to createRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRuntimeRequest,com.google.longrunning.Operation>
createRuntimeSettings()
Returns the builder for the settings used for calls to createRuntime.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRuntimeRequest,com.google.protobuf.Empty,OperationMetadata>
deleteRuntimeOperationSettings()
Returns the builder for the settings used for calls to deleteRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRuntimeRequest,com.google.longrunning.Operation>
deleteRuntimeSettings()
Returns the builder for the settings used for calls to deleteRuntime.com.google.api.gax.rpc.OperationCallSettings.Builder<DiagnoseRuntimeRequest,Runtime,OperationMetadata>
diagnoseRuntimeOperationSettings()
Returns the builder for the settings used for calls to diagnoseRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<DiagnoseRuntimeRequest,com.google.longrunning.Operation>
diagnoseRuntimeSettings()
Returns the builder for the settings used for calls to diagnoseRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRuntimeRequest,Runtime>
getRuntimeSettings()
Returns the builder for the settings used for calls to getRuntime.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ManagedNotebookServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListRuntimesRequest,ListRuntimesResponse,ManagedNotebookServiceClient.ListRuntimesPagedResponse>
listRuntimesSettings()
Returns the builder for the settings used for calls to listRuntimes.com.google.api.gax.rpc.UnaryCallSettings.Builder<RefreshRuntimeTokenInternalRequest,RefreshRuntimeTokenInternalResponse>
refreshRuntimeTokenInternalSettings()
Returns the builder for the settings used for calls to refreshRuntimeTokenInternal.com.google.api.gax.rpc.OperationCallSettings.Builder<ReportRuntimeEventRequest,Runtime,OperationMetadata>
reportRuntimeEventOperationSettings()
Returns the builder for the settings used for calls to reportRuntimeEvent.com.google.api.gax.rpc.UnaryCallSettings.Builder<ReportRuntimeEventRequest,com.google.longrunning.Operation>
reportRuntimeEventSettings()
Returns the builder for the settings used for calls to reportRuntimeEvent.com.google.api.gax.rpc.OperationCallSettings.Builder<ResetRuntimeRequest,Runtime,OperationMetadata>
resetRuntimeOperationSettings()
Returns the builder for the settings used for calls to resetRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<ResetRuntimeRequest,com.google.longrunning.Operation>
resetRuntimeSettings()
Returns the builder for the settings used for calls to resetRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.OperationCallSettings.Builder<StartRuntimeRequest,Runtime,OperationMetadata>
startRuntimeOperationSettings()
Returns the builder for the settings used for calls to startRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<StartRuntimeRequest,com.google.longrunning.Operation>
startRuntimeSettings()
Returns the builder for the settings used for calls to startRuntime.com.google.api.gax.rpc.OperationCallSettings.Builder<StopRuntimeRequest,Runtime,OperationMetadata>
stopRuntimeOperationSettings()
Returns the builder for the settings used for calls to stopRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<StopRuntimeRequest,com.google.longrunning.Operation>
stopRuntimeSettings()
Returns the builder for the settings used for calls to stopRuntime.com.google.api.gax.rpc.OperationCallSettings.Builder<SwitchRuntimeRequest,Runtime,OperationMetadata>
switchRuntimeOperationSettings()
Returns the builder for the settings used for calls to switchRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<SwitchRuntimeRequest,com.google.longrunning.Operation>
switchRuntimeSettings()
Returns the builder for the settings used for calls to switchRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateRuntimeRequest,Runtime,OperationMetadata>
updateRuntimeOperationSettings()
Returns the builder for the settings used for calls to updateRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRuntimeRequest,com.google.longrunning.Operation>
updateRuntimeSettings()
Returns the builder for the settings used for calls to updateRuntime.com.google.api.gax.rpc.OperationCallSettings.Builder<UpgradeRuntimeRequest,Runtime,OperationMetadata>
upgradeRuntimeOperationSettings()
Returns the builder for the settings used for calls to upgradeRuntime.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpgradeRuntimeRequest,com.google.longrunning.Operation>
upgradeRuntimeSettings()
Returns the builder for the settings used for calls to upgradeRuntime.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ManagedNotebookServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ManagedNotebookServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
listRuntimesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListRuntimesRequest,ListRuntimesResponse,ManagedNotebookServiceClient.ListRuntimesPagedResponse> listRuntimesSettings()
Returns the builder for the settings used for calls to listRuntimes.
-
getRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRuntimeRequest,Runtime> getRuntimeSettings()
Returns the builder for the settings used for calls to getRuntime.
-
createRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRuntimeRequest,com.google.longrunning.Operation> createRuntimeSettings()
Returns the builder for the settings used for calls to createRuntime.
-
createRuntimeOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRuntimeRequest,Runtime,OperationMetadata> createRuntimeOperationSettings()
Returns the builder for the settings used for calls to createRuntime.
-
updateRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRuntimeRequest,com.google.longrunning.Operation> updateRuntimeSettings()
Returns the builder for the settings used for calls to updateRuntime.
-
updateRuntimeOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateRuntimeRequest,Runtime,OperationMetadata> updateRuntimeOperationSettings()
Returns the builder for the settings used for calls to updateRuntime.
-
deleteRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRuntimeRequest,com.google.longrunning.Operation> deleteRuntimeSettings()
Returns the builder for the settings used for calls to deleteRuntime.
-
deleteRuntimeOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRuntimeRequest,com.google.protobuf.Empty,OperationMetadata> deleteRuntimeOperationSettings()
Returns the builder for the settings used for calls to deleteRuntime.
-
startRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartRuntimeRequest,com.google.longrunning.Operation> startRuntimeSettings()
Returns the builder for the settings used for calls to startRuntime.
-
startRuntimeOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<StartRuntimeRequest,Runtime,OperationMetadata> startRuntimeOperationSettings()
Returns the builder for the settings used for calls to startRuntime.
-
stopRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StopRuntimeRequest,com.google.longrunning.Operation> stopRuntimeSettings()
Returns the builder for the settings used for calls to stopRuntime.
-
stopRuntimeOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<StopRuntimeRequest,Runtime,OperationMetadata> stopRuntimeOperationSettings()
Returns the builder for the settings used for calls to stopRuntime.
-
switchRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SwitchRuntimeRequest,com.google.longrunning.Operation> switchRuntimeSettings()
Returns the builder for the settings used for calls to switchRuntime.
-
switchRuntimeOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<SwitchRuntimeRequest,Runtime,OperationMetadata> switchRuntimeOperationSettings()
Returns the builder for the settings used for calls to switchRuntime.
-
resetRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResetRuntimeRequest,com.google.longrunning.Operation> resetRuntimeSettings()
Returns the builder for the settings used for calls to resetRuntime.
-
resetRuntimeOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ResetRuntimeRequest,Runtime,OperationMetadata> resetRuntimeOperationSettings()
Returns the builder for the settings used for calls to resetRuntime.
-
upgradeRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpgradeRuntimeRequest,com.google.longrunning.Operation> upgradeRuntimeSettings()
Returns the builder for the settings used for calls to upgradeRuntime.
-
upgradeRuntimeOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpgradeRuntimeRequest,Runtime,OperationMetadata> upgradeRuntimeOperationSettings()
Returns the builder for the settings used for calls to upgradeRuntime.
-
reportRuntimeEventSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ReportRuntimeEventRequest,com.google.longrunning.Operation> reportRuntimeEventSettings()
Returns the builder for the settings used for calls to reportRuntimeEvent.
-
reportRuntimeEventOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ReportRuntimeEventRequest,Runtime,OperationMetadata> reportRuntimeEventOperationSettings()
Returns the builder for the settings used for calls to reportRuntimeEvent.
-
refreshRuntimeTokenInternalSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RefreshRuntimeTokenInternalRequest,RefreshRuntimeTokenInternalResponse> refreshRuntimeTokenInternalSettings()
Returns the builder for the settings used for calls to refreshRuntimeTokenInternal.
-
diagnoseRuntimeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DiagnoseRuntimeRequest,com.google.longrunning.Operation> diagnoseRuntimeSettings()
Returns the builder for the settings used for calls to diagnoseRuntime.
-
diagnoseRuntimeOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DiagnoseRuntimeRequest,Runtime,OperationMetadata> diagnoseRuntimeOperationSettings()
Returns the builder for the settings used for calls to diagnoseRuntime.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ManagedNotebookServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public ManagedNotebookServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ManagedNotebookServiceStubSettings,ManagedNotebookServiceStubSettings.Builder>
- Throws:
IOException
-
-