@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonDiskTypeStub extends DiskTypeStub
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<AggregatedListDiskTypesHttpRequest,DiskTypeAggregatedList> |
aggregatedListDiskTypesMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<GetDiskTypeHttpRequest,DiskType> |
getDiskTypeMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<ListDiskTypesHttpRequest,DiskTypeList> |
listDiskTypesMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonDiskTypeStub(DiskTypeStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonDiskTypeStub, using the given settings.
|
protected |
HttpJsonDiskTypeStub(DiskTypeStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonDiskTypeStub, using the given settings.
|
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<AggregatedListDiskTypesHttpRequest,DiskTypeAggregatedList> aggregatedListDiskTypesMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetDiskTypeHttpRequest,DiskType> getDiskTypeMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListDiskTypesHttpRequest,DiskTypeList> listDiskTypesMethodDescriptor
protected HttpJsonDiskTypeStub(DiskTypeStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonDiskTypeStub(DiskTypeStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonDiskTypeStub create(DiskTypeStubSettings settings) throws IOException
IOException
public static final HttpJsonDiskTypeStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonDiskTypeStub 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<AggregatedListDiskTypesHttpRequest,DiskTypeClient.AggregatedListDiskTypesPagedResponse> aggregatedListDiskTypesPagedCallable()
aggregatedListDiskTypesPagedCallable
in class DiskTypeStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<AggregatedListDiskTypesHttpRequest,DiskTypeAggregatedList> aggregatedListDiskTypesCallable()
aggregatedListDiskTypesCallable
in class DiskTypeStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetDiskTypeHttpRequest,DiskType> getDiskTypeCallable()
getDiskTypeCallable
in class DiskTypeStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListDiskTypesHttpRequest,DiskTypeClient.ListDiskTypesPagedResponse> listDiskTypesPagedCallable()
listDiskTypesPagedCallable
in class DiskTypeStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListDiskTypesHttpRequest,DiskTypeList> listDiskTypesCallable()
listDiskTypesCallable
in class DiskTypeStub
public final void close()
close
in interface AutoCloseable
close
in class DiskTypeStub
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.