Class ContextsStub
- java.lang.Object
-
- com.google.cloud.dialogflow.v2beta1.stub.ContextsStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
- Direct Known Subclasses:
GrpcContextsStub
,HttpJsonContextsStub
@BetaApi @Generated("by gapic-generator-java") public abstract class ContextsStub extends Object implements com.google.api.gax.core.BackgroundResource
Base stub class for the Contexts service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Constructor Description ContextsStub()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
close()
com.google.api.gax.rpc.UnaryCallable<CreateContextRequest,Context>
createContextCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteAllContextsRequest,com.google.protobuf.Empty>
deleteAllContextsCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteContextRequest,com.google.protobuf.Empty>
deleteContextCallable()
com.google.api.gax.rpc.UnaryCallable<GetContextRequest,Context>
getContextCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationCallable()
com.google.api.gax.rpc.UnaryCallable<ListContextsRequest,ListContextsResponse>
listContextsCallable()
com.google.api.gax.rpc.UnaryCallable<ListContextsRequest,ContextsClient.ListContextsPagedResponse>
listContextsPagedCallable()
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,ContextsClient.ListLocationsPagedResponse>
listLocationsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<UpdateContextRequest,Context>
updateContextCallable()
-
-
-
Method Detail
-
listContextsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListContextsRequest,ContextsClient.ListContextsPagedResponse> listContextsPagedCallable()
-
listContextsCallable
public com.google.api.gax.rpc.UnaryCallable<ListContextsRequest,ListContextsResponse> listContextsCallable()
-
getContextCallable
public com.google.api.gax.rpc.UnaryCallable<GetContextRequest,Context> getContextCallable()
-
createContextCallable
public com.google.api.gax.rpc.UnaryCallable<CreateContextRequest,Context> createContextCallable()
-
updateContextCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateContextRequest,Context> updateContextCallable()
-
deleteContextCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteContextRequest,com.google.protobuf.Empty> deleteContextCallable()
-
deleteAllContextsCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteAllContextsRequest,com.google.protobuf.Empty> deleteAllContextsCallable()
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ContextsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
-
close
public abstract void close()
- Specified by:
close
in interfaceAutoCloseable
-
-