public final class

DynamicProto.ConditionalInstantOp

extends <any>

implements DynamicProto.ConditionalInstantOpOrBuilder

 java.lang.Object

↳<any>

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

Overview

 A conditional operator which yields a instant depending on the boolean
 operand. This implements:
 ```instant result = condition ? value_if_true : value_if_false```
 
Protobuf type androidx.wear.protolayout.expression.proto.ConditionalInstantOp

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.ConditionalInstantOpgetDefaultInstance()

public DynamicProto.DynamicInstantgetValueIfFalse()

 The instant to yield if condition is false.

public DynamicProto.DynamicInstantgetValueIfTrue()

 The instant to yield if condition is true.

public booleanhasCondition()

 The condition to use.

public booleanhasValueIfFalse()

 The instant to yield if condition is false.

public booleanhasValueIfTrue()

 The instant to yield if condition is true.

public static DynamicProto.ConditionalInstantOp.BuildernewBuilder()

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

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

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

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

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

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

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

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

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

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

public static DynamicProto.ConditionalInstantOpparseFrom(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 instant to yield if condition is true.
 
.androidx.wear.protolayout.expression.proto.DynamicInstant value_if_true = 2;

public DynamicProto.DynamicInstant getValueIfTrue()

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

public boolean hasValueIfFalse()

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

public DynamicProto.DynamicInstant getValueIfFalse()

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

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

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

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

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

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

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

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

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

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

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

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

public static DynamicProto.ConditionalInstantOp getDefaultInstance()

public static <any> parser()