@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonRegionOperationStub extends RegionOperationStub
This class is for advanced usage and reflects the underlying API directly.
Modifier and Type | Field and Description |
---|---|
static ApiMethodDescriptor<DeleteRegionOperationHttpRequest,Void> |
deleteRegionOperationMethodDescriptor |
static ApiMethodDescriptor<GetRegionOperationHttpRequest,Operation> |
getRegionOperationMethodDescriptor |
static ApiMethodDescriptor<ListRegionOperationsHttpRequest,OperationList> |
listRegionOperationsMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonRegionOperationStub(RegionOperationStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonRegionOperationStub, using the given settings.
|
protected |
HttpJsonRegionOperationStub(RegionOperationStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRegionOperationStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonRegionOperationStub |
create(ClientContext clientContext) |
static HttpJsonRegionOperationStub |
create(ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory) |
static HttpJsonRegionOperationStub |
create(RegionOperationStubSettings settings) |
UnaryCallable<DeleteRegionOperationHttpRequest,Void> |
deleteRegionOperationCallable() |
UnaryCallable<GetRegionOperationHttpRequest,Operation> |
getRegionOperationCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<ListRegionOperationsHttpRequest,OperationList> |
listRegionOperationsCallable() |
UnaryCallable<ListRegionOperationsHttpRequest,RegionOperationClient.ListRegionOperationsPagedResponse> |
listRegionOperationsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
@InternalApi public static final ApiMethodDescriptor<DeleteRegionOperationHttpRequest,Void> deleteRegionOperationMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetRegionOperationHttpRequest,Operation> getRegionOperationMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<ListRegionOperationsHttpRequest,OperationList> listRegionOperationsMethodDescriptor
protected HttpJsonRegionOperationStub(RegionOperationStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonRegionOperationStub(RegionOperationStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonRegionOperationStub create(RegionOperationStubSettings settings) throws IOException
IOException
public static final HttpJsonRegionOperationStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonRegionOperationStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public UnaryCallable<DeleteRegionOperationHttpRequest,Void> deleteRegionOperationCallable()
deleteRegionOperationCallable
in class RegionOperationStub
@BetaApi public UnaryCallable<GetRegionOperationHttpRequest,Operation> getRegionOperationCallable()
getRegionOperationCallable
in class RegionOperationStub
@BetaApi public UnaryCallable<ListRegionOperationsHttpRequest,RegionOperationClient.ListRegionOperationsPagedResponse> listRegionOperationsPagedCallable()
listRegionOperationsPagedCallable
in class RegionOperationStub
@BetaApi public UnaryCallable<ListRegionOperationsHttpRequest,OperationList> listRegionOperationsCallable()
listRegionOperationsCallable
in class RegionOperationStub
public final void close()
close
in interface AutoCloseable
close
in class RegionOperationStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.