Skip to content

Commit 7f2fd60

Browse files
feat: regenerate proto
1 parent abfe091 commit 7f2fd60

File tree

13 files changed

+558
-3
lines changed

13 files changed

+558
-3
lines changed

yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
1717
class ImageGenerationRequest(google.protobuf.message.Message):
1818
"""Request for the service to generate an image.
1919
20-
For examples of usage, see [step-by-step guide](/docs/operations/yandexart/request).
20+
For examples of usage, see [step-by-step guide](/docs/foundation-models/operations/yandexart/request).
2121
"""
2222

2323
DESCRIPTOR: google.protobuf.descriptor.Descriptor

yandex/cloud/backup/v1/policy_pb2.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ class PolicySettings(google.protobuf.message.Message):
617617
compression: global___PolicySettings.Compression.ValueType
618618
"""Archive compression level."""
619619
format: global___Format.ValueType
620-
"""Format of the Acronis backup archive."""
620+
"""Format of the Cyberprotect backup archive."""
621621
multi_volume_snapshotting_enabled: builtins.bool
622622
"""If true, snapshots of multiple volumes will be taken simultaneously."""
623623
preserve_file_security_settings: builtins.bool

yandex/cloud/searchapi/__init__.py

Whitespace-only changes.

yandex/cloud/searchapi/v2/__init__.py

Whitespace-only changes.

yandex/cloud/searchapi/v2/search_query_pb2.py

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
"""
2+
@generated by mypy-protobuf. Do not edit manually!
3+
isort:skip_file
4+
"""
5+
6+
import builtins
7+
import google.protobuf.descriptor
8+
import google.protobuf.internal.enum_type_wrapper
9+
import google.protobuf.message
10+
import sys
11+
import typing
12+
13+
if sys.version_info >= (3, 10):
14+
import typing as typing_extensions
15+
else:
16+
import typing_extensions
17+
18+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
19+
20+
@typing.final
21+
class SearchQuery(google.protobuf.message.Message):
22+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
23+
24+
class _SearchType:
25+
ValueType = typing.NewType("ValueType", builtins.int)
26+
V: typing_extensions.TypeAlias = ValueType
27+
28+
class _SearchTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[SearchQuery._SearchType.ValueType], builtins.type):
29+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
30+
SEARCH_TYPE_UNSPECIFIED: SearchQuery._SearchType.ValueType # 0
31+
SEARCH_TYPE_RU: SearchQuery._SearchType.ValueType # 1
32+
"""Russian search type (default), yandex.ru search domain name will be used."""
33+
SEARCH_TYPE_TR: SearchQuery._SearchType.ValueType # 2
34+
"""Turkish search type, yandex.tr search domain name will be used."""
35+
SEARCH_TYPE_COM: SearchQuery._SearchType.ValueType # 3
36+
"""International search type, yandex.com search domain name will be used."""
37+
38+
class SearchType(_SearchType, metaclass=_SearchTypeEnumTypeWrapper): ...
39+
SEARCH_TYPE_UNSPECIFIED: SearchQuery.SearchType.ValueType # 0
40+
SEARCH_TYPE_RU: SearchQuery.SearchType.ValueType # 1
41+
"""Russian search type (default), yandex.ru search domain name will be used."""
42+
SEARCH_TYPE_TR: SearchQuery.SearchType.ValueType # 2
43+
"""Turkish search type, yandex.tr search domain name will be used."""
44+
SEARCH_TYPE_COM: SearchQuery.SearchType.ValueType # 3
45+
"""International search type, yandex.com search domain name will be used."""
46+
47+
class _FamilyMode:
48+
ValueType = typing.NewType("ValueType", builtins.int)
49+
V: typing_extensions.TypeAlias = ValueType
50+
51+
class _FamilyModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[SearchQuery._FamilyMode.ValueType], builtins.type):
52+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
53+
FAMILY_MODE_UNSPECIFIED: SearchQuery._FamilyMode.ValueType # 0
54+
FAMILY_MODE_NONE: SearchQuery._FamilyMode.ValueType # 1
55+
"""Filtering is disabled. Search results include any documents regardless of their contents."""
56+
FAMILY_MODE_MODERATE: SearchQuery._FamilyMode.ValueType # 2
57+
"""Moderate filter (default value). Documents of the Adult category are excluded from search results
58+
unless a query is explicitly made for searching resources of this category.
59+
"""
60+
FAMILY_MODE_STRICT: SearchQuery._FamilyMode.ValueType # 3
61+
"""Regardless of a search query, documents of the Adult category
62+
and those with profanity are excluded from search results.
63+
"""
64+
65+
class FamilyMode(_FamilyMode, metaclass=_FamilyModeEnumTypeWrapper): ...
66+
FAMILY_MODE_UNSPECIFIED: SearchQuery.FamilyMode.ValueType # 0
67+
FAMILY_MODE_NONE: SearchQuery.FamilyMode.ValueType # 1
68+
"""Filtering is disabled. Search results include any documents regardless of their contents."""
69+
FAMILY_MODE_MODERATE: SearchQuery.FamilyMode.ValueType # 2
70+
"""Moderate filter (default value). Documents of the Adult category are excluded from search results
71+
unless a query is explicitly made for searching resources of this category.
72+
"""
73+
FAMILY_MODE_STRICT: SearchQuery.FamilyMode.ValueType # 3
74+
"""Regardless of a search query, documents of the Adult category
75+
and those with profanity are excluded from search results.
76+
"""
77+
78+
SEARCH_TYPE_FIELD_NUMBER: builtins.int
79+
QUERY_TEXT_FIELD_NUMBER: builtins.int
80+
FAMILY_MODE_FIELD_NUMBER: builtins.int
81+
PAGE_FIELD_NUMBER: builtins.int
82+
search_type: global___SearchQuery.SearchType.ValueType
83+
"""Search type that determines the domain name that will be used for the search queries."""
84+
query_text: builtins.str
85+
"""Search query text"""
86+
family_mode: global___SearchQuery.FamilyMode.ValueType
87+
"""Rule for filtering search results and determines whether any documents should be excluded."""
88+
page: builtins.int
89+
"""The number of a requested page with search results"""
90+
def __init__(
91+
self,
92+
*,
93+
search_type: global___SearchQuery.SearchType.ValueType = ...,
94+
query_text: builtins.str = ...,
95+
family_mode: global___SearchQuery.FamilyMode.ValueType = ...,
96+
page: builtins.int = ...,
97+
) -> None: ...
98+
def ClearField(self, field_name: typing.Literal["family_mode", b"family_mode", "page", b"page", "query_text", b"query_text", "search_type", b"search_type"]) -> None: ...
99+
100+
global___SearchQuery = SearchQuery
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
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+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
"""
2+
@generated by mypy-protobuf. Do not edit manually!
3+
isort:skip_file
4+
"""
5+
6+
import abc
7+
import collections.abc
8+
import grpc
9+
import grpc.aio
10+
import typing
11+
12+
_T = typing.TypeVar("_T")
13+
14+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15+
16+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17+
...

yandex/cloud/searchapi/v2/search_service_pb2.py

Lines changed: 61 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)