public final class

DynamicProto.DynamicFloat

extends <any>

implements DynamicProto.DynamicFloatOrBuilder

 java.lang.Object

↳<any>

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

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

Fields
public static final intANIMATABLE_DYNAMIC_FIELD_NUMBER

public static final intANIMATABLE_FIXED_FIELD_NUMBER

public static final intARITHMETIC_OPERATION_FIELD_NUMBER

public static final intCONDITIONAL_OP_FIELD_NUMBER

public static final intFINGERPRINT_FIELD_NUMBER

public static final intFIXED_FIELD_NUMBER

public static final intINT32_TO_FLOAT_OPERATION_FIELD_NUMBER

public static final intSTATE_SOURCE_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

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 static DynamicProto.DynamicFloatgetDefaultInstance()

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 static DynamicProto.DynamicFloat.BuildernewBuilder()

public static DynamicProto.DynamicFloat.BuildernewBuilder(DynamicProto.DynamicFloat prototype)

public static DynamicProto.DynamicFloatparseDelimitedFrom(java.io.InputStream input)

public static DynamicProto.DynamicFloatparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.DynamicFloatparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.DynamicFloatparseFrom(java.nio.ByteBuffer data)

public static DynamicProto.DynamicFloatparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.DynamicFloatparseFrom(com.google.protobuf.ByteString data)

public static DynamicProto.DynamicFloatparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.DynamicFloatparseFrom(com.google.protobuf.CodedInputStream input)

public static DynamicProto.DynamicFloatparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.DynamicFloatparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

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

Fields

public static final int FIXED_FIELD_NUMBER

public static final int ARITHMETIC_OPERATION_FIELD_NUMBER

public static final int INT32_TO_FLOAT_OPERATION_FIELD_NUMBER

public static final int STATE_SOURCE_FIELD_NUMBER

public static final int CONDITIONAL_OP_FIELD_NUMBER

public static final int ANIMATABLE_FIXED_FIELD_NUMBER

public static final int ANIMATABLE_DYNAMIC_FIELD_NUMBER

public static final int FINGERPRINT_FIELD_NUMBER

Methods

public boolean hasFixed()

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

public FixedProto.FixedFloat getFixed()

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

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 boolean hasStateSource()

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

public DynamicProto.StateFloatSource getStateSource()

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

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;

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;

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;

public static DynamicProto.DynamicFloat parseFrom(java.nio.ByteBuffer data)

public static DynamicProto.DynamicFloat parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.DynamicFloat parseFrom(com.google.protobuf.ByteString data)

public static DynamicProto.DynamicFloat parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.DynamicFloat parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.DynamicFloat parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.DynamicFloat parseDelimitedFrom(java.io.InputStream input)

public static DynamicProto.DynamicFloat parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.DynamicFloat parseFrom(com.google.protobuf.CodedInputStream input)

public static DynamicProto.DynamicFloat parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.DynamicFloat.Builder newBuilder()

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static DynamicProto.DynamicFloat getDefaultInstance()

public static <any> parser()