public boolean hasReferenceImage() {
      return ((bitField0_ & 0x00000002) != 0);
    }
<pre>
Required. The reference image to create.
If an image ID is specified, it is ignored.
</pre>

<code>
.google.cloud.vision.v1p3beta1.ReferenceImage reference_image = 2 [(.google.api.field_behavior) = REQUIRED];
</code>

@return Whether the referenceImage field is set.
java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/CreateReferenceImageRequest.java