Package com.google.cloud.compute.v1.stub
Class InstancesStubSettings
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings<InstancesStubSettings>
-
- com.google.cloud.compute.v1.stub.InstancesStubSettings
-
@Generated("by gapic-generator-java") public class InstancesStubSettings extends com.google.api.gax.rpc.StubSettings<InstancesStubSettings>
Settings class to configure an instance ofInstancesStub
.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 total timeout of get to 30 seconds:
// 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() .setTotalTimeout(Duration.ofSeconds(30)) .build()); InstancesStubSettings instancesSettings = instancesSettingsBuilder.build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InstancesStubSettings.Builder
Builder for InstancesStubSettings.
-
Constructor Summary
Constructors Modifier Constructor Description protected
InstancesStubSettings(InstancesStubSettings.Builder settingsBuilder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.OperationCallSettings<AddAccessConfigInstanceRequest,Operation,Operation>
addAccessConfigOperationSettings()
Returns the object with the settings used for calls to addAccessConfig.com.google.api.gax.rpc.UnaryCallSettings<AddAccessConfigInstanceRequest,Operation>
addAccessConfigSettings()
Returns the object with the settings used for calls to addAccessConfig.com.google.api.gax.rpc.OperationCallSettings<AddResourcePoliciesInstanceRequest,Operation,Operation>
addResourcePoliciesOperationSettings()
Returns the object with the settings used for calls to addResourcePolicies.com.google.api.gax.rpc.UnaryCallSettings<AddResourcePoliciesInstanceRequest,Operation>
addResourcePoliciesSettings()
Returns the object with the settings used for calls to addResourcePolicies.com.google.api.gax.rpc.PagedCallSettings<AggregatedListInstancesRequest,InstanceAggregatedList,InstancesClient.AggregatedListPagedResponse>
aggregatedListSettings()
Returns the object with the settings used for calls to aggregatedList.com.google.api.gax.rpc.OperationCallSettings<AttachDiskInstanceRequest,Operation,Operation>
attachDiskOperationSettings()
Returns the object with the settings used for calls to attachDisk.com.google.api.gax.rpc.UnaryCallSettings<AttachDiskInstanceRequest,Operation>
attachDiskSettings()
Returns the object with the settings used for calls to attachDisk.com.google.api.gax.rpc.OperationCallSettings<BulkInsertInstanceRequest,Operation,Operation>
bulkInsertOperationSettings()
Returns the object with the settings used for calls to bulkInsert.com.google.api.gax.rpc.UnaryCallSettings<BulkInsertInstanceRequest,Operation>
bulkInsertSettings()
Returns the object with the settings used for calls to bulkInsert.InstancesStub
createStub()
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder
defaultApiClientHeaderProviderBuilder()
static com.google.api.gax.core.GoogleCredentialsProvider.Builder
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.static com.google.api.gax.core.InstantiatingExecutorProvider.Builder
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.static com.google.api.gax.rpc.TransportChannelProvider
defaultTransportChannelProvider()
com.google.api.gax.rpc.OperationCallSettings<DeleteAccessConfigInstanceRequest,Operation,Operation>
deleteAccessConfigOperationSettings()
Returns the object with the settings used for calls to deleteAccessConfig.com.google.api.gax.rpc.UnaryCallSettings<DeleteAccessConfigInstanceRequest,Operation>
deleteAccessConfigSettings()
Returns the object with the settings used for calls to deleteAccessConfig.com.google.api.gax.rpc.OperationCallSettings<DeleteInstanceRequest,Operation,Operation>
deleteOperationSettings()
Returns the object with the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings<DeleteInstanceRequest,Operation>
deleteSettings()
Returns the object with the settings used for calls to delete.com.google.api.gax.rpc.OperationCallSettings<DetachDiskInstanceRequest,Operation,Operation>
detachDiskOperationSettings()
Returns the object with the settings used for calls to detachDisk.com.google.api.gax.rpc.UnaryCallSettings<DetachDiskInstanceRequest,Operation>
detachDiskSettings()
Returns the object with the settings used for calls to detachDisk.static String
getDefaultEndpoint()
Returns the default service endpoint.static String
getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.static List<String>
getDefaultServiceScopes()
Returns the default service scopes.com.google.api.gax.rpc.UnaryCallSettings<GetEffectiveFirewallsInstanceRequest,InstancesGetEffectiveFirewallsResponse>
getEffectiveFirewallsSettings()
Returns the object with the settings used for calls to getEffectiveFirewalls.com.google.api.gax.rpc.UnaryCallSettings<GetGuestAttributesInstanceRequest,GuestAttributes>
getGuestAttributesSettings()
Returns the object with the settings used for calls to getGuestAttributes.com.google.api.gax.rpc.UnaryCallSettings<GetIamPolicyInstanceRequest,Policy>
getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings<GetScreenshotInstanceRequest,Screenshot>
getScreenshotSettings()
Returns the object with the settings used for calls to getScreenshot.com.google.api.gax.rpc.UnaryCallSettings<GetSerialPortOutputInstanceRequest,SerialPortOutput>
getSerialPortOutputSettings()
Returns the object with the settings used for calls to getSerialPortOutput.com.google.api.gax.rpc.UnaryCallSettings<GetInstanceRequest,Instance>
getSettings()
Returns the object with the settings used for calls to get.com.google.api.gax.rpc.UnaryCallSettings<GetShieldedInstanceIdentityInstanceRequest,ShieldedInstanceIdentity>
getShieldedInstanceIdentitySettings()
Returns the object with the settings used for calls to getShieldedInstanceIdentity.com.google.api.gax.rpc.OperationCallSettings<InsertInstanceRequest,Operation,Operation>
insertOperationSettings()
Returns the object with the settings used for calls to insert.com.google.api.gax.rpc.UnaryCallSettings<InsertInstanceRequest,Operation>
insertSettings()
Returns the object with the settings used for calls to insert.com.google.api.gax.rpc.PagedCallSettings<ListReferrersInstancesRequest,InstanceListReferrers,InstancesClient.ListReferrersPagedResponse>
listReferrersSettings()
Returns the object with the settings used for calls to listReferrers.com.google.api.gax.rpc.PagedCallSettings<ListInstancesRequest,InstanceList,InstancesClient.ListPagedResponse>
listSettings()
Returns the object with the settings used for calls to list.static InstancesStubSettings.Builder
newBuilder()
Returns a new builder for this class.static InstancesStubSettings.Builder
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.com.google.api.gax.rpc.OperationCallSettings<RemoveResourcePoliciesInstanceRequest,Operation,Operation>
removeResourcePoliciesOperationSettings()
Returns the object with the settings used for calls to removeResourcePolicies.com.google.api.gax.rpc.UnaryCallSettings<RemoveResourcePoliciesInstanceRequest,Operation>
removeResourcePoliciesSettings()
Returns the object with the settings used for calls to removeResourcePolicies.com.google.api.gax.rpc.OperationCallSettings<ResetInstanceRequest,Operation,Operation>
resetOperationSettings()
Returns the object with the settings used for calls to reset.com.google.api.gax.rpc.UnaryCallSettings<ResetInstanceRequest,Operation>
resetSettings()
Returns the object with the settings used for calls to reset.com.google.api.gax.rpc.OperationCallSettings<ResumeInstanceRequest,Operation,Operation>
resumeOperationSettings()
Returns the object with the settings used for calls to resume.com.google.api.gax.rpc.UnaryCallSettings<ResumeInstanceRequest,Operation>
resumeSettings()
Returns the object with the settings used for calls to resume.com.google.api.gax.rpc.UnaryCallSettings<SendDiagnosticInterruptInstanceRequest,SendDiagnosticInterruptInstanceResponse>
sendDiagnosticInterruptSettings()
Returns the object with the settings used for calls to sendDiagnosticInterrupt.com.google.api.gax.rpc.OperationCallSettings<SetDeletionProtectionInstanceRequest,Operation,Operation>
setDeletionProtectionOperationSettings()
Returns the object with the settings used for calls to setDeletionProtection.com.google.api.gax.rpc.UnaryCallSettings<SetDeletionProtectionInstanceRequest,Operation>
setDeletionProtectionSettings()
Returns the object with the settings used for calls to setDeletionProtection.com.google.api.gax.rpc.OperationCallSettings<SetDiskAutoDeleteInstanceRequest,Operation,Operation>
setDiskAutoDeleteOperationSettings()
Returns the object with the settings used for calls to setDiskAutoDelete.com.google.api.gax.rpc.UnaryCallSettings<SetDiskAutoDeleteInstanceRequest,Operation>
setDiskAutoDeleteSettings()
Returns the object with the settings used for calls to setDiskAutoDelete.com.google.api.gax.rpc.UnaryCallSettings<SetIamPolicyInstanceRequest,Policy>
setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.com.google.api.gax.rpc.OperationCallSettings<SetLabelsInstanceRequest,Operation,Operation>
setLabelsOperationSettings()
Returns the object with the settings used for calls to setLabels.com.google.api.gax.rpc.UnaryCallSettings<SetLabelsInstanceRequest,Operation>
setLabelsSettings()
Returns the object with the settings used for calls to setLabels.com.google.api.gax.rpc.OperationCallSettings<SetMachineResourcesInstanceRequest,Operation,Operation>
setMachineResourcesOperationSettings()
Returns the object with the settings used for calls to setMachineResources.com.google.api.gax.rpc.UnaryCallSettings<SetMachineResourcesInstanceRequest,Operation>
setMachineResourcesSettings()
Returns the object with the settings used for calls to setMachineResources.com.google.api.gax.rpc.OperationCallSettings<SetMachineTypeInstanceRequest,Operation,Operation>
setMachineTypeOperationSettings()
Returns the object with the settings used for calls to setMachineType.com.google.api.gax.rpc.UnaryCallSettings<SetMachineTypeInstanceRequest,Operation>
setMachineTypeSettings()
Returns the object with the settings used for calls to setMachineType.com.google.api.gax.rpc.OperationCallSettings<SetMetadataInstanceRequest,Operation,Operation>
setMetadataOperationSettings()
Returns the object with the settings used for calls to setMetadata.com.google.api.gax.rpc.UnaryCallSettings<SetMetadataInstanceRequest,Operation>
setMetadataSettings()
Returns the object with the settings used for calls to setMetadata.com.google.api.gax.rpc.OperationCallSettings<SetMinCpuPlatformInstanceRequest,Operation,Operation>
setMinCpuPlatformOperationSettings()
Returns the object with the settings used for calls to setMinCpuPlatform.com.google.api.gax.rpc.UnaryCallSettings<SetMinCpuPlatformInstanceRequest,Operation>
setMinCpuPlatformSettings()
Returns the object with the settings used for calls to setMinCpuPlatform.com.google.api.gax.rpc.OperationCallSettings<SetNameInstanceRequest,Operation,Operation>
setNameOperationSettings()
Returns the object with the settings used for calls to setName.com.google.api.gax.rpc.UnaryCallSettings<SetNameInstanceRequest,Operation>
setNameSettings()
Returns the object with the settings used for calls to setName.com.google.api.gax.rpc.OperationCallSettings<SetSchedulingInstanceRequest,Operation,Operation>
setSchedulingOperationSettings()
Returns the object with the settings used for calls to setScheduling.com.google.api.gax.rpc.UnaryCallSettings<SetSchedulingInstanceRequest,Operation>
setSchedulingSettings()
Returns the object with the settings used for calls to setScheduling.com.google.api.gax.rpc.OperationCallSettings<SetServiceAccountInstanceRequest,Operation,Operation>
setServiceAccountOperationSettings()
Returns the object with the settings used for calls to setServiceAccount.com.google.api.gax.rpc.UnaryCallSettings<SetServiceAccountInstanceRequest,Operation>
setServiceAccountSettings()
Returns the object with the settings used for calls to setServiceAccount.com.google.api.gax.rpc.OperationCallSettings<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation,Operation>
setShieldedInstanceIntegrityPolicyOperationSettings()
Returns the object with the settings used for calls to setShieldedInstanceIntegrityPolicy.com.google.api.gax.rpc.UnaryCallSettings<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation>
setShieldedInstanceIntegrityPolicySettings()
Returns the object with the settings used for calls to setShieldedInstanceIntegrityPolicy.com.google.api.gax.rpc.OperationCallSettings<SetTagsInstanceRequest,Operation,Operation>
setTagsOperationSettings()
Returns the object with the settings used for calls to setTags.com.google.api.gax.rpc.UnaryCallSettings<SetTagsInstanceRequest,Operation>
setTagsSettings()
Returns the object with the settings used for calls to setTags.com.google.api.gax.rpc.OperationCallSettings<SimulateMaintenanceEventInstanceRequest,Operation,Operation>
simulateMaintenanceEventOperationSettings()
Returns the object with the settings used for calls to simulateMaintenanceEvent.com.google.api.gax.rpc.UnaryCallSettings<SimulateMaintenanceEventInstanceRequest,Operation>
simulateMaintenanceEventSettings()
Returns the object with the settings used for calls to simulateMaintenanceEvent.com.google.api.gax.rpc.OperationCallSettings<StartInstanceRequest,Operation,Operation>
startOperationSettings()
Returns the object with the settings used for calls to start.com.google.api.gax.rpc.UnaryCallSettings<StartInstanceRequest,Operation>
startSettings()
Returns the object with the settings used for calls to start.com.google.api.gax.rpc.OperationCallSettings<StartWithEncryptionKeyInstanceRequest,Operation,Operation>
startWithEncryptionKeyOperationSettings()
Returns the object with the settings used for calls to startWithEncryptionKey.com.google.api.gax.rpc.UnaryCallSettings<StartWithEncryptionKeyInstanceRequest,Operation>
startWithEncryptionKeySettings()
Returns the object with the settings used for calls to startWithEncryptionKey.com.google.api.gax.rpc.OperationCallSettings<StopInstanceRequest,Operation,Operation>
stopOperationSettings()
Returns the object with the settings used for calls to stop.com.google.api.gax.rpc.UnaryCallSettings<StopInstanceRequest,Operation>
stopSettings()
Returns the object with the settings used for calls to stop.com.google.api.gax.rpc.OperationCallSettings<SuspendInstanceRequest,Operation,Operation>
suspendOperationSettings()
Returns the object with the settings used for calls to suspend.com.google.api.gax.rpc.UnaryCallSettings<SuspendInstanceRequest,Operation>
suspendSettings()
Returns the object with the settings used for calls to suspend.com.google.api.gax.rpc.UnaryCallSettings<TestIamPermissionsInstanceRequest,TestPermissionsResponse>
testIamPermissionsSettings()
Returns the object with the settings used for calls to testIamPermissions.InstancesStubSettings.Builder
toBuilder()
Returns a builder containing all the values of this settings class.com.google.api.gax.rpc.OperationCallSettings<UpdateAccessConfigInstanceRequest,Operation,Operation>
updateAccessConfigOperationSettings()
Returns the object with the settings used for calls to updateAccessConfig.com.google.api.gax.rpc.UnaryCallSettings<UpdateAccessConfigInstanceRequest,Operation>
updateAccessConfigSettings()
Returns the object with the settings used for calls to updateAccessConfig.com.google.api.gax.rpc.OperationCallSettings<UpdateDisplayDeviceInstanceRequest,Operation,Operation>
updateDisplayDeviceOperationSettings()
Returns the object with the settings used for calls to updateDisplayDevice.com.google.api.gax.rpc.UnaryCallSettings<UpdateDisplayDeviceInstanceRequest,Operation>
updateDisplayDeviceSettings()
Returns the object with the settings used for calls to updateDisplayDevice.com.google.api.gax.rpc.OperationCallSettings<UpdateNetworkInterfaceInstanceRequest,Operation,Operation>
updateNetworkInterfaceOperationSettings()
Returns the object with the settings used for calls to updateNetworkInterface.com.google.api.gax.rpc.UnaryCallSettings<UpdateNetworkInterfaceInstanceRequest,Operation>
updateNetworkInterfaceSettings()
Returns the object with the settings used for calls to updateNetworkInterface.com.google.api.gax.rpc.OperationCallSettings<UpdateInstanceRequest,Operation,Operation>
updateOperationSettings()
Returns the object with the settings used for calls to update.com.google.api.gax.rpc.UnaryCallSettings<UpdateInstanceRequest,Operation>
updateSettings()
Returns the object with the settings used for calls to update.com.google.api.gax.rpc.OperationCallSettings<UpdateShieldedInstanceConfigInstanceRequest,Operation,Operation>
updateShieldedInstanceConfigOperationSettings()
Returns the object with the settings used for calls to updateShieldedInstanceConfig.com.google.api.gax.rpc.UnaryCallSettings<UpdateShieldedInstanceConfigInstanceRequest,Operation>
updateShieldedInstanceConfigSettings()
Returns the object with the settings used for calls to updateShieldedInstanceConfig.-
Methods inherited from class com.google.api.gax.rpc.StubSettings
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
InstancesStubSettings
protected InstancesStubSettings(InstancesStubSettings.Builder settingsBuilder) throws IOException
- Throws:
IOException
-
-
Method Detail
-
addAccessConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings<AddAccessConfigInstanceRequest,Operation> addAccessConfigSettings()
Returns the object with the settings used for calls to addAccessConfig.
-
addAccessConfigOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<AddAccessConfigInstanceRequest,Operation,Operation> addAccessConfigOperationSettings()
Returns the object with the settings used for calls to addAccessConfig.
-
addResourcePoliciesSettings
public com.google.api.gax.rpc.UnaryCallSettings<AddResourcePoliciesInstanceRequest,Operation> addResourcePoliciesSettings()
Returns the object with the settings used for calls to addResourcePolicies.
-
addResourcePoliciesOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<AddResourcePoliciesInstanceRequest,Operation,Operation> addResourcePoliciesOperationSettings()
Returns the object with the settings used for calls to addResourcePolicies.
-
aggregatedListSettings
public com.google.api.gax.rpc.PagedCallSettings<AggregatedListInstancesRequest,InstanceAggregatedList,InstancesClient.AggregatedListPagedResponse> aggregatedListSettings()
Returns the object with the settings used for calls to aggregatedList.
-
attachDiskSettings
public com.google.api.gax.rpc.UnaryCallSettings<AttachDiskInstanceRequest,Operation> attachDiskSettings()
Returns the object with the settings used for calls to attachDisk.
-
attachDiskOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<AttachDiskInstanceRequest,Operation,Operation> attachDiskOperationSettings()
Returns the object with the settings used for calls to attachDisk.
-
bulkInsertSettings
public com.google.api.gax.rpc.UnaryCallSettings<BulkInsertInstanceRequest,Operation> bulkInsertSettings()
Returns the object with the settings used for calls to bulkInsert.
-
bulkInsertOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<BulkInsertInstanceRequest,Operation,Operation> bulkInsertOperationSettings()
Returns the object with the settings used for calls to bulkInsert.
-
deleteSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteInstanceRequest,Operation> deleteSettings()
Returns the object with the settings used for calls to delete.
-
deleteOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DeleteInstanceRequest,Operation,Operation> deleteOperationSettings()
Returns the object with the settings used for calls to delete.
-
deleteAccessConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteAccessConfigInstanceRequest,Operation> deleteAccessConfigSettings()
Returns the object with the settings used for calls to deleteAccessConfig.
-
deleteAccessConfigOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DeleteAccessConfigInstanceRequest,Operation,Operation> deleteAccessConfigOperationSettings()
Returns the object with the settings used for calls to deleteAccessConfig.
-
detachDiskSettings
public com.google.api.gax.rpc.UnaryCallSettings<DetachDiskInstanceRequest,Operation> detachDiskSettings()
Returns the object with the settings used for calls to detachDisk.
-
detachDiskOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DetachDiskInstanceRequest,Operation,Operation> detachDiskOperationSettings()
Returns the object with the settings used for calls to detachDisk.
-
getSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetInstanceRequest,Instance> getSettings()
Returns the object with the settings used for calls to get.
-
getEffectiveFirewallsSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetEffectiveFirewallsInstanceRequest,InstancesGetEffectiveFirewallsResponse> getEffectiveFirewallsSettings()
Returns the object with the settings used for calls to getEffectiveFirewalls.
-
getGuestAttributesSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetGuestAttributesInstanceRequest,GuestAttributes> getGuestAttributesSettings()
Returns the object with the settings used for calls to getGuestAttributes.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings<GetIamPolicyInstanceRequest,Policy> getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
-
getScreenshotSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetScreenshotInstanceRequest,Screenshot> getScreenshotSettings()
Returns the object with the settings used for calls to getScreenshot.
-
getSerialPortOutputSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetSerialPortOutputInstanceRequest,SerialPortOutput> getSerialPortOutputSettings()
Returns the object with the settings used for calls to getSerialPortOutput.
-
getShieldedInstanceIdentitySettings
public com.google.api.gax.rpc.UnaryCallSettings<GetShieldedInstanceIdentityInstanceRequest,ShieldedInstanceIdentity> getShieldedInstanceIdentitySettings()
Returns the object with the settings used for calls to getShieldedInstanceIdentity.
-
insertSettings
public com.google.api.gax.rpc.UnaryCallSettings<InsertInstanceRequest,Operation> insertSettings()
Returns the object with the settings used for calls to insert.
-
insertOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<InsertInstanceRequest,Operation,Operation> insertOperationSettings()
Returns the object with the settings used for calls to insert.
-
listSettings
public com.google.api.gax.rpc.PagedCallSettings<ListInstancesRequest,InstanceList,InstancesClient.ListPagedResponse> listSettings()
Returns the object with the settings used for calls to list.
-
listReferrersSettings
public com.google.api.gax.rpc.PagedCallSettings<ListReferrersInstancesRequest,InstanceListReferrers,InstancesClient.ListReferrersPagedResponse> listReferrersSettings()
Returns the object with the settings used for calls to listReferrers.
-
removeResourcePoliciesSettings
public com.google.api.gax.rpc.UnaryCallSettings<RemoveResourcePoliciesInstanceRequest,Operation> removeResourcePoliciesSettings()
Returns the object with the settings used for calls to removeResourcePolicies.
-
removeResourcePoliciesOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<RemoveResourcePoliciesInstanceRequest,Operation,Operation> removeResourcePoliciesOperationSettings()
Returns the object with the settings used for calls to removeResourcePolicies.
-
resetSettings
public com.google.api.gax.rpc.UnaryCallSettings<ResetInstanceRequest,Operation> resetSettings()
Returns the object with the settings used for calls to reset.
-
resetOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<ResetInstanceRequest,Operation,Operation> resetOperationSettings()
Returns the object with the settings used for calls to reset.
-
resumeSettings
public com.google.api.gax.rpc.UnaryCallSettings<ResumeInstanceRequest,Operation> resumeSettings()
Returns the object with the settings used for calls to resume.
-
resumeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<ResumeInstanceRequest,Operation,Operation> resumeOperationSettings()
Returns the object with the settings used for calls to resume.
-
sendDiagnosticInterruptSettings
public com.google.api.gax.rpc.UnaryCallSettings<SendDiagnosticInterruptInstanceRequest,SendDiagnosticInterruptInstanceResponse> sendDiagnosticInterruptSettings()
Returns the object with the settings used for calls to sendDiagnosticInterrupt.
-
setDeletionProtectionSettings
public com.google.api.gax.rpc.UnaryCallSettings<SetDeletionProtectionInstanceRequest,Operation> setDeletionProtectionSettings()
Returns the object with the settings used for calls to setDeletionProtection.
-
setDeletionProtectionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<SetDeletionProtectionInstanceRequest,Operation,Operation> setDeletionProtectionOperationSettings()
Returns the object with the settings used for calls to setDeletionProtection.
-
setDiskAutoDeleteSettings
public com.google.api.gax.rpc.UnaryCallSettings<SetDiskAutoDeleteInstanceRequest,Operation> setDiskAutoDeleteSettings()
Returns the object with the settings used for calls to setDiskAutoDelete.
-
setDiskAutoDeleteOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<SetDiskAutoDeleteInstanceRequest,Operation,Operation> setDiskAutoDeleteOperationSettings()
Returns the object with the settings used for calls to setDiskAutoDelete.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings<SetIamPolicyInstanceRequest,Policy> setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
-
setLabelsSettings
public com.google.api.gax.rpc.UnaryCallSettings<SetLabelsInstanceRequest,Operation> setLabelsSettings()
Returns the object with the settings used for calls to setLabels.
-
setLabelsOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<SetLabelsInstanceRequest,Operation,Operation> setLabelsOperationSettings()
Returns the object with the settings used for calls to setLabels.
-
setMachineResourcesSettings
public com.google.api.gax.rpc.UnaryCallSettings<SetMachineResourcesInstanceRequest,Operation> setMachineResourcesSettings()
Returns the object with the settings used for calls to setMachineResources.
-
setMachineResourcesOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<SetMachineResourcesInstanceRequest,Operation,Operation> setMachineResourcesOperationSettings()
Returns the object with the settings used for calls to setMachineResources.
-
setMachineTypeSettings
public com.google.api.gax.rpc.UnaryCallSettings<SetMachineTypeInstanceRequest,Operation> setMachineTypeSettings()
Returns the object with the settings used for calls to setMachineType.
-
setMachineTypeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<SetMachineTypeInstanceRequest,Operation,Operation> setMachineTypeOperationSettings()
Returns the object with the settings used for calls to setMachineType.
-
setMetadataSettings
public com.google.api.gax.rpc.UnaryCallSettings<SetMetadataInstanceRequest,Operation> setMetadataSettings()
Returns the object with the settings used for calls to setMetadata.
-
setMetadataOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<SetMetadataInstanceRequest,Operation,Operation> setMetadataOperationSettings()
Returns the object with the settings used for calls to setMetadata.
-
setMinCpuPlatformSettings
public com.google.api.gax.rpc.UnaryCallSettings<SetMinCpuPlatformInstanceRequest,Operation> setMinCpuPlatformSettings()
Returns the object with the settings used for calls to setMinCpuPlatform.
-
setMinCpuPlatformOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<SetMinCpuPlatformInstanceRequest,Operation,Operation> setMinCpuPlatformOperationSettings()
Returns the object with the settings used for calls to setMinCpuPlatform.
-
setNameSettings
public com.google.api.gax.rpc.UnaryCallSettings<SetNameInstanceRequest,Operation> setNameSettings()
Returns the object with the settings used for calls to setName.
-
setNameOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<SetNameInstanceRequest,Operation,Operation> setNameOperationSettings()
Returns the object with the settings used for calls to setName.
-
setSchedulingSettings
public com.google.api.gax.rpc.UnaryCallSettings<SetSchedulingInstanceRequest,Operation> setSchedulingSettings()
Returns the object with the settings used for calls to setScheduling.
-
setSchedulingOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<SetSchedulingInstanceRequest,Operation,Operation> setSchedulingOperationSettings()
Returns the object with the settings used for calls to setScheduling.
-
setServiceAccountSettings
public com.google.api.gax.rpc.UnaryCallSettings<SetServiceAccountInstanceRequest,Operation> setServiceAccountSettings()
Returns the object with the settings used for calls to setServiceAccount.
-
setServiceAccountOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<SetServiceAccountInstanceRequest,Operation,Operation> setServiceAccountOperationSettings()
Returns the object with the settings used for calls to setServiceAccount.
-
setShieldedInstanceIntegrityPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation> setShieldedInstanceIntegrityPolicySettings()
Returns the object with the settings used for calls to setShieldedInstanceIntegrityPolicy.
-
setShieldedInstanceIntegrityPolicyOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation,Operation> setShieldedInstanceIntegrityPolicyOperationSettings()
Returns the object with the settings used for calls to setShieldedInstanceIntegrityPolicy.
-
setTagsSettings
public com.google.api.gax.rpc.UnaryCallSettings<SetTagsInstanceRequest,Operation> setTagsSettings()
Returns the object with the settings used for calls to setTags.
-
setTagsOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<SetTagsInstanceRequest,Operation,Operation> setTagsOperationSettings()
Returns the object with the settings used for calls to setTags.
-
simulateMaintenanceEventSettings
public com.google.api.gax.rpc.UnaryCallSettings<SimulateMaintenanceEventInstanceRequest,Operation> simulateMaintenanceEventSettings()
Returns the object with the settings used for calls to simulateMaintenanceEvent.
-
simulateMaintenanceEventOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<SimulateMaintenanceEventInstanceRequest,Operation,Operation> simulateMaintenanceEventOperationSettings()
Returns the object with the settings used for calls to simulateMaintenanceEvent.
-
startSettings
public com.google.api.gax.rpc.UnaryCallSettings<StartInstanceRequest,Operation> startSettings()
Returns the object with the settings used for calls to start.
-
startOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<StartInstanceRequest,Operation,Operation> startOperationSettings()
Returns the object with the settings used for calls to start.
-
startWithEncryptionKeySettings
public com.google.api.gax.rpc.UnaryCallSettings<StartWithEncryptionKeyInstanceRequest,Operation> startWithEncryptionKeySettings()
Returns the object with the settings used for calls to startWithEncryptionKey.
-
startWithEncryptionKeyOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<StartWithEncryptionKeyInstanceRequest,Operation,Operation> startWithEncryptionKeyOperationSettings()
Returns the object with the settings used for calls to startWithEncryptionKey.
-
stopSettings
public com.google.api.gax.rpc.UnaryCallSettings<StopInstanceRequest,Operation> stopSettings()
Returns the object with the settings used for calls to stop.
-
stopOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<StopInstanceRequest,Operation,Operation> stopOperationSettings()
Returns the object with the settings used for calls to stop.
-
suspendSettings
public com.google.api.gax.rpc.UnaryCallSettings<SuspendInstanceRequest,Operation> suspendSettings()
Returns the object with the settings used for calls to suspend.
-
suspendOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<SuspendInstanceRequest,Operation,Operation> suspendOperationSettings()
Returns the object with the settings used for calls to suspend.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings<TestIamPermissionsInstanceRequest,TestPermissionsResponse> testIamPermissionsSettings()
Returns the object with the settings used for calls to testIamPermissions.
-
updateSettings
public com.google.api.gax.rpc.UnaryCallSettings<UpdateInstanceRequest,Operation> updateSettings()
Returns the object with the settings used for calls to update.
-
updateOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<UpdateInstanceRequest,Operation,Operation> updateOperationSettings()
Returns the object with the settings used for calls to update.
-
updateAccessConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings<UpdateAccessConfigInstanceRequest,Operation> updateAccessConfigSettings()
Returns the object with the settings used for calls to updateAccessConfig.
-
updateAccessConfigOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<UpdateAccessConfigInstanceRequest,Operation,Operation> updateAccessConfigOperationSettings()
Returns the object with the settings used for calls to updateAccessConfig.
-
updateDisplayDeviceSettings
public com.google.api.gax.rpc.UnaryCallSettings<UpdateDisplayDeviceInstanceRequest,Operation> updateDisplayDeviceSettings()
Returns the object with the settings used for calls to updateDisplayDevice.
-
updateDisplayDeviceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<UpdateDisplayDeviceInstanceRequest,Operation,Operation> updateDisplayDeviceOperationSettings()
Returns the object with the settings used for calls to updateDisplayDevice.
-
updateNetworkInterfaceSettings
public com.google.api.gax.rpc.UnaryCallSettings<UpdateNetworkInterfaceInstanceRequest,Operation> updateNetworkInterfaceSettings()
Returns the object with the settings used for calls to updateNetworkInterface.
-
updateNetworkInterfaceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<UpdateNetworkInterfaceInstanceRequest,Operation,Operation> updateNetworkInterfaceOperationSettings()
Returns the object with the settings used for calls to updateNetworkInterface.
-
updateShieldedInstanceConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings<UpdateShieldedInstanceConfigInstanceRequest,Operation> updateShieldedInstanceConfigSettings()
Returns the object with the settings used for calls to updateShieldedInstanceConfig.
-
updateShieldedInstanceConfigOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<UpdateShieldedInstanceConfigInstanceRequest,Operation,Operation> updateShieldedInstanceConfigOperationSettings()
Returns the object with the settings used for calls to updateShieldedInstanceConfig.
-
createStub
public InstancesStub createStub() throws IOException
- Throws:
IOException
-
defaultExecutorProviderBuilder
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
-
getDefaultEndpoint
public static String getDefaultEndpoint()
Returns the default service endpoint.
-
getDefaultMtlsEndpoint
public static String getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
-
getDefaultServiceScopes
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
-
defaultCredentialsProviderBuilder
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
-
defaultHttpJsonTransportProviderBuilder
public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
-
defaultTransportChannelProvider
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
-
defaultApiClientHeaderProviderBuilder
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
-
newBuilder
public static InstancesStubSettings.Builder newBuilder()
Returns a new builder for this class.
-
newBuilder
public static InstancesStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
-
toBuilder
public InstancesStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.- Specified by:
toBuilder
in classcom.google.api.gax.rpc.StubSettings<InstancesStubSettings>
-
-