@java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10:
              {
                com.google.cloud.visionai.v1.StreamAnnotation m =
                    input.readMessage(
                        com.google.cloud.visionai.v1.StreamAnnotation.parser(), extensionRegistry);
                if (applicationAnnotationsBuilder_ == null) {
                  ensureApplicationAnnotationsIsMutable();
                  applicationAnnotations_.add(m);
                } else {
                  applicationAnnotationsBuilder_.addMessage(m);
                }
                break;
              } // case 10
            case 18:
              {
                com.google.cloud.visionai.v1.ApplicationNodeAnnotation m =
                    input.readMessage(
                        com.google.cloud.visionai.v1.ApplicationNodeAnnotation.parser(),
                        extensionRegistry);
                if (nodeAnnotationsBuilder_ == null) {
                  ensureNodeAnnotationsIsMutable();
                  nodeAnnotations_.add(m);
                } else {
                  nodeAnnotationsBuilder_.addMessage(m);
                }
                break;
              } // case 18
            default:
              {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
<pre>
Message describing general annotation for resources.
</pre>

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