public final class

DynamicProto.ConditionalColorOp.Builder

extends <any>

implements DynamicProto.ConditionalColorOpOrBuilder

 java.lang.Object

↳<any>

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

Overview

 A conditional operator which yields a color depending on the boolean
 operand. This implements:
 ```color result = condition ? value_if_true : value_if_false```
 
Protobuf type androidx.wear.protolayout.expression.proto.ConditionalColorOp

Summary

Methods
public DynamicProto.ConditionalColorOp.BuilderclearCondition()

 The condition to use.

public DynamicProto.ConditionalColorOp.BuilderclearValueIfFalse()

 The color to yield if condition is false.

public DynamicProto.ConditionalColorOp.BuilderclearValueIfTrue()

 The color to yield if condition is true.

public DynamicProto.DynamicBoolgetCondition()

 The condition to use.

public DynamicProto.DynamicColorgetValueIfFalse()

 The color to yield if condition is false.

public DynamicProto.DynamicColorgetValueIfTrue()

 The color to yield if condition is true.

public booleanhasCondition()

 The condition to use.

public booleanhasValueIfFalse()

 The color to yield if condition is false.

public booleanhasValueIfTrue()

 The color to yield if condition is true.

public DynamicProto.ConditionalColorOp.BuildermergeCondition(DynamicProto.DynamicBool value)

 The condition to use.

public DynamicProto.ConditionalColorOp.BuildermergeValueIfFalse(DynamicProto.DynamicColor value)

 The color to yield if condition is false.

public DynamicProto.ConditionalColorOp.BuildermergeValueIfTrue(DynamicProto.DynamicColor value)

 The color to yield if condition is true.

public DynamicProto.ConditionalColorOp.BuildersetCondition(DynamicProto.DynamicBool.Builder builderForValue)

 The condition to use.

public DynamicProto.ConditionalColorOp.BuildersetCondition(DynamicProto.DynamicBool value)

 The condition to use.

public DynamicProto.ConditionalColorOp.BuildersetValueIfFalse(DynamicProto.DynamicColor.Builder builderForValue)

 The color to yield if condition is false.

public DynamicProto.ConditionalColorOp.BuildersetValueIfFalse(DynamicProto.DynamicColor value)

 The color to yield if condition is false.

public DynamicProto.ConditionalColorOp.BuildersetValueIfTrue(DynamicProto.DynamicColor.Builder builderForValue)

 The color to yield if condition is true.

public DynamicProto.ConditionalColorOp.BuildersetValueIfTrue(DynamicProto.DynamicColor value)

 The color to yield if condition is true.

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

Methods

public boolean hasCondition()

 The condition to use.
 
.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;

public DynamicProto.DynamicBool getCondition()

 The condition to use.
 
.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;

 The condition to use.
 
.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;

 The condition to use.
 
.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;

 The condition to use.
 
.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;

 The condition to use.
 
.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;

public boolean hasValueIfTrue()

 The color to yield if condition is true.
 
.androidx.wear.protolayout.expression.proto.DynamicColor value_if_true = 2;

public DynamicProto.DynamicColor getValueIfTrue()

 The color to yield if condition is true.
 
.androidx.wear.protolayout.expression.proto.DynamicColor value_if_true = 2;

 The color to yield if condition is true.
 
.androidx.wear.protolayout.expression.proto.DynamicColor value_if_true = 2;

 The color to yield if condition is true.
 
.androidx.wear.protolayout.expression.proto.DynamicColor value_if_true = 2;

 The color to yield if condition is true.
 
.androidx.wear.protolayout.expression.proto.DynamicColor value_if_true = 2;

public DynamicProto.ConditionalColorOp.Builder clearValueIfTrue()

 The color to yield if condition is true.
 
.androidx.wear.protolayout.expression.proto.DynamicColor value_if_true = 2;

public boolean hasValueIfFalse()

 The color to yield if condition is false.
 
.androidx.wear.protolayout.expression.proto.DynamicColor value_if_false = 3;

public DynamicProto.DynamicColor getValueIfFalse()

 The color to yield if condition is false.
 
.androidx.wear.protolayout.expression.proto.DynamicColor value_if_false = 3;

 The color to yield if condition is false.
 
.androidx.wear.protolayout.expression.proto.DynamicColor value_if_false = 3;

 The color to yield if condition is false.
 
.androidx.wear.protolayout.expression.proto.DynamicColor value_if_false = 3;

 The color to yield if condition is false.
 
.androidx.wear.protolayout.expression.proto.DynamicColor value_if_false = 3;

public DynamicProto.ConditionalColorOp.Builder clearValueIfFalse()

 The color to yield if condition is false.
 
.androidx.wear.protolayout.expression.proto.DynamicColor value_if_false = 3;