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.
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()
createInstanceCallable()
public UnaryCallable<CreateInstanceRequest,Operation> createInstanceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateInstanceRequest,Operation> |
createInstanceConfigCallable()
public UnaryCallable<CreateInstanceConfigRequest,Operation> createInstanceConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateInstanceConfigRequest,Operation> |
createInstanceConfigOperationCallable()
public OperationCallable<CreateInstanceConfigRequest,InstanceConfig,CreateInstanceConfigMetadata> createInstanceConfigOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateInstanceConfigRequest,InstanceConfig,CreateInstanceConfigMetadata> |
createInstanceOperationCallable()
public OperationCallable<CreateInstanceRequest,Instance,CreateInstanceMetadata> createInstanceOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateInstanceRequest,Instance,CreateInstanceMetadata> |
createInstancePartitionCallable()
public UnaryCallable<CreateInstancePartitionRequest,Operation> createInstancePartitionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateInstancePartitionRequest,Operation> |
createInstancePartitionOperationCallable()
public OperationCallable<CreateInstancePartitionRequest,InstancePartition,CreateInstancePartitionMetadata> createInstancePartitionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateInstancePartitionRequest,InstancePartition,CreateInstancePartitionMetadata> |
deleteInstanceCallable()
public UnaryCallable<DeleteInstanceRequest,Empty> deleteInstanceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteInstanceRequest,Empty> |
deleteInstanceConfigCallable()
public UnaryCallable<DeleteInstanceConfigRequest,Empty> deleteInstanceConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteInstanceConfigRequest,Empty> |
deleteInstancePartitionCallable()
public UnaryCallable<DeleteInstancePartitionRequest,Empty> deleteInstancePartitionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteInstancePartitionRequest,Empty> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getInstanceCallable()
public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetInstanceRequest,Instance> |
getInstanceConfigCallable()
public UnaryCallable<GetInstanceConfigRequest,InstanceConfig> getInstanceConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetInstanceConfigRequest,InstanceConfig> |
getInstancePartitionCallable()
public UnaryCallable<GetInstancePartitionRequest,InstancePartition> getInstancePartitionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetInstancePartitionRequest,InstancePartition> |
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> |
listInstanceConfigOperationsPagedCallable()
public UnaryCallable<ListInstanceConfigOperationsRequest,InstanceAdminClient.ListInstanceConfigOperationsPagedResponse> listInstanceConfigOperationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInstanceConfigOperationsRequest,ListInstanceConfigOperationsPagedResponse> |
listInstanceConfigsCallable()
public UnaryCallable<ListInstanceConfigsRequest,ListInstanceConfigsResponse> listInstanceConfigsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInstanceConfigsRequest,ListInstanceConfigsResponse> |
listInstanceConfigsPagedCallable()
public UnaryCallable<ListInstanceConfigsRequest,InstanceAdminClient.ListInstanceConfigsPagedResponse> listInstanceConfigsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInstanceConfigsRequest,ListInstanceConfigsPagedResponse> |
listInstancePartitionOperationsCallable()
public UnaryCallable<ListInstancePartitionOperationsRequest,ListInstancePartitionOperationsResponse> listInstancePartitionOperationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInstancePartitionOperationsRequest,ListInstancePartitionOperationsResponse> |
listInstancePartitionOperationsPagedCallable()
public UnaryCallable<ListInstancePartitionOperationsRequest,InstanceAdminClient.ListInstancePartitionOperationsPagedResponse> listInstancePartitionOperationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInstancePartitionOperationsRequest,ListInstancePartitionOperationsPagedResponse> |
listInstancePartitionsCallable()
public UnaryCallable<ListInstancePartitionsRequest,ListInstancePartitionsResponse> listInstancePartitionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInstancePartitionsRequest,ListInstancePartitionsResponse> |
listInstancePartitionsPagedCallable()
public UnaryCallable<ListInstancePartitionsRequest,InstanceAdminClient.ListInstancePartitionsPagedResponse> listInstancePartitionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInstancePartitionsRequest,ListInstancePartitionsPagedResponse> |
listInstancesCallable()
public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInstancesRequest,ListInstancesResponse> |
listInstancesPagedCallable()
public UnaryCallable<ListInstancesRequest,InstanceAdminClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInstancesRequest,ListInstancesPagedResponse> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
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> |
updateInstanceCallable()
public UnaryCallable<UpdateInstanceRequest,Operation> updateInstanceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateInstanceRequest,Operation> |
updateInstanceConfigCallable()
public UnaryCallable<UpdateInstanceConfigRequest,Operation> updateInstanceConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateInstanceConfigRequest,Operation> |
updateInstanceConfigOperationCallable()
public OperationCallable<UpdateInstanceConfigRequest,InstanceConfig,UpdateInstanceConfigMetadata> updateInstanceConfigOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateInstanceConfigRequest,InstanceConfig,UpdateInstanceConfigMetadata> |
updateInstanceOperationCallable()
public OperationCallable<UpdateInstanceRequest,Instance,UpdateInstanceMetadata> updateInstanceOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateInstanceRequest,Instance,UpdateInstanceMetadata> |
updateInstancePartitionCallable()
public UnaryCallable<UpdateInstancePartitionRequest,Operation> updateInstancePartitionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateInstancePartitionRequest,Operation> |
updateInstancePartitionOperationCallable()
public OperationCallable<UpdateInstancePartitionRequest,InstancePartition,UpdateInstancePartitionMetadata> updateInstancePartitionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateInstancePartitionRequest,InstancePartition,UpdateInstancePartitionMetadata> |