public com.google.cloud.visionai.v1.Partition.TemporalPartitionOrBuilder getSegmentOrBuilder() {
      if (segmentBuilder_ != null) {
        return segmentBuilder_.getMessageOrBuilder();
      } else {
        return segment_ == null
            ? com.google.cloud.visionai.v1.Partition.TemporalPartition.getDefaultInstance()
            : segment_;
      }
    }
<pre>
The matched asset segment.
</pre>

<code>.google.cloud.visionai.v1.Partition.TemporalPartition segment = 5;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchResultItem.java