clarifai-grpc 11.10.9__py3-none-any.whl → 11.11.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -184,9 +184,7 @@ class Pagination(google.protobuf.message.Message):
184
184
  PAGE_FIELD_NUMBER: builtins.int
185
185
  PER_PAGE_FIELD_NUMBER: builtins.int
186
186
  page: builtins.int
187
- """(optional URL parameter) The page number. Pagination is used to split the results into chunks. Defaults to 1."""
188
187
  per_page: builtins.int
189
- """(optional URL parameter) The number of results that will be contained in each page. Defaults to 128."""
190
188
  def __init__(
191
189
  self,
192
190
  *,
@@ -458,6 +456,84 @@ class PostTrackAnnotationsSearchesRequest(google.protobuf.message.Message):
458
456
 
459
457
  global___PostTrackAnnotationsSearchesRequest = PostTrackAnnotationsSearchesRequest
460
458
 
459
+ @typing_extensions.final
460
+ class StreamTrackAnnotationsSearchesRequest(google.protobuf.message.Message):
461
+ """StreamTrackAnnotationsSearchesRequest"""
462
+
463
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
464
+
465
+ USER_APP_ID_FIELD_NUMBER: builtins.int
466
+ INPUT_ID_FIELD_NUMBER: builtins.int
467
+ TRACK_ID_FIELD_NUMBER: builtins.int
468
+ FRAME_NUMBER_START_FIELD_NUMBER: builtins.int
469
+ FRAME_TIME_START_FIELD_NUMBER: builtins.int
470
+ ANNOTATION_TYPE_FIELD_NUMBER: builtins.int
471
+ MAX_FRAMES_FIELD_NUMBER: builtins.int
472
+ MAX_DURATION_FIELD_NUMBER: builtins.int
473
+ WORKER_FIELD_NUMBER: builtins.int
474
+ @property
475
+ def user_app_id(self) -> proto.clarifai.api.resources_pb2.UserAppIDSet: ...
476
+ input_id: builtins.str
477
+ """The input ID containing the video track annotations to stream"""
478
+ track_id: builtins.str
479
+ """Filter annotations by track_id"""
480
+ frame_number_start: builtins.int
481
+ """Filter annotations starting from this frame number (inclusive)"""
482
+ frame_time_start: builtins.int
483
+ """Filter annotations starting from this time in milliseconds (inclusive)"""
484
+ annotation_type: proto.clarifai.api.resources_pb2.AnnotationDataType.ValueType
485
+ """Filter by annotation type (e.g., "bounding_box", "point", "mask")"""
486
+ max_frames: builtins.int
487
+ max_duration: builtins.int
488
+ @property
489
+ def worker(self) -> proto.clarifai.api.resources_pb2.Worker:
490
+ """Filtering by model version ID within a worker (optional).
491
+ Point annotations don't need filtering by worker.
492
+ For non-point types, a model version ID must be provided.
493
+ """
494
+ def __init__(
495
+ self,
496
+ *,
497
+ user_app_id: proto.clarifai.api.resources_pb2.UserAppIDSet | None = ...,
498
+ input_id: builtins.str = ...,
499
+ track_id: builtins.str = ...,
500
+ frame_number_start: builtins.int = ...,
501
+ frame_time_start: builtins.int = ...,
502
+ annotation_type: proto.clarifai.api.resources_pb2.AnnotationDataType.ValueType = ...,
503
+ max_frames: builtins.int = ...,
504
+ max_duration: builtins.int = ...,
505
+ worker: proto.clarifai.api.resources_pb2.Worker | None = ...,
506
+ ) -> None: ...
507
+ def HasField(
508
+ self,
509
+ field_name: typing_extensions.Literal["user_app_id", b"user_app_id", "worker", b"worker"],
510
+ ) -> builtins.bool: ...
511
+ def ClearField(
512
+ self,
513
+ field_name: typing_extensions.Literal[
514
+ "annotation_type",
515
+ b"annotation_type",
516
+ "frame_number_start",
517
+ b"frame_number_start",
518
+ "frame_time_start",
519
+ b"frame_time_start",
520
+ "input_id",
521
+ b"input_id",
522
+ "max_duration",
523
+ b"max_duration",
524
+ "max_frames",
525
+ b"max_frames",
526
+ "track_id",
527
+ b"track_id",
528
+ "user_app_id",
529
+ b"user_app_id",
530
+ "worker",
531
+ b"worker",
532
+ ],
533
+ ) -> None: ...
534
+
535
+ global___StreamTrackAnnotationsSearchesRequest = StreamTrackAnnotationsSearchesRequest
536
+
461
537
  @typing_extensions.final
462
538
  class PostAnnotationsRequest(google.protobuf.message.Message):
463
539
  """PostAnnotationsRequest"""
@@ -17743,6 +17819,74 @@ class SinglePipelineStepVersionResponse(google.protobuf.message.Message):
17743
17819
 
17744
17820
  global___SinglePipelineStepVersionResponse = SinglePipelineStepVersionResponse
17745
17821
 
17822
+ @typing_extensions.final
17823
+ class DeletePipelineStepsRequest(google.protobuf.message.Message):
17824
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
17825
+
17826
+ USER_APP_ID_FIELD_NUMBER: builtins.int
17827
+ IDS_FIELD_NUMBER: builtins.int
17828
+ @property
17829
+ def user_app_id(self) -> proto.clarifai.api.resources_pb2.UserAppIDSet: ...
17830
+ @property
17831
+ def ids(
17832
+ self,
17833
+ ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
17834
+ """The ids of the pipeline steps to delete"""
17835
+ def __init__(
17836
+ self,
17837
+ *,
17838
+ user_app_id: proto.clarifai.api.resources_pb2.UserAppIDSet | None = ...,
17839
+ ids: collections.abc.Iterable[builtins.str] | None = ...,
17840
+ ) -> None: ...
17841
+ def HasField(
17842
+ self, field_name: typing_extensions.Literal["user_app_id", b"user_app_id"]
17843
+ ) -> builtins.bool: ...
17844
+ def ClearField(
17845
+ self, field_name: typing_extensions.Literal["ids", b"ids", "user_app_id", b"user_app_id"]
17846
+ ) -> None: ...
17847
+
17848
+ global___DeletePipelineStepsRequest = DeletePipelineStepsRequest
17849
+
17850
+ @typing_extensions.final
17851
+ class DeletePipelineStepVersionsRequest(google.protobuf.message.Message):
17852
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
17853
+
17854
+ USER_APP_ID_FIELD_NUMBER: builtins.int
17855
+ PIPELINE_STEP_ID_FIELD_NUMBER: builtins.int
17856
+ PIPELINE_STEP_VERSION_IDS_FIELD_NUMBER: builtins.int
17857
+ @property
17858
+ def user_app_id(self) -> proto.clarifai.api.resources_pb2.UserAppIDSet: ...
17859
+ pipeline_step_id: builtins.str
17860
+ """The id of the pipeline step for which versions are being deleted"""
17861
+ @property
17862
+ def pipeline_step_version_ids(
17863
+ self,
17864
+ ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
17865
+ """The ids of the pipeline step versions to delete"""
17866
+ def __init__(
17867
+ self,
17868
+ *,
17869
+ user_app_id: proto.clarifai.api.resources_pb2.UserAppIDSet | None = ...,
17870
+ pipeline_step_id: builtins.str = ...,
17871
+ pipeline_step_version_ids: collections.abc.Iterable[builtins.str] | None = ...,
17872
+ ) -> None: ...
17873
+ def HasField(
17874
+ self, field_name: typing_extensions.Literal["user_app_id", b"user_app_id"]
17875
+ ) -> builtins.bool: ...
17876
+ def ClearField(
17877
+ self,
17878
+ field_name: typing_extensions.Literal[
17879
+ "pipeline_step_id",
17880
+ b"pipeline_step_id",
17881
+ "pipeline_step_version_ids",
17882
+ b"pipeline_step_version_ids",
17883
+ "user_app_id",
17884
+ b"user_app_id",
17885
+ ],
17886
+ ) -> None: ...
17887
+
17888
+ global___DeletePipelineStepVersionsRequest = DeletePipelineStepVersionsRequest
17889
+
17746
17890
  @typing_extensions.final
17747
17891
  class GetSecretRequest(google.protobuf.message.Message):
17748
17892
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -18081,3 +18225,514 @@ class MultiMetricLabelsResponse(google.protobuf.message.Message):
18081
18225
  ) -> None: ...
18082
18226
 
18083
18227
  global___MultiMetricLabelsResponse = MultiMetricLabelsResponse
18228
+
18229
+ @typing_extensions.final
18230
+ class PostArtifactsRequest(google.protobuf.message.Message):
18231
+ """Artifact requests and responses"""
18232
+
18233
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
18234
+
18235
+ USER_APP_ID_FIELD_NUMBER: builtins.int
18236
+ ARTIFACTS_FIELD_NUMBER: builtins.int
18237
+ @property
18238
+ def user_app_id(self) -> proto.clarifai.api.resources_pb2.UserAppIDSet: ...
18239
+ @property
18240
+ def artifacts(
18241
+ self,
18242
+ ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
18243
+ proto.clarifai.api.resources_pb2.Artifact
18244
+ ]: ...
18245
+ def __init__(
18246
+ self,
18247
+ *,
18248
+ user_app_id: proto.clarifai.api.resources_pb2.UserAppIDSet | None = ...,
18249
+ artifacts: collections.abc.Iterable[proto.clarifai.api.resources_pb2.Artifact]
18250
+ | None = ...,
18251
+ ) -> None: ...
18252
+ def HasField(
18253
+ self, field_name: typing_extensions.Literal["user_app_id", b"user_app_id"]
18254
+ ) -> builtins.bool: ...
18255
+ def ClearField(
18256
+ self,
18257
+ field_name: typing_extensions.Literal[
18258
+ "artifacts", b"artifacts", "user_app_id", b"user_app_id"
18259
+ ],
18260
+ ) -> None: ...
18261
+
18262
+ global___PostArtifactsRequest = PostArtifactsRequest
18263
+
18264
+ @typing_extensions.final
18265
+ class MultiArtifactResponse(google.protobuf.message.Message):
18266
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
18267
+
18268
+ STATUS_FIELD_NUMBER: builtins.int
18269
+ ARTIFACTS_FIELD_NUMBER: builtins.int
18270
+ @property
18271
+ def status(self) -> proto.clarifai.api.status.status_pb2.Status: ...
18272
+ @property
18273
+ def artifacts(
18274
+ self,
18275
+ ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
18276
+ proto.clarifai.api.resources_pb2.Artifact
18277
+ ]: ...
18278
+ def __init__(
18279
+ self,
18280
+ *,
18281
+ status: proto.clarifai.api.status.status_pb2.Status | None = ...,
18282
+ artifacts: collections.abc.Iterable[proto.clarifai.api.resources_pb2.Artifact]
18283
+ | None = ...,
18284
+ ) -> None: ...
18285
+ def HasField(
18286
+ self, field_name: typing_extensions.Literal["status", b"status"]
18287
+ ) -> builtins.bool: ...
18288
+ def ClearField(
18289
+ self, field_name: typing_extensions.Literal["artifacts", b"artifacts", "status", b"status"]
18290
+ ) -> None: ...
18291
+
18292
+ global___MultiArtifactResponse = MultiArtifactResponse
18293
+
18294
+ @typing_extensions.final
18295
+ class ListArtifactsRequest(google.protobuf.message.Message):
18296
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
18297
+
18298
+ USER_APP_ID_FIELD_NUMBER: builtins.int
18299
+ PAGE_FIELD_NUMBER: builtins.int
18300
+ PER_PAGE_FIELD_NUMBER: builtins.int
18301
+ @property
18302
+ def user_app_id(self) -> proto.clarifai.api.resources_pb2.UserAppIDSet: ...
18303
+ page: builtins.int
18304
+ """(optional URL parameter) The page number. Pagination is used to split the results into chunks.
18305
+ Defaults to 1.
18306
+ """
18307
+ per_page: builtins.int
18308
+ """(optional URL parameter) The number of results that will be contained in each page. Defaults
18309
+ to 128.
18310
+ """
18311
+ def __init__(
18312
+ self,
18313
+ *,
18314
+ user_app_id: proto.clarifai.api.resources_pb2.UserAppIDSet | None = ...,
18315
+ page: builtins.int = ...,
18316
+ per_page: builtins.int = ...,
18317
+ ) -> None: ...
18318
+ def HasField(
18319
+ self, field_name: typing_extensions.Literal["user_app_id", b"user_app_id"]
18320
+ ) -> builtins.bool: ...
18321
+ def ClearField(
18322
+ self,
18323
+ field_name: typing_extensions.Literal[
18324
+ "page", b"page", "per_page", b"per_page", "user_app_id", b"user_app_id"
18325
+ ],
18326
+ ) -> None: ...
18327
+
18328
+ global___ListArtifactsRequest = ListArtifactsRequest
18329
+
18330
+ @typing_extensions.final
18331
+ class GetArtifactRequest(google.protobuf.message.Message):
18332
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
18333
+
18334
+ USER_APP_ID_FIELD_NUMBER: builtins.int
18335
+ ARTIFACT_ID_FIELD_NUMBER: builtins.int
18336
+ @property
18337
+ def user_app_id(self) -> proto.clarifai.api.resources_pb2.UserAppIDSet: ...
18338
+ artifact_id: builtins.str
18339
+ """The id of the artifact to get"""
18340
+ def __init__(
18341
+ self,
18342
+ *,
18343
+ user_app_id: proto.clarifai.api.resources_pb2.UserAppIDSet | None = ...,
18344
+ artifact_id: builtins.str = ...,
18345
+ ) -> None: ...
18346
+ def HasField(
18347
+ self, field_name: typing_extensions.Literal["user_app_id", b"user_app_id"]
18348
+ ) -> builtins.bool: ...
18349
+ def ClearField(
18350
+ self,
18351
+ field_name: typing_extensions.Literal[
18352
+ "artifact_id", b"artifact_id", "user_app_id", b"user_app_id"
18353
+ ],
18354
+ ) -> None: ...
18355
+
18356
+ global___GetArtifactRequest = GetArtifactRequest
18357
+
18358
+ @typing_extensions.final
18359
+ class SingleArtifactResponse(google.protobuf.message.Message):
18360
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
18361
+
18362
+ STATUS_FIELD_NUMBER: builtins.int
18363
+ ARTIFACT_FIELD_NUMBER: builtins.int
18364
+ @property
18365
+ def status(self) -> proto.clarifai.api.status.status_pb2.Status: ...
18366
+ @property
18367
+ def artifact(self) -> proto.clarifai.api.resources_pb2.Artifact: ...
18368
+ def __init__(
18369
+ self,
18370
+ *,
18371
+ status: proto.clarifai.api.status.status_pb2.Status | None = ...,
18372
+ artifact: proto.clarifai.api.resources_pb2.Artifact | None = ...,
18373
+ ) -> None: ...
18374
+ def HasField(
18375
+ self, field_name: typing_extensions.Literal["artifact", b"artifact", "status", b"status"]
18376
+ ) -> builtins.bool: ...
18377
+ def ClearField(
18378
+ self, field_name: typing_extensions.Literal["artifact", b"artifact", "status", b"status"]
18379
+ ) -> None: ...
18380
+
18381
+ global___SingleArtifactResponse = SingleArtifactResponse
18382
+
18383
+ @typing_extensions.final
18384
+ class DeleteArtifactRequest(google.protobuf.message.Message):
18385
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
18386
+
18387
+ USER_APP_ID_FIELD_NUMBER: builtins.int
18388
+ ARTIFACT_ID_FIELD_NUMBER: builtins.int
18389
+ @property
18390
+ def user_app_id(self) -> proto.clarifai.api.resources_pb2.UserAppIDSet: ...
18391
+ artifact_id: builtins.str
18392
+ """The id of the artifact to be deleted"""
18393
+ def __init__(
18394
+ self,
18395
+ *,
18396
+ user_app_id: proto.clarifai.api.resources_pb2.UserAppIDSet | None = ...,
18397
+ artifact_id: builtins.str = ...,
18398
+ ) -> None: ...
18399
+ def HasField(
18400
+ self, field_name: typing_extensions.Literal["user_app_id", b"user_app_id"]
18401
+ ) -> builtins.bool: ...
18402
+ def ClearField(
18403
+ self,
18404
+ field_name: typing_extensions.Literal[
18405
+ "artifact_id", b"artifact_id", "user_app_id", b"user_app_id"
18406
+ ],
18407
+ ) -> None: ...
18408
+
18409
+ global___DeleteArtifactRequest = DeleteArtifactRequest
18410
+
18411
+ @typing_extensions.final
18412
+ class PostArtifactVersionsUploadRequest(google.protobuf.message.Message):
18413
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
18414
+
18415
+ UPLOAD_CONFIG_FIELD_NUMBER: builtins.int
18416
+ CONTENT_PART_FIELD_NUMBER: builtins.int
18417
+ @property
18418
+ def upload_config(self) -> global___PostArtifactVersionsUploadConfig:
18419
+ """Upload a new artifact version."""
18420
+ @property
18421
+ def content_part(self) -> proto.clarifai.api.resources_pb2.UploadContentPart:
18422
+ """Upload a part of a multipart upload."""
18423
+ def __init__(
18424
+ self,
18425
+ *,
18426
+ upload_config: global___PostArtifactVersionsUploadConfig | None = ...,
18427
+ content_part: proto.clarifai.api.resources_pb2.UploadContentPart | None = ...,
18428
+ ) -> None: ...
18429
+ def HasField(
18430
+ self,
18431
+ field_name: typing_extensions.Literal[
18432
+ "content_part",
18433
+ b"content_part",
18434
+ "upload_config",
18435
+ b"upload_config",
18436
+ "upload_data",
18437
+ b"upload_data",
18438
+ ],
18439
+ ) -> builtins.bool: ...
18440
+ def ClearField(
18441
+ self,
18442
+ field_name: typing_extensions.Literal[
18443
+ "content_part",
18444
+ b"content_part",
18445
+ "upload_config",
18446
+ b"upload_config",
18447
+ "upload_data",
18448
+ b"upload_data",
18449
+ ],
18450
+ ) -> None: ...
18451
+ def WhichOneof(
18452
+ self, oneof_group: typing_extensions.Literal["upload_data", b"upload_data"]
18453
+ ) -> typing_extensions.Literal["upload_config", "content_part"] | None: ...
18454
+
18455
+ global___PostArtifactVersionsUploadRequest = PostArtifactVersionsUploadRequest
18456
+
18457
+ @typing_extensions.final
18458
+ class PostArtifactVersionsUploadResponse(google.protobuf.message.Message):
18459
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
18460
+
18461
+ STATUS_FIELD_NUMBER: builtins.int
18462
+ BYTES_REMAINING_FIELD_NUMBER: builtins.int
18463
+ ARTIFACT_VERSION_ID_FIELD_NUMBER: builtins.int
18464
+ @property
18465
+ def status(self) -> proto.clarifai.api.status.status_pb2.Status:
18466
+ """Status of the upload"""
18467
+ bytes_remaining: builtins.int
18468
+ """Bytes remaining to be uploaded - This is total_size - bytes_uploaded"""
18469
+ artifact_version_id: builtins.str
18470
+ """ID of the artifact version being uploaded"""
18471
+ def __init__(
18472
+ self,
18473
+ *,
18474
+ status: proto.clarifai.api.status.status_pb2.Status | None = ...,
18475
+ bytes_remaining: builtins.int = ...,
18476
+ artifact_version_id: builtins.str = ...,
18477
+ ) -> None: ...
18478
+ def HasField(
18479
+ self, field_name: typing_extensions.Literal["status", b"status"]
18480
+ ) -> builtins.bool: ...
18481
+ def ClearField(
18482
+ self,
18483
+ field_name: typing_extensions.Literal[
18484
+ "artifact_version_id",
18485
+ b"artifact_version_id",
18486
+ "bytes_remaining",
18487
+ b"bytes_remaining",
18488
+ "status",
18489
+ b"status",
18490
+ ],
18491
+ ) -> None: ...
18492
+
18493
+ global___PostArtifactVersionsUploadResponse = PostArtifactVersionsUploadResponse
18494
+
18495
+ @typing_extensions.final
18496
+ class PostArtifactVersionsUploadConfig(google.protobuf.message.Message):
18497
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
18498
+
18499
+ USER_APP_ID_FIELD_NUMBER: builtins.int
18500
+ ARTIFACT_ID_FIELD_NUMBER: builtins.int
18501
+ ARTIFACT_VERSION_FIELD_NUMBER: builtins.int
18502
+ TOTAL_SIZE_FIELD_NUMBER: builtins.int
18503
+ STORAGE_REQUEST_SIZE_FIELD_NUMBER: builtins.int
18504
+ @property
18505
+ def user_app_id(self) -> proto.clarifai.api.resources_pb2.UserAppIDSet:
18506
+ """User ID and App ID of the user uploading the artifact"""
18507
+ artifact_id: builtins.str
18508
+ """Artifact to create version for"""
18509
+ @property
18510
+ def artifact_version(self) -> proto.clarifai.api.resources_pb2.ArtifactVersion:
18511
+ """Specification for the artifact version to be uploaded"""
18512
+ total_size: builtins.int
18513
+ """Number of bytes in the artifact files to be uploaded"""
18514
+ storage_request_size: builtins.int
18515
+ """Number of bytes requested for the build process."""
18516
+ def __init__(
18517
+ self,
18518
+ *,
18519
+ user_app_id: proto.clarifai.api.resources_pb2.UserAppIDSet | None = ...,
18520
+ artifact_id: builtins.str = ...,
18521
+ artifact_version: proto.clarifai.api.resources_pb2.ArtifactVersion | None = ...,
18522
+ total_size: builtins.int = ...,
18523
+ storage_request_size: builtins.int = ...,
18524
+ ) -> None: ...
18525
+ def HasField(
18526
+ self,
18527
+ field_name: typing_extensions.Literal[
18528
+ "artifact_version", b"artifact_version", "user_app_id", b"user_app_id"
18529
+ ],
18530
+ ) -> builtins.bool: ...
18531
+ def ClearField(
18532
+ self,
18533
+ field_name: typing_extensions.Literal[
18534
+ "artifact_id",
18535
+ b"artifact_id",
18536
+ "artifact_version",
18537
+ b"artifact_version",
18538
+ "storage_request_size",
18539
+ b"storage_request_size",
18540
+ "total_size",
18541
+ b"total_size",
18542
+ "user_app_id",
18543
+ b"user_app_id",
18544
+ ],
18545
+ ) -> None: ...
18546
+
18547
+ global___PostArtifactVersionsUploadConfig = PostArtifactVersionsUploadConfig
18548
+
18549
+ @typing_extensions.final
18550
+ class ListArtifactVersionsRequest(google.protobuf.message.Message):
18551
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
18552
+
18553
+ USER_APP_ID_FIELD_NUMBER: builtins.int
18554
+ ARTIFACT_ID_FIELD_NUMBER: builtins.int
18555
+ PAGE_FIELD_NUMBER: builtins.int
18556
+ PER_PAGE_FIELD_NUMBER: builtins.int
18557
+ @property
18558
+ def user_app_id(self) -> proto.clarifai.api.resources_pb2.UserAppIDSet: ...
18559
+ artifact_id: builtins.str
18560
+ """List versions for the artifact identified by this id"""
18561
+ page: builtins.int
18562
+ """(optional URL parameter) The page number. Pagination is used to split the results into chunks.
18563
+ Defaults to 1.
18564
+ """
18565
+ per_page: builtins.int
18566
+ """(optional URL parameter) The number of results that will be contained in each page. Defaults
18567
+ to 128.
18568
+ """
18569
+ def __init__(
18570
+ self,
18571
+ *,
18572
+ user_app_id: proto.clarifai.api.resources_pb2.UserAppIDSet | None = ...,
18573
+ artifact_id: builtins.str = ...,
18574
+ page: builtins.int = ...,
18575
+ per_page: builtins.int = ...,
18576
+ ) -> None: ...
18577
+ def HasField(
18578
+ self, field_name: typing_extensions.Literal["user_app_id", b"user_app_id"]
18579
+ ) -> builtins.bool: ...
18580
+ def ClearField(
18581
+ self,
18582
+ field_name: typing_extensions.Literal[
18583
+ "artifact_id",
18584
+ b"artifact_id",
18585
+ "page",
18586
+ b"page",
18587
+ "per_page",
18588
+ b"per_page",
18589
+ "user_app_id",
18590
+ b"user_app_id",
18591
+ ],
18592
+ ) -> None: ...
18593
+
18594
+ global___ListArtifactVersionsRequest = ListArtifactVersionsRequest
18595
+
18596
+ @typing_extensions.final
18597
+ class MultiArtifactVersionResponse(google.protobuf.message.Message):
18598
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
18599
+
18600
+ STATUS_FIELD_NUMBER: builtins.int
18601
+ ARTIFACT_VERSIONS_FIELD_NUMBER: builtins.int
18602
+ @property
18603
+ def status(self) -> proto.clarifai.api.status.status_pb2.Status:
18604
+ """The status of the request"""
18605
+ @property
18606
+ def artifact_versions(
18607
+ self,
18608
+ ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
18609
+ proto.clarifai.api.resources_pb2.ArtifactVersion
18610
+ ]:
18611
+ """The artifact versions that were requested"""
18612
+ def __init__(
18613
+ self,
18614
+ *,
18615
+ status: proto.clarifai.api.status.status_pb2.Status | None = ...,
18616
+ artifact_versions: collections.abc.Iterable[
18617
+ proto.clarifai.api.resources_pb2.ArtifactVersion
18618
+ ]
18619
+ | None = ...,
18620
+ ) -> None: ...
18621
+ def HasField(
18622
+ self, field_name: typing_extensions.Literal["status", b"status"]
18623
+ ) -> builtins.bool: ...
18624
+ def ClearField(
18625
+ self,
18626
+ field_name: typing_extensions.Literal[
18627
+ "artifact_versions", b"artifact_versions", "status", b"status"
18628
+ ],
18629
+ ) -> None: ...
18630
+
18631
+ global___MultiArtifactVersionResponse = MultiArtifactVersionResponse
18632
+
18633
+ @typing_extensions.final
18634
+ class GetArtifactVersionRequest(google.protobuf.message.Message):
18635
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
18636
+
18637
+ USER_APP_ID_FIELD_NUMBER: builtins.int
18638
+ ARTIFACT_ID_FIELD_NUMBER: builtins.int
18639
+ ARTIFACT_VERSION_ID_FIELD_NUMBER: builtins.int
18640
+ @property
18641
+ def user_app_id(self) -> proto.clarifai.api.resources_pb2.UserAppIDSet: ...
18642
+ artifact_id: builtins.str
18643
+ """The id of the artifact that has the requested version."""
18644
+ artifact_version_id: builtins.str
18645
+ """Get the artifact version identified by this id"""
18646
+ def __init__(
18647
+ self,
18648
+ *,
18649
+ user_app_id: proto.clarifai.api.resources_pb2.UserAppIDSet | None = ...,
18650
+ artifact_id: builtins.str = ...,
18651
+ artifact_version_id: builtins.str = ...,
18652
+ ) -> None: ...
18653
+ def HasField(
18654
+ self, field_name: typing_extensions.Literal["user_app_id", b"user_app_id"]
18655
+ ) -> builtins.bool: ...
18656
+ def ClearField(
18657
+ self,
18658
+ field_name: typing_extensions.Literal[
18659
+ "artifact_id",
18660
+ b"artifact_id",
18661
+ "artifact_version_id",
18662
+ b"artifact_version_id",
18663
+ "user_app_id",
18664
+ b"user_app_id",
18665
+ ],
18666
+ ) -> None: ...
18667
+
18668
+ global___GetArtifactVersionRequest = GetArtifactVersionRequest
18669
+
18670
+ @typing_extensions.final
18671
+ class SingleArtifactVersionResponse(google.protobuf.message.Message):
18672
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
18673
+
18674
+ STATUS_FIELD_NUMBER: builtins.int
18675
+ ARTIFACT_VERSION_FIELD_NUMBER: builtins.int
18676
+ @property
18677
+ def status(self) -> proto.clarifai.api.status.status_pb2.Status:
18678
+ """The status of the request"""
18679
+ @property
18680
+ def artifact_version(self) -> proto.clarifai.api.resources_pb2.ArtifactVersion:
18681
+ """The artifact version that was requested"""
18682
+ def __init__(
18683
+ self,
18684
+ *,
18685
+ status: proto.clarifai.api.status.status_pb2.Status | None = ...,
18686
+ artifact_version: proto.clarifai.api.resources_pb2.ArtifactVersion | None = ...,
18687
+ ) -> None: ...
18688
+ def HasField(
18689
+ self,
18690
+ field_name: typing_extensions.Literal[
18691
+ "artifact_version", b"artifact_version", "status", b"status"
18692
+ ],
18693
+ ) -> builtins.bool: ...
18694
+ def ClearField(
18695
+ self,
18696
+ field_name: typing_extensions.Literal[
18697
+ "artifact_version", b"artifact_version", "status", b"status"
18698
+ ],
18699
+ ) -> None: ...
18700
+
18701
+ global___SingleArtifactVersionResponse = SingleArtifactVersionResponse
18702
+
18703
+ @typing_extensions.final
18704
+ class DeleteArtifactVersionRequest(google.protobuf.message.Message):
18705
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
18706
+
18707
+ USER_APP_ID_FIELD_NUMBER: builtins.int
18708
+ ARTIFACT_ID_FIELD_NUMBER: builtins.int
18709
+ ARTIFACT_VERSION_ID_FIELD_NUMBER: builtins.int
18710
+ @property
18711
+ def user_app_id(self) -> proto.clarifai.api.resources_pb2.UserAppIDSet: ...
18712
+ artifact_id: builtins.str
18713
+ """The id of the artifact for which versions are being deleted"""
18714
+ artifact_version_id: builtins.str
18715
+ """The id of the artifact versions to be deleted"""
18716
+ def __init__(
18717
+ self,
18718
+ *,
18719
+ user_app_id: proto.clarifai.api.resources_pb2.UserAppIDSet | None = ...,
18720
+ artifact_id: builtins.str = ...,
18721
+ artifact_version_id: builtins.str = ...,
18722
+ ) -> None: ...
18723
+ def HasField(
18724
+ self, field_name: typing_extensions.Literal["user_app_id", b"user_app_id"]
18725
+ ) -> builtins.bool: ...
18726
+ def ClearField(
18727
+ self,
18728
+ field_name: typing_extensions.Literal[
18729
+ "artifact_id",
18730
+ b"artifact_id",
18731
+ "artifact_version_id",
18732
+ b"artifact_version_id",
18733
+ "user_app_id",
18734
+ b"user_app_id",
18735
+ ],
18736
+ ) -> None: ...
18737
+
18738
+ global___DeleteArtifactVersionRequest = DeleteArtifactVersionRequest