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