Class SessionServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<SessionServiceStubSettings,SessionServiceStubSettings.Builder>
com.google.cloud.aiplatform.v1beta1.stub.SessionServiceStubSettings.Builder
- Enclosing class:
- SessionServiceStubSettings
public static class SessionServiceStubSettings.Builder
extends StubSettings.Builder<SessionServiceStubSettings,SessionServiceStubSettings.Builder>
Builder for SessionServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(SessionServiceStubSettings settings) -
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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateSession.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 SessionServiceStubSettings.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()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 classStubSettings.Builder<SessionServiceStubSettings,SessionServiceStubSettings.Builder> - Throws:
IOException
-