Class BoolValue.Builder

All Implemented Interfaces:
BoolValueOrBuilder, MessageLite.Builder, MessageLiteOrBuilder, Cloneable
Enclosing class:
BoolValue

public static final class BoolValue.Builder extends GeneratedMessageLite.Builder<BoolValue,BoolValue.Builder> implements BoolValueOrBuilder
 Wrapper message for `bool`.

 The JSON representation for `BoolValue` is JSON `true` and `false`.
 
Protobuf type google.protobuf.BoolValue
  • Constructor Details

    • Builder

      private Builder()
  • Method Details

    • getValue

      public boolean getValue()
       The bool value.
       
      bool value = 1;
      Specified by:
      getValue in interface BoolValueOrBuilder
      Returns:
      The value.
    • setValue

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

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