public final class

RequestProto.StateRequest

extends <any>

implements RequestProto.StateRequestOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.tiles.proto.RequestProto.StateRequest

Overview

 Parameters passed to a Tile Service when the renderer is requesting a
 new state bundle.
 
Protobuf type androidx.wear.tiles.proto.StateRequest

Summary

Fields
public static final intSTATE_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 static RequestProto.StateRequestgetDefaultInstance()

public StateProto.StategetState()

 The current state of the Tile.

public intgetTileId()

 The ID of the tile for which state is being requested.

public booleanhasState()

 The current state of the Tile.

public static RequestProto.StateRequest.BuildernewBuilder()

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

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

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

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

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

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

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

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

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

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

public static RequestProto.StateRequestparseFrom(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 STATE_FIELD_NUMBER

public static final int TILE_ID_FIELD_NUMBER

Methods

public boolean hasState()

 The current state of the Tile.
 
.androidx.wear.protolayout.proto.State state = 1;

public StateProto.State getState()

 The current state of the Tile.
 
.androidx.wear.protolayout.proto.State state = 1;

public int getTileId()

 The ID of the tile for which state is being requested.
 
uint32 tile_id = 2;

Returns:

The tileId.

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

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

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

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

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

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

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

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

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

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

public static RequestProto.StateRequest.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.StateRequest getDefaultInstance()

public static <any> parser()