v3.19.1

Available-for-Sale Debt Investments and Equity Investments (Available-for-Sale Investments With Gross Unrealized Losses) (Details) - USD ($) $ in Millions | Apr. 27, 2019 | Jul. 28, 2018
--- | --- | ---
Schedule of Investments [Line Items] |  |
UNREALIZED LOSSES LESS THAN 12 MONTHS, Fair Value | $ 1,907 | $ 21,093
UNREALIZED LOSSES LESS THAN 12 MONTHS, Gross Unrealized Losses | (7) | (391)
UNREALIZED LOSSES 12 MONTHS OR GREATER, Fair Value | 15,489 | 9,019
UNREALIZED LOSSES 12 MONTHS OR GREATER, Gross Unrealized Losses | (141) | (156)
TOTAL, Fair Value | 17,396 | 30,112
TOTAL, Gross Unrealized Losses | (148) | (547)
U.S. government securities |  |
Schedule of Investments [Line Items] |  |
UNREALIZED LOSSES LESS THAN 12 MONTHS, Fair Value | 8 | 2,966
UNREALIZED LOSSES LESS THAN 12 MONTHS, Gross Unrealized Losses | 0 | (20)
UNREALIZED LOSSES 12 MONTHS OR GREATER, Fair Value | 1,409 | 4,303
UNREALIZED LOSSES 12 MONTHS OR GREATER, Gross Unrealized Losses | (4) | (23)
TOTAL, Fair Value | 1,417 | 7,269
TOTAL, Gross Unrealized Losses | (4) | (43)
U.S. government agency securities |  |
Schedule of Investments [Line Items] |  |
UNREALIZED LOSSES LESS THAN 12 MONTHS, Fair Value | 0 | 206
UNREALIZED LOSSES LESS THAN 12 MONTHS, Gross Unrealized Losses | 0 | (2)
UNREALIZED LOSSES 12 MONTHS OR GREATER, Fair Value | 263 | 521
UNREALIZED LOSSES 12 MONTHS OR GREATER, Gross Unrealized Losses | (1) | (3)
TOTAL, Fair Value | 263 | 727
TOTAL, Gross Unrealized Losses | (1) | (5)
Non-U.S. government and agency securities |  |
Schedule of Investments [Line Items] |  |
UNREALIZED LOSSES LESS THAN 12 MONTHS, Fair Value |  | 105
UNREALIZED LOSSES LESS THAN 12 MONTHS, Gross Unrealized Losses |  | (1)
UNREALIZED LOSSES 12 MONTHS OR GREATER, Fair Value |  | 103
UNREALIZED LOSSES 12 MONTHS OR GREATER, Gross Unrealized Losses |  | 0
TOTAL, Fair Value |  | 208
TOTAL, Gross Unrealized Losses |  | (1)
Corporate debt securities |  |
Schedule of Investments [Line Items] |  |
UNREALIZED LOSSES LESS THAN 12 MONTHS, Fair Value | 1,851 | 16,990
UNREALIZED LOSSES LESS THAN 12 MONTHS, Gross Unrealized Losses | (7) | (344)
UNREALIZED LOSSES 12 MONTHS OR GREATER, Fair Value | 12,662 | 3,511
UNREALIZED LOSSES 12 MONTHS OR GREATER, Gross Unrealized Losses | (108) | (101)
TOTAL, Fair Value | 14,513 | 20,501
TOTAL, Gross Unrealized Losses | (115) | (445)
U.S. agency mortgage-backed securities |  |
Schedule of Investments [Line Items] |  |
UNREALIZED LOSSES LESS THAN 12 MONTHS, Fair Value | 48 | 826
UNREALIZED LOSSES LESS THAN 12 MONTHS, Gross Unrealized Losses | 0 | (24)
UNREALIZED LOSSES 12 MONTHS OR GREATER, Fair Value | 1,155 | 581
UNREALIZED LOSSES 12 MONTHS OR GREATER, Gross Unrealized Losses | (28) | (29)
TOTAL, Fair Value | 1,203 | 1,407
TOTAL, Gross Unrealized Losses | $ (28) | $ (53)

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for more than 12 months. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27337-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27337-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27337-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27337-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27290-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27290-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ScheduleOfInvestmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasuryAndGovernmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USGovernmentAgenciesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_ForeignGovernmentDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_AssetBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |