public Builder setEndOffset(com.google.protobuf.Duration value) {
      if (endOffsetBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        endOffset_ = value;
      } else {
        endOffsetBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
<pre>
Optional. The end offset of the video.
</pre>

<code>.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VideoMetadata.java