@Generated(value="by gapic-generator-java") public class GrpcSessionsStub extends SessionsStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcSessionsStub(SessionsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcSessionsStub, using the given settings.
|
protected |
GrpcSessionsStub(SessionsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSessionsStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcSessionsStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcSessionsStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcSessionsStub |
create(SessionsStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<DetectIntentRequest,DetectIntentResponse> |
detectIntentCallable() |
com.google.api.gax.rpc.UnaryCallable<FulfillIntentRequest,FulfillIntentResponse> |
fulfillIntentCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,SessionsClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<MatchIntentRequest,MatchIntentResponse> |
matchIntentCallable() |
com.google.api.gax.rpc.ServerStreamingCallable<DetectIntentRequest,DetectIntentResponse> |
serverStreamingDetectIntentCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.BidiStreamingCallable<StreamingDetectIntentRequest,StreamingDetectIntentResponse> |
streamingDetectIntentCallable() |
com.google.api.gax.rpc.UnaryCallable<SubmitAnswerFeedbackRequest,AnswerFeedback> |
submitAnswerFeedbackCallable() |
protected GrpcSessionsStub(SessionsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcSessionsStub(SessionsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcSessionsStub create(SessionsStubSettings settings) throws IOException
IOExceptionpublic static final GrpcSessionsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcSessionsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<DetectIntentRequest,DetectIntentResponse> detectIntentCallable()
detectIntentCallable in class SessionsStubpublic com.google.api.gax.rpc.ServerStreamingCallable<DetectIntentRequest,DetectIntentResponse> serverStreamingDetectIntentCallable()
serverStreamingDetectIntentCallable in class SessionsStubpublic com.google.api.gax.rpc.BidiStreamingCallable<StreamingDetectIntentRequest,StreamingDetectIntentResponse> streamingDetectIntentCallable()
streamingDetectIntentCallable in class SessionsStubpublic com.google.api.gax.rpc.UnaryCallable<MatchIntentRequest,MatchIntentResponse> matchIntentCallable()
matchIntentCallable in class SessionsStubpublic com.google.api.gax.rpc.UnaryCallable<FulfillIntentRequest,FulfillIntentResponse> fulfillIntentCallable()
fulfillIntentCallable in class SessionsStubpublic com.google.api.gax.rpc.UnaryCallable<SubmitAnswerFeedbackRequest,AnswerFeedback> submitAnswerFeedbackCallable()
submitAnswerFeedbackCallable in class SessionsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class SessionsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,SessionsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class SessionsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class SessionsStubpublic final void close()
close in interface AutoCloseableclose in class SessionsStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.