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, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(DocumentsStubSettings settings)
public DocumentsStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
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<ImportDocumentsRequest,Operation> importDocumentsSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<ImportDocumentsRequest,ImportDocumentsResponse,KnowledgeOperationMetadata> importDocumentsOperationSettings()
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 UnaryCallSettings.Builder<ExportDocumentRequest,Operation> exportDocumentSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<ExportDocumentRequest,Document,KnowledgeOperationMetadata> exportDocumentOperationSettings()
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 DocumentsStubSettings build() throws IOException
build
in class StubSettings.Builder<DocumentsStubSettings,DocumentsStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.