@Generated(value="by gapic-generator-java") public class GrpcMetadataServiceStub extends MetadataServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcMetadataServiceStub(MetadataServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcMetadataServiceStub, using the given settings.
|
protected |
GrpcMetadataServiceStub(MetadataServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcMetadataServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcMetadataServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcMetadataServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcMetadataServiceStub |
create(MetadataServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateEntityRequest,Entity> |
createEntityCallable() |
com.google.api.gax.rpc.UnaryCallable<CreatePartitionRequest,Partition> |
createPartitionCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteEntityRequest,com.google.protobuf.Empty> |
deleteEntityCallable() |
com.google.api.gax.rpc.UnaryCallable<DeletePartitionRequest,com.google.protobuf.Empty> |
deletePartitionCallable() |
com.google.api.gax.rpc.UnaryCallable<GetEntityRequest,Entity> |
getEntityCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetPartitionRequest,Partition> |
getPartitionCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListEntitiesRequest,ListEntitiesResponse> |
listEntitiesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListEntitiesRequest,MetadataServiceClient.ListEntitiesPagedResponse> |
listEntitiesPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,MetadataServiceClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListPartitionsRequest,ListPartitionsResponse> |
listPartitionsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListPartitionsRequest,MetadataServiceClient.ListPartitionsPagedResponse> |
listPartitionsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateEntityRequest,Entity> |
updateEntityCallable() |
protected GrpcMetadataServiceStub(MetadataServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcMetadataServiceStub(MetadataServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcMetadataServiceStub create(MetadataServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcMetadataServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcMetadataServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<CreateEntityRequest,Entity> createEntityCallable()
createEntityCallable in class MetadataServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateEntityRequest,Entity> updateEntityCallable()
updateEntityCallable in class MetadataServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteEntityRequest,com.google.protobuf.Empty> deleteEntityCallable()
deleteEntityCallable in class MetadataServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetEntityRequest,Entity> getEntityCallable()
getEntityCallable in class MetadataServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListEntitiesRequest,ListEntitiesResponse> listEntitiesCallable()
listEntitiesCallable in class MetadataServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListEntitiesRequest,MetadataServiceClient.ListEntitiesPagedResponse> listEntitiesPagedCallable()
listEntitiesPagedCallable in class MetadataServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreatePartitionRequest,Partition> createPartitionCallable()
createPartitionCallable in class MetadataServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeletePartitionRequest,com.google.protobuf.Empty> deletePartitionCallable()
deletePartitionCallable in class MetadataServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetPartitionRequest,Partition> getPartitionCallable()
getPartitionCallable in class MetadataServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListPartitionsRequest,ListPartitionsResponse> listPartitionsCallable()
listPartitionsCallable in class MetadataServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListPartitionsRequest,MetadataServiceClient.ListPartitionsPagedResponse> listPartitionsPagedCallable()
listPartitionsPagedCallable in class MetadataServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class MetadataServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,MetadataServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class MetadataServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class MetadataServiceStubpublic final void close()
close in interface AutoCloseableclose in class MetadataServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2023 Google LLC. All rights reserved.