ansys-api-discovery 0.6.0__py3-none-any.whl → 0.6.1__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.

Files changed (37) hide show
  1. ansys/api/discovery/VERSION +1 -1
  2. ansys/api/discovery/v0/conditions.proto +3 -3
  3. ansys/api/discovery/v0/conditions_pb2.py +2 -2
  4. ansys/api/discovery/v0/conditions_pb2_grpc.py +9 -9
  5. ansys/api/discovery/v0/conditions_pb2_grpc.pyi +6 -6
  6. ansys/api/discovery/v0/conditionsfluid.proto +25 -25
  7. ansys/api/discovery/v0/conditionsfluid_pb2.py +60 -60
  8. ansys/api/discovery/v0/conditionsfluid_pb2.pyi +24 -24
  9. ansys/api/discovery/v0/conditionsfluid_pb2_grpc.py +39 -39
  10. ansys/api/discovery/v0/conditionsfluid_pb2_grpc.pyi +26 -26
  11. ansys/api/discovery/v0/conditionsstructural.proto +89 -89
  12. ansys/api/discovery/v0/conditionsstructural_pb2.py +86 -86
  13. ansys/api/discovery/v0/conditionsstructural_pb2.pyi +36 -36
  14. ansys/api/discovery/v0/conditionsstructural_pb2_grpc.py +204 -204
  15. ansys/api/discovery/v0/conditionsstructural_pb2_grpc.pyi +136 -136
  16. ansys/api/discovery/v0/conditionsthermal.proto +21 -21
  17. ansys/api/discovery/v0/conditionsthermal_pb2.py +36 -36
  18. ansys/api/discovery/v0/conditionsthermal_pb2.pyi +20 -20
  19. ansys/api/discovery/v0/conditionsthermal_pb2_grpc.py +33 -33
  20. ansys/api/discovery/v0/conditionsthermal_pb2_grpc.pyi +22 -22
  21. ansys/api/discovery/v0/discoverymodels.proto +3 -3
  22. ansys/api/discovery/v0/discoverymodels_pb2.py +27 -27
  23. ansys/api/discovery/v0/discoverymodels_pb2.pyi +6 -6
  24. ansys/api/discovery/v0/monitors.proto +137 -0
  25. ansys/api/discovery/v0/monitors_pb2.py +42 -0
  26. ansys/api/discovery/v0/monitors_pb2.pyi +307 -0
  27. ansys/api/discovery/v0/monitors_pb2_grpc.py +67 -0
  28. ansys/api/discovery/v0/monitors_pb2_grpc.pyi +27 -0
  29. ansys/api/discovery/v0/solution.proto +5 -4
  30. ansys/api/discovery/v0/solution_pb2.py +9 -9
  31. ansys/api/discovery/v0/solution_pb2.pyi +17 -12
  32. {ansys_api_discovery-0.6.0.dist-info → ansys_api_discovery-0.6.1.dist-info}/METADATA +2 -2
  33. {ansys_api_discovery-0.6.0.dist-info → ansys_api_discovery-0.6.1.dist-info}/RECORD +37 -32
  34. {ansys_api_discovery-0.6.0.dist-info → ansys_api_discovery-0.6.1.dist-info}/WHEEL +1 -1
  35. {ansys_api_discovery-0.6.0.dist-info → ansys_api_discovery-0.6.1.dist-info}/LICENSE +0 -0
  36. {ansys_api_discovery-0.6.0.dist-info → ansys_api_discovery-0.6.1.dist-info}/entry_points.txt +0 -0
  37. {ansys_api_discovery-0.6.0.dist-info → ansys_api_discovery-0.6.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,137 @@
1
+ // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.monitors;
4
+
5
+ import "ansys/api/discovery/v0/discoverymodels.proto";
6
+ import "google/protobuf/empty.proto";
7
+
8
+ option csharp_namespace = "Ansys.Api.Discovery.V0.Monitors";
9
+
10
+ service Monitors
11
+ {
12
+ // Creates a new monitor
13
+ rpc CreateMonitor(CreateMonitorRequest) returns (MonitorCreationResponse);
14
+ }
15
+
16
+ message CreateMonitorRequest{
17
+ // The monitor id
18
+ ScopedCreationData creation_data = 1;
19
+ MonitorProperties monitor = 2;
20
+ }
21
+
22
+ message MonitorCreationResponse{
23
+ // Creation response
24
+ CreationResponse monitor_response = 1;
25
+ // Monitor definition
26
+ MonitorDefinition monitor = 2;
27
+ }
28
+
29
+ message MonitorProperties{
30
+ ResultVariable result_variable = 1;
31
+ ResultFunction result_function = 2;
32
+ optional ResultComponent result_component = 3;
33
+ repeated string locations_secondary = 4;
34
+ }
35
+
36
+ message MonitorDefinition{
37
+ string id = 1;
38
+ string label = 2;
39
+ repeated string locations = 3;
40
+ MonitorProperties monitor = 4;
41
+ }
42
+
43
+ enum ResultVariable{
44
+ RESULT_VARIABLE_UNSPECIFIED = 0;
45
+ RESULT_VARIABLE_DISPLACEMENT = 1;
46
+ RESULT_VARIABLE_VON_MISES_STRESS = 2;
47
+ RESULT_VARIABLE_TEMPERATURE = 3;
48
+ RESULT_VARIABLE_STRESS = 4;
49
+ RESULT_VARIABLE_PRINCIPAL_STRESS = 5;
50
+ RESULT_VARIABLE_ELASTIC_STRAIN = 6;
51
+ RESULT_VARIABLE_PRINCIPAL_ELASTIC_STRAIN = 7;
52
+ RESULT_VARIABLE_HEAT_FLUX = 8;
53
+ RESULT_VARIABLE_PRESSURE = 9;
54
+ RESULT_VARIABLE_VELOCITY = 10;
55
+ RESULT_VARIABLE_VORTICES_LAMBDA_2 = 11;
56
+ RESULT_VARIABLE_MASS = 12;
57
+ RESULT_VARIABLE_LOCAL_REACTION_FORCE = 13;
58
+ RESULT_VARIABLE_REACTION_RESULTANT = 14;
59
+ RESULT_VARIABLE_DENSITY = 15;
60
+ RESULT_VARIABLE_FACTOR_OF_SAFETY = 16;
61
+ RESULT_VARIABLE_PRESSURE_DROP = 17;
62
+ RESULT_VARIABLE_CONTACT_REACTION = 18;
63
+ RESULT_VARIABLE_JOINT_TOTAL_FORCE = 19;
64
+ RESULT_VARIABLE_JOINT_TOTAL_MOMENT = 20;
65
+ RESULT_VARIABLE_FREQUENCY = 21;
66
+ RESULT_VARIABLE_MESH_STATISTICS = 22;
67
+ RESULT_VARIABLE_MESH_QUALITY = 23;
68
+ RESULT_VARIABLE_FLUID_FORCE = 24;
69
+ RESULT_VARIABLE_VOLUME = 25;
70
+ RESULT_VARIABLE_VOLUME_FLOW = 26;
71
+ RESULT_VARIABLE_MASS_FLOW = 27;
72
+ RESULT_VARIABLE_HEAT_FLOW = 28;
73
+ RESULT_VARIABLE_TOTAL_PRESSURE = 29;
74
+ RESULT_VARIABLE_FLOW_UNIFORMITY = 30;
75
+ RESULT_VARIABLE_S_PARAMETERS = 31;
76
+ RESULT_VARIABLE_GAIN = 32;
77
+ RESULT_VARIABLE_REALIZED_GAIN = 33;
78
+ RESULT_VARIABLE_DIRECTIVITY = 34;
79
+ RESULT_VARIABLE_AXIAL_RATIO = 35;
80
+ RESULT_VARIABLE_RADIAL_E = 36;
81
+ RESULT_VARIABLE_CONTACT_STRESS = 37;
82
+ RESULT_VARIABLE_MACH_NUMBER = 38;
83
+ RESULT_VARIABLE_ELECTRIC_FIELD = 39;
84
+ RESULT_VARIABLE_MAGNETIC_FIELD = 40;
85
+ RESULT_VARIABLE_CONNECTION_FACTOR_OF_SAFETY = 41;
86
+ RESULT_VARIABLE_AXIAL_STRESS = 42;
87
+ RESULT_VARIABLE_TORSIONAL_MOMENT = 43;
88
+ RESULT_VARIABLE_SHEAR_FORCE = 44;
89
+ RESULT_VARIABLE_ANTENNA_PARAMETERS = 45;
90
+ RESULT_VARIABLE_OPERATING_PRESSURE = 46;
91
+ RESULT_VARIABLE_RADIATIVE_HEAT_FLUX = 47;
92
+ RESULT_VARIABLE_VOLTAGE = 48;
93
+ RESULT_VARIABLE_CURRENT_DENSITY = 49;
94
+ RESULT_VARIABLE_JOULE_HEAT = 50;
95
+ }
96
+
97
+ enum ResultFunction{
98
+ RESULT_FUNCTION_UNSPECIFIED = 0;
99
+ RESULT_FUNCTION_MINIMUM = 1;
100
+ RESULT_FUNCTION_MAXIMUM = 2;
101
+ RESULT_FUNCTION_AVERAGE = 3;
102
+ RESULT_FUNCTION_SUM = 4;
103
+ RESULT_FUNCTION_INTEGRAL = 5;
104
+ RESULT_FUNCTION_STANDARD_DEVIATION = 6;
105
+ }
106
+
107
+ enum ResultComponent{
108
+ RESULT_COMPONENT_UNSPECIFIED = 0;
109
+ RESULT_COMPONENT_NONE = 1;
110
+ RESULT_COMPONENT_X = 2;
111
+ RESULT_COMPONENT_Y = 3;
112
+ RESULT_COMPONENT_Z = 4;
113
+ RESULT_COMPONENT_XX = 5;
114
+ RESULT_COMPONENT_YY = 6;
115
+ RESULT_COMPONENT_ZZ = 7;
116
+ RESULT_COMPONENT_YZ = 8;
117
+ RESULT_COMPONENT_XY = 9;
118
+ RESULT_COMPONENT_XZ = 10;
119
+ RESULT_COMPONENT_MAG = 11;
120
+ RESULT_COMPONENT_FIRST = 12;
121
+ RESULT_COMPONENT_SECOND = 13;
122
+ RESULT_COMPONENT_THIRD = 14;
123
+ RESULT_COMPONENT_VELOCITY = 15;
124
+ RESULT_COMPONENT_TEMPERATURE = 16;
125
+ RESULT_COMPONENT_REAL = 17;
126
+ RESULT_COMPONENT_IMAGINARY = 18;
127
+ RESULT_COMPONENT_PHASE = 19;
128
+ RESULT_COMPONENT_LOGARITHMIC_MAG = 20;
129
+ RESULT_COMPONENT_CONJUGATE_PHASE = 21;
130
+ RESULT_COMPONENT_TOTAL = 22;
131
+ RESULT_COMPONENT_L3X = 23;
132
+ RESULT_COMPONENT_L3Y = 24;
133
+ RESULT_COMPONENT_RHCP = 25;
134
+ RESULT_COMPONENT_LHCP = 26;
135
+ RESULT_COMPONENT_THETA = 27;
136
+ RESULT_COMPONENT_PHI = 28;
137
+ }
@@ -0,0 +1,42 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: ansys/api/discovery/v0/monitors.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.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
15
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
16
+
17
+
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ansys/api/discovery/v0/monitors.proto\x12\x1f\x61nsys.api.discovery.v0.monitors\x1a,ansys/api/discovery/v0/discoverymodels.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x9e\x01\n\x14\x43reateMonitorRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12\x43\n\x07monitor\x18\x02 \x01(\x0b\x32\x32.ansys.api.discovery.v0.monitors.MonitorProperties\"\xa2\x01\n\x17MonitorCreationResponse\x12\x42\n\x10monitor_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12\x43\n\x07monitor\x18\x02 \x01(\x0b\x32\x32.ansys.api.discovery.v0.monitors.MonitorDefinition\"\xaa\x02\n\x11MonitorProperties\x12H\n\x0fresult_variable\x18\x01 \x01(\x0e\x32/.ansys.api.discovery.v0.monitors.ResultVariable\x12H\n\x0fresult_function\x18\x02 \x01(\x0e\x32/.ansys.api.discovery.v0.monitors.ResultFunction\x12O\n\x10result_component\x18\x03 \x01(\x0e\x32\x30.ansys.api.discovery.v0.monitors.ResultComponentH\x00\x88\x01\x01\x12\x1b\n\x13locations_secondary\x18\x04 \x03(\tB\x13\n\x11_result_component\"\x86\x01\n\x11MonitorDefinition\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x11\n\tlocations\x18\x03 \x03(\t\x12\x43\n\x07monitor\x18\x04 \x01(\x0b\x32\x32.ansys.api.discovery.v0.monitors.MonitorProperties*\x83\x0e\n\x0eResultVariable\x12\x1f\n\x1bRESULT_VARIABLE_UNSPECIFIED\x10\x00\x12 \n\x1cRESULT_VARIABLE_DISPLACEMENT\x10\x01\x12$\n RESULT_VARIABLE_VON_MISES_STRESS\x10\x02\x12\x1f\n\x1bRESULT_VARIABLE_TEMPERATURE\x10\x03\x12\x1a\n\x16RESULT_VARIABLE_STRESS\x10\x04\x12$\n RESULT_VARIABLE_PRINCIPAL_STRESS\x10\x05\x12\"\n\x1eRESULT_VARIABLE_ELASTIC_STRAIN\x10\x06\x12,\n(RESULT_VARIABLE_PRINCIPAL_ELASTIC_STRAIN\x10\x07\x12\x1d\n\x19RESULT_VARIABLE_HEAT_FLUX\x10\x08\x12\x1c\n\x18RESULT_VARIABLE_PRESSURE\x10\t\x12\x1c\n\x18RESULT_VARIABLE_VELOCITY\x10\n\x12%\n!RESULT_VARIABLE_VORTICES_LAMBDA_2\x10\x0b\x12\x18\n\x14RESULT_VARIABLE_MASS\x10\x0c\x12(\n$RESULT_VARIABLE_LOCAL_REACTION_FORCE\x10\r\x12&\n\"RESULT_VARIABLE_REACTION_RESULTANT\x10\x0e\x12\x1b\n\x17RESULT_VARIABLE_DENSITY\x10\x0f\x12$\n RESULT_VARIABLE_FACTOR_OF_SAFETY\x10\x10\x12!\n\x1dRESULT_VARIABLE_PRESSURE_DROP\x10\x11\x12$\n RESULT_VARIABLE_CONTACT_REACTION\x10\x12\x12%\n!RESULT_VARIABLE_JOINT_TOTAL_FORCE\x10\x13\x12&\n\"RESULT_VARIABLE_JOINT_TOTAL_MOMENT\x10\x14\x12\x1d\n\x19RESULT_VARIABLE_FREQUENCY\x10\x15\x12#\n\x1fRESULT_VARIABLE_MESH_STATISTICS\x10\x16\x12 \n\x1cRESULT_VARIABLE_MESH_QUALITY\x10\x17\x12\x1f\n\x1bRESULT_VARIABLE_FLUID_FORCE\x10\x18\x12\x1a\n\x16RESULT_VARIABLE_VOLUME\x10\x19\x12\x1f\n\x1bRESULT_VARIABLE_VOLUME_FLOW\x10\x1a\x12\x1d\n\x19RESULT_VARIABLE_MASS_FLOW\x10\x1b\x12\x1d\n\x19RESULT_VARIABLE_HEAT_FLOW\x10\x1c\x12\"\n\x1eRESULT_VARIABLE_TOTAL_PRESSURE\x10\x1d\x12#\n\x1fRESULT_VARIABLE_FLOW_UNIFORMITY\x10\x1e\x12 \n\x1cRESULT_VARIABLE_S_PARAMETERS\x10\x1f\x12\x18\n\x14RESULT_VARIABLE_GAIN\x10 \x12!\n\x1dRESULT_VARIABLE_REALIZED_GAIN\x10!\x12\x1f\n\x1bRESULT_VARIABLE_DIRECTIVITY\x10\"\x12\x1f\n\x1bRESULT_VARIABLE_AXIAL_RATIO\x10#\x12\x1c\n\x18RESULT_VARIABLE_RADIAL_E\x10$\x12\"\n\x1eRESULT_VARIABLE_CONTACT_STRESS\x10%\x12\x1f\n\x1bRESULT_VARIABLE_MACH_NUMBER\x10&\x12\"\n\x1eRESULT_VARIABLE_ELECTRIC_FIELD\x10\'\x12\"\n\x1eRESULT_VARIABLE_MAGNETIC_FIELD\x10(\x12/\n+RESULT_VARIABLE_CONNECTION_FACTOR_OF_SAFETY\x10)\x12 \n\x1cRESULT_VARIABLE_AXIAL_STRESS\x10*\x12$\n RESULT_VARIABLE_TORSIONAL_MOMENT\x10+\x12\x1f\n\x1bRESULT_VARIABLE_SHEAR_FORCE\x10,\x12&\n\"RESULT_VARIABLE_ANTENNA_PARAMETERS\x10-\x12&\n\"RESULT_VARIABLE_OPERATING_PRESSURE\x10.\x12\'\n#RESULT_VARIABLE_RADIATIVE_HEAT_FLUX\x10/\x12\x1b\n\x17RESULT_VARIABLE_VOLTAGE\x10\x30\x12#\n\x1fRESULT_VARIABLE_CURRENT_DENSITY\x10\x31\x12\x1e\n\x1aRESULT_VARIABLE_JOULE_HEAT\x10\x32*\xe7\x01\n\x0eResultFunction\x12\x1f\n\x1bRESULT_FUNCTION_UNSPECIFIED\x10\x00\x12\x1b\n\x17RESULT_FUNCTION_MINIMUM\x10\x01\x12\x1b\n\x17RESULT_FUNCTION_MAXIMUM\x10\x02\x12\x1b\n\x17RESULT_FUNCTION_AVERAGE\x10\x03\x12\x17\n\x13RESULT_FUNCTION_SUM\x10\x04\x12\x1c\n\x18RESULT_FUNCTION_INTEGRAL\x10\x05\x12&\n\"RESULT_FUNCTION_STANDARD_DEVIATION\x10\x06*\xbb\x06\n\x0fResultComponent\x12 \n\x1cRESULT_COMPONENT_UNSPECIFIED\x10\x00\x12\x19\n\x15RESULT_COMPONENT_NONE\x10\x01\x12\x16\n\x12RESULT_COMPONENT_X\x10\x02\x12\x16\n\x12RESULT_COMPONENT_Y\x10\x03\x12\x16\n\x12RESULT_COMPONENT_Z\x10\x04\x12\x17\n\x13RESULT_COMPONENT_XX\x10\x05\x12\x17\n\x13RESULT_COMPONENT_YY\x10\x06\x12\x17\n\x13RESULT_COMPONENT_ZZ\x10\x07\x12\x17\n\x13RESULT_COMPONENT_YZ\x10\x08\x12\x17\n\x13RESULT_COMPONENT_XY\x10\t\x12\x17\n\x13RESULT_COMPONENT_XZ\x10\n\x12\x18\n\x14RESULT_COMPONENT_MAG\x10\x0b\x12\x1a\n\x16RESULT_COMPONENT_FIRST\x10\x0c\x12\x1b\n\x17RESULT_COMPONENT_SECOND\x10\r\x12\x1a\n\x16RESULT_COMPONENT_THIRD\x10\x0e\x12\x1d\n\x19RESULT_COMPONENT_VELOCITY\x10\x0f\x12 \n\x1cRESULT_COMPONENT_TEMPERATURE\x10\x10\x12\x19\n\x15RESULT_COMPONENT_REAL\x10\x11\x12\x1e\n\x1aRESULT_COMPONENT_IMAGINARY\x10\x12\x12\x1a\n\x16RESULT_COMPONENT_PHASE\x10\x13\x12$\n RESULT_COMPONENT_LOGARITHMIC_MAG\x10\x14\x12$\n RESULT_COMPONENT_CONJUGATE_PHASE\x10\x15\x12\x1a\n\x16RESULT_COMPONENT_TOTAL\x10\x16\x12\x18\n\x14RESULT_COMPONENT_L3X\x10\x17\x12\x18\n\x14RESULT_COMPONENT_L3Y\x10\x18\x12\x19\n\x15RESULT_COMPONENT_RHCP\x10\x19\x12\x19\n\x15RESULT_COMPONENT_LHCP\x10\x1a\x12\x1a\n\x16RESULT_COMPONENT_THETA\x10\x1b\x12\x18\n\x14RESULT_COMPONENT_PHI\x10\x1c\x32\x8d\x01\n\x08Monitors\x12\x80\x01\n\rCreateMonitor\x12\x35.ansys.api.discovery.v0.monitors.CreateMonitorRequest\x1a\x38.ansys.api.discovery.v0.monitors.MonitorCreationResponseB\"\xaa\x02\x1f\x41nsys.Api.Discovery.V0.Monitorsb\x06proto3')
19
+
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.monitors_pb2', globals())
22
+ if _descriptor._USE_C_DESCRIPTORS == False:
23
+
24
+ DESCRIPTOR._options = None
25
+ DESCRIPTOR._serialized_options = b'\252\002\037Ansys.Api.Discovery.V0.Monitors'
26
+ _RESULTVARIABLE._serialized_start=914
27
+ _RESULTVARIABLE._serialized_end=2709
28
+ _RESULTFUNCTION._serialized_start=2712
29
+ _RESULTFUNCTION._serialized_end=2943
30
+ _RESULTCOMPONENT._serialized_start=2946
31
+ _RESULTCOMPONENT._serialized_end=3773
32
+ _CREATEMONITORREQUEST._serialized_start=150
33
+ _CREATEMONITORREQUEST._serialized_end=308
34
+ _MONITORCREATIONRESPONSE._serialized_start=311
35
+ _MONITORCREATIONRESPONSE._serialized_end=473
36
+ _MONITORPROPERTIES._serialized_start=476
37
+ _MONITORPROPERTIES._serialized_end=774
38
+ _MONITORDEFINITION._serialized_start=777
39
+ _MONITORDEFINITION._serialized_end=911
40
+ _MONITORS._serialized_start=3776
41
+ _MONITORS._serialized_end=3917
42
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,307 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+ import ansys.api.discovery.v0.discoverymodels_pb2
6
+ import builtins
7
+ import google.protobuf.descriptor
8
+ import google.protobuf.internal.containers
9
+ import google.protobuf.internal.enum_type_wrapper
10
+ import google.protobuf.message
11
+ import typing
12
+ import typing_extensions
13
+
14
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
15
+
16
+ class _ResultVariable:
17
+ ValueType = typing.NewType('ValueType', builtins.int)
18
+ V: typing_extensions.TypeAlias = ValueType
19
+ class _ResultVariableEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResultVariable.ValueType], builtins.type):
20
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
21
+ RESULT_VARIABLE_UNSPECIFIED: ResultVariable.ValueType = ... # 0
22
+ RESULT_VARIABLE_DISPLACEMENT: ResultVariable.ValueType = ... # 1
23
+ RESULT_VARIABLE_VON_MISES_STRESS: ResultVariable.ValueType = ... # 2
24
+ RESULT_VARIABLE_TEMPERATURE: ResultVariable.ValueType = ... # 3
25
+ RESULT_VARIABLE_STRESS: ResultVariable.ValueType = ... # 4
26
+ RESULT_VARIABLE_PRINCIPAL_STRESS: ResultVariable.ValueType = ... # 5
27
+ RESULT_VARIABLE_ELASTIC_STRAIN: ResultVariable.ValueType = ... # 6
28
+ RESULT_VARIABLE_PRINCIPAL_ELASTIC_STRAIN: ResultVariable.ValueType = ... # 7
29
+ RESULT_VARIABLE_HEAT_FLUX: ResultVariable.ValueType = ... # 8
30
+ RESULT_VARIABLE_PRESSURE: ResultVariable.ValueType = ... # 9
31
+ RESULT_VARIABLE_VELOCITY: ResultVariable.ValueType = ... # 10
32
+ RESULT_VARIABLE_VORTICES_LAMBDA_2: ResultVariable.ValueType = ... # 11
33
+ RESULT_VARIABLE_MASS: ResultVariable.ValueType = ... # 12
34
+ RESULT_VARIABLE_LOCAL_REACTION_FORCE: ResultVariable.ValueType = ... # 13
35
+ RESULT_VARIABLE_REACTION_RESULTANT: ResultVariable.ValueType = ... # 14
36
+ RESULT_VARIABLE_DENSITY: ResultVariable.ValueType = ... # 15
37
+ RESULT_VARIABLE_FACTOR_OF_SAFETY: ResultVariable.ValueType = ... # 16
38
+ RESULT_VARIABLE_PRESSURE_DROP: ResultVariable.ValueType = ... # 17
39
+ RESULT_VARIABLE_CONTACT_REACTION: ResultVariable.ValueType = ... # 18
40
+ RESULT_VARIABLE_JOINT_TOTAL_FORCE: ResultVariable.ValueType = ... # 19
41
+ RESULT_VARIABLE_JOINT_TOTAL_MOMENT: ResultVariable.ValueType = ... # 20
42
+ RESULT_VARIABLE_FREQUENCY: ResultVariable.ValueType = ... # 21
43
+ RESULT_VARIABLE_MESH_STATISTICS: ResultVariable.ValueType = ... # 22
44
+ RESULT_VARIABLE_MESH_QUALITY: ResultVariable.ValueType = ... # 23
45
+ RESULT_VARIABLE_FLUID_FORCE: ResultVariable.ValueType = ... # 24
46
+ RESULT_VARIABLE_VOLUME: ResultVariable.ValueType = ... # 25
47
+ RESULT_VARIABLE_VOLUME_FLOW: ResultVariable.ValueType = ... # 26
48
+ RESULT_VARIABLE_MASS_FLOW: ResultVariable.ValueType = ... # 27
49
+ RESULT_VARIABLE_HEAT_FLOW: ResultVariable.ValueType = ... # 28
50
+ RESULT_VARIABLE_TOTAL_PRESSURE: ResultVariable.ValueType = ... # 29
51
+ RESULT_VARIABLE_FLOW_UNIFORMITY: ResultVariable.ValueType = ... # 30
52
+ RESULT_VARIABLE_S_PARAMETERS: ResultVariable.ValueType = ... # 31
53
+ RESULT_VARIABLE_GAIN: ResultVariable.ValueType = ... # 32
54
+ RESULT_VARIABLE_REALIZED_GAIN: ResultVariable.ValueType = ... # 33
55
+ RESULT_VARIABLE_DIRECTIVITY: ResultVariable.ValueType = ... # 34
56
+ RESULT_VARIABLE_AXIAL_RATIO: ResultVariable.ValueType = ... # 35
57
+ RESULT_VARIABLE_RADIAL_E: ResultVariable.ValueType = ... # 36
58
+ RESULT_VARIABLE_CONTACT_STRESS: ResultVariable.ValueType = ... # 37
59
+ RESULT_VARIABLE_MACH_NUMBER: ResultVariable.ValueType = ... # 38
60
+ RESULT_VARIABLE_ELECTRIC_FIELD: ResultVariable.ValueType = ... # 39
61
+ RESULT_VARIABLE_MAGNETIC_FIELD: ResultVariable.ValueType = ... # 40
62
+ RESULT_VARIABLE_CONNECTION_FACTOR_OF_SAFETY: ResultVariable.ValueType = ... # 41
63
+ RESULT_VARIABLE_AXIAL_STRESS: ResultVariable.ValueType = ... # 42
64
+ RESULT_VARIABLE_TORSIONAL_MOMENT: ResultVariable.ValueType = ... # 43
65
+ RESULT_VARIABLE_SHEAR_FORCE: ResultVariable.ValueType = ... # 44
66
+ RESULT_VARIABLE_ANTENNA_PARAMETERS: ResultVariable.ValueType = ... # 45
67
+ RESULT_VARIABLE_OPERATING_PRESSURE: ResultVariable.ValueType = ... # 46
68
+ RESULT_VARIABLE_RADIATIVE_HEAT_FLUX: ResultVariable.ValueType = ... # 47
69
+ RESULT_VARIABLE_VOLTAGE: ResultVariable.ValueType = ... # 48
70
+ RESULT_VARIABLE_CURRENT_DENSITY: ResultVariable.ValueType = ... # 49
71
+ RESULT_VARIABLE_JOULE_HEAT: ResultVariable.ValueType = ... # 50
72
+ class ResultVariable(_ResultVariable, metaclass=_ResultVariableEnumTypeWrapper):
73
+ pass
74
+
75
+ RESULT_VARIABLE_UNSPECIFIED: ResultVariable.ValueType = ... # 0
76
+ RESULT_VARIABLE_DISPLACEMENT: ResultVariable.ValueType = ... # 1
77
+ RESULT_VARIABLE_VON_MISES_STRESS: ResultVariable.ValueType = ... # 2
78
+ RESULT_VARIABLE_TEMPERATURE: ResultVariable.ValueType = ... # 3
79
+ RESULT_VARIABLE_STRESS: ResultVariable.ValueType = ... # 4
80
+ RESULT_VARIABLE_PRINCIPAL_STRESS: ResultVariable.ValueType = ... # 5
81
+ RESULT_VARIABLE_ELASTIC_STRAIN: ResultVariable.ValueType = ... # 6
82
+ RESULT_VARIABLE_PRINCIPAL_ELASTIC_STRAIN: ResultVariable.ValueType = ... # 7
83
+ RESULT_VARIABLE_HEAT_FLUX: ResultVariable.ValueType = ... # 8
84
+ RESULT_VARIABLE_PRESSURE: ResultVariable.ValueType = ... # 9
85
+ RESULT_VARIABLE_VELOCITY: ResultVariable.ValueType = ... # 10
86
+ RESULT_VARIABLE_VORTICES_LAMBDA_2: ResultVariable.ValueType = ... # 11
87
+ RESULT_VARIABLE_MASS: ResultVariable.ValueType = ... # 12
88
+ RESULT_VARIABLE_LOCAL_REACTION_FORCE: ResultVariable.ValueType = ... # 13
89
+ RESULT_VARIABLE_REACTION_RESULTANT: ResultVariable.ValueType = ... # 14
90
+ RESULT_VARIABLE_DENSITY: ResultVariable.ValueType = ... # 15
91
+ RESULT_VARIABLE_FACTOR_OF_SAFETY: ResultVariable.ValueType = ... # 16
92
+ RESULT_VARIABLE_PRESSURE_DROP: ResultVariable.ValueType = ... # 17
93
+ RESULT_VARIABLE_CONTACT_REACTION: ResultVariable.ValueType = ... # 18
94
+ RESULT_VARIABLE_JOINT_TOTAL_FORCE: ResultVariable.ValueType = ... # 19
95
+ RESULT_VARIABLE_JOINT_TOTAL_MOMENT: ResultVariable.ValueType = ... # 20
96
+ RESULT_VARIABLE_FREQUENCY: ResultVariable.ValueType = ... # 21
97
+ RESULT_VARIABLE_MESH_STATISTICS: ResultVariable.ValueType = ... # 22
98
+ RESULT_VARIABLE_MESH_QUALITY: ResultVariable.ValueType = ... # 23
99
+ RESULT_VARIABLE_FLUID_FORCE: ResultVariable.ValueType = ... # 24
100
+ RESULT_VARIABLE_VOLUME: ResultVariable.ValueType = ... # 25
101
+ RESULT_VARIABLE_VOLUME_FLOW: ResultVariable.ValueType = ... # 26
102
+ RESULT_VARIABLE_MASS_FLOW: ResultVariable.ValueType = ... # 27
103
+ RESULT_VARIABLE_HEAT_FLOW: ResultVariable.ValueType = ... # 28
104
+ RESULT_VARIABLE_TOTAL_PRESSURE: ResultVariable.ValueType = ... # 29
105
+ RESULT_VARIABLE_FLOW_UNIFORMITY: ResultVariable.ValueType = ... # 30
106
+ RESULT_VARIABLE_S_PARAMETERS: ResultVariable.ValueType = ... # 31
107
+ RESULT_VARIABLE_GAIN: ResultVariable.ValueType = ... # 32
108
+ RESULT_VARIABLE_REALIZED_GAIN: ResultVariable.ValueType = ... # 33
109
+ RESULT_VARIABLE_DIRECTIVITY: ResultVariable.ValueType = ... # 34
110
+ RESULT_VARIABLE_AXIAL_RATIO: ResultVariable.ValueType = ... # 35
111
+ RESULT_VARIABLE_RADIAL_E: ResultVariable.ValueType = ... # 36
112
+ RESULT_VARIABLE_CONTACT_STRESS: ResultVariable.ValueType = ... # 37
113
+ RESULT_VARIABLE_MACH_NUMBER: ResultVariable.ValueType = ... # 38
114
+ RESULT_VARIABLE_ELECTRIC_FIELD: ResultVariable.ValueType = ... # 39
115
+ RESULT_VARIABLE_MAGNETIC_FIELD: ResultVariable.ValueType = ... # 40
116
+ RESULT_VARIABLE_CONNECTION_FACTOR_OF_SAFETY: ResultVariable.ValueType = ... # 41
117
+ RESULT_VARIABLE_AXIAL_STRESS: ResultVariable.ValueType = ... # 42
118
+ RESULT_VARIABLE_TORSIONAL_MOMENT: ResultVariable.ValueType = ... # 43
119
+ RESULT_VARIABLE_SHEAR_FORCE: ResultVariable.ValueType = ... # 44
120
+ RESULT_VARIABLE_ANTENNA_PARAMETERS: ResultVariable.ValueType = ... # 45
121
+ RESULT_VARIABLE_OPERATING_PRESSURE: ResultVariable.ValueType = ... # 46
122
+ RESULT_VARIABLE_RADIATIVE_HEAT_FLUX: ResultVariable.ValueType = ... # 47
123
+ RESULT_VARIABLE_VOLTAGE: ResultVariable.ValueType = ... # 48
124
+ RESULT_VARIABLE_CURRENT_DENSITY: ResultVariable.ValueType = ... # 49
125
+ RESULT_VARIABLE_JOULE_HEAT: ResultVariable.ValueType = ... # 50
126
+ global___ResultVariable = ResultVariable
127
+
128
+
129
+ class _ResultFunction:
130
+ ValueType = typing.NewType('ValueType', builtins.int)
131
+ V: typing_extensions.TypeAlias = ValueType
132
+ class _ResultFunctionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResultFunction.ValueType], builtins.type):
133
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
134
+ RESULT_FUNCTION_UNSPECIFIED: ResultFunction.ValueType = ... # 0
135
+ RESULT_FUNCTION_MINIMUM: ResultFunction.ValueType = ... # 1
136
+ RESULT_FUNCTION_MAXIMUM: ResultFunction.ValueType = ... # 2
137
+ RESULT_FUNCTION_AVERAGE: ResultFunction.ValueType = ... # 3
138
+ RESULT_FUNCTION_SUM: ResultFunction.ValueType = ... # 4
139
+ RESULT_FUNCTION_INTEGRAL: ResultFunction.ValueType = ... # 5
140
+ RESULT_FUNCTION_STANDARD_DEVIATION: ResultFunction.ValueType = ... # 6
141
+ class ResultFunction(_ResultFunction, metaclass=_ResultFunctionEnumTypeWrapper):
142
+ pass
143
+
144
+ RESULT_FUNCTION_UNSPECIFIED: ResultFunction.ValueType = ... # 0
145
+ RESULT_FUNCTION_MINIMUM: ResultFunction.ValueType = ... # 1
146
+ RESULT_FUNCTION_MAXIMUM: ResultFunction.ValueType = ... # 2
147
+ RESULT_FUNCTION_AVERAGE: ResultFunction.ValueType = ... # 3
148
+ RESULT_FUNCTION_SUM: ResultFunction.ValueType = ... # 4
149
+ RESULT_FUNCTION_INTEGRAL: ResultFunction.ValueType = ... # 5
150
+ RESULT_FUNCTION_STANDARD_DEVIATION: ResultFunction.ValueType = ... # 6
151
+ global___ResultFunction = ResultFunction
152
+
153
+
154
+ class _ResultComponent:
155
+ ValueType = typing.NewType('ValueType', builtins.int)
156
+ V: typing_extensions.TypeAlias = ValueType
157
+ class _ResultComponentEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResultComponent.ValueType], builtins.type):
158
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
159
+ RESULT_COMPONENT_UNSPECIFIED: ResultComponent.ValueType = ... # 0
160
+ RESULT_COMPONENT_NONE: ResultComponent.ValueType = ... # 1
161
+ RESULT_COMPONENT_X: ResultComponent.ValueType = ... # 2
162
+ RESULT_COMPONENT_Y: ResultComponent.ValueType = ... # 3
163
+ RESULT_COMPONENT_Z: ResultComponent.ValueType = ... # 4
164
+ RESULT_COMPONENT_XX: ResultComponent.ValueType = ... # 5
165
+ RESULT_COMPONENT_YY: ResultComponent.ValueType = ... # 6
166
+ RESULT_COMPONENT_ZZ: ResultComponent.ValueType = ... # 7
167
+ RESULT_COMPONENT_YZ: ResultComponent.ValueType = ... # 8
168
+ RESULT_COMPONENT_XY: ResultComponent.ValueType = ... # 9
169
+ RESULT_COMPONENT_XZ: ResultComponent.ValueType = ... # 10
170
+ RESULT_COMPONENT_MAG: ResultComponent.ValueType = ... # 11
171
+ RESULT_COMPONENT_FIRST: ResultComponent.ValueType = ... # 12
172
+ RESULT_COMPONENT_SECOND: ResultComponent.ValueType = ... # 13
173
+ RESULT_COMPONENT_THIRD: ResultComponent.ValueType = ... # 14
174
+ RESULT_COMPONENT_VELOCITY: ResultComponent.ValueType = ... # 15
175
+ RESULT_COMPONENT_TEMPERATURE: ResultComponent.ValueType = ... # 16
176
+ RESULT_COMPONENT_REAL: ResultComponent.ValueType = ... # 17
177
+ RESULT_COMPONENT_IMAGINARY: ResultComponent.ValueType = ... # 18
178
+ RESULT_COMPONENT_PHASE: ResultComponent.ValueType = ... # 19
179
+ RESULT_COMPONENT_LOGARITHMIC_MAG: ResultComponent.ValueType = ... # 20
180
+ RESULT_COMPONENT_CONJUGATE_PHASE: ResultComponent.ValueType = ... # 21
181
+ RESULT_COMPONENT_TOTAL: ResultComponent.ValueType = ... # 22
182
+ RESULT_COMPONENT_L3X: ResultComponent.ValueType = ... # 23
183
+ RESULT_COMPONENT_L3Y: ResultComponent.ValueType = ... # 24
184
+ RESULT_COMPONENT_RHCP: ResultComponent.ValueType = ... # 25
185
+ RESULT_COMPONENT_LHCP: ResultComponent.ValueType = ... # 26
186
+ RESULT_COMPONENT_THETA: ResultComponent.ValueType = ... # 27
187
+ RESULT_COMPONENT_PHI: ResultComponent.ValueType = ... # 28
188
+ class ResultComponent(_ResultComponent, metaclass=_ResultComponentEnumTypeWrapper):
189
+ pass
190
+
191
+ RESULT_COMPONENT_UNSPECIFIED: ResultComponent.ValueType = ... # 0
192
+ RESULT_COMPONENT_NONE: ResultComponent.ValueType = ... # 1
193
+ RESULT_COMPONENT_X: ResultComponent.ValueType = ... # 2
194
+ RESULT_COMPONENT_Y: ResultComponent.ValueType = ... # 3
195
+ RESULT_COMPONENT_Z: ResultComponent.ValueType = ... # 4
196
+ RESULT_COMPONENT_XX: ResultComponent.ValueType = ... # 5
197
+ RESULT_COMPONENT_YY: ResultComponent.ValueType = ... # 6
198
+ RESULT_COMPONENT_ZZ: ResultComponent.ValueType = ... # 7
199
+ RESULT_COMPONENT_YZ: ResultComponent.ValueType = ... # 8
200
+ RESULT_COMPONENT_XY: ResultComponent.ValueType = ... # 9
201
+ RESULT_COMPONENT_XZ: ResultComponent.ValueType = ... # 10
202
+ RESULT_COMPONENT_MAG: ResultComponent.ValueType = ... # 11
203
+ RESULT_COMPONENT_FIRST: ResultComponent.ValueType = ... # 12
204
+ RESULT_COMPONENT_SECOND: ResultComponent.ValueType = ... # 13
205
+ RESULT_COMPONENT_THIRD: ResultComponent.ValueType = ... # 14
206
+ RESULT_COMPONENT_VELOCITY: ResultComponent.ValueType = ... # 15
207
+ RESULT_COMPONENT_TEMPERATURE: ResultComponent.ValueType = ... # 16
208
+ RESULT_COMPONENT_REAL: ResultComponent.ValueType = ... # 17
209
+ RESULT_COMPONENT_IMAGINARY: ResultComponent.ValueType = ... # 18
210
+ RESULT_COMPONENT_PHASE: ResultComponent.ValueType = ... # 19
211
+ RESULT_COMPONENT_LOGARITHMIC_MAG: ResultComponent.ValueType = ... # 20
212
+ RESULT_COMPONENT_CONJUGATE_PHASE: ResultComponent.ValueType = ... # 21
213
+ RESULT_COMPONENT_TOTAL: ResultComponent.ValueType = ... # 22
214
+ RESULT_COMPONENT_L3X: ResultComponent.ValueType = ... # 23
215
+ RESULT_COMPONENT_L3Y: ResultComponent.ValueType = ... # 24
216
+ RESULT_COMPONENT_RHCP: ResultComponent.ValueType = ... # 25
217
+ RESULT_COMPONENT_LHCP: ResultComponent.ValueType = ... # 26
218
+ RESULT_COMPONENT_THETA: ResultComponent.ValueType = ... # 27
219
+ RESULT_COMPONENT_PHI: ResultComponent.ValueType = ... # 28
220
+ global___ResultComponent = ResultComponent
221
+
222
+
223
+ class CreateMonitorRequest(google.protobuf.message.Message):
224
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
225
+ CREATION_DATA_FIELD_NUMBER: builtins.int
226
+ MONITOR_FIELD_NUMBER: builtins.int
227
+ @property
228
+ def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData:
229
+ """The monitor id"""
230
+ pass
231
+ @property
232
+ def monitor(self) -> global___MonitorProperties: ...
233
+ def __init__(self,
234
+ *,
235
+ creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
236
+ monitor : typing.Optional[global___MonitorProperties] = ...,
237
+ ) -> None: ...
238
+ def HasField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","monitor",b"monitor"]) -> builtins.bool: ...
239
+ def ClearField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","monitor",b"monitor"]) -> None: ...
240
+ global___CreateMonitorRequest = CreateMonitorRequest
241
+
242
+ class MonitorCreationResponse(google.protobuf.message.Message):
243
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
244
+ MONITOR_RESPONSE_FIELD_NUMBER: builtins.int
245
+ MONITOR_FIELD_NUMBER: builtins.int
246
+ @property
247
+ def monitor_response(self) -> ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse:
248
+ """Creation response"""
249
+ pass
250
+ @property
251
+ def monitor(self) -> global___MonitorDefinition:
252
+ """Monitor definition"""
253
+ pass
254
+ def __init__(self,
255
+ *,
256
+ monitor_response : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse] = ...,
257
+ monitor : typing.Optional[global___MonitorDefinition] = ...,
258
+ ) -> None: ...
259
+ def HasField(self, field_name: typing_extensions.Literal["monitor",b"monitor","monitor_response",b"monitor_response"]) -> builtins.bool: ...
260
+ def ClearField(self, field_name: typing_extensions.Literal["monitor",b"monitor","monitor_response",b"monitor_response"]) -> None: ...
261
+ global___MonitorCreationResponse = MonitorCreationResponse
262
+
263
+ class MonitorProperties(google.protobuf.message.Message):
264
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
265
+ RESULT_VARIABLE_FIELD_NUMBER: builtins.int
266
+ RESULT_FUNCTION_FIELD_NUMBER: builtins.int
267
+ RESULT_COMPONENT_FIELD_NUMBER: builtins.int
268
+ LOCATIONS_SECONDARY_FIELD_NUMBER: builtins.int
269
+ result_variable: global___ResultVariable.ValueType = ...
270
+ result_function: global___ResultFunction.ValueType = ...
271
+ result_component: global___ResultComponent.ValueType = ...
272
+ @property
273
+ def locations_secondary(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
274
+ def __init__(self,
275
+ *,
276
+ result_variable : global___ResultVariable.ValueType = ...,
277
+ result_function : global___ResultFunction.ValueType = ...,
278
+ result_component : typing.Optional[global___ResultComponent.ValueType] = ...,
279
+ locations_secondary : typing.Optional[typing.Iterable[typing.Text]] = ...,
280
+ ) -> None: ...
281
+ def HasField(self, field_name: typing_extensions.Literal["_result_component",b"_result_component","result_component",b"result_component"]) -> builtins.bool: ...
282
+ def ClearField(self, field_name: typing_extensions.Literal["_result_component",b"_result_component","locations_secondary",b"locations_secondary","result_component",b"result_component","result_function",b"result_function","result_variable",b"result_variable"]) -> None: ...
283
+ def WhichOneof(self, oneof_group: typing_extensions.Literal["_result_component",b"_result_component"]) -> typing.Optional[typing_extensions.Literal["result_component"]]: ...
284
+ global___MonitorProperties = MonitorProperties
285
+
286
+ class MonitorDefinition(google.protobuf.message.Message):
287
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
288
+ ID_FIELD_NUMBER: builtins.int
289
+ LABEL_FIELD_NUMBER: builtins.int
290
+ LOCATIONS_FIELD_NUMBER: builtins.int
291
+ MONITOR_FIELD_NUMBER: builtins.int
292
+ id: typing.Text = ...
293
+ label: typing.Text = ...
294
+ @property
295
+ def locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
296
+ @property
297
+ def monitor(self) -> global___MonitorProperties: ...
298
+ def __init__(self,
299
+ *,
300
+ id : typing.Text = ...,
301
+ label : typing.Text = ...,
302
+ locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
303
+ monitor : typing.Optional[global___MonitorProperties] = ...,
304
+ ) -> None: ...
305
+ def HasField(self, field_name: typing_extensions.Literal["monitor",b"monitor"]) -> builtins.bool: ...
306
+ def ClearField(self, field_name: typing_extensions.Literal["id",b"id","label",b"label","locations",b"locations","monitor",b"monitor"]) -> None: ...
307
+ global___MonitorDefinition = MonitorDefinition
@@ -0,0 +1,67 @@
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 import monitors_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_monitors__pb2
6
+
7
+
8
+ class MonitorsStub(object):
9
+ """Missing associated documentation comment in .proto file."""
10
+
11
+ def __init__(self, channel):
12
+ """Constructor.
13
+
14
+ Args:
15
+ channel: A grpc.Channel.
16
+ """
17
+ self.CreateMonitor = channel.unary_unary(
18
+ '/ansys.api.discovery.v0.monitors.Monitors/CreateMonitor',
19
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_monitors__pb2.CreateMonitorRequest.SerializeToString,
20
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_monitors__pb2.MonitorCreationResponse.FromString,
21
+ )
22
+
23
+
24
+ class MonitorsServicer(object):
25
+ """Missing associated documentation comment in .proto file."""
26
+
27
+ def CreateMonitor(self, request, context):
28
+ """Creates a new monitor
29
+ """
30
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
31
+ context.set_details('Method not implemented!')
32
+ raise NotImplementedError('Method not implemented!')
33
+
34
+
35
+ def add_MonitorsServicer_to_server(servicer, server):
36
+ rpc_method_handlers = {
37
+ 'CreateMonitor': grpc.unary_unary_rpc_method_handler(
38
+ servicer.CreateMonitor,
39
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_monitors__pb2.CreateMonitorRequest.FromString,
40
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_monitors__pb2.MonitorCreationResponse.SerializeToString,
41
+ ),
42
+ }
43
+ generic_handler = grpc.method_handlers_generic_handler(
44
+ 'ansys.api.discovery.v0.monitors.Monitors', rpc_method_handlers)
45
+ server.add_generic_rpc_handlers((generic_handler,))
46
+
47
+
48
+ # This class is part of an EXPERIMENTAL API.
49
+ class Monitors(object):
50
+ """Missing associated documentation comment in .proto file."""
51
+
52
+ @staticmethod
53
+ def CreateMonitor(request,
54
+ target,
55
+ options=(),
56
+ channel_credentials=None,
57
+ call_credentials=None,
58
+ insecure=False,
59
+ compression=None,
60
+ wait_for_ready=None,
61
+ timeout=None,
62
+ metadata=None):
63
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.monitors.Monitors/CreateMonitor',
64
+ ansys_dot_api_dot_discovery_dot_v0_dot_monitors__pb2.CreateMonitorRequest.SerializeToString,
65
+ ansys_dot_api_dot_discovery_dot_v0_dot_monitors__pb2.MonitorCreationResponse.FromString,
66
+ options, channel_credentials,
67
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,27 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+ import abc
6
+ import ansys.api.discovery.v0.monitors_pb2
7
+ import grpc
8
+
9
+ class MonitorsStub:
10
+ def __init__(self, channel: grpc.Channel) -> None: ...
11
+ CreateMonitor: grpc.UnaryUnaryMultiCallable[
12
+ ansys.api.discovery.v0.monitors_pb2.CreateMonitorRequest,
13
+ ansys.api.discovery.v0.monitors_pb2.MonitorCreationResponse] = ...
14
+ """Creates a new monitor"""
15
+
16
+
17
+ class MonitorsServicer(metaclass=abc.ABCMeta):
18
+ @abc.abstractmethod
19
+ def CreateMonitor(self,
20
+ request: ansys.api.discovery.v0.monitors_pb2.CreateMonitorRequest,
21
+ context: grpc.ServicerContext,
22
+ ) -> ansys.api.discovery.v0.monitors_pb2.MonitorCreationResponse:
23
+ """Creates a new monitor"""
24
+ pass
25
+
26
+
27
+ def add_MonitorsServicer_to_server(servicer: MonitorsServicer, server: grpc.Server) -> None: ...
@@ -30,8 +30,9 @@ message SolverFidelityResponse{
30
30
 
31
31
  message SolveExecutionRequest{
32
32
  string simulation_id = 1;
33
- Stage stage = 2;
33
+ SolverManager solver_manager = 2;
34
34
  bool execute_remotely =3;
35
+ repeated string variation_id_list = 4;
35
36
  }
36
37
 
37
38
  message SolveExecutionResponse{
@@ -39,7 +40,7 @@ message SolveExecutionResponse{
39
40
  string message = 2;
40
41
  }
41
42
 
42
- enum Stage {
43
- EXPLORE = 0;
44
- REFINE = 1;
43
+ enum SolverManager {
44
+ ARTEMIS= 0;
45
+ APOLLO = 1;
45
46
  }
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
14
14
  from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ansys/api/discovery/v0/solution.proto\x12\x1f\x61nsys.api.discovery.v0.solution\x1a\x1bgoogle/protobuf/empty.proto\"y\n\x15SolverFidelityRequest\x12Q\n\x10simulation_stage\x18\x01 \x01(\x0b\x32\x37.ansys.api.discovery.v0.solution.SimulationStageRequest\x12\r\n\x05value\x18\x02 \x01(\x01\";\n\x16SimulationStageRequest\x12\x12\n\nsimulation\x18\x01 \x01(\t\x12\r\n\x05stage\x18\x02 \x01(\t\"\'\n\x16SolverFidelityResponse\x12\r\n\x05value\x18\x01 \x01(\x01\"\x7f\n\x15SolveExecutionRequest\x12\x15\n\rsimulation_id\x18\x01 \x01(\t\x12\x35\n\x05stage\x18\x02 \x01(\x0e\x32&.ansys.api.discovery.v0.solution.Stage\x12\x18\n\x10\x65xecute_remotely\x18\x03 \x01(\x08\":\n\x16SolveExecutionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\t* \n\x05Stage\x12\x0b\n\x07\x45XPLORE\x10\x00\x12\n\n\x06REFINE\x10\x01\x32\xf1\x02\n\x08Solution\x12\x85\x01\n\x11GetSolverFidelity\x12\x37.ansys.api.discovery.v0.solution.SimulationStageRequest\x1a\x37.ansys.api.discovery.v0.solution.SolverFidelityResponse\x12\x63\n\x11SetSolverFidelity\x12\x36.ansys.api.discovery.v0.solution.SolverFidelityRequest\x1a\x16.google.protobuf.Empty\x12x\n\x05Solve\x12\x36.ansys.api.discovery.v0.solution.SolveExecutionRequest\x1a\x37.ansys.api.discovery.v0.solution.SolveExecutionResponseB\"\xaa\x02\x1f\x41nsys.Api.Discovery.V0.Solutionb\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ansys/api/discovery/v0/solution.proto\x12\x1f\x61nsys.api.discovery.v0.solution\x1a\x1bgoogle/protobuf/empty.proto\"y\n\x15SolverFidelityRequest\x12Q\n\x10simulation_stage\x18\x01 \x01(\x0b\x32\x37.ansys.api.discovery.v0.solution.SimulationStageRequest\x12\r\n\x05value\x18\x02 \x01(\x01\";\n\x16SimulationStageRequest\x12\x12\n\nsimulation\x18\x01 \x01(\t\x12\r\n\x05stage\x18\x02 \x01(\t\"\'\n\x16SolverFidelityResponse\x12\r\n\x05value\x18\x01 \x01(\x01\"\xab\x01\n\x15SolveExecutionRequest\x12\x15\n\rsimulation_id\x18\x01 \x01(\t\x12\x46\n\x0esolver_manager\x18\x02 \x01(\x0e\x32..ansys.api.discovery.v0.solution.SolverManager\x12\x18\n\x10\x65xecute_remotely\x18\x03 \x01(\x08\x12\x19\n\x11variation_id_list\x18\x04 \x03(\t\":\n\x16SolveExecutionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\t*(\n\rSolverManager\x12\x0b\n\x07\x41RTEMIS\x10\x00\x12\n\n\x06\x41POLLO\x10\x01\x32\xf1\x02\n\x08Solution\x12\x85\x01\n\x11GetSolverFidelity\x12\x37.ansys.api.discovery.v0.solution.SimulationStageRequest\x1a\x37.ansys.api.discovery.v0.solution.SolverFidelityResponse\x12\x63\n\x11SetSolverFidelity\x12\x36.ansys.api.discovery.v0.solution.SolverFidelityRequest\x1a\x16.google.protobuf.Empty\x12x\n\x05Solve\x12\x36.ansys.api.discovery.v0.solution.SolveExecutionRequest\x1a\x37.ansys.api.discovery.v0.solution.SolveExecutionResponseB\"\xaa\x02\x1f\x41nsys.Api.Discovery.V0.Solutionb\x06proto3')
18
18
 
19
19
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
20
20
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.solution_pb2', globals())
@@ -22,18 +22,18 @@ if _descriptor._USE_C_DESCRIPTORS == False:
22
22
 
23
23
  DESCRIPTOR._options = None
24
24
  DESCRIPTOR._serialized_options = b'\252\002\037Ansys.Api.Discovery.V0.Solution'
25
- _STAGE._serialized_start=517
26
- _STAGE._serialized_end=549
25
+ _SOLVERMANAGER._serialized_start=562
26
+ _SOLVERMANAGER._serialized_end=602
27
27
  _SOLVERFIDELITYREQUEST._serialized_start=103
28
28
  _SOLVERFIDELITYREQUEST._serialized_end=224
29
29
  _SIMULATIONSTAGEREQUEST._serialized_start=226
30
30
  _SIMULATIONSTAGEREQUEST._serialized_end=285
31
31
  _SOLVERFIDELITYRESPONSE._serialized_start=287
32
32
  _SOLVERFIDELITYRESPONSE._serialized_end=326
33
- _SOLVEEXECUTIONREQUEST._serialized_start=328
34
- _SOLVEEXECUTIONREQUEST._serialized_end=455
35
- _SOLVEEXECUTIONRESPONSE._serialized_start=457
36
- _SOLVEEXECUTIONRESPONSE._serialized_end=515
37
- _SOLUTION._serialized_start=552
38
- _SOLUTION._serialized_end=921
33
+ _SOLVEEXECUTIONREQUEST._serialized_start=329
34
+ _SOLVEEXECUTIONREQUEST._serialized_end=500
35
+ _SOLVEEXECUTIONRESPONSE._serialized_start=502
36
+ _SOLVEEXECUTIONRESPONSE._serialized_end=560
37
+ _SOLUTION._serialized_start=605
38
+ _SOLUTION._serialized_end=974
39
39
  # @@protoc_insertion_point(module_scope)