public Builder setSegment(com.google.cloud.vertexai.api.Segment value) {
      if (segmentBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        segment_ = value;
      } else {
        segmentBuilder_.setMessage(value);
      }
      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