@BetaApi @Generated(value="by gapic-generator-java") public class GrpcGeneratorsStub extends GeneratorsStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcGeneratorsStub(GeneratorsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcGeneratorsStub, using the given settings.
|
protected |
GrpcGeneratorsStub(GeneratorsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcGeneratorsStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcGeneratorsStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcGeneratorsStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcGeneratorsStub |
create(GeneratorsStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateGeneratorRequest,Generator> |
createGeneratorCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteGeneratorRequest,com.google.protobuf.Empty> |
deleteGeneratorCallable() |
com.google.api.gax.rpc.UnaryCallable<GetGeneratorRequest,Generator> |
getGeneratorCallable() |
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<ListGeneratorsRequest,ListGeneratorsResponse> |
listGeneratorsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListGeneratorsRequest,GeneratorsClient.ListGeneratorsPagedResponse> |
listGeneratorsPagedCallable() |
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,GeneratorsClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateGeneratorRequest,Generator> |
updateGeneratorCallable() |
protected GrpcGeneratorsStub(GeneratorsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcGeneratorsStub(GeneratorsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcGeneratorsStub create(GeneratorsStubSettings settings) throws IOException
IOExceptionpublic static final GrpcGeneratorsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcGeneratorsStub 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<ListGeneratorsRequest,ListGeneratorsResponse> listGeneratorsCallable()
listGeneratorsCallable in class GeneratorsStubpublic com.google.api.gax.rpc.UnaryCallable<ListGeneratorsRequest,GeneratorsClient.ListGeneratorsPagedResponse> listGeneratorsPagedCallable()
listGeneratorsPagedCallable in class GeneratorsStubpublic com.google.api.gax.rpc.UnaryCallable<GetGeneratorRequest,Generator> getGeneratorCallable()
getGeneratorCallable in class GeneratorsStubpublic com.google.api.gax.rpc.UnaryCallable<CreateGeneratorRequest,Generator> createGeneratorCallable()
createGeneratorCallable in class GeneratorsStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateGeneratorRequest,Generator> updateGeneratorCallable()
updateGeneratorCallable in class GeneratorsStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteGeneratorRequest,com.google.protobuf.Empty> deleteGeneratorCallable()
deleteGeneratorCallable in class GeneratorsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class GeneratorsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,GeneratorsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class GeneratorsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class GeneratorsStubpublic final void close()
close in interface AutoCloseableclose in class GeneratorsStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.