@BetaApi @Generated(value="by gapic-generator-java") public class GrpcProjectServiceStub extends ProjectServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcProjectServiceStub(ProjectServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcProjectServiceStub, using the given settings.
|
protected |
GrpcProjectServiceStub(ProjectServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcProjectServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcProjectServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcProjectServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcProjectServiceStub |
create(ProjectServiceStubSettings settings) |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetProjectRequest,Project> |
getProjectCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ProvisionProjectRequest,com.google.longrunning.Operation> |
provisionProjectCallable() |
com.google.api.gax.rpc.OperationCallable<ProvisionProjectRequest,Project,ProvisionProjectMetadata> |
provisionProjectOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<ReportConsentChangeRequest,Project> |
reportConsentChangeCallable() |
void |
shutdown() |
void |
shutdownNow() |
getHttpJsonOperationsStubprotected GrpcProjectServiceStub(ProjectServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcProjectServiceStub(ProjectServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcProjectServiceStub create(ProjectServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcProjectServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcProjectServiceStub 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 ProjectServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetProjectRequest,Project> getProjectCallable()
getProjectCallable in class ProjectServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ProvisionProjectRequest,com.google.longrunning.Operation> provisionProjectCallable()
provisionProjectCallable in class ProjectServiceStubpublic com.google.api.gax.rpc.OperationCallable<ProvisionProjectRequest,Project,ProvisionProjectMetadata> provisionProjectOperationCallable()
provisionProjectOperationCallable in class ProjectServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ReportConsentChangeRequest,Project> reportConsentChangeCallable()
reportConsentChangeCallable in class ProjectServiceStubpublic final void close()
close in interface AutoCloseableclose in class ProjectServiceStubpublic 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.