@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,
ClientContext clientContext)
Constructs an instance of HttpJsonSessionsStub, using the given settings.
|
protected |
HttpJsonSessionsStub(SessionsStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSessionsStub, using the given settings.
|
streamingDetectIntentCallable
protected HttpJsonSessionsStub(SessionsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonSessionsStub(SessionsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonSessionsStub create(SessionsStubSettings settings) throws IOException
IOException
public static final HttpJsonSessionsStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonSessionsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public UnaryCallable<DetectIntentRequest,DetectIntentResponse> detectIntentCallable()
detectIntentCallable
in class SessionsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable
in class SessionsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,SessionsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable
in class SessionsStub
public UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable
in class SessionsStub
public final void close()
close
in interface AutoCloseable
close
in class SessionsStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.