@java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + DATA_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + dataType_;
      hash = (37 * hash) + CONSUMER_NODE_FIELD_NUMBER;
      hash = (53 * hash) + getConsumerNode().hashCode();
      hash = (37 * hash) + INPUT_RESOURCE_BINDING_FIELD_NUMBER;
      hash = (53 * hash) + getInputResourceBinding().hashCode();
      if (hasAnnotations()) {
        hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER;
        hash = (53 * hash) + getAnnotations().hashCode();
      }
      switch (inputResourceInformationCase_) {
        case 1:
          hash = (37 * hash) + INPUT_RESOURCE_FIELD_NUMBER;
          hash = (53 * hash) + getInputResource().hashCode();
          break;
        case 4:
          hash = (37 * hash) + ANNOTATED_STREAM_FIELD_NUMBER;
          hash = (53 * hash) + getAnnotatedStream().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }
<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