Skip to content

Commit 67376ee

Browse files
committed
chore: auto-gen by protobufs
triggered by commit: instill-ai/protobufs@bcac24f
1 parent 8ab109b commit 67376ee

File tree

4 files changed

+257
-257
lines changed

4 files changed

+257
-257
lines changed

model/model/v1alpha/model_pb2.py

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

model/model/v1alpha/model_pb2.pyi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class ModelVersion(google.protobuf.message.Message):
200200
DESCRIPTOR: google.protobuf.descriptor.Descriptor
201201

202202
NAME_FIELD_NUMBER: builtins.int
203-
ID_FIELD_NUMBER: builtins.int
203+
VERSION_FIELD_NUMBER: builtins.int
204204
DIGEST_FIELD_NUMBER: builtins.int
205205
STATE_FIELD_NUMBER: builtins.int
206206
UPDATE_TIME_FIELD_NUMBER: builtins.int
@@ -213,8 +213,8 @@ class ModelVersion(google.protobuf.message.Message):
213213
The name of the tag.
214214
- Format: `users/{user.id}/models/{model.id}/versions/{version.id}`.
215215
"""
216-
id: builtins.str
217-
"""The tag identifier."""
216+
version: builtins.str
217+
"""The model version identifier, which is equal to image tag."""
218218
digest: builtins.str
219219
"""Unique identifier, computed from the manifest the tag refers to."""
220220
state: global___State.ValueType
@@ -226,13 +226,13 @@ class ModelVersion(google.protobuf.message.Message):
226226
self,
227227
*,
228228
name: builtins.str = ...,
229-
id: builtins.str = ...,
229+
version: builtins.str = ...,
230230
digest: builtins.str = ...,
231231
state: global___State.ValueType = ...,
232232
update_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
233233
) -> None: ...
234234
def HasField(self, field_name: typing_extensions.Literal["update_time", b"update_time"]) -> builtins.bool: ...
235-
def ClearField(self, field_name: typing_extensions.Literal["digest", b"digest", "id", b"id", "name", b"name", "state", b"state", "update_time", b"update_time"]) -> None: ...
235+
def ClearField(self, field_name: typing_extensions.Literal["digest", b"digest", "name", b"name", "state", b"state", "update_time", b"update_time", "version", b"version"]) -> None: ...
236236

237237
global___ModelVersion = ModelVersion
238238

model/model/v1alpha/model_public_service_pb2_grpc.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -410,9 +410,9 @@ def GetUserModelCard(self, request, context):
410410
def WatchUserModel(self, request, context):
411411
"""Watch the state of a model version
412412
413-
Returns the state of a model. The deploy / undeploy actions take some
414-
time, during which a model will be in an UNSPECIFIED state. This endpoint
415-
allows clients to track the state and progress of the model.
413+
Returns the state of a model. The model resource allocation and scaling actions take some
414+
time, during which a model will be in various state. This endpoint
415+
allows clients to track the state.
416416
"""
417417
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
418418
context.set_details('Method not implemented!')
@@ -421,9 +421,9 @@ def WatchUserModel(self, request, context):
421421
def WatchUserLatestModel(self, request, context):
422422
"""Watch the state of the latest model version
423423
424-
Returns the state of the latest model version. The deploy / undeploy actions take some
425-
time, during which a model will be in an UNSPECIFIED state. This endpoint
426-
allows clients to track the state and progress of the model.
424+
Returns the state of the latest model version. The model resource allocation and scaling actions
425+
take some time, during which a model will be in various state. This endpoint
426+
allows clients to track the state.
427427
"""
428428
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
429429
context.set_details('Method not implemented!')
@@ -590,9 +590,9 @@ def GetOrganizationModelCard(self, request, context):
590590
def WatchOrganizationModel(self, request, context):
591591
"""Watch the state of a model version
592592
593-
Returns the state of a model. The deploy / undeploy actions take some
594-
time, during which a model will be in an UNSPECIFIED state. This endpoint
595-
allows clients to track the state and progress of the model.
593+
Returns the state of a model. The model resource allocation and scaling actions
594+
take some time, during which a model will be in various state. This endpoint
595+
allows clients to track the state.
596596
"""
597597
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
598598
context.set_details('Method not implemented!')
@@ -601,9 +601,9 @@ def WatchOrganizationModel(self, request, context):
601601
def WatchOrganizationLatestModel(self, request, context):
602602
"""Watch the state of the latest model version
603603
604-
Returns the state of the latest model version. The deploy / undeploy actions take some
605-
time, during which a model will be in an UNSPECIFIED state. This endpoint
606-
allows clients to track the state and progress of the model.
604+
Returns the state of the latest model version. The model resource allocation and scaling actions
605+
take some time, during which a model will be in various state. This endpoint
606+
allows clients to track the state.
607607
"""
608608
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
609609
context.set_details('Method not implemented!')

model/model/v1alpha/model_public_service_pb2_grpc.pyi

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -175,19 +175,19 @@ class ModelPublicServiceStub:
175175
]
176176
"""Watch the state of a model version
177177
178-
Returns the state of a model. The deploy / undeploy actions take some
179-
time, during which a model will be in an UNSPECIFIED state. This endpoint
180-
allows clients to track the state and progress of the model.
178+
Returns the state of a model. The model resource allocation and scaling actions take some
179+
time, during which a model will be in various state. This endpoint
180+
allows clients to track the state.
181181
"""
182182
WatchUserLatestModel: grpc.UnaryUnaryMultiCallable[
183183
model.model.v1alpha.model_pb2.WatchUserLatestModelRequest,
184184
model.model.v1alpha.model_pb2.WatchUserLatestModelResponse,
185185
]
186186
"""Watch the state of the latest model version
187187
188-
Returns the state of the latest model version. The deploy / undeploy actions take some
189-
time, during which a model will be in an UNSPECIFIED state. This endpoint
190-
allows clients to track the state and progress of the model.
188+
Returns the state of the latest model version. The model resource allocation and scaling actions
189+
take some time, during which a model will be in various state. This endpoint
190+
allows clients to track the state.
191191
"""
192192
ListUserModelVersions: grpc.UnaryUnaryMultiCallable[
193193
model.model.v1alpha.model_pb2.ListUserModelVersionsRequest,
@@ -338,19 +338,19 @@ class ModelPublicServiceStub:
338338
]
339339
"""Watch the state of a model version
340340
341-
Returns the state of a model. The deploy / undeploy actions take some
342-
time, during which a model will be in an UNSPECIFIED state. This endpoint
343-
allows clients to track the state and progress of the model.
341+
Returns the state of a model. The model resource allocation and scaling actions
342+
take some time, during which a model will be in various state. This endpoint
343+
allows clients to track the state.
344344
"""
345345
WatchOrganizationLatestModel: grpc.UnaryUnaryMultiCallable[
346346
model.model.v1alpha.model_pb2.WatchOrganizationLatestModelRequest,
347347
model.model.v1alpha.model_pb2.WatchOrganizationLatestModelResponse,
348348
]
349349
"""Watch the state of the latest model version
350350
351-
Returns the state of the latest model version. The deploy / undeploy actions take some
352-
time, during which a model will be in an UNSPECIFIED state. This endpoint
353-
allows clients to track the state and progress of the model.
351+
Returns the state of the latest model version. The model resource allocation and scaling actions
352+
take some time, during which a model will be in various state. This endpoint
353+
allows clients to track the state.
354354
"""
355355
ListOrganizationModelVersions: grpc.UnaryUnaryMultiCallable[
356356
model.model.v1alpha.model_pb2.ListOrganizationModelVersionsRequest,
@@ -592,19 +592,19 @@ class ModelPublicServiceAsyncStub:
592592
]
593593
"""Watch the state of a model version
594594
595-
Returns the state of a model. The deploy / undeploy actions take some
596-
time, during which a model will be in an UNSPECIFIED state. This endpoint
597-
allows clients to track the state and progress of the model.
595+
Returns the state of a model. The model resource allocation and scaling actions take some
596+
time, during which a model will be in various state. This endpoint
597+
allows clients to track the state.
598598
"""
599599
WatchUserLatestModel: grpc.aio.UnaryUnaryMultiCallable[
600600
model.model.v1alpha.model_pb2.WatchUserLatestModelRequest,
601601
model.model.v1alpha.model_pb2.WatchUserLatestModelResponse,
602602
]
603603
"""Watch the state of the latest model version
604604
605-
Returns the state of the latest model version. The deploy / undeploy actions take some
606-
time, during which a model will be in an UNSPECIFIED state. This endpoint
607-
allows clients to track the state and progress of the model.
605+
Returns the state of the latest model version. The model resource allocation and scaling actions
606+
take some time, during which a model will be in various state. This endpoint
607+
allows clients to track the state.
608608
"""
609609
ListUserModelVersions: grpc.aio.UnaryUnaryMultiCallable[
610610
model.model.v1alpha.model_pb2.ListUserModelVersionsRequest,
@@ -755,19 +755,19 @@ class ModelPublicServiceAsyncStub:
755755
]
756756
"""Watch the state of a model version
757757
758-
Returns the state of a model. The deploy / undeploy actions take some
759-
time, during which a model will be in an UNSPECIFIED state. This endpoint
760-
allows clients to track the state and progress of the model.
758+
Returns the state of a model. The model resource allocation and scaling actions
759+
take some time, during which a model will be in various state. This endpoint
760+
allows clients to track the state.
761761
"""
762762
WatchOrganizationLatestModel: grpc.aio.UnaryUnaryMultiCallable[
763763
model.model.v1alpha.model_pb2.WatchOrganizationLatestModelRequest,
764764
model.model.v1alpha.model_pb2.WatchOrganizationLatestModelResponse,
765765
]
766766
"""Watch the state of the latest model version
767767
768-
Returns the state of the latest model version. The deploy / undeploy actions take some
769-
time, during which a model will be in an UNSPECIFIED state. This endpoint
770-
allows clients to track the state and progress of the model.
768+
Returns the state of the latest model version. The model resource allocation and scaling actions
769+
take some time, during which a model will be in various state. This endpoint
770+
allows clients to track the state.
771771
"""
772772
ListOrganizationModelVersions: grpc.aio.UnaryUnaryMultiCallable[
773773
model.model.v1alpha.model_pb2.ListOrganizationModelVersionsRequest,
@@ -1043,9 +1043,9 @@ class ModelPublicServiceServicer(metaclass=abc.ABCMeta):
10431043
) -> typing.Union[model.model.v1alpha.model_pb2.WatchUserModelResponse, collections.abc.Awaitable[model.model.v1alpha.model_pb2.WatchUserModelResponse]]:
10441044
"""Watch the state of a model version
10451045
1046-
Returns the state of a model. The deploy / undeploy actions take some
1047-
time, during which a model will be in an UNSPECIFIED state. This endpoint
1048-
allows clients to track the state and progress of the model.
1046+
Returns the state of a model. The model resource allocation and scaling actions take some
1047+
time, during which a model will be in various state. This endpoint
1048+
allows clients to track the state.
10491049
"""
10501050
@abc.abstractmethod
10511051
def WatchUserLatestModel(
@@ -1055,9 +1055,9 @@ class ModelPublicServiceServicer(metaclass=abc.ABCMeta):
10551055
) -> typing.Union[model.model.v1alpha.model_pb2.WatchUserLatestModelResponse, collections.abc.Awaitable[model.model.v1alpha.model_pb2.WatchUserLatestModelResponse]]:
10561056
"""Watch the state of the latest model version
10571057
1058-
Returns the state of the latest model version. The deploy / undeploy actions take some
1059-
time, during which a model will be in an UNSPECIFIED state. This endpoint
1060-
allows clients to track the state and progress of the model.
1058+
Returns the state of the latest model version. The model resource allocation and scaling actions
1059+
take some time, during which a model will be in various state. This endpoint
1060+
allows clients to track the state.
10611061
"""
10621062
@abc.abstractmethod
10631063
def ListUserModelVersions(
@@ -1240,9 +1240,9 @@ class ModelPublicServiceServicer(metaclass=abc.ABCMeta):
12401240
) -> typing.Union[model.model.v1alpha.model_pb2.WatchOrganizationModelResponse, collections.abc.Awaitable[model.model.v1alpha.model_pb2.WatchOrganizationModelResponse]]:
12411241
"""Watch the state of a model version
12421242
1243-
Returns the state of a model. The deploy / undeploy actions take some
1244-
time, during which a model will be in an UNSPECIFIED state. This endpoint
1245-
allows clients to track the state and progress of the model.
1243+
Returns the state of a model. The model resource allocation and scaling actions
1244+
take some time, during which a model will be in various state. This endpoint
1245+
allows clients to track the state.
12461246
"""
12471247
@abc.abstractmethod
12481248
def WatchOrganizationLatestModel(
@@ -1252,9 +1252,9 @@ class ModelPublicServiceServicer(metaclass=abc.ABCMeta):
12521252
) -> typing.Union[model.model.v1alpha.model_pb2.WatchOrganizationLatestModelResponse, collections.abc.Awaitable[model.model.v1alpha.model_pb2.WatchOrganizationLatestModelResponse]]:
12531253
"""Watch the state of the latest model version
12541254
1255-
Returns the state of the latest model version. The deploy / undeploy actions take some
1256-
time, during which a model will be in an UNSPECIFIED state. This endpoint
1257-
allows clients to track the state and progress of the model.
1255+
Returns the state of the latest model version. The model resource allocation and scaling actions
1256+
take some time, during which a model will be in various state. This endpoint
1257+
allows clients to track the state.
12581258
"""
12591259
@abc.abstractmethod
12601260
def ListOrganizationModelVersions(

0 commit comments

Comments
 (0)