Class SessionsStub (4.53.0)

See more code actions.
public abstract class SessionsStub implements BackgroundResource

Base stub class for the Sessions service API.

This class is for advanced usage and reflects the underlying API directly.

java.lang.Object > SessionsStub
BackgroundResource

Constructors

SessionsStub()

public SessionsStub()

Methods

close()

public abstract void close()

detectIntentCallable()

public UnaryCallable<DetectIntentRequest,DetectIntentResponse> detectIntentCallable()

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,SessionsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>

streamingDetectIntentCallable()

public BidiStreamingCallable<StreamingDetectIntentRequest,StreamingDetectIntentResponse> streamingDetectIntentCallable()