public final class

DynamicProto.ConditionalStringOp.Builder

extends <any>

implements DynamicProto.ConditionalStringOpOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

Summary

Methods
public DynamicProto.ConditionalStringOp.BuilderclearCondition()

 The condition to use.

public DynamicProto.ConditionalStringOp.BuilderclearValueIfFalse()

 The string to yield if condition is false.

public DynamicProto.ConditionalStringOp.BuilderclearValueIfTrue()

 The string to yield if condition is true.

public DynamicProto.DynamicBoolgetCondition()

 The condition to use.

public DynamicProto.DynamicStringgetValueIfFalse()

 The string to yield if condition is false.

public DynamicProto.DynamicStringgetValueIfTrue()

 The string to yield if condition is true.

public booleanhasCondition()

 The condition to use.

public booleanhasValueIfFalse()

 The string to yield if condition is false.

public booleanhasValueIfTrue()

 The string to yield if condition is true.

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

 The condition to use.

public DynamicProto.ConditionalStringOp.BuildermergeValueIfFalse(DynamicProto.DynamicString value)

 The string to yield if condition is false.

public DynamicProto.ConditionalStringOp.BuildermergeValueIfTrue(DynamicProto.DynamicString value)

 The string to yield if condition is true.

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

 The condition to use.

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

 The condition to use.

public DynamicProto.ConditionalStringOp.BuildersetValueIfFalse(DynamicProto.DynamicString.Builder builderForValue)

 The string to yield if condition is false.

public DynamicProto.ConditionalStringOp.BuildersetValueIfFalse(DynamicProto.DynamicString value)

 The string to yield if condition is false.

public DynamicProto.ConditionalStringOp.BuildersetValueIfTrue(DynamicProto.DynamicString.Builder builderForValue)

 The string to yield if condition is true.

public DynamicProto.ConditionalStringOp.BuildersetValueIfTrue(DynamicProto.DynamicString value)

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

public DynamicProto.DynamicString getValueIfTrue()

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

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

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

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

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

public boolean hasValueIfFalse()

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

public DynamicProto.DynamicString getValueIfFalse()

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

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

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

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

public DynamicProto.ConditionalStringOp.Builder clearValueIfFalse()

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