@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonSessionsStub extends SessionsStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonSessionsStub(SessionsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonSessionsStub, using the given settings.
|
protected |
HttpJsonSessionsStub(SessionsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSessionsStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonSessionsStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonSessionsStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonSessionsStub |
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() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
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 HttpJsonSessionsStub(SessionsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonSessionsStub(SessionsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonSessionsStub create(SessionsStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonSessionsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonSessionsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
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.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 com.google.api.gax.rpc.BidiStreamingCallable<StreamingDetectIntentRequest,StreamingDetectIntentResponse> streamingDetectIntentCallable()
streamingDetectIntentCallable 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.