@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcAssetServiceStub extends AssetServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcAssetServiceStub(AssetServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcAssetServiceStub, using the given settings.
|
protected |
GrpcAssetServiceStub(AssetServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAssetServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
UnaryCallable<com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest,com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse> |
batchGetAssetsHistoryCallable() |
void |
close() |
static GrpcAssetServiceStub |
create(AssetServiceStubSettings settings) |
static GrpcAssetServiceStub |
create(ClientContext clientContext) |
static GrpcAssetServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
UnaryCallable<com.google.cloud.asset.v1.ExportAssetsRequest,Operation> |
exportAssetsCallable() |
OperationCallable<com.google.cloud.asset.v1.ExportAssetsRequest,com.google.cloud.asset.v1.ExportAssetsResponse,com.google.cloud.asset.v1.ExportAssetsRequest> |
exportAssetsOperationCallable() |
GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcAssetServiceStub create(AssetServiceStubSettings settings) throws IOException
IOException
public static final GrpcAssetServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcAssetServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public GrpcOperationsStub getOperationsStub()
getOperationsStub
in class AssetServiceStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.asset.v1.ExportAssetsRequest,com.google.cloud.asset.v1.ExportAssetsResponse,com.google.cloud.asset.v1.ExportAssetsRequest> exportAssetsOperationCallable()
exportAssetsOperationCallable
in class AssetServiceStub
public UnaryCallable<com.google.cloud.asset.v1.ExportAssetsRequest,Operation> exportAssetsCallable()
exportAssetsCallable
in class AssetServiceStub
public UnaryCallable<com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest,com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse> batchGetAssetsHistoryCallable()
batchGetAssetsHistoryCallable
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 © 2019 Google LLC. All rights reserved.