1+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2+ syntax = "proto3" ;
3+ package ansys.api.discovery.v1.commands.application ;
4+
5+ import "ansys/api/discovery/v1/commonenums.proto" ;
6+ import "ansys/api/discovery/v1/commonmessages.proto" ;
7+
8+ import "ansys/api/discovery/v1/design/designmessages.proto" ;
9+
10+ option csharp_namespace = "Ansys.Api.Discovery.V1.Commands.Application" ;
11+
12+ service Application {
13+ rpc IsStarted (ApplicationStartedRequest ) returns (ApplicationStartedResponse );
14+
15+ rpc Close (CloseApplicationRequest ) returns (CloseApplicationResponse );
16+
17+ rpc DisposeTracker (DisposeTrackerRequest ) returns (DisposeTrackerResponse );
18+
19+ rpc GetMonikersCompressionMethod (GetMonikerCompressionMethodRequest ) returns (GetMonikerCompressionMethodResponse );
20+
21+ rpc GetTracker (GetTrackerRequest ) returns (GetTrackerResponse );
22+
23+ rpc GetTrackerChanges (GetTrackerChangesRequest ) returns (GetTrackerChangesResponse );
24+
25+ rpc SetAutomaticTrackingState (SetAutomaticTrackingStateRequest ) returns (SetAutomaticTrackingStateResponse );
26+
27+ rpc SetMonikersCompressionMethod (SetMonikerCompressionMethodRequest ) returns (SetMonikerCompressionMethodResponse );
28+
29+ rpc SetTitle (SetApplicationTitleRequest ) returns (SetApplicationTitleResponse );
30+
31+ rpc GetBackend (GetBackendRequest ) returns (GetBackendResponse );
32+ }
33+
34+ message SetApplicationTitleRequest {
35+ string title = 1 ;
36+ }
37+
38+ message GetBackendRequest {
39+ }
40+
41+ message GetBackendResponse {
42+ BackendType type = 1 ;
43+ VersionIdentifier version = 2 ;
44+ string backend_version_info = 3 ;
45+ map <string , string > additional_build_info = 4 ;
46+ CommandResponse command_response = 5 ;
47+ }
48+
49+ message VersionIdentifier
50+ {
51+ int32 major_release = 1 ;
52+ int32 minor_release = 2 ;
53+ int32 service_pack = 3 ;
54+ int32 build_number = 4 ;
55+ }
56+
57+ message ApplicationStartedRequest {
58+ }
59+
60+ message ApplicationStartedResponse {
61+ bool is_startup_complete = 1 ;
62+ CommandResponse command_response = 2 ;
63+ }
64+
65+ message GetMonikerCompressionMethodRequest {
66+ }
67+
68+ message GetMonikerCompressionMethodResponse {
69+ MonikerCompressionMethod method = 1 ;
70+ CommandResponse command_response = 2 ;
71+ }
72+
73+ message SetMonikerCompressionMethodRequest {
74+ MonikerCompressionMethod method = 1 ;
75+ }
76+
77+ message SetMonikerCompressionMethodResponse {
78+ SetResponse set_response = 1 ;
79+ }
80+
81+ message SetApplicationTitleResponse {
82+ SetResponse set_response = 1 ;
83+ }
84+
85+ message CloseApplicationRequest {
86+ }
87+
88+ message CloseApplicationResponse {
89+ SetResponse set_response = 1 ;
90+ }
91+
92+
93+ message SetAutomaticTrackingStateRequest {
94+ AutomaticTrackingState state = 1 ;
95+ }
96+
97+ message SetAutomaticTrackingStateResponse {
98+ SetResponse set_response = 1 ;
99+ }
100+
101+ message GetTrackerRequest {
102+ EntityIdentifier design_id = 1 ;
103+ }
104+
105+ message GetTrackerResponse {
106+ TrackerDefinition tracker = 1 ;
107+ CommandResponse command_response = 2 ;
108+ }
109+
110+ message TrackerDefinition {
111+ EntityIdentifier design_id = 1 ;
112+ }
113+
114+ message GetTrackerChangesRequest {
115+ EntityIdentifier design_id = 1 ;
116+ }
117+
118+ message GetTrackerChangesResponse {
119+ ansys.api.discovery.v1.design.TrackedChanges tracked_changes = 1 ;
120+ }
121+
122+ message DisposeTrackerRequest {
123+ EntityIdentifier design_id = 1 ;
124+ }
125+
126+ message DisposeTrackerResponse {
127+ CommandResponse command_response = 1 ;
128+ }
0 commit comments