Class CaseAttachmentServiceStubSettings.Builder (0.13.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
NameDescription
clientContextClientContext

Builder(CaseAttachmentServiceStubSettings settings)

protected Builder(CaseAttachmentServiceStubSettings settings)
Parameter
NameDescription
settingsCaseAttachmentServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
CaseAttachmentServiceStubSettings.Builder

build()

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

listAttachmentsSettings()

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

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

Returns
TypeDescription
Builder<ListAttachmentsRequest,ListAttachmentsResponse,ListAttachmentsPagedResponse>

unaryMethodSettingsBuilders()

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