Skip to content

Commit

Permalink
chore: auto-gen by protobufs
Browse files Browse the repository at this point in the history
triggered by commit: instill-ai/protobufs@e2ab83c
  • Loading branch information
droplet-bot committed Jan 29, 2024
1 parent 9e7d41f commit 8e8894c
Show file tree
Hide file tree
Showing 5 changed files with 176 additions and 16 deletions.
35 changes: 22 additions & 13 deletions vdp/pipeline/v1beta/common_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 68 additions & 0 deletions vdp/pipeline/v1beta/common_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,71 @@ class Permission(google.protobuf.message.Message):
def ClearField(self, field_name: typing_extensions.Literal["can_edit", b"can_edit", "can_trigger", b"can_trigger"]) -> None: ...

global___Permission = Permission

@typing_extensions.final
class CheckNameRequest(google.protobuf.message.Message):
"""CheckNameRequest represents a request to verify if a name is
available.
"""

DESCRIPTOR: google.protobuf.descriptor.Descriptor

NAME_FIELD_NUMBER: builtins.int
name: builtins.str
"""The name of the resource to be checked, should be in the formats:
- users/<user_id>/pipelines/<pipeline_id>
- users/<user_id>/connectors/<connector_id>
- organizations/<org_id>/pipelines/<pipeline_id>
- organizations/<org_id>/connectors/<connector_id>
"""
def __init__(
self,
*,
name: builtins.str = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["name", b"name"]) -> None: ...

global___CheckNameRequest = CheckNameRequest

@typing_extensions.final
class CheckNameResponse(google.protobuf.message.Message):
"""CheckNameResponse contains the availability of a name
of resource that's using it.
"""

DESCRIPTOR: google.protobuf.descriptor.Descriptor

class _Name:
ValueType = typing.NewType("ValueType", builtins.int)
V: typing_extensions.TypeAlias = ValueType

class _NameEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[CheckNameResponse._Name.ValueType], builtins.type):
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
NAME_UNSPECIFIED: CheckNameResponse._Name.ValueType # 0
"""Unspecified."""
NAME_AVAILABLE: CheckNameResponse._Name.ValueType # 1
"""Available."""
NAME_UNAVAILABLE: CheckNameResponse._Name.ValueType # 2
"""Unavailable."""

class Name(_Name, metaclass=_NameEnumTypeWrapper):
"""Availability of Name"""

NAME_UNSPECIFIED: CheckNameResponse.Name.ValueType # 0
"""Unspecified."""
NAME_AVAILABLE: CheckNameResponse.Name.ValueType # 1
"""Available."""
NAME_UNAVAILABLE: CheckNameResponse.Name.ValueType # 2
"""Unavailable."""

AVAILABILITY_FIELD_NUMBER: builtins.int
availability: global___CheckNameResponse.Name.ValueType
"""Availability"""
def __init__(
self,
*,
availability: global___CheckNameResponse.Name.ValueType = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["availability", b"availability"]) -> None: ...

global___CheckNameResponse = CheckNameResponse
Loading

0 comments on commit 8e8894c

Please sign in to comment.