Class VectorSearchServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<VectorSearchServiceSettings,VectorSearchServiceSettings.Builder>
com.google.cloud.vectorsearch.v1beta.VectorSearchServiceSettings.Builder
- Enclosing class:
- VectorSearchServiceSettings
public static class VectorSearchServiceSettings.Builder
extends ClientSettings.Builder<VectorSearchServiceSettings,VectorSearchServiceSettings.Builder>
Builder for VectorSearchServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(VectorSearchServiceStubSettings.Builder stubSettings) protectedBuilder(VectorSearchServiceSettings 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()Returns the builder for the settings used for calls to createCollection.Returns the builder for the settings used for calls to createCollection.Returns the builder for the settings used for calls to createIndex.Returns the builder for the settings used for calls to createIndex.OperationCallSettings.Builder<DeleteCollectionRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteCollection.Returns the builder for the settings used for calls to deleteCollection.OperationCallSettings.Builder<DeleteIndexRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteIndex.Returns the builder for the settings used for calls to deleteIndex.OperationCallSettings.Builder<ExportDataObjectsRequest,ExportDataObjectsResponse, ExportDataObjectsMetadata> Returns the builder for the settings used for calls to exportDataObjects.Returns the builder for the settings used for calls to exportDataObjects.Returns the builder for the settings used for calls to getCollection.Returns the builder for the settings used for calls to getIndex.Returns the builder for the settings used for calls to getLocation.OperationCallSettings.Builder<ImportDataObjectsRequest,ImportDataObjectsResponse, ImportDataObjectsMetadata> Returns the builder for the settings used for calls to importDataObjects.Returns the builder for the settings used for calls to importDataObjects.PagedCallSettings.Builder<ListCollectionsRequest,ListCollectionsResponse, VectorSearchServiceClient.ListCollectionsPagedResponse> Returns the builder for the settings used for calls to listCollections.PagedCallSettings.Builder<ListIndexesRequest,ListIndexesResponse, VectorSearchServiceClient.ListIndexesPagedResponse> Returns the builder for the settings used for calls to listIndexes.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, VectorSearchServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.Returns the builder for the settings used for calls to updateCollection.Returns the builder for the settings used for calls to updateCollection.Returns the builder for the settings used for calls to updateIndex.Returns the builder for the settings used for calls to updateIndex.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 VectorSearchServiceSettings.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.
-
listCollectionsSettings
public PagedCallSettings.Builder<ListCollectionsRequest,ListCollectionsResponse, listCollectionsSettings()VectorSearchServiceClient.ListCollectionsPagedResponse> Returns the builder for the settings used for calls to listCollections. -
getCollectionSettings
Returns the builder for the settings used for calls to getCollection. -
createCollectionSettings
Returns the builder for the settings used for calls to createCollection. -
createCollectionOperationSettings
public OperationCallSettings.Builder<CreateCollectionRequest,Collection, createCollectionOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createCollection. -
updateCollectionSettings
Returns the builder for the settings used for calls to updateCollection. -
updateCollectionOperationSettings
public OperationCallSettings.Builder<UpdateCollectionRequest,Collection, updateCollectionOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateCollection. -
deleteCollectionSettings
Returns the builder for the settings used for calls to deleteCollection. -
deleteCollectionOperationSettings
public OperationCallSettings.Builder<DeleteCollectionRequest,com.google.protobuf.Empty, deleteCollectionOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteCollection. -
listIndexesSettings
public PagedCallSettings.Builder<ListIndexesRequest,ListIndexesResponse, listIndexesSettings()VectorSearchServiceClient.ListIndexesPagedResponse> Returns the builder for the settings used for calls to listIndexes. -
getIndexSettings
Returns the builder for the settings used for calls to getIndex. -
createIndexSettings
Returns the builder for the settings used for calls to createIndex. -
createIndexOperationSettings
public OperationCallSettings.Builder<CreateIndexRequest,Index, createIndexOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createIndex. -
updateIndexSettings
Returns the builder for the settings used for calls to updateIndex. -
updateIndexOperationSettings
public OperationCallSettings.Builder<UpdateIndexRequest,Index, updateIndexOperationSettings()OperationMetadata> 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()OperationMetadata> Returns the builder for the settings used for calls to deleteIndex. -
importDataObjectsSettings
Returns the builder for the settings used for calls to importDataObjects. -
importDataObjectsOperationSettings
public OperationCallSettings.Builder<ImportDataObjectsRequest,ImportDataObjectsResponse, importDataObjectsOperationSettings()ImportDataObjectsMetadata> Returns the builder for the settings used for calls to importDataObjects. -
exportDataObjectsSettings
Returns the builder for the settings used for calls to exportDataObjects. -
exportDataObjectsOperationSettings
public OperationCallSettings.Builder<ExportDataObjectsRequest,ExportDataObjectsResponse, exportDataObjectsOperationSettings()ExportDataObjectsMetadata> Returns the builder for the settings used for calls to exportDataObjects. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()VectorSearchServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classClientSettings.Builder<VectorSearchServiceSettings,VectorSearchServiceSettings.Builder> - Throws:
IOException
-