public final class

DynamicProto.ConditionalFloatOp.Builder

extends <any>

implements DynamicProto.ConditionalFloatOpOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

Summary

Methods
public DynamicProto.ConditionalFloatOp.BuilderclearCondition()

 The condition to use.

public DynamicProto.ConditionalFloatOp.BuilderclearValueIfFalse()

 The float to yield if condition is false.

public DynamicProto.ConditionalFloatOp.BuilderclearValueIfTrue()

 The float to yield if condition is true.

public DynamicProto.DynamicBoolgetCondition()

 The condition to use.

public DynamicProto.DynamicFloatgetValueIfFalse()

 The float to yield if condition is false.

public DynamicProto.DynamicFloatgetValueIfTrue()

 The float to yield if condition is true.

public booleanhasCondition()

 The condition to use.

public booleanhasValueIfFalse()

 The float to yield if condition is false.

public booleanhasValueIfTrue()

 The float to yield if condition is true.

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

 The condition to use.

public DynamicProto.ConditionalFloatOp.BuildermergeValueIfFalse(DynamicProto.DynamicFloat value)

 The float to yield if condition is false.

public DynamicProto.ConditionalFloatOp.BuildermergeValueIfTrue(DynamicProto.DynamicFloat value)

 The float to yield if condition is true.

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

 The condition to use.

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

 The condition to use.

public DynamicProto.ConditionalFloatOp.BuildersetValueIfFalse(DynamicProto.DynamicFloat.Builder builderForValue)

 The float to yield if condition is false.

public DynamicProto.ConditionalFloatOp.BuildersetValueIfFalse(DynamicProto.DynamicFloat value)

 The float to yield if condition is false.

public DynamicProto.ConditionalFloatOp.BuildersetValueIfTrue(DynamicProto.DynamicFloat.Builder builderForValue)

 The float to yield if condition is true.

public DynamicProto.ConditionalFloatOp.BuildersetValueIfTrue(DynamicProto.DynamicFloat value)

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

public DynamicProto.DynamicFloat getValueIfTrue()

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

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

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

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

public DynamicProto.ConditionalFloatOp.Builder clearValueIfTrue()

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

public boolean hasValueIfFalse()

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

public DynamicProto.DynamicFloat getValueIfFalse()

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

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

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

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

public DynamicProto.ConditionalFloatOp.Builder clearValueIfFalse()

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