@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(1, getColor());
    }
    if (java.lang.Float.floatToRawIntBits(score_) != 0) {
      output.writeFloat(2, score_);
    }
    if (java.lang.Float.floatToRawIntBits(pixelFraction_) != 0) {
      output.writeFloat(3, pixelFraction_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
The fraction of pixels the color occupies in the image.
Value in range [0, 1].
</pre>

<code>float pixel_fraction = 3;</code>

@return The pixelFraction.
java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ColorInfo.java