public Builder mergeFrom(com.google.cloud.visionai.v1.ImageSegmentationPredictionResult other) {
      if (other
          == com.google.cloud.visionai.v1.ImageSegmentationPredictionResult.getDefaultInstance())
        return this;
      if (!other.getCategoryMask().isEmpty()) {
        categoryMask_ = other.categoryMask_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (!other.getConfidenceMask().isEmpty()) {
        confidenceMask_ = other.confidenceMask_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Prediction output format for Image Segmentation.
</pre>

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