public Builder mergeAnnotations(com.google.cloud.visionai.v1.ResourceAnnotations value) {
        if (annotationsBuilder_ == null) {
          if (((bitField0_ & 0x00000020) != 0)
              && annotations_ != null
              && annotations_
                  != com.google.cloud.visionai.v1.ResourceAnnotations.getDefaultInstance()) {
            getAnnotationsBuilder().mergeFrom(value);
          } else {
            annotations_ = value;
          }
        } else {
          annotationsBuilder_.mergeFrom(value);
        }
        if (annotations_ != null) {
          bitField0_ |= 0x00000020;
          onChanged();
        }
        return this;
      }
<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