@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!privateKey_.isEmpty()) {
      output.writeBytes(1, privateKey_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, keyName_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(3, getTokenConfig());
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Optional. If set, the URL will be signed using the Media CDN token.
Otherwise, the URL would be signed using the standard Media CDN signature.
</pre>

<code>
.google.cloud.video.stitcher.v1.MediaCdnKey.TokenConfig token_config = 3 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/MediaCdnKey.java