public final class

TypesProto.BoolProp.Builder

extends <any>

implements TypesProto.BoolPropOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

Summary

Methods
public TypesProto.BoolProp.BuilderclearDynamicValue()

 The dynamic value.

public TypesProto.BoolProp.BuilderclearOptionalValue()

public TypesProto.BoolProp.BuilderclearValue()

 The static value.

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 TypesProto.BoolProp.BuildermergeDynamicValue(DynamicProto.DynamicBool value)

 The dynamic value.

public TypesProto.BoolProp.BuildersetDynamicValue(DynamicProto.DynamicBool.Builder builderForValue)

 The dynamic value.

public TypesProto.BoolProp.BuildersetDynamicValue(DynamicProto.DynamicBool value)

 The dynamic value.

public TypesProto.BoolProp.BuildersetValue(boolean value)

 The static value.

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

Methods

public TypesProto.BoolProp.OptionalValueCase getOptionalValueCase()

public TypesProto.BoolProp.Builder clearOptionalValue()

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 TypesProto.BoolProp.Builder setValue(boolean value)

 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;

Parameters:

value: The value to set.

Returns:

This builder for chaining.

public TypesProto.BoolProp.Builder clearValue()

 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:

This builder for chaining.

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;

 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 TypesProto.BoolProp.Builder setDynamicValue(DynamicProto.DynamicBool.Builder builderForValue)

 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;

 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 TypesProto.BoolProp.Builder clearDynamicValue()

 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;