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 protectedBuilder()protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext)protectedBuilder(DocumentLinkServiceSettings settings)protectedBuilder(DocumentLinkServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentLinkServiceSettings.BuilderapplyToAllUnaryMethods(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.DocumentLinkServiceSettingsbuild()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.BuildergetStubSettingsBuilder()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:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<DocumentLinkServiceSettings,DocumentLinkServiceSettings.Builder>- Throws:
IOException
-
-