public final class

TypesProto.FloatProp

extends <any>

implements TypesProto.FloatPropOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

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

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 static TypesProto.FloatProp.BuildernewBuilder()

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

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

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

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

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

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

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

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

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

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

public static TypesProto.FloatPropparseFrom(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.FloatProp.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, 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 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;

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

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

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

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

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

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

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

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

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

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

public static TypesProto.FloatProp.Builder newBuilder()

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

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

public static TypesProto.FloatProp getDefaultInstance()

public static <any> parser()