Class InstancesStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

        protected Builder​(com.google.api.gax.rpc.ClientContext clientContext)
    • Method Detail

      • applyToAllUnaryMethods

        public InstancesStubSettings.Builder applyToAllUnaryMethods​(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.

      • unaryMethodSettingsBuilders

        public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>> unaryMethodSettingsBuilders()
      • addAccessConfigSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddAccessConfigInstanceRequest,​Operation> addAccessConfigSettings()
        Returns the builder for the settings used for calls to addAccessConfig.
      • addAccessConfigOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<AddAccessConfigInstanceRequest,​Operation,​Operation> addAccessConfigOperationSettings()
        Returns the builder for the settings used for calls to addAccessConfig.
      • addResourcePoliciesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddResourcePoliciesInstanceRequest,​Operation> addResourcePoliciesSettings()
        Returns the builder for the settings used for calls to addResourcePolicies.
      • addResourcePoliciesOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<AddResourcePoliciesInstanceRequest,​Operation,​Operation> addResourcePoliciesOperationSettings()
        Returns the builder for the settings used for calls to addResourcePolicies.
      • attachDiskSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<AttachDiskInstanceRequest,​Operation> attachDiskSettings()
        Returns the builder for the settings used for calls to attachDisk.
      • attachDiskOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<AttachDiskInstanceRequest,​Operation,​Operation> attachDiskOperationSettings()
        Returns the builder for the settings used for calls to attachDisk.
      • bulkInsertSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<BulkInsertInstanceRequest,​Operation> bulkInsertSettings()
        Returns the builder for the settings used for calls to bulkInsert.
      • bulkInsertOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<BulkInsertInstanceRequest,​Operation,​Operation> bulkInsertOperationSettings()
        Returns the builder for the settings used for calls to bulkInsert.
      • deleteSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceRequest,​Operation> deleteSettings()
        Returns the builder for the settings used for calls to delete.
      • deleteOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteInstanceRequest,​Operation,​Operation> deleteOperationSettings()
        Returns the builder for the settings used for calls to delete.
      • deleteAccessConfigSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAccessConfigInstanceRequest,​Operation> deleteAccessConfigSettings()
        Returns the builder for the settings used for calls to deleteAccessConfig.
      • deleteAccessConfigOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteAccessConfigInstanceRequest,​Operation,​Operation> deleteAccessConfigOperationSettings()
        Returns the builder for the settings used for calls to deleteAccessConfig.
      • detachDiskSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DetachDiskInstanceRequest,​Operation> detachDiskSettings()
        Returns the builder for the settings used for calls to detachDisk.
      • detachDiskOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<DetachDiskInstanceRequest,​Operation,​Operation> detachDiskOperationSettings()
        Returns the builder for the settings used for calls to detachDisk.
      • getSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceRequest,​Instance> getSettings()
        Returns the builder for the settings used for calls to get.
      • getGuestAttributesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetGuestAttributesInstanceRequest,​GuestAttributes> getGuestAttributesSettings()
        Returns the builder for the settings used for calls to getGuestAttributes.
      • getIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyInstanceRequest,​Policy> getIamPolicySettings()
        Returns the builder for the settings used for calls to getIamPolicy.
      • getScreenshotSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetScreenshotInstanceRequest,​Screenshot> getScreenshotSettings()
        Returns the builder for the settings used for calls to getScreenshot.
      • insertSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertInstanceRequest,​Operation> insertSettings()
        Returns the builder for the settings used for calls to insert.
      • insertOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<InsertInstanceRequest,​Operation,​Operation> insertOperationSettings()
        Returns the builder for the settings used for calls to insert.
      • removeResourcePoliciesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveResourcePoliciesInstanceRequest,​Operation> removeResourcePoliciesSettings()
        Returns the builder for the settings used for calls to removeResourcePolicies.
      • removeResourcePoliciesOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveResourcePoliciesInstanceRequest,​Operation,​Operation> removeResourcePoliciesOperationSettings()
        Returns the builder for the settings used for calls to removeResourcePolicies.
      • resetSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResetInstanceRequest,​Operation> resetSettings()
        Returns the builder for the settings used for calls to reset.
      • resetOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<ResetInstanceRequest,​Operation,​Operation> resetOperationSettings()
        Returns the builder for the settings used for calls to reset.
      • resumeSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResumeInstanceRequest,​Operation> resumeSettings()
        Returns the builder for the settings used for calls to resume.
      • resumeOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<ResumeInstanceRequest,​Operation,​Operation> resumeOperationSettings()
        Returns the builder for the settings used for calls to resume.
      • setDeletionProtectionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetDeletionProtectionInstanceRequest,​Operation> setDeletionProtectionSettings()
        Returns the builder for the settings used for calls to setDeletionProtection.
      • setDeletionProtectionOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<SetDeletionProtectionInstanceRequest,​Operation,​Operation> setDeletionProtectionOperationSettings()
        Returns the builder for the settings used for calls to setDeletionProtection.
      • setDiskAutoDeleteSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetDiskAutoDeleteInstanceRequest,​Operation> setDiskAutoDeleteSettings()
        Returns the builder for the settings used for calls to setDiskAutoDelete.
      • setDiskAutoDeleteOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<SetDiskAutoDeleteInstanceRequest,​Operation,​Operation> setDiskAutoDeleteOperationSettings()
        Returns the builder for the settings used for calls to setDiskAutoDelete.
      • setIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyInstanceRequest,​Policy> setIamPolicySettings()
        Returns the builder for the settings used for calls to setIamPolicy.
      • setLabelsSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetLabelsInstanceRequest,​Operation> setLabelsSettings()
        Returns the builder for the settings used for calls to setLabels.
      • setLabelsOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<SetLabelsInstanceRequest,​Operation,​Operation> setLabelsOperationSettings()
        Returns the builder for the settings used for calls to setLabels.
      • setMachineResourcesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetMachineResourcesInstanceRequest,​Operation> setMachineResourcesSettings()
        Returns the builder for the settings used for calls to setMachineResources.
      • setMachineResourcesOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<SetMachineResourcesInstanceRequest,​Operation,​Operation> setMachineResourcesOperationSettings()
        Returns the builder for the settings used for calls to setMachineResources.
      • setMachineTypeSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetMachineTypeInstanceRequest,​Operation> setMachineTypeSettings()
        Returns the builder for the settings used for calls to setMachineType.
      • setMachineTypeOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<SetMachineTypeInstanceRequest,​Operation,​Operation> setMachineTypeOperationSettings()
        Returns the builder for the settings used for calls to setMachineType.
      • setMetadataSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetMetadataInstanceRequest,​Operation> setMetadataSettings()
        Returns the builder for the settings used for calls to setMetadata.
      • setMetadataOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<SetMetadataInstanceRequest,​Operation,​Operation> setMetadataOperationSettings()
        Returns the builder for the settings used for calls to setMetadata.
      • setMinCpuPlatformSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetMinCpuPlatformInstanceRequest,​Operation> setMinCpuPlatformSettings()
        Returns the builder for the settings used for calls to setMinCpuPlatform.
      • setMinCpuPlatformOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<SetMinCpuPlatformInstanceRequest,​Operation,​Operation> setMinCpuPlatformOperationSettings()
        Returns the builder for the settings used for calls to setMinCpuPlatform.
      • setNameSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetNameInstanceRequest,​Operation> setNameSettings()
        Returns the builder for the settings used for calls to setName.
      • setNameOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<SetNameInstanceRequest,​Operation,​Operation> setNameOperationSettings()
        Returns the builder for the settings used for calls to setName.
      • setSchedulingSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetSchedulingInstanceRequest,​Operation> setSchedulingSettings()
        Returns the builder for the settings used for calls to setScheduling.
      • setSchedulingOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<SetSchedulingInstanceRequest,​Operation,​Operation> setSchedulingOperationSettings()
        Returns the builder for the settings used for calls to setScheduling.
      • setServiceAccountSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetServiceAccountInstanceRequest,​Operation> setServiceAccountSettings()
        Returns the builder for the settings used for calls to setServiceAccount.
      • setServiceAccountOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<SetServiceAccountInstanceRequest,​Operation,​Operation> setServiceAccountOperationSettings()
        Returns the builder for the settings used for calls to setServiceAccount.
      • setShieldedInstanceIntegrityPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetShieldedInstanceIntegrityPolicyInstanceRequest,​Operation> setShieldedInstanceIntegrityPolicySettings()
        Returns the builder for the settings used for calls to setShieldedInstanceIntegrityPolicy.
      • setShieldedInstanceIntegrityPolicyOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<SetShieldedInstanceIntegrityPolicyInstanceRequest,​Operation,​Operation> setShieldedInstanceIntegrityPolicyOperationSettings()
        Returns the builder for the settings used for calls to setShieldedInstanceIntegrityPolicy.
      • setTagsSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetTagsInstanceRequest,​Operation> setTagsSettings()
        Returns the builder for the settings used for calls to setTags.
      • setTagsOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<SetTagsInstanceRequest,​Operation,​Operation> setTagsOperationSettings()
        Returns the builder for the settings used for calls to setTags.
      • simulateMaintenanceEventSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SimulateMaintenanceEventInstanceRequest,​Operation> simulateMaintenanceEventSettings()
        Returns the builder for the settings used for calls to simulateMaintenanceEvent.
      • simulateMaintenanceEventOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<SimulateMaintenanceEventInstanceRequest,​Operation,​Operation> simulateMaintenanceEventOperationSettings()
        Returns the builder for the settings used for calls to simulateMaintenanceEvent.
      • startSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartInstanceRequest,​Operation> startSettings()
        Returns the builder for the settings used for calls to start.
      • startOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<StartInstanceRequest,​Operation,​Operation> startOperationSettings()
        Returns the builder for the settings used for calls to start.
      • startWithEncryptionKeySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartWithEncryptionKeyInstanceRequest,​Operation> startWithEncryptionKeySettings()
        Returns the builder for the settings used for calls to startWithEncryptionKey.
      • startWithEncryptionKeyOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<StartWithEncryptionKeyInstanceRequest,​Operation,​Operation> startWithEncryptionKeyOperationSettings()
        Returns the builder for the settings used for calls to startWithEncryptionKey.
      • stopSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<StopInstanceRequest,​Operation> stopSettings()
        Returns the builder for the settings used for calls to stop.
      • stopOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<StopInstanceRequest,​Operation,​Operation> stopOperationSettings()
        Returns the builder for the settings used for calls to stop.
      • suspendSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SuspendInstanceRequest,​Operation> suspendSettings()
        Returns the builder for the settings used for calls to suspend.
      • suspendOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<SuspendInstanceRequest,​Operation,​Operation> suspendOperationSettings()
        Returns the builder for the settings used for calls to suspend.
      • updateSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateInstanceRequest,​Operation> updateSettings()
        Returns the builder for the settings used for calls to update.
      • updateOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateInstanceRequest,​Operation,​Operation> updateOperationSettings()
        Returns the builder for the settings used for calls to update.
      • updateAccessConfigSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAccessConfigInstanceRequest,​Operation> updateAccessConfigSettings()
        Returns the builder for the settings used for calls to updateAccessConfig.
      • updateAccessConfigOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateAccessConfigInstanceRequest,​Operation,​Operation> updateAccessConfigOperationSettings()
        Returns the builder for the settings used for calls to updateAccessConfig.
      • updateDisplayDeviceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDisplayDeviceInstanceRequest,​Operation> updateDisplayDeviceSettings()
        Returns the builder for the settings used for calls to updateDisplayDevice.
      • updateDisplayDeviceOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateDisplayDeviceInstanceRequest,​Operation,​Operation> updateDisplayDeviceOperationSettings()
        Returns the builder for the settings used for calls to updateDisplayDevice.
      • updateNetworkInterfaceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateNetworkInterfaceInstanceRequest,​Operation> updateNetworkInterfaceSettings()
        Returns the builder for the settings used for calls to updateNetworkInterface.
      • updateNetworkInterfaceOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateNetworkInterfaceInstanceRequest,​Operation,​Operation> updateNetworkInterfaceOperationSettings()
        Returns the builder for the settings used for calls to updateNetworkInterface.
      • updateShieldedInstanceConfigSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateShieldedInstanceConfigInstanceRequest,​Operation> updateShieldedInstanceConfigSettings()
        Returns the builder for the settings used for calls to updateShieldedInstanceConfig.
      • updateShieldedInstanceConfigOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateShieldedInstanceConfigInstanceRequest,​Operation,​Operation> updateShieldedInstanceConfigOperationSettings()
        Returns the builder for the settings used for calls to updateShieldedInstanceConfig.