public final class

DynamicProto.ConditionalFloatOp

extends <any>

implements DynamicProto.ConditionalFloatOpOrBuilder

 java.lang.Object

↳<any>

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

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

Fields
public static final intCONDITION_FIELD_NUMBER

public static final intVALUE_IF_FALSE_FIELD_NUMBER

public static final intVALUE_IF_TRUE_FIELD_NUMBER

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

public DynamicProto.DynamicBoolgetCondition()

 The condition to use.

public static DynamicProto.ConditionalFloatOpgetDefaultInstance()

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

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

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

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

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

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

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

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

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

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

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

public static DynamicProto.ConditionalFloatOpparseFrom(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 CONDITION_FIELD_NUMBER

public static final int VALUE_IF_TRUE_FIELD_NUMBER

public static final int VALUE_IF_FALSE_FIELD_NUMBER

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;

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;

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;

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

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

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

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

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

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

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

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

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

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

public static DynamicProto.ConditionalFloatOp.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.ConditionalFloatOp getDefaultInstance()

public static <any> parser()