Class SessionServiceStubSettings.Builder (3.64.0)

public static class SessionServiceStubSettings.Builder extends StubSettings.Builder,SessionServiceStubSettings.Builder>

Builder for SessionServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SessionServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SessionServiceStubSettings settings)

protected Builder(SessionServiceStubSettings settings)
Parameter
Name Description
settings SessionServiceStubSettings

Methods

appendEventSettings()

public UnaryCallSettings.Builder,AppendEventResponse> appendEventSettings()

Returns the builder for the settings used for calls to appendEvent.

Returns
Type Description
Builder<AppendEventRequest,AppendEventResponse>

applyToAllUnaryMethods(ApiFunction,Void> settingsUpdater)

public SessionServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction.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
SessionServiceStubSettings.Builder

build()

public SessionServiceStubSettings build()
Returns
Type Description
SessionServiceStubSettings
Overrides
Exceptions
Type Description
IOException

createSessionOperationSettings()

public OperationCallSettings.Builder,Session,CreateSessionOperationMetadata> createSessionOperationSettings()

Returns the builder for the settings used for calls to createSession.

Returns
Type Description
Builder<CreateSessionRequest,Session,CreateSessionOperationMetadata>

createSessionSettings()

public UnaryCallSettings.Builder,Operation> createSessionSettings()

Returns the builder for the settings used for calls to createSession.

Returns
Type Description
Builder<CreateSessionRequest,Operation>

deleteSessionOperationSettings()

public OperationCallSettings.Builder,Empty,DeleteOperationMetadata> deleteSessionOperationSettings()

Returns the builder for the settings used for calls to deleteSession.

Returns
Type Description
Builder<DeleteSessionRequest,Empty,DeleteOperationMetadata>

deleteSessionSettings()

public UnaryCallSettings.Builder,Operation> deleteSessionSettings()

Returns the builder for the settings used for calls to deleteSession.

Returns
Type Description
Builder<DeleteSessionRequest,Operation>

getIamPolicySettings()

public UnaryCallSettings.Builder,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>

getLocationSettings()

public UnaryCallSettings.Builder,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getSessionSettings()

public UnaryCallSettings.Builder,Session> getSessionSettings()

Returns the builder for the settings used for calls to getSession.

Returns
Type Description
Builder<GetSessionRequest,Session>

listEventsSettings()

public PagedCallSettings.Builder,ListEventsResponse,SessionServiceClient.ListEventsPagedResponse> listEventsSettings()

Returns the builder for the settings used for calls to listEvents.

Returns
Type Description
Builder<ListEventsRequest,ListEventsResponse,ListEventsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder,ListLocationsResponse,SessionServiceClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listSessionsSettings()

public PagedCallSettings.Builder,ListSessionsResponse,SessionServiceClient.ListSessionsPagedResponse> listSessionsSettings()

Returns the builder for the settings used for calls to listSessions.

Returns
Type Description
Builder<ListSessionsRequest,ListSessionsResponse,ListSessionsPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder,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>

testIamPermissionsSettings()

public UnaryCallSettings.Builder,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.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateSessionSettings()

public UnaryCallSettings.Builder,Session> updateSessionSettings()

Returns the builder for the settings used for calls to updateSession.

Returns
Type Description
Builder<UpdateSessionRequest,Session>