Class PersistentResourceServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<PersistentResourceServiceStubSettings,PersistentResourceServiceStubSettings.Builder>
com.google.cloud.aiplatform.v1beta1.stub.PersistentResourceServiceStubSettings.Builder
- Enclosing class:
- PersistentResourceServiceStubSettings
public static class PersistentResourceServiceStubSettings.Builder
extends StubSettings.Builder<PersistentResourceServiceStubSettings,PersistentResourceServiceStubSettings.Builder>
Builder for PersistentResourceServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(PersistentResourceServiceStubSettings 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()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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> 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.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 PersistentResourceServiceStubSettings.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() -
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 classStubSettings.Builder<PersistentResourceServiceStubSettings,PersistentResourceServiceStubSettings.Builder> - Throws:
IOException
-