Class DocumentLinkServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<DocumentLinkServiceSettings,DocumentLinkServiceSettings.Builder>
-
- com.google.cloud.contentwarehouse.v1.DocumentLinkServiceSettings.Builder
-
- Enclosing class:
- DocumentLinkServiceSettings
public static class DocumentLinkServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<DocumentLinkServiceSettings,DocumentLinkServiceSettings.Builder>
Builder for DocumentLinkServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(DocumentLinkServiceSettings settings)
protected
Builder(DocumentLinkServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentLinkServiceSettings.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.DocumentLinkServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDocumentLinkRequest,DocumentLink>
createDocumentLinkSettings()
Returns the builder for the settings used for calls to createDocumentLink.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDocumentLinkRequest,com.google.protobuf.Empty>
deleteDocumentLinkSettings()
Returns the builder for the settings used for calls to deleteDocumentLink.DocumentLinkServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListLinkedSourcesRequest,ListLinkedSourcesResponse,DocumentLinkServiceClient.ListLinkedSourcesPagedResponse>
listLinkedSourcesSettings()
Returns the builder for the settings used for calls to listLinkedSources.com.google.api.gax.rpc.UnaryCallSettings.Builder<ListLinkedTargetsRequest,ListLinkedTargetsResponse>
listLinkedTargetsSettings()
Returns the builder for the settings used for calls to listLinkedTargets.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(DocumentLinkServiceSettings settings)
-
Builder
protected Builder(DocumentLinkServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public DocumentLinkServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public DocumentLinkServiceSettings.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.Note: This method does not support applying settings to streaming methods.
-
listLinkedTargetsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ListLinkedTargetsRequest,ListLinkedTargetsResponse> listLinkedTargetsSettings()
Returns the builder for the settings used for calls to listLinkedTargets.
-
listLinkedSourcesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListLinkedSourcesRequest,ListLinkedSourcesResponse,DocumentLinkServiceClient.ListLinkedSourcesPagedResponse> listLinkedSourcesSettings()
Returns the builder for the settings used for calls to listLinkedSources.
-
createDocumentLinkSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDocumentLinkRequest,DocumentLink> createDocumentLinkSettings()
Returns the builder for the settings used for calls to createDocumentLink.
-
deleteDocumentLinkSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDocumentLinkRequest,com.google.protobuf.Empty> deleteDocumentLinkSettings()
Returns the builder for the settings used for calls to deleteDocumentLink.
-
build
public DocumentLinkServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<DocumentLinkServiceSettings,DocumentLinkServiceSettings.Builder>
- Throws:
IOException
-
-