Class PersistentResourceServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<PersistentResourceServiceSettings,PersistentResourceServiceSettings.Builder>
com.google.cloud.aiplatform.v1beta1.PersistentResourceServiceSettings.Builder
- Enclosing class:
- PersistentResourceServiceSettings
public static class PersistentResourceServiceSettings.Builder
extends ClientSettings.Builder<PersistentResourceServiceSettings,PersistentResourceServiceSettings.Builder>
Builder for PersistentResourceServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(PersistentResourceServiceSettings settings) protectedBuilder(PersistentResourceServiceStubSettings.Builder stubSettings) -
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()OperationCallSettings.Builder<CreatePersistentResourceRequest,PersistentResource, CreatePersistentResourceOperationMetadata> Returns the builder for the settings used for calls to createPersistentResource.Returns the builder for the settings used for calls to createPersistentResource.OperationCallSettings.Builder<DeletePersistentResourceRequest,com.google.protobuf.Empty, DeleteOperationMetadata> Returns the builder for the settings used for calls to deletePersistentResource.Returns the builder for the settings used for calls to deletePersistentResource.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getPersistentResource.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, PersistentResourceServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListPersistentResourcesRequest,ListPersistentResourcesResponse, PersistentResourceServiceClient.ListPersistentResourcesPagedResponse> Returns the builder for the settings used for calls to listPersistentResources.OperationCallSettings.Builder<RebootPersistentResourceRequest,PersistentResource, RebootPersistentResourceOperationMetadata> Returns the builder for the settings used for calls to rebootPersistentResource.Returns the builder for the settings used for calls to rebootPersistentResource.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.OperationCallSettings.Builder<UpdatePersistentResourceRequest,PersistentResource, UpdatePersistentResourceOperationMetadata> Returns the builder for the settings used for calls to updatePersistentResource.Returns the builder for the settings used for calls to updatePersistentResource.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public PersistentResourceServiceSettings.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.
-
createPersistentResourceSettings
public UnaryCallSettings.Builder<CreatePersistentResourceRequest,Operation> createPersistentResourceSettings()Returns the builder for the settings used for calls to createPersistentResource. -
createPersistentResourceOperationSettings
public OperationCallSettings.Builder<CreatePersistentResourceRequest,PersistentResource, createPersistentResourceOperationSettings()CreatePersistentResourceOperationMetadata> Returns the builder for the settings used for calls to createPersistentResource. -
getPersistentResourceSettings
public UnaryCallSettings.Builder<GetPersistentResourceRequest,PersistentResource> getPersistentResourceSettings()Returns the builder for the settings used for calls to getPersistentResource. -
listPersistentResourcesSettings
public PagedCallSettings.Builder<ListPersistentResourcesRequest,ListPersistentResourcesResponse, listPersistentResourcesSettings()PersistentResourceServiceClient.ListPersistentResourcesPagedResponse> Returns the builder for the settings used for calls to listPersistentResources. -
deletePersistentResourceSettings
public UnaryCallSettings.Builder<DeletePersistentResourceRequest,Operation> deletePersistentResourceSettings()Returns the builder for the settings used for calls to deletePersistentResource. -
deletePersistentResourceOperationSettings
public OperationCallSettings.Builder<DeletePersistentResourceRequest,com.google.protobuf.Empty, deletePersistentResourceOperationSettings()DeleteOperationMetadata> Returns the builder for the settings used for calls to deletePersistentResource. -
updatePersistentResourceSettings
public UnaryCallSettings.Builder<UpdatePersistentResourceRequest,Operation> updatePersistentResourceSettings()Returns the builder for the settings used for calls to updatePersistentResource. -
updatePersistentResourceOperationSettings
public OperationCallSettings.Builder<UpdatePersistentResourceRequest,PersistentResource, updatePersistentResourceOperationSettings()UpdatePersistentResourceOperationMetadata> Returns the builder for the settings used for calls to updatePersistentResource. -
rebootPersistentResourceSettings
public UnaryCallSettings.Builder<RebootPersistentResourceRequest,Operation> rebootPersistentResourceSettings()Returns the builder for the settings used for calls to rebootPersistentResource. -
rebootPersistentResourceOperationSettings
public OperationCallSettings.Builder<RebootPersistentResourceRequest,PersistentResource, rebootPersistentResourceOperationSettings()RebootPersistentResourceOperationMetadata> Returns the builder for the settings used for calls to rebootPersistentResource. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()PersistentResourceServiceClient.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 classClientSettings.Builder<PersistentResourceServiceSettings,PersistentResourceServiceSettings.Builder> - Throws:
IOException
-