yandexcloud 0.338.0__py3-none-any.whl → 0.340.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.
- yandex/cloud/ai/assistants/v1/common_pb2.py +32 -27
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +29 -2
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +32 -32
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +7 -1
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +39 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +220 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +172 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +68 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +3 -3
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.py +50 -50
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +10 -2
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.py +86 -66
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.pyi +98 -2
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.py +88 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.pyi +40 -0
- yandex/cloud/backup/v1/policy_pb2.py +56 -52
- yandex/cloud/backup/v1/policy_pb2.pyi +36 -5
- yandex/cloud/backup/v1/resource_pb2.py +21 -19
- yandex/cloud/backup/v1/resource_pb2.pyi +32 -2
- yandex/cloud/backup/v1/resource_service_pb2.py +30 -30
- yandex/cloud/backup/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/baremetal/__init__.py +0 -0
- yandex/cloud/baremetal/v1alpha/__init__.py +0 -0
- yandex/cloud/baremetal/v1alpha/configuration_pb2.py +42 -0
- yandex/cloud/baremetal/v1alpha/configuration_pb2.pyi +109 -0
- yandex/cloud/baremetal/v1alpha/configuration_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/configuration_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.py +49 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.pyi +111 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2_grpc.py +148 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2_grpc.pyi +80 -0
- yandex/cloud/baremetal/v1alpha/dhcp_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/dhcp_pb2.pyi +33 -0
- yandex/cloud/baremetal/v1alpha/dhcp_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/dhcp_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/disk_pb2.py +39 -0
- yandex/cloud/baremetal/v1alpha/disk_pb2.pyi +68 -0
- yandex/cloud/baremetal/v1alpha/disk_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/disk_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_pb2.pyi +36 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2.py +49 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2.pyi +87 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2_grpc.py +148 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2_grpc.pyi +80 -0
- yandex/cloud/baremetal/v1alpha/image_pb2.py +44 -0
- yandex/cloud/baremetal/v1alpha/image_pb2.pyi +125 -0
- yandex/cloud/baremetal/v1alpha/image_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/image_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/image_service_pb2.py +108 -0
- yandex/cloud/baremetal/v1alpha/image_service_pb2.pyi +364 -0
- yandex/cloud/baremetal/v1alpha/image_service_pb2_grpc.py +327 -0
- yandex/cloud/baremetal/v1alpha/image_service_pb2_grpc.pyi +170 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_pb2.py +47 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_pb2.pyi +174 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.py +112 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.pyi +443 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2_grpc.py +327 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2_grpc.pyi +170 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_pb2.py +45 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_pb2.pyi +143 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.py +106 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.pyi +382 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2_grpc.py +327 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2_grpc.pyi +170 -0
- yandex/cloud/baremetal/v1alpha/server_pb2.py +54 -0
- yandex/cloud/baremetal/v1alpha/server_pb2.pyi +282 -0
- yandex/cloud/baremetal/v1alpha/server_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/server_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2.py +217 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2.pyi +850 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2_grpc.py +589 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2_grpc.pyi +281 -0
- yandex/cloud/baremetal/v1alpha/storage_pb2.py +46 -0
- yandex/cloud/baremetal/v1alpha/storage_pb2.pyi +165 -0
- yandex/cloud/baremetal/v1alpha/storage_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/storage_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/storage_service_pb2.py +51 -0
- yandex/cloud/baremetal/v1alpha/storage_service_pb2.pyi +91 -0
- yandex/cloud/baremetal/v1alpha/storage_service_pb2_grpc.py +145 -0
- yandex/cloud/baremetal/v1alpha/storage_service_pb2_grpc.pyi +70 -0
- yandex/cloud/baremetal/v1alpha/vrf_pb2.py +42 -0
- yandex/cloud/baremetal/v1alpha/vrf_pb2.pyi +77 -0
- yandex/cloud/baremetal/v1alpha/vrf_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/vrf_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2.py +106 -0
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2.pyi +357 -0
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2_grpc.py +327 -0
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2_grpc.pyi +170 -0
- yandex/cloud/baremetal/v1alpha/zone_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/zone_pb2.pyi +29 -0
- yandex/cloud/baremetal/v1alpha/zone_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/zone_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/zone_service_pb2.py +49 -0
- yandex/cloud/baremetal/v1alpha/zone_service_pb2.pyi +87 -0
- yandex/cloud/baremetal/v1alpha/zone_service_pb2_grpc.py +148 -0
- yandex/cloud/baremetal/v1alpha/zone_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +40 -40
- yandex/cloud/dataproc/manager/v1/job_pb2.pyi +26 -26
- yandex/cloud/dataproc/manager/v1/job_service_pb2.pyi +7 -7
- yandex/cloud/dataproc/manager/v1/job_service_pb2_grpc.py +2 -2
- yandex/cloud/dataproc/manager/v1/job_service_pb2_grpc.pyi +6 -6
- yandex/cloud/dataproc/manager/v1/manager_service_pb2.pyi +2 -2
- yandex/cloud/dataproc/manager/v1/manager_service_pb2_grpc.py +3 -3
- yandex/cloud/dataproc/manager/v1/manager_service_pb2_grpc.pyi +3 -3
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -5
- yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +13 -13
- yandex/cloud/dataproc/v1/cluster_service_pb2_grpc.py +4 -4
- yandex/cloud/dataproc/v1/cluster_service_pb2_grpc.pyi +6 -6
- yandex/cloud/dataproc/v1/job_pb2.pyi +15 -15
- yandex/cloud/dataproc/v1/job_service_pb2.pyi +3 -3
- yandex/cloud/dataproc/v1/job_service_pb2_grpc.py +4 -4
- yandex/cloud/dataproc/v1/job_service_pb2_grpc.pyi +6 -6
- yandex/cloud/dataproc/v1/resource_preset_pb2.pyi +2 -2
- yandex/cloud/dataproc/v1/subcluster_pb2.pyi +11 -11
- yandex/cloud/dataproc/v1/subcluster_service_pb2.pyi +3 -3
- yandex/cloud/dataproc/v1/subcluster_service_pb2_grpc.py +3 -3
- yandex/cloud/dataproc/v1/subcluster_service_pb2_grpc.pyi +3 -3
- yandex/cloud/iam/v1/api_key_pb2.pyi +3 -1
- yandex/cloud/iam/v1/api_key_service_pb2.pyi +3 -1
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2.py +32 -25
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.py +133 -0
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.pyi +61 -0
- yandex/cloud/k8s/v1/cluster_pb2.py +40 -30
- yandex/cloud/k8s/v1/cluster_pb2.pyi +94 -2
- yandex/cloud/k8s/v1/cluster_service_pb2.py +54 -42
- yandex/cloud/k8s/v1/cluster_service_pb2.pyi +70 -4
- yandex/cloud/k8s/v1/resource_preset_pb2.py +37 -0
- yandex/cloud/k8s/v1/resource_preset_pb2.pyi +43 -0
- yandex/cloud/k8s/v1/resource_preset_pb2_grpc.py +24 -0
- yandex/cloud/k8s/v1/resource_preset_pb2_grpc.pyi +17 -0
- yandex/cloud/k8s/v1/resource_preset_service_pb2.py +53 -0
- yandex/cloud/k8s/v1/resource_preset_service_pb2.pyi +81 -0
- yandex/cloud/k8s/v1/resource_preset_service_pb2_grpc.py +146 -0
- yandex/cloud/k8s/v1/resource_preset_service_pb2_grpc.pyi +71 -0
- yandex/cloud/mdb/mysql/v1/backup_pb2.py +6 -6
- yandex/cloud/mdb/mysql/v1/backup_pb2.pyi +5 -1
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +26 -20
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +73 -2
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +26 -20
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +100 -2
- yandex/cloud/mdb/opensearch/v1/backup_pb2.py +30 -3
- yandex/cloud/mdb/opensearch/v1/backup_pb2.pyi +162 -0
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.py +46 -45
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.pyi +9 -2
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +78 -78
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/mdb/postgresql/v1/config/host10_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host10_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host11_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host11_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host12_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host12_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host13_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host13_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host14_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host14_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host15_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host15_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host16_1c_pb2.py +25 -25
- yandex/cloud/mdb/postgresql/v1/config/host16_pb2.py +25 -25
- yandex/cloud/mdb/postgresql/v1/config/host9_6_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_1c_pb2.py +35 -35
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_pb2.py +35 -35
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_1c_pb2.py +35 -35
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_pb2.py +35 -35
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql9_6_pb2.py +29 -29
- yandex/cloud/monitoring/v3/unit_format_pb2.py +2 -2
- yandex/cloud/monitoring/v3/unit_format_pb2.pyi +16 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +28 -22
- yandex/cloud/spark/__init__.py +0 -0
- yandex/cloud/spark/v1/__init__.py +0 -0
- yandex/cloud/spark/v1/cluster_pb2.py +100 -0
- yandex/cloud/spark/v1/cluster_pb2.pyi +444 -0
- yandex/cloud/spark/v1/cluster_pb2_grpc.py +24 -0
- yandex/cloud/spark/v1/cluster_pb2_grpc.pyi +17 -0
- yandex/cloud/spark/v1/cluster_service_pb2.py +124 -0
- yandex/cloud/spark/v1/cluster_service_pb2.pyi +333 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.py +366 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.pyi +169 -0
- yandex/cloud/spark/v1/job_pb2.py +56 -0
- yandex/cloud/spark/v1/job_pb2.pyi +346 -0
- yandex/cloud/spark/v1/job_pb2_grpc.py +24 -0
- yandex/cloud/spark/v1/job_pb2_grpc.pyi +17 -0
- yandex/cloud/spark/v1/job_service_pb2.py +97 -0
- yandex/cloud/spark/v1/job_service_pb2.pyi +224 -0
- yandex/cloud/spark/v1/job_service_pb2_grpc.py +279 -0
- yandex/cloud/spark/v1/job_service_pb2_grpc.pyi +132 -0
- yandex/cloud/spark/v1/maintenance_pb2.py +53 -0
- yandex/cloud/spark/v1/maintenance_pb2.pyi +123 -0
- yandex/cloud/spark/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/spark/v1/maintenance_pb2_grpc.pyi +17 -0
- yandexcloud/__init__.py +1 -1
- yandexcloud/_sdk.py +1 -0
- yandexcloud/_wrappers/__init__.py +15 -0
- yandexcloud/_wrappers/spark/__init__.py +603 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/METADATA +2 -1
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/RECORD +219 -106
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.340.0.dist-info}/top_level.txt +0 -0
|
@@ -26,7 +26,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
26
26
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/searchapi/v2/gen_search_service.proto\x12\x19yandex.cloud.searchapi.v2\x1a\x1dyandex/cloud/validation.proto\x1a\x1cgoogle/api/annotations.proto\"h\n\x10GenSearchMessage\x12\x1f\n\x07\x63ontent\x18\x01 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024\x12\x33\n\x04role\x18\x02 \x01(\x0e\x32\x1f.yandex.cloud.searchapi.v2.RoleB\x04\xe8\xc7\x31\x01\"\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/searchapi/v2/gen_search_service.proto\x12\x19yandex.cloud.searchapi.v2\x1a\x1dyandex/cloud/validation.proto\x1a\x1cgoogle/api/annotations.proto\"h\n\x10GenSearchMessage\x12\x1f\n\x07\x63ontent\x18\x01 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024\x12\x33\n\x04role\x18\x02 \x01(\x0e\x32\x1f.yandex.cloud.searchapi.v2.RoleB\x04\xe8\xc7\x31\x01\"\xae\x08\n\x10GenSearchRequest\x12H\n\x08messages\x18\x01 \x03(\x0b\x32+.yandex.cloud.searchapi.v2.GenSearchMessageB\t\x82\xc8\x31\x05\x31-100\x12\x1f\n\tfolder_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12L\n\x04site\x18\x03 \x01(\x0b\x32\x36.yandex.cloud.searchapi.v2.GenSearchRequest.SiteOptionB\x04\xe8\xc7\x31\x01H\x00\x12L\n\x04host\x18\x04 \x01(\x0b\x32\x36.yandex.cloud.searchapi.v2.GenSearchRequest.HostOptionB\x04\xe8\xc7\x31\x01H\x00\x12J\n\x03url\x18\x05 \x01(\x0b\x32\x35.yandex.cloud.searchapi.v2.GenSearchRequest.UrlOptionB\x04\xe8\xc7\x31\x01H\x00\x12\x14\n\x0c\x66ix_misspell\x18\x06 \x01(\x08\x12\x18\n\x10\x65nable_nrfm_docs\x18\x07 \x01(\x08\x12Z\n\x0esearch_filters\x18\x08 \x03(\x0b\x32\x38.yandex.cloud.searchapi.v2.GenSearchRequest.SearchFilterB\x08\x82\xc8\x31\x04<=10\x1a/\n\nSiteOption\x12!\n\x04site\x18\x01 \x03(\tB\x13\x82\xc8\x31\x05<=100\x8a\xc8\x31\x06<=1024\x1a-\n\tUrlOption\x12 \n\x03url\x18\x01 \x03(\tB\x13\x82\xc8\x31\x05<=100\x8a\xc8\x31\x06<=1024\x1a/\n\nHostOption\x12!\n\x04host\x18\x01 \x03(\tB\x13\x82\xc8\x31\x05<=100\x8a\xc8\x31\x06<=1024\x1a\x99\x03\n\x0cSearchFilter\x12\x18\n\x04\x64\x61te\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=25H\x00\x12\x15\n\x04lang\x18\x02 \x01(\tB\x05\x8a\xc8\x31\x01\x32H\x00\x12T\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\x42.yandex.cloud.searchapi.v2.GenSearchRequest.SearchFilter.DocFormatH\x00\"\xef\x01\n\tDocFormat\x12\x1a\n\x16\x44OC_FORMAT_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x44OC_FORMAT_PDF\x10\x01\x12\x12\n\x0e\x44OC_FORMAT_XLS\x10\x02\x12\x12\n\x0e\x44OC_FORMAT_ODS\x10\x03\x12\x12\n\x0e\x44OC_FORMAT_RTF\x10\x04\x12\x12\n\x0e\x44OC_FORMAT_PPT\x10\x05\x12\x12\n\x0e\x44OC_FORMAT_ODP\x10\x06\x12\x12\n\x0e\x44OC_FORMAT_SWF\x10\x07\x12\x12\n\x0e\x44OC_FORMAT_ODT\x10\x08\x12\x12\n\x0e\x44OC_FORMAT_ODG\x10\t\x12\x12\n\x0e\x44OC_FORMAT_DOC\x10\nB\x10\n\x0e\x66ilter_optionsB\x0e\n\x0csite_options\"\x9e\x03\n\x11GenSearchResponse\x12<\n\x07message\x18\x01 \x01(\x0b\x32+.yandex.cloud.searchapi.v2.GenSearchMessage\x12\x44\n\x07sources\x18\x02 \x03(\x0b\x32\x33.yandex.cloud.searchapi.v2.GenSearchResponse.Source\x12P\n\x0esearch_queries\x18\x03 \x03(\x0b\x32\x38.yandex.cloud.searchapi.v2.GenSearchResponse.SearchQuery\x12\x1c\n\x14\x66ixed_misspell_query\x18\x04 \x01(\t\x12\x1a\n\x12is_answer_rejected\x18\x05 \x01(\x08\x12\x18\n\x10is_bullet_answer\x18\x06 \x01(\x08\x1a\x32\n\x06Source\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0c\n\x04used\x18\x03 \x01(\x08\x1a+\n\x0bSearchQuery\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0e\n\x06req_id\x18\x02 \x01(\t*?\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\r\n\tROLE_USER\x10\x01\x12\x12\n\x0eROLE_ASSISTANT\x10\x02\x32\x95\x01\n\x10GenSearchService\x12\x80\x01\n\x06Search\x12+.yandex.cloud.searchapi.v2.GenSearchRequest\x1a,.yandex.cloud.searchapi.v2.GenSearchResponse\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/v2/gen/search:\x01*0\x01\x42\x65\n\x1ayandex.cloud.api.search.v2ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/searchapi/v2;searchapib\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -52,32 +52,38 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
52
52
|
_globals['_GENSEARCHREQUEST'].fields_by_name['messages']._serialized_options = b'\202\3101\0051-100'
|
|
53
53
|
_globals['_GENSEARCHREQUEST'].fields_by_name['folder_id']._loaded_options = None
|
|
54
54
|
_globals['_GENSEARCHREQUEST'].fields_by_name['folder_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
55
|
+
_globals['_GENSEARCHREQUEST'].fields_by_name['site']._loaded_options = None
|
|
56
|
+
_globals['_GENSEARCHREQUEST'].fields_by_name['site']._serialized_options = b'\350\3071\001'
|
|
57
|
+
_globals['_GENSEARCHREQUEST'].fields_by_name['host']._loaded_options = None
|
|
58
|
+
_globals['_GENSEARCHREQUEST'].fields_by_name['host']._serialized_options = b'\350\3071\001'
|
|
59
|
+
_globals['_GENSEARCHREQUEST'].fields_by_name['url']._loaded_options = None
|
|
60
|
+
_globals['_GENSEARCHREQUEST'].fields_by_name['url']._serialized_options = b'\350\3071\001'
|
|
55
61
|
_globals['_GENSEARCHREQUEST'].fields_by_name['search_filters']._loaded_options = None
|
|
56
62
|
_globals['_GENSEARCHREQUEST'].fields_by_name['search_filters']._serialized_options = b'\202\3101\004<=10'
|
|
57
63
|
_globals['_GENSEARCHSERVICE'].methods_by_name['Search']._loaded_options = None
|
|
58
64
|
_globals['_GENSEARCHSERVICE'].methods_by_name['Search']._serialized_options = b'\202\323\344\223\002\023\"\016/v2/gen/search:\001*'
|
|
59
|
-
_globals['_ROLE']._serialized_start=
|
|
60
|
-
_globals['_ROLE']._serialized_end=
|
|
65
|
+
_globals['_ROLE']._serialized_start=1738
|
|
66
|
+
_globals['_ROLE']._serialized_end=1801
|
|
61
67
|
_globals['_GENSEARCHMESSAGE']._serialized_start=142
|
|
62
68
|
_globals['_GENSEARCHMESSAGE']._serialized_end=246
|
|
63
69
|
_globals['_GENSEARCHREQUEST']._serialized_start=249
|
|
64
|
-
_globals['_GENSEARCHREQUEST']._serialized_end=
|
|
65
|
-
_globals['_GENSEARCHREQUEST_SITEOPTION']._serialized_start=
|
|
66
|
-
_globals['_GENSEARCHREQUEST_SITEOPTION']._serialized_end=
|
|
67
|
-
_globals['_GENSEARCHREQUEST_URLOPTION']._serialized_start=
|
|
68
|
-
_globals['_GENSEARCHREQUEST_URLOPTION']._serialized_end=
|
|
69
|
-
_globals['_GENSEARCHREQUEST_HOSTOPTION']._serialized_start=
|
|
70
|
-
_globals['_GENSEARCHREQUEST_HOSTOPTION']._serialized_end=
|
|
71
|
-
_globals['_GENSEARCHREQUEST_SEARCHFILTER']._serialized_start=
|
|
72
|
-
_globals['_GENSEARCHREQUEST_SEARCHFILTER']._serialized_end=
|
|
73
|
-
_globals['_GENSEARCHREQUEST_SEARCHFILTER_DOCFORMAT']._serialized_start=
|
|
74
|
-
_globals['_GENSEARCHREQUEST_SEARCHFILTER_DOCFORMAT']._serialized_end=
|
|
75
|
-
_globals['_GENSEARCHRESPONSE']._serialized_start=
|
|
76
|
-
_globals['_GENSEARCHRESPONSE']._serialized_end=
|
|
77
|
-
_globals['_GENSEARCHRESPONSE_SOURCE']._serialized_start=
|
|
78
|
-
_globals['_GENSEARCHRESPONSE_SOURCE']._serialized_end=
|
|
79
|
-
_globals['_GENSEARCHRESPONSE_SEARCHQUERY']._serialized_start=
|
|
80
|
-
_globals['_GENSEARCHRESPONSE_SEARCHQUERY']._serialized_end=
|
|
81
|
-
_globals['_GENSEARCHSERVICE']._serialized_start=
|
|
82
|
-
_globals['_GENSEARCHSERVICE']._serialized_end=
|
|
70
|
+
_globals['_GENSEARCHREQUEST']._serialized_end=1319
|
|
71
|
+
_globals['_GENSEARCHREQUEST_SITEOPTION']._serialized_start=748
|
|
72
|
+
_globals['_GENSEARCHREQUEST_SITEOPTION']._serialized_end=795
|
|
73
|
+
_globals['_GENSEARCHREQUEST_URLOPTION']._serialized_start=797
|
|
74
|
+
_globals['_GENSEARCHREQUEST_URLOPTION']._serialized_end=842
|
|
75
|
+
_globals['_GENSEARCHREQUEST_HOSTOPTION']._serialized_start=844
|
|
76
|
+
_globals['_GENSEARCHREQUEST_HOSTOPTION']._serialized_end=891
|
|
77
|
+
_globals['_GENSEARCHREQUEST_SEARCHFILTER']._serialized_start=894
|
|
78
|
+
_globals['_GENSEARCHREQUEST_SEARCHFILTER']._serialized_end=1303
|
|
79
|
+
_globals['_GENSEARCHREQUEST_SEARCHFILTER_DOCFORMAT']._serialized_start=1046
|
|
80
|
+
_globals['_GENSEARCHREQUEST_SEARCHFILTER_DOCFORMAT']._serialized_end=1285
|
|
81
|
+
_globals['_GENSEARCHRESPONSE']._serialized_start=1322
|
|
82
|
+
_globals['_GENSEARCHRESPONSE']._serialized_end=1736
|
|
83
|
+
_globals['_GENSEARCHRESPONSE_SOURCE']._serialized_start=1641
|
|
84
|
+
_globals['_GENSEARCHRESPONSE_SOURCE']._serialized_end=1691
|
|
85
|
+
_globals['_GENSEARCHRESPONSE_SEARCHQUERY']._serialized_start=1693
|
|
86
|
+
_globals['_GENSEARCHRESPONSE_SEARCHQUERY']._serialized_end=1736
|
|
87
|
+
_globals['_GENSEARCHSERVICE']._serialized_start=1804
|
|
88
|
+
_globals['_GENSEARCHSERVICE']._serialized_end=1953
|
|
83
89
|
# @@protoc_insertion_point(module_scope)
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/spark/v1/cluster.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
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
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/spark/v1/cluster.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from yandex.cloud.spark.v1 import maintenance_pb2 as yandex_dot_cloud_dot_spark_dot_v1_dot_maintenance__pb2
|
|
26
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
27
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/spark/v1/cluster.proto\x12\x15yandex.cloud.spark.v1\x1a\'yandex/cloud/spark/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf8\x06\n\x07\x43luster\x12\x18\n\x02id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\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.spark.v1.Cluster.LabelsEntry\x12\x34\n\x06\x63onfig\x18\x07 \x01(\x0b\x32$.yandex.cloud.spark.v1.ClusterConfig\x12\x35\n\x06status\x18\x08 \x01(\x0e\x32%.yandex.cloud.spark.v1.Cluster.Status\x12\x35\n\x07network\x18\t \x01(\x0b\x32$.yandex.cloud.spark.v1.NetworkConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\n \x01(\x08\x12$\n\x12service_account_id\x18\x0b \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\x0c \x01(\x0b\x32$.yandex.cloud.spark.v1.LoggingConfig\x12-\n\x06health\x18\r \x01(\x0e\x32\x1d.yandex.cloud.spark.v1.Health\x12,\n\x05links\x18\x0e \x03(\x0b\x32\x1d.yandex.cloud.spark.v1.UILink\x12\x44\n\x12maintenance_window\x18\x0f \x01(\x0b\x32(.yandex.cloud.spark.v1.MaintenanceWindow\x12\x46\n\x11planned_operation\x18\x10 \x01(\x0b\x32+.yandex.cloud.spark.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\x0c\n\x08UPDATING\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x0c\n\x08STOPPING\x10\x05\x12\x0b\n\x07STOPPED\x10\x06\x12\x0c\n\x08STARTING\x10\x07\"\x87\x02\n\rClusterConfig\x12\x42\n\x0eresource_pools\x18\x01 \x01(\x0b\x32$.yandex.cloud.spark.v1.ResourcePoolsB\x04\xe8\xc7\x31\x01\x12\x42\n\x0ehistory_server\x18\x02 \x01(\x0b\x32*.yandex.cloud.spark.v1.HistoryServerConfig\x12\x39\n\x0c\x64\x65pendencies\x18\x03 \x01(\x0b\x32#.yandex.cloud.spark.v1.Dependencies\x12\x33\n\tmetastore\x18\x04 \x01(\x0b\x32 .yandex.cloud.spark.v1.Metastore\"&\n\x13HistoryServerConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"?\n\rNetworkConfig\x12\x12\n\nsubnet_ids\x18\x01 \x03(\t\x12\x1a\n\x12security_group_ids\x18\x02 \x03(\t\"\x87\x01\n\rResourcePools\x12\x39\n\x06\x64river\x18\x01 \x01(\x0b\x32#.yandex.cloud.spark.v1.ResourcePoolB\x04\xe8\xc7\x31\x01\x12;\n\x08\x65xecutor\x18\x02 \x01(\x0b\x32#.yandex.cloud.spark.v1.ResourcePoolB\x04\xe8\xc7\x31\x01\"x\n\x0cResourcePool\x12(\n\x12resource_preset_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12>\n\x0cscale_policy\x18\x02 \x01(\x0b\x32\".yandex.cloud.spark.v1.ScalePolicyB\x04\xe8\xc7\x31\x01\"\x99\x02\n\x0bScalePolicy\x12\x44\n\x0b\x66ixed_scale\x18\x01 \x01(\x0b\x32-.yandex.cloud.spark.v1.ScalePolicy.FixedScaleH\x00\x12\x42\n\nauto_scale\x18\x02 \x01(\x0b\x32,.yandex.cloud.spark.v1.ScalePolicy.AutoScaleH\x00\x1a%\n\nFixedScale\x12\x17\n\x04size\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-100\x1a\x45\n\tAutoScale\x12\x1b\n\x08min_size\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-100\x12\x1b\n\x08max_size\x18\x02 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-100B\x12\n\nscale_type\x12\x04\xc0\xc1\x31\x01\":\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\tMetastore\x12\x1c\n\ncluster_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\"\xa6\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\x42\r\n\x0b\x64\x65stination\"#\n\x06UILink\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t*?\n\x06Health\x12\x12\n\x0eHEALTH_UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\x42\\\n\x19yandex.cloud.api.spark.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/spark/v1;sparkb\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.spark.v1.cluster_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\031yandex.cloud.api.spark.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/spark/v1;spark'
|
|
38
|
+
_globals['_CLUSTER_LABELSENTRY']._loaded_options = None
|
|
39
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_options = b'8\001'
|
|
40
|
+
_globals['_CLUSTER'].fields_by_name['id']._loaded_options = None
|
|
41
|
+
_globals['_CLUSTER'].fields_by_name['id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
42
|
+
_globals['_CLUSTER'].fields_by_name['service_account_id']._loaded_options = None
|
|
43
|
+
_globals['_CLUSTER'].fields_by_name['service_account_id']._serialized_options = b'\212\3101\004<=50'
|
|
44
|
+
_globals['_CLUSTERCONFIG'].fields_by_name['resource_pools']._loaded_options = None
|
|
45
|
+
_globals['_CLUSTERCONFIG'].fields_by_name['resource_pools']._serialized_options = b'\350\3071\001'
|
|
46
|
+
_globals['_RESOURCEPOOLS'].fields_by_name['driver']._loaded_options = None
|
|
47
|
+
_globals['_RESOURCEPOOLS'].fields_by_name['driver']._serialized_options = b'\350\3071\001'
|
|
48
|
+
_globals['_RESOURCEPOOLS'].fields_by_name['executor']._loaded_options = None
|
|
49
|
+
_globals['_RESOURCEPOOLS'].fields_by_name['executor']._serialized_options = b'\350\3071\001'
|
|
50
|
+
_globals['_RESOURCEPOOL'].fields_by_name['resource_preset_id']._loaded_options = None
|
|
51
|
+
_globals['_RESOURCEPOOL'].fields_by_name['resource_preset_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
52
|
+
_globals['_RESOURCEPOOL'].fields_by_name['scale_policy']._loaded_options = None
|
|
53
|
+
_globals['_RESOURCEPOOL'].fields_by_name['scale_policy']._serialized_options = b'\350\3071\001'
|
|
54
|
+
_globals['_SCALEPOLICY_FIXEDSCALE'].fields_by_name['size']._loaded_options = None
|
|
55
|
+
_globals['_SCALEPOLICY_FIXEDSCALE'].fields_by_name['size']._serialized_options = b'\372\3071\0051-100'
|
|
56
|
+
_globals['_SCALEPOLICY_AUTOSCALE'].fields_by_name['min_size']._loaded_options = None
|
|
57
|
+
_globals['_SCALEPOLICY_AUTOSCALE'].fields_by_name['min_size']._serialized_options = b'\372\3071\0050-100'
|
|
58
|
+
_globals['_SCALEPOLICY_AUTOSCALE'].fields_by_name['max_size']._loaded_options = None
|
|
59
|
+
_globals['_SCALEPOLICY_AUTOSCALE'].fields_by_name['max_size']._serialized_options = b'\372\3071\0051-100'
|
|
60
|
+
_globals['_SCALEPOLICY'].oneofs_by_name['scale_type']._loaded_options = None
|
|
61
|
+
_globals['_SCALEPOLICY'].oneofs_by_name['scale_type']._serialized_options = b'\300\3011\001'
|
|
62
|
+
_globals['_METASTORE'].fields_by_name['cluster_id']._loaded_options = None
|
|
63
|
+
_globals['_METASTORE'].fields_by_name['cluster_id']._serialized_options = b'\212\3101\004<=50'
|
|
64
|
+
_globals['_LOGGINGCONFIG'].fields_by_name['folder_id']._loaded_options = None
|
|
65
|
+
_globals['_LOGGINGCONFIG'].fields_by_name['folder_id']._serialized_options = b'\362\3071\037([a-zA-Z][-a-zA-Z0-9_.]{0,63})?'
|
|
66
|
+
_globals['_LOGGINGCONFIG'].fields_by_name['log_group_id']._loaded_options = None
|
|
67
|
+
_globals['_LOGGINGCONFIG'].fields_by_name['log_group_id']._serialized_options = b'\362\3071\037([a-zA-Z][-a-zA-Z0-9_.]{0,63})?'
|
|
68
|
+
_globals['_HEALTH']._serialized_start=2282
|
|
69
|
+
_globals['_HEALTH']._serialized_end=2345
|
|
70
|
+
_globals['_CLUSTER']._serialized_start=168
|
|
71
|
+
_globals['_CLUSTER']._serialized_end=1056
|
|
72
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_start=888
|
|
73
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_end=933
|
|
74
|
+
_globals['_CLUSTER_STATUS']._serialized_start=935
|
|
75
|
+
_globals['_CLUSTER_STATUS']._serialized_end=1056
|
|
76
|
+
_globals['_CLUSTERCONFIG']._serialized_start=1059
|
|
77
|
+
_globals['_CLUSTERCONFIG']._serialized_end=1322
|
|
78
|
+
_globals['_HISTORYSERVERCONFIG']._serialized_start=1324
|
|
79
|
+
_globals['_HISTORYSERVERCONFIG']._serialized_end=1362
|
|
80
|
+
_globals['_NETWORKCONFIG']._serialized_start=1364
|
|
81
|
+
_globals['_NETWORKCONFIG']._serialized_end=1427
|
|
82
|
+
_globals['_RESOURCEPOOLS']._serialized_start=1430
|
|
83
|
+
_globals['_RESOURCEPOOLS']._serialized_end=1565
|
|
84
|
+
_globals['_RESOURCEPOOL']._serialized_start=1567
|
|
85
|
+
_globals['_RESOURCEPOOL']._serialized_end=1687
|
|
86
|
+
_globals['_SCALEPOLICY']._serialized_start=1690
|
|
87
|
+
_globals['_SCALEPOLICY']._serialized_end=1971
|
|
88
|
+
_globals['_SCALEPOLICY_FIXEDSCALE']._serialized_start=1843
|
|
89
|
+
_globals['_SCALEPOLICY_FIXEDSCALE']._serialized_end=1880
|
|
90
|
+
_globals['_SCALEPOLICY_AUTOSCALE']._serialized_start=1882
|
|
91
|
+
_globals['_SCALEPOLICY_AUTOSCALE']._serialized_end=1951
|
|
92
|
+
_globals['_DEPENDENCIES']._serialized_start=1973
|
|
93
|
+
_globals['_DEPENDENCIES']._serialized_end=2031
|
|
94
|
+
_globals['_METASTORE']._serialized_start=2033
|
|
95
|
+
_globals['_METASTORE']._serialized_end=2074
|
|
96
|
+
_globals['_LOGGINGCONFIG']._serialized_start=2077
|
|
97
|
+
_globals['_LOGGINGCONFIG']._serialized_end=2243
|
|
98
|
+
_globals['_UILINK']._serialized_start=2245
|
|
99
|
+
_globals['_UILINK']._serialized_end=2280
|
|
100
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,444 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
11
|
+
import google.protobuf.message
|
|
12
|
+
import google.protobuf.timestamp_pb2
|
|
13
|
+
import sys
|
|
14
|
+
import typing
|
|
15
|
+
import yandex.cloud.spark.v1.maintenance_pb2
|
|
16
|
+
|
|
17
|
+
if sys.version_info >= (3, 10):
|
|
18
|
+
import typing as typing_extensions
|
|
19
|
+
else:
|
|
20
|
+
import typing_extensions
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
23
|
+
|
|
24
|
+
class _Health:
|
|
25
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
26
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
27
|
+
|
|
28
|
+
class _HealthEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Health.ValueType], builtins.type):
|
|
29
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
30
|
+
HEALTH_UNKNOWN: _Health.ValueType # 0
|
|
31
|
+
"""Cluster is in unknown state (we have no data)."""
|
|
32
|
+
ALIVE: _Health.ValueType # 1
|
|
33
|
+
"""Cluster is alive and well."""
|
|
34
|
+
DEAD: _Health.ValueType # 2
|
|
35
|
+
"""Cluster is inoperable (it cannot perform any of its essential functions)."""
|
|
36
|
+
DEGRADED: _Health.ValueType # 3
|
|
37
|
+
"""Cluster is partially alive (it can perform some of its essential functions)."""
|
|
38
|
+
|
|
39
|
+
class Health(_Health, metaclass=_HealthEnumTypeWrapper): ...
|
|
40
|
+
|
|
41
|
+
HEALTH_UNKNOWN: Health.ValueType # 0
|
|
42
|
+
"""Cluster is in unknown state (we have no data)."""
|
|
43
|
+
ALIVE: Health.ValueType # 1
|
|
44
|
+
"""Cluster is alive and well."""
|
|
45
|
+
DEAD: Health.ValueType # 2
|
|
46
|
+
"""Cluster is inoperable (it cannot perform any of its essential functions)."""
|
|
47
|
+
DEGRADED: Health.ValueType # 3
|
|
48
|
+
"""Cluster is partially alive (it can perform some of its essential functions)."""
|
|
49
|
+
global___Health = Health
|
|
50
|
+
|
|
51
|
+
@typing.final
|
|
52
|
+
class Cluster(google.protobuf.message.Message):
|
|
53
|
+
"""Spark cluster."""
|
|
54
|
+
|
|
55
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
56
|
+
|
|
57
|
+
class _Status:
|
|
58
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
59
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
60
|
+
|
|
61
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Cluster._Status.ValueType], builtins.type):
|
|
62
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
63
|
+
STATUS_UNKNOWN: Cluster._Status.ValueType # 0
|
|
64
|
+
"""Cluster status is unknown"""
|
|
65
|
+
CREATING: Cluster._Status.ValueType # 1
|
|
66
|
+
"""Cluster is being created"""
|
|
67
|
+
RUNNING: Cluster._Status.ValueType # 2
|
|
68
|
+
"""Cluster is running normally."""
|
|
69
|
+
UPDATING: Cluster._Status.ValueType # 3
|
|
70
|
+
"""Cluster is being updated."""
|
|
71
|
+
ERROR: Cluster._Status.ValueType # 4
|
|
72
|
+
"""Cluster encountered a problem and cannot operate."""
|
|
73
|
+
STOPPING: Cluster._Status.ValueType # 5
|
|
74
|
+
"""Cluster is stopping."""
|
|
75
|
+
STOPPED: Cluster._Status.ValueType # 6
|
|
76
|
+
"""Cluster is stopped."""
|
|
77
|
+
STARTING: Cluster._Status.ValueType # 7
|
|
78
|
+
"""Cluster is starting."""
|
|
79
|
+
|
|
80
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
81
|
+
STATUS_UNKNOWN: Cluster.Status.ValueType # 0
|
|
82
|
+
"""Cluster status is unknown"""
|
|
83
|
+
CREATING: Cluster.Status.ValueType # 1
|
|
84
|
+
"""Cluster is being created"""
|
|
85
|
+
RUNNING: Cluster.Status.ValueType # 2
|
|
86
|
+
"""Cluster is running normally."""
|
|
87
|
+
UPDATING: Cluster.Status.ValueType # 3
|
|
88
|
+
"""Cluster is being updated."""
|
|
89
|
+
ERROR: Cluster.Status.ValueType # 4
|
|
90
|
+
"""Cluster encountered a problem and cannot operate."""
|
|
91
|
+
STOPPING: Cluster.Status.ValueType # 5
|
|
92
|
+
"""Cluster is stopping."""
|
|
93
|
+
STOPPED: Cluster.Status.ValueType # 6
|
|
94
|
+
"""Cluster is stopped."""
|
|
95
|
+
STARTING: Cluster.Status.ValueType # 7
|
|
96
|
+
"""Cluster is starting."""
|
|
97
|
+
|
|
98
|
+
@typing.final
|
|
99
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
100
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
101
|
+
|
|
102
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
103
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
104
|
+
key: builtins.str
|
|
105
|
+
value: builtins.str
|
|
106
|
+
def __init__(
|
|
107
|
+
self,
|
|
108
|
+
*,
|
|
109
|
+
key: builtins.str = ...,
|
|
110
|
+
value: builtins.str = ...,
|
|
111
|
+
) -> None: ...
|
|
112
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
113
|
+
|
|
114
|
+
ID_FIELD_NUMBER: builtins.int
|
|
115
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
116
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
117
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
118
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
119
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
120
|
+
CONFIG_FIELD_NUMBER: builtins.int
|
|
121
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
122
|
+
NETWORK_FIELD_NUMBER: builtins.int
|
|
123
|
+
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
124
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
125
|
+
LOGGING_FIELD_NUMBER: builtins.int
|
|
126
|
+
HEALTH_FIELD_NUMBER: builtins.int
|
|
127
|
+
LINKS_FIELD_NUMBER: builtins.int
|
|
128
|
+
MAINTENANCE_WINDOW_FIELD_NUMBER: builtins.int
|
|
129
|
+
PLANNED_OPERATION_FIELD_NUMBER: builtins.int
|
|
130
|
+
id: builtins.str
|
|
131
|
+
"""Unique ID of the Spark cluster.
|
|
132
|
+
This ID is assigned by Cloud in the process of creating a Spark cluster.
|
|
133
|
+
"""
|
|
134
|
+
folder_id: builtins.str
|
|
135
|
+
"""ID of the folder that the Spark cluster belongs to."""
|
|
136
|
+
name: builtins.str
|
|
137
|
+
"""Name of the Spark cluster.
|
|
138
|
+
The name is unique within the folder. 1-64 characters long.
|
|
139
|
+
"""
|
|
140
|
+
description: builtins.str
|
|
141
|
+
"""Description of the Spark cluster. 0-256 characters long."""
|
|
142
|
+
status: global___Cluster.Status.ValueType
|
|
143
|
+
"""Cluster status."""
|
|
144
|
+
deletion_protection: builtins.bool
|
|
145
|
+
"""Deletion Protection inhibits deletion of the cluster"""
|
|
146
|
+
service_account_id: builtins.str
|
|
147
|
+
"""Service account that will be used to access a YC resources"""
|
|
148
|
+
health: global___Health.ValueType
|
|
149
|
+
"""Aggregated cluster health."""
|
|
150
|
+
@property
|
|
151
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
152
|
+
"""The time when the Spark cluster was created."""
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
156
|
+
@property
|
|
157
|
+
def config(self) -> global___ClusterConfig:
|
|
158
|
+
"""Configuration of the Spark cluster."""
|
|
159
|
+
|
|
160
|
+
@property
|
|
161
|
+
def network(self) -> global___NetworkConfig: ...
|
|
162
|
+
@property
|
|
163
|
+
def logging(self) -> global___LoggingConfig:
|
|
164
|
+
"""Cloud logging configuration."""
|
|
165
|
+
|
|
166
|
+
@property
|
|
167
|
+
def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___UILink]:
|
|
168
|
+
"""UI URLs"""
|
|
169
|
+
|
|
170
|
+
@property
|
|
171
|
+
def maintenance_window(self) -> yandex.cloud.spark.v1.maintenance_pb2.MaintenanceWindow:
|
|
172
|
+
"""Window of maintenance operations."""
|
|
173
|
+
|
|
174
|
+
@property
|
|
175
|
+
def planned_operation(self) -> yandex.cloud.spark.v1.maintenance_pb2.MaintenanceOperation:
|
|
176
|
+
"""Maintenance operation planned at nearest maintenance_window."""
|
|
177
|
+
|
|
178
|
+
def __init__(
|
|
179
|
+
self,
|
|
180
|
+
*,
|
|
181
|
+
id: builtins.str = ...,
|
|
182
|
+
folder_id: builtins.str = ...,
|
|
183
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
184
|
+
name: builtins.str = ...,
|
|
185
|
+
description: builtins.str = ...,
|
|
186
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
187
|
+
config: global___ClusterConfig | None = ...,
|
|
188
|
+
status: global___Cluster.Status.ValueType = ...,
|
|
189
|
+
network: global___NetworkConfig | None = ...,
|
|
190
|
+
deletion_protection: builtins.bool = ...,
|
|
191
|
+
service_account_id: builtins.str = ...,
|
|
192
|
+
logging: global___LoggingConfig | None = ...,
|
|
193
|
+
health: global___Health.ValueType = ...,
|
|
194
|
+
links: collections.abc.Iterable[global___UILink] | None = ...,
|
|
195
|
+
maintenance_window: yandex.cloud.spark.v1.maintenance_pb2.MaintenanceWindow | None = ...,
|
|
196
|
+
planned_operation: yandex.cloud.spark.v1.maintenance_pb2.MaintenanceOperation | None = ...,
|
|
197
|
+
) -> None: ...
|
|
198
|
+
def HasField(self, field_name: typing.Literal["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: ...
|
|
199
|
+
def ClearField(self, field_name: typing.Literal["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", "links", b"links", "logging", b"logging", "maintenance_window", b"maintenance_window", "name", b"name", "network", b"network", "planned_operation", b"planned_operation", "service_account_id", b"service_account_id", "status", b"status"]) -> None: ...
|
|
200
|
+
|
|
201
|
+
global___Cluster = Cluster
|
|
202
|
+
|
|
203
|
+
@typing.final
|
|
204
|
+
class ClusterConfig(google.protobuf.message.Message):
|
|
205
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
206
|
+
|
|
207
|
+
RESOURCE_POOLS_FIELD_NUMBER: builtins.int
|
|
208
|
+
HISTORY_SERVER_FIELD_NUMBER: builtins.int
|
|
209
|
+
DEPENDENCIES_FIELD_NUMBER: builtins.int
|
|
210
|
+
METASTORE_FIELD_NUMBER: builtins.int
|
|
211
|
+
@property
|
|
212
|
+
def resource_pools(self) -> global___ResourcePools: ...
|
|
213
|
+
@property
|
|
214
|
+
def history_server(self) -> global___HistoryServerConfig:
|
|
215
|
+
"""Configuration for HistoryServer"""
|
|
216
|
+
|
|
217
|
+
@property
|
|
218
|
+
def dependencies(self) -> global___Dependencies:
|
|
219
|
+
"""Container custom environment dependencies"""
|
|
220
|
+
|
|
221
|
+
@property
|
|
222
|
+
def metastore(self) -> global___Metastore:
|
|
223
|
+
"""Metastore Cluster"""
|
|
224
|
+
|
|
225
|
+
def __init__(
|
|
226
|
+
self,
|
|
227
|
+
*,
|
|
228
|
+
resource_pools: global___ResourcePools | None = ...,
|
|
229
|
+
history_server: global___HistoryServerConfig | None = ...,
|
|
230
|
+
dependencies: global___Dependencies | None = ...,
|
|
231
|
+
metastore: global___Metastore | None = ...,
|
|
232
|
+
) -> None: ...
|
|
233
|
+
def HasField(self, field_name: typing.Literal["dependencies", b"dependencies", "history_server", b"history_server", "metastore", b"metastore", "resource_pools", b"resource_pools"]) -> builtins.bool: ...
|
|
234
|
+
def ClearField(self, field_name: typing.Literal["dependencies", b"dependencies", "history_server", b"history_server", "metastore", b"metastore", "resource_pools", b"resource_pools"]) -> None: ...
|
|
235
|
+
|
|
236
|
+
global___ClusterConfig = ClusterConfig
|
|
237
|
+
|
|
238
|
+
@typing.final
|
|
239
|
+
class HistoryServerConfig(google.protobuf.message.Message):
|
|
240
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
241
|
+
|
|
242
|
+
ENABLED_FIELD_NUMBER: builtins.int
|
|
243
|
+
enabled: builtins.bool
|
|
244
|
+
def __init__(
|
|
245
|
+
self,
|
|
246
|
+
*,
|
|
247
|
+
enabled: builtins.bool = ...,
|
|
248
|
+
) -> None: ...
|
|
249
|
+
def ClearField(self, field_name: typing.Literal["enabled", b"enabled"]) -> None: ...
|
|
250
|
+
|
|
251
|
+
global___HistoryServerConfig = HistoryServerConfig
|
|
252
|
+
|
|
253
|
+
@typing.final
|
|
254
|
+
class NetworkConfig(google.protobuf.message.Message):
|
|
255
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
256
|
+
|
|
257
|
+
SUBNET_IDS_FIELD_NUMBER: builtins.int
|
|
258
|
+
SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
|
|
259
|
+
@property
|
|
260
|
+
def subnet_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
261
|
+
"""IDs of VPC network subnets where instances of the cluster are attached."""
|
|
262
|
+
|
|
263
|
+
@property
|
|
264
|
+
def security_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
265
|
+
"""User security groups"""
|
|
266
|
+
|
|
267
|
+
def __init__(
|
|
268
|
+
self,
|
|
269
|
+
*,
|
|
270
|
+
subnet_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
271
|
+
security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
272
|
+
) -> None: ...
|
|
273
|
+
def ClearField(self, field_name: typing.Literal["security_group_ids", b"security_group_ids", "subnet_ids", b"subnet_ids"]) -> None: ...
|
|
274
|
+
|
|
275
|
+
global___NetworkConfig = NetworkConfig
|
|
276
|
+
|
|
277
|
+
@typing.final
|
|
278
|
+
class ResourcePools(google.protobuf.message.Message):
|
|
279
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
280
|
+
|
|
281
|
+
DRIVER_FIELD_NUMBER: builtins.int
|
|
282
|
+
EXECUTOR_FIELD_NUMBER: builtins.int
|
|
283
|
+
@property
|
|
284
|
+
def driver(self) -> global___ResourcePool: ...
|
|
285
|
+
@property
|
|
286
|
+
def executor(self) -> global___ResourcePool: ...
|
|
287
|
+
def __init__(
|
|
288
|
+
self,
|
|
289
|
+
*,
|
|
290
|
+
driver: global___ResourcePool | None = ...,
|
|
291
|
+
executor: global___ResourcePool | None = ...,
|
|
292
|
+
) -> None: ...
|
|
293
|
+
def HasField(self, field_name: typing.Literal["driver", b"driver", "executor", b"executor"]) -> builtins.bool: ...
|
|
294
|
+
def ClearField(self, field_name: typing.Literal["driver", b"driver", "executor", b"executor"]) -> None: ...
|
|
295
|
+
|
|
296
|
+
global___ResourcePools = ResourcePools
|
|
297
|
+
|
|
298
|
+
@typing.final
|
|
299
|
+
class ResourcePool(google.protobuf.message.Message):
|
|
300
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
301
|
+
|
|
302
|
+
RESOURCE_PRESET_ID_FIELD_NUMBER: builtins.int
|
|
303
|
+
SCALE_POLICY_FIELD_NUMBER: builtins.int
|
|
304
|
+
resource_preset_id: builtins.str
|
|
305
|
+
"""ID of the preset for computational resources allocated to a instance (e.g., CPU, memory, etc.)."""
|
|
306
|
+
@property
|
|
307
|
+
def scale_policy(self) -> global___ScalePolicy: ...
|
|
308
|
+
def __init__(
|
|
309
|
+
self,
|
|
310
|
+
*,
|
|
311
|
+
resource_preset_id: builtins.str = ...,
|
|
312
|
+
scale_policy: global___ScalePolicy | None = ...,
|
|
313
|
+
) -> None: ...
|
|
314
|
+
def HasField(self, field_name: typing.Literal["scale_policy", b"scale_policy"]) -> builtins.bool: ...
|
|
315
|
+
def ClearField(self, field_name: typing.Literal["resource_preset_id", b"resource_preset_id", "scale_policy", b"scale_policy"]) -> None: ...
|
|
316
|
+
|
|
317
|
+
global___ResourcePool = ResourcePool
|
|
318
|
+
|
|
319
|
+
@typing.final
|
|
320
|
+
class ScalePolicy(google.protobuf.message.Message):
|
|
321
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
322
|
+
|
|
323
|
+
@typing.final
|
|
324
|
+
class FixedScale(google.protobuf.message.Message):
|
|
325
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
326
|
+
|
|
327
|
+
SIZE_FIELD_NUMBER: builtins.int
|
|
328
|
+
size: builtins.int
|
|
329
|
+
def __init__(
|
|
330
|
+
self,
|
|
331
|
+
*,
|
|
332
|
+
size: builtins.int = ...,
|
|
333
|
+
) -> None: ...
|
|
334
|
+
def ClearField(self, field_name: typing.Literal["size", b"size"]) -> None: ...
|
|
335
|
+
|
|
336
|
+
@typing.final
|
|
337
|
+
class AutoScale(google.protobuf.message.Message):
|
|
338
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
339
|
+
|
|
340
|
+
MIN_SIZE_FIELD_NUMBER: builtins.int
|
|
341
|
+
MAX_SIZE_FIELD_NUMBER: builtins.int
|
|
342
|
+
min_size: builtins.int
|
|
343
|
+
max_size: builtins.int
|
|
344
|
+
def __init__(
|
|
345
|
+
self,
|
|
346
|
+
*,
|
|
347
|
+
min_size: builtins.int = ...,
|
|
348
|
+
max_size: builtins.int = ...,
|
|
349
|
+
) -> None: ...
|
|
350
|
+
def ClearField(self, field_name: typing.Literal["max_size", b"max_size", "min_size", b"min_size"]) -> None: ...
|
|
351
|
+
|
|
352
|
+
FIXED_SCALE_FIELD_NUMBER: builtins.int
|
|
353
|
+
AUTO_SCALE_FIELD_NUMBER: builtins.int
|
|
354
|
+
@property
|
|
355
|
+
def fixed_scale(self) -> global___ScalePolicy.FixedScale: ...
|
|
356
|
+
@property
|
|
357
|
+
def auto_scale(self) -> global___ScalePolicy.AutoScale: ...
|
|
358
|
+
def __init__(
|
|
359
|
+
self,
|
|
360
|
+
*,
|
|
361
|
+
fixed_scale: global___ScalePolicy.FixedScale | None = ...,
|
|
362
|
+
auto_scale: global___ScalePolicy.AutoScale | None = ...,
|
|
363
|
+
) -> None: ...
|
|
364
|
+
def HasField(self, field_name: typing.Literal["auto_scale", b"auto_scale", "fixed_scale", b"fixed_scale", "scale_type", b"scale_type"]) -> builtins.bool: ...
|
|
365
|
+
def ClearField(self, field_name: typing.Literal["auto_scale", b"auto_scale", "fixed_scale", b"fixed_scale", "scale_type", b"scale_type"]) -> None: ...
|
|
366
|
+
def WhichOneof(self, oneof_group: typing.Literal["scale_type", b"scale_type"]) -> typing.Literal["fixed_scale", "auto_scale"] | None: ...
|
|
367
|
+
|
|
368
|
+
global___ScalePolicy = ScalePolicy
|
|
369
|
+
|
|
370
|
+
@typing.final
|
|
371
|
+
class Dependencies(google.protobuf.message.Message):
|
|
372
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
373
|
+
|
|
374
|
+
PIP_PACKAGES_FIELD_NUMBER: builtins.int
|
|
375
|
+
DEB_PACKAGES_FIELD_NUMBER: builtins.int
|
|
376
|
+
@property
|
|
377
|
+
def pip_packages(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
378
|
+
@property
|
|
379
|
+
def deb_packages(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
380
|
+
def __init__(
|
|
381
|
+
self,
|
|
382
|
+
*,
|
|
383
|
+
pip_packages: collections.abc.Iterable[builtins.str] | None = ...,
|
|
384
|
+
deb_packages: collections.abc.Iterable[builtins.str] | None = ...,
|
|
385
|
+
) -> None: ...
|
|
386
|
+
def ClearField(self, field_name: typing.Literal["deb_packages", b"deb_packages", "pip_packages", b"pip_packages"]) -> None: ...
|
|
387
|
+
|
|
388
|
+
global___Dependencies = Dependencies
|
|
389
|
+
|
|
390
|
+
@typing.final
|
|
391
|
+
class Metastore(google.protobuf.message.Message):
|
|
392
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
393
|
+
|
|
394
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
395
|
+
cluster_id: builtins.str
|
|
396
|
+
def __init__(
|
|
397
|
+
self,
|
|
398
|
+
*,
|
|
399
|
+
cluster_id: builtins.str = ...,
|
|
400
|
+
) -> None: ...
|
|
401
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
|
|
402
|
+
|
|
403
|
+
global___Metastore = Metastore
|
|
404
|
+
|
|
405
|
+
@typing.final
|
|
406
|
+
class LoggingConfig(google.protobuf.message.Message):
|
|
407
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
408
|
+
|
|
409
|
+
ENABLED_FIELD_NUMBER: builtins.int
|
|
410
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
411
|
+
LOG_GROUP_ID_FIELD_NUMBER: builtins.int
|
|
412
|
+
enabled: builtins.bool
|
|
413
|
+
folder_id: builtins.str
|
|
414
|
+
log_group_id: builtins.str
|
|
415
|
+
def __init__(
|
|
416
|
+
self,
|
|
417
|
+
*,
|
|
418
|
+
enabled: builtins.bool = ...,
|
|
419
|
+
folder_id: builtins.str = ...,
|
|
420
|
+
log_group_id: builtins.str = ...,
|
|
421
|
+
) -> None: ...
|
|
422
|
+
def HasField(self, field_name: typing.Literal["destination", b"destination", "folder_id", b"folder_id", "log_group_id", b"log_group_id"]) -> builtins.bool: ...
|
|
423
|
+
def ClearField(self, field_name: typing.Literal["destination", b"destination", "enabled", b"enabled", "folder_id", b"folder_id", "log_group_id", b"log_group_id"]) -> None: ...
|
|
424
|
+
def WhichOneof(self, oneof_group: typing.Literal["destination", b"destination"]) -> typing.Literal["folder_id", "log_group_id"] | None: ...
|
|
425
|
+
|
|
426
|
+
global___LoggingConfig = LoggingConfig
|
|
427
|
+
|
|
428
|
+
@typing.final
|
|
429
|
+
class UILink(google.protobuf.message.Message):
|
|
430
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
431
|
+
|
|
432
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
433
|
+
URL_FIELD_NUMBER: builtins.int
|
|
434
|
+
name: builtins.str
|
|
435
|
+
url: builtins.str
|
|
436
|
+
def __init__(
|
|
437
|
+
self,
|
|
438
|
+
*,
|
|
439
|
+
name: builtins.str = ...,
|
|
440
|
+
url: builtins.str = ...,
|
|
441
|
+
) -> None: ...
|
|
442
|
+
def ClearField(self, field_name: typing.Literal["name", b"name", "url", b"url"]) -> None: ...
|
|
443
|
+
|
|
444
|
+
global___UILink = UILink
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in yandex/cloud/spark/v1/cluster_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|