This is an automated email from the ASF dual-hosted git repository.

yasith pushed a commit to branch feat/thrift-server-extraction
in repository https://gitbox.apache.org/repos/asf/airavata.git

commit 2ab97d8c0d15adb89bbed0ba799c4f7233ff748d
Author: yasithdev <[email protected]>
AuthorDate: Thu Mar 26 14:32:05 2026 -0500

    fix: rename proto fields to avoid Protobuf 4.x Java codegen name collision
    
    StorageVolumeInfo and StorageDirectoryInfo had int64 fields named
    total_size_bytes / used_size_bytes / available_size_bytes alongside string
    fields total_size / used_size / available_size. Protobuf 4.x generates
    a raw-bytes accessor getXxxBytes() for each string field, which collides
    with the generated getLong getter for the _bytes int64 fields.
    
    Renamed int64 fields to use _byte_count suffix instead.
---
 .../model/appcatalog/storageresource/storage_resource.proto       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/airavata-api/src/main/proto/org/apache/airavata/model/appcatalog/storageresource/storage_resource.proto
 
b/airavata-api/src/main/proto/org/apache/airavata/model/appcatalog/storageresource/storage_resource.proto
index 10f47e580e..98e237894b 100644
--- 
a/airavata-api/src/main/proto/org/apache/airavata/model/appcatalog/storageresource/storage_resource.proto
+++ 
b/airavata-api/src/main/proto/org/apache/airavata/model/appcatalog/storageresource/storage_resource.proto
@@ -61,9 +61,9 @@ message StorageVolumeInfo {
   string total_size = 1;
   string used_size = 2;
   string available_size = 3;
-  int64 total_size_bytes = 4;
-  int64 used_size_bytes = 5;
-  int64 available_size_bytes = 6;
+  int64 total_size_byte_count = 4;
+  int64 used_size_byte_count = 5;
+  int64 available_size_byte_count = 6;
   double percentage_used = 7;
   string mount_point = 8;
   string filesystem_type = 9;
@@ -75,5 +75,5 @@ message StorageVolumeInfo {
 // total_size_bytes: Total size in bytes.
 message StorageDirectoryInfo {
   string total_size = 1;
-  int64 total_size_bytes = 2;
+  int64 total_size_byte_count = 2;
 }

Reply via email to