public static class CaseServiceStubSettings.Builder extends StubSettings.Builder<CaseServiceStubSettings,CaseServiceStubSettings.Builder>
Builder for CaseServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(CaseServiceStubSettings settings)
protected Builder(CaseServiceStubSettings settings)
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.
build()
public CaseServiceStubSettings build()
Overrides
closeCaseSettings()
public UnaryCallSettings.Builder<CloseCaseRequest,Case> closeCaseSettings()
Returns the builder for the settings used for calls to closeCase.
createCaseSettings()
public UnaryCallSettings.Builder<CreateCaseRequest,Case> createCaseSettings()
Returns the builder for the settings used for calls to createCase.
escalateCaseSettings()
public UnaryCallSettings.Builder<EscalateCaseRequest,Case> escalateCaseSettings()
Returns the builder for the settings used for calls to escalateCase.
getCaseSettings()
public UnaryCallSettings.Builder<GetCaseRequest,Case> getCaseSettings()
Returns the builder for the settings used for calls to getCase.
listCasesSettings()
public PagedCallSettings.Builder<ListCasesRequest,ListCasesResponse,CaseServiceClient.ListCasesPagedResponse> listCasesSettings()
Returns the builder for the settings used for calls to listCases.
searchCaseClassificationsSettings()
public PagedCallSettings.Builder<SearchCaseClassificationsRequest,SearchCaseClassificationsResponse,CaseServiceClient.SearchCaseClassificationsPagedResponse> searchCaseClassificationsSettings()
Returns the builder for the settings used for calls to searchCaseClassifications.
searchCasesSettings()
public PagedCallSettings.Builder<SearchCasesRequest,SearchCasesResponse,CaseServiceClient.SearchCasesPagedResponse> searchCasesSettings()
Returns the builder for the settings used for calls to searchCases.
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.