@java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    switch (imageCase_) {
      case 1:
        hash = (37 * hash) + INPUT_IMAGE_FIELD_NUMBER;
        hash = (53 * hash) + getInputImage().hashCode();
        break;
      case 2:
        hash = (37 * hash) + ASSET_FIELD_NUMBER;
        hash = (53 * hash) + getAsset().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }
<pre>
Resource name of the asset. Only supported in IMAGE corpus type.
Format:
`projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`
</pre>

<code>string asset = 2 [(.google.api.resource_reference) = { ... }</code>

@return The bytes for asset.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ImageQuery.java