private void buildPartialOneofs(
          com.google.storagetransfer.v1.proto.TransferTypes.ReplicationSpec result) {
        result.dataSourceCase_ = dataSourceCase_;
        result.dataSource_ = this.dataSource_;
        if (dataSourceCase_ == 1 && gcsDataSourceBuilder_ != null) {
          result.dataSource_ = gcsDataSourceBuilder_.build();
        }
        result.dataSinkCase_ = dataSinkCase_;
        result.dataSink_ = this.dataSink_;
        if (dataSinkCase_ == 2 && gcsDataSinkBuilder_ != null) {
          result.dataSink_ = gcsDataSinkBuilder_.build();
        }
      }
<pre>
Specifies the configuration for a cross-bucket replication job. Cross-bucket
replication copies new or updated objects from a source Cloud Storage bucket
to a destination Cloud Storage bucket. Existing objects in the source bucket
are not copied by a new cross-bucket replication job.
</pre>

Protobuf type {@code google.storagetransfer.v1.ReplicationSpec}
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java