public final class

TypesProto.BoolProp

extends <any>

implements TypesProto.BoolPropOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.TypesProto.BoolProp

Overview

 A boolean type.
 
Protobuf type androidx.wear.protolayout.proto.BoolProp

Summary

Fields
public static final intDYNAMIC_VALUE_FIELD_NUMBER

public static final intVALUE_FIELD_NUMBER

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

public static TypesProto.BoolPropgetDefaultInstance()

public DynamicProto.DynamicBoolgetDynamicValue()

 The dynamic value.

public TypesProto.BoolProp.OptionalValueCasegetOptionalValueCase()

public booleangetValue()

 The static value.

public booleanhasDynamicValue()

 The dynamic value.

public booleanhasValue()

 The static value.

public static TypesProto.BoolProp.BuildernewBuilder()

public static TypesProto.BoolProp.BuildernewBuilder(TypesProto.BoolProp prototype)

public static TypesProto.BoolPropparseDelimitedFrom(java.io.InputStream input)

public static TypesProto.BoolPropparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TypesProto.BoolPropparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TypesProto.BoolPropparseFrom(java.nio.ByteBuffer data)

public static TypesProto.BoolPropparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TypesProto.BoolPropparseFrom(com.google.protobuf.ByteString data)

public static TypesProto.BoolPropparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TypesProto.BoolPropparseFrom(com.google.protobuf.CodedInputStream input)

public static TypesProto.BoolPropparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TypesProto.BoolPropparseFrom(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 VALUE_FIELD_NUMBER

public static final int DYNAMIC_VALUE_FIELD_NUMBER

Methods

public TypesProto.BoolProp.OptionalValueCase getOptionalValueCase()

public boolean hasValue()

 The static value. If a dynamic value is also set and the renderer
 supports dynamic values for the corresponding field, this static value
 will be ignored. If the static value is not specified, false will be used
 instead.
 
bool value = 1;

Returns:

Whether the value field is set.

public boolean getValue()

 The static value. If a dynamic value is also set and the renderer
 supports dynamic values for the corresponding field, this static value
 will be ignored. If the static value is not specified, false will be used
 instead.
 
bool value = 1;

Returns:

The value.

public boolean hasDynamicValue()

 The dynamic value. Note that when setting this value, the static value is
 still required to be set to support older renderers that only read the
 static value. If {@code dynamicValue} has an invalid result, the provided
 static value will be used instead.
 
.androidx.wear.protolayout.expression.proto.DynamicBool dynamic_value = 2;

public DynamicProto.DynamicBool getDynamicValue()

 The dynamic value. Note that when setting this value, the static value is
 still required to be set to support older renderers that only read the
 static value. If {@code dynamicValue} has an invalid result, the provided
 static value will be used instead.
 
.androidx.wear.protolayout.expression.proto.DynamicBool dynamic_value = 2;

public static TypesProto.BoolProp parseFrom(java.nio.ByteBuffer data)

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

public static TypesProto.BoolProp parseFrom(com.google.protobuf.ByteString data)

public static TypesProto.BoolProp parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

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

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

public static TypesProto.BoolProp parseDelimitedFrom(java.io.InputStream input)

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

public static TypesProto.BoolProp parseFrom(com.google.protobuf.CodedInputStream input)

public static TypesProto.BoolProp parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TypesProto.BoolProp.Builder newBuilder()

public static TypesProto.BoolProp.Builder newBuilder(TypesProto.BoolProp prototype)

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

public static TypesProto.BoolProp getDefaultInstance()

public static <any> parser()