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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonInstancesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(InstancesStubSettings settings)
public static final HttpJsonInstancesStub create(InstancesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
addAccessConfigCallable()
public UnaryCallable<AddAccessConfigInstanceRequest,Operation> addAccessConfigCallable()
Overrides
addAccessConfigOperationCallable()
public OperationCallable<AddAccessConfigInstanceRequest,Operation,Operation> addAccessConfigOperationCallable()
Overrides
addResourcePoliciesCallable()
public UnaryCallable<AddResourcePoliciesInstanceRequest,Operation> addResourcePoliciesCallable()
Overrides
addResourcePoliciesOperationCallable()
public OperationCallable<AddResourcePoliciesInstanceRequest,Operation,Operation> addResourcePoliciesOperationCallable()
Overrides
aggregatedListCallable()
public UnaryCallable<AggregatedListInstancesRequest,InstanceAggregatedList> aggregatedListCallable()
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListInstancesRequest,InstancesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Overrides
attachDiskCallable()
public UnaryCallable<AttachDiskInstanceRequest,Operation> attachDiskCallable()
Overrides
attachDiskOperationCallable()
public OperationCallable<AttachDiskInstanceRequest,Operation,Operation> attachDiskOperationCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
bulkInsertCallable()
public UnaryCallable<BulkInsertInstanceRequest,Operation> bulkInsertCallable()
Overrides
bulkInsertOperationCallable()
public OperationCallable<BulkInsertInstanceRequest,Operation,Operation> bulkInsertOperationCallable()
Overrides
close()
public final void close()
Overrides
deleteAccessConfigCallable()
public UnaryCallable<DeleteAccessConfigInstanceRequest,Operation> deleteAccessConfigCallable()
Overrides
deleteAccessConfigOperationCallable()
public OperationCallable<DeleteAccessConfigInstanceRequest,Operation,Operation> deleteAccessConfigOperationCallable()
Overrides
deleteCallable()
public UnaryCallable<DeleteInstanceRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteInstanceRequest,Operation,Operation> deleteOperationCallable()
Overrides
detachDiskCallable()
public UnaryCallable<DetachDiskInstanceRequest,Operation> detachDiskCallable()
Overrides
detachDiskOperationCallable()
public OperationCallable<DetachDiskInstanceRequest,Operation,Operation> detachDiskOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetInstanceRequest,Instance> getCallable()
Overrides
getEffectiveFirewallsCallable()
public UnaryCallable<GetEffectiveFirewallsInstanceRequest,InstancesGetEffectiveFirewallsResponse> getEffectiveFirewallsCallable()
Overrides
getGuestAttributesCallable()
public UnaryCallable<GetGuestAttributesInstanceRequest,GuestAttributes> getGuestAttributesCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyInstanceRequest,Policy> getIamPolicyCallable()
Overrides
getScreenshotCallable()
public UnaryCallable<GetScreenshotInstanceRequest,Screenshot> getScreenshotCallable()
Overrides
getSerialPortOutputCallable()
public UnaryCallable<GetSerialPortOutputInstanceRequest,SerialPortOutput> getSerialPortOutputCallable()
Overrides
getShieldedInstanceIdentityCallable()
public UnaryCallable<GetShieldedInstanceIdentityInstanceRequest,ShieldedInstanceIdentity> getShieldedInstanceIdentityCallable()
Overrides
insertCallable()
public UnaryCallable<InsertInstanceRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertInstanceRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListInstancesRequest,InstanceList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListInstancesRequest,InstancesClient.ListPagedResponse> listPagedCallable()
Overrides
listReferrersCallable()
public UnaryCallable<ListReferrersInstancesRequest,InstanceListReferrers> listReferrersCallable()
Overrides
listReferrersPagedCallable()
public UnaryCallable<ListReferrersInstancesRequest,InstancesClient.ListReferrersPagedResponse> listReferrersPagedCallable()
Overrides
performMaintenanceCallable()
public UnaryCallable<PerformMaintenanceInstanceRequest,Operation> performMaintenanceCallable()
Overrides
performMaintenanceOperationCallable()
public OperationCallable<PerformMaintenanceInstanceRequest,Operation,Operation> performMaintenanceOperationCallable()
Overrides
removeResourcePoliciesCallable()
public UnaryCallable<RemoveResourcePoliciesInstanceRequest,Operation> removeResourcePoliciesCallable()
Overrides
removeResourcePoliciesOperationCallable()
public OperationCallable<RemoveResourcePoliciesInstanceRequest,Operation,Operation> removeResourcePoliciesOperationCallable()
Overrides
resetCallable()
public UnaryCallable<ResetInstanceRequest,Operation> resetCallable()
Overrides
resetOperationCallable()
public OperationCallable<ResetInstanceRequest,Operation,Operation> resetOperationCallable()
Overrides
resumeCallable()
public UnaryCallable<ResumeInstanceRequest,Operation> resumeCallable()
Overrides
resumeOperationCallable()
public OperationCallable<ResumeInstanceRequest,Operation,Operation> resumeOperationCallable()
Overrides
sendDiagnosticInterruptCallable()
public UnaryCallable<SendDiagnosticInterruptInstanceRequest,SendDiagnosticInterruptInstanceResponse> sendDiagnosticInterruptCallable()
Overrides
setDeletionProtectionCallable()
public UnaryCallable<SetDeletionProtectionInstanceRequest,Operation> setDeletionProtectionCallable()
Overrides
setDeletionProtectionOperationCallable()
public OperationCallable<SetDeletionProtectionInstanceRequest,Operation,Operation> setDeletionProtectionOperationCallable()
Overrides
setDiskAutoDeleteCallable()
public UnaryCallable<SetDiskAutoDeleteInstanceRequest,Operation> setDiskAutoDeleteCallable()
Overrides
setDiskAutoDeleteOperationCallable()
public OperationCallable<SetDiskAutoDeleteInstanceRequest,Operation,Operation> setDiskAutoDeleteOperationCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyInstanceRequest,Policy> setIamPolicyCallable()
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsInstanceRequest,Operation> setLabelsCallable()
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsInstanceRequest,Operation,Operation> setLabelsOperationCallable()
Overrides
setMachineResourcesCallable()
public UnaryCallable<SetMachineResourcesInstanceRequest,Operation> setMachineResourcesCallable()
Overrides
setMachineResourcesOperationCallable()
public OperationCallable<SetMachineResourcesInstanceRequest,Operation,Operation> setMachineResourcesOperationCallable()
Overrides
setMachineTypeCallable()
public UnaryCallable<SetMachineTypeInstanceRequest,Operation> setMachineTypeCallable()
Overrides
setMachineTypeOperationCallable()
public OperationCallable<SetMachineTypeInstanceRequest,Operation,Operation> setMachineTypeOperationCallable()
Overrides
public UnaryCallable<SetMetadataInstanceRequest,Operation> setMetadataCallable()
Overrides
public OperationCallable<SetMetadataInstanceRequest,Operation,Operation> setMetadataOperationCallable()
Overrides
public UnaryCallable<SetMinCpuPlatformInstanceRequest,Operation> setMinCpuPlatformCallable()
Overrides
public OperationCallable<SetMinCpuPlatformInstanceRequest,Operation,Operation> setMinCpuPlatformOperationCallable()
Overrides
setNameCallable()
public UnaryCallable<SetNameInstanceRequest,Operation> setNameCallable()
Overrides
setNameOperationCallable()
public OperationCallable<SetNameInstanceRequest,Operation,Operation> setNameOperationCallable()
Overrides
setSchedulingCallable()
public UnaryCallable<SetSchedulingInstanceRequest,Operation> setSchedulingCallable()
Overrides
setSchedulingOperationCallable()
public OperationCallable<SetSchedulingInstanceRequest,Operation,Operation> setSchedulingOperationCallable()
Overrides
setSecurityPolicyCallable()
public UnaryCallable<SetSecurityPolicyInstanceRequest,Operation> setSecurityPolicyCallable()
Overrides
setSecurityPolicyOperationCallable()
public OperationCallable<SetSecurityPolicyInstanceRequest,Operation,Operation> setSecurityPolicyOperationCallable()
Overrides
setServiceAccountCallable()
public UnaryCallable<SetServiceAccountInstanceRequest,Operation> setServiceAccountCallable()
Overrides
setServiceAccountOperationCallable()
public OperationCallable<SetServiceAccountInstanceRequest,Operation,Operation> setServiceAccountOperationCallable()
Overrides
setShieldedInstanceIntegrityPolicyCallable()
public UnaryCallable<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation> setShieldedInstanceIntegrityPolicyCallable()
Overrides
setShieldedInstanceIntegrityPolicyOperationCallable()
public OperationCallable<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation,Operation> setShieldedInstanceIntegrityPolicyOperationCallable()
Overrides
public UnaryCallable<SetTagsInstanceRequest,Operation> setTagsCallable()
Overrides
public OperationCallable<SetTagsInstanceRequest,Operation,Operation> setTagsOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
simulateMaintenanceEventCallable()
public UnaryCallable<SimulateMaintenanceEventInstanceRequest,Operation> simulateMaintenanceEventCallable()
Overrides
simulateMaintenanceEventOperationCallable()
public OperationCallable<SimulateMaintenanceEventInstanceRequest,Operation,Operation> simulateMaintenanceEventOperationCallable()
Overrides
startCallable()
public UnaryCallable<StartInstanceRequest,Operation> startCallable()
Overrides
startOperationCallable()
public OperationCallable<StartInstanceRequest,Operation,Operation> startOperationCallable()
Overrides
startWithEncryptionKeyCallable()
public UnaryCallable<StartWithEncryptionKeyInstanceRequest,Operation> startWithEncryptionKeyCallable()
Overrides
startWithEncryptionKeyOperationCallable()
public OperationCallable<StartWithEncryptionKeyInstanceRequest,Operation,Operation> startWithEncryptionKeyOperationCallable()
Overrides
stopCallable()
public UnaryCallable<StopInstanceRequest,Operation> stopCallable()
Overrides
stopOperationCallable()
public OperationCallable<StopInstanceRequest,Operation,Operation> stopOperationCallable()
Overrides
suspendCallable()
public UnaryCallable<SuspendInstanceRequest,Operation> suspendCallable()
Overrides
suspendOperationCallable()
public OperationCallable<SuspendInstanceRequest,Operation,Operation> suspendOperationCallable()
Overrides
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsInstanceRequest,TestPermissionsResponse> testIamPermissionsCallable()
Overrides
updateAccessConfigCallable()
public UnaryCallable<UpdateAccessConfigInstanceRequest,Operation> updateAccessConfigCallable()
Overrides
updateAccessConfigOperationCallable()
public OperationCallable<UpdateAccessConfigInstanceRequest,Operation,Operation> updateAccessConfigOperationCallable()
Overrides
updateCallable()
public UnaryCallable<UpdateInstanceRequest,Operation> updateCallable()
Overrides
updateDisplayDeviceCallable()
public UnaryCallable<UpdateDisplayDeviceInstanceRequest,Operation> updateDisplayDeviceCallable()
Overrides
updateDisplayDeviceOperationCallable()
public OperationCallable<UpdateDisplayDeviceInstanceRequest,Operation,Operation> updateDisplayDeviceOperationCallable()
Overrides
updateNetworkInterfaceCallable()
public UnaryCallable<UpdateNetworkInterfaceInstanceRequest,Operation> updateNetworkInterfaceCallable()
Overrides
updateNetworkInterfaceOperationCallable()
public OperationCallable<UpdateNetworkInterfaceInstanceRequest,Operation,Operation> updateNetworkInterfaceOperationCallable()
Overrides
updateOperationCallable()
public OperationCallable<UpdateInstanceRequest,Operation,Operation> updateOperationCallable()
Overrides
updateShieldedInstanceConfigCallable()
public UnaryCallable<UpdateShieldedInstanceConfigInstanceRequest,Operation> updateShieldedInstanceConfigCallable()
Overrides
updateShieldedInstanceConfigOperationCallable()
public OperationCallable<UpdateShieldedInstanceConfigInstanceRequest,Operation,Operation> updateShieldedInstanceConfigOperationCallable()
Overrides