Skip to content

Commit d7b2806

Browse files
feat: regenerate proto
1 parent 8cc446d commit d7b2806

File tree

55 files changed

+5026
-635
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+5026
-635
lines changed

yandex/cloud/ai/tuning/v1/tuning_service_pb2.py

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

yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,8 @@ class GetOptionsResponse(google.protobuf.message.Message):
760760
TEXT_TO_TEXT_COMPLETION_FIELD_NUMBER: builtins.int
761761
TEXT_CLASSIFICATION_MULTILABEL_FIELD_NUMBER: builtins.int
762762
TEXT_CLASSIFICATION_MULTICLASS_FIELD_NUMBER: builtins.int
763+
TEXT_EMBEDDING_PAIR_PARAMS_FIELD_NUMBER: builtins.int
764+
TEXT_EMBEDDING_TRIPLET_PARAMS_FIELD_NUMBER: builtins.int
763765
task_id: builtins.str
764766
base_model_uri: builtins.str
765767
@property
@@ -772,6 +774,10 @@ class GetOptionsResponse(google.protobuf.message.Message):
772774
def text_classification_multilabel(self) -> global___TextClassificationMultilabelParams: ...
773775
@property
774776
def text_classification_multiclass(self) -> global___TextClassificationMulticlassParams: ...
777+
@property
778+
def text_embedding_pair_params(self) -> global___TextEmbeddingPairParams: ...
779+
@property
780+
def text_embedding_triplet_params(self) -> global___TextEmbeddingTripletParams: ...
775781
def __init__(
776782
self,
777783
*,
@@ -782,10 +788,12 @@ class GetOptionsResponse(google.protobuf.message.Message):
782788
text_to_text_completion: global___TextToTextCompletionTuningParams | None = ...,
783789
text_classification_multilabel: global___TextClassificationMultilabelParams | None = ...,
784790
text_classification_multiclass: global___TextClassificationMulticlassParams | None = ...,
791+
text_embedding_pair_params: global___TextEmbeddingPairParams | None = ...,
792+
text_embedding_triplet_params: global___TextEmbeddingTripletParams | None = ...,
785793
) -> None: ...
786-
def HasField(self, field_name: typing.Literal["text_classification_multiclass", b"text_classification_multiclass", "text_classification_multilabel", b"text_classification_multilabel", "text_to_text_completion", b"text_to_text_completion", "tuning_params", b"tuning_params"]) -> builtins.bool: ...
787-
def ClearField(self, field_name: typing.Literal["base_model_uri", b"base_model_uri", "task_id", b"task_id", "text_classification_multiclass", b"text_classification_multiclass", "text_classification_multilabel", b"text_classification_multilabel", "text_to_text_completion", b"text_to_text_completion", "train_datasets", b"train_datasets", "tuning_params", b"tuning_params", "validation_datasets", b"validation_datasets"]) -> None: ...
788-
def WhichOneof(self, oneof_group: typing.Literal["tuning_params", b"tuning_params"]) -> typing.Literal["text_to_text_completion", "text_classification_multilabel", "text_classification_multiclass"] | None: ...
794+
def HasField(self, field_name: typing.Literal["text_classification_multiclass", b"text_classification_multiclass", "text_classification_multilabel", b"text_classification_multilabel", "text_embedding_pair_params", b"text_embedding_pair_params", "text_embedding_triplet_params", b"text_embedding_triplet_params", "text_to_text_completion", b"text_to_text_completion", "tuning_params", b"tuning_params"]) -> builtins.bool: ...
795+
def ClearField(self, field_name: typing.Literal["base_model_uri", b"base_model_uri", "task_id", b"task_id", "text_classification_multiclass", b"text_classification_multiclass", "text_classification_multilabel", b"text_classification_multilabel", "text_embedding_pair_params", b"text_embedding_pair_params", "text_embedding_triplet_params", b"text_embedding_triplet_params", "text_to_text_completion", b"text_to_text_completion", "train_datasets", b"train_datasets", "tuning_params", b"tuning_params", "validation_datasets", b"validation_datasets"]) -> None: ...
796+
def WhichOneof(self, oneof_group: typing.Literal["tuning_params", b"tuning_params"]) -> typing.Literal["text_to_text_completion", "text_classification_multilabel", "text_classification_multiclass", "text_embedding_pair_params", "text_embedding_triplet_params"] | None: ...
789797

790798
global___GetOptionsResponse = GetOptionsResponse
791799

yandex/cloud/cic/v1/partner_pb2.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Partner(google.protobuf.message.Message):
4242
REGION_ID_FIELD_NUMBER: builtins.int
4343
STATUS_FIELD_NUMBER: builtins.int
4444
id: builtins.str
45-
"""ID of the routingInstance."""
45+
"""ID of the partner."""
4646
region_id: builtins.str
4747
"""ID of the region that the partner belongs to."""
4848
status: global___Partner.Status.ValueType

yandex/cloud/cic/v1/private_connection_pb2.py

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

yandex/cloud/cic/v1/private_connection_pb2.pyi

Lines changed: 40 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,19 @@ import builtins
77
import collections.abc
88
import google.protobuf.descriptor
99
import google.protobuf.internal.containers
10+
import google.protobuf.internal.enum_type_wrapper
1011
import google.protobuf.message
12+
import google.protobuf.timestamp_pb2
1113
import google.protobuf.wrappers_pb2
14+
import sys
1215
import typing
1316
import yandex.cloud.cic.v1.peering_pb2
1417

18+
if sys.version_info >= (3, 10):
19+
import typing as typing_extensions
20+
else:
21+
import typing_extensions
22+
1523
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
1624

1725
@typing.final
@@ -20,6 +28,25 @@ class PrivateConnection(google.protobuf.message.Message):
2028

2129
DESCRIPTOR: google.protobuf.descriptor.Descriptor
2230

31+
class _Status:
32+
ValueType = typing.NewType("ValueType", builtins.int)
33+
V: typing_extensions.TypeAlias = ValueType
34+
35+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PrivateConnection._Status.ValueType], builtins.type):
36+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
37+
STATUS_UNSPECIFIED: PrivateConnection._Status.ValueType # 0
38+
CREATING: PrivateConnection._Status.ValueType # 1
39+
UPDATING: PrivateConnection._Status.ValueType # 2
40+
DELETING: PrivateConnection._Status.ValueType # 3
41+
ACTIVE: PrivateConnection._Status.ValueType # 4
42+
43+
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
44+
STATUS_UNSPECIFIED: PrivateConnection.Status.ValueType # 0
45+
CREATING: PrivateConnection.Status.ValueType # 1
46+
UPDATING: PrivateConnection.Status.ValueType # 2
47+
DELETING: PrivateConnection.Status.ValueType # 3
48+
ACTIVE: PrivateConnection.Status.ValueType # 4
49+
2350
@typing.final
2451
class LabelsEntry(google.protobuf.message.Message):
2552
DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -41,25 +68,16 @@ class PrivateConnection(google.protobuf.message.Message):
4168
DESCRIPTOR: google.protobuf.descriptor.Descriptor
4269

4370
PREFIX_FIELD_NUMBER: builtins.int
44-
NEXT_HOP_FIELD_NUMBER: builtins.int
4571
prefix: builtins.str
4672
"""Prefix.
4773
It's an ip with format ipPrefix/length where address part of ipPrefix is 0.
4874
"""
49-
@property
50-
def next_hop(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
51-
"""PeerIp.
52-
It's an ip with just an ipAddress format without mask.
53-
Will be removed in some next release
54-
"""
55-
5675
def __init__(
5776
self,
5877
*,
5978
prefix: builtins.str = ...,
60-
next_hop: collections.abc.Iterable[builtins.str] | None = ...,
6179
) -> None: ...
62-
def ClearField(self, field_name: typing.Literal["next_hop", b"next_hop", "prefix", b"prefix"]) -> None: ...
80+
def ClearField(self, field_name: typing.Literal["prefix", b"prefix"]) -> None: ...
6381

6482
ID_FIELD_NUMBER: builtins.int
6583
NAME_FIELD_NUMBER: builtins.int
@@ -71,6 +89,8 @@ class PrivateConnection(google.protobuf.message.Message):
7189
IPV4_PEERING_FIELD_NUMBER: builtins.int
7290
IPV4_STATIC_ROUTES_FIELD_NUMBER: builtins.int
7391
LABELS_FIELD_NUMBER: builtins.int
92+
STATUS_FIELD_NUMBER: builtins.int
93+
CREATED_AT_FIELD_NUMBER: builtins.int
7494
id: builtins.str
7595
"""ID of the privateConnection."""
7696
name: builtins.str
@@ -86,6 +106,8 @@ class PrivateConnection(google.protobuf.message.Message):
86106
"""ID of the region that the privateConnection belongs to."""
87107
trunk_connection_id: builtins.str
88108
"""ID of the trunk_connection that the privateConnection belongs to."""
109+
status: global___PrivateConnection.Status.ValueType
110+
"""Status of the privateConnection."""
89111
@property
90112
def vlan_id(self) -> google.protobuf.wrappers_pb2.Int64Value:
91113
"""VLAN_ID that the privateConnection uses in multiplexing.
@@ -111,6 +133,10 @@ class PrivateConnection(google.protobuf.message.Message):
111133
Each key must match the regular expression `[a-z][-_0-9a-z]*`.
112134
"""
113135

136+
@property
137+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
138+
"""Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."""
139+
114140
def __init__(
115141
self,
116142
*,
@@ -124,8 +150,10 @@ class PrivateConnection(google.protobuf.message.Message):
124150
ipv4_peering: yandex.cloud.cic.v1.peering_pb2.Peering | None = ...,
125151
ipv4_static_routes: collections.abc.Iterable[global___PrivateConnection.StaticRoute] | None = ...,
126152
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
153+
status: global___PrivateConnection.Status.ValueType = ...,
154+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
127155
) -> None: ...
128-
def HasField(self, field_name: typing.Literal["ipv4_peering", b"ipv4_peering", "vlan_id", b"vlan_id"]) -> builtins.bool: ...
129-
def ClearField(self, field_name: typing.Literal["description", b"description", "folder_id", b"folder_id", "id", b"id", "ipv4_peering", b"ipv4_peering", "ipv4_static_routes", b"ipv4_static_routes", "labels", b"labels", "name", b"name", "region_id", b"region_id", "trunk_connection_id", b"trunk_connection_id", "vlan_id", b"vlan_id"]) -> None: ...
156+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "ipv4_peering", b"ipv4_peering", "vlan_id", b"vlan_id"]) -> builtins.bool: ...
157+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "description", b"description", "folder_id", b"folder_id", "id", b"id", "ipv4_peering", b"ipv4_peering", "ipv4_static_routes", b"ipv4_static_routes", "labels", b"labels", "name", b"name", "region_id", b"region_id", "status", b"status", "trunk_connection_id", b"trunk_connection_id", "vlan_id", b"vlan_id"]) -> None: ...
130158

131159
global___PrivateConnection = PrivateConnection

0 commit comments

Comments
 (0)