public Builder mergeFrom(
            com.google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets.CloudStorageBucket
                other) {
          if (other
              == com.google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets
                  .CloudStorageBucket.getDefaultInstance()) return this;
          switch (other.getCloudStorageBucketCase()) {
            case BUCKET_NAME:
              {
                cloudStorageBucketCase_ = 1;
                cloudStorageBucket_ = other.cloudStorageBucket_;
                onChanged();
                break;
              }
            case BUCKET_PREFIX_REGEX:
              {
                cloudStorageBucketCase_ = 2;
                cloudStorageBucket_ = other.cloudStorageBucket_;
                onChanged();
                break;
              }
            case CLOUDSTORAGEBUCKET_NOT_SET:
              {
                break;
              }
          }
          this.mergeUnknownFields(other.getUnknownFields());
          onChanged();
          return this;
        }
<pre>
Defines the bucket by its name or a regex pattern to match buckets.
</pre>

Protobuf type {@code
google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets.CloudStorageBucket}
java-storageinsights/proto-google-cloud-storageinsights-v1/src/main/java/com/google/cloud/storageinsights/v1/DatasetConfig.java