public final class

DynamicProto.ConditionalInstantOp.Builder

extends <any>

implements DynamicProto.ConditionalInstantOpOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

Summary

Methods
public DynamicProto.ConditionalInstantOp.BuilderclearCondition()

 The condition to use.

public DynamicProto.ConditionalInstantOp.BuilderclearValueIfFalse()

 The instant to yield if condition is false.

public DynamicProto.ConditionalInstantOp.BuilderclearValueIfTrue()

 The instant to yield if condition is true.

public DynamicProto.DynamicBoolgetCondition()

 The condition to use.

public DynamicProto.DynamicInstantgetValueIfFalse()

 The instant to yield if condition is false.

public DynamicProto.DynamicInstantgetValueIfTrue()

 The instant to yield if condition is true.

public booleanhasCondition()

 The condition to use.

public booleanhasValueIfFalse()

 The instant to yield if condition is false.

public booleanhasValueIfTrue()

 The instant to yield if condition is true.

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

 The condition to use.

public DynamicProto.ConditionalInstantOp.BuildermergeValueIfFalse(DynamicProto.DynamicInstant value)

 The instant to yield if condition is false.

public DynamicProto.ConditionalInstantOp.BuildermergeValueIfTrue(DynamicProto.DynamicInstant value)

 The instant to yield if condition is true.

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

 The condition to use.

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

 The condition to use.

public DynamicProto.ConditionalInstantOp.BuildersetValueIfFalse(DynamicProto.DynamicInstant.Builder builderForValue)

 The instant to yield if condition is false.

public DynamicProto.ConditionalInstantOp.BuildersetValueIfFalse(DynamicProto.DynamicInstant value)

 The instant to yield if condition is false.

public DynamicProto.ConditionalInstantOp.BuildersetValueIfTrue(DynamicProto.DynamicInstant.Builder builderForValue)

 The instant to yield if condition is true.

public DynamicProto.ConditionalInstantOp.BuildersetValueIfTrue(DynamicProto.DynamicInstant value)

 The instant 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 instant to yield if condition is true.
 
.androidx.wear.protolayout.expression.proto.DynamicInstant value_if_true = 2;

public DynamicProto.DynamicInstant getValueIfTrue()

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

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

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

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

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

public boolean hasValueIfFalse()

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

public DynamicProto.DynamicInstant getValueIfFalse()

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

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

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

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

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