public Builder mergeFrom(com.google.cloud.vertexai.api.Segment other) {
      if (other == com.google.cloud.vertexai.api.Segment.getDefaultInstance()) return this;
      if (other.getPartIndex() != 0) {
        setPartIndex(other.getPartIndex());
      }
      if (other.getStartIndex() != 0) {
        setStartIndex(other.getStartIndex());
      }
      if (other.getEndIndex() != 0) {
        setEndIndex(other.getEndIndex());
      }
      if (!other.getText().isEmpty()) {
        text_ = other.text_;
        bitField0_ |= 0x00000008;
        onChanged();
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Segment of the content.
</pre>

Protobuf type {@code google.cloud.vertexai.v1.Segment}
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Segment.java