Package com.google.cloud.support.v2.stub
Class CaseServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<CaseServiceStubSettings,CaseServiceStubSettings.Builder>
-
- com.google.cloud.support.v2.stub.CaseServiceStubSettings.Builder
-
- Enclosing class:
- CaseServiceStubSettings
public static class CaseServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<CaseServiceStubSettings,CaseServiceStubSettings.Builder>
Builder for CaseServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(CaseServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CaseServiceStubSettings.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.CaseServiceStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(CaseServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public CaseServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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 CaseServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<CaseServiceStubSettings,CaseServiceStubSettings.Builder>
- Throws:
IOException
-
-