Class CaseServiceSettings.Builder (0.37.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
Name Description
clientContext ClientContext

Builder(CaseServiceSettings settings)

protected Builder(CaseServiceSettings settings)
Parameter
Name Description
settings CaseServiceSettings

Builder(CaseServiceStubSettings.Builder stubSettings)

protected Builder(CaseServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings CaseServiceStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
CaseServiceSettings.Builder

build()

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

closeCaseSettings()

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

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

Returns
Type Description
Builder<CloseCaseRequest,Case>

createCaseSettings()

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

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

Returns
Type Description
Builder<CreateCaseRequest,Case>

escalateCaseSettings()

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

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

Returns
Type Description
Builder<EscalateCaseRequest,Case>

getCaseSettings()

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

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

Returns
Type Description
Builder<GetCaseRequest,Case>

getStubSettingsBuilder()

public CaseServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
CaseServiceStubSettings.Builder

listCasesSettings()

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

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

Returns
Type Description
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
Type Description
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
Type Description
Builder<SearchCasesRequest,SearchCasesResponse,SearchCasesPagedResponse>

updateCaseSettings()

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

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

Returns
Type Description
Builder<UpdateCaseRequest,Case>