@java.lang.Override
      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
        if (cloudStorageBucketCase_ == 1) {
          com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudStorageBucket_);
        }
        if (cloudStorageBucketCase_ == 2) {
          com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cloudStorageBucket_);
        }
        getUnknownFields().writeTo(output);
      }
<pre>
A regex pattern for bucket names matching the regex. Regex should
follow the syntax specified in `google/re2` on GitHub.
</pre>

<code>string bucket_prefix_regex = 2;</code>

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