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