public final class

ActionProto.SetStateAction.Builder

extends <any>

implements ActionProto.SetStateActionOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ActionProto.SetStateAction.Builder

Overview

 An action that sets a new value for a State
 
Protobuf type androidx.wear.protolayout.proto.SetStateAction

Summary

Methods
public ActionProto.SetStateAction.BuilderclearTargetKey()

 The target key of the state item for this action.

public ActionProto.SetStateAction.BuilderclearValue()

 The value to set the state item to, when this action is executed.

public java.lang.StringgetTargetKey()

 The target key of the state item for this action.

public com.google.protobuf.ByteStringgetTargetKeyBytes()

 The target key of the state item for this action.

public DynamicDataProto.DynamicDataValuegetValue()

 The value to set the state item to, when this action is executed.

public booleanhasValue()

 The value to set the state item to, when this action is executed.

public ActionProto.SetStateAction.BuildermergeValue(DynamicDataProto.DynamicDataValue value)

 The value to set the state item to, when this action is executed.

public ActionProto.SetStateAction.BuildersetTargetKey(java.lang.String value)

 The target key of the state item for this action.

public ActionProto.SetStateAction.BuildersetTargetKeyBytes(com.google.protobuf.ByteString value)

 The target key of the state item for this action.

public ActionProto.SetStateAction.BuildersetValue(DynamicDataProto.DynamicDataValue.Builder builderForValue)

 The value to set the state item to, when this action is executed.

public ActionProto.SetStateAction.BuildersetValue(DynamicDataProto.DynamicDataValue value)

 The value to set the state item to, when this action is executed.

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

Methods

public java.lang.String getTargetKey()

 The target key of the state item for this action.
 
string target_key = 1;

Returns:

The targetKey.

public com.google.protobuf.ByteString getTargetKeyBytes()

 The target key of the state item for this action.
 
string target_key = 1;

Returns:

The bytes for targetKey.

public ActionProto.SetStateAction.Builder setTargetKey(java.lang.String value)

 The target key of the state item for this action.
 
string target_key = 1;

Parameters:

value: The targetKey to set.

Returns:

This builder for chaining.

public ActionProto.SetStateAction.Builder clearTargetKey()

 The target key of the state item for this action.
 
string target_key = 1;

Returns:

This builder for chaining.

public ActionProto.SetStateAction.Builder setTargetKeyBytes(com.google.protobuf.ByteString value)

 The target key of the state item for this action.
 
string target_key = 1;

Parameters:

value: The bytes for targetKey to set.

Returns:

This builder for chaining.

public boolean hasValue()

 The value to set the state item to, when this action is executed.
 
.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;

 The value to set the state item to, when this action is executed.
 
.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;

 The value to set the state item to, when this action is executed.
 
.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;

 The value to set the state item to, when this action is executed.
 
.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;

 The value to set the state item to, when this action is executed.
 
.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;

 The value to set the state item to, when this action is executed.
 
.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;