public final class

RequestProto.TileRequest.Builder

extends <any>

implements RequestProto.TileRequestOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.tiles.proto.RequestProto.TileRequest.Builder

Overview

 Parameters passed to a Tile Service when the renderer is requesting a new
 version of the tile.
 
Protobuf type androidx.wear.tiles.proto.TileRequest

Summary

Methods
public RequestProto.TileRequest.BuilderclearCurrentState()

 The State that should be used when building the tile.

public RequestProto.TileRequest.BuilderclearDeviceConfiguration()

 The DeviceParameters object describing the device requesting the tile
 update.

public RequestProto.TileRequest.BuilderclearTileId()

 The ID of the tile being requested.

public StateProto.StategetCurrentState()

 The State that should be used when building the tile.

public DeviceParametersProto.DeviceParametersgetDeviceConfiguration()

 The DeviceParameters object describing the device requesting the tile
 update.

public intgetTileId()

 The ID of the tile being requested.

public booleanhasCurrentState()

 The State that should be used when building the tile.

public booleanhasDeviceConfiguration()

 The DeviceParameters object describing the device requesting the tile
 update.

public RequestProto.TileRequest.BuildermergeCurrentState(StateProto.State value)

 The State that should be used when building the tile.

public RequestProto.TileRequest.BuildermergeDeviceConfiguration(DeviceParametersProto.DeviceParameters value)

 The DeviceParameters object describing the device requesting the tile
 update.

public RequestProto.TileRequest.BuildersetCurrentState(StateProto.State.Builder builderForValue)

 The State that should be used when building the tile.

public RequestProto.TileRequest.BuildersetCurrentState(StateProto.State value)

 The State that should be used when building the tile.

public RequestProto.TileRequest.BuildersetDeviceConfiguration(DeviceParametersProto.DeviceParameters.Builder builderForValue)

 The DeviceParameters object describing the device requesting the tile
 update.

public RequestProto.TileRequest.BuildersetDeviceConfiguration(DeviceParametersProto.DeviceParameters value)

 The DeviceParameters object describing the device requesting the tile
 update.

public RequestProto.TileRequest.BuildersetTileId(int value)

 The ID of the tile being requested.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public boolean hasDeviceConfiguration()

 The DeviceParameters object describing the device requesting the tile
 update. If not set, a default empty instance is used.
 
.androidx.wear.protolayout.proto.DeviceParameters device_configuration = 1;

public DeviceParametersProto.DeviceParameters getDeviceConfiguration()

 The DeviceParameters object describing the device requesting the tile
 update. If not set, a default empty instance is used.
 
.androidx.wear.protolayout.proto.DeviceParameters device_configuration = 1;

 The DeviceParameters object describing the device requesting the tile
 update. If not set, a default empty instance is used.
 
.androidx.wear.protolayout.proto.DeviceParameters device_configuration = 1;

 The DeviceParameters object describing the device requesting the tile
 update. If not set, a default empty instance is used.
 
.androidx.wear.protolayout.proto.DeviceParameters device_configuration = 1;

 The DeviceParameters object describing the device requesting the tile
 update. If not set, a default empty instance is used.
 
.androidx.wear.protolayout.proto.DeviceParameters device_configuration = 1;

public RequestProto.TileRequest.Builder clearDeviceConfiguration()

 The DeviceParameters object describing the device requesting the tile
 update. If not set, a default empty instance is used.
 
.androidx.wear.protolayout.proto.DeviceParameters device_configuration = 1;

public boolean hasCurrentState()

 The State that should be used when building the tile.
 
.androidx.wear.protolayout.proto.State current_state = 2;

public StateProto.State getCurrentState()

 The State that should be used when building the tile.
 
.androidx.wear.protolayout.proto.State current_state = 2;

 The State that should be used when building the tile.
 
.androidx.wear.protolayout.proto.State current_state = 2;

public RequestProto.TileRequest.Builder setCurrentState(StateProto.State.Builder builderForValue)

 The State that should be used when building the tile.
 
.androidx.wear.protolayout.proto.State current_state = 2;

public RequestProto.TileRequest.Builder mergeCurrentState(StateProto.State value)

 The State that should be used when building the tile.
 
.androidx.wear.protolayout.proto.State current_state = 2;

public RequestProto.TileRequest.Builder clearCurrentState()

 The State that should be used when building the tile.
 
.androidx.wear.protolayout.proto.State current_state = 2;

public int getTileId()

 The ID of the tile being requested.
 
uint32 tile_id = 3;

Returns:

The tileId.

public RequestProto.TileRequest.Builder setTileId(int value)

 The ID of the tile being requested.
 
uint32 tile_id = 3;

Parameters:

value: The tileId to set.

Returns:

This builder for chaining.

 The ID of the tile being requested.
 
uint32 tile_id = 3;

Returns:

This builder for chaining.