public static class DocumentsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<DocumentsSettings,DocumentsSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(DocumentsSettings settings) |
protected |
Builder(DocumentsStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
DocumentsSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
DocumentsSettings |
build() |
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDocumentRequest,Document,KnowledgeOperationMetadata> |
createDocumentOperationSettings()
Returns the builder for the settings used for calls to createDocument.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDocumentRequest,com.google.longrunning.Operation> |
createDocumentSettings()
Returns the builder for the settings used for calls to createDocument.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteDocumentRequest,Empty,KnowledgeOperationMetadata> |
deleteDocumentOperationSettings()
Returns the builder for the settings used for calls to deleteDocument.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDocumentRequest,com.google.longrunning.Operation> |
deleteDocumentSettings()
Returns the builder for the settings used for calls to deleteDocument.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDocumentRequest,Document> |
getDocumentSettings()
Returns the builder for the settings used for calls to getDocument.
|
DocumentsStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.PagedCallSettings.Builder<ListDocumentsRequest,ListDocumentsResponse,DocumentsClient.ListDocumentsPagedResponse> |
listDocumentsSettings()
Returns the builder for the settings used for calls to listDocuments.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ReloadDocumentRequest,com.google.longrunning.Operation> |
reloadDocumentSettings()
Returns the builder for the settings used for calls to reloadDocument.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateDocumentRequest,Document,KnowledgeOperationMetadata> |
updateDocumentOperationSettings()
Returns the builder for the settings used for calls to updateDocument.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDocumentRequest,com.google.longrunning.Operation> |
updateDocumentSettings()
Returns the builder for the settings used for calls to updateDocument.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(DocumentsSettings settings)
protected Builder(DocumentsStubSettings.Builder stubSettings)
public DocumentsStubSettings.Builder getStubSettingsBuilder()
public DocumentsSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDocumentsRequest,ListDocumentsResponse,DocumentsClient.ListDocumentsPagedResponse> listDocumentsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDocumentRequest,Document> getDocumentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDocumentRequest,com.google.longrunning.Operation> createDocumentSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDocumentRequest,Document,KnowledgeOperationMetadata> createDocumentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDocumentRequest,com.google.longrunning.Operation> deleteDocumentSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteDocumentRequest,Empty,KnowledgeOperationMetadata> deleteDocumentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDocumentRequest,com.google.longrunning.Operation> updateDocumentSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateDocumentRequest,Document,KnowledgeOperationMetadata> updateDocumentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ReloadDocumentRequest,com.google.longrunning.Operation> reloadDocumentSettings()
public DocumentsSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<DocumentsSettings,DocumentsSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.