File tree Expand file tree Collapse file tree 3 files changed +18
-10
lines changed Expand file tree Collapse file tree 3 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 1- 3.1 .0-dev0
1+ 4.0 .0-dev0
Original file line number Diff line number Diff line change @@ -301,4 +301,19 @@ message DownloadFileResponse {
301301 bytes content = 3 ; // chunk of file content
302302 string content_md5 = 4 ; // md5 hash of content
303303 Progress progress = 10 ; // download progress
304- }
304+ }
305+
306+ message SimulationResponse {
307+ string id = 1 ;
308+ bytes logs = 2 ;
309+ oneof ResponseType {
310+ Progress progress = 10 ;
311+ MeltPool melt_pool = 11 ;
312+ PorosityResult porosity_result = 13 ;
313+ MicrostructureResult microstructure_result = 14 ;
314+ ThermalHistoryResult thermal_history_result = 15 ;
315+ ThermalStrainResult thermal_strain_result = 16 ;
316+ Microstructure3DResult microstructure_3d_result = 17 ;
317+ MaterialTuningResult result = 18 ;
318+ }
319+ }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ service MaterialsService {
2121
2222 rpc TuneMaterial (TuneMaterialRequest ) returns (google .longrunning .Operation ) {
2323 option (google.longrunning.operation_info ) = {
24- response_type : "TuneMaterialResponse "
24+ response_type : "SimulationResponse "
2525 metadata_type : "OperationMetadata"
2626 };
2727 }
@@ -57,11 +57,4 @@ message TuneMaterialRequest {
5757 MaterialTuningInput input = 2 ;
5858}
5959
60- message TuneMaterialResponse {
61- string id = 1 ;
62- oneof ResponseType {
63- Progress progress = 10 ;
64- MaterialTuningResult result = 11 ;
65- }
66- }
6760
You can’t perform that action at this time.
0 commit comments