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