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.
- ansys/api/discovery/VERSION +1 -1
- ansys/api/discovery/v0/conditions.proto +11 -46
- ansys/api/discovery/v0/conditions_pb2.py +12 -70
- ansys/api/discovery/v0/conditions_pb2.pyi +16 -88
- ansys/api/discovery/v0/conditions_pb2_grpc.py +40 -139
- ansys/api/discovery/v0/conditions_pb2_grpc.pyi +20 -50
- ansys/api/discovery/v0/conditionsfluid.proto +246 -0
- ansys/api/discovery/v0/conditionsfluid_pb2.py +85 -0
- ansys/api/discovery/v0/conditionsfluid_pb2.pyi +590 -0
- ansys/api/discovery/v0/conditionsfluid_pb2_grpc.py +662 -0
- ansys/api/discovery/v0/conditionsfluid_pb2_grpc.pyi +208 -0
- ansys/api/discovery/v0/conditionsstructural.proto +407 -0
- ansys/api/discovery/v0/conditionsstructural_pb2.py +113 -0
- ansys/api/discovery/v0/conditionsstructural_pb2.pyi +839 -0
- ansys/api/discovery/v0/conditionsstructural_pb2_grpc.py +2746 -0
- ansys/api/discovery/v0/conditionsstructural_pb2_grpc.pyi +854 -0
- ansys/api/discovery/v0/conditionsthermal.proto +179 -0
- ansys/api/discovery/v0/conditionsthermal_pb2.py +63 -0
- ansys/api/discovery/v0/conditionsthermal_pb2.pyi +399 -0
- ansys/api/discovery/v0/conditionsthermal_pb2_grpc.py +665 -0
- ansys/api/discovery/v0/conditionsthermal_pb2_grpc.pyi +217 -0
- ansys/api/discovery/v0/definedvariationstable.proto +12 -0
- ansys/api/discovery/v0/definedvariationstable_pb2.py +12 -116
- ansys/api/discovery/v0/definedvariationstable_pb2.pyi +16 -0
- ansys/api/discovery/v0/definedvariationstable_pb2_grpc.py +68 -0
- ansys/api/discovery/v0/definedvariationstable_pb2_grpc.pyi +26 -0
- ansys/api/discovery/v0/discoverymodels.proto +91 -25
- ansys/api/discovery/v0/discoverymodels_pb2.py +59 -211
- ansys/api/discovery/v0/discoverymodels_pb2.pyi +264 -50
- ansys/api/discovery/v0/historytrackparameters_pb2.py +3 -50
- ansys/api/discovery/v0/messaging.proto +0 -2
- ansys/api/discovery/v0/messaging_pb2.py +8 -20
- ansys/api/discovery/v0/monitors.proto +137 -0
- ansys/api/discovery/v0/monitors_pb2.py +42 -0
- ansys/api/discovery/v0/monitors_pb2.pyi +307 -0
- ansys/api/discovery/v0/monitors_pb2_grpc.py +67 -0
- ansys/api/discovery/v0/monitors_pb2_grpc.pyi +27 -0
- ansys/api/discovery/v0/scriptparameters_pb2.py +3 -37
- ansys/api/discovery/v0/simulations.proto +0 -1
- ansys/api/discovery/v0/simulations_pb2.py +8 -19
- ansys/api/discovery/v0/solution.proto +19 -2
- ansys/api/discovery/v0/solution_pb2.py +18 -40
- ansys/api/discovery/v0/solution_pb2.pyi +53 -0
- ansys/api/discovery/v0/solution_pb2_grpc.py +33 -0
- ansys/api/discovery/v0/solution_pb2_grpc.pyi +10 -0
- ansys/api/discovery/v0/units_pb2.py +3 -1232
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.1.dist-info}/METADATA +8 -8
- ansys_api_discovery-0.6.1.dist-info/RECORD +75 -0
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.1.dist-info}/WHEEL +1 -1
- ansys_api_discovery-0.5.2.dist-info/RECORD +0 -55
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.1.dist-info}/LICENSE +0 -0
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.1.dist-info}/entry_points.txt +0 -0
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.1.dist-info}/top_level.txt +0 -0
ansys/api/discovery/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
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
|
-
//
|
|
14
|
-
rpc
|
|
11
|
+
//General condition methods
|
|
12
|
+
rpc DeleteCondition(DeleteConditionRequest) returns (ChangeResponse);
|
|
15
13
|
|
|
16
|
-
rpc
|
|
14
|
+
rpc ChangeConditionSuppressionState(ChangeConditionSuppressionStateRequest) returns (ChangeResponse);
|
|
17
15
|
|
|
18
|
-
rpc
|
|
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
|
-
|
|
19
|
+
//General Requests
|
|
20
|
+
message DeleteConditionRequest{
|
|
28
21
|
string object_id = 1;
|
|
29
|
-
repeated string locations = 2;
|
|
30
22
|
}
|
|
31
23
|
|
|
32
|
-
message
|
|
24
|
+
message ChangeConditionSuppressionStateRequest{
|
|
33
25
|
string object_id = 1;
|
|
34
|
-
|
|
35
|
-
double quantity_value = 3;
|
|
36
|
-
int32 unit = 4;
|
|
26
|
+
bool is_suppressed = 2;
|
|
37
27
|
}
|
|
38
28
|
|
|
39
|
-
message
|
|
40
|
-
bool success = 1;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
//Heat methods
|
|
44
|
-
|
|
45
|
-
message HeatSpecificationRequest {
|
|
29
|
+
message ChangeConditionNameRequest{
|
|
46
30
|
string object_id = 1;
|
|
47
|
-
|
|
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
|
|
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
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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
|
|
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["
|
|
28
|
-
|
|
22
|
+
def ClearField(self, field_name: typing_extensions.Literal["object_id",b"object_id"]) -> None: ...
|
|
23
|
+
global___DeleteConditionRequest = DeleteConditionRequest
|
|
29
24
|
|
|
30
|
-
class
|
|
25
|
+
class ChangeConditionSuppressionStateRequest(google.protobuf.message.Message):
|
|
31
26
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
32
27
|
OBJECT_ID_FIELD_NUMBER: builtins.int
|
|
33
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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["
|
|
48
|
-
|
|
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
|
|
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
|
-
|
|
42
|
+
NEW_NAME_FIELD_NUMBER: builtins.int
|
|
68
43
|
object_id: typing.Text = ...
|
|
69
|
-
|
|
44
|
+
new_name: typing.Text = ...
|
|
70
45
|
def __init__(self,
|
|
71
46
|
*,
|
|
72
47
|
object_id : typing.Text = ...,
|
|
73
|
-
|
|
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["
|
|
123
|
-
|
|
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.
|
|
19
|
-
'/ansys.api.discovery.v0.conditions.Conditions/
|
|
20
|
-
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.
|
|
21
|
-
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.
|
|
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.
|
|
24
|
-
'/ansys.api.discovery.v0.conditions.Conditions/
|
|
25
|
-
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.
|
|
26
|
-
response_deserializer=
|
|
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.
|
|
29
|
-
'/ansys.api.discovery.v0.conditions.Conditions/
|
|
30
|
-
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.
|
|
31
|
-
response_deserializer=
|
|
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
|
|
54
|
-
"""
|
|
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
|
|
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
|
|
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
|
-
'
|
|
94
|
-
servicer.
|
|
95
|
-
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.
|
|
96
|
-
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.
|
|
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
|
-
'
|
|
104
|
-
servicer.
|
|
105
|
-
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.
|
|
106
|
-
response_serializer=
|
|
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
|
-
'
|
|
109
|
-
servicer.
|
|
110
|
-
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.
|
|
111
|
-
response_serializer=
|
|
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
|
|
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/
|
|
196
|
-
ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.
|
|
197
|
-
|
|
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
|
|
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/
|
|
213
|
-
ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.
|
|
214
|
-
|
|
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
|
|
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/
|
|
230
|
-
ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2.
|
|
231
|
-
|
|
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)
|