public final class

DynamicProto.FloatToInt32Op

extends <any>

implements DynamicProto.FloatToInt32OpOrBuilder

 java.lang.Object

↳<any>

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

Overview

 Converts a Float to an Int32, with a customizable rounding mode.
 
Protobuf type androidx.wear.protolayout.expression.proto.FloatToInt32Op

Summary

Fields
public static final intINPUT_FIELD_NUMBER

public static final intROUND_MODE_FIELD_NUMBER

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

public static DynamicProto.FloatToInt32OpgetDefaultInstance()

public DynamicProto.DynamicFloatgetInput()

 The float to round.

public DynamicProto.FloatToInt32RoundModegetRoundMode()

 The rounding mode to use.

public intgetRoundModeValue()

 The rounding mode to use.

public booleanhasInput()

 The float to round.

public static DynamicProto.FloatToInt32Op.BuildernewBuilder()

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

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

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

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

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

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

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

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

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

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

public static DynamicProto.FloatToInt32OpparseFrom(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 INPUT_FIELD_NUMBER

public static final int ROUND_MODE_FIELD_NUMBER

Methods

public boolean hasInput()

 The float to round.
 
.androidx.wear.protolayout.expression.proto.DynamicFloat input = 1;

public DynamicProto.DynamicFloat getInput()

 The float to round.
 
.androidx.wear.protolayout.expression.proto.DynamicFloat input = 1;

public int getRoundModeValue()

 The rounding mode to use. Defaults to ROUND_MODE_FLOOR if not specified.
 
.androidx.wear.protolayout.expression.proto.FloatToInt32RoundMode round_mode = 2;

Returns:

The enum numeric value on the wire for roundMode.

 The rounding mode to use. Defaults to ROUND_MODE_FLOOR if not specified.
 
.androidx.wear.protolayout.expression.proto.FloatToInt32RoundMode round_mode = 2;

Returns:

The roundMode.

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

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

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

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

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

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

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

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

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

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

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

public static <any> parser()