public com.google.cloud.visionai.v1.ResourceAnnotationsOrBuilder getAnnotationsOrBuilder() {
        if (annotationsBuilder_ != null) {
          return annotationsBuilder_.getMessageOrBuilder();
        } else {
          return annotations_ == null
              ? com.google.cloud.visionai.v1.ResourceAnnotations.getDefaultInstance()
              : annotations_;
        }
      }
<pre>
Contains resource annotations.
</pre>

<code>.google.cloud.visionai.v1.ResourceAnnotations annotations = 5;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Instance.java