@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(2, getCreateTime());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(3, getUpdateTime());
    }
    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4);
    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 5);
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, displayName_);
    }
    if (enableHlsPlayback_ != false) {
      output.writeBool(7, enableHlsPlayback_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mediaWarehouseAsset_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, mediaWarehouseAsset_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
The name of the media warehouse asset for long term storage of stream data.
Format: projects/${p_id}/locations/${l_id}/corpora/${c_id}/assets/${a_id}
Remain empty if the media warehouse storage is not needed for the stream.
</pre>

<code>string media_warehouse_asset = 8;</code>

@return The bytes for mediaWarehouseAsset.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Stream.java