@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(adBreakId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, adBreakId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(adId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, adId_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(3, getAdTimeOffset());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skipReason_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, skipReason_);
    }
    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        output, internalGetMedia(), MediaDefaultEntryHolder.defaultEntry, 5);
    getUnknownFields().writeTo(output);
  }
<pre>
Optional. The metadata of the chosen media file for the ad.
</pre>

<code>
map&lt;string, .google.protobuf.Value&gt; media = 5 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/AdStitchDetail.java