Skip to content

Commit 3a32da4

Browse files
committed
chore: auto-gen by protobufs
triggered by commit: instill-ai/protobufs@3047170
1 parent 8e8894c commit 3a32da4

File tree

7 files changed

+58
-55
lines changed

7 files changed

+58
-55
lines changed

model/model/v1alpha/model_public_service_pb2_grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def ListOrganizationModels(self, request, context):
451451
def CreateOrganizationModel(self, request, context):
452452
"""Create a new model
453453
454-
Creates a new model under the parenthood of a organization. This is an
454+
Creates a new model under the parenthood of an organization. This is an
455455
asynchronous endpoint, i.e., the server will not wait for the model to be
456456
created in order to respond. Instead, it will return a response with the
457457
necessary information to access the result and status of the creation

model/model/v1alpha/model_public_service_pb2_grpc.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ class ModelPublicServiceStub:
245245
]
246246
"""Create a new model
247247
248-
Creates a new model under the parenthood of a organization. This is an
248+
Creates a new model under the parenthood of an organization. This is an
249249
asynchronous endpoint, i.e., the server will not wait for the model to be
250250
created in order to respond. Instead, it will return a response with the
251251
necessary information to access the result and status of the creation
@@ -620,7 +620,7 @@ class ModelPublicServiceAsyncStub:
620620
]
621621
"""Create a new model
622622
623-
Creates a new model under the parenthood of a organization. This is an
623+
Creates a new model under the parenthood of an organization. This is an
624624
asynchronous endpoint, i.e., the server will not wait for the model to be
625625
created in order to respond. Instead, it will return a response with the
626626
necessary information to access the result and status of the creation
@@ -1041,7 +1041,7 @@ class ModelPublicServiceServicer(metaclass=abc.ABCMeta):
10411041
) -> typing.Union[model.model.v1alpha.model_pb2.CreateOrganizationModelResponse, collections.abc.Awaitable[model.model.v1alpha.model_pb2.CreateOrganizationModelResponse]]:
10421042
"""Create a new model
10431043
1044-
Creates a new model under the parenthood of a organization. This is an
1044+
Creates a new model under the parenthood of an organization. This is an
10451045
asynchronous endpoint, i.e., the server will not wait for the model to be
10461046
created in order to respond. Instead, it will return a response with the
10471047
necessary information to access the result and status of the creation

vdp/pipeline/v1beta/common_pb2.pyi

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,12 @@ class CheckNameRequest(google.protobuf.message.Message):
180180

181181
NAME_FIELD_NUMBER: builtins.int
182182
name: builtins.str
183-
"""The name of the resource to be checked, should be in the formats:
184-
- users/<user_id>/pipelines/<pipeline_id>
185-
- users/<user_id>/connectors/<connector_id>
186-
- organizations/<org_id>/pipelines/<pipeline_id>
187-
- organizations/<org_id>/connectors/<connector_id>
183+
"""The name of the resource to be checked. For the moment, only pipeline and
184+
connector names can be checked. The following formats are accepted:
185+
- `users/{user.id}/pipelines/{pipeline.id}`
186+
- `users/{user.id}/connectors/{connector.id}`
187+
- `organizations/{organization.id}/pipelines/{pipeline.id}`
188+
- `organizations/{organization.id}/connectors/{connector.id}`
188189
"""
189190
def __init__(
190191
self,
@@ -197,9 +198,7 @@ global___CheckNameRequest = CheckNameRequest
197198

198199
@typing_extensions.final
199200
class CheckNameResponse(google.protobuf.message.Message):
200-
"""CheckNameResponse contains the availability of a name
201-
of resource that's using it.
202-
"""
201+
"""CheckNameResponse contains the availability of a resource name."""
203202

204203
DESCRIPTOR: google.protobuf.descriptor.Descriptor
205204

@@ -217,7 +216,7 @@ class CheckNameResponse(google.protobuf.message.Message):
217216
"""Unavailable."""
218217

219218
class Name(_Name, metaclass=_NameEnumTypeWrapper):
220-
"""Availability of Name"""
219+
"""Name defines the availability of a resource name."""
221220

222221
NAME_UNSPECIFIED: CheckNameResponse.Name.ValueType # 0
223222
"""Unspecified."""
@@ -228,7 +227,7 @@ class CheckNameResponse(google.protobuf.message.Message):
228227

229228
AVAILABILITY_FIELD_NUMBER: builtins.int
230229
availability: global___CheckNameResponse.Name.ValueType
231-
"""Availability"""
230+
"""The availability of the requested name."""
232231
def __init__(
233232
self,
234233
*,

vdp/pipeline/v1beta/connector_pb2.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ global___CreateOrganizationConnectorResponse = CreateOrganizationConnectorRespon
919919
@typing_extensions.final
920920
class ListOrganizationConnectorsRequest(google.protobuf.message.Message):
921921
"""ListOrganizationConnectorsRequest represents a request to list the
922-
connectors of a organization.
922+
connectors of an organization.
923923
"""
924924

925925
DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -1364,7 +1364,7 @@ global___TestOrganizationConnectorResponse = TestOrganizationConnectorResponse
13641364
@typing_extensions.final
13651365
class WatchOrganizationConnectorRequest(google.protobuf.message.Message):
13661366
"""WatchOrganizationConnectorRequest represents a request to fetch the state of
1367-
a organization-owned connector.
1367+
an organization-owned connector.
13681368
"""
13691369

13701370
DESCRIPTOR: google.protobuf.descriptor.Descriptor

vdp/pipeline/v1beta/pipeline_pb2.pyi

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,9 @@ global___RenameUserPipelineResponse = RenameUserPipelineResponse
10941094

10951095
@typing_extensions.final
10961096
class CloneUserPipelineRequest(google.protobuf.message.Message):
1097-
"""CloneUserPipelineRequest represents a request to clone a pipeline owned by a user."""
1097+
"""CloneUserPipelineRequest represents a request to clone a pipeline owned by a
1098+
user.
1099+
"""
10981100

10991101
DESCRIPTOR: google.protobuf.descriptor.Descriptor
11001102

@@ -1106,8 +1108,10 @@ class CloneUserPipelineRequest(google.protobuf.message.Message):
11061108
- Format: `users/{user.id}/pipelines/{pipeline.id}`.
11071109
"""
11081110
target: builtins.str
1109-
"""The target pipeline
1110-
- Format: `users/{user.id}/pipelines/{pipeline.id}` or `organizations/{org.id}/pipelines/{pipeline.id}`
1111+
"""The target pipeline name. It can be under a user or an organization
1112+
namespace, so the following formats are accepted:
1113+
- `users/{user.id}/pipelines/{pipeline.id}`
1114+
- `organizations/{organization.id}/pipelines/{pipeline.id}`
11111115
"""
11121116
def __init__(
11131117
self,
@@ -1806,7 +1810,7 @@ global___CreateOrganizationPipelineResponse = CreateOrganizationPipelineResponse
18061810
@typing_extensions.final
18071811
class ListOrganizationPipelinesRequest(google.protobuf.message.Message):
18081812
"""ListOrganizationPipelinesRequest represents a request to list the pipelines
1809-
of a organization.
1813+
of an organization.
18101814
"""
18111815

18121816
DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -2126,20 +2130,24 @@ global___RenameOrganizationPipelineResponse = RenameOrganizationPipelineResponse
21262130

21272131
@typing_extensions.final
21282132
class CloneOrganizationPipelineRequest(google.protobuf.message.Message):
2129-
"""CloneOrganizationPipelineRequest represents a request to clone a pipeline owned by a organization."""
2133+
"""CloneOrganizationPipelineRequest represents a request to clone a pipeline
2134+
owned by an organization.
2135+
"""
21302136

21312137
DESCRIPTOR: google.protobuf.descriptor.Descriptor
21322138

21332139
NAME_FIELD_NUMBER: builtins.int
21342140
TARGET_FIELD_NUMBER: builtins.int
21352141
name: builtins.str
2136-
"""The resource name of the pipeline, which allows its access by parent user
2137-
and ID.
2138-
- Format: `organizations/{org.id}/pipelines/{pipeline.id}`.
2142+
"""The resource name of the pipeline, which allows its access by parent
2143+
organization and ID.
2144+
- Format: `organizations/{organization.id}/pipelines/{pipeline.id}`.
21392145
"""
21402146
target: builtins.str
2141-
"""The target pipeline
2142-
- Format: `users/{user.id}/pipelines/{pipeline.id}` or `organizations/{org.id}/pipelines/{pipeline.id}`
2147+
"""The target pipeline name. It can be under a user or an organization
2148+
namespace, so the following formats are accepted:
2149+
- `users/{user.id}/pipelines/{pipeline.id}`
2150+
- `organizations/{organization.id}/pipelines/{pipeline.id}`
21432151
"""
21442152
def __init__(
21452153
self,
@@ -2650,7 +2658,7 @@ global___RenameOrganizationPipelineReleaseResponse = RenameOrganizationPipelineR
26502658
@typing_extensions.final
26512659
class WatchOrganizationPipelineReleaseRequest(google.protobuf.message.Message):
26522660
"""WatchOrganizationPipelineReleaseRequest represents a request to query the
2653-
state of a organization-owned pipeline release.
2661+
state of an organization-owned pipeline release.
26542662
"""
26552663

26562664
DESCRIPTOR: google.protobuf.descriptor.Descriptor

vdp/pipeline/v1beta/pipeline_public_service_pb2_grpc.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,8 @@ def RenameUserPipeline(self, request, context):
528528
def CloneUserPipeline(self, request, context):
529529
"""Clone a pipeline owned by a user
530530
531-
Clone a pipeline owned by a user, the target pipeline can be under a user or organization namespace.
531+
Clones a pipeline owned by a user. The new pipeline may have a different
532+
parent, and this can be either a user or an organization.
532533
"""
533534
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
534535
context.set_details('Method not implemented!')
@@ -782,7 +783,8 @@ def RenameOrganizationPipeline(self, request, context):
782783
def CloneOrganizationPipeline(self, request, context):
783784
"""Clone a pipeline owned by an organization
784785
785-
Clone a pipeline owned by an organization, the target pipeline can be under a user or organization namespace.
786+
Clones a pipeline owned by an organization. The new pipeline may have a
787+
different parent, and this can be either a user or an organization.
786788
"""
787789
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
788790
context.set_details('Method not implemented!')
@@ -1241,11 +1243,8 @@ def TestOrganizationConnector(self, request, context):
12411243
def CheckName(self, request, context):
12421244
"""Check the availibity of a resource name
12431245
1244-
Check the availibity of a resource name. The name should be in the formats:
1245-
- users/<user_id>/pipelines/<pipeline_id>
1246-
- users/<user_id>/connectors/<connector_id>
1247-
- organizations/<org_id>/pipelines/<pipeline_id>
1248-
- organizations/<org_id>/connectors/<connector_id>
1246+
Check whether a resource name is already in use. Currently this endpoint
1247+
only supports pipeline and connector resource names.
12491248
"""
12501249
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
12511250
context.set_details('Method not implemented!')

vdp/pipeline/v1beta/pipeline_public_service_pb2_grpc.pyi

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ class PipelinePublicServiceStub:
148148
]
149149
"""Clone a pipeline owned by a user
150150
151-
Clone a pipeline owned by a user, the target pipeline can be under a user or organization namespace.
151+
Clones a pipeline owned by a user. The new pipeline may have a different
152+
parent, and this can be either a user or an organization.
152153
"""
153154
TriggerUserPipeline: grpc.UnaryUnaryMultiCallable[
154155
vdp.pipeline.v1beta.pipeline_pb2.TriggerUserPipelineRequest,
@@ -382,7 +383,8 @@ class PipelinePublicServiceStub:
382383
]
383384
"""Clone a pipeline owned by an organization
384385
385-
Clone a pipeline owned by an organization, the target pipeline can be under a user or organization namespace.
386+
Clones a pipeline owned by an organization. The new pipeline may have a
387+
different parent, and this can be either a user or an organization.
386388
"""
387389
TriggerOrganizationPipeline: grpc.UnaryUnaryMultiCallable[
388390
vdp.pipeline.v1beta.pipeline_pb2.TriggerOrganizationPipelineRequest,
@@ -799,11 +801,8 @@ class PipelinePublicServiceStub:
799801
]
800802
"""Check the availibity of a resource name
801803
802-
Check the availibity of a resource name. The name should be in the formats:
803-
- users/<user_id>/pipelines/<pipeline_id>
804-
- users/<user_id>/connectors/<connector_id>
805-
- organizations/<org_id>/pipelines/<pipeline_id>
806-
- organizations/<org_id>/connectors/<connector_id>
804+
Check whether a resource name is already in use. Currently this endpoint
805+
only supports pipeline and connector resource names.
807806
"""
808807

809808
class PipelinePublicServiceAsyncStub:
@@ -932,7 +931,8 @@ class PipelinePublicServiceAsyncStub:
932931
]
933932
"""Clone a pipeline owned by a user
934933
935-
Clone a pipeline owned by a user, the target pipeline can be under a user or organization namespace.
934+
Clones a pipeline owned by a user. The new pipeline may have a different
935+
parent, and this can be either a user or an organization.
936936
"""
937937
TriggerUserPipeline: grpc.aio.UnaryUnaryMultiCallable[
938938
vdp.pipeline.v1beta.pipeline_pb2.TriggerUserPipelineRequest,
@@ -1166,7 +1166,8 @@ class PipelinePublicServiceAsyncStub:
11661166
]
11671167
"""Clone a pipeline owned by an organization
11681168
1169-
Clone a pipeline owned by an organization, the target pipeline can be under a user or organization namespace.
1169+
Clones a pipeline owned by an organization. The new pipeline may have a
1170+
different parent, and this can be either a user or an organization.
11701171
"""
11711172
TriggerOrganizationPipeline: grpc.aio.UnaryUnaryMultiCallable[
11721173
vdp.pipeline.v1beta.pipeline_pb2.TriggerOrganizationPipelineRequest,
@@ -1583,11 +1584,8 @@ class PipelinePublicServiceAsyncStub:
15831584
]
15841585
"""Check the availibity of a resource name
15851586
1586-
Check the availibity of a resource name. The name should be in the formats:
1587-
- users/<user_id>/pipelines/<pipeline_id>
1588-
- users/<user_id>/connectors/<connector_id>
1589-
- organizations/<org_id>/pipelines/<pipeline_id>
1590-
- organizations/<org_id>/connectors/<connector_id>
1587+
Check whether a resource name is already in use. Currently this endpoint
1588+
only supports pipeline and connector resource names.
15911589
"""
15921590

15931591
class PipelinePublicServiceServicer(metaclass=abc.ABCMeta):
@@ -1740,7 +1738,8 @@ class PipelinePublicServiceServicer(metaclass=abc.ABCMeta):
17401738
) -> typing.Union[vdp.pipeline.v1beta.pipeline_pb2.CloneUserPipelineResponse, collections.abc.Awaitable[vdp.pipeline.v1beta.pipeline_pb2.CloneUserPipelineResponse]]:
17411739
"""Clone a pipeline owned by a user
17421740
1743-
Clone a pipeline owned by a user, the target pipeline can be under a user or organization namespace.
1741+
Clones a pipeline owned by a user. The new pipeline may have a different
1742+
parent, and this can be either a user or an organization.
17441743
"""
17451744
@abc.abstractmethod
17461745
def TriggerUserPipeline(
@@ -2014,7 +2013,8 @@ class PipelinePublicServiceServicer(metaclass=abc.ABCMeta):
20142013
) -> typing.Union[vdp.pipeline.v1beta.pipeline_pb2.CloneOrganizationPipelineResponse, collections.abc.Awaitable[vdp.pipeline.v1beta.pipeline_pb2.CloneOrganizationPipelineResponse]]:
20152014
"""Clone a pipeline owned by an organization
20162015
2017-
Clone a pipeline owned by an organization, the target pipeline can be under a user or organization namespace.
2016+
Clones a pipeline owned by an organization. The new pipeline may have a
2017+
different parent, and this can be either a user or an organization.
20182018
"""
20192019
@abc.abstractmethod
20202020
def TriggerOrganizationPipeline(
@@ -2515,11 +2515,8 @@ class PipelinePublicServiceServicer(metaclass=abc.ABCMeta):
25152515
) -> typing.Union[vdp.pipeline.v1beta.common_pb2.CheckNameResponse, collections.abc.Awaitable[vdp.pipeline.v1beta.common_pb2.CheckNameResponse]]:
25162516
"""Check the availibity of a resource name
25172517
2518-
Check the availibity of a resource name. The name should be in the formats:
2519-
- users/<user_id>/pipelines/<pipeline_id>
2520-
- users/<user_id>/connectors/<connector_id>
2521-
- organizations/<org_id>/pipelines/<pipeline_id>
2522-
- organizations/<org_id>/connectors/<connector_id>
2518+
Check whether a resource name is already in use. Currently this endpoint
2519+
only supports pipeline and connector resource names.
25232520
"""
25242521

25252522
def add_PipelinePublicServiceServicer_to_server(servicer: PipelinePublicServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...

0 commit comments

Comments
 (0)