public final class

TypesProto.FloatProp.Builder

extends <any>

implements TypesProto.FloatPropOrBuilder

 java.lang.Object

↳<any>

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

Overview

 A float type.
 
Protobuf type androidx.wear.protolayout.proto.FloatProp

Summary

Methods
public TypesProto.FloatProp.BuilderclearDynamicValue()

 The dynamic value.

public TypesProto.FloatProp.BuilderclearOptionalValue()

public TypesProto.FloatProp.BuilderclearValue()

 The static value.

public DynamicProto.DynamicFloatgetDynamicValue()

 The dynamic value.

public TypesProto.FloatProp.OptionalValueCasegetOptionalValueCase()

public floatgetValue()

 The static value.

public booleanhasDynamicValue()

 The dynamic value.

public booleanhasValue()

 The static value.

public TypesProto.FloatProp.BuildermergeDynamicValue(DynamicProto.DynamicFloat value)

 The dynamic value.

public TypesProto.FloatProp.BuildersetDynamicValue(DynamicProto.DynamicFloat.Builder builderForValue)

 The dynamic value.

public TypesProto.FloatProp.BuildersetDynamicValue(DynamicProto.DynamicFloat value)

 The dynamic value.

public TypesProto.FloatProp.BuildersetValue(float value)

 The static value.

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

Methods

public TypesProto.FloatProp.OptionalValueCase getOptionalValueCase()

public TypesProto.FloatProp.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, zero will be used
 instead.
 
float value = 1;

Returns:

Whether the value field is set.

public float 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, zero will be used
 instead.
 
float value = 1;

Returns:

The value.

public TypesProto.FloatProp.Builder setValue(float 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, zero will be used
 instead.
 
float value = 1;

Parameters:

value: The value to set.

Returns:

This builder for chaining.

public TypesProto.FloatProp.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, zero will be used
 instead.
 
float 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.DynamicFloat dynamic_value = 2;

public DynamicProto.DynamicFloat 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.DynamicFloat 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.DynamicFloat dynamic_value = 2;

public TypesProto.FloatProp.Builder setDynamicValue(DynamicProto.DynamicFloat.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.DynamicFloat 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.DynamicFloat dynamic_value = 2;

public TypesProto.FloatProp.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.DynamicFloat dynamic_value = 2;