Package com.google.cloud.dataproc.v1
Class SessionControllerSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<SessionControllerSettings,SessionControllerSettings.Builder>
com.google.cloud.dataproc.v1.SessionControllerSettings.Builder
- Enclosing class:
- SessionControllerSettings
public static class SessionControllerSettings.Builder
extends ClientSettings.Builder<SessionControllerSettings,SessionControllerSettings.Builder>
Builder for SessionControllerSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(SessionControllerSettings settings) protectedBuilder(SessionControllerStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createSession.Returns the builder for the settings used for calls to createSession.Returns the builder for the settings used for calls to deleteSession.Returns the builder for the settings used for calls to deleteSession.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getSession.PagedCallSettings.Builder<ListSessionsRequest,ListSessionsResponse, SessionControllerClient.ListSessionsPagedResponse> Returns the builder for the settings used for calls to listSessions.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to terminateSession.Returns the builder for the settings used for calls to terminateSession.Returns the builder for the settings used for calls to testIamPermissions.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public SessionControllerSettings.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.
-
createSessionSettings
Returns the builder for the settings used for calls to createSession. -
createSessionOperationSettings
public OperationCallSettings.Builder<CreateSessionRequest,Session, createSessionOperationSettings()SessionOperationMetadata> Returns the builder for the settings used for calls to createSession. -
getSessionSettings
Returns the builder for the settings used for calls to getSession. -
listSessionsSettings
public PagedCallSettings.Builder<ListSessionsRequest,ListSessionsResponse, listSessionsSettings()SessionControllerClient.ListSessionsPagedResponse> Returns the builder for the settings used for calls to listSessions. -
terminateSessionSettings
Returns the builder for the settings used for calls to terminateSession. -
terminateSessionOperationSettings
public OperationCallSettings.Builder<TerminateSessionRequest,Session, terminateSessionOperationSettings()SessionOperationMetadata> Returns the builder for the settings used for calls to terminateSession. -
deleteSessionSettings
Returns the builder for the settings used for calls to deleteSession. -
deleteSessionOperationSettings
public OperationCallSettings.Builder<DeleteSessionRequest,Session, deleteSessionOperationSettings()SessionOperationMetadata> Returns the builder for the settings used for calls to deleteSession. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
build
- Specified by:
buildin classClientSettings.Builder<SessionControllerSettings,SessionControllerSettings.Builder> - Throws:
IOException
-