public final class

DynamicProto.StateInt32Source.Builder

extends <any>

implements DynamicProto.StateInt32SourceOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.expression.proto.DynamicProto.StateInt32Source.Builder

Overview

 A dynamic Int32 which sources its data from the tile's state.
 
Protobuf type androidx.wear.protolayout.expression.proto.StateInt32Source

Summary

Methods
public DynamicProto.StateInt32Source.BuilderclearSourceKey()

 The key in the state to bind to.

public DynamicProto.StateInt32Source.BuilderclearSourceNamespace()

 The namespace for the state key.

public java.lang.StringgetSourceKey()

 The key in the state to bind to.

public com.google.protobuf.ByteStringgetSourceKeyBytes()

 The key in the state to bind to.

public java.lang.StringgetSourceNamespace()

 The namespace for the state key.

public com.google.protobuf.ByteStringgetSourceNamespaceBytes()

 The namespace for the state key.

public DynamicProto.StateInt32Source.BuildersetSourceKey(java.lang.String value)

 The key in the state to bind to.

public DynamicProto.StateInt32Source.BuildersetSourceKeyBytes(com.google.protobuf.ByteString value)

 The key in the state to bind to.

public DynamicProto.StateInt32Source.BuildersetSourceNamespace(java.lang.String value)

 The namespace for the state key.

public DynamicProto.StateInt32Source.BuildersetSourceNamespaceBytes(com.google.protobuf.ByteString value)

 The namespace for the state key.

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

Methods

public java.lang.String getSourceKey()

 The key in the state to bind to.
 
string source_key = 1;

Returns:

The sourceKey.

public com.google.protobuf.ByteString getSourceKeyBytes()

 The key in the state to bind to.
 
string source_key = 1;

Returns:

The bytes for sourceKey.

public DynamicProto.StateInt32Source.Builder setSourceKey(java.lang.String value)

 The key in the state to bind to.
 
string source_key = 1;

Parameters:

value: The sourceKey to set.

Returns:

This builder for chaining.

 The key in the state to bind to.
 
string source_key = 1;

Returns:

This builder for chaining.

public DynamicProto.StateInt32Source.Builder setSourceKeyBytes(com.google.protobuf.ByteString value)

 The key in the state to bind to.
 
string source_key = 1;

Parameters:

value: The bytes for sourceKey to set.

Returns:

This builder for chaining.

public java.lang.String getSourceNamespace()

 The namespace for the state key.
 
string source_namespace = 2;

Returns:

The sourceNamespace.

public com.google.protobuf.ByteString getSourceNamespaceBytes()

 The namespace for the state key.
 
string source_namespace = 2;

Returns:

The bytes for sourceNamespace.

public DynamicProto.StateInt32Source.Builder setSourceNamespace(java.lang.String value)

 The namespace for the state key.
 
string source_namespace = 2;

Parameters:

value: The sourceNamespace to set.

Returns:

This builder for chaining.

public DynamicProto.StateInt32Source.Builder clearSourceNamespace()

 The namespace for the state key.
 
string source_namespace = 2;

Returns:

This builder for chaining.

public DynamicProto.StateInt32Source.Builder setSourceNamespaceBytes(com.google.protobuf.ByteString value)

 The namespace for the state key.
 
string source_namespace = 2;

Parameters:

value: The bytes for sourceNamespace to set.

Returns:

This builder for chaining.