@Generated(value="by gapic-generator-java") public class GrpcInstanceAdminStub extends InstanceAdminStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcInstanceAdminStub(InstanceAdminStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcInstanceAdminStub, using the given settings.
|
protected |
GrpcInstanceAdminStub(InstanceAdminStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcInstanceAdminStub, using the given settings.
|
protected GrpcInstanceAdminStub(InstanceAdminStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcInstanceAdminStub(InstanceAdminStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcInstanceAdminStub create(InstanceAdminStubSettings settings) throws IOException
IOException
public static final GrpcInstanceAdminStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcInstanceAdminStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
getOperationsStub
in class InstanceAdminStub
public UnaryCallable<ListInstanceConfigsRequest,ListInstanceConfigsResponse> listInstanceConfigsCallable()
listInstanceConfigsCallable
in class InstanceAdminStub
public UnaryCallable<ListInstanceConfigsRequest,InstanceAdminClient.ListInstanceConfigsPagedResponse> listInstanceConfigsPagedCallable()
listInstanceConfigsPagedCallable
in class InstanceAdminStub
public UnaryCallable<GetInstanceConfigRequest,InstanceConfig> getInstanceConfigCallable()
getInstanceConfigCallable
in class InstanceAdminStub
public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
listInstancesCallable
in class InstanceAdminStub
public UnaryCallable<ListInstancesRequest,InstanceAdminClient.ListInstancesPagedResponse> listInstancesPagedCallable()
listInstancesPagedCallable
in class InstanceAdminStub
public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
getInstanceCallable
in class InstanceAdminStub
public UnaryCallable<CreateInstanceRequest,Operation> createInstanceCallable()
createInstanceCallable
in class InstanceAdminStub
public OperationCallable<CreateInstanceRequest,Instance,CreateInstanceMetadata> createInstanceOperationCallable()
createInstanceOperationCallable
in class InstanceAdminStub
public UnaryCallable<UpdateInstanceRequest,Operation> updateInstanceCallable()
updateInstanceCallable
in class InstanceAdminStub
public OperationCallable<UpdateInstanceRequest,Instance,UpdateInstanceMetadata> updateInstanceOperationCallable()
updateInstanceOperationCallable
in class InstanceAdminStub
public UnaryCallable<DeleteInstanceRequest,Empty> deleteInstanceCallable()
deleteInstanceCallable
in class InstanceAdminStub
public UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable
in class InstanceAdminStub
public UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable
in class InstanceAdminStub
public UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable
in class InstanceAdminStub
public final void close()
close
in interface AutoCloseable
close
in class InstanceAdminStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.