@java.lang.Override
      @java.lang.Deprecated
      public com.google.cloud.visionai.v1.StreamWithAnnotationOrBuilder
          getAnnotatedStreamOrBuilder() {
        if ((inputResourceInformationCase_ == 4) && (annotatedStreamBuilder_ != null)) {
          return annotatedStreamBuilder_.getMessageOrBuilder();
        } else {
          if (inputResourceInformationCase_ == 4) {
            return (com.google.cloud.visionai.v1.StreamWithAnnotation) inputResourceInformation_;
          }
          return com.google.cloud.visionai.v1.StreamWithAnnotation.getDefaultInstance();
        }
      }
<pre>
If the input resource is VisionAI Stream, the associated annotations
can be specified using annotated_stream instead.
</pre>

<code>
.google.cloud.visionai.v1.StreamWithAnnotation annotated_stream = 4 [deprecated = true];
</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Instance.java