nominal-api-protos 0.968.0__py3-none-any.whl → 0.985.0__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 nominal-api-protos might be problematic. Click here for more details.
- nominal_api_protos/nominal/ai/v1/ai_agent_pb2.py +121 -0
- nominal_api_protos/nominal/ai/v1/ai_agent_pb2.pyi +345 -0
- nominal_api_protos/nominal/ai/v1/ai_agent_pb2_grpc.py +321 -0
- nominal_api_protos/nominal/ai/v1/ai_features_pb2.py +40 -0
- nominal_api_protos/nominal/ai/v1/ai_features_pb2.pyi +15 -0
- nominal_api_protos/nominal/ai/v1/ai_features_pb2_grpc.py +101 -0
- nominal_api_protos/nominal/ai/v1/workbook_agent_pb2.py +8 -57
- nominal_api_protos/nominal/ai/v1/workbook_agent_pb2.pyi +15 -214
- nominal_api_protos/nominal/ai/v1/workbook_agent_pb2_grpc.py +230 -6
- nominal_api_protos/nominal/data_connector/v1/data_connector_pb2.py +137 -0
- nominal_api_protos/nominal/data_connector/v1/data_connector_pb2.pyi +222 -0
- nominal_api_protos/nominal/data_connector/v1/data_connector_pb2_grpc.py +368 -0
- nominal_api_protos/nominal/data_connector/v1/opc_ua_connector_pb2.py +117 -0
- nominal_api_protos/nominal/data_connector/v1/opc_ua_connector_pb2.pyi +282 -0
- nominal_api_protos/nominal/data_connector/v1/opc_ua_connector_pb2_grpc.py +24 -0
- nominal_api_protos/nominal/direct_channel_writer/v2/direct_nominal_channel_writer_pb2.py +25 -23
- nominal_api_protos/nominal/direct_channel_writer/v2/direct_nominal_channel_writer_pb2.pyi +10 -2
- nominal_api_protos/nominal/procedures/executions/v1/procedure_executions_pb2.py +92 -82
- nominal_api_protos/nominal/procedures/executions/v1/procedure_executions_pb2.pyi +34 -4
- nominal_api_protos/nominal/procedures/v1/procedures_pb2.py +228 -208
- nominal_api_protos/nominal/procedures/v1/procedures_pb2.pyi +54 -8
- nominal_api_protos/nominal/streaming_connection_service/v1/opc_ua_pb2.py +12 -12
- nominal_api_protos/nominal/streaming_connection_service/v1/opc_ua_pb2.pyi +0 -2
- nominal_api_protos/nominal_write_pb2.py +24 -14
- nominal_api_protos/nominal_write_pb2.pyi +40 -2
- {nominal_api_protos-0.968.0.dist-info → nominal_api_protos-0.985.0.dist-info}/METADATA +3 -1
- {nominal_api_protos-0.968.0.dist-info → nominal_api_protos-0.985.0.dist-info}/RECORD +29 -17
- {nominal_api_protos-0.968.0.dist-info → nominal_api_protos-0.985.0.dist-info}/WHEEL +0 -0
- {nominal_api_protos-0.968.0.dist-info → nominal_api_protos-0.985.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: nominal/ai/v1/ai_agent.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
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
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'nominal/ai/v1/ai_agent.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cnominal/ai/v1/ai_agent.proto\x12\rnominal.ai.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf8\x01\n\x11StreamChatRequest\x12\x18\n\x10\x63onversation_rid\x18\x01 \x01(\t\x12\x30\n\x07message\x18\x02 \x01(\x0b\x32\x1f.nominal.ai.v1.UserModelMessage\x12(\n\x06images\x18\x03 \x03(\x0b\x32\x18.nominal.ai.v1.ImagePart\x12\x32\n\x08workbook\x18\x04 \x01(\x0b\x32\x1e.nominal.ai.v1.WorkbookContextH\x00\x12.\n\x06global\x18\x05 \x01(\x0b\x32\x1c.nominal.ai.v1.GlobalContextH\x00\x42\t\n\x07\x63ontext\"z\n\x0fWorkbookContext\x12\x14\n\x0cworkbook_rid\x18\x01 \x01(\t\x12?\n\ruser_presence\x18\x02 \x01(\x0b\x32#.nominal.ai.v1.WorkbookUserPresenceH\x00\x88\x01\x01\x42\x10\n\x0e_user_presence\"\x0f\n\rGlobalContext\"t\n\x14WorkbookUserPresence\x12\x16\n\ttab_index\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12,\n\x05range\x18\x02 \x01(\x0b\x32\x18.nominal.ai.v1.TimeRangeH\x01\x88\x01\x01\x42\x0c\n\n_tab_indexB\x08\n\x06_range\"\xb7\x01\n\x19\x43reateConversationRequest\x12\r\n\x05title\x18\x01 \x01(\t\x12\x15\n\rworkspace_rid\x18\x02 \x01(\t\x12!\n\x14old_conversation_rid\x18\x03 \x01(\tH\x00\x88\x01\x01\x12 \n\x13previous_message_id\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x17\n\x15_old_conversation_ridB\x16\n\x14_previous_message_id\":\n\x1a\x43reateConversationResponse\x12\x1c\n\x14new_conversation_rid\x18\x01 \x01(\t\"L\n!UpdateConversationMetadataRequest\x12\r\n\x05title\x18\x01 \x01(\t\x12\x18\n\x10\x63onversation_rid\x18\x02 \x01(\t\"$\n\"UpdateConversationMetadataResponse\"5\n\x19\x44\x65leteConversationRequest\x12\x18\n\x10\x63onversation_rid\x18\x01 \x01(\t\"\x1c\n\x1a\x44\x65leteConversationResponse\"\xa6\x01\n\x16GetConversationRequest\x12\x18\n\x10\x63onversation_rid\x18\x01 \x01(\t\x12\"\n\x15page_start_message_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11max_message_count\x18\x03 \x01(\x05H\x01\x88\x01\x01\x42\x18\n\x16_page_start_message_idB\x14\n\x12_max_message_count\"\x95\x01\n\x12ModelMessageWithId\x12.\n\x07message\x18\x01 \x01(\x0b\x32\x1b.nominal.ai.v1.ModelMessageH\x00\x12\x30\n\x0btool_action\x18\x02 \x01(\x0b\x32\x19.nominal.ai.v1.ToolActionH\x00\x12\x12\n\nmessage_id\x18\x03 \x01(\tB\t\n\x07\x63ontent\"V\n\x17GetConversationResponse\x12;\n\x10ordered_messages\x18\x01 \x03(\x0b\x32!.nominal.ai.v1.ModelMessageWithId\"1\n\x18ListConversationsRequest\x12\x15\n\rworkspace_rid\x18\x01 \x01(\t\"\xa4\x01\n\x14\x43onversationMetadata\x12\x18\n\x10\x63onversation_rid\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0flast_updated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"W\n\x19ListConversationsResponse\x12:\n\rconversations\x18\x01 \x03(\x0b\x32#.nominal.ai.v1.ConversationMetadata\"g\n\tTimeRange\x12-\n\x0brange_start\x18\x01 \x01(\x0b\x32\x18.nominal.ai.v1.Timestamp\x12+\n\trange_end\x18\x02 \x01(\x0b\x32\x18.nominal.ai.v1.Timestamp\"1\n\tTimestamp\x12\x0f\n\x07seconds\x18\x01 \x01(\x05\x12\x13\n\x0bnanoseconds\x18\x02 \x01(\x05\"\x82\x01\n\x0cModelMessage\x12/\n\x04user\x18\x01 \x01(\x0b\x32\x1f.nominal.ai.v1.UserModelMessageH\x00\x12\x39\n\tassistant\x18\x02 \x01(\x0b\x32$.nominal.ai.v1.AssistantModelMessageH\x00\x42\x06\n\x04kind\"@\n\x10UserModelMessage\x12,\n\x04text\x18\x01 \x03(\x0b\x32\x1e.nominal.ai.v1.UserContentPart\"S\n\x15\x41ssistantModelMessage\x12:\n\rcontent_parts\x18\x01 \x03(\x0b\x32#.nominal.ai.v1.AssistantContentPart\"B\n\x0fUserContentPart\x12\'\n\x04text\x18\x01 \x01(\x0b\x32\x17.nominal.ai.v1.TextPartH\x00\x42\x06\n\x04part\"z\n\x14\x41ssistantContentPart\x12\'\n\x04text\x18\x01 \x01(\x0b\x32\x17.nominal.ai.v1.TextPartH\x00\x12\x31\n\treasoning\x18\x02 \x01(\x0b\x32\x1c.nominal.ai.v1.ReasoningPartH\x00\x42\x06\n\x04part\"\x18\n\x08TextPart\x12\x0c\n\x04text\x18\x01 \x01(\t\"e\n\tImagePart\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x17\n\nmedia_type\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08\x66ilename\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\r\n\x0b_media_typeB\x0b\n\t_filename\"\"\n\rReasoningPart\x12\x11\n\treasoning\x18\x01 \x01(\t\"\x96\x04\n\x12StreamChatResponse\x12\'\n\x06\x66inish\x18\x01 \x01(\x0b\x32\x15.nominal.ai.v1.FinishH\x00\x12%\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x14.nominal.ai.v1.ErrorH\x00\x12.\n\ntext_start\x18\x03 \x01(\x0b\x32\x18.nominal.ai.v1.TextStartH\x00\x12.\n\ntext_delta\x18\x04 \x01(\x0b\x32\x18.nominal.ai.v1.TextDeltaH\x00\x12*\n\x08text_end\x18\x05 \x01(\x0b\x32\x16.nominal.ai.v1.TextEndH\x00\x12\x38\n\x0freasoning_start\x18\x06 \x01(\x0b\x32\x1d.nominal.ai.v1.ReasoningStartH\x00\x12\x38\n\x0freasoning_delta\x18\x07 \x01(\x0b\x32\x1d.nominal.ai.v1.ReasoningDeltaH\x00\x12\x34\n\rreasoning_end\x18\x08 \x01(\x0b\x32\x1b.nominal.ai.v1.ReasoningEndH\x00\x12<\n\x11workbook_mutation\x18\t \x01(\x0b\x32\x1f.nominal.ai.v1.WorkbookMutationH\x00\x12\x30\n\x0btool_action\x18\n \x01(\x0b\x32\x19.nominal.ai.v1.ToolActionH\x00\x42\n\n\x08response\"%\n\x06\x46inish\x12\x1b\n\x13ordered_message_ids\x18\x01 \x03(\t\"\x18\n\x05\x45rror\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x17\n\tTextStart\x12\n\n\x02id\x18\x01 \x01(\t\"&\n\tTextDelta\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65lta\x18\x02 \x01(\t\"\x15\n\x07TextEnd\x12\n\n\x02id\x18\x01 \x01(\t\"\x1c\n\x0eReasoningStart\x12\n\n\x02id\x18\x01 \x01(\t\"+\n\x0eReasoningDelta\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65lta\x18\x02 \x01(\t\"\x1a\n\x0cReasoningEnd\x12\n\n\x02id\x18\x01 \x01(\t\"4\n\x0e\x41\x64\x64TabMutation\x12\x15\n\x08tab_name\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_tab_name\"V\n\x18\x41\x64\x64OrUpdatePanelMutation\x12\x15\n\rpanel_as_json\x18\x01 \x01(\t\x12\x10\n\x08panel_id\x18\x02 \x01(\t\x12\x11\n\ttab_index\x18\x03 \x01(\x05\")\n\x14RemovePanelsMutation\x12\x11\n\tpanel_ids\x18\x01 \x03(\t\"\x96\x01\n\x1c\x41\x64\x64OrReplaceVariableMutation\x12\x1c\n\x14\x63ompute_spec_as_json\x18\x01 \x01(\t\x12\x1a\n\rvariable_name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x10\n\x0e_variable_nameB\x0f\n\r_display_name\"1\n\x17\x44\x65leteVariablesMutation\x12\x16\n\x0evariable_names\x18\x01 \x03(\t\"\xf6\x02\n\x10WorkbookMutation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x30\n\x07\x61\x64\x64_tab\x18\x02 \x01(\x0b\x32\x1d.nominal.ai.v1.AddTabMutationH\x00\x12\x46\n\x13\x61\x64\x64_or_update_panel\x18\x03 \x01(\x0b\x32\'.nominal.ai.v1.AddOrUpdatePanelMutationH\x00\x12<\n\rremove_panels\x18\x04 \x01(\x0b\x32#.nominal.ai.v1.RemovePanelsMutationH\x00\x12N\n\x17\x61\x64\x64_or_replace_variable\x18\x05 \x01(\x0b\x32+.nominal.ai.v1.AddOrReplaceVariableMutationH\x00\x12\x42\n\x10\x64\x65lete_variables\x18\x06 \x01(\x0b\x32&.nominal.ai.v1.DeleteVariablesMutationH\x00\x42\n\n\x08mutation\"\\\n\nToolAction\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10tool_action_verb\x18\x02 \x01(\t\x12\x18\n\x0btool_target\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_tool_target2\x89\x05\n\x0e\x41IAgentService\x12S\n\nStreamChat\x12 .nominal.ai.v1.StreamChatRequest\x1a!.nominal.ai.v1.StreamChatResponse0\x01\x12`\n\x0fGetConversation\x12%.nominal.ai.v1.GetConversationRequest\x1a&.nominal.ai.v1.GetConversationResponse\x12\x66\n\x11ListConversations\x12\'.nominal.ai.v1.ListConversationsRequest\x1a(.nominal.ai.v1.ListConversationsResponse\x12i\n\x12\x43reateConversation\x12(.nominal.ai.v1.CreateConversationRequest\x1a).nominal.ai.v1.CreateConversationResponse\x12\x81\x01\n\x1aUpdateConversationMetadata\x12\x30.nominal.ai.v1.UpdateConversationMetadataRequest\x1a\x31.nominal.ai.v1.UpdateConversationMetadataResponse\x12i\n\x12\x44\x65leteConversation\x12(.nominal.ai.v1.DeleteConversationRequest\x1a).nominal.ai.v1.DeleteConversationResponseb\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nominal.ai.v1.ai_agent_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
DESCRIPTOR._loaded_options = None
|
|
35
|
+
_globals['_STREAMCHATREQUEST']._serialized_start=81
|
|
36
|
+
_globals['_STREAMCHATREQUEST']._serialized_end=329
|
|
37
|
+
_globals['_WORKBOOKCONTEXT']._serialized_start=331
|
|
38
|
+
_globals['_WORKBOOKCONTEXT']._serialized_end=453
|
|
39
|
+
_globals['_GLOBALCONTEXT']._serialized_start=455
|
|
40
|
+
_globals['_GLOBALCONTEXT']._serialized_end=470
|
|
41
|
+
_globals['_WORKBOOKUSERPRESENCE']._serialized_start=472
|
|
42
|
+
_globals['_WORKBOOKUSERPRESENCE']._serialized_end=588
|
|
43
|
+
_globals['_CREATECONVERSATIONREQUEST']._serialized_start=591
|
|
44
|
+
_globals['_CREATECONVERSATIONREQUEST']._serialized_end=774
|
|
45
|
+
_globals['_CREATECONVERSATIONRESPONSE']._serialized_start=776
|
|
46
|
+
_globals['_CREATECONVERSATIONRESPONSE']._serialized_end=834
|
|
47
|
+
_globals['_UPDATECONVERSATIONMETADATAREQUEST']._serialized_start=836
|
|
48
|
+
_globals['_UPDATECONVERSATIONMETADATAREQUEST']._serialized_end=912
|
|
49
|
+
_globals['_UPDATECONVERSATIONMETADATARESPONSE']._serialized_start=914
|
|
50
|
+
_globals['_UPDATECONVERSATIONMETADATARESPONSE']._serialized_end=950
|
|
51
|
+
_globals['_DELETECONVERSATIONREQUEST']._serialized_start=952
|
|
52
|
+
_globals['_DELETECONVERSATIONREQUEST']._serialized_end=1005
|
|
53
|
+
_globals['_DELETECONVERSATIONRESPONSE']._serialized_start=1007
|
|
54
|
+
_globals['_DELETECONVERSATIONRESPONSE']._serialized_end=1035
|
|
55
|
+
_globals['_GETCONVERSATIONREQUEST']._serialized_start=1038
|
|
56
|
+
_globals['_GETCONVERSATIONREQUEST']._serialized_end=1204
|
|
57
|
+
_globals['_MODELMESSAGEWITHID']._serialized_start=1207
|
|
58
|
+
_globals['_MODELMESSAGEWITHID']._serialized_end=1356
|
|
59
|
+
_globals['_GETCONVERSATIONRESPONSE']._serialized_start=1358
|
|
60
|
+
_globals['_GETCONVERSATIONRESPONSE']._serialized_end=1444
|
|
61
|
+
_globals['_LISTCONVERSATIONSREQUEST']._serialized_start=1446
|
|
62
|
+
_globals['_LISTCONVERSATIONSREQUEST']._serialized_end=1495
|
|
63
|
+
_globals['_CONVERSATIONMETADATA']._serialized_start=1498
|
|
64
|
+
_globals['_CONVERSATIONMETADATA']._serialized_end=1662
|
|
65
|
+
_globals['_LISTCONVERSATIONSRESPONSE']._serialized_start=1664
|
|
66
|
+
_globals['_LISTCONVERSATIONSRESPONSE']._serialized_end=1751
|
|
67
|
+
_globals['_TIMERANGE']._serialized_start=1753
|
|
68
|
+
_globals['_TIMERANGE']._serialized_end=1856
|
|
69
|
+
_globals['_TIMESTAMP']._serialized_start=1858
|
|
70
|
+
_globals['_TIMESTAMP']._serialized_end=1907
|
|
71
|
+
_globals['_MODELMESSAGE']._serialized_start=1910
|
|
72
|
+
_globals['_MODELMESSAGE']._serialized_end=2040
|
|
73
|
+
_globals['_USERMODELMESSAGE']._serialized_start=2042
|
|
74
|
+
_globals['_USERMODELMESSAGE']._serialized_end=2106
|
|
75
|
+
_globals['_ASSISTANTMODELMESSAGE']._serialized_start=2108
|
|
76
|
+
_globals['_ASSISTANTMODELMESSAGE']._serialized_end=2191
|
|
77
|
+
_globals['_USERCONTENTPART']._serialized_start=2193
|
|
78
|
+
_globals['_USERCONTENTPART']._serialized_end=2259
|
|
79
|
+
_globals['_ASSISTANTCONTENTPART']._serialized_start=2261
|
|
80
|
+
_globals['_ASSISTANTCONTENTPART']._serialized_end=2383
|
|
81
|
+
_globals['_TEXTPART']._serialized_start=2385
|
|
82
|
+
_globals['_TEXTPART']._serialized_end=2409
|
|
83
|
+
_globals['_IMAGEPART']._serialized_start=2411
|
|
84
|
+
_globals['_IMAGEPART']._serialized_end=2512
|
|
85
|
+
_globals['_REASONINGPART']._serialized_start=2514
|
|
86
|
+
_globals['_REASONINGPART']._serialized_end=2548
|
|
87
|
+
_globals['_STREAMCHATRESPONSE']._serialized_start=2551
|
|
88
|
+
_globals['_STREAMCHATRESPONSE']._serialized_end=3085
|
|
89
|
+
_globals['_FINISH']._serialized_start=3087
|
|
90
|
+
_globals['_FINISH']._serialized_end=3124
|
|
91
|
+
_globals['_ERROR']._serialized_start=3126
|
|
92
|
+
_globals['_ERROR']._serialized_end=3150
|
|
93
|
+
_globals['_TEXTSTART']._serialized_start=3152
|
|
94
|
+
_globals['_TEXTSTART']._serialized_end=3175
|
|
95
|
+
_globals['_TEXTDELTA']._serialized_start=3177
|
|
96
|
+
_globals['_TEXTDELTA']._serialized_end=3215
|
|
97
|
+
_globals['_TEXTEND']._serialized_start=3217
|
|
98
|
+
_globals['_TEXTEND']._serialized_end=3238
|
|
99
|
+
_globals['_REASONINGSTART']._serialized_start=3240
|
|
100
|
+
_globals['_REASONINGSTART']._serialized_end=3268
|
|
101
|
+
_globals['_REASONINGDELTA']._serialized_start=3270
|
|
102
|
+
_globals['_REASONINGDELTA']._serialized_end=3313
|
|
103
|
+
_globals['_REASONINGEND']._serialized_start=3315
|
|
104
|
+
_globals['_REASONINGEND']._serialized_end=3341
|
|
105
|
+
_globals['_ADDTABMUTATION']._serialized_start=3343
|
|
106
|
+
_globals['_ADDTABMUTATION']._serialized_end=3395
|
|
107
|
+
_globals['_ADDORUPDATEPANELMUTATION']._serialized_start=3397
|
|
108
|
+
_globals['_ADDORUPDATEPANELMUTATION']._serialized_end=3483
|
|
109
|
+
_globals['_REMOVEPANELSMUTATION']._serialized_start=3485
|
|
110
|
+
_globals['_REMOVEPANELSMUTATION']._serialized_end=3526
|
|
111
|
+
_globals['_ADDORREPLACEVARIABLEMUTATION']._serialized_start=3529
|
|
112
|
+
_globals['_ADDORREPLACEVARIABLEMUTATION']._serialized_end=3679
|
|
113
|
+
_globals['_DELETEVARIABLESMUTATION']._serialized_start=3681
|
|
114
|
+
_globals['_DELETEVARIABLESMUTATION']._serialized_end=3730
|
|
115
|
+
_globals['_WORKBOOKMUTATION']._serialized_start=3733
|
|
116
|
+
_globals['_WORKBOOKMUTATION']._serialized_end=4107
|
|
117
|
+
_globals['_TOOLACTION']._serialized_start=4109
|
|
118
|
+
_globals['_TOOLACTION']._serialized_end=4201
|
|
119
|
+
_globals['_AIAGENTSERVICE']._serialized_start=4204
|
|
120
|
+
_globals['_AIAGENTSERVICE']._serialized_end=4853
|
|
121
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
3
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
4
|
+
from google.protobuf.internal import containers as _containers
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import message as _message
|
|
7
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
8
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
9
|
+
|
|
10
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
11
|
+
|
|
12
|
+
class StreamChatRequest(_message.Message):
|
|
13
|
+
__slots__ = ("conversation_rid", "message", "images", "workbook")
|
|
14
|
+
CONVERSATION_RID_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
+
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
IMAGES_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
WORKBOOK_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
GLOBAL_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
conversation_rid: str
|
|
20
|
+
message: UserModelMessage
|
|
21
|
+
images: _containers.RepeatedCompositeFieldContainer[ImagePart]
|
|
22
|
+
workbook: WorkbookContext
|
|
23
|
+
def __init__(self, conversation_rid: _Optional[str] = ..., message: _Optional[_Union[UserModelMessage, _Mapping]] = ..., images: _Optional[_Iterable[_Union[ImagePart, _Mapping]]] = ..., workbook: _Optional[_Union[WorkbookContext, _Mapping]] = ..., **kwargs) -> None: ...
|
|
24
|
+
|
|
25
|
+
class WorkbookContext(_message.Message):
|
|
26
|
+
__slots__ = ("workbook_rid", "user_presence")
|
|
27
|
+
WORKBOOK_RID_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
USER_PRESENCE_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
workbook_rid: str
|
|
30
|
+
user_presence: WorkbookUserPresence
|
|
31
|
+
def __init__(self, workbook_rid: _Optional[str] = ..., user_presence: _Optional[_Union[WorkbookUserPresence, _Mapping]] = ...) -> None: ...
|
|
32
|
+
|
|
33
|
+
class GlobalContext(_message.Message):
|
|
34
|
+
__slots__ = ()
|
|
35
|
+
def __init__(self) -> None: ...
|
|
36
|
+
|
|
37
|
+
class WorkbookUserPresence(_message.Message):
|
|
38
|
+
__slots__ = ("tab_index", "range")
|
|
39
|
+
TAB_INDEX_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
RANGE_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
tab_index: int
|
|
42
|
+
range: TimeRange
|
|
43
|
+
def __init__(self, tab_index: _Optional[int] = ..., range: _Optional[_Union[TimeRange, _Mapping]] = ...) -> None: ...
|
|
44
|
+
|
|
45
|
+
class CreateConversationRequest(_message.Message):
|
|
46
|
+
__slots__ = ("title", "workspace_rid", "old_conversation_rid", "previous_message_id")
|
|
47
|
+
TITLE_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
WORKSPACE_RID_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
OLD_CONVERSATION_RID_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
PREVIOUS_MESSAGE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
title: str
|
|
52
|
+
workspace_rid: str
|
|
53
|
+
old_conversation_rid: str
|
|
54
|
+
previous_message_id: str
|
|
55
|
+
def __init__(self, title: _Optional[str] = ..., workspace_rid: _Optional[str] = ..., old_conversation_rid: _Optional[str] = ..., previous_message_id: _Optional[str] = ...) -> None: ...
|
|
56
|
+
|
|
57
|
+
class CreateConversationResponse(_message.Message):
|
|
58
|
+
__slots__ = ("new_conversation_rid",)
|
|
59
|
+
NEW_CONVERSATION_RID_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
new_conversation_rid: str
|
|
61
|
+
def __init__(self, new_conversation_rid: _Optional[str] = ...) -> None: ...
|
|
62
|
+
|
|
63
|
+
class UpdateConversationMetadataRequest(_message.Message):
|
|
64
|
+
__slots__ = ("title", "conversation_rid")
|
|
65
|
+
TITLE_FIELD_NUMBER: _ClassVar[int]
|
|
66
|
+
CONVERSATION_RID_FIELD_NUMBER: _ClassVar[int]
|
|
67
|
+
title: str
|
|
68
|
+
conversation_rid: str
|
|
69
|
+
def __init__(self, title: _Optional[str] = ..., conversation_rid: _Optional[str] = ...) -> None: ...
|
|
70
|
+
|
|
71
|
+
class UpdateConversationMetadataResponse(_message.Message):
|
|
72
|
+
__slots__ = ()
|
|
73
|
+
def __init__(self) -> None: ...
|
|
74
|
+
|
|
75
|
+
class DeleteConversationRequest(_message.Message):
|
|
76
|
+
__slots__ = ("conversation_rid",)
|
|
77
|
+
CONVERSATION_RID_FIELD_NUMBER: _ClassVar[int]
|
|
78
|
+
conversation_rid: str
|
|
79
|
+
def __init__(self, conversation_rid: _Optional[str] = ...) -> None: ...
|
|
80
|
+
|
|
81
|
+
class DeleteConversationResponse(_message.Message):
|
|
82
|
+
__slots__ = ()
|
|
83
|
+
def __init__(self) -> None: ...
|
|
84
|
+
|
|
85
|
+
class GetConversationRequest(_message.Message):
|
|
86
|
+
__slots__ = ("conversation_rid", "page_start_message_id", "max_message_count")
|
|
87
|
+
CONVERSATION_RID_FIELD_NUMBER: _ClassVar[int]
|
|
88
|
+
PAGE_START_MESSAGE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
MAX_MESSAGE_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
conversation_rid: str
|
|
91
|
+
page_start_message_id: str
|
|
92
|
+
max_message_count: int
|
|
93
|
+
def __init__(self, conversation_rid: _Optional[str] = ..., page_start_message_id: _Optional[str] = ..., max_message_count: _Optional[int] = ...) -> None: ...
|
|
94
|
+
|
|
95
|
+
class ModelMessageWithId(_message.Message):
|
|
96
|
+
__slots__ = ("message", "tool_action", "message_id")
|
|
97
|
+
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
98
|
+
TOOL_ACTION_FIELD_NUMBER: _ClassVar[int]
|
|
99
|
+
MESSAGE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
100
|
+
message: ModelMessage
|
|
101
|
+
tool_action: ToolAction
|
|
102
|
+
message_id: str
|
|
103
|
+
def __init__(self, message: _Optional[_Union[ModelMessage, _Mapping]] = ..., tool_action: _Optional[_Union[ToolAction, _Mapping]] = ..., message_id: _Optional[str] = ...) -> None: ...
|
|
104
|
+
|
|
105
|
+
class GetConversationResponse(_message.Message):
|
|
106
|
+
__slots__ = ("ordered_messages",)
|
|
107
|
+
ORDERED_MESSAGES_FIELD_NUMBER: _ClassVar[int]
|
|
108
|
+
ordered_messages: _containers.RepeatedCompositeFieldContainer[ModelMessageWithId]
|
|
109
|
+
def __init__(self, ordered_messages: _Optional[_Iterable[_Union[ModelMessageWithId, _Mapping]]] = ...) -> None: ...
|
|
110
|
+
|
|
111
|
+
class ListConversationsRequest(_message.Message):
|
|
112
|
+
__slots__ = ("workspace_rid",)
|
|
113
|
+
WORKSPACE_RID_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
+
workspace_rid: str
|
|
115
|
+
def __init__(self, workspace_rid: _Optional[str] = ...) -> None: ...
|
|
116
|
+
|
|
117
|
+
class ConversationMetadata(_message.Message):
|
|
118
|
+
__slots__ = ("conversation_rid", "title", "created_at", "last_updated_at")
|
|
119
|
+
CONVERSATION_RID_FIELD_NUMBER: _ClassVar[int]
|
|
120
|
+
TITLE_FIELD_NUMBER: _ClassVar[int]
|
|
121
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
122
|
+
LAST_UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
123
|
+
conversation_rid: str
|
|
124
|
+
title: str
|
|
125
|
+
created_at: _timestamp_pb2.Timestamp
|
|
126
|
+
last_updated_at: _timestamp_pb2.Timestamp
|
|
127
|
+
def __init__(self, conversation_rid: _Optional[str] = ..., title: _Optional[str] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., last_updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
128
|
+
|
|
129
|
+
class ListConversationsResponse(_message.Message):
|
|
130
|
+
__slots__ = ("conversations",)
|
|
131
|
+
CONVERSATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
132
|
+
conversations: _containers.RepeatedCompositeFieldContainer[ConversationMetadata]
|
|
133
|
+
def __init__(self, conversations: _Optional[_Iterable[_Union[ConversationMetadata, _Mapping]]] = ...) -> None: ...
|
|
134
|
+
|
|
135
|
+
class TimeRange(_message.Message):
|
|
136
|
+
__slots__ = ("range_start", "range_end")
|
|
137
|
+
RANGE_START_FIELD_NUMBER: _ClassVar[int]
|
|
138
|
+
RANGE_END_FIELD_NUMBER: _ClassVar[int]
|
|
139
|
+
range_start: Timestamp
|
|
140
|
+
range_end: Timestamp
|
|
141
|
+
def __init__(self, range_start: _Optional[_Union[Timestamp, _Mapping]] = ..., range_end: _Optional[_Union[Timestamp, _Mapping]] = ...) -> None: ...
|
|
142
|
+
|
|
143
|
+
class Timestamp(_message.Message):
|
|
144
|
+
__slots__ = ("seconds", "nanoseconds")
|
|
145
|
+
SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
146
|
+
NANOSECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
147
|
+
seconds: int
|
|
148
|
+
nanoseconds: int
|
|
149
|
+
def __init__(self, seconds: _Optional[int] = ..., nanoseconds: _Optional[int] = ...) -> None: ...
|
|
150
|
+
|
|
151
|
+
class ModelMessage(_message.Message):
|
|
152
|
+
__slots__ = ("user", "assistant")
|
|
153
|
+
USER_FIELD_NUMBER: _ClassVar[int]
|
|
154
|
+
ASSISTANT_FIELD_NUMBER: _ClassVar[int]
|
|
155
|
+
user: UserModelMessage
|
|
156
|
+
assistant: AssistantModelMessage
|
|
157
|
+
def __init__(self, user: _Optional[_Union[UserModelMessage, _Mapping]] = ..., assistant: _Optional[_Union[AssistantModelMessage, _Mapping]] = ...) -> None: ...
|
|
158
|
+
|
|
159
|
+
class UserModelMessage(_message.Message):
|
|
160
|
+
__slots__ = ("text",)
|
|
161
|
+
TEXT_FIELD_NUMBER: _ClassVar[int]
|
|
162
|
+
text: _containers.RepeatedCompositeFieldContainer[UserContentPart]
|
|
163
|
+
def __init__(self, text: _Optional[_Iterable[_Union[UserContentPart, _Mapping]]] = ...) -> None: ...
|
|
164
|
+
|
|
165
|
+
class AssistantModelMessage(_message.Message):
|
|
166
|
+
__slots__ = ("content_parts",)
|
|
167
|
+
CONTENT_PARTS_FIELD_NUMBER: _ClassVar[int]
|
|
168
|
+
content_parts: _containers.RepeatedCompositeFieldContainer[AssistantContentPart]
|
|
169
|
+
def __init__(self, content_parts: _Optional[_Iterable[_Union[AssistantContentPart, _Mapping]]] = ...) -> None: ...
|
|
170
|
+
|
|
171
|
+
class UserContentPart(_message.Message):
|
|
172
|
+
__slots__ = ("text",)
|
|
173
|
+
TEXT_FIELD_NUMBER: _ClassVar[int]
|
|
174
|
+
text: TextPart
|
|
175
|
+
def __init__(self, text: _Optional[_Union[TextPart, _Mapping]] = ...) -> None: ...
|
|
176
|
+
|
|
177
|
+
class AssistantContentPart(_message.Message):
|
|
178
|
+
__slots__ = ("text", "reasoning")
|
|
179
|
+
TEXT_FIELD_NUMBER: _ClassVar[int]
|
|
180
|
+
REASONING_FIELD_NUMBER: _ClassVar[int]
|
|
181
|
+
text: TextPart
|
|
182
|
+
reasoning: ReasoningPart
|
|
183
|
+
def __init__(self, text: _Optional[_Union[TextPart, _Mapping]] = ..., reasoning: _Optional[_Union[ReasoningPart, _Mapping]] = ...) -> None: ...
|
|
184
|
+
|
|
185
|
+
class TextPart(_message.Message):
|
|
186
|
+
__slots__ = ("text",)
|
|
187
|
+
TEXT_FIELD_NUMBER: _ClassVar[int]
|
|
188
|
+
text: str
|
|
189
|
+
def __init__(self, text: _Optional[str] = ...) -> None: ...
|
|
190
|
+
|
|
191
|
+
class ImagePart(_message.Message):
|
|
192
|
+
__slots__ = ("data", "media_type", "filename")
|
|
193
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
194
|
+
MEDIA_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
195
|
+
FILENAME_FIELD_NUMBER: _ClassVar[int]
|
|
196
|
+
data: bytes
|
|
197
|
+
media_type: str
|
|
198
|
+
filename: str
|
|
199
|
+
def __init__(self, data: _Optional[bytes] = ..., media_type: _Optional[str] = ..., filename: _Optional[str] = ...) -> None: ...
|
|
200
|
+
|
|
201
|
+
class ReasoningPart(_message.Message):
|
|
202
|
+
__slots__ = ("reasoning",)
|
|
203
|
+
REASONING_FIELD_NUMBER: _ClassVar[int]
|
|
204
|
+
reasoning: str
|
|
205
|
+
def __init__(self, reasoning: _Optional[str] = ...) -> None: ...
|
|
206
|
+
|
|
207
|
+
class StreamChatResponse(_message.Message):
|
|
208
|
+
__slots__ = ("finish", "error", "text_start", "text_delta", "text_end", "reasoning_start", "reasoning_delta", "reasoning_end", "workbook_mutation", "tool_action")
|
|
209
|
+
FINISH_FIELD_NUMBER: _ClassVar[int]
|
|
210
|
+
ERROR_FIELD_NUMBER: _ClassVar[int]
|
|
211
|
+
TEXT_START_FIELD_NUMBER: _ClassVar[int]
|
|
212
|
+
TEXT_DELTA_FIELD_NUMBER: _ClassVar[int]
|
|
213
|
+
TEXT_END_FIELD_NUMBER: _ClassVar[int]
|
|
214
|
+
REASONING_START_FIELD_NUMBER: _ClassVar[int]
|
|
215
|
+
REASONING_DELTA_FIELD_NUMBER: _ClassVar[int]
|
|
216
|
+
REASONING_END_FIELD_NUMBER: _ClassVar[int]
|
|
217
|
+
WORKBOOK_MUTATION_FIELD_NUMBER: _ClassVar[int]
|
|
218
|
+
TOOL_ACTION_FIELD_NUMBER: _ClassVar[int]
|
|
219
|
+
finish: Finish
|
|
220
|
+
error: Error
|
|
221
|
+
text_start: TextStart
|
|
222
|
+
text_delta: TextDelta
|
|
223
|
+
text_end: TextEnd
|
|
224
|
+
reasoning_start: ReasoningStart
|
|
225
|
+
reasoning_delta: ReasoningDelta
|
|
226
|
+
reasoning_end: ReasoningEnd
|
|
227
|
+
workbook_mutation: WorkbookMutation
|
|
228
|
+
tool_action: ToolAction
|
|
229
|
+
def __init__(self, finish: _Optional[_Union[Finish, _Mapping]] = ..., error: _Optional[_Union[Error, _Mapping]] = ..., text_start: _Optional[_Union[TextStart, _Mapping]] = ..., text_delta: _Optional[_Union[TextDelta, _Mapping]] = ..., text_end: _Optional[_Union[TextEnd, _Mapping]] = ..., reasoning_start: _Optional[_Union[ReasoningStart, _Mapping]] = ..., reasoning_delta: _Optional[_Union[ReasoningDelta, _Mapping]] = ..., reasoning_end: _Optional[_Union[ReasoningEnd, _Mapping]] = ..., workbook_mutation: _Optional[_Union[WorkbookMutation, _Mapping]] = ..., tool_action: _Optional[_Union[ToolAction, _Mapping]] = ...) -> None: ...
|
|
230
|
+
|
|
231
|
+
class Finish(_message.Message):
|
|
232
|
+
__slots__ = ("ordered_message_ids",)
|
|
233
|
+
ORDERED_MESSAGE_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
234
|
+
ordered_message_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
235
|
+
def __init__(self, ordered_message_ids: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
236
|
+
|
|
237
|
+
class Error(_message.Message):
|
|
238
|
+
__slots__ = ("message",)
|
|
239
|
+
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
240
|
+
message: str
|
|
241
|
+
def __init__(self, message: _Optional[str] = ...) -> None: ...
|
|
242
|
+
|
|
243
|
+
class TextStart(_message.Message):
|
|
244
|
+
__slots__ = ("id",)
|
|
245
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
246
|
+
id: str
|
|
247
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
248
|
+
|
|
249
|
+
class TextDelta(_message.Message):
|
|
250
|
+
__slots__ = ("id", "delta")
|
|
251
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
252
|
+
DELTA_FIELD_NUMBER: _ClassVar[int]
|
|
253
|
+
id: str
|
|
254
|
+
delta: str
|
|
255
|
+
def __init__(self, id: _Optional[str] = ..., delta: _Optional[str] = ...) -> None: ...
|
|
256
|
+
|
|
257
|
+
class TextEnd(_message.Message):
|
|
258
|
+
__slots__ = ("id",)
|
|
259
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
260
|
+
id: str
|
|
261
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
262
|
+
|
|
263
|
+
class ReasoningStart(_message.Message):
|
|
264
|
+
__slots__ = ("id",)
|
|
265
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
266
|
+
id: str
|
|
267
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
268
|
+
|
|
269
|
+
class ReasoningDelta(_message.Message):
|
|
270
|
+
__slots__ = ("id", "delta")
|
|
271
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
272
|
+
DELTA_FIELD_NUMBER: _ClassVar[int]
|
|
273
|
+
id: str
|
|
274
|
+
delta: str
|
|
275
|
+
def __init__(self, id: _Optional[str] = ..., delta: _Optional[str] = ...) -> None: ...
|
|
276
|
+
|
|
277
|
+
class ReasoningEnd(_message.Message):
|
|
278
|
+
__slots__ = ("id",)
|
|
279
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
280
|
+
id: str
|
|
281
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
282
|
+
|
|
283
|
+
class AddTabMutation(_message.Message):
|
|
284
|
+
__slots__ = ("tab_name",)
|
|
285
|
+
TAB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
286
|
+
tab_name: str
|
|
287
|
+
def __init__(self, tab_name: _Optional[str] = ...) -> None: ...
|
|
288
|
+
|
|
289
|
+
class AddOrUpdatePanelMutation(_message.Message):
|
|
290
|
+
__slots__ = ("panel_as_json", "panel_id", "tab_index")
|
|
291
|
+
PANEL_AS_JSON_FIELD_NUMBER: _ClassVar[int]
|
|
292
|
+
PANEL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
293
|
+
TAB_INDEX_FIELD_NUMBER: _ClassVar[int]
|
|
294
|
+
panel_as_json: str
|
|
295
|
+
panel_id: str
|
|
296
|
+
tab_index: int
|
|
297
|
+
def __init__(self, panel_as_json: _Optional[str] = ..., panel_id: _Optional[str] = ..., tab_index: _Optional[int] = ...) -> None: ...
|
|
298
|
+
|
|
299
|
+
class RemovePanelsMutation(_message.Message):
|
|
300
|
+
__slots__ = ("panel_ids",)
|
|
301
|
+
PANEL_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
302
|
+
panel_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
303
|
+
def __init__(self, panel_ids: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
304
|
+
|
|
305
|
+
class AddOrReplaceVariableMutation(_message.Message):
|
|
306
|
+
__slots__ = ("compute_spec_as_json", "variable_name", "display_name")
|
|
307
|
+
COMPUTE_SPEC_AS_JSON_FIELD_NUMBER: _ClassVar[int]
|
|
308
|
+
VARIABLE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
309
|
+
DISPLAY_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
310
|
+
compute_spec_as_json: str
|
|
311
|
+
variable_name: str
|
|
312
|
+
display_name: str
|
|
313
|
+
def __init__(self, compute_spec_as_json: _Optional[str] = ..., variable_name: _Optional[str] = ..., display_name: _Optional[str] = ...) -> None: ...
|
|
314
|
+
|
|
315
|
+
class DeleteVariablesMutation(_message.Message):
|
|
316
|
+
__slots__ = ("variable_names",)
|
|
317
|
+
VARIABLE_NAMES_FIELD_NUMBER: _ClassVar[int]
|
|
318
|
+
variable_names: _containers.RepeatedScalarFieldContainer[str]
|
|
319
|
+
def __init__(self, variable_names: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
320
|
+
|
|
321
|
+
class WorkbookMutation(_message.Message):
|
|
322
|
+
__slots__ = ("id", "add_tab", "add_or_update_panel", "remove_panels", "add_or_replace_variable", "delete_variables")
|
|
323
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
324
|
+
ADD_TAB_FIELD_NUMBER: _ClassVar[int]
|
|
325
|
+
ADD_OR_UPDATE_PANEL_FIELD_NUMBER: _ClassVar[int]
|
|
326
|
+
REMOVE_PANELS_FIELD_NUMBER: _ClassVar[int]
|
|
327
|
+
ADD_OR_REPLACE_VARIABLE_FIELD_NUMBER: _ClassVar[int]
|
|
328
|
+
DELETE_VARIABLES_FIELD_NUMBER: _ClassVar[int]
|
|
329
|
+
id: str
|
|
330
|
+
add_tab: AddTabMutation
|
|
331
|
+
add_or_update_panel: AddOrUpdatePanelMutation
|
|
332
|
+
remove_panels: RemovePanelsMutation
|
|
333
|
+
add_or_replace_variable: AddOrReplaceVariableMutation
|
|
334
|
+
delete_variables: DeleteVariablesMutation
|
|
335
|
+
def __init__(self, id: _Optional[str] = ..., add_tab: _Optional[_Union[AddTabMutation, _Mapping]] = ..., add_or_update_panel: _Optional[_Union[AddOrUpdatePanelMutation, _Mapping]] = ..., remove_panels: _Optional[_Union[RemovePanelsMutation, _Mapping]] = ..., add_or_replace_variable: _Optional[_Union[AddOrReplaceVariableMutation, _Mapping]] = ..., delete_variables: _Optional[_Union[DeleteVariablesMutation, _Mapping]] = ...) -> None: ...
|
|
336
|
+
|
|
337
|
+
class ToolAction(_message.Message):
|
|
338
|
+
__slots__ = ("id", "tool_action_verb", "tool_target")
|
|
339
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
340
|
+
TOOL_ACTION_VERB_FIELD_NUMBER: _ClassVar[int]
|
|
341
|
+
TOOL_TARGET_FIELD_NUMBER: _ClassVar[int]
|
|
342
|
+
id: str
|
|
343
|
+
tool_action_verb: str
|
|
344
|
+
tool_target: str
|
|
345
|
+
def __init__(self, id: _Optional[str] = ..., tool_action_verb: _Optional[str] = ..., tool_target: _Optional[str] = ...) -> None: ...
|