public Builder setConfidence(float value) {

      confidence_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
<pre>
Optional. The confidence score of the tracked object.
</pre>

<code>float confidence = 4 [(.google.api.field_behavior) = OPTIONAL];</code>

@param value The confidence to set.
@return This builder for chaining.
java-video-intelligence/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Track.java