@Generated(value="by gapic-generator-java") public class GrpcLookupServiceStub extends LookupServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcLookupServiceStub(LookupServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcLookupServiceStub, using the given settings.
|
protected |
GrpcLookupServiceStub(LookupServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcLookupServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcLookupServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcLookupServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcLookupServiceStub |
create(LookupServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
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,LookupServiceClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ResolveServiceRequest,ResolveServiceResponse> |
resolveServiceCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcLookupServiceStub(LookupServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcLookupServiceStub(LookupServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcLookupServiceStub create(LookupServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcLookupServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcLookupServiceStub 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<ResolveServiceRequest,ResolveServiceResponse> resolveServiceCallable()
resolveServiceCallable in class LookupServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class LookupServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,LookupServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class LookupServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class LookupServiceStubpublic final void close()
close in interface AutoCloseableclose in class LookupServiceStubpublic 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.