private void buildPartialOneofs(com.google.cloud.visionai.v1.StreamAnnotation result) {
      result.annotationPayloadCase_ = annotationPayloadCase_;
      result.annotationPayload_ = this.annotationPayload_;
      if (annotationPayloadCase_ == 5 && activeZoneBuilder_ != null) {
        result.annotationPayload_ = activeZoneBuilder_.build();
      }
      if (annotationPayloadCase_ == 6 && crossingLineBuilder_ != null) {
        result.annotationPayload_ = crossingLineBuilder_.build();
      }
    }
<pre>
message about annotations about Vision AI stream resource.
</pre>

Protobuf type {@code google.cloud.visionai.v1.StreamAnnotation}
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/StreamAnnotation.java