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 com.google.api.gax.rpc.StubSettings.Builder<NotebookServiceStubSettings,NotebookServiceStubSettings.Builder>
Builder for NotebookServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(NotebookServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NotebookServiceStubSettings.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.NotebookServiceStubSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateEnvironmentRequest,Environment,OperationMetadata>
createEnvironmentOperationSettings()
Returns the builder for the settings used for calls to createEnvironment.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEnvironmentRequest,com.google.longrunning.Operation>
createEnvironmentSettings()
Returns the builder for the settings used for calls to createEnvironment.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateInstanceRequest,Instance,OperationMetadata>
createInstanceOperationSettings()
Returns the builder for the settings used for calls to createInstance.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateInstanceRequest,com.google.longrunning.Operation>
createInstanceSettings()
Returns the builder for the settings used for calls to createInstance.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteEnvironmentRequest,com.google.protobuf.Empty,OperationMetadata>
deleteEnvironmentOperationSettings()
Returns the builder for the settings used for calls to deleteEnvironment.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEnvironmentRequest,com.google.longrunning.Operation>
deleteEnvironmentSettings()
Returns the builder for the settings used for calls to deleteEnvironment.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteInstanceRequest,com.google.protobuf.Empty,OperationMetadata>
deleteInstanceOperationSettings()
Returns the builder for the settings used for calls to deleteInstance.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceRequest,com.google.longrunning.Operation>
deleteInstanceSettings()
Returns the builder for the settings used for calls to deleteInstance.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEnvironmentRequest,Environment>
getEnvironmentSettings()
Returns the builder for the settings used for calls to getEnvironment.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<GetInstanceRequest,Instance>
getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.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<IsInstanceUpgradeableRequest,IsInstanceUpgradeableResponse>
isInstanceUpgradeableSettings()
Deprecated.This method is deprecated and will be removed in the next major version update.com.google.api.gax.rpc.PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,NotebookServiceClient.ListEnvironmentsPagedResponse>
listEnvironmentsSettings()
Returns the builder for the settings used for calls to listEnvironments.com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,NotebookServiceClient.ListInstancesPagedResponse>
listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,NotebookServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.OperationCallSettings.Builder<RegisterInstanceRequest,Instance,OperationMetadata>
registerInstanceOperationSettings()
Returns the builder for the settings used for calls to registerInstance.com.google.api.gax.rpc.UnaryCallSettings.Builder<RegisterInstanceRequest,com.google.longrunning.Operation>
registerInstanceSettings()
Returns the builder for the settings used for calls to registerInstance.com.google.api.gax.rpc.OperationCallSettings.Builder<ReportInstanceInfoRequest,Instance,OperationMetadata>
reportInstanceInfoOperationSettings()
Returns the builder for the settings used for calls to reportInstanceInfo.com.google.api.gax.rpc.UnaryCallSettings.Builder<ReportInstanceInfoRequest,com.google.longrunning.Operation>
reportInstanceInfoSettings()
Returns the builder for the settings used for calls to reportInstanceInfo.com.google.api.gax.rpc.OperationCallSettings.Builder<ResetInstanceRequest,Instance,OperationMetadata>
resetInstanceOperationSettings()
Returns the builder for the settings used for calls to resetInstance.com.google.api.gax.rpc.UnaryCallSettings.Builder<ResetInstanceRequest,com.google.longrunning.Operation>
resetInstanceSettings()
Returns the builder for the settings used for calls to resetInstance.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<SetInstanceAcceleratorRequest,Instance,OperationMetadata>
setInstanceAcceleratorOperationSettings()
Returns the builder for the settings used for calls to setInstanceAccelerator.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetInstanceAcceleratorRequest,com.google.longrunning.Operation>
setInstanceAcceleratorSettings()
Returns the builder for the settings used for calls to setInstanceAccelerator.com.google.api.gax.rpc.OperationCallSettings.Builder<SetInstanceLabelsRequest,Instance,OperationMetadata>
setInstanceLabelsOperationSettings()
Returns the builder for the settings used for calls to setInstanceLabels.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetInstanceLabelsRequest,com.google.longrunning.Operation>
setInstanceLabelsSettings()
Returns the builder for the settings used for calls to setInstanceLabels.com.google.api.gax.rpc.OperationCallSettings.Builder<SetInstanceMachineTypeRequest,Instance,OperationMetadata>
setInstanceMachineTypeOperationSettings()
Returns the builder for the settings used for calls to setInstanceMachineType.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetInstanceMachineTypeRequest,com.google.longrunning.Operation>
setInstanceMachineTypeSettings()
Returns the builder for the settings used for calls to setInstanceMachineType.com.google.api.gax.rpc.OperationCallSettings.Builder<StartInstanceRequest,Instance,OperationMetadata>
startInstanceOperationSettings()
Returns the builder for the settings used for calls to startInstance.com.google.api.gax.rpc.UnaryCallSettings.Builder<StartInstanceRequest,com.google.longrunning.Operation>
startInstanceSettings()
Returns the builder for the settings used for calls to startInstance.com.google.api.gax.rpc.OperationCallSettings.Builder<StopInstanceRequest,Instance,OperationMetadata>
stopInstanceOperationSettings()
Returns the builder for the settings used for calls to stopInstance.com.google.api.gax.rpc.UnaryCallSettings.Builder<StopInstanceRequest,com.google.longrunning.Operation>
stopInstanceSettings()
Returns the builder for the settings used for calls to stopInstance.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<UpgradeInstanceInternalRequest,Instance,OperationMetadata>
upgradeInstanceInternalOperationSettings()
Returns the builder for the settings used for calls to upgradeInstanceInternal.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpgradeInstanceInternalRequest,com.google.longrunning.Operation>
upgradeInstanceInternalSettings()
Deprecated.This method is deprecated and will be removed in the next major version update.com.google.api.gax.rpc.OperationCallSettings.Builder<UpgradeInstanceRequest,Instance,OperationMetadata>
upgradeInstanceOperationSettings()
Returns the builder for the settings used for calls to upgradeInstance.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpgradeInstanceRequest,com.google.longrunning.Operation>
upgradeInstanceSettings()
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, 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(NotebookServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public NotebookServiceStubSettings.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()
-
listInstancesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,NotebookServiceClient.ListInstancesPagedResponse> listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.
-
getInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.
-
createInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateInstanceRequest,com.google.longrunning.Operation> createInstanceSettings()
Returns the builder for the settings used for calls to createInstance.
-
createInstanceOperationSettings
@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<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationSettings()
Returns the builder for the settings used for calls to createInstance.
-
registerInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RegisterInstanceRequest,com.google.longrunning.Operation> registerInstanceSettings()
Returns the builder for the settings used for calls to registerInstance.
-
registerInstanceOperationSettings
@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<RegisterInstanceRequest,Instance,OperationMetadata> registerInstanceOperationSettings()
Returns the builder for the settings used for calls to registerInstance.
-
setInstanceAcceleratorSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetInstanceAcceleratorRequest,com.google.longrunning.Operation> setInstanceAcceleratorSettings()
Returns the builder for the settings used for calls to setInstanceAccelerator.
-
setInstanceAcceleratorOperationSettings
@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<SetInstanceAcceleratorRequest,Instance,OperationMetadata> setInstanceAcceleratorOperationSettings()
Returns the builder for the settings used for calls to setInstanceAccelerator.
-
setInstanceMachineTypeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetInstanceMachineTypeRequest,com.google.longrunning.Operation> setInstanceMachineTypeSettings()
Returns the builder for the settings used for calls to setInstanceMachineType.
-
setInstanceMachineTypeOperationSettings
@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<SetInstanceMachineTypeRequest,Instance,OperationMetadata> setInstanceMachineTypeOperationSettings()
Returns the builder for the settings used for calls to setInstanceMachineType.
-
setInstanceLabelsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetInstanceLabelsRequest,com.google.longrunning.Operation> setInstanceLabelsSettings()
Returns the builder for the settings used for calls to setInstanceLabels.
-
setInstanceLabelsOperationSettings
@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<SetInstanceLabelsRequest,Instance,OperationMetadata> setInstanceLabelsOperationSettings()
Returns the builder for the settings used for calls to setInstanceLabels.
-
deleteInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceRequest,com.google.longrunning.Operation> deleteInstanceSettings()
Returns the builder for the settings used for calls to deleteInstance.
-
deleteInstanceOperationSettings
@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<DeleteInstanceRequest,com.google.protobuf.Empty,OperationMetadata> deleteInstanceOperationSettings()
Returns the builder for the settings used for calls to deleteInstance.
-
startInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartInstanceRequest,com.google.longrunning.Operation> startInstanceSettings()
Returns the builder for the settings used for calls to startInstance.
-
startInstanceOperationSettings
@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<StartInstanceRequest,Instance,OperationMetadata> startInstanceOperationSettings()
Returns the builder for the settings used for calls to startInstance.
-
stopInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StopInstanceRequest,com.google.longrunning.Operation> stopInstanceSettings()
Returns the builder for the settings used for calls to stopInstance.
-
stopInstanceOperationSettings
@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<StopInstanceRequest,Instance,OperationMetadata> stopInstanceOperationSettings()
Returns the builder for the settings used for calls to stopInstance.
-
resetInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResetInstanceRequest,com.google.longrunning.Operation> resetInstanceSettings()
Returns the builder for the settings used for calls to resetInstance.
-
resetInstanceOperationSettings
@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<ResetInstanceRequest,Instance,OperationMetadata> resetInstanceOperationSettings()
Returns the builder for the settings used for calls to resetInstance.
-
reportInstanceInfoSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ReportInstanceInfoRequest,com.google.longrunning.Operation> reportInstanceInfoSettings()
Returns the builder for the settings used for calls to reportInstanceInfo.
-
reportInstanceInfoOperationSettings
@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<ReportInstanceInfoRequest,Instance,OperationMetadata> reportInstanceInfoOperationSettings()
Returns the builder for the settings used for calls to reportInstanceInfo.
-
isInstanceUpgradeableSettings
@Deprecated public com.google.api.gax.rpc.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 com.google.api.gax.rpc.UnaryCallSettings.Builder<UpgradeInstanceRequest,com.google.longrunning.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
@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<UpgradeInstanceRequest,Instance,OperationMetadata> upgradeInstanceOperationSettings()
Returns the builder for the settings used for calls to upgradeInstance.
-
upgradeInstanceInternalSettings
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpgradeInstanceInternalRequest,com.google.longrunning.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
@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<UpgradeInstanceInternalRequest,Instance,OperationMetadata> upgradeInstanceInternalOperationSettings()
Returns the builder for the settings used for calls to upgradeInstanceInternal.
-
listEnvironmentsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,NotebookServiceClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()
Returns the builder for the settings used for calls to listEnvironments.
-
getEnvironmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEnvironmentRequest,Environment> getEnvironmentSettings()
Returns the builder for the settings used for calls to getEnvironment.
-
createEnvironmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEnvironmentRequest,com.google.longrunning.Operation> createEnvironmentSettings()
Returns the builder for the settings used for calls to createEnvironment.
-
createEnvironmentOperationSettings
@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<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationSettings()
Returns the builder for the settings used for calls to createEnvironment.
-
deleteEnvironmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEnvironmentRequest,com.google.longrunning.Operation> deleteEnvironmentSettings()
Returns the builder for the settings used for calls to deleteEnvironment.
-
deleteEnvironmentOperationSettings
@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<DeleteEnvironmentRequest,com.google.protobuf.Empty,OperationMetadata> deleteEnvironmentOperationSettings()
Returns the builder for the settings used for calls to deleteEnvironment.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,NotebookServiceClient.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 NotebookServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<NotebookServiceStubSettings,NotebookServiceStubSettings.Builder>
- Throws:
IOException
-
-