Class HttpJsonInstanceAdminStub (6.77.0)

public class HttpJsonInstanceAdminStub extends InstanceAdminStub

REST stub implementation for the InstanceAdmin service API.

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

Inheritance

java.lang.Object > InstanceAdminStub > HttpJsonInstanceAdminStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(InstanceAdminStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonInstanceAdminStub(InstanceAdminStubSettings settings, ClientContext clientContext)

protected HttpJsonInstanceAdminStub(InstanceAdminStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonInstanceAdminStub, 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

HttpJsonInstanceAdminStub(InstanceAdminStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonInstanceAdminStub(InstanceAdminStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonInstanceAdminStub, 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 HttpJsonStubCallableFactory

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
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

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

moveInstanceCallable()

public UnaryCallable<MoveInstanceRequest,Operation> moveInstanceCallable()
Returns
Type Description
UnaryCallable<MoveInstanceRequest,Operation>
Overrides

moveInstanceOperationCallable()

public OperationCallable<MoveInstanceRequest,MoveInstanceResponse,MoveInstanceMetadata> moveInstanceOperationCallable()
Returns
Type Description
OperationCallable<MoveInstanceRequest,MoveInstanceResponse,MoveInstanceMetadata>
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