ansys-api-discovery 0.5.0__py3-none-any.whl → 0.5.2__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 +67 -0
- ansys/api/discovery/v0/conditions_pb2.py +91 -0
- ansys/api/discovery/v0/conditions_pb2.pyi +123 -0
- ansys/api/discovery/v0/conditions_pb2_grpc.py +233 -0
- ansys/api/discovery/v0/conditions_pb2_grpc.pyi +78 -0
- ansys/api/discovery/v0/definedvariationstable.proto +1 -0
- ansys/api/discovery/v0/definedvariationstable_pb2.py +6 -6
- ansys/api/discovery/v0/definedvariationstable_pb2.pyi +4 -1
- ansys/api/discovery/v0/discoverymodels.proto +45 -0
- ansys/api/discovery/v0/discoverymodels_pb2.py +48 -5
- ansys/api/discovery/v0/discoverymodels_pb2.pyi +116 -3
- ansys/api/discovery/v0/messaging.proto +21 -0
- ansys/api/discovery/v0/messaging_pb2.py +41 -0
- ansys/api/discovery/v0/messaging_pb2.pyi +22 -0
- ansys/api/discovery/v0/messaging_pb2_grpc.py +106 -0
- ansys/api/discovery/v0/messaging_pb2_grpc.pyi +38 -0
- ansys/api/discovery/v0/simulations.proto +23 -0
- ansys/api/discovery/v0/simulations_pb2.py +41 -0
- ansys/api/discovery/v0/simulations_pb2.pyi +27 -0
- ansys/api/discovery/v0/simulations_pb2_grpc.py +103 -0
- ansys/api/discovery/v0/simulations_pb2_grpc.pyi +42 -0
- ansys/api/discovery/v0/solution.proto +29 -0
- ansys/api/discovery/v0/solution_pb2.py +61 -0
- ansys/api/discovery/v0/solution_pb2.pyi +52 -0
- ansys/api/discovery/v0/solution_pb2_grpc.py +100 -0
- ansys/api/discovery/v0/solution_pb2_grpc.pyi +35 -0
- {ansys_api_discovery-0.5.0.dist-info → ansys_api_discovery-0.5.2.dist-info}/METADATA +6 -6
- ansys_api_discovery-0.5.2.dist-info/RECORD +55 -0
- {ansys_api_discovery-0.5.0.dist-info → ansys_api_discovery-0.5.2.dist-info}/WHEEL +1 -1
- ansys_api_discovery-0.5.0.dist-info/RECORD +0 -35
- {ansys_api_discovery-0.5.0.dist-info → ansys_api_discovery-0.5.2.dist-info}/LICENSE +0 -0
- {ansys_api_discovery-0.5.0.dist-info → ansys_api_discovery-0.5.2.dist-info}/entry_points.txt +0 -0
- {ansys_api_discovery-0.5.0.dist-info → ansys_api_discovery-0.5.2.dist-info}/top_level.txt +0 -0
ansys/api/discovery/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.2
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.conditions;
|
|
4
|
+
|
|
5
|
+
import "ansys/api/dbu/v0/dbumodels.proto";
|
|
6
|
+
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
7
|
+
import "google/protobuf/empty.proto";
|
|
8
|
+
|
|
9
|
+
option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
|
|
10
|
+
|
|
11
|
+
service Conditions
|
|
12
|
+
{
|
|
13
|
+
//Heat methods
|
|
14
|
+
rpc CreateHeat(HeatCreationRequest) returns (Heat);
|
|
15
|
+
|
|
16
|
+
rpc ChangeHeatLocation(HeatChangeLocationRequest) returns(ConditionChangedResponse);
|
|
17
|
+
|
|
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);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message ChangeLocationRequest{
|
|
28
|
+
string object_id = 1;
|
|
29
|
+
repeated string locations = 2;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message ChangeQuantityRequest{
|
|
33
|
+
string object_id = 1;
|
|
34
|
+
QuantityType quantity_type = 2;
|
|
35
|
+
double quantity_value = 3;
|
|
36
|
+
int32 unit = 4;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
message ConditionChangedResponse {
|
|
40
|
+
bool success = 1;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
//Heat methods
|
|
44
|
+
|
|
45
|
+
message HeatSpecificationRequest {
|
|
46
|
+
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
|
+
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: ansys/api/discovery/v0/conditions.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
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
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2
|
|
16
|
+
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
|
+
|
|
19
|
+
|
|
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')
|
|
21
|
+
|
|
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']
|
|
73
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
74
|
+
|
|
75
|
+
DESCRIPTOR._options = None
|
|
76
|
+
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
|
|
91
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,123 @@
|
|
|
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.message
|
|
10
|
+
import typing
|
|
11
|
+
import typing_extensions
|
|
12
|
+
|
|
13
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
|
|
14
|
+
|
|
15
|
+
class ChangeLocationRequest(google.protobuf.message.Message):
|
|
16
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
17
|
+
OBJECT_ID_FIELD_NUMBER: builtins.int
|
|
18
|
+
LOCATIONS_FIELD_NUMBER: builtins.int
|
|
19
|
+
object_id: typing.Text = ...
|
|
20
|
+
@property
|
|
21
|
+
def locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
|
|
22
|
+
def __init__(self,
|
|
23
|
+
*,
|
|
24
|
+
object_id : typing.Text = ...,
|
|
25
|
+
locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
|
|
26
|
+
) -> None: ...
|
|
27
|
+
def ClearField(self, field_name: typing_extensions.Literal["locations",b"locations","object_id",b"object_id"]) -> None: ...
|
|
28
|
+
global___ChangeLocationRequest = ChangeLocationRequest
|
|
29
|
+
|
|
30
|
+
class ChangeQuantityRequest(google.protobuf.message.Message):
|
|
31
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
32
|
+
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
|
|
36
|
+
object_id: typing.Text = ...
|
|
37
|
+
quantity_type: ansys.api.discovery.v0.discoverymodels_pb2.QuantityType.ValueType = ...
|
|
38
|
+
quantity_value: builtins.float = ...
|
|
39
|
+
unit: builtins.int = ...
|
|
40
|
+
def __init__(self,
|
|
41
|
+
*,
|
|
42
|
+
object_id : typing.Text = ...,
|
|
43
|
+
quantity_type : ansys.api.discovery.v0.discoverymodels_pb2.QuantityType.ValueType = ...,
|
|
44
|
+
quantity_value : builtins.float = ...,
|
|
45
|
+
unit : builtins.int = ...,
|
|
46
|
+
) -> 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
|
|
49
|
+
|
|
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
|
+
"""
|
|
65
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
66
|
+
OBJECT_ID_FIELD_NUMBER: builtins.int
|
|
67
|
+
HEAT_SPECIFCATION_FIELD_NUMBER: builtins.int
|
|
68
|
+
object_id: typing.Text = ...
|
|
69
|
+
heat_specifcation: ansys.api.discovery.v0.discoverymodels_pb2.HeatSpecification.ValueType = ...
|
|
70
|
+
def __init__(self,
|
|
71
|
+
*,
|
|
72
|
+
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 = ...,
|
|
121
|
+
) -> 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
|
|
@@ -0,0 +1,233 @@
|
|
|
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 conditions_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions__pb2
|
|
6
|
+
from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ConditionsStub(object):
|
|
10
|
+
"""Missing associated documentation comment in .proto file."""
|
|
11
|
+
|
|
12
|
+
def __init__(self, channel):
|
|
13
|
+
"""Constructor.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
channel: A grpc.Channel.
|
|
17
|
+
"""
|
|
18
|
+
self.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,
|
|
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,
|
|
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,
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class ConditionsServicer(object):
|
|
51
|
+
"""Missing associated documentation comment in .proto file."""
|
|
52
|
+
|
|
53
|
+
def CreateHeat(self, request, context):
|
|
54
|
+
"""Heat methods
|
|
55
|
+
"""
|
|
56
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
57
|
+
context.set_details('Method not implemented!')
|
|
58
|
+
raise NotImplementedError('Method not implemented!')
|
|
59
|
+
|
|
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):
|
|
79
|
+
"""Missing associated documentation comment in .proto file."""
|
|
80
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
81
|
+
context.set_details('Method not implemented!')
|
|
82
|
+
raise NotImplementedError('Method not implemented!')
|
|
83
|
+
|
|
84
|
+
def ChangeHeatSpecification(self, request, context):
|
|
85
|
+
"""Missing associated documentation comment in .proto file."""
|
|
86
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
87
|
+
context.set_details('Method not implemented!')
|
|
88
|
+
raise NotImplementedError('Method not implemented!')
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
def add_ConditionsServicer_to_server(servicer, server):
|
|
92
|
+
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,
|
|
102
|
+
),
|
|
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,
|
|
107
|
+
),
|
|
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,
|
|
122
|
+
),
|
|
123
|
+
}
|
|
124
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
125
|
+
'ansys.api.discovery.v0.conditions.Conditions', rpc_method_handlers)
|
|
126
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
# This class is part of an EXPERIMENTAL API.
|
|
130
|
+
class Conditions(object):
|
|
131
|
+
"""Missing associated documentation comment in .proto file."""
|
|
132
|
+
|
|
133
|
+
@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,
|
|
186
|
+
target,
|
|
187
|
+
options=(),
|
|
188
|
+
channel_credentials=None,
|
|
189
|
+
call_credentials=None,
|
|
190
|
+
insecure=False,
|
|
191
|
+
compression=None,
|
|
192
|
+
wait_for_ready=None,
|
|
193
|
+
timeout=None,
|
|
194
|
+
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,
|
|
198
|
+
options, channel_credentials,
|
|
199
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
200
|
+
|
|
201
|
+
@staticmethod
|
|
202
|
+
def ChangeHeatPerUnitArea(request,
|
|
203
|
+
target,
|
|
204
|
+
options=(),
|
|
205
|
+
channel_credentials=None,
|
|
206
|
+
call_credentials=None,
|
|
207
|
+
insecure=False,
|
|
208
|
+
compression=None,
|
|
209
|
+
wait_for_ready=None,
|
|
210
|
+
timeout=None,
|
|
211
|
+
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,
|
|
215
|
+
options, channel_credentials,
|
|
216
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
217
|
+
|
|
218
|
+
@staticmethod
|
|
219
|
+
def ChangeHeatSpecification(request,
|
|
220
|
+
target,
|
|
221
|
+
options=(),
|
|
222
|
+
channel_credentials=None,
|
|
223
|
+
call_credentials=None,
|
|
224
|
+
insecure=False,
|
|
225
|
+
compression=None,
|
|
226
|
+
wait_for_ready=None,
|
|
227
|
+
timeout=None,
|
|
228
|
+
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,
|
|
232
|
+
options, channel_credentials,
|
|
233
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import abc
|
|
6
|
+
import ansys.api.discovery.v0.conditions_pb2
|
|
7
|
+
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
8
|
+
import grpc
|
|
9
|
+
|
|
10
|
+
class ConditionsStub:
|
|
11
|
+
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
12
|
+
CreateHeat: grpc.UnaryUnaryMultiCallable[
|
|
13
|
+
ansys.api.discovery.v0.conditions_pb2.HeatCreationRequest,
|
|
14
|
+
ansys.api.discovery.v0.discoverymodels_pb2.Heat] = ...
|
|
15
|
+
"""Heat methods"""
|
|
16
|
+
|
|
17
|
+
ChangeHeatLocation: grpc.UnaryUnaryMultiCallable[
|
|
18
|
+
ansys.api.discovery.v0.conditions_pb2.HeatChangeLocationRequest,
|
|
19
|
+
ansys.api.discovery.v0.conditions_pb2.ConditionChangedResponse] = ...
|
|
20
|
+
|
|
21
|
+
ChangeTotalHeat: grpc.UnaryUnaryMultiCallable[
|
|
22
|
+
ansys.api.discovery.v0.conditions_pb2.ChangeQuantityRequest,
|
|
23
|
+
ansys.api.discovery.v0.conditions_pb2.ConditionChangedResponse] = ...
|
|
24
|
+
|
|
25
|
+
ChangeHeatPerUnitVolume: grpc.UnaryUnaryMultiCallable[
|
|
26
|
+
ansys.api.discovery.v0.conditions_pb2.ChangeQuantityRequest,
|
|
27
|
+
ansys.api.discovery.v0.conditions_pb2.ConditionChangedResponse] = ...
|
|
28
|
+
|
|
29
|
+
ChangeHeatPerUnitArea: grpc.UnaryUnaryMultiCallable[
|
|
30
|
+
ansys.api.discovery.v0.conditions_pb2.ChangeQuantityRequest,
|
|
31
|
+
ansys.api.discovery.v0.conditions_pb2.ConditionChangedResponse] = ...
|
|
32
|
+
|
|
33
|
+
ChangeHeatSpecification: grpc.UnaryUnaryMultiCallable[
|
|
34
|
+
ansys.api.discovery.v0.conditions_pb2.HeatSpecificationRequest,
|
|
35
|
+
ansys.api.discovery.v0.conditions_pb2.ConditionChangedResponse] = ...
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
class ConditionsServicer(metaclass=abc.ABCMeta):
|
|
39
|
+
@abc.abstractmethod
|
|
40
|
+
def CreateHeat(self,
|
|
41
|
+
request: ansys.api.discovery.v0.conditions_pb2.HeatCreationRequest,
|
|
42
|
+
context: grpc.ServicerContext,
|
|
43
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.Heat:
|
|
44
|
+
"""Heat methods"""
|
|
45
|
+
pass
|
|
46
|
+
|
|
47
|
+
@abc.abstractmethod
|
|
48
|
+
def ChangeHeatLocation(self,
|
|
49
|
+
request: ansys.api.discovery.v0.conditions_pb2.HeatChangeLocationRequest,
|
|
50
|
+
context: grpc.ServicerContext,
|
|
51
|
+
) -> ansys.api.discovery.v0.conditions_pb2.ConditionChangedResponse: ...
|
|
52
|
+
|
|
53
|
+
@abc.abstractmethod
|
|
54
|
+
def ChangeTotalHeat(self,
|
|
55
|
+
request: ansys.api.discovery.v0.conditions_pb2.ChangeQuantityRequest,
|
|
56
|
+
context: grpc.ServicerContext,
|
|
57
|
+
) -> ansys.api.discovery.v0.conditions_pb2.ConditionChangedResponse: ...
|
|
58
|
+
|
|
59
|
+
@abc.abstractmethod
|
|
60
|
+
def ChangeHeatPerUnitVolume(self,
|
|
61
|
+
request: ansys.api.discovery.v0.conditions_pb2.ChangeQuantityRequest,
|
|
62
|
+
context: grpc.ServicerContext,
|
|
63
|
+
) -> ansys.api.discovery.v0.conditions_pb2.ConditionChangedResponse: ...
|
|
64
|
+
|
|
65
|
+
@abc.abstractmethod
|
|
66
|
+
def ChangeHeatPerUnitArea(self,
|
|
67
|
+
request: ansys.api.discovery.v0.conditions_pb2.ChangeQuantityRequest,
|
|
68
|
+
context: grpc.ServicerContext,
|
|
69
|
+
) -> ansys.api.discovery.v0.conditions_pb2.ConditionChangedResponse: ...
|
|
70
|
+
|
|
71
|
+
@abc.abstractmethod
|
|
72
|
+
def ChangeHeatSpecification(self,
|
|
73
|
+
request: ansys.api.discovery.v0.conditions_pb2.HeatSpecificationRequest,
|
|
74
|
+
context: grpc.ServicerContext,
|
|
75
|
+
) -> ansys.api.discovery.v0.conditions_pb2.ConditionChangedResponse: ...
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def add_ConditionsServicer_to_server(servicer: ConditionsServicer, server: grpc.Server) -> None: ...
|
|
@@ -17,7 +17,7 @@ from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_disc
|
|
|
17
17
|
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3ansys/api/discovery/v0/definedvariationstable.proto\x12-ansys.api.discovery.v0.definedvariationstable\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\x1a\x1bgoogle/protobuf/empty.proto\"Y\n\x18GetAllVariationsResponse\x12=\n\x12\x64\x65\x66ined_variations\x18\x01 \x03(\x0b\x32!.ansys.api.discovery.v0.Variation\"K\n\x14GetAllInputsResponse\x12\x33\n\x06inputs\x18\x01 \x03(\x0b\x32#.ansys.api.discovery.v0.InputColumn\"N\n\x15GetAllOutputsResponse\x12\x35\n\x07outputs\x18\x01 \x03(\x0b\x32$.ansys.api.discovery.v0.OutputColumn\"Y\n\x1bGetInputForVariationRequest\x12\x19\n\x11variation_moniker\x18\x01 \x01(\t\x12\x1f\n\x17input_parameter_moniker\x18\x02 \x01(\t\"\x80\x01\n\x14SetInputValueRequest\x12\x19\n\x11variation_moniker\x18\x01 \x01(\t\x12M\n\x1d\x64\x65\x66ined_variation_table_input\x18\x02 \x01(\x0b\x32&.ansys.api.discovery.v0.InputParameter\"[\n\x1cGetOutputForVariationRequest\x12\x19\n\x11variation_moniker\x18\x01 \x01(\t\x12 \n\x18output_parameter_moniker\x18\x02 \x01(\t\"8\n\x15GetInputColumnRequest\x12\x1f\n\x17input_parameter_moniker\x18\x01 \x01(\t\"M\n\x16GetInputColumnResponse\x12\x33\n\x06\x63olumn\x18\x01 \x01(\x0b\x32#.ansys.api.discovery.v0.InputColumn\":\n\x16GetOutputColumnRequest\x12 \n\x18output_parameter_moniker\x18\x01 \x01(\t\"O\n\x17GetOutputColumnResponse\x12\x34\n\x06\x63olumn\x18\x01 \x01(\x0b\x32$.ansys.api.discovery.v0.OutputColumn\"G\n\x17SetStarredStatusRequest\x12\x1b\n\x13variations_monikers\x18\x01 \x03(\t\x12\x0f\n\x07starred\x18\x02 \x01(\x08\"
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3ansys/api/discovery/v0/definedvariationstable.proto\x12-ansys.api.discovery.v0.definedvariationstable\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\x1a\x1bgoogle/protobuf/empty.proto\"Y\n\x18GetAllVariationsResponse\x12=\n\x12\x64\x65\x66ined_variations\x18\x01 \x03(\x0b\x32!.ansys.api.discovery.v0.Variation\"K\n\x14GetAllInputsResponse\x12\x33\n\x06inputs\x18\x01 \x03(\x0b\x32#.ansys.api.discovery.v0.InputColumn\"N\n\x15GetAllOutputsResponse\x12\x35\n\x07outputs\x18\x01 \x03(\x0b\x32$.ansys.api.discovery.v0.OutputColumn\"Y\n\x1bGetInputForVariationRequest\x12\x19\n\x11variation_moniker\x18\x01 \x01(\t\x12\x1f\n\x17input_parameter_moniker\x18\x02 \x01(\t\"\x80\x01\n\x14SetInputValueRequest\x12\x19\n\x11variation_moniker\x18\x01 \x01(\t\x12M\n\x1d\x64\x65\x66ined_variation_table_input\x18\x02 \x01(\x0b\x32&.ansys.api.discovery.v0.InputParameter\"[\n\x1cGetOutputForVariationRequest\x12\x19\n\x11variation_moniker\x18\x01 \x01(\t\x12 \n\x18output_parameter_moniker\x18\x02 \x01(\t\"8\n\x15GetInputColumnRequest\x12\x1f\n\x17input_parameter_moniker\x18\x01 \x01(\t\"M\n\x16GetInputColumnResponse\x12\x33\n\x06\x63olumn\x18\x01 \x01(\x0b\x32#.ansys.api.discovery.v0.InputColumn\":\n\x16GetOutputColumnRequest\x12 \n\x18output_parameter_moniker\x18\x01 \x01(\t\"O\n\x17GetOutputColumnResponse\x12\x34\n\x06\x63olumn\x18\x01 \x01(\x0b\x32$.ansys.api.discovery.v0.OutputColumn\"G\n\x17SetStarredStatusRequest\x12\x1b\n\x13variations_monikers\x18\x01 \x03(\t\x12\x0f\n\x07starred\x18\x02 \x01(\x08\"1\n\x0eUpdateResponse\x12\x0e\n\x06result\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\t\"\'\n\x11IsSolvingResponse\x12\x12\n\nis_solving\x18\x01 \x01(\x08\x32\xfb\r\n\x16\x44\x65\x66inedVariationsTable\x12U\n\x0cGetVariation\x12\".ansys.api.dbu.v0.EntityIdentifier\x1a!.ansys.api.discovery.v0.Variation\x12s\n\x10GetAllVariations\x12\x16.google.protobuf.Empty\x1aG.ansys.api.discovery.v0.definedvariationstable.GetAllVariationsResponse\x12k\n\x0cGetAllInputs\x12\x16.google.protobuf.Empty\x1a\x43.ansys.api.discovery.v0.definedvariationstable.GetAllInputsResponse\x12m\n\rGetAllOutputs\x12\x16.google.protobuf.Empty\x1a\x44.ansys.api.discovery.v0.definedvariationstable.GetAllOutputsResponse\x12\x8a\x01\n\x14GetInputForVariation\x12J.ansys.api.discovery.v0.definedvariationstable.GetInputForVariationRequest\x1a&.ansys.api.discovery.v0.InputParameter\x12|\n\rSetInputValue\x12\x43.ansys.api.discovery.v0.definedvariationstable.SetInputValueRequest\x1a&.ansys.api.discovery.v0.InputParameter\x12L\n\x0f\x43reateVariation\x12\x16.google.protobuf.Empty\x1a!.ansys.api.discovery.v0.Variation\x12\x8d\x01\n\x15GetOutputForVariation\x12K.ansys.api.discovery.v0.definedvariationstable.GetOutputForVariationRequest\x1a\'.ansys.api.discovery.v0.OutputParameter\x12\x9d\x01\n\x0eGetInputColumn\x12\x44.ansys.api.discovery.v0.definedvariationstable.GetInputColumnRequest\x1a\x45.ansys.api.discovery.v0.definedvariationstable.GetInputColumnResponse\x12\xa0\x01\n\x0fGetOutputColumn\x12\x45.ansys.api.discovery.v0.definedvariationstable.GetOutputColumnRequest\x1a\x46.ansys.api.discovery.v0.definedvariationstable.GetOutputColumnResponse\x12r\n\x10SetStarredStatus\x12\x46.ansys.api.discovery.v0.definedvariationstable.SetStarredStatusRequest\x1a\x16.google.protobuf.Empty\x12\x66\n\rUpdateCurrent\x12\x16.google.protobuf.Empty\x1a=.ansys.api.discovery.v0.definedvariationstable.UpdateResponse\x12\x66\n\rUpdateStarred\x12\x16.google.protobuf.Empty\x1a=.ansys.api.discovery.v0.definedvariationstable.UpdateResponse\x12\x62\n\tUpdateAll\x12\x16.google.protobuf.Empty\x1a=.ansys.api.discovery.v0.definedvariationstable.UpdateResponse\x12\x65\n\tIsSolving\x12\x16.google.protobuf.Empty\x1a@.ansys.api.discovery.v0.definedvariationstable.IsSolvingResponseB0\xaa\x02-Ansys.Api.Discovery.V0.DefinedVariationsTableb\x06proto3')
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
@@ -153,9 +153,9 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
153
153
|
_SETSTARREDSTATUSREQUEST._serialized_start=1052
|
|
154
154
|
_SETSTARREDSTATUSREQUEST._serialized_end=1123
|
|
155
155
|
_UPDATERESPONSE._serialized_start=1125
|
|
156
|
-
_UPDATERESPONSE._serialized_end=
|
|
157
|
-
_ISSOLVINGRESPONSE._serialized_start=
|
|
158
|
-
_ISSOLVINGRESPONSE._serialized_end=
|
|
159
|
-
_DEFINEDVARIATIONSTABLE._serialized_start=
|
|
160
|
-
_DEFINEDVARIATIONSTABLE._serialized_end=
|
|
156
|
+
_UPDATERESPONSE._serialized_end=1174
|
|
157
|
+
_ISSOLVINGRESPONSE._serialized_start=1176
|
|
158
|
+
_ISSOLVINGRESPONSE._serialized_end=1215
|
|
159
|
+
_DEFINEDVARIATIONSTABLE._serialized_start=1218
|
|
160
|
+
_DEFINEDVARIATIONSTABLE._serialized_end=3005
|
|
161
161
|
# @@protoc_insertion_point(module_scope)
|