@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (valueCase_ == 1) {
      output.writeMessage(1, (com.google.devtools.cloudtrace.v2.TruncatableString) value_);
    }
    if (valueCase_ == 2) {
      output.writeInt64(2, (long) ((java.lang.Long) value_));
    }
    if (valueCase_ == 3) {
      output.writeBool(3, (boolean) ((java.lang.Boolean) value_));
    }
    getUnknownFields().writeTo(output);
  }
<pre>
A Boolean value represented by `true` or `false`.
</pre>

<code>bool bool_value = 3;</code>

@return The boolValue.
java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/AttributeValue.java