Class CaseServiceSettings.Builder (0.5.0)

public static class CaseServiceSettings.Builder extends ClientSettings.Builder<CaseServiceSettings,CaseServiceSettings.Builder>

Builder for CaseServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > CaseServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(CaseServiceSettings settings)

protected Builder(CaseServiceSettings settings)
Parameter
NameDescription
settingsCaseServiceSettings

Builder(CaseServiceStubSettings.Builder stubSettings)

protected Builder(CaseServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsCaseServiceStubSettings.Builder

Methods

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

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

build()

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

closeCaseSettings()

public UnaryCallSettings.Builder<CloseCaseRequest,Case> closeCaseSettings()

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

Returns
TypeDescription
Builder<CloseCaseRequest,Case>

createCaseSettings()

public UnaryCallSettings.Builder<CreateCaseRequest,Case> createCaseSettings()

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

Returns
TypeDescription
Builder<CreateCaseRequest,Case>

escalateCaseSettings()

public UnaryCallSettings.Builder<EscalateCaseRequest,Case> escalateCaseSettings()

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

Returns
TypeDescription
Builder<EscalateCaseRequest,Case>

getCaseSettings()

public UnaryCallSettings.Builder<GetCaseRequest,Case> getCaseSettings()

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

Returns
TypeDescription
Builder<GetCaseRequest,Case>

getStubSettingsBuilder()

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

listCasesSettings()

public PagedCallSettings.Builder<ListCasesRequest,ListCasesResponse,CaseServiceClient.ListCasesPagedResponse> listCasesSettings()

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

Returns
TypeDescription
Builder<ListCasesRequest,ListCasesResponse,ListCasesPagedResponse>

searchCaseClassificationsSettings()

public PagedCallSettings.Builder<SearchCaseClassificationsRequest,SearchCaseClassificationsResponse,CaseServiceClient.SearchCaseClassificationsPagedResponse> searchCaseClassificationsSettings()

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

Returns
TypeDescription
Builder<SearchCaseClassificationsRequest,SearchCaseClassificationsResponse,SearchCaseClassificationsPagedResponse>

searchCasesSettings()

public PagedCallSettings.Builder<SearchCasesRequest,SearchCasesResponse,CaseServiceClient.SearchCasesPagedResponse> searchCasesSettings()

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

Returns
TypeDescription
Builder<SearchCasesRequest,SearchCasesResponse,SearchCasesPagedResponse>

updateCaseSettings()

public UnaryCallSettings.Builder<UpdateCaseRequest,Case> updateCaseSettings()

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

Returns
TypeDescription
Builder<UpdateCaseRequest,Case>