public static class DocumentLinkServiceStubSettings.Builder extends StubSettings.Builder<DocumentLinkServiceStubSettings,DocumentLinkServiceStubSettings.Builder>
Builder for DocumentLinkServiceStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(DocumentLinkServiceStubSettings settings)
protected Builder(DocumentLinkServiceStubSettings settings)
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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
DocumentLinkServiceStubSettings.Builder |
build()
public DocumentLinkServiceStubSettings build()
Type | Description |
DocumentLinkServiceStubSettings |
Type | Description |
IOException |
createDocumentLinkSettings()
public UnaryCallSettings.Builder<CreateDocumentLinkRequest,DocumentLink> createDocumentLinkSettings()
Returns the builder for the settings used for calls to createDocumentLink.
Type | Description |
Builder<CreateDocumentLinkRequest,DocumentLink> |
deleteDocumentLinkSettings()
public UnaryCallSettings.Builder<DeleteDocumentLinkRequest,Empty> deleteDocumentLinkSettings()
Returns the builder for the settings used for calls to deleteDocumentLink.
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.
Type | Description |
Builder<ListLinkedSourcesRequest,ListLinkedSourcesResponse,ListLinkedSourcesPagedResponse> |
listLinkedTargetsSettings()
public UnaryCallSettings.Builder<ListLinkedTargetsRequest,ListLinkedTargetsResponse> listLinkedTargetsSettings()
Returns the builder for the settings used for calls to listLinkedTargets.
Type | Description |
Builder<ListLinkedTargetsRequest,ListLinkedTargetsResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |