public final class

RequestProto.TileRequest

extends <any>

implements RequestProto.TileRequestOrBuilder

 java.lang.Object

↳<any>

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

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

Fields
public static final intCURRENT_STATE_FIELD_NUMBER

public static final intDEVICE_CONFIGURATION_FIELD_NUMBER

public static final intTILE_ID_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public StateProto.StategetCurrentState()

 The State that should be used when building the tile.

public static RequestProto.TileRequestgetDefaultInstance()

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 static RequestProto.TileRequest.BuildernewBuilder()

public static RequestProto.TileRequest.BuildernewBuilder(RequestProto.TileRequest prototype)

public static RequestProto.TileRequestparseDelimitedFrom(java.io.InputStream input)

public static RequestProto.TileRequestparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.TileRequestparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.TileRequestparseFrom(java.nio.ByteBuffer data)

public static RequestProto.TileRequestparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.TileRequestparseFrom(com.google.protobuf.ByteString data)

public static RequestProto.TileRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.TileRequestparseFrom(com.google.protobuf.CodedInputStream input)

public static RequestProto.TileRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.TileRequestparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

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

Fields

public static final int DEVICE_CONFIGURATION_FIELD_NUMBER

public static final int CURRENT_STATE_FIELD_NUMBER

public static final int TILE_ID_FIELD_NUMBER

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;

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;

public int getTileId()

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

Returns:

The tileId.

public static RequestProto.TileRequest parseFrom(java.nio.ByteBuffer data)

public static RequestProto.TileRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.TileRequest parseFrom(com.google.protobuf.ByteString data)

public static RequestProto.TileRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.TileRequest parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.TileRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.TileRequest parseDelimitedFrom(java.io.InputStream input)

public static RequestProto.TileRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.TileRequest parseFrom(com.google.protobuf.CodedInputStream input)

public static RequestProto.TileRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.TileRequest.Builder newBuilder()

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static RequestProto.TileRequest getDefaultInstance()

public static <any> parser()