Class DocumentLinkServiceSettings.Builder (0.28.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
NameDescription
clientContextClientContext

Builder(DocumentLinkServiceSettings settings)

protected Builder(DocumentLinkServiceSettings settings)
Parameter
NameDescription
settingsDocumentLinkServiceSettings

Builder(DocumentLinkServiceStubSettings.Builder stubSettings)

protected Builder(DocumentLinkServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDocumentLinkServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
DocumentLinkServiceSettings.Builder

build()

public DocumentLinkServiceSettings build()
Returns
TypeDescription
DocumentLinkServiceSettings
Overrides
Exceptions
TypeDescription
IOException

createDocumentLinkSettings()

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

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

Returns
TypeDescription
Builder<CreateDocumentLinkRequest,DocumentLink>

deleteDocumentLinkSettings()

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

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

Returns
TypeDescription
Builder<DeleteDocumentLinkRequest,Empty>

getStubSettingsBuilder()

public DocumentLinkServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
DocumentLinkServiceStubSettings.Builder

listLinkedSourcesSettings()

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

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

Returns
TypeDescription
Builder<ListLinkedSourcesRequest,ListLinkedSourcesResponse,ListLinkedSourcesPagedResponse>

listLinkedTargetsSettings()

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

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

Returns
TypeDescription
Builder<ListLinkedTargetsRequest,ListLinkedTargetsResponse>