public final class

StateProto.State

extends <any>

implements StateProto.StateOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.StateProto.State

Overview

 State information.
 
Protobuf type androidx.wear.protolayout.proto.State

Summary

Fields
public static final intID_TO_VALUE_FIELD_NUMBER

public static final intLAST_CLICKABLE_ID_FIELD_NUMBER

Methods
public booleancontainsIdToValue(java.lang.String key)

 Any shared state between the provider and renderer.

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

public static StateProto.StategetDefaultInstance()

public java.util.Map<java.lang.String, DynamicDataProto.DynamicDataValue>getIdToValue()

Use StateProto.State.getIdToValueMap() instead.

public intgetIdToValueCount()

public java.util.Map<java.lang.String, DynamicDataProto.DynamicDataValue>getIdToValueMap()

 Any shared state between the provider and renderer.

public DynamicDataProto.DynamicDataValuegetIdToValueOrDefault(java.lang.String key, DynamicDataProto.DynamicDataValue defaultValue)

 Any shared state between the provider and renderer.

public DynamicDataProto.DynamicDataValuegetIdToValueOrThrow(java.lang.String key)

 Any shared state between the provider and renderer.

public java.lang.StringgetLastClickableId()

 The ID of the clickable that was last clicked.

public com.google.protobuf.ByteStringgetLastClickableIdBytes()

 The ID of the clickable that was last clicked.

public static StateProto.State.BuildernewBuilder()

public static StateProto.State.BuildernewBuilder(StateProto.State prototype)

public static StateProto.StateparseDelimitedFrom(java.io.InputStream input)

public static StateProto.StateparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static StateProto.StateparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static StateProto.StateparseFrom(java.nio.ByteBuffer data)

public static StateProto.StateparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static StateProto.StateparseFrom(com.google.protobuf.ByteString data)

public static StateProto.StateparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static StateProto.StateparseFrom(com.google.protobuf.CodedInputStream input)

public static StateProto.StateparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static StateProto.StateparseFrom(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 LAST_CLICKABLE_ID_FIELD_NUMBER

public static final int ID_TO_VALUE_FIELD_NUMBER

Methods

public java.lang.String getLastClickableId()

 The ID of the clickable that was last clicked.
 
string last_clickable_id = 1;

Returns:

The lastClickableId.

public com.google.protobuf.ByteString getLastClickableIdBytes()

 The ID of the clickable that was last clicked.
 
string last_clickable_id = 1;

Returns:

The bytes for lastClickableId.

public int getIdToValueCount()

public boolean containsIdToValue(java.lang.String key)

 Any shared state between the provider and renderer.
 
map<string, .androidx.wear.protolayout.expression.proto.DynamicDataValue> id_to_value = 2;

public java.util.Map<java.lang.String, DynamicDataProto.DynamicDataValue> getIdToValue()

Use StateProto.State.getIdToValueMap() instead.

public java.util.Map<java.lang.String, DynamicDataProto.DynamicDataValue> getIdToValueMap()

 Any shared state between the provider and renderer.
 
map<string, .androidx.wear.protolayout.expression.proto.DynamicDataValue> id_to_value = 2;

public DynamicDataProto.DynamicDataValue getIdToValueOrDefault(java.lang.String key, DynamicDataProto.DynamicDataValue defaultValue)

 Any shared state between the provider and renderer.
 
map<string, .androidx.wear.protolayout.expression.proto.DynamicDataValue> id_to_value = 2;

public DynamicDataProto.DynamicDataValue getIdToValueOrThrow(java.lang.String key)

 Any shared state between the provider and renderer.
 
map<string, .androidx.wear.protolayout.expression.proto.DynamicDataValue> id_to_value = 2;

public static StateProto.State parseFrom(java.nio.ByteBuffer data)

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

public static StateProto.State parseFrom(com.google.protobuf.ByteString data)

public static StateProto.State parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

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

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

public static StateProto.State parseDelimitedFrom(java.io.InputStream input)

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

public static StateProto.State parseFrom(com.google.protobuf.CodedInputStream input)

public static StateProto.State parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static StateProto.State.Builder newBuilder()

public static StateProto.State.Builder newBuilder(StateProto.State prototype)

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

public static StateProto.State getDefaultInstance()

public static <any> parser()