diff --git a/core/mgmt/v1beta/mgmt_public_service_pb2.py b/core/mgmt/v1beta/mgmt_public_service_pb2.py index bf17895..36ea60c 100644 --- a/core/mgmt/v1beta/mgmt_public_service_pb2.py +++ b/core/mgmt/v1beta/mgmt_public_service_pb2.py @@ -11,15 +11,15 @@ _sym_db = _symbol_database.Default() +from core.mgmt.v1beta import metric_pb2 as core_dot_mgmt_dot_v1beta_dot_metric__pb2 +from core.mgmt.v1beta import mgmt_pb2 as core_dot_mgmt_dot_v1beta_dot_mgmt__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from google.api import client_pb2 as google_dot_api_dot_client__pb2 from google.api import visibility_pb2 as google_dot_api_dot_visibility__pb2 from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2 -from core.mgmt.v1beta import metric_pb2 as core_dot_mgmt_dot_v1beta_dot_metric__pb2 -from core.mgmt.v1beta import mgmt_pb2 as core_dot_mgmt_dot_v1beta_dot_mgmt__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*core/mgmt/v1beta/mgmt_public_service.proto\x12\x10\x63ore.mgmt.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1bgoogle/api/visibility.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x1d\x63ore/mgmt/v1beta/metric.proto\x1a\x1b\x63ore/mgmt/v1beta/mgmt.proto2\xb1\x34\n\x11MgmtPublicService\x12\xca\x01\n\x1c\x44\x65leteOrganizationMembership\x12\x35.core.mgmt.v1beta.DeleteOrganizationMembershipRequest\x1a\x36.core.mgmt.v1beta.DeleteOrganizationMembershipResponse\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1beta/{name=organizations/*/memberships/*}\x12\x94\x01\n\x08Liveness\x12!.core.mgmt.v1beta.LivenessRequest\x1a\".core.mgmt.v1beta.LivenessResponse\"A\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02+\x12\x12/v1beta/__livenessZ\x15\x12\x13/v1beta/health/mgmt\x12\x97\x01\n\tReadiness\x12\".core.mgmt.v1beta.ReadinessRequest\x1a#.core.mgmt.v1beta.ReadinessResponse\"A\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02+\x12\x13/v1beta/__readinessZ\x14\x12\x12/v1beta/ready/mgmt\x12\xa3\x01\n\x0e\x43heckNamespace\x12\'.core.mgmt.v1beta.CheckNamespaceRequest\x1a(.core.mgmt.v1beta.CheckNamespaceResponse\">\xda\x41\tnamespace\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x1c\"\x17/v1beta/check-namespace:\x01*\x12k\n\tListUsers\x12\".core.mgmt.v1beta.ListUsersRequest\x1a#.core.mgmt.v1beta.ListUsersResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/v1beta/users\x12\x85\x01\n\x07GetUser\x12 .core.mgmt.v1beta.GetUserRequest\x1a!.core.mgmt.v1beta.GetUserResponse\"5\xda\x41\x04name\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x18\x12\x16/v1beta/{name=users/*}\x12\xae\x01\n\x16PatchAuthenticatedUser\x12/.core.mgmt.v1beta.PatchAuthenticatedUserRequest\x1a\x30.core.mgmt.v1beta.PatchAuthenticatedUserResponse\"1\xda\x41\x10user,update_mask\x82\xd3\xe4\x93\x02\x18\x32\x10/v1beta/users/me:\x04user\x12\xb9\x01\n\x13ListUserMemberships\x12,.core.mgmt.v1beta.ListUserMembershipsRequest\x1a-.core.mgmt.v1beta.ListUserMembershipsResponse\"E\xda\x41\x06parent\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02&\x12$/v1beta/{parent=users/*}/memberships\x12\xb1\x01\n\x11GetUserMembership\x12*.core.mgmt.v1beta.GetUserMembershipRequest\x1a+.core.mgmt.v1beta.GetUserMembershipResponse\"C\xda\x41\x04name\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02&\x12$/v1beta/{name=users/*/memberships/*}\x12\xe3\x01\n\x14UpdateUserMembership\x12-.core.mgmt.v1beta.UpdateUserMembershipRequest\x1a..core.mgmt.v1beta.UpdateUserMembershipResponse\"l\xda\x41\x16membership,update_mask\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02=\x1a//v1beta/{membership.name=users/*/memberships/*}:\nmembership\x12\xaa\x01\n\x14\x44\x65leteUserMembership\x12-.core.mgmt.v1beta.DeleteUserMembershipRequest\x1a..core.mgmt.v1beta.DeleteUserMembershipResponse\"3\xda\x41\x04name\x82\xd3\xe4\x93\x02&*$/v1beta/{name=users/*/memberships/*}\x12\x9b\x01\n\x11ListOrganizations\x12*.core.mgmt.v1beta.ListOrganizationsRequest\x1a+.core.mgmt.v1beta.ListOrganizationsResponse\"-\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x17\x12\x15/v1beta/organizations\x12\xbb\x01\n\x12\x43reateOrganization\x12+.core.mgmt.v1beta.CreateOrganizationRequest\x1a,.core.mgmt.v1beta.CreateOrganizationResponse\"J\xda\x41\x0corganization\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02%\"\x15/v1beta/organizations:\x0corganization\x12\xa5\x01\n\x0fGetOrganization\x12(.core.mgmt.v1beta.GetOrganizationRequest\x1a).core.mgmt.v1beta.GetOrganizationResponse\"=\xda\x41\x04name\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02 \x12\x1e/v1beta/{name=organizations/*}\x12\xdd\x01\n\x12UpdateOrganization\x12+.core.mgmt.v1beta.UpdateOrganizationRequest\x1a,.core.mgmt.v1beta.UpdateOrganizationResponse\"l\xda\x41\x18organization,update_mask\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02;2+/v1beta/{organization.name=organizations/*}:\x0corganization\x12\xae\x01\n\x12\x44\x65leteOrganization\x12+.core.mgmt.v1beta.DeleteOrganizationRequest\x1a,.core.mgmt.v1beta.DeleteOrganizationResponse\"=\xda\x41\x04name\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02 *\x1e/v1beta/{name=organizations/*}\x12\xd9\x01\n\x1bListOrganizationMemberships\x12\x34.core.mgmt.v1beta.ListOrganizationMembershipsRequest\x1a\x35.core.mgmt.v1beta.ListOrganizationMembershipsResponse\"M\xda\x41\x06parent\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02.\x12,/v1beta/{parent=organizations/*}/memberships\x12\xd1\x01\n\x19GetOrganizationMembership\x12\x32.core.mgmt.v1beta.GetOrganizationMembershipRequest\x1a\x33.core.mgmt.v1beta.GetOrganizationMembershipResponse\"K\xda\x41\x04name\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02.\x12,/v1beta/{name=organizations/*/memberships/*}\x12\x83\x02\n\x1cUpdateOrganizationMembership\x12\x35.core.mgmt.v1beta.UpdateOrganizationMembershipRequest\x1a\x36.core.mgmt.v1beta.UpdateOrganizationMembershipResponse\"t\xda\x41\x16membership,update_mask\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x45\x1a\x37/v1beta/{membership.name=organizations/*/memberships/*}:\nmembership\x12\xba\x01\n\x13GetUserSubscription\x12,.core.mgmt.v1beta.GetUserSubscriptionRequest\x1a-.core.mgmt.v1beta.GetUserSubscriptionResponse\"F\xda\x41\x06parent\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\'\x12%/v1beta/{parent=users/*}/subscription\x12\xda\x01\n\x1bGetOrganizationSubscription\x12\x34.core.mgmt.v1beta.GetOrganizationSubscriptionRequest\x1a\x35.core.mgmt.v1beta.GetOrganizationSubscriptionResponse\"N\xda\x41\x06parent\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02/\x12-/v1beta/{parent=organizations/*}/subscription\x12\x91\x01\n\x0b\x43reateToken\x12$.core.mgmt.v1beta.CreateTokenRequest\x1a%.core.mgmt.v1beta.CreateTokenResponse\"5\xda\x41\x05token\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x17\"\x0e/v1beta/tokens:\x05token\x12\x7f\n\nListTokens\x12#.core.mgmt.v1beta.ListTokensRequest\x1a$.core.mgmt.v1beta.ListTokensResponse\"&\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1beta/tokens\x12\x89\x01\n\x08GetToken\x12!.core.mgmt.v1beta.GetTokenRequest\x1a\".core.mgmt.v1beta.GetTokenResponse\"6\xda\x41\x04name\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x19\x12\x17/v1beta/{name=tokens/*}\x12\x92\x01\n\x0b\x44\x65leteToken\x12$.core.mgmt.v1beta.DeleteTokenRequest\x1a%.core.mgmt.v1beta.DeleteTokenResponse\"6\xda\x41\x04name\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x19*\x17/v1beta/{name=tokens/*}\x12\x90\x01\n\rValidateToken\x12&.core.mgmt.v1beta.ValidateTokenRequest\x1a\'.core.mgmt.v1beta.ValidateTokenResponse\".\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x18\"\x16/v1beta/validate_token\x12\xc6\x01\n\x1aListPipelineTriggerRecords\x12\x33.core.mgmt.v1beta.ListPipelineTriggerRecordsRequest\x1a\x34.core.mgmt.v1beta.ListPipelineTriggerRecordsResponse\"=\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\'\x12%/v1beta/metrics/vdp/pipeline/triggers\x12\xd3\x01\n\x1fListPipelineTriggerTableRecords\x12\x38.core.mgmt.v1beta.ListPipelineTriggerTableRecordsRequest\x1a\x39.core.mgmt.v1beta.ListPipelineTriggerTableRecordsResponse\";\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02%\x12#/v1beta/metrics/vdp/pipeline/tables\x12\xd3\x01\n\x1fListPipelineTriggerChartRecords\x12\x38.core.mgmt.v1beta.ListPipelineTriggerChartRecordsRequest\x1a\x39.core.mgmt.v1beta.ListPipelineTriggerChartRecordsResponse\";\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02%\x12#/v1beta/metrics/vdp/pipeline/charts\x12\xca\x01\n\x1bListConnectorExecuteRecords\x12\x34.core.mgmt.v1beta.ListConnectorExecuteRecordsRequest\x1a\x35.core.mgmt.v1beta.ListConnectorExecuteRecordsResponse\">\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02(\x12&/v1beta/metrics/vdp/connector/executes\x12\xd7\x01\n ListConnectorExecuteTableRecords\x12\x39.core.mgmt.v1beta.ListConnectorExecuteTableRecordsRequest\x1a:.core.mgmt.v1beta.ListConnectorExecuteTableRecordsResponse\"<\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02&\x12$/v1beta/metrics/vdp/connector/tables\x12\xd7\x01\n ListConnectorExecuteChartRecords\x12\x39.core.mgmt.v1beta.ListConnectorExecuteChartRecordsRequest\x1a:.core.mgmt.v1beta.ListConnectorExecuteChartRecordsResponse\"<\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02&\x12$/v1beta/metrics/vdp/connector/charts\x12\x9c\x01\n\x0f\x41uthTokenIssuer\x12(.core.mgmt.v1beta.AuthTokenIssuerRequest\x1a).core.mgmt.v1beta.AuthTokenIssuerResponse\"4\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x1e\"\x19/v1beta/auth/token_issuer:\x01*\x12\x80\x01\n\tAuthLogin\x12\".core.mgmt.v1beta.AuthLoginRequest\x1a#.core.mgmt.v1beta.AuthLoginResponse\"*\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x14\"\x12/v1beta/auth/login\x12\x84\x01\n\nAuthLogout\x12#.core.mgmt.v1beta.AuthLogoutRequest\x1a$.core.mgmt.v1beta.AuthLogoutResponse\"+\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x15\"\x13/v1beta/auth/logout\x12\xa8\x01\n\x12\x41uthChangePassword\x12+.core.mgmt.v1beta.AuthChangePasswordRequest\x1a,.core.mgmt.v1beta.AuthChangePasswordResponse\"7\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02!\"\x1c/v1beta/auth/change_password:\x01*\x12\xba\x01\n\x17\x41uthValidateAccessToken\x12\x30.core.mgmt.v1beta.AuthValidateAccessTokenRequest\x1a\x31.core.mgmt.v1beta.AuthValidateAccessTokenResponse\":\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02$\"\"/v1beta/auth/validate_access_token\x1a\x1a\x92\x41\x17\x12\x15Public Core endpointsB\xcf\x01\n\x14\x63om.core.mgmt.v1betaB\x16MgmtPublicServiceProtoP\x01Z=github.com/instill-ai/protogen-go/core/mgmt/v1beta;mgmtv1beta\xa2\x02\x03\x43MX\xaa\x02\x10\x43ore.Mgmt.V1beta\xca\x02\x10\x43ore\\Mgmt\\V1beta\xe2\x02\x1c\x43ore\\Mgmt\\V1beta\\GPBMetadata\xea\x02\x12\x43ore::Mgmt::V1betab\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*core/mgmt/v1beta/mgmt_public_service.proto\x12\x10\x63ore.mgmt.v1beta\x1a\x1d\x63ore/mgmt/v1beta/metric.proto\x1a\x1b\x63ore/mgmt/v1beta/mgmt.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1bgoogle/api/visibility.proto\x1a.protoc-gen-openapiv2/options/annotations.proto2\xb1\x34\n\x11MgmtPublicService\x12\xca\x01\n\x1c\x44\x65leteOrganizationMembership\x12\x35.core.mgmt.v1beta.DeleteOrganizationMembershipRequest\x1a\x36.core.mgmt.v1beta.DeleteOrganizationMembershipResponse\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1beta/{name=organizations/*/memberships/*}\x12\x94\x01\n\x08Liveness\x12!.core.mgmt.v1beta.LivenessRequest\x1a\".core.mgmt.v1beta.LivenessResponse\"A\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02+\x12\x12/v1beta/__livenessZ\x15\x12\x13/v1beta/health/mgmt\x12\x97\x01\n\tReadiness\x12\".core.mgmt.v1beta.ReadinessRequest\x1a#.core.mgmt.v1beta.ReadinessResponse\"A\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02+\x12\x13/v1beta/__readinessZ\x14\x12\x12/v1beta/ready/mgmt\x12\xa3\x01\n\x0e\x43heckNamespace\x12\'.core.mgmt.v1beta.CheckNamespaceRequest\x1a(.core.mgmt.v1beta.CheckNamespaceResponse\">\xda\x41\tnamespace\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x1c\"\x17/v1beta/check-namespace:\x01*\x12k\n\tListUsers\x12\".core.mgmt.v1beta.ListUsersRequest\x1a#.core.mgmt.v1beta.ListUsersResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/v1beta/users\x12\x85\x01\n\x07GetUser\x12 .core.mgmt.v1beta.GetUserRequest\x1a!.core.mgmt.v1beta.GetUserResponse\"5\xda\x41\x04name\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x18\x12\x16/v1beta/{name=users/*}\x12\xae\x01\n\x16PatchAuthenticatedUser\x12/.core.mgmt.v1beta.PatchAuthenticatedUserRequest\x1a\x30.core.mgmt.v1beta.PatchAuthenticatedUserResponse\"1\xda\x41\x10user,update_mask\x82\xd3\xe4\x93\x02\x18\x32\x10/v1beta/users/me:\x04user\x12\xb9\x01\n\x13ListUserMemberships\x12,.core.mgmt.v1beta.ListUserMembershipsRequest\x1a-.core.mgmt.v1beta.ListUserMembershipsResponse\"E\xda\x41\x06parent\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02&\x12$/v1beta/{parent=users/*}/memberships\x12\xb1\x01\n\x11GetUserMembership\x12*.core.mgmt.v1beta.GetUserMembershipRequest\x1a+.core.mgmt.v1beta.GetUserMembershipResponse\"C\xda\x41\x04name\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02&\x12$/v1beta/{name=users/*/memberships/*}\x12\xe3\x01\n\x14UpdateUserMembership\x12-.core.mgmt.v1beta.UpdateUserMembershipRequest\x1a..core.mgmt.v1beta.UpdateUserMembershipResponse\"l\xda\x41\x16membership,update_mask\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02=\x1a//v1beta/{membership.name=users/*/memberships/*}:\nmembership\x12\xaa\x01\n\x14\x44\x65leteUserMembership\x12-.core.mgmt.v1beta.DeleteUserMembershipRequest\x1a..core.mgmt.v1beta.DeleteUserMembershipResponse\"3\xda\x41\x04name\x82\xd3\xe4\x93\x02&*$/v1beta/{name=users/*/memberships/*}\x12\x9b\x01\n\x11ListOrganizations\x12*.core.mgmt.v1beta.ListOrganizationsRequest\x1a+.core.mgmt.v1beta.ListOrganizationsResponse\"-\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x17\x12\x15/v1beta/organizations\x12\xbb\x01\n\x12\x43reateOrganization\x12+.core.mgmt.v1beta.CreateOrganizationRequest\x1a,.core.mgmt.v1beta.CreateOrganizationResponse\"J\xda\x41\x0corganization\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02%\"\x15/v1beta/organizations:\x0corganization\x12\xa5\x01\n\x0fGetOrganization\x12(.core.mgmt.v1beta.GetOrganizationRequest\x1a).core.mgmt.v1beta.GetOrganizationResponse\"=\xda\x41\x04name\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02 \x12\x1e/v1beta/{name=organizations/*}\x12\xdd\x01\n\x12UpdateOrganization\x12+.core.mgmt.v1beta.UpdateOrganizationRequest\x1a,.core.mgmt.v1beta.UpdateOrganizationResponse\"l\xda\x41\x18organization,update_mask\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02;2+/v1beta/{organization.name=organizations/*}:\x0corganization\x12\xae\x01\n\x12\x44\x65leteOrganization\x12+.core.mgmt.v1beta.DeleteOrganizationRequest\x1a,.core.mgmt.v1beta.DeleteOrganizationResponse\"=\xda\x41\x04name\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02 *\x1e/v1beta/{name=organizations/*}\x12\xd9\x01\n\x1bListOrganizationMemberships\x12\x34.core.mgmt.v1beta.ListOrganizationMembershipsRequest\x1a\x35.core.mgmt.v1beta.ListOrganizationMembershipsResponse\"M\xda\x41\x06parent\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02.\x12,/v1beta/{parent=organizations/*}/memberships\x12\xd1\x01\n\x19GetOrganizationMembership\x12\x32.core.mgmt.v1beta.GetOrganizationMembershipRequest\x1a\x33.core.mgmt.v1beta.GetOrganizationMembershipResponse\"K\xda\x41\x04name\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02.\x12,/v1beta/{name=organizations/*/memberships/*}\x12\x83\x02\n\x1cUpdateOrganizationMembership\x12\x35.core.mgmt.v1beta.UpdateOrganizationMembershipRequest\x1a\x36.core.mgmt.v1beta.UpdateOrganizationMembershipResponse\"t\xda\x41\x16membership,update_mask\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x45\x1a\x37/v1beta/{membership.name=organizations/*/memberships/*}:\nmembership\x12\xba\x01\n\x13GetUserSubscription\x12,.core.mgmt.v1beta.GetUserSubscriptionRequest\x1a-.core.mgmt.v1beta.GetUserSubscriptionResponse\"F\xda\x41\x06parent\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\'\x12%/v1beta/{parent=users/*}/subscription\x12\xda\x01\n\x1bGetOrganizationSubscription\x12\x34.core.mgmt.v1beta.GetOrganizationSubscriptionRequest\x1a\x35.core.mgmt.v1beta.GetOrganizationSubscriptionResponse\"N\xda\x41\x06parent\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02/\x12-/v1beta/{parent=organizations/*}/subscription\x12\x91\x01\n\x0b\x43reateToken\x12$.core.mgmt.v1beta.CreateTokenRequest\x1a%.core.mgmt.v1beta.CreateTokenResponse\"5\xda\x41\x05token\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x17\"\x0e/v1beta/tokens:\x05token\x12\x7f\n\nListTokens\x12#.core.mgmt.v1beta.ListTokensRequest\x1a$.core.mgmt.v1beta.ListTokensResponse\"&\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1beta/tokens\x12\x89\x01\n\x08GetToken\x12!.core.mgmt.v1beta.GetTokenRequest\x1a\".core.mgmt.v1beta.GetTokenResponse\"6\xda\x41\x04name\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x19\x12\x17/v1beta/{name=tokens/*}\x12\x92\x01\n\x0b\x44\x65leteToken\x12$.core.mgmt.v1beta.DeleteTokenRequest\x1a%.core.mgmt.v1beta.DeleteTokenResponse\"6\xda\x41\x04name\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x19*\x17/v1beta/{name=tokens/*}\x12\x90\x01\n\rValidateToken\x12&.core.mgmt.v1beta.ValidateTokenRequest\x1a\'.core.mgmt.v1beta.ValidateTokenResponse\".\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x18\"\x16/v1beta/validate_token\x12\xc6\x01\n\x1aListPipelineTriggerRecords\x12\x33.core.mgmt.v1beta.ListPipelineTriggerRecordsRequest\x1a\x34.core.mgmt.v1beta.ListPipelineTriggerRecordsResponse\"=\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\'\x12%/v1beta/metrics/vdp/pipeline/triggers\x12\xd3\x01\n\x1fListPipelineTriggerTableRecords\x12\x38.core.mgmt.v1beta.ListPipelineTriggerTableRecordsRequest\x1a\x39.core.mgmt.v1beta.ListPipelineTriggerTableRecordsResponse\";\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02%\x12#/v1beta/metrics/vdp/pipeline/tables\x12\xd3\x01\n\x1fListPipelineTriggerChartRecords\x12\x38.core.mgmt.v1beta.ListPipelineTriggerChartRecordsRequest\x1a\x39.core.mgmt.v1beta.ListPipelineTriggerChartRecordsResponse\";\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02%\x12#/v1beta/metrics/vdp/pipeline/charts\x12\xca\x01\n\x1bListConnectorExecuteRecords\x12\x34.core.mgmt.v1beta.ListConnectorExecuteRecordsRequest\x1a\x35.core.mgmt.v1beta.ListConnectorExecuteRecordsResponse\">\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02(\x12&/v1beta/metrics/vdp/connector/executes\x12\xd7\x01\n ListConnectorExecuteTableRecords\x12\x39.core.mgmt.v1beta.ListConnectorExecuteTableRecordsRequest\x1a:.core.mgmt.v1beta.ListConnectorExecuteTableRecordsResponse\"<\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02&\x12$/v1beta/metrics/vdp/connector/tables\x12\xd7\x01\n ListConnectorExecuteChartRecords\x12\x39.core.mgmt.v1beta.ListConnectorExecuteChartRecordsRequest\x1a:.core.mgmt.v1beta.ListConnectorExecuteChartRecordsResponse\"<\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02&\x12$/v1beta/metrics/vdp/connector/charts\x12\x9c\x01\n\x0f\x41uthTokenIssuer\x12(.core.mgmt.v1beta.AuthTokenIssuerRequest\x1a).core.mgmt.v1beta.AuthTokenIssuerResponse\"4\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x1e\"\x19/v1beta/auth/token_issuer:\x01*\x12\x80\x01\n\tAuthLogin\x12\".core.mgmt.v1beta.AuthLoginRequest\x1a#.core.mgmt.v1beta.AuthLoginResponse\"*\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x14\"\x12/v1beta/auth/login\x12\x84\x01\n\nAuthLogout\x12#.core.mgmt.v1beta.AuthLogoutRequest\x1a$.core.mgmt.v1beta.AuthLogoutResponse\"+\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x15\"\x13/v1beta/auth/logout\x12\xa8\x01\n\x12\x41uthChangePassword\x12+.core.mgmt.v1beta.AuthChangePasswordRequest\x1a,.core.mgmt.v1beta.AuthChangePasswordResponse\"7\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02!\"\x1c/v1beta/auth/change_password:\x01*\x12\xba\x01\n\x17\x41uthValidateAccessToken\x12\x30.core.mgmt.v1beta.AuthValidateAccessTokenRequest\x1a\x31.core.mgmt.v1beta.AuthValidateAccessTokenResponse\":\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02$\"\"/v1beta/auth/validate_access_token\x1a\x1a\x92\x41\x17\x12\x15Public Core endpointsB\xcf\x01\n\x14\x63om.core.mgmt.v1betaB\x16MgmtPublicServiceProtoP\x01Z=github.com/instill-ai/protogen-go/core/mgmt/v1beta;mgmtv1beta\xa2\x02\x03\x43MX\xaa\x02\x10\x43ore.Mgmt.V1beta\xca\x02\x10\x43ore\\Mgmt\\V1beta\xe2\x02\x1c\x43ore\\Mgmt\\V1beta\\GPBMetadata\xea\x02\x12\x43ore::Mgmt::V1betab\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) diff --git a/core/usage/v1beta/usage_pb2.py b/core/usage/v1beta/usage_pb2.py index 76cc829..0ebfd3c 100644 --- a/core/usage/v1beta/usage_pb2.py +++ b/core/usage/v1beta/usage_pb2.py @@ -20,7 +20,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63ore/usage/v1beta/usage.proto\x12\x11\x63ore.usage.v1beta\x1a+common/healthcheck/v1beta/healthcheck.proto\x1a\x1e\x63ommon/task/v1alpha/task.proto\x1a\x1d\x63ore/mgmt/v1beta/metric.proto\x1a\x1b\x63ore/mgmt/v1beta/mgmt.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x96\x01\n\x0fLivenessRequest\x12j\n\x14health_check_request\x18\x01 \x01(\x0b\x32-.common.healthcheck.v1beta.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"v\n\x10LivenessResponse\x12\x62\n\x15health_check_response\x18\x01 \x01(\x0b\x32..common.healthcheck.v1beta.HealthCheckResponseR\x13healthCheckResponse\"\x97\x01\n\x10ReadinessRequest\x12j\n\x14health_check_request\x18\x01 \x01(\x0b\x32-.common.healthcheck.v1beta.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"w\n\x11ReadinessResponse\x12\x62\n\x15health_check_response\x18\x01 \x01(\x0b\x32..common.healthcheck.v1beta.HealthCheckResponseR\x13healthCheckResponse\"\xbe\x05\n\x07Session\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x04name\x12\x16\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03R\x03uid\x12\x42\n\x07service\x18\x03 \x01(\x0e\x32\".core.usage.v1beta.Session.ServiceB\x04\xe2\x41\x01\x02R\x07service\x12\x1e\n\x07\x65\x64ition\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02R\x07\x65\x64ition\x12\x1e\n\x07version\x18\x05 \x01(\tB\x04\xe2\x41\x01\x02R\x07version\x12\x18\n\x04\x61rch\x18\x06 \x01(\tB\x04\xe2\x41\x01\x02R\x04\x61rch\x12\x14\n\x02os\x18\x07 \x01(\tB\x04\xe2\x41\x01\x02R\x02os\x12\x1c\n\x06uptime\x18\x08 \x01(\x03\x42\x04\xe2\x41\x01\x02R\x06uptime\x12\x41\n\x0breport_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02R\nreportTime\x12\x1a\n\x05token\x18\n \x01(\tB\x04\xe2\x41\x01\x03R\x05token\x12\x41\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12\x41\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\nupdateTime\x12!\n\towner_uid\x18\r \x01(\tB\x04\xe2\x41\x01\x02R\x08ownerUid\"t\n\x07Service\x12\x17\n\x13SERVICE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSERVICE_MGMT\x10\x01\x12\x15\n\x11SERVICE_CONNECTOR\x10\x02\x12\x11\n\rSERVICE_MODEL\x10\x03\x12\x14\n\x10SERVICE_PIPELINE\x10\x04:1\xea\x41.\n\x18\x61pi.instill.tech/Session\x12\x12sessions/{session}\"?\n\rMgmtUsageData\x12.\n\x06usages\x18\x01 \x03(\x0b\x32\x16.core.mgmt.v1beta.UserR\x06usages\"\xe8\x05\n\x12\x43onnectorUsageData\x12K\n\x06usages\x18\x01 \x03(\x0b\x32\x33.core.usage.v1beta.ConnectorUsageData.UserUsageDataR\x06usages\x1a\x84\x05\n\rUserUsageData\x12!\n\towner_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x08ownerUid\x12\x84\x01\n\x16\x63onnector_execute_data\x18\x02 \x03(\x0b\x32H.core.usage.v1beta.ConnectorUsageData.UserUsageData.ConnectorExecuteDataB\x04\xe2\x41\x01\x02R\x14\x63onnectorExecuteData\x12@\n\nowner_type\x18\x03 \x01(\x0e\x32\x1b.core.mgmt.v1beta.OwnerTypeB\x04\xe2\x41\x01\x02R\townerType\x1a\x86\x03\n\x14\x43onnectorExecuteData\x12)\n\rconnector_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0c\x63onnectorUid\x12%\n\x0b\x65xecute_uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\nexecuteUid\x12\x43\n\x0c\x65xecute_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02R\x0b\x65xecuteTime\x12>\n\x18\x63onnector_definition_uid\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02R\x16\x63onnectorDefinitionUid\x12\x36\n\x06status\x18\x05 \x01(\x0e\x32\x18.core.mgmt.v1beta.StatusB\x04\xe2\x41\x01\x02R\x06status\x12\x1f\n\x08user_uid\x18\x08 \x01(\tB\x04\xe2\x41\x01\x02R\x07userUid\x12>\n\tuser_type\x18\t \x01(\x0e\x32\x1b.core.mgmt.v1beta.OwnerTypeB\x04\xe2\x41\x01\x02R\x08userType\"\xfb\x05\n\x0eModelUsageData\x12G\n\x06usages\x18\x01 \x03(\x0b\x32/.core.usage.v1beta.ModelUsageData.UserUsageDataR\x06usages\x1a\x9f\x05\n\rUserUsageData\x12!\n\towner_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x08ownerUid\x12t\n\x12model_trigger_data\x18\x02 \x03(\x0b\x32@.core.usage.v1beta.ModelUsageData.UserUsageData.ModelTriggerDataB\x04\xe2\x41\x01\x02R\x10modelTriggerData\x12@\n\nowner_type\x18\x03 \x01(\x0e\x32\x1b.core.mgmt.v1beta.OwnerTypeB\x04\xe2\x41\x01\x02R\townerType\x1a\xb2\x03\n\x10ModelTriggerData\x12!\n\tmodel_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x08modelUid\x12%\n\x0btrigger_uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\ntriggerUid\x12\x43\n\x0ctrigger_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02R\x0btriggerTime\x12\x36\n\x14model_definition_uid\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02R\x12modelDefinitionUid\x12>\n\nmodel_task\x18\x05 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x02R\tmodelTask\x12\x36\n\x06status\x18\x06 \x01(\x0e\x32\x18.core.mgmt.v1beta.StatusB\x04\xe2\x41\x01\x02R\x06status\x12\x1f\n\x08user_uid\x18\x07 \x01(\tB\x04\xe2\x41\x01\x02R\x07userUid\x12>\n\tuser_type\x18\x08 \x01(\x0e\x32\x1b.core.mgmt.v1beta.OwnerTypeB\x04\xe2\x41\x01\x02R\x08userType\"\xce\x06\n\x11PipelineUsageData\x12J\n\x06usages\x18\x01 \x03(\x0b\x32\x32.core.usage.v1beta.PipelineUsageData.UserUsageDataR\x06usages\x1a\xec\x05\n\rUserUsageData\x12!\n\towner_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x08ownerUid\x12\x80\x01\n\x15pipeline_trigger_data\x18\x02 \x03(\x0b\x32\x46.core.usage.v1beta.PipelineUsageData.UserUsageData.PipelineTriggerDataB\x04\xe2\x41\x01\x02R\x13pipelineTriggerData\x12@\n\nowner_type\x18\x03 \x01(\x0e\x32\x1b.core.mgmt.v1beta.OwnerTypeB\x04\xe2\x41\x01\x02R\townerType\x1a\xf2\x03\n\x13PipelineTriggerData\x12\'\n\x0cpipeline_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0bpipelineUid\x12%\n\x0btrigger_uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\ntriggerUid\x12\x43\n\x0ctrigger_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02R\x0btriggerTime\x12?\n\x0ctrigger_mode\x18\x04 \x01(\x0e\x32\x16.core.mgmt.v1beta.ModeB\x04\xe2\x41\x01\x02R\x0btriggerMode\x12\x36\n\x06status\x18\x05 \x01(\x0e\x32\x18.core.mgmt.v1beta.StatusB\x04\xe2\x41\x01\x02R\x06status\x12\x34\n\x13pipeline_release_id\x18\x06 \x01(\tB\x04\xe2\x41\x01\x02R\x11pipelineReleaseId\x12\x36\n\x14pipeline_release_uid\x18\x07 \x01(\tB\x04\xe2\x41\x01\x02R\x12pipelineReleaseUid\x12\x1f\n\x08user_uid\x18\x08 \x01(\tB\x04\xe2\x41\x01\x02R\x07userUid\x12>\n\tuser_type\x18\t \x01(\x0e\x32\x1b.core.mgmt.v1beta.OwnerTypeB\x04\xe2\x41\x01\x02R\x08userType\"\x82\x04\n\rSessionReport\x12%\n\x0bsession_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\nsessionUid\x12\x1a\n\x05token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\x05token\x12\x16\n\x03pow\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02R\x03pow\x12:\n\x07session\x18\x04 \x01(\x0b\x32\x1a.core.usage.v1beta.SessionB\x04\xe2\x41\x01\x02R\x07session\x12J\n\x0fmgmt_usage_data\x18\x05 \x01(\x0b\x32 .core.usage.v1beta.MgmtUsageDataH\x00R\rmgmtUsageData\x12Y\n\x14\x63onnector_usage_data\x18\x06 \x01(\x0b\x32%.core.usage.v1beta.ConnectorUsageDataH\x00R\x12\x63onnectorUsageData\x12M\n\x10model_usage_data\x18\x07 \x01(\x0b\x32!.core.usage.v1beta.ModelUsageDataH\x00R\x0emodelUsageData\x12V\n\x13pipeline_usage_data\x18\x08 \x01(\x0b\x32$.core.usage.v1beta.PipelineUsageDataH\x00R\x11pipelineUsageDataB\x0c\n\nusage_data\"R\n\x14\x43reateSessionRequest\x12:\n\x07session\x18\x01 \x01(\x0b\x32\x1a.core.usage.v1beta.SessionB\x04\xe2\x41\x01\x02R\x07session\"M\n\x15\x43reateSessionResponse\x12\x34\n\x07session\x18\x01 \x01(\x0b\x32\x1a.core.usage.v1beta.SessionR\x07session\"Z\n\x18SendSessionReportRequest\x12>\n\x06report\x18\x01 \x01(\x0b\x32 .core.usage.v1beta.SessionReportB\x04\xe2\x41\x01\x02R\x06report\"\x1b\n\x19SendSessionReportResponseB\xca\x01\n\x15\x63om.core.usage.v1betaB\nUsageProtoP\x01Z?github.com/instill-ai/protogen-go/core/usage/v1beta;usagev1beta\xa2\x02\x03\x43UX\xaa\x02\x11\x43ore.Usage.V1beta\xca\x02\x11\x43ore\\Usage\\V1beta\xe2\x02\x1d\x43ore\\Usage\\V1beta\\GPBMetadata\xea\x02\x13\x43ore::Usage::V1betab\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63ore/usage/v1beta/usage.proto\x12\x11\x63ore.usage.v1beta\x1a+common/healthcheck/v1beta/healthcheck.proto\x1a\x1e\x63ommon/task/v1alpha/task.proto\x1a\x1d\x63ore/mgmt/v1beta/metric.proto\x1a\x1b\x63ore/mgmt/v1beta/mgmt.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x96\x01\n\x0fLivenessRequest\x12j\n\x14health_check_request\x18\x01 \x01(\x0b\x32-.common.healthcheck.v1beta.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"v\n\x10LivenessResponse\x12\x62\n\x15health_check_response\x18\x01 \x01(\x0b\x32..common.healthcheck.v1beta.HealthCheckResponseR\x13healthCheckResponse\"\x97\x01\n\x10ReadinessRequest\x12j\n\x14health_check_request\x18\x01 \x01(\x0b\x32-.common.healthcheck.v1beta.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"w\n\x11ReadinessResponse\x12\x62\n\x15health_check_response\x18\x01 \x01(\x0b\x32..common.healthcheck.v1beta.HealthCheckResponseR\x13healthCheckResponse\"\xbe\x05\n\x07Session\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x04name\x12\x16\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03R\x03uid\x12\x42\n\x07service\x18\x03 \x01(\x0e\x32\".core.usage.v1beta.Session.ServiceB\x04\xe2\x41\x01\x02R\x07service\x12\x1e\n\x07\x65\x64ition\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02R\x07\x65\x64ition\x12\x1e\n\x07version\x18\x05 \x01(\tB\x04\xe2\x41\x01\x02R\x07version\x12\x18\n\x04\x61rch\x18\x06 \x01(\tB\x04\xe2\x41\x01\x02R\x04\x61rch\x12\x14\n\x02os\x18\x07 \x01(\tB\x04\xe2\x41\x01\x02R\x02os\x12\x1c\n\x06uptime\x18\x08 \x01(\x03\x42\x04\xe2\x41\x01\x02R\x06uptime\x12\x41\n\x0breport_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02R\nreportTime\x12\x1a\n\x05token\x18\n \x01(\tB\x04\xe2\x41\x01\x03R\x05token\x12\x41\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12\x41\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\nupdateTime\x12!\n\towner_uid\x18\r \x01(\tB\x04\xe2\x41\x01\x02R\x08ownerUid\"t\n\x07Service\x12\x17\n\x13SERVICE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSERVICE_MGMT\x10\x01\x12\x15\n\x11SERVICE_CONNECTOR\x10\x02\x12\x11\n\rSERVICE_MODEL\x10\x03\x12\x14\n\x10SERVICE_PIPELINE\x10\x04:1\xea\x41.\n\x18\x61pi.instill.tech/Session\x12\x12sessions/{session}\"\x87\x01\n\rMgmtUsageData\x12\x37\n\x0buser_usages\x18\x01 \x03(\x0b\x32\x16.core.mgmt.v1beta.UserR\nuserUsages\x12=\n\norg_usages\x18\x02 \x03(\x0b\x32\x1e.core.mgmt.v1beta.OrganizationR\torgUsages\"\xe8\x05\n\x12\x43onnectorUsageData\x12K\n\x06usages\x18\x01 \x03(\x0b\x32\x33.core.usage.v1beta.ConnectorUsageData.UserUsageDataR\x06usages\x1a\x84\x05\n\rUserUsageData\x12!\n\towner_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x08ownerUid\x12\x84\x01\n\x16\x63onnector_execute_data\x18\x02 \x03(\x0b\x32H.core.usage.v1beta.ConnectorUsageData.UserUsageData.ConnectorExecuteDataB\x04\xe2\x41\x01\x02R\x14\x63onnectorExecuteData\x12@\n\nowner_type\x18\x03 \x01(\x0e\x32\x1b.core.mgmt.v1beta.OwnerTypeB\x04\xe2\x41\x01\x02R\townerType\x1a\x86\x03\n\x14\x43onnectorExecuteData\x12)\n\rconnector_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0c\x63onnectorUid\x12%\n\x0b\x65xecute_uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\nexecuteUid\x12\x43\n\x0c\x65xecute_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02R\x0b\x65xecuteTime\x12>\n\x18\x63onnector_definition_uid\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02R\x16\x63onnectorDefinitionUid\x12\x36\n\x06status\x18\x05 \x01(\x0e\x32\x18.core.mgmt.v1beta.StatusB\x04\xe2\x41\x01\x02R\x06status\x12\x1f\n\x08user_uid\x18\x08 \x01(\tB\x04\xe2\x41\x01\x02R\x07userUid\x12>\n\tuser_type\x18\t \x01(\x0e\x32\x1b.core.mgmt.v1beta.OwnerTypeB\x04\xe2\x41\x01\x02R\x08userType\"\xfb\x05\n\x0eModelUsageData\x12G\n\x06usages\x18\x01 \x03(\x0b\x32/.core.usage.v1beta.ModelUsageData.UserUsageDataR\x06usages\x1a\x9f\x05\n\rUserUsageData\x12!\n\towner_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x08ownerUid\x12t\n\x12model_trigger_data\x18\x02 \x03(\x0b\x32@.core.usage.v1beta.ModelUsageData.UserUsageData.ModelTriggerDataB\x04\xe2\x41\x01\x02R\x10modelTriggerData\x12@\n\nowner_type\x18\x03 \x01(\x0e\x32\x1b.core.mgmt.v1beta.OwnerTypeB\x04\xe2\x41\x01\x02R\townerType\x1a\xb2\x03\n\x10ModelTriggerData\x12!\n\tmodel_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x08modelUid\x12%\n\x0btrigger_uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\ntriggerUid\x12\x43\n\x0ctrigger_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02R\x0btriggerTime\x12\x36\n\x14model_definition_uid\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02R\x12modelDefinitionUid\x12>\n\nmodel_task\x18\x05 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x02R\tmodelTask\x12\x36\n\x06status\x18\x06 \x01(\x0e\x32\x18.core.mgmt.v1beta.StatusB\x04\xe2\x41\x01\x02R\x06status\x12\x1f\n\x08user_uid\x18\x07 \x01(\tB\x04\xe2\x41\x01\x02R\x07userUid\x12>\n\tuser_type\x18\x08 \x01(\x0e\x32\x1b.core.mgmt.v1beta.OwnerTypeB\x04\xe2\x41\x01\x02R\x08userType\"\xf5\x06\n\x11PipelineUsageData\x12J\n\x06usages\x18\x01 \x03(\x0b\x32\x32.core.usage.v1beta.PipelineUsageData.UserUsageDataR\x06usages\x1a\x93\x06\n\rUserUsageData\x12!\n\towner_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x08ownerUid\x12\x80\x01\n\x15pipeline_trigger_data\x18\x02 \x03(\x0b\x32\x46.core.usage.v1beta.PipelineUsageData.UserUsageData.PipelineTriggerDataB\x04\xe2\x41\x01\x02R\x13pipelineTriggerData\x12@\n\nowner_type\x18\x03 \x01(\x0e\x32\x1b.core.mgmt.v1beta.OwnerTypeB\x04\xe2\x41\x01\x02R\townerType\x1a\x99\x04\n\x13PipelineTriggerData\x12\'\n\x0cpipeline_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0bpipelineUid\x12%\n\x0btrigger_uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\ntriggerUid\x12\x43\n\x0ctrigger_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02R\x0btriggerTime\x12?\n\x0ctrigger_mode\x18\x04 \x01(\x0e\x32\x16.core.mgmt.v1beta.ModeB\x04\xe2\x41\x01\x02R\x0btriggerMode\x12\x36\n\x06status\x18\x05 \x01(\x0e\x32\x18.core.mgmt.v1beta.StatusB\x04\xe2\x41\x01\x02R\x06status\x12\x34\n\x13pipeline_release_id\x18\x06 \x01(\tB\x04\xe2\x41\x01\x02R\x11pipelineReleaseId\x12\x36\n\x14pipeline_release_uid\x18\x07 \x01(\tB\x04\xe2\x41\x01\x02R\x12pipelineReleaseUid\x12\x1f\n\x08user_uid\x18\x08 \x01(\tB\x04\xe2\x41\x01\x02R\x07userUid\x12>\n\tuser_type\x18\t \x01(\x0e\x32\x1b.core.mgmt.v1beta.OwnerTypeB\x04\xe2\x41\x01\x02R\x08userType\x12%\n\x0bpipeline_id\x18\n \x01(\tB\x04\xe2\x41\x01\x02R\npipelineId\"\x82\x04\n\rSessionReport\x12%\n\x0bsession_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\nsessionUid\x12\x1a\n\x05token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\x05token\x12\x16\n\x03pow\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02R\x03pow\x12:\n\x07session\x18\x04 \x01(\x0b\x32\x1a.core.usage.v1beta.SessionB\x04\xe2\x41\x01\x02R\x07session\x12J\n\x0fmgmt_usage_data\x18\x05 \x01(\x0b\x32 .core.usage.v1beta.MgmtUsageDataH\x00R\rmgmtUsageData\x12Y\n\x14\x63onnector_usage_data\x18\x06 \x01(\x0b\x32%.core.usage.v1beta.ConnectorUsageDataH\x00R\x12\x63onnectorUsageData\x12M\n\x10model_usage_data\x18\x07 \x01(\x0b\x32!.core.usage.v1beta.ModelUsageDataH\x00R\x0emodelUsageData\x12V\n\x13pipeline_usage_data\x18\x08 \x01(\x0b\x32$.core.usage.v1beta.PipelineUsageDataH\x00R\x11pipelineUsageDataB\x0c\n\nusage_data\"R\n\x14\x43reateSessionRequest\x12:\n\x07session\x18\x01 \x01(\x0b\x32\x1a.core.usage.v1beta.SessionB\x04\xe2\x41\x01\x02R\x07session\"M\n\x15\x43reateSessionResponse\x12\x34\n\x07session\x18\x01 \x01(\x0b\x32\x1a.core.usage.v1beta.SessionR\x07session\"Z\n\x18SendSessionReportRequest\x12>\n\x06report\x18\x01 \x01(\x0b\x32 .core.usage.v1beta.SessionReportB\x04\xe2\x41\x01\x02R\x06report\"\x1b\n\x19SendSessionReportResponseB\xca\x01\n\x15\x63om.core.usage.v1betaB\nUsageProtoP\x01Z?github.com/instill-ai/protogen-go/core/usage/v1beta;usagev1beta\xa2\x02\x03\x43UX\xaa\x02\x11\x43ore.Usage.V1beta\xca\x02\x11\x43ore\\Usage\\V1beta\xe2\x02\x1d\x43ore\\Usage\\V1beta\\GPBMetadata\xea\x02\x13\x43ore::Usage::V1betab\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -121,6 +121,8 @@ _PIPELINEUSAGEDATA_USERUSAGEDATA_PIPELINETRIGGERDATA.fields_by_name['user_uid']._serialized_options = b'\342A\001\002' _PIPELINEUSAGEDATA_USERUSAGEDATA_PIPELINETRIGGERDATA.fields_by_name['user_type']._options = None _PIPELINEUSAGEDATA_USERUSAGEDATA_PIPELINETRIGGERDATA.fields_by_name['user_type']._serialized_options = b'\342A\001\002' + _PIPELINEUSAGEDATA_USERUSAGEDATA_PIPELINETRIGGERDATA.fields_by_name['pipeline_id']._options = None + _PIPELINEUSAGEDATA_USERUSAGEDATA_PIPELINETRIGGERDATA.fields_by_name['pipeline_id']._serialized_options = b'\342A\001\002' _PIPELINEUSAGEDATA_USERUSAGEDATA.fields_by_name['owner_uid']._options = None _PIPELINEUSAGEDATA_USERUSAGEDATA.fields_by_name['owner_uid']._serialized_options = b'\342A\001\002' _PIPELINEUSAGEDATA_USERUSAGEDATA.fields_by_name['pipeline_trigger_data']._options = None @@ -151,34 +153,34 @@ _globals['_SESSION']._serialized_end=1533 _globals['_SESSION_SERVICE']._serialized_start=1366 _globals['_SESSION_SERVICE']._serialized_end=1482 - _globals['_MGMTUSAGEDATA']._serialized_start=1535 - _globals['_MGMTUSAGEDATA']._serialized_end=1598 - _globals['_CONNECTORUSAGEDATA']._serialized_start=1601 - _globals['_CONNECTORUSAGEDATA']._serialized_end=2345 - _globals['_CONNECTORUSAGEDATA_USERUSAGEDATA']._serialized_start=1701 - _globals['_CONNECTORUSAGEDATA_USERUSAGEDATA']._serialized_end=2345 - _globals['_CONNECTORUSAGEDATA_USERUSAGEDATA_CONNECTOREXECUTEDATA']._serialized_start=1955 - _globals['_CONNECTORUSAGEDATA_USERUSAGEDATA_CONNECTOREXECUTEDATA']._serialized_end=2345 - _globals['_MODELUSAGEDATA']._serialized_start=2348 - _globals['_MODELUSAGEDATA']._serialized_end=3111 - _globals['_MODELUSAGEDATA_USERUSAGEDATA']._serialized_start=2440 - _globals['_MODELUSAGEDATA_USERUSAGEDATA']._serialized_end=3111 - _globals['_MODELUSAGEDATA_USERUSAGEDATA_MODELTRIGGERDATA']._serialized_start=2677 - _globals['_MODELUSAGEDATA_USERUSAGEDATA_MODELTRIGGERDATA']._serialized_end=3111 - _globals['_PIPELINEUSAGEDATA']._serialized_start=3114 - _globals['_PIPELINEUSAGEDATA']._serialized_end=3960 - _globals['_PIPELINEUSAGEDATA_USERUSAGEDATA']._serialized_start=3212 - _globals['_PIPELINEUSAGEDATA_USERUSAGEDATA']._serialized_end=3960 - _globals['_PIPELINEUSAGEDATA_USERUSAGEDATA_PIPELINETRIGGERDATA']._serialized_start=3462 - _globals['_PIPELINEUSAGEDATA_USERUSAGEDATA_PIPELINETRIGGERDATA']._serialized_end=3960 - _globals['_SESSIONREPORT']._serialized_start=3963 - _globals['_SESSIONREPORT']._serialized_end=4477 - _globals['_CREATESESSIONREQUEST']._serialized_start=4479 - _globals['_CREATESESSIONREQUEST']._serialized_end=4561 - _globals['_CREATESESSIONRESPONSE']._serialized_start=4563 - _globals['_CREATESESSIONRESPONSE']._serialized_end=4640 - _globals['_SENDSESSIONREPORTREQUEST']._serialized_start=4642 - _globals['_SENDSESSIONREPORTREQUEST']._serialized_end=4732 - _globals['_SENDSESSIONREPORTRESPONSE']._serialized_start=4734 - _globals['_SENDSESSIONREPORTRESPONSE']._serialized_end=4761 + _globals['_MGMTUSAGEDATA']._serialized_start=1536 + _globals['_MGMTUSAGEDATA']._serialized_end=1671 + _globals['_CONNECTORUSAGEDATA']._serialized_start=1674 + _globals['_CONNECTORUSAGEDATA']._serialized_end=2418 + _globals['_CONNECTORUSAGEDATA_USERUSAGEDATA']._serialized_start=1774 + _globals['_CONNECTORUSAGEDATA_USERUSAGEDATA']._serialized_end=2418 + _globals['_CONNECTORUSAGEDATA_USERUSAGEDATA_CONNECTOREXECUTEDATA']._serialized_start=2028 + _globals['_CONNECTORUSAGEDATA_USERUSAGEDATA_CONNECTOREXECUTEDATA']._serialized_end=2418 + _globals['_MODELUSAGEDATA']._serialized_start=2421 + _globals['_MODELUSAGEDATA']._serialized_end=3184 + _globals['_MODELUSAGEDATA_USERUSAGEDATA']._serialized_start=2513 + _globals['_MODELUSAGEDATA_USERUSAGEDATA']._serialized_end=3184 + _globals['_MODELUSAGEDATA_USERUSAGEDATA_MODELTRIGGERDATA']._serialized_start=2750 + _globals['_MODELUSAGEDATA_USERUSAGEDATA_MODELTRIGGERDATA']._serialized_end=3184 + _globals['_PIPELINEUSAGEDATA']._serialized_start=3187 + _globals['_PIPELINEUSAGEDATA']._serialized_end=4072 + _globals['_PIPELINEUSAGEDATA_USERUSAGEDATA']._serialized_start=3285 + _globals['_PIPELINEUSAGEDATA_USERUSAGEDATA']._serialized_end=4072 + _globals['_PIPELINEUSAGEDATA_USERUSAGEDATA_PIPELINETRIGGERDATA']._serialized_start=3535 + _globals['_PIPELINEUSAGEDATA_USERUSAGEDATA_PIPELINETRIGGERDATA']._serialized_end=4072 + _globals['_SESSIONREPORT']._serialized_start=4075 + _globals['_SESSIONREPORT']._serialized_end=4589 + _globals['_CREATESESSIONREQUEST']._serialized_start=4591 + _globals['_CREATESESSIONREQUEST']._serialized_end=4673 + _globals['_CREATESESSIONRESPONSE']._serialized_start=4675 + _globals['_CREATESESSIONRESPONSE']._serialized_end=4752 + _globals['_SENDSESSIONREPORTREQUEST']._serialized_start=4754 + _globals['_SENDSESSIONREPORTREQUEST']._serialized_end=4844 + _globals['_SENDSESSIONREPORTRESPONSE']._serialized_start=4846 + _globals['_SENDSESSIONREPORTRESPONSE']._serialized_end=4873 # @@protoc_insertion_point(module_scope) diff --git a/core/usage/v1beta/usage_pb2.pyi b/core/usage/v1beta/usage_pb2.pyi index a5f3168..250451f 100644 --- a/core/usage/v1beta/usage_pb2.pyi +++ b/core/usage/v1beta/usage_pb2.pyi @@ -217,16 +217,21 @@ class MgmtUsageData(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - USAGES_FIELD_NUMBER: builtins.int + USER_USAGES_FIELD_NUMBER: builtins.int + ORG_USAGES_FIELD_NUMBER: builtins.int @property - def usages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[core.mgmt.v1beta.mgmt_pb2.User]: + def user_usages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[core.mgmt.v1beta.mgmt_pb2.User]: """Repeated user usage data""" + @property + def org_usages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[core.mgmt.v1beta.mgmt_pb2.Organization]: + """Repeated org usage data""" def __init__( self, *, - usages: collections.abc.Iterable[core.mgmt.v1beta.mgmt_pb2.User] | None = ..., + user_usages: collections.abc.Iterable[core.mgmt.v1beta.mgmt_pb2.User] | None = ..., + org_usages: collections.abc.Iterable[core.mgmt.v1beta.mgmt_pb2.Organization] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["usages", b"usages"]) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["org_usages", b"org_usages", "user_usages", b"user_usages"]) -> None: ... global___MgmtUsageData = MgmtUsageData @@ -433,6 +438,7 @@ class PipelineUsageData(google.protobuf.message.Message): PIPELINE_RELEASE_UID_FIELD_NUMBER: builtins.int USER_UID_FIELD_NUMBER: builtins.int USER_TYPE_FIELD_NUMBER: builtins.int + PIPELINE_ID_FIELD_NUMBER: builtins.int pipeline_uid: builtins.str """UID for the triggered pipeline""" trigger_uid: builtins.str @@ -452,6 +458,8 @@ class PipelineUsageData(google.protobuf.message.Message): """UUID of the user who trigger the pipeline""" user_type: core.mgmt.v1beta.mgmt_pb2.OwnerType.ValueType """Type of the user who trigger the pipeline""" + pipeline_id: builtins.str + """ID for the triggered pipeline""" def __init__( self, *, @@ -464,9 +472,10 @@ class PipelineUsageData(google.protobuf.message.Message): pipeline_release_uid: builtins.str = ..., user_uid: builtins.str = ..., user_type: core.mgmt.v1beta.mgmt_pb2.OwnerType.ValueType = ..., + pipeline_id: builtins.str = ..., ) -> None: ... def HasField(self, field_name: typing_extensions.Literal["trigger_time", b"trigger_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["pipeline_release_id", b"pipeline_release_id", "pipeline_release_uid", b"pipeline_release_uid", "pipeline_uid", b"pipeline_uid", "status", b"status", "trigger_mode", b"trigger_mode", "trigger_time", b"trigger_time", "trigger_uid", b"trigger_uid", "user_type", b"user_type", "user_uid", b"user_uid"]) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["pipeline_id", b"pipeline_id", "pipeline_release_id", b"pipeline_release_id", "pipeline_release_uid", b"pipeline_release_uid", "pipeline_uid", b"pipeline_uid", "status", b"status", "trigger_mode", b"trigger_mode", "trigger_time", b"trigger_time", "trigger_uid", b"trigger_uid", "user_type", b"user_type", "user_uid", b"user_uid"]) -> None: ... OWNER_UID_FIELD_NUMBER: builtins.int PIPELINE_TRIGGER_DATA_FIELD_NUMBER: builtins.int diff --git a/model/model/v1alpha/model_pb2.py b/model/model/v1alpha/model_pb2.py index c939909..d249abf 100644 --- a/model/model/v1alpha/model_pb2.py +++ b/model/model/v1alpha/model_pb2.py @@ -11,15 +11,14 @@ _sym_db = _symbol_database.Default() +from common.healthcheck.v1beta import healthcheck_pb2 as common_dot_healthcheck_dot_v1beta_dot_healthcheck__pb2 +from common.task.v1alpha import task_pb2 as common_dot_task_dot_v1alpha_dot_task__pb2 from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.longrunning import operations_pb2 as google_dot_longrunning_dot_operations__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2 -from common.healthcheck.v1beta import healthcheck_pb2 as common_dot_healthcheck_dot_v1beta_dot_healthcheck__pb2 -from common.task.v1alpha import task_pb2 as common_dot_task_dot_v1alpha_dot_task__pb2 from model.model.v1alpha import model_definition_pb2 as model_dot_model_dot_v1alpha_dot_model__definition__pb2 from model.model.v1alpha import task_classification_pb2 as model_dot_model_dot_v1alpha_dot_task__classification__pb2 from model.model.v1alpha import task_detection_pb2 as model_dot_model_dot_v1alpha_dot_task__detection__pb2 @@ -33,9 +32,10 @@ from model.model.v1alpha import task_text_to_image_pb2 as model_dot_model_dot_v1alpha_dot_task__text__to__image__pb2 from model.model.v1alpha import task_unspecified_pb2 as model_dot_model_dot_v1alpha_dot_task__unspecified__pb2 from model.model.v1alpha import task_visual_question_answering_pb2 as model_dot_model_dot_v1alpha_dot_task__visual__question__answering__pb2 +from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fmodel/model/v1alpha/model.proto\x12\x13model.model.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a+common/healthcheck/v1beta/healthcheck.proto\x1a\x1e\x63ommon/task/v1alpha/task.proto\x1a*model/model/v1alpha/model_definition.proto\x1a-model/model/v1alpha/task_classification.proto\x1a(model/model/v1alpha/task_detection.proto\x1a-model/model/v1alpha/task_image_to_image.proto\x1a\x34model/model/v1alpha/task_instance_segmentation.proto\x1a\'model/model/v1alpha/task_keypoint.proto\x1a\"model/model/v1alpha/task_ocr.proto\x1a\x34model/model/v1alpha/task_semantic_segmentation.proto\x1a.model/model/v1alpha/task_text_generation.proto\x1a\x33model/model/v1alpha/task_text_generation_chat.proto\x1a,model/model/v1alpha/task_text_to_image.proto\x1a*model/model/v1alpha/task_unspecified.proto\x1a\x38model/model/v1alpha/task_visual_question_answering.proto\"\x96\x01\n\x0fLivenessRequest\x12j\n\x14health_check_request\x18\x01 \x01(\x0b\x32-.common.healthcheck.v1beta.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"v\n\x10LivenessResponse\x12\x62\n\x15health_check_response\x18\x01 \x01(\x0b\x32..common.healthcheck.v1beta.HealthCheckResponseR\x13healthCheckResponse\"\x97\x01\n\x10ReadinessRequest\x12j\n\x14health_check_request\x18\x01 \x01(\x0b\x32-.common.healthcheck.v1beta.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"w\n\x11ReadinessResponse\x12\x62\n\x15health_check_response\x18\x01 \x01(\x0b\x32..common.healthcheck.v1beta.HealthCheckResponseR\x13healthCheckResponse\"\xa0\x08\n\x05Model\x12+\n\x04name\x18\x01 \x01(\tB\x17\x92\x41\x10\xca>\r\xfa\x02\nmodel_name\xe2\x41\x01\x03R\x04name\x12\x16\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03R\x03uid\x12\x14\n\x02id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x05R\x02id\x12+\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x00R\x0b\x64\x65scription\x88\x01\x01\x12T\n\x10model_definition\x18\x05 \x01(\tB)\xe2\x41\x01\x05\xfa\x41\"\n api.instill.tech/ModelDefinitionR\x0fmodelDefinition\x12\x43\n\rconfiguration\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x05R\rconfiguration\x12\x33\n\x04task\x18\x07 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x03R\x04task\x12<\n\x05state\x18\x08 \x01(\x0e\x32 .model.model.v1alpha.Model.StateB\x04\xe2\x41\x01\x03R\x05state\x12K\n\nvisibility\x18\t \x01(\x0e\x32%.model.model.v1alpha.Model.VisibilityB\x04\xe2\x41\x01\x03R\nvisibility\x12\x41\n\x0b\x63reate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12\x41\n\x0bupdate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\nupdateTime\x12\x41\n\x0b\x64\x65lete_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ndeleteTime\x12#\n\nowner_name\x18\x0f \x01(\tB\x04\xe2\x41\x01\x03R\townerName\x12\x33\n\x05owner\x18\x10 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x03R\x05owner\"W\n\nVisibility\x12\x1a\n\x16VISIBILITY_UNSPECIFIED\x10\x00\x12\x16\n\x12VISIBILITY_PRIVATE\x10\x01\x12\x15\n\x11VISIBILITY_PUBLIC\x10\x02\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_OFFLINE\x10\x01\x12\x10\n\x0cSTATE_ONLINE\x10\x02\x12\x0f\n\x0bSTATE_ERROR\x10\x03:R\xea\x41O\n\x16\x61pi.instill.tech/Model\x12!users/{user.id}/models/{model.id}\x12\x12models/{model.uid}B\x0e\n\x0c_description\"\xe6\x01\n\tModelCard\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x04name\x12\x18\n\x04size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x03R\x04size\x12\x18\n\x04type\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03R\x04type\x12\x1e\n\x07\x63ontent\x18\x04 \x01(\x0c\x42\x04\xe2\x41\x01\x03R\x07\x63ontent\x12 \n\x08\x65ncoding\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03R\x08\x65ncoding:I\xea\x41\x46\n\x1a\x61pi.instill.tech/ModelCard\x12(users/{user.id}/models/{model.id}/readme\"\x84\x02\n\x11ListModelsRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x38\n\x04view\x18\x03 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x12,\n\x0cshow_deleted\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x03R\x0bshowDeleted\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_viewB\x0f\n\r_show_deleted\"\x8f\x01\n\x12ListModelsResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x1a.model.model.v1alpha.ModelR\x06models\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"{\n\x12LookUpModelRequest\x12\"\n\tpermalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\tpermalink\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"G\n\x13LookUpModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"\x95\x01\n\x16\x43reateUserModelRequest\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\x12I\n\x06parent\x18\x02 \x01(\tB1\x92\x41\x0f\xca>\x0c\xfa\x02\tuser_name\xe2\x41\x01\x02\xfa\x41\x18\x12\x16\x61pi.instill.tech/ModelR\x06parent\"\\\n\x17\x43reateUserModelResponse\x12\x41\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationB\x04\xe2\x41\x01\x03R\toperation\"\xcb\x01\n&CreateUserModelBinaryFileUploadRequest\x12\x36\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelB\x04\xe2\x41\x01\x02R\x05model\x12\x1e\n\x07\x63ontent\x18\x02 \x01(\x0c\x42\x04\xe2\x41\x01\x02R\x07\x63ontent\x12I\n\x06parent\x18\x03 \x01(\tB1\x92\x41\x0f\xca>\x0c\xfa\x02\tuser_name\xe2\x41\x01\x02\xfa\x41\x18\x12\x16\x61pi.instill.tech/ModelR\x06parent\"l\n\'CreateUserModelBinaryFileUploadResponse\x12\x41\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationB\x04\xe2\x41\x01\x03R\toperation\"\xd3\x02\n\x15ListUserModelsRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x38\n\x04view\x18\x03 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x12I\n\x06parent\x18\x04 \x01(\tB1\x92\x41\x0f\xca>\x0c\xfa\x02\tuser_name\xe2\x41\x01\x02\xfa\x41\x18\x12\x16\x61pi.instill.tech/ModelR\x06parent\x12,\n\x0cshow_deleted\x18\x05 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x03R\x0bshowDeleted\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_viewB\x0f\n\r_show_deleted\"\x93\x01\n\x16ListUserModelsResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x1a.model.model.v1alpha.ModelR\x06models\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"\xa5\x01\n\x13GetUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"H\n\x14GetUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"\x93\x01\n\x16UpdateUserModelRequest\x12\x36\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelB\x04\xe2\x41\x01\x02R\x05model\x12\x41\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02R\nupdateMask\"K\n\x17UpdateUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"e\n\x16\x44\x65leteUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"\x19\n\x17\x44\x65leteUserModelResponse\"\x8d\x01\n\x16RenameUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12&\n\x0cnew_model_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\nnewModelId\"K\n\x17RenameUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"f\n\x17PublishUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"L\n\x18PublishUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"h\n\x19UnpublishUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"N\n\x1aUnpublishUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"e\n\x16\x44\x65ployUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"4\n\x17\x44\x65ployUserModelResponse\x12\x19\n\x08model_id\x18\x01 \x01(\tR\x07modelId\"g\n\x18UndeployUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"6\n\x19UndeployUserModelResponse\x12\x19\n\x08model_id\x18\x01 \x01(\tR\x07modelId\"o\n\x17GetUserModelCardRequest\x12T\n\x04name\x18\x01 \x01(\tB@\x92\x41\x1a\xca>\x17\xfa\x02\x14user_model_card_name\xe2\x41\x01\x02\xfa\x41\x1c\n\x1a\x61pi.instill.tech/ModelCardR\x04name\"R\n\x18GetUserModelCardResponse\x12\x36\n\x06readme\x18\x01 \x01(\x0b\x32\x1e.model.model.v1alpha.ModelCardR\x06readme\"d\n\x15WatchUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"l\n\x16WatchUserModelResponse\x12\x36\n\x05state\x18\x01 \x01(\x0e\x32 .model.model.v1alpha.Model.StateR\x05state\x12\x1a\n\x08progress\x18\x02 \x01(\x05R\x08progress\"\x80\x08\n\tTaskInput\x12R\n\x0e\x63lassification\x18\x01 \x01(\x0b\x32(.model.model.v1alpha.ClassificationInputH\x00R\x0e\x63lassification\x12\x43\n\tdetection\x18\x02 \x01(\x0b\x32#.model.model.v1alpha.DetectionInputH\x00R\tdetection\x12@\n\x08keypoint\x18\x03 \x01(\x0b\x32\".model.model.v1alpha.KeypointInputH\x00R\x08keypoint\x12\x31\n\x03ocr\x18\x04 \x01(\x0b\x32\x1d.model.model.v1alpha.OcrInputH\x00R\x03ocr\x12\x65\n\x15instance_segmentation\x18\x05 \x01(\x0b\x32..model.model.v1alpha.InstanceSegmentationInputH\x00R\x14instanceSegmentation\x12\x65\n\x15semantic_segmentation\x18\x06 \x01(\x0b\x32..model.model.v1alpha.SemanticSegmentationInputH\x00R\x14semanticSegmentation\x12K\n\rtext_to_image\x18\x07 \x01(\x0b\x32%.model.model.v1alpha.TextToImageInputH\x00R\x0btextToImage\x12N\n\x0eimage_to_image\x18\x08 \x01(\x0b\x32&.model.model.v1alpha.ImageToImageInputH\x00R\x0cimageToImage\x12S\n\x0ftext_generation\x18\t \x01(\x0b\x32(.model.model.v1alpha.TextGenerationInputH\x00R\x0etextGeneration\x12`\n\x14text_generation_chat\x18\n \x01(\x0b\x32,.model.model.v1alpha.TextGenerationChatInputH\x00R\x12textGenerationChat\x12o\n\x19visual_question_answering\x18\x0b \x01(\x0b\x32\x31.model.model.v1alpha.VisualQuestionAnsweringInputH\x00R\x17visualQuestionAnswering\x12I\n\x0bunspecified\x18\x0c \x01(\x0b\x32%.model.model.v1alpha.UnspecifiedInputH\x00R\x0bunspecifiedB\x07\n\x05input\"\xaa\x08\n\x0fTaskInputStream\x12X\n\x0e\x63lassification\x18\x01 \x01(\x0b\x32..model.model.v1alpha.ClassificationInputStreamH\x00R\x0e\x63lassification\x12I\n\tdetection\x18\x02 \x01(\x0b\x32).model.model.v1alpha.DetectionInputStreamH\x00R\tdetection\x12\x46\n\x08keypoint\x18\x03 \x01(\x0b\x32(.model.model.v1alpha.KeypointInputStreamH\x00R\x08keypoint\x12\x37\n\x03ocr\x18\x04 \x01(\x0b\x32#.model.model.v1alpha.OcrInputStreamH\x00R\x03ocr\x12k\n\x15instance_segmentation\x18\x05 \x01(\x0b\x32\x34.model.model.v1alpha.InstanceSegmentationInputStreamH\x00R\x14instanceSegmentation\x12k\n\x15semantic_segmentation\x18\x06 \x01(\x0b\x32\x34.model.model.v1alpha.SemanticSegmentationInputStreamH\x00R\x14semanticSegmentation\x12K\n\rtext_to_image\x18\x07 \x01(\x0b\x32%.model.model.v1alpha.TextToImageInputH\x00R\x0btextToImage\x12N\n\x0eimage_to_image\x18\x08 \x01(\x0b\x32&.model.model.v1alpha.ImageToImageInputH\x00R\x0cimageToImage\x12S\n\x0ftext_generation\x18\t \x01(\x0b\x32(.model.model.v1alpha.TextGenerationInputH\x00R\x0etextGeneration\x12`\n\x14text_generation_chat\x18\n \x01(\x0b\x32,.model.model.v1alpha.TextGenerationChatInputH\x00R\x12textGenerationChat\x12o\n\x19visual_question_answering\x18\x0b \x01(\x0b\x32\x31.model.model.v1alpha.VisualQuestionAnsweringInputH\x00R\x17visualQuestionAnswering\x12I\n\x0bunspecified\x18\x0c \x01(\x0b\x32%.model.model.v1alpha.UnspecifiedInputH\x00R\x0bunspecifiedB\x07\n\x05input\"\xd6\x08\n\nTaskOutput\x12Y\n\x0e\x63lassification\x18\x01 \x01(\x0b\x32).model.model.v1alpha.ClassificationOutputB\x04\xe2\x41\x01\x03H\x00R\x0e\x63lassification\x12J\n\tdetection\x18\x02 \x01(\x0b\x32$.model.model.v1alpha.DetectionOutputB\x04\xe2\x41\x01\x03H\x00R\tdetection\x12G\n\x08keypoint\x18\x03 \x01(\x0b\x32#.model.model.v1alpha.KeypointOutputB\x04\xe2\x41\x01\x03H\x00R\x08keypoint\x12\x38\n\x03ocr\x18\x04 \x01(\x0b\x32\x1e.model.model.v1alpha.OcrOutputB\x04\xe2\x41\x01\x03H\x00R\x03ocr\x12l\n\x15instance_segmentation\x18\x05 \x01(\x0b\x32/.model.model.v1alpha.InstanceSegmentationOutputB\x04\xe2\x41\x01\x03H\x00R\x14instanceSegmentation\x12l\n\x15semantic_segmentation\x18\x06 \x01(\x0b\x32/.model.model.v1alpha.SemanticSegmentationOutputB\x04\xe2\x41\x01\x03H\x00R\x14semanticSegmentation\x12R\n\rtext_to_image\x18\x07 \x01(\x0b\x32&.model.model.v1alpha.TextToImageOutputB\x04\xe2\x41\x01\x03H\x00R\x0btextToImage\x12U\n\x0eimage_to_image\x18\x08 \x01(\x0b\x32\'.model.model.v1alpha.ImageToImageOutputB\x04\xe2\x41\x01\x03H\x00R\x0cimageToImage\x12Z\n\x0ftext_generation\x18\t \x01(\x0b\x32).model.model.v1alpha.TextGenerationOutputB\x04\xe2\x41\x01\x03H\x00R\x0etextGeneration\x12g\n\x14text_generation_chat\x18\n \x01(\x0b\x32-.model.model.v1alpha.TextGenerationChatOutputB\x04\xe2\x41\x01\x03H\x00R\x12textGenerationChat\x12v\n\x19visual_question_answering\x18\x0b \x01(\x0b\x32\x32.model.model.v1alpha.VisualQuestionAnsweringOutputB\x04\xe2\x41\x01\x03H\x00R\x17visualQuestionAnswering\x12P\n\x0bunspecified\x18\x0c \x01(\x0b\x32&.model.model.v1alpha.UnspecifiedOutputB\x04\xe2\x41\x01\x03H\x00R\x0bunspecifiedB\x08\n\x06output\"\xad\x01\n\x17TriggerUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12\x45\n\x0btask_inputs\x18\x02 \x03(\x0b\x32\x1e.model.model.v1alpha.TaskInputB\x04\xe2\x41\x01\x02R\ntaskInputs\"\x8d\x01\n\x18TriggerUserModelResponse\x12-\n\x04task\x18\x01 \x01(\x0e\x32\x19.common.task.v1alpha.TaskR\x04task\x12\x42\n\x0ctask_outputs\x18\x02 \x03(\x0b\x32\x1f.model.model.v1alpha.TaskOutputR\x0btaskOutputs\"\xc1\x01\n\'TriggerUserModelBinaryFileUploadRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12I\n\ntask_input\x18\x02 \x01(\x0b\x32$.model.model.v1alpha.TaskInputStreamB\x04\xe2\x41\x01\x02R\ttaskInput\"\xa9\x01\n(TriggerUserModelBinaryFileUploadResponse\x12\x33\n\x04task\x18\x01 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x02R\x04task\x12H\n\x0ctask_outputs\x18\x02 \x03(\x0b\x32\x1f.model.model.v1alpha.TaskOutputB\x04\xe2\x41\x01\x02R\x0btaskOutputs\"\xaa\x01\n\x14TestUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12\x45\n\x0btask_inputs\x18\x02 \x03(\x0b\x32\x1e.model.model.v1alpha.TaskInputB\x04\xe2\x41\x01\x02R\ntaskInputs\"\x96\x01\n\x15TestUserModelResponse\x12\x33\n\x04task\x18\x01 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x02R\x04task\x12H\n\x0ctask_outputs\x18\x02 \x03(\x0b\x32\x1f.model.model.v1alpha.TaskOutputB\x04\xe2\x41\x01\x02R\x0btaskOutputs\"\xa6\x01\n$TestUserModelBinaryFileUploadRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12I\n\ntask_input\x18\x02 \x01(\x0b\x32$.model.model.v1alpha.TaskInputStreamB\x04\xe2\x41\x01\x02R\ttaskInput\"\xa6\x01\n%TestUserModelBinaryFileUploadResponse\x12\x33\n\x04task\x18\x01 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x02R\x04task\x12H\n\x0ctask_outputs\x18\x02 \x03(\x0b\x32\x1f.model.model.v1alpha.TaskOutputB\x04\xe2\x41\x01\x02R\x0btaskOutputs\"y\n\x18GetModelOperationRequest\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x04name\x12:\n\x04view\x18\x02 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x06\x18\x01\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"X\n\x19GetModelOperationResponse\x12;\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationR\toperation\"\x89\x02\n\x16ListModelsAdminRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x38\n\x04view\x18\x03 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x12,\n\x0cshow_deleted\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x03R\x0bshowDeleted\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_viewB\x0f\n\r_show_deleted\"\x94\x01\n\x17ListModelsAdminResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x1a.model.model.v1alpha.ModelR\x06models\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"\x80\x01\n\x17LookUpModelAdminRequest\x12\"\n\tpermalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\tpermalink\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"L\n\x18LookUpModelAdminResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"G\n\x16\x43heckModelAdminRequest\x12-\n\x0fmodel_permalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0emodelPermalink\"Q\n\x17\x43heckModelAdminResponse\x12\x36\n\x05state\x18\x01 \x01(\x0e\x32 .model.model.v1alpha.Model.StateR\x05state\"H\n\x17\x44\x65ployModelAdminRequest\x12-\n\x0fmodel_permalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0emodelPermalink\"W\n\x18\x44\x65ployModelAdminResponse\x12;\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationR\toperation\"J\n\x19UndeployModelAdminRequest\x12-\n\x0fmodel_permalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0emodelPermalink\"Y\n\x1aUndeployModelAdminResponse\x12;\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationR\toperationB\xd7\x01\n\x17\x63om.model.model.v1alphaB\nModelProtoP\x01ZBgithub.com/instill-ai/protogen-go/model/model/v1alpha;modelv1alpha\xa2\x02\x03MMX\xaa\x02\x13Model.Model.V1alpha\xca\x02\x13Model\\Model\\V1alpha\xe2\x02\x1fModel\\Model\\V1alpha\\GPBMetadata\xea\x02\x15Model::Model::V1alphab\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fmodel/model/v1alpha/model.proto\x12\x13model.model.v1alpha\x1a+common/healthcheck/v1beta/healthcheck.proto\x1a\x1e\x63ommon/task/v1alpha/task.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a*model/model/v1alpha/model_definition.proto\x1a-model/model/v1alpha/task_classification.proto\x1a(model/model/v1alpha/task_detection.proto\x1a-model/model/v1alpha/task_image_to_image.proto\x1a\x34model/model/v1alpha/task_instance_segmentation.proto\x1a\'model/model/v1alpha/task_keypoint.proto\x1a\"model/model/v1alpha/task_ocr.proto\x1a\x34model/model/v1alpha/task_semantic_segmentation.proto\x1a.model/model/v1alpha/task_text_generation.proto\x1a\x33model/model/v1alpha/task_text_generation_chat.proto\x1a,model/model/v1alpha/task_text_to_image.proto\x1a*model/model/v1alpha/task_unspecified.proto\x1a\x38model/model/v1alpha/task_visual_question_answering.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"\x96\x01\n\x0fLivenessRequest\x12j\n\x14health_check_request\x18\x01 \x01(\x0b\x32-.common.healthcheck.v1beta.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"v\n\x10LivenessResponse\x12\x62\n\x15health_check_response\x18\x01 \x01(\x0b\x32..common.healthcheck.v1beta.HealthCheckResponseR\x13healthCheckResponse\"\x97\x01\n\x10ReadinessRequest\x12j\n\x14health_check_request\x18\x01 \x01(\x0b\x32-.common.healthcheck.v1beta.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"w\n\x11ReadinessResponse\x12\x62\n\x15health_check_response\x18\x01 \x01(\x0b\x32..common.healthcheck.v1beta.HealthCheckResponseR\x13healthCheckResponse\"\xa0\x08\n\x05Model\x12+\n\x04name\x18\x01 \x01(\tB\x17\x92\x41\x10\xca>\r\xfa\x02\nmodel_name\xe2\x41\x01\x03R\x04name\x12\x16\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03R\x03uid\x12\x14\n\x02id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x05R\x02id\x12+\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x00R\x0b\x64\x65scription\x88\x01\x01\x12T\n\x10model_definition\x18\x05 \x01(\tB)\xe2\x41\x01\x05\xfa\x41\"\n api.instill.tech/ModelDefinitionR\x0fmodelDefinition\x12\x43\n\rconfiguration\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x05R\rconfiguration\x12\x33\n\x04task\x18\x07 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x03R\x04task\x12<\n\x05state\x18\x08 \x01(\x0e\x32 .model.model.v1alpha.Model.StateB\x04\xe2\x41\x01\x03R\x05state\x12K\n\nvisibility\x18\t \x01(\x0e\x32%.model.model.v1alpha.Model.VisibilityB\x04\xe2\x41\x01\x03R\nvisibility\x12\x41\n\x0b\x63reate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12\x41\n\x0bupdate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\nupdateTime\x12\x41\n\x0b\x64\x65lete_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ndeleteTime\x12#\n\nowner_name\x18\x0f \x01(\tB\x04\xe2\x41\x01\x03R\townerName\x12\x33\n\x05owner\x18\x10 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x03R\x05owner\"W\n\nVisibility\x12\x1a\n\x16VISIBILITY_UNSPECIFIED\x10\x00\x12\x16\n\x12VISIBILITY_PRIVATE\x10\x01\x12\x15\n\x11VISIBILITY_PUBLIC\x10\x02\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_OFFLINE\x10\x01\x12\x10\n\x0cSTATE_ONLINE\x10\x02\x12\x0f\n\x0bSTATE_ERROR\x10\x03:R\xea\x41O\n\x16\x61pi.instill.tech/Model\x12!users/{user.id}/models/{model.id}\x12\x12models/{model.uid}B\x0e\n\x0c_description\"\xe6\x01\n\tModelCard\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x04name\x12\x18\n\x04size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x03R\x04size\x12\x18\n\x04type\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03R\x04type\x12\x1e\n\x07\x63ontent\x18\x04 \x01(\x0c\x42\x04\xe2\x41\x01\x03R\x07\x63ontent\x12 \n\x08\x65ncoding\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03R\x08\x65ncoding:I\xea\x41\x46\n\x1a\x61pi.instill.tech/ModelCard\x12(users/{user.id}/models/{model.id}/readme\"\x84\x02\n\x11ListModelsRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x38\n\x04view\x18\x03 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x12,\n\x0cshow_deleted\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x03R\x0bshowDeleted\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_viewB\x0f\n\r_show_deleted\"\x8f\x01\n\x12ListModelsResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x1a.model.model.v1alpha.ModelR\x06models\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"{\n\x12LookUpModelRequest\x12\"\n\tpermalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\tpermalink\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"G\n\x13LookUpModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"\x95\x01\n\x16\x43reateUserModelRequest\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\x12I\n\x06parent\x18\x02 \x01(\tB1\x92\x41\x0f\xca>\x0c\xfa\x02\tuser_name\xe2\x41\x01\x02\xfa\x41\x18\x12\x16\x61pi.instill.tech/ModelR\x06parent\"\\\n\x17\x43reateUserModelResponse\x12\x41\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationB\x04\xe2\x41\x01\x03R\toperation\"\xcb\x01\n&CreateUserModelBinaryFileUploadRequest\x12\x36\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelB\x04\xe2\x41\x01\x02R\x05model\x12\x1e\n\x07\x63ontent\x18\x02 \x01(\x0c\x42\x04\xe2\x41\x01\x02R\x07\x63ontent\x12I\n\x06parent\x18\x03 \x01(\tB1\x92\x41\x0f\xca>\x0c\xfa\x02\tuser_name\xe2\x41\x01\x02\xfa\x41\x18\x12\x16\x61pi.instill.tech/ModelR\x06parent\"l\n\'CreateUserModelBinaryFileUploadResponse\x12\x41\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationB\x04\xe2\x41\x01\x03R\toperation\"\xd3\x02\n\x15ListUserModelsRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x38\n\x04view\x18\x03 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x12I\n\x06parent\x18\x04 \x01(\tB1\x92\x41\x0f\xca>\x0c\xfa\x02\tuser_name\xe2\x41\x01\x02\xfa\x41\x18\x12\x16\x61pi.instill.tech/ModelR\x06parent\x12,\n\x0cshow_deleted\x18\x05 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x03R\x0bshowDeleted\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_viewB\x0f\n\r_show_deleted\"\x93\x01\n\x16ListUserModelsResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x1a.model.model.v1alpha.ModelR\x06models\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"\xa5\x01\n\x13GetUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"H\n\x14GetUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"\x93\x01\n\x16UpdateUserModelRequest\x12\x36\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelB\x04\xe2\x41\x01\x02R\x05model\x12\x41\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02R\nupdateMask\"K\n\x17UpdateUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"e\n\x16\x44\x65leteUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"\x19\n\x17\x44\x65leteUserModelResponse\"\x8d\x01\n\x16RenameUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12&\n\x0cnew_model_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\nnewModelId\"K\n\x17RenameUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"f\n\x17PublishUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"L\n\x18PublishUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"h\n\x19UnpublishUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"N\n\x1aUnpublishUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"e\n\x16\x44\x65ployUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"4\n\x17\x44\x65ployUserModelResponse\x12\x19\n\x08model_id\x18\x01 \x01(\tR\x07modelId\"g\n\x18UndeployUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"6\n\x19UndeployUserModelResponse\x12\x19\n\x08model_id\x18\x01 \x01(\tR\x07modelId\"o\n\x17GetUserModelCardRequest\x12T\n\x04name\x18\x01 \x01(\tB@\x92\x41\x1a\xca>\x17\xfa\x02\x14user_model_card_name\xe2\x41\x01\x02\xfa\x41\x1c\n\x1a\x61pi.instill.tech/ModelCardR\x04name\"R\n\x18GetUserModelCardResponse\x12\x36\n\x06readme\x18\x01 \x01(\x0b\x32\x1e.model.model.v1alpha.ModelCardR\x06readme\"d\n\x15WatchUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"l\n\x16WatchUserModelResponse\x12\x36\n\x05state\x18\x01 \x01(\x0e\x32 .model.model.v1alpha.Model.StateR\x05state\x12\x1a\n\x08progress\x18\x02 \x01(\x05R\x08progress\"\x80\x08\n\tTaskInput\x12R\n\x0e\x63lassification\x18\x01 \x01(\x0b\x32(.model.model.v1alpha.ClassificationInputH\x00R\x0e\x63lassification\x12\x43\n\tdetection\x18\x02 \x01(\x0b\x32#.model.model.v1alpha.DetectionInputH\x00R\tdetection\x12@\n\x08keypoint\x18\x03 \x01(\x0b\x32\".model.model.v1alpha.KeypointInputH\x00R\x08keypoint\x12\x31\n\x03ocr\x18\x04 \x01(\x0b\x32\x1d.model.model.v1alpha.OcrInputH\x00R\x03ocr\x12\x65\n\x15instance_segmentation\x18\x05 \x01(\x0b\x32..model.model.v1alpha.InstanceSegmentationInputH\x00R\x14instanceSegmentation\x12\x65\n\x15semantic_segmentation\x18\x06 \x01(\x0b\x32..model.model.v1alpha.SemanticSegmentationInputH\x00R\x14semanticSegmentation\x12K\n\rtext_to_image\x18\x07 \x01(\x0b\x32%.model.model.v1alpha.TextToImageInputH\x00R\x0btextToImage\x12N\n\x0eimage_to_image\x18\x08 \x01(\x0b\x32&.model.model.v1alpha.ImageToImageInputH\x00R\x0cimageToImage\x12S\n\x0ftext_generation\x18\t \x01(\x0b\x32(.model.model.v1alpha.TextGenerationInputH\x00R\x0etextGeneration\x12`\n\x14text_generation_chat\x18\n \x01(\x0b\x32,.model.model.v1alpha.TextGenerationChatInputH\x00R\x12textGenerationChat\x12o\n\x19visual_question_answering\x18\x0b \x01(\x0b\x32\x31.model.model.v1alpha.VisualQuestionAnsweringInputH\x00R\x17visualQuestionAnswering\x12I\n\x0bunspecified\x18\x0c \x01(\x0b\x32%.model.model.v1alpha.UnspecifiedInputH\x00R\x0bunspecifiedB\x07\n\x05input\"\xaa\x08\n\x0fTaskInputStream\x12X\n\x0e\x63lassification\x18\x01 \x01(\x0b\x32..model.model.v1alpha.ClassificationInputStreamH\x00R\x0e\x63lassification\x12I\n\tdetection\x18\x02 \x01(\x0b\x32).model.model.v1alpha.DetectionInputStreamH\x00R\tdetection\x12\x46\n\x08keypoint\x18\x03 \x01(\x0b\x32(.model.model.v1alpha.KeypointInputStreamH\x00R\x08keypoint\x12\x37\n\x03ocr\x18\x04 \x01(\x0b\x32#.model.model.v1alpha.OcrInputStreamH\x00R\x03ocr\x12k\n\x15instance_segmentation\x18\x05 \x01(\x0b\x32\x34.model.model.v1alpha.InstanceSegmentationInputStreamH\x00R\x14instanceSegmentation\x12k\n\x15semantic_segmentation\x18\x06 \x01(\x0b\x32\x34.model.model.v1alpha.SemanticSegmentationInputStreamH\x00R\x14semanticSegmentation\x12K\n\rtext_to_image\x18\x07 \x01(\x0b\x32%.model.model.v1alpha.TextToImageInputH\x00R\x0btextToImage\x12N\n\x0eimage_to_image\x18\x08 \x01(\x0b\x32&.model.model.v1alpha.ImageToImageInputH\x00R\x0cimageToImage\x12S\n\x0ftext_generation\x18\t \x01(\x0b\x32(.model.model.v1alpha.TextGenerationInputH\x00R\x0etextGeneration\x12`\n\x14text_generation_chat\x18\n \x01(\x0b\x32,.model.model.v1alpha.TextGenerationChatInputH\x00R\x12textGenerationChat\x12o\n\x19visual_question_answering\x18\x0b \x01(\x0b\x32\x31.model.model.v1alpha.VisualQuestionAnsweringInputH\x00R\x17visualQuestionAnswering\x12I\n\x0bunspecified\x18\x0c \x01(\x0b\x32%.model.model.v1alpha.UnspecifiedInputH\x00R\x0bunspecifiedB\x07\n\x05input\"\xd6\x08\n\nTaskOutput\x12Y\n\x0e\x63lassification\x18\x01 \x01(\x0b\x32).model.model.v1alpha.ClassificationOutputB\x04\xe2\x41\x01\x03H\x00R\x0e\x63lassification\x12J\n\tdetection\x18\x02 \x01(\x0b\x32$.model.model.v1alpha.DetectionOutputB\x04\xe2\x41\x01\x03H\x00R\tdetection\x12G\n\x08keypoint\x18\x03 \x01(\x0b\x32#.model.model.v1alpha.KeypointOutputB\x04\xe2\x41\x01\x03H\x00R\x08keypoint\x12\x38\n\x03ocr\x18\x04 \x01(\x0b\x32\x1e.model.model.v1alpha.OcrOutputB\x04\xe2\x41\x01\x03H\x00R\x03ocr\x12l\n\x15instance_segmentation\x18\x05 \x01(\x0b\x32/.model.model.v1alpha.InstanceSegmentationOutputB\x04\xe2\x41\x01\x03H\x00R\x14instanceSegmentation\x12l\n\x15semantic_segmentation\x18\x06 \x01(\x0b\x32/.model.model.v1alpha.SemanticSegmentationOutputB\x04\xe2\x41\x01\x03H\x00R\x14semanticSegmentation\x12R\n\rtext_to_image\x18\x07 \x01(\x0b\x32&.model.model.v1alpha.TextToImageOutputB\x04\xe2\x41\x01\x03H\x00R\x0btextToImage\x12U\n\x0eimage_to_image\x18\x08 \x01(\x0b\x32\'.model.model.v1alpha.ImageToImageOutputB\x04\xe2\x41\x01\x03H\x00R\x0cimageToImage\x12Z\n\x0ftext_generation\x18\t \x01(\x0b\x32).model.model.v1alpha.TextGenerationOutputB\x04\xe2\x41\x01\x03H\x00R\x0etextGeneration\x12g\n\x14text_generation_chat\x18\n \x01(\x0b\x32-.model.model.v1alpha.TextGenerationChatOutputB\x04\xe2\x41\x01\x03H\x00R\x12textGenerationChat\x12v\n\x19visual_question_answering\x18\x0b \x01(\x0b\x32\x32.model.model.v1alpha.VisualQuestionAnsweringOutputB\x04\xe2\x41\x01\x03H\x00R\x17visualQuestionAnswering\x12P\n\x0bunspecified\x18\x0c \x01(\x0b\x32&.model.model.v1alpha.UnspecifiedOutputB\x04\xe2\x41\x01\x03H\x00R\x0bunspecifiedB\x08\n\x06output\"\xad\x01\n\x17TriggerUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12\x45\n\x0btask_inputs\x18\x02 \x03(\x0b\x32\x1e.model.model.v1alpha.TaskInputB\x04\xe2\x41\x01\x02R\ntaskInputs\"\x8d\x01\n\x18TriggerUserModelResponse\x12-\n\x04task\x18\x01 \x01(\x0e\x32\x19.common.task.v1alpha.TaskR\x04task\x12\x42\n\x0ctask_outputs\x18\x02 \x03(\x0b\x32\x1f.model.model.v1alpha.TaskOutputR\x0btaskOutputs\"\xc1\x01\n\'TriggerUserModelBinaryFileUploadRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12I\n\ntask_input\x18\x02 \x01(\x0b\x32$.model.model.v1alpha.TaskInputStreamB\x04\xe2\x41\x01\x02R\ttaskInput\"\xa9\x01\n(TriggerUserModelBinaryFileUploadResponse\x12\x33\n\x04task\x18\x01 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x02R\x04task\x12H\n\x0ctask_outputs\x18\x02 \x03(\x0b\x32\x1f.model.model.v1alpha.TaskOutputB\x04\xe2\x41\x01\x02R\x0btaskOutputs\"\xaa\x01\n\x14TestUserModelRequest\x12K\n\x04name\x18\x01 \x01(\tB7\x92\x41\x15\xca>\x12\xfa\x02\x0fuser_model_name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12\x45\n\x0btask_inputs\x18\x02 \x03(\x0b\x32\x1e.model.model.v1alpha.TaskInputB\x04\xe2\x41\x01\x02R\ntaskInputs\"\x96\x01\n\x15TestUserModelResponse\x12\x33\n\x04task\x18\x01 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x02R\x04task\x12H\n\x0ctask_outputs\x18\x02 \x03(\x0b\x32\x1f.model.model.v1alpha.TaskOutputB\x04\xe2\x41\x01\x02R\x0btaskOutputs\"\xa6\x01\n$TestUserModelBinaryFileUploadRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12I\n\ntask_input\x18\x02 \x01(\x0b\x32$.model.model.v1alpha.TaskInputStreamB\x04\xe2\x41\x01\x02R\ttaskInput\"\xa6\x01\n%TestUserModelBinaryFileUploadResponse\x12\x33\n\x04task\x18\x01 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x02R\x04task\x12H\n\x0ctask_outputs\x18\x02 \x03(\x0b\x32\x1f.model.model.v1alpha.TaskOutputB\x04\xe2\x41\x01\x02R\x0btaskOutputs\"y\n\x18GetModelOperationRequest\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x04name\x12:\n\x04view\x18\x02 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x06\x18\x01\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"X\n\x19GetModelOperationResponse\x12;\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationR\toperation\"\x89\x02\n\x16ListModelsAdminRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x38\n\x04view\x18\x03 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x12,\n\x0cshow_deleted\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x03R\x0bshowDeleted\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_viewB\x0f\n\r_show_deleted\"\x94\x01\n\x17ListModelsAdminResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x1a.model.model.v1alpha.ModelR\x06models\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x05R\ttotalSize\"\x80\x01\n\x17LookUpModelAdminRequest\x12\"\n\tpermalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\tpermalink\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"L\n\x18LookUpModelAdminResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"G\n\x16\x43heckModelAdminRequest\x12-\n\x0fmodel_permalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0emodelPermalink\"Q\n\x17\x43heckModelAdminResponse\x12\x36\n\x05state\x18\x01 \x01(\x0e\x32 .model.model.v1alpha.Model.StateR\x05state\"H\n\x17\x44\x65ployModelAdminRequest\x12-\n\x0fmodel_permalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0emodelPermalink\"W\n\x18\x44\x65ployModelAdminResponse\x12;\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationR\toperation\"J\n\x19UndeployModelAdminRequest\x12-\n\x0fmodel_permalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0emodelPermalink\"Y\n\x1aUndeployModelAdminResponse\x12;\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationR\toperationB\xd7\x01\n\x17\x63om.model.model.v1alphaB\nModelProtoP\x01ZBgithub.com/instill-ai/protogen-go/model/model/v1alpha;modelv1alpha\xa2\x02\x03MMX\xaa\x02\x13Model.Model.V1alpha\xca\x02\x13Model\\Model\\V1alpha\xe2\x02\x1fModel\\Model\\V1alpha\\GPBMetadata\xea\x02\x15Model::Model::V1alphab\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) diff --git a/model/model/v1alpha/model_public_service_pb2.py b/model/model/v1alpha/model_public_service_pb2.py index e568b57..333eaba 100644 --- a/model/model/v1alpha/model_public_service_pb2.py +++ b/model/model/v1alpha/model_public_service_pb2.py @@ -14,12 +14,12 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from google.api import client_pb2 as google_dot_api_dot_client__pb2 from google.api import visibility_pb2 as google_dot_api_dot_visibility__pb2 -from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2 from model.model.v1alpha import model_pb2 as model_dot_model_dot_v1alpha_dot_model__pb2 from model.model.v1alpha import model_definition_pb2 as model_dot_model_dot_v1alpha_dot_model__definition__pb2 +from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.model/model/v1alpha/model_public_service.proto\x12\x13model.model.v1alpha\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1bgoogle/api/visibility.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x1fmodel/model/v1alpha/model.proto\x1a*model/model/v1alpha/model_definition.proto2\xa3 \n\x12ModelPublicService\x12\x9d\x01\n\x08Liveness\x12$.model.model.v1alpha.LivenessRequest\x1a%.model.model.v1alpha.LivenessResponse\"D\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02.\x12\x13/v1alpha/__livenessZ\x17\x12\x15/v1alpha/health/model\x12\xa0\x01\n\tReadiness\x12%.model.model.v1alpha.ReadinessRequest\x1a&.model.model.v1alpha.ReadinessResponse\"D\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02.\x12\x14/v1alpha/__readinessZ\x16\x12\x14/v1alpha/ready/model\x12\x9f\x01\n\x14ListModelDefinitions\x12\x30.model.model.v1alpha.ListModelDefinitionsRequest\x1a\x31.model.model.v1alpha.ListModelDefinitionsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1alpha/model-definitions\x12\xa9\x01\n\x12GetModelDefinition\x12..model.model.v1alpha.GetModelDefinitionRequest\x1a/.model.model.v1alpha.GetModelDefinitionResponse\"2\xda\x41\x04name\x82\xd3\xe4\x93\x02%\x12#/v1alpha/{name=model-definitions/*}\x12v\n\nListModels\x12&.model.model.v1alpha.ListModelsRequest\x1a\'.model.model.v1alpha.ListModelsResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/v1alpha/models\x12\x9a\x01\n\x0bLookUpModel\x12\'.model.model.v1alpha.LookUpModelRequest\x1a(.model.model.v1alpha.LookUpModelResponse\"8\xda\x41\tpermalink\x82\xd3\xe4\x93\x02&\x12$/v1alpha/{permalink=models/*}/lookUp\x12\x9c\x01\n\x0eListUserModels\x12*.model.model.v1alpha.ListUserModelsRequest\x1a+.model.model.v1alpha.ListUserModelsResponse\"1\xda\x41\x06parent\x82\xd3\xe4\x93\x02\"\x12 /v1alpha/{parent=users/*}/models\x12\xac\x01\n\x0f\x43reateUserModel\x12+.model.model.v1alpha.CreateUserModelRequest\x1a,.model.model.v1alpha.CreateUserModelResponse\">\xda\x41\x0cparent,model\x82\xd3\xe4\x93\x02)\" /v1alpha/{parent=users/*}/models:\x05model\x12\xc5\x01\n\x1f\x43reateUserModelBinaryFileUpload\x12;.model.model.v1alpha.CreateUserModelBinaryFileUploadRequest\x1a<.model.model.v1alpha.CreateUserModelBinaryFileUploadResponse\"%\xda\x41\"id,model_definition,content,parent(\x01\x12\x94\x01\n\x0cGetUserModel\x12(.model.model.v1alpha.GetUserModelRequest\x1a).model.model.v1alpha.GetUserModelResponse\"/\xda\x41\x04name\x82\xd3\xe4\x93\x02\"\x12 /v1alpha/{name=users/*/models/*}\x12\xb7\x01\n\x0fUpdateUserModel\x12+.model.model.v1alpha.UpdateUserModelRequest\x1a,.model.model.v1alpha.UpdateUserModelResponse\"I\xda\x41\x11model,update_mask\x82\xd3\xe4\x93\x02/2&/v1alpha/{model.name=users/*/models/*}:\x05model\x12\x9d\x01\n\x0f\x44\x65leteUserModel\x12+.model.model.v1alpha.DeleteUserModelRequest\x1a,.model.model.v1alpha.DeleteUserModelResponse\"/\xda\x41\x04name\x82\xd3\xe4\x93\x02\"* /v1alpha/{name=users/*/models/*}\x12\xb4\x01\n\x0fRenameUserModel\x12+.model.model.v1alpha.RenameUserModelRequest\x1a,.model.model.v1alpha.RenameUserModelResponse\"F\xda\x41\x11name,new_model_id\x82\xd3\xe4\x93\x02,\"\'/v1alpha/{name=users/*/models/*}/rename:\x01*\x12\xab\x01\n\x10PublishUserModel\x12,.model.model.v1alpha.PublishUserModelRequest\x1a-.model.model.v1alpha.PublishUserModelResponse\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\"(/v1alpha/{name=users/*/models/*}/publish:\x01*\x12\xb3\x01\n\x12UnpublishUserModel\x12..model.model.v1alpha.UnpublishUserModelRequest\x1a/.model.model.v1alpha.UnpublishUserModelResponse\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\"*/v1alpha/{name=users/*/models/*}/unpublish:\x01*\x12\xa7\x01\n\x0f\x44\x65ployUserModel\x12+.model.model.v1alpha.DeployUserModelRequest\x1a,.model.model.v1alpha.DeployUserModelResponse\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\"\'/v1alpha/{name=users/*/models/*}/deploy:\x01*\x12\xaf\x01\n\x11UndeployUserModel\x12-.model.model.v1alpha.UndeployUserModelRequest\x1a..model.model.v1alpha.UndeployUserModelResponse\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\")/v1alpha/{name=users/*/models/*}/undeploy:\x01*\x12\xa7\x01\n\x10GetUserModelCard\x12,.model.model.v1alpha.GetUserModelCardRequest\x1a-.model.model.v1alpha.GetUserModelCardResponse\"6\xda\x41\x04name\x82\xd3\xe4\x93\x02)\x12\'/v1alpha/{name=users/*/models/*/readme}\x12\xa0\x01\n\x0eWatchUserModel\x12*.model.model.v1alpha.WatchUserModelRequest\x1a+.model.model.v1alpha.WatchUserModelResponse\"5\xda\x41\x04name\x82\xd3\xe4\x93\x02(\x12&/v1alpha/{name=users/*/models/*}/watch\x12\xb2\x01\n\x10TriggerUserModel\x12,.model.model.v1alpha.TriggerUserModelRequest\x1a-.model.model.v1alpha.TriggerUserModelResponse\"A\xda\x41\x0bname,inputs\x82\xd3\xe4\x93\x02-\"(/v1alpha/{name=users/*/models/*}/trigger:\x01*\x12\xaf\x01\n TriggerUserModelBinaryFileUpload\x12<.model.model.v1alpha.TriggerUserModelBinaryFileUploadRequest\x1a=.model.model.v1alpha.TriggerUserModelBinaryFileUploadResponse\"\x0c\xda\x41\tname,file(\x01\x12\xb9\x01\n\rTestUserModel\x12).model.model.v1alpha.TestUserModelRequest\x1a*.model.model.v1alpha.TestUserModelResponse\"Q\x88\x02\x01\xda\x41\x0bname,inputs\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02*\"%/v1alpha/{name=users/*/models/*}/test:\x01*\x12\xb9\x01\n\x1dTestUserModelBinaryFileUpload\x12\x39.model.model.v1alpha.TestUserModelBinaryFileUploadRequest\x1a:.model.model.v1alpha.TestUserModelBinaryFileUploadResponse\"\x1f\x88\x02\x01\xda\x41\tname,file\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL(\x01\x12\x9f\x01\n\x11GetModelOperation\x12-.model.model.v1alpha.GetModelOperationRequest\x1a..model.model.v1alpha.GetModelOperationResponse\"+\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1alpha/{name=operations/*}\x1a\x1b\x92\x41\x18\x12\x16Public Model endpointsB\xe4\x01\n\x17\x63om.model.model.v1alphaB\x17ModelPublicServiceProtoP\x01ZBgithub.com/instill-ai/protogen-go/model/model/v1alpha;modelv1alpha\xa2\x02\x03MMX\xaa\x02\x13Model.Model.V1alpha\xca\x02\x13Model\\Model\\V1alpha\xe2\x02\x1fModel\\Model\\V1alpha\\GPBMetadata\xea\x02\x15Model::Model::V1alphab\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.model/model/v1alpha/model_public_service.proto\x12\x13model.model.v1alpha\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1bgoogle/api/visibility.proto\x1a\x1fmodel/model/v1alpha/model.proto\x1a*model/model/v1alpha/model_definition.proto\x1a.protoc-gen-openapiv2/options/annotations.proto2\xa3 \n\x12ModelPublicService\x12\x9d\x01\n\x08Liveness\x12$.model.model.v1alpha.LivenessRequest\x1a%.model.model.v1alpha.LivenessResponse\"D\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02.\x12\x13/v1alpha/__livenessZ\x17\x12\x15/v1alpha/health/model\x12\xa0\x01\n\tReadiness\x12%.model.model.v1alpha.ReadinessRequest\x1a&.model.model.v1alpha.ReadinessResponse\"D\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02.\x12\x14/v1alpha/__readinessZ\x16\x12\x14/v1alpha/ready/model\x12\x9f\x01\n\x14ListModelDefinitions\x12\x30.model.model.v1alpha.ListModelDefinitionsRequest\x1a\x31.model.model.v1alpha.ListModelDefinitionsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1alpha/model-definitions\x12\xa9\x01\n\x12GetModelDefinition\x12..model.model.v1alpha.GetModelDefinitionRequest\x1a/.model.model.v1alpha.GetModelDefinitionResponse\"2\xda\x41\x04name\x82\xd3\xe4\x93\x02%\x12#/v1alpha/{name=model-definitions/*}\x12v\n\nListModels\x12&.model.model.v1alpha.ListModelsRequest\x1a\'.model.model.v1alpha.ListModelsResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/v1alpha/models\x12\x9a\x01\n\x0bLookUpModel\x12\'.model.model.v1alpha.LookUpModelRequest\x1a(.model.model.v1alpha.LookUpModelResponse\"8\xda\x41\tpermalink\x82\xd3\xe4\x93\x02&\x12$/v1alpha/{permalink=models/*}/lookUp\x12\x9c\x01\n\x0eListUserModels\x12*.model.model.v1alpha.ListUserModelsRequest\x1a+.model.model.v1alpha.ListUserModelsResponse\"1\xda\x41\x06parent\x82\xd3\xe4\x93\x02\"\x12 /v1alpha/{parent=users/*}/models\x12\xac\x01\n\x0f\x43reateUserModel\x12+.model.model.v1alpha.CreateUserModelRequest\x1a,.model.model.v1alpha.CreateUserModelResponse\">\xda\x41\x0cparent,model\x82\xd3\xe4\x93\x02)\" /v1alpha/{parent=users/*}/models:\x05model\x12\xc5\x01\n\x1f\x43reateUserModelBinaryFileUpload\x12;.model.model.v1alpha.CreateUserModelBinaryFileUploadRequest\x1a<.model.model.v1alpha.CreateUserModelBinaryFileUploadResponse\"%\xda\x41\"id,model_definition,content,parent(\x01\x12\x94\x01\n\x0cGetUserModel\x12(.model.model.v1alpha.GetUserModelRequest\x1a).model.model.v1alpha.GetUserModelResponse\"/\xda\x41\x04name\x82\xd3\xe4\x93\x02\"\x12 /v1alpha/{name=users/*/models/*}\x12\xb7\x01\n\x0fUpdateUserModel\x12+.model.model.v1alpha.UpdateUserModelRequest\x1a,.model.model.v1alpha.UpdateUserModelResponse\"I\xda\x41\x11model,update_mask\x82\xd3\xe4\x93\x02/2&/v1alpha/{model.name=users/*/models/*}:\x05model\x12\x9d\x01\n\x0f\x44\x65leteUserModel\x12+.model.model.v1alpha.DeleteUserModelRequest\x1a,.model.model.v1alpha.DeleteUserModelResponse\"/\xda\x41\x04name\x82\xd3\xe4\x93\x02\"* /v1alpha/{name=users/*/models/*}\x12\xb4\x01\n\x0fRenameUserModel\x12+.model.model.v1alpha.RenameUserModelRequest\x1a,.model.model.v1alpha.RenameUserModelResponse\"F\xda\x41\x11name,new_model_id\x82\xd3\xe4\x93\x02,\"\'/v1alpha/{name=users/*/models/*}/rename:\x01*\x12\xab\x01\n\x10PublishUserModel\x12,.model.model.v1alpha.PublishUserModelRequest\x1a-.model.model.v1alpha.PublishUserModelResponse\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\"(/v1alpha/{name=users/*/models/*}/publish:\x01*\x12\xb3\x01\n\x12UnpublishUserModel\x12..model.model.v1alpha.UnpublishUserModelRequest\x1a/.model.model.v1alpha.UnpublishUserModelResponse\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\"*/v1alpha/{name=users/*/models/*}/unpublish:\x01*\x12\xa7\x01\n\x0f\x44\x65ployUserModel\x12+.model.model.v1alpha.DeployUserModelRequest\x1a,.model.model.v1alpha.DeployUserModelResponse\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\"\'/v1alpha/{name=users/*/models/*}/deploy:\x01*\x12\xaf\x01\n\x11UndeployUserModel\x12-.model.model.v1alpha.UndeployUserModelRequest\x1a..model.model.v1alpha.UndeployUserModelResponse\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\")/v1alpha/{name=users/*/models/*}/undeploy:\x01*\x12\xa7\x01\n\x10GetUserModelCard\x12,.model.model.v1alpha.GetUserModelCardRequest\x1a-.model.model.v1alpha.GetUserModelCardResponse\"6\xda\x41\x04name\x82\xd3\xe4\x93\x02)\x12\'/v1alpha/{name=users/*/models/*/readme}\x12\xa0\x01\n\x0eWatchUserModel\x12*.model.model.v1alpha.WatchUserModelRequest\x1a+.model.model.v1alpha.WatchUserModelResponse\"5\xda\x41\x04name\x82\xd3\xe4\x93\x02(\x12&/v1alpha/{name=users/*/models/*}/watch\x12\xb2\x01\n\x10TriggerUserModel\x12,.model.model.v1alpha.TriggerUserModelRequest\x1a-.model.model.v1alpha.TriggerUserModelResponse\"A\xda\x41\x0bname,inputs\x82\xd3\xe4\x93\x02-\"(/v1alpha/{name=users/*/models/*}/trigger:\x01*\x12\xaf\x01\n TriggerUserModelBinaryFileUpload\x12<.model.model.v1alpha.TriggerUserModelBinaryFileUploadRequest\x1a=.model.model.v1alpha.TriggerUserModelBinaryFileUploadResponse\"\x0c\xda\x41\tname,file(\x01\x12\xb9\x01\n\rTestUserModel\x12).model.model.v1alpha.TestUserModelRequest\x1a*.model.model.v1alpha.TestUserModelResponse\"Q\x88\x02\x01\xda\x41\x0bname,inputs\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02*\"%/v1alpha/{name=users/*/models/*}/test:\x01*\x12\xb9\x01\n\x1dTestUserModelBinaryFileUpload\x12\x39.model.model.v1alpha.TestUserModelBinaryFileUploadRequest\x1a:.model.model.v1alpha.TestUserModelBinaryFileUploadResponse\"\x1f\x88\x02\x01\xda\x41\tname,file\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL(\x01\x12\x9f\x01\n\x11GetModelOperation\x12-.model.model.v1alpha.GetModelOperationRequest\x1a..model.model.v1alpha.GetModelOperationResponse\"+\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1alpha/{name=operations/*}\x1a\x1b\x92\x41\x18\x12\x16Public Model endpointsB\xe4\x01\n\x17\x63om.model.model.v1alphaB\x17ModelPublicServiceProtoP\x01ZBgithub.com/instill-ai/protogen-go/model/model/v1alpha;modelv1alpha\xa2\x02\x03MMX\xaa\x02\x13Model.Model.V1alpha\xca\x02\x13Model\\Model\\V1alpha\xe2\x02\x1fModel\\Model\\V1alpha\\GPBMetadata\xea\x02\x15Model::Model::V1alphab\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)