public final class

DynamicProto.ConditionalDurationOp.Builder

extends <any>

implements DynamicProto.ConditionalDurationOpOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

Summary

Methods
public DynamicProto.ConditionalDurationOp.BuilderclearCondition()

 The condition to use.

public DynamicProto.ConditionalDurationOp.BuilderclearValueIfFalse()

 The duration to yield if condition is false.

public DynamicProto.ConditionalDurationOp.BuilderclearValueIfTrue()

 The duration to yield if condition is true.

public DynamicProto.DynamicBoolgetCondition()

 The condition to use.

public DynamicProto.DynamicDurationgetValueIfFalse()

 The duration to yield if condition is false.

public DynamicProto.DynamicDurationgetValueIfTrue()

 The duration to yield if condition is true.

public booleanhasCondition()

 The condition to use.

public booleanhasValueIfFalse()

 The duration to yield if condition is false.

public booleanhasValueIfTrue()

 The duration to yield if condition is true.

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

 The condition to use.

public DynamicProto.ConditionalDurationOp.BuildermergeValueIfFalse(DynamicProto.DynamicDuration value)

 The duration to yield if condition is false.

public DynamicProto.ConditionalDurationOp.BuildermergeValueIfTrue(DynamicProto.DynamicDuration value)

 The duration to yield if condition is true.

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

 The condition to use.

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

 The condition to use.

public DynamicProto.ConditionalDurationOp.BuildersetValueIfFalse(DynamicProto.DynamicDuration.Builder builderForValue)

 The duration to yield if condition is false.

public DynamicProto.ConditionalDurationOp.BuildersetValueIfFalse(DynamicProto.DynamicDuration value)

 The duration to yield if condition is false.

public DynamicProto.ConditionalDurationOp.BuildersetValueIfTrue(DynamicProto.DynamicDuration.Builder builderForValue)

 The duration to yield if condition is true.

public DynamicProto.ConditionalDurationOp.BuildersetValueIfTrue(DynamicProto.DynamicDuration value)

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

public DynamicProto.DynamicDuration getValueIfTrue()

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

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

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

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

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

public boolean hasValueIfFalse()

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

public DynamicProto.DynamicDuration getValueIfFalse()

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

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

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

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

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