private void ensureSegmentsIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        segments_ =
            new java.util.ArrayList<com.google.cloud.videointelligence.v1p2beta1.TextSegment>(
                segments_);
        bitField0_ |= 0x00000002;
      }
    }
<pre>
The detected text.
</pre>

<code>string text = 1;</code>

@param value The bytes for text to set.
@return This builder for chaining.
java-video-intelligence/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotation.java