From 88aa1226d2f1f30c1ad648e1d3a3a5ae8042ae73 Mon Sep 17 00:00:00 2001 From: droplet-bot Date: Fri, 4 Oct 2024 13:36:00 +0000 Subject: [PATCH] chore: auto-gen by protobufs triggered by commit: https://github.com/instill-ai/protobufs/commit/3a9795fe14318728747d399f5d7e201325c01733 --- vdp/pipeline/v1beta/integration_pb2.py | 98 +++++++++++++------------ vdp/pipeline/v1beta/integration_pb2.pyi | 14 +++- 2 files changed, 62 insertions(+), 50 deletions(-) diff --git a/vdp/pipeline/v1beta/integration_pb2.py b/vdp/pipeline/v1beta/integration_pb2.py index b8db1ab..9764905 100644 --- a/vdp/pipeline/v1beta/integration_pb2.py +++ b/vdp/pipeline/v1beta/integration_pb2.py @@ -18,7 +18,7 @@ from vdp.pipeline.v1beta import common_pb2 as vdp_dot_pipeline_dot_v1beta_dot_common__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%vdp/pipeline/v1beta/integration.proto\x12\x13vdp.pipeline.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a vdp/pipeline/v1beta/common.proto\"\xcd\x05\n\nConnection\x12\x15\n\x03uid\x18\x01 \x01(\tB\x03\xe0\x41\x03R\x03uid\x12\x13\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x02id\x12)\n\x0cnamespace_id\x18\x03 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05R\x0bnamespaceId\x12-\n\x0eintegration_id\x18\x04 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05R\rintegrationId\x12\x30\n\x11integration_title\x18\x05 \x01(\tB\x03\xe0\x41\x03R\x10integrationTitle\x12\x43\n\x06method\x18\x06 \x01(\x0e\x32&.vdp.pipeline.v1beta.Connection.MethodB\x03\xe0\x41\x02R\x06method\x12\x32\n\x05setup\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x02R\x05setup\x12\x1b\n\x06scopes\x18\x0b \x03(\tB\x03\xe0\x41\x01R\x06scopes\x12T\n\x15o_auth_access_details\x18\x0c \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01H\x00R\x12oAuthAccessDetails\x88\x01\x01\x12\x32\n\x04view\x18\x08 \x01(\x0e\x32\x19.vdp.pipeline.v1beta.ViewB\x03\xe0\x41\x03R\x04view\x12@\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03R\ncreateTime\x12@\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03R\nupdateTime\"I\n\x06Method\x12\x16\n\x12METHOD_UNSPECIFIED\x10\x00\x12\x15\n\x11METHOD_DICTIONARY\x10\x01\x12\x10\n\x0cMETHOD_OAUTH\x10\x02\x42\x18\n\x16_o_auth_access_details\"\xe3\x01\n\x1fListNamespaceConnectionsRequest\x12&\n\x0cnamespace_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0bnamespaceId\x12%\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01H\x00R\x08pageSize\x88\x01\x01\x12\'\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x01R\tpageToken\x88\x01\x01\x12 \n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x02R\x06\x66ilter\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\t\n\x07_filter\"\xbb\x01\n ListNamespaceConnectionsResponse\x12\x46\n\x0b\x63onnections\x18\x01 \x03(\x0b\x32\x1f.vdp.pipeline.v1beta.ConnectionB\x03\xe0\x41\x03R\x0b\x63onnections\x12+\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03R\rnextPageToken\x12\"\n\ntotal_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03R\ttotalSize\"\xb3\x01\n\x1dGetNamespaceConnectionRequest\x12&\n\x0cnamespace_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0bnamespaceId\x12(\n\rconnection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x0c\x63onnectionId\x12\x37\n\x04view\x18\x03 \x01(\x0e\x32\x19.vdp.pipeline.v1beta.ViewB\x03\xe0\x41\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"f\n\x1eGetNamespaceConnectionResponse\x12\x44\n\nconnection\x18\x01 \x01(\x0b\x32\x1f.vdp.pipeline.v1beta.ConnectionB\x03\xe0\x41\x03R\nconnection\"h\n CreateNamespaceConnectionRequest\x12\x44\n\nconnection\x18\x01 \x01(\x0b\x32\x1f.vdp.pipeline.v1beta.ConnectionB\x03\xe0\x41\x02R\nconnection\"i\n!CreateNamespaceConnectionResponse\x12\x44\n\nconnection\x18\x01 \x01(\x0b\x32\x1f.vdp.pipeline.v1beta.ConnectionB\x03\xe0\x41\x03R\nconnection\"\xd4\x01\n UpdateNamespaceConnectionRequest\x12(\n\rconnection_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0c\x63onnectionId\x12\x44\n\nconnection\x18\x02 \x01(\x0b\x32\x1f.vdp.pipeline.v1beta.ConnectionB\x03\xe0\x41\x02R\nconnection\x12@\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02R\nupdateMask\"i\n!UpdateNamespaceConnectionResponse\x12\x44\n\nconnection\x18\x01 \x01(\x0b\x32\x1f.vdp.pipeline.v1beta.ConnectionB\x03\xe0\x41\x03R\nconnection\"t\n DeleteNamespaceConnectionRequest\x12&\n\x0cnamespace_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0bnamespaceId\x12(\n\rconnection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x0c\x63onnectionId\"#\n!DeleteNamespaceConnectionResponse\"r\n\x1eTestNamespaceConnectionRequest\x12&\n\x0cnamespace_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0bnamespaceId\x12(\n\rconnection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x0c\x63onnectionId\"!\n\x1fTestNamespaceConnectionResponse\"\xf6\x06\n\x0bIntegration\x12\x15\n\x03uid\x18\x01 \x01(\tB\x03\xe0\x41\x03R\x03uid\x12\x13\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x03R\x02id\x12\x19\n\x05title\x18\x03 \x01(\tB\x03\xe0\x41\x03R\x05title\x12%\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x03R\x0b\x64\x65scription\x12\x1b\n\x06vendor\x18\x05 \x01(\tB\x03\xe0\x41\x03R\x06vendor\x12\x17\n\x04icon\x18\x06 \x01(\tB\x03\xe0\x41\x03R\x04icon\x12L\n\thelp_link\x18\x07 \x01(\x0b\x32%.vdp.pipeline.v1beta.Integration.LinkB\x03\xe0\x41\x03H\x00R\x08helpLink\x88\x01\x01\x12?\n\x0csetup_schema\x18\n \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x03R\x0bsetupSchema\x12Z\n\ro_auth_config\x18\x0b \x01(\x0b\x32,.vdp.pipeline.v1beta.Integration.OAuthConfigB\x03\xe0\x41\x03H\x01R\x0boAuthConfig\x88\x01\x01\x12\x32\n\x04view\x18\t \x01(\x0e\x32\x19.vdp.pipeline.v1beta.ViewB\x03\xe0\x41\x03R\x04view\x12M\n\x07schemas\x18\x08 \x03(\x0b\x32,.vdp.pipeline.v1beta.Integration.SetupSchemaB\x05\x18\x01\xe0\x41\x03R\x07schemas\x1a\x36\n\x04Link\x12\x17\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x03R\x04text\x12\x15\n\x03url\x18\x02 \x01(\tB\x03\xe0\x41\x03R\x03url\x1an\n\x0bOAuthConfig\x12\x1e\n\x08\x61uth_url\x18\x01 \x01(\tB\x03\xe0\x41\x03R\x07\x61uthUrl\x12\"\n\naccess_url\x18\x02 \x01(\tB\x03\xe0\x41\x03R\taccessUrl\x12\x1b\n\x06scopes\x18\x0b \x03(\tB\x03\xe0\x41\x03R\x06scopes\x1a\x8c\x01\n\x0bSetupSchema\x12\x45\n\x06method\x18\x01 \x01(\x0e\x32&.vdp.pipeline.v1beta.Connection.MethodB\x05\x18\x01\xe0\x41\x03R\x06method\x12\x36\n\x06schema\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x05\x18\x01\xe0\x41\x03R\x06schemaB\x0c\n\n_help_linkB\x10\n\x0e_o_auth_config\"\x92\x02\n$ListPipelineIDsByConnectionIDRequest\x12&\n\x0cnamespace_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0bnamespaceId\x12(\n\rconnection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x0c\x63onnectionId\x12%\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01H\x00R\x08pageSize\x88\x01\x01\x12\'\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x01R\tpageToken\x88\x01\x01\x12 \n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x02R\x06\x66ilter\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\t\n\x07_filter\"\xa0\x01\n%ListPipelineIDsByConnectionIDResponse\x12&\n\x0cpipeline_ids\x18\x01 \x03(\tB\x03\xe0\x41\x03R\x0bpipelineIds\x12+\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03R\rnextPageToken\x12\"\n\ntotal_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03R\ttotalSize\"\xb3\x01\n\x17ListIntegrationsRequest\x12%\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01H\x00R\x08pageSize\x88\x01\x01\x12\'\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x01R\tpageToken\x88\x01\x01\x12 \n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x02R\x06\x66ilter\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\t\n\x07_filter\"\xb6\x01\n\x18ListIntegrationsResponse\x12I\n\x0cintegrations\x18\x01 \x03(\x0b\x32 .vdp.pipeline.v1beta.IntegrationB\x03\xe0\x41\x03R\x0cintegrations\x12+\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03R\rnextPageToken\x12\"\n\ntotal_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03R\ttotalSize\"\x85\x01\n\x15GetIntegrationRequest\x12*\n\x0eintegration_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\rintegrationId\x12\x37\n\x04view\x18\x02 \x01(\x0e\x32\x19.vdp.pipeline.v1beta.ViewB\x03\xe0\x41\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"a\n\x16GetIntegrationResponse\x12G\n\x0bintegration\x18\x01 \x01(\x0b\x32 .vdp.pipeline.v1beta.IntegrationB\x03\xe0\x41\x03R\x0bintegrationB\xdf\x01\n\x17\x63om.vdp.pipeline.v1betaB\x10IntegrationProtoP\x01ZDgithub.com/instill-ai/protogen-go/vdp/pipeline/v1beta;pipelinev1beta\xa2\x02\x03VPX\xaa\x02\x13Vdp.Pipeline.V1beta\xca\x02\x13Vdp\\Pipeline\\V1beta\xe2\x02\x1fVdp\\Pipeline\\V1beta\\GPBMetadata\xea\x02\x15Vdp::Pipeline::V1betab\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%vdp/pipeline/v1beta/integration.proto\x12\x13vdp.pipeline.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a vdp/pipeline/v1beta/common.proto\"\x80\x06\n\nConnection\x12\x15\n\x03uid\x18\x01 \x01(\tB\x03\xe0\x41\x03R\x03uid\x12\x13\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x02id\x12)\n\x0cnamespace_id\x18\x03 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05R\x0bnamespaceId\x12-\n\x0eintegration_id\x18\x04 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05R\rintegrationId\x12\x30\n\x11integration_title\x18\x05 \x01(\tB\x03\xe0\x41\x03R\x10integrationTitle\x12\x43\n\x06method\x18\x06 \x01(\x0e\x32&.vdp.pipeline.v1beta.Connection.MethodB\x03\xe0\x41\x02R\x06method\x12\x32\n\x05setup\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x02R\x05setup\x12\x1b\n\x06scopes\x18\x0b \x03(\tB\x03\xe0\x41\x01R\x06scopes\x12$\n\x08identity\x18\r \x01(\tB\x03\xe0\x41\x01H\x00R\x08identity\x88\x01\x01\x12T\n\x15o_auth_access_details\x18\x0c \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01H\x01R\x12oAuthAccessDetails\x88\x01\x01\x12\x32\n\x04view\x18\x08 \x01(\x0e\x32\x19.vdp.pipeline.v1beta.ViewB\x03\xe0\x41\x03R\x04view\x12@\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03R\ncreateTime\x12@\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03R\nupdateTime\"I\n\x06Method\x12\x16\n\x12METHOD_UNSPECIFIED\x10\x00\x12\x15\n\x11METHOD_DICTIONARY\x10\x01\x12\x10\n\x0cMETHOD_OAUTH\x10\x02\x42\x0b\n\t_identityB\x18\n\x16_o_auth_access_details\"\xe3\x01\n\x1fListNamespaceConnectionsRequest\x12&\n\x0cnamespace_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0bnamespaceId\x12%\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01H\x00R\x08pageSize\x88\x01\x01\x12\'\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x01R\tpageToken\x88\x01\x01\x12 \n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x02R\x06\x66ilter\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\t\n\x07_filter\"\xbb\x01\n ListNamespaceConnectionsResponse\x12\x46\n\x0b\x63onnections\x18\x01 \x03(\x0b\x32\x1f.vdp.pipeline.v1beta.ConnectionB\x03\xe0\x41\x03R\x0b\x63onnections\x12+\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03R\rnextPageToken\x12\"\n\ntotal_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03R\ttotalSize\"\xb3\x01\n\x1dGetNamespaceConnectionRequest\x12&\n\x0cnamespace_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0bnamespaceId\x12(\n\rconnection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x0c\x63onnectionId\x12\x37\n\x04view\x18\x03 \x01(\x0e\x32\x19.vdp.pipeline.v1beta.ViewB\x03\xe0\x41\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"f\n\x1eGetNamespaceConnectionResponse\x12\x44\n\nconnection\x18\x01 \x01(\x0b\x32\x1f.vdp.pipeline.v1beta.ConnectionB\x03\xe0\x41\x03R\nconnection\"h\n CreateNamespaceConnectionRequest\x12\x44\n\nconnection\x18\x01 \x01(\x0b\x32\x1f.vdp.pipeline.v1beta.ConnectionB\x03\xe0\x41\x02R\nconnection\"i\n!CreateNamespaceConnectionResponse\x12\x44\n\nconnection\x18\x01 \x01(\x0b\x32\x1f.vdp.pipeline.v1beta.ConnectionB\x03\xe0\x41\x03R\nconnection\"\xd4\x01\n UpdateNamespaceConnectionRequest\x12(\n\rconnection_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0c\x63onnectionId\x12\x44\n\nconnection\x18\x02 \x01(\x0b\x32\x1f.vdp.pipeline.v1beta.ConnectionB\x03\xe0\x41\x02R\nconnection\x12@\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02R\nupdateMask\"i\n!UpdateNamespaceConnectionResponse\x12\x44\n\nconnection\x18\x01 \x01(\x0b\x32\x1f.vdp.pipeline.v1beta.ConnectionB\x03\xe0\x41\x03R\nconnection\"t\n DeleteNamespaceConnectionRequest\x12&\n\x0cnamespace_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0bnamespaceId\x12(\n\rconnection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x0c\x63onnectionId\"#\n!DeleteNamespaceConnectionResponse\"r\n\x1eTestNamespaceConnectionRequest\x12&\n\x0cnamespace_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0bnamespaceId\x12(\n\rconnection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x0c\x63onnectionId\"!\n\x1fTestNamespaceConnectionResponse\"\xf6\x06\n\x0bIntegration\x12\x15\n\x03uid\x18\x01 \x01(\tB\x03\xe0\x41\x03R\x03uid\x12\x13\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x03R\x02id\x12\x19\n\x05title\x18\x03 \x01(\tB\x03\xe0\x41\x03R\x05title\x12%\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x03R\x0b\x64\x65scription\x12\x1b\n\x06vendor\x18\x05 \x01(\tB\x03\xe0\x41\x03R\x06vendor\x12\x17\n\x04icon\x18\x06 \x01(\tB\x03\xe0\x41\x03R\x04icon\x12L\n\thelp_link\x18\x07 \x01(\x0b\x32%.vdp.pipeline.v1beta.Integration.LinkB\x03\xe0\x41\x03H\x00R\x08helpLink\x88\x01\x01\x12?\n\x0csetup_schema\x18\n \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x03R\x0bsetupSchema\x12Z\n\ro_auth_config\x18\x0b \x01(\x0b\x32,.vdp.pipeline.v1beta.Integration.OAuthConfigB\x03\xe0\x41\x03H\x01R\x0boAuthConfig\x88\x01\x01\x12\x32\n\x04view\x18\t \x01(\x0e\x32\x19.vdp.pipeline.v1beta.ViewB\x03\xe0\x41\x03R\x04view\x12M\n\x07schemas\x18\x08 \x03(\x0b\x32,.vdp.pipeline.v1beta.Integration.SetupSchemaB\x05\x18\x01\xe0\x41\x03R\x07schemas\x1a\x36\n\x04Link\x12\x17\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x03R\x04text\x12\x15\n\x03url\x18\x02 \x01(\tB\x03\xe0\x41\x03R\x03url\x1an\n\x0bOAuthConfig\x12\x1e\n\x08\x61uth_url\x18\x01 \x01(\tB\x03\xe0\x41\x03R\x07\x61uthUrl\x12\"\n\naccess_url\x18\x02 \x01(\tB\x03\xe0\x41\x03R\taccessUrl\x12\x1b\n\x06scopes\x18\x0b \x03(\tB\x03\xe0\x41\x03R\x06scopes\x1a\x8c\x01\n\x0bSetupSchema\x12\x45\n\x06method\x18\x01 \x01(\x0e\x32&.vdp.pipeline.v1beta.Connection.MethodB\x05\x18\x01\xe0\x41\x03R\x06method\x12\x36\n\x06schema\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x05\x18\x01\xe0\x41\x03R\x06schemaB\x0c\n\n_help_linkB\x10\n\x0e_o_auth_config\"\x92\x02\n$ListPipelineIDsByConnectionIDRequest\x12&\n\x0cnamespace_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0bnamespaceId\x12(\n\rconnection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x0c\x63onnectionId\x12%\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01H\x00R\x08pageSize\x88\x01\x01\x12\'\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x01R\tpageToken\x88\x01\x01\x12 \n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x02R\x06\x66ilter\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\t\n\x07_filter\"\xa0\x01\n%ListPipelineIDsByConnectionIDResponse\x12&\n\x0cpipeline_ids\x18\x01 \x03(\tB\x03\xe0\x41\x03R\x0bpipelineIds\x12+\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03R\rnextPageToken\x12\"\n\ntotal_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03R\ttotalSize\"\xb3\x01\n\x17ListIntegrationsRequest\x12%\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01H\x00R\x08pageSize\x88\x01\x01\x12\'\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x01R\tpageToken\x88\x01\x01\x12 \n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x02R\x06\x66ilter\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\t\n\x07_filter\"\xb6\x01\n\x18ListIntegrationsResponse\x12I\n\x0cintegrations\x18\x01 \x03(\x0b\x32 .vdp.pipeline.v1beta.IntegrationB\x03\xe0\x41\x03R\x0cintegrations\x12+\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03R\rnextPageToken\x12\"\n\ntotal_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03R\ttotalSize\"\x85\x01\n\x15GetIntegrationRequest\x12*\n\x0eintegration_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\rintegrationId\x12\x37\n\x04view\x18\x02 \x01(\x0e\x32\x19.vdp.pipeline.v1beta.ViewB\x03\xe0\x41\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"a\n\x16GetIntegrationResponse\x12G\n\x0bintegration\x18\x01 \x01(\x0b\x32 .vdp.pipeline.v1beta.IntegrationB\x03\xe0\x41\x03R\x0bintegrationB\xdf\x01\n\x17\x63om.vdp.pipeline.v1betaB\x10IntegrationProtoP\x01ZDgithub.com/instill-ai/protogen-go/vdp/pipeline/v1beta;pipelinev1beta\xa2\x02\x03VPX\xaa\x02\x13Vdp.Pipeline.V1beta\xca\x02\x13Vdp\\Pipeline\\V1beta\xe2\x02\x1fVdp\\Pipeline\\V1beta\\GPBMetadata\xea\x02\x15Vdp::Pipeline::V1betab\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -43,6 +43,8 @@ _CONNECTION.fields_by_name['setup']._serialized_options = b'\340A\002' _CONNECTION.fields_by_name['scopes']._options = None _CONNECTION.fields_by_name['scopes']._serialized_options = b'\340A\001' + _CONNECTION.fields_by_name['identity']._options = None + _CONNECTION.fields_by_name['identity']._serialized_options = b'\340A\001' _CONNECTION.fields_by_name['o_auth_access_details']._options = None _CONNECTION.fields_by_name['o_auth_access_details']._serialized_options = b'\340A\001' _CONNECTION.fields_by_name['view']._options = None @@ -164,51 +166,51 @@ _GETINTEGRATIONRESPONSE.fields_by_name['integration']._options = None _GETINTEGRATIONRESPONSE.fields_by_name['integration']._serialized_options = b'\340A\003' _globals['_CONNECTION']._serialized_start=227 - _globals['_CONNECTION']._serialized_end=944 - _globals['_CONNECTION_METHOD']._serialized_start=845 - _globals['_CONNECTION_METHOD']._serialized_end=918 - _globals['_LISTNAMESPACECONNECTIONSREQUEST']._serialized_start=947 - _globals['_LISTNAMESPACECONNECTIONSREQUEST']._serialized_end=1174 - _globals['_LISTNAMESPACECONNECTIONSRESPONSE']._serialized_start=1177 - _globals['_LISTNAMESPACECONNECTIONSRESPONSE']._serialized_end=1364 - _globals['_GETNAMESPACECONNECTIONREQUEST']._serialized_start=1367 - _globals['_GETNAMESPACECONNECTIONREQUEST']._serialized_end=1546 - _globals['_GETNAMESPACECONNECTIONRESPONSE']._serialized_start=1548 - _globals['_GETNAMESPACECONNECTIONRESPONSE']._serialized_end=1650 - _globals['_CREATENAMESPACECONNECTIONREQUEST']._serialized_start=1652 - _globals['_CREATENAMESPACECONNECTIONREQUEST']._serialized_end=1756 - _globals['_CREATENAMESPACECONNECTIONRESPONSE']._serialized_start=1758 - _globals['_CREATENAMESPACECONNECTIONRESPONSE']._serialized_end=1863 - _globals['_UPDATENAMESPACECONNECTIONREQUEST']._serialized_start=1866 - _globals['_UPDATENAMESPACECONNECTIONREQUEST']._serialized_end=2078 - _globals['_UPDATENAMESPACECONNECTIONRESPONSE']._serialized_start=2080 - _globals['_UPDATENAMESPACECONNECTIONRESPONSE']._serialized_end=2185 - _globals['_DELETENAMESPACECONNECTIONREQUEST']._serialized_start=2187 - _globals['_DELETENAMESPACECONNECTIONREQUEST']._serialized_end=2303 - _globals['_DELETENAMESPACECONNECTIONRESPONSE']._serialized_start=2305 - _globals['_DELETENAMESPACECONNECTIONRESPONSE']._serialized_end=2340 - _globals['_TESTNAMESPACECONNECTIONREQUEST']._serialized_start=2342 - _globals['_TESTNAMESPACECONNECTIONREQUEST']._serialized_end=2456 - _globals['_TESTNAMESPACECONNECTIONRESPONSE']._serialized_start=2458 - _globals['_TESTNAMESPACECONNECTIONRESPONSE']._serialized_end=2491 - _globals['_INTEGRATION']._serialized_start=2494 - _globals['_INTEGRATION']._serialized_end=3380 - _globals['_INTEGRATION_LINK']._serialized_start=3039 - _globals['_INTEGRATION_LINK']._serialized_end=3093 - _globals['_INTEGRATION_OAUTHCONFIG']._serialized_start=3095 - _globals['_INTEGRATION_OAUTHCONFIG']._serialized_end=3205 - _globals['_INTEGRATION_SETUPSCHEMA']._serialized_start=3208 - _globals['_INTEGRATION_SETUPSCHEMA']._serialized_end=3348 - _globals['_LISTPIPELINEIDSBYCONNECTIONIDREQUEST']._serialized_start=3383 - _globals['_LISTPIPELINEIDSBYCONNECTIONIDREQUEST']._serialized_end=3657 - _globals['_LISTPIPELINEIDSBYCONNECTIONIDRESPONSE']._serialized_start=3660 - _globals['_LISTPIPELINEIDSBYCONNECTIONIDRESPONSE']._serialized_end=3820 - _globals['_LISTINTEGRATIONSREQUEST']._serialized_start=3823 - _globals['_LISTINTEGRATIONSREQUEST']._serialized_end=4002 - _globals['_LISTINTEGRATIONSRESPONSE']._serialized_start=4005 - _globals['_LISTINTEGRATIONSRESPONSE']._serialized_end=4187 - _globals['_GETINTEGRATIONREQUEST']._serialized_start=4190 - _globals['_GETINTEGRATIONREQUEST']._serialized_end=4323 - _globals['_GETINTEGRATIONRESPONSE']._serialized_start=4325 - _globals['_GETINTEGRATIONRESPONSE']._serialized_end=4422 + _globals['_CONNECTION']._serialized_end=995 + _globals['_CONNECTION_METHOD']._serialized_start=883 + _globals['_CONNECTION_METHOD']._serialized_end=956 + _globals['_LISTNAMESPACECONNECTIONSREQUEST']._serialized_start=998 + _globals['_LISTNAMESPACECONNECTIONSREQUEST']._serialized_end=1225 + _globals['_LISTNAMESPACECONNECTIONSRESPONSE']._serialized_start=1228 + _globals['_LISTNAMESPACECONNECTIONSRESPONSE']._serialized_end=1415 + _globals['_GETNAMESPACECONNECTIONREQUEST']._serialized_start=1418 + _globals['_GETNAMESPACECONNECTIONREQUEST']._serialized_end=1597 + _globals['_GETNAMESPACECONNECTIONRESPONSE']._serialized_start=1599 + _globals['_GETNAMESPACECONNECTIONRESPONSE']._serialized_end=1701 + _globals['_CREATENAMESPACECONNECTIONREQUEST']._serialized_start=1703 + _globals['_CREATENAMESPACECONNECTIONREQUEST']._serialized_end=1807 + _globals['_CREATENAMESPACECONNECTIONRESPONSE']._serialized_start=1809 + _globals['_CREATENAMESPACECONNECTIONRESPONSE']._serialized_end=1914 + _globals['_UPDATENAMESPACECONNECTIONREQUEST']._serialized_start=1917 + _globals['_UPDATENAMESPACECONNECTIONREQUEST']._serialized_end=2129 + _globals['_UPDATENAMESPACECONNECTIONRESPONSE']._serialized_start=2131 + _globals['_UPDATENAMESPACECONNECTIONRESPONSE']._serialized_end=2236 + _globals['_DELETENAMESPACECONNECTIONREQUEST']._serialized_start=2238 + _globals['_DELETENAMESPACECONNECTIONREQUEST']._serialized_end=2354 + _globals['_DELETENAMESPACECONNECTIONRESPONSE']._serialized_start=2356 + _globals['_DELETENAMESPACECONNECTIONRESPONSE']._serialized_end=2391 + _globals['_TESTNAMESPACECONNECTIONREQUEST']._serialized_start=2393 + _globals['_TESTNAMESPACECONNECTIONREQUEST']._serialized_end=2507 + _globals['_TESTNAMESPACECONNECTIONRESPONSE']._serialized_start=2509 + _globals['_TESTNAMESPACECONNECTIONRESPONSE']._serialized_end=2542 + _globals['_INTEGRATION']._serialized_start=2545 + _globals['_INTEGRATION']._serialized_end=3431 + _globals['_INTEGRATION_LINK']._serialized_start=3090 + _globals['_INTEGRATION_LINK']._serialized_end=3144 + _globals['_INTEGRATION_OAUTHCONFIG']._serialized_start=3146 + _globals['_INTEGRATION_OAUTHCONFIG']._serialized_end=3256 + _globals['_INTEGRATION_SETUPSCHEMA']._serialized_start=3259 + _globals['_INTEGRATION_SETUPSCHEMA']._serialized_end=3399 + _globals['_LISTPIPELINEIDSBYCONNECTIONIDREQUEST']._serialized_start=3434 + _globals['_LISTPIPELINEIDSBYCONNECTIONIDREQUEST']._serialized_end=3708 + _globals['_LISTPIPELINEIDSBYCONNECTIONIDRESPONSE']._serialized_start=3711 + _globals['_LISTPIPELINEIDSBYCONNECTIONIDRESPONSE']._serialized_end=3871 + _globals['_LISTINTEGRATIONSREQUEST']._serialized_start=3874 + _globals['_LISTINTEGRATIONSREQUEST']._serialized_end=4053 + _globals['_LISTINTEGRATIONSRESPONSE']._serialized_start=4056 + _globals['_LISTINTEGRATIONSRESPONSE']._serialized_end=4238 + _globals['_GETINTEGRATIONREQUEST']._serialized_start=4241 + _globals['_GETINTEGRATIONREQUEST']._serialized_end=4374 + _globals['_GETINTEGRATIONRESPONSE']._serialized_start=4376 + _globals['_GETINTEGRATIONRESPONSE']._serialized_end=4473 # @@protoc_insertion_point(module_scope) diff --git a/vdp/pipeline/v1beta/integration_pb2.pyi b/vdp/pipeline/v1beta/integration_pb2.pyi index d0a22d4..b20c2d8 100644 --- a/vdp/pipeline/v1beta/integration_pb2.pyi +++ b/vdp/pipeline/v1beta/integration_pb2.pyi @@ -66,6 +66,7 @@ class Connection(google.protobuf.message.Message): METHOD_FIELD_NUMBER: builtins.int SETUP_FIELD_NUMBER: builtins.int SCOPES_FIELD_NUMBER: builtins.int + IDENTITY_FIELD_NUMBER: builtins.int O_AUTH_ACCESS_DETAILS_FIELD_NUMBER: builtins.int VIEW_FIELD_NUMBER: builtins.int CREATE_TIME_FIELD_NUMBER: builtins.int @@ -101,6 +102,11 @@ class Connection(google.protobuf.message.Message): when the setup has been generated through an OAuth flow with a limited set of scopes. """ + identity: builtins.str + """When the connection method is METHOD_OAUTH, this field will hold the + identity (e.g., email, username) with which the access token has been + generated. + """ @property def o_auth_access_details(self) -> google.protobuf.struct_pb2.Struct: """When the connection method is METHOD_OAUTH, the access token might come @@ -131,13 +137,17 @@ class Connection(google.protobuf.message.Message): method: global___Connection.Method.ValueType = ..., setup: google.protobuf.struct_pb2.Struct | None = ..., scopes: collections.abc.Iterable[builtins.str] | None = ..., + identity: builtins.str | None = ..., o_auth_access_details: google.protobuf.struct_pb2.Struct | None = ..., view: vdp.pipeline.v1beta.common_pb2.View.ValueType = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["_o_auth_access_details", b"_o_auth_access_details", "create_time", b"create_time", "o_auth_access_details", b"o_auth_access_details", "setup", b"setup", "update_time", b"update_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["_o_auth_access_details", b"_o_auth_access_details", "create_time", b"create_time", "id", b"id", "integration_id", b"integration_id", "integration_title", b"integration_title", "method", b"method", "namespace_id", b"namespace_id", "o_auth_access_details", b"o_auth_access_details", "scopes", b"scopes", "setup", b"setup", "uid", b"uid", "update_time", b"update_time", "view", b"view"]) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["_identity", b"_identity", "_o_auth_access_details", b"_o_auth_access_details", "create_time", b"create_time", "identity", b"identity", "o_auth_access_details", b"o_auth_access_details", "setup", b"setup", "update_time", b"update_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["_identity", b"_identity", "_o_auth_access_details", b"_o_auth_access_details", "create_time", b"create_time", "id", b"id", "identity", b"identity", "integration_id", b"integration_id", "integration_title", b"integration_title", "method", b"method", "namespace_id", b"namespace_id", "o_auth_access_details", b"o_auth_access_details", "scopes", b"scopes", "setup", b"setup", "uid", b"uid", "update_time", b"update_time", "view", b"view"]) -> None: ... + @typing.overload + def WhichOneof(self, oneof_group: typing_extensions.Literal["_identity", b"_identity"]) -> typing_extensions.Literal["identity"] | None: ... + @typing.overload def WhichOneof(self, oneof_group: typing_extensions.Literal["_o_auth_access_details", b"_o_auth_access_details"]) -> typing_extensions.Literal["o_auth_access_details"] | None: ... global___Connection = Connection