ansys-api-systemcoupling 0.3.1__py3-none-any.whl → 0.4.dev0__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.
- ansys/api/systemcoupling/VERSION +1 -1
- ansys/api/systemcoupling/v0/chart_pb2.py +47 -36
- ansys/api/systemcoupling/v0/chart_pb2.pyi +182 -123
- ansys/api/systemcoupling/v0/chart_pb2_grpc.py +77 -16
- ansys/api/systemcoupling/v0/chart_pb2_grpc.pyi +74 -23
- ansys/api/systemcoupling/v0/command_pb2.py +25 -14
- ansys/api/systemcoupling/v0/command_pb2.pyi +36 -24
- ansys/api/systemcoupling/v0/command_pb2_grpc.py +35 -4
- ansys/api/systemcoupling/v0/command_pb2_grpc.pyi +25 -8
- ansys/api/systemcoupling/v0/error_pb2.py +19 -8
- ansys/api/systemcoupling/v0/error_pb2.pyi +15 -11
- ansys/api/systemcoupling/v0/error_pb2_grpc.py +20 -0
- ansys/api/systemcoupling/v0/error_pb2_grpc.pyi +14 -1
- ansys/api/systemcoupling/v0/output_stream_pb2.py +23 -12
- ansys/api/systemcoupling/v0/output_stream_pb2.pyi +20 -12
- ansys/api/systemcoupling/v0/output_stream_pb2_grpc.py +35 -4
- ansys/api/systemcoupling/v0/output_stream_pb2_grpc.pyi +24 -8
- ansys/api/systemcoupling/v0/process_pb2.py +27 -16
- ansys/api/systemcoupling/v0/process_pb2.pyi +32 -14
- ansys/api/systemcoupling/v0/process_pb2_grpc.py +49 -8
- ansys/api/systemcoupling/v0/process_pb2_grpc.pyi +36 -12
- ansys/api/systemcoupling/v0/solution_pb2.py +31 -20
- ansys/api/systemcoupling/v0/solution_pb2.pyi +52 -28
- ansys/api/systemcoupling/v0/solution_pb2_grpc.py +63 -12
- ansys/api/systemcoupling/v0/solution_pb2_grpc.pyi +47 -16
- ansys/api/systemcoupling/v0/variant_pb2.py +37 -26
- ansys/api/systemcoupling/v0/variant_pb2.pyi +110 -72
- ansys/api/systemcoupling/v0/variant_pb2_grpc.py +20 -0
- ansys/api/systemcoupling/v0/variant_pb2_grpc.pyi +14 -1
- {ansys_api_systemcoupling-0.3.1.dist-info → ansys_api_systemcoupling-0.4.dev0.dist-info}/METADATA +4 -6
- ansys_api_systemcoupling-0.4.dev0.dist-info/RECORD +44 -0
- {ansys_api_systemcoupling-0.3.1.dist-info → ansys_api_systemcoupling-0.4.dev0.dist-info}/WHEEL +1 -1
- ansys_api_systemcoupling-0.3.1.dist-info/RECORD +0 -44
- {ansys_api_systemcoupling-0.3.1.dist-info → ansys_api_systemcoupling-0.4.dev0.dist-info}/entry_points.txt +0 -0
- {ansys_api_systemcoupling-0.3.1.dist-info → ansys_api_systemcoupling-0.4.dev0.dist-info}/licenses/LICENSE +0 -0
- {ansys_api_systemcoupling-0.3.1.dist-info → ansys_api_systemcoupling-0.4.dev0.dist-info}/top_level.txt +0 -0
ansys/api/systemcoupling/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.4.dev0
|
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
3
4
|
# source: ansys/api/systemcoupling/v0/chart.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
4
6
|
"""Generated protocol buffer code."""
|
|
5
|
-
from google.protobuf.internal import builder as _builder
|
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
|
7
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
8
10
|
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'ansys/api/systemcoupling/v0/chart.proto'
|
|
19
|
+
)
|
|
9
20
|
# @@protoc_insertion_point(imports)
|
|
10
21
|
|
|
11
22
|
_sym_db = _symbol_database.Default()
|
|
@@ -15,39 +26,39 @@ _sym_db = _symbol_database.Default()
|
|
|
15
26
|
|
|
16
27
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'ansys/api/systemcoupling/v0/chart.proto\x12\x1b\x61nsys.api.systemcoupling.v0\"\xa5\x01\n\x12TransferSeriesInfo\x12\x44\n\x0bseries_type\x18\x01 \x01(\x0e\x32/.ansys.api.systemcoupling.v0.TransferSeriesType\x12\x15\n\rtransfer_name\x18\x02 \x01(\t\x12\x18\n\x10participant_name\x18\x03 \x01(\t\x12\x18\n\x10\x63omponent_suffix\x18\x04 \x01(\t\"o\n\rInterfaceInfo\x12\x16\n\x0einterface_name\x18\x01 \x01(\t\x12\x46\n\rtransfer_info\x18\x02 \x03(\x0b\x32/.ansys.api.systemcoupling.v0.TransferSeriesInfo\"i\n\rChartMetadata\x12\x14\n\x0cis_transient\x18\x01 \x01(\x08\x12\x42\n\x0einterface_info\x18\x02 \x03(\x0b\x32*.ansys.api.systemcoupling.v0.InterfaceInfo\"f\n\nSeriesData\x12\x16\n\x0einterface_name\x18\x01 \x01(\t\x12\x1d\n\x15transfer_series_index\x18\x02 \x01(\x05\x12\x13\n\x0bstart_index\x18\x03 \x01(\x05\x12\x0c\n\x04\x64\x61ta\x18\x04 \x03(\x01\"5\n\rTimestepStart\x12\x16\n\x0etimestep_count\x18\x01 \x01(\x05\x12\x0c\n\x04time\x18\x02 \x01(\x01\">\n\x0bTimestepEnd\x12\x16\n\x0etimestep_count\x18\x01 \x01(\x05\x12\x17\n\x0fiteration_count\x18\x02 \x01(\x05\"\xa6\x02\n\x0e\x43hartDataEvent\x12>\n\x08metadata\x18\x01 \x01(\x0b\x32*.ansys.api.systemcoupling.v0.ChartMetadataH\x00\x12>\n\x0bseries_data\x18\x02 \x01(\x0b\x32\'.ansys.api.systemcoupling.v0.SeriesDataH\x00\x12\x44\n\x0etimestep_start\x18\x03 \x01(\x0b\x32*.ansys.api.systemcoupling.v0.TimestepStartH\x00\x12@\n\x0ctimestep_end\x18\x04 \x01(\x0b\x32(.ansys.api.systemcoupling.v0.TimestepEndH\x00\x42\x0c\n\nevent_data\"M\n\rAllSeriesData\x12<\n\x0bseries_data\x18\x01 \x03(\x0b\x32\'.ansys.api.systemcoupling.v0.SeriesData\"B\n\x0cTimestepData\x12\x1d\n\x15timestep_to_iteration\x18\x01 \x03(\x05\x12\x13\n\x0btime_values\x18\x02 \x03(\x01\"\x12\n\x10\x43hartDataRequest\"\x16\n\x14\x43hartMetadataRequest\"\x18\n\x16\x43hartSeriesDataRequest\"\x1a\n\x18\x43hartTimestepDataRequest*\x81\x01\n\x12TransferSeriesType\x12\x17\n\x13SERIES_TYPE_UNKNOWN\x10\x00\x12\x1b\n\x17SERIES_TYPE_CONVERGENCE\x10\x01\x12\x13\n\x0fSERIES_TYPE_SUM\x10\x02\x12 \n\x1cSERIES_TYPE_WEIGHTED_AVERAGE\x10\x03\x32\xe0\x03\n\tChartData\x12o\n\x0fStreamChartData\x12-.ansys.api.systemcoupling.v0.ChartDataRequest\x1a+.ansys.api.systemcoupling.v0.ChartDataEvent0\x01\x12q\n\x10GetChartMetadata\x12\x31.ansys.api.systemcoupling.v0.ChartMetadataRequest\x1a*.ansys.api.systemcoupling.v0.ChartMetadata\x12u\n\x12GetChartSeriesData\x12\x33.ansys.api.systemcoupling.v0.ChartSeriesDataRequest\x1a*.ansys.api.systemcoupling.v0.AllSeriesData\x12x\n\x14GetChartTimestepData\x12\x35.ansys.api.systemcoupling.v0.ChartTimestepDataRequest\x1a).ansys.api.systemcoupling.v0.TimestepDatab\x06proto3')
|
|
17
28
|
|
|
18
|
-
|
|
19
|
-
_builder.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
DESCRIPTOR.
|
|
23
|
-
_TRANSFERSERIESTYPE._serialized_start=1226
|
|
24
|
-
_TRANSFERSERIESTYPE._serialized_end=1355
|
|
25
|
-
_TRANSFERSERIESINFO._serialized_start=73
|
|
26
|
-
_TRANSFERSERIESINFO._serialized_end=238
|
|
27
|
-
_INTERFACEINFO._serialized_start=240
|
|
28
|
-
_INTERFACEINFO._serialized_end=351
|
|
29
|
-
_CHARTMETADATA._serialized_start=353
|
|
30
|
-
_CHARTMETADATA._serialized_end=458
|
|
31
|
-
_SERIESDATA._serialized_start=460
|
|
32
|
-
_SERIESDATA._serialized_end=562
|
|
33
|
-
_TIMESTEPSTART._serialized_start=564
|
|
34
|
-
_TIMESTEPSTART._serialized_end=617
|
|
35
|
-
_TIMESTEPEND._serialized_start=619
|
|
36
|
-
_TIMESTEPEND._serialized_end=681
|
|
37
|
-
_CHARTDATAEVENT._serialized_start=684
|
|
38
|
-
_CHARTDATAEVENT._serialized_end=978
|
|
39
|
-
_ALLSERIESDATA._serialized_start=980
|
|
40
|
-
_ALLSERIESDATA._serialized_end=1057
|
|
41
|
-
_TIMESTEPDATA._serialized_start=1059
|
|
42
|
-
_TIMESTEPDATA._serialized_end=1125
|
|
43
|
-
_CHARTDATAREQUEST._serialized_start=1127
|
|
44
|
-
_CHARTDATAREQUEST._serialized_end=1145
|
|
45
|
-
_CHARTMETADATAREQUEST._serialized_start=1147
|
|
46
|
-
_CHARTMETADATAREQUEST._serialized_end=1169
|
|
47
|
-
_CHARTSERIESDATAREQUEST._serialized_start=1171
|
|
48
|
-
_CHARTSERIESDATAREQUEST._serialized_end=1195
|
|
49
|
-
_CHARTTIMESTEPDATAREQUEST._serialized_start=1197
|
|
50
|
-
_CHARTTIMESTEPDATAREQUEST._serialized_end=1223
|
|
51
|
-
_CHARTDATA._serialized_start=1358
|
|
52
|
-
_CHARTDATA._serialized_end=1838
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.systemcoupling.v0.chart_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
DESCRIPTOR._loaded_options = None
|
|
34
|
+
_globals['_TRANSFERSERIESTYPE']._serialized_start=1226
|
|
35
|
+
_globals['_TRANSFERSERIESTYPE']._serialized_end=1355
|
|
36
|
+
_globals['_TRANSFERSERIESINFO']._serialized_start=73
|
|
37
|
+
_globals['_TRANSFERSERIESINFO']._serialized_end=238
|
|
38
|
+
_globals['_INTERFACEINFO']._serialized_start=240
|
|
39
|
+
_globals['_INTERFACEINFO']._serialized_end=351
|
|
40
|
+
_globals['_CHARTMETADATA']._serialized_start=353
|
|
41
|
+
_globals['_CHARTMETADATA']._serialized_end=458
|
|
42
|
+
_globals['_SERIESDATA']._serialized_start=460
|
|
43
|
+
_globals['_SERIESDATA']._serialized_end=562
|
|
44
|
+
_globals['_TIMESTEPSTART']._serialized_start=564
|
|
45
|
+
_globals['_TIMESTEPSTART']._serialized_end=617
|
|
46
|
+
_globals['_TIMESTEPEND']._serialized_start=619
|
|
47
|
+
_globals['_TIMESTEPEND']._serialized_end=681
|
|
48
|
+
_globals['_CHARTDATAEVENT']._serialized_start=684
|
|
49
|
+
_globals['_CHARTDATAEVENT']._serialized_end=978
|
|
50
|
+
_globals['_ALLSERIESDATA']._serialized_start=980
|
|
51
|
+
_globals['_ALLSERIESDATA']._serialized_end=1057
|
|
52
|
+
_globals['_TIMESTEPDATA']._serialized_start=1059
|
|
53
|
+
_globals['_TIMESTEPDATA']._serialized_end=1125
|
|
54
|
+
_globals['_CHARTDATAREQUEST']._serialized_start=1127
|
|
55
|
+
_globals['_CHARTDATAREQUEST']._serialized_end=1145
|
|
56
|
+
_globals['_CHARTMETADATAREQUEST']._serialized_start=1147
|
|
57
|
+
_globals['_CHARTMETADATAREQUEST']._serialized_end=1169
|
|
58
|
+
_globals['_CHARTSERIESDATAREQUEST']._serialized_start=1171
|
|
59
|
+
_globals['_CHARTSERIESDATAREQUEST']._serialized_end=1195
|
|
60
|
+
_globals['_CHARTTIMESTEPDATAREQUEST']._serialized_start=1197
|
|
61
|
+
_globals['_CHARTTIMESTEPDATAREQUEST']._serialized_end=1223
|
|
62
|
+
_globals['_CHARTDATA']._serialized_start=1358
|
|
63
|
+
_globals['_CHARTDATA']._serialized_end=1838
|
|
53
64
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -2,112 +2,129 @@
|
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
|
+
|
|
5
6
|
import builtins
|
|
7
|
+
import collections.abc
|
|
6
8
|
import google.protobuf.descriptor
|
|
7
9
|
import google.protobuf.internal.containers
|
|
8
10
|
import google.protobuf.internal.enum_type_wrapper
|
|
9
11
|
import google.protobuf.message
|
|
12
|
+
import sys
|
|
10
13
|
import typing
|
|
11
|
-
import typing_extensions
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
if sys.version_info >= (3, 10):
|
|
16
|
+
import typing as typing_extensions
|
|
17
|
+
else:
|
|
18
|
+
import typing_extensions
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
14
21
|
|
|
15
22
|
class _TransferSeriesType:
|
|
16
|
-
ValueType = typing.NewType(
|
|
23
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
17
24
|
V: typing_extensions.TypeAlias = ValueType
|
|
25
|
+
|
|
18
26
|
class _TransferSeriesTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TransferSeriesType.ValueType], builtins.type):
|
|
19
|
-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
20
|
-
SERIES_TYPE_UNKNOWN:
|
|
21
|
-
SERIES_TYPE_CONVERGENCE:
|
|
22
|
-
SERIES_TYPE_SUM:
|
|
23
|
-
SERIES_TYPE_WEIGHTED_AVERAGE:
|
|
27
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
28
|
+
SERIES_TYPE_UNKNOWN: _TransferSeriesType.ValueType # 0
|
|
29
|
+
SERIES_TYPE_CONVERGENCE: _TransferSeriesType.ValueType # 1
|
|
30
|
+
SERIES_TYPE_SUM: _TransferSeriesType.ValueType # 2
|
|
31
|
+
SERIES_TYPE_WEIGHTED_AVERAGE: _TransferSeriesType.ValueType # 3
|
|
32
|
+
|
|
24
33
|
class TransferSeriesType(_TransferSeriesType, metaclass=_TransferSeriesTypeEnumTypeWrapper):
|
|
25
34
|
"""Enum containing the different types of chart series."""
|
|
26
|
-
pass
|
|
27
35
|
|
|
28
|
-
SERIES_TYPE_UNKNOWN: TransferSeriesType.ValueType
|
|
29
|
-
SERIES_TYPE_CONVERGENCE: TransferSeriesType.ValueType
|
|
30
|
-
SERIES_TYPE_SUM: TransferSeriesType.ValueType
|
|
31
|
-
SERIES_TYPE_WEIGHTED_AVERAGE: TransferSeriesType.ValueType
|
|
36
|
+
SERIES_TYPE_UNKNOWN: TransferSeriesType.ValueType # 0
|
|
37
|
+
SERIES_TYPE_CONVERGENCE: TransferSeriesType.ValueType # 1
|
|
38
|
+
SERIES_TYPE_SUM: TransferSeriesType.ValueType # 2
|
|
39
|
+
SERIES_TYPE_WEIGHTED_AVERAGE: TransferSeriesType.ValueType # 3
|
|
32
40
|
global___TransferSeriesType = TransferSeriesType
|
|
33
41
|
|
|
34
|
-
|
|
42
|
+
@typing.final
|
|
35
43
|
class TransferSeriesInfo(google.protobuf.message.Message):
|
|
36
44
|
"""Information about the chart series data associated with a data transfer."""
|
|
37
|
-
|
|
45
|
+
|
|
46
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
47
|
+
|
|
38
48
|
SERIES_TYPE_FIELD_NUMBER: builtins.int
|
|
39
49
|
TRANSFER_NAME_FIELD_NUMBER: builtins.int
|
|
40
50
|
PARTICIPANT_NAME_FIELD_NUMBER: builtins.int
|
|
41
51
|
COMPONENT_SUFFIX_FIELD_NUMBER: builtins.int
|
|
42
|
-
series_type: global___TransferSeriesType.ValueType
|
|
52
|
+
series_type: global___TransferSeriesType.ValueType
|
|
43
53
|
"""The type of line series."""
|
|
44
|
-
|
|
45
|
-
transfer_name: typing.Text = ...
|
|
54
|
+
transfer_name: builtins.str
|
|
46
55
|
"""The unique internal name of the data transfer."""
|
|
47
|
-
|
|
48
|
-
participant_name: typing.Text = ...
|
|
56
|
+
participant_name: builtins.str
|
|
49
57
|
"""The unique internal name of the participant. This is required for transfer value series
|
|
50
58
|
but is empty for CONVERGENCE series. Used in chart labelling.
|
|
51
59
|
"""
|
|
52
|
-
|
|
53
|
-
component_suffix: typing.Text = ...
|
|
60
|
+
component_suffix: builtins.str
|
|
54
61
|
"""The suffix for this component series, if applicable. This is only needed for
|
|
55
62
|
transfer value series that have multiple components, such as complex or vector
|
|
56
63
|
values. Suffixes for complex components are "real" and "imag", and suffixes for
|
|
57
64
|
vector components are "x", "y", and "z". A combination is possible, such as
|
|
58
65
|
"y real" and "x imag". (Empty for CONVERGENCE series)
|
|
59
66
|
"""
|
|
60
|
-
|
|
61
|
-
|
|
67
|
+
def __init__(
|
|
68
|
+
self,
|
|
62
69
|
*,
|
|
63
|
-
series_type
|
|
64
|
-
transfer_name
|
|
65
|
-
participant_name
|
|
66
|
-
component_suffix
|
|
67
|
-
|
|
68
|
-
def ClearField(self, field_name:
|
|
70
|
+
series_type: global___TransferSeriesType.ValueType = ...,
|
|
71
|
+
transfer_name: builtins.str = ...,
|
|
72
|
+
participant_name: builtins.str = ...,
|
|
73
|
+
component_suffix: builtins.str = ...,
|
|
74
|
+
) -> None: ...
|
|
75
|
+
def ClearField(self, field_name: typing.Literal["component_suffix", b"component_suffix", "participant_name", b"participant_name", "series_type", b"series_type", "transfer_name", b"transfer_name"]) -> None: ...
|
|
76
|
+
|
|
69
77
|
global___TransferSeriesInfo = TransferSeriesInfo
|
|
70
78
|
|
|
79
|
+
@typing.final
|
|
71
80
|
class InterfaceInfo(google.protobuf.message.Message):
|
|
72
81
|
"""Information about the chart series data associated with a single interface."""
|
|
73
|
-
|
|
82
|
+
|
|
83
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
84
|
+
|
|
74
85
|
INTERFACE_NAME_FIELD_NUMBER: builtins.int
|
|
75
86
|
TRANSFER_INFO_FIELD_NUMBER: builtins.int
|
|
76
|
-
interface_name:
|
|
87
|
+
interface_name: builtins.str
|
|
77
88
|
"""The name of the coupling interface data model object."""
|
|
78
|
-
|
|
79
89
|
@property
|
|
80
90
|
def transfer_info(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TransferSeriesInfo]:
|
|
81
91
|
"""The list of TransferSeriesInfo associated with this interface."""
|
|
82
|
-
|
|
83
|
-
def __init__(
|
|
92
|
+
|
|
93
|
+
def __init__(
|
|
94
|
+
self,
|
|
84
95
|
*,
|
|
85
|
-
interface_name
|
|
86
|
-
transfer_info
|
|
87
|
-
|
|
88
|
-
def ClearField(self, field_name:
|
|
96
|
+
interface_name: builtins.str = ...,
|
|
97
|
+
transfer_info: collections.abc.Iterable[global___TransferSeriesInfo] | None = ...,
|
|
98
|
+
) -> None: ...
|
|
99
|
+
def ClearField(self, field_name: typing.Literal["interface_name", b"interface_name", "transfer_info", b"transfer_info"]) -> None: ...
|
|
100
|
+
|
|
89
101
|
global___InterfaceInfo = InterfaceInfo
|
|
90
102
|
|
|
103
|
+
@typing.final
|
|
91
104
|
class ChartMetadata(google.protobuf.message.Message):
|
|
92
105
|
"""Complete metadata for available chart series."""
|
|
93
|
-
|
|
106
|
+
|
|
107
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
108
|
+
|
|
94
109
|
IS_TRANSIENT_FIELD_NUMBER: builtins.int
|
|
95
110
|
INTERFACE_INFO_FIELD_NUMBER: builtins.int
|
|
96
|
-
is_transient: builtins.bool
|
|
111
|
+
is_transient: builtins.bool
|
|
97
112
|
"""Whether the chart is for a transient analysis."""
|
|
98
|
-
|
|
99
113
|
@property
|
|
100
114
|
def interface_info(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___InterfaceInfo]:
|
|
101
115
|
"""The metadata for the series associated with each interface."""
|
|
102
|
-
|
|
103
|
-
def __init__(
|
|
116
|
+
|
|
117
|
+
def __init__(
|
|
118
|
+
self,
|
|
104
119
|
*,
|
|
105
|
-
is_transient
|
|
106
|
-
interface_info
|
|
107
|
-
|
|
108
|
-
def ClearField(self, field_name:
|
|
120
|
+
is_transient: builtins.bool = ...,
|
|
121
|
+
interface_info: collections.abc.Iterable[global___InterfaceInfo] | None = ...,
|
|
122
|
+
) -> None: ...
|
|
123
|
+
def ClearField(self, field_name: typing.Literal["interface_info", b"interface_info", "is_transient", b"is_transient"]) -> None: ...
|
|
124
|
+
|
|
109
125
|
global___ChartMetadata = ChartMetadata
|
|
110
126
|
|
|
127
|
+
@typing.final
|
|
111
128
|
class SeriesData(google.protobuf.message.Message):
|
|
112
129
|
"""The plot data for a single chart line series and information to allow
|
|
113
130
|
it to be associated with chart metadata.
|
|
@@ -115,97 +132,107 @@ class SeriesData(google.protobuf.message.Message):
|
|
|
115
132
|
This message supports per-iteration incremental data, batched data for a
|
|
116
133
|
subset of iterations, or complete data for all iterations.
|
|
117
134
|
"""
|
|
118
|
-
|
|
135
|
+
|
|
136
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
137
|
+
|
|
119
138
|
INTERFACE_NAME_FIELD_NUMBER: builtins.int
|
|
120
139
|
TRANSFER_SERIES_INDEX_FIELD_NUMBER: builtins.int
|
|
121
140
|
START_INDEX_FIELD_NUMBER: builtins.int
|
|
122
141
|
DATA_FIELD_NUMBER: builtins.int
|
|
123
|
-
interface_name:
|
|
142
|
+
interface_name: builtins.str
|
|
124
143
|
"""The name of the interface this series is associated with."""
|
|
125
|
-
|
|
126
|
-
transfer_series_index: builtins.int = ...
|
|
144
|
+
transfer_series_index: builtins.int
|
|
127
145
|
"""Index of the TransferSeriesInfo metadata for this series within the
|
|
128
146
|
InterfaceInfo for the interface this series is associated with.
|
|
129
147
|
"""
|
|
130
|
-
|
|
131
|
-
start_index: builtins.int = ...
|
|
148
|
+
start_index: builtins.int
|
|
132
149
|
"""The 0-based start index of the data field. This defaults to 0 and
|
|
133
150
|
only needs to be set to a different value if incremental data, such
|
|
134
151
|
as might arise during "live" update of plots, has become available.
|
|
135
152
|
Data indexes correspond to iterations. Iteration N will have an
|
|
136
153
|
index of N-1.
|
|
137
154
|
"""
|
|
138
|
-
|
|
139
155
|
@property
|
|
140
156
|
def data(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]:
|
|
141
157
|
"""The series data. This is always indexed by iteration. Extract time
|
|
142
158
|
step-based data by using a time step to iteration mapping.
|
|
143
159
|
"""
|
|
144
|
-
|
|
145
|
-
def __init__(
|
|
160
|
+
|
|
161
|
+
def __init__(
|
|
162
|
+
self,
|
|
146
163
|
*,
|
|
147
|
-
interface_name
|
|
148
|
-
transfer_series_index
|
|
149
|
-
start_index
|
|
150
|
-
data
|
|
151
|
-
|
|
152
|
-
def ClearField(self, field_name:
|
|
164
|
+
interface_name: builtins.str = ...,
|
|
165
|
+
transfer_series_index: builtins.int = ...,
|
|
166
|
+
start_index: builtins.int = ...,
|
|
167
|
+
data: collections.abc.Iterable[builtins.float] | None = ...,
|
|
168
|
+
) -> None: ...
|
|
169
|
+
def ClearField(self, field_name: typing.Literal["data", b"data", "interface_name", b"interface_name", "start_index", b"start_index", "transfer_series_index", b"transfer_series_index"]) -> None: ...
|
|
170
|
+
|
|
153
171
|
global___SeriesData = SeriesData
|
|
154
172
|
|
|
173
|
+
@typing.final
|
|
155
174
|
class TimestepStart(google.protobuf.message.Message):
|
|
156
175
|
"""Message providing notification and details of a new timestep in a transient analysis.
|
|
157
176
|
This message is intended for use in live updates. See TimestepData for
|
|
158
177
|
cumulative timestep information.
|
|
159
178
|
"""
|
|
160
|
-
|
|
179
|
+
|
|
180
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
181
|
+
|
|
161
182
|
TIMESTEP_COUNT_FIELD_NUMBER: builtins.int
|
|
162
183
|
TIME_FIELD_NUMBER: builtins.int
|
|
163
|
-
timestep_count: builtins.int
|
|
184
|
+
timestep_count: builtins.int
|
|
164
185
|
"""The timestep count of the new timestep."""
|
|
165
|
-
|
|
166
|
-
time: builtins.float = ...
|
|
186
|
+
time: builtins.float
|
|
167
187
|
"""The end time of the current timestep.
|
|
168
188
|
For the first timestep, this is the timestep size. For subsequent
|
|
169
189
|
timesteps, the timestep size can be determined by subtracting the previous
|
|
170
190
|
time value from the current time value.
|
|
171
191
|
"""
|
|
172
|
-
|
|
173
|
-
|
|
192
|
+
def __init__(
|
|
193
|
+
self,
|
|
174
194
|
*,
|
|
175
|
-
timestep_count
|
|
176
|
-
time
|
|
177
|
-
|
|
178
|
-
def ClearField(self, field_name:
|
|
195
|
+
timestep_count: builtins.int = ...,
|
|
196
|
+
time: builtins.float = ...,
|
|
197
|
+
) -> None: ...
|
|
198
|
+
def ClearField(self, field_name: typing.Literal["time", b"time", "timestep_count", b"timestep_count"]) -> None: ...
|
|
199
|
+
|
|
179
200
|
global___TimestepStart = TimestepStart
|
|
180
201
|
|
|
202
|
+
@typing.final
|
|
181
203
|
class TimestepEnd(google.protobuf.message.Message):
|
|
182
204
|
"""Message providing notification and details of the end of a timestep in a transient analysis.
|
|
183
205
|
This message is intended for use in live updates. See TimestepData for
|
|
184
206
|
cumulative timestep information.
|
|
185
207
|
"""
|
|
186
|
-
|
|
208
|
+
|
|
209
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
210
|
+
|
|
187
211
|
TIMESTEP_COUNT_FIELD_NUMBER: builtins.int
|
|
188
212
|
ITERATION_COUNT_FIELD_NUMBER: builtins.int
|
|
189
|
-
timestep_count: builtins.int
|
|
213
|
+
timestep_count: builtins.int
|
|
190
214
|
"""The timestep count of the ended timestep."""
|
|
191
|
-
|
|
192
|
-
iteration_count: builtins.int = ...
|
|
215
|
+
iteration_count: builtins.int
|
|
193
216
|
"""The ending iteration for the timestep. NB: This is a 1-based iteration count."""
|
|
194
|
-
|
|
195
|
-
|
|
217
|
+
def __init__(
|
|
218
|
+
self,
|
|
196
219
|
*,
|
|
197
|
-
timestep_count
|
|
198
|
-
iteration_count
|
|
199
|
-
|
|
200
|
-
def ClearField(self, field_name:
|
|
220
|
+
timestep_count: builtins.int = ...,
|
|
221
|
+
iteration_count: builtins.int = ...,
|
|
222
|
+
) -> None: ...
|
|
223
|
+
def ClearField(self, field_name: typing.Literal["iteration_count", b"iteration_count", "timestep_count", b"timestep_count"]) -> None: ...
|
|
224
|
+
|
|
201
225
|
global___TimestepEnd = TimestepEnd
|
|
202
226
|
|
|
227
|
+
@typing.final
|
|
203
228
|
class ChartDataEvent(google.protobuf.message.Message):
|
|
204
229
|
"""Chart data event that can contain different types of chart data.
|
|
205
230
|
The first event in a stream will typically contain interface metadata,
|
|
206
231
|
followed by series data and timestep data as they become available.
|
|
207
232
|
"""
|
|
208
|
-
|
|
233
|
+
|
|
234
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
235
|
+
|
|
209
236
|
METADATA_FIELD_NUMBER: builtins.int
|
|
210
237
|
SERIES_DATA_FIELD_NUMBER: builtins.int
|
|
211
238
|
TIMESTEP_START_FIELD_NUMBER: builtins.int
|
|
@@ -213,53 +240,63 @@ class ChartDataEvent(google.protobuf.message.Message):
|
|
|
213
240
|
@property
|
|
214
241
|
def metadata(self) -> global___ChartMetadata:
|
|
215
242
|
"""Metadata containing information about the available series."""
|
|
216
|
-
|
|
243
|
+
|
|
217
244
|
@property
|
|
218
245
|
def series_data(self) -> global___SeriesData:
|
|
219
246
|
"""Series data for a specific chart line series."""
|
|
220
|
-
|
|
247
|
+
|
|
221
248
|
@property
|
|
222
249
|
def timestep_start(self) -> global___TimestepStart:
|
|
223
250
|
"""Timestep start notification for transient analyses."""
|
|
224
|
-
|
|
251
|
+
|
|
225
252
|
@property
|
|
226
253
|
def timestep_end(self) -> global___TimestepEnd:
|
|
227
254
|
"""Timestep end notification for transient analyses."""
|
|
228
|
-
|
|
229
|
-
def __init__(
|
|
255
|
+
|
|
256
|
+
def __init__(
|
|
257
|
+
self,
|
|
230
258
|
*,
|
|
231
|
-
metadata
|
|
232
|
-
series_data
|
|
233
|
-
timestep_start
|
|
234
|
-
timestep_end
|
|
235
|
-
|
|
236
|
-
def HasField(self, field_name:
|
|
237
|
-
def ClearField(self, field_name:
|
|
238
|
-
def WhichOneof(self, oneof_group:
|
|
259
|
+
metadata: global___ChartMetadata | None = ...,
|
|
260
|
+
series_data: global___SeriesData | None = ...,
|
|
261
|
+
timestep_start: global___TimestepStart | None = ...,
|
|
262
|
+
timestep_end: global___TimestepEnd | None = ...,
|
|
263
|
+
) -> None: ...
|
|
264
|
+
def HasField(self, field_name: typing.Literal["event_data", b"event_data", "metadata", b"metadata", "series_data", b"series_data", "timestep_end", b"timestep_end", "timestep_start", b"timestep_start"]) -> builtins.bool: ...
|
|
265
|
+
def ClearField(self, field_name: typing.Literal["event_data", b"event_data", "metadata", b"metadata", "series_data", b"series_data", "timestep_end", b"timestep_end", "timestep_start", b"timestep_start"]) -> None: ...
|
|
266
|
+
def WhichOneof(self, oneof_group: typing.Literal["event_data", b"event_data"]) -> typing.Literal["metadata", "series_data", "timestep_start", "timestep_end"] | None: ...
|
|
267
|
+
|
|
239
268
|
global___ChartDataEvent = ChartDataEvent
|
|
240
269
|
|
|
270
|
+
@typing.final
|
|
241
271
|
class AllSeriesData(google.protobuf.message.Message):
|
|
242
272
|
"""Message providing all series data for all interfaces.
|
|
243
273
|
For use in post-solve, non-streaming retrieval of chart data.
|
|
244
274
|
"""
|
|
245
|
-
|
|
275
|
+
|
|
276
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
277
|
+
|
|
246
278
|
SERIES_DATA_FIELD_NUMBER: builtins.int
|
|
247
279
|
@property
|
|
248
280
|
def series_data(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___SeriesData]:
|
|
249
281
|
"""List of all available series data."""
|
|
250
|
-
|
|
251
|
-
def __init__(
|
|
282
|
+
|
|
283
|
+
def __init__(
|
|
284
|
+
self,
|
|
252
285
|
*,
|
|
253
|
-
series_data
|
|
254
|
-
|
|
255
|
-
def ClearField(self, field_name:
|
|
286
|
+
series_data: collections.abc.Iterable[global___SeriesData] | None = ...,
|
|
287
|
+
) -> None: ...
|
|
288
|
+
def ClearField(self, field_name: typing.Literal["series_data", b"series_data"]) -> None: ...
|
|
289
|
+
|
|
256
290
|
global___AllSeriesData = AllSeriesData
|
|
257
291
|
|
|
292
|
+
@typing.final
|
|
258
293
|
class TimestepData(google.protobuf.message.Message):
|
|
259
294
|
"""Message providing all timestep data for transient analyses.
|
|
260
295
|
For use in post-solve, non-streaming retrieval of chart data.
|
|
261
296
|
"""
|
|
262
|
-
|
|
297
|
+
|
|
298
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
299
|
+
|
|
263
300
|
TIMESTEP_TO_ITERATION_FIELD_NUMBER: builtins.int
|
|
264
301
|
TIME_VALUES_FIELD_NUMBER: builtins.int
|
|
265
302
|
@property
|
|
@@ -267,43 +304,65 @@ class TimestepData(google.protobuf.message.Message):
|
|
|
267
304
|
"""The mapping of timestep count to iteration count.
|
|
268
305
|
NB: these are 1-based step and iteration counts.
|
|
269
306
|
"""
|
|
270
|
-
|
|
307
|
+
|
|
271
308
|
@property
|
|
272
309
|
def time_values(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]:
|
|
273
310
|
"""The time values for each timestep."""
|
|
274
|
-
|
|
275
|
-
def __init__(
|
|
311
|
+
|
|
312
|
+
def __init__(
|
|
313
|
+
self,
|
|
276
314
|
*,
|
|
277
|
-
timestep_to_iteration
|
|
278
|
-
time_values
|
|
279
|
-
|
|
280
|
-
def ClearField(self, field_name:
|
|
315
|
+
timestep_to_iteration: collections.abc.Iterable[builtins.int] | None = ...,
|
|
316
|
+
time_values: collections.abc.Iterable[builtins.float] | None = ...,
|
|
317
|
+
) -> None: ...
|
|
318
|
+
def ClearField(self, field_name: typing.Literal["time_values", b"time_values", "timestep_to_iteration", b"timestep_to_iteration"]) -> None: ...
|
|
319
|
+
|
|
281
320
|
global___TimestepData = TimestepData
|
|
282
321
|
|
|
322
|
+
@typing.final
|
|
283
323
|
class ChartDataRequest(google.protobuf.message.Message):
|
|
284
324
|
"""Request message for chart data streaming."""
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
325
|
+
|
|
326
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
327
|
+
|
|
328
|
+
def __init__(
|
|
329
|
+
self,
|
|
330
|
+
) -> None: ...
|
|
331
|
+
|
|
288
332
|
global___ChartDataRequest = ChartDataRequest
|
|
289
333
|
|
|
334
|
+
@typing.final
|
|
290
335
|
class ChartMetadataRequest(google.protobuf.message.Message):
|
|
291
336
|
"""Request message for chart metadata retrieval."""
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
337
|
+
|
|
338
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
339
|
+
|
|
340
|
+
def __init__(
|
|
341
|
+
self,
|
|
342
|
+
) -> None: ...
|
|
343
|
+
|
|
295
344
|
global___ChartMetadataRequest = ChartMetadataRequest
|
|
296
345
|
|
|
346
|
+
@typing.final
|
|
297
347
|
class ChartSeriesDataRequest(google.protobuf.message.Message):
|
|
298
348
|
"""Request message for all chart series data retrieval."""
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
349
|
+
|
|
350
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
351
|
+
|
|
352
|
+
def __init__(
|
|
353
|
+
self,
|
|
354
|
+
) -> None: ...
|
|
355
|
+
|
|
302
356
|
global___ChartSeriesDataRequest = ChartSeriesDataRequest
|
|
303
357
|
|
|
358
|
+
@typing.final
|
|
304
359
|
class ChartTimestepDataRequest(google.protobuf.message.Message):
|
|
305
360
|
"""Request message for chart timestep data retrieval."""
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
361
|
+
|
|
362
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
363
|
+
|
|
364
|
+
def __init__(
|
|
365
|
+
self,
|
|
366
|
+
) -> None: ...
|
|
367
|
+
|
|
309
368
|
global___ChartTimestepDataRequest = ChartTimestepDataRequest
|