ansys-api-discovery 0.5.2__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 (53) hide show
  1. ansys/api/discovery/VERSION +1 -1
  2. ansys/api/discovery/v0/conditions.proto +11 -46
  3. ansys/api/discovery/v0/conditions_pb2.py +12 -70
  4. ansys/api/discovery/v0/conditions_pb2.pyi +16 -88
  5. ansys/api/discovery/v0/conditions_pb2_grpc.py +40 -139
  6. ansys/api/discovery/v0/conditions_pb2_grpc.pyi +20 -50
  7. ansys/api/discovery/v0/conditionsfluid.proto +246 -0
  8. ansys/api/discovery/v0/conditionsfluid_pb2.py +85 -0
  9. ansys/api/discovery/v0/conditionsfluid_pb2.pyi +590 -0
  10. ansys/api/discovery/v0/conditionsfluid_pb2_grpc.py +662 -0
  11. ansys/api/discovery/v0/conditionsfluid_pb2_grpc.pyi +208 -0
  12. ansys/api/discovery/v0/conditionsstructural.proto +407 -0
  13. ansys/api/discovery/v0/conditionsstructural_pb2.py +113 -0
  14. ansys/api/discovery/v0/conditionsstructural_pb2.pyi +839 -0
  15. ansys/api/discovery/v0/conditionsstructural_pb2_grpc.py +2746 -0
  16. ansys/api/discovery/v0/conditionsstructural_pb2_grpc.pyi +854 -0
  17. ansys/api/discovery/v0/conditionsthermal.proto +179 -0
  18. ansys/api/discovery/v0/conditionsthermal_pb2.py +63 -0
  19. ansys/api/discovery/v0/conditionsthermal_pb2.pyi +399 -0
  20. ansys/api/discovery/v0/conditionsthermal_pb2_grpc.py +665 -0
  21. ansys/api/discovery/v0/conditionsthermal_pb2_grpc.pyi +217 -0
  22. ansys/api/discovery/v0/definedvariationstable.proto +12 -0
  23. ansys/api/discovery/v0/definedvariationstable_pb2.py +12 -116
  24. ansys/api/discovery/v0/definedvariationstable_pb2.pyi +16 -0
  25. ansys/api/discovery/v0/definedvariationstable_pb2_grpc.py +68 -0
  26. ansys/api/discovery/v0/definedvariationstable_pb2_grpc.pyi +26 -0
  27. ansys/api/discovery/v0/discoverymodels.proto +91 -25
  28. ansys/api/discovery/v0/discoverymodels_pb2.py +59 -211
  29. ansys/api/discovery/v0/discoverymodels_pb2.pyi +264 -50
  30. ansys/api/discovery/v0/historytrackparameters_pb2.py +3 -50
  31. ansys/api/discovery/v0/messaging.proto +0 -2
  32. ansys/api/discovery/v0/messaging_pb2.py +8 -20
  33. ansys/api/discovery/v0/monitors.proto +137 -0
  34. ansys/api/discovery/v0/monitors_pb2.py +42 -0
  35. ansys/api/discovery/v0/monitors_pb2.pyi +307 -0
  36. ansys/api/discovery/v0/monitors_pb2_grpc.py +67 -0
  37. ansys/api/discovery/v0/monitors_pb2_grpc.pyi +27 -0
  38. ansys/api/discovery/v0/scriptparameters_pb2.py +3 -37
  39. ansys/api/discovery/v0/simulations.proto +0 -1
  40. ansys/api/discovery/v0/simulations_pb2.py +8 -19
  41. ansys/api/discovery/v0/solution.proto +19 -2
  42. ansys/api/discovery/v0/solution_pb2.py +18 -40
  43. ansys/api/discovery/v0/solution_pb2.pyi +53 -0
  44. ansys/api/discovery/v0/solution_pb2_grpc.py +33 -0
  45. ansys/api/discovery/v0/solution_pb2_grpc.pyi +10 -0
  46. ansys/api/discovery/v0/units_pb2.py +3 -1232
  47. {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.1.dist-info}/METADATA +8 -8
  48. ansys_api_discovery-0.6.1.dist-info/RECORD +75 -0
  49. {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.1.dist-info}/WHEEL +1 -1
  50. ansys_api_discovery-0.5.2.dist-info/RECORD +0 -55
  51. {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.1.dist-info}/LICENSE +0 -0
  52. {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.1.dist-info}/entry_points.txt +0 -0
  53. {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.1.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
1
- 0.5.2
1
+ 0.6.1
@@ -2,66 +2,31 @@
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.conditions;
4
4
 
5
- import "ansys/api/dbu/v0/dbumodels.proto";
6
5
  import "ansys/api/discovery/v0/discoverymodels.proto";
7
- import "google/protobuf/empty.proto";
8
6
 
9
7
  option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
10
8
 
11
9
  service Conditions
12
10
  {
13
- //Heat methods
14
- rpc CreateHeat(HeatCreationRequest) returns (Heat);
11
+ //General condition methods
12
+ rpc DeleteCondition(DeleteConditionRequest) returns (ChangeResponse);
15
13
 
16
- rpc ChangeHeatLocation(HeatChangeLocationRequest) returns(ConditionChangedResponse);
14
+ rpc ChangeConditionSuppressionState(ChangeConditionSuppressionStateRequest) returns (ChangeResponse);
17
15
 
18
- rpc ChangeTotalHeat(ChangeQuantityRequest) returns(ConditionChangedResponse);
19
-
20
- rpc ChangeHeatPerUnitVolume(ChangeQuantityRequest) returns(ConditionChangedResponse);
21
-
22
- rpc ChangeHeatPerUnitArea(ChangeQuantityRequest) returns(ConditionChangedResponse);
23
-
24
- rpc ChangeHeatSpecification(HeatSpecificationRequest) returns(ConditionChangedResponse);
16
+ rpc ChangeConditionName(ChangeConditionNameRequest) returns (ChangeResponse);
25
17
  }
26
18
 
27
- message ChangeLocationRequest{
19
+ //General Requests
20
+ message DeleteConditionRequest{
28
21
  string object_id = 1;
29
- repeated string locations = 2;
30
22
  }
31
23
 
32
- message ChangeQuantityRequest{
24
+ message ChangeConditionSuppressionStateRequest{
33
25
  string object_id = 1;
34
- QuantityType quantity_type = 2;
35
- double quantity_value = 3;
36
- int32 unit = 4;
26
+ bool is_suppressed = 2;
37
27
  }
38
28
 
39
- message ConditionChangedResponse {
40
- bool success = 1;
41
- }
42
-
43
- //Heat methods
44
-
45
- message HeatSpecificationRequest {
29
+ message ChangeConditionNameRequest{
46
30
  string object_id = 1;
47
- HeatSpecification heat_specifcation = 2;
48
- }
49
-
50
- message HeatChangeLocationRequest
51
- {
52
- ChangeLocationRequest change_locationrequest = 1;
53
- LocationSpecification location_specification = 2;
54
- }
55
-
56
- // Inputs for heat creation
57
- message HeatCreationRequest {
58
- string simulation = 1;
59
- LocationSpecification location_specification = 2;
60
- repeated string locations = 3;
61
- HeatSpecification heat_specifcation = 4;
62
- QuantityType quantity_type = 5;
63
- double quantity_value = 6;
64
- int32 unit = 7;
65
- }
66
-
67
-
31
+ string new_name = 2;
32
+ }
@@ -2,90 +2,32 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # source: ansys/api/discovery/v0/conditions.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
 
12
11
  _sym_db = _symbol_database.Default()
13
12
 
14
13
 
15
- from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2
16
14
  from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
17
- from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
18
15
 
19
16
 
20
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'ansys/api/discovery/v0/conditions.proto\x12!ansys.api.discovery.v0.conditions\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\x1a\x1bgoogle/protobuf/empty.proto\"=\n\x15\x43hangeLocationRequest\x12\x11\n\tobject_id\x18\x01 \x01(\t\x12\x11\n\tlocations\x18\x02 \x03(\t\"\x8d\x01\n\x15\x43hangeQuantityRequest\x12\x11\n\tobject_id\x18\x01 \x01(\t\x12;\n\rquantity_type\x18\x02 \x01(\x0e\x32$.ansys.api.discovery.v0.QuantityType\x12\x16\n\x0equantity_value\x18\x03 \x01(\x01\x12\x0c\n\x04unit\x18\x04 \x01(\x05\"+\n\x18\x43onditionChangedResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"s\n\x18HeatSpecificationRequest\x12\x11\n\tobject_id\x18\x01 \x01(\t\x12\x44\n\x11heat_specifcation\x18\x02 \x01(\x0e\x32).ansys.api.discovery.v0.HeatSpecification\"\xc4\x01\n\x19HeatChangeLocationRequest\x12X\n\x16\x63hange_locationrequest\x18\x01 \x01(\x0b\x32\x38.ansys.api.discovery.v0.conditions.ChangeLocationRequest\x12M\n\x16location_specification\x18\x02 \x01(\x0e\x32-.ansys.api.discovery.v0.LocationSpecification\"\xb4\x02\n\x13HeatCreationRequest\x12\x12\n\nsimulation\x18\x01 \x01(\t\x12M\n\x16location_specification\x18\x02 \x01(\x0e\x32-.ansys.api.discovery.v0.LocationSpecification\x12\x11\n\tlocations\x18\x03 \x03(\t\x12\x44\n\x11heat_specifcation\x18\x04 \x01(\x0e\x32).ansys.api.discovery.v0.HeatSpecification\x12;\n\rquantity_type\x18\x05 \x01(\x0e\x32$.ansys.api.discovery.v0.QuantityType\x12\x16\n\x0equantity_value\x18\x06 \x01(\x01\x12\x0c\n\x04unit\x18\x07 \x01(\x05\x32\xc7\x06\n\nConditions\x12\x62\n\nCreateHeat\x12\x36.ansys.api.discovery.v0.conditions.HeatCreationRequest\x1a\x1c.ansys.api.discovery.v0.Heat\x12\x8f\x01\n\x12\x43hangeHeatLocation\x12<.ansys.api.discovery.v0.conditions.HeatChangeLocationRequest\x1a;.ansys.api.discovery.v0.conditions.ConditionChangedResponse\x12\x88\x01\n\x0f\x43hangeTotalHeat\x12\x38.ansys.api.discovery.v0.conditions.ChangeQuantityRequest\x1a;.ansys.api.discovery.v0.conditions.ConditionChangedResponse\x12\x90\x01\n\x17\x43hangeHeatPerUnitVolume\x12\x38.ansys.api.discovery.v0.conditions.ChangeQuantityRequest\x1a;.ansys.api.discovery.v0.conditions.ConditionChangedResponse\x12\x8e\x01\n\x15\x43hangeHeatPerUnitArea\x12\x38.ansys.api.discovery.v0.conditions.ChangeQuantityRequest\x1a;.ansys.api.discovery.v0.conditions.ConditionChangedResponse\x12\x93\x01\n\x17\x43hangeHeatSpecification\x12;.ansys.api.discovery.v0.conditions.HeatSpecificationRequest\x1a;.ansys.api.discovery.v0.conditions.ConditionChangedResponseB$\xaa\x02!Ansys.Api.Discovery.V0.Conditionsb\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'ansys/api/discovery/v0/conditions.proto\x12!ansys.api.discovery.v0.conditions\x1a,ansys/api/discovery/v0/discoverymodels.proto\"+\n\x16\x44\x65leteConditionRequest\x12\x11\n\tobject_id\x18\x01 \x01(\t\"R\n&ChangeConditionSuppressionStateRequest\x12\x11\n\tobject_id\x18\x01 \x01(\t\x12\x15\n\ris_suppressed\x18\x02 \x01(\x08\"A\n\x1a\x43hangeConditionNameRequest\x12\x11\n\tobject_id\x18\x01 \x01(\t\x12\x10\n\x08new_name\x18\x02 \x01(\t2\x97\x03\n\nConditions\x12t\n\x0f\x44\x65leteCondition\x12\x39.ansys.api.discovery.v0.conditions.DeleteConditionRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x94\x01\n\x1f\x43hangeConditionSuppressionState\x12I.ansys.api.discovery.v0.conditions.ChangeConditionSuppressionStateRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12|\n\x13\x43hangeConditionName\x12=.ansys.api.discovery.v0.conditions.ChangeConditionNameRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB$\xaa\x02!Ansys.Api.Discovery.V0.Conditionsb\x06proto3')
21
18
 
22
-
23
-
24
- _CHANGELOCATIONREQUEST = DESCRIPTOR.message_types_by_name['ChangeLocationRequest']
25
- _CHANGEQUANTITYREQUEST = DESCRIPTOR.message_types_by_name['ChangeQuantityRequest']
26
- _CONDITIONCHANGEDRESPONSE = DESCRIPTOR.message_types_by_name['ConditionChangedResponse']
27
- _HEATSPECIFICATIONREQUEST = DESCRIPTOR.message_types_by_name['HeatSpecificationRequest']
28
- _HEATCHANGELOCATIONREQUEST = DESCRIPTOR.message_types_by_name['HeatChangeLocationRequest']
29
- _HEATCREATIONREQUEST = DESCRIPTOR.message_types_by_name['HeatCreationRequest']
30
- ChangeLocationRequest = _reflection.GeneratedProtocolMessageType('ChangeLocationRequest', (_message.Message,), {
31
- 'DESCRIPTOR' : _CHANGELOCATIONREQUEST,
32
- '__module__' : 'ansys.api.discovery.v0.conditions_pb2'
33
- # @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.conditions.ChangeLocationRequest)
34
- })
35
- _sym_db.RegisterMessage(ChangeLocationRequest)
36
-
37
- ChangeQuantityRequest = _reflection.GeneratedProtocolMessageType('ChangeQuantityRequest', (_message.Message,), {
38
- 'DESCRIPTOR' : _CHANGEQUANTITYREQUEST,
39
- '__module__' : 'ansys.api.discovery.v0.conditions_pb2'
40
- # @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.conditions.ChangeQuantityRequest)
41
- })
42
- _sym_db.RegisterMessage(ChangeQuantityRequest)
43
-
44
- ConditionChangedResponse = _reflection.GeneratedProtocolMessageType('ConditionChangedResponse', (_message.Message,), {
45
- 'DESCRIPTOR' : _CONDITIONCHANGEDRESPONSE,
46
- '__module__' : 'ansys.api.discovery.v0.conditions_pb2'
47
- # @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.conditions.ConditionChangedResponse)
48
- })
49
- _sym_db.RegisterMessage(ConditionChangedResponse)
50
-
51
- HeatSpecificationRequest = _reflection.GeneratedProtocolMessageType('HeatSpecificationRequest', (_message.Message,), {
52
- 'DESCRIPTOR' : _HEATSPECIFICATIONREQUEST,
53
- '__module__' : 'ansys.api.discovery.v0.conditions_pb2'
54
- # @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.conditions.HeatSpecificationRequest)
55
- })
56
- _sym_db.RegisterMessage(HeatSpecificationRequest)
57
-
58
- HeatChangeLocationRequest = _reflection.GeneratedProtocolMessageType('HeatChangeLocationRequest', (_message.Message,), {
59
- 'DESCRIPTOR' : _HEATCHANGELOCATIONREQUEST,
60
- '__module__' : 'ansys.api.discovery.v0.conditions_pb2'
61
- # @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.conditions.HeatChangeLocationRequest)
62
- })
63
- _sym_db.RegisterMessage(HeatChangeLocationRequest)
64
-
65
- HeatCreationRequest = _reflection.GeneratedProtocolMessageType('HeatCreationRequest', (_message.Message,), {
66
- 'DESCRIPTOR' : _HEATCREATIONREQUEST,
67
- '__module__' : 'ansys.api.discovery.v0.conditions_pb2'
68
- # @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.conditions.HeatCreationRequest)
69
- })
70
- _sym_db.RegisterMessage(HeatCreationRequest)
71
-
72
- _CONDITIONS = DESCRIPTOR.services_by_name['Conditions']
19
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
20
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.conditions_pb2', globals())
73
21
  if _descriptor._USE_C_DESCRIPTORS == False:
74
22
 
75
23
  DESCRIPTOR._options = None
76
24
  DESCRIPTOR._serialized_options = b'\252\002!Ansys.Api.Discovery.V0.Conditions'
77
- _CHANGELOCATIONREQUEST._serialized_start=187
78
- _CHANGELOCATIONREQUEST._serialized_end=248
79
- _CHANGEQUANTITYREQUEST._serialized_start=251
80
- _CHANGEQUANTITYREQUEST._serialized_end=392
81
- _CONDITIONCHANGEDRESPONSE._serialized_start=394
82
- _CONDITIONCHANGEDRESPONSE._serialized_end=437
83
- _HEATSPECIFICATIONREQUEST._serialized_start=439
84
- _HEATSPECIFICATIONREQUEST._serialized_end=554
85
- _HEATCHANGELOCATIONREQUEST._serialized_start=557
86
- _HEATCHANGELOCATIONREQUEST._serialized_end=753
87
- _HEATCREATIONREQUEST._serialized_start=756
88
- _HEATCREATIONREQUEST._serialized_end=1064
89
- _CONDITIONS._serialized_start=1067
90
- _CONDITIONS._serialized_end=1906
25
+ _DELETECONDITIONREQUEST._serialized_start=124
26
+ _DELETECONDITIONREQUEST._serialized_end=167
27
+ _CHANGECONDITIONSUPPRESSIONSTATEREQUEST._serialized_start=169
28
+ _CHANGECONDITIONSUPPRESSIONSTATEREQUEST._serialized_end=251
29
+ _CHANGECONDITIONNAMEREQUEST._serialized_start=253
30
+ _CHANGECONDITIONNAMEREQUEST._serialized_end=318
31
+ _CONDITIONS._serialized_start=321
32
+ _CONDITIONS._serialized_end=728
91
33
  # @@protoc_insertion_point(module_scope)
@@ -2,122 +2,50 @@
2
2
  @generated by mypy-protobuf. Do not edit manually!
3
3
  isort:skip_file
4
4
  """
5
- import ansys.api.discovery.v0.discoverymodels_pb2
6
5
  import builtins
7
6
  import google.protobuf.descriptor
8
- import google.protobuf.internal.containers
9
7
  import google.protobuf.message
10
8
  import typing
11
9
  import typing_extensions
12
10
 
13
11
  DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
14
12
 
15
- class ChangeLocationRequest(google.protobuf.message.Message):
13
+ class DeleteConditionRequest(google.protobuf.message.Message):
14
+ """General Requests"""
16
15
  DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
17
16
  OBJECT_ID_FIELD_NUMBER: builtins.int
18
- LOCATIONS_FIELD_NUMBER: builtins.int
19
17
  object_id: typing.Text = ...
20
- @property
21
- def locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
22
18
  def __init__(self,
23
19
  *,
24
20
  object_id : typing.Text = ...,
25
- locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
26
21
  ) -> None: ...
27
- def ClearField(self, field_name: typing_extensions.Literal["locations",b"locations","object_id",b"object_id"]) -> None: ...
28
- global___ChangeLocationRequest = ChangeLocationRequest
22
+ def ClearField(self, field_name: typing_extensions.Literal["object_id",b"object_id"]) -> None: ...
23
+ global___DeleteConditionRequest = DeleteConditionRequest
29
24
 
30
- class ChangeQuantityRequest(google.protobuf.message.Message):
25
+ class ChangeConditionSuppressionStateRequest(google.protobuf.message.Message):
31
26
  DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
32
27
  OBJECT_ID_FIELD_NUMBER: builtins.int
33
- QUANTITY_TYPE_FIELD_NUMBER: builtins.int
34
- QUANTITY_VALUE_FIELD_NUMBER: builtins.int
35
- UNIT_FIELD_NUMBER: builtins.int
28
+ IS_SUPPRESSED_FIELD_NUMBER: builtins.int
36
29
  object_id: typing.Text = ...
37
- quantity_type: ansys.api.discovery.v0.discoverymodels_pb2.QuantityType.ValueType = ...
38
- quantity_value: builtins.float = ...
39
- unit: builtins.int = ...
30
+ is_suppressed: builtins.bool = ...
40
31
  def __init__(self,
41
32
  *,
42
33
  object_id : typing.Text = ...,
43
- quantity_type : ansys.api.discovery.v0.discoverymodels_pb2.QuantityType.ValueType = ...,
44
- quantity_value : builtins.float = ...,
45
- unit : builtins.int = ...,
34
+ is_suppressed : builtins.bool = ...,
46
35
  ) -> None: ...
47
- def ClearField(self, field_name: typing_extensions.Literal["object_id",b"object_id","quantity_type",b"quantity_type","quantity_value",b"quantity_value","unit",b"unit"]) -> None: ...
48
- global___ChangeQuantityRequest = ChangeQuantityRequest
36
+ def ClearField(self, field_name: typing_extensions.Literal["is_suppressed",b"is_suppressed","object_id",b"object_id"]) -> None: ...
37
+ global___ChangeConditionSuppressionStateRequest = ChangeConditionSuppressionStateRequest
49
38
 
50
- class ConditionChangedResponse(google.protobuf.message.Message):
51
- DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
52
- SUCCESS_FIELD_NUMBER: builtins.int
53
- success: builtins.bool = ...
54
- def __init__(self,
55
- *,
56
- success : builtins.bool = ...,
57
- ) -> None: ...
58
- def ClearField(self, field_name: typing_extensions.Literal["success",b"success"]) -> None: ...
59
- global___ConditionChangedResponse = ConditionChangedResponse
60
-
61
- class HeatSpecificationRequest(google.protobuf.message.Message):
62
- """Heat methods
63
-
64
- """
39
+ class ChangeConditionNameRequest(google.protobuf.message.Message):
65
40
  DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
66
41
  OBJECT_ID_FIELD_NUMBER: builtins.int
67
- HEAT_SPECIFCATION_FIELD_NUMBER: builtins.int
42
+ NEW_NAME_FIELD_NUMBER: builtins.int
68
43
  object_id: typing.Text = ...
69
- heat_specifcation: ansys.api.discovery.v0.discoverymodels_pb2.HeatSpecification.ValueType = ...
44
+ new_name: typing.Text = ...
70
45
  def __init__(self,
71
46
  *,
72
47
  object_id : typing.Text = ...,
73
- heat_specifcation : ansys.api.discovery.v0.discoverymodels_pb2.HeatSpecification.ValueType = ...,
74
- ) -> None: ...
75
- def ClearField(self, field_name: typing_extensions.Literal["heat_specifcation",b"heat_specifcation","object_id",b"object_id"]) -> None: ...
76
- global___HeatSpecificationRequest = HeatSpecificationRequest
77
-
78
- class HeatChangeLocationRequest(google.protobuf.message.Message):
79
- DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
80
- CHANGE_LOCATIONREQUEST_FIELD_NUMBER: builtins.int
81
- LOCATION_SPECIFICATION_FIELD_NUMBER: builtins.int
82
- @property
83
- def change_locationrequest(self) -> global___ChangeLocationRequest: ...
84
- location_specification: ansys.api.discovery.v0.discoverymodels_pb2.LocationSpecification.ValueType = ...
85
- def __init__(self,
86
- *,
87
- change_locationrequest : typing.Optional[global___ChangeLocationRequest] = ...,
88
- location_specification : ansys.api.discovery.v0.discoverymodels_pb2.LocationSpecification.ValueType = ...,
89
- ) -> None: ...
90
- def HasField(self, field_name: typing_extensions.Literal["change_locationrequest",b"change_locationrequest"]) -> builtins.bool: ...
91
- def ClearField(self, field_name: typing_extensions.Literal["change_locationrequest",b"change_locationrequest","location_specification",b"location_specification"]) -> None: ...
92
- global___HeatChangeLocationRequest = HeatChangeLocationRequest
93
-
94
- class HeatCreationRequest(google.protobuf.message.Message):
95
- """Inputs for heat creation"""
96
- DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
97
- SIMULATION_FIELD_NUMBER: builtins.int
98
- LOCATION_SPECIFICATION_FIELD_NUMBER: builtins.int
99
- LOCATIONS_FIELD_NUMBER: builtins.int
100
- HEAT_SPECIFCATION_FIELD_NUMBER: builtins.int
101
- QUANTITY_TYPE_FIELD_NUMBER: builtins.int
102
- QUANTITY_VALUE_FIELD_NUMBER: builtins.int
103
- UNIT_FIELD_NUMBER: builtins.int
104
- simulation: typing.Text = ...
105
- location_specification: ansys.api.discovery.v0.discoverymodels_pb2.LocationSpecification.ValueType = ...
106
- @property
107
- def locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
108
- heat_specifcation: ansys.api.discovery.v0.discoverymodels_pb2.HeatSpecification.ValueType = ...
109
- quantity_type: ansys.api.discovery.v0.discoverymodels_pb2.QuantityType.ValueType = ...
110
- quantity_value: builtins.float = ...
111
- unit: builtins.int = ...
112
- def __init__(self,
113
- *,
114
- simulation : typing.Text = ...,
115
- location_specification : ansys.api.discovery.v0.discoverymodels_pb2.LocationSpecification.ValueType = ...,
116
- locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
117
- heat_specifcation : ansys.api.discovery.v0.discoverymodels_pb2.HeatSpecification.ValueType = ...,
118
- quantity_type : ansys.api.discovery.v0.discoverymodels_pb2.QuantityType.ValueType = ...,
119
- quantity_value : builtins.float = ...,
120
- unit : builtins.int = ...,
48
+ new_name : typing.Text = ...,
121
49
  ) -> None: ...
122
- def ClearField(self, field_name: typing_extensions.Literal["heat_specifcation",b"heat_specifcation","location_specification",b"location_specification","locations",b"locations","quantity_type",b"quantity_type","quantity_value",b"quantity_value","simulation",b"simulation","unit",b"unit"]) -> None: ...
123
- global___HeatCreationRequest = HeatCreationRequest
50
+ def ClearField(self, field_name: typing_extensions.Literal["new_name",b"new_name","object_id",b"object_id"]) -> None: ...
51
+ global___ChangeConditionNameRequest = ChangeConditionNameRequest
@@ -15,73 +15,40 @@ class ConditionsStub(object):
15
15
  Args:
16
16
  channel: A grpc.Channel.
17
17
  """
18
- self.CreateHeat = channel.unary_unary(
19
- '/ansys.api.discovery.v0.conditions.Conditions/CreateHeat',
20
- request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.HeatCreationRequest.SerializeToString,
21
- response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.Heat.FromString,
18
+ self.DeleteCondition = channel.unary_unary(
19
+ '/ansys.api.discovery.v0.conditions.Conditions/DeleteCondition',
20
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.DeleteConditionRequest.SerializeToString,
21
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
22
22
  )
23
- self.ChangeHeatLocation = channel.unary_unary(
24
- '/ansys.api.discovery.v0.conditions.Conditions/ChangeHeatLocation',
25
- request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.HeatChangeLocationRequest.SerializeToString,
26
- response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ConditionChangedResponse.FromString,
23
+ self.ChangeConditionSuppressionState = channel.unary_unary(
24
+ '/ansys.api.discovery.v0.conditions.Conditions/ChangeConditionSuppressionState',
25
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ChangeConditionSuppressionStateRequest.SerializeToString,
26
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
27
27
  )
28
- self.ChangeTotalHeat = channel.unary_unary(
29
- '/ansys.api.discovery.v0.conditions.Conditions/ChangeTotalHeat',
30
- request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ChangeQuantityRequest.SerializeToString,
31
- response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ConditionChangedResponse.FromString,
32
- )
33
- self.ChangeHeatPerUnitVolume = channel.unary_unary(
34
- '/ansys.api.discovery.v0.conditions.Conditions/ChangeHeatPerUnitVolume',
35
- request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ChangeQuantityRequest.SerializeToString,
36
- response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ConditionChangedResponse.FromString,
37
- )
38
- self.ChangeHeatPerUnitArea = channel.unary_unary(
39
- '/ansys.api.discovery.v0.conditions.Conditions/ChangeHeatPerUnitArea',
40
- request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ChangeQuantityRequest.SerializeToString,
41
- response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ConditionChangedResponse.FromString,
42
- )
43
- self.ChangeHeatSpecification = channel.unary_unary(
44
- '/ansys.api.discovery.v0.conditions.Conditions/ChangeHeatSpecification',
45
- request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.HeatSpecificationRequest.SerializeToString,
46
- response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ConditionChangedResponse.FromString,
28
+ self.ChangeConditionName = channel.unary_unary(
29
+ '/ansys.api.discovery.v0.conditions.Conditions/ChangeConditionName',
30
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ChangeConditionNameRequest.SerializeToString,
31
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
47
32
  )
48
33
 
49
34
 
50
35
  class ConditionsServicer(object):
51
36
  """Missing associated documentation comment in .proto file."""
52
37
 
53
- def CreateHeat(self, request, context):
54
- """Heat methods
38
+ def DeleteCondition(self, request, context):
39
+ """General condition methods
55
40
  """
56
41
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
57
42
  context.set_details('Method not implemented!')
58
43
  raise NotImplementedError('Method not implemented!')
59
44
 
60
- def ChangeHeatLocation(self, request, context):
61
- """Missing associated documentation comment in .proto file."""
62
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
63
- context.set_details('Method not implemented!')
64
- raise NotImplementedError('Method not implemented!')
65
-
66
- def ChangeTotalHeat(self, request, context):
67
- """Missing associated documentation comment in .proto file."""
68
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
69
- context.set_details('Method not implemented!')
70
- raise NotImplementedError('Method not implemented!')
71
-
72
- def ChangeHeatPerUnitVolume(self, request, context):
73
- """Missing associated documentation comment in .proto file."""
74
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
75
- context.set_details('Method not implemented!')
76
- raise NotImplementedError('Method not implemented!')
77
-
78
- def ChangeHeatPerUnitArea(self, request, context):
45
+ def ChangeConditionSuppressionState(self, request, context):
79
46
  """Missing associated documentation comment in .proto file."""
80
47
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
81
48
  context.set_details('Method not implemented!')
82
49
  raise NotImplementedError('Method not implemented!')
83
50
 
84
- def ChangeHeatSpecification(self, request, context):
51
+ def ChangeConditionName(self, request, context):
85
52
  """Missing associated documentation comment in .proto file."""
86
53
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
87
54
  context.set_details('Method not implemented!')
@@ -90,35 +57,20 @@ class ConditionsServicer(object):
90
57
 
91
58
  def add_ConditionsServicer_to_server(servicer, server):
92
59
  rpc_method_handlers = {
93
- 'CreateHeat': grpc.unary_unary_rpc_method_handler(
94
- servicer.CreateHeat,
95
- request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.HeatCreationRequest.FromString,
96
- response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.Heat.SerializeToString,
97
- ),
98
- 'ChangeHeatLocation': grpc.unary_unary_rpc_method_handler(
99
- servicer.ChangeHeatLocation,
100
- request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.HeatChangeLocationRequest.FromString,
101
- response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ConditionChangedResponse.SerializeToString,
60
+ 'DeleteCondition': grpc.unary_unary_rpc_method_handler(
61
+ servicer.DeleteCondition,
62
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.DeleteConditionRequest.FromString,
63
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
102
64
  ),
103
- 'ChangeTotalHeat': grpc.unary_unary_rpc_method_handler(
104
- servicer.ChangeTotalHeat,
105
- request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ChangeQuantityRequest.FromString,
106
- response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ConditionChangedResponse.SerializeToString,
65
+ 'ChangeConditionSuppressionState': grpc.unary_unary_rpc_method_handler(
66
+ servicer.ChangeConditionSuppressionState,
67
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ChangeConditionSuppressionStateRequest.FromString,
68
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
107
69
  ),
108
- 'ChangeHeatPerUnitVolume': grpc.unary_unary_rpc_method_handler(
109
- servicer.ChangeHeatPerUnitVolume,
110
- request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ChangeQuantityRequest.FromString,
111
- response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ConditionChangedResponse.SerializeToString,
112
- ),
113
- 'ChangeHeatPerUnitArea': grpc.unary_unary_rpc_method_handler(
114
- servicer.ChangeHeatPerUnitArea,
115
- request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ChangeQuantityRequest.FromString,
116
- response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ConditionChangedResponse.SerializeToString,
117
- ),
118
- 'ChangeHeatSpecification': grpc.unary_unary_rpc_method_handler(
119
- servicer.ChangeHeatSpecification,
120
- request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.HeatSpecificationRequest.FromString,
121
- response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ConditionChangedResponse.SerializeToString,
70
+ 'ChangeConditionName': grpc.unary_unary_rpc_method_handler(
71
+ servicer.ChangeConditionName,
72
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ChangeConditionNameRequest.FromString,
73
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
122
74
  ),
123
75
  }
124
76
  generic_handler = grpc.method_handlers_generic_handler(
@@ -131,58 +83,7 @@ class Conditions(object):
131
83
  """Missing associated documentation comment in .proto file."""
132
84
 
133
85
  @staticmethod
134
- def CreateHeat(request,
135
- target,
136
- options=(),
137
- channel_credentials=None,
138
- call_credentials=None,
139
- insecure=False,
140
- compression=None,
141
- wait_for_ready=None,
142
- timeout=None,
143
- metadata=None):
144
- return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.Conditions/CreateHeat',
145
- ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.HeatCreationRequest.SerializeToString,
146
- ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.Heat.FromString,
147
- options, channel_credentials,
148
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
149
-
150
- @staticmethod
151
- def ChangeHeatLocation(request,
152
- target,
153
- options=(),
154
- channel_credentials=None,
155
- call_credentials=None,
156
- insecure=False,
157
- compression=None,
158
- wait_for_ready=None,
159
- timeout=None,
160
- metadata=None):
161
- return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.Conditions/ChangeHeatLocation',
162
- ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.HeatChangeLocationRequest.SerializeToString,
163
- ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ConditionChangedResponse.FromString,
164
- options, channel_credentials,
165
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
166
-
167
- @staticmethod
168
- def ChangeTotalHeat(request,
169
- target,
170
- options=(),
171
- channel_credentials=None,
172
- call_credentials=None,
173
- insecure=False,
174
- compression=None,
175
- wait_for_ready=None,
176
- timeout=None,
177
- metadata=None):
178
- return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.Conditions/ChangeTotalHeat',
179
- ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ChangeQuantityRequest.SerializeToString,
180
- ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ConditionChangedResponse.FromString,
181
- options, channel_credentials,
182
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
183
-
184
- @staticmethod
185
- def ChangeHeatPerUnitVolume(request,
86
+ def DeleteCondition(request,
186
87
  target,
187
88
  options=(),
188
89
  channel_credentials=None,
@@ -192,14 +93,14 @@ class Conditions(object):
192
93
  wait_for_ready=None,
193
94
  timeout=None,
194
95
  metadata=None):
195
- return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.Conditions/ChangeHeatPerUnitVolume',
196
- ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ChangeQuantityRequest.SerializeToString,
197
- ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ConditionChangedResponse.FromString,
96
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.Conditions/DeleteCondition',
97
+ ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.DeleteConditionRequest.SerializeToString,
98
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
198
99
  options, channel_credentials,
199
100
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
200
101
 
201
102
  @staticmethod
202
- def ChangeHeatPerUnitArea(request,
103
+ def ChangeConditionSuppressionState(request,
203
104
  target,
204
105
  options=(),
205
106
  channel_credentials=None,
@@ -209,14 +110,14 @@ class Conditions(object):
209
110
  wait_for_ready=None,
210
111
  timeout=None,
211
112
  metadata=None):
212
- return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.Conditions/ChangeHeatPerUnitArea',
213
- ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ChangeQuantityRequest.SerializeToString,
214
- ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ConditionChangedResponse.FromString,
113
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.Conditions/ChangeConditionSuppressionState',
114
+ ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ChangeConditionSuppressionStateRequest.SerializeToString,
115
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
215
116
  options, channel_credentials,
216
117
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
217
118
 
218
119
  @staticmethod
219
- def ChangeHeatSpecification(request,
120
+ def ChangeConditionName(request,
220
121
  target,
221
122
  options=(),
222
123
  channel_credentials=None,
@@ -226,8 +127,8 @@ class Conditions(object):
226
127
  wait_for_ready=None,
227
128
  timeout=None,
228
129
  metadata=None):
229
- return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.Conditions/ChangeHeatSpecification',
230
- ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.HeatSpecificationRequest.SerializeToString,
231
- ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ConditionChangedResponse.FromString,
130
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.Conditions/ChangeConditionName',
131
+ ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.ChangeConditionNameRequest.SerializeToString,
132
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
232
133
  options, channel_credentials,
233
134
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)