@java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getColor());
    }
    if (java.lang.Float.floatToRawIntBits(score_) != 0) {
      size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, score_);
    }
    if (java.lang.Float.floatToRawIntBits(pixelFraction_) != 0) {
      size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, pixelFraction_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<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-v1/src/main/java/com/google/cloud/vision/v1/ColorInfo.java