1// Request messages used to fetch tiles and resources 2syntax = "proto3"; 3 4package androidx.wear.tiles.testing.proto; 5 6import "device_parameters.proto"; 7import "state.proto"; 8 9option java_package = "androidx.wear.tiles.testing.proto"; 10option java_outer_classname = "RequestProto"; 11 12// Parameters passed to a Tile Service when the renderer is requesting a new 13// version of the tile. 14message TileRequest { 15 // Parameters describing the device requesting the tile update. 16 DeviceParameters device_parameters = 1; 17 18 // The state that should be used when building the tile. 19 State state = 2; 20} 21 22// Parameters passed to a Tile Service when the renderer is requesting a 23// specific resource version. 24message ResourcesRequest { 25 // The version of the resources being fetched 26 string version = 1; 27 28 // Requested resource IDs. If not specified, all resources for the given 29 // version must be provided in the response. 30 repeated string resource_ids = 2; 31 32 // Parameters describing the device requesting the resources. 33 DeviceParameters device_parameters = 3; 34} 35