yandexcloud 0.336.0__py3-none-any.whl → 0.337.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 yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +11 -3
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +34 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +45 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +26 -0
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +24 -24
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +11 -1
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.py +37 -0
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.pyi +43 -0
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.py +24 -0
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.py +8 -7
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +9 -1
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +26 -15
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +87 -0
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.py +77 -0
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.pyi +38 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +12 -5
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +29 -1
- yandex/cloud/airflow/v1/cluster_pb2.py +36 -35
- yandex/cloud/airflow/v1/cluster_pb2.pyi +15 -2
- yandex/cloud/airflow/v1/cluster_service_pb2.py +42 -41
- yandex/cloud/airflow/v1/cluster_service_pb2.pyi +17 -4
- yandex/cloud/airflow/v1/maintenance_pb2.py +53 -0
- yandex/cloud/airflow/v1/maintenance_pb2.pyi +123 -0
- yandex/cloud/airflow/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/airflow/v1/maintenance_pb2_grpc.pyi +17 -0
- yandex/cloud/iot/devices/v1/device_pb2.py +18 -14
- yandex/cloud/iot/devices/v1/device_pb2.pyi +23 -1
- yandex/cloud/iot/devices/v1/device_service_pb2.py +65 -53
- yandex/cloud/iot/devices/v1/device_service_pb2.pyi +46 -2
- yandex/cloud/loadtesting/agent/v1/test_pb2.py +5 -5
- yandex/cloud/loadtesting/agent/v1/test_pb2.pyi +2 -0
- yandex/cloud/loadtesting/api/v1/test/status_pb2.py +2 -2
- yandex/cloud/loadtesting/api/v1/test/status_pb2.pyi +6 -2
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.py +12 -5
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.pyi +16 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.py +45 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.pyi +21 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.py +37 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.pyi +39 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.py +24 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +14 -2
- yandex/cloud/mdb/kafka/v1/user_pb2.py +4 -4
- yandex/cloud/mdb/kafka/v1/user_pb2.pyi +4 -0
- yandex/cloud/mdb/redis/v1/cluster_pb2.py +23 -23
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +4 -0
- yandex/cloud/mdb/redis/v1/config/redis_pb2.py +10 -8
- yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +14 -2
- yandex/cloud/mdb/spqr/__init__.py +0 -0
- yandex/cloud/mdb/spqr/v1/__init__.py +0 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2.py +40 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2.pyi +97 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2.py +68 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2.pyi +121 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.py +193 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.pyi +101 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2.py +58 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2.pyi +330 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +403 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +1790 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +1250 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +588 -0
- yandex/cloud/mdb/spqr/v1/config_pb2.py +65 -0
- yandex/cloud/mdb/spqr/v1/config_pb2.pyi +341 -0
- yandex/cloud/mdb/spqr/v1/config_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/config_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/database_pb2.py +42 -0
- yandex/cloud/mdb/spqr/v1/database_pb2.pyi +51 -0
- yandex/cloud/mdb/spqr/v1/database_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/database_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2.py +94 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2.pyi +219 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.py +281 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.pyi +141 -0
- yandex/cloud/mdb/spqr/v1/host_pb2.py +69 -0
- yandex/cloud/mdb/spqr/v1/host_pb2.pyi +394 -0
- yandex/cloud/mdb/spqr/v1/host_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/host_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2.py +53 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2.pyi +137 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2.py +37 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.py +56 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.pyi +84 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.py +148 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.pyi +80 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2.py +37 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2.pyi +31 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/user_pb2.py +53 -0
- yandex/cloud/mdb/spqr/v1/user_pb2.pyi +133 -0
- yandex/cloud/mdb/spqr/v1/user_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/user_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2.py +107 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2.pyi +293 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.py +325 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.pyi +161 -0
- yandex/cloud/monitoring/v3/dashboard_pb2.py +6 -5
- yandex/cloud/monitoring/v3/dashboard_pb2.pyi +9 -2
- yandex/cloud/monitoring/v3/dashboard_service_pb2.py +30 -29
- yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +17 -4
- yandex/cloud/monitoring/v3/timeline_pb2.py +37 -0
- yandex/cloud/monitoring/v3/timeline_pb2.pyi +31 -0
- yandex/cloud/monitoring/v3/timeline_pb2_grpc.py +24 -0
- yandex/cloud/monitoring/v3/timeline_pb2_grpc.pyi +17 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +83 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +297 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.py +100 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.pyi +47 -0
- yandex/cloud/searchapi/v2/search_service_pb2.py +16 -12
- yandex/cloud/storage/v1/s3api_pb2.py +7 -1
- yandex/cloud/storage/v1/s3api_pb2.pyi +128 -1
- yandex/cloud/video/v1/channel_pb2.py +16 -11
- yandex/cloud/video/v1/channel_pb2.pyi +32 -2
- yandex/cloud/video/v1/channel_service_pb2.py +34 -30
- yandex/cloud/video/v1/channel_service_pb2.pyi +27 -10
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +4 -4
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +12 -12
- yandex/cloud/video/v1/episode_pb2.pyi +5 -4
- yandex/cloud/video/v1/episode_service_pb2.py +56 -52
- yandex/cloud/video/v1/episode_service_pb2.pyi +18 -12
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +4 -4
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +12 -12
- yandex/cloud/video/v1/playlist_service_pb2.py +34 -30
- yandex/cloud/video/v1/playlist_service_pb2.pyi +11 -6
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +3 -3
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +9 -9
- yandex/cloud/video/v1/stream_line_pb2.py +16 -24
- yandex/cloud/video/v1/stream_line_pb2.pyi +34 -108
- yandex/cloud/video/v1/stream_line_service_pb2.py +60 -70
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +17 -119
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +3 -3
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +9 -9
- yandex/cloud/video/v1/stream_pb2.py +12 -11
- yandex/cloud/video/v1/stream_pb2.pyi +19 -6
- yandex/cloud/video/v1/stream_service_pb2.py +54 -49
- yandex/cloud/video/v1/stream_service_pb2.pyi +34 -13
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +2 -2
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +6 -6
- yandex/cloud/video/v1/subtitle_pb2.py +6 -4
- yandex/cloud/video/v1/subtitle_pb2.pyi +30 -2
- yandex/cloud/video/v1/subtitle_service_pb2.py +21 -21
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +7 -5
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +1 -1
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +3 -3
- yandex/cloud/video/v1/thumbnail_service_pb2.py +29 -25
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +68 -6
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +3 -3
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +9 -9
- yandex/cloud/video/v1/video_pb2.py +24 -18
- yandex/cloud/video/v1/video_pb2.pyi +130 -38
- yandex/cloud/video/v1/video_service_pb2.py +114 -66
- yandex/cloud/video/v1/video_service_pb2.pyi +279 -40
- yandex/cloud/video/v1/video_service_pb2_grpc.py +50 -6
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +38 -18
- yandex/cloud/ydb/v1/database_pb2.py +46 -46
- yandex/cloud/ydb/v1/database_pb2.pyi +10 -2
- yandex/cloud/ydb/v1/database_service_pb2.py +18 -18
- yandex/cloud/ydb/v1/database_service_pb2.pyi +10 -2
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/RECORD +177 -99
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/top_level.txt +0 -0
|
@@ -9,6 +9,7 @@ import google.protobuf.descriptor
|
|
|
9
9
|
import google.protobuf.internal.containers
|
|
10
10
|
import google.protobuf.message
|
|
11
11
|
import typing
|
|
12
|
+
import yandex.cloud.ai.foundation_models.v1.batch_inference_task_status_pb2
|
|
12
13
|
import yandex.cloud.ai.foundation_models.v1.text_common_pb2
|
|
13
14
|
|
|
14
15
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
@@ -97,6 +98,92 @@ class CompletionResponse(google.protobuf.message.Message):
|
|
|
97
98
|
|
|
98
99
|
global___CompletionResponse = CompletionResponse
|
|
99
100
|
|
|
101
|
+
@typing.final
|
|
102
|
+
class BatchCompletionRequest(google.protobuf.message.Message):
|
|
103
|
+
"""Request for the service to generate batch text completion."""
|
|
104
|
+
|
|
105
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
106
|
+
|
|
107
|
+
MODEL_URI_FIELD_NUMBER: builtins.int
|
|
108
|
+
COMPLETION_OPTIONS_FIELD_NUMBER: builtins.int
|
|
109
|
+
SOURCE_DATASET_ID_FIELD_NUMBER: builtins.int
|
|
110
|
+
model_uri: builtins.str
|
|
111
|
+
"""The [ID of the model](/docs/foundation-models/concepts/yandexgpt/models) to be used for batch completion generation."""
|
|
112
|
+
source_dataset_id: builtins.str
|
|
113
|
+
"""ID of the dataset containing the context for the completion model."""
|
|
114
|
+
@property
|
|
115
|
+
def completion_options(self) -> yandex.cloud.ai.foundation_models.v1.text_common_pb2.CompletionOptions:
|
|
116
|
+
"""Configuration options for completion generation."""
|
|
117
|
+
|
|
118
|
+
def __init__(
|
|
119
|
+
self,
|
|
120
|
+
*,
|
|
121
|
+
model_uri: builtins.str = ...,
|
|
122
|
+
completion_options: yandex.cloud.ai.foundation_models.v1.text_common_pb2.CompletionOptions | None = ...,
|
|
123
|
+
source_dataset_id: builtins.str = ...,
|
|
124
|
+
) -> None: ...
|
|
125
|
+
def HasField(self, field_name: typing.Literal["completion_options", b"completion_options", "request_format", b"request_format", "source_dataset_id", b"source_dataset_id"]) -> builtins.bool: ...
|
|
126
|
+
def ClearField(self, field_name: typing.Literal["completion_options", b"completion_options", "model_uri", b"model_uri", "request_format", b"request_format", "source_dataset_id", b"source_dataset_id"]) -> None: ...
|
|
127
|
+
def WhichOneof(self, oneof_group: typing.Literal["request_format", b"request_format"]) -> typing.Literal["source_dataset_id"] | None: ...
|
|
128
|
+
|
|
129
|
+
global___BatchCompletionRequest = BatchCompletionRequest
|
|
130
|
+
|
|
131
|
+
@typing.final
|
|
132
|
+
class BatchCompletionMetadata(google.protobuf.message.Message):
|
|
133
|
+
"""Metadata of the batch completion operation."""
|
|
134
|
+
|
|
135
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
136
|
+
|
|
137
|
+
TASK_ID_FIELD_NUMBER: builtins.int
|
|
138
|
+
TASK_STATUS_FIELD_NUMBER: builtins.int
|
|
139
|
+
COMPLETED_BATCHES_FIELD_NUMBER: builtins.int
|
|
140
|
+
TOTAL_BATCHES_FIELD_NUMBER: builtins.int
|
|
141
|
+
task_id: builtins.str
|
|
142
|
+
"""The ID of the batch completion task."""
|
|
143
|
+
task_status: yandex.cloud.ai.foundation_models.v1.batch_inference_task_status_pb2.BatchInferenceTaskStatus.ValueType
|
|
144
|
+
"""The status of the batch completion task."""
|
|
145
|
+
completed_batches: builtins.int
|
|
146
|
+
"""A number of currently completed batches of the completion task."""
|
|
147
|
+
total_batches: builtins.int
|
|
148
|
+
"""A number of total batches of the completion task."""
|
|
149
|
+
def __init__(
|
|
150
|
+
self,
|
|
151
|
+
*,
|
|
152
|
+
task_id: builtins.str = ...,
|
|
153
|
+
task_status: yandex.cloud.ai.foundation_models.v1.batch_inference_task_status_pb2.BatchInferenceTaskStatus.ValueType = ...,
|
|
154
|
+
completed_batches: builtins.int = ...,
|
|
155
|
+
total_batches: builtins.int = ...,
|
|
156
|
+
) -> None: ...
|
|
157
|
+
def ClearField(self, field_name: typing.Literal["completed_batches", b"completed_batches", "task_id", b"task_id", "task_status", b"task_status", "total_batches", b"total_batches"]) -> None: ...
|
|
158
|
+
|
|
159
|
+
global___BatchCompletionMetadata = BatchCompletionMetadata
|
|
160
|
+
|
|
161
|
+
@typing.final
|
|
162
|
+
class BatchCompletionResponse(google.protobuf.message.Message):
|
|
163
|
+
"""Response containing information about completion task."""
|
|
164
|
+
|
|
165
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
166
|
+
|
|
167
|
+
TASK_ID_FIELD_NUMBER: builtins.int
|
|
168
|
+
TASK_STATUS_FIELD_NUMBER: builtins.int
|
|
169
|
+
RESULT_DATASET_ID_FIELD_NUMBER: builtins.int
|
|
170
|
+
task_id: builtins.str
|
|
171
|
+
"""The ID of the batch completion task."""
|
|
172
|
+
task_status: yandex.cloud.ai.foundation_models.v1.batch_inference_task_status_pb2.BatchInferenceTaskStatus.ValueType
|
|
173
|
+
"""The status of the batch completion task."""
|
|
174
|
+
result_dataset_id: builtins.str
|
|
175
|
+
"""The ID of the dataset containing completion results."""
|
|
176
|
+
def __init__(
|
|
177
|
+
self,
|
|
178
|
+
*,
|
|
179
|
+
task_id: builtins.str = ...,
|
|
180
|
+
task_status: yandex.cloud.ai.foundation_models.v1.batch_inference_task_status_pb2.BatchInferenceTaskStatus.ValueType = ...,
|
|
181
|
+
result_dataset_id: builtins.str = ...,
|
|
182
|
+
) -> None: ...
|
|
183
|
+
def ClearField(self, field_name: typing.Literal["result_dataset_id", b"result_dataset_id", "task_id", b"task_id", "task_status", b"task_status"]) -> None: ...
|
|
184
|
+
|
|
185
|
+
global___BatchCompletionResponse = BatchCompletionResponse
|
|
186
|
+
|
|
100
187
|
@typing.final
|
|
101
188
|
class TokenizeRequest(google.protobuf.message.Message):
|
|
102
189
|
"""Request for the service to tokenize input text."""
|
|
@@ -178,6 +178,83 @@ class TextGenerationAsyncService(object):
|
|
|
178
178
|
_registered_method=True)
|
|
179
179
|
|
|
180
180
|
|
|
181
|
+
class TextGenerationBatchServiceStub(object):
|
|
182
|
+
"""Service for text generation.
|
|
183
|
+
"""
|
|
184
|
+
|
|
185
|
+
def __init__(self, channel):
|
|
186
|
+
"""Constructor.
|
|
187
|
+
|
|
188
|
+
Args:
|
|
189
|
+
channel: A grpc.Channel.
|
|
190
|
+
"""
|
|
191
|
+
self.Completion = channel.unary_unary(
|
|
192
|
+
'/yandex.cloud.ai.foundation_models.v1.TextGenerationBatchService/Completion',
|
|
193
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_foundation__models_dot_v1_dot_text__generation_dot_text__generation__service__pb2.BatchCompletionRequest.SerializeToString,
|
|
194
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
195
|
+
_registered_method=True)
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
class TextGenerationBatchServiceServicer(object):
|
|
199
|
+
"""Service for text generation.
|
|
200
|
+
"""
|
|
201
|
+
|
|
202
|
+
def Completion(self, request, context):
|
|
203
|
+
"""A method for generating text completions in [synchronous mode](/docs/foundation-models/concepts/#working-mode).
|
|
204
|
+
Note: Not implemented yet
|
|
205
|
+
"""
|
|
206
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
207
|
+
context.set_details('Method not implemented!')
|
|
208
|
+
raise NotImplementedError('Method not implemented!')
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
def add_TextGenerationBatchServiceServicer_to_server(servicer, server):
|
|
212
|
+
rpc_method_handlers = {
|
|
213
|
+
'Completion': grpc.unary_unary_rpc_method_handler(
|
|
214
|
+
servicer.Completion,
|
|
215
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_foundation__models_dot_v1_dot_text__generation_dot_text__generation__service__pb2.BatchCompletionRequest.FromString,
|
|
216
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
217
|
+
),
|
|
218
|
+
}
|
|
219
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
220
|
+
'yandex.cloud.ai.foundation_models.v1.TextGenerationBatchService', rpc_method_handlers)
|
|
221
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
222
|
+
server.add_registered_method_handlers('yandex.cloud.ai.foundation_models.v1.TextGenerationBatchService', rpc_method_handlers)
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
# This class is part of an EXPERIMENTAL API.
|
|
226
|
+
class TextGenerationBatchService(object):
|
|
227
|
+
"""Service for text generation.
|
|
228
|
+
"""
|
|
229
|
+
|
|
230
|
+
@staticmethod
|
|
231
|
+
def Completion(request,
|
|
232
|
+
target,
|
|
233
|
+
options=(),
|
|
234
|
+
channel_credentials=None,
|
|
235
|
+
call_credentials=None,
|
|
236
|
+
insecure=False,
|
|
237
|
+
compression=None,
|
|
238
|
+
wait_for_ready=None,
|
|
239
|
+
timeout=None,
|
|
240
|
+
metadata=None):
|
|
241
|
+
return grpc.experimental.unary_unary(
|
|
242
|
+
request,
|
|
243
|
+
target,
|
|
244
|
+
'/yandex.cloud.ai.foundation_models.v1.TextGenerationBatchService/Completion',
|
|
245
|
+
yandex_dot_cloud_dot_ai_dot_foundation__models_dot_v1_dot_text__generation_dot_text__generation__service__pb2.BatchCompletionRequest.SerializeToString,
|
|
246
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
247
|
+
options,
|
|
248
|
+
channel_credentials,
|
|
249
|
+
insecure,
|
|
250
|
+
call_credentials,
|
|
251
|
+
compression,
|
|
252
|
+
wait_for_ready,
|
|
253
|
+
timeout,
|
|
254
|
+
metadata,
|
|
255
|
+
_registered_method=True)
|
|
256
|
+
|
|
257
|
+
|
|
181
258
|
class TokenizerServiceStub(object):
|
|
182
259
|
"""Service for tokenizing input content.
|
|
183
260
|
"""
|
|
@@ -82,6 +82,44 @@ class TextGenerationAsyncServiceServicer(metaclass=abc.ABCMeta):
|
|
|
82
82
|
|
|
83
83
|
def add_TextGenerationAsyncServiceServicer_to_server(servicer: TextGenerationAsyncServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
84
84
|
|
|
85
|
+
class TextGenerationBatchServiceStub:
|
|
86
|
+
"""Service for text generation."""
|
|
87
|
+
|
|
88
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
89
|
+
Completion: grpc.UnaryUnaryMultiCallable[
|
|
90
|
+
yandex.cloud.ai.foundation_models.v1.text_generation.text_generation_service_pb2.BatchCompletionRequest,
|
|
91
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
92
|
+
]
|
|
93
|
+
"""A method for generating text completions in [synchronous mode](/docs/foundation-models/concepts/#working-mode).
|
|
94
|
+
Note: Not implemented yet
|
|
95
|
+
"""
|
|
96
|
+
|
|
97
|
+
class TextGenerationBatchServiceAsyncStub:
|
|
98
|
+
"""Service for text generation."""
|
|
99
|
+
|
|
100
|
+
Completion: grpc.aio.UnaryUnaryMultiCallable[
|
|
101
|
+
yandex.cloud.ai.foundation_models.v1.text_generation.text_generation_service_pb2.BatchCompletionRequest,
|
|
102
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
103
|
+
]
|
|
104
|
+
"""A method for generating text completions in [synchronous mode](/docs/foundation-models/concepts/#working-mode).
|
|
105
|
+
Note: Not implemented yet
|
|
106
|
+
"""
|
|
107
|
+
|
|
108
|
+
class TextGenerationBatchServiceServicer(metaclass=abc.ABCMeta):
|
|
109
|
+
"""Service for text generation."""
|
|
110
|
+
|
|
111
|
+
@abc.abstractmethod
|
|
112
|
+
def Completion(
|
|
113
|
+
self,
|
|
114
|
+
request: yandex.cloud.ai.foundation_models.v1.text_generation.text_generation_service_pb2.BatchCompletionRequest,
|
|
115
|
+
context: _ServicerContext,
|
|
116
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
117
|
+
"""A method for generating text completions in [synchronous mode](/docs/foundation-models/concepts/#working-mode).
|
|
118
|
+
Note: Not implemented yet
|
|
119
|
+
"""
|
|
120
|
+
|
|
121
|
+
def add_TextGenerationBatchServiceServicer_to_server(servicer: TextGenerationBatchServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
122
|
+
|
|
85
123
|
class TokenizerServiceStub:
|
|
86
124
|
"""Service for tokenizing input content."""
|
|
87
125
|
|
|
@@ -23,9 +23,10 @@ _sym_db = _symbol_database.Default()
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
26
27
|
|
|
27
28
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/ai/tuning/v1/tuning_task.proto\x12\x19yandex.cloud.ai.tuning.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/ai/tuning/v1/tuning_task.proto\x12\x19yandex.cloud.ai.tuning.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\x8b\x05\n\nTuningTask\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x03 \x01(\t\x12<\n\x06status\x18\x04 \x01(\x0e\x32,.yandex.cloud.ai.tuning.v1.TuningTask.Status\x12\x11\n\tfolder_id\x18\x05 \x01(\t\x12\x12\n\ncreated_by\x18\x06 \x01(\t\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstarted_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inished_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10source_model_uri\x18\n \x01(\t\x12\x18\n\x10target_model_uri\x18\x0b \x01(\t\x12)\n\x04name\x18\x0c \x01(\tB\x1b\xf2\xc7\x31\x17^[A-Za-z0-9 _-]{3,100}$\x12\x13\n\x0b\x64\x65scription\x18\r \x01(\t\x12\x41\n\x06labels\x18\x0e \x03(\x0b\x32\x31.yandex.cloud.ai.tuning.v1.TuningTask.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"t\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x0f\n\x0bIN_PROGRESS\x10\x03\x12\r\n\tCOMPLETED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x0c\n\x08\x43\x41NCELED\x10\x06J\x04\x08\x02\x10\x03\x42\x63\n\x1dyandex.cloud.api.ai.tuning.v1ZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/tuning/v1;fomob\x06proto3')
|
|
29
30
|
|
|
30
31
|
_globals = globals()
|
|
31
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,8 +34,14 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ai.tuning.v1.t
|
|
|
33
34
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
35
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
36
|
_globals['DESCRIPTOR']._serialized_options = b'\n\035yandex.cloud.api.ai.tuning.v1ZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/tuning/v1;fomo'
|
|
36
|
-
_globals['
|
|
37
|
-
_globals['
|
|
38
|
-
_globals['
|
|
39
|
-
_globals['
|
|
37
|
+
_globals['_TUNINGTASK_LABELSENTRY']._loaded_options = None
|
|
38
|
+
_globals['_TUNINGTASK_LABELSENTRY']._serialized_options = b'8\001'
|
|
39
|
+
_globals['_TUNINGTASK'].fields_by_name['name']._loaded_options = None
|
|
40
|
+
_globals['_TUNINGTASK'].fields_by_name['name']._serialized_options = b'\362\3071\027^[A-Za-z0-9 _-]{3,100}$'
|
|
41
|
+
_globals['_TUNINGTASK']._serialized_start=139
|
|
42
|
+
_globals['_TUNINGTASK']._serialized_end=790
|
|
43
|
+
_globals['_TUNINGTASK_LABELSENTRY']._serialized_start=621
|
|
44
|
+
_globals['_TUNINGTASK_LABELSENTRY']._serialized_end=666
|
|
45
|
+
_globals['_TUNINGTASK_STATUS']._serialized_start=668
|
|
46
|
+
_globals['_TUNINGTASK_STATUS']._serialized_end=784
|
|
40
47
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -4,7 +4,9 @@ isort:skip_file
|
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
6
|
import builtins
|
|
7
|
+
import collections.abc
|
|
7
8
|
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
8
10
|
import google.protobuf.internal.enum_type_wrapper
|
|
9
11
|
import google.protobuf.message
|
|
10
12
|
import google.protobuf.timestamp_pb2
|
|
@@ -45,6 +47,22 @@ class TuningTask(google.protobuf.message.Message):
|
|
|
45
47
|
FAILED: TuningTask.Status.ValueType # 5
|
|
46
48
|
CANCELED: TuningTask.Status.ValueType # 6
|
|
47
49
|
|
|
50
|
+
@typing.final
|
|
51
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
52
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
53
|
+
|
|
54
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
55
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
56
|
+
key: builtins.str
|
|
57
|
+
value: builtins.str
|
|
58
|
+
def __init__(
|
|
59
|
+
self,
|
|
60
|
+
*,
|
|
61
|
+
key: builtins.str = ...,
|
|
62
|
+
value: builtins.str = ...,
|
|
63
|
+
) -> None: ...
|
|
64
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
65
|
+
|
|
48
66
|
TASK_ID_FIELD_NUMBER: builtins.int
|
|
49
67
|
OPERATION_ID_FIELD_NUMBER: builtins.int
|
|
50
68
|
STATUS_FIELD_NUMBER: builtins.int
|
|
@@ -55,6 +73,9 @@ class TuningTask(google.protobuf.message.Message):
|
|
|
55
73
|
FINISHED_AT_FIELD_NUMBER: builtins.int
|
|
56
74
|
SOURCE_MODEL_URI_FIELD_NUMBER: builtins.int
|
|
57
75
|
TARGET_MODEL_URI_FIELD_NUMBER: builtins.int
|
|
76
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
77
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
78
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
58
79
|
task_id: builtins.str
|
|
59
80
|
operation_id: builtins.str
|
|
60
81
|
status: global___TuningTask.Status.ValueType
|
|
@@ -62,12 +83,16 @@ class TuningTask(google.protobuf.message.Message):
|
|
|
62
83
|
created_by: builtins.str
|
|
63
84
|
source_model_uri: builtins.str
|
|
64
85
|
target_model_uri: builtins.str
|
|
86
|
+
name: builtins.str
|
|
87
|
+
description: builtins.str
|
|
65
88
|
@property
|
|
66
89
|
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
67
90
|
@property
|
|
68
91
|
def started_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
69
92
|
@property
|
|
70
93
|
def finished_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
94
|
+
@property
|
|
95
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
71
96
|
def __init__(
|
|
72
97
|
self,
|
|
73
98
|
*,
|
|
@@ -81,8 +106,11 @@ class TuningTask(google.protobuf.message.Message):
|
|
|
81
106
|
finished_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
82
107
|
source_model_uri: builtins.str = ...,
|
|
83
108
|
target_model_uri: builtins.str = ...,
|
|
109
|
+
name: builtins.str = ...,
|
|
110
|
+
description: builtins.str = ...,
|
|
111
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
84
112
|
) -> None: ...
|
|
85
113
|
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "finished_at", b"finished_at", "started_at", b"started_at"]) -> builtins.bool: ...
|
|
86
|
-
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "created_by", b"created_by", "finished_at", b"finished_at", "folder_id", b"folder_id", "operation_id", b"operation_id", "source_model_uri", b"source_model_uri", "started_at", b"started_at", "status", b"status", "target_model_uri", b"target_model_uri", "task_id", b"task_id"]) -> None: ...
|
|
114
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "created_by", b"created_by", "description", b"description", "finished_at", b"finished_at", "folder_id", b"folder_id", "labels", b"labels", "name", b"name", "operation_id", b"operation_id", "source_model_uri", b"source_model_uri", "started_at", b"started_at", "status", b"status", "target_model_uri", b"target_model_uri", "task_id", b"task_id"]) -> None: ...
|
|
87
115
|
|
|
88
116
|
global___TuningTask = TuningTask
|
|
@@ -23,12 +23,13 @@ _sym_db = _symbol_database.Default()
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
from yandex.cloud.airflow.v1 import common_pb2 as yandex_dot_cloud_dot_airflow_dot_v1_dot_common__pb2
|
|
26
|
+
from yandex.cloud.airflow.v1 import maintenance_pb2 as yandex_dot_cloud_dot_airflow_dot_v1_dot_maintenance__pb2
|
|
26
27
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
27
28
|
from yandex.cloud.logging.v1 import log_entry_pb2 as yandex_dot_cloud_dot_logging_dot_v1_dot_log__entry__pb2
|
|
28
29
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
29
30
|
|
|
30
31
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%yandex/cloud/airflow/v1/cluster.proto\x12\x17yandex.cloud.airflow.v1\x1a$yandex/cloud/airflow/v1/common.proto\x1a\x1dyandex/cloud/validation.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%yandex/cloud/airflow/v1/cluster.proto\x12\x17yandex.cloud.airflow.v1\x1a$yandex/cloud/airflow/v1/common.proto\x1a)yandex/cloud/airflow/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xde\x07\n\x07\x43luster\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12<\n\x06labels\x18\x06 \x03(\x0b\x32,.yandex.cloud.airflow.v1.Cluster.LabelsEntry\x12\x37\n\nmonitoring\x18\x08 \x03(\x0b\x32#.yandex.cloud.airflow.v1.Monitoring\x12\x36\n\x06\x63onfig\x18\t \x01(\x0b\x32&.yandex.cloud.airflow.v1.ClusterConfig\x12/\n\x06health\x18\n \x01(\x0e\x32\x1f.yandex.cloud.airflow.v1.Health\x12\x37\n\x06status\x18\x0b \x01(\x0e\x32\'.yandex.cloud.airflow.v1.Cluster.Status\x12\x37\n\x07network\x18\x0c \x01(\x0b\x32&.yandex.cloud.airflow.v1.NetworkConfig\x12:\n\tcode_sync\x18\r \x01(\x0b\x32\'.yandex.cloud.airflow.v1.CodeSyncConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\x0e \x01(\x08\x12\x15\n\rwebserver_url\x18\x0f \x01(\t\x12$\n\x12service_account_id\x18\x10 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x37\n\x07logging\x18\x11 \x01(\x0b\x32&.yandex.cloud.airflow.v1.LoggingConfig\x12\x46\n\x12maintenance_window\x18\x12 \x01(\x0b\x32*.yandex.cloud.airflow.v1.MaintenanceWindow\x12H\n\x11planned_operation\x18\x13 \x01(\x0b\x32-.yandex.cloud.airflow.v1.MaintenanceOperation\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0c\n\x08STARTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07J\x04\x08\x07\x10\x08\"=\n\nMonitoring\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04link\x18\x03 \x01(\t\"\x87\x04\n\rClusterConfig\x12\x16\n\nversion_id\x18\x01 \x01(\tB\x02\x18\x01\x12\x37\n\x07\x61irflow\x18\x02 \x01(\x0b\x32&.yandex.cloud.airflow.v1.AirflowConfig\x12\x41\n\twebserver\x18\x03 \x01(\x0b\x32(.yandex.cloud.airflow.v1.WebserverConfigB\x04\xe8\xc7\x31\x01\x12\x41\n\tscheduler\x18\x04 \x01(\x0b\x32(.yandex.cloud.airflow.v1.SchedulerConfigB\x04\xe8\xc7\x31\x01\x12;\n\ttriggerer\x18\x05 \x01(\x0b\x32(.yandex.cloud.airflow.v1.TriggererConfig\x12;\n\x06worker\x18\x06 \x01(\x0b\x32%.yandex.cloud.airflow.v1.WorkerConfigB\x04\xe8\xc7\x31\x01\x12;\n\x0c\x64\x65pendencies\x18\x07 \x01(\x0b\x32%.yandex.cloud.airflow.v1.Dependencies\x12\x37\n\x07lockbox\x18\x08 \x01(\x0b\x32&.yandex.cloud.airflow.v1.LockboxConfig\x12\x17\n\x0f\x61irflow_version\x18\t \x01(\t\x12\x16\n\x0epython_version\x18\n \x01(\t\"\x82\x01\n\rAirflowConfig\x12\x42\n\x06\x63onfig\x18\x01 \x03(\x0b\x32\x32.yandex.cloud.airflow.v1.AirflowConfig.ConfigEntry\x1a-\n\x0b\x43onfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"b\n\x0fWebserverConfig\x12\x18\n\x05\x63ount\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-512\x12\x35\n\tresources\x18\x02 \x01(\x0b\x32\".yandex.cloud.airflow.v1.Resources\"b\n\x0fSchedulerConfig\x12\x18\n\x05\x63ount\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-512\x12\x35\n\tresources\x18\x02 \x01(\x0b\x32\".yandex.cloud.airflow.v1.Resources\"b\n\x0fTriggererConfig\x12\x18\n\x05\x63ount\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-512\x12\x35\n\tresources\x18\x02 \x01(\x0b\x32\".yandex.cloud.airflow.v1.Resources\"\x81\x01\n\x0cWorkerConfig\x12\x1c\n\tmin_count\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-512\x12\x1c\n\tmax_count\x18\x02 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-512\x12\x35\n\tresources\x18\x03 \x01(\x0b\x32\".yandex.cloud.airflow.v1.Resources\":\n\x0c\x44\x65pendencies\x12\x14\n\x0cpip_packages\x18\x01 \x03(\t\x12\x14\n\x0c\x64\x65\x62_packages\x18\x02 \x03(\t\"?\n\rNetworkConfig\x12\x12\n\nsubnet_ids\x18\x01 \x03(\t\x12\x1a\n\x12security_group_ids\x18\x02 \x03(\t\"\x1a\n\x08S3Config\x12\x0e\n\x06\x62ucket\x18\x03 \x01(\t\"Q\n\x0e\x43odeSyncConfig\x12/\n\x02s3\x18\x01 \x01(\x0b\x32!.yandex.cloud.airflow.v1.S3ConfigH\x00\x42\x0e\n\x06source\x12\x04\xc0\xc1\x31\x01\"\xe2\x01\n\rLoggingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x38\n\tfolder_id\x18\x02 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12;\n\x0clog_group_id\x18\x03 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12:\n\tmin_level\x18\x04 \x01(\x0e\x32\'.yandex.cloud.logging.v1.LogLevel.LevelB\r\n\x0b\x64\x65stination\" \n\rLockboxConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x62\n\x1byandex.cloud.api.airflow.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/airflow/v1;airflowb\x06proto3')
|
|
32
33
|
|
|
33
34
|
_globals = globals()
|
|
34
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -66,38 +67,38 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
66
67
|
_globals['_LOGGINGCONFIG'].fields_by_name['folder_id']._serialized_options = b'\362\3071\037([a-zA-Z][-a-zA-Z0-9_.]{0,63})?'
|
|
67
68
|
_globals['_LOGGINGCONFIG'].fields_by_name['log_group_id']._loaded_options = None
|
|
68
69
|
_globals['_LOGGINGCONFIG'].fields_by_name['log_group_id']._serialized_options = b'\362\3071\037([a-zA-Z][-a-zA-Z0-9_.]{0,63})?'
|
|
69
|
-
_globals['_CLUSTER']._serialized_start=
|
|
70
|
-
_globals['_CLUSTER']._serialized_end=
|
|
71
|
-
_globals['_CLUSTER_LABELSENTRY']._serialized_start=
|
|
72
|
-
_globals['_CLUSTER_LABELSENTRY']._serialized_end=
|
|
73
|
-
_globals['_CLUSTER_STATUS']._serialized_start=
|
|
74
|
-
_globals['_CLUSTER_STATUS']._serialized_end=
|
|
75
|
-
_globals['_MONITORING']._serialized_start=
|
|
76
|
-
_globals['_MONITORING']._serialized_end=
|
|
77
|
-
_globals['_CLUSTERCONFIG']._serialized_start=
|
|
78
|
-
_globals['_CLUSTERCONFIG']._serialized_end=
|
|
79
|
-
_globals['_AIRFLOWCONFIG']._serialized_start=
|
|
80
|
-
_globals['_AIRFLOWCONFIG']._serialized_end=
|
|
81
|
-
_globals['_AIRFLOWCONFIG_CONFIGENTRY']._serialized_start=
|
|
82
|
-
_globals['_AIRFLOWCONFIG_CONFIGENTRY']._serialized_end=
|
|
83
|
-
_globals['_WEBSERVERCONFIG']._serialized_start=
|
|
84
|
-
_globals['_WEBSERVERCONFIG']._serialized_end=
|
|
85
|
-
_globals['_SCHEDULERCONFIG']._serialized_start=
|
|
86
|
-
_globals['_SCHEDULERCONFIG']._serialized_end=
|
|
87
|
-
_globals['_TRIGGERERCONFIG']._serialized_start=
|
|
88
|
-
_globals['_TRIGGERERCONFIG']._serialized_end=
|
|
89
|
-
_globals['_WORKERCONFIG']._serialized_start=
|
|
90
|
-
_globals['_WORKERCONFIG']._serialized_end=
|
|
91
|
-
_globals['_DEPENDENCIES']._serialized_start=
|
|
92
|
-
_globals['_DEPENDENCIES']._serialized_end=
|
|
93
|
-
_globals['_NETWORKCONFIG']._serialized_start=
|
|
94
|
-
_globals['_NETWORKCONFIG']._serialized_end=
|
|
95
|
-
_globals['_S3CONFIG']._serialized_start=
|
|
96
|
-
_globals['_S3CONFIG']._serialized_end=
|
|
97
|
-
_globals['_CODESYNCCONFIG']._serialized_start=
|
|
98
|
-
_globals['_CODESYNCCONFIG']._serialized_end=
|
|
99
|
-
_globals['_LOGGINGCONFIG']._serialized_start=
|
|
100
|
-
_globals['_LOGGINGCONFIG']._serialized_end=
|
|
101
|
-
_globals['_LOCKBOXCONFIG']._serialized_start=
|
|
102
|
-
_globals['_LOCKBOXCONFIG']._serialized_end=
|
|
70
|
+
_globals['_CLUSTER']._serialized_start=253
|
|
71
|
+
_globals['_CLUSTER']._serialized_end=1243
|
|
72
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_start=1069
|
|
73
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_end=1114
|
|
74
|
+
_globals['_CLUSTER_STATUS']._serialized_start=1116
|
|
75
|
+
_globals['_CLUSTER_STATUS']._serialized_end=1237
|
|
76
|
+
_globals['_MONITORING']._serialized_start=1245
|
|
77
|
+
_globals['_MONITORING']._serialized_end=1306
|
|
78
|
+
_globals['_CLUSTERCONFIG']._serialized_start=1309
|
|
79
|
+
_globals['_CLUSTERCONFIG']._serialized_end=1828
|
|
80
|
+
_globals['_AIRFLOWCONFIG']._serialized_start=1831
|
|
81
|
+
_globals['_AIRFLOWCONFIG']._serialized_end=1961
|
|
82
|
+
_globals['_AIRFLOWCONFIG_CONFIGENTRY']._serialized_start=1916
|
|
83
|
+
_globals['_AIRFLOWCONFIG_CONFIGENTRY']._serialized_end=1961
|
|
84
|
+
_globals['_WEBSERVERCONFIG']._serialized_start=1963
|
|
85
|
+
_globals['_WEBSERVERCONFIG']._serialized_end=2061
|
|
86
|
+
_globals['_SCHEDULERCONFIG']._serialized_start=2063
|
|
87
|
+
_globals['_SCHEDULERCONFIG']._serialized_end=2161
|
|
88
|
+
_globals['_TRIGGERERCONFIG']._serialized_start=2163
|
|
89
|
+
_globals['_TRIGGERERCONFIG']._serialized_end=2261
|
|
90
|
+
_globals['_WORKERCONFIG']._serialized_start=2264
|
|
91
|
+
_globals['_WORKERCONFIG']._serialized_end=2393
|
|
92
|
+
_globals['_DEPENDENCIES']._serialized_start=2395
|
|
93
|
+
_globals['_DEPENDENCIES']._serialized_end=2453
|
|
94
|
+
_globals['_NETWORKCONFIG']._serialized_start=2455
|
|
95
|
+
_globals['_NETWORKCONFIG']._serialized_end=2518
|
|
96
|
+
_globals['_S3CONFIG']._serialized_start=2520
|
|
97
|
+
_globals['_S3CONFIG']._serialized_end=2546
|
|
98
|
+
_globals['_CODESYNCCONFIG']._serialized_start=2548
|
|
99
|
+
_globals['_CODESYNCCONFIG']._serialized_end=2629
|
|
100
|
+
_globals['_LOGGINGCONFIG']._serialized_start=2632
|
|
101
|
+
_globals['_LOGGINGCONFIG']._serialized_end=2858
|
|
102
|
+
_globals['_LOCKBOXCONFIG']._serialized_start=2860
|
|
103
|
+
_globals['_LOCKBOXCONFIG']._serialized_end=2892
|
|
103
104
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -13,6 +13,7 @@ import google.protobuf.timestamp_pb2
|
|
|
13
13
|
import sys
|
|
14
14
|
import typing
|
|
15
15
|
import yandex.cloud.airflow.v1.common_pb2
|
|
16
|
+
import yandex.cloud.airflow.v1.maintenance_pb2
|
|
16
17
|
import yandex.cloud.logging.v1.log_entry_pb2
|
|
17
18
|
|
|
18
19
|
if sys.version_info >= (3, 10):
|
|
@@ -101,6 +102,8 @@ class Cluster(google.protobuf.message.Message):
|
|
|
101
102
|
WEBSERVER_URL_FIELD_NUMBER: builtins.int
|
|
102
103
|
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
103
104
|
LOGGING_FIELD_NUMBER: builtins.int
|
|
105
|
+
MAINTENANCE_WINDOW_FIELD_NUMBER: builtins.int
|
|
106
|
+
PLANNED_OPERATION_FIELD_NUMBER: builtins.int
|
|
104
107
|
id: builtins.str
|
|
105
108
|
"""Unique ID of the Apache Airflow cluster.
|
|
106
109
|
This ID is assigned by Cloud during cluster creation.
|
|
@@ -153,6 +156,14 @@ class Cluster(google.protobuf.message.Message):
|
|
|
153
156
|
def logging(self) -> global___LoggingConfig:
|
|
154
157
|
"""Cloud Logging configuration."""
|
|
155
158
|
|
|
159
|
+
@property
|
|
160
|
+
def maintenance_window(self) -> yandex.cloud.airflow.v1.maintenance_pb2.MaintenanceWindow:
|
|
161
|
+
"""Window of maintenance operations."""
|
|
162
|
+
|
|
163
|
+
@property
|
|
164
|
+
def planned_operation(self) -> yandex.cloud.airflow.v1.maintenance_pb2.MaintenanceOperation:
|
|
165
|
+
"""Maintenance operation planned at nearest maintenance_window."""
|
|
166
|
+
|
|
156
167
|
def __init__(
|
|
157
168
|
self,
|
|
158
169
|
*,
|
|
@@ -172,9 +183,11 @@ class Cluster(google.protobuf.message.Message):
|
|
|
172
183
|
webserver_url: builtins.str = ...,
|
|
173
184
|
service_account_id: builtins.str = ...,
|
|
174
185
|
logging: global___LoggingConfig | None = ...,
|
|
186
|
+
maintenance_window: yandex.cloud.airflow.v1.maintenance_pb2.MaintenanceWindow | None = ...,
|
|
187
|
+
planned_operation: yandex.cloud.airflow.v1.maintenance_pb2.MaintenanceOperation | None = ...,
|
|
175
188
|
) -> None: ...
|
|
176
|
-
def HasField(self, field_name: typing.Literal["code_sync", b"code_sync", "config", b"config", "created_at", b"created_at", "logging", b"logging", "network", b"network"]) -> builtins.bool: ...
|
|
177
|
-
def ClearField(self, field_name: typing.Literal["code_sync", b"code_sync", "config", b"config", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "health", b"health", "id", b"id", "labels", b"labels", "logging", b"logging", "monitoring", b"monitoring", "name", b"name", "network", b"network", "service_account_id", b"service_account_id", "status", b"status", "webserver_url", b"webserver_url"]) -> None: ...
|
|
189
|
+
def HasField(self, field_name: typing.Literal["code_sync", b"code_sync", "config", b"config", "created_at", b"created_at", "logging", b"logging", "maintenance_window", b"maintenance_window", "network", b"network", "planned_operation", b"planned_operation"]) -> builtins.bool: ...
|
|
190
|
+
def ClearField(self, field_name: typing.Literal["code_sync", b"code_sync", "config", b"config", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "health", b"health", "id", b"id", "labels", b"labels", "logging", b"logging", "maintenance_window", b"maintenance_window", "monitoring", b"monitoring", "name", b"name", "network", b"network", "planned_operation", b"planned_operation", "service_account_id", b"service_account_id", "status", b"status", "webserver_url", b"webserver_url"]) -> None: ...
|
|
178
191
|
|
|
179
192
|
global___Cluster = Cluster
|
|
180
193
|
|
|
@@ -25,12 +25,13 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
26
|
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
27
27
|
from yandex.cloud.airflow.v1 import cluster_pb2 as yandex_dot_cloud_dot_airflow_dot_v1_dot_cluster__pb2
|
|
28
|
+
from yandex.cloud.airflow.v1 import maintenance_pb2 as yandex_dot_cloud_dot_airflow_dot_v1_dot_maintenance__pb2
|
|
28
29
|
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
29
30
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
30
31
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
31
32
|
|
|
32
33
|
|
|
33
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/airflow/v1/cluster_service.proto\x12\x17yandex.cloud.airflow.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a%yandex/cloud/airflow/v1/cluster.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\"5\n\x11GetClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x90\x01\n\x13ListClustersRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"c\n\x14ListClustersResponse\x12\x32\n\x08\x63lusters\x18\x01 \x03(\x0b\x32 .yandex.cloud.airflow.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\
|
|
34
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/airflow/v1/cluster_service.proto\x12\x17yandex.cloud.airflow.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a%yandex/cloud/airflow/v1/cluster.proto\x1a)yandex/cloud/airflow/v1/maintenance.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\"5\n\x11GetClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x90\x01\n\x13ListClustersRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"c\n\x14ListClustersResponse\x12\x32\n\x08\x63lusters\x18\x01 \x03(\x0b\x32 .yandex.cloud.airflow.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe1\x05\n\x14\x43reateClusterRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12,\n\x04name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x86\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x39.yandex.cloud.airflow.v1.CreateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12<\n\x06\x63onfig\x18\x06 \x01(\x0b\x32&.yandex.cloud.airflow.v1.ClusterConfigB\x04\xe8\xc7\x31\x01\x12\x37\n\x07network\x18\x07 \x01(\x0b\x32&.yandex.cloud.airflow.v1.NetworkConfig\x12:\n\tcode_sync\x18\x08 \x01(\x0b\x32\'.yandex.cloud.airflow.v1.CodeSyncConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\t \x01(\x08\x12$\n\x12service_account_id\x18\n \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x37\n\x07logging\x18\x0b \x01(\x0b\x32&.yandex.cloud.airflow.v1.LoggingConfig\x12%\n\x0e\x61\x64min_password\x18\x0c \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05\x38-128\x12\x46\n\x12maintenance_window\x18\r \x01(\x0b\x32*.yandex.cloud.airflow.v1.MaintenanceWindow\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x05\x10\x06\"+\n\x15\x43reateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"\xed\x03\n\x17UpdateClusterConfigSpec\x12\x37\n\x07\x61irflow\x18\x02 \x01(\x0b\x32&.yandex.cloud.airflow.v1.AirflowConfig\x12;\n\twebserver\x18\x03 \x01(\x0b\x32(.yandex.cloud.airflow.v1.WebserverConfig\x12;\n\tscheduler\x18\x04 \x01(\x0b\x32(.yandex.cloud.airflow.v1.SchedulerConfig\x12;\n\ttriggerer\x18\x05 \x01(\x0b\x32(.yandex.cloud.airflow.v1.TriggererConfig\x12\x35\n\x06worker\x18\x06 \x01(\x0b\x32%.yandex.cloud.airflow.v1.WorkerConfig\x12;\n\x0c\x64\x65pendencies\x18\x07 \x01(\x0b\x32%.yandex.cloud.airflow.v1.Dependencies\x12\x37\n\x07lockbox\x18\x08 \x01(\x0b\x32&.yandex.cloud.airflow.v1.LockboxConfig\x12\x17\n\x0f\x61irflow_version\x18\t \x01(\t\x12\x16\n\x0epython_version\x18\n \x01(\tJ\x04\x08\x01\x10\x02\"5\n\x17UpdateNetworkConfigSpec\x12\x1a\n\x12security_group_ids\x18\x01 \x03(\t\"\x81\x06\n\x14UpdateClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12/\n\x04name\x18\x03 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x86\x01\n\x06labels\x18\x05 \x03(\x0b\x32\x39.yandex.cloud.airflow.v1.UpdateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12\x45\n\x0b\x63onfig_spec\x18\x06 \x01(\x0b\x32\x30.yandex.cloud.airflow.v1.UpdateClusterConfigSpec\x12:\n\tcode_sync\x18\x07 \x01(\x0b\x32\'.yandex.cloud.airflow.v1.CodeSyncConfig\x12\x46\n\x0cnetwork_spec\x18\x08 \x01(\x0b\x32\x30.yandex.cloud.airflow.v1.UpdateNetworkConfigSpec\x12\x1b\n\x13\x64\x65letion_protection\x18\t \x01(\x08\x12$\n\x12service_account_id\x18\n \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x37\n\x07logging\x18\x0b \x01(\x0b\x32&.yandex.cloud.airflow.v1.LoggingConfig\x12\x46\n\x12maintenance_window\x18\x0c \x01(\x0b\x32*.yandex.cloud.airflow.v1.MaintenanceWindow\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"+\n\x15UpdateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"8\n\x14\x44\x65leteClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"+\n\x15\x44\x65leteClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"7\n\x13StartClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"*\n\x14StartClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"6\n\x12StopClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\")\n\x13StopClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"~\n\x1cListClusterOperationsRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"o\n\x1dListClusterOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xf2\n\n\x0e\x43lusterService\x12\x86\x01\n\x03Get\x12*.yandex.cloud.airflow.v1.GetClusterRequest\x1a .yandex.cloud.airflow.v1.Cluster\"1\x82\xd3\xe4\x93\x02+\x12)/managed-airflow/v1/clusters/{cluster_id}\x12\x89\x01\n\x04List\x12,.yandex.cloud.airflow.v1.ListClustersRequest\x1a-.yandex.cloud.airflow.v1.ListClustersResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/managed-airflow/v1/clusters\x12\xa7\x01\n\x06\x43reate\x12-.yandex.cloud.airflow.v1.CreateClusterRequest\x1a!.yandex.cloud.operation.Operation\"K\xb2\xd2* \n\x15\x43reateClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02!\"\x1c/managed-airflow/v1/clusters:\x01*\x12\xb4\x01\n\x06Update\x12-.yandex.cloud.airflow.v1.UpdateClusterRequest\x1a!.yandex.cloud.operation.Operation\"X\xb2\xd2* \n\x15UpdateClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02.2)/managed-airflow/v1/clusters/{cluster_id}:\x01*\x12\xbf\x01\n\x06\x44\x65lete\x12-.yandex.cloud.airflow.v1.DeleteClusterRequest\x1a!.yandex.cloud.operation.Operation\"c\xb2\xd2*.\n\x15\x44\x65leteClusterMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02+*)/managed-airflow/v1/clusters/{cluster_id}\x12\xb4\x01\n\x05Start\x12,.yandex.cloud.airflow.v1.StartClusterRequest\x1a!.yandex.cloud.operation.Operation\"Z\xb2\xd2*\x1f\n\x14StartClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02\x31\"//managed-airflow/v1/clusters/{cluster_id}:start\x12\xb0\x01\n\x04Stop\x12+.yandex.cloud.airflow.v1.StopClusterRequest\x1a!.yandex.cloud.operation.Operation\"X\xb2\xd2*\x1e\n\x13StopClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02\x30\"./managed-airflow/v1/clusters/{cluster_id}:stop\x12\xbd\x01\n\x0eListOperations\x12\x35.yandex.cloud.airflow.v1.ListClusterOperationsRequest\x1a\x36.yandex.cloud.airflow.v1.ListClusterOperationsResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/managed-airflow/v1/clusters/{cluster_id}/operationsBb\n\x1byandex.cloud.api.airflow.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/airflow/v1;airflowb\x06proto3')
|
|
34
35
|
|
|
35
36
|
_globals = globals()
|
|
36
37
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -104,44 +105,44 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
104
105
|
_globals['_CLUSTERSERVICE'].methods_by_name['Stop']._serialized_options = b'\262\322*\036\n\023StopClusterMetadata\022\007Cluster\202\323\344\223\0020\"./managed-airflow/v1/clusters/{cluster_id}:stop'
|
|
105
106
|
_globals['_CLUSTERSERVICE'].methods_by_name['ListOperations']._loaded_options = None
|
|
106
107
|
_globals['_CLUSTERSERVICE'].methods_by_name['ListOperations']._serialized_options = b'\202\323\344\223\0026\0224/managed-airflow/v1/clusters/{cluster_id}/operations'
|
|
107
|
-
_globals['_GETCLUSTERREQUEST']._serialized_start=
|
|
108
|
-
_globals['_GETCLUSTERREQUEST']._serialized_end=
|
|
109
|
-
_globals['_LISTCLUSTERSREQUEST']._serialized_start=
|
|
110
|
-
_globals['_LISTCLUSTERSREQUEST']._serialized_end=
|
|
111
|
-
_globals['_LISTCLUSTERSRESPONSE']._serialized_start=
|
|
112
|
-
_globals['_LISTCLUSTERSRESPONSE']._serialized_end=
|
|
113
|
-
_globals['_CREATECLUSTERREQUEST']._serialized_start=
|
|
114
|
-
_globals['_CREATECLUSTERREQUEST']._serialized_end=
|
|
115
|
-
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_start=
|
|
116
|
-
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_end=
|
|
117
|
-
_globals['_CREATECLUSTERMETADATA']._serialized_start=
|
|
118
|
-
_globals['_CREATECLUSTERMETADATA']._serialized_end=
|
|
119
|
-
_globals['_UPDATECLUSTERCONFIGSPEC']._serialized_start=
|
|
120
|
-
_globals['_UPDATECLUSTERCONFIGSPEC']._serialized_end=
|
|
121
|
-
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_start=
|
|
122
|
-
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_end=
|
|
123
|
-
_globals['_UPDATECLUSTERREQUEST']._serialized_start=
|
|
124
|
-
_globals['_UPDATECLUSTERREQUEST']._serialized_end=
|
|
125
|
-
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_start=
|
|
126
|
-
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_end=
|
|
127
|
-
_globals['_UPDATECLUSTERMETADATA']._serialized_start=
|
|
128
|
-
_globals['_UPDATECLUSTERMETADATA']._serialized_end=
|
|
129
|
-
_globals['_DELETECLUSTERREQUEST']._serialized_start=
|
|
130
|
-
_globals['_DELETECLUSTERREQUEST']._serialized_end=
|
|
131
|
-
_globals['_DELETECLUSTERMETADATA']._serialized_start=
|
|
132
|
-
_globals['_DELETECLUSTERMETADATA']._serialized_end=
|
|
133
|
-
_globals['_STARTCLUSTERREQUEST']._serialized_start=
|
|
134
|
-
_globals['_STARTCLUSTERREQUEST']._serialized_end=
|
|
135
|
-
_globals['_STARTCLUSTERMETADATA']._serialized_start=
|
|
136
|
-
_globals['_STARTCLUSTERMETADATA']._serialized_end=
|
|
137
|
-
_globals['_STOPCLUSTERREQUEST']._serialized_start=
|
|
138
|
-
_globals['_STOPCLUSTERREQUEST']._serialized_end=
|
|
139
|
-
_globals['_STOPCLUSTERMETADATA']._serialized_start=
|
|
140
|
-
_globals['_STOPCLUSTERMETADATA']._serialized_end=
|
|
141
|
-
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_start=
|
|
142
|
-
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_end=
|
|
143
|
-
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_start=
|
|
144
|
-
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_end=
|
|
145
|
-
_globals['_CLUSTERSERVICE']._serialized_start=
|
|
146
|
-
_globals['_CLUSTERSERVICE']._serialized_end=
|
|
108
|
+
_globals['_GETCLUSTERREQUEST']._serialized_start=325
|
|
109
|
+
_globals['_GETCLUSTERREQUEST']._serialized_end=378
|
|
110
|
+
_globals['_LISTCLUSTERSREQUEST']._serialized_start=381
|
|
111
|
+
_globals['_LISTCLUSTERSREQUEST']._serialized_end=525
|
|
112
|
+
_globals['_LISTCLUSTERSRESPONSE']._serialized_start=527
|
|
113
|
+
_globals['_LISTCLUSTERSRESPONSE']._serialized_end=626
|
|
114
|
+
_globals['_CREATECLUSTERREQUEST']._serialized_start=629
|
|
115
|
+
_globals['_CREATECLUSTERREQUEST']._serialized_end=1366
|
|
116
|
+
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_start=1315
|
|
117
|
+
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_end=1360
|
|
118
|
+
_globals['_CREATECLUSTERMETADATA']._serialized_start=1368
|
|
119
|
+
_globals['_CREATECLUSTERMETADATA']._serialized_end=1411
|
|
120
|
+
_globals['_UPDATECLUSTERCONFIGSPEC']._serialized_start=1414
|
|
121
|
+
_globals['_UPDATECLUSTERCONFIGSPEC']._serialized_end=1907
|
|
122
|
+
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_start=1909
|
|
123
|
+
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_end=1962
|
|
124
|
+
_globals['_UPDATECLUSTERREQUEST']._serialized_start=1965
|
|
125
|
+
_globals['_UPDATECLUSTERREQUEST']._serialized_end=2734
|
|
126
|
+
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_start=1315
|
|
127
|
+
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_end=1360
|
|
128
|
+
_globals['_UPDATECLUSTERMETADATA']._serialized_start=2736
|
|
129
|
+
_globals['_UPDATECLUSTERMETADATA']._serialized_end=2779
|
|
130
|
+
_globals['_DELETECLUSTERREQUEST']._serialized_start=2781
|
|
131
|
+
_globals['_DELETECLUSTERREQUEST']._serialized_end=2837
|
|
132
|
+
_globals['_DELETECLUSTERMETADATA']._serialized_start=2839
|
|
133
|
+
_globals['_DELETECLUSTERMETADATA']._serialized_end=2882
|
|
134
|
+
_globals['_STARTCLUSTERREQUEST']._serialized_start=2884
|
|
135
|
+
_globals['_STARTCLUSTERREQUEST']._serialized_end=2939
|
|
136
|
+
_globals['_STARTCLUSTERMETADATA']._serialized_start=2941
|
|
137
|
+
_globals['_STARTCLUSTERMETADATA']._serialized_end=2983
|
|
138
|
+
_globals['_STOPCLUSTERREQUEST']._serialized_start=2985
|
|
139
|
+
_globals['_STOPCLUSTERREQUEST']._serialized_end=3039
|
|
140
|
+
_globals['_STOPCLUSTERMETADATA']._serialized_start=3041
|
|
141
|
+
_globals['_STOPCLUSTERMETADATA']._serialized_end=3082
|
|
142
|
+
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_start=3084
|
|
143
|
+
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_end=3210
|
|
144
|
+
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_start=3212
|
|
145
|
+
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_end=3323
|
|
146
|
+
_globals['_CLUSTERSERVICE']._serialized_start=3326
|
|
147
|
+
_globals['_CLUSTERSERVICE']._serialized_end=4720
|
|
147
148
|
# @@protoc_insertion_point(module_scope)
|