@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,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcAssetServiceStub, using the given settings.
|
protected |
GrpcAssetServiceStub(AssetServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAssetServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
com.google.api.gax.rpc.UnaryCallable<BatchGetAssetsHistoryRequest,BatchGetAssetsHistoryResponse> |
batchGetAssetsHistoryCallable() |
void |
close() |
static GrpcAssetServiceStub |
create(AssetServiceStubSettings settings) |
static GrpcAssetServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcAssetServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
com.google.api.gax.rpc.UnaryCallable<CreateFeedRequest,Feed> |
createFeedCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteFeedRequest,Empty> |
deleteFeedCallable() |
com.google.api.gax.rpc.UnaryCallable<ExportAssetsRequest,com.google.longrunning.Operation> |
exportAssetsCallable() |
com.google.api.gax.rpc.OperationCallable<ExportAssetsRequest,ExportAssetsResponse,ExportAssetsRequest> |
exportAssetsOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<GetFeedRequest,Feed> |
getFeedCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListFeedsRequest,ListFeedsResponse> |
listFeedsCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateFeedRequest,Feed> |
updateFeedCallable() |
protected GrpcAssetServiceStub(AssetServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcAssetServiceStub(AssetServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcAssetServiceStub create(AssetServiceStubSettings settings) throws IOException
IOException
public static final GrpcAssetServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcAssetServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.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 com.google.longrunning.stub.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 com.google.api.gax.rpc.OperationCallable<ExportAssetsRequest,ExportAssetsResponse,ExportAssetsRequest> exportAssetsOperationCallable()
exportAssetsOperationCallable
in class AssetServiceStub
public com.google.api.gax.rpc.UnaryCallable<ExportAssetsRequest,com.google.longrunning.Operation> exportAssetsCallable()
exportAssetsCallable
in class AssetServiceStub
public com.google.api.gax.rpc.UnaryCallable<BatchGetAssetsHistoryRequest,BatchGetAssetsHistoryResponse> batchGetAssetsHistoryCallable()
batchGetAssetsHistoryCallable
in class AssetServiceStub
public com.google.api.gax.rpc.UnaryCallable<CreateFeedRequest,Feed> createFeedCallable()
createFeedCallable
in class AssetServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetFeedRequest,Feed> getFeedCallable()
getFeedCallable
in class AssetServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListFeedsRequest,ListFeedsResponse> listFeedsCallable()
listFeedsCallable
in class AssetServiceStub
public com.google.api.gax.rpc.UnaryCallable<UpdateFeedRequest,Feed> updateFeedCallable()
updateFeedCallable
in class AssetServiceStub
public com.google.api.gax.rpc.UnaryCallable<DeleteFeedRequest,Empty> deleteFeedCallable()
deleteFeedCallable
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.