public Builder setAnnotations(
        int index,
        com.google.cloud.visionai.v1.AppPlatformCloudFunctionResponse.StructedOutputAnnotation
                .Builder
            builderForValue) {
      if (annotationsBuilder_ == null) {
        ensureAnnotationsIsMutable();
        annotations_.set(index, builderForValue.build());
        onChanged();
      } else {
        annotationsBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
<pre>
The modified annotations that is returned back to AppPlatform.
If the annotations fields are empty, then those annotations will be dropped
by AppPlatform.
</pre>

<code>
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionResponse.StructedOutputAnnotation annotations = 2;
</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/AppPlatformCloudFunctionResponse.java