Class CaseServiceStubSettings.Builder (0.30.0)

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

Builder for CaseServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CaseServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(CaseServiceStubSettings settings)

protected Builder(CaseServiceStubSettings settings)
Parameter
Name Description
settings CaseServiceStubSettings

Methods

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

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

build()

public CaseServiceStubSettings build()
Returns
Type Description
CaseServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

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

updateCaseSettings()

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

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

Returns
Type Description
Builder<UpdateCaseRequest,Case>