@java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        switch (cloudStorageBucketCase_) {
          case 1:
            hash = (37 * hash) + BUCKET_NAME_FIELD_NUMBER;
            hash = (53 * hash) + getBucketName().hashCode();
            break;
          case 2:
            hash = (37 * hash) + BUCKET_PREFIX_REGEX_FIELD_NUMBER;
            hash = (53 * hash) + getBucketPrefixRegex().hashCode();
            break;
          case 0:
          default:
        }
        hash = (29 * hash) + getUnknownFields().hashCode();
        memoizedHashCode = hash;
        return hash;
      }
<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