Class IndexServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<IndexServiceSettings,IndexServiceSettings.Builder>
com.google.cloud.aiplatform.v1beta1.IndexServiceSettings.Builder
- Enclosing class:
- IndexServiceSettings
public static class IndexServiceSettings.Builder
extends ClientSettings.Builder<IndexServiceSettings,IndexServiceSettings.Builder>
Builder for IndexServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(IndexServiceSettings settings) protectedBuilder(IndexServiceStubSettings.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()Returns the builder for the settings used for calls to createIndex.Returns the builder for the settings used for calls to createIndex.OperationCallSettings.Builder<DeleteIndexRequest,com.google.protobuf.Empty, DeleteOperationMetadata> Returns the builder for the settings used for calls to deleteIndex.Returns the builder for the settings used for calls to deleteIndex.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getIndex.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to importIndex.Returns the builder for the settings used for calls to importIndex.PagedCallSettings.Builder<ListIndexesRequest,ListIndexesResponse, IndexServiceClient.ListIndexesPagedResponse> Returns the builder for the settings used for calls to listIndexes.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, IndexServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.Returns the builder for the settings used for calls to removeDatapoints.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.Returns the builder for the settings used for calls to updateIndex.Returns the builder for the settings used for calls to updateIndex.Returns the builder for the settings used for calls to upsertDatapoints.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 IndexServiceSettings.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.
-
createIndexSettings
Returns the builder for the settings used for calls to createIndex. -
createIndexOperationSettings
public OperationCallSettings.Builder<CreateIndexRequest,Index, createIndexOperationSettings()CreateIndexOperationMetadata> Returns the builder for the settings used for calls to createIndex. -
getIndexSettings
Returns the builder for the settings used for calls to getIndex. -
importIndexSettings
Returns the builder for the settings used for calls to importIndex. -
importIndexOperationSettings
public OperationCallSettings.Builder<ImportIndexRequest,Index, importIndexOperationSettings()ImportIndexOperationMetadata> Returns the builder for the settings used for calls to importIndex. -
listIndexesSettings
public PagedCallSettings.Builder<ListIndexesRequest,ListIndexesResponse, listIndexesSettings()IndexServiceClient.ListIndexesPagedResponse> Returns the builder for the settings used for calls to listIndexes. -
updateIndexSettings
Returns the builder for the settings used for calls to updateIndex. -
updateIndexOperationSettings
public OperationCallSettings.Builder<UpdateIndexRequest,Index, updateIndexOperationSettings()UpdateIndexOperationMetadata> Returns the builder for the settings used for calls to updateIndex. -
deleteIndexSettings
Returns the builder for the settings used for calls to deleteIndex. -
deleteIndexOperationSettings
public OperationCallSettings.Builder<DeleteIndexRequest,com.google.protobuf.Empty, deleteIndexOperationSettings()DeleteOperationMetadata> Returns the builder for the settings used for calls to deleteIndex. -
upsertDatapointsSettings
public UnaryCallSettings.Builder<UpsertDatapointsRequest,UpsertDatapointsResponse> upsertDatapointsSettings()Returns the builder for the settings used for calls to upsertDatapoints. -
removeDatapointsSettings
public UnaryCallSettings.Builder<RemoveDatapointsRequest,RemoveDatapointsResponse> removeDatapointsSettings()Returns the builder for the settings used for calls to removeDatapoints. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()IndexServiceClient.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<IndexServiceSettings,IndexServiceSettings.Builder> - Throws:
IOException
-