public static class DocumentsStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<DocumentsStubSettings,DocumentsStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(DocumentsStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
DocumentsStubSettings.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.
|
DocumentsStubSettings |
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.
|
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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(DocumentsStubSettings settings)
public DocumentsStubSettings.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 use by generated code 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 use by generated code 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 use by generated code 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 DocumentsStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<DocumentsStubSettings,DocumentsStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.