public Builder mergeReferenceImage(com.google.cloud.vision.v1.ReferenceImage value) {
      if (referenceImageBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)
            && referenceImage_ != null
            && referenceImage_ != com.google.cloud.vision.v1.ReferenceImage.getDefaultInstance()) {
          getReferenceImageBuilder().mergeFrom(value);
        } else {
          referenceImage_ = value;
        }
      } else {
        referenceImageBuilder_.mergeFrom(value);
      }
      if (referenceImage_ != null) {
        bitField0_ |= 0x00000002;
        onChanged();
      }
      return this;
    }
<pre>
Required. The reference image to create.
If an image ID is specified, it is ignored.
</pre>

<code>
.google.cloud.vision.v1.ReferenceImage reference_image = 2 [(.google.api.field_behavior) = REQUIRED];
</code>
java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/CreateReferenceImageRequest.java