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 com.google.api.gax.rpc.ClientSettings.Builder<PersistentResourceServiceSettings,PersistentResourceServiceSettings.Builder>
Builder for PersistentResourceServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(PersistentResourceServiceSettings settings)
protected
Builder(PersistentResourceServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersistentResourceServiceSettings.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.PersistentResourceServiceSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreatePersistentResourceRequest,PersistentResource,CreatePersistentResourceOperationMetadata>
createPersistentResourceOperationSettings()
Returns the builder for the settings used for calls to createPersistentResource.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePersistentResourceRequest,com.google.longrunning.Operation>
createPersistentResourceSettings()
Returns the builder for the settings used for calls to createPersistentResource.com.google.api.gax.rpc.OperationCallSettings.Builder<DeletePersistentResourceRequest,com.google.protobuf.Empty,DeleteOperationMetadata>
deletePersistentResourceOperationSettings()
Returns the builder for the settings used for calls to deletePersistentResource.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePersistentResourceRequest,com.google.longrunning.Operation>
deletePersistentResourceSettings()
Returns the builder for the settings used for calls to deletePersistentResource.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<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<GetPersistentResourceRequest,PersistentResource>
getPersistentResourceSettings()
Returns the builder for the settings used for calls to getPersistentResource.PersistentResourceServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,PersistentResourceServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListPersistentResourcesRequest,ListPersistentResourcesResponse,PersistentResourceServiceClient.ListPersistentResourcesPagedResponse>
listPersistentResourcesSettings()
Returns the builder for the settings used for calls to listPersistentResources.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.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.api.gax.rpc.OperationCallSettings.Builder<UpdatePersistentResourceRequest,PersistentResource,UpdatePersistentResourceOperationMetadata>
updatePersistentResourceOperationSettings()
Returns the builder for the settings used for calls to updatePersistentResource.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePersistentResourceRequest,com.google.longrunning.Operation>
updatePersistentResourceSettings()
Returns the builder for the settings used for calls to updatePersistentResource.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(PersistentResourceServiceSettings settings)
-
Builder
protected Builder(PersistentResourceServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public PersistentResourceServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public PersistentResourceServiceSettings.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.
-
createPersistentResourceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePersistentResourceRequest,com.google.longrunning.Operation> createPersistentResourceSettings()
Returns the builder for the settings used for calls to createPersistentResource.
-
createPersistentResourceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreatePersistentResourceRequest,PersistentResource,CreatePersistentResourceOperationMetadata> createPersistentResourceOperationSettings()
Returns the builder for the settings used for calls to createPersistentResource.
-
getPersistentResourceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPersistentResourceRequest,PersistentResource> getPersistentResourceSettings()
Returns the builder for the settings used for calls to getPersistentResource.
-
listPersistentResourcesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListPersistentResourcesRequest,ListPersistentResourcesResponse,PersistentResourceServiceClient.ListPersistentResourcesPagedResponse> listPersistentResourcesSettings()
Returns the builder for the settings used for calls to listPersistentResources.
-
deletePersistentResourceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePersistentResourceRequest,com.google.longrunning.Operation> deletePersistentResourceSettings()
Returns the builder for the settings used for calls to deletePersistentResource.
-
deletePersistentResourceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeletePersistentResourceRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deletePersistentResourceOperationSettings()
Returns the builder for the settings used for calls to deletePersistentResource.
-
updatePersistentResourceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePersistentResourceRequest,com.google.longrunning.Operation> updatePersistentResourceSettings()
Returns the builder for the settings used for calls to updatePersistentResource.
-
updatePersistentResourceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdatePersistentResourceRequest,PersistentResource,UpdatePersistentResourceOperationMetadata> updatePersistentResourceOperationSettings()
Returns the builder for the settings used for calls to updatePersistentResource.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,PersistentResourceServiceClient.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 PersistentResourceServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<PersistentResourceServiceSettings,PersistentResourceServiceSettings.Builder>
- Throws:
IOException
-
-