@BetaApi @Generated(value="by gapic-generator-java") 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) |
void |
close() |
static GrpcAssetServiceStub |
create(AssetServiceStubSettings settings) |
static GrpcAssetServiceStub |
create(ClientContext clientContext) |
static GrpcAssetServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
UnaryCallable<CreateFeedRequest,Feed> |
createFeedCallable() |
UnaryCallable<DeleteFeedRequest,Empty> |
deleteFeedCallable() |
UnaryCallable<GetFeedRequest,Feed> |
getFeedCallable() |
GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<ListFeedsRequest,ListFeedsResponse> |
listFeedsCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<UpdateFeedRequest,Feed> |
updateFeedCallable() |
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
public GrpcOperationsStub getOperationsStub()
public UnaryCallable<CreateFeedRequest,Feed> createFeedCallable()
createFeedCallable
in class AssetServiceStub
public UnaryCallable<GetFeedRequest,Feed> getFeedCallable()
getFeedCallable
in class AssetServiceStub
public UnaryCallable<ListFeedsRequest,ListFeedsResponse> listFeedsCallable()
listFeedsCallable
in class AssetServiceStub
public UnaryCallable<UpdateFeedRequest,Feed> updateFeedCallable()
updateFeedCallable
in class AssetServiceStub
public 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 © 2022 Google LLC. All rights reserved.