@java.lang.Override
        public ImageSegmentationPredictionResult parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          Builder builder = newBuilder();
          try {
            builder.mergeFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.setUnfinishedMessage(builder.buildPartial());
          } catch (com.google.protobuf.UninitializedMessageException e) {
            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
          } catch (java.io.IOException e) {
            throw new com.google.protobuf.InvalidProtocolBufferException(e)
                .setUnfinishedMessage(builder.buildPartial());
          }
          return builder.buildPartial();
        }
<pre>
A one channel image which is encoded as an 8bit lossless PNG. The size of
the image will be the same as the original image. For a specific pixel,
darker color means less confidence in correctness of the cateogry in the
categoryMask for the corresponding pixel. Black means no confidence and
white means complete confidence.
</pre>

<code>string confidence_mask = 2;</code>

@param value The bytes for confidenceMask to set.
@return This builder for chaining.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ImageSegmentationPredictionResult.java