@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) |
UnaryCallable<CreateFeedRequest,Feed> |
createFeedCallable() |
UnaryCallable<DeleteFeedRequest,Empty> |
deleteFeedCallable() |
UnaryCallable<GetFeedRequest,Feed> |
getFeedCallable() |
static List<ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<ListFeedsRequest,ListFeedsResponse> |
listFeedsCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<UpdateFeedRequest,Feed> |
updateFeedCallable() |
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<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.