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

      size = 0;
      if (type_
          != com.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak.BreakType.UNKNOWN
              .getNumber()) {
        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
      }
      if (isPrefix_ != false) {
        size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, isPrefix_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }
<pre>
True if break prepends the element.
</pre>

<code>bool is_prefix = 2;</code>

@return The isPrefix.
java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/TextAnnotation.java