Class DocumentLinkServiceSettings.Builder (0.44.0)

public static class DocumentLinkServiceSettings.Builder extends ClientSettings.Builder<DocumentLinkServiceSettings,DocumentLinkServiceSettings.Builder>

Builder for DocumentLinkServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DocumentLinkServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DocumentLinkServiceSettings settings)

protected Builder(DocumentLinkServiceSettings settings)
Parameter
Name Description
settings DocumentLinkServiceSettings

Builder(DocumentLinkServiceStubSettings.Builder stubSettings)

protected Builder(DocumentLinkServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings DocumentLinkServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public DocumentLinkServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
DocumentLinkServiceSettings.Builder

build()

public DocumentLinkServiceSettings build()
Returns
Type Description
DocumentLinkServiceSettings
Overrides
Exceptions
Type Description
IOException

createDocumentLinkSettings()

public UnaryCallSettings.Builder<CreateDocumentLinkRequest,DocumentLink> createDocumentLinkSettings()

Returns the builder for the settings used for calls to createDocumentLink.

Returns
Type Description
Builder<CreateDocumentLinkRequest,DocumentLink>

deleteDocumentLinkSettings()

public UnaryCallSettings.Builder<DeleteDocumentLinkRequest,Empty> deleteDocumentLinkSettings()

Returns the builder for the settings used for calls to deleteDocumentLink.

Returns
Type Description
Builder<DeleteDocumentLinkRequest,Empty>

getStubSettingsBuilder()

public DocumentLinkServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
DocumentLinkServiceStubSettings.Builder

listLinkedSourcesSettings()

public PagedCallSettings.Builder<ListLinkedSourcesRequest,ListLinkedSourcesResponse,DocumentLinkServiceClient.ListLinkedSourcesPagedResponse> listLinkedSourcesSettings()

Returns the builder for the settings used for calls to listLinkedSources.

Returns
Type Description
Builder<ListLinkedSourcesRequest,ListLinkedSourcesResponse,ListLinkedSourcesPagedResponse>

listLinkedTargetsSettings()

public UnaryCallSettings.Builder<ListLinkedTargetsRequest,ListLinkedTargetsResponse> listLinkedTargetsSettings()

Returns the builder for the settings used for calls to listLinkedTargets.

Returns
Type Description
Builder<ListLinkedTargetsRequest,ListLinkedTargetsResponse>