Class NotebookServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<NotebookServiceStubSettings,NotebookServiceStubSettings.Builder>
com.google.cloud.notebooks.v1beta1.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 createEnvironment.Returns the builder for the settings used for calls to createEnvironment.Returns the builder for the settings used for calls to createInstance.Returns the builder for the settings used for calls to createInstance.OperationCallSettings.Builder<DeleteEnvironmentRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteEnvironment.Returns the builder for the settings used for calls to deleteEnvironment.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 getEnvironment.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.Deprecated.This method is deprecated and will be removed in the next major version update.PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse, NotebookServiceClient.ListEnvironmentsPagedResponse> Returns the builder for the settings used for calls to listEnvironments.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 registerInstance.Returns the builder for the settings used for calls to registerInstance.Returns the builder for the settings used for calls to reportInstanceInfo.Returns the builder for the settings used for calls to reportInstanceInfo.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 setIamPolicy.Returns the builder for the settings used for calls to setInstanceAccelerator.Returns the builder for the settings used for calls to setInstanceAccelerator.Returns the builder for the settings used for calls to setInstanceLabels.Returns the builder for the settings used for calls to setInstanceLabels.Returns the builder for the settings used for calls to setInstanceMachineType.Returns the builder for the settings used for calls to setInstanceMachineType.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 upgradeInstanceInternal.Deprecated.This method is deprecated and will be removed in the next major version update.Returns the builder for the settings used for calls to upgradeInstance.Deprecated.This method is deprecated and will be removed in the next major version update.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. -
registerInstanceSettings
Returns the builder for the settings used for calls to registerInstance. -
registerInstanceOperationSettings
public OperationCallSettings.Builder<RegisterInstanceRequest,Instance, registerInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to registerInstance. -
setInstanceAcceleratorSettings
public UnaryCallSettings.Builder<SetInstanceAcceleratorRequest,Operation> setInstanceAcceleratorSettings()Returns the builder for the settings used for calls to setInstanceAccelerator. -
setInstanceAcceleratorOperationSettings
public OperationCallSettings.Builder<SetInstanceAcceleratorRequest,Instance, setInstanceAcceleratorOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to setInstanceAccelerator. -
setInstanceMachineTypeSettings
public UnaryCallSettings.Builder<SetInstanceMachineTypeRequest,Operation> setInstanceMachineTypeSettings()Returns the builder for the settings used for calls to setInstanceMachineType. -
setInstanceMachineTypeOperationSettings
public OperationCallSettings.Builder<SetInstanceMachineTypeRequest,Instance, setInstanceMachineTypeOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to setInstanceMachineType. -
setInstanceLabelsSettings
Returns the builder for the settings used for calls to setInstanceLabels. -
setInstanceLabelsOperationSettings
public OperationCallSettings.Builder<SetInstanceLabelsRequest,Instance, setInstanceLabelsOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to setInstanceLabels. -
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. -
reportInstanceInfoSettings
Returns the builder for the settings used for calls to reportInstanceInfo. -
reportInstanceInfoOperationSettings
public OperationCallSettings.Builder<ReportInstanceInfoRequest,Instance, reportInstanceInfoOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to reportInstanceInfo. -
isInstanceUpgradeableSettings
@Deprecated public UnaryCallSettings.Builder<IsInstanceUpgradeableRequest,IsInstanceUpgradeableResponse> isInstanceUpgradeableSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the builder for the settings used for calls to isInstanceUpgradeable. -
upgradeInstanceSettings
@Deprecated public UnaryCallSettings.Builder<UpgradeInstanceRequest,Operation> upgradeInstanceSettings()Deprecated.This method is deprecated and will be removed in the next major version update.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. -
upgradeInstanceInternalSettings
@Deprecated public UnaryCallSettings.Builder<UpgradeInstanceInternalRequest,Operation> upgradeInstanceInternalSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the builder for the settings used for calls to upgradeInstanceInternal. -
upgradeInstanceInternalOperationSettings
public OperationCallSettings.Builder<UpgradeInstanceInternalRequest,Instance, upgradeInstanceInternalOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to upgradeInstanceInternal. -
listEnvironmentsSettings
public PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse, listEnvironmentsSettings()NotebookServiceClient.ListEnvironmentsPagedResponse> Returns the builder for the settings used for calls to listEnvironments. -
getEnvironmentSettings
Returns the builder for the settings used for calls to getEnvironment. -
createEnvironmentSettings
Returns the builder for the settings used for calls to createEnvironment. -
createEnvironmentOperationSettings
public OperationCallSettings.Builder<CreateEnvironmentRequest,Environment, createEnvironmentOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createEnvironment. -
deleteEnvironmentSettings
Returns the builder for the settings used for calls to deleteEnvironment. -
deleteEnvironmentOperationSettings
public OperationCallSettings.Builder<DeleteEnvironmentRequest,com.google.protobuf.Empty, deleteEnvironmentOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteEnvironment. -
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
-