@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fileName_);
    }
    if (type_
        != com.google.cloud.video.livestream.v1.Manifest.ManifestType.MANIFEST_TYPE_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(2, type_);
    }
    for (int i = 0; i < muxStreams_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, muxStreams_.getRaw(i));
    }
    if (maxSegmentCount_ != 0) {
      output.writeInt32(4, maxSegmentCount_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(5, getSegmentKeepDuration());
    }
    if (useTimecodeAsTimeline_ != false) {
      output.writeBool(6, useTimecodeAsTimeline_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, key_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Optional. A unique key for this manifest.
</pre>

<code>string key = 7 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The bytes for key.
java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Manifest.java