@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonRegionDiskTypeStub extends RegionDiskTypeStub
This class is for advanced usage and reflects the underlying API directly.
Modifier and Type | Field and Description |
---|---|
static com.google.api.gax.httpjson.ApiMethodDescriptor<GetRegionDiskTypeHttpRequest,DiskType> |
getRegionDiskTypeMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<ListRegionDiskTypesHttpRequest,RegionDiskTypeList> |
listRegionDiskTypesMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonRegionDiskTypeStub(RegionDiskTypeStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonRegionDiskTypeStub, using the given settings.
|
protected |
HttpJsonRegionDiskTypeStub(RegionDiskTypeStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRegionDiskTypeStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonRegionDiskTypeStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonRegionDiskTypeStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonRegionDiskTypeStub |
create(RegionDiskTypeStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<GetRegionDiskTypeHttpRequest,DiskType> |
getRegionDiskTypeCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListRegionDiskTypesHttpRequest,RegionDiskTypeList> |
listRegionDiskTypesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListRegionDiskTypesHttpRequest,RegionDiskTypeClient.ListRegionDiskTypesPagedResponse> |
listRegionDiskTypesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetRegionDiskTypeHttpRequest,DiskType> getRegionDiskTypeMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListRegionDiskTypesHttpRequest,RegionDiskTypeList> listRegionDiskTypesMethodDescriptor
protected HttpJsonRegionDiskTypeStub(RegionDiskTypeStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonRegionDiskTypeStub(RegionDiskTypeStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonRegionDiskTypeStub create(RegionDiskTypeStubSettings settings) throws IOException
IOException
public static final HttpJsonRegionDiskTypeStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonRegionDiskTypeStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetRegionDiskTypeHttpRequest,DiskType> getRegionDiskTypeCallable()
getRegionDiskTypeCallable
in class RegionDiskTypeStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListRegionDiskTypesHttpRequest,RegionDiskTypeClient.ListRegionDiskTypesPagedResponse> listRegionDiskTypesPagedCallable()
listRegionDiskTypesPagedCallable
in class RegionDiskTypeStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListRegionDiskTypesHttpRequest,RegionDiskTypeList> listRegionDiskTypesCallable()
listRegionDiskTypesCallable
in class RegionDiskTypeStub
public final void close()
close
in interface AutoCloseable
close
in class RegionDiskTypeStub
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.