1syntax = "proto2"; 2 3package com.android.settings.spa; 4 5message SpaSearchLandingKey { 6 oneof page { 7 SpaSearchLandingSpaPage spa_page = 1; 8 SpaSearchLandingFragment fragment = 2; 9 } 10} 11 12message SpaSearchLandingSpaPage { 13 /** The destination of SPA page. */ 14 optional string destination = 1; 15} 16 17message SpaSearchLandingFragment { 18 /** The fragment class name. */ 19 optional string fragment_name = 1; 20 21 /** The key of the preference to highlight the item. */ 22 optional string preference_key = 2; 23 24 /** The arguments passed to the page. */ 25 map<string, BundleValue> arguments = 3; 26} 27 28/** A value in an Android Bundle. */ 29message BundleValue { 30 oneof value { 31 /** A 32-bit signed integer value. */ 32 int32 int_value = 1; 33 } 34} 35