public final class

DynamicProto.StateBoolSource.Builder

extends <any>

implements DynamicProto.StateBoolSourceOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

Summary

Methods
public DynamicProto.StateBoolSource.BuilderclearSourceKey()

 The key in the state to bind to.

public DynamicProto.StateBoolSource.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.StateBoolSource.BuildersetSourceKey(java.lang.String value)

 The key in the state to bind to.

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

 The key in the state to bind to.

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

 The namespace for the state key.

public DynamicProto.StateBoolSource.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.StateBoolSource.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.

public DynamicProto.StateBoolSource.Builder clearSourceKey()

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

Returns:

This builder for chaining.

public DynamicProto.StateBoolSource.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.StateBoolSource.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.StateBoolSource.Builder clearSourceNamespace()

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

Returns:

This builder for chaining.

public DynamicProto.StateBoolSource.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.