public static class InstancesSettings.Builder extends ClientSettings.Builder<InstancesSettings,InstancesSettings.Builder>
Builder for InstancesSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(InstancesSettings settings)
protected Builder(InstancesSettings settings)
Parameter
Builder(InstancesStubSettings.Builder stubSettings)
protected Builder(InstancesStubSettings.Builder stubSettings)
Parameter
Methods
addAccessConfigOperationSettings()
public OperationCallSettings.Builder<AddAccessConfigInstanceRequest,Operation,Operation> addAccessConfigOperationSettings()
Returns the builder for the settings used for calls to addAccessConfig.
Returns
addAccessConfigSettings()
public UnaryCallSettings.Builder<AddAccessConfigInstanceRequest,Operation> addAccessConfigSettings()
Returns the builder for the settings used for calls to addAccessConfig.
Returns
addResourcePoliciesOperationSettings()
public OperationCallSettings.Builder<AddResourcePoliciesInstanceRequest,Operation,Operation> addResourcePoliciesOperationSettings()
Returns the builder for the settings used for calls to addResourcePolicies.
Returns
addResourcePoliciesSettings()
public UnaryCallSettings.Builder<AddResourcePoliciesInstanceRequest,Operation> addResourcePoliciesSettings()
Returns the builder for the settings used for calls to addResourcePolicies.
Returns
aggregatedListSettings()
public PagedCallSettings.Builder<AggregatedListInstancesRequest,InstanceAggregatedList,InstancesClient.AggregatedListPagedResponse> aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.
Returns
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public InstancesSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
Parameter
Returns
attachDiskOperationSettings()
public OperationCallSettings.Builder<AttachDiskInstanceRequest,Operation,Operation> attachDiskOperationSettings()
Returns the builder for the settings used for calls to attachDisk.
Returns
attachDiskSettings()
public UnaryCallSettings.Builder<AttachDiskInstanceRequest,Operation> attachDiskSettings()
Returns the builder for the settings used for calls to attachDisk.
Returns
build()
public InstancesSettings build()
Returns
Overrides
Exceptions
bulkInsertOperationSettings()
public OperationCallSettings.Builder<BulkInsertInstanceRequest,Operation,Operation> bulkInsertOperationSettings()
Returns the builder for the settings used for calls to bulkInsert.
Returns
bulkInsertSettings()
public UnaryCallSettings.Builder<BulkInsertInstanceRequest,Operation> bulkInsertSettings()
Returns the builder for the settings used for calls to bulkInsert.
Returns
deleteAccessConfigOperationSettings()
public OperationCallSettings.Builder<DeleteAccessConfigInstanceRequest,Operation,Operation> deleteAccessConfigOperationSettings()
Returns the builder for the settings used for calls to deleteAccessConfig.
Returns
deleteAccessConfigSettings()
public UnaryCallSettings.Builder<DeleteAccessConfigInstanceRequest,Operation> deleteAccessConfigSettings()
Returns the builder for the settings used for calls to deleteAccessConfig.
Returns
deleteOperationSettings()
public OperationCallSettings.Builder<DeleteInstanceRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
Returns
deleteSettings()
public UnaryCallSettings.Builder<DeleteInstanceRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
Returns
detachDiskOperationSettings()
public OperationCallSettings.Builder<DetachDiskInstanceRequest,Operation,Operation> detachDiskOperationSettings()
Returns the builder for the settings used for calls to detachDisk.
Returns
detachDiskSettings()
public UnaryCallSettings.Builder<DetachDiskInstanceRequest,Operation> detachDiskSettings()
Returns the builder for the settings used for calls to detachDisk.
Returns
getEffectiveFirewallsSettings()
public UnaryCallSettings.Builder<GetEffectiveFirewallsInstanceRequest,InstancesGetEffectiveFirewallsResponse> getEffectiveFirewallsSettings()
Returns the builder for the settings used for calls to getEffectiveFirewalls.
Returns
getGuestAttributesSettings()
public UnaryCallSettings.Builder<GetGuestAttributesInstanceRequest,GuestAttributes> getGuestAttributesSettings()
Returns the builder for the settings used for calls to getGuestAttributes.
Returns
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyInstanceRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns
getScreenshotSettings()
public UnaryCallSettings.Builder<GetScreenshotInstanceRequest,Screenshot> getScreenshotSettings()
Returns the builder for the settings used for calls to getScreenshot.
Returns
getSerialPortOutputSettings()
public UnaryCallSettings.Builder<GetSerialPortOutputInstanceRequest,SerialPortOutput> getSerialPortOutputSettings()
Returns the builder for the settings used for calls to getSerialPortOutput.
Returns
getSettings()
public UnaryCallSettings.Builder<GetInstanceRequest,Instance> getSettings()
Returns the builder for the settings used for calls to get.
Returns
getShieldedInstanceIdentitySettings()
public UnaryCallSettings.Builder<GetShieldedInstanceIdentityInstanceRequest,ShieldedInstanceIdentity> getShieldedInstanceIdentitySettings()
Returns the builder for the settings used for calls to getShieldedInstanceIdentity.
Returns
getStubSettingsBuilder()
public InstancesStubSettings.Builder getStubSettingsBuilder()
Returns
insertOperationSettings()
public OperationCallSettings.Builder<InsertInstanceRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
Returns
insertSettings()
public UnaryCallSettings.Builder<InsertInstanceRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
Returns
public PagedCallSettings.Builder<ListReferrersInstancesRequest,InstanceListReferrers,InstancesClient.ListReferrersPagedResponse> listReferrersSettings()
Returns the builder for the settings used for calls to listReferrers.
Returns
listSettings()
public PagedCallSettings.Builder<ListInstancesRequest,InstanceList,InstancesClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
Returns
removeResourcePoliciesOperationSettings()
public OperationCallSettings.Builder<RemoveResourcePoliciesInstanceRequest,Operation,Operation> removeResourcePoliciesOperationSettings()
Returns the builder for the settings used for calls to removeResourcePolicies.
Returns
removeResourcePoliciesSettings()
public UnaryCallSettings.Builder<RemoveResourcePoliciesInstanceRequest,Operation> removeResourcePoliciesSettings()
Returns the builder for the settings used for calls to removeResourcePolicies.
Returns
resetOperationSettings()
public OperationCallSettings.Builder<ResetInstanceRequest,Operation,Operation> resetOperationSettings()
Returns the builder for the settings used for calls to reset.
Returns
resetSettings()
public UnaryCallSettings.Builder<ResetInstanceRequest,Operation> resetSettings()
Returns the builder for the settings used for calls to reset.
Returns
sendDiagnosticInterruptSettings()
public UnaryCallSettings.Builder<SendDiagnosticInterruptInstanceRequest,SendDiagnosticInterruptInstanceResponse> sendDiagnosticInterruptSettings()
Returns the builder for the settings used for calls to sendDiagnosticInterrupt.
Returns
setDeletionProtectionOperationSettings()
public OperationCallSettings.Builder<SetDeletionProtectionInstanceRequest,Operation,Operation> setDeletionProtectionOperationSettings()
Returns the builder for the settings used for calls to setDeletionProtection.
Returns
setDeletionProtectionSettings()
public UnaryCallSettings.Builder<SetDeletionProtectionInstanceRequest,Operation> setDeletionProtectionSettings()
Returns the builder for the settings used for calls to setDeletionProtection.
Returns
setDiskAutoDeleteOperationSettings()
public OperationCallSettings.Builder<SetDiskAutoDeleteInstanceRequest,Operation,Operation> setDiskAutoDeleteOperationSettings()
Returns the builder for the settings used for calls to setDiskAutoDelete.
Returns
setDiskAutoDeleteSettings()
public UnaryCallSettings.Builder<SetDiskAutoDeleteInstanceRequest,Operation> setDiskAutoDeleteSettings()
Returns the builder for the settings used for calls to setDiskAutoDelete.
Returns
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyInstanceRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns
setLabelsOperationSettings()
public OperationCallSettings.Builder<SetLabelsInstanceRequest,Operation,Operation> setLabelsOperationSettings()
Returns the builder for the settings used for calls to setLabels.
Returns
setLabelsSettings()
public UnaryCallSettings.Builder<SetLabelsInstanceRequest,Operation> setLabelsSettings()
Returns the builder for the settings used for calls to setLabels.
Returns
setMachineResourcesOperationSettings()
public OperationCallSettings.Builder<SetMachineResourcesInstanceRequest,Operation,Operation> setMachineResourcesOperationSettings()
Returns the builder for the settings used for calls to setMachineResources.
Returns
setMachineResourcesSettings()
public UnaryCallSettings.Builder<SetMachineResourcesInstanceRequest,Operation> setMachineResourcesSettings()
Returns the builder for the settings used for calls to setMachineResources.
Returns
setMachineTypeOperationSettings()
public OperationCallSettings.Builder<SetMachineTypeInstanceRequest,Operation,Operation> setMachineTypeOperationSettings()
Returns the builder for the settings used for calls to setMachineType.
Returns
setMachineTypeSettings()
public UnaryCallSettings.Builder<SetMachineTypeInstanceRequest,Operation> setMachineTypeSettings()
Returns the builder for the settings used for calls to setMachineType.
Returns
public OperationCallSettings.Builder<SetMetadataInstanceRequest,Operation,Operation> setMetadataOperationSettings()
Returns the builder for the settings used for calls to setMetadata.
Returns
public UnaryCallSettings.Builder<SetMetadataInstanceRequest,Operation> setMetadataSettings()
Returns the builder for the settings used for calls to setMetadata.
Returns
public OperationCallSettings.Builder<SetMinCpuPlatformInstanceRequest,Operation,Operation> setMinCpuPlatformOperationSettings()
Returns the builder for the settings used for calls to setMinCpuPlatform.
Returns
public UnaryCallSettings.Builder<SetMinCpuPlatformInstanceRequest,Operation> setMinCpuPlatformSettings()
Returns the builder for the settings used for calls to setMinCpuPlatform.
Returns
setSchedulingOperationSettings()
public OperationCallSettings.Builder<SetSchedulingInstanceRequest,Operation,Operation> setSchedulingOperationSettings()
Returns the builder for the settings used for calls to setScheduling.
Returns
setSchedulingSettings()
public UnaryCallSettings.Builder<SetSchedulingInstanceRequest,Operation> setSchedulingSettings()
Returns the builder for the settings used for calls to setScheduling.
Returns
setServiceAccountOperationSettings()
public OperationCallSettings.Builder<SetServiceAccountInstanceRequest,Operation,Operation> setServiceAccountOperationSettings()
Returns the builder for the settings used for calls to setServiceAccount.
Returns
setServiceAccountSettings()
public UnaryCallSettings.Builder<SetServiceAccountInstanceRequest,Operation> setServiceAccountSettings()
Returns the builder for the settings used for calls to setServiceAccount.
Returns
setShieldedInstanceIntegrityPolicyOperationSettings()
public OperationCallSettings.Builder<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation,Operation> setShieldedInstanceIntegrityPolicyOperationSettings()
Returns the builder for the settings used for calls to setShieldedInstanceIntegrityPolicy.
Returns
setShieldedInstanceIntegrityPolicySettings()
public UnaryCallSettings.Builder<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation> setShieldedInstanceIntegrityPolicySettings()
Returns the builder for the settings used for calls to setShieldedInstanceIntegrityPolicy.
Returns
public OperationCallSettings.Builder<SetTagsInstanceRequest,Operation,Operation> setTagsOperationSettings()
Returns the builder for the settings used for calls to setTags.
Returns
public UnaryCallSettings.Builder<SetTagsInstanceRequest,Operation> setTagsSettings()
Returns the builder for the settings used for calls to setTags.
Returns
simulateMaintenanceEventOperationSettings()
public OperationCallSettings.Builder<SimulateMaintenanceEventInstanceRequest,Operation,Operation> simulateMaintenanceEventOperationSettings()
Returns the builder for the settings used for calls to simulateMaintenanceEvent.
Returns
simulateMaintenanceEventSettings()
public UnaryCallSettings.Builder<SimulateMaintenanceEventInstanceRequest,Operation> simulateMaintenanceEventSettings()
Returns the builder for the settings used for calls to simulateMaintenanceEvent.
Returns
startOperationSettings()
public OperationCallSettings.Builder<StartInstanceRequest,Operation,Operation> startOperationSettings()
Returns the builder for the settings used for calls to start.
Returns
startSettings()
public UnaryCallSettings.Builder<StartInstanceRequest,Operation> startSettings()
Returns the builder for the settings used for calls to start.
Returns
startWithEncryptionKeyOperationSettings()
public OperationCallSettings.Builder<StartWithEncryptionKeyInstanceRequest,Operation,Operation> startWithEncryptionKeyOperationSettings()
Returns the builder for the settings used for calls to startWithEncryptionKey.
Returns
startWithEncryptionKeySettings()
public UnaryCallSettings.Builder<StartWithEncryptionKeyInstanceRequest,Operation> startWithEncryptionKeySettings()
Returns the builder for the settings used for calls to startWithEncryptionKey.
Returns
stopOperationSettings()
public OperationCallSettings.Builder<StopInstanceRequest,Operation,Operation> stopOperationSettings()
Returns the builder for the settings used for calls to stop.
Returns
stopSettings()
public UnaryCallSettings.Builder<StopInstanceRequest,Operation> stopSettings()
Returns the builder for the settings used for calls to stop.
Returns
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsInstanceRequest,TestPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns
updateAccessConfigOperationSettings()
public OperationCallSettings.Builder<UpdateAccessConfigInstanceRequest,Operation,Operation> updateAccessConfigOperationSettings()
Returns the builder for the settings used for calls to updateAccessConfig.
Returns
updateAccessConfigSettings()
public UnaryCallSettings.Builder<UpdateAccessConfigInstanceRequest,Operation> updateAccessConfigSettings()
Returns the builder for the settings used for calls to updateAccessConfig.
Returns
updateDisplayDeviceOperationSettings()
public OperationCallSettings.Builder<UpdateDisplayDeviceInstanceRequest,Operation,Operation> updateDisplayDeviceOperationSettings()
Returns the builder for the settings used for calls to updateDisplayDevice.
Returns
updateDisplayDeviceSettings()
public UnaryCallSettings.Builder<UpdateDisplayDeviceInstanceRequest,Operation> updateDisplayDeviceSettings()
Returns the builder for the settings used for calls to updateDisplayDevice.
Returns
updateNetworkInterfaceOperationSettings()
public OperationCallSettings.Builder<UpdateNetworkInterfaceInstanceRequest,Operation,Operation> updateNetworkInterfaceOperationSettings()
Returns the builder for the settings used for calls to updateNetworkInterface.
Returns
updateNetworkInterfaceSettings()
public UnaryCallSettings.Builder<UpdateNetworkInterfaceInstanceRequest,Operation> updateNetworkInterfaceSettings()
Returns the builder for the settings used for calls to updateNetworkInterface.
Returns
updateOperationSettings()
public OperationCallSettings.Builder<UpdateInstanceRequest,Operation,Operation> updateOperationSettings()
Returns the builder for the settings used for calls to update.
Returns
updateSettings()
public UnaryCallSettings.Builder<UpdateInstanceRequest,Operation> updateSettings()
Returns the builder for the settings used for calls to update.
Returns
updateShieldedInstanceConfigOperationSettings()
public OperationCallSettings.Builder<UpdateShieldedInstanceConfigInstanceRequest,Operation,Operation> updateShieldedInstanceConfigOperationSettings()
Returns the builder for the settings used for calls to updateShieldedInstanceConfig.
Returns
updateShieldedInstanceConfigSettings()
public UnaryCallSettings.Builder<UpdateShieldedInstanceConfigInstanceRequest,Operation> updateShieldedInstanceConfigSettings()
Returns the builder for the settings used for calls to updateShieldedInstanceConfig.
Returns