Class FloatValue.Builder

All Implemented Interfaces:
FloatValueOrBuilder, MessageLite.Builder, MessageLiteOrBuilder, Cloneable
Enclosing class:
FloatValue

public static final class FloatValue.Builder extends GeneratedMessageLite.Builder<FloatValue,FloatValue.Builder> implements FloatValueOrBuilder
 Wrapper message for `float`.

 The JSON representation for `FloatValue` is JSON number.
 
Protobuf type google.protobuf.FloatValue
  • Constructor Details

    • Builder

      private Builder()
  • Method Details

    • getValue

      public float getValue()
       The float value.
       
      float value = 1;
      Specified by:
      getValue in interface FloatValueOrBuilder
      Returns:
      The value.
    • setValue

      public FloatValue.Builder setValue(float value)
       The float value.
       
      float value = 1;
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public FloatValue.Builder clearValue()
       The float value.
       
      float value = 1;
      Returns:
      This builder for chaining.