@java.lang.Override
  public boolean getHeartbeat() {
    if (controlCase_ == 1) {
      return (java.lang.Boolean) control_;
    }
    return false;
  }
<pre>
A server heartbeat.
</pre>

<code>bool heartbeat = 1;</code>

@return The heartbeat.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ReceivePacketsControlResponse.java