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@bf709f3
  • Loading branch information
droplet-bot committed May 21, 2024
1 parent 9d409dd commit 6be87a1
Show file tree
Hide file tree
Showing 5 changed files with 311 additions and 137 deletions.
284 changes: 149 additions & 135 deletions vdp/pipeline/v1beta/pipeline_pb2.py

Large diffs are not rendered by default.

76 changes: 76 additions & 0 deletions vdp/pipeline/v1beta/pipeline_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1596,6 +1596,82 @@ class TriggerUserPipelineResponse(google.protobuf.message.Message):

global___TriggerUserPipelineResponse = TriggerUserPipelineResponse

@typing_extensions.final
class TriggerUserPipelineWithStreamRequest(google.protobuf.message.Message):
"""TriggerUserPipelineWithStreamRequest represents a request to trigger a user-owned
pipeline synchronously and streams back the results.
"""

DESCRIPTOR: google.protobuf.descriptor.Descriptor

@typing_extensions.final
class SecretsEntry(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

KEY_FIELD_NUMBER: builtins.int
VALUE_FIELD_NUMBER: builtins.int
key: builtins.str
value: builtins.str
def __init__(
self,
*,
key: builtins.str = ...,
value: builtins.str = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...

NAME_FIELD_NUMBER: builtins.int
INPUTS_FIELD_NUMBER: builtins.int
SECRETS_FIELD_NUMBER: builtins.int
name: builtins.str
"""The resource name of the pipeline, which allows its access by parent user
and ID.
- Format: `users/{user.id}/pipelines/{pipeline.id}`.
"""
@property
def inputs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.struct_pb2.Struct]:
"""Pipeline input parameters."""
@property
def secrets(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
"""Pipeline secrets parameters that will override the pipeline's or owner's secrets."""
def __init__(
self,
*,
name: builtins.str = ...,
inputs: collections.abc.Iterable[google.protobuf.struct_pb2.Struct] | None = ...,
secrets: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["inputs", b"inputs", "name", b"name", "secrets", b"secrets"]) -> None: ...

global___TriggerUserPipelineWithStreamRequest = TriggerUserPipelineWithStreamRequest

@typing_extensions.final
class TriggerUserPipelineWithStreamResponse(google.protobuf.message.Message):
"""TriggerUserPipelineWithStreamResponse contains the pipeline execution results, i.e.,
the multiple model inference outputs.
"""

DESCRIPTOR: google.protobuf.descriptor.Descriptor

OUTPUTS_FIELD_NUMBER: builtins.int
METADATA_FIELD_NUMBER: builtins.int
@property
def outputs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.struct_pb2.Struct]:
"""Model inference outputs."""
@property
def metadata(self) -> global___TriggerMetadata:
"""Traces of the pipeline inference."""
def __init__(
self,
*,
outputs: collections.abc.Iterable[google.protobuf.struct_pb2.Struct] | None = ...,
metadata: global___TriggerMetadata | None = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["metadata", b"metadata", "outputs", b"outputs"]) -> None: ...

global___TriggerUserPipelineWithStreamResponse = TriggerUserPipelineWithStreamResponse

@typing_extensions.final
class TriggerAsyncUserPipelineRequest(google.protobuf.message.Message):
"""TriggerUserPipelineRequest represents a request to trigger a user-owned
Expand Down
Loading

0 comments on commit 6be87a1

Please sign in to comment.