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 com.google.api.gax.rpc.StubSettings.Builder<PersistentResourceServiceStubSettings,PersistentResourceServiceStubSettings.Builder>
Builder for PersistentResourceServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(PersistentResourceServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersistentResourceServiceStubSettings.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.PersistentResourceServiceStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.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(PersistentResourceServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public PersistentResourceServiceStubSettings.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()
-
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
@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<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
@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<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
@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<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 PersistentResourceServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<PersistentResourceServiceStubSettings,PersistentResourceServiceStubSettings.Builder>
- Throws:
IOException
-
-