public static class SessionServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<SessionServiceStubSettings,SessionServiceStubSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(SessionServiceStubSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.UnaryCallSettings.Builder<AppendEventRequest,AppendEventResponse> |
appendEventSettings()
Returns the builder for the settings used for calls to appendEvent.
|
SessionServiceStubSettings.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.
|
SessionServiceStubSettings |
build() |
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateSessionRequest,Session,CreateSessionOperationMetadata> |
createSessionOperationSettings()
Returns the builder for the settings used for calls to createSession.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSessionRequest,com.google.longrunning.Operation> |
createSessionSettings()
Returns the builder for the settings used for calls to createSession.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteSessionRequest,com.google.protobuf.Empty,DeleteOperationMetadata> |
deleteSessionOperationSettings()
Returns the builder for the settings used for calls to deleteSession.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSessionRequest,com.google.longrunning.Operation> |
deleteSessionSettings()
Returns the builder for the settings used for calls to deleteSession.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSessionRequest,Session> |
getSessionSettings()
Returns the builder for the settings used for calls to getSession.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListEventsRequest,ListEventsResponse,SessionServiceClient.ListEventsPagedResponse> |
listEventsSettings()
Returns the builder for the settings used for calls to listEvents.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,SessionServiceClient.ListLocationsPagedResponse> |
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListSessionsRequest,ListSessionsResponse,SessionServiceClient.ListSessionsPagedResponse> |
listSessionsSettings()
Returns the builder for the settings used for calls to listSessions.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
|
com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSessionRequest,Session> |
updateSessionSettings()
Returns the builder for the settings used for calls to updateSession.
|
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, toStringprotected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(SessionServiceStubSettings settings)
public SessionServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSessionRequest,com.google.longrunning.Operation> createSessionSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateSessionRequest,Session,CreateSessionOperationMetadata> createSessionOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSessionRequest,Session> getSessionSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSessionsRequest,ListSessionsResponse,SessionServiceClient.ListSessionsPagedResponse> listSessionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSessionRequest,Session> updateSessionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSessionRequest,com.google.longrunning.Operation> deleteSessionSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteSessionRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteSessionOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListEventsRequest,ListEventsResponse,SessionServiceClient.ListEventsPagedResponse> listEventsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AppendEventRequest,AppendEventResponse> appendEventSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,SessionServiceClient.ListLocationsPagedResponse> listLocationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public SessionServiceStubSettings build() throws IOException
build in class com.google.api.gax.rpc.StubSettings.Builder<SessionServiceStubSettings,SessionServiceStubSettings.Builder>IOExceptionCopyright © 2025 Google LLC. All rights reserved.