Class InstancesStubSettings (1.61.0)

public class InstancesStubSettings extends StubSettings<InstancesStubSettings>

Settings class to configure an instance of InstancesStub.

The default instance has everything set to sensible defaults:

  • The default service address (compute.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the RetrySettings of get:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 InstancesStubSettings.Builder instancesSettingsBuilder = InstancesStubSettings.newBuilder();
 instancesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         instancesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setInitialRetryDelayDuration(Duration.ofSeconds(1))
             .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
             .setMaxAttempts(5)
             .setMaxRetryDelayDuration(Duration.ofSeconds(30))
             .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
             .setRetryDelayMultiplier(1.3)
             .setRpcTimeoutMultiplier(1.5)
             .setTotalTimeoutDuration(Duration.ofSeconds(300))
             .build());
 InstancesStubSettings instancesSettings = instancesSettingsBuilder.build();
 

Please refer to the Client Side Retry Guide for additional support in setting retries.

To configure the RetrySettings of a Long Running Operation method, create an OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For example, to configure the RetrySettings for addAccessConfig:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 InstancesStubSettings.Builder instancesSettingsBuilder = InstancesStubSettings.newBuilder();
 TimedRetryAlgorithm timedRetryAlgorithm =
     OperationalTimedPollAlgorithm.create(
         RetrySettings.newBuilder()
             .setInitialRetryDelayDuration(Duration.ofMillis(500))
             .setRetryDelayMultiplier(1.5)
             .setMaxRetryDelay(Duration.ofMillis(5000))
             .setTotalTimeoutDuration(Duration.ofHours(24))
             .build());
 instancesSettingsBuilder
     .createClusterOperationSettings()
     .setPollingAlgorithm(timedRetryAlgorithm)
     .build();
 

Inheritance

java.lang.Object > StubSettings > InstancesStubSettings

Static Methods

defaultApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
Type Description
Builder

defaultCredentialsProviderBuilder()

public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
Type Description
Builder

defaultExecutorProviderBuilder()

public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
Type Description
Builder

defaultHttpJsonTransportProviderBuilder()

public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()

Returns a builder for the default ChannelProvider for this service.

Returns
Type Description
Builder

defaultTransportChannelProvider()

public static TransportChannelProvider defaultTransportChannelProvider()
Returns
Type Description
TransportChannelProvider

getDefaultEndpoint()

public static String getDefaultEndpoint()

Returns the default service endpoint.

Returns
Type Description
String

getDefaultMtlsEndpoint()

public static String getDefaultMtlsEndpoint()

Returns the default mTLS service endpoint.

Returns
Type Description
String

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
Type Description
List<String>

newBuilder()

public static InstancesStubSettings.Builder newBuilder()

Returns a new builder for this class.

Returns
Type Description
InstancesStubSettings.Builder

newBuilder(ClientContext clientContext)

public static InstancesStubSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
Name Description
clientContext ClientContext
Returns
Type Description
InstancesStubSettings.Builder

Constructors

InstancesStubSettings(InstancesStubSettings.Builder settingsBuilder)

protected InstancesStubSettings(InstancesStubSettings.Builder settingsBuilder)
Parameter
Name Description
settingsBuilder InstancesStubSettings.Builder

Methods

addAccessConfigOperationSettings()

public OperationCallSettings<AddAccessConfigInstanceRequest,Operation,Operation> addAccessConfigOperationSettings()

Returns the object with the settings used for calls to addAccessConfig.

Returns
Type Description
OperationCallSettings<AddAccessConfigInstanceRequest,Operation,Operation>

addAccessConfigSettings()

public UnaryCallSettings<AddAccessConfigInstanceRequest,Operation> addAccessConfigSettings()

Returns the object with the settings used for calls to addAccessConfig.

Returns
Type Description
UnaryCallSettings<AddAccessConfigInstanceRequest,Operation>

addResourcePoliciesOperationSettings()

public OperationCallSettings<AddResourcePoliciesInstanceRequest,Operation,Operation> addResourcePoliciesOperationSettings()

Returns the object with the settings used for calls to addResourcePolicies.

Returns
Type Description
OperationCallSettings<AddResourcePoliciesInstanceRequest,Operation,Operation>

addResourcePoliciesSettings()

public UnaryCallSettings<AddResourcePoliciesInstanceRequest,Operation> addResourcePoliciesSettings()

Returns the object with the settings used for calls to addResourcePolicies.

Returns
Type Description
UnaryCallSettings<AddResourcePoliciesInstanceRequest,Operation>

aggregatedListSettings()

public PagedCallSettings<AggregatedListInstancesRequest,InstanceAggregatedList,InstancesClient.AggregatedListPagedResponse> aggregatedListSettings()

Returns the object with the settings used for calls to aggregatedList.

Returns
Type Description
PagedCallSettings<AggregatedListInstancesRequest,InstanceAggregatedList,AggregatedListPagedResponse>

attachDiskOperationSettings()

public OperationCallSettings<AttachDiskInstanceRequest,Operation,Operation> attachDiskOperationSettings()

Returns the object with the settings used for calls to attachDisk.

Returns
Type Description
OperationCallSettings<AttachDiskInstanceRequest,Operation,Operation>

attachDiskSettings()

public UnaryCallSettings<AttachDiskInstanceRequest,Operation> attachDiskSettings()

Returns the object with the settings used for calls to attachDisk.

Returns
Type Description
UnaryCallSettings<AttachDiskInstanceRequest,Operation>

bulkInsertOperationSettings()

public OperationCallSettings<BulkInsertInstanceRequest,Operation,Operation> bulkInsertOperationSettings()

Returns the object with the settings used for calls to bulkInsert.

Returns
Type Description
OperationCallSettings<BulkInsertInstanceRequest,Operation,Operation>

bulkInsertSettings()

public UnaryCallSettings<BulkInsertInstanceRequest,Operation> bulkInsertSettings()

Returns the object with the settings used for calls to bulkInsert.

Returns
Type Description
UnaryCallSettings<BulkInsertInstanceRequest,Operation>

createStub()

public InstancesStub createStub()
Returns
Type Description
InstancesStub
Exceptions
Type Description
IOException

deleteAccessConfigOperationSettings()

public OperationCallSettings<DeleteAccessConfigInstanceRequest,Operation,Operation> deleteAccessConfigOperationSettings()

Returns the object with the settings used for calls to deleteAccessConfig.

Returns
Type Description
OperationCallSettings<DeleteAccessConfigInstanceRequest,Operation,Operation>

deleteAccessConfigSettings()

public UnaryCallSettings<DeleteAccessConfigInstanceRequest,Operation> deleteAccessConfigSettings()

Returns the object with the settings used for calls to deleteAccessConfig.

Returns
Type Description
UnaryCallSettings<DeleteAccessConfigInstanceRequest,Operation>

deleteOperationSettings()

public OperationCallSettings<DeleteInstanceRequest,Operation,Operation> deleteOperationSettings()

Returns the object with the settings used for calls to delete.

Returns
Type Description
OperationCallSettings<DeleteInstanceRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings<DeleteInstanceRequest,Operation> deleteSettings()

Returns the object with the settings used for calls to delete.

Returns
Type Description
UnaryCallSettings<DeleteInstanceRequest,Operation>

detachDiskOperationSettings()

public OperationCallSettings<DetachDiskInstanceRequest,Operation,Operation> detachDiskOperationSettings()

Returns the object with the settings used for calls to detachDisk.

Returns
Type Description
OperationCallSettings<DetachDiskInstanceRequest,Operation,Operation>

detachDiskSettings()

public UnaryCallSettings<DetachDiskInstanceRequest,Operation> detachDiskSettings()

Returns the object with the settings used for calls to detachDisk.

Returns
Type Description
UnaryCallSettings<DetachDiskInstanceRequest,Operation>

getEffectiveFirewallsSettings()

public UnaryCallSettings<GetEffectiveFirewallsInstanceRequest,InstancesGetEffectiveFirewallsResponse> getEffectiveFirewallsSettings()

Returns the object with the settings used for calls to getEffectiveFirewalls.

Returns
Type Description
UnaryCallSettings<GetEffectiveFirewallsInstanceRequest,InstancesGetEffectiveFirewallsResponse>

getGuestAttributesSettings()

public UnaryCallSettings<GetGuestAttributesInstanceRequest,GuestAttributes> getGuestAttributesSettings()

Returns the object with the settings used for calls to getGuestAttributes.

Returns
Type Description
UnaryCallSettings<GetGuestAttributesInstanceRequest,GuestAttributes>

getIamPolicySettings()

public UnaryCallSettings<GetIamPolicyInstanceRequest,Policy> getIamPolicySettings()

Returns the object with the settings used for calls to getIamPolicy.

Returns
Type Description
UnaryCallSettings<GetIamPolicyInstanceRequest,Policy>

getScreenshotSettings()

public UnaryCallSettings<GetScreenshotInstanceRequest,Screenshot> getScreenshotSettings()

Returns the object with the settings used for calls to getScreenshot.

Returns
Type Description
UnaryCallSettings<GetScreenshotInstanceRequest,Screenshot>

getSerialPortOutputSettings()

public UnaryCallSettings<GetSerialPortOutputInstanceRequest,SerialPortOutput> getSerialPortOutputSettings()

Returns the object with the settings used for calls to getSerialPortOutput.

Returns
Type Description
UnaryCallSettings<GetSerialPortOutputInstanceRequest,SerialPortOutput>

getServiceName()

public String getServiceName()

Returns the default service name.

Returns
Type Description
String
Overrides

getSettings()

public UnaryCallSettings<GetInstanceRequest,Instance> getSettings()

Returns the object with the settings used for calls to get.

Returns
Type Description
UnaryCallSettings<GetInstanceRequest,Instance>

getShieldedInstanceIdentitySettings()

public UnaryCallSettings<GetShieldedInstanceIdentityInstanceRequest,ShieldedInstanceIdentity> getShieldedInstanceIdentitySettings()

Returns the object with the settings used for calls to getShieldedInstanceIdentity.

Returns
Type Description
UnaryCallSettings<GetShieldedInstanceIdentityInstanceRequest,ShieldedInstanceIdentity>

insertOperationSettings()

public OperationCallSettings<InsertInstanceRequest,Operation,Operation> insertOperationSettings()

Returns the object with the settings used for calls to insert.

Returns
Type Description
OperationCallSettings<InsertInstanceRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings<InsertInstanceRequest,Operation> insertSettings()

Returns the object with the settings used for calls to insert.

Returns
Type Description
UnaryCallSettings<InsertInstanceRequest,Operation>

listReferrersSettings()

public PagedCallSettings<ListReferrersInstancesRequest,InstanceListReferrers,InstancesClient.ListReferrersPagedResponse> listReferrersSettings()

Returns the object with the settings used for calls to listReferrers.

Returns
Type Description
PagedCallSettings<ListReferrersInstancesRequest,InstanceListReferrers,ListReferrersPagedResponse>

listSettings()

public PagedCallSettings<ListInstancesRequest,InstanceList,InstancesClient.ListPagedResponse> listSettings()

Returns the object with the settings used for calls to list.

Returns
Type Description
PagedCallSettings<ListInstancesRequest,InstanceList,ListPagedResponse>

performMaintenanceOperationSettings()

public OperationCallSettings<PerformMaintenanceInstanceRequest,Operation,Operation> performMaintenanceOperationSettings()

Returns the object with the settings used for calls to performMaintenance.

Returns
Type Description
OperationCallSettings<PerformMaintenanceInstanceRequest,Operation,Operation>

performMaintenanceSettings()

public UnaryCallSettings<PerformMaintenanceInstanceRequest,Operation> performMaintenanceSettings()

Returns the object with the settings used for calls to performMaintenance.

Returns
Type Description
UnaryCallSettings<PerformMaintenanceInstanceRequest,Operation>

removeResourcePoliciesOperationSettings()

public OperationCallSettings<RemoveResourcePoliciesInstanceRequest,Operation,Operation> removeResourcePoliciesOperationSettings()

Returns the object with the settings used for calls to removeResourcePolicies.

Returns
Type Description
OperationCallSettings<RemoveResourcePoliciesInstanceRequest,Operation,Operation>

removeResourcePoliciesSettings()

public UnaryCallSettings<RemoveResourcePoliciesInstanceRequest,Operation> removeResourcePoliciesSettings()

Returns the object with the settings used for calls to removeResourcePolicies.

Returns
Type Description
UnaryCallSettings<RemoveResourcePoliciesInstanceRequest,Operation>

resetOperationSettings()

public OperationCallSettings<ResetInstanceRequest,Operation,Operation> resetOperationSettings()

Returns the object with the settings used for calls to reset.

Returns
Type Description
OperationCallSettings<ResetInstanceRequest,Operation,Operation>

resetSettings()

public UnaryCallSettings<ResetInstanceRequest,Operation> resetSettings()

Returns the object with the settings used for calls to reset.

Returns
Type Description
UnaryCallSettings<ResetInstanceRequest,Operation>

resumeOperationSettings()

public OperationCallSettings<ResumeInstanceRequest,Operation,Operation> resumeOperationSettings()

Returns the object with the settings used for calls to resume.

Returns
Type Description
OperationCallSettings<ResumeInstanceRequest,Operation,Operation>

resumeSettings()

public UnaryCallSettings<ResumeInstanceRequest,Operation> resumeSettings()

Returns the object with the settings used for calls to resume.

Returns
Type Description
UnaryCallSettings<ResumeInstanceRequest,Operation>

sendDiagnosticInterruptSettings()

public UnaryCallSettings<SendDiagnosticInterruptInstanceRequest,SendDiagnosticInterruptInstanceResponse> sendDiagnosticInterruptSettings()

Returns the object with the settings used for calls to sendDiagnosticInterrupt.

Returns
Type Description
UnaryCallSettings<SendDiagnosticInterruptInstanceRequest,SendDiagnosticInterruptInstanceResponse>

setDeletionProtectionOperationSettings()

public OperationCallSettings<SetDeletionProtectionInstanceRequest,Operation,Operation> setDeletionProtectionOperationSettings()

Returns the object with the settings used for calls to setDeletionProtection.

Returns
Type Description
OperationCallSettings<SetDeletionProtectionInstanceRequest,Operation,Operation>

setDeletionProtectionSettings()

public UnaryCallSettings<SetDeletionProtectionInstanceRequest,Operation> setDeletionProtectionSettings()

Returns the object with the settings used for calls to setDeletionProtection.

Returns
Type Description
UnaryCallSettings<SetDeletionProtectionInstanceRequest,Operation>

setDiskAutoDeleteOperationSettings()

public OperationCallSettings<SetDiskAutoDeleteInstanceRequest,Operation,Operation> setDiskAutoDeleteOperationSettings()

Returns the object with the settings used for calls to setDiskAutoDelete.

Returns
Type Description
OperationCallSettings<SetDiskAutoDeleteInstanceRequest,Operation,Operation>

setDiskAutoDeleteSettings()

public UnaryCallSettings<SetDiskAutoDeleteInstanceRequest,Operation> setDiskAutoDeleteSettings()

Returns the object with the settings used for calls to setDiskAutoDelete.

Returns
Type Description
UnaryCallSettings<SetDiskAutoDeleteInstanceRequest,Operation>

setIamPolicySettings()

public UnaryCallSettings<SetIamPolicyInstanceRequest,Policy> setIamPolicySettings()

Returns the object with the settings used for calls to setIamPolicy.

Returns
Type Description
UnaryCallSettings<SetIamPolicyInstanceRequest,Policy>

setLabelsOperationSettings()

public OperationCallSettings<SetLabelsInstanceRequest,Operation,Operation> setLabelsOperationSettings()

Returns the object with the settings used for calls to setLabels.

Returns
Type Description
OperationCallSettings<SetLabelsInstanceRequest,Operation,Operation>

setLabelsSettings()

public UnaryCallSettings<SetLabelsInstanceRequest,Operation> setLabelsSettings()

Returns the object with the settings used for calls to setLabels.

Returns
Type Description
UnaryCallSettings<SetLabelsInstanceRequest,Operation>

setMachineResourcesOperationSettings()

public OperationCallSettings<SetMachineResourcesInstanceRequest,Operation,Operation> setMachineResourcesOperationSettings()

Returns the object with the settings used for calls to setMachineResources.

Returns
Type Description
OperationCallSettings<SetMachineResourcesInstanceRequest,Operation,Operation>

setMachineResourcesSettings()

public UnaryCallSettings<SetMachineResourcesInstanceRequest,Operation> setMachineResourcesSettings()

Returns the object with the settings used for calls to setMachineResources.

Returns
Type Description
UnaryCallSettings<SetMachineResourcesInstanceRequest,Operation>

setMachineTypeOperationSettings()

public OperationCallSettings<SetMachineTypeInstanceRequest,Operation,Operation> setMachineTypeOperationSettings()

Returns the object with the settings used for calls to setMachineType.

Returns
Type Description
OperationCallSettings<SetMachineTypeInstanceRequest,Operation,Operation>

setMachineTypeSettings()

public UnaryCallSettings<SetMachineTypeInstanceRequest,Operation> setMachineTypeSettings()

Returns the object with the settings used for calls to setMachineType.

Returns
Type Description
UnaryCallSettings<SetMachineTypeInstanceRequest,Operation>

setMetadataOperationSettings()

public OperationCallSettings<SetMetadataInstanceRequest,Operation,Operation> setMetadataOperationSettings()

Returns the object with the settings used for calls to setMetadata.

Returns
Type Description
OperationCallSettings<SetMetadataInstanceRequest,Operation,Operation>

setMetadataSettings()

public UnaryCallSettings<SetMetadataInstanceRequest,Operation> setMetadataSettings()

Returns the object with the settings used for calls to setMetadata.

Returns
Type Description
UnaryCallSettings<SetMetadataInstanceRequest,Operation>

setMinCpuPlatformOperationSettings()

public OperationCallSettings<SetMinCpuPlatformInstanceRequest,Operation,Operation> setMinCpuPlatformOperationSettings()

Returns the object with the settings used for calls to setMinCpuPlatform.

Returns
Type Description
OperationCallSettings<SetMinCpuPlatformInstanceRequest,Operation,Operation>

setMinCpuPlatformSettings()

public UnaryCallSettings<SetMinCpuPlatformInstanceRequest,Operation> setMinCpuPlatformSettings()

Returns the object with the settings used for calls to setMinCpuPlatform.

Returns
Type Description
UnaryCallSettings<SetMinCpuPlatformInstanceRequest,Operation>

setNameOperationSettings()

public OperationCallSettings<SetNameInstanceRequest,Operation,Operation> setNameOperationSettings()

Returns the object with the settings used for calls to setName.

Returns
Type Description
OperationCallSettings<SetNameInstanceRequest,Operation,Operation>

setNameSettings()

public UnaryCallSettings<SetNameInstanceRequest,Operation> setNameSettings()

Returns the object with the settings used for calls to setName.

Returns
Type Description
UnaryCallSettings<SetNameInstanceRequest,Operation>

setSchedulingOperationSettings()

public OperationCallSettings<SetSchedulingInstanceRequest,Operation,Operation> setSchedulingOperationSettings()

Returns the object with the settings used for calls to setScheduling.

Returns
Type Description
OperationCallSettings<SetSchedulingInstanceRequest,Operation,Operation>

setSchedulingSettings()

public UnaryCallSettings<SetSchedulingInstanceRequest,Operation> setSchedulingSettings()

Returns the object with the settings used for calls to setScheduling.

Returns
Type Description
UnaryCallSettings<SetSchedulingInstanceRequest,Operation>

setSecurityPolicyOperationSettings()

public OperationCallSettings<SetSecurityPolicyInstanceRequest,Operation,Operation> setSecurityPolicyOperationSettings()

Returns the object with the settings used for calls to setSecurityPolicy.

Returns
Type Description
OperationCallSettings<SetSecurityPolicyInstanceRequest,Operation,Operation>

setSecurityPolicySettings()

public UnaryCallSettings<SetSecurityPolicyInstanceRequest,Operation> setSecurityPolicySettings()

Returns the object with the settings used for calls to setSecurityPolicy.

Returns
Type Description
UnaryCallSettings<SetSecurityPolicyInstanceRequest,Operation>

setServiceAccountOperationSettings()

public OperationCallSettings<SetServiceAccountInstanceRequest,Operation,Operation> setServiceAccountOperationSettings()

Returns the object with the settings used for calls to setServiceAccount.

Returns
Type Description
OperationCallSettings<SetServiceAccountInstanceRequest,Operation,Operation>

setServiceAccountSettings()

public UnaryCallSettings<SetServiceAccountInstanceRequest,Operation> setServiceAccountSettings()

Returns the object with the settings used for calls to setServiceAccount.

Returns
Type Description
UnaryCallSettings<SetServiceAccountInstanceRequest,Operation>

setShieldedInstanceIntegrityPolicyOperationSettings()

public OperationCallSettings<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation,Operation> setShieldedInstanceIntegrityPolicyOperationSettings()

Returns the object with the settings used for calls to setShieldedInstanceIntegrityPolicy.

Returns
Type Description
OperationCallSettings<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation,Operation>

setShieldedInstanceIntegrityPolicySettings()

public UnaryCallSettings<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation> setShieldedInstanceIntegrityPolicySettings()

Returns the object with the settings used for calls to setShieldedInstanceIntegrityPolicy.

Returns
Type Description
UnaryCallSettings<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation>

setTagsOperationSettings()

public OperationCallSettings<SetTagsInstanceRequest,Operation,Operation> setTagsOperationSettings()

Returns the object with the settings used for calls to setTags.

Returns
Type Description
OperationCallSettings<SetTagsInstanceRequest,Operation,Operation>

setTagsSettings()

public UnaryCallSettings<SetTagsInstanceRequest,Operation> setTagsSettings()

Returns the object with the settings used for calls to setTags.

Returns
Type Description
UnaryCallSettings<SetTagsInstanceRequest,Operation>

simulateMaintenanceEventOperationSettings()

public OperationCallSettings<SimulateMaintenanceEventInstanceRequest,Operation,Operation> simulateMaintenanceEventOperationSettings()

Returns the object with the settings used for calls to simulateMaintenanceEvent.

Returns
Type Description
OperationCallSettings<SimulateMaintenanceEventInstanceRequest,Operation,Operation>

simulateMaintenanceEventSettings()

public UnaryCallSettings<SimulateMaintenanceEventInstanceRequest,Operation> simulateMaintenanceEventSettings()

Returns the object with the settings used for calls to simulateMaintenanceEvent.

Returns
Type Description
UnaryCallSettings<SimulateMaintenanceEventInstanceRequest,Operation>

startOperationSettings()

public OperationCallSettings<StartInstanceRequest,Operation,Operation> startOperationSettings()

Returns the object with the settings used for calls to start.

Returns
Type Description
OperationCallSettings<StartInstanceRequest,Operation,Operation>

startSettings()

public UnaryCallSettings<StartInstanceRequest,Operation> startSettings()

Returns the object with the settings used for calls to start.

Returns
Type Description
UnaryCallSettings<StartInstanceRequest,Operation>

startWithEncryptionKeyOperationSettings()

public OperationCallSettings<StartWithEncryptionKeyInstanceRequest,Operation,Operation> startWithEncryptionKeyOperationSettings()

Returns the object with the settings used for calls to startWithEncryptionKey.

Returns
Type Description
OperationCallSettings<StartWithEncryptionKeyInstanceRequest,Operation,Operation>

startWithEncryptionKeySettings()

public UnaryCallSettings<StartWithEncryptionKeyInstanceRequest,Operation> startWithEncryptionKeySettings()

Returns the object with the settings used for calls to startWithEncryptionKey.

Returns
Type Description
UnaryCallSettings<StartWithEncryptionKeyInstanceRequest,Operation>

stopOperationSettings()

public OperationCallSettings<StopInstanceRequest,Operation,Operation> stopOperationSettings()

Returns the object with the settings used for calls to stop.

Returns
Type Description
OperationCallSettings<StopInstanceRequest,Operation,Operation>

stopSettings()

public UnaryCallSettings<StopInstanceRequest,Operation> stopSettings()

Returns the object with the settings used for calls to stop.

Returns
Type Description
UnaryCallSettings<StopInstanceRequest,Operation>

suspendOperationSettings()

public OperationCallSettings<SuspendInstanceRequest,Operation,Operation> suspendOperationSettings()

Returns the object with the settings used for calls to suspend.

Returns
Type Description
OperationCallSettings<SuspendInstanceRequest,Operation,Operation>

suspendSettings()

public UnaryCallSettings<SuspendInstanceRequest,Operation> suspendSettings()

Returns the object with the settings used for calls to suspend.

Returns
Type Description
UnaryCallSettings<SuspendInstanceRequest,Operation>

testIamPermissionsSettings()

public UnaryCallSettings<TestIamPermissionsInstanceRequest,TestPermissionsResponse> testIamPermissionsSettings()

Returns the object with the settings used for calls to testIamPermissions.

Returns
Type Description
UnaryCallSettings<TestIamPermissionsInstanceRequest,TestPermissionsResponse>

toBuilder()

public InstancesStubSettings.Builder toBuilder()

Returns a builder containing all the values of this settings class.

Returns
Type Description
InstancesStubSettings.Builder
Overrides

updateAccessConfigOperationSettings()

public OperationCallSettings<UpdateAccessConfigInstanceRequest,Operation,Operation> updateAccessConfigOperationSettings()

Returns the object with the settings used for calls to updateAccessConfig.

Returns
Type Description
OperationCallSettings<UpdateAccessConfigInstanceRequest,Operation,Operation>

updateAccessConfigSettings()

public UnaryCallSettings<UpdateAccessConfigInstanceRequest,Operation> updateAccessConfigSettings()

Returns the object with the settings used for calls to updateAccessConfig.

Returns
Type Description
UnaryCallSettings<UpdateAccessConfigInstanceRequest,Operation>

updateDisplayDeviceOperationSettings()

public OperationCallSettings<UpdateDisplayDeviceInstanceRequest,Operation,Operation> updateDisplayDeviceOperationSettings()

Returns the object with the settings used for calls to updateDisplayDevice.

Returns
Type Description
OperationCallSettings<UpdateDisplayDeviceInstanceRequest,Operation,Operation>

updateDisplayDeviceSettings()

public UnaryCallSettings<UpdateDisplayDeviceInstanceRequest,Operation> updateDisplayDeviceSettings()

Returns the object with the settings used for calls to updateDisplayDevice.

Returns
Type Description
UnaryCallSettings<UpdateDisplayDeviceInstanceRequest,Operation>

updateNetworkInterfaceOperationSettings()

public OperationCallSettings<UpdateNetworkInterfaceInstanceRequest,Operation,Operation> updateNetworkInterfaceOperationSettings()

Returns the object with the settings used for calls to updateNetworkInterface.

Returns
Type Description
OperationCallSettings<UpdateNetworkInterfaceInstanceRequest,Operation,Operation>

updateNetworkInterfaceSettings()

public UnaryCallSettings<UpdateNetworkInterfaceInstanceRequest,Operation> updateNetworkInterfaceSettings()

Returns the object with the settings used for calls to updateNetworkInterface.

Returns
Type Description
UnaryCallSettings<UpdateNetworkInterfaceInstanceRequest,Operation>

updateOperationSettings()

public OperationCallSettings<UpdateInstanceRequest,Operation,Operation> updateOperationSettings()

Returns the object with the settings used for calls to update.

Returns
Type Description
OperationCallSettings<UpdateInstanceRequest,Operation,Operation>

updateSettings()

public UnaryCallSettings<UpdateInstanceRequest,Operation> updateSettings()

Returns the object with the settings used for calls to update.

Returns
Type Description
UnaryCallSettings<UpdateInstanceRequest,Operation>

updateShieldedInstanceConfigOperationSettings()

public OperationCallSettings<UpdateShieldedInstanceConfigInstanceRequest,Operation,Operation> updateShieldedInstanceConfigOperationSettings()

Returns the object with the settings used for calls to updateShieldedInstanceConfig.

Returns
Type Description
OperationCallSettings<UpdateShieldedInstanceConfigInstanceRequest,Operation,Operation>

updateShieldedInstanceConfigSettings()

public UnaryCallSettings<UpdateShieldedInstanceConfigInstanceRequest,Operation> updateShieldedInstanceConfigSettings()

Returns the object with the settings used for calls to updateShieldedInstanceConfig.

Returns
Type Description
UnaryCallSettings<UpdateShieldedInstanceConfigInstanceRequest,Operation>