@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonContextsStub extends ContextsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonContextsStub(ContextsStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonContextsStub, using the given settings.
|
protected |
HttpJsonContextsStub(ContextsStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonContextsStub, using the given settings.
|
protected HttpJsonContextsStub(ContextsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonContextsStub(ContextsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonContextsStub create(ContextsStubSettings settings) throws IOException
IOException
public static final HttpJsonContextsStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonContextsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public UnaryCallable<ListContextsRequest,ListContextsResponse> listContextsCallable()
listContextsCallable
in class ContextsStub
public UnaryCallable<ListContextsRequest,ContextsClient.ListContextsPagedResponse> listContextsPagedCallable()
listContextsPagedCallable
in class ContextsStub
public UnaryCallable<GetContextRequest,Context> getContextCallable()
getContextCallable
in class ContextsStub
public UnaryCallable<CreateContextRequest,Context> createContextCallable()
createContextCallable
in class ContextsStub
public UnaryCallable<UpdateContextRequest,Context> updateContextCallable()
updateContextCallable
in class ContextsStub
public UnaryCallable<DeleteContextRequest,Empty> deleteContextCallable()
deleteContextCallable
in class ContextsStub
public UnaryCallable<DeleteAllContextsRequest,Empty> deleteAllContextsCallable()
deleteAllContextsCallable
in class ContextsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable
in class ContextsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,ContextsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable
in class ContextsStub
public UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable
in class ContextsStub
public final void close()
close
in interface AutoCloseable
close
in class ContextsStub
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.