public interface

DynamicProto.ConditionalStringOpOrBuilder

 androidx.wear.protolayout.expression.proto.DynamicProto.ConditionalStringOpOrBuilder

Subclasses:

DynamicProto.ConditionalStringOp, DynamicProto.ConditionalStringOp.Builder

Summary

Methods
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.

Methods

public boolean hasCondition()

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

Returns:

Whether the condition field is set.

public DynamicProto.DynamicBool getCondition()

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

Returns:

The condition.

public boolean hasValueIfTrue()

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

Returns:

Whether the valueIfTrue field is set.

public DynamicProto.DynamicString getValueIfTrue()

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

Returns:

The valueIfTrue.

public boolean hasValueIfFalse()

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

Returns:

Whether the valueIfFalse field is set.

public DynamicProto.DynamicString getValueIfFalse()

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

Returns:

The valueIfFalse.