public Builder mergeEndOffset(com.google.protobuf.Duration value) {
      if (endOffsetBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)
            && endOffset_ != null
            && endOffset_ != com.google.protobuf.Duration.getDefaultInstance()) {
          getEndOffsetBuilder().mergeFrom(value);
        } else {
          endOffset_ = value;
        }
      } else {
        endOffsetBuilder_.mergeFrom(value);
      }
      if (endOffset_ != null) {
        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