@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") 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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcInstanceAdminStub |
create(ClientContext clientContext) |
static GrpcInstanceAdminStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcInstanceAdminStub |
create(InstanceAdminStubSettings settings) |
UnaryCallable<com.google.spanner.admin.instance.v1.CreateInstanceRequest,Operation> |
createInstanceCallable() |
OperationCallable<com.google.spanner.admin.instance.v1.CreateInstanceRequest,com.google.spanner.admin.instance.v1.Instance,com.google.spanner.admin.instance.v1.CreateInstanceMetadata> |
createInstanceOperationCallable() |
UnaryCallable<com.google.spanner.admin.instance.v1.DeleteInstanceRequest,Empty> |
deleteInstanceCallable() |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
UnaryCallable<com.google.spanner.admin.instance.v1.GetInstanceRequest,com.google.spanner.admin.instance.v1.Instance> |
getInstanceCallable() |
UnaryCallable<com.google.spanner.admin.instance.v1.GetInstanceConfigRequest,com.google.spanner.admin.instance.v1.InstanceConfig> |
getInstanceConfigCallable() |
GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse> |
listInstanceConfigsCallable() |
UnaryCallable<com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,InstanceAdminClient.ListInstanceConfigsPagedResponse> |
listInstanceConfigsPagedCallable() |
UnaryCallable<com.google.spanner.admin.instance.v1.ListInstancesRequest,com.google.spanner.admin.instance.v1.ListInstancesResponse> |
listInstancesCallable() |
UnaryCallable<com.google.spanner.admin.instance.v1.ListInstancesRequest,InstanceAdminClient.ListInstancesPagedResponse> |
listInstancesPagedCallable() |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicyCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsCallable() |
UnaryCallable<com.google.spanner.admin.instance.v1.UpdateInstanceRequest,Operation> |
updateInstanceCallable() |
OperationCallable<com.google.spanner.admin.instance.v1.UpdateInstanceRequest,com.google.spanner.admin.instance.v1.Instance,com.google.spanner.admin.instance.v1.UpdateInstanceMetadata> |
updateInstanceOperationCallable() |
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
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public GrpcOperationsStub getOperationsStub()
getOperationsStub
in class InstanceAdminStub
public UnaryCallable<com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,InstanceAdminClient.ListInstanceConfigsPagedResponse> listInstanceConfigsPagedCallable()
listInstanceConfigsPagedCallable
in class InstanceAdminStub
public UnaryCallable<com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse> listInstanceConfigsCallable()
listInstanceConfigsCallable
in class InstanceAdminStub
public UnaryCallable<com.google.spanner.admin.instance.v1.GetInstanceConfigRequest,com.google.spanner.admin.instance.v1.InstanceConfig> getInstanceConfigCallable()
getInstanceConfigCallable
in class InstanceAdminStub
public UnaryCallable<com.google.spanner.admin.instance.v1.ListInstancesRequest,InstanceAdminClient.ListInstancesPagedResponse> listInstancesPagedCallable()
listInstancesPagedCallable
in class InstanceAdminStub
public UnaryCallable<com.google.spanner.admin.instance.v1.ListInstancesRequest,com.google.spanner.admin.instance.v1.ListInstancesResponse> listInstancesCallable()
listInstancesCallable
in class InstanceAdminStub
public UnaryCallable<com.google.spanner.admin.instance.v1.GetInstanceRequest,com.google.spanner.admin.instance.v1.Instance> getInstanceCallable()
getInstanceCallable
in class InstanceAdminStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.spanner.admin.instance.v1.CreateInstanceRequest,com.google.spanner.admin.instance.v1.Instance,com.google.spanner.admin.instance.v1.CreateInstanceMetadata> createInstanceOperationCallable()
createInstanceOperationCallable
in class InstanceAdminStub
public UnaryCallable<com.google.spanner.admin.instance.v1.CreateInstanceRequest,Operation> createInstanceCallable()
createInstanceCallable
in class InstanceAdminStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.spanner.admin.instance.v1.UpdateInstanceRequest,com.google.spanner.admin.instance.v1.Instance,com.google.spanner.admin.instance.v1.UpdateInstanceMetadata> updateInstanceOperationCallable()
updateInstanceOperationCallable
in class InstanceAdminStub
public UnaryCallable<com.google.spanner.admin.instance.v1.UpdateInstanceRequest,Operation> updateInstanceCallable()
updateInstanceCallable
in class InstanceAdminStub
public UnaryCallable<com.google.spanner.admin.instance.v1.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 © 2019 Google LLC. All rights reserved.