@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonAssetServiceStub extends AssetServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonAssetServiceStub(AssetServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonAssetServiceStub, using the given settings.
|
protected |
HttpJsonAssetServiceStub(AssetServiceStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAssetServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonAssetServiceStub |
create(AssetServiceStubSettings settings) |
static HttpJsonAssetServiceStub |
create(ClientContext clientContext) |
static HttpJsonAssetServiceStub |
create(ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory) |
static List<ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<ListAssetsRequest,ListAssetsResponse> |
listAssetsCallable() |
UnaryCallable<ListAssetsRequest,AssetServiceClient.ListAssetsPagedResponse> |
listAssetsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected HttpJsonAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonAssetServiceStub create(AssetServiceStubSettings settings) throws IOException
IOException
public static final HttpJsonAssetServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonAssetServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public UnaryCallable<ListAssetsRequest,ListAssetsResponse> listAssetsCallable()
listAssetsCallable
in class AssetServiceStub
public UnaryCallable<ListAssetsRequest,AssetServiceClient.ListAssetsPagedResponse> listAssetsPagedCallable()
listAssetsPagedCallable
in class AssetServiceStub
public final void close()
close
in interface AutoCloseable
close
in class AssetServiceStub
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.