Package com.google.cloud.support.v2
Class CaseServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<CaseServiceSettings,CaseServiceSettings.Builder>
-
- com.google.cloud.support.v2.CaseServiceSettings.Builder
-
- Enclosing class:
- CaseServiceSettings
public static class CaseServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<CaseServiceSettings,CaseServiceSettings.Builder>
Builder for CaseServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(CaseServiceSettings settings)
protected
Builder(CaseServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CaseServiceSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.CaseServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CloseCaseRequest,Case>
closeCaseSettings()
Returns the builder for the settings used for calls to closeCase.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCaseRequest,Case>
createCaseSettings()
Returns the builder for the settings used for calls to createCase.com.google.api.gax.rpc.UnaryCallSettings.Builder<EscalateCaseRequest,Case>
escalateCaseSettings()
Returns the builder for the settings used for calls to escalateCase.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCaseRequest,Case>
getCaseSettings()
Returns the builder for the settings used for calls to getCase.CaseServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListCasesRequest,ListCasesResponse,CaseServiceClient.ListCasesPagedResponse>
listCasesSettings()
Returns the builder for the settings used for calls to listCases.com.google.api.gax.rpc.PagedCallSettings.Builder<SearchCaseClassificationsRequest,SearchCaseClassificationsResponse,CaseServiceClient.SearchCaseClassificationsPagedResponse>
searchCaseClassificationsSettings()
Returns the builder for the settings used for calls to searchCaseClassifications.com.google.api.gax.rpc.PagedCallSettings.Builder<SearchCasesRequest,SearchCasesResponse,CaseServiceClient.SearchCasesPagedResponse>
searchCasesSettings()
Returns the builder for the settings used for calls to searchCases.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCaseRequest,Case>
updateCaseSettings()
Returns the builder for the settings used for calls to updateCase.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(CaseServiceSettings settings)
-
Builder
protected Builder(CaseServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public CaseServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public CaseServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
getCaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCaseRequest,Case> getCaseSettings()
Returns the builder for the settings used for calls to getCase.
-
listCasesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListCasesRequest,ListCasesResponse,CaseServiceClient.ListCasesPagedResponse> listCasesSettings()
Returns the builder for the settings used for calls to listCases.
-
searchCasesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<SearchCasesRequest,SearchCasesResponse,CaseServiceClient.SearchCasesPagedResponse> searchCasesSettings()
Returns the builder for the settings used for calls to searchCases.
-
createCaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCaseRequest,Case> createCaseSettings()
Returns the builder for the settings used for calls to createCase.
-
updateCaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCaseRequest,Case> updateCaseSettings()
Returns the builder for the settings used for calls to updateCase.
-
escalateCaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<EscalateCaseRequest,Case> escalateCaseSettings()
Returns the builder for the settings used for calls to escalateCase.
-
closeCaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CloseCaseRequest,Case> closeCaseSettings()
Returns the builder for the settings used for calls to closeCase.
-
searchCaseClassificationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<SearchCaseClassificationsRequest,SearchCaseClassificationsResponse,CaseServiceClient.SearchCaseClassificationsPagedResponse> searchCaseClassificationsSettings()
Returns the builder for the settings used for calls to searchCaseClassifications.
-
build
public CaseServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<CaseServiceSettings,CaseServiceSettings.Builder>
- Throws:
IOException
-
-