public static class DocumentsStubSettings.Builder extends StubSettings.Builder<DocumentsStubSettings,DocumentsStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(DocumentsStubSettings settings) |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(DocumentsStubSettings settings)
public DocumentsStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<ListDocumentsRequest,ListDocumentsResponse,DocumentsClient.ListDocumentsPagedResponse> listDocumentsSettings()
public UnaryCallSettings.Builder<GetDocumentRequest,Document> getDocumentSettings()
public UnaryCallSettings.Builder<CreateDocumentRequest,Operation> createDocumentSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<CreateDocumentRequest,Document,KnowledgeOperationMetadata> createDocumentOperationSettings()
public UnaryCallSettings.Builder<DeleteDocumentRequest,Operation> deleteDocumentSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<DeleteDocumentRequest,Empty,KnowledgeOperationMetadata> deleteDocumentOperationSettings()
public UnaryCallSettings.Builder<UpdateDocumentRequest,Operation> updateDocumentSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<UpdateDocumentRequest,Document,KnowledgeOperationMetadata> updateDocumentOperationSettings()
public UnaryCallSettings.Builder<ReloadDocumentRequest,Operation> reloadDocumentSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<ReloadDocumentRequest,Document,KnowledgeOperationMetadata> reloadDocumentOperationSettings()
public DocumentsStubSettings build() throws IOException
build
in class StubSettings.Builder<DocumentsStubSettings,DocumentsStubSettings.Builder>
IOException
Copyright © 2021 Google LLC. All rights reserved.