public final class

ActionProto.SetStateAction

extends <any>

implements ActionProto.SetStateActionOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

Summary

Fields
public static final intTARGET_KEY_FIELD_NUMBER

public static final intVALUE_FIELD_NUMBER

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

public static ActionProto.SetStateActiongetDefaultInstance()

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 static ActionProto.SetStateAction.BuildernewBuilder()

public static ActionProto.SetStateAction.BuildernewBuilder(ActionProto.SetStateAction prototype)

public static ActionProto.SetStateActionparseDelimitedFrom(java.io.InputStream input)

public static ActionProto.SetStateActionparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ActionProto.SetStateActionparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ActionProto.SetStateActionparseFrom(java.nio.ByteBuffer data)

public static ActionProto.SetStateActionparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ActionProto.SetStateActionparseFrom(com.google.protobuf.ByteString data)

public static ActionProto.SetStateActionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ActionProto.SetStateActionparseFrom(com.google.protobuf.CodedInputStream input)

public static ActionProto.SetStateActionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ActionProto.SetStateActionparseFrom(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 TARGET_KEY_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER

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 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;

public static ActionProto.SetStateAction parseFrom(java.nio.ByteBuffer data)

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

public static ActionProto.SetStateAction parseFrom(com.google.protobuf.ByteString data)

public static ActionProto.SetStateAction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

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

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

public static ActionProto.SetStateAction parseDelimitedFrom(java.io.InputStream input)

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

public static ActionProto.SetStateAction parseFrom(com.google.protobuf.CodedInputStream input)

public static ActionProto.SetStateAction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ActionProto.SetStateAction.Builder newBuilder()

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

public static ActionProto.SetStateAction getDefaultInstance()

public static <any> parser()