@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);
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, uid_);
    }
    if (sourceOptionsCase_ == 7) {
      output.writeMessage(
          7, (com.google.cloud.storageinsights.v1.DatasetConfig.SourceProjects) sourceOptions_);
    }
    if (cloudStorageLocationsCase_ == 8) {
      output.writeMessage(
          8,
          (com.google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations)
              cloudStorageLocations_);
    }
    if (cloudStorageLocationsCase_ == 9) {
      output.writeMessage(
          9,
          (com.google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations)
              cloudStorageLocations_);
    }
    if (cloudStorageBucketsCase_ == 10) {
      output.writeMessage(
          10,
          (com.google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets)
              cloudStorageBuckets_);
    }
    if (cloudStorageBucketsCase_ == 11) {
      output.writeMessage(
          11,
          (com.google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets)
              cloudStorageBuckets_);
    }
    if (includeNewlyCreatedBuckets_ != false) {
      output.writeBool(12, includeNewlyCreatedBuckets_);
    }
    if (retentionPeriodDays_ != 0) {
      output.writeInt32(14, retentionPeriodDays_);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      output.writeMessage(15, getLink());
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      output.writeMessage(16, getIdentity());
    }
    if (((bitField0_ & 0x00000010) != 0)) {
      output.writeMessage(17, getStatus());
    }
    if (datasetConfigState_
        != com.google.cloud.storageinsights.v1.DatasetConfig.ConfigState.CONFIG_STATE_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(18, datasetConfigState_);
    }
    if (skipVerificationAndIngest_ != false) {
      output.writeBool(19, skipVerificationAndIngest_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 20, description_);
    }
    if (sourceOptionsCase_ == 21) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 21, sourceOptions_);
    }
    if (organizationNumber_ != 0L) {
      output.writeInt64(22, organizationNumber_);
    }
    if (sourceOptionsCase_ == 24) {
      output.writeMessage(
          24, (com.google.cloud.storageinsights.v1.DatasetConfig.SourceFolders) sourceOptions_);
    }
    if (sourceOptionsCase_ == 25) {
      output.writeBool(25, (boolean) ((java.lang.Boolean) sourceOptions_));
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Optional. A user-provided description for the dataset configuration.

Maximum length: 256 characters.
</pre>

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

@return The bytes for description.
java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DatasetConfig.java