ansys-api-discovery 0.6.2__py3-none-any.whl → 0.6.4__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/assignments/boltassignment.proto +40 -0
- ansys/api/discovery/v0/assignments/boltassignment_pb2.py +37 -0
- ansys/api/discovery/v0/assignments/boltassignment_pb2.pyi +95 -0
- ansys/api/discovery/v0/assignments/boltassignment_pb2_grpc.py +67 -0
- ansys/api/discovery/v0/assignments/boltassignment_pb2_grpc.pyi +27 -0
- ansys/api/discovery/v0/conditions/acceleration.proto +52 -0
- ansys/api/discovery/v0/conditions/acceleration_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/acceleration_pb2.pyi +94 -0
- ansys/api/discovery/v0/conditions/acceleration_pb2_grpc.py +365 -0
- ansys/api/discovery/v0/conditions/acceleration_pb2_grpc.pyi +118 -0
- ansys/api/discovery/v0/conditions/bearing.proto +47 -0
- ansys/api/discovery/v0/conditions/bearing_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/bearing_pb2.pyi +102 -0
- ansys/api/discovery/v0/conditions/bearing_pb2_grpc.py +200 -0
- ansys/api/discovery/v0/conditions/bearing_pb2_grpc.pyi +68 -0
- ansys/api/discovery/v0/conditions/boltpreload.proto +94 -0
- ansys/api/discovery/v0/conditions/boltpreload_pb2.py +48 -0
- ansys/api/discovery/v0/conditions/boltpreload_pb2.pyi +218 -0
- ansys/api/discovery/v0/conditions/boltpreload_pb2_grpc.py +431 -0
- ansys/api/discovery/v0/conditions/boltpreload_pb2_grpc.pyi +138 -0
- ansys/api/discovery/v0/{conditions.proto → conditions/condition.proto} +5 -4
- ansys/api/discovery/v0/conditions/condition_pb2.py +34 -0
- ansys/api/discovery/v0/{conditions_pb2.pyi → conditions/condition_pb2.pyi} +13 -6
- ansys/api/discovery/v0/{conditions_pb2_grpc.py → conditions/condition_pb2_grpc.py} +21 -21
- ansys/api/discovery/v0/{conditions_pb2_grpc.pyi → conditions/condition_pb2_grpc.pyi} +10 -10
- ansys/api/discovery/v0/conditions/convection.proto +43 -0
- ansys/api/discovery/v0/conditions/convection_pb2.py +34 -0
- ansys/api/discovery/v0/conditions/convection_pb2.pyi +89 -0
- ansys/api/discovery/v0/conditions/convection_pb2_grpc.py +166 -0
- ansys/api/discovery/v0/conditions/convection_pb2_grpc.pyi +55 -0
- ansys/api/discovery/v0/conditions/displacement.proto +105 -0
- ansys/api/discovery/v0/conditions/displacement_pb2.py +48 -0
- ansys/api/discovery/v0/conditions/displacement_pb2.pyi +209 -0
- ansys/api/discovery/v0/conditions/displacement_pb2_grpc.py +827 -0
- ansys/api/discovery/v0/conditions/displacement_pb2_grpc.pyi +258 -0
- ansys/api/discovery/v0/{conditionsfluid.proto → conditions/flow.proto} +19 -24
- ansys/api/discovery/v0/conditions/flow_pb2.py +86 -0
- ansys/api/discovery/v0/{conditionsfluid_pb2.pyi → conditions/flow_pb2.pyi} +51 -34
- ansys/api/discovery/v0/{conditionsfluid_pb2_grpc.py → conditions/flow_pb2_grpc.py} +86 -86
- ansys/api/discovery/v0/{conditionsfluid_pb2_grpc.pyi → conditions/flow_pb2_grpc.pyi} +32 -32
- ansys/api/discovery/v0/conditions/fluidinitialtemperature.proto +13 -0
- ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2.py +28 -0
- ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2.pyi +7 -0
- ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2_grpc.py +66 -0
- ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2_grpc.pyi +24 -0
- ansys/api/discovery/v0/conditions/force.proto +131 -0
- ansys/api/discovery/v0/conditions/force_pb2.py +56 -0
- ansys/api/discovery/v0/conditions/force_pb2.pyi +286 -0
- ansys/api/discovery/v0/conditions/force_pb2_grpc.py +829 -0
- ansys/api/discovery/v0/conditions/force_pb2_grpc.pyi +257 -0
- ansys/api/discovery/v0/conditions/gravity.proto +39 -0
- ansys/api/discovery/v0/conditions/gravity_pb2.py +32 -0
- ansys/api/discovery/v0/conditions/gravity_pb2.pyi +65 -0
- ansys/api/discovery/v0/conditions/gravity_pb2_grpc.py +266 -0
- ansys/api/discovery/v0/conditions/gravity_pb2_grpc.pyi +91 -0
- ansys/api/discovery/v0/conditions/heat.proto +90 -0
- ansys/api/discovery/v0/conditions/heat_pb2.py +46 -0
- ansys/api/discovery/v0/conditions/heat_pb2.pyi +210 -0
- ansys/api/discovery/v0/conditions/heat_pb2_grpc.py +332 -0
- ansys/api/discovery/v0/conditions/heat_pb2_grpc.pyi +108 -0
- ansys/api/discovery/v0/conditions/insulated.proto +34 -0
- ansys/api/discovery/v0/conditions/insulated_pb2.py +34 -0
- ansys/api/discovery/v0/conditions/insulated_pb2.pyi +73 -0
- ansys/api/discovery/v0/conditions/insulated_pb2_grpc.py +100 -0
- ansys/api/discovery/v0/conditions/insulated_pb2_grpc.pyi +35 -0
- ansys/api/discovery/v0/conditions/mass.proto +49 -0
- ansys/api/discovery/v0/conditions/mass_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/mass_pb2.pyi +98 -0
- ansys/api/discovery/v0/conditions/mass_pb2_grpc.py +266 -0
- ansys/api/discovery/v0/conditions/mass_pb2_grpc.pyi +88 -0
- ansys/api/discovery/v0/conditions/moment.proto +67 -0
- ansys/api/discovery/v0/conditions/moment_pb2.py +40 -0
- ansys/api/discovery/v0/conditions/moment_pb2.pyi +132 -0
- ansys/api/discovery/v0/conditions/moment_pb2_grpc.py +398 -0
- ansys/api/discovery/v0/conditions/moment_pb2_grpc.pyi +128 -0
- ansys/api/discovery/v0/conditions/porous.proto +116 -0
- ansys/api/discovery/v0/conditions/porous_pb2.py +44 -0
- ansys/api/discovery/v0/conditions/porous_pb2.pyi +217 -0
- ansys/api/discovery/v0/conditions/porous_pb2_grpc.py +534 -0
- ansys/api/discovery/v0/conditions/porous_pb2_grpc.pyi +181 -0
- ansys/api/discovery/v0/conditions/pressure.proto +43 -0
- ansys/api/discovery/v0/conditions/pressure_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/pressure_pb2.pyi +94 -0
- ansys/api/discovery/v0/conditions/pressure_pb2_grpc.py +134 -0
- ansys/api/discovery/v0/conditions/pressure_pb2_grpc.pyi +48 -0
- ansys/api/discovery/v0/conditions/rotatingfluidzone.proto +57 -0
- ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2.pyi +102 -0
- ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2_grpc.py +136 -0
- ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2_grpc.pyi +54 -0
- ansys/api/discovery/v0/conditions/solidtemperature.proto +40 -0
- ansys/api/discovery/v0/conditions/solidtemperature_pb2.py +34 -0
- ansys/api/discovery/v0/conditions/solidtemperature_pb2.pyi +81 -0
- ansys/api/discovery/v0/conditions/solidtemperature_pb2_grpc.py +166 -0
- ansys/api/discovery/v0/conditions/solidtemperature_pb2_grpc.pyi +55 -0
- ansys/api/discovery/v0/conditions/springpreload.proto +105 -0
- ansys/api/discovery/v0/conditions/springpreload_pb2.py +50 -0
- ansys/api/discovery/v0/conditions/springpreload_pb2.pyi +250 -0
- ansys/api/discovery/v0/conditions/springpreload_pb2_grpc.py +431 -0
- ansys/api/discovery/v0/conditions/springpreload_pb2_grpc.pyi +138 -0
- ansys/api/discovery/v0/conditions/support.proto +98 -0
- ansys/api/discovery/v0/conditions/support_pb2.py +46 -0
- ansys/api/discovery/v0/conditions/support_pb2.pyi +200 -0
- ansys/api/discovery/v0/{conditionsthermal_pb2_grpc.py → conditions/support_pb2_grpc.py} +251 -221
- ansys/api/discovery/v0/conditions/support_pb2_grpc.pyi +218 -0
- ansys/api/discovery/v0/conditions/velocity.proto +58 -0
- ansys/api/discovery/v0/conditions/velocity_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/velocity_pb2.pyi +98 -0
- ansys/api/discovery/v0/conditions/velocity_pb2_grpc.py +497 -0
- ansys/api/discovery/v0/conditions/velocity_pb2_grpc.pyi +158 -0
- ansys/api/discovery/v0/conditions/wall.proto +209 -0
- ansys/api/discovery/v0/conditions/wall_pb2.py +70 -0
- ansys/api/discovery/v0/conditions/wall_pb2.pyi +494 -0
- ansys/api/discovery/v0/conditions/wall_pb2_grpc.py +633 -0
- ansys/api/discovery/v0/conditions/wall_pb2_grpc.pyi +211 -0
- ansys/api/discovery/v0/connections/contact.proto +110 -0
- ansys/api/discovery/v0/connections/contact_pb2.py +46 -0
- ansys/api/discovery/v0/connections/contact_pb2.pyi +242 -0
- ansys/api/discovery/v0/connections/contact_pb2_grpc.py +827 -0
- ansys/api/discovery/v0/connections/contact_pb2_grpc.pyi +258 -0
- ansys/api/discovery/v0/connections/contactgroup.proto +89 -0
- ansys/api/discovery/v0/connections/contactgroup_pb2.py +37 -0
- ansys/api/discovery/v0/connections/contactgroup_pb2.pyi +178 -0
- ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.py +860 -0
- ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.pyi +266 -0
- ansys/api/discovery/v0/connections/joint.proto +56 -0
- ansys/api/discovery/v0/connections/joint_pb2.py +40 -0
- ansys/api/discovery/v0/connections/joint_pb2.pyi +129 -0
- ansys/api/discovery/v0/connections/joint_pb2_grpc.py +167 -0
- ansys/api/discovery/v0/connections/joint_pb2_grpc.pyi +58 -0
- ansys/api/discovery/v0/discoverymodels.proto +34 -17
- ansys/api/discovery/v0/discoverymodels_pb2.py +46 -40
- ansys/api/discovery/v0/discoverymodels_pb2.pyi +118 -47
- ansys/api/discovery/v0/engineeringdata/boltdata.proto +37 -0
- ansys/api/discovery/v0/engineeringdata/boltdata_pb2.py +36 -0
- ansys/api/discovery/v0/engineeringdata/boltdata_pb2.pyi +81 -0
- ansys/api/discovery/v0/engineeringdata/boltdata_pb2_grpc.py +67 -0
- ansys/api/discovery/v0/engineeringdata/boltdata_pb2_grpc.pyi +27 -0
- ansys/api/discovery/v0/monitors.proto +4 -4
- ansys/api/discovery/v0/monitors_pb2.py +10 -10
- ansys/api/discovery/v0/monitors_pb2.pyi +11 -11
- ansys/api/discovery/v0/solution.proto +4 -3
- ansys/api/discovery/v0/solution_pb2.py +16 -15
- ansys/api/discovery/v0/solution_pb2.pyi +11 -7
- ansys/api/discovery/v0/unsupported.proto +10 -0
- ansys/api/discovery/v0/unsupported_pb2.py +5 -3
- ansys/api/discovery/v0/unsupported_pb2.pyi +14 -0
- ansys/api/discovery/v0/unsupported_pb2_grpc.py +68 -0
- ansys/api/discovery/v0/unsupported_pb2_grpc.pyi +24 -0
- {ansys_api_discovery-0.6.2.dist-info → ansys_api_discovery-0.6.4.dist-info}/METADATA +13 -4
- ansys_api_discovery-0.6.4.dist-info/RECORD +200 -0
- {ansys_api_discovery-0.6.2.dist-info → ansys_api_discovery-0.6.4.dist-info}/WHEEL +1 -1
- ansys/api/discovery/v0/conditions_pb2.py +0 -33
- ansys/api/discovery/v0/conditionsfluid_pb2.py +0 -85
- ansys/api/discovery/v0/conditionsstructural.proto +0 -407
- ansys/api/discovery/v0/conditionsstructural_pb2.py +0 -113
- ansys/api/discovery/v0/conditionsstructural_pb2.pyi +0 -839
- ansys/api/discovery/v0/conditionsstructural_pb2_grpc.py +0 -2746
- ansys/api/discovery/v0/conditionsstructural_pb2_grpc.pyi +0 -854
- ansys/api/discovery/v0/conditionsthermal.proto +0 -179
- ansys/api/discovery/v0/conditionsthermal_pb2.py +0 -63
- ansys/api/discovery/v0/conditionsthermal_pb2.pyi +0 -399
- ansys/api/discovery/v0/conditionsthermal_pb2_grpc.pyi +0 -217
- ansys_api_discovery-0.6.2.dist-info/RECORD +0 -85
- {ansys_api_discovery-0.6.2.dist-info → ansys_api_discovery-0.6.4.dist-info}/LICENSE +0 -0
- {ansys_api_discovery-0.6.2.dist-info → ansys_api_discovery-0.6.4.dist-info}/entry_points.txt +0 -0
- {ansys_api_discovery-0.6.2.dist-info → ansys_api_discovery-0.6.4.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from ansys.api.discovery.v0.conditions import heat_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2
|
|
6
|
+
from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class HeatStub(object):
|
|
10
|
+
"""Missing associated documentation comment in .proto file."""
|
|
11
|
+
|
|
12
|
+
def __init__(self, channel):
|
|
13
|
+
"""Constructor.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
channel: A grpc.Channel.
|
|
17
|
+
"""
|
|
18
|
+
self.CreateHeatVolumetricTotal = channel.unary_unary(
|
|
19
|
+
'/ansys.api.discovery.v0.conditions.heat.Heat/CreateHeatVolumetricTotal',
|
|
20
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatCreationRequest.SerializeToString,
|
|
21
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatTotalCreationResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.CreateHeatVolumetricDistributed = channel.unary_unary(
|
|
24
|
+
'/ansys.api.discovery.v0.conditions.heat.Heat/CreateHeatVolumetricDistributed',
|
|
25
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatCreationRequest.SerializeToString,
|
|
26
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatVolumetricDistributedCreationResponse.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.CreateHeatSurfaceTotal = channel.unary_unary(
|
|
29
|
+
'/ansys.api.discovery.v0.conditions.heat.Heat/CreateHeatSurfaceTotal',
|
|
30
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatCreationRequest.SerializeToString,
|
|
31
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatTotalCreationResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
self.CreateHeatSurfaceDistributed = channel.unary_unary(
|
|
34
|
+
'/ansys.api.discovery.v0.conditions.heat.Heat/CreateHeatSurfaceDistributed',
|
|
35
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatCreationRequest.SerializeToString,
|
|
36
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatSurfaceDistributedCreationResponse.FromString,
|
|
37
|
+
)
|
|
38
|
+
self.ChangeHeatLocation = channel.unary_unary(
|
|
39
|
+
'/ansys.api.discovery.v0.conditions.heat.Heat/ChangeHeatLocation',
|
|
40
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.SerializeToString,
|
|
41
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
42
|
+
)
|
|
43
|
+
self.ChangeTotalHeat = channel.unary_unary(
|
|
44
|
+
'/ansys.api.discovery.v0.conditions.heat.Heat/ChangeTotalHeat',
|
|
45
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
46
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
47
|
+
)
|
|
48
|
+
self.ChangeHeatPerUnitVolume = channel.unary_unary(
|
|
49
|
+
'/ansys.api.discovery.v0.conditions.heat.Heat/ChangeHeatPerUnitVolume',
|
|
50
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
51
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
52
|
+
)
|
|
53
|
+
self.ChangeHeatPerUnitArea = channel.unary_unary(
|
|
54
|
+
'/ansys.api.discovery.v0.conditions.heat.Heat/ChangeHeatPerUnitArea',
|
|
55
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
56
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
57
|
+
)
|
|
58
|
+
self.ChangeHeatSpecification = channel.unary_unary(
|
|
59
|
+
'/ansys.api.discovery.v0.conditions.heat.Heat/ChangeHeatSpecification',
|
|
60
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.ChangeHeatSpecificationRequest.SerializeToString,
|
|
61
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
class HeatServicer(object):
|
|
66
|
+
"""Missing associated documentation comment in .proto file."""
|
|
67
|
+
|
|
68
|
+
def CreateHeatVolumetricTotal(self, request, context):
|
|
69
|
+
"""Heat condition methods
|
|
70
|
+
"""
|
|
71
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
72
|
+
context.set_details('Method not implemented!')
|
|
73
|
+
raise NotImplementedError('Method not implemented!')
|
|
74
|
+
|
|
75
|
+
def CreateHeatVolumetricDistributed(self, request, context):
|
|
76
|
+
"""Missing associated documentation comment in .proto file."""
|
|
77
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
78
|
+
context.set_details('Method not implemented!')
|
|
79
|
+
raise NotImplementedError('Method not implemented!')
|
|
80
|
+
|
|
81
|
+
def CreateHeatSurfaceTotal(self, request, context):
|
|
82
|
+
"""Missing associated documentation comment in .proto file."""
|
|
83
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
84
|
+
context.set_details('Method not implemented!')
|
|
85
|
+
raise NotImplementedError('Method not implemented!')
|
|
86
|
+
|
|
87
|
+
def CreateHeatSurfaceDistributed(self, request, context):
|
|
88
|
+
"""Missing associated documentation comment in .proto file."""
|
|
89
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
90
|
+
context.set_details('Method not implemented!')
|
|
91
|
+
raise NotImplementedError('Method not implemented!')
|
|
92
|
+
|
|
93
|
+
def ChangeHeatLocation(self, request, context):
|
|
94
|
+
"""Missing associated documentation comment in .proto file."""
|
|
95
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
96
|
+
context.set_details('Method not implemented!')
|
|
97
|
+
raise NotImplementedError('Method not implemented!')
|
|
98
|
+
|
|
99
|
+
def ChangeTotalHeat(self, request, context):
|
|
100
|
+
"""Missing associated documentation comment in .proto file."""
|
|
101
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
102
|
+
context.set_details('Method not implemented!')
|
|
103
|
+
raise NotImplementedError('Method not implemented!')
|
|
104
|
+
|
|
105
|
+
def ChangeHeatPerUnitVolume(self, request, context):
|
|
106
|
+
"""Missing associated documentation comment in .proto file."""
|
|
107
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
108
|
+
context.set_details('Method not implemented!')
|
|
109
|
+
raise NotImplementedError('Method not implemented!')
|
|
110
|
+
|
|
111
|
+
def ChangeHeatPerUnitArea(self, request, context):
|
|
112
|
+
"""Missing associated documentation comment in .proto file."""
|
|
113
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
114
|
+
context.set_details('Method not implemented!')
|
|
115
|
+
raise NotImplementedError('Method not implemented!')
|
|
116
|
+
|
|
117
|
+
def ChangeHeatSpecification(self, request, context):
|
|
118
|
+
"""Missing associated documentation comment in .proto file."""
|
|
119
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
120
|
+
context.set_details('Method not implemented!')
|
|
121
|
+
raise NotImplementedError('Method not implemented!')
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
def add_HeatServicer_to_server(servicer, server):
|
|
125
|
+
rpc_method_handlers = {
|
|
126
|
+
'CreateHeatVolumetricTotal': grpc.unary_unary_rpc_method_handler(
|
|
127
|
+
servicer.CreateHeatVolumetricTotal,
|
|
128
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatCreationRequest.FromString,
|
|
129
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatTotalCreationResponse.SerializeToString,
|
|
130
|
+
),
|
|
131
|
+
'CreateHeatVolumetricDistributed': grpc.unary_unary_rpc_method_handler(
|
|
132
|
+
servicer.CreateHeatVolumetricDistributed,
|
|
133
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatCreationRequest.FromString,
|
|
134
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatVolumetricDistributedCreationResponse.SerializeToString,
|
|
135
|
+
),
|
|
136
|
+
'CreateHeatSurfaceTotal': grpc.unary_unary_rpc_method_handler(
|
|
137
|
+
servicer.CreateHeatSurfaceTotal,
|
|
138
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatCreationRequest.FromString,
|
|
139
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatTotalCreationResponse.SerializeToString,
|
|
140
|
+
),
|
|
141
|
+
'CreateHeatSurfaceDistributed': grpc.unary_unary_rpc_method_handler(
|
|
142
|
+
servicer.CreateHeatSurfaceDistributed,
|
|
143
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatCreationRequest.FromString,
|
|
144
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatSurfaceDistributedCreationResponse.SerializeToString,
|
|
145
|
+
),
|
|
146
|
+
'ChangeHeatLocation': grpc.unary_unary_rpc_method_handler(
|
|
147
|
+
servicer.ChangeHeatLocation,
|
|
148
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.FromString,
|
|
149
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
150
|
+
),
|
|
151
|
+
'ChangeTotalHeat': grpc.unary_unary_rpc_method_handler(
|
|
152
|
+
servicer.ChangeTotalHeat,
|
|
153
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
154
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
155
|
+
),
|
|
156
|
+
'ChangeHeatPerUnitVolume': grpc.unary_unary_rpc_method_handler(
|
|
157
|
+
servicer.ChangeHeatPerUnitVolume,
|
|
158
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
159
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
160
|
+
),
|
|
161
|
+
'ChangeHeatPerUnitArea': grpc.unary_unary_rpc_method_handler(
|
|
162
|
+
servicer.ChangeHeatPerUnitArea,
|
|
163
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
164
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
165
|
+
),
|
|
166
|
+
'ChangeHeatSpecification': grpc.unary_unary_rpc_method_handler(
|
|
167
|
+
servicer.ChangeHeatSpecification,
|
|
168
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.ChangeHeatSpecificationRequest.FromString,
|
|
169
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
170
|
+
),
|
|
171
|
+
}
|
|
172
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
173
|
+
'ansys.api.discovery.v0.conditions.heat.Heat', rpc_method_handlers)
|
|
174
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
# This class is part of an EXPERIMENTAL API.
|
|
178
|
+
class Heat(object):
|
|
179
|
+
"""Missing associated documentation comment in .proto file."""
|
|
180
|
+
|
|
181
|
+
@staticmethod
|
|
182
|
+
def CreateHeatVolumetricTotal(request,
|
|
183
|
+
target,
|
|
184
|
+
options=(),
|
|
185
|
+
channel_credentials=None,
|
|
186
|
+
call_credentials=None,
|
|
187
|
+
insecure=False,
|
|
188
|
+
compression=None,
|
|
189
|
+
wait_for_ready=None,
|
|
190
|
+
timeout=None,
|
|
191
|
+
metadata=None):
|
|
192
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.heat.Heat/CreateHeatVolumetricTotal',
|
|
193
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatCreationRequest.SerializeToString,
|
|
194
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatTotalCreationResponse.FromString,
|
|
195
|
+
options, channel_credentials,
|
|
196
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
197
|
+
|
|
198
|
+
@staticmethod
|
|
199
|
+
def CreateHeatVolumetricDistributed(request,
|
|
200
|
+
target,
|
|
201
|
+
options=(),
|
|
202
|
+
channel_credentials=None,
|
|
203
|
+
call_credentials=None,
|
|
204
|
+
insecure=False,
|
|
205
|
+
compression=None,
|
|
206
|
+
wait_for_ready=None,
|
|
207
|
+
timeout=None,
|
|
208
|
+
metadata=None):
|
|
209
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.heat.Heat/CreateHeatVolumetricDistributed',
|
|
210
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatCreationRequest.SerializeToString,
|
|
211
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatVolumetricDistributedCreationResponse.FromString,
|
|
212
|
+
options, channel_credentials,
|
|
213
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
214
|
+
|
|
215
|
+
@staticmethod
|
|
216
|
+
def CreateHeatSurfaceTotal(request,
|
|
217
|
+
target,
|
|
218
|
+
options=(),
|
|
219
|
+
channel_credentials=None,
|
|
220
|
+
call_credentials=None,
|
|
221
|
+
insecure=False,
|
|
222
|
+
compression=None,
|
|
223
|
+
wait_for_ready=None,
|
|
224
|
+
timeout=None,
|
|
225
|
+
metadata=None):
|
|
226
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.heat.Heat/CreateHeatSurfaceTotal',
|
|
227
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatCreationRequest.SerializeToString,
|
|
228
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatTotalCreationResponse.FromString,
|
|
229
|
+
options, channel_credentials,
|
|
230
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
231
|
+
|
|
232
|
+
@staticmethod
|
|
233
|
+
def CreateHeatSurfaceDistributed(request,
|
|
234
|
+
target,
|
|
235
|
+
options=(),
|
|
236
|
+
channel_credentials=None,
|
|
237
|
+
call_credentials=None,
|
|
238
|
+
insecure=False,
|
|
239
|
+
compression=None,
|
|
240
|
+
wait_for_ready=None,
|
|
241
|
+
timeout=None,
|
|
242
|
+
metadata=None):
|
|
243
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.heat.Heat/CreateHeatSurfaceDistributed',
|
|
244
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatCreationRequest.SerializeToString,
|
|
245
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.HeatSurfaceDistributedCreationResponse.FromString,
|
|
246
|
+
options, channel_credentials,
|
|
247
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
248
|
+
|
|
249
|
+
@staticmethod
|
|
250
|
+
def ChangeHeatLocation(request,
|
|
251
|
+
target,
|
|
252
|
+
options=(),
|
|
253
|
+
channel_credentials=None,
|
|
254
|
+
call_credentials=None,
|
|
255
|
+
insecure=False,
|
|
256
|
+
compression=None,
|
|
257
|
+
wait_for_ready=None,
|
|
258
|
+
timeout=None,
|
|
259
|
+
metadata=None):
|
|
260
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.heat.Heat/ChangeHeatLocation',
|
|
261
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.SerializeToString,
|
|
262
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
263
|
+
options, channel_credentials,
|
|
264
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
265
|
+
|
|
266
|
+
@staticmethod
|
|
267
|
+
def ChangeTotalHeat(request,
|
|
268
|
+
target,
|
|
269
|
+
options=(),
|
|
270
|
+
channel_credentials=None,
|
|
271
|
+
call_credentials=None,
|
|
272
|
+
insecure=False,
|
|
273
|
+
compression=None,
|
|
274
|
+
wait_for_ready=None,
|
|
275
|
+
timeout=None,
|
|
276
|
+
metadata=None):
|
|
277
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.heat.Heat/ChangeTotalHeat',
|
|
278
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
279
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
280
|
+
options, channel_credentials,
|
|
281
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
282
|
+
|
|
283
|
+
@staticmethod
|
|
284
|
+
def ChangeHeatPerUnitVolume(request,
|
|
285
|
+
target,
|
|
286
|
+
options=(),
|
|
287
|
+
channel_credentials=None,
|
|
288
|
+
call_credentials=None,
|
|
289
|
+
insecure=False,
|
|
290
|
+
compression=None,
|
|
291
|
+
wait_for_ready=None,
|
|
292
|
+
timeout=None,
|
|
293
|
+
metadata=None):
|
|
294
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.heat.Heat/ChangeHeatPerUnitVolume',
|
|
295
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
296
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
297
|
+
options, channel_credentials,
|
|
298
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
299
|
+
|
|
300
|
+
@staticmethod
|
|
301
|
+
def ChangeHeatPerUnitArea(request,
|
|
302
|
+
target,
|
|
303
|
+
options=(),
|
|
304
|
+
channel_credentials=None,
|
|
305
|
+
call_credentials=None,
|
|
306
|
+
insecure=False,
|
|
307
|
+
compression=None,
|
|
308
|
+
wait_for_ready=None,
|
|
309
|
+
timeout=None,
|
|
310
|
+
metadata=None):
|
|
311
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.heat.Heat/ChangeHeatPerUnitArea',
|
|
312
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
313
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
314
|
+
options, channel_credentials,
|
|
315
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
316
|
+
|
|
317
|
+
@staticmethod
|
|
318
|
+
def ChangeHeatSpecification(request,
|
|
319
|
+
target,
|
|
320
|
+
options=(),
|
|
321
|
+
channel_credentials=None,
|
|
322
|
+
call_credentials=None,
|
|
323
|
+
insecure=False,
|
|
324
|
+
compression=None,
|
|
325
|
+
wait_for_ready=None,
|
|
326
|
+
timeout=None,
|
|
327
|
+
metadata=None):
|
|
328
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.heat.Heat/ChangeHeatSpecification',
|
|
329
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_heat__pb2.ChangeHeatSpecificationRequest.SerializeToString,
|
|
330
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
331
|
+
options, channel_credentials,
|
|
332
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import abc
|
|
6
|
+
import ansys.api.discovery.v0.conditions.heat_pb2
|
|
7
|
+
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
8
|
+
import grpc
|
|
9
|
+
|
|
10
|
+
class HeatStub:
|
|
11
|
+
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
12
|
+
CreateHeatVolumetricTotal: grpc.UnaryUnaryMultiCallable[
|
|
13
|
+
ansys.api.discovery.v0.conditions.heat_pb2.HeatCreationRequest,
|
|
14
|
+
ansys.api.discovery.v0.conditions.heat_pb2.HeatTotalCreationResponse] = ...
|
|
15
|
+
"""Heat condition methods"""
|
|
16
|
+
|
|
17
|
+
CreateHeatVolumetricDistributed: grpc.UnaryUnaryMultiCallable[
|
|
18
|
+
ansys.api.discovery.v0.conditions.heat_pb2.HeatCreationRequest,
|
|
19
|
+
ansys.api.discovery.v0.conditions.heat_pb2.HeatVolumetricDistributedCreationResponse] = ...
|
|
20
|
+
|
|
21
|
+
CreateHeatSurfaceTotal: grpc.UnaryUnaryMultiCallable[
|
|
22
|
+
ansys.api.discovery.v0.conditions.heat_pb2.HeatCreationRequest,
|
|
23
|
+
ansys.api.discovery.v0.conditions.heat_pb2.HeatTotalCreationResponse] = ...
|
|
24
|
+
|
|
25
|
+
CreateHeatSurfaceDistributed: grpc.UnaryUnaryMultiCallable[
|
|
26
|
+
ansys.api.discovery.v0.conditions.heat_pb2.HeatCreationRequest,
|
|
27
|
+
ansys.api.discovery.v0.conditions.heat_pb2.HeatSurfaceDistributedCreationResponse] = ...
|
|
28
|
+
|
|
29
|
+
ChangeHeatLocation: grpc.UnaryUnaryMultiCallable[
|
|
30
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationExtendedRequest,
|
|
31
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
32
|
+
|
|
33
|
+
ChangeTotalHeat: grpc.UnaryUnaryMultiCallable[
|
|
34
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
35
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
36
|
+
|
|
37
|
+
ChangeHeatPerUnitVolume: grpc.UnaryUnaryMultiCallable[
|
|
38
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
39
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
40
|
+
|
|
41
|
+
ChangeHeatPerUnitArea: grpc.UnaryUnaryMultiCallable[
|
|
42
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
43
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
44
|
+
|
|
45
|
+
ChangeHeatSpecification: grpc.UnaryUnaryMultiCallable[
|
|
46
|
+
ansys.api.discovery.v0.conditions.heat_pb2.ChangeHeatSpecificationRequest,
|
|
47
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class HeatServicer(metaclass=abc.ABCMeta):
|
|
51
|
+
@abc.abstractmethod
|
|
52
|
+
def CreateHeatVolumetricTotal(self,
|
|
53
|
+
request: ansys.api.discovery.v0.conditions.heat_pb2.HeatCreationRequest,
|
|
54
|
+
context: grpc.ServicerContext,
|
|
55
|
+
) -> ansys.api.discovery.v0.conditions.heat_pb2.HeatTotalCreationResponse:
|
|
56
|
+
"""Heat condition methods"""
|
|
57
|
+
pass
|
|
58
|
+
|
|
59
|
+
@abc.abstractmethod
|
|
60
|
+
def CreateHeatVolumetricDistributed(self,
|
|
61
|
+
request: ansys.api.discovery.v0.conditions.heat_pb2.HeatCreationRequest,
|
|
62
|
+
context: grpc.ServicerContext,
|
|
63
|
+
) -> ansys.api.discovery.v0.conditions.heat_pb2.HeatVolumetricDistributedCreationResponse: ...
|
|
64
|
+
|
|
65
|
+
@abc.abstractmethod
|
|
66
|
+
def CreateHeatSurfaceTotal(self,
|
|
67
|
+
request: ansys.api.discovery.v0.conditions.heat_pb2.HeatCreationRequest,
|
|
68
|
+
context: grpc.ServicerContext,
|
|
69
|
+
) -> ansys.api.discovery.v0.conditions.heat_pb2.HeatTotalCreationResponse: ...
|
|
70
|
+
|
|
71
|
+
@abc.abstractmethod
|
|
72
|
+
def CreateHeatSurfaceDistributed(self,
|
|
73
|
+
request: ansys.api.discovery.v0.conditions.heat_pb2.HeatCreationRequest,
|
|
74
|
+
context: grpc.ServicerContext,
|
|
75
|
+
) -> ansys.api.discovery.v0.conditions.heat_pb2.HeatSurfaceDistributedCreationResponse: ...
|
|
76
|
+
|
|
77
|
+
@abc.abstractmethod
|
|
78
|
+
def ChangeHeatLocation(self,
|
|
79
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationExtendedRequest,
|
|
80
|
+
context: grpc.ServicerContext,
|
|
81
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
82
|
+
|
|
83
|
+
@abc.abstractmethod
|
|
84
|
+
def ChangeTotalHeat(self,
|
|
85
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
86
|
+
context: grpc.ServicerContext,
|
|
87
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
88
|
+
|
|
89
|
+
@abc.abstractmethod
|
|
90
|
+
def ChangeHeatPerUnitVolume(self,
|
|
91
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
92
|
+
context: grpc.ServicerContext,
|
|
93
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
94
|
+
|
|
95
|
+
@abc.abstractmethod
|
|
96
|
+
def ChangeHeatPerUnitArea(self,
|
|
97
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
98
|
+
context: grpc.ServicerContext,
|
|
99
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
100
|
+
|
|
101
|
+
@abc.abstractmethod
|
|
102
|
+
def ChangeHeatSpecification(self,
|
|
103
|
+
request: ansys.api.discovery.v0.conditions.heat_pb2.ChangeHeatSpecificationRequest,
|
|
104
|
+
context: grpc.ServicerContext,
|
|
105
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
def add_HeatServicer_to_server(servicer: HeatServicer, server: grpc.Server) -> None: ...
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.conditions.insulated;
|
|
4
|
+
|
|
5
|
+
import "ansys/api/dbu/v0/dbumodels.proto";
|
|
6
|
+
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
7
|
+
|
|
8
|
+
option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
|
|
9
|
+
|
|
10
|
+
service Insulated
|
|
11
|
+
{
|
|
12
|
+
rpc CreateInsulated(InsulatedCreationRequest) returns (InsulatedCreationResponse);
|
|
13
|
+
|
|
14
|
+
rpc ChangeInsulatedLocation(ChangeLocationRequest) returns(ChangeResponse);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Requests and responses
|
|
18
|
+
message InsulatedCreationRequest{
|
|
19
|
+
ScopedCreationData creation_data = 1;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
message InsulatedCreationResponse{
|
|
23
|
+
CreationResponse condition_response = 1;
|
|
24
|
+
InsulatedDefinition condition_data = 2;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
//Definitions
|
|
28
|
+
message InsulatedDefinition {
|
|
29
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
|
|
30
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
|
|
31
|
+
string label = 3;
|
|
32
|
+
repeated string locations = 4;
|
|
33
|
+
bool suppressed = 5;
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: ansys/api/discovery/v0/conditions/insulated.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2
|
|
15
|
+
from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1ansys/api/discovery/v0/conditions/insulated.proto\x12+ansys.api.discovery.v0.conditions.insulated\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"]\n\x18InsulatedCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\"\xbb\x01\n\x19InsulatedCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12X\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32@.ansys.api.discovery.v0.conditions.insulated.InsulatedDefinition\"\xc0\x01\n\x13InsulatedDefinition\x12\x35\n\x02id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12<\n\tparent_id\x18\x02 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\r\n\x05label\x18\x03 \x01(\t\x12\x11\n\tlocations\x18\x04 \x03(\t\x12\x12\n\nsuppressed\x18\x05 \x01(\x08\x32\xa0\x02\n\tInsulated\x12\xa0\x01\n\x0f\x43reateInsulated\x12\x45.ansys.api.discovery.v0.conditions.insulated.InsulatedCreationRequest\x1a\x46.ansys.api.discovery.v0.conditions.insulated.InsulatedCreationResponse\x12p\n\x17\x43hangeInsulatedLocation\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB$\xaa\x02!Ansys.Api.Discovery.V0.Conditionsb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.conditions.insulated_pb2', globals())
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
DESCRIPTOR._serialized_options = b'\252\002!Ansys.Api.Discovery.V0.Conditions'
|
|
26
|
+
_INSULATEDCREATIONREQUEST._serialized_start=178
|
|
27
|
+
_INSULATEDCREATIONREQUEST._serialized_end=271
|
|
28
|
+
_INSULATEDCREATIONRESPONSE._serialized_start=274
|
|
29
|
+
_INSULATEDCREATIONRESPONSE._serialized_end=461
|
|
30
|
+
_INSULATEDDEFINITION._serialized_start=464
|
|
31
|
+
_INSULATEDDEFINITION._serialized_end=656
|
|
32
|
+
_INSULATED._serialized_start=659
|
|
33
|
+
_INSULATED._serialized_end=947
|
|
34
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import ansys.api.dbu.v0.dbumodels_pb2
|
|
6
|
+
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
7
|
+
import builtins
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import typing
|
|
12
|
+
import typing_extensions
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
|
|
15
|
+
|
|
16
|
+
class InsulatedCreationRequest(google.protobuf.message.Message):
|
|
17
|
+
"""Requests and responses"""
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
19
|
+
CREATION_DATA_FIELD_NUMBER: builtins.int
|
|
20
|
+
@property
|
|
21
|
+
def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData: ...
|
|
22
|
+
def __init__(self,
|
|
23
|
+
*,
|
|
24
|
+
creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
|
|
25
|
+
) -> None: ...
|
|
26
|
+
def HasField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data"]) -> builtins.bool: ...
|
|
27
|
+
def ClearField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data"]) -> None: ...
|
|
28
|
+
global___InsulatedCreationRequest = InsulatedCreationRequest
|
|
29
|
+
|
|
30
|
+
class InsulatedCreationResponse(google.protobuf.message.Message):
|
|
31
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
32
|
+
CONDITION_RESPONSE_FIELD_NUMBER: builtins.int
|
|
33
|
+
CONDITION_DATA_FIELD_NUMBER: builtins.int
|
|
34
|
+
@property
|
|
35
|
+
def condition_response(self) -> ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse: ...
|
|
36
|
+
@property
|
|
37
|
+
def condition_data(self) -> global___InsulatedDefinition: ...
|
|
38
|
+
def __init__(self,
|
|
39
|
+
*,
|
|
40
|
+
condition_response : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse] = ...,
|
|
41
|
+
condition_data : typing.Optional[global___InsulatedDefinition] = ...,
|
|
42
|
+
) -> None: ...
|
|
43
|
+
def HasField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> builtins.bool: ...
|
|
44
|
+
def ClearField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> None: ...
|
|
45
|
+
global___InsulatedCreationResponse = InsulatedCreationResponse
|
|
46
|
+
|
|
47
|
+
class InsulatedDefinition(google.protobuf.message.Message):
|
|
48
|
+
"""Definitions"""
|
|
49
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
50
|
+
ID_FIELD_NUMBER: builtins.int
|
|
51
|
+
PARENT_ID_FIELD_NUMBER: builtins.int
|
|
52
|
+
LABEL_FIELD_NUMBER: builtins.int
|
|
53
|
+
LOCATIONS_FIELD_NUMBER: builtins.int
|
|
54
|
+
SUPPRESSED_FIELD_NUMBER: builtins.int
|
|
55
|
+
@property
|
|
56
|
+
def id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
57
|
+
@property
|
|
58
|
+
def parent_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
59
|
+
label: typing.Text = ...
|
|
60
|
+
@property
|
|
61
|
+
def locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
|
|
62
|
+
suppressed: builtins.bool = ...
|
|
63
|
+
def __init__(self,
|
|
64
|
+
*,
|
|
65
|
+
id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
66
|
+
parent_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
67
|
+
label : typing.Text = ...,
|
|
68
|
+
locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
|
|
69
|
+
suppressed : builtins.bool = ...,
|
|
70
|
+
) -> None: ...
|
|
71
|
+
def HasField(self, field_name: typing_extensions.Literal["id",b"id","parent_id",b"parent_id"]) -> builtins.bool: ...
|
|
72
|
+
def ClearField(self, field_name: typing_extensions.Literal["id",b"id","label",b"label","locations",b"locations","parent_id",b"parent_id","suppressed",b"suppressed"]) -> None: ...
|
|
73
|
+
global___InsulatedDefinition = InsulatedDefinition
|