public final class

StateProto.State.Builder

extends <any>

implements StateProto.StateOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

Summary

Methods
public StateProto.State.BuilderclearIdToValue()

public StateProto.State.BuilderclearLastClickableId()

 The ID of the clickable that was last clicked.

public booleancontainsIdToValue(java.lang.String key)

 Any shared state between the provider and renderer.

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

Use StateProto.State.Builder.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 StateProto.State.BuilderputAllIdToValue(java.util.Map<java.lang.String, DynamicDataProto.DynamicDataValue> values)

 Any shared state between the provider and renderer.

public StateProto.State.BuilderputIdToValue(java.lang.String key, DynamicDataProto.DynamicDataValue value)

 Any shared state between the provider and renderer.

public StateProto.State.BuilderremoveIdToValue(java.lang.String key)

 Any shared state between the provider and renderer.

public StateProto.State.BuildersetLastClickableId(java.lang.String value)

 The ID of the clickable that was last clicked.

public StateProto.State.BuildersetLastClickableIdBytes(com.google.protobuf.ByteString value)

 The ID of the clickable that was last clicked.

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

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 StateProto.State.Builder setLastClickableId(java.lang.String value)

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

Parameters:

value: The lastClickableId to set.

Returns:

This builder for chaining.

public StateProto.State.Builder clearLastClickableId()

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

Returns:

This builder for chaining.

public StateProto.State.Builder setLastClickableIdBytes(com.google.protobuf.ByteString value)

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

Parameters:

value: The bytes for lastClickableId to set.

Returns:

This builder for chaining.

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 StateProto.State.Builder clearIdToValue()

public StateProto.State.Builder removeIdToValue(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.Builder.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 StateProto.State.Builder putIdToValue(java.lang.String key, DynamicDataProto.DynamicDataValue value)

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

public StateProto.State.Builder putAllIdToValue(java.util.Map<java.lang.String, DynamicDataProto.DynamicDataValue> values)

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