@BetaApi @Generated(value="by gapic-generator-java") public class GrpcCatalogServiceStub extends CatalogServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcCatalogServiceStub(CatalogServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcCatalogServiceStub, using the given settings.
|
protected |
GrpcCatalogServiceStub(CatalogServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcCatalogServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcCatalogServiceStub |
create(CatalogServiceStubSettings settings) |
static GrpcCatalogServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcCatalogServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
com.google.api.gax.rpc.UnaryCallable<CreateCatalogItemRequest,CatalogItem> |
createCatalogItemCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteCatalogItemRequest,com.google.protobuf.Empty> |
deleteCatalogItemCallable() |
com.google.api.gax.rpc.UnaryCallable<GetCatalogItemRequest,CatalogItem> |
getCatalogItemCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<ImportCatalogItemsRequest,com.google.longrunning.Operation> |
importCatalogItemsCallable() |
com.google.api.gax.rpc.OperationCallable<ImportCatalogItemsRequest,ImportCatalogItemsResponse,ImportMetadata> |
importCatalogItemsOperationCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListCatalogItemsRequest,ListCatalogItemsResponse> |
listCatalogItemsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListCatalogItemsRequest,CatalogServiceClient.ListCatalogItemsPagedResponse> |
listCatalogItemsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateCatalogItemRequest,CatalogItem> |
updateCatalogItemCallable() |
getHttpJsonOperationsStubprotected GrpcCatalogServiceStub(CatalogServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcCatalogServiceStub(CatalogServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcCatalogServiceStub create(CatalogServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcCatalogServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcCatalogServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class CatalogServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateCatalogItemRequest,CatalogItem> createCatalogItemCallable()
createCatalogItemCallable in class CatalogServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetCatalogItemRequest,CatalogItem> getCatalogItemCallable()
getCatalogItemCallable in class CatalogServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListCatalogItemsRequest,ListCatalogItemsResponse> listCatalogItemsCallable()
listCatalogItemsCallable in class CatalogServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListCatalogItemsRequest,CatalogServiceClient.ListCatalogItemsPagedResponse> listCatalogItemsPagedCallable()
listCatalogItemsPagedCallable in class CatalogServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateCatalogItemRequest,CatalogItem> updateCatalogItemCallable()
updateCatalogItemCallable in class CatalogServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteCatalogItemRequest,com.google.protobuf.Empty> deleteCatalogItemCallable()
deleteCatalogItemCallable in class CatalogServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ImportCatalogItemsRequest,com.google.longrunning.Operation> importCatalogItemsCallable()
importCatalogItemsCallable in class CatalogServiceStubpublic com.google.api.gax.rpc.OperationCallable<ImportCatalogItemsRequest,ImportCatalogItemsResponse,ImportMetadata> importCatalogItemsOperationCallable()
importCatalogItemsOperationCallable in class CatalogServiceStubpublic final void close()
close in interface AutoCloseableclose in class CatalogServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.