public Builder setHeartbeat(boolean value) {

      controlCase_ = 1;
      control_ = value;
      onChanged();
      return this;
    }
<pre>
A server heartbeat.
</pre>

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

@param value The heartbeat to set.
@return This builder for chaining.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ReceivePacketsControlResponse.java