Class SessionControllerStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<SessionControllerStubSettings,SessionControllerStubSettings.Builder>
com.google.cloud.dataproc.v1.stub.SessionControllerStubSettings.Builder
- Enclosing class:
- SessionControllerStubSettings
public static class SessionControllerStubSettings.Builder
extends StubSettings.Builder<SessionControllerStubSettings,SessionControllerStubSettings.Builder>
Builder for SessionControllerStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(SessionControllerStubSettings settings) -
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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public SessionControllerStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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 classStubSettings.Builder<SessionControllerStubSettings,SessionControllerStubSettings.Builder> - Throws:
IOException
-