@java.lang.Override
      public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi
          getListApi() {
        com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi result =
            com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi
                .forNumber(listApi_);
        return result == null
            ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi
                .UNRECOGNIZED
            : result;
      }
<pre>
The Listing API to use for discovering objects. When not specified,
Transfer Service will attempt to determine the right API to use.
</pre>

<code>.google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4;</code>

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