@Generated(value="by gapic-generator-java") public class NotebookServiceSettings extends com.google.api.gax.rpc.ClientSettings<NotebookServiceSettings>
NotebookServiceClient.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of getNotebookRuntimeTemplate to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
NotebookServiceSettings.Builder notebookServiceSettingsBuilder =
NotebookServiceSettings.newBuilder();
notebookServiceSettingsBuilder
.getNotebookRuntimeTemplateSettings()
.setRetrySettings(
notebookServiceSettingsBuilder
.getNotebookRuntimeTemplateSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
NotebookServiceSettings notebookServiceSettings = notebookServiceSettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
NotebookServiceSettings.Builder
Builder for NotebookServiceSettings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
NotebookServiceSettings(NotebookServiceSettings.Builder settingsBuilder) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.OperationCallSettings<AssignNotebookRuntimeRequest,NotebookRuntime,AssignNotebookRuntimeOperationMetadata> |
assignNotebookRuntimeOperationSettings()
Returns the object with the settings used for calls to assignNotebookRuntime.
|
com.google.api.gax.rpc.UnaryCallSettings<AssignNotebookRuntimeRequest,com.google.longrunning.Operation> |
assignNotebookRuntimeSettings()
Returns the object with the settings used for calls to assignNotebookRuntime.
|
static NotebookServiceSettings |
create(NotebookServiceStubSettings stub) |
com.google.api.gax.rpc.OperationCallSettings<CreateNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate,CreateNotebookRuntimeTemplateOperationMetadata> |
createNotebookRuntimeTemplateOperationSettings()
Returns the object with the settings used for calls to createNotebookRuntimeTemplate.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateNotebookRuntimeTemplateRequest,com.google.longrunning.Operation> |
createNotebookRuntimeTemplateSettings()
Returns the object with the settings used for calls to createNotebookRuntimeTemplate.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.OperationCallSettings<DeleteNotebookRuntimeRequest,com.google.protobuf.Empty,DeleteOperationMetadata> |
deleteNotebookRuntimeOperationSettings()
Returns the object with the settings used for calls to deleteNotebookRuntime.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteNotebookRuntimeRequest,com.google.longrunning.Operation> |
deleteNotebookRuntimeSettings()
Returns the object with the settings used for calls to deleteNotebookRuntime.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteNotebookRuntimeTemplateRequest,com.google.protobuf.Empty,DeleteOperationMetadata> |
deleteNotebookRuntimeTemplateOperationSettings()
Returns the object with the settings used for calls to deleteNotebookRuntimeTemplate.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteNotebookRuntimeTemplateRequest,com.google.longrunning.Operation> |
deleteNotebookRuntimeTemplateSettings()
Returns the object with the settings used for calls to deleteNotebookRuntimeTemplate.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the object with the settings used for calls to getLocation.
|
com.google.api.gax.rpc.UnaryCallSettings<GetNotebookRuntimeRequest,NotebookRuntime> |
getNotebookRuntimeSettings()
Returns the object with the settings used for calls to getNotebookRuntime.
|
com.google.api.gax.rpc.UnaryCallSettings<GetNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate> |
getNotebookRuntimeTemplateSettings()
Returns the object with the settings used for calls to getNotebookRuntimeTemplate.
|
com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,NotebookServiceClient.ListLocationsPagedResponse> |
listLocationsSettings()
Returns the object with the settings used for calls to listLocations.
|
com.google.api.gax.rpc.PagedCallSettings<ListNotebookRuntimesRequest,ListNotebookRuntimesResponse,NotebookServiceClient.ListNotebookRuntimesPagedResponse> |
listNotebookRuntimesSettings()
Returns the object with the settings used for calls to listNotebookRuntimes.
|
com.google.api.gax.rpc.PagedCallSettings<ListNotebookRuntimeTemplatesRequest,ListNotebookRuntimeTemplatesResponse,NotebookServiceClient.ListNotebookRuntimeTemplatesPagedResponse> |
listNotebookRuntimeTemplatesSettings()
Returns the object with the settings used for calls to listNotebookRuntimeTemplates.
|
static NotebookServiceSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static NotebookServiceSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
|
com.google.api.gax.rpc.OperationCallSettings<StartNotebookRuntimeRequest,StartNotebookRuntimeResponse,StartNotebookRuntimeOperationMetadata> |
startNotebookRuntimeOperationSettings()
Returns the object with the settings used for calls to startNotebookRuntime.
|
com.google.api.gax.rpc.UnaryCallSettings<StartNotebookRuntimeRequest,com.google.longrunning.Operation> |
startNotebookRuntimeSettings()
Returns the object with the settings used for calls to startNotebookRuntime.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the object with the settings used for calls to testIamPermissions.
|
NotebookServiceSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.OperationCallSettings<UpgradeNotebookRuntimeRequest,UpgradeNotebookRuntimeResponse,UpgradeNotebookRuntimeOperationMetadata> |
upgradeNotebookRuntimeOperationSettings()
Returns the object with the settings used for calls to upgradeNotebookRuntime.
|
com.google.api.gax.rpc.UnaryCallSettings<UpgradeNotebookRuntimeRequest,com.google.longrunning.Operation> |
upgradeNotebookRuntimeSettings()
Returns the object with the settings used for calls to upgradeNotebookRuntime.
|
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getUniverseDomain, getWatchdogCheckInterval, getWatchdogProvider, toStringprotected NotebookServiceSettings(NotebookServiceSettings.Builder settingsBuilder) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallSettings<CreateNotebookRuntimeTemplateRequest,com.google.longrunning.Operation> createNotebookRuntimeTemplateSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate,CreateNotebookRuntimeTemplateOperationMetadata> createNotebookRuntimeTemplateOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate> getNotebookRuntimeTemplateSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListNotebookRuntimeTemplatesRequest,ListNotebookRuntimeTemplatesResponse,NotebookServiceClient.ListNotebookRuntimeTemplatesPagedResponse> listNotebookRuntimeTemplatesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteNotebookRuntimeTemplateRequest,com.google.longrunning.Operation> deleteNotebookRuntimeTemplateSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteNotebookRuntimeTemplateRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteNotebookRuntimeTemplateOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<AssignNotebookRuntimeRequest,com.google.longrunning.Operation> assignNotebookRuntimeSettings()
public com.google.api.gax.rpc.OperationCallSettings<AssignNotebookRuntimeRequest,NotebookRuntime,AssignNotebookRuntimeOperationMetadata> assignNotebookRuntimeOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetNotebookRuntimeRequest,NotebookRuntime> getNotebookRuntimeSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListNotebookRuntimesRequest,ListNotebookRuntimesResponse,NotebookServiceClient.ListNotebookRuntimesPagedResponse> listNotebookRuntimesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteNotebookRuntimeRequest,com.google.longrunning.Operation> deleteNotebookRuntimeSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteNotebookRuntimeRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteNotebookRuntimeOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpgradeNotebookRuntimeRequest,com.google.longrunning.Operation> upgradeNotebookRuntimeSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpgradeNotebookRuntimeRequest,UpgradeNotebookRuntimeResponse,UpgradeNotebookRuntimeOperationMetadata> upgradeNotebookRuntimeOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<StartNotebookRuntimeRequest,com.google.longrunning.Operation> startNotebookRuntimeSettings()
public com.google.api.gax.rpc.OperationCallSettings<StartNotebookRuntimeRequest,StartNotebookRuntimeResponse,StartNotebookRuntimeOperationMetadata> startNotebookRuntimeOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,NotebookServiceClient.ListLocationsPagedResponse> listLocationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public static final NotebookServiceSettings create(NotebookServiceStubSettings stub) throws IOException
IOExceptionpublic static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static NotebookServiceSettings.Builder newBuilder()
public static NotebookServiceSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public NotebookServiceSettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.ClientSettings<NotebookServiceSettings>Copyright © 2024 Google LLC. All rights reserved.