public Builder mergeSegment(com.google.cloud.vertexai.api.Segment value) {
      if (segmentBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)
            && segment_ != null
            && segment_ != com.google.cloud.vertexai.api.Segment.getDefaultInstance()) {
          getSegmentBuilder().mergeFrom(value);
        } else {
          segment_ = value;
        }
      } else {
        segmentBuilder_.mergeFrom(value);
      }
      if (segment_ != null) {
        bitField0_ |= 0x00000001;
        onChanged();
      }
      return this;
    }
<pre>
Segment of the content this support belongs to.
</pre>

<code>optional .google.cloud.vertexai.v1.Segment segment = 1;</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GroundingSupport.java