- 4.52.0 (latest)
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public static class SessionControllerStubSettings.Builder extends StubSettings.Builder<SessionControllerStubSettings,SessionControllerStubSettings.Builder>
Builder for SessionControllerStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(SessionControllerStubSettings settings)
protected Builder(SessionControllerStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | SessionControllerStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
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.
Parameter | |
---|---|
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Returns | |
---|---|
Type | Description |
SessionControllerStubSettings.Builder |
build()
public SessionControllerStubSettings build()
Returns | |
---|---|
Type | Description |
SessionControllerStubSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
createSessionOperationSettings()
public OperationCallSettings.Builder<CreateSessionRequest,Session,SessionOperationMetadata> createSessionOperationSettings()
Returns the builder for the settings used for calls to createSession.
Returns | |
---|---|
Type | Description |
Builder<CreateSessionRequest,Session,SessionOperationMetadata> |
createSessionSettings()
public UnaryCallSettings.Builder<CreateSessionRequest,Operation> createSessionSettings()
Returns the builder for the settings used for calls to createSession.
Returns | |
---|---|
Type | Description |
Builder<CreateSessionRequest,Operation> |
deleteSessionOperationSettings()
public OperationCallSettings.Builder<DeleteSessionRequest,Session,SessionOperationMetadata> deleteSessionOperationSettings()
Returns the builder for the settings used for calls to deleteSession.
Returns | |
---|---|
Type | Description |
Builder<DeleteSessionRequest,Session,SessionOperationMetadata> |
deleteSessionSettings()
public UnaryCallSettings.Builder<DeleteSessionRequest,Operation> deleteSessionSettings()
Returns the builder for the settings used for calls to deleteSession.
Returns | |
---|---|
Type | Description |
Builder<DeleteSessionRequest,Operation> |
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Returns | |
---|---|
Type | Description |
String |
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns | |
---|---|
Type | Description |
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getSessionSettings()
public UnaryCallSettings.Builder<GetSessionRequest,Session> getSessionSettings()
Returns the builder for the settings used for calls to getSession.
Returns | |
---|---|
Type | Description |
Builder<GetSessionRequest,Session> |
listSessionsSettings()
public PagedCallSettings.Builder<ListSessionsRequest,ListSessionsResponse,SessionControllerClient.ListSessionsPagedResponse> listSessionsSettings()
Returns the builder for the settings used for calls to listSessions.
Returns | |
---|---|
Type | Description |
Builder<ListSessionsRequest,ListSessionsResponse,ListSessionsPagedResponse> |
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns | |
---|---|
Type | Description |
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
terminateSessionOperationSettings()
public OperationCallSettings.Builder<TerminateSessionRequest,Session,SessionOperationMetadata> terminateSessionOperationSettings()
Returns the builder for the settings used for calls to terminateSession.
Returns | |
---|---|
Type | Description |
Builder<TerminateSessionRequest,Session,SessionOperationMetadata> |
terminateSessionSettings()
public UnaryCallSettings.Builder<TerminateSessionRequest,Operation> terminateSessionSettings()
Returns the builder for the settings used for calls to terminateSession.
Returns | |
---|---|
Type | Description |
Builder<TerminateSessionRequest,Operation> |
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns | |
---|---|
Type | Description |
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |