@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
The name of the Pub/Sub topic to publish job completion notification
to. For example: `projects/{project}/topics/{topic}`.
</pre>

<code>string topic = 1;</code>

@return The bytes for topic.
java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/PubsubDestination.java