public static class DocumentsSettings.Builder extends ClientSettings.Builder<DocumentsSettings,DocumentsSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(DocumentsSettings settings) |
protected |
Builder(DocumentsStubSettings.Builder stubSettings) |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(DocumentsSettings settings)
protected Builder(DocumentsStubSettings.Builder stubSettings)
public DocumentsStubSettings.Builder getStubSettingsBuilder()
public DocumentsSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public PagedCallSettings.Builder<ListDocumentsRequest,ListDocumentsResponse,DocumentsClient.ListDocumentsPagedResponse> listDocumentsSettings()
public UnaryCallSettings.Builder<GetDocumentRequest,Document> getDocumentSettings()
public UnaryCallSettings.Builder<CreateDocumentRequest,Operation> createDocumentSettings()
public OperationCallSettings.Builder<CreateDocumentRequest,Document,KnowledgeOperationMetadata> createDocumentOperationSettings()
public UnaryCallSettings.Builder<ImportDocumentsRequest,Operation> importDocumentsSettings()
public OperationCallSettings.Builder<ImportDocumentsRequest,ImportDocumentsResponse,KnowledgeOperationMetadata> importDocumentsOperationSettings()
public UnaryCallSettings.Builder<DeleteDocumentRequest,Operation> deleteDocumentSettings()
public OperationCallSettings.Builder<DeleteDocumentRequest,Empty,KnowledgeOperationMetadata> deleteDocumentOperationSettings()
public UnaryCallSettings.Builder<UpdateDocumentRequest,Operation> updateDocumentSettings()
public OperationCallSettings.Builder<UpdateDocumentRequest,Document,KnowledgeOperationMetadata> updateDocumentOperationSettings()
public UnaryCallSettings.Builder<ReloadDocumentRequest,Operation> reloadDocumentSettings()
public OperationCallSettings.Builder<ReloadDocumentRequest,Document,KnowledgeOperationMetadata> reloadDocumentOperationSettings()
public PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DocumentsClient.ListLocationsPagedResponse> listLocationsSettings()
public UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public DocumentsSettings build() throws IOException
build
in class ClientSettings.Builder<DocumentsSettings,DocumentsSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.