public final class

DynamicProto.ConditionalStringOp

extends <any>

implements DynamicProto.ConditionalStringOpOrBuilder

 java.lang.Object

↳<any>

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

Overview

 A conditional operator which yields an string depending on the boolean
 operand. This implements "string result = condition ? value_if_true :
 value_if_false".
 
Protobuf type androidx.wear.protolayout.expression.proto.ConditionalStringOp

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

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.

public static DynamicProto.ConditionalStringOp.BuildernewBuilder()

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

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

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

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

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

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

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

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

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

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

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

public DynamicProto.DynamicString getValueIfTrue()

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

public boolean hasValueIfFalse()

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

public DynamicProto.DynamicString getValueIfFalse()

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

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

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

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

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

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

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

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

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

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

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

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

public static <any> parser()