@BetaApi @Generated(value="by gapic-generator-java") public class GrpcSystemPolicyV1Beta1Stub extends SystemPolicyV1Beta1Stub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcSystemPolicyV1Beta1Stub(SystemPolicyV1Beta1StubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcSystemPolicyV1Beta1Stub, using the given settings.
|
protected |
GrpcSystemPolicyV1Beta1Stub(SystemPolicyV1Beta1StubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSystemPolicyV1Beta1Stub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcSystemPolicyV1Beta1Stub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcSystemPolicyV1Beta1Stub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcSystemPolicyV1Beta1Stub |
create(SystemPolicyV1Beta1StubSettings settings) |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetSystemPolicyRequest,Policy> |
getSystemPolicyCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcSystemPolicyV1Beta1Stub(SystemPolicyV1Beta1StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcSystemPolicyV1Beta1Stub(SystemPolicyV1Beta1StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcSystemPolicyV1Beta1Stub create(SystemPolicyV1Beta1StubSettings settings) throws IOException
IOExceptionpublic static final GrpcSystemPolicyV1Beta1Stub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcSystemPolicyV1Beta1Stub 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<GetSystemPolicyRequest,Policy> getSystemPolicyCallable()
getSystemPolicyCallable in class SystemPolicyV1Beta1Stubpublic final void close()
close in interface AutoCloseableclose in class SystemPolicyV1Beta1Stubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2022 Google LLC. All rights reserved.