public class HttpJsonInstancesStub extends InstancesStub
REST stub implementation for the Instances service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonInstancesStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonInstancesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(InstancesStubSettings settings)
public static final HttpJsonInstancesStub create(InstancesStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonInstancesStub(InstancesStubSettings settings, ClientContext clientContext)
protected HttpJsonInstancesStub(InstancesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonInstancesStub, 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
HttpJsonInstancesStub(InstancesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonInstancesStub(InstancesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonInstancesStub, 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
Methods
addAccessConfigCallable()
public UnaryCallable<AddAccessConfigInstanceRequest,Operation> addAccessConfigCallable()
Returns
Overrides
addAccessConfigOperationCallable()
public OperationCallable<AddAccessConfigInstanceRequest,Operation,Operation> addAccessConfigOperationCallable()
Returns
Overrides
addResourcePoliciesCallable()
public UnaryCallable<AddResourcePoliciesInstanceRequest,Operation> addResourcePoliciesCallable()
Returns
Overrides
addResourcePoliciesOperationCallable()
public OperationCallable<AddResourcePoliciesInstanceRequest,Operation,Operation> addResourcePoliciesOperationCallable()
Returns
Overrides
aggregatedListCallable()
public UnaryCallable<AggregatedListInstancesRequest,InstanceAggregatedList> aggregatedListCallable()
Returns
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListInstancesRequest,InstancesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
Overrides
attachDiskCallable()
public UnaryCallable<AttachDiskInstanceRequest,Operation> attachDiskCallable()
Returns
Overrides
attachDiskOperationCallable()
public OperationCallable<AttachDiskInstanceRequest,Operation,Operation> attachDiskOperationCallable()
Returns
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
bulkInsertCallable()
public UnaryCallable<BulkInsertInstanceRequest,Operation> bulkInsertCallable()
Returns
Overrides
bulkInsertOperationCallable()
public OperationCallable<BulkInsertInstanceRequest,Operation,Operation> bulkInsertOperationCallable()
Returns
Overrides
close()
public final void close()
Overrides
deleteAccessConfigCallable()
public UnaryCallable<DeleteAccessConfigInstanceRequest,Operation> deleteAccessConfigCallable()
Returns
Overrides
deleteAccessConfigOperationCallable()
public OperationCallable<DeleteAccessConfigInstanceRequest,Operation,Operation> deleteAccessConfigOperationCallable()
Returns
Overrides
deleteCallable()
public UnaryCallable<DeleteInstanceRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteInstanceRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
detachDiskCallable()
public UnaryCallable<DetachDiskInstanceRequest,Operation> detachDiskCallable()
Returns
Overrides
detachDiskOperationCallable()
public OperationCallable<DetachDiskInstanceRequest,Operation,Operation> detachDiskOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetInstanceRequest,Instance> getCallable()
Returns
Overrides
getEffectiveFirewallsCallable()
public UnaryCallable<GetEffectiveFirewallsInstanceRequest,InstancesGetEffectiveFirewallsResponse> getEffectiveFirewallsCallable()
Returns
Overrides
getGuestAttributesCallable()
public UnaryCallable<GetGuestAttributesInstanceRequest,GuestAttributes> getGuestAttributesCallable()
Returns
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyInstanceRequest,Policy> getIamPolicyCallable()
Returns
Overrides
getScreenshotCallable()
public UnaryCallable<GetScreenshotInstanceRequest,Screenshot> getScreenshotCallable()
Returns
Overrides
getSerialPortOutputCallable()
public UnaryCallable<GetSerialPortOutputInstanceRequest,SerialPortOutput> getSerialPortOutputCallable()
Returns
Overrides
getShieldedInstanceIdentityCallable()
public UnaryCallable<GetShieldedInstanceIdentityInstanceRequest,ShieldedInstanceIdentity> getShieldedInstanceIdentityCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertInstanceRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertInstanceRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListInstancesRequest,InstanceList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListInstancesRequest,InstancesClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
listReferrersCallable()
public UnaryCallable<ListReferrersInstancesRequest,InstanceListReferrers> listReferrersCallable()
Returns
Overrides
listReferrersPagedCallable()
public UnaryCallable<ListReferrersInstancesRequest,InstancesClient.ListReferrersPagedResponse> listReferrersPagedCallable()
Returns
Overrides
removeResourcePoliciesCallable()
public UnaryCallable<RemoveResourcePoliciesInstanceRequest,Operation> removeResourcePoliciesCallable()
Returns
Overrides
removeResourcePoliciesOperationCallable()
public OperationCallable<RemoveResourcePoliciesInstanceRequest,Operation,Operation> removeResourcePoliciesOperationCallable()
Returns
Overrides
resetCallable()
public UnaryCallable<ResetInstanceRequest,Operation> resetCallable()
Returns
Overrides
resetOperationCallable()
public OperationCallable<ResetInstanceRequest,Operation,Operation> resetOperationCallable()
Returns
Overrides
sendDiagnosticInterruptCallable()
public UnaryCallable<SendDiagnosticInterruptInstanceRequest,SendDiagnosticInterruptInstanceResponse> sendDiagnosticInterruptCallable()
Returns
Overrides
setDeletionProtectionCallable()
public UnaryCallable<SetDeletionProtectionInstanceRequest,Operation> setDeletionProtectionCallable()
Returns
Overrides
setDeletionProtectionOperationCallable()
public OperationCallable<SetDeletionProtectionInstanceRequest,Operation,Operation> setDeletionProtectionOperationCallable()
Returns
Overrides
setDiskAutoDeleteCallable()
public UnaryCallable<SetDiskAutoDeleteInstanceRequest,Operation> setDiskAutoDeleteCallable()
Returns
Overrides
setDiskAutoDeleteOperationCallable()
public OperationCallable<SetDiskAutoDeleteInstanceRequest,Operation,Operation> setDiskAutoDeleteOperationCallable()
Returns
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyInstanceRequest,Policy> setIamPolicyCallable()
Returns
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsInstanceRequest,Operation> setLabelsCallable()
Returns
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsInstanceRequest,Operation,Operation> setLabelsOperationCallable()
Returns
Overrides
setMachineResourcesCallable()
public UnaryCallable<SetMachineResourcesInstanceRequest,Operation> setMachineResourcesCallable()
Returns
Overrides
setMachineResourcesOperationCallable()
public OperationCallable<SetMachineResourcesInstanceRequest,Operation,Operation> setMachineResourcesOperationCallable()
Returns
Overrides
setMachineTypeCallable()
public UnaryCallable<SetMachineTypeInstanceRequest,Operation> setMachineTypeCallable()
Returns
Overrides
setMachineTypeOperationCallable()
public OperationCallable<SetMachineTypeInstanceRequest,Operation,Operation> setMachineTypeOperationCallable()
Returns
Overrides
public UnaryCallable<SetMetadataInstanceRequest,Operation> setMetadataCallable()
Returns
Overrides
public OperationCallable<SetMetadataInstanceRequest,Operation,Operation> setMetadataOperationCallable()
Returns
Overrides
public UnaryCallable<SetMinCpuPlatformInstanceRequest,Operation> setMinCpuPlatformCallable()
Returns
Overrides
public OperationCallable<SetMinCpuPlatformInstanceRequest,Operation,Operation> setMinCpuPlatformOperationCallable()
Returns
Overrides
setSchedulingCallable()
public UnaryCallable<SetSchedulingInstanceRequest,Operation> setSchedulingCallable()
Returns
Overrides
setSchedulingOperationCallable()
public OperationCallable<SetSchedulingInstanceRequest,Operation,Operation> setSchedulingOperationCallable()
Returns
Overrides
setServiceAccountCallable()
public UnaryCallable<SetServiceAccountInstanceRequest,Operation> setServiceAccountCallable()
Returns
Overrides
setServiceAccountOperationCallable()
public OperationCallable<SetServiceAccountInstanceRequest,Operation,Operation> setServiceAccountOperationCallable()
Returns
Overrides
setShieldedInstanceIntegrityPolicyCallable()
public UnaryCallable<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation> setShieldedInstanceIntegrityPolicyCallable()
Returns
Overrides
setShieldedInstanceIntegrityPolicyOperationCallable()
public OperationCallable<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation,Operation> setShieldedInstanceIntegrityPolicyOperationCallable()
Returns
Overrides
public UnaryCallable<SetTagsInstanceRequest,Operation> setTagsCallable()
Returns
Overrides
public OperationCallable<SetTagsInstanceRequest,Operation,Operation> setTagsOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
simulateMaintenanceEventCallable()
public UnaryCallable<SimulateMaintenanceEventInstanceRequest,Operation> simulateMaintenanceEventCallable()
Returns
Overrides
simulateMaintenanceEventOperationCallable()
public OperationCallable<SimulateMaintenanceEventInstanceRequest,Operation,Operation> simulateMaintenanceEventOperationCallable()
Returns
Overrides
startCallable()
public UnaryCallable<StartInstanceRequest,Operation> startCallable()
Returns
Overrides
startOperationCallable()
public OperationCallable<StartInstanceRequest,Operation,Operation> startOperationCallable()
Returns
Overrides
startWithEncryptionKeyCallable()
public UnaryCallable<StartWithEncryptionKeyInstanceRequest,Operation> startWithEncryptionKeyCallable()
Returns
Overrides
startWithEncryptionKeyOperationCallable()
public OperationCallable<StartWithEncryptionKeyInstanceRequest,Operation,Operation> startWithEncryptionKeyOperationCallable()
Returns
Overrides
stopCallable()
public UnaryCallable<StopInstanceRequest,Operation> stopCallable()
Returns
Overrides
stopOperationCallable()
public OperationCallable<StopInstanceRequest,Operation,Operation> stopOperationCallable()
Returns
Overrides
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsInstanceRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
Overrides
updateAccessConfigCallable()
public UnaryCallable<UpdateAccessConfigInstanceRequest,Operation> updateAccessConfigCallable()
Returns
Overrides
updateAccessConfigOperationCallable()
public OperationCallable<UpdateAccessConfigInstanceRequest,Operation,Operation> updateAccessConfigOperationCallable()
Returns
Overrides
updateCallable()
public UnaryCallable<UpdateInstanceRequest,Operation> updateCallable()
Returns
Overrides
updateDisplayDeviceCallable()
public UnaryCallable<UpdateDisplayDeviceInstanceRequest,Operation> updateDisplayDeviceCallable()
Returns
Overrides
updateDisplayDeviceOperationCallable()
public OperationCallable<UpdateDisplayDeviceInstanceRequest,Operation,Operation> updateDisplayDeviceOperationCallable()
Returns
Overrides
updateNetworkInterfaceCallable()
public UnaryCallable<UpdateNetworkInterfaceInstanceRequest,Operation> updateNetworkInterfaceCallable()
Returns
Overrides
updateNetworkInterfaceOperationCallable()
public OperationCallable<UpdateNetworkInterfaceInstanceRequest,Operation,Operation> updateNetworkInterfaceOperationCallable()
Returns
Overrides
updateOperationCallable()
public OperationCallable<UpdateInstanceRequest,Operation,Operation> updateOperationCallable()
Returns
Overrides
updateShieldedInstanceConfigCallable()
public UnaryCallable<UpdateShieldedInstanceConfigInstanceRequest,Operation> updateShieldedInstanceConfigCallable()
Returns
Overrides
updateShieldedInstanceConfigOperationCallable()
public OperationCallable<UpdateShieldedInstanceConfigInstanceRequest,Operation,Operation> updateShieldedInstanceConfigOperationCallable()
Returns
Overrides