Class CaseServiceStubSettings.Builder (0.17.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
NameDescription
clientContextClientContext

Builder(CaseServiceStubSettings settings)

protected Builder(CaseServiceStubSettings settings)
Parameter
NameDescription
settingsCaseServiceStubSettings

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

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateCaseRequest,Case>