Class CaseAttachmentServiceStubSettings.Builder (0.36.0)

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

Builder for CaseAttachmentServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CaseAttachmentServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(CaseAttachmentServiceStubSettings settings)

protected Builder(CaseAttachmentServiceStubSettings settings)
Parameter
Name Description
settings CaseAttachmentServiceStubSettings

Methods

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

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

build()

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

listAttachmentsSettings()

public PagedCallSettings.Builder<ListAttachmentsRequest,ListAttachmentsResponse,CaseAttachmentServiceClient.ListAttachmentsPagedResponse> listAttachmentsSettings()

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

Returns
Type Description
Builder<ListAttachmentsRequest,ListAttachmentsResponse,ListAttachmentsPagedResponse>

unaryMethodSettingsBuilders()

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