Class DocumentLinkServiceStubSettings.Builder (0.41.0)

public static class DocumentLinkServiceStubSettings.Builder extends StubSettings.Builder<DocumentLinkServiceStubSettings,DocumentLinkServiceStubSettings.Builder>

Builder for DocumentLinkServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DocumentLinkServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DocumentLinkServiceStubSettings settings)

protected Builder(DocumentLinkServiceStubSettings settings)
Parameter
Name Description
settings DocumentLinkServiceStubSettings

Methods

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

public DocumentLinkServiceStubSettings.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
DocumentLinkServiceStubSettings.Builder

build()

public DocumentLinkServiceStubSettings build()
Returns
Type Description
DocumentLinkServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>