Class SessionServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<SessionServiceSettings,SessionServiceSettings.Builder>
com.google.cloud.aiplatform.v1beta1.SessionServiceSettings.Builder
- Enclosing class:
- SessionServiceSettings
public static class SessionServiceSettings.Builder
extends ClientSettings.Builder<SessionServiceSettings,SessionServiceSettings.Builder>
Builder for SessionServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(SessionServiceSettings settings) protectedBuilder(SessionServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to appendEvent.applyToAllUnaryMethods(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.OperationCallSettings.Builder<DeleteSessionRequest,com.google.protobuf.Empty, DeleteOperationMetadata> 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 getLocation.Returns the builder for the settings used for calls to getSession.PagedCallSettings.Builder<ListEventsRequest,ListEventsResponse, SessionServiceClient.ListEventsPagedResponse> Returns the builder for the settings used for calls to listEvents.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, SessionServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListSessionsRequest,ListSessionsResponse, SessionServiceClient.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 testIamPermissions.Returns the builder for the settings used for calls to updateSession.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 SessionServiceSettings.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()CreateSessionOperationMetadata> 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()SessionServiceClient.ListSessionsPagedResponse> Returns the builder for the settings used for calls to listSessions. -
updateSessionSettings
Returns the builder for the settings used for calls to updateSession. -
deleteSessionSettings
Returns the builder for the settings used for calls to deleteSession. -
deleteSessionOperationSettings
public OperationCallSettings.Builder<DeleteSessionRequest,com.google.protobuf.Empty, deleteSessionOperationSettings()DeleteOperationMetadata> Returns the builder for the settings used for calls to deleteSession. -
listEventsSettings
public PagedCallSettings.Builder<ListEventsRequest,ListEventsResponse, listEventsSettings()SessionServiceClient.ListEventsPagedResponse> Returns the builder for the settings used for calls to listEvents. -
appendEventSettings
Returns the builder for the settings used for calls to appendEvent. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()SessionServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
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<SessionServiceSettings,SessionServiceSettings.Builder> - Throws:
IOException
-