ansys-api-discovery 0.5.2__py3-none-any.whl → 0.6.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ansys-api-discovery might be problematic. Click here for more details.
- ansys/api/discovery/VERSION +1 -1
- ansys/api/discovery/v0/conditions.proto +11 -46
- ansys/api/discovery/v0/conditions_pb2.py +12 -70
- ansys/api/discovery/v0/conditions_pb2.pyi +16 -88
- ansys/api/discovery/v0/conditions_pb2_grpc.py +40 -139
- ansys/api/discovery/v0/conditions_pb2_grpc.pyi +20 -50
- ansys/api/discovery/v0/conditionsfluid.proto +246 -0
- ansys/api/discovery/v0/conditionsfluid_pb2.py +85 -0
- ansys/api/discovery/v0/conditionsfluid_pb2.pyi +590 -0
- ansys/api/discovery/v0/conditionsfluid_pb2_grpc.py +662 -0
- ansys/api/discovery/v0/conditionsfluid_pb2_grpc.pyi +208 -0
- ansys/api/discovery/v0/conditionsstructural.proto +407 -0
- ansys/api/discovery/v0/conditionsstructural_pb2.py +113 -0
- ansys/api/discovery/v0/conditionsstructural_pb2.pyi +839 -0
- ansys/api/discovery/v0/conditionsstructural_pb2_grpc.py +2746 -0
- ansys/api/discovery/v0/conditionsstructural_pb2_grpc.pyi +854 -0
- ansys/api/discovery/v0/conditionsthermal.proto +179 -0
- ansys/api/discovery/v0/conditionsthermal_pb2.py +63 -0
- ansys/api/discovery/v0/conditionsthermal_pb2.pyi +399 -0
- ansys/api/discovery/v0/conditionsthermal_pb2_grpc.py +665 -0
- ansys/api/discovery/v0/conditionsthermal_pb2_grpc.pyi +217 -0
- ansys/api/discovery/v0/definedvariationstable.proto +12 -0
- ansys/api/discovery/v0/definedvariationstable_pb2.py +12 -116
- ansys/api/discovery/v0/definedvariationstable_pb2.pyi +16 -0
- ansys/api/discovery/v0/definedvariationstable_pb2_grpc.py +68 -0
- ansys/api/discovery/v0/definedvariationstable_pb2_grpc.pyi +26 -0
- ansys/api/discovery/v0/discoverymodels.proto +91 -25
- ansys/api/discovery/v0/discoverymodels_pb2.py +59 -211
- ansys/api/discovery/v0/discoverymodels_pb2.pyi +264 -50
- ansys/api/discovery/v0/historytrackparameters_pb2.py +3 -50
- ansys/api/discovery/v0/messaging.proto +0 -2
- ansys/api/discovery/v0/messaging_pb2.py +8 -20
- ansys/api/discovery/v0/scriptparameters_pb2.py +3 -37
- ansys/api/discovery/v0/simulations.proto +0 -1
- ansys/api/discovery/v0/simulations_pb2.py +8 -19
- ansys/api/discovery/v0/solution.proto +18 -2
- ansys/api/discovery/v0/solution_pb2.py +18 -40
- ansys/api/discovery/v0/solution_pb2.pyi +48 -0
- ansys/api/discovery/v0/solution_pb2_grpc.py +33 -0
- ansys/api/discovery/v0/solution_pb2_grpc.pyi +10 -0
- ansys/api/discovery/v0/units_pb2.py +3 -1232
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.0.dist-info}/METADATA +8 -8
- ansys_api_discovery-0.6.0.dist-info/RECORD +70 -0
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.0.dist-info}/WHEEL +1 -1
- ansys_api_discovery-0.5.2.dist-info/RECORD +0 -55
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.0.dist-info}/LICENSE +0 -0
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.0.dist-info}/entry_points.txt +0 -0
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import abc
|
|
6
|
+
import ansys.api.discovery.v0.conditionsthermal_pb2
|
|
7
|
+
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
8
|
+
import grpc
|
|
9
|
+
|
|
10
|
+
class ConditionsThermalStub:
|
|
11
|
+
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
12
|
+
CreateHeatVolumetricTotal: grpc.UnaryUnaryMultiCallable[
|
|
13
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.HeatCreationRequest,
|
|
14
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.HeatTotalCreationResponse] = ...
|
|
15
|
+
"""Heat condition methods"""
|
|
16
|
+
|
|
17
|
+
CreateHeatVolumetricDistributed: grpc.UnaryUnaryMultiCallable[
|
|
18
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.HeatCreationRequest,
|
|
19
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.HeatVolumetricDistributedCreationResponse] = ...
|
|
20
|
+
|
|
21
|
+
CreateHeatSurfaceTotal: grpc.UnaryUnaryMultiCallable[
|
|
22
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.HeatCreationRequest,
|
|
23
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.HeatTotalCreationResponse] = ...
|
|
24
|
+
|
|
25
|
+
CreateHeatSurfaceDistributed: grpc.UnaryUnaryMultiCallable[
|
|
26
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.HeatCreationRequest,
|
|
27
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.HeatSurfaceDistributedCreationResponse] = ...
|
|
28
|
+
|
|
29
|
+
ChangeHeatLocation: grpc.UnaryUnaryMultiCallable[
|
|
30
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationExtendedRequest,
|
|
31
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse] = ...
|
|
32
|
+
|
|
33
|
+
ChangeTotalHeat: grpc.UnaryUnaryMultiCallable[
|
|
34
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
35
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse] = ...
|
|
36
|
+
|
|
37
|
+
ChangeHeatPerUnitVolume: grpc.UnaryUnaryMultiCallable[
|
|
38
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
39
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse] = ...
|
|
40
|
+
|
|
41
|
+
ChangeHeatPerUnitArea: grpc.UnaryUnaryMultiCallable[
|
|
42
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
43
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse] = ...
|
|
44
|
+
|
|
45
|
+
ChangeHeatSpecification: grpc.UnaryUnaryMultiCallable[
|
|
46
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.ChangeHeatSpecificationRequest,
|
|
47
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse] = ...
|
|
48
|
+
|
|
49
|
+
CreateTemperatureVolumetric: grpc.UnaryUnaryMultiCallable[
|
|
50
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.TemperatureCreationRequest,
|
|
51
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.TemperatureCreationResponse] = ...
|
|
52
|
+
"""Temperature condition methods"""
|
|
53
|
+
|
|
54
|
+
CreateTemperatureSurface: grpc.UnaryUnaryMultiCallable[
|
|
55
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.TemperatureCreationRequest,
|
|
56
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.TemperatureCreationResponse] = ...
|
|
57
|
+
|
|
58
|
+
ChangeTemperatureLocation: grpc.UnaryUnaryMultiCallable[
|
|
59
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationExtendedRequest,
|
|
60
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse] = ...
|
|
61
|
+
|
|
62
|
+
ChangeTemperatureMagnitude: grpc.UnaryUnaryMultiCallable[
|
|
63
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
64
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse] = ...
|
|
65
|
+
|
|
66
|
+
CreateInsulated: grpc.UnaryUnaryMultiCallable[
|
|
67
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.InsulatedCreationRequest,
|
|
68
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.InsulatedCreationResponse] = ...
|
|
69
|
+
"""Insulated condition methods"""
|
|
70
|
+
|
|
71
|
+
ChangeInsulatedLocation: grpc.UnaryUnaryMultiCallable[
|
|
72
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
73
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse] = ...
|
|
74
|
+
|
|
75
|
+
CreateConvection: grpc.UnaryUnaryMultiCallable[
|
|
76
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.ConvectionCreationRequest,
|
|
77
|
+
ansys.api.discovery.v0.conditionsthermal_pb2.ConvectionCreationResponse] = ...
|
|
78
|
+
"""Convection condition methods"""
|
|
79
|
+
|
|
80
|
+
ChangeConvectionLocation: grpc.UnaryUnaryMultiCallable[
|
|
81
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
82
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse] = ...
|
|
83
|
+
|
|
84
|
+
ChangeConvectionCoefficientMagnitude: grpc.UnaryUnaryMultiCallable[
|
|
85
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
86
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse] = ...
|
|
87
|
+
|
|
88
|
+
ChangeConvectionTemperatureMagnitude: grpc.UnaryUnaryMultiCallable[
|
|
89
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
90
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse] = ...
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
class ConditionsThermalServicer(metaclass=abc.ABCMeta):
|
|
94
|
+
@abc.abstractmethod
|
|
95
|
+
def CreateHeatVolumetricTotal(self,
|
|
96
|
+
request: ansys.api.discovery.v0.conditionsthermal_pb2.HeatCreationRequest,
|
|
97
|
+
context: grpc.ServicerContext,
|
|
98
|
+
) -> ansys.api.discovery.v0.conditionsthermal_pb2.HeatTotalCreationResponse:
|
|
99
|
+
"""Heat condition methods"""
|
|
100
|
+
pass
|
|
101
|
+
|
|
102
|
+
@abc.abstractmethod
|
|
103
|
+
def CreateHeatVolumetricDistributed(self,
|
|
104
|
+
request: ansys.api.discovery.v0.conditionsthermal_pb2.HeatCreationRequest,
|
|
105
|
+
context: grpc.ServicerContext,
|
|
106
|
+
) -> ansys.api.discovery.v0.conditionsthermal_pb2.HeatVolumetricDistributedCreationResponse: ...
|
|
107
|
+
|
|
108
|
+
@abc.abstractmethod
|
|
109
|
+
def CreateHeatSurfaceTotal(self,
|
|
110
|
+
request: ansys.api.discovery.v0.conditionsthermal_pb2.HeatCreationRequest,
|
|
111
|
+
context: grpc.ServicerContext,
|
|
112
|
+
) -> ansys.api.discovery.v0.conditionsthermal_pb2.HeatTotalCreationResponse: ...
|
|
113
|
+
|
|
114
|
+
@abc.abstractmethod
|
|
115
|
+
def CreateHeatSurfaceDistributed(self,
|
|
116
|
+
request: ansys.api.discovery.v0.conditionsthermal_pb2.HeatCreationRequest,
|
|
117
|
+
context: grpc.ServicerContext,
|
|
118
|
+
) -> ansys.api.discovery.v0.conditionsthermal_pb2.HeatSurfaceDistributedCreationResponse: ...
|
|
119
|
+
|
|
120
|
+
@abc.abstractmethod
|
|
121
|
+
def ChangeHeatLocation(self,
|
|
122
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationExtendedRequest,
|
|
123
|
+
context: grpc.ServicerContext,
|
|
124
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse: ...
|
|
125
|
+
|
|
126
|
+
@abc.abstractmethod
|
|
127
|
+
def ChangeTotalHeat(self,
|
|
128
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
129
|
+
context: grpc.ServicerContext,
|
|
130
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse: ...
|
|
131
|
+
|
|
132
|
+
@abc.abstractmethod
|
|
133
|
+
def ChangeHeatPerUnitVolume(self,
|
|
134
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
135
|
+
context: grpc.ServicerContext,
|
|
136
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse: ...
|
|
137
|
+
|
|
138
|
+
@abc.abstractmethod
|
|
139
|
+
def ChangeHeatPerUnitArea(self,
|
|
140
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
141
|
+
context: grpc.ServicerContext,
|
|
142
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse: ...
|
|
143
|
+
|
|
144
|
+
@abc.abstractmethod
|
|
145
|
+
def ChangeHeatSpecification(self,
|
|
146
|
+
request: ansys.api.discovery.v0.conditionsthermal_pb2.ChangeHeatSpecificationRequest,
|
|
147
|
+
context: grpc.ServicerContext,
|
|
148
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse: ...
|
|
149
|
+
|
|
150
|
+
@abc.abstractmethod
|
|
151
|
+
def CreateTemperatureVolumetric(self,
|
|
152
|
+
request: ansys.api.discovery.v0.conditionsthermal_pb2.TemperatureCreationRequest,
|
|
153
|
+
context: grpc.ServicerContext,
|
|
154
|
+
) -> ansys.api.discovery.v0.conditionsthermal_pb2.TemperatureCreationResponse:
|
|
155
|
+
"""Temperature condition methods"""
|
|
156
|
+
pass
|
|
157
|
+
|
|
158
|
+
@abc.abstractmethod
|
|
159
|
+
def CreateTemperatureSurface(self,
|
|
160
|
+
request: ansys.api.discovery.v0.conditionsthermal_pb2.TemperatureCreationRequest,
|
|
161
|
+
context: grpc.ServicerContext,
|
|
162
|
+
) -> ansys.api.discovery.v0.conditionsthermal_pb2.TemperatureCreationResponse: ...
|
|
163
|
+
|
|
164
|
+
@abc.abstractmethod
|
|
165
|
+
def ChangeTemperatureLocation(self,
|
|
166
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationExtendedRequest,
|
|
167
|
+
context: grpc.ServicerContext,
|
|
168
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse: ...
|
|
169
|
+
|
|
170
|
+
@abc.abstractmethod
|
|
171
|
+
def ChangeTemperatureMagnitude(self,
|
|
172
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
173
|
+
context: grpc.ServicerContext,
|
|
174
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse: ...
|
|
175
|
+
|
|
176
|
+
@abc.abstractmethod
|
|
177
|
+
def CreateInsulated(self,
|
|
178
|
+
request: ansys.api.discovery.v0.conditionsthermal_pb2.InsulatedCreationRequest,
|
|
179
|
+
context: grpc.ServicerContext,
|
|
180
|
+
) -> ansys.api.discovery.v0.conditionsthermal_pb2.InsulatedCreationResponse:
|
|
181
|
+
"""Insulated condition methods"""
|
|
182
|
+
pass
|
|
183
|
+
|
|
184
|
+
@abc.abstractmethod
|
|
185
|
+
def ChangeInsulatedLocation(self,
|
|
186
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
187
|
+
context: grpc.ServicerContext,
|
|
188
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse: ...
|
|
189
|
+
|
|
190
|
+
@abc.abstractmethod
|
|
191
|
+
def CreateConvection(self,
|
|
192
|
+
request: ansys.api.discovery.v0.conditionsthermal_pb2.ConvectionCreationRequest,
|
|
193
|
+
context: grpc.ServicerContext,
|
|
194
|
+
) -> ansys.api.discovery.v0.conditionsthermal_pb2.ConvectionCreationResponse:
|
|
195
|
+
"""Convection condition methods"""
|
|
196
|
+
pass
|
|
197
|
+
|
|
198
|
+
@abc.abstractmethod
|
|
199
|
+
def ChangeConvectionLocation(self,
|
|
200
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
201
|
+
context: grpc.ServicerContext,
|
|
202
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse: ...
|
|
203
|
+
|
|
204
|
+
@abc.abstractmethod
|
|
205
|
+
def ChangeConvectionCoefficientMagnitude(self,
|
|
206
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
207
|
+
context: grpc.ServicerContext,
|
|
208
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse: ...
|
|
209
|
+
|
|
210
|
+
@abc.abstractmethod
|
|
211
|
+
def ChangeConvectionTemperatureMagnitude(self,
|
|
212
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
213
|
+
context: grpc.ServicerContext,
|
|
214
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ConditionChangedResponse: ...
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
def add_ConditionsThermalServicer_to_server(servicer: ConditionsThermalServicer, server: grpc.Server) -> None: ...
|
|
@@ -42,6 +42,12 @@ service DefinedVariationsTable{
|
|
|
42
42
|
// Get a variation output table's column
|
|
43
43
|
rpc GetOutputColumn(GetOutputColumnRequest) returns(GetOutputColumnResponse);
|
|
44
44
|
|
|
45
|
+
// Get the current variation from the design table
|
|
46
|
+
rpc GetCurrentVariation(google.protobuf.Empty) returns(GetCurrentVariationResponse);
|
|
47
|
+
|
|
48
|
+
// Set the current variation from the design table
|
|
49
|
+
rpc SetCurrentVariation(ansys.api.dbu.v0.EntityIdentifier) returns(MessageResponse);
|
|
50
|
+
|
|
45
51
|
// Set a star status for a variations list.
|
|
46
52
|
rpc SetStarredStatus(SetStarredStatusRequest) returns(google.protobuf.Empty) ;
|
|
47
53
|
|
|
@@ -121,6 +127,12 @@ message SetStarredStatusRequest{
|
|
|
121
127
|
bool starred = 2;
|
|
122
128
|
}
|
|
123
129
|
|
|
130
|
+
message GetCurrentVariationResponse{
|
|
131
|
+
// The variation's moniker.
|
|
132
|
+
string variation_moniker = 1;
|
|
133
|
+
string message = 2;
|
|
134
|
+
}
|
|
135
|
+
|
|
124
136
|
///UPDATES
|
|
125
137
|
//
|
|
126
138
|
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# source: ansys/api/discovery/v0/definedvariationstable.proto
|
|
4
4
|
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
5
6
|
from google.protobuf import descriptor as _descriptor
|
|
6
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
-
from google.protobuf import message as _message
|
|
8
|
-
from google.protobuf import reflection as _reflection
|
|
9
8
|
from google.protobuf import symbol_database as _symbol_database
|
|
10
9
|
# @@protoc_insertion_point(imports)
|
|
11
10
|
|
|
@@ -17,115 +16,10 @@ from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_disc
|
|
|
17
16
|
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
18
17
|
|
|
19
18
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3ansys/api/discovery/v0/definedvariationstable.proto\x12-ansys.api.discovery.v0.definedvariationstable\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\x1a\x1bgoogle/protobuf/empty.proto\"Y\n\x18GetAllVariationsResponse\x12=\n\x12\x64\x65\x66ined_variations\x18\x01 \x03(\x0b\x32!.ansys.api.discovery.v0.Variation\"K\n\x14GetAllInputsResponse\x12\x33\n\x06inputs\x18\x01 \x03(\x0b\x32#.ansys.api.discovery.v0.InputColumn\"N\n\x15GetAllOutputsResponse\x12\x35\n\x07outputs\x18\x01 \x03(\x0b\x32$.ansys.api.discovery.v0.OutputColumn\"Y\n\x1bGetInputForVariationRequest\x12\x19\n\x11variation_moniker\x18\x01 \x01(\t\x12\x1f\n\x17input_parameter_moniker\x18\x02 \x01(\t\"\x80\x01\n\x14SetInputValueRequest\x12\x19\n\x11variation_moniker\x18\x01 \x01(\t\x12M\n\x1d\x64\x65\x66ined_variation_table_input\x18\x02 \x01(\x0b\x32&.ansys.api.discovery.v0.InputParameter\"[\n\x1cGetOutputForVariationRequest\x12\x19\n\x11variation_moniker\x18\x01 \x01(\t\x12 \n\x18output_parameter_moniker\x18\x02 \x01(\t\"8\n\x15GetInputColumnRequest\x12\x1f\n\x17input_parameter_moniker\x18\x01 \x01(\t\"M\n\x16GetInputColumnResponse\x12\x33\n\x06\x63olumn\x18\x01 \x01(\x0b\x32#.ansys.api.discovery.v0.InputColumn\":\n\x16GetOutputColumnRequest\x12 \n\x18output_parameter_moniker\x18\x01 \x01(\t\"O\n\x17GetOutputColumnResponse\x12\x34\n\x06\x63olumn\x18\x01 \x01(\x0b\x32$.ansys.api.discovery.v0.OutputColumn\"G\n\x17SetStarredStatusRequest\x12\x1b\n\x13variations_monikers\x18\x01 \x03(\t\x12\x0f\n\x07starred\x18\x02 \x01(\x08\"1\n\x0eUpdateResponse\x12\x0e\n\x06result\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\t\"\'\n\x11IsSolvingResponse\x12\x12\n\nis_solving\x18\x01 \x01(\x08\x32\
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3ansys/api/discovery/v0/definedvariationstable.proto\x12-ansys.api.discovery.v0.definedvariationstable\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\x1a\x1bgoogle/protobuf/empty.proto\"Y\n\x18GetAllVariationsResponse\x12=\n\x12\x64\x65\x66ined_variations\x18\x01 \x03(\x0b\x32!.ansys.api.discovery.v0.Variation\"K\n\x14GetAllInputsResponse\x12\x33\n\x06inputs\x18\x01 \x03(\x0b\x32#.ansys.api.discovery.v0.InputColumn\"N\n\x15GetAllOutputsResponse\x12\x35\n\x07outputs\x18\x01 \x03(\x0b\x32$.ansys.api.discovery.v0.OutputColumn\"Y\n\x1bGetInputForVariationRequest\x12\x19\n\x11variation_moniker\x18\x01 \x01(\t\x12\x1f\n\x17input_parameter_moniker\x18\x02 \x01(\t\"\x80\x01\n\x14SetInputValueRequest\x12\x19\n\x11variation_moniker\x18\x01 \x01(\t\x12M\n\x1d\x64\x65\x66ined_variation_table_input\x18\x02 \x01(\x0b\x32&.ansys.api.discovery.v0.InputParameter\"[\n\x1cGetOutputForVariationRequest\x12\x19\n\x11variation_moniker\x18\x01 \x01(\t\x12 \n\x18output_parameter_moniker\x18\x02 \x01(\t\"8\n\x15GetInputColumnRequest\x12\x1f\n\x17input_parameter_moniker\x18\x01 \x01(\t\"M\n\x16GetInputColumnResponse\x12\x33\n\x06\x63olumn\x18\x01 \x01(\x0b\x32#.ansys.api.discovery.v0.InputColumn\":\n\x16GetOutputColumnRequest\x12 \n\x18output_parameter_moniker\x18\x01 \x01(\t\"O\n\x17GetOutputColumnResponse\x12\x34\n\x06\x63olumn\x18\x01 \x01(\x0b\x32$.ansys.api.discovery.v0.OutputColumn\"G\n\x17SetStarredStatusRequest\x12\x1b\n\x13variations_monikers\x18\x01 \x03(\t\x12\x0f\n\x07starred\x18\x02 \x01(\x08\"I\n\x1bGetCurrentVariationResponse\x12\x19\n\x11variation_moniker\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\t\"1\n\x0eUpdateResponse\x12\x0e\n\x06result\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\t\"\'\n\x11IsSolvingResponse\x12\x12\n\nis_solving\x18\x01 \x01(\x08\x32\xda\x0f\n\x16\x44\x65\x66inedVariationsTable\x12U\n\x0cGetVariation\x12\".ansys.api.dbu.v0.EntityIdentifier\x1a!.ansys.api.discovery.v0.Variation\x12s\n\x10GetAllVariations\x12\x16.google.protobuf.Empty\x1aG.ansys.api.discovery.v0.definedvariationstable.GetAllVariationsResponse\x12k\n\x0cGetAllInputs\x12\x16.google.protobuf.Empty\x1a\x43.ansys.api.discovery.v0.definedvariationstable.GetAllInputsResponse\x12m\n\rGetAllOutputs\x12\x16.google.protobuf.Empty\x1a\x44.ansys.api.discovery.v0.definedvariationstable.GetAllOutputsResponse\x12\x8a\x01\n\x14GetInputForVariation\x12J.ansys.api.discovery.v0.definedvariationstable.GetInputForVariationRequest\x1a&.ansys.api.discovery.v0.InputParameter\x12|\n\rSetInputValue\x12\x43.ansys.api.discovery.v0.definedvariationstable.SetInputValueRequest\x1a&.ansys.api.discovery.v0.InputParameter\x12L\n\x0f\x43reateVariation\x12\x16.google.protobuf.Empty\x1a!.ansys.api.discovery.v0.Variation\x12\x8d\x01\n\x15GetOutputForVariation\x12K.ansys.api.discovery.v0.definedvariationstable.GetOutputForVariationRequest\x1a\'.ansys.api.discovery.v0.OutputParameter\x12\x9d\x01\n\x0eGetInputColumn\x12\x44.ansys.api.discovery.v0.definedvariationstable.GetInputColumnRequest\x1a\x45.ansys.api.discovery.v0.definedvariationstable.GetInputColumnResponse\x12\xa0\x01\n\x0fGetOutputColumn\x12\x45.ansys.api.discovery.v0.definedvariationstable.GetOutputColumnRequest\x1a\x46.ansys.api.discovery.v0.definedvariationstable.GetOutputColumnResponse\x12y\n\x13GetCurrentVariation\x12\x16.google.protobuf.Empty\x1aJ.ansys.api.discovery.v0.definedvariationstable.GetCurrentVariationResponse\x12\x62\n\x13SetCurrentVariation\x12\".ansys.api.dbu.v0.EntityIdentifier\x1a\'.ansys.api.discovery.v0.MessageResponse\x12r\n\x10SetStarredStatus\x12\x46.ansys.api.discovery.v0.definedvariationstable.SetStarredStatusRequest\x1a\x16.google.protobuf.Empty\x12\x66\n\rUpdateCurrent\x12\x16.google.protobuf.Empty\x1a=.ansys.api.discovery.v0.definedvariationstable.UpdateResponse\x12\x66\n\rUpdateStarred\x12\x16.google.protobuf.Empty\x1a=.ansys.api.discovery.v0.definedvariationstable.UpdateResponse\x12\x62\n\tUpdateAll\x12\x16.google.protobuf.Empty\x1a=.ansys.api.discovery.v0.definedvariationstable.UpdateResponse\x12\x65\n\tIsSolving\x12\x16.google.protobuf.Empty\x1a@.ansys.api.discovery.v0.definedvariationstable.IsSolvingResponseB0\xaa\x02-Ansys.Api.Discovery.V0.DefinedVariationsTableb\x06proto3')
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
_GETALLVARIATIONSRESPONSE = DESCRIPTOR.message_types_by_name['GetAllVariationsResponse']
|
|
25
|
-
_GETALLINPUTSRESPONSE = DESCRIPTOR.message_types_by_name['GetAllInputsResponse']
|
|
26
|
-
_GETALLOUTPUTSRESPONSE = DESCRIPTOR.message_types_by_name['GetAllOutputsResponse']
|
|
27
|
-
_GETINPUTFORVARIATIONREQUEST = DESCRIPTOR.message_types_by_name['GetInputForVariationRequest']
|
|
28
|
-
_SETINPUTVALUEREQUEST = DESCRIPTOR.message_types_by_name['SetInputValueRequest']
|
|
29
|
-
_GETOUTPUTFORVARIATIONREQUEST = DESCRIPTOR.message_types_by_name['GetOutputForVariationRequest']
|
|
30
|
-
_GETINPUTCOLUMNREQUEST = DESCRIPTOR.message_types_by_name['GetInputColumnRequest']
|
|
31
|
-
_GETINPUTCOLUMNRESPONSE = DESCRIPTOR.message_types_by_name['GetInputColumnResponse']
|
|
32
|
-
_GETOUTPUTCOLUMNREQUEST = DESCRIPTOR.message_types_by_name['GetOutputColumnRequest']
|
|
33
|
-
_GETOUTPUTCOLUMNRESPONSE = DESCRIPTOR.message_types_by_name['GetOutputColumnResponse']
|
|
34
|
-
_SETSTARREDSTATUSREQUEST = DESCRIPTOR.message_types_by_name['SetStarredStatusRequest']
|
|
35
|
-
_UPDATERESPONSE = DESCRIPTOR.message_types_by_name['UpdateResponse']
|
|
36
|
-
_ISSOLVINGRESPONSE = DESCRIPTOR.message_types_by_name['IsSolvingResponse']
|
|
37
|
-
GetAllVariationsResponse = _reflection.GeneratedProtocolMessageType('GetAllVariationsResponse', (_message.Message,), {
|
|
38
|
-
'DESCRIPTOR' : _GETALLVARIATIONSRESPONSE,
|
|
39
|
-
'__module__' : 'ansys.api.discovery.v0.definedvariationstable_pb2'
|
|
40
|
-
# @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.definedvariationstable.GetAllVariationsResponse)
|
|
41
|
-
})
|
|
42
|
-
_sym_db.RegisterMessage(GetAllVariationsResponse)
|
|
43
|
-
|
|
44
|
-
GetAllInputsResponse = _reflection.GeneratedProtocolMessageType('GetAllInputsResponse', (_message.Message,), {
|
|
45
|
-
'DESCRIPTOR' : _GETALLINPUTSRESPONSE,
|
|
46
|
-
'__module__' : 'ansys.api.discovery.v0.definedvariationstable_pb2'
|
|
47
|
-
# @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.definedvariationstable.GetAllInputsResponse)
|
|
48
|
-
})
|
|
49
|
-
_sym_db.RegisterMessage(GetAllInputsResponse)
|
|
50
|
-
|
|
51
|
-
GetAllOutputsResponse = _reflection.GeneratedProtocolMessageType('GetAllOutputsResponse', (_message.Message,), {
|
|
52
|
-
'DESCRIPTOR' : _GETALLOUTPUTSRESPONSE,
|
|
53
|
-
'__module__' : 'ansys.api.discovery.v0.definedvariationstable_pb2'
|
|
54
|
-
# @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.definedvariationstable.GetAllOutputsResponse)
|
|
55
|
-
})
|
|
56
|
-
_sym_db.RegisterMessage(GetAllOutputsResponse)
|
|
57
|
-
|
|
58
|
-
GetInputForVariationRequest = _reflection.GeneratedProtocolMessageType('GetInputForVariationRequest', (_message.Message,), {
|
|
59
|
-
'DESCRIPTOR' : _GETINPUTFORVARIATIONREQUEST,
|
|
60
|
-
'__module__' : 'ansys.api.discovery.v0.definedvariationstable_pb2'
|
|
61
|
-
# @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.definedvariationstable.GetInputForVariationRequest)
|
|
62
|
-
})
|
|
63
|
-
_sym_db.RegisterMessage(GetInputForVariationRequest)
|
|
64
|
-
|
|
65
|
-
SetInputValueRequest = _reflection.GeneratedProtocolMessageType('SetInputValueRequest', (_message.Message,), {
|
|
66
|
-
'DESCRIPTOR' : _SETINPUTVALUEREQUEST,
|
|
67
|
-
'__module__' : 'ansys.api.discovery.v0.definedvariationstable_pb2'
|
|
68
|
-
# @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.definedvariationstable.SetInputValueRequest)
|
|
69
|
-
})
|
|
70
|
-
_sym_db.RegisterMessage(SetInputValueRequest)
|
|
71
|
-
|
|
72
|
-
GetOutputForVariationRequest = _reflection.GeneratedProtocolMessageType('GetOutputForVariationRequest', (_message.Message,), {
|
|
73
|
-
'DESCRIPTOR' : _GETOUTPUTFORVARIATIONREQUEST,
|
|
74
|
-
'__module__' : 'ansys.api.discovery.v0.definedvariationstable_pb2'
|
|
75
|
-
# @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.definedvariationstable.GetOutputForVariationRequest)
|
|
76
|
-
})
|
|
77
|
-
_sym_db.RegisterMessage(GetOutputForVariationRequest)
|
|
78
|
-
|
|
79
|
-
GetInputColumnRequest = _reflection.GeneratedProtocolMessageType('GetInputColumnRequest', (_message.Message,), {
|
|
80
|
-
'DESCRIPTOR' : _GETINPUTCOLUMNREQUEST,
|
|
81
|
-
'__module__' : 'ansys.api.discovery.v0.definedvariationstable_pb2'
|
|
82
|
-
# @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.definedvariationstable.GetInputColumnRequest)
|
|
83
|
-
})
|
|
84
|
-
_sym_db.RegisterMessage(GetInputColumnRequest)
|
|
85
|
-
|
|
86
|
-
GetInputColumnResponse = _reflection.GeneratedProtocolMessageType('GetInputColumnResponse', (_message.Message,), {
|
|
87
|
-
'DESCRIPTOR' : _GETINPUTCOLUMNRESPONSE,
|
|
88
|
-
'__module__' : 'ansys.api.discovery.v0.definedvariationstable_pb2'
|
|
89
|
-
# @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.definedvariationstable.GetInputColumnResponse)
|
|
90
|
-
})
|
|
91
|
-
_sym_db.RegisterMessage(GetInputColumnResponse)
|
|
92
|
-
|
|
93
|
-
GetOutputColumnRequest = _reflection.GeneratedProtocolMessageType('GetOutputColumnRequest', (_message.Message,), {
|
|
94
|
-
'DESCRIPTOR' : _GETOUTPUTCOLUMNREQUEST,
|
|
95
|
-
'__module__' : 'ansys.api.discovery.v0.definedvariationstable_pb2'
|
|
96
|
-
# @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.definedvariationstable.GetOutputColumnRequest)
|
|
97
|
-
})
|
|
98
|
-
_sym_db.RegisterMessage(GetOutputColumnRequest)
|
|
99
|
-
|
|
100
|
-
GetOutputColumnResponse = _reflection.GeneratedProtocolMessageType('GetOutputColumnResponse', (_message.Message,), {
|
|
101
|
-
'DESCRIPTOR' : _GETOUTPUTCOLUMNRESPONSE,
|
|
102
|
-
'__module__' : 'ansys.api.discovery.v0.definedvariationstable_pb2'
|
|
103
|
-
# @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.definedvariationstable.GetOutputColumnResponse)
|
|
104
|
-
})
|
|
105
|
-
_sym_db.RegisterMessage(GetOutputColumnResponse)
|
|
106
|
-
|
|
107
|
-
SetStarredStatusRequest = _reflection.GeneratedProtocolMessageType('SetStarredStatusRequest', (_message.Message,), {
|
|
108
|
-
'DESCRIPTOR' : _SETSTARREDSTATUSREQUEST,
|
|
109
|
-
'__module__' : 'ansys.api.discovery.v0.definedvariationstable_pb2'
|
|
110
|
-
# @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.definedvariationstable.SetStarredStatusRequest)
|
|
111
|
-
})
|
|
112
|
-
_sym_db.RegisterMessage(SetStarredStatusRequest)
|
|
113
|
-
|
|
114
|
-
UpdateResponse = _reflection.GeneratedProtocolMessageType('UpdateResponse', (_message.Message,), {
|
|
115
|
-
'DESCRIPTOR' : _UPDATERESPONSE,
|
|
116
|
-
'__module__' : 'ansys.api.discovery.v0.definedvariationstable_pb2'
|
|
117
|
-
# @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.definedvariationstable.UpdateResponse)
|
|
118
|
-
})
|
|
119
|
-
_sym_db.RegisterMessage(UpdateResponse)
|
|
120
|
-
|
|
121
|
-
IsSolvingResponse = _reflection.GeneratedProtocolMessageType('IsSolvingResponse', (_message.Message,), {
|
|
122
|
-
'DESCRIPTOR' : _ISSOLVINGRESPONSE,
|
|
123
|
-
'__module__' : 'ansys.api.discovery.v0.definedvariationstable_pb2'
|
|
124
|
-
# @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.definedvariationstable.IsSolvingResponse)
|
|
125
|
-
})
|
|
126
|
-
_sym_db.RegisterMessage(IsSolvingResponse)
|
|
127
|
-
|
|
128
|
-
_DEFINEDVARIATIONSTABLE = DESCRIPTOR.services_by_name['DefinedVariationsTable']
|
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.definedvariationstable_pb2', globals())
|
|
129
23
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
130
24
|
|
|
131
25
|
DESCRIPTOR._options = None
|
|
@@ -152,10 +46,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
152
46
|
_GETOUTPUTCOLUMNRESPONSE._serialized_end=1050
|
|
153
47
|
_SETSTARREDSTATUSREQUEST._serialized_start=1052
|
|
154
48
|
_SETSTARREDSTATUSREQUEST._serialized_end=1123
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
49
|
+
_GETCURRENTVARIATIONRESPONSE._serialized_start=1125
|
|
50
|
+
_GETCURRENTVARIATIONRESPONSE._serialized_end=1198
|
|
51
|
+
_UPDATERESPONSE._serialized_start=1200
|
|
52
|
+
_UPDATERESPONSE._serialized_end=1249
|
|
53
|
+
_ISSOLVINGRESPONSE._serialized_start=1251
|
|
54
|
+
_ISSOLVINGRESPONSE._serialized_end=1290
|
|
55
|
+
_DEFINEDVARIATIONSTABLE._serialized_start=1293
|
|
56
|
+
_DEFINEDVARIATIONSTABLE._serialized_end=3303
|
|
161
57
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -185,6 +185,22 @@ class SetStarredStatusRequest(google.protobuf.message.Message):
|
|
|
185
185
|
def ClearField(self, field_name: typing_extensions.Literal["starred",b"starred","variations_monikers",b"variations_monikers"]) -> None: ...
|
|
186
186
|
global___SetStarredStatusRequest = SetStarredStatusRequest
|
|
187
187
|
|
|
188
|
+
class GetCurrentVariationResponse(google.protobuf.message.Message):
|
|
189
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
190
|
+
VARIATION_MONIKER_FIELD_NUMBER: builtins.int
|
|
191
|
+
MESSAGE_FIELD_NUMBER: builtins.int
|
|
192
|
+
variation_moniker: typing.Text = ...
|
|
193
|
+
"""The variation's moniker."""
|
|
194
|
+
|
|
195
|
+
message: typing.Text = ...
|
|
196
|
+
def __init__(self,
|
|
197
|
+
*,
|
|
198
|
+
variation_moniker : typing.Text = ...,
|
|
199
|
+
message : typing.Text = ...,
|
|
200
|
+
) -> None: ...
|
|
201
|
+
def ClearField(self, field_name: typing_extensions.Literal["message",b"message","variation_moniker",b"variation_moniker"]) -> None: ...
|
|
202
|
+
global___GetCurrentVariationResponse = GetCurrentVariationResponse
|
|
203
|
+
|
|
188
204
|
class UpdateResponse(google.protobuf.message.Message):
|
|
189
205
|
"""/UPDATES
|
|
190
206
|
|
|
@@ -69,6 +69,16 @@ class DefinedVariationsTableStub(object):
|
|
|
69
69
|
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_definedvariationstable__pb2.GetOutputColumnRequest.SerializeToString,
|
|
70
70
|
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_definedvariationstable__pb2.GetOutputColumnResponse.FromString,
|
|
71
71
|
)
|
|
72
|
+
self.GetCurrentVariation = channel.unary_unary(
|
|
73
|
+
'/ansys.api.discovery.v0.definedvariationstable.DefinedVariationsTable/GetCurrentVariation',
|
|
74
|
+
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
75
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_definedvariationstable__pb2.GetCurrentVariationResponse.FromString,
|
|
76
|
+
)
|
|
77
|
+
self.SetCurrentVariation = channel.unary_unary(
|
|
78
|
+
'/ansys.api.discovery.v0.definedvariationstable.DefinedVariationsTable/SetCurrentVariation',
|
|
79
|
+
request_serializer=ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2.EntityIdentifier.SerializeToString,
|
|
80
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.MessageResponse.FromString,
|
|
81
|
+
)
|
|
72
82
|
self.SetStarredStatus = channel.unary_unary(
|
|
73
83
|
'/ansys.api.discovery.v0.definedvariationstable.DefinedVariationsTable/SetStarredStatus',
|
|
74
84
|
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_definedvariationstable__pb2.SetStarredStatusRequest.SerializeToString,
|
|
@@ -171,6 +181,20 @@ class DefinedVariationsTableServicer(object):
|
|
|
171
181
|
context.set_details('Method not implemented!')
|
|
172
182
|
raise NotImplementedError('Method not implemented!')
|
|
173
183
|
|
|
184
|
+
def GetCurrentVariation(self, request, context):
|
|
185
|
+
"""Get the current variation from the design table
|
|
186
|
+
"""
|
|
187
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
188
|
+
context.set_details('Method not implemented!')
|
|
189
|
+
raise NotImplementedError('Method not implemented!')
|
|
190
|
+
|
|
191
|
+
def SetCurrentVariation(self, request, context):
|
|
192
|
+
"""Set the current variation from the design table
|
|
193
|
+
"""
|
|
194
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
195
|
+
context.set_details('Method not implemented!')
|
|
196
|
+
raise NotImplementedError('Method not implemented!')
|
|
197
|
+
|
|
174
198
|
def SetStarredStatus(self, request, context):
|
|
175
199
|
"""Set a star status for a variations list.
|
|
176
200
|
"""
|
|
@@ -259,6 +283,16 @@ def add_DefinedVariationsTableServicer_to_server(servicer, server):
|
|
|
259
283
|
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_definedvariationstable__pb2.GetOutputColumnRequest.FromString,
|
|
260
284
|
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_definedvariationstable__pb2.GetOutputColumnResponse.SerializeToString,
|
|
261
285
|
),
|
|
286
|
+
'GetCurrentVariation': grpc.unary_unary_rpc_method_handler(
|
|
287
|
+
servicer.GetCurrentVariation,
|
|
288
|
+
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
289
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_definedvariationstable__pb2.GetCurrentVariationResponse.SerializeToString,
|
|
290
|
+
),
|
|
291
|
+
'SetCurrentVariation': grpc.unary_unary_rpc_method_handler(
|
|
292
|
+
servicer.SetCurrentVariation,
|
|
293
|
+
request_deserializer=ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2.EntityIdentifier.FromString,
|
|
294
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.MessageResponse.SerializeToString,
|
|
295
|
+
),
|
|
262
296
|
'SetStarredStatus': grpc.unary_unary_rpc_method_handler(
|
|
263
297
|
servicer.SetStarredStatus,
|
|
264
298
|
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_definedvariationstable__pb2.SetStarredStatusRequest.FromString,
|
|
@@ -466,6 +500,40 @@ class DefinedVariationsTable(object):
|
|
|
466
500
|
options, channel_credentials,
|
|
467
501
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
468
502
|
|
|
503
|
+
@staticmethod
|
|
504
|
+
def GetCurrentVariation(request,
|
|
505
|
+
target,
|
|
506
|
+
options=(),
|
|
507
|
+
channel_credentials=None,
|
|
508
|
+
call_credentials=None,
|
|
509
|
+
insecure=False,
|
|
510
|
+
compression=None,
|
|
511
|
+
wait_for_ready=None,
|
|
512
|
+
timeout=None,
|
|
513
|
+
metadata=None):
|
|
514
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.definedvariationstable.DefinedVariationsTable/GetCurrentVariation',
|
|
515
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
516
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_definedvariationstable__pb2.GetCurrentVariationResponse.FromString,
|
|
517
|
+
options, channel_credentials,
|
|
518
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
519
|
+
|
|
520
|
+
@staticmethod
|
|
521
|
+
def SetCurrentVariation(request,
|
|
522
|
+
target,
|
|
523
|
+
options=(),
|
|
524
|
+
channel_credentials=None,
|
|
525
|
+
call_credentials=None,
|
|
526
|
+
insecure=False,
|
|
527
|
+
compression=None,
|
|
528
|
+
wait_for_ready=None,
|
|
529
|
+
timeout=None,
|
|
530
|
+
metadata=None):
|
|
531
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.definedvariationstable.DefinedVariationsTable/SetCurrentVariation',
|
|
532
|
+
ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2.EntityIdentifier.SerializeToString,
|
|
533
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.MessageResponse.FromString,
|
|
534
|
+
options, channel_credentials,
|
|
535
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
536
|
+
|
|
469
537
|
@staticmethod
|
|
470
538
|
def SetStarredStatus(request,
|
|
471
539
|
target,
|
|
@@ -62,6 +62,16 @@ class DefinedVariationsTableStub:
|
|
|
62
62
|
ansys.api.discovery.v0.definedvariationstable_pb2.GetOutputColumnResponse] = ...
|
|
63
63
|
"""Get a variation output table's column"""
|
|
64
64
|
|
|
65
|
+
GetCurrentVariation: grpc.UnaryUnaryMultiCallable[
|
|
66
|
+
google.protobuf.empty_pb2.Empty,
|
|
67
|
+
ansys.api.discovery.v0.definedvariationstable_pb2.GetCurrentVariationResponse] = ...
|
|
68
|
+
"""Get the current variation from the design table"""
|
|
69
|
+
|
|
70
|
+
SetCurrentVariation: grpc.UnaryUnaryMultiCallable[
|
|
71
|
+
ansys.api.dbu.v0.dbumodels_pb2.EntityIdentifier,
|
|
72
|
+
ansys.api.discovery.v0.discoverymodels_pb2.MessageResponse] = ...
|
|
73
|
+
"""Set the current variation from the design table"""
|
|
74
|
+
|
|
65
75
|
SetStarredStatus: grpc.UnaryUnaryMultiCallable[
|
|
66
76
|
ansys.api.discovery.v0.definedvariationstable_pb2.SetStarredStatusRequest,
|
|
67
77
|
google.protobuf.empty_pb2.Empty] = ...
|
|
@@ -170,6 +180,22 @@ class DefinedVariationsTableServicer(metaclass=abc.ABCMeta):
|
|
|
170
180
|
"""Get a variation output table's column"""
|
|
171
181
|
pass
|
|
172
182
|
|
|
183
|
+
@abc.abstractmethod
|
|
184
|
+
def GetCurrentVariation(self,
|
|
185
|
+
request: google.protobuf.empty_pb2.Empty,
|
|
186
|
+
context: grpc.ServicerContext,
|
|
187
|
+
) -> ansys.api.discovery.v0.definedvariationstable_pb2.GetCurrentVariationResponse:
|
|
188
|
+
"""Get the current variation from the design table"""
|
|
189
|
+
pass
|
|
190
|
+
|
|
191
|
+
@abc.abstractmethod
|
|
192
|
+
def SetCurrentVariation(self,
|
|
193
|
+
request: ansys.api.dbu.v0.dbumodels_pb2.EntityIdentifier,
|
|
194
|
+
context: grpc.ServicerContext,
|
|
195
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.MessageResponse:
|
|
196
|
+
"""Set the current variation from the design table"""
|
|
197
|
+
pass
|
|
198
|
+
|
|
173
199
|
@abc.abstractmethod
|
|
174
200
|
def SetStarredStatus(self,
|
|
175
201
|
request: ansys.api.discovery.v0.definedvariationstable_pb2.SetStarredStatusRequest,
|