Class GrpcInstanceAdminStub (6.71.0)

public class GrpcInstanceAdminStub extends InstanceAdminStub

gRPC stub implementation for the InstanceAdmin service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > InstanceAdminStub > GrpcInstanceAdminStub

Static Methods

create(ClientContext clientContext)

public static final GrpcInstanceAdminStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcInstanceAdminStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcInstanceAdminStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcInstanceAdminStub
Exceptions
Type Description
IOException

create(InstanceAdminStubSettings settings)

public static final GrpcInstanceAdminStub create(InstanceAdminStubSettings settings)
Parameter
Name Description
settings InstanceAdminStubSettings
Returns
Type Description
GrpcInstanceAdminStub
Exceptions
Type Description
IOException

Constructors

GrpcInstanceAdminStub(InstanceAdminStubSettings settings, ClientContext clientContext)

protected GrpcInstanceAdminStub(InstanceAdminStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcInstanceAdminStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings InstanceAdminStubSettings
clientContext ClientContext

GrpcInstanceAdminStub(InstanceAdminStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcInstanceAdminStub(InstanceAdminStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcInstanceAdminStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings InstanceAdminStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createInstanceCallable()

public UnaryCallable<CreateInstanceRequest,Operation> createInstanceCallable()
Returns
Type Description
UnaryCallable<CreateInstanceRequest,Operation>
Overrides

createInstanceConfigCallable()

public UnaryCallable<CreateInstanceConfigRequest,Operation> createInstanceConfigCallable()
Returns
Type Description
UnaryCallable<CreateInstanceConfigRequest,Operation>
Overrides

createInstanceConfigOperationCallable()

public OperationCallable<CreateInstanceConfigRequest,InstanceConfig,CreateInstanceConfigMetadata> createInstanceConfigOperationCallable()
Returns
Type Description
OperationCallable<CreateInstanceConfigRequest,InstanceConfig,CreateInstanceConfigMetadata>
Overrides

createInstanceOperationCallable()

public OperationCallable<CreateInstanceRequest,Instance,CreateInstanceMetadata> createInstanceOperationCallable()
Returns
Type Description
OperationCallable<CreateInstanceRequest,Instance,CreateInstanceMetadata>
Overrides

createInstancePartitionCallable()

public UnaryCallable<CreateInstancePartitionRequest,Operation> createInstancePartitionCallable()
Returns
Type Description
UnaryCallable<CreateInstancePartitionRequest,Operation>
Overrides

createInstancePartitionOperationCallable()

public OperationCallable<CreateInstancePartitionRequest,InstancePartition,CreateInstancePartitionMetadata> createInstancePartitionOperationCallable()
Returns
Type Description
OperationCallable<CreateInstancePartitionRequest,InstancePartition,CreateInstancePartitionMetadata>
Overrides

deleteInstanceCallable()

public UnaryCallable<DeleteInstanceRequest,Empty> deleteInstanceCallable()
Returns
Type Description
UnaryCallable<DeleteInstanceRequest,Empty>
Overrides

deleteInstanceConfigCallable()

public UnaryCallable<DeleteInstanceConfigRequest,Empty> deleteInstanceConfigCallable()
Returns
Type Description
UnaryCallable<DeleteInstanceConfigRequest,Empty>
Overrides

deleteInstancePartitionCallable()

public UnaryCallable<DeleteInstancePartitionRequest,Empty> deleteInstancePartitionCallable()
Returns
Type Description
UnaryCallable<DeleteInstancePartitionRequest,Empty>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getInstanceCallable()

public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Returns
Type Description
UnaryCallable<GetInstanceRequest,Instance>
Overrides

getInstanceConfigCallable()

public UnaryCallable<GetInstanceConfigRequest,InstanceConfig> getInstanceConfigCallable()
Returns
Type Description
UnaryCallable<GetInstanceConfigRequest,InstanceConfig>
Overrides

getInstancePartitionCallable()

public UnaryCallable<GetInstancePartitionRequest,InstancePartition> getInstancePartitionCallable()
Returns
Type Description
UnaryCallable<GetInstancePartitionRequest,InstancePartition>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listInstanceConfigOperationsCallable()

public UnaryCallable<ListInstanceConfigOperationsRequest,ListInstanceConfigOperationsResponse> listInstanceConfigOperationsCallable()
Returns
Type Description
UnaryCallable<ListInstanceConfigOperationsRequest,ListInstanceConfigOperationsResponse>
Overrides

listInstanceConfigOperationsPagedCallable()

public UnaryCallable<ListInstanceConfigOperationsRequest,InstanceAdminClient.ListInstanceConfigOperationsPagedResponse> listInstanceConfigOperationsPagedCallable()
Returns
Type Description
UnaryCallable<ListInstanceConfigOperationsRequest,ListInstanceConfigOperationsPagedResponse>
Overrides

listInstanceConfigsCallable()

public UnaryCallable<ListInstanceConfigsRequest,ListInstanceConfigsResponse> listInstanceConfigsCallable()
Returns
Type Description
UnaryCallable<ListInstanceConfigsRequest,ListInstanceConfigsResponse>
Overrides

listInstanceConfigsPagedCallable()

public UnaryCallable<ListInstanceConfigsRequest,InstanceAdminClient.ListInstanceConfigsPagedResponse> listInstanceConfigsPagedCallable()
Returns
Type Description
UnaryCallable<ListInstanceConfigsRequest,ListInstanceConfigsPagedResponse>
Overrides

listInstancePartitionOperationsCallable()

public UnaryCallable<ListInstancePartitionOperationsRequest,ListInstancePartitionOperationsResponse> listInstancePartitionOperationsCallable()
Returns
Type Description
UnaryCallable<ListInstancePartitionOperationsRequest,ListInstancePartitionOperationsResponse>
Overrides

listInstancePartitionOperationsPagedCallable()

public UnaryCallable<ListInstancePartitionOperationsRequest,InstanceAdminClient.ListInstancePartitionOperationsPagedResponse> listInstancePartitionOperationsPagedCallable()
Returns
Type Description
UnaryCallable<ListInstancePartitionOperationsRequest,ListInstancePartitionOperationsPagedResponse>
Overrides

listInstancePartitionsCallable()

public UnaryCallable<ListInstancePartitionsRequest,ListInstancePartitionsResponse> listInstancePartitionsCallable()
Returns
Type Description
UnaryCallable<ListInstancePartitionsRequest,ListInstancePartitionsResponse>
Overrides

listInstancePartitionsPagedCallable()

public UnaryCallable<ListInstancePartitionsRequest,InstanceAdminClient.ListInstancePartitionsPagedResponse> listInstancePartitionsPagedCallable()
Returns
Type Description
UnaryCallable<ListInstancePartitionsRequest,ListInstancePartitionsPagedResponse>
Overrides

listInstancesCallable()

public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Returns
Type Description
UnaryCallable<ListInstancesRequest,ListInstancesResponse>
Overrides

listInstancesPagedCallable()

public UnaryCallable<ListInstancesRequest,InstanceAdminClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Returns
Type Description
UnaryCallable<ListInstancesRequest,ListInstancesPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateInstanceCallable()

public UnaryCallable<UpdateInstanceRequest,Operation> updateInstanceCallable()
Returns
Type Description
UnaryCallable<UpdateInstanceRequest,Operation>
Overrides

updateInstanceConfigCallable()

public UnaryCallable<UpdateInstanceConfigRequest,Operation> updateInstanceConfigCallable()
Returns
Type Description
UnaryCallable<UpdateInstanceConfigRequest,Operation>
Overrides

updateInstanceConfigOperationCallable()

public OperationCallable<UpdateInstanceConfigRequest,InstanceConfig,UpdateInstanceConfigMetadata> updateInstanceConfigOperationCallable()
Returns
Type Description
OperationCallable<UpdateInstanceConfigRequest,InstanceConfig,UpdateInstanceConfigMetadata>
Overrides

updateInstanceOperationCallable()

public OperationCallable<UpdateInstanceRequest,Instance,UpdateInstanceMetadata> updateInstanceOperationCallable()
Returns
Type Description
OperationCallable<UpdateInstanceRequest,Instance,UpdateInstanceMetadata>
Overrides

updateInstancePartitionCallable()

public UnaryCallable<UpdateInstancePartitionRequest,Operation> updateInstancePartitionCallable()
Returns
Type Description
UnaryCallable<UpdateInstancePartitionRequest,Operation>
Overrides

updateInstancePartitionOperationCallable()

public OperationCallable<UpdateInstancePartitionRequest,InstancePartition,UpdateInstancePartitionMetadata> updateInstancePartitionOperationCallable()
Returns
Type Description
OperationCallable<UpdateInstancePartitionRequest,InstancePartition,UpdateInstancePartitionMetadata>
Overrides