Class ContextsStub (4.18.0)

public abstract class ContextsStub implements BackgroundResource

Base stub class for the Contexts service API.

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

Inheritance

java.lang.Object > ContextsStub

Implements

BackgroundResource

Constructors

ContextsStub()

public ContextsStub()

Methods

close()

public abstract void close()

createContextCallable()

public UnaryCallable<CreateContextRequest,Context> createContextCallable()
Returns
TypeDescription
UnaryCallable<CreateContextRequest,Context>

deleteAllContextsCallable()

public UnaryCallable<DeleteAllContextsRequest,Empty> deleteAllContextsCallable()
Returns
TypeDescription
UnaryCallable<DeleteAllContextsRequest,Empty>

deleteContextCallable()

public UnaryCallable<DeleteContextRequest,Empty> deleteContextCallable()
Returns
TypeDescription
UnaryCallable<DeleteContextRequest,Empty>

getContextCallable()

public UnaryCallable<GetContextRequest,Context> getContextCallable()
Returns
TypeDescription
UnaryCallable<GetContextRequest,Context>

getLocationCallable()

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

listContextsCallable()

public UnaryCallable<ListContextsRequest,ListContextsResponse> listContextsCallable()
Returns
TypeDescription
UnaryCallable<ListContextsRequest,ListContextsResponse>

listContextsPagedCallable()

public UnaryCallable<ListContextsRequest,ContextsClient.ListContextsPagedResponse> listContextsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListContextsRequest,ListContextsPagedResponse>

listLocationsCallable()

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

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,ContextsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>

updateContextCallable()

public UnaryCallable<UpdateContextRequest,Context> updateContextCallable()
Returns
TypeDescription
UnaryCallable<UpdateContextRequest,Context>