public final class

DynamicProto.DynamicFloat.Builder

extends <any>

implements DynamicProto.DynamicFloatOrBuilder

 java.lang.Object

↳<any>

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

Overview

 A dynamic float type.

 It offers a set of helper methods for creating arithmetic and logical
 expressions, e.g. {@link #plus(float)}, {@link #times(float)}, {@link
 #eq(float)}, etc. These helper methods produce expression trees based on the
 order in which they were called in an expression. Thus, no operator
 precedence rules are applied.

 <p>For example the following expression is equivalent to {@code result = ((a
 + b)*c)/d }:

 ```
    a.plus(b).times(c).div(d);
 ```

 More complex expressions can be created by nesting expressions. For example
 the following expression is equivalent to {@code result = (a + b)*(c - d) }:

 ```
    (a.plus(b)).times(c.minus(d));
 ```
 
Protobuf type androidx.wear.protolayout.expression.proto.DynamicFloat

Summary

Methods
public DynamicProto.DynamicFloat.BuilderclearAnimatableDynamic()

.androidx.wear.protolayout.expression.proto.AnimatableDynamicFloat animatable_dynamic = 7;

public DynamicProto.DynamicFloat.BuilderclearAnimatableFixed()

.androidx.wear.protolayout.expression.proto.AnimatableFixedFloat animatable_fixed = 6;

public DynamicProto.DynamicFloat.BuilderclearArithmeticOperation()

.androidx.wear.protolayout.expression.proto.ArithmeticFloatOp arithmetic_operation = 2;

public DynamicProto.DynamicFloat.BuilderclearConditionalOp()

.androidx.wear.protolayout.expression.proto.ConditionalFloatOp conditional_op = 5;

public DynamicProto.DynamicFloat.BuilderclearFingerprint()

 The fingerprint for the dynamic node

public DynamicProto.DynamicFloat.BuilderclearFixed()

.androidx.wear.protolayout.expression.proto.FixedFloat fixed = 1;

public DynamicProto.DynamicFloat.BuilderclearInner()

public DynamicProto.DynamicFloat.BuilderclearInt32ToFloatOperation()

.androidx.wear.protolayout.expression.proto.Int32ToFloatOp int32_to_float_operation = 3;

public DynamicProto.DynamicFloat.BuilderclearStateSource()

.androidx.wear.protolayout.expression.proto.StateFloatSource state_source = 4;

public DynamicProto.AnimatableDynamicFloatgetAnimatableDynamic()

.androidx.wear.protolayout.expression.proto.AnimatableDynamicFloat animatable_dynamic = 7;

public DynamicProto.AnimatableFixedFloatgetAnimatableFixed()

.androidx.wear.protolayout.expression.proto.AnimatableFixedFloat animatable_fixed = 6;

public DynamicProto.ArithmeticFloatOpgetArithmeticOperation()

.androidx.wear.protolayout.expression.proto.ArithmeticFloatOp arithmetic_operation = 2;

public DynamicProto.ConditionalFloatOpgetConditionalOp()

.androidx.wear.protolayout.expression.proto.ConditionalFloatOp conditional_op = 5;

public FingerprintProto.NodeFingerprintgetFingerprint()

 The fingerprint for the dynamic node

public FixedProto.FixedFloatgetFixed()

.androidx.wear.protolayout.expression.proto.FixedFloat fixed = 1;

public DynamicProto.DynamicFloat.InnerCasegetInnerCase()

public DynamicProto.Int32ToFloatOpgetInt32ToFloatOperation()

.androidx.wear.protolayout.expression.proto.Int32ToFloatOp int32_to_float_operation = 3;

public DynamicProto.StateFloatSourcegetStateSource()

.androidx.wear.protolayout.expression.proto.StateFloatSource state_source = 4;

public booleanhasAnimatableDynamic()

.androidx.wear.protolayout.expression.proto.AnimatableDynamicFloat animatable_dynamic = 7;

public booleanhasAnimatableFixed()

.androidx.wear.protolayout.expression.proto.AnimatableFixedFloat animatable_fixed = 6;

public booleanhasArithmeticOperation()

.androidx.wear.protolayout.expression.proto.ArithmeticFloatOp arithmetic_operation = 2;

public booleanhasConditionalOp()

.androidx.wear.protolayout.expression.proto.ConditionalFloatOp conditional_op = 5;

public booleanhasFingerprint()

 The fingerprint for the dynamic node

public booleanhasFixed()

.androidx.wear.protolayout.expression.proto.FixedFloat fixed = 1;

public booleanhasInt32ToFloatOperation()

.androidx.wear.protolayout.expression.proto.Int32ToFloatOp int32_to_float_operation = 3;

public booleanhasStateSource()

.androidx.wear.protolayout.expression.proto.StateFloatSource state_source = 4;

public DynamicProto.DynamicFloat.BuildermergeAnimatableDynamic(DynamicProto.AnimatableDynamicFloat value)

.androidx.wear.protolayout.expression.proto.AnimatableDynamicFloat animatable_dynamic = 7;

public DynamicProto.DynamicFloat.BuildermergeAnimatableFixed(DynamicProto.AnimatableFixedFloat value)

.androidx.wear.protolayout.expression.proto.AnimatableFixedFloat animatable_fixed = 6;

public DynamicProto.DynamicFloat.BuildermergeArithmeticOperation(DynamicProto.ArithmeticFloatOp value)

.androidx.wear.protolayout.expression.proto.ArithmeticFloatOp arithmetic_operation = 2;

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

.androidx.wear.protolayout.expression.proto.ConditionalFloatOp conditional_op = 5;

public DynamicProto.DynamicFloat.BuildermergeFingerprint(FingerprintProto.NodeFingerprint value)

 The fingerprint for the dynamic node

public DynamicProto.DynamicFloat.BuildermergeFixed(FixedProto.FixedFloat value)

.androidx.wear.protolayout.expression.proto.FixedFloat fixed = 1;

public DynamicProto.DynamicFloat.BuildermergeInt32ToFloatOperation(DynamicProto.Int32ToFloatOp value)

.androidx.wear.protolayout.expression.proto.Int32ToFloatOp int32_to_float_operation = 3;

public DynamicProto.DynamicFloat.BuildermergeStateSource(DynamicProto.StateFloatSource value)

.androidx.wear.protolayout.expression.proto.StateFloatSource state_source = 4;

public DynamicProto.DynamicFloat.BuildersetAnimatableDynamic(DynamicProto.AnimatableDynamicFloat.Builder builderForValue)

.androidx.wear.protolayout.expression.proto.AnimatableDynamicFloat animatable_dynamic = 7;

public DynamicProto.DynamicFloat.BuildersetAnimatableDynamic(DynamicProto.AnimatableDynamicFloat value)

.androidx.wear.protolayout.expression.proto.AnimatableDynamicFloat animatable_dynamic = 7;

public DynamicProto.DynamicFloat.BuildersetAnimatableFixed(DynamicProto.AnimatableFixedFloat.Builder builderForValue)

.androidx.wear.protolayout.expression.proto.AnimatableFixedFloat animatable_fixed = 6;

public DynamicProto.DynamicFloat.BuildersetAnimatableFixed(DynamicProto.AnimatableFixedFloat value)

.androidx.wear.protolayout.expression.proto.AnimatableFixedFloat animatable_fixed = 6;

public DynamicProto.DynamicFloat.BuildersetArithmeticOperation(DynamicProto.ArithmeticFloatOp.Builder builderForValue)

.androidx.wear.protolayout.expression.proto.ArithmeticFloatOp arithmetic_operation = 2;

public DynamicProto.DynamicFloat.BuildersetArithmeticOperation(DynamicProto.ArithmeticFloatOp value)

.androidx.wear.protolayout.expression.proto.ArithmeticFloatOp arithmetic_operation = 2;

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

.androidx.wear.protolayout.expression.proto.ConditionalFloatOp conditional_op = 5;

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

.androidx.wear.protolayout.expression.proto.ConditionalFloatOp conditional_op = 5;

public DynamicProto.DynamicFloat.BuildersetFingerprint(FingerprintProto.NodeFingerprint.Builder builderForValue)

 The fingerprint for the dynamic node

public DynamicProto.DynamicFloat.BuildersetFingerprint(FingerprintProto.NodeFingerprint value)

 The fingerprint for the dynamic node

public DynamicProto.DynamicFloat.BuildersetFixed(FixedProto.FixedFloat.Builder builderForValue)

.androidx.wear.protolayout.expression.proto.FixedFloat fixed = 1;

public DynamicProto.DynamicFloat.BuildersetFixed(FixedProto.FixedFloat value)

.androidx.wear.protolayout.expression.proto.FixedFloat fixed = 1;

public DynamicProto.DynamicFloat.BuildersetInt32ToFloatOperation(DynamicProto.Int32ToFloatOp.Builder builderForValue)

.androidx.wear.protolayout.expression.proto.Int32ToFloatOp int32_to_float_operation = 3;

public DynamicProto.DynamicFloat.BuildersetInt32ToFloatOperation(DynamicProto.Int32ToFloatOp value)

.androidx.wear.protolayout.expression.proto.Int32ToFloatOp int32_to_float_operation = 3;

public DynamicProto.DynamicFloat.BuildersetStateSource(DynamicProto.StateFloatSource.Builder builderForValue)

.androidx.wear.protolayout.expression.proto.StateFloatSource state_source = 4;

public DynamicProto.DynamicFloat.BuildersetStateSource(DynamicProto.StateFloatSource value)

.androidx.wear.protolayout.expression.proto.StateFloatSource state_source = 4;

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public boolean hasFixed()

.androidx.wear.protolayout.expression.proto.FixedFloat fixed = 1;

public FixedProto.FixedFloat getFixed()

.androidx.wear.protolayout.expression.proto.FixedFloat fixed = 1;

.androidx.wear.protolayout.expression.proto.FixedFloat fixed = 1;

.androidx.wear.protolayout.expression.proto.FixedFloat fixed = 1;

.androidx.wear.protolayout.expression.proto.FixedFloat fixed = 1;

.androidx.wear.protolayout.expression.proto.FixedFloat fixed = 1;

public boolean hasArithmeticOperation()

.androidx.wear.protolayout.expression.proto.ArithmeticFloatOp arithmetic_operation = 2;

public DynamicProto.ArithmeticFloatOp getArithmeticOperation()

.androidx.wear.protolayout.expression.proto.ArithmeticFloatOp arithmetic_operation = 2;

.androidx.wear.protolayout.expression.proto.ArithmeticFloatOp arithmetic_operation = 2;

public DynamicProto.DynamicFloat.Builder setArithmeticOperation(DynamicProto.ArithmeticFloatOp.Builder builderForValue)

.androidx.wear.protolayout.expression.proto.ArithmeticFloatOp arithmetic_operation = 2;

.androidx.wear.protolayout.expression.proto.ArithmeticFloatOp arithmetic_operation = 2;

public DynamicProto.DynamicFloat.Builder clearArithmeticOperation()

.androidx.wear.protolayout.expression.proto.ArithmeticFloatOp arithmetic_operation = 2;

public boolean hasInt32ToFloatOperation()

.androidx.wear.protolayout.expression.proto.Int32ToFloatOp int32_to_float_operation = 3;

public DynamicProto.Int32ToFloatOp getInt32ToFloatOperation()

.androidx.wear.protolayout.expression.proto.Int32ToFloatOp int32_to_float_operation = 3;

public DynamicProto.DynamicFloat.Builder setInt32ToFloatOperation(DynamicProto.Int32ToFloatOp value)

.androidx.wear.protolayout.expression.proto.Int32ToFloatOp int32_to_float_operation = 3;

public DynamicProto.DynamicFloat.Builder setInt32ToFloatOperation(DynamicProto.Int32ToFloatOp.Builder builderForValue)

.androidx.wear.protolayout.expression.proto.Int32ToFloatOp int32_to_float_operation = 3;

public DynamicProto.DynamicFloat.Builder mergeInt32ToFloatOperation(DynamicProto.Int32ToFloatOp value)

.androidx.wear.protolayout.expression.proto.Int32ToFloatOp int32_to_float_operation = 3;

public DynamicProto.DynamicFloat.Builder clearInt32ToFloatOperation()

.androidx.wear.protolayout.expression.proto.Int32ToFloatOp int32_to_float_operation = 3;

public boolean hasStateSource()

.androidx.wear.protolayout.expression.proto.StateFloatSource state_source = 4;

public DynamicProto.StateFloatSource getStateSource()

.androidx.wear.protolayout.expression.proto.StateFloatSource state_source = 4;

.androidx.wear.protolayout.expression.proto.StateFloatSource state_source = 4;

.androidx.wear.protolayout.expression.proto.StateFloatSource state_source = 4;

.androidx.wear.protolayout.expression.proto.StateFloatSource state_source = 4;

public DynamicProto.DynamicFloat.Builder clearStateSource()

.androidx.wear.protolayout.expression.proto.StateFloatSource state_source = 4;

public boolean hasConditionalOp()

.androidx.wear.protolayout.expression.proto.ConditionalFloatOp conditional_op = 5;

public DynamicProto.ConditionalFloatOp getConditionalOp()

.androidx.wear.protolayout.expression.proto.ConditionalFloatOp conditional_op = 5;

.androidx.wear.protolayout.expression.proto.ConditionalFloatOp conditional_op = 5;

.androidx.wear.protolayout.expression.proto.ConditionalFloatOp conditional_op = 5;

.androidx.wear.protolayout.expression.proto.ConditionalFloatOp conditional_op = 5;

public DynamicProto.DynamicFloat.Builder clearConditionalOp()

.androidx.wear.protolayout.expression.proto.ConditionalFloatOp conditional_op = 5;

public boolean hasAnimatableFixed()

.androidx.wear.protolayout.expression.proto.AnimatableFixedFloat animatable_fixed = 6;

public DynamicProto.AnimatableFixedFloat getAnimatableFixed()

.androidx.wear.protolayout.expression.proto.AnimatableFixedFloat animatable_fixed = 6;

.androidx.wear.protolayout.expression.proto.AnimatableFixedFloat animatable_fixed = 6;

.androidx.wear.protolayout.expression.proto.AnimatableFixedFloat animatable_fixed = 6;

.androidx.wear.protolayout.expression.proto.AnimatableFixedFloat animatable_fixed = 6;

public DynamicProto.DynamicFloat.Builder clearAnimatableFixed()

.androidx.wear.protolayout.expression.proto.AnimatableFixedFloat animatable_fixed = 6;

public boolean hasAnimatableDynamic()

.androidx.wear.protolayout.expression.proto.AnimatableDynamicFloat animatable_dynamic = 7;

public DynamicProto.AnimatableDynamicFloat getAnimatableDynamic()

.androidx.wear.protolayout.expression.proto.AnimatableDynamicFloat animatable_dynamic = 7;

.androidx.wear.protolayout.expression.proto.AnimatableDynamicFloat animatable_dynamic = 7;

.androidx.wear.protolayout.expression.proto.AnimatableDynamicFloat animatable_dynamic = 7;

.androidx.wear.protolayout.expression.proto.AnimatableDynamicFloat animatable_dynamic = 7;

public DynamicProto.DynamicFloat.Builder clearAnimatableDynamic()

.androidx.wear.protolayout.expression.proto.AnimatableDynamicFloat animatable_dynamic = 7;

public boolean hasFingerprint()

 The fingerprint for the dynamic node
 
.androidx.wear.protolayout.proto.NodeFingerprint fingerprint = 8;

public FingerprintProto.NodeFingerprint getFingerprint()

 The fingerprint for the dynamic node
 
.androidx.wear.protolayout.proto.NodeFingerprint fingerprint = 8;

 The fingerprint for the dynamic node
 
.androidx.wear.protolayout.proto.NodeFingerprint fingerprint = 8;

 The fingerprint for the dynamic node
 
.androidx.wear.protolayout.proto.NodeFingerprint fingerprint = 8;

 The fingerprint for the dynamic node
 
.androidx.wear.protolayout.proto.NodeFingerprint fingerprint = 8;

public DynamicProto.DynamicFloat.Builder clearFingerprint()

 The fingerprint for the dynamic node
 
.androidx.wear.protolayout.proto.NodeFingerprint fingerprint = 8;