public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransferSpec() {
        if (transferSpecBuilder_ == null) {
          return transferSpec_ == null
              ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance()
              : transferSpec_;
        } else {
          return transferSpecBuilder_.getMessage();
        }
      }
<pre>
Transfer specification.
</pre>

<code>.google.storagetransfer.v1.TransferSpec transfer_spec = 4;</code>

@return The transferSpec.
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java